Table component for Beta

Table is a component that we want to test in EDS 2.0. We used Data grid table as a starting point and added auto-layout and proprieties in order to be aligned with all new component in EDS 2.0.

After common review, i added the hover variant and adjusted the auto layout labels.
Ready for review @benteljones @BirteThornquist before we implement colors and space tokens

Naming: Component 1 and Table. Change to cell & header in the design menu, component name?
Should the icon on the right side stick to the right edge? If not they would be placed differently, not aligned vertically, because of different text lengths.
When I type some text, the box, shape, stops after a while, but the icon and text continue. 🤔

Naming is now up to date, good catch :) @benteljones
When you resize cell or header it misses its "hug" attribute and is set to fixed. It is the same for the button component. I should investigate to see if there is a solution for this.
The right icon should be next to the label and not to sticked to the right edge other woae it can be confusing in the table.

When there is only an icon on the header and not in the cells, a close contact between the text and the icon on the right will make sense. It's quite possible that it should be placed consecutively after the text anyway. We should still take a final check on how it will turn out since we are opening up using icons in the cells as well. And in some cases both the icon on the left and the right; for example both a symbol and unit of measurement. Do we have any examples from users using these variants, or should we make one as a final check-out? Examples with icons in header and cell, both variants? How does it look in an overall context? How will it be with the variant input with icons?

Impossible to have autolayout + constraints for table. We need to choose either the icon is right aligned or that the text scales

I believe Ive got a solution that could work.


How do I implement ducking on Android ?

Actually on background music is playing and when react-native-sound play it should lower the other sound. How to achieve this?

Similar to https://github.com/zmxv/react-native-sound/issues/652


updated .gitignore

updated .gitignore file

Summary by CodeRabbit

Chores

Updated the .env.example file for clarity in the MONGO_URI declaration.
Enhanced the .gitignore file to exclude additional log files and editor-related files, improving project file management.

it is solved


[FLINK-16089][docs] Translate "Data Type" page of "Table API & SQL" into Chinese

What is the purpose of the change
This pull request translates "Data Type" page of "Table API & SQL"  into Chinese.
Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable)

Hi @danny0405 , could you help to review this?

@wuchong , sure, let me take the review work.


fix(behavior_path_planner): fix simultaneous execution

Description

The value of isSimultaneousExecutable* cannot be changed dynamically when the module is not requested.
For example, we want the value of fixed_goal_planner to always be true, but if there is another module ahead of it in the first place, the module will not be requeted and the value cannot be changed.
In this PR, the value is changed to be changed on the manager side.
Also, complex functions were removed.
Related links

Tests performed

psim
LC -> fixed_goal_planner
https://github.com/autowarefoundation/autoware.universe/assets/39142679/53f02b27-e98f-4bb7-bf3d-e1c93f961a45
back pull out -> avoidance
https://github.com/autowarefoundation/autoware.universe/assets/39142679/abe3f7c2-f793-435c-82d9-3a4f93ecd9cf
tier4 scenario simulator 1584/1584
https://github.com/tier4/sim_evaluation_tools_test/issues/109
Notes for reviewers

Interface changes

none
Effects on system behavior

none
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.
[ ] The PR has been properly tested.
[ ] The PR has been reviewed by the code owners.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.
[ ] The PR is ready for merge.

After all checkboxes are checked, anyone who has write access can merge the PR.

@satoshi-ota
evaluator result looks good
tier4 scenario simulator 1584/1584
https://github.com/tier4/sim_evaluation_tools_test/issues/109


Feature request - Hints, Related topics

Hi, thanks for the amazing library.
I've started solving the leetcode and I feel that two additional features can be more helpful.

Hints
Related Topics

Hints can be helpful while reviewing the questions after sometimes.
Related Topics are also helpful while recalling the solutions.
Hints and Related topics can be added to the bottom of the question file, or they can be stored in new files.
Thanks again.

Hi, I agree with @sudarshaana. We should definitely add Related topics. I feel it would be better to add related topics as part of the commit message instead of the time and space it shows.


:sparkles: (app-data): Adds data backup and restore to install / uninstall app

✅ Checklist

[x] npx changeset was attached.
[ ] Covered by automatic tests.
[x] Impact of the changes:

new commands in live-common to install and uninstall app from device with app data backup and restore
implement those command in LLD, transparent to the user for now (no UI implemented, just the functionality), behind a feature flag
implement those command in LLM, transparent to the user for now (no UI implemented, just the functionality), behind a feature flag

📝 Description
This PR brings two new method in live-common for managing app install / uninstall from the device:

installAppWithRestore: when installing an app, after, check if there is current app data in the provided storage and restore it
uninstallAppWithBackup: when deleting an app, before, check if there is current app data and save it using the given storage

The implementation makes uses of execWithTransport which will be the fork where we call the new method or the old install / uninstall ones
In LLD and LLM, I implemented the new method behind the featureFlag enableAppsBackup. When enabled, it will transparently try to backup and restore app data if any.
Test Conditions

Stax OS >= 1.5.0 | Flex OS >= 1.1.0
Provider 83
Boilerplate App (on device) >= 2.1.0
Having opened the app at least once (and you can meddle with the settings then to see if it's correctly restores)
Bonus => you can trigger mock app update in Developer Settings to fake updates and reinstall the current apps on your device

❓ Context

JIRA or GitHub link: LIVE-13453 [LIVE-12585]

🧐 Checklist for the PR Reviewers

The code aligns with the requirements described in the linked JIRA or GitHub issue.
The PR description clearly documents the changes made and explains any technical trade-offs or design decisions.
There are no undocumented trade-offs, technical debt, or maintainability issues.
The PR has been tested thoroughly, and any potential edge cases have been considered and handled.
Any new dependencies have been justified and documented.
Performance considerations have been taken into account. (changes have been profiled or benchmarked if necessary)

Great job ! And thank you for fixing the lc parameter errors in the use cases.


Skroutz::PaginatedCollection doesn't have a next (or previous) page, when it should.

This should return the first page of the category "cases" for "iphone"
arr = @skroutz.categories(579).skus(q: 'iphone')
To be precise, this returns a Skroutz::PaginatedCollection but the methods next? and previous? return false. Of course, if I try to arr.next_page I get nil.
The following also returns a Skroutz::PaginatedCollection but next? and previous? return true and arr.next_page gives me the next page as it should.
arr = @skroutz.search('iphone').first.skus.all.first.products.page(1)
Note that search('iphone').first asks for the first category of the search results, so it's not like I am asking for different things. That's why I chose the 579 category for the first case, which has endless results.

This isn't a skroutz.rb issue.
If my memory serves me right, it happens because the HTTP response of
@skroutz.categories(579).skus(q: 'iphone') is missing the required pagination header (see: https://github.com/skroutz/skroutz.rb/blob/master/lib/skroutz/parsing.rb#L43).
Can you setup a logger (see: https://github.com/skroutz/skroutz.rb#logger) and verify?

Can you explain a bit what you linked?
I will try it tomorrow. Thanks for responding.

@GusAndrianos The client depends on the presence of the Link header of the HTTP response.
See: http://developer.skroutz.gr/api/v3/#pagination
When the header is missing, the client does not make assumptions and without pagination information, the following methods are designed to return:

first_page? => true
last_page? => true
first => nil
last => nil
next =>nil
previous => nil

Does this make things clear for you?

Yes that helps. Okay, so, in order to fix this, is there anything I can do before making the request?
I am very new to the API, so, I am sorry for being noobish.
The biggest issue I have is not knowing how to transfer the documentation to Ruby code.

@Zorbash What should I look for in the logs? Can you suggest a way to make this work?

@GusAndrianos You should look for the link header.
In any case to keep this issue open, you need to provide a test case of the behaviour you expect from the client, or proceed with troubleshooting via email (mailto: api[at]skroutz.gr).


[MB-10521] Use ReServiceCode constants instead of string literals

Description
We have quite a few places currently in the code where we are using direct string literals like DLH instead of the constants we have set up for the custom models.ReServiceCode type (like models.ReServiceCodeDLH).  This PR attempts to fix all of those.
Setup
The main check is to make sure the tests still pass.  There should be no functional changes in this PR.  You could also try to price something as a spot check.
Code Review Verification Steps

[ ] If the change is risky, it has been tested in experimental before merging.
[ ] Code follows the guidelines for Logging
[ ] The requirements listed in Querying the Database Safely have been satisfied.
Any new migrations/schema changes:

[ ] Follow our guidelines for zero-downtime deploys (see Zero-Downtime Deploys)
[ ] Have been communicated to #g-database
[ ] Secure migrations have been tested following the instructions in our docs

[ ] There are no aXe warnings for UI.
[ ] This works in Supported Browsers and their phone views (Chrome, Firefox, IE, Edge).
[ ] Tested in the Experimental environment (for changes to containers, app startup, or connection to data stores)
[ ] User facing changes have been reviewed by design.
[ ] Request review from a member of a different team.
[ ] Have the Jira acceptance criteria been met for this change?

References

Jira story for this change

Messages

:book:
:link: MB-10521

  Generated by :no_entry_sign: dangerJS against b76af45747d14ff602d45c85cbc0a7ab723ad315


Update README.md CSS Preprocessor --> node-sass-chokidar alternative

Updates Readme --> CSS Preprocessor to include information on node-sass-chokidar alternative to node-sass.
I originally brought this up in this #1986
Screenshots of package differences
16GB RAM
2.7 GHz i7

node-sass --watch in docker for mac

node-sass-chokidar --watch in docker for mac

Thanks!


Resolve alerts from reveal.js being out of date

This project might be managed with npm?
I tried to update all the things using npm but it looks like we're in the classic dependency circle, so it won't update. I'm tempted to just reinstall reveal.js over whatever is here now instead, but wanted to open this ticket just incase anyone else wanted to have this fight with the package manager first :)

Here's some docs on upgrading reveal: https://revealjs.com/upgrading/


docs(README.MD): Update module author and contributor

Put the rightfull author in the project readme.

This PR is included in version 1.0.0 :tada:


Loss possible for sufficiently small inputs?

Hey,
I have been playing around with the test cases a bit and found that if you extend the no loss test by having the other 2 users redeem as well, you can end up with one user getting quite a bit less than they should have. Since the code has gotten a bit more verbose than it should be for a test, I have also added a shorter isolated test with fixed numbers, to demonstrate the issue. However, I found that the problem only persists for small amounts of GOO input and short delays, so for practical purposes this might be a non-issue after all.
Full GooStew.t.sol
Output of  testNoLossIsolatedScenario():
Logs:
  user1 redeemed goo amount
<PHONE_NUMBER>52
  user0 redeemed goo amount
<PHONE_NUMBER>52
  Error: a >= b not satisfied [uint]
    Value a:<PHONE_NUMBER>52
    Value b:<PHONE_NUMBER>122

Implemented your test and they pass after doing the initial deposit. There are indeed some rounding issues with tiny goo amounts, so if a depositor deposits goo, they need to provide at least 0.000001 goo at the moment.


Add initial commit

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@6df669c). Click here to learn what that means.
The diff coverage is 89.55%.

@@            Coverage Diff            @@
##             master       #1   +/-   ##
=========================================
  Coverage          ?   89.55%
=========================================
  Files             ?        3
  Lines             ?       67
  Branches          ?       13
=========================================
  Hits              ?       60
  Misses            ?        7
  Partials          ?        0

Impacted Files
Coverage Δ

src/components/Alert.ts
100% <100%> (ø)

src/utils/ContainerUtils.ts
76.47% <76.47%> (ø)

src/components/Dropdown.ts
93.02% <93.02%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6df669c...d46be56. Read the comment docs.


Prepare 0.2.0 release

[ ] remove release branch and only keep main from now on (run tests & CI to make sure this doesn't break things) this would break version-tagged docker image releases
[ ] add missing tests
[ ] update README with info on how to run & develop flows in a notebook
[ ] ...

Split this into separate issues and put into the 0.2.0 milestone.


Lastest TypeScript Version Supporting Noir ^0.4.0?

Problem
In a context of a JavaScript project, I would like to be able to compile circuits written for Noir v0.4.0 and above.
I am using the following libraries:

@aztec/barretenberg 2.1.95
@noir-lang/barretenberg 2.19.0
@noir-lang/noir_wasm 0.3.2-fa0e9cff

This combination seems to be incorrect:
panicked at 'Could not deserialize compile arguments', crates/wasm/src/lib.rs:99:33

Stack:

Error:
    at module.exports.__wbg_new_abda76e883ba8a5f (.../node_modules/.pnpm/@noir-lang+noir_wasm@0.3.2-fa0e9cff_@noir-lang+noir-source-resolver@1.1.1/node_modules/@noir-lang/noir_wasm/nodejs/noir_wasm.js:236:17)
    at null.<anonymous> (wasm://wasm/00ca78e2:1:3100381)
    at null.<anonymous> (wasm://wasm/00ca78e2:1:2844249)
    at null.<anonymous> (wasm://wasm/00ca78e2:1:3064319)
    at null.<anonymous> (wasm://wasm/00ca78e2:1:552352)
    at module.exports.compile (.../node_modules/.pnpm/@noir-lang+noir_wasm@0.3.2-fa0e9cff_@noir-lang+noir-source-resolver@1.1.1/node_modules/@noir-lang/noir_wasm/nodejs/noir_wasm.js:134:22)
    at Context.<anonymous> (.../test/factFortress.js:89:31)
    at callFn (.../node_modules/.pnpm/mocha@10.1.0/node_modules/mocha/lib/runnable.js:366:21)
    at Hook.Runnable.run (.../node_modules/.pnpm/mocha@10.1.0/node_modules/mocha/lib/runnable.js:354:5)
    at next (.../node_modules/.pnpm/mocha@10.1.0/node_modules/mocha/lib/runner.js:498:10)
    at cbHookRun (.../node_modules/.pnpm/mocha@10.1.0/node_modules/mocha/lib/runner.js:539:7)
    at done (.../node_modules/.pnpm/mocha@10.1.0/node_modules/mocha/lib/runnable.js:310:5)
    at .../node_modules/.pnpm/mocha@10.1.0/node_modules/mocha/lib/runnable.js:371:11

Note that a circuit < v0.4.0 compiles fine with @noir-lang/noir_wasm 0.10.0 (but this version does not compile circuits ≥ 0.4.0).
Do you know which combination of versions should be used?
Proposed solution
N/A
Alternatives considered
No response
Additional context
No response
Submission Checklist

[ ] Once I hit submit, I will assign this issue to the Project Board with the appropriate tags.

Closing as this issue has become stale. Please re-open if this persists!


linux support

failed while trying to build build.gradle on Arch Linux
I'm assuming Linux is unsupported.

Looking into this, but following the build instructions does just work on my machine.
However, I suspect the problem is that the pcap library being used doesn't support some of the interfaces that get put into interfaceList, and forcing them to be used with a try catch just results in a JVM coredump precisely when traffic happens that matches the filter.


!restart and !load_map change gamemode to survival

The Commands !restart and !load_map are not respecting the current game mode and always start the map on a survival game.
This is because the game mode is hard-coded within the payload of the function change_map in class server

Vanilla

KFGameContent.KFGameInfo_Endless - Endless mode
KFGameContent.KFGameInfo_WeeklySurvival - Weekly
KFGameContent.KFGameInfo_VersusSurvival - Versus

Modded

ControlledDifficulty.CD_Survival - Controlled Difficulty
KFGameHardBoss.KFGameInfo_HardBoss - Hard Boss Mode

There may be others for modded but those two modes are known to be used by others that use Magicked. It might be a good idea to change them into some sort of short hand like the length/difficulty where survival is 0, endless is 1, weekly is 2, and so on. It could use whatever the current game mode is if nothing is tossed to it.
I may need to test this further but game type changes may require a map change. This has been buggy in my experience so restart_map will likely not work with game type changes anyway. Considering that I am not sure if it would be a good idea to add a  change_game_mode function/command on it's own, if that was a thought, since it would need a new map parameter anyway. Would be best to roll the functionality together.

Looks like that will fix it not changing game mode but won't allow you to change it with the command, which is what I was blabbering about above. Thanks for the tid-bit.

This has been fixed in PR #75 so I'm gonna close this for now.


Conditions to implement

Conditions are the when part of a behavior. They will be necessary for filtering out events based on the criteria.

[ ] payload - filter by attributes of the event payload

[ ] contains
[ ] matches

What else?

These were all implemented in #46


New entries

Would it be possible to see the new entries after refreshing the webpage. There is a nice date stamp and a total number of entries, but it's not easy to see what has been added.
Date added with sort option by date would also be an option.

added a filter as a 1st step in 0.7.3


LRU improvement's part 1

Description
Merge the storage for LRU data with value data stored in hash table.
Testing
CI/CD
Documentation
No.

Merged:
test_bpf_map_lookup_elem_read<BPF_MAP_TYPE_LRU_HASH>,1,8594
test_bpf_map_lookup_elem_read<BPF_MAP_TYPE_LRU_HASH>,0,8582
test_bpf_map_lookup_elem_write<BPF_MAP_TYPE_LRU_HASH>,1,8567
test_bpf_map_lookup_elem_write<BPF_MAP_TYPE_LRU_HASH>,0,8569
test_bpf_map_update_elem<BPF_MAP_TYPE_LRU_HASH>,1,9574
test_bpf_map_update_elem<BPF_MAP_TYPE_LRU_HASH>,0,9340
test_bpf_map_update_lru_elem<BPF_MAP_TYPE_LRU_HASH>,1,30505
test_bpf_map_update_lru_elem<BPF_MAP_TYPE_LRU_HASH>,0,21399

Baseline:
test_bpf_map_lookup_elem_read<BPF_MAP_TYPE_LRU_HASH>,1,9417
test_bpf_map_lookup_elem_read<BPF_MAP_TYPE_LRU_HASH>,0,9442
test_bpf_map_lookup_elem_write<BPF_MAP_TYPE_LRU_HASH>,1,9304
test_bpf_map_lookup_elem_write<BPF_MAP_TYPE_LRU_HASH>,0,9268
test_bpf_map_update_elem<BPF_MAP_TYPE_LRU_HASH>,1,10195
test_bpf_map_update_elem<BPF_MAP_TYPE_LRU_HASH>,0,10114
test_bpf_map_update_lru_elem<BPF_MAP_TYPE_LRU_HASH>,1,32905
test_bpf_map_update_lru_elem<BPF_MAP_TYPE_LRU_HASH>,0,17797

Address sanitizer found an issue. We are incorrectly copying value size + supplemental value into the value field.

Moving to draft until I fix the address sanitizer issue.

FYI, see<EMAIL_ADDRESS>for some documentation about LRU maps.


v4 - Use doge instead of css for  example

When reading through this it looked like another code example, so to make it look extra example-y I made it doge.

What is "doge"?

It's an internet meme that @thejameskyle hasn't learned is irrelevant these days.

@Murilirum http://i.imgur.com/oSYafs2.gif

@thejameskyle I love my doge, don't you worry. https://github.com/returnString/DogeSharp

Aeh...it's a no from me.

I'm a no on the doge thing, but we can clarify it I imagine. Perhaps rename the example code to .example-element instead of changing the text all together?

Fixed


TypeError: components/sections/ProjectGroupbyStatus.tsx:330:9

I've just started getting an error in my report action runs that I think is linked to this PR: https://github.com/bbq-beets/project-report-renderer/pull/9
./components/sections/ProjectGroupbyStatus.tsx:330:9
Type error: Type '{ proposed: any[]; accepted: NoTarget[]; inProgress: NoTarget[]; blocked: NoTarget[]; done: NoTarget[]; warn: NoTarget[]; alert: NoTarget[]; activeGt3Wk: any[]; noTarget: NoTarget[]; pastTarget: NoTarget[]; }' is not assignable to type 'Stats'.
  Types of property 'accepted' are incompatible.
    Type 'NoTarget[]' is not assignable to type 'Card[]'.
      Property 'body' is missing in type 'NoTarget' but required in type 'Card'.

Perhaps not all dependencies where updated when body: string was introduced in Card?

cc @aaronyzhou

cc @aaronyzhou

Reverted that pull request and checking what changed

Reverted that pull request and checking what changed


MM-8662 Allow plugin upload to overwrite installed plugins

Summary
Uploading a plugin file when there already is a plugin with the same Id installed will now ask to overwrite or cancel instead of failing with an error.
Ticket Link
https://mattermost.atlassian.net/browse/MM-8662
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] Ran make check-style to check for style errors (required for all pull requests)
[x] Ran make test to ensure unit and component tests passed
[x] Added or updated unit tests (required for all new features)
[x] Has server changes https://github.com/mattermost/mattermost-server/pull/9969
[x] Has redux changes https://github.com/mattermost/mattermost-redux/pull/732
[x] Has UI changes
[x] Includes text changes and localization file (.../i18n/en.json) updates
[ ] Touches critical sections of the codebase (auth, posting, etc.)

Setup Test Server label detected. Spinmint test server created if build succeeds (checks pass and no conflicts with base branch).

@lindy65 please check. I'll update the JIRA ticket as well.

Hi @levb - do you have a sample plugin I can use to test with?  If so, perhaps you can DM it to me on community.mattermost.com?

Thanks @levb @jwilander

I tested using the pre-built matterpoll plugin and see the warning as pasted below

I don't see a "Cancel" button but was able to press "Esc" to cancel out of that modal.

If I click on "Overwrite" the "Uploading" button changes from blue to grey but there is no other feedback that the plugin is being overwritten.  Depending on the size of the plugin upload, this could take a minute or so which felt long without any feedback that something was happening. (Also just to note that the grey "Uploading" button then became a grey "Upload" button.)

I'm assuming the plugin should have been overwritten and I should have then seen a confirmation?  Instead, I got the errors in the screenshot below

RE: 2. This appears to be a recent stylesheet issue, applies to other ConfirmModals in admin_console on master. I'll log a JIRA on that now, was not sure if it was just my browser.
RE: 3. Let me double-check the state settings, I thought I replicated the existing behavior. I agree that the lack of a confirmation message is confusing, will review it for both use cases.
RE: 4. This may be indicative of https://github.com/mattermost/mattermost-redux/pull/732 not reflected in this build? I am still clueless as to how the dependencies are managed in our npm world. May also be contributing to the UI confusion.
A separate question, @jwilander: if your overwrite upload were successful, it'd end up in the "Disabled" state regardless of its prior one. That's unchanged from the prior behavior of App.installPlugin. I'd argue that either at the App level or at the api4 layer we should save the prior enabled state, and restore it for the newly installed plugin. I am only 2/5 on this because there may be security concerns, like an extra user action required as a confirmation, dunno. I found it confusing.

Thanks @levb

Thanks
Thanks
I'm not sure - will defer to @jwilander

Let me know when you're ready for a second test pass 👍

4- @levb you'll need to update mattermost-redux in package.json to point to a commit at or past your changes in the mattermost-redux repo (and then run npm install which should update package-lock.json for you
As for re-enabling a plugin that was previously enabled: I definitely think we shouldn't disable a plugin that is being "upgraded" in this manner. For plugins we need to trust the admin knows what they're installing and leaving it enabled (or re-enabling it) is the best UX experience to me

@jwilander https://github.com/mattermost/mattermost-server/pull/10005 and https://github.com/mattermost/mattermost-redux/pull/739 should address preserving the enabled status during an update.

Spinmint test server destroyed

Setup Test Server label detected. Spinmint test server created if build succeeds (checks pass and no conflicts with base branch).

Spinmint test server created at: https://i-0bcb663667c1769d5.test.spinmint.com
Test Admin Account: Username: sysadmin | Password: sysadmin
Test User Account: Username: user-1 | Password: user-1
Instance ID: i-0bcb663667c1769d5

Setup Test Server label detected. Spinmint test server created if build succeeds (checks pass and no conflicts with base branch).

Spinmint test server created at: https://i-008c352ddd6452810.test.spinmint.com
Test Admin Account: Username: sysadmin | Password: sysadmin
Test User Account: Username: user-1 | Password: user-1
Instance ID: i-008c352ddd6452810

Hi @levb
Is this ready for a second QA pass or does JW need to check anything first?

@lindy65 this should be fully ready now except https://mattermost.atlassian.net/browse/MM-13496 is still preventing the Cancel button from being seen, and there seems to be flakiness with the webapp on the test server. I don't believe any of my code changes directly affected the webapp, so ignored it. Having said that, I did move the version of mattermost-redux that the app is using forward by a few other commits, so thee maybe issues there.

Thanks @levb
Retested using the pre-built Matterpoll plugin

Although I cannot see the "Cancel" button, if I mouse-over the area, I am able to click and the action is cancelled. This should be fixed by https://mattermost.atlassian.net/browse/MM-13496, correct?

If I click on "Overwrite", the plugin is overwritten and I see a confirmation message Successfully updated plugin from com.github.matterpoll.matterpoll-1.0.3.tar.gz

Let me know whether you'd like me to test again once MM-13496 is fixed!

@lindy65 Sounds like you have been able to confirm that the previous issues have been fixed. I added detailed steps to the JIRA ticket if you wanted to try verifying the details.
It'd be my preference to merge this and not wait for the CSS fix since it is unrelated.

Thanks @levb,
I have retested on the spinmint using the test steps you added to the Jira ticket and did not find any issues.  All steps worked as expected.
I'll defer to @jwilander on merging this PR before the CSS issue is fixed/merged. From a QA perspective, my concern is that a user might not know how to cancel the action without the "Cancel" button being visible? (Hitting ESC works but this does not align with our principle of "fast, obvious, forgiving")

We can definitely merge this before the other bug is fixed, that bug has nothing to do with this PR and it will be fixed before this change is ever included in a release

Spinmint test running for more than 7 days. This test server was terminated.


Json files with tab indnetation cause parser to fail

The following json file (indentation is a tab, not spaces) causes a parse error, when the parser is constructed with YAML(typ="rt").
{
	"key": "value"
}

The error:
ruamel.yaml.scanner.ScannerError: while scanning for the next token
found character '\t' that cannot start any token
  in "test.json", line 2, column 1

Parsing works well if the parser is constructed with YAML(typ="safe")

Maybe we cab do without ruamel.yaml and use just PyYaml?
https://stackoverflow.com/questions/13319067/parsing-yaml-return-with-line-number

Getting line context with PyYaml is not trivial.
There is an open ticket on this issue for ruamel.yaml: https://sourceforge.net/p/ruamel-yaml/tickets/447/
For now, lowering priority because such JSON files will be ignored. Hopefully they don't contain resources we need for our analysis.

See also https://github.com/yaml/pyyaml/issues/456

This seems to no longer happen after moving to pyyaml.


"main" property in package.json

For best practice, you should not use the minified version of ol.js in main property of package.json file.
When someone uses import or require. It will read from that file. It's not good for debugging.
You should configure the main property like this:
{
  "main": "dist/ol-debug.js"
}

Thanks for the suggestion @hckhanh.  The current openlayers package isn't well suited for direct use with import or require.  The package was intended to be used as a way to generate a custom build of the library.  Unfortunately, this isn't easy for anyone to do unless they are intimate with the Closure Compiler or the build tools we provide for it.
There are two problems with the current dist/ol.js which make it unsuitable to be imported or required directly.  1) It is huge - including far more than anybody needs to use in a single application (e.g. two renderers, many source types and formats, etc.), and 2) it is impossible to debug.
Your proposal would address the second problem (impossible to debug) but would exacerbate the first (huge).
I'm going to close this issue because I don't think we want to encourage people to use the full build.  This sucks because we don't have an easy-to-use alternative - although we do provide some documentation on creating custom builds.
One nice alternative would be for our hosted full build to be a useful debug build.  That is, it should point to a sourcemap that pulls in the sources we already host for each release.  This would make getting started with OpenLayers a bit easier - people would include a script tag pointing to the hosted build and would get a nice debugging experience.
For import and require support, I don't think we should work toward a single main for the library.  Instead, I think people should import just what they need.  E.g.
var XYZ = require('ol/source/XYZ');
// or
import XYZ from 'ol/source/XYZ';

We are making progress toward this goal.  The first big part of the effort was getting rid of our dependency on the Closure Library.  The next was reorganizing our files and "exports."  We should soon be able to publish an ol package that lets you do what I've described above (this is not yet ready).


Use Cmath library

With PR #302, complex function that are used in the code generation are imported from the numpy library, but it should be imported from the cmath library. (found in the api/ast/parser.py)
This should be modified when pyccel could support the cmath library.

As of version 1.9.2 (released 13/10/23) Pyccel supports the cmath library


Typo Update commands.md

Description:
This pull request addresses a typo in the commands.md file, located under docs/command-line-interface/commands.md.
Issue:
In the FLAGS section, the usage description for the --output flag contains unnecessary and incorrect placeholders:
"[--output csv|json|yaml | | ]".
The repeated | | is invalid and causes confusion for users reading the documentation.
Fix:
I have corrected this by removing the unnecessary placeholders and ensuring the usage line is properly formatted as:
"[--output csv|json|yaml]".
Importance:
This fix is important because the incorrect formatting could mislead users on how to use the --output flag correctly, potentially causing confusion during the configuration of command-line operations. Properly formatted documentation helps ensure clarity and prevent errors when executing commands.

PR-Codex overview
This PR updates the documentation for the celocli commands command, specifically refining the options available for the --output flag.
Detailed summary

Modified the --output flag options from [--output csv|json|yaml |  | ] to [--output csv|json|yaml], removing the extra spaces and clarifying the valid output formats.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

This file is auto generated by oclif readme command i could not find out what to change in the source to get this output difference. closing


I have some quesition about CGCNN!

I made some material and these materials are not stocked in Material Project.  Consequently, MP_id is not in the Material Project. but I calculated DFT and i got CONTCAR file of each material.
I want to use CGCNN to calculate the made material elasic properties.
how i can use CGCNN?
please Help!

... if you have made some unique material structure and want to use it, you need to modifiy the original cgcnn code. maybe CIFData, collate_pool, and some small part of the total code should be changed. if you analyze the code, you could do it. cheers!


Feat/sighupio/product management#444/update docs releasenote

Considering to release the new module with version 2.4.0
Changes:

created release docs for v2.4.0
updated matrix compatibility

Depends on:

[ ] #130
[ ] #131
[ ] #132
[ ] #133
[ ] #134

Hey! As said in other PRs, I'm working on https://github.com/sighupio/product-management/issues/499 and refactoring nginx, so we will probably release v3 because there are significant changes.


made SvgImage.GetImage public

I will use this for rendering Svg to other languages that do not rely on Image as the output.

looks good!

Just in case you are curious regarding other languages: https://github.com/dittodhole/dotnet-Svg.Contrib.Render


Type definitions in react-query v2.2.3 are not loaded.

Describe the bug
Type definitions in react-query v2.2.3 are not loaded.
To Reproduce
Steps to reproduce the behavior:

Creating a project with typescript.
npx create-react-app react-ts-app --typescript
Change Project.
cd react-ts-app
Install react-query v2.2.3
yarn add react-query
Import useQuery from react-query in App.tsx(@types/react-query is not supported for v2.23)

Additional context
v2.2.3 type definition exists in react-query/types, move types/index.d.ts to root Then we would be able to load the type definition file.
Or is it possible to update @types/react-query?

For now the types are obsolete. There is a work in progress to update them: #626

Sorry I didn't notice that, thank you so much!


[stable/phabricator] Update to the recommended pvc patterns.

This is a split-off of PR #408 to just contain the chart phabricator.
If there's any commonality in changes nessary between this PR and the others that are being submitted at once, please mention them in #408.
Some things to note:

This initial PR will not be updating the Chart.yaml's version string, as I feel it should be done manually per-pr once each chart's otherwise acceptable.
An automated script created the splits and the PRs, on a per-folder basis under stable, after copying the relevent files from a backup of my local copy of #408

@k8s-bot ok to test


Respond to changes in cabal file (dependencies)

I'm using intero with stack's docker support, and it looks to be working now thanks to @houli.
Though, when I make a change to my .cabal file (like adding a build-depends item), the changes don't seem to take until I kill the repl buffer.
This isn't that big a deal now that I figured out how to work around it, but and perhaps this should be opened in another issue, killing the buffer seems to leave a running docker process around.

I'd agree some kind of note or behaviour should react to changes.

And to be clear, a workaround is M-x intero-restart.


[components] make active notes in sequence aware of edits

keep the initiating note reference in each active note to mutate the note accordingly on sequence property and note changes

obsolete


Upgrade 5.10.x kernel & buildroot to 2022.02.3

Have:

Upgraded to buildroot 2022.02.3,
Upgraded 5.10.x kernel version to 5.10.129.

Fix for burmilla/os/issues/132 has been cherry-picked and is assumed to be independent of the kernel version.

Looks that release process got stuck and eventually timeouted https://github.com/burmilla/os-base/actions/runs/2708806319
That is most probably because there is some new or deprecated feature where Buildroot stops waiting for user input.
How you created those config changes? I have done it by temporarily changing this https://github.com/burmilla/os-base/blob/f0d5bb094d00722410cb44fec32da251456e68dc/scripts/build-busybox#L46 to make menuconfig
Then run make config and eventually copied updated config from dist folder.


Hacktoberfest: Add cron task for reboot "sticking" fans

@andyljones Could you add "hacktoberfest" in topics to this repository?
 Maintainers of the repository can add the "hacktoberfest" topic to their repository if they wish to participate.

https://hacktoberfest.digitalocean.com/

Added the tag, but wrt the PR itself - unless I'm misunderstanding what the cronjob does, this seems like much more a job for whichever process is managing coolgpus. For systemd, I think the solution would be:
[Service]
Restart=always
RuntimeMaxSec=300

If you're using systemd, would you mind trying this out? If it works, we'll add this to the readme instead.
I'm also curious as to why your fans are sticking. This all fixes the symptoms rather than the disease. Is there any anomalous logging at times when it's stuck?

I probably won't be able to check the stickiness, because it happens about once a week and I don't want to leave the computer in a state where the video card may overheat :(
I will check your version with systemd and report the results. The main reason why I did the cron task was to close Xorgs beforehand.
What kind of logs are we talking about? Where can I see them? Maybe I can grep old records?

The Xorgs should close automatically when the script is killed.
You should be able to get the systemd logs with journalctl -u coolgpus. It should contain the last few months' worth of output; maybe you can find the events from before you started using the cronjob.

Hrm - if the Xorgs are outliving the script, can you try upgrading to the latest version of coolgpus? It sounds like it might be related to this issue.

It works for 3 days already as systemd without rebooting service and sticking.
¯ \ _ (ツ) _ / ¯


in docker

how to i re-use ,removable container ,is there any command sir?

Hi,
To my knowledge, it's not possible to get back removable container.
If you want  again re-pull same image or run same image, then u will get a container.
If your container is in "stop" state it's possible to start that container.
find it in "docker ps -a"
then start container with "docker start" command.
Thanks & Regards
Revathi

Once container is removed it cannot be restored
Get Outlook for Androidhttps://aka.ms/ghei36

From: lingam<EMAIL_ADDRESS>Sent: Wednesday, October 10, 2018 6:05:32 PM
To: QT-DevOps/DevOpsIssues
Cc: Subscribed
Subject: Re: [QT-DevOps/DevOpsIssues] in docker (#214)
Tq mam
On Tue, Oct 9, 2018, 6:41 PM revathi-muthana123<EMAIL_ADDRESS>wrote:

Hi,
To my knowledge, it's not possible to get back removable container.
If you want again re-pull same image or run same image, then u will get a
container.
If your container is in "stop" state it's possible to start that container.
find it in "docker ps -a"
then start container with "docker start" command.
Thanks & Regards
Revathi
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/QT-DevOps/DevOpsIssues/issues/214#issuecomment-428185825,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ao-f7gU5TDXbzcc0hivzlxgPV5_KLG_Cks5ujKCDgaJpZM4XSwos
.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/QT-DevOps/DevOpsIssues/issues/214#issuecomment-428554400, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ACU0rV6eTnlWZdH_8w2WhNBo0lv2V7sDks5ujemUgaJpZM4XSwos.


fix(autocmds): jump to last loc in buffer

vim.api.nvim_win_set_cursor is expecting a window handle but was being passed the current buffer's handle instead

thanks! I actually wonder why that did work

No problem! And yeah, not sure - it wasn't working on the couple of environments I investigated it on, which is how I found it in the first place


Select radio by label text (not by value)

How do I select a radio button by its label's visible text instead of by value?
e.g.
Given the following elements I usually find the label I want to click using XPath (e.g. //label[@for=//input[@name="gender"]/@id][normalize-space()="Male"]):
<input type="radio" name="gender" value="male" id="male">
Male
<input type="radio" name="gender" value="female" id="female">
Female

There may be a better way and when I was testing out Selenide I was hoping it would have a better solution. Labels can also not have a for attribute and simply contain the input (e.g. <input type="radio" name="gender" value="male" id="male">Male).
Is there a better way? What would be the recommended way to do this with Selenide?

I suppose //label[normalize-space()="Male"][.//input[@name="sex"] or @for=//input[@name="sex"]/@id] could be used to select an input's label for either scenario (input nested in label or input id referenced by the for attribute).

In short, I think a selectRadioByLabel method would be a nice addition. e.g.
$(By.name("gender")).selectRadioByLabel("Male")

mfulton26 try use methods from Selenide library selectRadio(By.cssSelector(selector, "label");
For ex. I used in my code:  selectRadio(By.cssSelector(".mui-enhanced-switch-input"), "withOthers");

Closing due to inactivity.
Probably it's not really needed because

it's easier to just click this label: $(byText("Male")).click();
nowadays html page consist of thousands of custom components. Radiobuttons and their labels can be implemented very differently.


Background is shown on exit transition

Hello!
I've been trying to produce where 2 screens (Greeting & Profile) interact. Greeting is fixed, and the Profile slides in from the right on top of Greeting, when exiting I expect Profile to slide off to the right, (normal slide in right). I expect Greeting to show until Profile covers it by sliding over it.
The issue I have is when Profile is sliding in from the right, Greeting immediately gets removed and background is shown. If I set an animation like fadeOut as exitAnimation on Greeting, it will show the entire animation and keep the Greeting screen as long as the animation is running.
I've also set the animation style on the Greeting screen in this fashion:
@Destination(style = DestinationStyle.Animated.None::class)
Video showing the issue:
https://github.com/raamcosta/compose-destinations/assets/1526920/00c961a3-15d4-44d7-89ab-1226cdaa49bb
A patch that reproduces shown the issue on the playground:
exit_animation_diff.patch

This is part of our playground app which is not meant as an example for anyone, it’s just where I do crazy things to test stuff.
As such, I don’t doubt there is plenty wrong things in it. What I can say is that animations on compose destinations are just a wrapper of the official APIs, such that we just provide a different way for users to tell the framework what animations they want and then we provide those when calling the official APIs.
Because of this, I’m sure we can either fix my implementation of this animation, or, if there is indeed some issue, it will most likely be with official library and not compose destinations.
let me know if this helps 🙂

Thanks for your quick reply! I just dug deeper into it, it seems like it same issue appears on the standard library.


Any plans to extend it beyond three levels?

Hi,
just came across this and I am absolutely thrilled.
Any plans to extend it beyond the third level?
Best
Tobias

Tobias,
No plans really. I believe people have modified it the past to do so fairly easily.

New version released.


Rename pool.go to y pool.go

PR checklist

[ ] Tests written/updated
[ ] Changelog entry added in .changelog (we use unclog to manage our changelog)
[ ] Updated relevant documentation (docs/ or spec/) and code comments

Spam PR or fat fingered it.
User blocked for 7 days.


[kitchen] Add tests to check that the Agent does start with Python 3

What does this PR do?
Adds sanity checks to verify that we do include Python 3 and that the Agent can restart in Python 2 or Python 3 mode.
Motivation
Python 3 support starting with 6.14.0.
Additional Notes
Kitchen tests currently fail because the install directory is not removed on Linux. See the related datadog-agent PR and integrations-core PR.

Tests are still flaky 😞 I'll revert the "check datadog-agent status" part for now and merge the "start with python3" checks only, and I'll get back to this after the freeze


Add "--publish" to repos that use new RepoToolset version

There's a new RepoToolset change that makes --publish a required parameter to publish artifacts. E.g., for the RepoToolset submodule itself, this:
https://github.com/dotnet/source-build/blob/cfc21efbb00f92cf384a4b457bbe3d8bd1d81e09/repos/roslyn-tools.proj#L5
should change to:
<BuildCommand>$(ProjectDirectory)\build$(ShellExtension) --pack --publish --configuration $(Configuration)</BuildCommand>

As RepoToolset users are updated to use the new toolset, source-build will need this change for each one.

This is pointing out an issue that may occur when repos update their SHAs.  We'll fix it when it breaks.  There is really nothing proactive that we can do with this.


Add BarrOff to Contributions.md

Hello,
created a basic Contributions.md. Structure based on one I found in another git repo.

Sweet! 👍


When embedded in an article, survey titles are misaligned with large margin

When embedded in an article, survey titles appear to have a large right margin preventing use of a full line of text. See image below:

@geoo89 this seems to be fixed now


Theme configuration exceeds 1.5 MB limit.

Is your feature request related to a problem? Please describe.
I have a settings_data.json file that has a ton of "Configure To Order" attributes for products where the customer can choose what they want in the "CTO". I sell refurbished Servers for multiple brands. So there really is no end in sight for the amount I might need to add.
I am no longer able to save my settings_data.json file with ThemeKit. I get the following error.
`10:32:57 [development] processing config/settings_data.json
[development] (config/settings_data.json) Theme configuration exceeds 1.5 MB limit. Delete a section or reduce text content in order to save.`
Describe the solution you'd like
Is there a way to open this limit? Is the limit set by ThemeKit or by Shopify?
Describe alternatives you've considered
I could remove some older products but sooner or later I will run into this issue again when a new Generation comes out. Which is almost every other year. So not really a solution to make the file smaller. I also thought about splitting up the file but not sure how to go about that in a .json file.
Additional context
Anytime I put the word "Shopify ThemeKit" in the search. It brings me a ton of "Shopify Theme" related searches. I was not able to find anyone with this problem. If anyone can point me in the direction of opening this limit it would be much appreciated.
Thank you.

Shopify has a file limit. it's not ThemeKit.

Shopify has a file limit. it's not ThemeKit.


file uploads failing

On the page where you can usually see the image it just has some type of error.
In the logs:
[GIN] 2021/08/10 - 16:54:38 | 200 |   26.895968ms |  <IP_ADDRESS> | GET      "/"
[cors] 2021/08/10 16:56:08 HandlerFunc: Actual request
[cors] 2021/08/10 16:56:08   Actual request no headers added: missing origin
2021/08/10 16:56:08 trying: 0/0/0/b.php
2021/08/10 16:56:08 NOT FOUND
[GIN] 2021/08/10 - 16:56:08 | 404 |     7.05544ms |  <IP_ADDRESS> | POST     "/wp-content/plugins/easyrotator-for-wordpress/b.php"

Fixed, turned it out wasn't a problem with the go code at all, it was the nginx proxy that was limiting the file size:
https://github.com/nginx-proxy/nginx-proxy/blob/main/README.md#custom-nginx-configuration
https://github.com/compscidr/iac/commit/342d414f3335a321d03a3171dba84fb42a4c4a7e


[WIP] PARQUET-1166: Add GetRecordBatchReader in parquet/arrow/reader

Ping @xhochy @wesm.
Sorry for the delay, I finally get some time to finish this feature.
This is just work in progress, but I want to get feedback before any further.

Ping @wesm @xhochy, do you have any comments?

Will review soon, have been underwater with the Arrow 0.9.0 backlog. Is there a possibility that individuals from Baidu may become more involved in Arrow development as well?

Is there a possibility that individuals from Baidu may become more involved in Arrow development as well?

I can't speak for my company. I will have to check with my manager and technical leader. However big company always wants something in return: reputation/business benefits etc.
However, me as an individual can be more involved in Arrow development in my spare time if some help is needed.

I can't speak for my company. I will have to check with my manager and technical leader. However big company always wants something in return: reputation/business benefits etc.

Sorry for the delay(busy setting up cluster spark app profiling).  I checked with my manager, the general response is that:

with limit amount of dev resource, we will contribute back internally features if suitable,  but should not actively work on community issues.

However, I will try to figure out if there is issues I can work on in my spare time

@wesm @xhochy do you have any other comments, in particular with:

Document wording since I am not a native speaker
The approach with generating table of row group first, then constructing a TableBatchReader
More test cases should be added?

If not, I will update the PR title, and maybe rebase commits to get a better commit history, then it should be ready for merging.

ping @wesm @xhochy

Looks good from my side, if @wesm does not object, I'll merge tomorrow.


Introduce complementary UiAutomator API on Android

Motivation:
While Espresso is sufficient for most use cases, interacting with UI outside of the application is a common requirement.
Work has already been done in this regard here

It can be very useful to generate UIAutomator's js API. @danielmschmidt
https://developer.android.com/reference/android/support/test/uiautomator/UiDevice.html

@omerwin please associated this ticket with your PR 🙏


Biome images

This moves the biome and spawn information into the "How to get" section and shows images for the ground. It shows the name of the biome in a tooltip.

The snow biome sure is bright, not sure what to do about that though.
Closes #69

Nice. Agree on the brightness, might be worth adjusting levels on it a bit.


making the hacktober website more interactive by using react.jsx as the default programming language

assign me this project


Do not return auth error in case of fallback to auth code grant

In case of LoginManager#onActivityResult() with an AuthenticationError.UNAVAILABLE and redirectForAuthorizationCode == true, LoginManager automatically falls back to the authorization code grant flow.
However, it also incorrectly calls LoginCallback#onLoginError with AuthenticationError.UNAVAILABLE.

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

Looks good, merged.


HTTP client

Hello Developer,
First of all, amazing library it looks very impressive!
I was wondering if you have a HTTP client that can send GET requests using DPDK. I'm asking this since you already have a HTTP server.
Thanks in advance

Thank you for your message.
I had previously added the client mode (https://github.com/yasukata/tinyhttpd-lwip-dpdk/issues/3), but I found it does not work for getting data from nginx, so, made changes in the latest commits (https://github.com/yasukata/tinyhttpd-lwip-dpdk/commit/7df3b9952911404fe99a60346e9089c4415b4bec).
Afterward, I could use this (with the command shown in https://github.com/yasukata/tinyhttpd-lwip-dpdk/issues/3) to fetch data from nginx and h2o; for the nginx case, I needed to add keepalive_requests<PHONE_NUMBER> (a sufficiently large number) to nginx.conf because nginx closes a keep-alive TCP connection after 1000 of message exchanges by default.
Please note that the HTTP parser of this implementation is very naive and may not always work properly.
Thank you very much for your interest.


[CT-2589] [Regression] run-operation does not use DBT_TARGET_PATH env variable

Is this a regression in a recent version of dbt-core?

[X] I believe this is a regression in dbt-core functionality
[X] I have searched the existing issues, and I could not find an existing issue for this regression

Current Behavior
run-operation command does not use DBT_TARGET_PATH env variable and doesn't have target-path argument
Expected/Previous Behavior
run-operation command has target-path argument and uses DBT_TARGET_PATH env variable
Steps To Reproduce

Create new project with dbt init (with any adapter):

>> dbt init test

Create default target dir and make it read-only:

>> mkdir target && chmod -R 0444 target

Make some macro:

>> cat > cat test/macros/hello_world.sql
{% macro hello_world() %}
  {{ log("Hello world!") }}
{% endmacro %}

Run example model with custom target-path:

>> DBT_TARGET_PATH="$(realpath custom_target)" dbt --debug run --select "example.my_first_dbt_model" --project-dir test"

Run macro with custom target-path (it will fail with PermissionError: [Errno 13] Permission denied: 'target/manifest.json'):

>> DBT_TARGET_PATH="$(realpath custom_target)" dbt --debug run-operation 'hello_world' --project-dir "$(realpath test)"

Relevant log output
21:00:23  Sending event: {'category': 'dbt', 'action': 'invocation', 'label': 'start', 'context': [<snowplow_tracker.self_describing_json.SelfDescribingJson object at 0x7f0c095fed40>, <snowplow_tracker.self_describing_json.SelfDescribingJson object at 0x7f0c07efdc30>, <snowplow_tracker.self_describing_json.SelfDescribingJson object at 0x7f0c07efdc00>]}
21:00:23  Running with dbt=1.5.0
21:00:23  running dbt with arguments {'printer_width': '80', 'indirect_selection': 'eager', 'log_cache_events': 'False', 'write_json': 'True', 'partial_parse': 'True', 'cache_selected_only': 'False', 'profiles_dir': '/home/lkozhinov/projects/opensource/dbt_run_operation_regression', 'fail_fast': 'False', 'warn_error': 'None', 'log_path': '/home/lkozhinov/projects/opensource/dbt_run_operation_regression/test/logs', 'version_check': 'True', 'debug': 'True', 'use_colors': 'True', 'use_experimental_parser': 'False', 'no_print': 'None', 'quiet': 'False', 'warn_error_options': 'WarnErrorOptions(include=[], exclude=[])', 'static_parser': 'True', 'introspect': 'True', 'log_format': 'default', 'target_path': 'None', 'send_anonymous_usage_stats': 'True'}
21:00:24  Sending event: {'category': 'dbt', 'action': 'project_id', 'label': '8d8d2e0d-a8ab-40b4-8a3d-98d1fc4e0262', 'context': [<snowplow_tracker.self_describing_json.SelfDescribingJson object at 0x7f0c07efdd20>]}
21:00:24  Sending event: {'category': 'dbt', 'action': 'adapter_info', 'label': '8d8d2e0d-a8ab-40b4-8a3d-98d1fc4e0262', 'context': [<snowplow_tracker.self_describing_json.SelfDescribingJson object at 0x7f0be1dfc8e0>]}
21:00:24  checksum: 4568eb639a77b8fcb3a1f4a07856f42b1ff63f1376652889143968e1dbdafbda, vars: {}, profile: , target: , version: 1.5.0
21:00:24  Partial parsing enabled: 0 files deleted, 0 files added, 0 files changed.
21:00:24  Partial parsing enabled, no changes found, skipping parsing
21:00:24  Sending event: {'category': 'dbt', 'action': 'load_project', 'label': '8d8d2e0d-a8ab-40b4-8a3d-98d1fc4e0262', 'context': [<snowplow_tracker.self_describing_json.SelfDescribingJson object at 0x7f0be1bf62c0>]}
21:00:24  Encountered an error:
[Errno 13] Permission denied: 'target/manifest.json'
21:00:24  Traceback (most recent call last):
  File "/home/lkozhinov/.cache/pypoetry/virtualenvs/dbt-run-operation-regression-AC0esz7o-py3.10/lib/python3.10/site-packages/dbt/cli/requires.py", line 86, in wrapper
    result, success = func(*args, **kwargs)
  File "/home/lkozhinov/.cache/pypoetry/virtualenvs/dbt-run-operation-regression-AC0esz7o-py3.10/lib/python3.10/site-packages/dbt/cli/requires.py", line 71, in wrapper
    return func(*args, **kwargs)
  File "/home/lkozhinov/.cache/pypoetry/virtualenvs/dbt-run-operation-regression-AC0esz7o-py3.10/lib/python3.10/site-packages/dbt/cli/requires.py", line 142, in wrapper
    return func(*args, **kwargs)
  File "/home/lkozhinov/.cache/pypoetry/virtualenvs/dbt-run-operation-regression-AC0esz7o-py3.10/lib/python3.10/site-packages/dbt/cli/requires.py", line 168, in wrapper
    return func(*args, **kwargs)
  File "/home/lkozhinov/.cache/pypoetry/virtualenvs/dbt-run-operation-regression-AC0esz7o-py3.10/lib/python3.10/site-packages/dbt/cli/requires.py", line 215, in wrapper
    return func(*args, **kwargs)
  File "/home/lkozhinov/.cache/pypoetry/virtualenvs/dbt-run-operation-regression-AC0esz7o-py3.10/lib/python3.10/site-packages/dbt/cli/requires.py", line 248, in wrapper
    write_manifest(manifest, ctx.obj["runtime_config"].target_path)
  File "/home/lkozhinov/.cache/pypoetry/virtualenvs/dbt-run-operation-regression-AC0esz7o-py3.10/lib/python3.10/site-packages/dbt/parser/manifest.py", line 1497, in write_manifest
    manifest.write(path)
  File "/home/lkozhinov/.cache/pypoetry/virtualenvs/dbt-run-operation-regression-AC0esz7o-py3.10/lib/python3.10/site-packages/dbt/contracts/graph/manifest.py", line 879, in write
    self.writable_manifest().write(path)
  File "/home/lkozhinov/.cache/pypoetry/virtualenvs/dbt-run-operation-regression-AC0esz7o-py3.10/lib/python3.10/site-packages/dbt/contracts/util.py", line 65, in write
    write_json(path, self.to_dict(omit_none=False))  # type: ignore
  File "/home/lkozhinov/.cache/pypoetry/virtualenvs/dbt-run-operation-regression-AC0esz7o-py3.10/lib/python3.10/site-packages/dbt/clients/system.py", line 200, in write_json
    return write_file(path, json.dumps(data, cls=dbt.utils.JSONEncoder))
  File "/home/lkozhinov/.cache/pypoetry/virtualenvs/dbt-run-operation-regression-AC0esz7o-py3.10/lib/python3.10/site-packages/dbt/clients/system.py", line 169, in write_file
    with open(path, "w", encoding="utf-8") as f:
PermissionError: [Errno 13] Permission denied: 'target/manifest.json'

21:00:24  Command `dbt run-operation` failed at 23:00:24.181352 after 0.93 seconds
21:00:24  Sending event: {'category': 'dbt', 'action': 'invocation', 'label': 'end', 'context': [<snowplow_tracker.self_describing_json.SelfDescribingJson object at 0x7f0c095fed40>, <snowplow_tracker.self_describing_json.SelfDescribingJson object at 0x7f0be1db8e80>, <snowplow_tracker.self_describing_json.SelfDescribingJson object at 0x7f0be1db8cd0>]}
21:00:24  Flushing usage events

Environment
- OS: Ubuntu 22.04
- Python: 3.10.6
- dbt (working version): 1.4.1
- dbt (regression version): 1.5.0

Which database adapter are you using with dbt?
other (mention it in "Additional Context")
Additional Context
Adapter: dbt-databricks

Thanks for reporting this @azorej !
This looks the same as https://github.com/dbt-labs/dbt-core/issues/7646 to me, so I'm going to close it as a duplicate.
Please don't hesitate to reach out if you think I was too hasty and this one should be re-opened 🙏


Adding ExtensionAs and SetExtension methods

Proposed Changes

Adding an ExtensionAs(string, interface{}) function as part of EventContext interface to easily read extension attributes. Only supports decoding string extensions. Might need to use something like DataAs decoding functionality to avoid duplicating code, and better support multiple extension types.
Adding a SetExtension(string, interface{}) function to every EventContextV* struct. As it mutates the underlying map, we need a pointer receiver, thus I couldn't add it as part of the EventContext interface.

@n3wscott @matzew Here is a cleaner version. Sorry for the mess up.
Thanks!

Thanks!


Remove unused link CSS variables

Summary
Note: This ticket should be completed after the light and dark link updates.
There are some CSS variables relating to the ic-link which are no longer being used.
💬 Description
The following hyperlink CSS variables are no longer used in any component:
--ic-hyperlink-hover
--ic-hyperlink-contrast
--ic-hyperlink-contrast-hover
At time of writing, the --ic-hyperlink-contrast-visited variable is being used in the ic-link component but the light and dark link updates ticket removes that use, meaning that this variable can also be removed as part of this ticket.
💰 Use value
These variables are not being used so there is no need to keep them, and keeping them may cause confusion for customers.
Additional info
This is a breaking change because some teams / projects may be using the CSS colour variables.

While triaging this ticket, we were wondering whether it would actually be a breaking change...
I think it would be because there is always the possibility someone might be using any of the variables in variables.css as they may come across it and think it an appropriate colour to use for a certain use case. And with these link colours ^ , they may not realise that we don't actually use them in the ICDS components any more / at all.
I do actually remember seeing one team use the hover link colour which is why I must have marked this ticket as a breaking change! So yep, this change needs to be added to the v3 branch.

Do as part of: https://github.com/mi6/ic-ui-kit/issues/1214
Points removed from this ticket, was marked as 0.5

Done in #1214


Dynomite with Jedis in same project

I am trying to use Jedis library along with Dynomite client in the same project. While compiling the project I am getting the below error,

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project cafe: Compilation failure: Compilation failure:
[ERROR] /D:/cafe/CAFE_Etisalat2/src/main/java/com/comviva/mbs/DemoDynoJedisClient.java:[132,40] cannot access redis.clients.jedis.commands.JedisCommands
[ERROR]   class file for redis.clients.jedis.commands.JedisCommands not found
[ERROR] /D:/cafe/CAFE_Etisalat2/src/main/java/com/comviva/mbs/DemoDynoJedisClient.java:[132,95] cannot access redis.clients.jedis.commands.BinaryJedisCommands
[ERROR]   class file for redis.clients.jedis.commands.BinaryJedisCommands not found
[ERROR] /D:/cafe/CAFE_Etisalat2/src/main/java/com/comviva/mbs/DemoDynoJedisClient.java:[140,24] cannot access redis.clients.jedis.commands.ScriptingCommands
[ERROR]   class file for redis.clients.jedis.commands.ScriptingCommands not found
[ERROR] -> [Help 1]

I am using JDK 1.8 and Dynomite 1.7.2 and Jedis 2.9.1. I am using maven for compiling my project
Any suggestions?
It is not an issue, it is Query.

After checking dependencies for dyno-client, changed the jedis version from 2.9.1 to 3.0.1 in my project.
After that, it started compiling with out any errors.
Thanks for reading.


Allow exposing reverse proxy ports

In setups without Traefik, we might want to configure the Timeseer Reverse Proxy as the public endpoint. Similarly to how we allow exposing Timeseer container ports, allow exposing the Reverse Proxy ports.

This was only done for Podman?

This was only done for Podman?

Sorry, I forgot to update. The Docker role is done now. Thanks for pointing this out.

@jhoekx

Validated in https://github.com/timeseer-ai/timeseer-installer/commit/50e49e2cbfb8a3d6674db0d2cde04f4ab731762c


solvespace release-17.09

Issue description
Absent white char fild for numeric input
Steps to reproduce
release-17.09
run solvespace
draw any object (for example select cirlcle from left panel or click c and grag left mouse)
set dim for it (select circle with left mouse then select distance/diametr from left panel or click d)
double left mouse on dim fild - must be open white fild with editable black char, but white fild absent - otherwise it works correctly - can be edited in blind.
Technical details
As there are absent white fields of the drop-down menu, can be suggested that this is the same bug from gtk3 (solvespace gtk2 ver does not have such bugs)
If drag left mouse on fild it stay be normal (white fild black char), after rel left mouse fild stay black
system: "x86_64-linux",
multi-user?: yes,
version: nix-env (Nix) 1.11.15,
channels(root): "nixos-17.09.2378.af7e47921c4",
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs

Works fine for me both on 0bb77b83e66b852c699db2522e6116c03450552d (nixos-17.09-small) and nixos-17.09 (af7e47921c4), both on Openbox and IceWM, using the config you provided.

@jtojnar So there is some local cause in my system. I weel be think. Thank You for check.

@jtojnar Not having good ideas I'm install new release-17.09 (from file https://d3g5gsiof5omrk.cloudfront.net/nixos/17.09/nixos-17.09.2378.af7e47921c4/nixos-minimal-17.09.2378.af7e47921c4-x86_64-linux.iso) in vbox, with solvespace in system configuration.nix.
When load solvespace it work correct by it version was 2.1 (see screenshot), then check version nixos and it was 17.03 (see screenshot) but in configuration.nix set 17.09 (see screenshot). We see that using setup file 17.09 with 17.09 in configuration realy set 17.03. Please, check real version nixos in Your qemu, this important for my next steps.

I built the VM using nixos-rebuild build-vm -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/af7e47921c481c3b1677e6b25755760a8ff9c411.tar.gz -I nixos-config=slvspac.nix so it definitely is 17.09:

I am not familiar with the VirtualBox image, perhaps you need to update the system with sudo nix-channel -u && sudo nix-env -u.

@jtojnar Jan, please, do one more test - click open in Your solvespace. I got a clean 17.09 and it has a  solvespace 3.0 workload with a visible menu and white fields of sizes, but it suffers from an old error - it crashes on the clik File -> Open, check it out please.
PS Do You have an explanation why the prog installed in the clean 17.09 differs from the program installed exactly in 17.09 in which it was previously build from a local tree?
I come up with one explanation - some libraries are not reinstalled at the same time.

@nickbeljaev The fix is not yet in nixos-17.09 so it will crash. You can see how old the channels are here: https://howoldis.herokuapp.com/. You can either wait for the channel build to complete or use nixos-17.09-small which already has the fix included.
Not sure what you mean by “installed exactly”.

I mean installed with eq procedure "nix-env -iA nixos.solvespace". My English supported with google and may be trrible. :) I weel read Your link tomorrow. Much needs to be understood.

@nickbeljaev I could have tried reproducing this in VirtualBox, but since you already did, could you share your image (VirtualBox > File > Export Appliance)?

@orivej You can get it  user nick -> nopassw, su -> passwd 123, this 17.03 maked from  17.09 setup This not reproduce at my home, I check 3 times that setup file was 17.09. This strange but not critical, maybe you should not waste time on it.
As for my adventures with the solvespace, I find why not the reproducibility of my situation. I'm build some programs from the master branch (it was silly - now I understand). So my system is something between 17.03 and unstable, surprising that the system has stability on the main points. I could not find a way to return the system to one of the standard branches without destroying, in January I will have time for a full reinstall. So far I'm using solvespsce2.3 (3.0 while not full working) with very much gratitude to its creators. I feel the same to the NixOs team :) I will definitely deal with the solvespace3.0 issue after I return the system to 17.09.

Maintainer of SolveSpace here. The menu issue might be a SolveSpace bug related to how its own OpenGL operations interact with GTK3 OpenGL rendering, but I could never track it down no matter how hard I tried. Could also be a GTK3 bug, though that's less likely. So this is not necessarily a packaging bug.


Implement Add Shopcart Item API logic

Shopcart Item CRUD related tests require the Add Shopcart Item API to be ready in route.py, hence I implemented the logic first. Test cases in test_route.py and models.py are yet to be added.

Once PR #35 is merged to master, change PR base to master.


[BFCL] Package the Codebase

This PR aims to improve the organization and distribution of the codebase by packaging the BFCL codebase. This PR is part of a series of changes that break down the tasks outlined in #510.

Thank you for the contribution @devanshamin 🚀


Fixing flickering with the cursor icon when dragging (#218)

Incresing the area to change the cursor icon to <->

👍


Remove ec2 API bits

Per https://review.openstack.org/#/c/227839/ this service
is no longer deployed by OSA
Connects https://github.com/rcbops/rpc-openstack/issues/1669

👍

recheck_ceph

recheck_ceph


copyright 'mluc' in at least profiles/sRGB-v4.icc has a surprising padding byte

This is more a comment than really a bug. It just confused me for a bit. If this is all intentional, feel free to just close it.
% xxd ~/src/Compact-ICC-Profiles/profiles/sRGB-v4.icc | rg -A2 120:
00000120: 6d6c 7563 0000 0000 0000 0001 0000 000c  mluc............
00000130: 656e 5553 0000 0006 0000 001c 0043 0043  enUS.........C.C
00000140: 0030 0021 5859 5a20 0000 0000 0000 f6d6  .0.!XYZ ........

The first row is 'mluc', the reserved 0 u32, the number of records u32 (1), and the record size u32 (12), so far so good.
The second row is 2 + 2 bytes for enUS, then an u32 "string size in bytes" (6), then an u32 string data offset, then 4 utf-16 characters 'CC0!'. It's 4 character since tags must be 4-byte aligned, so that's the smallest-possible text.
However, the "string size in bytes" is 6, not 8, so tools think the text is "CC0". That might be intentional to match the v2 profiles, where cprt is stored in a 'text', which must be nul-terminated, so there's only room for "CC0".
And indeed, further up there's
00000090: 6370 7274 0000 0120 0000 0022 7774 7074  cprt... ..."wtpt

which says that the cprt data is only 0x22 bytes long – it ends after the '0030'. So the "0021" is padding – but if it's padding, why isn't it "0000" (or "2121")?

I kind of love that you're looking at the profile byte by byte.  Short answer is the 0021 is intended to be padding, and I chose to pad with the UTF-16BE value of ! simply because bangs are more interesting than nulls.
I honestly had forgotten I did that when assembling the profile, which I did manually in a hex editor.  I copied that tag into all my v4 profiles, so they've all got it.
According to the ICC v4 spec, section 7.1.2 d) all pad bytes shall be NULL (as defined in ISO/IEC 646, character 0/0), so this was strictly a violation of the spec.  The reason for the restriction is given in a note that follows:

the likelihood of two profiles which contain the same tag data, yet have different checksum values, is reduced

Certainly allowing pad bytes to contain random/uninitialized data would be against the spirit of the rule, but I figured a single bang wouldn't do any harm 😇

I discovered it because I wrote some code that reads and re-serializes an ICC profile. My code uses null bytes for padding, so my profile was different to yours in that one byte, and due to that, in the profile ID. I used your profile as test input and then was confused for a bit that the output didn't match the input.
Thanks for pointing out that the spec requires null padding bytes, I hadn't seen that yet. Maybe it'd be nice to update your profiles to be spec-compliant then :)

Yeah, honestly I must have missed that note in the spec my first time through it.  There was no such requirement in the v2 spec.  Certainly if I had known these profiles would get as much use as they have, I would have gone with plain null padding regardless.
It seems reasonable to update the profiles given the spec is clear about the padding rules.


Website does not use full scale on smaller viewports

On smaller viewports (less than roughly 480px width), the document appears to be smaller than the viewport. This is mostly noticeable in the navigation bar, which has a darker background that doesn't extend the full width of the viewport.

Using position: fixed on the document container to force a full rect fixes the main layout being too small, but pushes navigation items off the right edge of the viewport:

Looks like its missing the magic viewport initial scale stuff meta tag?

Nevermind, only one of the pages is


Typescript support

Hey there,
love to see the current work flowing into this. Is there any typescript support already built in? I recognized the jsdoc type declarations and the node_modules folder also shows .d.ts files after installing the package. However I got linting issues as soon as I try to work with the refs object, e.g. this.$refs.toggler.addEventListener('click', this.toggle); leads to <html>TS2339: Property 'addEventListener' does not exist on type 'typeof Base | HTMLElement | (typeof Base | HTMLElement)[]'.<br/>Property 'addEventListener' does not exist on type 'typeof Base'.

Closed, because after declare module '@studiometa/js-toolkit'; typescript recognizes the types.

Hey @iuscare, thanks for the report, let me add some info on how you can add types to your components 🙂
A ref can indeed be one of the listed type from the message you got, but the $refs object is generated dynamically based on the Class.config.refs values, we can not define the type automatically. You can however define a custom interface for your component and use the this parameter (see TypeScript doc).
import Base from '@studiometa/js-toolkit';

interface ComponentInterface extends Component {
  $refs: {
    btn: HTMLElement;
    items: HTMLElement[],
  },
  $options: {
    classes: string[];
  }
}

export default class Component extends Base {
  static config = {
    name: 'Component',
    refs: [ 'btn', 'items[]' ],
    options: {
      classes: Array,
    },
  };

  mounted(this: ComponentInterface) {
    // Should autocomplete to `this.$refs.btn` or `this.$refs.items`
    this.$refs
  }
}

As we do not use TypeScript in our project, we do the same with JSDocs comments:
import Base from '@studiometa/js-toolkit';

/**
 * @typedef {Object} ComponentRefs
 * @property {HTMLElement} btn
 * @property {HTMLElement[]} items
 */

/**
 * @typedef {Object} ComponentOptions
 * @property {string[]} classes
 */

/**
 * @typedef {Object} ComponentInterface
 * @property {ComponentRefs} $refs
 * @property {ComponentOptions} $options
 */

/**
 * Component class.
 */
export default class Component extends Base {
  static config = {
    name: 'Component',
    refs: ['btn', 'items[]'],
    options: {
      classes: Array,
    },
  };

  /**
   * @this {Component & ComponentInterface}
   */
  mounted() {
    // Should autocomplete to `this.$refs.btn` or `this.$refs.items`
    this.$refs
  }
}

On a side note, and if you did not find it in the doc, you should know that you can bind a method to a ref event by following the on<RefName><EventName> pattern:
interface ComponentInterface extends Component {
  $refs: {
    toggle: HTMLElement,
    items: HTMLElement[],
  }
}

export default class Component extends Base {
  static config = {
    name: 'Component',
    refs: ['toggle', 'items[]'],
  };

  onToggleClick(event: MouseEvent) {
    event.preventDefault();
  }

  onItemsClick(this: ComponentInterface, event: MouseEvent, index: number) {
    this.$refs.items[index].style.display = 'none';
  }
}

Thanks for your effort in this in depth view how typescript can properly work with the framework. I really appreciate it. I checked your source and saw those jsdoc comments. I guess the types are being generated during the production build out of these jsdoc statements. I am in an ongiong process to switch/rewrite a whole custom written javascript library with your toolkit. It's been a breeze so far. Can sort out so many things, because they are simply included in your library. Guess will stick with it for upcoming projects 😊


Merge master branch to prTesting1_202004141924 branch

Docs Build status updates of commit 3521fad:
:clock10: Pending: waiting for processors (10 builds ahead of you)
:warning: Docs Build is busy, currently there are 10 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit 3521fad:
:warning: Validation status: warnings

File
Status
Preview URL
Details

split/updateTestRef1.md
:warning:Warning

Details

split/updateTestRef1.md

[Warning] Missing attribute: author. Add the current author's GitHub ID.
[Warning] Missing attribute: title. Add a title string to show in search engine results.
Line 1: [Suggestion] H1 is required. Use a single hash (#) followed by a space to create your top-level heading. NOTE: This Suggestion will become a Warning on 04/01/2020.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


[postgresql] The private DNS zone name  is not permitted to end with azure.com from August 28th, 2022

When creating resource postgresql flexible server , the latest version of API requires that the name of privateDnsZoneArmResourceId  has to end with .postgres.database.azure.com. However, per the doc,  the private DNS zone name is not permitted to end with azure.com from August 28th, 2022. May I ask to update the validation to allow setting unreserved private DNS zone name for postgresql flexible server?

@sinbai
Apologies for the late reply. Thanks for reaching out to us and reporting this issue. We are looking into this issue and we will provide an update.

@sinbai Apologies for the late reply. AFAIK, Currently we force the customers to have postgres.database.azure.com suffix for Prod regions.
May I know if you are facing any issues while creating resource postgresql flexible server , using latest resource ? If Yes, please share the error details. Awaiting your reply.

@navba-MSFT  thanks for your reply. Yes, we use the latest stable version 2021-06-01 API to create resource postgresql flexible server, the error is as follows:
  Code="PrivateDnsZoneHasWrongZoneSuffix" Message="The Private DNS Zone name provided is not valid. It has to end with .postgres.database.azure.com.
I was not able to create the private DNS Zone name end with ".postgres.database.azure.com." as the private DNS zone name is not permitted to end with azure.com from August 28th, 2022. When creating a private DNS zone name end with ".postgres.database.azure.com", the error is as follows:
Message="The Private DNS zone name 'acc220922020404116025.postgres.database.azure.com' is not permitted as it is a reserved Azure infrastucture domain and creating such zones may have unintended consequences for DNS resolution for services deployed in your virtual networks. Refer https://docs.microsoft.com/en-us/azure/dns/private-dns-privatednszone#restrictions for more details.

@sinbai I had reached out to the Product Owners as this requires an indepth troubleshooting. Could you please let me know if you can create a a support ticket with these information ?. Then our support professionals can assist you further on this.
Please let me know your thoughts on this.

@navba-MSFT thanks for your time. Could you explain where to create the "support ticket"?

@sinbai Open Azure Portal --> Navigate to your PostgreSql resource--> Select New Support Request as shown below:

Note: If you don't have the right RBAC permissions to create a support ticket, then you may have to check with the subscription owner to create a support ticket on your behalf.

@navba-MSFT thank you so much for your assitance.

@sinbai Please share the ticket # here once you have created it. So that I can check its progress.

@sinbai Please let us know if you were able to create a support ticket to troubleshoot this issue further.

@navba-MSFT I didn't create a support ticket for this issue because the following error disappeared after I checked again. I don't know what happened to the private dsn zones backend. Anyway, I am unblocked by this issue. I will recreated a new issue if this happen again. I will close this issue and thanks again for your help.
Message="The Private DNS zone name 'acc220922020404116025.postgres.database.azure.com' is not permitted as it is a reserved Azure infrastucture domain and creating such zones may have unintended consequences for DNS resolution for services deployed in your virtual networks. Refer https://docs.microsoft.com/en-us/azure/dns/private-dns-privatednszone#restrictions for more details.

Why do you care what the zone is named? Its private it shouldn't matter at all.

It would be great if you could share how you resolved it. I’m encountering conflicting information when trying to use a private DNS with a PostgreSQL Flexible Server. The documentation doesn’t seem to help, and responding to the error messages hasn’t worked either. Interestingly, when I configure it through the portal, it works with a DNS zone name that doesn’t align with the documentation.


Initial contributing guide

Team review text please

Current coverage is 87.69% (diff: 100%)

Merging #84 into master will not change coverage

@@             master        #84   diff @@
==========================================
  Files             8          8
  Lines           772        772
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits            677        677
  Misses           64         64
  Partials         31         31

Powered by Codecov. Last update a2470ff...fa00799

@marioidival create new issue pls


Heading-Pitch-Roll

Added Quaternion.fromHeadingPitchRoll to create a rotation from heading, pitch, and roll angles.
Added Transforms.headingPitchRollToFixedFrame to create a local frame from a position and heading/pitch/roll angles.

So I did a local merge of this into implicit-properties and it ended up being a little more work than I expected to create the below graphic:

The code
var viewer = new Cesium.Viewer('cesiumContainer');
for (var i = 0; i <= 90; i += 15) {
    var position = Cesium.Cartesian3.fromDegrees(-104.0, 45.0, 200000.0 * (i / 15) + 1);
    var transform = Cesium.Transforms.headingPitchRollToFixedFrame(position, 0, Cesium.Math.toRadians(i), 0);
    var rotation = Cesium.Matrix4.getRotation(transform, new Cesium.Matrix3());
    var orientation = Cesium.Quaternion.fromRotationMatrix(rotation);

    viewer.entities.add({
        position : position,
        orientation : orientation,
        label : {
            text: i + ' degrees',
            horizontalOrigin : Cesium.HorizontalOrigin.LEFT,
            eyeOffset: new Cesium.Cartesian3(90000.0, 0.0, -90000.0)
        },
        ellipsoid : {
            radii : new Cesium.Cartesian3(30000.0, 60000.0, 90000.0),
            outline : true
        }
    });
}

Just like Cartesian.fromDegrees returns you a Cartesian3 in earth-fixed; shouldn't Quaternion.fromHeadingPitchRoll do the same thing?  I know this would require it take a position, but it would greatly simplify the typical use case above and I think it would stave off a lot of confusion.
    var position = Cesium.Cartesian3.fromDegrees(-104.0, 45.0, 200000.0 * (i / 15) + 1);
    var orientation = Cesium.Quaternion.fromHeadingPitchRoll(position, 0, Cesium.Math.toRadians(i), 0);

If we wanted to keep Cesium.Quaternion.fromHeadingPitchRoll we could also add a Cesium.Quaternion.fromHeadingPitchRollFixed instead, but I think the latter would be the more widely used version.
It's possible I'm missing something.  What do you guys this?

I agree this should be a one-liner.  I believe the issue with @mramato's example is that it implicitly assumes east/north/up.  Perhaps that is the best default, but we would also want an override (could be separate function) that takes a reference frame that the rotations are relative to.  @bagnell what do you propose for the use cases (camera and geometry) you have seen?

My guess is some people might want HPR to be in body coordinates along the the direction of travel, others might want ENU, still others will be in earth-fixed. We could smooth this out at the entity level as well, since the plan there is to ultimately have a variety of ways to define positions and orientations using various reference frames and axes, similar to what libraries like STK Components have.  A helper specifically for ENU would go a long way until then.

I think this needs to be handled at a low-level and the entity layer will basically just expose it or a time-dynamic version of it.  This is just three rotations and a reference frame with a sensible default.  @bagnell what do you propose?

@pjcozzi This is ready. I'll update the blogs posts and send a message to the forum.

When we merge this, can you please start a new forum thread with a code example that says this will be in Cesium 1.6 on February 2?
Also add a link to that thread from this older one: https://groups.google.com/forum/#!topic/cesium-dev/7MOyzJ9_6so

Have you tested all the corner cases in 2D, Columbus view, and the morph?
For example, in the new camera Sandcastle example, I switched to 2D, then did the heading/pitch/roll zoom, which put me in the wrong place.  Then I tried to morph to CV, and:

Also, for the forum updates, chime in here too: https://groups.google.com/forum/#!topic/cesium-dev/YY0ly3rne_w
And anywhere else you find.

@pjcozzi The crash when switching from 2D to CV is in master too. Go the Viewer on the website, zoom in to Exton, middle mouse click to rotate the view until the heading is about west, switch to CV.
I'm still looking into the crash, but I think this is ready.

Looks good.  Submitting a separate issue for the exception.  Even though it is in master, it is now prominent so we should fix it for 1.6.


RMP-11186 - add new HDF Messaging blueprint that includes Kafka, and …

…Schema Registry
The new blueprint requires that an external database be available for installation. RDS database should be prepared as per documentation before deployment.
For MySQL
JDBC Driver for testing: https://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-5.1.42.tar.gz
prepping db:
https://docs.hortonworks.com/HDPDocuments/HDF3/HDF-3.2.0/installing-hdf/content/configuring_sam_and_schema_registry_metadata_stores_in_mysql.html
For Postgres
prepping db:
https://docs.hortonworks.com/HDPDocuments/HDF3/HDF-3.2.0/installing-hdf/content/configure_postgres_to_allow_remote_connections.html
Once database is prepped and registered cluster can be deployed with blueprint using the advanced settings to attach external database.  On the Services group in the blueprint ports 7788 and 7789 can be exposed to ensure access to Schema Registry from the browser.

@YolandaMDavis One question: When registering the database as a "Database Configuration" which type should I use, per blueprint? Should I select "Other"? And then can I just name it anything?
related doc: https://docs.hortonworks.com/HDPDocuments/Cloudbreak/Cloudbreak-2.7.2/content/external-db/index.html#example-2-other-type

+1
I tested this PR using MySQL (which MUST use the JDBC driver that Yolanda referenced, it doesn't work with ConnectorJ 8, even though the page says it'll work with MySQL 5.5-5.7 and 8).
Yolanda is addressing an issue with Postgres, but this test was successful with attaching an AWS MySQL RDS instance.

@dbialek2 there is a new External DB type called Registry which needs to be used.

@doktoric not quite clear on what failed above?  Details seemed to indicate failure to upload test results (not a failed test).


br: The ResizableRuntime make some unit test taking too long to finish

Bug Report

What version of TiKV are you using?

master
What operating system and CPU are you using?

Steps to reproduce

Run unit test test_txn_api_version::test_raftstore_v2_must_new_and_configure_cluster.
It should finish in 20s, but it actually takes more than 120s.
What did you expect?
The unit tests could finish faster.
What did happened?
It takes too long time to finish.

/label serity/major

/components backup-restore

/label affects-8.5


The TextBlock.Padding value behaves unexpectedly.

Describe the bug
The Padding value set on the TextBlock was not applied properly when TextBlock.TextWrapping was set to Wrap.
<StackPanel Orientation="Vertical" HorizontalAlignment="Center" VerticalAlignment="Center">
    <Border Background="Red">
        <TextBlock Text="Maria Anders Ant Fuller Maria Anders Ant Fuller Thomas Hardy Tim Adams Hanna Moos Martin King"
               TextWrapping="Wrap"
               Height="50"
               Padding="15,15,15,15"
               Width="250"/>
    </Border>
</StackPanel>

Steps to reproduce the bug

Create a new WinUI Desktop app.
Replace MainWindow XAML with the above.
Run the app in VS and see the TextBlock padding.

Expected behavior
It appears that the left and bottom padding was not applied to the TextBlock. The same code works fine with TextBox instead of TextBlock.
I have attached the image difference for both TextBlock (red background) and TextBox (green background) with the same configuration.

I'm not sure if it is a bug or if it works as intended.
Screenshots
No response
NuGet package version
WinUI 3 - Windows App SDK 1.5.4: 1.5.240607001
Windows version
Windows 11 (22H2): Build 22621
Additional context
No response

Yes, this is working as expected.
Left padding is working correctly in your image, otherwise the text would be tight against the left side of the red rectangle. (There is more space on the right side due to where the text wrapped.)
Bottom padding doesn't really get used. The Padding property impacts where the text is positioned (top+left) and where it wraps (right). The text with those layout constraints then gets drawn. TextBlock.Padding does not apply a clip if there is too much text.


how to control the number of variables.data ?

I use tensorflow 2.2.0 ,python 3.6.9
when I saved my model, how to control the number of files 'variables.data' ?
in my machine with titan Xp, saved my model has 2 variables.data files that variables.data-00000-of-00002, variables.data-00001-of-00002.
but in gcp machine with telsa T4, saved my model has 1 variables.data file that variables.data-00000-of-00001
it can be control by user?

@kja815,
Please go through this training checkpoints guide for more information regarding saving checkpoints and let us know if it helps. Thanks!

@amahendrakar
guide is not helpful for me.
I just want to know how to control the number of files 'variables.data' like variables.data-00000-of-000001.
I want to control the number of files 'variables.data' to fixed number.
but when I use model.save(), tf make different number of files 'variables.data' for the same model with different machine.

@kja815,
The max_to_keep argument of the tf.train.CheckpointManager function is used to control the number of checkpoints to be preserved. For more information please take a look at the documentation here.
Also check this gist which demonstrates the same. Thanks!


Dynamic selectivity / Selectivity stats

I do not know the selectivities of my Matchers beforehand - they rely on the data very much. That said, once a set of filters is running, their selectivity will only change gradually (over hours or days).
This calls for a self-balancing Classifier that would keep stats about its matchers' performance (sketch?) and sort based on that (and re-sort once in a while or on a manual input).
I could obviously do this myself, and I probably will. The question is - is something like this interesting to you, would you be interested in writing it yourself, would you accept a SelfBalancingClassifier (or whatever the name will be)?

Hi Petr,
In the classifier, you have a list of attributes you need to match on, each with a bitset associated with each constrained value at the matcher level. As soon as you have built the classifier, you know the number of individual rules which could still fire after applying each matcher, because you can count the bits in each bit set. The idea of the selectivity heuristics is to reorder the matchers so that the most selective matchers (those which knock the most rules out when they match) to the start of the list, and the ones which don't knock out many rules to the end. The reasoning here is that each bitset aggregation operation is linear in the number of rules, even if they enjoy bit level parallelism, it's better to knock rules out early.
The problem with the heuristics mechanism is that every attribute has a distribution of matcher selectivity rather than a point value. If you have a uniform distribution, averaging the cardinalities per constrained value works. It's bad if you have a zipfian distribution, and no amount of dynamism solves this. It also doesn't take in to account the actual data, as you note. Even if every constraint on an attribute knocks out 10k rules when satisfied, the heuristic does nothing if you always hit the wildcard for some dataset, so putting that attribute first is the wrong thing to do. So I see value in dynamism, so long as you accept that reordering is not a perfect mechanism and will only get you so far. If you are thinking of something other than reordering the matchers, I would be interested in your ideas.
On a side note, I have been working on replacing most of the implementation with runtime bytecode generation, to eliminate various indirection and allocation costs, so it's probably better to just fork the code, though if you come up with something that works well please let me know.

Hello,
Sorry for such a long delay, the issue had a low priority as more performance was available to get for us in lower hanging fruit. That said, I finally got to go this. A dynamic sorting heuristic helps a little in our case for matching, but complicates the code and the API so much that we dropped it, and the gains were in low percent because of the extra overhead.
Thank you for your work. I think we can safely close this issue now as something not applicable to the general library.

Hi @JanecekPetr I would be interested to know if you are using this library, or what you were trying to use it for in any case. I don’t intend to maintain it so if you are using it I recommend forking the source code.

We are indeed using this through a private fork (mostly adding more matchers). I'd like to give that back, but have been unsuccessful in the legal battle internally so far.
The use case is pretty much archetypal to what you designed this for: a set of user-provided rules classifying an infinite stream of documents into non-overlapping groups.
This worked better for us than any of the "standard" rule engines as it's built to do exactly what we want, not as a generic engine.

OK thanks very much for the information, I'm happy that it's useful, and don't feel bad about not being able to contribute the enhancements (I would only need to look after them...)


validator metrics?

What is your question?

Have we thought about getting some metrics for the validator client?  This is an issue to discuss that possibility and/or what those metrics would/could be.

pretty sure this is resolved

pretty sure this is resolved

We do have validator monitor metrics, related to performance of validators in the Eth2.0 protocol (profitability, attestation performance)
However this issue refers to validator client metrics, which may include:

VM stats: CPU, RAM, event loop lag, GC runs
Signer metrics: total signed items, signature errors
API client metrics: response times, timeouts, error count
Slashing protection DB metrics

etc

Relevant items to track in the validator:

Is the connected beacon chain too busy / slow?
Is the validator client too busy signing that it's delayed? May happen when it has attached a large number of keys
Is there any config issue such that the beacon chain rejects signatures?