docs(blog): june-2023 community update

Community update blog for the month of June :tada:

tja I made a blunder here, should have wrote the summary in a diff branch; anyways, it is what it is 😒

hey @derberg did I miss anything in the summary?

➡➡ Please remember to add information on the open community meeting for Spec 3.0 docs. We host them biweekly and we should be including this info in our monthly community updates.
previous: https://www.youtube.com/watch?v=dRu9itGfJ1E
upcoming: https://github.com/asyncapi/community/issues/774

Thanks for the review!

➡➡ Please remember to add information on the open community meeting for Spec 3.0 docs. We host them biweekly and we should be including this info in our monthly community updates.

Regular community meetings are part of the newsletter

Yes, and can you please make sure to include information for the spec 3 documentation meeting? it would be beneficial for the broad community to be aware since we want everyone to join not just writers.

Understood
https://giphy.com/gifs/salute-yes-sir-saluting-uMANNaqTUVz0s

Understood

@alequetzalli meetings are added to the newsletter, not to the blog. hope that clarifies this

Hey @alequetzalli, please I would like the blog to be merged latest today or tomorrow before publishing the newsletter

wait, I think you need TWO approvals! O_O
@derberg @akshatnema yo, we need merge help folks 🥺

/rtm


Form validation errors stay on screen when re-rendering due to changed properties

Prerequisites

[x] In the case of a bug report, I understand that providing a SSCCE example is tremendously useful to the maintainers.
[x] I have read the documentation;

Description
Form validation errors stay on screen when re-rendering due to changed properties
The component which includes  maintains form data internally and assigns it as formData prop to the  component.
When user submits the form an gets validation errors, the errors stay on screen even after submitting valid data (validation succeeds, onSubmit fires).
I think internal  state gets messed up when re-rendering due to changed properties.
Testing with _.cloneDeep (as proposed in #306) didn't help.
Although I think handling onChange should be required only for liveValidate mode, adding onChange with or without _.cloneDeep didn't help, either.
Maybe related:

#306

Steps to Reproduce
Here's a fiddle with a mimimal case demonstrating this behavior:
https://jsfiddle.net/h2o/vz4nexpx/
(lodash available in _ variable)

enter invalid data
submit form
correct data
submit form again

Expected behavior
Validation errors are hidden when submitting valid data.
Actual behavior
Validation errors remain on screen.
Version
1.0.0

@edi9999 I've resolved this issue in my pull request. Can you please take a look when you get a chance?

I think this is a dupe of #315.


Feature request: fossil branch support

Is it possible to have official support for fossil in extensions/branch.vim?
I am aware of GetScmBranch() function example in the docs, but:

First glance doesn't make it clear if this extends the built-in functionality or fully overwrites it: if I'd have such a custom function for fossil, would I still keep the vanilla support for displaying git branches?

Even if I succeded implementing a working GetScmBranch() function, it would make my vimrc grow up even more (I admit it's a silly excuse).

Please show fossil some love.
Example output produced by fossil:
When running fossil outside of an open checkout:
fossil branch
use --repository or -R to specify the repository database

When running fossil inside of an open checkout:
* trunk
  other

Current branch is prefixed with "* ", other branches - with "  " (double space) to keep the list alligned.

Hm, I think we don't use mtvee/vim-fossil because this plugin' s latest update day is very old.
What do you think? @chrisbra

@chrisbra
The account of the author of this issue has been lost and future communication is difficult I think so. I don't know much about fossil. Also, I don't know how many people want this feature.
Can I close this issue for once?

Please close

Am 26.06.2020 um 20:06 schrieb IK<EMAIL_ADDRESS>
@chrisbra
The account of the author of this issue has been lost and future communication is difficult I think so. I don't know much about fossil. Also, I don't know how many people want this feature.
Can I close this issue for once?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

This issue has closed


Notary verification

During helper onboarding they need to be in system and have digital seal, error handling

https://xd.adobe.com/view/437a5a85-94c1-4e7c-a95c-8d9492c82ba5-1629/
https://xd.adobe.com/view/5763b7e1-5346-4567-9db9-37a5520fe108-0230/


Document Snap wallet_* methods

Document Snap JSON-RPC API methods that are callable by dapps:

wallet_getSnap
wallet_requestSnaps
wallet_snap
wallet_invokeSnap

Also add example to wallet_requestPermissions for requesting the wallet_snap permission.
Quick preview: Paste contents of this file snaps-openrpc.json into https://playground.open-rpc.org/.
Fixes https://github.com/MetaMask/metamask-docs/issues/1091

great work @alexandratran ! After a first pass, it looks good to me. One thing that would be a great improvement is adding title to each new schema created. This way, when we generate types, we can use the same names. It also somewhat improves the generated output for docs.

@BelfordZ Thanks! Added in the titles.


关于SQL的查询条件进行常量替换下放到JOIN连接条件进行查询性能优化

Feature request
Is your feature request related to a problem? Please describe.

图中（EXPLAIN的结果，仅在这个EXPLAIN结果可靠且代表真实的执行过程）可以看出在join中，t1.UserId = t0.UserId, t2.UserId = t1.UserId,理论上可以推断出 t2.UserId = t0.UserId, 然后现有的SQL优化器并没有这么去推断，导致 t2 几乎扫描了所有的分区，而手动改写SQL之后， t2.UserId=t0.UserId, 只扫描了一个分区，如果能自动实现类似的推断进行查询条件的常量替换，那么对于类似的SQL查询将有很大的性能提升
Describe the solution you'd like

Describe alternatives you've considered

Additional context

It looks like a good optimization point, can someone assign this task to me?

Had fix by

@chenminghua8 大佬，这个已经实现了吗，为什么我这个最新版本3.3.0版本的执行计划没看到谓词下推呢？

@jinkun2014 This bugfix should be contained in 3.3.0, maybe there is another bug. Can you give an example to reproduce this?

@LiShuMing example as :
-- test.t_amadb_product definition
DROP table t_amadb_product
CREATE TABLE `t_amadb_product` (
  `Id` bigint(20) NOT NULL COMMENT "主键Id",
  `UserId` int(11) NOT NULL COMMENT "用户主键Id",
  `AccountId` int(11) NOT NULL COMMENT "卖家账号Id",
  `Site` varchar(65533) NOT NULL COMMENT "站点",
  `Sku` varchar(65533) NULL COMMENT "卖家自己定义的商品标识"
) ENGINE=OLAP
PRIMARY KEY(`Id`, `UserId`, `AccountId`, `Site`)
COMMENT "产品销量、库存、费用表"
PARTITION BY RANGE(`UserId`)
(PARTITION p1 VALUES [("-2147483648"), ("10")),
PARTITION p2 VALUES [("10"), ("20")),
PARTITION p3 VALUES [("20"), ("30")),
PARTITION p4 VALUES [("30"),("2147483647")))
DISTRIBUTED BY HASH(`Id`) BUCKETS 6
ORDER BY(`UserId`, `AccountId`, `Site`, `Sku`)
PROPERTIES (
"compression" = "LZ4",
"datacache.enable" = "true",
"datacache.partition_duration" = "1 months",
"enable_async_write_back" = "false",
"enable_persistent_index" = "true",
"persistent_index_type" = "LOCAL",
"replication_num" = "1",
"storage_volume" = "builtin_storage_volume"
);

DROP table t_amzdb_orders_item_analysis_info
CREATE TABLE `t_amzdb_orders_item_analysis_info` (
  `Id` largeint(40) NOT NULL COMMENT "",
  `BelongDay` date NOT NULL COMMENT "",
  `UserId` int(11) NOT NULL COMMENT "",
  `AccountId` int(11) NOT NULL COMMENT "",
  `Site` varchar(65533) NOT NULL COMMENT "",
  `AmazonOrderId` varchar(65533) NULL COMMENT "",
  `Sku` varchar(65533) NULL COMMENT ""
) ENGINE=OLAP
PRIMARY KEY(`Id`, `BelongDay`, `UserId`, `AccountId`, `Site`)
COMMENT "OLAP"
PARTITION BY date_trunc('month', BelongDay)
DISTRIBUTED BY HASH(`Id`)
ORDER BY(`UserId`, `AccountId`, `Site`, `BelongDay`)
PROPERTIES (
"compression" = "LZ4",
"datacache.enable" = "true",
"enable_async_write_back" = "false",
"enable_persistent_index" = "true",
"persistent_index_type" = "LOCAL",
"replication_num" = "1",
"storage_volume" = "builtin_storage_volume"
);

DROP table t_amzdb_orders_update_log
CREATE TABLE `t_amzdb_orders_update_log` (
  `Id` bigint(20) NOT NULL COMMENT "主键Id",
  `BelongDay` date NOT NULL COMMENT "归属日期",
  `UserId` int(11) NOT NULL COMMENT "用户主键Id",
  `AccountId` int(11) NOT NULL COMMENT "账号Id",
  `Site` varchar(65533) NOT NULL COMMENT "站点",
  `AmazonOrderId` varchar(65533) NOT NULL COMMENT "订单号"
) ENGINE=OLAP
PRIMARY KEY(`Id`, `BelongDay`, `UserId`, `AccountId`)
COMMENT "单个订单每日增量更新记录表"
PARTITION BY date_trunc('month', BelongDay)
DISTRIBUTED BY HASH(`Id`)
ORDER BY(`UserId`, `AccountId`,`Site`, `BelongDay`)
PROPERTIES (
"compression" = "LZ4",
"datacache.enable" = "true",
"enable_async_write_back" = "false",
"enable_persistent_index" = "true",
"persistent_index_type" = "LOCAL",
"replication_num" = "1",
"storage_volume" = "builtin_storage_volume"
);

INSERT INTO test.t_amzdb_orders_update_log (Id, UserId, AccountId, Site, BelongDay, AmazonOrderId) VALUES(6751344676, 5, 11400139, 'us', '2024-05-29', '114-1100145-0637010');
INSERT INTO test.t_amzdb_orders_update_log (Id, UserId, AccountId, Site, BelongDay, AmazonOrderId) VALUES(6515727486, 15, 11400139, 'us', '2024-06-04', '111-5952273-4477057');

INSERT INTO test.t_amzdb_orders_item_analysis_info (Id, UserId, AccountId, Site, BelongDay, AmazonOrderId, Sku) VALUES(6751344676, 5, 11400139, 'us', '2024-05-29', '114-1100145-0637010','S1');
INSERT INTO test.t_amzdb_orders_item_analysis_info (Id, UserId, AccountId, Site, BelongDay, AmazonOrderId, Sku) VALUES(6515727486, 15, 11400139, 'us', '2024-06-04', '111-5952273-4477057','S2');

INSERT INTO test.t_amadb_product (Id, UserId, AccountId, Site, Sku) VALUES(6751344676, 5, 11400139, 'us','S1');
INSERT INTO test.t_amadb_product (Id, UserId, AccountId, Site, Sku) VALUES(6515727486, 15, 11400139, 'us','S2');

result1:
EXPLAIN
SELECT
	t0.Id AS LastId,
	t1.AmazonOrderId,
	t2.Sku
FROM
	t_amzdb_orders_update_log t0
INNER JOIN t_amzdb_orders_item_analysis_info t1 ON
	t1.UserId = t0.UserId
	AND t1.AccountId = t0.AccountId
	AND t1.Site = t0.Site
	AND t1.BelongDay = t0.BelongDay
	AND t1.AmazonOrderId = t0.AmazonOrderId
INNER JOIN t_amadb_product t2 ON
	t1.UserId = t2.UserId
	AND t1.Sku = t2.Sku
	AND t1.AccountId = t2.AccountId
	AND t1.Site = t2.Site
WHERE
	t0.UserId = 5
	AND t0.AccountId = 11400139
	AND t0.Site = 'us'
ORDER BY
	t0.Id ASC

result2:
EXPLAIN
SELECT
	t0.Id AS LastId,
	t1.AmazonOrderId,
	t2.Sku
FROM
	t_amzdb_orders_update_log t0
INNER JOIN t_amzdb_orders_item_analysis_info t1 ON
	t1.UserId = t0.UserId
	AND t1.AccountId = t0.AccountId
	AND t1.Site = t0.Site
	AND t1.BelongDay = t0.BelongDay
	AND t1.AmazonOrderId = t0.AmazonOrderId
INNER JOIN t_amadb_product t2 ON
	t0.UserId = t2.UserId
	AND t1.Sku = t2.Sku
	AND t0.AccountId = t2.AccountId
	AND t0.Site = t2.Site
WHERE
	t0.UserId = 5
	AND t0.AccountId = 11400139
	AND t0.Site = 'us'
ORDER BY
	t0.Id ASC

Because the simulated data has much fewer partitions than the real data, this example is for reference only. I believe you have more abundant test cases.

In the main branch, the predicate had been pushed down. This pr is merged after branch-3.3 created, so the predicate cannot be pushed down in version-3.3.


Get General Help

What's your nodejs Version.
Show the output of: node -v
v18.12.1
What's the version you downloaded the bot?
From the releases e.g.: 10.2.0
10.3.0
Desktop (please complete the following information):

OS: [e.g. iOS] Windows
Version [e.g. 22] 11

Additional context, text and screenshots!

Add any other context about the problem here.

I have a problem with a module

I need help please

Did you tried reinstalling the node modules? Or just manually install discord.js with npm i discord.js ?


Add option to run python script on an arbitrary pdf file of choice passed as cmd line arg

Small refactoring of the code would be a necessity i think. Currently since the scripts 'js' variable is populated using the json already existing in data/data.json, the arbitrary file cant have a filename which resembles(eg:- 04-05-2020.pdf or 27-03-2020.pdf) dates/timestamps existing as part of the data.json. That also needs to be fixed.

Is this still an open issue to be worked on? If so, I might be interested. I would just need some details, of course.

@RandallWert
Thank you for showing interest in contributing.
Sadly, I don't maintain this repo anymore given that the data source and the format of the PDFs they provide have been widely changed, and it requires a lot of rewriting of the core logic to parse data.
I'm closing this issue and will mark the repo as deperecated.
Once again, thanks for willing to help.


Minesweeper game is developed

resolves #724
Description
I have developed and tested the Minesweeper game. It is fully functional and ready for review.
Game Features

A minesweeper game with its main goal to clear a rectangular board containing hidden "mines" or bombs without detonating any of them.
Allow users to choose the difficulty level of the game, such as 1,2,3....7. According to which grid size and number of mines
changes.
If the user opens a cell with a bomb, display a loss message in a toast notification.
Allow users to reset game with help of a reset button.

Below are some Screenshots and video of the game-

https://github.com/aidenybai/million/assets/119878088/07dca57a-411b-474a-9f94-759aafec55de
I am in the process of creating a pull request for this feature. Your feedback is welcome!

**Status**

[x] Code changes have been tested against prettier, or there are no code changes
[x] I know how to update typings and have done so, or typings don't need updating

Semantic versioning classification:

[ ] This PR changes the codebase

[ ] This PR includes breaking changes (methods removed or renamed, parameters moved or removed)
[ ] This PR changes the internal workings with no modifications to the external API (bug fixes, performance improvements)

[ ] This PR only includes non-code changes, like changes to documentation, README, etc.

 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.

 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.

Hey there @neelesh133, can you maybe sign the CLA?

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 25.706%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1257

Relevant Lines:
5082

💛  - Coveralls

Hey there @neelesh133, can you maybe sign the CLA?

@tobySolutions i have signed the CLA.
Thank You!

Could you review my PR. Thank You.

@tobySolutions Could you review my PR. Thank You.

Awesome! Checking it out now @neelesh133. Thanks!


Fixed formatting of arrays within objects

@m-kharbat Should this be backported to 1.1 and 1.2?

Codecov Report

Merging #410 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #410   +/-   ##
=======================================
  Coverage   38.41%   38.41%
=======================================
  Files          20       20
  Lines        1658     1658
=======================================
  Hits          637      637
  Misses       1021     1021

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 f355437...01e1861. Read the comment docs.


One does not simple find the --scripts-version tag documentation

Search results for --scripts-version.
We can see 6 occurences in the code. None of these files is README.
Do you guys plan to remove this argument or maybe it just got lost in docs at some point?

Sounds legit. Closing this issue then. Thanks for clarifications.

@Timer @miraage I think this broke Typescipt in the master branch:
npm notice === Tarball Details ===
npm notice name:          react-scripts
npm notice version:       2.0.5
npm notice filename:      react-scripts-2.0.5.tgz
npm notice package size:  40.3 kB
npm notice unpacked size: 153.1 kB
npm notice shasum:        34ef5ffe8ee7fd57f0533a83af140d151c224009
npm notice integrity:     sha512-UR7eY3N2ZrCfm[...]zPatzxdb22VFw==
npm notice total files:   45
npm notice

  error: unknown option `--scripts-version'

ERROR! An error was encountered while executing
{ Error: Command failed: node /Users/jdunlap/github/create-react-app/packages/create-react-app/index.js --scripts-version="/Users/jdunlap/github/create-react-app/packages/react-scripts/react-scripts-2.0.5.tgz" --typescript my-app --typescript
    at checkExecSyncError (child_process.js:575:11)
    at Object.execSync (child_process.js:612:13)
    at Object.<anonymous> (/Users/jdunlap/github/create-react-app/tasks/cra.js:115:4)
    at Module._compile (internal/modules/cjs/loader.js:654:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:665:10)
    at Module.load (internal/modules/cjs/loader.js:566:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:506:12)
    at Function.Module._load (internal/modules/cjs/loader.js:498:3)
    at Function.Module.runMain (internal/modules/cjs/loader.js:695:10)
    at startup (internal/bootstrap/node.js:201:19)
  status: 1,
  signal: null,
  output: [ null, null, null ],
  pid: 13671,
  stdout: null,
  stderr: null }
Cleaning up.
Exiting with error.


Workaround for #40

Workaround for #40
While it fixes the problem, I'm not sure if it won't cause incorrect behaviour when the CachedFileManager.DeferUpdates is needed.
Or maybe it should just return false in the catch so at least the app shows an error message.

LGTM, l also did some research online, I think this is the way to go for now.


Would it be possible to release latest changes as version 0.3.1 ?

Hello,
In order to use tch-rs additions since 0.3.0 through other crates (I am thinking of rust-bert), I think it would be simpler to have a new release.
Does it sound good to you, or do you have a specific release planning ?

Hello,
I just published version 0.3.1 (from the current github tip). Let us know if you see any issue with this.

Hello,
I just published version 0.3.1 (from the current github tip). Let us know if you see any issue with this.

Everything is good, thank you !

Everything is good, thank you !


Why does multi exist?

Is there some performance gain to using it? If not, it seems kinds superfluous

This is actually pretty funny, look at this comment and the one after it.

lol, well those who don't remember history are doomed to repeat it


Assertion `status.ok()' failed.

Hello ,
I was using leveldb in my debian version with no problem , and then suddendly it's not working anymore , when I try to execute a simple code of for example the db connexion i got that message
Assertion `status.ok()' failed.
what should I verify , can anybody help ?

I'm assuming the assertion is in your code which probably came from the leveldb documentation: Opening A Database? If so can you print out status.ToString() to see why it is failing?

Exactly its about opening a Database , and I guess in this two days , I understood the cause, actually , in leveldb you can open the database only one time  ,like  if for example you do execute two times , either for writing and reading , the first execution work , the second one , won't work , and the error that I had is, Assertion `status.ok()' failed. ,I would love to know how can I resolve that , because I will be in need of using my db many times , like for reading and writing in it in from a GUI that I m creating .

My guess is that you have the error_if_exists option set to true. Did you print the value returned by status.ToString()?

Hi , I updated my code this by adding this line :
if (!s.ok()) cerr << s.ToString() << endl
And actually when clicking on the button of leveldb connexion , it gives me this messag on the command line :  Invalid argument: /tmp/MyDb: exists (error_if_exists is true) , but its not ending any more , like I can do it many time , which I guess its good , if you confirm that for me for sure !
Thanks for your answer by the way !


docs(ingest): add a guide for writing sources

Also upgrade docusaurus and fix some site generation bugs.
Checklist

[x] The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
[ ] Links to related issues (if applicable)
[x] Tests for the changes have been added/updated (if applicable)
[x] Docs related to the changes have been added/updated (if applicable)

@hsheth2 : looks like you need to rebase this


any example for stable diffusion?

Hi, could you please share an example on how to use mlx-swift to run the stable diffusion 1.5, which is similar to the one given under https://github.com/ml-explore/mlx-examples/tree/main/stable_diffusion?

We are working on one and will put it in mlx-swift-examples: https://github.com/ml-explore/mlx-swift-examples


ARROW-5171: [C++] Use LESS instead of LOWER in compare enum

Codecov Report

Merging #4162 into master will increase coverage by 1.41%.
The diff coverage is 80%.

@@            Coverage Diff            @@
##           master   #4162      +/-   ##
=========================================
+ Coverage   87.89%   89.3%   +1.41%
=========================================
  Files         758     617     -141
  Lines       92163   81853   -10310
  Branches     1251       0    -1251
=========================================
- Hits        81006   73101    -7905
+ Misses      11040    8752    -2288
+ Partials      117       0     -117

Impacted Files
Coverage Δ

cpp/src/arrow/compute/kernels/compare.h
100% <ø> (ø)
:arrow_up:

cpp/src/arrow/compute/kernels/compare.cc
83.33% <100%> (ø)
:arrow_up:

cpp/src/arrow/compute/kernels/filter-test.cc
90.24% <66.66%> (ø)
:arrow_up:

cpp/src/arrow/csv/column-builder.cc
95.32% <0%> (-1.76%)
:arrow_down:

cpp/src/plasma/thirdparty/ae/ae.c
70.75% <0%> (-0.95%)
:arrow_down:

go/arrow/math/uint64_amd64.go

go/arrow/memory/memory_avx2_amd64.go

go/arrow/ipc/file_reader.go

js/src/enum.ts

go/arrow/array/builder.go

... and 136 more

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 1c0930d...a0c15e7. Read the comment docs.


Jeepers glm

Hi @lukeslp , not sure if you intended to submit this PR but we're not currently taking outside PRs in this repo as it's experimental.
 I would recommend you invalidate these API keys as they are now public on github so anyone could scrape and use them.
The public repo with examples is at https://github.com/langchain-ai/streamlit-agent , if you have a new streamlit agent app idea to submit there you can create a PR (if it needs changes or files beyond the main app file, it may not be accepted - feel free to file an issue and tag me to discuss)
Thanks!

I’m so sorry about that! I did not. I’m actually hugely grateful to y’all; I just started learning to code again after a 15 year break and the tools from streamlit (and of course langchain and other integrations) have been saving my life. I got a masters in computational linguistics using python back when we were like “wow, we can classify words”
… but I still don’t understand and tentatively don’t like GitHub. I guess I should just clone in the future
Keep it up friends. I have a very big specific need to integrate immersive reader from azure cognitive studios as a wrapper for agent output; my use case is building an accessible chat assistant for people who have had major strokes and similar. I know there’s a lot on the road map but keep it in mind … what I’m doing right now is streamlit app in a webpage and separately parsing and streaming the terminal output to an immersive reader web view at a different port. There must be a better way, but IMO data viz frontend is space magic. It’s a good thing I don’t work on UX!

Very cool! I love the use case! Thanks for doing this work. I'm not too familiar with Immersive Reader, I'm not sure if there will be a good way to integrate it with Streamlit more tightly (didn't see any python backend examples when I glanced at the docs). If there is a good way, it would probably involve rendering the immersive reader  front end as a custom component.


Improvement: append to crontab

Scenario: one server with different projects on it. Each project uses Whenever.
Desired command: cd project_1_path && whenever -w && cd project_2_path && whenever -w --append
This command would append more cron jobs to the block controlled by Whenver.
I think the main change would be at command_line.rb (around line 100), besides more little changes.

This is already implemented. You can pass an identifier to whenever --update-crontab to separate sections of the crontab, like whenever --update-crontab project1. In Capistrano, this is exposed as the :whenever_identifier variable.


Fix condition for insecure mode check in sgnmi_cli

The flag that checks whether sgnmi_cli is using secure_mode or insecure_mode were inverted. Fixing the flag in this PR.

LGTM
Oops. (In retrospect, the flag should have been --use_secure_mode (or --secure_mode) with a default value of True. You generally want to assert a positive condition, not a negative condition.)

After I opened this PR, I had the same thought -- maybe we should move the block around so that it is an assert on positive condition. Let me refactor that since we are touching this section of the code now in this PR


feat: Combining multiple formatters

Description
As on WhatsApp we can make the text bold as well as italic by wrapping *_text_*.
Requirements

[ ] Multiple formatters support
[ ] Test Cases

Additional Context
Check WhatsApp current text edit.
https://faq.whatsapp.com/539178204879377/

Will re-open in future if required


1: how do i add buttons to the main menu 2: how do i add images in the "main" thing on weeks?

Describe your problem here.
idk how to do it
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x86/x32
Did you edit anything in this build? If so, mention or summarize your changes.
nah

it's for a gapple port

In the MainMenuState.hx, there is an array containing all the buttons, add the ones that you want

Main thing? What do you mean?

like this

like in freeyplay

Oh, that’s a project I’m working on, the freeplay select state is not ready yet, but you can do it by adding songs with no voices like this: --Main-–, when I finish the freeplay select state, I will add them (I don’t think I will… just take that in mind)

also my dialogue in not working

that is his dialogue

also my dialogue in not working

Hm… I didn’t edited dialogue… maybe the json is corrupted or animations are missing

like this

Oh! Now I know what you mean! I’ll add them when I get time to do it

also my dialogue in not working

Hm… I didn’t edited dialogue… maybe the json is corrupted or animations are missing

Try Reload Image, or some of the other buttons

i will try again

how do i use the glitch event?

bro my song does not work cuz it's one second off

how do i use the glitch event?

Use the addEventObject(tag:String, object:FlxSprite) to adding it to the events map, then, use the Add GlitchEffect in the events

bro my song does not work cuz it's one second off

Wdym?

lik the vocals and inst are a second off

like the vocals and inst are a second off

Oh freak, that’s bad, really bad

yeah (thats fl studio for ya)

but i fixed it

https://www.youtube.com/watch?v=o5EYG63Vjuk&t=78s

Bro, I haven’t finish it yet! Wait a moment meme!

Bro, I haven’t finish it yet! Wait a moment meme!

sorry 😅

this will likely be done as part of #20

also @miksel1 I can’t do code rn til next week since I’m at my dads home rn

alright, now for the second thing

second thing is (untested) but done 👍🏻


Check if Rails is fully initialized

There is a case where the Rails gem is required but not fully initialized, such as when we require the ActionView gem. Therefore, instead of just checking if the Rails constant is available, we should be more precise and check if the required subsystem is available or initialized for us.

@aleksandr-obukhov thanks for your improvement can you update your branch with latest master branch.

@aleksandr-obukhov thanks for your improvement can you update your branch with latest master branch.

Rebased


Improve management of the screenshots

Implement a script to:

get the latest skills-service
populate with sample data
run cypress tests that generate screenshots
store them in a well-known directory

This script can then be executed every release and the screenshots will automatically update as long the file names are persistent

PR: https://github.com/NationalSecurityAgency/skills-docs/pull/116

:+1:


Add icons to the top bar menu items

Currently there are no icons for the top bar menu items:

It would be nice to add small icons next to the items.

Please clarify the issue once. Is this task all about adding icons after file, edit, view, about help?

Please clarify the issue once. Is this task all about adding icons after file, edit, view, about and help?
or before open file, save, export, project metadat....

Thanks for your comment. The issue is about icons before menu sub-items, e.g. open, save, export, etc. Also under the rest of the menu items, e.g. Undo, Redo, zoom in, notices...

Okay then assign this issue to me.

@tarunsamanta2k20 Hi, are you still working on the issue or we can assign it to someone else?

@vasily-pozdnyakov working on it.  Do you have any custom icons. Then please upload over here.

@tarunsamanta2k20 see the below screenshots.


DevX: Add Codecov

Part of vector-im/element-ios#6306
Used the same config file with https://github.com/vector-im/element-x-ios/blob/develop/codecov.yml, as i've no shining ideas to append atm.
If i'm correct Codecov will be able to comment on subsequent PRs after the base coverage is detected when this is merged. We should be able to see the difference also at https://app.codecov.io/gh/matrix-org/matrix-ios-sdk/pulls

Codecov Report

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

@@            Coverage Diff             @@
##             develop    #1502   +/-   ##
==========================================
  Coverage           ?   11.66%
==========================================
  Files              ?      507
  Lines              ?    83158
  Branches           ?    35522
==========================================
  Hits               ?     9704
  Misses             ?    73096
  Partials           ?      358

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 6f9cac7...141a485. Read the comment docs.


error in Kitematic

Expected behavior
Actual behavior
failed to register layer: re-exec error: exit status 1: output: ProcessBaseLayer C:\ProgramData\docker\windowsfilter\097a736b319880d8222309d560e86b010d203dc376164b9be7be8402b80d31c4: The system cannot find the path specified.
Information about the Issue
Steps to reproduce the behavior

...
...

Please repeat the process via the CLI - if that fails, then open an issue in the appropriate GIthub repo: https://github.com/docker/for-win


Enable Scrolling while dragging item

When there are lot of items, it would be  a nice feature if there is an option to enable scrolling down or up while dragging an item.

Following problem found when implementing this functionality:
When the GridView only loads a specific amount of children, it is possible that the dragged child is disposed while scrolling. This problem leads to an unwished behavior.

Feature added to master and will be published with version 3.0.0


switch tests to use test data from datasets-fs rather than separate github repo

tests currently use the demo-datasets repo. This data has been cloned and added to (to meet minimum number of imgs per label) for the datasets-fs package, so the data can be obtained from there rather than downloading from a separate repo. I.e. the data is already local
We can run the file-server to serve the images in datasets-fs

Status? At a glance I can't see where thisis going on

Can we close this? What's the business value?


Macro to convert back from lootable

If this is a feature, I'm unable to figure it out, sorry. I don't understand macros very well, but I didn't see anything in the ones you've provided that might do this.
Once the party has looted the creature, it would be nice if there was a way to convert it back to normal. Return it to NPC sheet, remove permissions and remove treasure chest overlay (Particularly the overlay, as I can do the other stuff manually if I need to).
-One of the reasons this would be helpful is that sometimes the party would leave a corpse and come back to it later, like a body in a crime scene. The overlay lowers immersion in that particular scene.
-I also like to keep track of what was looted, in case issues arise later where items disappear from bugs or an accidental wipe of inventory from DNDBeyond Importer; I keep bodies on the scene, but hide them after (I keep what was on corpses in a seperate note on the npc). A quicker way to remove permissions would be helpful, so I can mass hide them.
-Or, sometimes the corpses get in the way of combat, with them tiling over each other and players having a hard time selecting themselves, so I hide them but leave them in the same spot, to unhide them after they've moved from the spot. Hiding them, while the players have permissions to observe, leaves it visible to the players. Returning it to a regular NPC, with whatever items or gold is still on the body, then hiding it with a quick right-click, makes it take less time in combat. I can then quickly return it to a lootable item later.
These are just my own reasons, and it's not necessary. It would help smooth things out while playing, keeping everything in the flow, while I manage my players and the canvas.
Thank you for taking the time to read this.

That's worth considering. Just note that once it is converted to loot and removes all the features or does the damaged items or whatever, it can't be converted back in exactly the same way. Otherwise, I'll look into it.

This macro revert to NPC but like DFreeds, we loose must of thing :
async function main() {
  for (let token of canvas.tokens.controlled) {
    await token.document.actor.setFlag('core', 'sheetClass', 'Default');
    await token.document.update({
      'actorData.permission.default': CONST.ENTITY_PERMISSIONS.NONE,
      overlayEffect: '',
    });
  }
}
main();

Released an official version of this in v3.1.6


Git Hosting Plugin keeps loading

When I'm clicking on the Redmine Git Hosting plugin in the Administration menu from Redmine it keeps loading and doesn't open the plugin

Check your log. It might be doing something.

output from the githosting log:
2015-10-11 12:28:26 +0000 [INFO] Flush Settings Cache !
2015-10-11 12:28:26 +0000 [INFO] Create tmp directory : '/opt/redmine/redmine-3.0.4/tmp/redmine_git_hosting/git/gitolite-admin.git'
2015-10-11 12:28:26 +0000 [INFO] Accessing gitolite-admin.git at '/opt/redmine/redmine-3.0.4/tmp/redmine_git_hosting/git/gitolite-admin.git'
2015-10-11 12:28:27 +0000 [INFO] Settings cache flushed!
2015-10-11 12:28:27 +0000 [INFO] Disable README creation for repositories
2015-10-11 12:28:27 +0000 [INFO] Accessing gitolite-admin.git at '/opt/redmine/redmine-3.0.4/tmp/redmine_git_hosting/git/gitolite-admin.git'

And in production.log?

it's working now
in my etc/hosts file was the ip-address wrong


Support venv relocation.

Venv scripts aren't relocatable without edits since their shebangs
record the absolute path of the venv interpreter. However, they should
work when invoked indirectly by the moved venv's interpreter. This
already worked for venv console scripts but it did not work for the
pex venv script, which re-execs when invoked with an unexpected
interpreter.
Add a relocation test that fails and fix the pex venv script to be
more flexible in its venv interpreter identification.

In combination with #1245 and #1246 this change allows for Pants use of installed venvs. Its infeasible to actually use these today due to poor performance of materializing a full venv in a Pants process chroot, but this is generically useful Pex functionality and Pants will solve its perf problem here one day.

Note that in the Pants case this solves the issue that a venv is created and stored in one process execution chroot directory, but ~never again materialized to a process execution chroot directory with the same path.


TPDMDEV-412 - TPDM v1.0 dev complete

TPDM v1.0 with all model and claims updates

@blmeyers Thanks for the review! Notes:
AccreditationStatusDescriptor entity exists and is at the top of the 0020-EXTENSION-TPDM-Tables files
completerAsStaff claim removed
surveyResponsePersonTargetAssociation/surveyResponseTeacherCandidateTargetAssociation - was a missed rename of the entity, the claims were correct, the entity has been fixed.
StaffEducatorPreparationProgramAssociation claim added
survey claim typo fixed

@blmeyers Thanks for the review! Notes:
AccreditationStatusDescriptor entity exists and is at the top of the 0020-EXTENSION-TPDM-Tables files
completerAsStaff claim removed
surveyResponsePersonTargetAssociation/surveyResponseTeacherCandidateTargetAssociation - was a missed rename of the entity, the claims were correct, the entity has been fixed.
StaffEducatorPreparationProgramAssociation claim added
survey claim typo fixed


Serializer Interface

Hey, nice, slim library by the way, will try to use it.
First complain: SerializerInterface should take $context as a second serialize/unserialize parameter.
Otherwise this Interface can have some issues in the future.
Example case i've encoutered:
Made JsonSerializer, json_encode, json_decode method takes additional parameters, which would be impossible to pass.

This is a great suggestion. I'm moving the serializer into my helper library I will definitely consider this change.

Optionally you could construct your JsonSerializer with any options you wanted to use with encoding/decoding.


Add experimental Apple Silicon support

Hi @waydabber!
related to #323
As I mentioned earlier this week, I'm open to starting an experimental branch on this repo with pre-releases so we can get a broad audience for testing.
I think there’s a couple of things that we could still improve here at first sight:

[ ] I would avoid using “m1” naming in code and instead move to either “Apple Silicon” or “arm64” since I’m pretty sure Apple won’t be calling their arm chips m1 forever. I personally would go for arm64 since this is already used for ifdeffing stuff.
[ ] Probably best to move your current modified README to an “Apple Silicon.md” file? We can still link it on the main README, as it does contain a lot of important info. We could also include it in the Wiki possibly.
[ ] I know we just released a 2.0.0 recently, but given Apple Silicon support is a pretty big deal to a lot of users, I’d be all for bumping straight to 3.0.0. This also allows us to do some regular 2.x.x releases in between pre-releases.

Feel free to let me know if you disagree with anything here or if you have different opinions.
I'm going to send you an invite to the MonitorControl team, this will allow you to keep committing on the experimental/apple-silicon branch.

We could really use someone with an M1 device for testing and general maintaining of the project. I remember you helping on an earlier fork I used to maintain before we all moved back to this repo, so I figured you’d perhaps want to help maintain this. If you don’t have time for this or don’t feel like it, no big deal :)
Thanks for all the effort you’ve put in so far. It's much appreciated.

Of course I am happy to help as far as I am able. Changing m1 to arm64 is a good idea I had this thought earlier as well. I agree with the other stuff as well!
(Sorry for replying a bit late, I was out of town...)

Hey I just did all the above starting from the original state of the original state of the experimental branch. The result should be the same but maybe with better continuity.


Add support for github gists

We should add a flag that lets the owner of the binderhub enable/disable private gist support.

@betatim done

@willingc @betatim updated

Sorry about the delay in merging! TYVM for the PR!

Congrats on the PR being merged @mariusvniekerk. We appreciate the contribution. 👍

🎉
Should we deploy (and enable) this to mybinder.org?

I think we should deploy this, test it out a bit, and open an issue to write documentation for it (+ gitlab + raw git repos)

Note that users can't actually use any of this yet since we don't have any UI for it.

yeah I know, but to me that's a feature rather than a bug :-) IMO we should
plan to document and/or add UI around it in a couple of weeks once we've
had time to see the feature in action, WDYT?
On Mon, Dec 4, 2017 at 9:19 AM Yuvi Panda<EMAIL_ADDRESS>wrote:

Note that users can't actually use any of this yet since we don't have any
UI for it.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/jupyterhub/binderhub/pull/306#issuecomment-349034307,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABwSHacflR5l0GpXZXvSgkSkf_213oC5ks5s9CmTgaJpZM4Qt1B7
.

what do you mean by see the feature in action? :) The only way to use them right now is to write your own JavaScript...

oops - maybe I was mistaken, I thought this PR adds the URL entrypoint for gists, does it not?

Nope, we don't have URL endpoints for gist nor gitlab :)

@yuvipanda does #322 cover the remaining work needed for gist, gitlab, and other support?


HIVE-25873: Fix nested partition statements in Explain DDL

LGTM. +1

thanks for the patch @HarshitGupta11  and for the review @rbalamohan !


What is the difference

between "service timeout" and "wait timeout"?

More info in the documentation here https://github.com/heroku/rack-timeout/blob/master/doc/settings.md

Thanks @DSAMPAT!


feat: default unknownKeys strategy can be overridden by parse param

Hi,
It'd be nice to have an option for forcing the default unknownKeys strategy on all objects that have not explicitly defined their own unknownKeys behavior. In real life, I sometimes need to have just one schema for one complex object, but once with strict strategy (mostly in endpoint input validations to avoid mistakes) and once with passthrough (for response validation from 3rd party APIs). With the current Zod version, I don't see any simple solution for my use case without big code duplication. So I'd like to know your opinion on my PR that perfectly solves my problem.
Huge thanks for your awesome library.

I'm broadly opposed to parse params for stuff like this. Schemas should be fully self-contained. Seems like you're use case is entirely covered with something like this, no?
const baseObject = z.object({ ... });

baseObject.strict().parse(...);
baseObject.passthrough().parse(...);

Your code example shows the modification of one object layer. I had in mind deep nested object structures. What is your recommendation how to achieve something like baseObject.deepStrict().parse(...);?
In my project as a workaround I've written a small function helper for deep object transformation, but it's ugly as hell :) so I'm looking for a better solution.


Certificate use in Code flow?

Hi there,
reading through the documentation on authentication for the OneDrive API using the code flow it remains unclear whether a certificate can be used as a client secret to redeem the code instead of a password?
Thanks,
Marko

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

ID: 210daf87-f00d-db74-cdb0-279d033d29de
Version Independent ID: 03050364-41d2-e475-69b1-08b554ade330
Content: Authorization for OneDrive API via Microsoft Graph - OneDrive dev center
Content Source: docs/rest-api/getting-started/graph-oauth.md
Product: onedrive
GitHub Login: @rgregg
Microsoft Alias: rgregg

So through some trial-and-error I managed to get this working I think (I employed a hybrid approach taking clues from another azure oauth flow).
In short, I just replaced the client_secret parameter with:

client_assertion_type set to urn:ietf:params:oauth:client-assertion-type:jwt-bearer
client_assertion set to a JWT token

The JWT token was generated according to this recipe, with one important exception: the x5t header was not simply a "X.509 Certificate SHA-1 thumbprint", but instead a transformed version as I discovered from the ADAL library's _create_x5t_value method. In plain python:
hex_val = binascii.a2b_hex(thumbprint)
x5t = base64.urlsafe_b64encode(hex_val).decode()

Prior to closing the issue I would appreciate someone from MS acknowledging whether this is a proper way to handle this case.

So through some trial-and-error I managed to get this working I think (I employed a hybrid approach taking clues from another azure oauth flow).
In short, I just replaced the client_secret parameter with:

client_assertion_type set to urn:ietf:params:oauth:client-assertion-type:jwt-bearer
client_assertion set to a JWT token

The JWT token was generated according to this recipe, with one important exception: the x5t header was not simply a "X.509 Certificate SHA-1 thumbprint", but instead a transformed version as I discovered from the ADAL library's _create_x5t_value method. In plain python:
hex_val = binascii.a2b_hex(thumbprint)
x5t = base64.urlsafe_b64encode(hex_val).decode()

Prior to closing the issue I would appreciate someone from MS acknowledging whether this is a proper way to handle this case.

Thanks for your feedback, but this is neither a OneDrive nor SharePoint API issue. Could you please ask this question in StackOverflow? https://stackoverflow.com/questions/tagged/azure-active-directory


[QUESTION]  V 2.0 升级后重启报错

Before you submit this issue, you has been search all existed issues and search the documentation

[] I've been search all existed issues
[] I've been read all documentation

Describe your question
具体如下：我该怎么排错？请大佬回复

server.sh 有问题，你自己改改吧
去掉di那个命令


portico: Update footer.

Merged, thanks @rishig!

(I waffled a bit on changing "community forum" to "community chat"; it's possible something like "community Zulip chat"  would be better.)

yeah, don't have strong feelings here. "Community Zulip chat" would look a little long, but agree it might be best.

Maybe "Community chat" is best?  The "Zulip" part is kinda implied given the context.

sounds good. Appended the change to #7450.


net-mgmt/net-snmp Add Observium extended OIDs

Add OIDs and script for the Observium network management system.
https://docs.observium.org/device_linux/
(Adapted for FreeBSD)

Merged, thanks!


Make ESA Commons available in maven central repo

We need more setting for making this repo available in maven central repo

v0.0.1 is availabe now


Fix documentation examples

Update documentation examples according to recent merged PR

@arthur-wsw could you also update those screenshots?

@galuszkak I have updated screenshots on PR #438

@arthur-wsw thank you!


Add feature to update references to other worksheets

PR Details
Currently formulas with references to other worksheets are not updating after insertion of rows or columns in the other worksheet.

Description
Added another parameter to adjustFormula method to check whether to only adjust formulas with references to other worksheets.
In InsertRows and InsertCols, after calling the helper method on the current worksheet, I iterate over the other worksheets to change formulas that reference the worksheet that was just changed.

Related Issue
f := NewFile()
_, err := f.NewSheet("Sheet2")
assert.NoError(t, err)

// Tests formulas referencing Sheet2 should update but those referencing the original sheet should not
assert.NoError(t, f.SetCellFormula("Sheet1", "B1", "Sheet2!A1+Sheet2!A2"))

//insert row in the middle of the range
assert.NoError(t, f.InsertRows("Sheet2", 2, 1))
formula, err := f.GetCellFormula("Sheet1", "B1")
assert.NoError(t, err)
assert.Equal(t, "Sheet2!A1+Sheet2!A3", formula)

Current: Remains as Sheet2!A1+Sheet2!A2
Expected: Updates to Sheet2!A1+Sheet2!A3

Motivation and Context
Currently formulas with references within the same worksheet will update correctly but this will extend the feature to formulas with references across worksheets.

How Has This Been Tested
Added more tests to adjust_test.go

Types of changes

[x] Docs change / refactoring / dependency upgrade
[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist

[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

We're currently processing your upload.  This comment will be updated when the results are available.


Add chunky_png benchmark based on main one for gem

Looks like YJIT gives just over 30% speedup here - 680-ish ms with YJIT versus 1010-ish without.
Chunky_png was the interesting category of benchmark in the old Bench9000 benchmark that I didn't feel like we already had. But that benchmark code was GPL'd, so I started from the MIT-licensed code in the chunky_png gem instead.

Neat. I like that our benchmark suite is pretty diverse and this seems like a nice addition.
I'm assuming this calls our to a C library and is not implementing PNG compression in Ruby right? Would be cool if it did hehe.

My understanding is that chunky_png is all Ruby. It has no non-Ruby dependencies: https://github.com/wvanbergen/chunky_png

My understanding is that chunky_png is all Ruby. It has no non-Ruby dependencies: https://github.com/wvanbergen/chunky_png

Oh that's cool. Lots of potential for massive speedups in the future.


Add Read Group header

Is there an argument for adding a Read Group tag to reads during alignment? This could be useful because some phasing software that leverages long reads require a read group tag.
I realize samtools has this capability to add in read group information to a sam/bam file, but it's one step less to include it in the aligning step.
bwa has this option -R STR read group header line such as '@RG\tID:foo\tSM:bar' [null], which makes adding read group information easy.
Thanks!

Hi!
Thanks for the feedback and sorry for the large delay!
That has been on my TODO list for a while. I just commit the change to master. If you build ngmlr from the master branch you should be able to do that. With the next release this will be available via conda as well.
Example:
ngmlr -r dh10b_ecoli.fasta -q dh10b_ecoli.fasta_1.fastq --rg-id foo --rg-sm sm --rg-lb lb

Thanks!

Could you make a new release including this improvement? My compiler is too old to build from source so I reply on conda.
Cheers,
Wouter


Reload data from API onLangChange event

Hi all, I am using a service (postsService) emmiting observable to get posts from an API:
posts.service.ts
  public getPosts(page: any = 1): Observable<Post[]> {
    return this.http
      .get(this.urlBaseEN + PATHSSERVICES.posts.path + `?per_page=2&page=${page}&_embed`)
      .pipe(
        map((res) => <Post[]>res),
        catchError(this.handleError),
    );
  }

In the component I am subscribing to the observable set in the service:
post-list.component.ts
  getPosts() {
    this.postsService
      .getPosts()
      .subscribe((res) => {
        this.posts = res;
        this.posts.forEach((el, index) => {
          if (el['featured_media']) {
            this.getThumbnail(el['featured_media'], index);
          }
        },
        );
      });
  }

Now I'm trying to figure out how can I reload these posts dynamically when changing the language using the TranslateService in the same component? So far I got this:
post-list.component.ts
  getPosts() {
    this.translateService.onLangChange
      .subscribe((event: LangChangeEvent) => {
        console.log('refreshData: ' + this.translateService.currentLang); // en or de
        this.refreshData();
      });
    this.postsService
      .getPosts()
      ...
  }
  refreshData() {
    this.postsService.updatePosts();
  }

Can you please help me define the updatePosts method for my postsService, so they can be reloaded from a different url? (not urlBaseEN, but for example urlBaseDE). I would like these posts to be translated (i.e. reloaded from the right url path) along with all other translations defined in json files everytime the language is switched.
I also have some doubts on how to achieve this properly - should I create separate methods and emit separate observables for all languages in the postsService and just subscribe to the right one once switched? How to avoid unnecessary subscriptions? Also how can I make posts to actually reload automatically on switch and not having to reload manually the whole page to see the effect (provided the chosen lang setting persists ex. in the session storage)?
I realize that this question probably relates more to general Angular/RxJs architecture rather than ngx-translate itself, but I still think it would be very helpful to have some general ideas on how to ngx-translate content other than defined in static json files.

This will makes you a multiple subscription , on lang change fire multiple times , and i don't why doing this , so i really need help also

@k-majick
Instead of subscribing and getting current language you could also pipe to incoming observable and make new requests,
so something like:
  getPosts() {
    this.translateService.onLangChange.pipe(
      map({lang}: any)=>{
      // here lang contains current language
     // make different service call and return
      }
     )
  }

@k-majick
Instead of subscribing and getting current language you could also pipe to incoming observable and make new requests,
so something like:
  getPosts() {
    this.translateService.onLangChange.pipe(
      map({lang}: any)=>{
      // here lang contains current language
      // make different service call and return
      // in your case: this.refreshData(lang);
      }
     )
  }

This does not make a sense without subscription


[arrow] Update to 18.1.0

Fixes https://github.com/microsoft/vcpkg/issues/42369

[x] Changes comply with the maintainer guide.
[x] SHA512s are updated for each updated download.
[x] The "supports" clause reflects platforms that may be fixed by this new version.
[x] Any fixed CI baseline entries are removed from that file.
[x] Any patches that are no longer applied are deleted from the port's directory.
[x] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[x] Only one version is added to each modified port's versions file.

@microsoft-github-policy-service agree

Please fix the build error of arrow:x64-android and arrow:arm64-android, you could download the faiure log from https://dev.azure.com/vcpkg/public/_build/results?buildId=109678&view=artifacts&pathAsName=false&type=publishedArtifacts.

I've filed https://github.com/apache/arrow/issues/44886 to track the process of figuring out a fix. I'll post an update here once we have a fix.

Note that vcpkg CI builds Android with API level 21. At that level, C runtime is very incomplete. It might be necessary to record an expected fail in scripts/ci.baseline.txt.

I pushed up a patch for the Android failure and will keep an eye on CI now.

@LilyWangLL we added a patch to the portfile and that looks like it's fixed the two failing jobs from before. I'm seeing the microsoft.vcpkg.pr (x86 windows) job fail but it looks related. Can you take a look and let us know if there's anything else that needs to be done here?
By the way, we plan to upstream the patch and remove it from this port in a future update, see https://github.com/apache/arrow/issues/43390.

Thanks for the update!

Thanks for the merge @BillyONeal and for the reviews @dg0yt.


feat: implement ImxTransfer

This is the bridged transfer method exposed by the TS SDK.

I need to update this to reflect a change on TS

Updated @nattb8


[driver][Enhancement] jira_1235_string case insensitive - updated

Problem Request - As defined below
MIOpenDriver convfp16 -n 128 -c 512 -H 28 -W 28 -k 128 -y 1 -x 1 -p 0 -q 0 -u 1 -v 1 -l 1 -j 1 -m conv -g 1 -F 1 -t 1 --in_layout nhwc --out_layout nhwc --fil_layout nhwc
MIOpen(HIP): Info [get_device_name] Raw device name: gfx90a:sramecc-:xnack-
MIOpen(HIP): Info [Handle] stream: 0xfb89c0, device_id: 0
MIOpen(HIP): Info [GetFindModeValueImpl] MIOPEN_FIND_MODE = DYNAMIC_HYBRID(5)
terminate called after throwing an instance of 'miopen::Exception'
what(): /root/dMIOpen/src/include/miopen/tensor_layout.hpp:62: mismatched layout string, unexpect char: N

@technicalgrp89 I think that #1282 should not be abandoned. Otherwise the review history will be lost. Could you please follow this:

Revert all commits from jira_1235_string_in_lowercase_sp
Merge 1235_case_insensitive into jira_1235_string_in_lowercase_sp
Merge tip of develop into jira_1235_string_in_lowercase_sp
Reopen #1282 and update its description as necessary
Close this PR and remove 1235_case_insensitive from the public repo

Thanks!

Closed in favor of https://github.com/ROCmSoftwarePlatform/MIOpen/pull/1282


fix units and sign for evap passed to coupler CESM driver

Currently we are converting evap to m by multiplying by MM_PER_M, which is not necessary to convert mm to kg m2/s, before we pass it to the coupler in the CESM driver. We're also multiplying by a negative sign. Neither of these are necessary - we just need to divide by global_param.dt.

Closed per #726


Get Inspirational Quotes JS Project Added

Javascript Project where user can get random Inspirational Quotes.

Javascript Project Added where User can get random Inspirational Quotes.
Sir, please accept my contribution.


185 argumentoutofrangeexception

Introduced in 0.214.2 is UserInfo object which is passed in chat messages instead of a string with the user's name.

Verified build from actions also has fix in it.


Price data sources should be 'dex' or 'cex'

We agreed that price data sources would either be 'dex' or 'cex'. Those are the only values that should be returned in the "protocol" field and the only values that should be accepted for the "src" parameter.
I've updated the documentation accordingly.
@leafyoung could you please make sure that those are the values that the model returns?
@v1nvn I wonder if the result field shouldn't be "src" instead of "protocol" so that it mirrors the request.

FYI: https://docs.credmark.com/token-api-concepts/prices/controlling-the-price-source

Completed
https://github.com/credmark/credmark-gateway-api/actions/runs/3144112588

cex

dex


use stable hash for labels and name suffixes (aligning with OLMv0 changes)

See https://github.com/operator-framework/operator-lifecycle-manager/pull/3115

@joelanford e2e looks very borked

Looks like the bundle validation is rejecting the newly generated bundle name. Trying to remember why we chose a lowercase RFC 1123 subdomain validation for the name.

Bundle.core.rukpak.io "ahoy-v8vq7-6L2Nq4N6UYLYpmq6ffZkPgbGnbi6mxZCYug8PO" is invalid: metadata.name: Invalid value: "ahoy-v8vq7-6L2Nq4N6UYLYpmq6ffZkPgbGnbi6mxZCYug8PO": a lowercase RFC 1123 subdomain must consist of lower case alphanumeric characters, ''-'' or ''.'', and must start and end with an alphanumeric character (e.g. ''example.com'', regex used for validation is ''a-z0-9?(.a-z0-9?)*'')'

That error might be misleading, I think you pass the regex fine, but may be running afoul of the length requirement. Suggest not adding the prefixes unless you really need to?

It definitely looks like the regex rejects uppercase letters. I changed to base36 and now seeing the length validation failure.

Bundle.core.rukpak.io "cincinnatiz6xhc-34402ftwebb3yugoq821w197i1988guvd9k6oqjcgm92" is invalid: metadata.name: Too long: may not be longer than 52'

I'm kinda leaning toward base36 + truncate at like 8 characters or something?

length of 52 is coming from here: https://github.com/operator-framework/rukpak/blob/4f98bdd43984bc647b05789a465a10f5cb566af6/manifests/base/apis/crds/patches/bundle_validation.yaml#L8
I think that was because we knew that we wanted to leave some extra characters available for other objects that might need to exist for the bundle (right now, that's at least the unpack pod, can't remember if there are others)


Support for MYSQL 8

Is your feature request related to a problem? Please describe.
As MySQL 8 is stable and production servers are using it, there are problems if local database is running MySQL 5.7.
Describe the solution you'd like
Offer a possibility to use MySQL 8 with dockware.

Hi there
thank you for your message
you could just use a second MySql containere. that would be the recommended way for special setups
i hope this helps you


Create configuration file option

https://github.com/stac-utils/stac-check/issues/76

lgtm, but I'll defer to Pete's approval

@gadomski awesome thanks


[Request] Use Schematic system for rollback claim

Heya !
It would be nice to have a schematic system instead of using world regen, then for custom map we keep the area as it was before claiming !
Thanks a lot !

Added in release 1.2.0. See automatic-schematic-restore in config.


[Feature]: export type definitions for the main component

Description
Currently, the MasonryWall isn't typed when using Volar (since the library registering through global app components). While this doesn't affect functionality, it'd be nice to have in-editor type support for props.
Solution
One way of having typed global components is through custom.d.ts file:
import type { component } from '@yeger/vue-masonry-wall';

declare module 'vue' {
  export interface GlobalComponents {
    MasonryWall: typeof component;
  }
}

export {};

Additional context
No response
Preferences

[x] I want to be assigned to and work on this issue myself

Description
Currently, the MasonryWall isn't typed when using Volar (since the library registering through global app components). While this doesn't affect functionality, it'd be nice to have in-editor type support for props.
Solution
import type { component } from '@yeger/vue-masonry-wall';

declare module 'vue' {
  export interface GlobalComponents {
    MasonryWall: typeof component;
  }
}

export {};

Hey @DerYeger, @mahdiboomeri,  in the index.d.ts of the module there is :
export default MasonryWall;

so I was wondering if the solution wasn't the following instead of the one you mentioned earlier
import type MasonryWall from '@yeger/vue-masonry-wall'

declare module 'vue' {
  export interface GlobalComponents {
    MasonryWall: typeof MasonryWall
  }
}

export {}

with your solution :

with the one ☝

Ah yes, there's a slight issue with the workaround.
I'm currently working on a fix that doesn't require any changes on your end.

Can you let me know if v3.2.0 fixed the issue?

I downloaded the last version (3.2.0) and it is working great ! 😊 Thanks for this update !

I downloaded the last version (3.2.0) and it is working great ! 😊 Thanks for this update !

Awesome! Thanks for the feedback.

Also big thanks to @mahdiboomeri for informing me about the global components declaration!

just a small remarks regarding types, it seems that :scrollContainer must be defined in template. Not sure why because it is not required in the masonry-wall.d.ts. 🧐

Interesting, I cannot replicate that locally. What's the error message?

here is the message :
Cannot assign type '{ items: ImageKit[]; column width: number; "column width": number; }' to type 'ReservedProps & Partial<{ columnWidth: number; gap: number; rtl: boolean; ssrColumns: number; }> & Omit<Readonly<ExtractPropTypes<{ columnWidth: { type: NumberConstructor; required: false; default: number; }; ... 4 more ...; scrollContainer: { ...; }; }>> & { ...; } & VNodeProps & AllowedComponentProps & ComponentCu...'.
  'scrollContainer' property is missing from type '{ items: ImageKit[]; column width: number; "column width": number; }' but required in type 'Omit<Readonly<ExtractPropTypes<{ columnWidth: { type: NumberConstructor; required: false; default: number; }; elements: { type: ArrayConstructor; required: true; }; gap: { type: NumberConstructor; required: false; default: number; }; rtl: { ...; }; ssrColumns: { ...; }; scrollContainer: { ...; }; }>> & { ...; } & VNode...'.ts(2322)
masonry-wall.d.ts(83, 5): 'scrollContainer' is declared here.
No solution available immediately

Hmm, since I can't replicate it locally, I'm not sure how to fix it. Let me know if you have any ideas.

I think it is because the property scrollContainer doesn't have default value. If I append in masonry-wall.d.ts  :
    scrollContainer: {
        type: null;
        required: false;
+       default: null;
    };

I don't have the error popping

@DerYeger no more error now thanks !! 🙏😊

@DerYeger no more error now thanks !! 🙏😊

Awesome!


Dropdown Menus Support

Would like to make a dropdown menu if this possible? If not maybe a possible enhancement?

Since portfolYOU is based on Bootstrap,
You can use Bootstrap's dropdown.

alright.. will have to try.. thanks..


No commits pushed to the branch

I need to update an YAML file path in existing branch and push the commits to the same branch. A new image version in the docker build has to updated everytime when the build runs which triggers a workflow.
It is not updating the image value. The valuepath seems correct. It says no commits to be pushed to the yaml file. Attached the log file of the actions.
      - name: Push app image
        id: image
        env:
          REGISTRY: ${{ steps.login-ecr.outputs.registry }}
          REPOSITORY: "ciam-tdc-service"
          VERSION: "ciam-tdc-service-${{ github.sha }}"
        run: |
          IMAGE_ID=$REGISTRY/$REPOSITORY:dev-$VERSION
          echo "image_id=${IMAGE_ID}" >> "$GITHUB_OUTPUT"

      - name: Update Image Version in the kubernetes yaml file
        uses: fjogeleit/yaml-update-action@main
        with:
          valueFile: 'dev/ciam-tdc-service.yml'
          propertyPath: 'spec.template.spec.containers.0.image'
          value: ${{ steps.image.outputs.image_id }}
          repository: nuuday/ciam-tdc-service
          branch: ${{ github.head_ref }}
          commitChange: true
          force: true
          message: 'Update Image Version to ${{ steps.image.outputs.image_id }}'
          token: ${{ secrets.GITHUB_TOKEN }}
          workDir: k8s

YAML file
apiVersion: apps/v1
kind: Deployment
metadata:
  namespace: ciam-test
  name: ciam-tdc-service
  annotations:
    application_service: "TDC-service"
    spoc: "Poornachand -<EMAIL_ADDRESS>spec:
  replicas: 1
  selector:
    matchLabels:
      app: ciam-tdc-service
  template:
    metadata:
      labels:
        app: ciam-tdc-service
      annotations:
        application_service: "TDC-service"
        spoc: "Poornachand -<EMAIL_ADDRESS>    spec:
      serviceAccountName: ciam-tdc-service
      containers:
        - name: ciam-tdc-service
          image:<PHONE_NUMBER>96.dkr.ecr.eu-north-1.amazonaws.com/ciam-tdc-service:ciam-tdc-service-8937807a52abc4de29cff954af49a4091fd09975
          imagePullPolicy: Always
          ports:
            - name: https
              containerPort: 8080
              protocol: TCP
          livenessProbe:
            httpGet:
              path: /
              port: 8080
          readinessProbe:
            httpGet:
              path: /
              port: 8080
          resources:
            requests:
              memory: "100Mi"
              cpu: "100m"
            limits:
              memory: "256Mi"
              cpu: "100m"
---

logs_25667998407.zip

If I see it correctly you have multiple definitions in a single YAML file. In this case you need to specify the item you want to change:
      - name: Update Image Version in the kubernetes yaml file
        uses: fjogeleit/yaml-update-action@main
        with:
          valueFile: 'dev/ciam-tdc-service.yml'
          propertyPath: '[0].spec.template.spec.containers[0].image'

You can see within your logs if the value was change as expected.

Now the yaml file and property path is updated as below. Its the same error again.
logs_25672991444.zip
      - name: Update Image Version in the kubernetes yaml file
        uses: fjogeleit/yaml-update-action@main
        with:
          valueFile: 'dev/ciam-tdc-service.yml'
          propertyPath: 'spec.template.spec.containers.0.image'
          value: ${{ steps.image.outputs.image_id }}
          repository: nuuday/ciam-tdc-service
          branch: ${{ github.head_ref }}
          commitChange: true
          force: true
          message: 'Update Image Version to ${{ steps.image.outputs.image_id }}'
          token: ${{ secrets.GITHUB_TOKEN }}
          workDir: k8s

apiVersion: apps/v1
kind: Deployment
metadata:
  namespace: ciam-dev
  name: ciam-tdc-service
  annotations:
    application_service: "TDC-service"
    spoc: "Poornachand -<EMAIL_ADDRESS>spec:
  replicas: 1
  selector:
    matchLabels:
      app: ciam-tdc-service
  template:
    metadata:
      labels:
        app: ciam-tdc-service
      annotations:
        application_service: "TDC-service"
        spoc: "Poornachand -<EMAIL_ADDRESS>    spec:
      serviceAccountName: ciam-tdc-service
      affinity:
        nodeAffinity:
          requiredDuringSchedulingIgnoredDuringExecution:
            nodeSelectorTerms:
            - matchExpressions:
              - key: kubernetes.io/arch
                operator: In
                values:
                - amd64
      containers:
        - name: ciam-tdc-service
          image:<PHONE_NUMBER>96.dkr.ecr.eu-north-1.amazonaws.com/ciam-tdc-service:dev-ciam-tdc-service-8567691bde992e0ddcf26b365f2c84870db11c2f
          imagePullPolicy: Always
          ports:
            - name: https
              containerPort: 8080
              protocol: TCP
          readinessProbe:
            tcpSocket:
              port: 8080
            initialDelaySeconds: 10
            periodSeconds: 10
          livenessProbe:
            tcpSocket:
              port: 8080
            initialDelaySeconds: 10
            periodSeconds: 10
          resources:
            requests:
              memory: "512Mi"
              cpu: "500m"
            limits:
              memory: "1024Mi"
              cpu: "500m"

Your error is a different one: failed to create PR: HttpError: Not Found. Its a bit missleading at this point because you dont create a PR but: HttpError: Not Found is the GitHub API Error you get by try to commit your change.
This means most likely that your token has not all permissions to perform this action.
You can try to add to give your token the necessary permissions:
permissions:
  contents: write

I have added all the permissions now. The error is failed to create PR: HttpError: Not Found .  I also set createPR to false.

permissions:
  id-token: write
  contents: write
  checks: write
  issues: write
  packages: write
  pull-requests: write

- name: Update Image Version in the kubernetes yaml file
        uses: fjogeleit/yaml-update-action@main
        with:
          valueFile: 'dev/ciam-tdc-service.yml'
          propertyPath: 'spec.template.spec.containers[0].image'
          value: ${{ steps.image.outputs.image_id }}
          repository: nuuday/ciam-tdc-service
          branch: ${{ github.head_ref }}
          commitChange: true
          createPR: false
          force: true
          message: 'Update Image Version to ${{ steps.image.outputs.image_id }}'
          token: ${{ secrets.GITHUB_TOKEN }}
          workDir: k8s

logs_25675719649.zip

Yes, as mentioned is the failed to create PR part misleading and not true in this case, I need to improve the custom message.
On thing I just realized. You did not set the targetBranch which is master by default. You need to set it to the branch you want to update.

targetBranch is set now. I also tried passing a custom token with all required permission. I ended up with failed to create PR: HttpError: Not Found

      - name: Update Image Version in the kubernetes yaml file
        uses: fjogeleit/yaml-update-action@main
        with:
          valueFile: 'dev/ciam-tdc-service.yml'
          propertyPath: 'spec.template.spec.containers[0].image'
          value: ${{ steps.image.outputs.image_id }}
          repository: nuuday/ciam-tdc-service
          branch: ${{ github.head_ref }}
          commitChange: true
          createPR: false
          targetBranch: ${{ github.head_ref }}
          force: true
          message: 'Update Image Version to ${{ steps.image.outputs.image_id }}'
          token: ${{ secrets.PAT_TOKEN }}
          workDir: k8s

What is your trigger of this action? Is it a PR? Otherwise head_ref is not available, your logs showing that it resolves to an empty string.

Yes, the head_ref was empty. Now the worklow is updated as below and the build runs green. But the commits are not actual pushed to the branch. It seems it is not verified. Please refer the image

name: Build and run tests for dev

on:
  workflow_dispatch:
  push:
    branches:
      - "feature/**"
    paths:
      - "src/main"

permissions:
  id-token: write
  contents: write
  checks: write
  issues: write
  packages: write
  pull-requests: write

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout sources
        uses: actions/checkout@v4

      - uses: actions/setup-java@v4
        with:
          distribution: 'corretto'
          java-version: '21'
          cache: "gradle"

      - name: Setup Gradle
        uses: gradle/gradle-build-action@v3

      - name: Build with Gradle
        run: ./gradlew build

      - name: list inside build folder
        run:  |
          ls -lsa build

      - name: Configure AWS credentials
        uses: aws-actions/configure-aws-credentials@v1
        with:
          role-to-assume: ${{ vars.AWS_ROLE_TO_ASSUME }}
          aws-region: ${{ vars.AWS_SECRETS_REGION }}

      - name: Login to Amazon ECR
        id: login-ecr
        uses: aws-actions/amazon-ecr-login@v1

      - name: Build
        env:
          DOCKERFILE: "./Dockerfile.jvm"
          REGISTRY: ${{ steps.login-ecr.outputs.registry }}
          REPOSITORY: "ciam-tdc-service"
          VERSION: "ciam-tdc-service-${{ github.sha }}"
        run: docker buildx build --platform linux/amd64 -f $DOCKERFILE -t $REGISTRY/$REPOSITORY:dev-$VERSION .

      - name: Push
        env:
          DOCKERFILE: "./Dockerfile.jvm"
          REGISTRY: ${{ steps.login-ecr.outputs.registry }}
          REPOSITORY: "ciam-tdc-service"
          VERSION: "ciam-tdc-service-${{ github.sha }}"
        run: docker buildx build --push --platform linux/amd64 -f $DOCKERFILE -t $REGISTRY/$REPOSITORY:dev-$VERSION .

      - name: Push app image
        id: image
        env:
          REGISTRY: ${{ steps.login-ecr.outputs.registry }}
          REPOSITORY: "ciam-tdc-service"
          VERSION: "ciam-tdc-service-${{ github.sha }}"
        run: |
          IMAGE_ID=$REGISTRY/$REPOSITORY:dev-$VERSION
          echo "image_id=${IMAGE_ID}" >> "$GITHUB_OUTPUT"

      - name: Extract branch name
        shell: bash
        run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
        id: extract_branch

      - name: Update Image Version in the kubernetes yaml file
        uses: fjogeleit/yaml-update-action@main
        with:
          valueFile: 'dev/ciam-tdc-service.yml'
          propertyPath: 'spec.template.spec.containers[0].image'
          value: ${{ steps.image.outputs.image_id }}
          repository: nuuday/ciam-tdc-service
          branch: ${{ steps.extract_branch.outputs.branch }}
          commitChange: true
          createPR: false
          targetBranch: ${{ steps.extract_branch.outputs.branch }}
          force: true
          message: 'Update Image Version to ${{ steps.image.outputs.image_id }}'
          token: ${{ secrets.GITHUB_TOKEN }}
          workDir: k8s

Attached the log of the previous comment
logs_25680481170 (1).zip

What do you mean? In your screen I see the commit with the message you defined and also in your log you see the created commit hash: d3e1e97430ad17c3876c9b201f789d8482d7d62d

But the commit doesn't seem like pushed to the branch feature/pf-changes. targetbranch and branch names are pointed to feature/pf-changes. Branch is not updated with the commit.

Your screen is showing the created commit in the branch and there are no errors in the logs. So I don’t your issue. Is the expected change not in the created commit?

Yes, the expected change is not the commit. commit shah is still the old 8567691bde992e0ddcf26b365f2c84870db11c2f and I don't see the expected change in the branch

Not sure if this could be a reason but you should not use k8s as workDir, it should be the dir where you checked out the whole project. So basically the base workdir. Add k8s to the valueFile path

Yes, that was the issue. The commits are getting updated correctly. Thanks for the prompt responses.

This time I am creating a PR instead of directly updating the branch. But I am encountering http error. Atatched the complete log file.  Revert changes
Error: failed to create PR: HttpError: Not Found
logs_26102196416.zip
name: Build and run tests for prod

on:
  workflow_dispatch:
  push:
    branches:
      - 'main'
    paths-ignore:
      - 'k8s/**'
      - '.github/**'

permissions:
  id-token: write
  contents: write
  checks: write
  issues: write
  packages: write
  pull-requests: write

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout sources
        uses: actions/checkout@v4

      - uses: actions/setup-java@v4
        with:
          distribution: 'corretto'
          java-version: '21'
          cache: "gradle"

      - name: Setup Gradle
        uses: gradle/gradle-build-action@v3

      - name: Build with Gradle
        run: ./gradlew build

      - name: list inside build folder
        run:  |
          ls -lsa build

      - name: Configure AWS credentials
        uses: aws-actions/configure-aws-credentials@v1
        with:
          role-to-assume: ${{ vars.AWS_ROLE_TO_ASSUME }}
          aws-region: ${{ vars.AWS_SECRETS_REGION }}

      - name: Login to Amazon ECR
        id: login-ecr
        uses: aws-actions/amazon-ecr-login@v1

      - name: Build
        env:
          DOCKERFILE: "./Dockerfile.jvm"
          REGISTRY: ${{ steps.login-ecr.outputs.registry }}
          REPOSITORY: "ciam-sync-service"
          VERSION: "ciam-sync-service-${{ github.sha }}"
        run: docker buildx build --platform linux/amd64 -f $DOCKERFILE -t $REGISTRY/$REPOSITORY:prod-$VERSION .

      - name: Push
        env:
          DOCKERFILE: "./Dockerfile.jvm"
          REGISTRY: ${{ steps.login-ecr.outputs.registry }}
          REPOSITORY: "ciam-sync-service"
          VERSION: "ciam-sync-service-${{ github.sha }}"
        run: docker buildx build --push --platform linux/amd64 -f $DOCKERFILE -t $REGISTRY/$REPOSITORY:prod-$VERSION .

      - name: Get Image URI
        id: image
        env:
          REGISTRY: ${{ steps.login-ecr.outputs.registry }}
          REPOSITORY: "ciam-sync-service"
          VERSION: "ciam-sync-service-${{ github.sha }}"
        run: |
          IMAGE_ID=$REGISTRY/$REPOSITORY:prod-$VERSION
          echo "image_id=${IMAGE_ID}" >> "$GITHUB_OUTPUT"

      - name: Extract branch name
        shell: bash
        run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
        id: extract_branch

      - name: Update Image Version in the kubernetes yaml file
        uses: fjogeleit/yaml-update-action@main
        with:
          valueFile: 'k8s/production/ciam-sync-service.yml'
          propertyPath: 'spec.template.spec.containers[0].image'
          value: ${{ steps.image.outputs.image_id }}
          repository: nuuday/ciam-sync-service
          branch: image-${{ github.sha }}
          commitChange: true
          createPR: true
          targetBranch: ${{ steps.extract_branch.outputs.branch }}
          force: true
          message: 'Update Image Version to ${{ steps.image.outputs.image_id }}'
          token: ${{ secrets.GITHUB_TOKEN }}

This works:

      - name: Update Image Version in the kubernetes yaml file
        uses: fjogeleit/yaml-update-action@main
        with:
          valueFile: 'k8s/production/ciam-sync-service.yml'
          propertyPath: 'spec.template.spec.containers[0].image'
          value: ${{ steps.image.outputs.image_id }}
          repository: nuuday/ciam-sync-service
          branch: ${{ steps.extract_branch.outputs.branch }}
          commitChange: true
          createPR: false
          targetBranch: ${{ steps.extract_branch.outputs.branch }}
          force: true
          message: 'Update Image Version to ${{ steps.image.outputs.image_id }}'
          token: ${{ secrets.GITHUB_TOKEN }}

Ensure that the created branch has a valid name

in your exmaple its configured the other way around

you still have issues?


improve propagating debugging arguments

followup from #96211.
when propagating debugging arguments try to get properties from the IWorkbenchEnvironmentService instead of from the paylod

PR: https://github.com/microsoft/vscode/pull/96822


Scheme cards

Implement scheme cards. Unsure whether to use the ARC frame or the E01 frame. E01 is from the m15 era while ARC is from the modern era, but E01 is specifically tied to the character of Nicol Bolas.
Like planes/phenomena and vanguards, we also want an option to render schemes as regular-size cards.

Implemented using the ARC frame for now since the E01 frame is not yet available.


How to loop items to send more than 1 notification

Hello guys, i'm having a problem with the discord node that when the node get more than one group of items, it sends only one time and the other items get stuck and are not sent, anyone has any idea how can i loop it to send all the items?

as you guys can see it, in the left side i have multiples items but in the output i only have one message sent.

Hi, unfortunately at the moment the node doesn't loop over items, but you can use https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.splitinbatches/

Ok i think i got it workin with the Split In Batches node, i tried some time before and it didn't work but now with the right setup i got it working, what i did was, first you setup a code node with "return $input.all();" code, that will return all items, after that you setup a batch of 1 to pass only one item at a time into the discord node, after that you loop the discord node back to the batch node, and it will loop all the items you have.

My final setup is like that.


Building a new ng-scope image doesn't work due to missing dependency

Hello,
I would like to build my own ng-scope image. However, this fails, because https://github.com/j0lama/libasn is not public.
Also just to note, the ng-scope.sh script has start.sh as the entry point, while all the pre-built images still have start.py (both j0lama/ng-scope:latest and princetonpaws/ng-scope:22.04). ng-scope.sh has docker commands for both scripts, but the start.py version is commented out. This effectively means the repo doesn't quite work as described in the readme out of the box.
Not sure whether anyone is working on this repo actively, but thought I'd open an issue anyway.

Hello @justus237,
I just fixed the compilation issue you were facing with libasn. libasn (now private) is an optional library used to decode SIB messages but it was treated as mandatory. I have fixed (now is not part of ng-scope-docker) that so now you should be able to compile your own image without any problems with the latest commit. If you want to use libasn, I encourage you to look at https://github.com/YaxiongXiePrinceton/NG-Scope/wiki/6.-ASN.1 where we explain how to compile libasn.
I have also built and pushed a newer version of j0lama/ng-scope:latest and removed all unnecessary scripts and files.
Let me know if you have any problems.
Jon


[BUG] Inconsistency in EnvironmentCredential class implementation for .Net and Java azure sdk

Library name and version
Azure.Identity 1.8.0
Describe the bug
for .Net,
based on parameters configured, EnvironmentCredential class constructs credential class in below order,

ClientSecretCredential
UsernamePasswordCredential
ClientCertificateCredential

But for Java,
EnvironmentCredential class constructs credential class in below order,

ClientSecretCredential
ClientCertificateCredential
UsernamePasswordCredential

With this difference in implementation order, when user configures the same parameters, we are having inconsistency in our .Net and Java application authentication behavior.
Expected behavior
In order to have consistent functional behavior of our Java and .Net applications, we are expecting a consistent function behavior between both .Net and java azure SDK.
Actual behavior
With same parameters set on environment,
.Net application authenticates using below order
ClientSecretCredential
UsernamePasswordCredential
ClientCertificateCredential
But Java application authenticates using below order
ClientSecretCredential
ClientCertificateCredential
UsernamePasswordCredential
java sdk
https://github.com/Azure/azure-sdk-for-java/blob/aa4a16a76ef7433953951f186c8a23dce1bda32d/sdk/identity/azure-identity/src/main/java/com/azure/identity/EnvironmentCredential.java#L72
.net sdk
https://github.com/Azure/azure-sdk-for-net/blob/59a1f21f37ce826dc75b3d355b63bd26d39dd472/sdk/identity/Azure.Identity/src/Credentials/EnvironmentCredential.cs#L101
Reproduction Steps
Configure below environment variables
AZURE_TENANT_ID
AZURE_CLIENT_ID
AZURE_CLIENT_CERTIFICATE_PATH
AZURE_USERNAME
AZURE_PASSWORD
Run .Net application that uses EnvironmentCredential class to get the Azure AD access token
Run Java application that uses EnvironmentCredential class to get the Azure AD access token
.Net application will get token using AZURE_USERNAME, AZURE_PASSWORD environment values
Java application will get token using AZURE_CLIENT_CERTIFICATE_PATH environment value
Environment
OS: Windows 10
.Net SDK: 7.0.100
.Net runtime version: Microsoft.NETCore.App 6.0.11
IDE: Visual Studio 17.4.0

//cc: @christothes, @billwert, @scottaddie

Thank you for your feedback.  Tagging and routing to the team member best able to assist.

Related: https://github.com/Azure/azure-sdk-for-net/issues/33414

Hi @indrajitjadeja - thanks for pointing this out. While we look at this across all languages, I'm curious if you could describe the scenario that requires setting both username/password environment variables and certificate environment variables at the same time.

Just for reference - the other languages all order discovery the same as Java, so .NET is the odd one out.

@christothes I was testing the default authentication flow using DefaultAzureCredentials class and when I tried setting both username/password and certificate environment variables, I noticed the difference in functional behavior for .Net and Java applications.

Since #33414 is closed, there are two issues to look at:

Why is Client secret given higher precedence than Client certificate?  #33414
Priority order not in sync with java azure sdk #33413

@christothes I was testing the default authentication flow using DefaultAzureCredentials class and when I tried setting both username/password and certificate environment variables, I noticed the difference in functional behavior for .Net and Java applications.

Thanks - So just to clarify, your application has no need to set both, this was just an inconsistency you discovered while testing?

@christothes I was testing the default authentication flow using DefaultAzureCredentials class and when I tried setting both username/password and certificate environment variables, I noticed the difference in functional behavior for .Net and Java applications.

Thanks - So just to clarify, your application has no need to set both, this was just an inconsistency you discovered while testing?

I am developing a library and it is up to the user how to use it.
So, it is possible that the user might decide to set both, username/password and client secret environment variables and find out that there is inconsistency in my .NET library compared to the Java library.

@christothes from the fix in pull request https://github.com/Azure/azure-sdk-for-net/pull/33551
I can only see this #33413 is getting resolved,
But for #33414 it has different scenario related to precedence should be given to client certificate first and then client secret.
Please could you confirm, is it the valid issue to be fixed across all languages?


Fix plotting in Google Colab

At present, Lightkurve's __init__ changes the matplotlib back-end if a headless Linux display is detected:
https://github.com/KeplerGO/lightkurve/blob/ea53c81f3d7617441a02288ed84c016e8ef80ceb/lightkurve/__init__.py#L30-L36
We did this to enable our plotting methods to be tested by continuous integration services (Travis, Azure, GitHub Actions).
Unfortunately, two recent issues (#861 & #863) demonstrate that this is a bad idea, e.g. because it messes with the behavior of matplotlib on Google Colab.
This PR removes the offending piece of code and will explore a different way to make GitHub Actions pass.

All the tests pass, so I believe that messing with the matplotlib backend was only required to make Travis or Azure-pipelines pass.  We switched to Github Actions a while ago, and should probably have removed this logic when we did!


Add support for https requests

This is fixed now by allow a manager to passed as an argument? https://github.com/ambiata/snooze/blob/master/src/Snooze/Core.hs#L19

I believe so yes


Support .graphqls as a file extension

This is a slightly less common (but still common enough!) file extension used when authoring GraphQL schema files.
No other modifications should be necessary.

Friendly ping on this @dncrews :)


Make GetWindowLong/SetWindowLong Dynamic

Is your feature request related to a problem? Please describe.
WinForms supports both 32/64-bit environment. APIs GetWindowLong/SetWindowLong currently return int which in 64-bit environment will return incorrect results.
Describe the solution you'd like
Make these APIs dynamic by updating return value of these APIs to nint and do a check on the environment. Something like:
public static nint GetWindowLong(HWND hwnd, WINDOW_LONG_PTR_INDEX nIndex)
        {
            nint result = Environment.Is64BitProcess
                ? GetWindowLongPtrW(hwnd nIndex)
                : GetWindowLongW(hwnd, nIndex);
            return result;
        }

@lonitra, see the discussion in https://github.com/dotnet/winforms/issues/7445.

Duplicate of #343.


Improve code reuse

In order to be able to share more code among different software components, including various scripts that import the beamer package we should move common, useful functionality and modules from the beamer.agent subpackage to the toplevel beamer package i.e. one level up.
Tasks:

[ ] make the account argument from beamer.agent.util.make_web3 optional and use the same function in health, removing the duplicate there
[ ] move most of beamer.agent.util to beamer.util; the token checker related things should stay in beamer.agent.util
[ ] move  beamer.agent.middleware to beamer.middleware
[ ] move  beamer.agent.typing to beamer.typing
[ ] move  beamer.agent.events to beamer.events
[ ] move  beamer.agent.contracts to beamer.contracts
[ ] move beamer/agent/data/abi/StandardToken.json to beamer/data/abi/StandardToken.json
[ ] rename beamer.agent.l1_resolution to a more-appropriate beamer.agent.relayer
[ ] move TokenDetails, get_token_details, get_token_balance, get_token_amount_in_decimals  from beamer.health.util to beamer.util
[ ] remove beamer.health.util (should not be necessary now)
[ ] turn load_ERC20_abi into a private function, which is called only once to initialize a singleton _ERC20_ABI object, introduce a new function get_ERC20_abi that returns the singleton and convert all existing callers of load_ERC20_abi to use the new getter; this will avoid repeatedly deserializing the ABI data
[ ] fix the fallout in tests and CI

Hey team! Please add your planning poker estimate with Zenhub @fredo @bilbeyt @compojoom @GabrielBuragev @manuelwedler

great summary!


type mismatch error for Float32 problems

From here:
https://discourse.julialang.org/t/fix-variables-not-working-with-cosmo-or-clarabel/103255

Fix has merged to develop.    Will appear in next release.


Docs error: wrong parameter order for distinct()

The docs ( http://mongoosejs.com/docs/api.html#query_Query-distinct ) say that the parameter order is: Query#distinct([criteria], [field], [callback]).
After wasting 30 minutes with a very obscure error when using all 3 arguments, I found out that the parameter are actually reversed: Query#distinct([field], [criteria], [callback]). This works.

Well that's embarrassing. Fixed. Thanks for pointing that out.

Actually, the docs are correct: distinct() queries take field and criteria in reverse order. So:
Model.distinct(field, criteria, callback)

But
Model.find().distinct(criteria, field, callback);

I never noticed this, its a really bad design decision that predates my involvement in mongoose. Going to fix this now. Unfortunately, its backwards breaking, so it won't go in to 3.8.x.

MongoDB's APIs use (field, criteria) ( http://docs.mongodb.org/manual/reference/method/db.collection.distinct/ ). I think this order would be the most consistant?
Anyways, I'm not sure I understood exactly: what's the final call? What changes now and what will change on 3.0?
Thanks for taking care of this

Mongoose will be consistent with the MongoDB API in 4.0: it will be distinct(field, criteria, callback)

And for now it will be like this?
Model.distinct(field, criteria, callback)
Model.find().distinct(criteria, field, callback)

So the only change in 4.0 is with the Model.find().distinct()? That works for me. Thanks!

Yeah exactly. Both cases will be field, criteria


Access convert-token from mobile app

I have been using this tool and I find it to be great, I currently use it with a mobile app, I use the convert-token url to get a token and thus give my users access to the API, I just wanted to know if it's a good idea to store the generated client_id and client_secret in the mobile app ?, It seems like a bad practice to me, any suggestions ?

Thanks for using drf-social-oauth2 framework. No, it's not a good idea (bad practice) to store the client_id and client_secret in your app. Your local storage may be hacked and such tokens retrieved. Store only the access_token in your storage as it has an expiration date.

@wagnerdelima Hi thanks for the information.
I wonder if you're right about not storing the client_id and client_secret in the app/browser, then why do we need to include those two fields(=client_id, client_secret) in the payload to covert-token API endpoint?
Other than storing those two values in the local storage/browser, I don't think there is a way for the client to know those two values, which are needed to get access_token.
Is there a better way or am I missing something here?

+1 for the question


[Bug]: Unable to disconnect Saml on 1 click DP

Is there an existing issue for this?

[X] I have searched the existing issues

Description
Unable to disconnect Saml on 1 click DP
Steps To Reproduce

go to https://ee-2453.dp.appsmith.com
keep the EE license initially now set up saml and login with the saml creds
Now downgrade instance to BE again login with saml
now downgrade to ce and try out form login
now upgrade to BE keep the instance ideal for a day now again come back and try to sign in with saml
the page not found error is displayed and also from the admin setting try to disconnect the saml
The error is displayed

Public Sample App
No response
Environment
Deploy Preview
Issue video log
No response
Version
v.1.9.39

seems to be working now so closing the issue


Col Span is not working

Hello, I am trying to merge two or three columns using Colspan, it is not coming,
and i want to display in multiple table in the excel instead of showing all the data in a single table[ multiple grids in Excel], is it possible to do that one

Can you try if your colspan issue is fixed in the latest 0.6.4 release?
We don't support multiple sheets in the lib currently.

closing since there was no feedback, feel free to open a new issue if you have some code to share that it is not supported


[Merged by Bors] - Fail CI on cargo doc warnings

makes CI fails on cargo doc warnings
adds this check in bors

doc warnings are listed here: https://doc.rust-lang.org/rustdoc/lints.html
Currently the warnings emitted are:

broken_intra_doc_links
private_intra_doc_links
invalid_codeblock_attributes

I dig it! This does make it slightly harder to remove continue-on-error because we now need to resolve all doc warnings too. But that seems like a reasonable thing to do :)

bors r+

We currently don't have doc warnings 🎉  I fixed the few we had in #2007
And this new step is not continue-on-error so it will start failing today if a new issue is introduced!

Aaah thanks for the correction :)