About --add-s3-wrapper flag for Swift

Following the doc, building-a-client-app-ios, doesn't work.
Let's say we define our SDL like this:
type S3Object {
    bucket: String!
    key: String!
    region: String!
}

input S3ObjectInput {
    bucket: String!
    key: String!
    region: String!
    localUri: String
    mimeType: String
}

The code generated by aws-appsync-codegen wouldn't compile since S3Object is not defined and cannot convert localUri and mimeType since they are Optional<String?>
I take a look at S3Wrapper.ts, it seems the wrapper is static and add default code regardless of the input. Is that intended?
In my own SDL, I define:
input MZS3ObjectInput {
    bucket: String!
    key: String!
    region: String!
    localUri: String!
    mimeType: String!
}

So I should change:
extension S3ObjectInput: AWSS3ObjectProtocol, AWSS3InputObjectProtocol
to
extension MZS3ObjectInput: AWSS3ObjectProtocol, AWSS3InputObjectProtocol
right?
And I need to create an S3Object class?
Otherwise,
extension MZS3Object: AWSS3ObjectProtocol wouldn't complile.
Thanks

Hello @Derek-X-Wang
Thanks for reporting this issue. Could you provide me with a minimal sample schema where I can reproduce this issue?
Could you also paste the contents of your Podfile? The extension might not be compiling since you may not have a dependency on AWSS3. Could you take dependency on AWSS3?
The issue should not happen if your Podfile has these:
pod 'AWSAppSync', '2.6.7'
pod 'AWSS3', '2.6.6'
Could you please confirm?
Thanks,
Rohan

Hi @rohandubal,
Let's use the sample app as an example
https://github.com/aws-samples/aws-mobile-appsync-events-starter-ios
Here is the schema:
type Comment {
	# The id of the comment's parent event.
	eventId: ID!
	# A unique identifier for the comment.
	commentId: String!
	# The comment's content.
	content: String!
	# The comment timestamp. This field is indexed to enable sorted pagination.
	createdAt: String!
}

type CommentConnection {
	items: [Comment]
	nextToken: String
}

type DemoS3Object {
	bucket: String!
	key: String!
	region: String!
}

input DemoS3ObjectInput {
	bucket: String!
	key: String!
	region: String!
	localUri: String
	mimeType: String
}

type Event {
	id: ID!
	name: String
	where: String
	when: String
	description: String
	file: DemoS3Object
	# Paginate through all comments belonging to an individual post.
	comments(limit: Int, nextToken: String): CommentConnection
}

type EventConnection {
	items: [Event]
	nextToken: String
}

type Mutation {
	# Create a single event.
	createEvent(
		name: String!,
		when: String!,
		where: String!,
		description: String!,
		file: DemoS3ObjectInput
	): Event
	# Delete a single event by id.
	deleteEvent(id: ID!): Event
	# Comment on an event.
	commentOnEvent(eventId: ID!, content: String!, createdAt: String!): Comment
}

type Query {
	# Get a single event by id.
	getEvent(id: ID!): Event
	# Paginate through events.
	listEvents(limit: Int, nextToken: String): EventConnection
}

type Subscription {
	subscribeToEventComments(eventId: String!): Comment
		@aws_subscribe(mutations: ["commentOnEvent"])
}

schema {
	query: Query
	mutation: Mutation
	subscription: Subscription
}

I add DemoS3Object, DemoS3ObjectInput and give a new file field for Event.
Here is my graphql file, just a mutation to make it simple:
mutation AddEventMutation(
  $name: String!
  $when: String!,
  $where: String!,
  $description: String!,
  $file: DemoS3ObjectInput){
  createEvent(
    name:$name,
    when:$when,
    where:$where,
    description:$description,
    file:$file
  ){
    id
    name
    where
    when
    description
    file {
      bucket
      key
      region
    }
  }
}

Then, run:
aws-appsync-codegen generate GraphQLOperations/*.graphql --schema schema.json --output EventsAPI.swift --add-s3-wrapper
For my pods, I have AWSAppSync with 2.6.7 and AWSS3 with 2.6.6. So the S3 sdk is imported.
Here is the problem I metioned. No logic is implement by aws-appsync-codegen for s3. It just pastes the code from S3Wrapper.ts

I fixed it by creating an S3Object class myself and rename S3ObjectInput in the generated file.
I shouldn't touch the generated file but that the only way to fix right now. It seems that aws-appsync-codegen still lacks s3 support.
Thanks,
Derek

Hello Derek,
Thanks for your detailed response. I now understand the issue you are facing.
I think our documentation is not very clear on specifying that we have a strict requirement on the input type being S3ObjectInput and not anything else. The SDK has a protocol of the name S3ObjectInput which helps understand that it is a S3 Object based mutation. Same goes for type S3Object as SDK uses that protocol to fetch bucket and key to download the objects. I hope this makes it clear.
Do you have an explicit requirement of naming it something like DemoS3ObjectInput rather than S3ObjectInput? The property names can be anything you desire, just the types have a restriction.
Thanks,
Rohan

Hi @rohandubal,
I had tried to use S3ObjectInput  and S3Object before. It solves the issue of S3ObjectInput since S3ObjectInput struct is generated by codegen. However, S3Object is still not defined. You can reproduce it via changing the name to S3ObjectInput  and S3Object.

Could you update the S3Object to be a fragment in your applications .graphql file as specified here:
https://awslabs.github.io/aws-mobile-appsync-sdk-ios/#client-setup
This should generate the correct classes for your schema.
Thanks,
Rohan


Suggestion: Simplify and improve background retrieval (self-plug)

Description
I know it's probably bad style to advertise software you wrote yourself, but I recently wrote xbgdump for my own workflow. Looking at all the special-casing going on in neofetch to accommodate different desktop environments and whatnot, when most of it boils down to the same thing in the end, I feel like at least some of that work could be off-loaded to xbgdump.
In some cases, neofetch also currently selects the wrong wallpaper. For example, I have a ~/.fehbg still lying around as a backup, even though I've been using Nitrogen to manage my wallpapers for a good while now due to its multi-monitor support saving me from having to manually stitch the files together. For those situations, instead of relying on a priority order heuristic that has a solid chance of being wrong, xbgdump would be able to reliably get the currently active wallpaper.
Downsides
Since I'm advertising one of my own projects for integration with another, I feel it's doubly important to highlight potential issues that might result from such an integration.
In multi-monitor setups, xbgdump returns the combined background for all monitors as one big file. Beside the fact that such a file can look odd if displayed in the terminal, it can also take a while to create: on my machine (i7-4790, 1600 MHz DDR3, 3 monitors for a total of 5040x1920), getting the background as uncompressed PAM takes around 60-70ms, while PNG compression raises that to around 400ms.
In terms of features of the application itself, off-screen areas are not accounted for at the moment, meaning they generally end up as solid black pixels, which can be ugly if you have mixed landscape and portrait screens like me. I could see myself implementing something to mask those with full transparency in the future, but at the moment, those pixels are left untouched.
Also, as an application built on the X11 API, it does not work on Wayland (I haven't actually tested this because I'm on the proprietary Nvidia driver, but I have zero reason to assume it would work with XWayland).
And, finally, maybe the biggest issue is a dependency on a tool that's not currently packaged for any distribution. I've got an AUR package, but that's it so far.
Conclusion
If there's interest in integration, I'd be willing to contribute and implement features you might want. If you feel that the downsides outweigh the potential benefit or that there's some other issue that I did not consider, I can completely understand that.

This likely won't work for desktop environments which don't put wallpapers in the root window. (iirc GNOME, also possibly KDE).
Current support is fine for now imo.
Thanks for opening this issue.


[Bug Report] gym 0.24.1 get error to run adroit environment

With the gym version 0.24.1, I got an error to run environment "pen-human-v0", which is from the calling env.reset()
Traceback (most recent call last):
  File "train_offline_td3bc.py", line 89, in <module>
    app.run(main)
  File "/home/linjx/anaconda3/envs/jaxEnv/lib/python3.8/site-packages/absl/app.py", line 308, in run
    _run_main(main, args)
  File "/home/linjx/anaconda3/envs/jaxEnv/lib/python3.8/site-packages/absl/app.py", line 254, in _run_main
    sys.exit(main(argv))
  File "train_offline_td3bc.py", line 81, in main
    eval_info = evaluate_normalized_state(agent, env, FLAGS.eval_episodes, state_mean.squeeze(0), state_std.squeeze(0))
  File "/mnt/c/Users/zarathustra/Documents/jaxOfflineRL/jaxOfflineRL/evaluation.py", line 25, in evaluate_normalized_state
    observation, done = env.reset(), False
  File "/home/linjx/anaconda3/envs/jaxEnv/lib/python3.8/site-packages/gym/wrappers/record_episode_statistics.py", line 97, in reset
    observations = super().reset(**kwargs)
  File "/home/linjx/anaconda3/envs/jaxEnv/lib/python3.8/site-packages/gym/core.py", line 339, in reset
    return self.env.reset(**kwargs)
  File "/home/linjx/anaconda3/envs/jaxEnv/lib/python3.8/site-packages/gym/core.py", line 339, in reset
    return self.env.reset(**kwargs)
  File "/home/linjx/anaconda3/envs/jaxEnv/lib/python3.8/site-packages/gym/core.py", line 339, in reset
    return self.env.reset(**kwargs)
  [Previous line repeated 1 more time]
  File "/home/linjx/anaconda3/envs/jaxEnv/lib/python3.8/site-packages/gym/core.py", line 401, in reset
    return self.observation(self.env.reset(**kwargs))
  File "/home/linjx/anaconda3/envs/jaxEnv/lib/python3.8/site-packages/gym/wrappers/time_limit.py", line 66, in reset
    return self.env.reset(**kwargs)
  File "/home/linjx/anaconda3/envs/jaxEnv/lib/python3.8/site-packages/gym/wrappers/order_enforcing.py", line 42, in reset
    return self.env.reset(**kwargs)
  File "/home/linjx/anaconda3/envs/jaxEnv/lib/python3.8/site-packages/gym/wrappers/env_checker.py", line 47, in reset
    return passive_env_reset_check(self.env, **kwargs)
  File "/home/linjx/anaconda3/envs/jaxEnv/lib/python3.8/site-packages/gym/utils/passive_env_checker.py", line 247, in passive_env_reset_check
    _check_obs(obs, env.observation_space, "reset")
  File "/home/linjx/anaconda3/envs/jaxEnv/lib/python3.8/site-packages/gym/utils/passive_env_checker.py", line 113, in _check_obs
    assert observation_space.contains(
AssertionError: The observation returned by the `reset()` method is not contained with the observation space (Box(-inf, inf, (45,), float32))

I change the gym to a version of 0.23.0 and it fixed this issue.

 I would recommend using v0.23 or v0.25

Good point! Maybe we can change the requirements for gym to the correct versions.

Done, I have updated setup.py to <0.24


This repo is not intended to be a production quality docker build.

Hej,
I really like your redis cluster but I would like to know, why is not production ready?
"This repo is not intended to be a production quality docker build. "
Any speacial reason?

Like this line say The main primary use for this container is to test redis cluster code.
I also want to keep this repo as simple as i possible can, but still provide a working redis-cluster. I want the user to be able to spin up a working cluster within one single container and to be able to start using the clutser asap.
If i go down the path of trying to provide a redis-cluster container solution that should be production quality with security and best practises etc. and to be compatible with a few different docker cluster solutions with full docuemntation and configuration support for the different solutions, i have to rebuild the container into something else and i have no intent or want to build and/or maintain that kind of solution as i am not using this solution in my work or private life right now.
If you want to fork this repo and build something new that supports kubernetes or is tailored for your environment and setup, feel free to do o and host it as a separate project. I am sure there is a want and need for it, but it will not be part of this repo as things stand right now.


Migration of pinned content to v0.6.0

User story

Story

As a pinner of content, I don't want that my pinned content is automatically wiped when updating to v0.6.0, such that I don't accidentally delete my pinned content without the possibility to recover
Acceptance criteria

When updating from v0.5.3 to v0.6.0 pinned content should not be deleted without explicit user consent

Background

Database schemes between v0.5.3 and v0.6.0 are not compatible due to the introduction of postage stamps. A migration of all non-pinned content would only be possible if everybody would manually stamp all chunks in their storage. We cannot reasonably expect this to happen. A node operator who pins content should at least be ensured that that content is safe.
Tasks

Task
Assignee
Done (1), or 0

already done


Chunker errors and doesn't properly convert World from Minecraft Bedrock to Minecraft Java

I cannot properly convert my Minecraft world from Bedrock to Java and couldn't find any other way to contact the support.
Chunker tells me that there were a lot of errors but it could be converted but there are A LOT of missing chunks and holes in bedrock.
I got a code to tell the support: 75b76868-62a3-4ab8-aaa8-fa82389f478a
Please help me with my Issue

When converting from Bedrock edition, the game only saves chunks which have been modified so you may want to ensure on the world preview that you've modified surrounding chunks to ensure they convert.
Regarding the error if you want to email your world to<EMAIL_ADDRESS>we can take a further look

Thanks for sending your world, the error you see is because there are chunks in the world which are from a version of the game Chunker doesn't support. You can get Minecraft to upgrade the chunks for you, but this does require you opening the map in Bedrock and updating each chunk to ensure the game saves it out in the latest format.
Given it is an older world, it is also likely that Java generation may not align with your world if chunks are not saved/a version unreadable by Chunker so it may be why you see issues in your world. When I had a quick fly around it seemed like any issues were away from the spawn.

Yeah, the world was originally generated on the Wii U Edition, then it was
carried over to the Switch Edition and then from Switch Edition it was
converted to Bedrock on Switch, I have been playing this world on Bedrock
for 4 years now and all the chunks which are missing their part bellow y0
have been loaded dozens of times already and appear to be fully complete
when loaded in Bedrock, but they are just gone when converted to java, is
there any way to get the game to recognize those chunks bellow y0? Thank
you for your help.
Myles @.***> schrieb am Mi., 3. Jan. 2024, 11:50:

Thanks for sending your world, the error you see is because there are
chunks in the world which are from a version of the game Chunker doesn't
support. You can get Minecraft to upgrade the chunks for you, but this does
require you opening the map in Bedrock and updating each chunk to ensure
the game saves it out in the latest format.
Given it is an older world, it is also likely that Java generation may not
align with your world if chunks are not saved/a version unreadable by
Chunker so it may be why you see issues in your world. When I had a quick
fly around it seemed like any issues were away from the spawn.
—
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/minecraft-creator/issues/768#issuecomment-1875175016,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BFASTDFWRMC66YUPFWYPMODYMUZYRAVCNFSM6AAAAABBHX7DJWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZVGE3TKMBRGY
.
You are receiving this because you authored the thread.Message ID:
@.***>

Yeah, the world was originally generated on the Wii U Edition, then it was carried over to the Switch Edition and then from Switch Edition it was converted to Bedrock on Switch, I have been playing this world on Bedrock for 4 years now and all the chunks which are missing their part bellow y0 have been loaded dozens of times already and appear to be fully complete when loaded in Bedrock, but they are just gone when converted to java, is there any way to get the game to recognize those chunks bellow y0? Thank you for your help. Myles @.> schrieb am Mi., 3. Jan. 2024, 11:50:
…
Thanks for sending your world, the error you see is because there are chunks in the world which are from a version of the game Chunker doesn't support. You can get Minecraft to upgrade the chunks for you, but this does require you opening the map in Bedrock and updating each chunk to ensure the game saves it out in the latest format. Given it is an older world, it is also likely that Java generation may not align with your world if chunks are not saved/a version unreadable by Chunker so it may be why you see issues in your world. When I had a quick fly around it seemed like any issues were away from the spawn. — Reply to this email directly, view it on GitHub <#768 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/BFASTDFWRMC66YUPFWYPMODYMUZYRAVCNFSM6AAAAABBHX7DJWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZVGE3TKMBRGY . You are receiving this because you authored the thread.Message ID: @.>

When I looked at your world there was chunks below Y=0 at least at the spawn point, if the chunks aren't there it's likely something has gone wrong otherwise considering the age of the world and the multi-conversion steps it's been through it may be expected.

Yes, the chunks are only missing after the conversion, they also regain
their original bedrock layer on y0 even though it shouldn't be there
Myles @.***> schrieb am Mi., 3. Jan. 2024, 13:57:

Yeah, the world was originally generated on the Wii U Edition, then it was
carried over to the Switch Edition and then from Switch Edition it was
converted to Bedrock on Switch, I have been playing this world on Bedrock
for 4 years now and all the chunks which are missing their part bellow y0
have been loaded dozens of times already and appear to be fully complete
when loaded in Bedrock, but they are just gone when converted to java, is
there any way to get the game to recognize those chunks bellow y0? Thank
you for your help. Myles @.
> schrieb am Mi., 3. Jan. 2024, 11:50: … <#m_-6615338743385553338_>
Thanks for sending your world, the error you see is because there are
chunks in the world which are from a version of the game Chunker doesn't
support. You can get Minecraft to upgrade the chunks for you, but this does
require you opening the map in Bedrock and updating each chunk to ensure
the game saves it out in the latest format. Given it is an older world, it
is also likely that Java generation may not align with your world if chunks
are not saved/a version unreadable by Chunker so it may be why you see
issues in your world. When I had a quick fly around it seemed like any
issues were away from the spawn. — Reply to this email directly, view it on
GitHub <#768 (comment)
https://github.com/MicrosoftDocs/minecraft-creator/issues/768#issuecomment-1875175016>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BFASTDFWRMC66YUPFWYPMODYMUZYRAVCNFSM6AAAAABBHX7DJWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZVGE3TKMBRGY
https://github.com/notifications/unsubscribe-auth/BFASTDFWRMC66YUPFWYPMODYMUZYRAVCNFSM6AAAAABBHX7DJWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZVGE3TKMBRGY
. You are receiving this because you authored the thread.Message ID: @.>
When I looked at your world there was chunks below Y=0 at least at the
spawn point, if the chunks aren't there it's likely something has gone
wrong otherwise considering the age of the world and the multi-conversion
steps it's been through it may be expected.
—
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/minecraft-creator/issues/768#issuecomment-1875332432,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BFASTDGYTZ5DJUJFWHEFONTYMVISVAVCNFSM6AAAAABBHX7DJWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZVGMZTENBTGI
.
You are receiving this because you authored the thread.Message ID:
@.***>

Yes, the chunks are only missing after the conversion, they also regain their original bedrock layer on y0 even though it shouldn't be there Myles @.> schrieb am Mi., 3. Jan. 2024, 13:57:
…
Yeah, the world was originally generated on the Wii U Edition, then it was carried over to the Switch Edition and then from Switch Edition it was converted to Bedrock on Switch, I have been playing this world on Bedrock for 4 years now and all the chunks which are missing their part bellow y0 have been loaded dozens of times already and appear to be fully complete when loaded in Bedrock, but they are just gone when converted to java, is there any way to get the game to recognize those chunks bellow y0? Thank you for your help. Myles @. > schrieb am Mi., 3. Jan. 2024, 11:50: … <#m_-6615338743385553338_> Thanks for sending your world, the error you see is because there are chunks in the world which are from a version of the game Chunker doesn't support. You can get Minecraft to upgrade the chunks for you, but this does require you opening the map in Bedrock and updating each chunk to ensure the game saves it out in the latest format. Given it is an older world, it is also likely that Java generation may not align with your world if chunks are not saved/a version unreadable by Chunker so it may be why you see issues in your world. When I had a quick fly around it seemed like any issues were away from the spawn. — Reply to this email directly, view it on GitHub <#768 (comment) <#768 (comment)>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/BFASTDFWRMC66YUPFWYPMODYMUZYRAVCNFSM6AAAAABBHX7DJWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZVGE3TKMBRGY https://github.com/notifications/unsubscribe-auth/BFASTDFWRMC66YUPFWYPMODYMUZYRAVCNFSM6AAAAABBHX7DJWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZVGE3TKMBRGY . You are receiving this because you authored the thread.Message ID: @.> When I looked at your world there was chunks below Y=0 at least at the spawn point, if the chunks aren't there it's likely something has gone wrong otherwise considering the age of the world and the multi-conversion steps it's been through it may be expected. — Reply to this email directly, view it on GitHub <#768 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/BFASTDGYTZ5DJUJFWHEFONTYMVISVAVCNFSM6AAAAABBHX7DJWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZVGMZTENBTGI . You are receiving this because you authored the thread.Message ID: @.>

The game will automatically extend worlds if that is the issue, otherwise I'm unable to see the issue.

That is the problem, the world is already extended below y0 since I have
played the world a lot since 1.18, but after the conversion the extension
below y0 vanishes in half the chunks around spawn and the game doesn't re
extend them and that leaves huge holes in the bedrock layer
Myles @.***> schrieb am Mi., 3. Jan. 2024, 16:12:

Yes, the chunks are only missing after the conversion, they also regain
their original bedrock layer on y0 even though it shouldn't be there Myles
@.
> schrieb am Mi., 3. Jan. 2024, 13:57: … <#m_-4369374435419949787_> Yeah,
the world was originally generated on the Wii U Edition, then it was
carried over to the Switch Edition and then from Switch Edition it was
converted to Bedrock on Switch, I have been playing this world on Bedrock
for 4 years now and all the chunks which are missing their part bellow y0
have been loaded dozens of times already and appear to be fully complete
when loaded in Bedrock, but they are just gone when converted to java, is
there any way to get the game to recognize those chunks bellow y0? Thank
you for your help. Myles @. > schrieb am Mi., 3. Jan. 2024, 11:50: …
<#m_-6615338743385553338_> Thanks for sending your world, the error you see
is because there are chunks in the world which are from a version of the
game Chunker doesn't support. You can get Minecraft to upgrade the chunks
for you, but this does require you opening the map in Bedrock and updating
each chunk to ensure the game saves it out in the latest format. Given it
is an older world, it is also likely that Java generation may not align
with your world if chunks are not saved/a version unreadable by Chunker so
it may be why you see issues in your world. When I had a quick fly around
it seemed like any issues were away from the spawn. — Reply to this email
directly, view it on GitHub <#768
https://github.com/MicrosoftDocs/minecraft-creator/issues/768 (comment)
<#768 (comment)
https://github.com/MicrosoftDocs/minecraft-creator/issues/768#issuecomment-1875175016>>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BFASTDFWRMC66YUPFWYPMODYMUZYRAVCNFSM6AAAAABBHX7DJWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZVGE3TKMBRGY
https://github.com/notifications/unsubscribe-auth/BFASTDFWRMC66YUPFWYPMODYMUZYRAVCNFSM6AAAAABBHX7DJWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZVGE3TKMBRGY
https://github.com/notifications/unsubscribe-auth/BFASTDFWRMC66YUPFWYPMODYMUZYRAVCNFSM6AAAAABBHX7DJWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZVGE3TKMBRGY
https://github.com/notifications/unsubscribe-auth/BFASTDFWRMC66YUPFWYPMODYMUZYRAVCNFSM6AAAAABBHX7DJWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZVGE3TKMBRGY
. You are receiving this because you authored the thread.Message ID: @.>
When I looked at your world there was chunks below Y=0 at least at the
spawn point, if the chunks aren't there it's likely something has gone
wrong otherwise considering the age of the world and the multi-conversion
steps it's been through it may be expected. — Reply to this email directly,
view it on GitHub <#768 (comment)
https://github.com/MicrosoftDocs/minecraft-creator/issues/768#issuecomment-1875332432>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BFASTDGYTZ5DJUJFWHEFONTYMVISVAVCNFSM6AAAAABBHX7DJWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZVGMZTENBTGI
https://github.com/notifications/unsubscribe-auth/BFASTDGYTZ5DJUJFWHEFONTYMVISVAVCNFSM6AAAAABBHX7DJWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZVGMZTENBTGI
. You are receiving this because you authored the thread.Message ID: @.>
The game will automatically extend worlds if that is the issue, otherwise
I'm unable to see the issue.
—
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/minecraft-creator/issues/768#issuecomment-1875527074,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BFASTDFF4HUXS77GSXXYH23YMVYMPAVCNFSM6AAAAABBHX7DJWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZVGUZDOMBXGQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

That is the problem, the world is already extended below y0 since I have played the world a lot since 1.18, but after the conversion the extension below y0 vanishes in half the chunks around spawn and the game doesn't re extend them and that leaves huge holes in the bedrock layer Myles @.> schrieb am Mi., 3. Jan. 2024, 16:12:
…
Yes, the chunks are only missing after the conversion, they also regain their original bedrock layer on y0 even though it shouldn't be there Myles @. > schrieb am Mi., 3. Jan. 2024, 13:57: … <#m_-4369374435419949787_> Yeah, the world was originally generated on the Wii U Edition, then it was carried over to the Switch Edition and then from Switch Edition it was converted to Bedrock on Switch, I have been playing this world on Bedrock for 4 years now and all the chunks which are missing their part bellow y0 have been loaded dozens of times already and appear to be fully complete when loaded in Bedrock, but they are just gone when converted to java, is there any way to get the game to recognize those chunks bellow y0? Thank you for your help. Myles @. > schrieb am Mi., 3. Jan. 2024, 11:50: … <#m_-6615338743385553338_> Thanks for sending your world, the error you see is because there are chunks in the world which are from a version of the game Chunker doesn't support. You can get Minecraft to upgrade the chunks for you, but this does require you opening the map in Bedrock and updating each chunk to ensure the game saves it out in the latest format. Given it is an older world, it is also likely that Java generation may not align with your world if chunks are not saved/a version unreadable by Chunker so it may be why you see issues in your world. When I had a quick fly around it seemed like any issues were away from the spawn. — Reply to this email directly, view it on GitHub <#768 <#768> (comment) <#768 (comment) <#768 (comment)>>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/BFASTDFWRMC66YUPFWYPMODYMUZYRAVCNFSM6AAAAABBHX7DJWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZVGE3TKMBRGY https://github.com/notifications/unsubscribe-auth/BFASTDFWRMC66YUPFWYPMODYMUZYRAVCNFSM6AAAAABBHX7DJWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZVGE3TKMBRGY https://github.com/notifications/unsubscribe-auth/BFASTDFWRMC66YUPFWYPMODYMUZYRAVCNFSM6AAAAABBHX7DJWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZVGE3TKMBRGY https://github.com/notifications/unsubscribe-auth/BFASTDFWRMC66YUPFWYPMODYMUZYRAVCNFSM6AAAAABBHX7DJWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZVGE3TKMBRGY . You are receiving this because you authored the thread.Message ID: @.> When I looked at your world there was chunks below Y=0 at least at the spawn point, if the chunks aren't there it's likely something has gone wrong otherwise considering the age of the world and the multi-conversion steps it's been through it may be expected. — Reply to this email directly, view it on GitHub <#768 (comment) <#768 (comment)>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/BFASTDGYTZ5DJUJFWHEFONTYMVISVAVCNFSM6AAAAABBHX7DJWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZVGMZTENBTGI https://github.com/notifications/unsubscribe-auth/BFASTDGYTZ5DJUJFWHEFONTYMVISVAVCNFSM6AAAAABBHX7DJWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZVGMZTENBTGI . You are receiving this because you authored the thread.Message ID: @.> The game will automatically extend worlds if that is the issue, otherwise I'm unable to see the issue. — Reply to this email directly, view it on GitHub <#768 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/BFASTDFF4HUXS77GSXXYH23YMVYMPAVCNFSM6AAAAABBHX7DJWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZVGUZDOMBXGQ . You are receiving this because you authored the thread.Message ID: @.>

Do you have co-ordinates of example locations this happens?

Yes, it happens the most around the older chunks from the old console
edition, so around a 5000 block radius around spawn. It should be visible
from directly underneath spawn after conversion
Myles @.***> schrieb am Mi., 3. Jan. 2024, 16:51:

That is the problem, the world is already extended below y0 since I have
played the world a lot since 1.18, but after the conversion the extension
below y0 vanishes in half the chunks around spawn and the game doesn't re
extend them and that leaves huge holes in the bedrock layer Myles @.
> schrieb am Mi., 3. Jan. 2024, 16:12: … <#m_-7153342780560294720_> Yes,
the chunks are only missing after the conversion, they also regain their
original bedrock layer on y0 even though it shouldn't be there Myles @. >
schrieb am Mi., 3. Jan. 2024, 13:57: … <#m_-4369374435419949787_> Yeah, the
world was originally generated on the Wii U Edition, then it was carried
over to the Switch Edition and then from Switch Edition it was converted to
Bedrock on Switch, I have been playing this world on Bedrock for 4 years
now and all the chunks which are missing their part bellow y0 have been
loaded dozens of times already and appear to be fully complete when loaded
in Bedrock, but they are just gone when converted to java, is there any way
to get the game to recognize those chunks bellow y0? Thank you for your
help. Myles @. > schrieb am Mi., 3. Jan. 2024, 11:50: …
<#m_-6615338743385553338_> Thanks for sending your world, the error you see
is because there are chunks in the world which are from a version of the
game Chunker doesn't support. You can get Minecraft to upgrade the chunks
for you, but this does require you opening the map in Bedrock and updating
each chunk to ensure the game saves it out in the latest format. Given it
is an older world, it is also likely that Java generation may not align
with your world if chunks are not saved/a version unreadable by Chunker so
it may be why you see issues in your world. When I had a quick fly around
it seemed like any issues were away from the spawn. — Reply to this email
directly, view it on GitHub <#768
https://github.com/MicrosoftDocs/minecraft-creator/issues/768 <#768
https://github.com/MicrosoftDocs/minecraft-creator/issues/768> (comment)
<#768 https://github.com/MicrosoftDocs/minecraft-creator/issues/768
(comment) <#768 (comment)
https://github.com/MicrosoftDocs/minecraft-creator/issues/768#issuecomment-1875175016>>>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BFASTDFWRMC66YUPFWYPMODYMUZYRAVCNFSM6AAAAABBHX7DJWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZVGE3TKMBRGY
https://github.com/notifications/unsubscribe-auth/BFASTDFWRMC66YUPFWYPMODYMUZYRAVCNFSM6AAAAABBHX7DJWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZVGE3TKMBRGY
https://github.com/notifications/unsubscribe-auth/BFASTDFWRMC66YUPFWYPMODYMUZYRAVCNFSM6AAAAABBHX7DJWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZVGE3TKMBRGY
https://github.com/notifications/unsubscribe-auth/BFASTDFWRMC66YUPFWYPMODYMUZYRAVCNFSM6AAAAABBHX7DJWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZVGE3TKMBRGY
https://github.com/notifications/unsubscribe-auth/BFASTDFWRMC66YUPFWYPMODYMUZYRAVCNFSM6AAAAABBHX7DJWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZVGE3TKMBRGY
https://github.com/notifications/unsubscribe-auth/BFASTDFWRMC66YUPFWYPMODYMUZYRAVCNFSM6AAAAABBHX7DJWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZVGE3TKMBRGY
https://github.com/notifications/unsubscribe-auth/BFASTDFWRMC66YUPFWYPMODYMUZYRAVCNFSM6AAAAABBHX7DJWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZVGE3TKMBRGY
https://github.com/notifications/unsubscribe-auth/BFASTDFWRMC66YUPFWYPMODYMUZYRAVCNFSM6AAAAABBHX7DJWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZVGE3TKMBRGY
. You are receiving this because you authored the thread.Message ID: @.>
When I looked at your world there was chunks below Y=0 at least at the
spawn point, if the chunks aren't there it's likely something has gone
wrong otherwise considering the age of the world and the multi-conversion
steps it's been through it may be expected. — Reply to this email directly,
view it on GitHub <#768
https://github.com/MicrosoftDocs/minecraft-creator/issues/768 (comment)
<#768 (comment)
https://github.com/MicrosoftDocs/minecraft-creator/issues/768#issuecomment-1875332432>>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BFASTDGYTZ5DJUJFWHEFONTYMVISVAVCNFSM6AAAAABBHX7DJWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZVGMZTENBTGI
https://github.com/notifications/unsubscribe-auth/BFASTDGYTZ5DJUJFWHEFONTYMVISVAVCNFSM6AAAAABBHX7DJWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZVGMZTENBTGI
https://github.com/notifications/unsubscribe-auth/BFASTDGYTZ5DJUJFWHEFONTYMVISVAVCNFSM6AAAAABBHX7DJWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZVGMZTENBTGI
https://github.com/notifications/unsubscribe-auth/BFASTDGYTZ5DJUJFWHEFONTYMVISVAVCNFSM6AAAAABBHX7DJWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZVGMZTENBTGI
. You are receiving this because you authored the thread.Message ID: @.>
The game will automatically extend worlds if that is the issue, otherwise
I'm unable to see the issue. — Reply to this email directly, view it on
GitHub <#768 (comment)
https://github.com/MicrosoftDocs/minecraft-creator/issues/768#issuecomment-1875527074>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BFASTDFF4HUXS77GSXXYH23YMVYMPAVCNFSM6AAAAABBHX7DJWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZVGUZDOMBXGQ
https://github.com/notifications/unsubscribe-auth/BFASTDFF4HUXS77GSXXYH23YMVYMPAVCNFSM6AAAAABBHX7DJWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZVGUZDOMBXGQ
. You are receiving this because you authored the thread.Message ID: @.>
Do you have co-ordinates of example locations this happens?
—
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/minecraft-creator/issues/768#issuecomment-1875584513,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BFASTDB2VDLLBWCPHX3KXALYMV477AVCNFSM6AAAAABBHX7DJWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZVGU4DINJRGM
.
You are receiving this because you authored the thread.Message ID:
@.***>

That would be where chunks aren't being converted because they're legacy format, i'd suggest flying around the world and resaving it from Bedrock to upgrade it, though it may be not possible to get a consistent output due to it being an old format.

I already have flown over them dozens of times since converting to bedrock
and since 1.18, but there are still so many chunks below y0 that for some
reason get converted back to pre 1.18 times, even though they already have
terrain generated there
Myles @.***> schrieb am Mi., 3. Jan. 2024, 17:03:

That would be where chunks aren't being converted because they're legacy
format, i'd suggest flying around the world and resaving it from Bedrock to
upgrade it, though it may be not possible to get a consistent output due to
it being an old format.
—
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/minecraft-creator/issues/768#issuecomment-1875601326,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BFASTDFAMGFOHGYWYUHIFPTYMV6LLAVCNFSM6AAAAABBHX7DJWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZVGYYDCMZSGY
.
You are receiving this because you authored the thread.Message ID:
@.***>

I already have flown over them dozens of times since converting to bedrock and since 1.18, but there are still so many chunks below y0 that for some reason get converted back to pre 1.18 times, even though they already have terrain generated there Myles @.> schrieb am Mi., 3. Jan. 2024, 17:03:
…
That would be where chunks aren't being converted because they're legacy format, i'd suggest flying around the world and resaving it from Bedrock to upgrade it, though it may be not possible to get a consistent output due to it being an old format. — Reply to this email directly, view it on GitHub <#768 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/BFASTDFAMGFOHGYWYUHIFPTYMV6LLAVCNFSM6AAAAABBHX7DJWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZVGYYDCMZSGY . You are receiving this because you authored the thread.Message ID: @.>

Have you tried updating the chunks by placing blocks then reconverting? Unfortunately Chunker is only able to convert information it can see, so if they aren't converting there is something odd with those chunks going on.

Okay, I will try to modify chunks there and will update you on wether it
works or not, thank you
Myles @.***> schrieb am Mi., 3. Jan. 2024, 17:11:

I already have flown over them dozens of times since converting to bedrock
and since 1.18, but there are still so many chunks below y0 that for some
reason get converted back to pre 1.18 times, even though they already have
terrain generated there Myles @.
> schrieb am Mi., 3. Jan. 2024, 17:03: … <#m_-2829449814252121964_> That
would be where chunks aren't being converted because they're legacy format,
i'd suggest flying around the world and resaving it from Bedrock to upgrade
it, though it may be not possible to get a consistent output due to it
being an old format. — Reply to this email directly, view it on GitHub
<#768 (comment)
https://github.com/MicrosoftDocs/minecraft-creator/issues/768#issuecomment-1875601326>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BFASTDFAMGFOHGYWYUHIFPTYMV6LLAVCNFSM6AAAAABBHX7DJWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZVGYYDCMZSGY
https://github.com/notifications/unsubscribe-auth/BFASTDFAMGFOHGYWYUHIFPTYMV6LLAVCNFSM6AAAAABBHX7DJWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZVGYYDCMZSGY
. You are receiving this because you authored the thread.Message ID: @.>
Have you tried updating the chunks by placing blocks then reconverting?
Unfortunately Chunker is only able to convert information it can see, so if
they aren't converting there is something odd with those chunks going on.
—
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/minecraft-creator/issues/768#issuecomment-1875616705,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BFASTDAAOVBKI3BHHL7BFCTYMV7MPAVCNFSM6AAAAABBHX7DJWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZVGYYTMNZQGU
.
You are receiving this because you authored the thread.Message ID:
@.***>

Yes, if I update every single missing chunk it will work, thank you for
your help, do you have any tipps on how I could update such a large area
all at once?
Am Mi., 3. Jan. 2024 um 17:13 Uhr schrieb Elixim @.***

:

Okay, I will try to modify chunks there and will update you on wether it
works or not, thank you
Myles @.***> schrieb am Mi., 3. Jan. 2024, 17:11:

I already have flown over them dozens of times since converting to
bedrock and since 1.18, but there are still so many chunks below y0 that
for some reason get converted back to pre 1.18 times, even though they
already have terrain generated there Myles @.
> schrieb am Mi., 3. Jan. 2024, 17:03: …
<#m_-6576290722541283615_m_-2829449814252121964_> That would be where
chunks aren't being converted because they're legacy format, i'd suggest
flying around the world and resaving it from Bedrock to upgrade it, though
it may be not possible to get a consistent output due to it being an old
format. — Reply to this email directly, view it on GitHub <#768 (comment)
https://github.com/MicrosoftDocs/minecraft-creator/issues/768#issuecomment-1875601326>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BFASTDFAMGFOHGYWYUHIFPTYMV6LLAVCNFSM6AAAAABBHX7DJWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZVGYYDCMZSGY
https://github.com/notifications/unsubscribe-auth/BFASTDFAMGFOHGYWYUHIFPTYMV6LLAVCNFSM6AAAAABBHX7DJWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZVGYYDCMZSGY
. You are receiving this because you authored the thread.Message ID: @.>
Have you tried updating the chunks by placing blocks then reconverting?
Unfortunately Chunker is only able to convert information it can see, so if
they aren't converting there is something odd with those chunks going on.
—
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/minecraft-creator/issues/768#issuecomment-1875616705,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BFASTDAAOVBKI3BHHL7BFCTYMV7MPAVCNFSM6AAAAABBHX7DJWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZVGYYTMNZQGU
.
You are receiving this because you authored the thread.Message ID:
@.***>

Unfortunately not, I know some people use command blocks but I don't have an example.

Okay, thanks for your help
Am Mi., 3. Jan. 2024 um 21:06 Uhr schrieb Myles @.***>:

Unfortunately not, I know some people use command blocks but I don't have
an example.
—
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/minecraft-creator/issues/768#issuecomment-1875905159,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BFASTDDH3B7W4VZMGD6F7MTYMW25HAVCNFSM6AAAAABBHX7DJWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZVHEYDKMJVHE
.
You are receiving this because you authored the thread.Message ID:
@.***>

It looks like Myles has solved this issue so I'm going to go ahead and close the issue. Thanks so much!


Exception while creating Buy order

        Create BUY order.
                Buy price: ........
                Buy volume: ........

Unhandled exception: You incorrectly entered one of fields.

That's an error you get when your price has more than 3 decimal digits.


Sensitivity of Signature attribute naming

I have been getting an odd bug. With the below Signature, I get an error (specifically, TemplateV2.query throws an AttributeError because it is trying to split a list?). But if I change examples to context, then it seems to work fine. Are certain attribute names protected?
import dspy

gpt35 = dspy.OpenAI(model="gpt-3.5-turbo")
dspy.settings.configure(lm=gpt35)

class GenerateSummary(dspy.Signature):
    """Generate a summary of the provided examples"""
    examples = dspy.InputField(desc="A balanced set of examples")
    summary = dspy.OutputField(desc="A straightforward summary")

generate_summary = dspy.ChainOfThought(GenerateSummary)
generate_summary(context=[
     "Humpty Dumpty is a character in an English nursery rhyme, probably originally a riddle and one of the best known in the English-speaking world.",
     "Ring Around the Rosie, is a nursery rhyme. Descriptions first emerge in the mid-19th century, but are reported as dating from decades before, and similar rhymes are known from across Europe"
])

Ah that’s a known issue that we’ll be fixing. For now, pass a format keyword argument to dspy.InputField that takes a list and returns a formatted string.
import dsp
dsp.passages2text
is one function that achieves that.

Wow, what a quick response! Thanks!
My actual use case was slightly more complicated---I wanted to pass [ex.with_inputs('text', 'label') for ex in dataset]. Should that still work? I just tried it with my above workaround (using context instead), and I think they were ignored.

There are no fields in your code called text and label. How are these suppose to be used

Oh sorry, I wasn't clear, my real data is a list of Examples which have those fields. I guess the question is whether I should define a format function specific to my Examples?

You may want to define a dspy.Module class and in the forward function take any argument names you like but pass examples into the chain of thought method.
Let me know if I should share an example of that

Yeah, I suspect I'm doing something wrong, since I don't have a forward signature (looking forward to your paper so I  can understand the abstractions better!). Right now my Module looks something like the following
class Summarizer(dspy.Module):
    def __init__(
        self,
        trainset: list[Example],
        num_iters: int = 4,
        items_per_sample: int = 10,
    ):
        super().__init__()
        self.trainset = trainset
        self.devset = devset
        self.num_iters = num_iters
        self.items_per_sample = items_per_sample

        # submodules
        self.generate_summary = dspy.ChainOfThought(GenerateSummary)

    def forward():
        outputs = []
        for _ in num_iters:
            train_ex_sample = random.sample(self.trainset, k=self.items_per_sample)
            result = self.generate_summary(examples=train_ex_sample)
            outputs.append(result)
        return outputs

In the long run, I could see using simple retrieval to target diversity in the sampling.

I'm not 100% clear on the reason for passing the training set into forward. I don't think you're trying to train the program (if you are, I'd use one of the teleprompters instead).
But this works fwiw:
import dspy
import random
from dsp import passages2text

trainset = [dspy.Example(text=f"my long string #{idx}", label=f"shorter string #{idx}") for idx in range(3)]
trainset = [x.with_inputs('text') for x in trainset]

devset = [dspy.Example(text=f"my long string #{idx}", label=f"shorter string #{idx}") for idx in range(3)]
devset = [x.with_inputs('text') for x in devset]

class GenerateSummary(dspy.Signature):
    """Generate a summary of the provided examples"""
    examples = dspy.InputField(desc="A balanced set of examples", format=passages2text)
    summary = dspy.OutputField(desc="A straightforward summary")

class Summarizer(dspy.Module):
    def __init__(
        self,
        trainset,
        num_iters: int = 2,
        items_per_sample: int = 2,
    ):
        super().__init__()
        self.trainset = trainset
        self.devset = devset
        self.num_iters = num_iters
        self.items_per_sample = items_per_sample

        # submodules
        self.generate_summary = dspy.ChainOfThought(GenerateSummary)

    def forward(self):
        outputs = []
        for _ in range(self.num_iters):
            train_ex_sample = random.sample(self.trainset, k=self.items_per_sample)
            result = self.generate_summary(examples=[x.text for x in train_ex_sample])
            outputs.append(result)
        return outputs

summarizer = Summarizer(trainset=trainset)
summarizer()

Excellent, thank you so much! Yeah, I'm not training here. Passing the data directly to forward would probably be fine too.


Make a General Welcome Sign Design - Due 10/10

Update Civic Camp Welcome Sign to just be NC Open Pass - not event specific.
We'll print an 8 1/2 x 11 paper with event specific information to tape to the welcome signs

Uploaded here https://drive.google.com/open?id=19RrhCql-XFclEJshgKFcDt8KAQnQ2tS3

Version 2 with "WELCOME" moved up so a 8.5 by 11 sheet of paper fits between "Welcome" and "Follow and Tweet" uploaded here https://drive.google.com/open?id=1QbHkgsC4XWrQyBntT_8hDsuSwo4fps4V

24" x 36" - I think the added paper way looks cheesy. I wonder if there is
a way to add a blank, white section that we can do a dry erase marker type
of thing. just spitballing options.
Another idea. We spend $55 per 24 x 36 poster. 33-34 is laminate and
foamboard. We can purchase posters for $22 and put them in reusable frames
like movie posters.  Doesn't address the recycling piece, but does make
costs manageable.
Chris Mathews
On Wed, Oct 3, 2018 at 8:21 AM Janel<EMAIL_ADDRESS>wrote:

@ChrisTheDBA https://github.com/ChrisTheDBA and @TaxLadyTracy
https://github.com/TaxLadyTracy - what size were the welcome posters
that we printed for Civic Camp?
Personally, I like version 2 that allows for event branding on a normal
piece of paper
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ncopenpass/NCOpenPass/issues/1304#issuecomment-426617286,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAOGtX9monz3eq3KRPhEob6StvoFdgkpks5uhKvhgaJpZM4XC7gf
.

I see this as a cost saving effort to be honest. If we have the generic $55
24"x36" poster but a space for one of those 8.5" by 11" plastic inserts, we
can print off event-specific graphics on a typical piece of paper.
Turnaround is minutes depending on who can get to a printer quickly. I
assume Janel and Jennifer would still create these inserts for each event.
That way, the sizes are now standard, printing is way cheap, logistics are
easy. If there is a mistake, it's a quick fix (by marketing) and
reprint (by logistics) at an office printer or 24-hour type place like
Kinko's.
That's my two cents.
A
On Wed, Oct 3, 2018 at 10:27 AM Chris Mathews<EMAIL_ADDRESS>wrote:

24" x 36" - I think the added paper way looks cheesy. I wonder if there is
a way to add a blank, white section that we can do a dry erase marker type
of thing. just spitballing options.
Another idea. We spend $55 per 24 x 36 poster. 33-34 is laminate and
foamboard. We can purchase posters for $22 and put them in reusable frames
like movie posters. Doesn't address the recycling piece, but does make
costs manageable.
Chris Mathews
On Wed, Oct 3, 2018 at 8:21 AM Janel<EMAIL_ADDRESS>wrote:

@ChrisTheDBA https://github.com/ChrisTheDBA and @TaxLadyTracy
https://github.com/TaxLadyTracy - what size were the welcome posters
that we printed for Civic Camp?
Personally, I like version 2 that allows for event branding on a normal
piece of paper
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<
https://github.com/ncopenpass/NCOpenPass/issues/1304#issuecomment-426617286
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/AAOGtX9monz3eq3KRPhEob6StvoFdgkpks5uhKvhgaJpZM4XC7gf
.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ncopenpass/NCOpenPass/issues/1304#issuecomment-426657942,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB3IewXZgw2E61z6N-DtZ7pf9fUEdVv0ks5uhMlHgaJpZM4XC7gf
.

I like the spot for the 8 1/2 x 11 paper/plastic insert as well - we could
even use the sign at meetups and not just the big events throughout the
year.
On Wed, Oct 3, 2018 at 10:42 AM Leo Suarez<EMAIL_ADDRESS>wrote:

I see this as a cost saving effort to be honest. If we have the generic $55
24"x36" poster but a space for one of those 8.5" by 11" plastic inserts, we
can print off event-specific graphics on a typical piece of paper.
Turnaround is minutes depending on who can get to a printer quickly. I
assume Janel and Jennifer would still create these inserts for each event.
That way, the sizes are now standard, printing is way cheap, logistics are
easy. If there is a mistake, it's a quick fix (by marketing) and
reprint (by logistics) at an office printer or 24-hour type place like
Kinko's.
That's my two cents.
A
On Wed, Oct 3, 2018 at 10:27 AM Chris Mathews<EMAIL_ADDRESS>wrote:

24" x 36" - I think the added paper way looks cheesy. I wonder if there
is
a way to add a blank, white section that we can do a dry erase marker
type
of thing. just spitballing options.
Another idea. We spend $55 per 24 x 36 poster. 33-34 is laminate and
foamboard. We can purchase posters for $22 and put them in reusable
frames
like movie posters. Doesn't address the recycling piece, but does make
costs manageable.
Chris Mathews
On Wed, Oct 3, 2018 at 8:21 AM Janel<EMAIL_ADDRESS>wrote:

@ChrisTheDBA https://github.com/ChrisTheDBA and @TaxLadyTracy
https://github.com/TaxLadyTracy - what size were the welcome posters
that we printed for Civic Camp?
Personally, I like version 2 that allows for event branding on a normal
piece of paper
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<

https://github.com/ncopenpass/NCOpenPass/issues/1304#issuecomment-426617286

,
or mute the thread
<

https://github.com/notifications/unsubscribe-auth/AAOGtX9monz3eq3KRPhEob6StvoFdgkpks5uhKvhgaJpZM4XC7gf

.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<
https://github.com/ncopenpass/NCOpenPass/issues/1304#issuecomment-426657942
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/AB3IewXZgw2E61z6N-DtZ7pf9fUEdVv0ks5uhMlHgaJpZM4XC7gf
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ncopenpass/NCOpenPass/issues/1304#issuecomment-426663411,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AK4rphj2g-7CmwUJBRquq3G7eq_cx-THks5uhMy-gaJpZM4XC7gf
.

Another question that might help. Is there a need to save money here?
If the answer is no, then why can't marketing just create the full poster
graphic and let logistics print and pay for it.
If we're at a time when we need to tighten up and saving through less
printing is a solution, then we can try something creative.
On Fri, Oct 5, 2018 at 7:22 AM TaxLadyTracy<EMAIL_ADDRESS>wrote:

I just dont want us looking cheap.  We never have and it's not time to
start.
Sent from my Verizon, Samsung Galaxy smartphone
-------- Original message --------From: Leo Suarez <
<EMAIL_ADDRESS>Date: 10/3/18 10:42 AM (GMT-05:00) To:
ncopenpass/NCOpenPass<EMAIL_ADDRESS>Cc: TaxLadyTracy <
<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [ncopenpass/NCOpenPass] Make a General Welcome Sign Design -
Due 10/10 (#1304)
I see this as a cost saving effort to be honest. If we have the generic $55
24"x36" poster but a space for one of those 8.5" by 11" plastic inserts, we
can print off event-specific graphics on a typical piece of paper.
Turnaround is minutes depending on who can get to a printer quickly. I
assume Janel and Jennifer would still create these inserts for each event.
That way, the sizes are now standard, printing is way cheap, logistics are
easy. If there is a mistake, it's a quick fix (by marketing) and
reprint (by logistics) at an office printer or 24-hour type place like
Kinko's.
That's my two cents.
A
On Wed, Oct 3, 2018 at 10:27 AM Chris Mathews<EMAIL_ADDRESS>wrote:

24" x 36" - I think the added paper way looks cheesy. I wonder if there
is

a way to add a blank, white section that we can do a dry erase marker
type

of thing. just spitballing options.

Another idea. We spend $55 per 24 x 36 poster. 33-34 is laminate and

foamboard. We can purchase posters for $22 and put them in reusable
frames

like movie posters. Doesn't address the recycling piece, but does make

costs manageable.

Chris Mathews

On Wed, Oct 3, 2018 at 8:21 AM Janel<EMAIL_ADDRESS>wrote:

@ChrisTheDBA https://github.com/ChrisTheDBA and @TaxLadyTracy

https://github.com/TaxLadyTracy - what size were the welcome posters

that we printed for Civic Camp?

Personally, I like version 2 that allows for event branding on a normal

piece of paper

—

You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub

<

https://github.com/ncopenpass/NCOpenPass/issues/1304#issuecomment-426617286

,

or mute the thread

<

https://github.com/notifications/unsubscribe-auth/AAOGtX9monz3eq3KRPhEob6StvoFdgkpks5uhKvhgaJpZM4XC7gf

.

—

You are receiving this because you are subscribed to this thread.

Reply to this email directly, view it on GitHub

<
https://github.com/ncopenpass/NCOpenPass/issues/1304#issuecomment-426657942
,

or mute the thread

<
https://github.com/notifications/unsubscribe-auth/AB3IewXZgw2E61z6N-DtZ7pf9fUEdVv0ks5uhMlHgaJpZM4XC7gf

.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/ncopenpass/NCOpenPass","title":"ncopenpass/NCOpenPass","subtitle":"GitHub
repository","main_image_url":"
https://assets-cdn.github.com/images/email/message_cards/header.png
","avatar_image_url":"
https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open
in GitHub","url":"https://github.com/ncopenpass/NCOpenPass"}},"updates":{"snippets":[{"icon":"PERSON","message":"@dtraleigh
in #1304: I see this as a cost saving effort to be honest. If we have the
generic $55\n24"x36" poster but a space for one of those 8.5" by 11"
plastic inserts, we\ncan print off event-specific graphics on a typical
piece of paper.\nTurnaround is minutes depending on who can get to a
printer quickly. I\nassume Janel and Jennifer would still create these
inserts for each event.\n\nThat way, the sizes are now standard, printing
is way cheap, logistics are\neasy. If there is a mistake, it's a quick fix
(by marketing) and\nreprint (by logistics) at an office printer or 24-hour
type place like\nKinko's.\n\nThat's my two cents.\n\nA\n\nOn Wed, Oct 3,
2018 at 10:27 AM Chris Mathews \u003cnotifications@github.com\u003e\nwrote:\n\n\u003e
24" x 36" - I think the added paper way looks cheesy. I wonder if there
is\n\u003e a way to add a blank, white section that we can do a dry erase
marker type\n\u003e of thing. just spitballing options.\n\u003e\n\u003e
Another idea. We spend $55 per 24 x 36 poster. 33-34 is laminate
and\n\u003e foamboard. We can purchase posters for $22 and put them in
reusable frames\n\u003e like movie posters. Doesn't address the recycling
piece, but does make\n\u003e costs
manageable.\n\u003e\n\u003e\n\u003e\n\u003e Chris
Mathews\n\u003e\n\u003e\n\u003e\n\u003e\n\u003e On Wed, Oct 3, 2018 at 8:21
AM Janel<EMAIL_ADDRESS>wrote:\n\u003e\n\u003e
\u003e @ChrisTheDBA \u003chttps://github.com/ChrisTheDBA\u003e
http://github.com/ChrisTheDBA\u003e and @TaxLadyTracy\n\u003e \u003e
\u003chttps://github.com/TaxLadyTracy\u003e
http://github.com/TaxLadyTracy\u003e - what size were the welcome
posters\n\u003e \u003e that we printed for Civic Camp?\n\u003e
\u003e\n\u003e \u003e Personally, I like version 2 that allows for event
branding on a normal\n\u003e \u003e piece of paper\n\u003e \u003e\n\u003e
\u003e —\n\u003e \u003e You are receiving this because you were
mentioned.\n\u003e \u003e Reply to this email directly, view it on
GitHub\n\u003e \u003e \u003c\n\u003e
https://github.com/ncopenpass/NCOpenPass/issues/1304#issuecomment-426617286\n\u003e
\u003e,\n\u003e \u003e or mute the thread\n\u003e \u003e \u003c\n\u003e
https://github.com/notifications/unsubscribe-auth/AAOGtX9monz3eq3KRPhEob6StvoFdgkpks5uhKvhgaJpZM4XC7gf\n\u003e
\u003e\n\u003e \u003e .\n\u003e \u003e\n\u003e\n\u003e —\n\u003e You are
receiving this because you are subscribed to this thread.\n\u003e Reply to
this email directly, view it on GitHub\n\u003e \u003chttps://
github.com/ncopenpass/NCOpenPass/issues/1304#issuecomment-426657942\u003e,\n\u003e
http://github.com/ncopenpass/NCOpenPass/issues/1304#issuecomment-426657942\u003e,\n\u003e
or mute the thread\n\u003e \u003chttps://
github.com/notifications/unsubscribe-auth/AB3IewXZgw2E61z6N-DtZ7pf9fUEdVv0ks5uhMlHgaJpZM4XC7gf\u003e\n\u003e
http://github.com/notifications/unsubscribe-auth/AB3IewXZgw2E61z6N-DtZ7pf9fUEdVv0ks5uhMlHgaJpZM4XC7gf\u003e\n\u003e
.\n\u003e\n"}],"action":{"name":"View Issue","url":"
https://github.com/ncopenpass/NCOpenPass/issues/1304#issuecomment-426663411
"}}}
[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "
https://github.com/ncopenpass/NCOpenPass/issues/1304#issuecomment-426663411
",
"url": "
https://github.com/ncopenpass/NCOpenPass/issues/1304#issuecomment-426663411
",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
},
{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"hideOriginalBody": "false",
"originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB",
"title": "Re: [ncopenpass/NCOpenPass] Make a General Welcome Sign Design -
Due 10/10 (#1304)",
"sections": [
{
"text": "",
"activityTitle": "Leo Suarez",
"activityImage": "
https://assets-cdn.github.com/images/email/message_cards/avatar.png",
"activitySubtitle": "@dtraleigh",
"facts": [
]
}
],
"potentialAction": [
{
"name": "Add a comment",
"@type": "ActionCard",
"inputs": [
{
"isMultiLine": true,
"@type": "TextInput",
"id": "IssueComment",
"isRequired": false
}
],
"actions": [
{
"name": "Comment",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n"commandName": "IssueComment",\n"repositoryFullName":
"ncopenpass/NCOpenPass",\n"issueId": 1304,\n"IssueComment":
"{{IssueComment.value}}"\n}"
}
]
},
{
"name": "Close issue",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n"commandName": "IssueClose",\n"repositoryFullName":
"ncopenpass/NCOpenPass",\n"issueId": 1304\n}"
},
{
"targets": [
{
"os": "default",
"uri": "
https://github.com/ncopenpass/NCOpenPass/issues/1304#issuecomment-426663411
"
}
],
"@type": "OpenUri",
"name": "View on GitHub"
},
{
"name": "Unsubscribe",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n"commandName": "MuteNotification",\n"threadId":
386643999\n}"
}
],
"themeColor": "26292E"
}
]
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ncopenpass/NCOpenPass/issues/1304#issuecomment-427332468,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB3IewnzyFfaXiPQUX7cxTfJga3e1CeVks5uh0DmgaJpZM4XC7gf
.

I think we should be open to new ideas here. Just because we've never done
it, doesn't mean it shouldn't consider it. If it's best to discuss
something like this outside of the card, then we should add it to our
agenda for the next meeting.

ready to print


BUG: Unnecessary elements in footer section of Free books section

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
There are Unnecessary elements in footer section of Free books section like below.

Please assign this to me under GSSoC'24.
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

Hello @anuragverma108 ,
Can this issue be assigned to me for Gssoc'24.
Regards,
V Meenakshi Iyer


Create user documentation

Use sphinx with doc strings
Settle on convention how to write doc strings
Disseminate info of how to write doc strings that conforms to it

Added support for binder #180

Quote from #200:

Documentation

Agreed with what you say, could be more beginner friendly - though even if Sphinx, someone needs to invest time to make it...
for now we thought getting feature complete on the TSC/TSR and forecasting fronts would be a priority, as to showcase the reduction/composition arc-hitecture, but certainly documentation is something to revisit.

I completely understand - especially in the early days of the project it can be more important to get some functionality working so that you have something to document in the first place! I just wanted to raise the point on docs because I've been in the position where I wished I'd prioritised documentation earlier. Once you have quite a bit of undocumented functionality it quickly becomes a large task to fix. But if you start early and improve the documentation incrementally with each update, it can be much more manageable and easy to maintain.

Maybe we could run another dev & doc sprint sometime early next year?


exec: "ssh": executable file not found in %PATH%

I've used installer v1.1.2
I get:
2014/08/09 16:21:41 Waiting for VM to be started...
.......2014/08/09 16:22:03 exec: "ssh": executable file not found in %PATH%
2014/08/09 16:22:03 Started.
2014/08/09 16:22:04   Trying to get IP one more time
2014/08/09 16:22:04 exec: "ssh": executable file not found in %PATH%
2014/08/09 16:22:04 Docker client does not run on Windows for now. Please use
2014/08/09 16:22:04     "e:\Programme\Boot2Docker for Windows\boot2docker.exe" ssh
2014/08/09 16:22:04 to SSH into the VM instead.
connecting...
2014/08/09 16:22:04 exec: "ssh": executable file not found in %PATH%
as in #19
I think the problem ist the installation path. I installed boot2docker in
E:\Programme\Boot2Docker for Windows
I've added
B2DPATH=${B2DPATH//E:///e/}
in start.sh then it works.

Hi,
I get the same message. But I've installed boot2docker on C:. The additional line in start.sh does not solve this issue. Any suggestion, what can I do?

Add your git\bin directory to your path. As a permanent solution, change the path of your machine by adding this directory to the path string (if you don't know how to do this, there should be plenty of instructions in your language version online, so just google it).
In your current session, do something like
Your_path_to\Boot2Docker>path=%PATH%;your_path_to\Git\bin

Make sure you get what you want:
Your_path_to\Boot2Docker>path

Next call
Your_path_to\Boot2Docker>boot2docker.exe ssh

and you're set. You should see the familiar docker interface.

Sorry, this repository is long-since deprecated in favor of Docker Toolbox (whose usage is now also discouraged in favor of Docker for Windows and Docker for Mac).


docs(e2e adopter journey): Check onboarding material

What
The whole chapter needs a review and also the section needs to be updated
Why
Tasks

[x] Talk to Felix
[x] Adapt the chapter

@stephanbcbauer I'll review and finalize the onboarding material.

@gerbigf  thank you very much for your contribution


Determining available positions similar to THOR's GetReachablePositions

❓ Questions and Help
Is there any way to get all reachable positions in a navmesh (up to some discretization like FORWARD_STEP_SIZE).
Thanks!

Not really. There is sim.pathfinder.get_topdown_view which returns an occupancy grid which may be helpful for you use case but this isn't exactly all reachable positions.
The set of all reachable positions can be extremely large -- e.g. an agent with a fairly small turn angle (say 30 degrees) can reach hundreds of millions unique locations even within just a 1 meter square even with a relatively big step size like 0.25m.

Thanks!

Thanks!

Am I right to think if I called sim.pathfinder.get_topdown_view(meters_per_pixel=0.1,  height=0) I would get an occupancy grid of floor "cells" at 0.1 meter voxel resolution?

The floor may not be at height zero. If you already have an agent position you can use its height, otherwise you can sample navigable locations via sim.pathfinder.get_random_navigable_point. Note that those may not always be on the "floor"


[New Rule] Merge duplicate startswith / endswith calls

Explanation
Explain briefly why you think this makes the code simpler.
This is similar to the isinstance call merging. You can also merge startswith, endswith calls on strings. This means the builtin method only needs to iterate through the string once. flake8-PIE already enables this rule as PIE810.
Example
# Bad
a = "abcdef"
if a.startswith("abc") or a.startswith("xyz"):
     print("alphabet found")

# Good
a = "abcdef"
if a.startswith("abc", "xyz"):
     print("alphabet found")

can be repeated with endswith as well

Came here to suggest the same rule. 👍
Note that the good example is missing parens:
- if a.startswith("abc", "xyz"):
+ if a.startswith(("abc", "xyz")):


use Middleware::log with debug level

hi:
i use Middleware::log with debug level into file ,what tools to pretty format the log ?

Not sure what you are asking: is there a way to dump formatted messages to the log file or is there a way to view the logs with a software which can format it.
Question 1: We have a MessageFormatter interface.
Question 2: http://lnav.org/
Hope this helps.

That helped me， thanks.


User matching query does not exist Error

This is the new commit with this issue:
commit
The mutation is necessary, the error is not. Error affects updating the organizer profile

Issue soleved. Check commit


Update jitpack.yml to use the right java version

Aack I didn't know it would take future commits too

Will resubmit with a not broken one


YouTube Channel IDs

I can't seem to get the 'youtube_user' option to work using channel IDs on a channel that doesn't have a set username, but instead is basically a code of a few numbers and letters. (ex: 'UCTEzzaSvpXG70LRETBFt7qA')
It works just fine with a set username... but not with a channel ID.

This is to do with YouTube depreciating the use of custom usernames. If your channel has a Channel ID, replace the below value in the api.js file (line 166):
forUsername:settings.youtube_user,
Replace with:
id:settings.youtube_user,
And then change line 173 from:
$('#wrapper .item.youtube').attr('href','https://youtube.com/'+settings.youtube_user);
To this:
$('#wrapper .item.youtube').attr('href','https://youtube.com/channel/'+settings.youtube_user);


Brave browser, unable to type diacritics.

Describe the bug
unable to use any diacritic running Brave Browser(wayland) inside gnome 43.0(wayland).
Steps To Reproduce
Steps to reproduce the behavior:

add US, alt. intl. layout via gnome settings.
try typing anything like "é á ã"

Expected behavior
Be able to use any US, alt. intl. diacritic.
Additional context
Brave 1.43.89
Notify maintainers

Metadata

 - system: `"x86_64-linux"`
 - host os: `Linux 6.0.0-xanmod1, NixOS, 22.11 (Raccoon), 22.11pre422531.d40fea9aeb8`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.11.0`
 - channels(root): `"nixos"`
 - channels(lucio): `""`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Also, flatpak Brave(v1.45.118) works flawlessly.

probably had a bad configuration, did a full reinstall and it works now.


chore(deps): upgrade dev dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dev-dependencies-k8s-28-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 4247

Questions ?
Please refer to the Backport tool documentation


Setup pessimist maybe?

Description
Add pessimist to make test or CI or something.

@thatch I tried running the command you had in #14, but it failed on my local machine:
(.venv) jreese@legion ~/workspace/attribution main  ‹2› » python -m pessimist --fast --requirements= -c "attribution --help" .
Requirement already satisfied: flit_core<4,>=3 in ./.venv/lib/python3.8/site-packages (3.0.0)
Requirement already satisfied: pytoml in ./.venv/lib/python3.8/site-packages (from flit_core<4,>=3) (0.1.21)
WARNING: You are using pip version 19.2.3, however version 20.2.4 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Summary
=======
Variable ['attrs', 'click', 'jinja2', 'packaging', 'tomlkit']
Fixed []

Versions
========
attrs ['15.0.0', '20.3.0']
click ['0.1', '7.1.2']
jinja2 ['2.0', '2.11.2']
packaging ['14.0', '20.4']
tomlkit ['0.1.0', '0.7.0']

FAIL min: Install failed
  $ /var/folders/3c/b8ndz8l537b0xp_p8vljfc180000gn/T/tmpip3gh008/bin/python -m pip install attrs==15.0.0 click==0.1 jinja2==2.0 packaging==14.0 tomlkit==0.1.0Collecting attrs==15.0.0
    Downloading https://files.pythonhosted.org/packages/a2/f6/97806e9f6fe4d2b6f04d947a9a4ac36b17d1f4bc48cbebfcd27d5c198d33/attrs-15.0.0.tar.gz
  Collecting click==0.1
    Downloading https://files.pythonhosted.org/packages/82/e9/39bc04e46ac4dc16f60d3c95d2a8238f8a86a738ecab723755470e1486d1/click-0.1-py2.py3-none-any.whl
  Collecting jinja2==2.0
    Downloading https://files.pythonhosted.org/packages/01/82/b2ed16b1cbea5ddbf1462fb65cf67ce7cd780dc1b6a6f0244f1387fa007d/Jinja2-2.0.tar.gz (523kB)
      ERROR: Command errored out with exit status 1:
       command: /private/var/folders/3c/b8ndz8l537b0xp_p8vljfc180000gn/T/tmpip3gh008/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/3c/b8ndz8l537b0xp_p8vljfc180000gn/T/pip-install-wl5xuufp/jinja2/setup.py'"'"'; __file__='"'"'/private/var/folders/3c/b8ndz8l537b0xp_p8vljfc180000gn/T/pip-install-wl5xuufp/jinja2/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base pip-egg-info
           cwd: /private/var/folders/3c/b8ndz8l537b0xp_p8vljfc180000gn/T/pip-install-wl5xuufp/jinja2/
      Complete output (6 lines):
      Traceback (most recent call last):
        File "<string>", line 1, in <module>
        File "/private/var/folders/3c/b8ndz8l537b0xp_p8vljfc180000gn/T/pip-install-wl5xuufp/jinja2/setup.py", line 91
          except CCompilerError, x:
                               ^
      SyntaxError: invalid syntax
      ----------------------------------------
  ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  WARNING: You are using pip version 19.2.3, however version 20.2.4 is available.
  You should consider upgrading via the 'pip install --upgrade pip' command.

jinja2==2.0 (released in 2008) has py2 syntax; this is a legal choice given
[tool.flit.metadata]
requires = ["attrs", "click", "jinja2", "packaging", "tomlkit"]

The error message is not very clear because the failure is in the install step, and you passed --fast which just fails.
Rerunning as
$ python -m pessimist --requirements= -c "python -m attribution.main --help" .
...
Final test
==========
{'attrs': <Version('19.2.0')>, 'click': <Version('0.1')>, 'jinja2': <Version('2.7')>, 'packaging': <Version('14.0')>, 'tomlkit': <Version('0.1.0')>}
OK   min
Suggest narrowing: attrs>=19.2.0
Suggest narrowing: jinja2>=2.7

(Note the attribution command isn't available, so had to run it with -m -- it doesn't actually install the project under test unless you include something that does in the -c)


Replace deprecated PyUnicode_FromUnicode(NULL, size) calls (#998)

Current versions of Python write a deprecation warning message to stderr, which breaks CGI scripts running under web servers which fold stderr into stdout. Likely breaks other software. This change replaces the deprecated calls with PyUnicode_New(size, 0x10ffff). The second argument represents the highest code point for Unicode characters, which is used because the calls being replaced have no string value from which we can determine the smallest number of bytes needed to represent any value which can be stored in the newly-created object.
Fixes #998

I have included a unit test, but I assume others more familiar with the project will want to decide how to integrate it with the existing tests. The test fails without the fix and passes with it.

Reaching out in the ticket for assistance.

Going to get another running start on this one.


Deprecate covariance module

I'm wondering if we should support the argument mean as in Nx.covariance. We couldn't handle it within one function like in Nx.covariance using guards. So, I think that introducing another function which deals with mean would not be elegant. But maybe it's worth it I'm open to suggestions :)

I added the correct deprecate messages. I also remove opts with ddof options since it doesn't have any sense in correlation. Result for both unbiased covariance estimator and unbiased variances in denominator results with exactly the same output.


Can't set host in routing specs

Hi, I'm trying to set a different host using a subdomain (test.example.com).
The route I'm trying to test is the following (rails 3 rc1):
match 'profile', :to => 'users#profile', :constraints => {:subdomain => /.+/ }
I've searched everywhere, but the host! method that everybody mentions doesn't seem to exist anymore, and @request is nil. No answers on rspec-users as well.
Is this feature missing or I'm simply doing it in the wrong way ?

It is success but if we run all specs failing these examples
Example:
In my case
rspec spec/routing/individual_routing_spec.rb
4 examples ,0 fails
When I run all specs rspec spec/
17 examples,4 fails


Site Infinity: Mobile Navigation tweaks

Description
The Infinity page has a completely different color scheme than the rest of Site.
This includes the Header Navigation too.
For the Desktop Navigation the background color was set to "transparent" in order to show the color gradients from the main page below. This required to move the whole page a few rems up.
The same should happen with the Mobile Navigation which includes a few more tweaks:

[ ] if page is "infinity" set the background color for Mobile Nav to "transparent"
[ ] if page is "infinity" remove the buttons from the Mobile Navigation
[ ] if page is "infinity" add a new Hamburger Menu icon
[ ] Ask design how the toggled menu should look like
[ ] Ask design where the "change language" button should be now

Relates to https://github.com/KlimaDAO/klimadao/issues/532
Screenshot from design

similar to get clarification from designers on how to unify this as best we can across all views, if possible, and do it as part of the new nav header

Deprecated, /infinity is now going away with Carbonmark release


Remove Sass vars represented as CSS Properties

This PR replaces all Sass vars with their equivalent CSS property and removes the corresponding Sass var unless it is in use by a Sass mixin argument, which doesn't play well with native CSS properties.

Not blocking to this PR at all but we should discuss which ux variables are supported by Synthesis (or need an equivalent) and move them over to the synth prefix

100%.  I feel like this can be one of the things we tackle next week


CRFEntityExtractor or DIETClassifier is splitting a entity into multiple if contains punctuation

Rasa 1.10.14:
Python 3.7.5:
Ubuntu 19.10 :
Issue:
CRFEntityextractor or DIETClassiifer is splitting an entity into multiple words.
I was using RASA 1.10.2 initially and it was working fine but the ConveRTFeaturizer issue reported in RASA 1.10.2 for the POLY-AI model URL changed. Hence I have updated to RASA 1.x latest version i.e, RASA 1.10.14
Now these CRFEntityextractor or DIETClassiifer are not identifying the entities propely.
Error:
5306 Walnut Ave., Building A, Sacramento, CA 95841
{
  "intent": {
    "name": "address",
    "confidence": 0.9996100664138794
  },
  "entities": [
    {
      "entity": "insuredaddress",
      "start": 0,
      "end": 15,
      "confidence_entity": 0.8947956045473241,
      "value": "5306 Walnut Ave",
      "extractor": "CRFEntityExtractor"
    },
    {
      "entity": "insuredaddress",
      "start": 18,
      "end": 28,
      "confidence_entity": 0.9364809066380787,
      "value": "Building A",
      "extractor": "CRFEntityExtractor"
    },
    {
      "entity": "insuredaddress",
      "start": 30,
      "end": 40,
      "confidence_entity": 0.9457472912523117,
      "value": "Sacramento",
      "extractor": "CRFEntityExtractor"
    },
    {
      "entity": "insuredaddress",
      "start": 42,
      "end": 50,
      "confidence_entity": 0.9197204154102323,
      "value": "CA 95841",
      "extractor": "CRFEntityExtractor"
    },
    {
      "entity": "insuredaddress",
      "start": 0,
      "end": 15,
      "value": "5306 Walnut Ave",
      "extractor": "DIETClassifier"
    },
    {
      "entity": "insuredaddress",
      "start": 18,
      "end": 28,
      "value": "Building A",
      "extractor": "DIETClassifier"
    },
    {
      "entity": "insuredaddress",
      "start": 30,
      "end": 40,
      "value": "Sacramento",
      "extractor": "DIETClassifier"
    },
    {
      "entity": "insuredaddress",
      "start": 42,
      "end": 50,
      "value": "CA 95841",
      "extractor": "DIETClassifier"
    },
    {
      "entity": "GPE",
      "value": "Walnut Ave",
      "start": 5,
      "confidence": null,
      "end": 15,
      "extractor": "SpacyEntityExtractor"
    },
    {
      "entity": "ORG",
      "value": "Building A",
      "start": 18,
      "confidence": null,
      "end": 28,
      "extractor": "SpacyEntityExtractor"
    },
    {
      "entity": "GPE",
      "value": "Sacramento",
      "start": 30,
      "confidence": null,
      "end": 40,
      "extractor": "SpacyEntityExtractor"
    },
    {
      "start": 0,
      "end": 4,
      "text": "5306",
      "value": 5306,
      "confidence": 1.0,
      "additional_info": {
        "value": 5306,
        "type": "value"
      },
      "entity": "number",
      "extractor": "DucklingHTTPExtractor"
    },
    {
      "start": 45,
      "end": 50,
      "text": "95841",
      "value": 95841,
      "confidence": 1.0,
      "additional_info": {
        "value": 95841,
        "type": "value"
      },
      "entity": "number",
      "extractor": "DucklingHTTPExtractor"
    }
  ],
  "intent_ranking": [
    {
      "name": "address",
      "confidence": 0.9996100664138794
    },
    {
      "name": "affirm",
      "confidence": 7.791238749632612e-05
    },
  ],
  "response_selector": {
    "default": {
      "response": {
        "name": null,
        "confidence": 0.0
      },
      "ranking": [],
      "full_retrieval_intent": null
    }
  },
  "text": "5306 Walnut Ave., Building A, Sacramento, CA 95841"
}

If I entered without punctuation then it's working -:
5306 Walnut Ave Building A Sacramento CA 95841
{
  "intent": {
    "name": "address",
    "confidence": 0.9991991519927979
  },
  "entities": [
    {
      "entity": "insuredaddress",
      "start": 0,
      "end": 46,
      "confidence_entity": 0.9889847823938246,
      "value": "5306 Walnut Ave Building A Sacramento CA 95841",
      "extractor": "CRFEntityExtractor"
    },
    {
      "entity": "insuredaddress",
      "start": 0,
      "end": 46,
      "value": "5306 Walnut Ave Building A Sacramento CA 95841",
      "extractor": "DIETClassifier"
    },
    {
      "entity": "FAC",
      "value": "Walnut Ave Building",
      "start": 5,
      "confidence": null,
      "end": 24,
      "extractor": "SpacyEntityExtractor"
    },
    {
      "entity": "GPE",
      "value": "Sacramento",
      "start": 27,
      "confidence": null,
      "end": 37,
      "extractor": "SpacyEntityExtractor"
    },
    {
      "entity": "CARDINAL",
      "value": "95841",
      "start": 41,
      "confidence": null,
      "end": 46,
      "extractor": "SpacyEntityExtractor"
    },
    {
      "start": 0,
      "end": 4,
      "text": "5306",
      "value": 5306,
      "confidence": 1.0,
      "additional_info": {
        "value": 5306,
        "type": "value"
      },
      "entity": "number",
      "extractor": "DucklingHTTPExtractor"
    },
    {
      "start": 41,
      "end": 46,
      "text": "95841",
      "value": 95841,
      "confidence": 1.0,
      "additional_info": {
        "value": 95841,
        "type": "value"
      },
      "entity": "number",
      "extractor": "DucklingHTTPExtractor"
    }
  ],
  "intent_ranking": [
    {
      "name": "address",
      "confidence": 0.9991991519927979
    },
  ],
  "response_selector": {
    "default": {
      "response": {
        "name": null,
        "confidence": 0.0
      },
      "ranking": [],
      "full_retrieval_intent": null
    }
  },
  "text": "5306 Walnut Ave Building A Sacramento CA 95841"
}

Content of configuration file (config.yml) (if relevant):

NLU pipeline

language: en
pipeline:
  - name: SpacyNLP
    model: en_core_web_md
  - name: ConveRTTokenizer
    "model_url": "https://github.com/PolyAI-LDN/polyai-models/releases/download/v1.0/model.tar.gz"
  - name: ConveRTFeaturizer
    "model_url": "https://github.com/PolyAI-LDN/polyai-models/releases/download/v1.0/model.tar.gz"
  - name: RegexFeaturizer
  - name: LexicalSyntacticFeaturizer
  - name: CRFEntityExtractor
  - name: DIETClassifier
    epochs: 100
  - name: EntitySynonymMapper
  - name: ResponseSelector
    epochs: 100
  - name: SpacyEntityExtractor
  - name: "DucklingHTTPExtractor"
    url: "http://<IP_ADDRESS>:8000"
    locale: "en_GB"
    timezone: "US/Pacific"
    timeout : 3

Thanks for the issue, @koaning will get back to you about it soon!
You may find help in the docs and the forum, too 🤗

Thanks, Waiting for the solution.
Required an urgent action on the same. I am using RASA in production and it stuck!
Thanks in advance!

Hi @ridhimagarg, this behaviour is intentional as of PR https://github.com/RasaHQ/rasa/pull/6191. We recognise that there might be different use cases like yours though, so I've opened another issue https://github.com/RasaHQ/rasa/issues/6852 to address this.
For now, the solution would be to combine the various different entities and fill a slot with them in a custom action. Or you could use a list slot, which will store all the values in a list automatically.

Thanks @akelad
It would be great if this enhancement is been done.


port_win.cc: deadlock in CondVar::SignalAll

Original issue 149 created by makhnich on 2013-02-22T16:37:57.000Z:
The existing implementation of SignalAll causes a deadlock when there are several waiting threads.

I believe there was a patch attached to this bug before it was migrated from code.google.com. If found please attach.


Application Error: Failed to Render

Expected Behavior
I attempted to import a publicly available OpenAPI Description (YugabyteDB Anywhere API); I expected Insomnia to be able to import it, or at least report that there was an error.
Instead, I was greeted with an error page and a message to report the Error to Github. So, Here I am.
Actual Behavior
An error window appears with the message: Application Error, Please report to our Github Issues.

Error: Can't insert key req_d5c8473d72834b318989027fd0219414, it violates the unique constraint at _AVLTree.insert (/Applications/Insomnia.app/Contents/Resources/app.asar/node_modules/binary-search-tree/lib/avltree.js:273:19) at AVLTree.insert (/Applications/Insomnia.app/Contents/Resources/app.asar/node_modules/binary-search-tree/lib/avltree.js:307:27) at Index.insert (/Applications/Insomnia.app/Contents/Resources/app.asar/node_modules/nedb/lib/indexes.js:77:15) at Datastore.addToIndexes (/Applications/Insomnia.app/Contents/Resources/app.asar/node_modules/nedb/lib/datastore.js:180:29) at Datastore._insertInCache (/Applications/Insomnia.app/Contents/Resources/app.asar/node_modules/nedb/lib/datastore.js:402:10) at Datastore._insert (/Applications/Insomnia.app/Contents/Resources/app.asar/node_modules/nedb/lib/datastore.js:348:10) at /Applications/Insomnia.app/Contents/Resources/app.asar/node_modules/nedb/lib/executor.js:40:13 at Immediate.process (/Applications/Insomnia.app/Contents/Resources/app.asar/node_modules/nedb/node_modules/async/lib/async.js:731:21) at process.processImmediate (node:internal/timers:476:21)

Reproduction Steps

Load Insomnia
Create a new Collection
Import from URL: https://stoplight.io/api/v1/projects/yugabyte/yugabyte-platform/nodes/api-specs/platform/platform.swagger.json

Is there an existing issue for this?

[X] I have searched the issue tracker for this problem.

Additional Information
I'm prompted to attempt reloading Insomnia - I do, and there is a partial import - with many empty folders.
Insomnia Version
8.3.0
What operating system are you using?
macOS
Operating System Version
macOS Ventura 13.6 (22G120)
Installation method
Download from insomnia.rest
Last Known Working Insomnia version
No response

Additional:  If I do not create a new collection and import, Insomnia DOES import without error.
Which is an interesting difference. I get an API Spec - it's riddled with errors & warnings (Which I imagine I can try to fix & send upstream) but it imports, and I can see the swagger preview.
However, the collection list is completely empty - in spite of Insomnia having claimed to have imported a couple hundred calls into the collection.
Note: The swagger is rather large:  close to 1 MiB in size...


handle array of provider URLs

This handles an array of provider URLs coming through the DPLA API.  Currently, Digital Maine's provider URLs are in array format.  This has been tested on staging.

Good question, and yes, we do need the flatten.  It may be an Array, or just a String.  If it's already an Array, than Array() will make an array of an array, hence the need for flatten.

From my irb console:
irb(main):005:0> Array(["x"])
=> ["x"]

Ha!  I was wrong, you were right.  I'll fix it.


Maglev list no longer seems to work

With v1.11.0-rc3 version of Cilium the "lb maglev list" command no longer works:
root@demo-load-balancer:~# docker exec cilium-agent cilium bpf lb maglev list
Error: Cannot initialize maglev maps: cannot determine v6 outer maglev map's table size

Potential regression from https://github.com/cilium/cilium/commit/789eef0d148d0aa590d2a1b2da7fd69da6dafc47?

Just run into the same issue. In my case I added only IPv4 service (as frontend) and that caused v6 outer map to be empty. Interested to know why we have these checks https://github.com/cilium/cilium/blob/789eef0d148d0aa590d2a1b2da7fd69da6dafc47/pkg/maps/lbmap/maglev.go#L79-L85
since if I remove them I can correctly get the desired output:
# cilium bpf lb maglev list
SVC ID   LOOKUP TABLE
1        [4 2 4 2 2 4 2 4 2 2 4 2 4 2 2 2 2 4]


feat: add basic in app channel and message clients to fetch messages (#219)

feat: add basic in app channel and message clients to fetch messages

feat: add basic React example app for in app messaging

fix deps

update naming, filter params, and other feedback

fix lock file

move network status and loading to queries map in store

tweak types

fix lockfile

feat: add InAppMessage provider and hooks (#220)

feat: add InAppMessage provider and hooks

fix lockfile

fix typesS

todos

minor renaming and additional todos

remove tsbuildinfo

clean up types

fix renaming

add clsx

remove some todos

#228
#227  👈
main

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

Join @connorlindsey and the rest of your teammates on  Graphite


Wrong implementation of AES-GCM within Cryptographic Message Syntax

Hello everyone,
initially, I posted the problem within  #528 , but as the title of the issue does not match at all with the issue and there was yet no reaction, I am creating a new issue.
We discovered that RFC 5084 seems to have a faulty implementation in Bouncycastle: The message authentication code (MAC) gets appended to the cipher text.
The MAC value therefore can be found twice in the generated ASN.1 structure. It gets both appended to the ciphertext field and set in the dedicated AuthEnvelopedData mac field. The latter one is set and mandatory, as its length in octets must match the aes-ICVlen parameter according to RFC 5084. The fact that the MAC can also be found in the ciphertext field is, however, not explicitly forbidden by the specification, but is at least unusual within DER encoded data, as it being duplicated. I'd therefore interpret the RFC it as it shouldn't be there a second time.
This can be observed within the AuthEnvelopedDataTest. The Sample1 CMS structure already contains the duplicate data, as can be seen here:
http://lapo.it/asn1js/#MIAGCyqGSIb3DQEJEAEXoIAwgAIBADGBmzCBmAIBAoABATANBgkqhkiG9w0BAQEFAASBgG9yJPC3zFmIbPTtSrrTD-71lluua3F1_V_XzzDOczjdymy4tI4sle5HSxJN8yrw-m2JdWKb4s_u4frvmNqE6fcqfFtLpLEMXJneoEWWXZFKbndoqQNRMgfKGCncpeWhktRcSRtbEEk_H4hWggJGmVClS7f_nmCDjwyANBnI3shYMIAGCSqGSIb3DQEHATAfBglghkgBZQMEAQYwEgQQLO0PwnuhYXRk8pLLhgik0aCABB8KvxIkbmBKT73Oz4xtf0DNNGmdn-tzPcOldJUQWCEnAAAAAAQMn-tzPcOldJUQWCEnAAAAAAAA
The MAC (Offset 265) is also appended in the cipher text (Offset 228)
I am currently not sure, if this is an issue with the org.bouncycastle.crypto.modes.GCMBlockCipher which appends the MAC to the cipher. However, it is also used outside of CMS contexts. This leads to the impression that CMSAuthEnvelopedDataGenerator should strip it from the encrypted content.
Either way, the implementation is wrong and is backed by a faulty test case. This leads to interoperability issues when not en-/decrypting with bouncycastle. Any thoughts on this?
Regards,
Roland

Yes, the implementation is incomplete, it seems it's fallen off a few people's radars, including mine. It's a bit of a weird one though, it's not that the BC implementation is incorrect for GCM (the MAC needs to be appended for use with EnvelopedData) it's just not designed for this particular use case.
I think you're correct though in your assumption about how it should be working though, the GCM MAC shouldn't be at the end of the encrypted content as it doesn't actually make sense for it to be there - the DER encoding of the authenticated attributes is meant to provide the associated data in this case - clearly impossible if the usual streaming model for CMS data is being applied. With GCM I think it would just be a matter of removing the MAC on output, CCM I'd need to think about, probably the same, but the MAC is encrypted. Parsing the data is going to be a bit interesting though.

Fixed in 169b03. Should appear in https://www.bouncycastle.org/betas in the next day or so.


add retry function for failed request?

For failed tail request, which is not because of 404, can we add retry function?

Hi,
Currently there is nothing planned for it. But feel free to send a Pull Request! :-)
Should you need help on implementing your feature, you can ask on Stack Overflow to reach a wider audience.


Add automatic installation instructions

The new react-native link command works perfectly with the library and requires no additional configuration. This commit adds instructions for automatic installation to the README 😄 .

Thanks for your contribution!


Running in a VM and getting "Connection with remote server failed. Trying to reconnect..." error

Running through a VM think I have set everything up right but getting "Connection with remote server failed. Trying to reconnect..." errors, any ideas?

Can you paste the result of  the following commands:
docker version
docker info
echo $DOCKER_URL, echo $DOCKER_HOST,  echo $DOCKER_CERT_PATH,  echo $DOCKER_TLS_VERIFY
And possibly the whole output of the command that leads you to this error.
Thanks :)


Bug: If the post was opened via a link, then it showed an incorrect publication date

Fixed by af83197 commit


Ensure that the password is hashed on db creation.

This code is taken from the openldap_database type. The rootpw property has logic to hash the password, if it isn't already hashed, and ensure that the database matches. However, when creating the database resource for the first time that code isn't executed and instead create is called on the provider. By duplicating the logic here we can ensure that the password is correctly hashed when the database is created.
This fixes #101 where the password is added unhashed during the first run but fixed on the next Puppet run when the logic in the type can take effect.
Minor niggle: duplicating code isn't ideal.

@tdb thanks


Applying the model - hard sigmoid on the logits?

Hi both,
Thanks for sharing this great tool!
I am wondering whether my application of the large model is correct as it is leading to a strange distribution of scores.
I am processing the logits with a hard sigmoid but not sure if this is the right approach?
from transformers import XLMRobertaForSequenceClassification, XLMRobertaTokenizer
def hard_sigmoid(logits):
    return torch.clamp((logits + 1) / 2, min=0, max=1)

model_path = ".../XLM-RoBERTa-large MSE"

model = XLMRobertaForSequenceClassification.from_pretrained(model_path)
tokenizer = XLMRobertaTokenizer.from_pretrained(model_path, local_files_only=True)

inputs = tokenizer(text, padding=True, truncation=True, max_length=128, return_tensors="pt")
outputs = model(**inputs)
logits = outputs.logits
scores = hard_sigmoid(logits).detach().numpy()

The scores seem to make sense but are yielding a strange distribution:

Any help would be really appreciated. Thanks!

In the end, I found that using a standard sigmoid led to a normal-ish distribution:


WOCCatalog[x86|Release]: Pickers: Date resets if set to high values

Master commit: 1903d21d5ef471c0bfe236717d5fce5fc736cee7
Repro steps:

Open WOCCatalog and bring up Pickers
Click on date and pick January 31 2017
Click on time or date to save the selection
Click on date again to see the selection.

Expected:
The selection is January 31 2017.
Actual:
The selection changes to another value, depending on the height of the window:

For a very short window, it changes to January 28.
For a very tall windows, it changes to January 12.

@asimonov-msft is this a regression?

This issue is the same as #1845, closing as a duplicate.