Update create-new-project.md

matter of style but probably emphasizing project platform and type will make  text more readable

@bergano65 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off

@bergano65 I accepted this PR but please know that our internal style is to only bold those UI items that we specifically ask a user to interact with, which was why they weren't bolded initially, as they were suggestions and not specific directions.

@bergano65 I accepted this PR but please know that our internal style is to only bold those UI items that we specifically ask a user to interact with, which was why they weren't bolded initially, as they were suggestions and not specific directions.

thanks, I'll  use this policy, are they listed somewhere?  probably use italics  for separating from ordinary text and interacting topics also

@bergano65 In the Docs folder for this repo, there is the following file, https://github.com/MicrosoftDocs/visualstudio-docs/blob/master/CONTRIBUTING.md, which includes a link to our style guide. For information specific to how to format text instructions, see https://docs.microsoft.com/en-us/style-guide/procedures-instructions/formatting-text-in-instructions (and also the links that are at the top of this page).
As you might note, the guide isn't specific about "suggestions" in a procedure. Which is why our default is, if it isn't directly something you are asked to interact with in UI, then don't use bold formatting. The idea here is that people are used to seeing that the things they should "click" are marked in bold. But if we overuse bold for UI elements that don't require a user to directly interact with, then we oversaturate our instructions and risk people missing key elements of our instructions in the "noise".

ok, thanks if like this probably not use my changes?

#hold-off
@bergano65 Thanks for the suggestion. I hesitated approving the PR because we appreciate input from our customers and I didn't want to discourage anyone from submitting a PR. But you're right, in this case, we probably shouldn't process the PR. So, I will close this instead. But thanks again for creating the PR, and we hope to see future input from you, going forward!


arrayFormat bracket doesn't parse query string as per node.js

When there's only one value in array, it gives value without wrapped in array.
e.g.: queryString.parse('foo[]=bar', {arrayFormat: 'bracket'}) results in
{ foo: 'bar' }
but node.js parses same query string in
{ foo: ['bar'] }

// @rapzo

Will look into it.
When you say node.js, do you mean qs module? Cause node.js native querystring doesn't parse bracketed nor indexed array representation, me thinks.

@rapzo, oh I am using express (4.14.0), which parses query string in this format, not node.js.

Nice find @vishalmindtickle PR waiting for review. Sorry for the delay, busy weeks...


[TypeScript Server] Generic support for Relay model?

Hello. I think GraphQL types written based on facebook's Relay model have less extensibility. It's not comfortable to change Node's Type. I think It can be easy with generic support. Below code will show what I want to do 😃
written types - User and connection
type User {
  id: ID!
  followers: UserConnnection!
}

type UserConnection {
  edges: [UserEdge!]!
  pageInfo: UserPageInfo!
}

type UserEdge {
  node: User!
  cursor: ID!
}

type Query {
  user(id: ID!): User
}

generated resolver types

There are no easy way that can change only Node type

export interface UserConnection {
  edges: UserEdge[];
  pageInfo: UserPageInfo;
}
export interface UserEdge {
  node: User;
  cursor: string;
}

export type UsersConnectionResolver<R = UserConnection, Parent = {}, Context = {}> = Resolver<R, Parent, Context, UsersConnectionArgs>;

what I want to do

change node type as custom type

type CustomType = {}

const followFieldResolver: UserResolvers.FollowerResolver<UserConnection<CustomType>> = () => {}

suggested solution

give generic for generated UserConnection type

export interface UserConnection<T = User> {
  edges: UserEdge<T>[];
  pageInfo: UserPageInfo;
}
export interface UserEdge<T = User> {
  node: T;
  cursor: string;
}

@kamilkisiela @dotansimha
Yes. It is related to #1041. Also I'm already using Mappers.
I agree  Mappers is good feature. However I want to declare parent type in resolvers to reduce context switching. Since the mapper works through codegen, It is not easy to see if there is a mapping of parent type In Newbie's eyes.
So, in my situation, I need to change the result type to a custom type. And I think generics can solve this situation :)

Closing for now. mappers are way better than it was before, and you can always override types using generics.


Weird shadows on Quad/Plane/Sprite3D with billboarding enabled

Godot version
4.0.beta5.official
System information
Pop!_OS 22.04 LTS x86_64, NVIDIA GeForce GTX 1060 6GB, Vulkan
Issue description
These weird shadows appear across Sprite3D and quad & plane MeshInstances when they have a material with billboarding enabled.

Steps to reproduce

Add a quad/plane MeshInstance node or a Sprite3D node to the scene
Add a new StandardMaterial3D or ORMMaterial3D to the mesh or material override. If using Sprite3D, also add a texture to the texture field, such as icon.svg.
Enable 'Billboard' on the material

Minimal reproduction project
4.0 Billboard Bug.zip

As a workaround, you can probably set the Cast Shadow property on the Sprite3D node's GeometryInstance3D section to Off.

It looks like the shadow is not updating even though the object is moving. We probably need to check the vertex shader when deciding whether or not to update shadow maps. Right now we mostly just check if the object moves or if the object is animated (including vertex shader animation)

Actually this is a duplicate of https://github.com/godotengine/godot/issues/41420
I will leave this open to track the issue in 4.0 separate from 3.x as the solution will be different for each.


Add cautionary notice

We see videos of Plus Codes / Open Location Codes saving the day for various rural / slum areas. One needs to be aware however that sometimes Plus Codes should not be the sole or even primary address:
Imagine a city with a perfect rectangular street grid, oh, and tilted 45 degrees from the north to boot. Here a traditional "418 34th St.", "1103 Avenue D" address is far superior to any Plus Code, at least in helping a resident get from A to B, without the help of electronic devices.
Therefore https://github.com/google/open-location-code/wiki/FAQ  and even https://maps.google.com/pluscodes/technology/ need to mention some cautions. Else let's say some local government goes hog wild with Plus Codes, with the final result being the entire Plus Code project unfairly gets a bad reputation!

I think the FAQ is fairly clear that plus codes are used in situations where either the existing street addresses are not helpful or where they don't exist. Beyond that I have faith that people are able to determine the most appropriate solution for their needs and their situation. I don't think we need additional words there.


Perception Module Vehicle Collision with Pedestrians

Describe the bug
I implemented LGSVL-2020-03 simulation with Apollo-5.0 platform and launch LiDAR camera radar perception module. The perception module shows that Lincoln2017MKZ collided with pedestrians during autonomous mode.
Desktop (please complete the following information):
OS: Ubuntu 18.04
Platform: Apollo-5.0
Simulation: LGSVL-2020-03
Browser: Google Chrome
Map: San Francisco
Vehicle: Lincoln2017MKZ (Apollo 5.0)
To Reproduce
Steps to reproduce the behavior:
$ ./lgsvl/lgsvlsimulator-linux64-2020.03/simulator
Check Maps -> Vehicles -> Cluster (<IP_ADDRESS>) -> Simulation -> Only Use API to control simulation.
$ cd apollo-5.0
$ sudo bash docker/scripts/dev_start.sh
$ sudo bash docker/scripts/dev_into.sh
root@in_dev_docker:/apollo# sudo scripts/bootstrap.sh
root@in_dev_docker:/apollo# sudo scripts/bridge.sh
root@in_dev_docker:/apollo# cyber_monitor
Go to http://localhost:8888/ -> Module Control -> Localization & Perception & Transformation
$ cyber_launch start /apollo/modules/perception/production/launch/perception_all.launch
Expected behavior
The vehicle should detect pedestrians obstacle and stop in front of pedestrians.  The lidar, camera and radar sensor could detect pedestrian. However, perception module could detect obstacles, but the vehicle still slowing moving forward with 3km/h speed.
Please look through the scenarios with recording video. [copy following link and paste in google chrome]
https://drive.google.com/file/d/1mXdmNhKydVOsoJ_-BqwlR7SP5ZHptagl/view?usp=sharing

Hi Xuehuan, would you mind sharing the python scripts of this scenes?


Windows Defender thinks this is a trojan

I downloaded the renkit and tried to use it, but Windows 11 says it's: Trojan:Win32/Wacatac.B!ml

Unfortunately this is a known issue with compiled Nim software, presumably because it uses a very recent GCC, which some Antivirus programs don't like. Alas, I do not have the ability to fix this on my end, as it's a compiler issue at the moment. there are plans from the Nim folks to resolve this in the future, but at the moment we will have to deal with it.


STUD-4971 Remove Leases

Purpose
With the containers being created from nerdctl, we no longer need to use/manage leases for expiration
Solution
Remove lease usage
Semantic Versioning (check one)

[x] The following were changed in a non-backward compatible way and requires a major version bump:

[link to the breaking change in the diff]

[ ] Something public was added or changed in backward compatible way, this requires a minor version bump
[ ] No public changes nor new features (backwards-compatible refactor or bug fix), so this can be included in a patch
release

How to QA

[ ] run the following related examples: (fill in)
[ ] Other necessary steps needed to fully exercise the solution should be added here. (fill in)

Security Insights
No security relevant content was detected by automated scans.
Action Items

Review PR for security impact; comment "security review required" if needed or unsure
Verify aviary.yaml coverage of security relevant code

Questions or Comments? Reach out on Slack: #support-infosec.

QA +1

@Workiva/release-management-p


Unable to connect to NAV350

Hello!
I'm trying to connect to my NAV350 using ros2("sick_nav_3xx.launch"). but, I'm stuck in this error.

I tried this things :
Used latest "sick_scan_xd" driver and clean installed,
Changed Cola - ascii to binary (Using SOPAS ET.),
Changed the address ip (direct connection and router connection)
Any help would be appreciated!!

Thanks for reporting. sick_scan_xd supports NAV310, but NAV350 is currently not officially supported. See https://github.com/SICKAG/sick_scan_xd#supported-hardware for a list of supported hardware devices.
Your configuration looks good, but the following error occures during the initial SOPAS startup sequence:

Switch to userlevel "Authorized client" is successful (request "sMN SetAccessMode 0x03 ..." confirmed by "sAN SetAccessMode \x01")
Command "sMN LMCstopmeas" fails due to wrong userlevel (NAV350 responds with errorcode 0x01, "sFA \x01" i.e. Sopas_Error_METHODIN_ACCESSDENIED, "Wrong userlevel, access to method not allowed"). The expected response to "sMN LMCstopmeas" is "sAN LMCstopmeas".

To support NAV350 devices, the sick_scan_xd driver needs to be adapted. We'll discuss possible time schedules internally and get back to this issue as soon as possible. In the meantime, the documents on https://www.sick.com/de/de/mess-und-detektionsloesungen/2d-lidar-sensoren/nav3xx/nav350-3232/p/p256041 and https://answers.ros.org/question/182215/ros-driver-for-sick-nav350/ might be useful.

I did factory default for my NAV350, But the result is same.
In fact. I thought that was just communication error. but I found this error is caused by not supporting specified NAV350 telegrams.
Thank you for kindly comment and explanation. I hope nav350 will be supported soon.

Hello,
we are planning to use the Sick Nav350 in Ros2 in the near future. When can we expect an integration?
Greetings
Tillman Ott

Hi Tillman,
we clarity this issue with the SICK support and management and give you a feedback until end of this week.


Control over Text to Speech audio properties in WebChat

Feature Request
Is your feature request related to a problem? Please describe.
I am using WebChat to interface with my Bot, and the mode of interaction in primarily through voice. I have also implemented a solution which sends an inactive event after 'n' seconds of user inactivity to re-prompt a user. In a speech driven scenario, this usually fails since the message playback time is not considered, and hence the inactive event sent is not in sync with the bot reply message.
Describe the suggestion or request in detail
In a speech first scenario, the above mentioned approach fails since the time taken for the message to be voiced out is not considered, and hence the inactive prompt is sometimes sent while the previous message is still being voiced out, and a user has not yet had a chance to reply. The solution I would be looking for would allow me to access the TTS response audio properties, such as duration, hence allowing me to add the Text-to-Speech response audio duration to my fixed inactive timer, so that the inactive prompt from the bot is not sent too early, or too late - in the case the response is a very short one.
[Enhancement]

@compulim can you please take a look at this?  thanks.

Can you try writing an activity renderer that do the following?

On render of activity:

If the function is rendering the last activity and it is from the bot

Check if activity.channelData.speak turns from true to false

You can use useState hook to remember the last value

If it become false, that means the last activity in the transcript is being spoken
Then you can start your inactivity timer and send message

@compulim Is this using React Hooks?

@compulim Is this using React Hooks?

Yes

Hey @manish-95 I'm closing this thread due to inactivity, if still experience this issue please feel free to open a new one.

You need to write an activity renderer, which is not hook. But inside the renderer, you need to keep the state, which I would recommend using hooks. I believe it is not required to use hooks if you are not used to it, but it will simplify your code. All our samples are using hooks so it will be easier to copy code from our samples too. 😊


Publish on npm registry with GitHub Actions

A secret (npm_token) has to be created in order for the action to be able to publish.
The npm tocken requires write access to the npm package.
fixes #2

A secret (npm_token) has to be created in order for the action to be able to publish.

Should be OK but I don't see the email address. On Travis, I usually configure both an email address and a token. Maybe GitHub is using the "main" email address on my account? but that won't work because they are not the same.

@Mogztter it sounds like a token is the only required information. A token is linked to an account, so maybe they made that redundant. I can't see any example referring to an email address.

It worked on the first attempt! https://www.npmjs.com/package/asciidoctor-tei
Good job :+1:


Statue of Discord Attraction

Statue of Discord Attraction
The spirit of chaos and disharmony found his way into the spire and will spice up your deck with some chaos.
Upon choosing to embrace the chaos, different chaotic effects will be randomly applied to the cards in your deck. Possible modifiers are:

40% chance for jumbled name (AnagramNameModifier)
20% chance for randomized card color (RandomColorModifier)
10% chance for randomized card size (RandomSizeModifier)
30% chance for nothing to happen

Also added .vscode to the gitignore

One other change you can make as part of this -- add yourself to the author_list field in ModTheSpire.json, so you're part of the credits for the mod as a whole.

Looks good. Congrats on making one of the first contributions to the mod!


Brighton and Hove

Compressed around Preston Park. Retains the line of seafront wards and the feeling that the city is split into east and west halves by the railway line and A23

@jnicho02 I'm all in favour of preserving sea front as it helps people find their way around.


Support float types in dropout function

dropout supports all float types.
related to #555

Thank you for fixing it! Then I would like to merge.


zq/add max_pool2d

Thanks for your contribution and we appreciate it a lot. The following instructions would make your pull request more healthy and more easily get feedback. If you do not understand some items, don't worry, just make the pull request and seek help from maintainers.
Motivation and Context

add max_pool2d
Description

add max_pool2d
Use cases (Optional)

BC-breaking (Optional)

Checklist
Before PR:

[ ] I have read and followed the workflow indicated in the Contributors.md to create this PR.
[ ] Pre-commit or linting tools indicated in Contributors.md are used to fix the potential lint issues.
[ ] Bug fixes are covered by unit tests, the case that causes the bug should be added in the unit tests.
[ ] New functionalities are covered by complete unit tests. If not, please add more unit test to ensure the correctness.
[ ] The documentation has been modified accordingly, including docstring or example tutorials.

After PR:

[ ] CLA has been signed and all committers have signed the CLA in this PR.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.NeosZhang seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


[SPARTA-783]: Dimension configuration is not being saved correctly

Coverage remained the same at 50.598% when pulling 1cd29f315d891cdc35ec642d55c51b19bb02ef8c on EvaMGC:SPARTA-783 into 8026aeaefc6c1a09c3e12ba1a5179f1a97d01668 on Stratio:master.

Coverage remained the same at 50.598% when pulling 1cd29f315d891cdc35ec642d55c51b19bb02ef8c on EvaMGC:SPARTA-783 into 8026aeaefc6c1a09c3e12ba1a5179f1a97d01668 on Stratio:master.


Use CSS modules for Stories page.

Please refer to the guide to use CSS modules.

I would like to work on this issue.

I would like to work on this issue.


feat(select): Add notNull and nullDisplay properties

This is a combination of #68 and #69 which adds functionality that doesn't seem to ever have been merged into master and closes #67

This fix breaks SELECT elements, specifically because of notNull
Here is the console error output:
TypeError: Cannot read property 'optional' of undefined
at apiCheck (angular-formly-templates-bootstrap.js:453)
at runApiCheckForType (formly.js:1980)
at runApiCheck (formly.js:1961)
at checkApi (formly.js:1941)
at new FormlyFieldController (formly.js:1264)
at Object.e [as invoke] (angular.js:4478)
at P.instance (angular.js:9136)
at K (angular.js:8248)
at g (angular.js:7680)
at angular.js:7555


Send message options

Which version are you using?
Output:
unreal4u/telegram-api       v3.3.3  A complete Telegram bot API implementation written in PHP, with support for inline bots!

Description of problem
Is there a way to send a message with native options?
See https://core.telegram.org/bots/api#sendmessage

Hi!
Did my answer helped you? I'll close this due to inactivity, but feel free to reopen if you deem it necessary.
Greetings.


[[Feature]] Display Version the Site is Running

This may already be the case and I just couldn't easily find it but showing the version of Pixelfed being run on a respective instance, like Mastodon does, could be really helpful for those tech. savvy enough to care (namely, I'm thinking, for telling whether your instance has gotten the latest updates yet or not); those who wouldn't be would probably not even notice, either way.

Fixed in https://github.com/pixelfed/pixelfed/commit/6c03599d4473ab84f89f3a509cd9b32666cb0084


Multi team notifications

Adds little badges to each team for unreads and mentions, and provides a better "selected" icon.
A few things that don't work, yet, and are going to be difficult to get working:

Notifications for channels that are open, but webviews that are unfocused
Themes. We could try to guess light/dark from inside the webview and provide two themes for that, but custom themes are probably out, unless Mattermost has an API to fetch colors

Actually, now that I think about it, I want to clean up the colors and see if I can get them to match the theme. I'm going to try to grab the colors from the appropriate elements in the webview.

I'm going to try to grab the colors from the appropriate elements in the webview.

Never mind. I'll do this in the next branch.

i thought we were going to hold off on merging stuff into our master branch?

I thought we were using Github flow within our forked repo.

That's why I've been opening and merging PRs.
Then we can submit a big PR back to upstream when we're closer to being feature-complete.


[Bug]: Documentation issue https://jestjs.io/docs/setup-teardown

Version
27.5.x
Steps to reproduce
Execute the following test
beforeEach(() => console.log('1 - beforeEach'));
describe('Scoped / Nested block', () => {
  describe('Scoped / Nested block 2', () => {
    beforeAll(() => console.log('2 - beforeAll'));
    test('', () => console.log('2 - test'));
  });
});

Expected behavior
Output
1 - beforeEach
2 - beforeAll
2 - test
Actual behavior
2 - beforeAll
1 - beforeEach
2 - test
Additional context
I would like to have this outcome but it is probably intentional not the case.
But my issue is with the documentation https://jestjs.io/docs/setup-teardown
Because for my it is wrong but it is at least ambiguous.
The sentence: Note that the top-level beforeEach is executed before the beforeEach inside the describe block. It may help to illustrate the order of execution of all hooks. in combination with the test example indicates that beforeEach of a higher scope is executed before a beforeAll of a lower scope.
But in mentioned example in the documentation it is only the case because there is a test on the top scope / outside of the describe.
And if you do not agree with my assessment can you please point me to the reasoning why it is like it is and not the way I expect it to be?
Environment
System:
    OS: macOS 12.3
    CPU: (10) arm64 Apple M1 Max
  Binaries:
    Node: 16.14.0 - ~/.nvm/versions/node/v16.14.0/bin/node
    npm: 8.5.2 - ~/.nvm/versions/node/v16.14.0/bin/npm
  npmPackages:
    jest: ^27.5.1 => 27.5.1

For the given example the output is correct. My issue might be best explained with the following example.
beforeAll(() => console.log('1 - beforeAll'));
afterAll(() => console.log('1 - afterAll'));
beforeEach(() => console.log('1 - beforeEach'));
afterEach(() => console.log('1 - afterEach'));
describe('Scoped / Nested block', () => {
  beforeAll(() => console.log('2 - beforeAll'));
  afterAll(() => console.log('2 - afterAll'));
  beforeEach(() => console.log('2 - beforeEach'));
  afterEach(() => console.log('2 - afterEach'));
  test('', () => console.log('2 - test'));
});

// 1 - beforeAll
// 2 - beforeAll
// 1 - beforeEach
// 2 - beforeEach
// 2 - test
// 2 - afterEach
// 1 - afterEach
// 2 - afterAll
// 1 - afterAll

I would love the output to be
// 1 - beforeAll
// 1 - beforeEach
// 2 - beforeAll
// 2 - beforeEach
// 2 - test
// 2 - afterEach
// 2 - afterAll
// 1 - afterEach
// 1 - afterAll

Because this would allow for a flow like this
describe('Tests ', () => {
  beforeEach(() => console.log('0 - beforeEach'));
  describe('Test block 1', () => {
    beforeAll(() => console.log('1 - beforeAll'));
    test('', () => console.log('1 - test'));
  });
  describe('Test block 1', () => {
    beforeAll(() => console.log('2 - beforeAll'));
    test('', () => console.log('2 - test'));
  });
});

// 0 - beforeEach
// 1 - beforeAll
// 1 - test
// 0 - beforeEach
// 2 - beforeAll
// 2 - test


Need FIPS 140-2 compliance mode in OpenSearch

I don't see any way on the security plugin to enable FIPS 140-2 mode in OpenSearch. Is there a plan to support this feature?

This seems a duplicate for https://github.com/opensearch-project/security/issues/593. Please reopen under security repo if you think this is different.


message for dritter

This is silly, but I can't figure out another way to do this.
@dritter - Will you send me an e-mail so I have your address? You can find my e-mail on my Github profile page. Thanks! =)

Done. ;)

Thanks =)

Evidence of one of Github's biggest drawbacks - little ability to communicate about a project outside of an issue or pull request. I don't know why they don't have a 'chat' section.
I suggest a Gitter chat room for this project.

Done!
https://gitter.im/bhilburn/powerlevel9k?utm_source=share-link&utm_medium=link&utm_campaign=share-link


Document when initial rendering happens

We should a a small section to the lifecycle section of the docs that explains that initial rendering occurs at connected time. After landing https://github.com/Polymer/lit-element/pull/606 we'll also be able to say that awaiting updateComplete will always wait until initial render.

Covered in https://lit.dev/docs/components/lifecycle/, closing.


Develop a Public API for Retrieving Code Snippets

Description: Create a public API that allows developers to access the snippets database programmatically.

Functionality: Expose endpoints for retrieving, searching, and filtering snippets.
Additional Features: Allow developers to fetch snippets based on language, category, or rating, and provide authentication for API access.
Implementation: Build a REST API with routes to fetch snippets. Implement API rate limiting and provide documentation on using the API.

Hey, can you assign me this

Hi @ananyakaligal ,
Thanks for your enthusiasm! Could you please complete the issue already assigned to you first? Once that’s done, we can discuss assigning this one to you.
Appreciate your contributions! 😊

@notsoocool assign me

@notsoocool could you give me 2 days of time, I've exams going on.

No worries, @ananyakaligal! Thanks for the update, I won't be removing you from the assigend issue. Focus on your exams, and you can get back to it whenever you're free. Good luck!

Could you please assign this to me

sure go ahead @Rashigera , but remember to fetch from develop branch and also raise a pr for develop branch only


Converted weapons license.txts to attributions.ymls

Based on issue #15607
Converted the mentioned license.txt files to attributions.yml files in the weapons folder.

So there's the schema validator test saying that some of the licenses are not licenses. Not sure what to do with that.

CC-BY-SA-3.0 is the correct form for a few of them

blessed


Converting remaining datastore snippets to doctests

It's worth noting that I delegated clean-up to system_tests/datastore.py::tearDownModule. This is because (in my experimenting) I discovered that the sphinx.ext.doctest directive testcleanup doesn't run when the thing being tested fails. (FWIW, I think it'd be fairly easy for one of us to send a PR to the Sphinx project and fix that behavior, but that was outside the scope of this PR.)

To make dev a little faster I did the following:
$ tox -e system-tests --recreate --notest
$ source .tox/system-tests/bin/activate
$ GOOGLE_CLOUD_DISABLE_GRPC=true \
> .tox/system-tests/bin/py.test system_tests/datastore.py \
> -k TestDoctest -s -vv

and every time I made a change I just re-installed into the env
$ .tox/system-tests/bin/pip install --upgrade datastore/

Might be worth turning this into a script someday? But I don't want to design it before we know how we'll use it. Just putting it here for posterity.

There is a code-block snippet in datastore._http but that module is non-public so I left it alone.

This package could use some more snippets, but for now at least they are all covered.

I like it!

Blerg! Python 2 and 3 strike again:
https://travis-ci.org/GoogleCloudPlatform/google-cloud-python/builds/182425545#L2280
Failed example:
    client.get(key)
Expected:
    <Entity(u'EntityKind', 1234L) {u'property': 'value'}>
Got:
    <Entity('EntityKind', 1234) {'property': 'value'}>

Proposed short-term "fix": Only run snippet tests in Python 2? @jonparrott and @tseaver any better ideas?

@dhermes I hate any testing dependency on repr, period (and tracebacks even worse).

@tseaver Yes I'm aware of your strong opinion. Any construction suggestion?

@dhermes Either change the example not to use the repr, or change the repr not to use the "dict literal" repr of the keys / values.


Add debug logging for failed acknowledgement errors

Summary
In the same spirit as #2713, we should add debug level logging for the error message which is discarded when generated a failed acknowledgement. This should occur for:

20-transfer
27-interchain-accounts (host)
29-fee

For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate contributors tagged/assigned

Hi @colin-axner, can I take this issue?

@GNaD13 Yes, you can take this issue. Thanks!
Please have a look at the PR that closed the issue #2713 mentioned above for reference.


[Enhancement] Allow to build an emote from it's name

Hi,
I'm trying to react to a post using an emote name (and not the unicode character), like what follows:
let emote = ':ok_hand:';
msg.react(emote);

It doesn't work and I was told in the Discord.js Discord server that it is not possible to do so.
I think it could be an improvement to be allowed to do the following:
let emoteName = ':ok_hand:';
let emote = new ReactionEmoji();
emote.setName(emote);
msg.react(emote);

Thanks

For that to be be possible we'd have to map all the emoji shortcodes Discord uses to their respective unicode character. This would take ages seeing how many emojis Discord has.
It'd be a lot quicker for you to do a small google search for the 5-6 emojis you need. (Literally all it takes is "ok hand unicode" and you'll find the unicode character for it).

https://www.npmjs.com/package/node-emoji

we already decided against this a very long time ago, just paste the raw emoji in, it isn't hard

@vzwGrey It took me approx. 5 minutes to do it for 35+.
const emTable = {
  'a': '🇦',
  'b': '🇧',
  'c': '🇨',
  'd': '🇩',
  'e': '🇪',
  'f': '🇫',
  'g': '🇬',
  'h': '🇭',
  'i': '🇮',
  'j': '🇯',
  'k': '🇰',
  'l': '🇱',
  'm': '🇲',
  'n': '🇳',
  'o': '🇴',
  'p': '🇵',
  'q': '🇶',
  'r': '🇷',
  's': '🇸',
  't': '🇹',
  'u': '🇺',
  'v': '🇻',
  'w': '🇼',
  'x': '🇽',
  'y': '🇾',
  'z': '🇿',
  '0': '0⃣',
  '1': '1⃣',
  '2': '2⃣',
  '3': '3⃣',
  '4': '4⃣',
  '5': '5⃣',
  '6': '6⃣',
  '7': '7⃣',
  '8': '8⃣',
  '9': '9⃣'
};

Leaving it here, in case you want to spend like an hour completing it. A few regexes and it's done (picked them here).
@q-ata That is a slow, bloated, and unneeded solution.
@devsnek Thank you for helping! I didn't try pasting it, it really isn't hard. -- Jokes aside, there is a handful reason why you wouldn't want to 'paste the raw emoji in':

Not all text editors support it fully (most still count the emote as 3 chars - that is what it really is, but it's quite annoying)

Even Discord copies the name of the emote and not it's unicode character.

You may want to generate an emote from a message.
It's not heavy to implement and (depending of the Emoji class implementation) easy.

Not all text editors support it fully

if your text editor doesn't support unicode then its shit and don't use it

Even Discord copies the name of the emote

not true in all cases and even so has nothing to do with this, because we aren't the discord client

You may want to generate an emote from a message.

what you do with a message isn't out problem (see below)

It's not heavy to implement and (depending of the Emoji class implementation) easy.

// assuming node-emoji
message.react(emojis.get('ok_hand')); // now we don't need to bloat our deps with things, and you can still do this all by yourself!

we already decided against this a very long time ago, just paste the raw emoji in, it isn't hard

📕

@devsnek Again a great insight that shows how much concerned you are with your users.  I think that would be better.
And where do you see me talking about any dependancies?

And what makes you think Discord.JS is shit? For not implementing something thats as easy as going to discord, typing :ok_hand: adding a \ before and then copying that in your msg.react code..

Please read the whole thing before commenting, you have no idea what you're talking about.

  The decisions of the library do not have to impact your own code on such a level.
Personally, I disagree with this issue because I do not want discord.js to get bloated with either a new dependency or a massive emoji map that I will never use.  As multiple people have pointed out, it is extremely simple to use raw unicode or make/use your own emoji map if your are inclined to do so.
Frankly, it's shocking that someone could be so self-centered as to assume a convenience feature they'd use would be universally useful to most of the consumers of the library; while I understand that we need to discuss these ideas in order to determine perceived viability, your attitude about forcing it down our throats in the face of reasonable objections has done nothing but antagonize.  Regardless, best of luck with your new discord library.

@lodi-g Moreover, I’ll probably look preachy, but friendlyness and respectfullness are quite important on GitHub — that’s just how the community work. Thanks.

I'm sorry if I appeared aggressive or not respectful of your work ; that was not meant to happen.
Also, nice link @motet-a, though I do think I'm not the only one that should read it.


Mass by density seems to ignore volume

If I change the volume of an object without changing its size (e.g. by cutting an hole in it), I can see that the volume changes as shown in "entity info," but the mass does not change. i.e. two objects with the same size and mass density, but different volume, weight the same. Is this a bug? or is this expected? How is the mass calculated? I would think it should be mass = mass density x volume.

All groups/components are first wrapped into convex shapes and then their volume is computed. MSPhysics does not support movable concave shapes. You must manually convert them to convex, that is distribute into convex groups. This explains why drilling a hole doesn't change physics properties. If you enable "collision wireframe", you will see that concave parts are wrapped around.

I'm trying to adjust the center of mass / moment of inertia of a juggling club so that it is more realistic. This is what the inside of an actual club looks like: https://s.hswstatic.com/gif/juggling-19.jpg. It's basically hollow. The physics aren't quite the same when modeling it as a solid with uniform density. Is there a way to make the physics more realistic here? Also, the club is made out of different parts that have vastly different coefficient of friction etc. Is there a way to set different physics properties for different parts of the same object?


Windows st-util could not retrieve port number for device

Trying to run st-util on windows 10 for connected board STM32F769I-DISCO:
C:\Users\trinch> st-info --probe
Found 1 stlink programmers

PS C:\Users\trinch> st-info --chipid
libusb: warning [windows_get_device_list] could not retrieve port number for device '\\.\USBESTUB#DEVICES#0004', skipping: [13] The data is invalid.
libusb: warning [windows_get_device_list] could not retrieve port number for device '\\.\USBESTUB#DEVICES#0000', skipping: [13] The data is invalid.
0x0451

PS C:\Users\trinch> st-info --descr
libusb: warning [windows_get_device_list] could not retrieve port number for device '\\.\USBESTUB#DEVICES#0004', skipping: [13] The data is invalid.
libusb: warning [windows_get_device_list] could not retrieve port number for device '\\.\USBESTUB#DEVICES#0000', skipping: [13] The data is invalid.
F76xxx device

C:\Users\trinch> st-util
STLINK GDB Server v0.5.6 (Mar 24 2013 10:29:19)
Many thanks to the STLINK development team.
(https://github.com/texane/stlink)

2017-07-29T17:48:37 WARN src/stlink-usb.c: Couldn't find any ST-Link/V2 devices

Though, I can program my device with ST-LINK_CLI.
PS C:\Users\trinch> st-link_cli -List
STM32 ST-LINK CLI v<IP_ADDRESS>
STM32 ST-LINK Command Line Interface

--- Available ST-LINK Probes List ---

ST-LINK Probe 0:
     SN: 0672FF524853837267132010
     FW: V2J27M15

----------------------------------

Help?

@xtrinch which libusb version is used? Please also test this with Release v1.4.0, v1.5.0, v1.5.1 and v.1.6.0, which have been released in the meanwhile, as this issue is already very old.

ping @xtrinch

@Nightwalker-87, Think it is connected with #438 also.

PS C:\Users\trinch> st-info --chipid
libusb: warning [windows_get_device_list] could not retrieve port number for device '\\.\USBESTUB#DEVICES#0004', skipping: [13] The data is invalid.
libusb: warning [windows_get_device_list] could not retrieve port number for device '\\.\USBESTUB#DEVICES#0000', skipping: [13] The data is invalid.
0x0451

PS C:\Users\trinch> st-info --descr
libusb: warning [windows_get_device_list] could not retrieve port number for device '\\.\USBESTUB#DEVICES#0004', skipping: [13] The data is invalid.
libusb: warning [windows_get_device_list] could not retrieve port number for device '\\.\USBESTUB#DEVICES#0000', skipping: [13] The data is invalid.
F76xxx device

@slyshykO: Yes, this obviously is the same as in your MinGW test there.
Duplicate of #438.

Can't offer feedback which version of libusb it was as I don't have the setup anymore

@xtrinch: That was expected due to the time passed. We're fine with this.
I think it will not affect us here as we also have #438.


Update "Building The Library" at wiki section

I've got some troubles with compiling engine using properly settings "--recurse-submodules" or using manually "git submodule init", "git submodule update" so far
There were no files in submodules, scripts have failed and had to use "git reset --hard" on each submodule to bring back valid commits
Please consider updating the Building The Library section with those informations

you can edit yourself AFAIK

you can edit yourself AFAIK

right, I didn't know though :D
done


Create a separate API for the actual processing of modified markdown

Right now, the code is a bit tangled between the PySide part and the actual manipulation of the notes. It would be great to separate them as much as possible, so as to wrap the back-end into a python module, which could be used independently - for instance, as a Django app.
For this to happen, we need to define exactly what the API should do: should it store the tags, for instance?
More or less, the noteorganiser/text_processing.py already encompasses some of it, but some is also spread in noteorganiser/frames.py.

So, let's get this started. I'll try to list every type of interaction we might want, and see if we can cover everything

Verb
End Point
Description

GET
/settings/root_folder

POST
/settings/root_folder
change the root_folder

GET
/notebooks
List of all notebooks, with path

POST
/notebooks
Create a new notebook

GET
/notebooks/12
Return all posts of notebook 12

PUT
/notebooks/12
Update notebook 12??? Not needed?

DELETE
/notebooks/12
Delete the notebook 12

GET
/notebooks/12/entries
Get all entries in notebook 12

POST
/notebooks/12/entries
Add a new entry in notebook 12

GET
/notebooks/12/entries/2
Get the entry 2 in notebook 12

PUT
/notebooks/12/entries/2
Modify entry 2 in notebook 12

DELETE
/notebooks/12/entries/2
Delete ...

PUT
/notebooks/12/entries/2/tags/1
Modify the tag

DELETE
/notebooks/12/entries/2/tags/1
Delete the tag

GET
/tags
Return all tags with their respective number count and notebook/entry reference

GET
/tags/12
Return tag 12

PUT
/tags/12
Modify the tag, in all the files where it appears!!!

Let me know if I forgot something. Things that are still undecide:

Maybe the date of a post, to get in a separate GET?
Can we globally delete a tag? I don't think it would be a valid usage... but maybe for a duplicate?
Can we format this table better to have stronger separations between groups? I did not manage...
What about folders?


Use OpenGraph tags in the result page

The result page could include OpenGraph tags, in particular property="og:image" set to the image url displaying the merit profile, generated by the /merit-profile endpoint (#10).
This will allow Facebook, LinkedIn, Slack, Twitter, WhatsApp, Telegram, Discourse, among many others services that support OpenGraph, to directly embed the merit profile image and its result, just by pasting the election result url in any post.
A Share this button could encourage users to do this by:

including links to some mainstream social media with a predefined message (that include the link of the result page)
including code samples in html and markdown to let them share in other places (ie. ![](https://api.mieuxvoter.fr/merit-profile?<...>.svg) for markdown).

I may work on a PR for this once my merit-profile module (#10) will be finished.

Oops, this is the mv-api-spec repo, this issue moves here: https://github.com/MieuxVoter/mvfront-react/issues/54


How to use with jwt login?

Generated jwt token using username password from my backend(java, python, php) api. Then i need store jwt in session cookie instead of custom password. Is it possible for this library? How to do that?

@KInGATiLLa If you already generate a JWT then you most probably do not need this library. Better go with any Next.js + jwt google search / repository / tutorial instead. Good luck!


Fixed Channel Header

I made a slight tweek that made Dash2Space work in the Channel Header 😄

How has this not been merged yet

How has this not been merged yet

Because I haven't been active in days.. Hi!


Updated some library names and paths

Updated some library names and paths to work with new make file.
Changed TGainMatch to match using Log-liklihood. Seems to work a bit better this way.

Just pulled this down to my local Linux machine. Errors galore when compiling libGROOT.so. Lots of multiple definitions.
.build/libraries/GROOT/LibDictionary.o: In function `GMarker::Class()':
/home/jsmith/packages/GRSISort/.build/libraries/GROOT/GROOTDict.cxx:545: multiple definition of `GMarker::Class()'
.build/libraries/GROOT/GROOTDict.o:/home/jsmith/packages/GRSISort/libraries/GROOT/GROOTDict.cxx:618: first defined here
.build/libraries/GROOT/LibDictionary.o: In function `GMarker::Streamer(TBuffer&)':
/home/jsmith/packages/GRSISort/.build/libraries/GROOT/GROOTDict.cxx:1412: multiple definition of `GMarker::Streamer(TBuffer&)'
.build/libraries/GROOT/GROOTDict.o:/home/jsmith/packages/GRSISort/libraries/GROOT/GROOTDict.cxx:1310: first defined here
.

Were you on the newest makefile yet? If not did you make clean before pulling?

On Sep 1, 2015, at 11:44 AM, SmithJK<EMAIL_ADDRESS>wrote:
Just pulled this down to my local Linux machine. Errors galore when compiling libGROOT.so. Lots of multiple definitions.
.build/libraries/GROOT/LibDictionary.o: In function GMarker::Class()': /home/jsmith/packages/GRSISort/.build/libraries/GROOT/GROOTDict.cxx:545: multiple definition of GMarker::Class()'
.build/libraries/GROOT/GROOTDict.o:/home/jsmith/packages/GRSISort/libraries/GROOT/GROOTDict.cxx:618: first defined here
.build/libraries/GROOT/LibDictionary.o: In function GMarker::Streamer(TBuffer&)': /home/jsmith/packages/GRSISort/.build/libraries/GROOT/GROOTDict.cxx:1412: multiple definition of GMarker::Streamer(TBuffer&)'
.build/libraries/GROOT/GROOTDict.o:/home/jsmith/packages/GRSISort/libraries/GROOT/GROOTDict.cxx:1310: first defined here
.
—
Reply to this email directly or view it on GitHub https://github.com/GRIFFINCollaboration/GRSISort/pull/465#issuecomment-136765746.

I pulled, deleted the TCSMDict files, and made clean.
On Tue, Sep 1, 2015 at 8:55 AM, Ryan Dunlop<EMAIL_ADDRESS>wrote:

Were you on the newest makefile yet? If not did you make clean before
pulling?

On Sep 1, 2015, at 11:44 AM, SmithJK<EMAIL_ADDRESS>wrote:
Just pulled this down to my local Linux machine. Errors galore when
compiling libGROOT.so. Lots of multiple definitions.
.build/libraries/GROOT/LibDictionary.o: In function GMarker::Class()': /home/jsmith/packages/GRSISort/.build/libraries/GROOT/GROOTDict.cxx:545: multiple definition of GMarker::Class()'

.build/libraries/GROOT/GROOTDict.o:/home/jsmith/packages/GRSISort/libraries/GROOT/GROOTDict.cxx:618:
first defined here

.build/libraries/GROOT/LibDictionary.o: In function
`GMarker::Streamer(TBuffer&)':

/home/jsmith/packages/GRSISort/.build/libraries/GROOT/GROOTDict.cxx:1412:
multiple definition of `GMarker::Streamer(TBuffer&)'

.build/libraries/GROOT/GROOTDict.o:/home/jsmith/packages/GRSISort/libraries/GROOT/GROOTDict.cxx:1310:
first defined here

.
—
Reply to this email directly or view it on GitHub <
https://github.com/GRIFFINCollaboration/GRSISort/pull/465#issuecomment-136765746
.

—
Reply to this email directly or view it on GitHub
https://github.com/GRIFFINCollaboration/GRSISort/pull/465#issuecomment-136768414
.

The newest makefile should have come with the pull, no?

Yes, but you had to make clean with the old make file before pulling the new one as it doesn’t have the same targets to make clean.

On Sep 1, 2015, at 1:06 PM, SmithJK<EMAIL_ADDRESS>wrote:
The newest makefile should have come with the pull, no?
—
Reply to this email directly or view it on GitHub https://github.com/GRIFFINCollaboration/GRSISort/pull/465#issuecomment-136797964.

you have to delete all Dict files in your libraries.

So any file that satisfies *Dict.h, *Dict.o, or *Dict.so, I remove?
...this seems silly.
On Tue, Sep 1, 2015 at 10:09 AM, Ryan Dunlop<EMAIL_ADDRESS>wrote:

you have to delete all Dict files in your libraries.
—
Reply to this email directly or view it on GitHub
https://github.com/GRIFFINCollaboration/GRSISort/pull/465#issuecomment-136798984
.

...or *Dict.cxx.
On Tue, Sep 1, 2015 at 10:14 AM, Jenna Smith<EMAIL_ADDRESS>
wrote:

So any file that satisfies *Dict.h, *Dict.o, or *Dict.so, I remove?
...this seems silly.
On Tue, Sep 1, 2015 at 10:09 AM, Ryan Dunlop<EMAIL_ADDRESS>wrote:

you have to delete all Dict files in your libraries.
—
Reply to this email directly or view it on GitHub
https://github.com/GRIFFINCollaboration/GRSISort/pull/465#issuecomment-136798984
.

Anything with a Dict in the name that isn’t in the .build directory. we are now compiling in a separate directory. you might even be able to do a wildcard remove. The dictionaries are being moved there. We may be able to add a target to the make to combat this problem as I think everyone is going to be asking this question the first time they pull the newest version if they do not do a make clean first.

On Sep 1, 2015, at 1:14 PM, SmithJK<EMAIL_ADDRESS>wrote:
So any file that satisfies *Dict.h, *Dict.o, or *Dict.so, I remove?
...this seems silly.
On Tue, Sep 1, 2015 at 10:09 AM, Ryan Dunlop<EMAIL_ADDRESS>wrote:

you have to delete all Dict files in your libraries.
—
Reply to this email directly or view it on GitHub
https://github.com/GRIFFINCollaboration/GRSISort/pull/465#issuecomment-136798984
.

—
Reply to this email directly or view it on GitHub https://github.com/GRIFFINCollaboration/GRSISort/pull/465#issuecomment-136800352.

Also all .o .d .so and Dict.h files as well.
On Sep 1, 2015 1:15 PM, "SmithJK"<EMAIL_ADDRESS>wrote:

...or *Dict.cxx.
On Tue, Sep 1, 2015 at 10:14 AM, Jenna Smith <
<EMAIL_ADDRESS>
wrote:

So any file that satisfies *Dict.h, *Dict.o, or *Dict.so, I remove?
...this seems silly.
On Tue, Sep 1, 2015 at 10:09 AM, Ryan Dunlop<EMAIL_ADDRESS>wrote:

you have to delete all Dict files in your libraries.
—
Reply to this email directly or view it on GitHub
<
https://github.com/GRIFFINCollaboration/GRSISort/pull/465#issuecomment-136798984

.

—
Reply to this email directly or view it on GitHub
https://github.com/GRIFFINCollaboration/GRSISort/pull/465#issuecomment-136800448
.

libraries/TGRSILoop/.deps: file not recognized: Is a directory

Remove all of the .deps too. Making clean would have been so much easier…. :P

On Sep 1, 2015, at 1:29 PM, SmithJK<EMAIL_ADDRESS>wrote:
libraries/TGRSILoop/.deps: file not recognized: Is a directory
—
Reply to this email directly or view it on GitHub https://github.com/GRIFFINCollaboration/GRSISort/pull/465#issuecomment-136804683.

The other option is to just delete everything and  clone the repo again...
A bit drastic but it works
On Sep 1, 2015 1:31 PM, "Ryan Dunlop"<EMAIL_ADDRESS>wrote:

Remove all of the .deps too. Making clean would have been so much easier….
:P

On Sep 1, 2015, at 1:29 PM, SmithJK<EMAIL_ADDRESS>wrote:
libraries/TGRSILoop/.deps: file not recognized: Is a directory
—
Reply to this email directly or view it on GitHub <
https://github.com/GRIFFINCollaboration/GRSISort/pull/465#issuecomment-136804683
.

—
Reply to this email directly or view it on GitHub
https://github.com/GRIFFINCollaboration/GRSISort/pull/465#issuecomment-136805276
.

Got it.


correcting resolution names in newsflash_has_location

Codecov Report
Patch and project coverage have no change.

Comparison is base (0a54e85) 54.07% compared to head (0aa3a25) 54.07%.

:exclamation: Current head 0aa3a25 differs from pull request most recent head a65aae7. Consider uploading reports for the commit a65aae7 to get more accurate results

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@           Coverage Diff           @@
##              dev    #2436   +/-   ##
=======================================
  Coverage   54.07%   54.07%
=======================================
  Files         115      115
  Lines        9394     9394
=======================================
  Hits         5080     5080
  Misses       4314     4314

Flag
Coverage Δ

unittests
54.07% <0.00%> (ø)

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

Files Changed
Coverage Δ

anyway/widgets/widget_utils.py
83.94% <0.00%> (ø)

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


Role timers

About the PR
Adds role timers
Changelog

:cl:

add: Added role timers.

Good luck with the db work

How does this work for people who have been playing before? Has roletime already been logged for a while?

It's never been logged, hence why it will need db work.

How does this work for people who have been playing before? Has roletime already been logged for a while?

according to veritius himself on discord

Fixes #5294

could've just asked me to open it but eh
#9384


chore(package): update rollup to version 0.66.6

Closes #93

Coverage remained the same at 100.0% when pulling c323ad171ea4c4f562014b064aaad0f62cb7c0e6 on greenkeeper/rollup-0.66.6 into 86e678beb18616a603eb613b9a593d8b475abe72 on master.

Coverage remained the same at 100.0% when pulling c323ad171ea4c4f562014b064aaad0f62cb7c0e6 on greenkeeper/rollup-0.66.6 into 86e678beb18616a603eb613b9a593d8b475abe72 on master.

Coverage remained the same at 100.0% when pulling c323ad171ea4c4f562014b064aaad0f62cb7c0e6 on greenkeeper/rollup-0.66.6 into 86e678beb18616a603eb613b9a593d8b475abe72 on master.

Coverage remained the same at 100.0% when pulling c323ad171ea4c4f562014b064aaad0f62cb7c0e6 on greenkeeper/rollup-0.66.6 into 86e678beb18616a603eb613b9a593d8b475abe72 on master.


Update sinon to 15.2.0 and @types/sinon to 10.0.15

Update sinon to 15.2.0 and @types/sinon to 10.0.15

why are there no ts changes?

The tests were passing so didn’t see where to make ts changes

why are there no ts changes?

The tests were passing so didn’t see where to make ts changes

take a look at this build failure; im expecting some ts changes to fix this:
https://github.com/iTwin/nightman/actions/runs/5502644897/jobs/10027049674

why are there no ts changes?

The tests were passing so didn’t see where to make ts changes

take a look at this build failure; im expecting some ts changes to fix this: https://github.com/iTwin/nightman/actions/runs/5502644897/jobs/10027049674

I think that error might have been from core-appui sinon type version mismatch. Here's a nightman build with this branch checked out for appui and master/main for all other repos: https://github.com/iTwin/nightman/actions/runs/5511425916/jobs/10046960042
pnpm build passing on all for this run. Ignore the lint error for now

Need help fixing the extract-api run failure. When I run locally, the changes made are all similar to this:

I don't think this is right though 🤔

Need help fixing the extract-api run failure. When I run locally, the changes made are all similar to this:
I don't think this is right though 🤔

revert the lock file and then just run rush update the only deps updated should be sinon and types/sinon


Template pages for HTTP errors

Closes: https://github.com/metarhia/impress/issues/1893

[x] tests and linter show no problems (npm t)
[ ] tests are added/updated for bug fixes and new features
[x] code is properly formatted (npm run fmt)
[ ] description of changes is added in CHANGELOG.md
[ ] update .d.ts typings

Landed in https://github.com/metarhia/impress/commit/130494d67a7420f51bc8d9cbb672f07ad29b432e


netbsd log api utmpx flavor addition

r? @Amanieu
(rust-highfive has picked a reviewer for you, use r? to override)

@bors r+

:pushpin: Commit ae882ec4391a5235f0dbd0761cd4ffcb4e94025a has been approved by Amanieu

:hourglass: Testing commit ae882ec4391a5235f0dbd0761cd4ffcb4e94025a with merge 049cbdf544571d83947ddb6089d178ea6a91428b...

:broken_heart: Test failed - checks-actions

odd those intermittent ci issues.

It doesn't seem to be intermittent, the semver test is failing: https://github.com/rust-lang/libc/runs/3220767531

ok but does not seem to occur in all PR tough

@bors retry

:hourglass: Testing commit ae882ec4391a5235f0dbd0761cd4ffcb4e94025a with merge 8aa6cea3a3a39767f441716a992112b804af2af7...

:sunny: Test successful - checks-actions, checks-cirrus-freebsd-11, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13
Approved by: Amanieu
Pushing 8aa6cea3a3a39767f441716a992112b804af2af7 to master...


add external properties to SolutionInfo

This interface can be customized by the user to state when/where additional execution hooks should run.
This is an initial thread to discuss/extend this idea as discussed in #192

@felixvd

Note that a Property's value field is a string comprising a serialized version of an arbitrary property.

That's exactly why I would prefer it over some string indicator fields for this.

The serialization/deserialization methods are not (yet) exposed and might be subject to changes.

Same for everything else in MTC.

Hence, the Property type might not be the best choice to implement the behavior here.
At least we would need to expose the deserialization methods...

From a pragmatic point of view it works just fine with std::string properties, because their serialization is the string itself. In general though, we definitely want to expose deserialization functions if we want users to actually use these properties. Currently, the deserialization is mixed in with the rviz/visualization code...

I was long thinking about why I decided against your proposed solution when I worked on Property serialization.
Eventually, I remembered and found the corresponding PR https://github.com/ros-planning/moveit_task_constructor/pull/72:
For serialization/deserialization to work, they need to access registered methods. This is simple on the serialization end, because we know the types to serialize:
https://github.com/ros-planning/moveit_task_constructor/blob/0aff5d56dd45b91b7c6c7c63c9674eec84e49aed/core/include/moveit/task_constructor/properties.h#L266-L270
However, on the deserialization end, we typically don't know the type in advance. Thus I decided to go for the generic YAML output generated by operator<< for ROS messages. This has two advantages:

The serialized output is human-readable, e.g. when intercepting rostopic.
rviz, the main deserialization site, can use a generic deserializer to display values, even if no type-specific one is registered. Using ROS message serialization we lose this capability: Note, how ik_frame is displayed before and after this PR:

old
new

We discussed pros and cons of the old and the proposed approach in a phone conference. This is the summary:

old, YAML-based serialization
new, binary serialization

pro
human-readable, e.g. with rostopic
exact saving/loading of floating point numbers

deserialization for rviz
existing C++ YAML parser
python deserialize ➔ python YAML ➔ existing C++ YAML parser

msg deserialization
YAML ➔ python msg ➔ python serialize ➔ C++ deserialize
ROS deserialize

open issues
YAML from ROS msgs partly broken (requires fix in gencpp or workarounds)
will require uint8[] representation

What is the status of this PR ? Would be really useful. I think a lot of people got their own way of dealing with this.

BTW this PR needs this patch,
void SolutionBase::fillInfo(moveit_task_constructor_msgs::SolutionInfo& info, Introspection* introspection) const {
    info.id = introspection ? introspection->solutionId(*this) : 0;
    info.cost = this->cost();
    info.comment = this->comment();
    const Introspection* ci = introspection;
    info.stage_id = ci ? ci->stageId(this->creator()) : 0;

    // got to add this
    creator_->properties().fillMsgs(info.properties);

    const auto& markers = this->markers();
    info.markers.resize(markers.size());
    std::copy(markers.begin(), markers.end(), info.markers.begin());
}

to actually print the properties.
  for (const auto& solution : task->solutions())
  {
    moveit_task_constructor_msgs::Solution solution_msg;
    solution->fillMessage(solution_msg, &task->introspection());

    for (const auto& sub_traj : solution_msg.sub_trajectory)
    {
      std::cout << "==========" << std::endl;
      std::cout << "stage_id: " << sub_traj.info.id << std::endl;

      auto props = sub_traj.info.properties;

      for (moveit_task_constructor_msgs::Property& p : props)
      {
        std::cout << "name: " << p.name << std::endl;
        std::cout << "type: " << p.type << std::endl;
        std::cout << "val : " << p.value << std::endl;
        std::cout << "---------" << std::endl;
      }
    }
  }

==========
stage_id: 1
name: forwarded_properties
type: St3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE
val :
---------
name: hey
type: NSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
val :
---------
name: ignore_collisions
type: b
val : 0
---------
name: marker_ns
type: NSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
val : current state
---------
name: timeout
type: d
val :
---------

...

Heum... if a add a property in the open hand stage it get's copied to the approach object stage, lift object and so on. This is not good for user's who wants to add additional hooks.
Maybe the API should have the properties from stages separated from properties that users could use...

@v4hn Trying to serialize the ros msg control_msgs::GripperCommand. Do you have an idea why it does not serialize ? Other ros msg are ok...
control_msgs::GripperCommand controller_goal;
controller_goal.max_effort = 100;
controller_goal.position = robot_state.joint_state.position.front();

stage->setProperty("point", point);
stage->setProperty("controller_goal", controller_goal);

// Prints
name: point
type: geometry_msgs/Vector3Stamped
val : thermal_cycler���Q��?
--------
name: controller_goal
type:
val :

Trying to recreate a MoveRelative from the Property.msg throws an error:
stage->properties().fromMsgs(property_msg);

terminate called after throwing an instance of 'moveit::task_constructor::Property::type_error'
  what():  Property: type v doesn't match property's declared type St3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE

The culprit is the forwarded_properties which is of type std::set<std::string>. This type should be added to the serialization.
Test to add:
1- Create a MoveRelative stage1
2- stage->fillMsgs(property_msg)
3- Create another MoveRelative stage2 (should also work on stage1)
4- stage2->fromMsgs(property_msg)
Output of Property.msg
name: controller_id
type: NSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
value: joint_position_controller
description:

name: direction
type: geometry_msgs/Vector3Stamped
value: pcr����Mb@�
description: motion specification

name: direction_offset
type: geometry_msgs/Pose
value: <�O��nr?��MbX�?-C��6J?�;f���?�;f���?
description: frame offset wrt. the direction frame_id

name: forwarded_properties
type: St3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE
value:
description: set of interface properties to forward

name: group
type: NSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
value: eef_pipette
description: name of planning group

name: ik_frame
type: geometry_msgs/PoseStamped
value:
        pipette_tcp�?
description: frame to be moved in Cartesian direction

name: marker_ns
type: NSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
setPlanningSceneDiffMsg: value = Move Relative Above Bottom Container
description: marker namespace

name: max_distance
type: d
value: 0
description: maximum distance to move

name: min_distance
type: d
value: -1
description: minimum distance to move

name: path_constraints
type: moveit_msgs/Constraints
value:
description: constraints to maintain during trajectory

name: timeout
type: d
value: 1
description: timeout per run (s)

name: trajectory_execution_info
type: moveit_task_constructor_msgs/TrajectoryExecutionInfo
value:
description: settings used when executing the trajectory

I have added tests and fixes in this branch. This now works for my use case.
I would also prefer the YAML serialization over binary. You can even have exact saving/loading of floating point numbers, at the cost of size increase.


Upgrade to using Environment Files

The GitHub Actions builds are showing a pair of new warnings as of recently.

The add-path command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/

The set-env command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/

As far as I have been able to tell, the new way just doesn't work on windows builders. GITHUB_ENV is not present in the environment. :cry:

As far as I have been able to tell, the new way just doesn't work on windows builders. GITHUB_ENV is not present in the environment.

It looks like this was a difference in default shell for the workflow runners. The Windows ones run on PowerShell by default and require >> $env:GITHUB_ENV instead of >> $GITHUB_ENV. https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_environment_variables?view=powershell-7.1#using-and-changing-environment-variables
Using the same shell across all the platforms would make it work. Either of the following would work:
      - run: echo 'RUSTFLAGS=--cfg skip_ui_tests' >> $GITHUB_ENV
        shell: bash

      - run: echo 'RUSTFLAGS=--cfg skip_ui_tests' >> $env:GITHUB_ENV
        shell: pwsh  # which is available on all the platforms via PowerShell Core


Add Descriptive Homepage

Add a description of Imgman on the homepage
There is only "Hello World" written on the homepage. We can add a description of ImgMan on the homepage so that new users can know about what the website does.
Describe the solution you'd like
We should add the functionality of Imgman on the homepage.
Additional context
Currently, the homepage looks like this.

Would you like to work on this?

Sure I can try!

@devilkiller-ag Go Ahead

Thank you @kailashchoudhary11

Can i also work on this ? i'm doing this for hacktoberfest.

@kailashchoudhary11 please assign this issue to @ as I will not be able to work on this issue further. Sorry for the Inconviniences.


Invoke-PowerBIRestMethod - Basic Authentication with password from AzureKeyvault

Hi Jayendra,
Could you please let me know the procedure to pass the values from AzureKeyvault Secret into "Password"
Error:
Invoke-PowerBIRestMethod -Url "gateways/$($BounGateway.value.gatewayI … One or more errors occurred. (Response status code does not indicate success: 400 (Bad Request).)
Script:
#$(Password) can be from AzureKeyvault or from secret variable in Azure Pipelines
$SecretvalueText = $(Password) | ConvertTo-SecureString -AsPlainText -Force
$BounGateway=Invoke-PowerBIRestMethod -Url "groups/WorkspaceID/datasets/DataSetID/Default.GetBoundGatewayDataSources" -Method GET | ConvertFrom-Json
$UpdateUserCredential = @{
credentialType ="Basic"
basicCredentials = @{
username= $(UserName) //AzureDevOps Pipeline Variable
password= $SecretvalueText
}
Invoke-PowerBIRestMethod -Url "gateways/$($BounGateway.value.gatewayId)/datasources/$($BounGateway.value.id)" -Method PATCH -Body $UpdateUserCredential | ConvertFrom-Json
} | ConvertTo-Json

The way I used this script using AzureDevOps Pipeline (for CICD), which has an easier way to retrieve the secrets from keyvault directly (without PowerShell), I explained that here.  I also mentioned this in the comment of the script like

$applicationId = "" # Need to pass the clientid from devops variable
$password= "Password@123" # Need to pass from devops secret variable

If you want to use this script elsewhere then you can refer here with powershell way

@jayendranarumugam please let me know how do you call a secret variable to pass in "UpdateUserCredential". Are you suggesting below method?
$SecretvalueText = $(Password) | ConvertTo-SecureString -AsPlainText -Force //Password from AzureDevOps Secret variable?
this didnt work. Please elaborate on your 2nd approach (Powershell Way). Do you recommend AzurePowershell or Powershell in AzureDevOps Pipeline Tasks?

this didnt work

What do you mean by didn't work? Any error? Did you try to solve it?
I didn't try the second approach, so I couldn't really comment on that. Usually, It is recommended to use AzurePowershell rather than PowerShell if you want to do more operations on azure resources, which takes care of the authentications.
On the other hand , I can see that there is also a native task and method recommended by Microsoft to retrieve the secret from keyvault in azure DevOps (without Powershell)

@jayendranarumugam when I use Powershell Task in AzureDevOps, script works but have to hardcode the DBPassword
When I use AzurePowershell, I am getting the below error:
Attempted to access an element as a type incompatible with the array

working


Payment discription

the commit messages are not really describing what the change is, rather you're stating literally what you did. it's better to explain what the intention is.
they will need changing

the commit messages are not really describing what the change is, rather you're stating literally what you did. it's better to explain what the intention is. there is even a "work in progress" commit :)
they will need changing.


Fix Spanish label for sharing module

Our stakeholder for Money as You Grow Spanish informed us that the label for the sharing module in Spanish should simply read "Compartir", not "Compartir este"
Changes

Corrected Spanish-language label for sharing module

Review

@cfpb/cfgov-frontends

Screenshots

Checklist

[x] Changes are limited to a single goal (no scope creep)
[x] Code can be automatically merged (no conflicts)
[x] Code follows the standards laid out in the front end playbook
[x] Passes all existing automated tests
[x] New functions include new tests
[x] New functions are documented (with a description, list of inputs, and expected output)
[x] Placeholder code is flagged
[x] Visually tested in supported browsers and devices
[x] Project documentation has been updated (including the "Unreleased" section of the CHANGELOG)

👍


Version 4.0.7 not building with Flutter 2.5.3(Dart 2.14) and IOS Platform

I'm trying to run the version 4.0.7 with Flutter 2.5.3 but the building is not working on IOS platform.
I tried to run flutter run -v even with the repo example and it not worked.
 The following build commands failed:
               	Ld

/Users/alefferreiradasilva/Library/Developer/Xcode/DerivedData/Runner-dxjftvpgrxaileazurjwdwangrtm/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/agora_rtc_engine.build/Objects-normal/arm64/B
               	inary/agora_rtc_engine normal arm64 (in target 'agora_rtc_engine' from project 'Pods')
               (1 failure)

/Users/alefferreiradasilva/Library/Developer/Xcode/DerivedData/Runner-cyxnyolzhttrtngroclanvavgkve/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/agora_rtc_engine.build/Objects-normal/a
                            rm64/Binary/agora_rtc_engine
                        ld: building for iOS Simulator, but linking in dylib built for iOS, file
                        '/Users/alefferreiradasilva/Dev/my-repos/Agora-Flutter-SDK/example/ios/Pods/AgoraRtcEngine_iOS/AgoraAIDenoiseExtension.framework/AgoraAIDenoiseExtension' for architecture arm64
                        clang: error: linker command failed with exit code 1 (use -v to see invocation)

[ +378 ms] Could not build the application for the simulator.
[        ] Error launching application on iPhone 13.
[   +3 ms] "flutter run" took 31,994ms.
[   +6 ms]
           #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
           #1      RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:669:9)
           <asynchronous suspension>
           #2      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1125:27)
           <asynchronous suspension>
           #3      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #4      CommandRunner.runCommand (package:args/command_runner.dart:209:13)
           <asynchronous suspension>
           #5      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:288:9)
           <asynchronous suspension>
           #6      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #7      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:236:5)
           <asynchronous suspension>
           #8      run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
           <asynchronous suspension>
           #9      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #10     main (package:flutter_tools/executable.dart:92:3)
           <asynchronous suspension>

[ +139 ms] ensureAnalyticsSent: 138ms
[   +1 ms] Running shutdown hooks
[        ] Shutdown hooks complete
[        ] exiting with code 1

[✓] Flutter (Channel stable, 2.5.3, on macOS 11.6 20G165 darwin-x64, locale en-BR)
    • Flutter version 2.5.3 at /Users/alefferreiradasilva/Dev/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 18116933e7 (8 weeks ago), 2021-10-15 10:46:35 -0700
    • Engine revision d3ea636dc5
    • Dart version 2.14.4

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/alefferreiradasilva/Library/Android/sdk
    • Platform android-31, build-tools 30.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 13.1, Build version 13A1030d
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] VS Code (version 1.62.3)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.29.0

[✓] VS Code (version 1.49.0)
    • VS Code at /Users/alefferreiradasilva/Downloads/Visual Studio Code.app/Contents
    • Flutter extension version 3.29.0

[✓] Connected device (2 available)
    • iPhone 13 (mobile) • EEA83B75-1F95-40D4-B7D3-F7B3FACD788E • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-0 (simulator)
    • Chrome (web)       • chrome                               • web-javascript • Google Chrome 96.0.4664.93

• No issues found!

Try to add these lines to your Podfile.
post_install do |installer|
  installer.pods_project.targets.each do |target|
    flutter_additional_ios_build_settings(target)
    # Temporary exclude simulator arm64 to allow run app on simulator
    # https://developer.apple.com/forums/thread/656509
    target.build_configurations.each do |config|
      config.build_settings['ONLY_ACTIVE_ARCH'] = 'YES'
      config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "i386 arm64"
    end
  end
end

The problem was fixed with the latest Agora version, thanks!


python310Packages.etils: 0.7.1 -> 0.8.0

python310Packages.etils: 0.7.1 -> 0.8.0

python310Packages.dm-sonnet is already broken. (maybe relax deps?)

(I'm still waiting builds to understand what else it breaks.)
Fixes #186690

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

2 packages marked as broken and skipped:

python310Packages.pymc3
python39Packages.pymc3

8 packages failed to build:

python310Packages.distrax
python310Packages.dm-sonnet
python310Packages.elegy
python310Packages.rlax
python39Packages.distrax
python39Packages.dm-sonnet
python39Packages.elegy
python39Packages.rlax

38 packages built:

python310Packages.aeppl
python310Packages.aesara
python310Packages.arviz
python310Packages.augmax
python310Packages.chex
python310Packages.dalle-mini
python310Packages.dm-haiku
python310Packages.etils
python310Packages.flax
python310Packages.jax
python310Packages.jmp
python310Packages.numpyro
python310Packages.objax
python310Packages.optax
python310Packages.pymc
python310Packages.tensorflow-datasets
python310Packages.treeo
python310Packages.treex
python310Packages.vqgan-jax
python39Packages.aeppl
python39Packages.aesara
python39Packages.arviz
python39Packages.augmax
python39Packages.chex
python39Packages.dalle-mini
python39Packages.dm-haiku
python39Packages.etils
python39Packages.flax
python39Packages.jax
python39Packages.jmp
python39Packages.numpyro
python39Packages.objax
python39Packages.optax
python39Packages.pymc
python39Packages.tensorflow-datasets
python39Packages.treeo
python39Packages.treex
python39Packages.vqgan-jax

The short log is not very informative. What is the full log saying?

The short log is not very informative.

This is a draft. I haven't finished.

What is the full log saying?

Not available atm.
rlax depends on distrax. Error is with distrax. But that image is in master.

The short log is not very informative. What is the full log saying?

log of python310Packages.distrax at master: https://termbin.com/czlr


Default generated cypress.config.js is an ES6 module. This plugin is not compatible.

Describe the bug
Start a new Cypress project from Cypress 13.x and the config will look like:
import { defineConfig } from "cypress";
export default defineConfig({
  e2e: {
    setupNodeEvents(on, config) {
      // implement node event listeners here
    },
  },
});

If you add require('cypress-fail-fast/plugin')(on, config); to this, per the readme, you'll get the error ReferenceError: require is not defined when attempting to run cypress.
To Reproduce
Try adding this plugin to a Cypress ES6 module config file and try running Cypress.
Expected behavior
Plugin should be updated to ES6 module syntax.ontext about the problem here.

Hi @anselmbradford , have you tried to change the import to ES6 import module syntax?
import cypressFailFast from "cypress-fail-fast/plugin";

export default defineConfig({
  e2e: {
    setupNodeEvents(on, config) {
      cypressFailFast(on, config);
    },
  },
});

I have tried it in a cypress.config.ts file, and it works properly. I also have tried in a cypress.config.mjs file, and, in that case, you should change the import to import cypressFailFast from "cypress-fail-fast/src/plugin.js";

Hi @javierbrea, ahh I tried it with import cypressFailFast from "cypress-fail-fast/plugin"; and it didn't work, but import cypressFailFast from "cypress-fail-fast/src/plugin.js" does! I guess I should have scrutinized the source closer. Thanks! Maybe update the readme for this scenario? Cheers!

Thank you @anselmbradford. I will try to use subpaths exports in the exports field in the package.json file in order to avoid this problem, and, in case I can't make it work, I will update the readme.

I have already changed the README file examples to ES6 syntax, and I have added a note about defining the file extension explicitly. Anyway, I'll leave this issue open in order to investigate about adding the subpath exports.


Add Linux 64 static musl to releases

Hi,
It would be great if you could add statically linked musl versions of Uiua for Linux 64 bits to the release page.
Thank you,

While this could be done, the last time I tried to use the releases workflow, it did not work. I didn't make it, so I'll have to learn more about Git workflows before I can add it successfully.

Thank you for quick reply.


Astro support

Package

[X] lucide
[ ] lucide-angular
[ ] lucide-flutter
[ ] lucide-preact
[ ] lucide-react
[ ] lucide-react-native
[ ] lucide-solid
[ ] lucide-svelte
[ ] lucide-vue
[ ] lucide-vue-next
[ ] Figma plugin
[ ] all JS packages
[ ] site

Description
Would it make sense to add Astro support?
It seems that someone else has tried:  https://github.com/dzeiocom/lucide-astro
but then it has a different release cadence.
Use cases
(I seem to be running into a small bug using lucide-solid in an Astro project, so having first-class support should only be a positive.)
Checklist

[X] I have searched the existing issues to make sure this bug has not already been reported.

Astro support would be great

Hey, lucide-astro creator, Ijust saw your post and since then the package now release updates at most 8 hours behind lucide releases (cron ftw)


Add k8s.container.name to the metadata enrichment files

Description
A follow-up of https://github.com/Dynatrace/dynatrace-operator/pull/3518, so related to the same ticket (K8S-9858)
The complicated part of the change is:

Extract container info handling to general pod-webhook from oa-mutator

Needed so the metadata-enrichment mutator can also use it. (in conjunction with the init-container)
Also includes a slight rework, because the "container counting and several envvars" way of passing the container info to the init-container was waaay too overcomplicated.

So no more CONTAINER_COUNT and CONTAINER_1_NAME envs littering the init-container's env just a single CONTAINER_INFO with some nice json in it.

After that the Add k8s.container.name to the metadata enrichment files part is trivial.

Now you should always see the k8s.container.name fields in the metadata enrichment files in the injected user containers.

How can this be tested?
When injecting user pods:

You should no longer see CONTAINER_COUNT , CONTAINER_1_NAME and CONTAINER_1_IMAGE envs only CONTAINER_INFO on the init-container.

This new env should always be present, no matter what injection is enabled
If no injection is enabled for a given container then that container's info shouldn't be part of the CONTAINER_INFO env. (it wouldn't hurt anyone, but still)

The OA injection shouldn't experience any change in behaviour. (different envs on init, but still works as expected)
The metadata injection now should produce files that have the k8s.container.name key and value in them. (see #3518 for where the files can be found)

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 76.19048% with 30 lines in your changes missing coverage. Please review.

Project coverage is 57.64%. Comparing base (818a90d) to head (e7be865).

Files
Patch %
Lines

pkg/webhook/mutator.go
0.00%
11 Missing :warning:

pkg/webhook/mutation/pod/init_container.go
75.00%
5 Missing and 4 partials :warning:

pkg/injection/startup/enrichment.go
77.14%
4 Missing and 4 partials :warning:

pkg/webhook/container.go
77.77%
2 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3561      +/-   ##
==========================================
- Coverage   57.76%   57.64%   -0.13%
==========================================
  Files         382      382
  Lines       20696    20689       -7
==========================================
- Hits        11956    11926      -30
- Misses       7475     7499      +24
+ Partials     1265     1264       -1

Flag
Coverage Δ

unittests
57.64% <76.19%> (-0.13%)
:arrow_down:

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

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


Autocompletes only one charachter in St

Describe the bug
ZSH only autocompletes one character when used with st terminal emulator.
To Reproduce
In St terminal emulator with the default config from regolith-linux, the autocomplete only works for the character under the cursor. With the gnome-terminal on the same machine the plugin works.
Expected behavior
I expect the behaviour between st and gnome-terminal to be the same.
Screenshots

Desktop

VERSION="19.04 (Disco Dingo)" Regolith-Linux-Desktop
zsh 5.5.1 (x86_64-ubuntu-linux-gnu)
commit 43f3bc4010b2c697d2252fdd8b36a577ea125881

seems to be related to https://github.com/regolith-linux/regolith-st/issues/1

moved to https://github.com/regolith-linux/regolith-st/issues/5

Still looking for help on this front. Will re-open here.

#288, #272, #262.

#288, #272, #262.

#262 helped. Thank you.


Update 4_javascript_client.rst

added an additional step to maintain consistency with previous tutorial chapters. This would be useful if a learner skips ahead directly to building a JS client after getting the main auth server to work.
What issue does this PR address?
makes the tutorial consistent with previous steps.
Does this PR introduce a breaking change?
it does not introduce any breaking change.
Please check if the PR fulfills these requirements

[ ] The commit follows our guidelines
[ ] Unit Tests for the changes have been added (for bug fixes / features)

Other information:

Thanks


Error: openpgp: unsupported feature: public key type: 22

helm doesn't seem to support ed25519 keys.
When running:
$ ./helm package --sign <something> --key <key>
Error: openpgp: unsupported feature: public key type: 22

Output of helm version:
$ ./helm version
version.BuildInfo{Version:"v3.10.2", GitCommit:"50f003e5ee8704ec937a756c646870227d7c8b58", GitTreeState:"clean", GoVersion:"go1.18.8"}

Output of kubectl version:
n/a
Cloud Provider/Platform (AKS, GKE, Minikube etc.):
n/a

Thanks for the report.

Error: openpgp: unsupported feature: public key type: 22

Is this helm, or opengpg not supporting ed25519?

Is this helm, or opengpg not supporting ed25519?

Both? I believe helm includes the openpgp library (openpgp isn't separate software I have installed).

Sorry, I wasn't clear there. I was thinking the error indicates this is a limitation of openpgp (whether invoked externally, or linked statically).
To dig some more. Helm directly uses: https://pkg.go.dev/golang.org/x/crypto/openpgp.
But right at the top is a "Deprecated: this package is unmaintained except for security fixes.". And digging through the code there, it doesn't look like ECDSA signatures are supported.
With a little digging, I also found: https://datatracker.ietf.org/doc/html/draft-koch-eddsa-for-openpgp-00 (which notably claims the type 22). I can only speculate that the draft / relatively new status of this RFC is presumably why ECDSA never made it into golang.org/x/crypto/openpgp. And seemingly never will.
I think this explains why ed25519 verification isn't working.
Helm (as a perhaps separate issue), should probably look to switch to a community maintained fork of openpgp (which might also bring in ECDSA support)

Or helm "... should consider a more focused, modern alternative to OpenPGP ..." as the deprecation suggests. Maybe helm 4.


Show full dates instead of timestamps

Allow users to see the full date of a report instead of the unix timestamp.

The $report["time"] = ... should be inside the if(isset($report["id"])).
If you fix that and "F j Y, g:i a" date I will merge this pull request.
Thanks.


fix: use file extensions on type imports so they work with moduleResolution: 'node16'

Description
At Astro we're currently (attempting) to migrate our tsconfig.json to moduleResolution: 'node16'. We got it mostly figured out, apart from one thing: We can't import types from Vite. Investigating led me to realize that it was because Vite's type imports don't have file extensions, so they always resolve as any under moduleResolution: 'node16'. I tried to workaround this by importing the files in the types folder individually, but they're not part of the exports map so.
This PR adds file extensions to all the imports, easy enough. I tested it downstream and it works. Per https://github.com/vitejs/vite/issues/11552, it seems like many users were patching Vite manually for this already.
Additional context
Downstream is currently not able to migrate to moduleResolution: 'node16', so this is kinda blocking.

What is the purpose of this pull request?

[x] Bug fix
[ ] New Feature
[ ] Documentation update
[ ] Other

Before submitting the PR, please make sure you do the following

[x] Read the Contributing Guidelines.
[x] Read the Pull Request Guidelines and follow the PR Title Convention.
[x] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[x] Ideally, include relevant tests that fail without this PR but pass with it.

Hmm, I'm not too sure why the CI is yelling at me. The same tests works fine in local:

(and the build works etc)

/ecosystem-ci run


siconos_vview problem

Hi,
I installed the latest siconos and it seems there is a problem with siconos_vview and vexport. It is related with vtk (I have vtk7 installed).
Thank you for your help
Here is a copy from the terminal ....
ERROR: In /build/vtk7-w4DzBd/vtk7-7.1.1+dfsg1/Filters/Python/vtkPythonAlgorithm.cxx, line 191
vtkPythonAlgorithm (0x1e22120): Failure when calling method: "ProcessRequest":
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/vtk/util/vtkAlgorithm.py", line 151, in ProcessRequest
return vtkself.ProcessRequest(request, inInfo, outInfo)
File "/usr/lib/python3/dist-packages/vtk/util/vtkAlgorithm.py", line 197, in ProcessRequest
return self.RequestData(request, inInfo, outInfo)
File "/usr/local/lib/python3.6/dist-packages/siconos/io/vview.py", line 845, in RequestData
self.pos_data = self._idpos_data[self._id_t_m, :]
File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "/home/franck/.local/lib/python3.6/site-packages/h5py/_hl/dataset.py", line 774, in getitem
selection = sel.select(self.shape, args, dataset=self)
File "/home/franck/.local/lib/python3.6/site-packages/h5py/_hl/selections.py", line 82, in select
return selector.make_selection(args)
File "h5py/_selector.pyx", line 269, in h5py._selector.Selector.make_selection
File "h5py/_selector.pyx", line 210, in h5py._selector.Selector.apply_args
TypeError: Simple selection can't process range(0, 200)
.
ERROR: In /build/vtk7-w4DzBd/vtk7-7.1.1+dfsg1/Common/ExecutionModel/vtkExecutive.cxx, line 784
vtkCompositeDataPipeline (0x252eda0): Algorithm vtkPythonAlgorithm(0x1e22120) returned failure for request: vtkInformation (0x2626e20)
Debug: Off
Modified Time: 8458
Reference Count: 1
Registered Events: (none)
Request: REQUEST_DATA
ALGORITHM_AFTER_FORWARD: 1
FROM_OUTPUT_PORT: 0
FORWARD_DIRECTION: 0
ERROR: In /build/vtk7-w4DzBd/vtk7-7.1.1+dfsg1/Filters/Python/vtkPythonAlgorithm.cxx, line 191
vtkPythonAlgorithm (0x1e22120): Failure when calling method: "ProcessRequest":
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/vtk/util/vtkAlgorithm.py", line 151, in ProcessRequest
return vtkself.ProcessRequest(request, inInfo, outInfo)
File "/usr/lib/python3/dist-packages/vtk/util/vtkAlgorithm.py", line 197, in ProcessRequest
return self.RequestData(request, inInfo, outInfo)
File "/usr/local/lib/python3.6/dist-packages/siconos/io/vview.py", line 845, in RequestData
self.pos_data = self._idpos_data[self._id_t_m, :]
File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "/home/franck/.local/lib/python3.6/site-packages/h5py/_hl/dataset.py", line 774, in getitem
selection = sel.select(self.shape, args, dataset=self)
File "/home/franck/.local/lib/python3.6/site-packages/h5py/_hl/selections.py", line 82, in select
return selector.make_selection(args)
File "h5py/_selector.pyx", line 269, in h5py._selector.Selector.make_selection
File "h5py/_selector.pyx", line 210, in h5py._selector.Selector.apply_args
TypeError: Simple selection can't process range(0, 200)
.
ERROR: In /build/vtk7-w4DzBd/vtk7-7.1.1+dfsg1/Common/ExecutionModel/vtkExecutive.cxx, line 784
vtkCompositeDataPipeline (0x252eda0): Algorithm vtkPythonAlgorithm(0x1e22120) returned failure for request: vtkInformation (0x2626e20)
Debug: Off
Modified Time: 2970853
Reference Count: 1
Registered Events: (none)
Request: REQUEST_DATA
ALGORITHM_AFTER_FORWARD: 1
FROM_OUTPUT_PORT: 0
FORWARD_DIRECTION: 0
Traceback (most recent call last):
File "/usr/local/bin/siconos_vview", line 23, in
vview.run()
File "/usr/local/lib/python3.6/dist-packages/siconos/io/vview.py", line 2685, in run
self.initialize_vtk()
File "/usr/local/lib/python3.6/dist-packages/siconos/io/vview.py", line 2654, in initialize_vtk
self.setup_initial_position()
File "/usr/local/lib/python3.6/dist-packages/siconos/io/vview.py", line 2093, in setup_initial_position
self.pos_t0 = [self.io_reader.pos_data]
AttributeError: 'IOReader' object has no attribute 'pos_data'

Are you sure that there are some trajectory in your hdf5 file ? siconos_vview is not able to work with any simulation step.
Could you also  try with 807b6d1 ? charts are no longer working with recent version of vtk

I tried with  807b6d1 and the error remains. I am sure there are several steps and also several bodies (I also have the same error with the examples from siconos-tutorials).

Could you attach your hdf5 file such that I tried in my installation with vtk8 ?

This one (among others) generates the problem
2d_primitives.zip

No problem on my side with vtk8.
I will try to downgrade to 7.1.1.

The problem seems come from h5py no ?

In the meanwhile, you can use the tsk output for paraview
  siconos_vexport --global-filter 2d_primitives.hdf5

siconos_vexport does not work neither -> same error
it doesn't come from vtk because I upgraded to 8.1.2

you were right, it was a h5py issue in 3.0.0 (released 5 days ago). I downgraded to 2.10.0.

Cool.
Thank you for the feedback that might help other users.

Not sure why this issue was closed. As far as I can see the failure with h5py 3.0 is still in place.  Was there a commit which fixed the problem?

It so happens that I fixed this last night in the debian package, it is not even available yet but I will push the change upstream to siconos as well.  See this patch  Maybe something similar is needed for vexport.

@radarsat1 Many thanks

Great, thanks @radarsat1


test: Disable telemetry when API key is not provided in e2e install

What does this PR do?
Disable telemetry reporting in E2E tests using the install script, when an API key isn't provided.

Motivation
Telemetry reporting can emit a 403 error in the job logs, which causes confusion when debugging a failed job.

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge


non-monotonic axis, dummy axis in wrong direction

Reported by ansley b manke on 21 Sep 2012 17:57 UTC
A bad axis, with non-monotonic coordinates, triggers creation of an abstract axis, and the bad coord data is available in a non-coordinate variable.
Ferret should still put the axis in the correct direction using the metadata in the file.
Patrick Brockman reports this. The file has an axis called time with these atributes, and a variable with lon, lat and time coordinates,
variables:
        double time(time) ;
                time:standard_name = "time" ;
                time:bounds = "time_bnds" ;
                time:units = "days since 1850-01-01 00:00:00" ;
                time:calendar = "365_day" ;
        float hfds(time, latitude, longitude) ;
                hfds:units = "W m-2" ;
                ...

Ferret v6.82 detects time as a time axis but then its coordinates are bad. The grid has this axis in the K direction:
yes? use file_err_time.nc
 *** NOTE: Coordinates out of order or missing on axis time at subscript 162
 *** NOTE: A dummy axis of subscripts will be used

yes? sho dat
     currently SET data sets:
    1> ./file_err_time.nc  (default)
 name     title                             I         J         K         L         M         N
 HFDS     Downward Heat Flux at Sea Water  1:1       1:1       1:1127    ...       ...       ...
 TIME                                      ...       ...       1:1127    ...       ...       ...
       (invalid coordinate axis)

Ferret used to mark this as a time axis based on its name. When the basic axis has been created, we need to assign its direction using file attributes.
Migrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/1970

Attachment from ansley.b.manke on 21 Sep 2012 17:58 UTC
A shortened version of Patrick's example file
REPLACE THIS TEXT WITH UPLOADED FILE ./attachments/TRAC_1970_GIT_1242/file_err_time_short.nc


[Fix task 8 bug] Update utils.py

A Pull Request (PR) should explain why we need this PR and how you implement it, so others could understand it quickly.
Since this is just a homework, you do not need to explain why and how.
Do NOT change the status to NeedsReview if you do not want to be graded yet.
Please fill in the following questions as feedback. It is totally optional and would not be graded.
What is the most challenging part in this homework?
Is this homework helpful for you?
Is there any suggestion?

PR readiness check list

[  ] Did it pass the Flake8 check?
[  ] Did you test this PR?
[  ] Did you change the title of this PR to the correct format ([status] student_ID)?

The preinstalled font in the system is called "Arial.ttf" instead of "arial.ttf".

@robert1003  You have to read why and how in the PR description. In addition, we should use try/except to prevent cases where the font is not found.
Also, "Arial.ttf" and "arial.ttf" should have no difference, and both are not pre-installed in Linux.
To verify this bug, instead of testing it in your environment, you have to create a native Linux environment like Docker or on Travis CI. I did that on our Travis CI, and it is indeed a bug, see https://github.com/amjltc295/PythonHomework/commit/15bcb4d9ce8d884124c28bc0abd8c900f4a9ee28


increase DTLS maximum payload size from 768 to 800

increase maximum DTLS packet to 800 to match the largest CoAP packet from devices. Update readme with build instructions.

It's a trivial change, so I'm going to merge :-)


Corrected Spacing in Functions.md, 4th code eg

Fixed the spacing to align with the other code examples
added a [space] either side of the "=>"

Fixes #

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot


Build got stuck during cleanup and then timed out

https://luci-milo.appspot.com/ui/p/flutter/builders/try/Mac Engine Drone/305870/overview

From chat:
[I2023-08-02T13:13:31.017976-07:00 38815 0 cleanup.go:42] cleanup "cleanupComplete" succeeded
panic: context deadline exceeded

goroutine 178 [running]:
go.chromium.org/luci/luciexe/host.cleanupSlice.run({0x140008cc540, 0x8, 0x140001cea08?}, {0x1038a2ac0, 0x140005a54a0})
    go.chromium.org/luci/luciexe/host/cleanup.go:46 +0x2cc
go.chromium.org/luci/luciexe/host.Run.func7()
    go.chromium.org/luci/luciexe/host/host.go:161 +0x140
created by go.chromium.org/luci/luciexe/host.Run
    go.chromium.org/luci/luciexe/host/host.go:156 +0xbe0

Following up with the LUCI team on what these errors are

Closing, reopen if this happens again.


Added on_dete=models.CASCADE to migrations for Django 2.0 compatibility

In Django 2.0 the on_delete field is required for ForeignKey fields
https://docs.djangoproject.com/en/2.0/ref/models/fields/

Well played, this remind me I should also add Django 2.0 to the test matrix now it is out.
Thanks!


Why we need to set start_ts plus one as min_commit_ts when using async commit?

Question

Recently I'm studying your work on async commit and got a lot of inspiration.
But I'm confused  about the + 1 operation about start_ts when determine the min_commit_ts.
let min_commit_ts = cmp::max(cmp::max(max_ts, start_ts), for_update_ts).next();
                                                                         ^
                                                                         | here

What if we use commit_ts = min_commit_ts = max(start_ts, max_ts + 1) to commit?

/type question