must-gather: collect logs when external cluster is deplyed

Currently for External mode, the must-gather skips the whole ceph collection
and therefore some resources which are applicable for external mode are absent
in the logs. Those resources are

cephobjectstores
cephobjectstoreusers
cephclusters

Signed-off-by: RAJAT SINGH<EMAIL_ADDRESS>

the directions is right but we duplicating are scripts not a good idea.
Few changes:

the new script should be predecessor for ceph script.
means if external mode enabled only the new script should be called
and if not external setup than both scripts should be called.
all the work done in new script should be removed from ceph collection script.

No, I can't because what if no cluster exists?.

the new script is independent of type installation that means whether the installation is external or internal this data should be collected . So name must belike gather_ceph_resources and the name of the old script should be gather_ceph_internal_resources.
My main reason to do it this way because we are short on time and I want to get this patch in asap, I know I can improve it further, but it would also work with the way it is right now.

/retest

Doesn't look like duplicate code to me or I am missing something.
Agree with file name change but we can do that in another PR.

the directions is right but we duplicating are scripts not a good idea.
Few changes:

the new script should be predecessor for ceph script.
means if external mode enabled only the new script should be called
and if not external setup than both scripts should be called.
all the work done in new script should be removed from ceph collection script.

No, I can't because what if no cluster exists?.

the new script is independent of type installation that means whether the installation is external or internal this data should be collected . So name must belike gather_ceph_resources and the name of the old script should be gather_ceph_internal_resources.
My main reason to do it this way because we are short on time and I want to get this patch in asap, I know I can improve it further, but it would also work with the way it is right now.

That is a separate condition why would it conflict with this change.

Doesn't look like duplicate code to me or I am missing something.
https://github.com/openshift/ocs-operator/blob/219c14b46fcee33a4240364f944a10459188a0bb/must-gather/collection-scripts/gather_ceph_resources#L1-L21
Agree with file name change but we can do that in another PR.

Doesn't look like duplicate code to me or I am missing something.
https://github.com/openshift/ocs-operator/blob/219c14b46fcee33a4240364f944a10459188a0bb/must-gather/collection-scripts/gather_ceph_resources#L1-L21
Agree with the file name change but we can do that in another PR.

Done, but we have to do the entire https://github.com/openshift/ocs-operator/blob/master/must-gather/collection-scripts/gather_ceph_resources#L1-L13 for both the files. I also changed the file name to gather_common_ceph_resource since when the external cluster is present,  only limited ceph resources are collected.

Fix the ci errors. Please always run make ocs-operator-ci before pushing. :)

Fix the ci errors. Please always run make ocs-operator-ci before pushing. :)

the ci errors are not coming from must-gather, they are from some other part of ocs-operator.

/retest

/cherry-pick release-4.8


zPages: show span hierarchy

I want to be able to track a request through a service via zpages.
A request generates several spans in my service but in zpages they are all located based on how long they take and the span name so its very hard to correlate them.
Would be nice if the UI let me see all the spans for a single request in a single view.

Going to close as it has been a while and I'm not sure if this is relevant anymore.


Add Nosto

Add Nosto and postponing of Nordic Ecommerce Summit
Adds the following events or companies:

Nosto
Nordic Ecommerce Summit

Checklist

[] I have updated the event or company counts
[] I have put the most recent relevant date in the "Last Update" column
[] I have linked to the article about the change, not the company's website

Hi there! We recently re-worked the site to use yaml data files. We'd be happy to accept your PR once it's been reworked to use the right format.
Thanks!

Nice! Will close and add to the yaml file in a separate PR.


Update Set-DlpComplianceRule.md

Docs Build status updates of commit 0300d7e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/Set-DlpComplianceRule.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Instance: SlicerMorph 101, Klara Komza

Cloud Computing Instance Flavor
g3.xl - GPU instance (32 CPUs, 125 GB RAM and A100 GPU)
Description
I am attending the SlicerMorph 101 short course December 2nd - 5th 2024.
ORCID
0000-0003-0734-3308
Email
U2FsdGVkX1+tRxxHFsYhPCff3ASK0J0imnbJjV523ir3vagkIrLWKsB3gS1ggU3O
Confirm Email
U2FsdGVkX1+tRxxHFsYhPCff3ASK0J0imnbJjV523ir3vagkIrLWKsB3gS1ggU3O

/create

/unshelve

/unshelve

/unshelve

/unshelve


ci: add GitHub action for unit tests

:tada: This PR is included in version 1.0.0-beta.1 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Release apk

Adds the principle release workflow from ItchySats.

Draft release to create a new PR with an updated version in the pubspec (version needs to be provided manually) and change log.
Generate launcher icons for macos, windows, ios and android using flutter_launcher_icons
Build, sign and upload android apk to the job outputs before the actual release will be triggered.
Create a release from the merged release PR using https://github.com/ncipollo/release-action

For the git actions I generated a personal GITHUB TOKEN, which we should exchange with a bot user.
see example release here - https://github.com/holzeis/10101/releases/tag/0.1.1
resolves #128

Tested here - https://github.com/holzeis/10101/actions/runs/3421611553

did the ItchySats token not worked? it's an org-level token, and it is being used in 10101 CI already:
https://github.com/itchysats/10101/blob/main/.github/workflows/ci.yml#L50

did the ItchySats token not work? it's an org-level token, and it is being used in 10101 CI already: https://github.com/itchysats/10101/blob/main/.github/workflows/ci.yml#L50

Not on my fork 😅, is this the ITCHY MAX user? do we want to keep using that user for 10101? Also what did you use for email and name for that user?
cc @bonomat

did the ItchySats token not work? it's an org-level token, and it is being used in 10101 CI already: main/.github/workflows/ci.yml#L50

Not on my fork 😅, is this the ITCHY MAX user? do we want to keep using that user for 10101? Also what did you use for email and name for that user?
cc @bonomat

That's different token. @klochowicz : the token you linked will be the GH_TOKEN from the user/repository who triggered the workflow. In the linked case, it's the repository.
 You can use secrets.ITCHY_GITHUB_TOKEN for your action.

ups 😅 read like a bot 🙈

bors r+


[DeFi] - Add Xave Finance in tokenlist

Merge after https://github.com/traderjoe-xyz/joe-tokenlists/pull/1392

Need to resolve conflict that appeared after merging 1392

thanks for checking @pecio222 . Pushed fixes its now ready for PR review


Rancher Can Manage CoreOS

Will the Rancher can even Manage CoreOS

Yes Rancher manages CoreOS.

@sjkeerthi Please open a new issue if you have any issues specifically related to CoreOS.


Add @RequestBody and @RequestParam to whitelisted annotations for SpringMVC

Hi guys,
Great job with moving this plugin to the 2.0 spec. Recently when testing, I found that parameters with Spring annotations @RequestParam and @RequestBody are not picked up, and shouldn't necessarily require @ApiParam annotations. This can be fixed by adding them to the "whitelist" in AbstractReader

@tedleman Can you think of any other Spring annotations to add to the whitelist ?

There may also be some demand for using @PathVariable without @ApiParam, so that could probably go on the whitelist as well

Updated https://github.com/kongchen/swagger-maven-plugin/pull/193

Thank you guys, I just deploy the SNAPSHOT version


Add confidence scores per attribute for attribute extraction

https://github.com/refuel-ai/autolabel/pull/572


MSID: 100446 Version: 1 DOI: 10.1101/2<IP_ADDRESS>8890

MSID: 100446
Version: 1
Preprint DOI: https://doi.org/10.1101/2<IP_ADDRESS>8890
Step 1. Awaiting reviews
Editorial to post reviews via hypothesis
Useful links:

DocMap: https://data-hub-api.elifesciences.org/enhanced-preprints/docmaps/v2/by-publisher/elife/get-by-manuscript-id?manuscript_id=100446
New model tracking: https://docs.google.com/spreadsheets/d/1_fHaoOy7hjyocptKtVJRijeNpUY4hBS7Ck_aVmx6ZJk/
Reviews on sciety: https://sciety.org/articles/activity/10.1101/2<IP_ADDRESS>8890

For trouble shooting (e.g. no Docmaps available):

DocMap issue addressing: https://miro.com/app/board/uXjVNCwK6EI=/
Explore DataHub DocMaps API: https://lookerstudio.google.com/reporting/4c2f0368-babb-4beb-b5b3-497e7e7b0f08/page/ejphD
Unmatched submissions and preprints: https://lookerstudio.google.com/u/0/reporting/9f86204f-3bf7-477c-9b18-5c5ef141bf69/page/p_gxi57ha93c
Unmatched manuscripts spreadsheet: https://docs.google.com/spreadsheets/d/15QcK8w-ssB7109RQEDtFpJPZ0J5HTGxoHa_2TtpMBbg/edit#gid=1336081641

Step 2. Preview reviewed preprint
Production QC content ahead of publication
Instructions:

QC preview: https://prod--epp.elifesciences.org/previews/100446v1
Update ticket with any problems (add blocked label)
When QC OK, add QC OK label to ticket and add publication date and time to https://docs.google.com/spreadsheets/d/1amAlKvdLcaDp5W8Z8g77NmkwbMF5n_u89ArSqPMO8jg
Move card to next column
(At end of the day post link in #enhanced-preprint and ask for PDF to be generated)

Useful links:

Preprint DOI :  https://doi.org/10.1101/2<IP_ADDRESS>8890
Confirm reviews returned by EPP: https://prod--epp.elifesciences.org/api/reviewed-preprints/100446/v1/reviews
To update the MECA path in the docmap: https://docs.google.com/spreadsheets/d/1mctCQuNFBjSn97Lihy7_vBO6z7-N-oqyLv4clyi6zHg

Step 3: Awaiting search reindex
This step adds the reviewed preprint to the homepage: https://elifesciences.org
The search reindex is triggered once an hour. We need the reviewed preprint to be indexed as the search application serves the journal homepage.
Useful links:

Jenkins pipeline to reindex search can be triggered sooner or monitored here: https://alfred.elifesciences.org/job/process/job/process-reindex-reviewed-preprints/

Step 4: Published! PDF requested
Waiting for PDF to be generated
Useful links:

PDF tracking: https://docs.google.com/spreadsheets/d/106_XeDjmuBae7gexOTNzg60lapeqjl2aRn9DzupGyS8/

Step 5: Introduce PDF to data folder and git repo
Upload PDF to relevent folder in git repo https://github.com/elifesciences/enhanced-preprints-data/
Step 6: Done!

[ ] Kettle is on!

warn: [title-lower-case] Content of  element is entirely in lower-case case: Is that correct? 'ric8a deficiency in microglia is responsible for cortical ectopia.'
warn: [title-lower-case] Content of  element is entirely in lower-case case: Is that correct? 'app deficiency results in hypersensitive microglia and cortical ectopia.'
warn: [title-lower-case] Content of  element is entirely in lower-case case: Is that correct? 'emx1-cre is active in microglia.'
warn: [journal-ref-text-content] This journal reference (id c94) has untagged textual content -  e1012.. Is it tagged correctly?


fix: fix http method empty

http method 为空时处理

Codecov Report

Merging #165 into master will decrease coverage by 0.02%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master     #165      +/-   ##
==========================================
- Coverage      81%   80.97%   -0.03%
==========================================
  Files         184      184
  Lines        5953     5955       +2
  Branches      776      778       +2
==========================================
  Hits         4822     4822
  Misses        787      787
- Partials      344      346       +2

Impacted Files
Coverage Δ

...ges/hook/src/patch/shimmers/http-client/Shimmer.ts
80.18% <0%> (-1.55%)
:arrow_down:

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 5b002e3...b2d0826. Read the comment docs.


Support for additional events (e.g., those for mapbox-gl-draw)

When using this library along with mapbox-gl-draw it's not possible to listen to the draw events currently. Whilst I appreciate not supporting all the events, I think it should be possible to support additional events by allowing a user to pass an object of additional event mappings.
Alternatively, you could support any other key that doesn't have a mapping by automatically "guessing" a mapping, e.g., drawSelectionchange draw.selectionchange by replacing uppercase letters with lowercase ones preceded by a period (should be possible with a little str.replace(regex, fn))
This would allow better deeper integration with the entire mapbox-gl ecosystem.
I'd be happy to help write a PR if this feature is acceptable.

uve been using react-mapbox-gl-draw,
they have a context api as well so you have access to the mapbox draw library as well


Documentation for pushing native library to central

Description:
We need to have documentation on interoperability support and pushing native library to central
Steps to reproduce:
N/A
Affected Versions:
jballerin 1.0 beta

Java interoperability docs are here. https://v1-0-0-alpha.ballerina.io/learn/by-example/create-java-objects.html

We need to add [1] to cover information on pushing native library to central.
[1] https://docs.google.com/document/d/1ljdeKI6IrTmxi5jKNgd8aNbLW4w-KSd8DwEHQOndmWs/edit#heading=h.re44vh45id9m

Closing this as this will be done via [1].
[1] https://github.com/ballerina-platform/ballerina-lang/issues/19488


Migrate reminders endpoint from the site API

Closes #22

Add reminder endpoint package to the project:
Add reminder dependencies
Add reminder schemas
Add reminder endpoints
Add reminder tests to the project.
The tests use mocked DB session calls, to avoid using a test DB.
Introduce changes in the flake8 config, and main to be comaptible with the test suites.

Using a mocked test database in the tests is a very huge stepback from the existing Django API and renders all of the added tests far less effective. Please re-add the test database and integrate it with our CI properly such that we can validate that the endpoints works with the database as wanted.

Alright, I was gonna do this initially however @HassanAbouelela mentioned that it would make the possibility of implementing features such as  parallelization impossible, and that I shouldn't use a test database.
I think it's worth a discussion.

@jchristgit My reasoning for not adding the test database is that we don't really need it for our tests. I've looked over a few of the current site tests, and for the api ones, it's mostly just "Put data in DB, pull data from DB, call functions with that data." If you notice there, that whole putting into DB, and taking out is completely redundant. In both cases you're creating a predetermined instance of a model, and injecting it into a route. We don't need a DB to do that.
On the other hand, having a DB does make it more difficult to do certain things (such as parallelization as mentioned, but there are others). For instance, a test DB that is shared throughout the entire test suite makes for a more fragile suite, as your tests can have unexpected run conditions from other tests.
TL;DR: Imo, having a DB in our test suites doesn't solve much, but does make testing more complex.

@jchristgit My reasoning for not adding the test database is that we don't really need it for our tests. I've looked over a few of the current site tests, and for the api ones, it's mostly just "Put data in DB, pull data from DB, call functions with that data." If you notice there, that whole putting into DB, and taking out is completely redundant. In both cases you're creating a predetermined instance of a model, and injecting it into a route. We don't need a DB to do that.

I can understand your reasoning. For the majority of tests, it's true that this is redundant. However, by using a mock database, we could miss big problems such as broken inserts due to failed constraints, wrong types (or issues such as character truncation errors), foreign key problems, and more. For simple routes that are just essentially CRUD of routes, we could perhaps create some helper functions to perform the "create, test read, update, test updated, delete, test deleted" sequence of events whilst saving us from setting up mocks.

On the other hand, having a DB does make it more difficult to do certain things (such as parallelization as mentioned, but there are others). For instance, a test DB that is shared throughout the entire test suite makes for a more fragile suite, as your tests can have unexpected run conditions from other tests.

We can deal with this just fine as we are luckily using a sane database. Allowing parallel execution in our tests would basically just require:

Not relying on shared test information (such as fixed IDs), but having the database generate them for us
Using transactions to allow for parallel testing

So, I see valid points on both sides.
What's the consensus?
I can push a draft solution how the testing using a test DB would look like. (Or, how it would not )

Because of recent discussions and changes, I decided to close this pull request, and rewrite the changes from (almost) scratch.


Add Bus demo video, remove featured demo constraint

The Bus Tracking SMACK Stack demo now has a video, add that.
Also adjust the javascript which caused it to only show a youtube video if the
demo was the featured demo.
Urgency

[ ] Blocker
[ ] High
[x] Medium

Requirements

Test all commands and procedures.
Build content locally and test for formatting/links.
Add redirects to dcos-website/redirect-files.
Change all affected versions (e.g. 1.7, 1.8, and 1.9).
See the contribution guidelines.

Just pushed a few minor changes, and modified the dimensions of the youtube custom thumb nail (so that the picture fills the whole space in the video preview). I'm not seeing those changes yet when I build the site locally and am hoping it's just taking a while for them to propagate (I can see the change on youtube already). @pleia2 can you pull down my changes and check again on your build? If it looks good for you I can merge it.


Unable to convert account to multi-signature

The wallet announce HASH_LOCK without AGGREGATE_BONDED

@OlegMakarenko what not did you used?

@cryptoBeliever sorry, I don't understand your question

@OlegMakarenko sorry. Autocorrect.
Which one node was selected when you tried convert to multisig? I'm asking becauase there was problems with couple of nodes.

@cryptoBeliever I've just tried one more time and it works. I don't remeber I changed a node

@OlegMakarenko please confirm and provide reproduction steps if this's still happening. I couldn't reproduce it.

@bassemmagdy

Generate 3 seed accounts (let's call them s1, s2, ms)
Send 500 XYM to each of them
Select ms account and go to the Multisig page
Add s1 and s2 as cosignatories
Set minApproval = 2. Set minRemoval = 1
Confirm
Send

@Eugenity @NikolaiB please check it too if possible.

@cryptoBeliever I couldn't test it yesterday due to node issue. When the node issue is fixed I will test it.

Fixed


[Snyk] Upgrade netlify-plugin-cypress from 2.2.0 to 2.2.1

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade netlify-plugin-cypress from 2.2.0 to 2.2.1.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 1 version ahead of your current version.
The recommended version was released 5 months ago, on 2023-02-23.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

👷 Deploy Preview for yds-hugo1 processing.

Name
Link

🔨 Latest commit
bcd48746b1961642eb64dcb593eb040d3225a68f

🔍 Latest deploy log
https://app.netlify.com/sites/yds-hugo1/deploys/64bc2f39c3bee40008398a88


Restrict scroll, Screen locking & bug fixes

This PR includes fixes for

Restrict Scroll on all pages & Fit content accordingly
Sidebar navigation selection issue (Focus of sidebar menu based on page url)
Modes page, mode selection hover color issue
Added Overlay to restrict user input (Screen locking) & updated protobuf

This project is licensed under Apache License v2.0 for any software, and Solderpad Hardware License v2.1 for any hardware - do you agree that your contributions to this project will be under these licenses, too? Yes
Were any of these contributions also part of work you did for an employer or a client? No
Does this work include, or is it based on, any third-party work which you did not create? No


feat: Associated Items

Closes #866

This change is

@enitrat  ready for first review...

@TAdev0 Where are we on this?

@enitrat  havent done progress from last commit. I need to take time to finish this..!

@enitrat  PR updated ! I like this example with Concatenate trait, focusing only on the associated type feature, meaningful

@enitrat  commited all your suggestions and updated associated consts


raft: use leader's term when candidate becomes follower

should fix https://github.com/pingcap/raft-rs/issues/34

LGTM


Fix overlapped markers when using GLText

Summary
When rendering text using <GLText />, if two or more markers share the same position they will be displayed one on top of the other, which makes it harder to read.
The following changes avoid the overlap by rendering new markers in different lines (provided they share the same position, of course).
Test plan
Added new stories for testing this behavior in particular.
Versioning impact
Patch

Just double-checking in case I misread something here, but this still works with hitmaps right?

Yes. Markers are rendered to the hitmap in their new position, so it's still possible to select them.


chore: Remove protractor tests from repo

Removed protractor dependency
remove configs related to protractor

Closes #1133

@gladius-mtl Changes to the docs:
Definition of done document:
Script for running e2e tests
yarn e2e:cy:run # smoke tests
yarn e2e:cy:run:mobile # mobile tests
yarn e2e:cy:run:regression # regression tests

Warning. Before running them make sure to install dependencies in projects/storefrontapp-e2e-cypress and application is running.


Continuous reassignment

This pull request adds a continuous reassignment mode, which waits for a slice to finish, waits a while and then moves on to the next slice. It does this by subscribing to the zookeeper state, and can also attach a currently running reassignment.

Good feedback @iconara. The reason I merged this rather quickly is to have the continuous reassignment feature available in my future experiments into smarter ways to distribute the data, including a two step approach where we sync in a new broker before removing the old. This will most likely result in larger rewrites, and I will take this feedback with me in that process.


fix: broken build badge

:tada: This PR is included in version 1.0.5 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Importing @sveltekit-cdk/constructsv2 esm module does not work

When I import via 'import', it somehow targets the dist/cjs file. I expect it to reference the dist/mjs file.
import { SvelteDistribution } from "@sveltekit-cdk/constructsv2";
         ^^^^^^^^^^^^^^^^^^
SyntaxError: Named export 'SvelteDistribution' not found. The requested module '@sveltekit-cdk/constructsv2' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:

import pkg from '@sveltekit-cdk/constructsv2';
const { SvelteDistribution } = pkg;

As a workaround, I did this:
const pkg = require('@sveltekit-cdk/constructsv2');
const { SvelteDistribution } = pkg;

I wasn't able to reproduce the error. Tried a build that produced only an esm package, but couldn't get it to work nicely with cdk.
<EMAIL_ADDRESS>contains only commonjs package, with slightly different build and package config. Could you try that?

Thanks! The new version works great now.


Add seek to last with key prefix

I currently have some indexes and I need to access them in ascending and descending order.
Current solution is that I use is of place holder key that is always sorted after my index.So I can use Seek function to seek to it and then use Prev to use index in reverse order.
I tested FoundationDB go driver and it had way to seek to last key that matches key prefix.
Is this something that could be added to kv without scanning every key between first seeked and last matching key prefix?

Your solution is the same one that I use. One possible alternative might be to provide something like:
// SeekLastKey returns an enumerator positioned on the last key/value pair
// whose key is less than the given key. There may be no such pair, in which case
// the Next,Prev methods of the returned enumerator will always return io.EOF.
func (db *DB) SeekLastKey(key []byte) (enum *Enumerator, err error)


WASI Console use causes panic (haskell)

Describe the bug
Haskell compiler wasm32-wasi-ghc version 9.7.20230306 compiles a WASM artifact that cannot use console (or maybe all) file descriptors. (see addtl. context below, I know this is not supported)
To Reproduce
using haskell code:
module Query where

import System.IO (hPutStr,hFlush,stdout)

foreign export ccall query :: IO Int

query :: IO Int
query = do
  hPutStr stdout "{\"name\":\"bob\"}"
  hFlush stdout
  return 0

compiled with
wasm32-wasi-ghc Query.hs -o haskell.wasm -no-hs-main -optl-mexec-model=reactor -optl-Wl,--export=hs_init,--export=query

ran with
ctx := context.Background()
r := wazero.NewRuntime(ctx)
defer r.Close(ctx)
wasi_snapshot_preview1.MustInstantiate(ctx, r)
mod, err := r.Instantiate(ctx, bin)
if err != nil { panic(err) }
// starts the haskell runtime
_, err = mod.ExportedFunction("hs_init").Call(ctx, 0, 0)
if err != nil { panic(err) }
// call our exported function
err = mod.ExportedFunction("query").Call(ctx)
if err != nil { panic(err) }

Expected behavior
the wasm binary should be able to write to stdout.
Screenshots
stack trace
panic: interface conversion: *sys.stdioFileReader is not io.Writer: missing method Write (recovered by wazero)
wasm stack trace:
        wasi_snapshot_preview1.poll_oneoff(i32,i32,i32,i32) i32
        .__wasi_poll_oneoff(i32,i32,i32,i32) i32
        .poll(i32,i32,i32) i32
        .fdReady(i32,i32,i64,i32) i32
        .base_GHCziIOziFD_zdwwriteRawBufferPtr_entry() i32
        .StgRun(i32,i32) i32
        .scheduleWaitThread(i32,i32,i32)
        .rts_inCall(i32,i32,i32)
        .query() i32

Environment (please complete the relevant information):

Go version: 1.20.1
wazero Version: v1.0.0-rc.1 (reproduced on main@7e953d7 as well)
wasm32-wasi-ghc Version: 9.7.20230306
Host architecture: amd64
Runtime mode: interpreter

Additional context
I know this is not a tested or supported wasm compiler and I do not expect much support here, I just wanted to provide a data point on the WASI implementation not meeting expectations of a runtime. When I checked out the stack trace this lead me to believe it was trying to use a nonblocking IO call and waiting on the fd event, but it was getting an unexpected error and failing.
Hope it helps in the future!

hey this is super-interesting, can you share the wasm binary somewhere for convenience? :)

yep, see attached
haskell.wasm.gz

cool, will look into that 🧐

panic: interface conversion: *sys.stdioFileReader is not io.Writer: missing method Write (recovered by wazero)

hah I see cc @codefromthecrypt

first issue was that when a target file descriptor isn't read, it ends up zero, which is STDIN, so this hid some underlying issue and solved in #1237

@evacchi here's where I got..
So, if you add a test like this, it will fail

func TestHaskell(t *testing.T) {
	ctx := context.Background()
	//// Set context to one that has an experimental listener that logs all host functions.
	//ctx = context.WithValue(context.Background(), experimental.FunctionListenerFactoryKey{},
	//	logging.NewHostLoggingListenerFactory(os.Stdout, logging.LogScopeAll))
	r := wazero.NewRuntime(ctx)
	defer r.Close(ctx)

	wasi_snapshot_preview1.MustInstantiate(ctx, r)

	bin, err := os.ReadFile("/Users/adrian/Downloads/haskell.wasm")
	require.NoError(t, err)

	mod, err := r.InstantiateWithConfig(ctx, bin, wazero.NewModuleConfig().
		WithStdin(os.Stdin).
		WithStdout(os.Stdout).
		WithStderr(os.Stderr))
	require.NoError(t, err)

	// starts the haskell runtime
	_, err = mod.ExportedFunction("hs_init").Call(ctx, 0, 0)
	require.NoError(t, err)

	// call our exported function
	_, err = mod.ExportedFunction("query").Call(ctx)
	require.NoError(t, err)
}

Also, logging seems misaligned probably due to stdio being not skipped properly
While lightly documented, my guess is that there is an implicit behavior people use for inlining a poll, as otherwise, no idea how you can determine how many bytes are available for read or write.
I don't think this can make the current release candidate, but it might be viable by 1.0 next week, or at least better explained where logging doesn't crash. Good luck!

ok so, here's what I found out so far.
For some reason we are (mistakenly?) reading FD 0 from the linear memory struct event.
In fact, you can print fd here:
func processFDEvent(mod api.Module, eventType byte, inBuf []byte) Errno {
   fd := le.Uint32(inBuf)

and you'll see it's always 0; you can also slam 1 in there to see that the test will pass (more or less, there is still some issue with flushing I think -- if I add a last println() at the end of the test case it passes. Go figure)
func processFDEvent(mod api.Module, eventType byte, inBuf []byte) Errno {
   fd := uint32(1) //le.Uint32(inBuf)

now I don't know if this is related but inBuff[4] in that function is suspiciously =1 while the other offsets are 0, so if I add +(4) (the parens are just for emphasis):
		errno = processFDEvent(mod, eventType, inBuf[inOffset+8+4+(4):])

again, this works. It is looking like a sort of off-by-one error, but I could be completely mistaken.
I managed to run this against wasmtime https://github.com/evacchi/go-wasm-boilerplate and that works. I also rebuilt the example with a main so that we don't need the boilerplate for embedding (to my great surprise ./setup.sh works flawlessly https://gitlab.haskell.org/ghc/ghc-wasm-meta -- but don't put the source $HOME/.ghc-wasm/env in your profile rc because it messes up with the default compiler and cgo gets crazy)
long story short, it is still broken, but now it's easier to test.
main-hputstrln.wasm.gz
module Main where

import System.IO (hPutStr,hFlush,stdout)

main = do
  hPutStr stdout "{\"name\":\"bob\"}"
  hFlush stdout
  return 0

wazero run main-hputstrln.wasm

dies the same way as the original example
main-putstrln.wasm.gz
module Main where

import System.IO

main = do
  putStrLn "{\"name\":\"bob\"}"
  return 0

wazero run main-putstrln.wasm

silently dies without printing anything

ah that's right, the reason why it dies without any error it's because the hFlush is really the one complaining

Unless I am horribly misguided (which I may be) this should fix the issue 😅 https://github.com/tetratelabs/wazero/pull/1239

thanks for fixing this, @evacchi! we'll have a release candidate out today or tomorrow


Update codegen/break out Supabase client generation from useDatabase hook

There have been a few cases where it would've been easier to pull in the Supabase client directly to compose a set of API queries (ie, to retrieve a Project, its Tracks, then TrackSections, etc.) While having generated CRUD hooks for each of these is nice, there's going to be cases where we want to pull in each of these in one go to return a "joined" object or record.
The useDatabase hook could ultimately stay, but the bulk of the logic that builds out each typed from<T> function will be moved into a generated version of the Supabase client that can be imported in or out of hooks.

Completed with https://github.com/brandongregoryscott/beets/commit/0e72f78bf13df819502f14452d415b8b2891c65f


500 Error Class "Fruitcake\Cors\CorsServiceProvider" not found

I just install fruitcake/laravel-cors
composer require fruitcake/laravel-cors

 - Installing asm89/stack-cors (v2.0.3): Extracting archive
 - Installing fruitcake/laravel-cors (v2.0.4): Extracting archive

and all requests gets

File exists in vendors:

laravel/framework                      v8.51.0

PHP 8.0.9

Same issue on me!!!

@barryvdh Can you help

Delete vendor folder & run composer install
solve me that issue.


Migrate to TypeScript

We want to add TypeScript to the project in order to have type checking!
Implementation plan

[ ] Add tsc to the project with allowJs: true
[ ] Add a build step to our pipeline, in order to check if our app compiles.
[ ] Add a build step to app.json, heroku doesn't understand TypeScript 😉
[ ] Add support for TypeScript in our eslint configuration
[ ] Add support for TypeScript in jest by using ts-jest
[ ] Migrate our test suite to TypeScript
[ ] Migrate .js files to .ts files adding types

[ ] ... (maybe we track file by file)

Meme!
![image](https://user-images.githubusercontent.com/7255298/79270960-52aa1700-7e9f-11ea-929c-5bbb0b9551a7.png)

@orestes feedback welcome!


addBuildPhase corrupting project

I want to automate Crashlytics initialization by adding a build phase, as documented here:
https://firebase.google.com/docs/crashlytics/get-started#initialize
I added a cordova after_prepare hook to run the following script:
const xcode = require('xcode')
const path = require('path')
const fs = require('fs')

module.exports = function (context) {

  const projectDir = path.resolve(context.opts.projectRoot + '/platforms/ios')
  const dirContent = fs.readdirSync(projectDir)
  const matchingProjectFiles = dirContent.filter(filePath => /.*\.xcodeproj/gi.test(filePath) );
  const projectPath = projectDir + '/' + matchingProjectFiles[0] + '/project.pbxproj'

  const project = xcode.project(projectPath)

  project.parse(error => {
    if (error) console.error('failed to parse project', error)
    const options = {
      shellPath: '/bin/sh',
      shellScript: '${PODS_ROOT}/Fabric/run',
      // TODO: setting inputPaths corrupts the project file
      // inputPaths: ['$(BUILT_PRODUCTS_DIR)/$(INFOPLIST_PATH)']
    }
    // TODO: Only add if not there yet
    project.addBuildPhase(
      [],
      'PBXShellScriptBuildPhase',
      'Initialize Crashlytics',
      project.getFirstTarget().uuid,
      options)
    fs.writeFileSync(projectPath, project.writeSync());
  })
}

The script as-is will create the build phase, but note the TODO comment above the commented-out configuration to set inputPaths. If I uncomment inputPaths, then the project file is corrupted, and I need to wipe out the platforms directory and start over.
Am I doing something wrong?
P.S. How can I check whether a build phase exists before adding it, in order to prevent duplicates?

I figured it out. The inputPaths item needs double quotes around it:
inputPaths: ['"$(BUILT_PRODUCTS_DIR)/$(INFOPLIST_PATH)"']


Dynamic country code for FormBuilderPhoneField

Is it possible to make the country code for the phone field dynamic?
Imagine I have a country picker at the to and I have a few FormBuilderPhoneField following it. I want to make the country selection to change the country code of all phone fields.

The Phone Field has a defaultSelectedCountryIsoCode property.
You can easily engineer the form to pass the Country Code selection to subsequent Phone fields.

@awhitford The field defaultSelectedCountryIsoCode is final. If I am not wrong, it can only take the value once at the runtime.

I am imagining code like this:
            FormBuilder(
              child: Column(
                children: [
                  FormBuilderCountryPicker(
                    attribute: 'country',
                    onChanged: (value) {
                      final Country country = value;
                      setState(() {
                        _selectedCountryIsoCode = country.isoCode;
                      });
                    },
                  ),
                  FormBuilderPhoneField(
                    key: ValueKey('Phone1_$_selectedCountryIsoCode'),
                    attribute: 'phone1',
                    defaultSelectedCountryIsoCode: _selectedCountryIsoCode,
                    decoration: InputDecoration(labelText: 'Phone 1'),
                  ),
                  FormBuilderPhoneField(
                    key: ValueKey('Phone2_$_selectedCountryIsoCode'),
                    attribute: 'phone2',
                    defaultSelectedCountryIsoCode: _selectedCountryIsoCode,
                    decoration: InputDecoration(labelText: 'Phone 2'),
                  ),
                ],
              ),
            ),

Note that the key hack is important for the state change to trigger a rebuild of the FormBuilderPhoneField widgets.
Does this help?
It is likely not perfect for you.  Play around with it, and when you have a more precise request, we can ponder further opportunities to improve the widgets.  I'm thinking that maybe you want a flag to hard-code the country selection, not just default it?

@awhitford Yes. Think looks promising, It is a moonlighting project and I work on it in my free time. I will give a try, I didn't use the key hack. It is something new for me. Thank you so much!!

#466 has a similar issue.
Here is an article that explains:

https://medium.com/analytics-vidhya/how-to-force-widget-to-redraw-in-flutter-2eec703bc024

Well, this is actually how Flutter works - tries to keep Stateful Widget’s State.


Update service-gateway-sql-tutorial.md

Changed Report level filters to Filters on this page. I assume the PBI Desktop has changed since the doc was written.

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

Thanks for submitting this update @crowcoder !


error "TypeError : cannot read 'type'

This error occurs when cypress starts new test case and the last test case hasn't fully executed then async function composeeRequest yet.
I added

" if (type == undefined) return "

in line:87 to solve the problem.

I think it's because cypress release immediately resources between each test.

Props to @zjxjohnxtlxb because that appears to be the fix (for me, so far, at least). I'm using patch-package to work around this for now, here is a PR for a permanent fix.


[05/11/2022] Backend API test deployment

Description
Deploy API to any cloud platform for test for test
I'll go for Google cloud platform.
What needs to be done?

[x] Deploy app to google cloud platform
https://moocs-test.onrender.com
[x] Update API host link

I tried using GCP but i had issues setting up a free tier account so i switched to Render

Thank you @RealRichi3 but the link doesn’t work!

@BatoolMM should i also host the front end app?

@RealRichi3 the API is not connected to the frontend yet, so it can not be tested from there. I suggest you share the PostMan UI doc for the APIs where sample data can be used for testing. you could also use Swagger UI, but Postman UI is also great.

@sandygudie I already added the API documentation for the authentication routes you can check here
It's in JSON format, so you can import it to postman

@sandygudie @RealRichi3 I think you should host the front-end app, feel free to merge the PRs related to the front end after getting reviewed. https://moocs-test.onrender.com doesn't work. Let me know if you need any help in merging the PRs in the dev_team2 branch.

Alright @BatoolMM

Yes @RealRichi3 i will host the frontend


Fix build action added sample function doc

Fixed the deploy action so it won't override the whole folder just the correct version one.
Added example doc for a blit function.

Those commits from PR #2 concerns me. Could you rebase the two commits?


Questions/Feature Requests: Nested entities that aren't objects, Denormalization, JSON-API

Firstly, @gaearon, thank you for your work on the Redux ecosystem. The normalizr library has been critical for my project, so I had a couple of questions which are really disguised feature requests -

Are there any plans to support JSON-API response system in the future? Right now, I have made it work for JSON but there are plans to move to JSON-API in the near future. In that case, I wonder if I will have to discard library to write something similar of my own or if you plan to support it.

Is there any way to specify or for the dictionary to identify single attribute of an object rather than needing for the whole object to be there?

For example,
post.define({
	author: user
});

works great when the author object is embedded within the post object like
"post": {
  "author": {
    "id": 5,
    "name": "r2d2"
  }
}

What can I do for cases where the JSON is either of the two options below?
"post": {
  "author":5
}

OR
"post": {
  "author_id":5
}

A pain that I am facing now is constant denormalization of the nested entities in a lot of the components. With a result, those components aren't as 'dumb' as I would like and are constantly having to have state.entities.x passed to them which they can use to fetch the appropriate nested entity (using lodash find, merge, mapValues etc). I suspect there is some other way of doing this? A different pattern or another denormalization solution?

Apologies if I missed this in documentation somewhere!
Thanks again!

I would also like to know if the JSON-API spec will be supported.
As far as author and author_id it sounds weird because usually in your schema or table you set the key. What type of database are you using?
If it's Mongo you can rename all keys easily in the CLI:
db.posts.update({}, {$rename: {'author_id': 'author'}, {multi: true});

Which would take all existing author_id keys and change them to author.

@MikeBarnhardt: The case of author & author_id seems to be fairly common in the Rails world where associations take the form of has_one :author and the key becomes author_id. In several cases, it is more performant to just show the foreign key than fetch an association and I would ideally have normalizr recognize the linkage between entities.

@oyeanuj Ah, that makes sense. I'm not familiar with Rails, but I can see where you might run into multiple keys now.

I have this same problem with Laravel as a backend. I have activities belonging to markets. So I return activities with their market nested, which means a lot of duplication. I also have market_id as a property on activity, and would like to tell normalizr to use that, as I can fetch all markets from a different api call.

Concerning foreign key relations its easier to just serialize foreign key references with a nested object. Serialization could be done completely independent of AR, ROM, etc model structure: jbuilder, activemodel serializers, etc.

I'm happy to consider specific PRs. These suggestions might be great but they sound very open-ended, and since I don't actively work on this library, they are much more likely to be implemented if you work on them and send PRs :-). Thereby I'm closing.

@gaearon thanks for your response! I might not have helped matters by clubbing a few different matters together. Before I can send PRs, I would love to get specific responses from you on the following points:

A pain that I am facing now is constant denormalization of the nested entities in a lot of the components. With a result, those components aren't as 'dumb' as I would like and are constantly having to have state.entities.x passed to them which they can use to fetch the appropriate nested entity (using lodash find, merge, mapValues etc). I suspect there is some other way of doing this? A different pattern or another denormalization solution? In general, it seems that denormalization isn't addressed much in this ecosystem, so I am wondering what is a good pattern for that?

Just to confirm, these are not supported yet by normalizr, right? Identifying the author has objects in cases where JSON resembles the following:

"post": {
  "author":5
}

OR

"post": {
  "author_id":5
}

@vyorkin thanks for the suggestion, will try it!

@paularmstrong I just wanted to follow up on above (especially the second request). Since I asked, there have been a lot of additions to the library. For the second request, is it something that assignEntity can be used for? And for the first request, is that something that this library has an opinion on?

@paularmstrong Sorry, if the second problem wasn't clear. I'll try to clarify.
In the example below,
post.define({
	author: user
});

works great when the author object is embedded within the post object like
"post": {
  "id": 1,
  "author": {
    "id": 5
  }
}

and the normalized result would be something like this:
"result": [1],
"entities": {
  "posts": {
    "1": {
      "id": 1
    }
  },
  "users": {
    "5": {
      "id": 5,
      "name": "r2d2"
    }
  }
}

It seems that the entire author object needs to be embedded for the above example to work, i.e. get users entity. If instead the response from the API was something like either of the two options below, I wouldn't get the 'users' entity object (even though that response seems normalized)?
"post": {
  "id": 1,
  "author":5
}

OR
"post": {
  "id": 1,
  "author_id":5
}

So, an ideal solution would be to

able to support a dictionary or array of terms for 'user', i.e., both author and author_id?
if instead of an object, an id is returned than that being translated to object.id?

Is it better to do this through assignEntity instead?

Entities need to be objects. If all you're getting from the API is a number or string for the ID, normalizr does not and will not know how to turn that into an entity. Maybe I'm missing something, so it might be more clear if you posted your input and full expected output.

(Sidenote: Are comments disappearing? I can't seem my previously posted comment with example input and output, or your comment which I only have as an email notification). To respond to your comment - Ideally, there would be a way to ensure that all three inputs below could result in the same output.
"post": {
  "id": 1,
  "author": {
    "id": 5
  }
}

OR
"post": {
  "id": 1,
  "author":5
}

OR
"post": {
  "id": 1,
  "author_id":5
}

would all result in:
entities: {
  posts: {
    1: {
      id: 1,
      author: 5
    }
  },
  authors: {
    5: {
      id: 5
    }
  }
}

By default, only the first one results in the desired output, not all three. In Rails world for example, or in general for relational databases, often the foreign key is returned rather than the entire entity that the foreign key represents.
I hope that clarifies the question, sorry for the back and forth on this!

The second two "OR" options aren't entities. There's no way to normalize them. They're already normalized. You can convert the author_id key to author using assignEntity, if you'd like. However, it will not be possible to make that appear in the entities output.

Thanks for the quick response! Is there a way to use assignEntity to convert last two options into entity since #72 gives us access to the original input object? If we do that, will the it appear in the entities output?
As an aside, philosophically, should dealing with references to an entity also be considered within the scope of this project as they serve the same purpose and contain the same functional information? I could see the library supporting ['key', 'key_id', 'keyId'] when determining an entity and if it is a number, assigning it to the 'id' field? It seems like that this might be a common use-case for anyone dealing with relational databases?

You cannot convert objects during normalization to entities unless they are pre-defined as entities in the schema provided. So, no, assignEntity will do you no good here.
I'm not convinced on the need to have any magic conversion of keys. In a lot of cases, it doesn't make sense to change. Also, many object IDs are actually strings, so this wouldn't help in a lot of cases. I'd rather err on simplicity here and let the you, the developer, decide how to handle things for yourself.


Export constants efficiently

[x] This only affects the JavaScript OpenTelemetry library
[ ] This may affect other libraries, but I would like to get opinions here first

Modules containing constants such as SemanticAttributes and SemanticResourceAttributes are generated in a way that causes the entire module to be bundled in when you use even one of its properties
While analysing our browser bundle size, we noticed these two modules contributing significantly to the opentelemetry package's bundle size. Currently ~16% of the @opentelemetry impact in our app comes from these two files

Instead of doing this
export const SemanticAttributes = {
    AWS_LAMBDA_INVOKED_ARN: 'aws.lambda.invoked_arn',
    ...

they should be generated and exported at top level like this
export const AWS_LAMBDA_INVOKED_ARN = 'aws.lambda.invoked_arn';

You can then still use default imports and make their usage consistent with the current developer experience
import SemanticAttributes from '@opentelemetry/semantic-conventions';

console.log(SemanticAttributes.AWS_LAMBDA_INVOKED_ARN)

Let me know if how I am thinking makes sense, I can pick up this issue and create a PR

Yes, changes that can help tree-shaking and don't introduce any breaking change are welcomed.


WIP: Update vendor for GKE Option rename

This change adds logic to the cluster formatter to show certain nil
fields as true when they are returned from the api.  This is so that the
fields are persisted correctly after the cluster is updated.
Issue:
https://github.com/rancher/rancher/issues/13789
Depends on:
https://github.com/rancher/kontainer-engine/pull/77
https://github.com/rancher/types/pull/531

rename struct fields to consistently start with Enable, otherwise it looks good

LGTM


Hey. Great great project.

Is there any other examples of usage you can share paul?

I like this also, could be interesting to create games with multiple screens, new ideas, new concepts.


BotFramework-Emulator working but no detail

Somehow it work however it doesn't show anything on the detail.
Running HighSierra with the latest BotFramework-Emulator. Any help will be greatly appriciated

Click on a message that you or the bot sent. The Details pane will display the JavaScript Object that made that message.

This has tripped up a few users. We should consider adding some help text when nothing has been selected. "Select a message or click a link to view details"


Update Sydney chain specification #153

Issue
https://github.com/ggxchain/planning/issues/153

Of course we might need to find this code later, but I'm ok with removing it. At least we can always find it in history.
Up to @akorchyn to decide.


Add CeloDance Wallet to Celo use-contractkit

hi, we just fixed the code issues , please check it out .thanks. the reason we're rejected the last time you can see at 36#

Please don't close and reopen new PRs for each change. Just push updates to the existing PR


In mobile, if the title of proposal too long, display error

Description
In mobile, if the title of proposal too long, display error
Steps To Reproduce

Log in...
Use mobile , enter a DAO page https://test.tmrwdao.com/dao/indexer-2.0-token-based-dao

Current Behavior

In proposal list and proposal page, if title too long, will display incorrect

Expected Behavior

If title too long, in proposal list omit display, in proposal page line break display

Environment

Platform: PC
Node: v18.18.0
Browser: Chrome 126.0.6478.56

DAO detail page also display incorrect

fixed confirm


The css color property was not properly used in the Hello World heading!

Fixes
This PR fixes the color property of the Hello World heading.
Fixes #160 by @aashimgarg
Screenshots

This PR modifies the INSTRUCTIONS.md file and the README.md file tangential to the goal of the PR and then replaces the valid color prop with the style attribute which is again contrary to the purpose of Vue Vocabulary. Closing.


How do I configure RedisCluster with Doctrine Cache

Hi.
I am not able to configure correctly SncRedisBundle to work with RedisCluster and doctrine for ResultCache.
Always end up with PHP Fatal error:  Uncaught Symfony\Component\Debug\Exception\FatalThrowableError: Argument 1 passed to Doctrine\Common\Cache\RedisCache::setRedis() must be an instance of Redis, instance of RedisCluster_8dcfeee given
I read that DoctrineCache dont want to support RedisCluster and redirect me to Symfony Cache Apdater but I was not able to link all that together.
Any help is welcome.
Thank.

Hello,
For which version of Symfony would you like to do that?
Le lun. 9 déc. 2019 à 22:05, Mathieu Delisle<EMAIL_ADDRESS>a
écrit :

Hi.
I am not able to configure correctly SncRedisBundle to work with
RedisCluster and doctrine for ResultCache.
Always end up with PHP Fatal error: Uncaught
Symfony\Component\Debug\Exception\FatalThrowableError: Argument 1 passed to
Doctrine\Common\Cache\RedisCache::setRedis() must be an instance of Redis,
instance of RedisCluster_8dcfeee given
I read that DoctrineCache dont want to support RedisCluster and redirect
me to Symfony Cache Apdater but I was not able to link all that together.
Any help is welcome.
Thank.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/snc/SncRedisBundle/issues/554?email_source=notifications&email_token=AAG2RE5QUGNMSGP3EDCRK33QX2XH5A5CNFSM4JYSGFNKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H7IMVWA,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAG2REZFDCZD4DZZ274CS53QX2XH5ANCNFSM4JYSGFNA
.

Symfony 4.4

Ok thanks, make sure you are using doctrine-bundle 1.12+.
Then something like this should work:
framework:
  cache:
    prefix_seed: your_project_CHANGE_ME

    # Redis
    app: cache.adapter.redis
    default_redis_provider: snc_redis.default

doctrine:
  orm:
    auto_generate_proxy_classes: false
    metadata_cache_driver:
      type: pool
      pool: doctrine.system_cache_pool
    query_cache_driver:
      type: pool
      pool: doctrine.system_cache_pool
    result_cache_driver:
      type: pool
      pool: doctrine.result_cache_pool

framework:
  cache:
    pools:
      doctrine.result_cache_pool:
        adapter: cache.app
        default_lifetime: 25200 # 1 week
      doctrine.system_cache_pool:
        adapter: cache.system

Thank! I will test this.
Would be nice to be in the documentation for other.

@B-Galati seem to work 👍 big thank!

No problem. I keep this opened to add something in the doc.

Guys, this is a NO solution. This take doctrine system cache from redis at all:
doctrine.system_cache_pool:
adapter: cache.system

Please don't copy/paste the same comment in multiple places. Open an issue if you think something is wrong and explain why.

default_lifetime: 25200 # 1 week

Actually it's 7 hours


Issue With PhantomJS

I'm running MacOS Monterey. I has installed PhantomJS using homebrew (version 2.1.1) to /usr/local/bin/phantomjs. When I try to run the test code (with my login credentials inserted) in VSCode:
from FacebookWebBot import *
bot = FacebookBot()
bot.set_page_load_timeout(10)
bot.login("", "")
allpost = bot.getPostInProfile("", deep = 5)
for p in allpost:
print(p)
I receive the following error message:
File "/Users/sadler/Documents/Bots/Facebook/testing.py", line 1, in
from FacebookWebBot import*
File "/Users/sadler/Library/Python/3.9/lib/python/site-packages/FacebookWebBot.py", line 93, in
dcap = dict(DesiredCapabilities.PHANTOMJS)
AttributeError: type object 'DesiredCapabilities' has no attribute 'PHANTOMJS'
Does anyone know what this problem might be?

the problem is not in the code or anything, is that the Selenium community stopped supporting PhantomJS in the new version. so every time you try to pull the PhantomJs lib it doesn't exist. In the documentation it says that they currently support. (Read this)
I advise you not to use PhantomJS at this moment. On the official site of Selenium (Read this) you can read the quote: "PhantomJS is a headless browser based on Webkit, albeit a version much older than that used by Google Chrome or Safari. Whilst historically a popular choice, it would now be wise to avoid PhantomJS. The project has been unmaintained since the 5th of August 2017, so whilst the web will continue to change, PhantomJS will not be updated. This was after Google announced the ability to run Chrome headlessly, something also now offered by Mozilla’s Firefox.". I changed to Mozilla’s Firefox (I use it headlessly).
Source : stackoverflow

In this case you have to rebuild entire of the script to make it can run over Chromedriver or another Webkit.

the problem is not in the code or anything, is that the Selenium community stopped supporting PhantomJS in the new version. so every time you try to pull the PhantomJs lib it doesn't exist. In the documentation it says that they currently support. (Read this)
I advise you not to use PhantomJS at this moment. On the official site of Selenium (Read this) you can read the quote: "PhantomJS is a headless browser based on Webkit, albeit a version much older than that used by Google Chrome or Safari. Whilst historically a popular choice, it would now be wise to avoid PhantomJS. The project has been unmaintained since the 5th of August 2017, so whilst the web will continue to change, PhantomJS will not be updated. This was after Google announced the ability to run Chrome headlessly, something also now offered by Mozilla’s Firefox.". I changed to Mozilla’s Firefox (I use it headlessly).
Source : stackoverflow

In this case you have to rebuild entire of the script to make it can run over Chromedriver or another Webkit.


Remove invitation by e-mail at members page

Solves (partially) #2080
What does this PR do?
Removes invitation by e-mail and replaces it with invitation by copying link to groupPreview page.
To do:

[x] add new text to locale
[x] figure out how to get and display the complete URL for the groupPreview
[x] add some visual feedback to show the link has been copied to clipboard
[x] add close button to dialog

Links to related issues
Checklist

[ ] added a test, or explain why one is not needed/possible...
[ ] no unrelated changes
[x] asked someone for a code review
[x] joined chat.foodsaving.world/channel/karrot-dev
[x] added an entry to CHANGELOG.md (description, pull request link, username(s))
[x] tried out on a mobile device (does everything work as expected on a smaller screen?)

Thx for the review, @larzon83 ! I changed everything accordingly.


Create cavaninstitute.txt

student emails<EMAIL_ADDRESS>

@CFeeney333 First stage of verification passed, official domain is cavaninstitute.ie as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@CFeeney333 Pull request merged. Thank you.


Iss550

Re #550

Thanks for the great work @sishtiaq! This is really neat, and we save me (and several others) a lot of time... can't count how many times I forgot --universes was not yet the default!


Warning bad programming method - back linking

Describe the bug
Someone having a over-sized ego put plenty of back-link and call to his own server in this software.
https://github.com/pH7Software/pH7-Social-Dating-CMS/blob/0ca67c22a2053f99ecd9a61f67e1f1bc55fb13ea/static/js/cookie_consent/eu-states.js#L6
Why write a call to your own server that just serve the latest version of a software from CND ?
Want to get usage stats ? Do it the proper way.
That's mostly like creating a dating site to sniff girls phone number : BAD
There's a name for this : Stalker
No excuse for lack of time.
DO I GO FORWARD AND TALK ABOUT GHOST USERS AND SUCH?
(a clear and concise description of what the bug is.)
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected Behavior
DONT DO THIS
(a clear and concise description of what you expected to happen.)
Screenshots / Screencasts
(if applicable, add screenshots or screencast the scenario to help explain your issue the best you can.)

Its same for the adult warning bar. This has a deliberate link to a porn site...

We are going to have the Ghost talk at some point in the future because in my head this is starting make me question a few things...
First real alarm bell was the script that screams home announcing every new install, then there is the dead user I have seen come to life, that in theory could be used to login to any one of those installed sites.
The same URL is automatically included in the config.ini under
[ph7cms.api]
private_key = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

allow_domains[] = "ph7cms.com"

You are warned never to change the key. but id advice replacing this api key that controls access to private user data is the first thing you should do after installation. Also a user who was to change the chat from the default and didn't think or even know he has to remove the allow_domains comment above then he has left his server with the front door wide open!
The out of date jquery library that will cut conversation instantly dead if asked about was odd! Lots of old dependencies used with composer (a tool invented to keep these up to date doesn't make much sense either!
I advice people to change api-key, set a new password on userId = 1 and alter the email address too just for there own peace of mind! There is so much more now I think about it!
@pH-7 Please explain yourself.

Hey @polynamaude & @Undefined-Variables
Great questions! 😊

Concerning the ghost user, it's like the Ghost user on GitHub user. It will be used when a user removed its account, the forum posts, or other contents like comments left by that user will be changed to the "ghost" user. The ghost user is unusable. And beside of that, it has a random password, so it's impossible for anyone to know the ghost password. https://github.com/pH7Software/pH7-Social-Dating-CMS/blob/master/_install/data/sql/MySQL/pH7_Core.sql#L161

If you use the API offered by the software (e.g. to build native apps; https://github.com/pH7Software/pH7-Social-Dating-CMS/wiki/How-To-Use-the-RESTful-API-and-Add-new-Endpoints), the API key is auto-generated for each installation
https://github.com/pH7Software/pH7-Social-Dating-CMS/blob/dc9b5ffffc560d89d0631de61eab4c345e9dbe5d/_install/data/configs/config.ini#L119

https://github.com/pH7Software/pH7-Social-Dating-CMS/blob/2bd215a7a00d49a8cc33264a5e92dfbc288e8def/_install/controllers/InstallController.php#L238

@Undefined-Variables What composer outdated dependencies are they? Would you mind to open a PR for this?

Concerning the jQuery version, there were some incompatibilities from other JS libraries that weren't working correctly with the newer jQuery version. The plan in the future would be to get rid of jQuery and just use vanilla JS (but that's a huge work!)

that will cut conversation instantly dead if asked about was odd!

What do you mean? I'm not sure to understnad that one.

the script that screams home announcing every new install,
Sorry about it, but I'm also not sure to get that line... Can you clarify it? :)

Hey @pH-7 Firstly thank you for the explanation. Sorry but you have to ask these questions sometimes.
I understand what you are saying about the automation of the api_key but how do two applications set valid tokens for each other and share them having never being connected? I use the api for many things but the PWA is just as usable. Its a pleasure to use and feels like app store native installed app.
What I mean by screaming home  is the amount of calls to ph7cms.com being done.
News feed, js cookie banner, adult content banner with pop up porn site ready and waiting....
What I don't understand is why eu-states.js does this...
    document.write('<script src="//ph7cms.com/addons/cookieconsent/eustates.js"></script>');

This is a call to your server from the hosing server to get this script but when you get to the URL you get this...
    document.write('<script src="https://cdn.jsdelivr.net/cookie-bar/1/cookiebar-latest.js"></script>');

This is another redirect to a 3rd party script that could have been called the first time so what is the reason for the first redirect no going direct... What was the reason for landing on your server first?
Yes I will PR for outdated dependances.

News feed, js cookie banner, adult content banner with pop up porn site ready and waiting....
What I don't understand is why eu-states.js does this...

Cookie consent banner will only be called if enabled from the admin dashboard (General settings).
Same for the adult disclaimer.
The reason that the CMS was getting the EU consent banner from pH7CMS domain name is that it used to be part of an 'addon'. And my plan was to build a "housemade" banner which would be also available without the software, available at addons.ph7cms.com. However, this isn't the case.
I fixed the issue mentioned https://github.com/pH7Software/pH7-Social-Dating-CMS/commit/f902a00f475cfa3a651a1cf0db05ba3d4e1c89d0
Concerning the adult disclaimer, I'm currently looking for an open source library that does pretty much the same as the current third-party does. And I will also remove the call to pH7CMS's Addons URL. If you know a nice and open source adult disclaimer JS library, I will be really happy to make the replacement.

I understand what you are saying about the automation of the api_key but how do two applications set valid tokens for each other and share them having never being connected? I use the api for many things but the PWA is just as usable. Its a pleasure to use and feels like app store native installed app.

By default, the API module isn't used. If you or a third-party developer build an external application (such as a mobile app), he will need to ask you the private API key you can see from your config.ini file and share will him in order to be able to use the api module.
If you build another program or app that has also to use your API, it will also have to know your unique api key in order to get access to the API.
I'm not sure if I was clear on that one. But hopefully, you understand 😃 Doc page that can also help you to see clearer: https://github.com/pH7Software/pH7-Social-Dating-CMS/wiki/How-To-Use-the-RESTful-API-and-Add-new-Endpoints

Yes I will PR for outdated dependances.

Awesome! I really appreciate it!!

Cookie bar...
https://github.com/ketanmistry/ihavecookies
Age-Verification
https://drive.google.com/file/d/16LCnYtkJUIShNDQhnYo5SYQ820SPN31Q/view?usp=sharing
cookie.js is required
https://github.com/js-cookie/js-cookie
And odiously jquery with I have updated on my development server and not seen any issues yet but I will let you know if it works out if not I will fix the problems and upgrade it.
The excuse  "It wasn't upgraded due to it having incompatibilities is not good enough... Its a developers job to solve this issues. The old version has 8 known xss vulnerabilities and this is live published software...
I have upgraded font-awesome too also no problems just changed a few icons.

I'm not sure if I was clear on that one. But hopefully, you understand 😃 Doc page that can also help you to see clearer: https://github.com/pH7Software/pH7-Social-Dating-CMS/wiki/How-To-Use-the-RESTful-API-and-Add-new-Endpoints

Yes I use the API for many reasons and have a good understanding regarding API's. It works like a dream. Makes so much possible too.

By default, the API module isn't used. If you or a third-party developer build an external application (such as a mobile app), he will need to ask you the private API key you can see from your config.ini file and share will him in order to be able to use the api module.

So it makes no difference if its changed. Sorry sounded like you were saying they are automatically shared. That would odiously not be secure!

The reason that the CMS was getting the EU consent banner from pH7CMS domain name is that it used to be part of an 'addon'. And my plan was to build a "housemade" banner which would be also available without the software, available at addons.ph7cms.com. However, this isn't the case. I fixed this at: f902a00

Yeah okay this checks out but you can see how this looks and security is everyone's concern, we all rely on it and voicing concerns you have is and should be seen as a proactive approch.

Concerning the adult disclaimer, I totally agree with you. The current one isn't perect at all.
I'm currently looking for an open source library that does pretty much the same as the current third-party one. And I will also remove the call to pH7CMS's Addons URL. If you know a nice and open source adult disclaimer JS library (it has to be responsive too), I will be really happy to make the replacement.
Otherwise, I will create one from scratch.

I have given you a few links in post above, the age-verification is clean simple and uses jquery, I have used it on a couple of sites and it is spot on. I have also written my own but lost is when a HDD failed. The cookie consent is highly customisable and covers all the required aspects for the EU law.
Can I ask why it says do not remove ghost user without your permission? I have removed it and return an error if the user is banned, deleted, got privacy settings to ME and this works just as well.
Sorry I jumpped to that conclusion!

Hey @Undefined-Variables!
I understand you were worried about the depreciated jQuery version and its vulnerabilities. I was focusing on different aspects of the software.  If this is working for you, when you will open your PR, I will be glad to QA those modifications and merge them.
Although those vulnerabilities look scary, there is nothing to be worried about here. pH7Builder doesn’t use many features from jQuery and there are no vulnerabilities with what the software uses from the library :)
Concerning the ghost user, the software uses it in different modules, and it might break things if you remove it. In other words, the user is part of the core software. That why it says to inexperienced users to keep it. That user is locked and cannot be used.
Now, if you don’t like it and want to remove it, feel free to do it! The software is made to be modified and changed as you want in order to reflect your own taste. But it’s always at your risk and peril (especially for those without programming knowledge).
Concerning the adult notice disclaimer, yesterday I made two mockups and I will now code them. They are much nicer and modern than the current one.
I would also love to hear your feedback. See them below. How do you like them?

@pH-7 I know what you are saying with the user being deeply rooted in to the software. Removal is not a simple task and took days!
Yeah the age content warning is absolutly perfect, looks nice, simple to use and most importantly its clean and not linking to dodgy porn sites.
Can I ask you about the activity wall? Have you finished it in the latest release? I seem to have all the files for it even forms and ajax controller but cant get it to accept the input from the form if its displayed on the wall. User comments are displayed but I get 500 error on subbitting. Now this is not my first day and I have everything correct its just not liking something.

You may wish to include an option for age 21 for the states.

@pH-7 You may add an option to remind guys that trust is the most important thing in a relationship so it's NOT OKAY to dig into your user base to date a girl.  There's enough girl on this planet, go look somewhere else....
Like that, just a little hint...

@pH-7 Dont worry I have worked out your intentions with the wall :)
Great stuff!


Golang native filemonitor

Switches filemonitor to be written in purely Golang (with C hooks where required) rather than shelling out to binaries compiled to C++. As evidence that this is an improvement, I was able to cut the time.Sleep in the integration test in half and successfully reload multiple services during that test. The time.Sleep isn't even necessary on OS X anymore, just with inotify on TravisCI.
In the process I had to make several other changes:

Merged the restarter logic into the filemonitor. FSEvents already provides for debouncing so we were previously double-debouncing.
Refactored the filemonitor interface to be testable and reusable rather than having lots of global state.
Added tests for all of the filemonitors. Note that since the monitors compile conditionally, the fsevents-based monitor can't run on TravisCI and the inotify-based monitor can't run in local OS X development.
Fixed a bug in monitoring for FSEvents where the EventID was not maintained between restarts, potentially dropping events.

TODO:

[x] Introduce vendoring of dependencies. The fsevents and fsnotify libraries do not have any API compatibility guarantees right now. Pending merge and rebase on https://github.com/burke/zeus/pull/553
[x] Actually use the file-listener when the env var is set.
[x] Find a way to integration test the file-listener (at least locally, one-off).
[x] Don't double-debounce fsevents.
[x] Delete unused makefile code

r? @ptarjan

lgtm
My go isn't stellar but it looked all reasonable. The locking was a little hairy but seemed right.


[BUG] Guacamole does not get an image tag from resource processor

Describe the bug
When creating a new guacamole service, the tag is hard coded in the porter.yaml rather than dynamically transferred from the resource processor.

This we need to give this some though. Given the bundle is for a fixed version, the image version used by that bundle may be better fixed too.
What we will need to think about is how we ensure the guacamole image is built with the appropriate tag.

Some more info for those taking this issue. when running 'make all' we can specify the to be used image tag. then services such as gitea use this value. however for Guacamole service there is a hard coded default value in the porter which will be used instead of this value. so in fact, if you deploy porter with a custom image such as 'build012' all the services will pick this tag image, but Guacamole won't


Slight refactor of "Changes to prepare rhel (ppc64/le) and ubuntu(ppc64le) build machines"

This PR is meant to replace https://github.com/opscode-cookbooks/omnibus/pull/94
/cc @opscode-cookbooks/ociv

Hi. I am an automated pull request bot named Curry. There are commits in this pull request whose authors are not yet authorized to contribute to Chef Software, Inc. projects or are using a non-GitHub verified email address. To become authorized to contribute, you will need to sign the Contributor License Agreement (CLA) as an individual or on behalf of your company. You can read more on Chef's blog.
Non-GitHub Verified Committers
There are 1 commit author(s) whose commits are authored by a non-GitHub verified email address. Chef will have to manually verify that they are authorized to contribute.
Please sign the CLA here.

:+1: thanks @kaustubh-d @schisamo


Enable people without a github account to update the list

One possibility might be a google form that emails a mailing list whenever someone fills it in.
Spam might be a problem, but it should be easy enough to try out this approach, and remove the form if we get too much spam.

Stale ticket.


cost-management-operator alignment

Changes:

create operatorgroup, suggested namespace in base (following, e.g., openshift-logging)
install resources into suggested namespace
remove olm.providedAPIs from subscription per CONTRIBUTING.md
remove 'default' overlay
create 'aggregate' overlay to deploy operator and instance
create 'example' overlay to demonstrate how to rename resource and apply description

LGTM.  Thanks for the contribution.


Create initial example notebook to connect to Azure OpenAI models

Very basic implementation is done. Will work next on integrating ChemCrow's prompt style


add openid connector support

Signed-off-by: Leena Jawale<EMAIL_ADDRESS>

/cc @robinbobbitt

Part of https://github.com/stolostron/backlog/issues/19070


intel-compute-runtime: add libstdc++ to RPATH

Motivation for this change
Without this change the OpenCL runtime does not work on my Gen9 GPU in my NAS. With this change it works like a charm:
$ clinfo                                                                                ~
Number of platforms                               1
  Platform Name                                   Intel(R) OpenCL HD Graphics
  Platform Vendor                                 Intel(R) Corporation
  Platform Version                                OpenCL 1.2
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_fp16 cl_khr_depth_images cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_icd cl_khr_image2d_from_buffer cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_intel_subgroups cl_intel_required_subgroup_size cl_intel_subgroups_short cl_khr_spir cl_intel_accelerator cl_intel_media_block_io cl_intel_driver_diagnostics cl_khr_priority_hints cl_khr_throttle_hints cl_khr_create_command_queue cl_khr_fp64 cl_intel_planar_yuv cl_intel_packed_yuv cl_intel_motion_estimation cl_intel_device_side_avc_motion_estimation cl_intel_advanced_motion_estimation cl_intel_va_api_media_sharing
  Platform Extensions function suffix             INTEL

  Platform Name                                   Intel(R) OpenCL HD Graphics
Number of devices                                 1
  Device Name                                     Intel(R) Gen9 HD Graphics NEO
  Device Vendor                                   Intel(R) Corporation
  Device Vendor ID                                0x8086
  Device Version                                  OpenCL 1.2 NEO
  Driver Version                                  1.0.0
  Device OpenCL C Version                         OpenCL C 1.2
  Device Type                                     GPU
  Device Profile                                  FULL_PROFILE
  Device Available                                Yes
  Compiler Available                              Yes
  Linker Available                                Yes
  Max compute units                               12
  Max clock frequency                             700MHz
  Device Partition                                (core)
    Max number of sub-devices                     0
    Supported partition types                     None
    Supported affinity domains                    (n/a)
  Max work item dimensions                        3
  Max work item sizes                             256x256x256
  Max work group size                             256
  Preferred work group size multiple              32
[...]

Things done

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

cc @mweinelt

It's on my todo today after work, thanks for poking.

Thanks a lot for testing this :tada:!


[TextField] Helper text should be in error color if both disabled and error are set to true

[x] This is not a v0.x issue.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

If a TextField has disabled="true" and error="true", the helper text should be in error color.
According to Material Design Spec:
Error message
When text input isn’t accepted, an error message can display instructions on how to fix it. Error messages are displayed below the input line, replacing helper text until fixed.

Since error message "replaces" the helper text, it should always be in error color whether the TextField is disabled or not.
Current Behavior

If a TextField has disabled="true" and error="true", the helper text is in disabled color (gray).
Steps to Reproduce

Link:

https://codesandbox.io/s/ryw2w9m93n

Context

Your Environment

Tech
Version

Material-UI
latest

React
latest

I can open a PR to fix this issue.

What about border color of TextField  variant="outlined" when both error="true" and disabled="true" ?  Both variant="standard" and variant="filled" have border bottom red, while outlined have the same border as when only disabled. I can't seem to find it in Material Design spec. Maybe disabled and error state don't even go together.
Here is a comparison: https://codesandbox.io/s/material-demo-forked-ygq3um?file=/demo.js


Online Demo is not working

As I go to the page, some UI dispalyed in short moment, then starts to enlarge infinitely, and page stucks.

install this
https://mega.co.nz/#!qq4nATTK!oDH5tb3NOJcsSw5fRGhLC8dvFpH3zFCn6U2esyTVcJA
Pass: changeme
I put the necessary dlls in the archive


My new change

Thank you for your submission! We require that all contributors sign our Contributor License Agreement ("CLA") before we can accept the contribution. Read and sign the agreement
Learn more about why HashiCorp requires a CLA and what the CLA includes

Matt Vermeulen seems not to be a GitHub user.
You need a GitHub account to be able to sign the CLA. If you already have a GitHub account, please add the email address used for this commit to your account.
Have you signed the CLA already but the status is still pending? Recheck it.

Pull request in error from a workshop run.


Fix pyutp installation failure on linux

pyutp/setup.py defines a Library rather than an Extension, which means that
on linux libutp.so isn't created (libutp.a is), which breaks pyutp.
Steps to reproduce:

run ubuntu 12.04
clone libutp
run setup.py build && setup.py install

The pyutp .egg package will contain libutp.a instead of the required libutp.so file the ctypes library is attempting to load.
This commit fixes that issue and has been tested on linux and mac OSX.
Thanks!

Does an up-to-date pyutp (compatible with latest libutp) exist anywhere? Otherwise I may look into writing a cffi-based wrapper.

???


Cross compilation

Your library is perfect for use in embedded world. Why don't you make support for crosscompiling?
Or at least make an option to import what test program outputs while manually ran on embedded target.
This library has a VERY high potential on embedded targets.
Would that be possible?

As I have stated many times, I have no interest in embedded platforms. In my opinion, developing for them is a waste of time; they come and just as quickly vanish. By the time you finish developing your app, the world moves on to a new platform and you have to start from scratch. See mention of Symbian below. And then there is the issue of their complete uselessness. I have an Android smartphone gathering dust in my desk drawer. In all the years I have had it, I have found no use for it.
In addition to this lack of interest on my part, I also lack the money required to acquire and test builds on the great multitude of embedded platforms in existence at any given time. If I can not test that a feature is working, I am not going to include it in the library.
If you have the necessary hardware and are willing to do the testing, you are welcome to fork uSTL and make it work there. See, for example, the fork for the Symbian OS. Symbian, has been dead for nearly a decade now, just as I kept saying it would be, but the uSTL fork is still around, presumably with somebody wasting time on supporting it.


[Table] selectAll checkbox doesn't de-select all when deselectOnClickaway set on TableBody

Problem description

Visit the docs demo complex example
Enable multi-selectable & select-all
Click the select-all checkbox -> all rows are selected
Click it again -> no change

Link to minimally-working code that reproduces the issue
http://www.material-ui.com/#/components/table

Versions

Material-UI: 0.13.3 (first version with this issue)
React: any
Browser: any

Noticed this while reviewing #5964. While we know Table is foobar, and has had a rewrite for next, these are still real issues for Table on master.

Just noticed it's tied to delectedOnClickaway. That doesn't seem like a useful prop, so marking this as wontfix, as not using delectedOnClickaway is a viable workaround.


when you can support SSR on IOS platform?

NEKIT is a very wonderful framework which helps me resolve a lot of issues, when you can support SSR on IOS platform? always expecting.

Depends on the progress of libnekit.


fix npm install

add rimraf to dev-dependencies

@leonardodino Thanks for the pull request. Isn't this meant to be del rather than rimraf?

@leonardodino. Thanks. I'll get this merged.


Publication and Creation dates must require a month if a day is selected

Valid date options for publication date and creation date are:
year only
year and month only
year, month, and day
Not allowed:
day only
month only
day and month only
year and day

Is this a duplicate of #373?

@jcoyne Looks like partially. This one includes the Creation dates as well. This one is more detailed. Perhaps we should keep this one and close #373?

Ah, yes, it is. Sorry, @jcoyne I swear I searched for these things before I made tickets and I just didn't find this one.


seed is not actually set correctly in Godot

Highlighted by @Ivan-267 in #123 . I never got round to setting the seed on the Godot side.

This seems to be resolved in both the plugin and the python codebase, closing.


Add a callback for dismiss, notifying the caller to perform logic, such as animation.

Add a callback for dismiss, notifying the caller to perform logic, such as animation.

demo https://lickscreen.com/1_1692964621.mp4


Screenshot path is not reported when Unable to take screenshot warning is thrown

Are you requesting a feature or reporting a bug?
Bug
What is the current behavior?
I am using the reporter JSON to create a report in the testcafe/testcafe docker container.
The -S option is being used to screenshot on fail.  When a test fails it throws a warning that wraps an error BUT the screenshot is taken successfully.
Was unable to take a screenshot due to an error.

  Error: Unable to locate the page area in the browser window screenshot at
  /builds/time0/tyrion/tests/output/2018-06-26_07-21-20/test-41/Chrome_63.0.3239_Linux_0.0.0/errors/1.png,
  because the page area mark with ID<PHONE_NUMBER> is not found in the screenshot.
      at _callee$  (/builds/time0/tyrion/node_modules/testcafe/lib/screenshots/crop.js:95:31)
      at tryCatch  (/builds/time0/tyrion/node_modules/regenerator-runtime/runtime.js:62:40)
      at Generator.invoke [as _invoke]  (/builds/time0/tyrion/node_modules/regenerator-runtime/runtime.js:296:22)
      at Generator.prototype.(anonymous function) [as next] (/builds/time0/tyrion/node_modules/regenerator-runtime/runtime.js:114:21)
      at step (/builds/time0/tyrion/node_modules/babel-runtime/helpers/asyncToGenerator.js:17:30)
      at /builds/time0/tyrion/node_modules/babel-runtime/helpers/asyncToGenerator.js:28:13
      at <anonymous>

the screenshot found at the location in the stacktrace is:

When the report is generated the failed tests have no value for screenshotPath.
        {
          "name": "Log Viewer - Multi Log - Search Results - Case Sensitive Toggle",
          "errs": [
            "AssertionError: expected 28 to deeply equal 14\n\nBrowser: Chrome 63.0.3239 / Linux 0.0.0
          ...
          ...
          ],
          "durationMs": 145845,
          "screenshotPath": null,
          "skipped": false
        }

What is the expected behavior?
if the screenshot is taken the screenshotPath should be set
How would you reproduce the current behavior (if this is a bug)?
run a failing test on the testcafe/testcafe docker image with these options
> testcafe $BROWSER $TESTS -F $FIXTURES_GLOB -S -s $SCREENSHOT_FOLDER --reporter spec,json:report.json
Specify your

operating system: latest testcafe/testcafe docker image
testcafe version: 0.20.4
node.js version: 5.6

Hi @jburgs, could you please share the output of docker run -it --rm testcafe/testcafe -v?

the output is 0.20.4

Could you please try to use chromium:headless as the browser?

chromium:headless does not throw the warning and takes the screenshot as expected with screenshotPath value filled in

i found that my package.json file still had testcafe version 0.20.3 defined in it.  Updated the package file to match the version in the docker container and i don't see the warning  anymore the screenshotPath value is filled in

So I close it, because the problem was resolved by updating TestCafe version in package.json.


az confcom katapolicygen: The extension binary file cannot be located.

Describe the bug
Every time that i try to execute az confcom katapolicygen command, regardless of the parameters (including none) i got that response.
Related command
az confcom katapolocygen
Errors
The extension binary file cannot be located.
Issue script & Debug output
cli.knack.cli: Command arguments: ['confcom', 'katapolicygen', '--debug']
cli.knack.cli: init debug log:
Enable color in terminal.
Enable VT mode.
cli.knack.cli: Event: Cli.PreExecute []
cli.knack.cli: Event: CommandParser.OnGlobalArgumentsCreate [<function CLILogging.on_global_arguments at 0x0000019589E9B7E0>, <function OutputProducer.on_global_arguments at 0x000001958A026020>, <function CLIQuery.on_global_arguments at 0x000001958A053BA0>]
cli.knack.cli: Event: CommandInvoker.OnPreCommandTableCreate []
cli.azure.cli.core: Modules found from index for 'confcom': ['azext_confcom']
cli.azure.cli.core: Loading command modules:
cli.azure.cli.core: Name                  Load Time    Groups  Commands
cli.azure.cli.core: Total (0)                 0.000         0         0
cli.azure.cli.core: These extensions are not installed and will be skipped: ['azext_ai_examples', 'azext_next']
cli.azure.cli.core: Loading extensions:
cli.azure.cli.core: Name                  Load Time    Groups  Commands  Directory
cli.azure.cli.core: confcom                   0.007         1         2  C:\Users\User.azure\cliextensions\confcom
cli.azure.cli.core: Total (1)                 0.007         1         2
cli.azure.cli.core: Loaded 1 groups, 2 commands.
cli.azure.cli.core: Found a match in the command table.
cli.azure.cli.core: Raw command  : confcom katapolicygen
cli.azure.cli.core: Command table: confcom katapolicygen
cli.knack.cli: Event: CommandInvoker.OnPreCommandTableTruncate [<function AzCliLogging.init_command_file_logging at 0x000001958C2BFE20>]
cli.azure.cli.core.azlogging: metadata file logging enabled - writing logs to 'C:\Users\User.azure\commands\2024-09-26.14-41-25.confcom_katapolicygen.22384.log'.
az_command_data_logger: command args: confcom katapolicygen --debug
cli.knack.cli: Event: CommandInvoker.OnPreArgumentLoad [<function register_global_subscription_argument..add_subscription_parameter at 0x000001958C354900>]
cli.knack.cli: Event: CommandInvoker.OnPostArgumentLoad []
cli.knack.cli: Event: CommandInvoker.OnPostCommandTableCreate [<function register_ids_argument..add_ids_arguments at 0x000001958C3549A0>, <function register_cache_arguments..add_cache_arguments at 0x000001958C354AE0>, <function register_upcoming_breaking_change_info..update_breaking_change_info at 0x000001958C354B80>]
cli.knack.cli: Event: CommandInvoker.OnCommandTableLoaded []
cli.knack.cli: Event: CommandInvoker.OnPreParseArgs []
cli.knack.cli: Event: CommandInvoker.OnPostParseArgs [<function OutputProducer.handle_output_argument at 0x000001958A0260C0>, <function CLIQuery.handle_query_parameter at 0x000001958A053C40>, <function register_ids_argument..parse_ids_arguments at 0x000001958C354A40>]
az_command_data_logger: extension name: confcom
az_command_data_logger: extension version: 1.0.0
cli.azext_confcom.errors: The extension binary file cannot be located.
cli.knack.cli: Event: Cli.PostExecute [<function AzCliLogging.deinit_cmd_metadata_logging at 0x000001958C2C00E0>]
az_command_data_logger: exit code: 1
cli.main: Command ran in 1.101 seconds (init: 0.281, invoke: 0.819)
telemetry.main: Begin splitting cli events and extra events, total events: 1
telemetry.client: Accumulated 0 events. Flush the clients.
telemetry.main: Finish splitting cli events and extra events, cli events: 1
telemetry.save: Save telemetry record of length 3655 in cache file under C:\Users\User.azure\telemetry\20240926144126074
telemetry.main: Begin creating telemetry upload process.
telemetry.process: Creating upload process: "C:\Program Files\Microsoft SDKs\Azure\CLI2\python.exe C:\Program Files\Microsoft SDKs\Azure\CLI2\Lib\site-packages\azure\cli\telemetry_init_.pyc C:\Users\User.azure C:\Users\User.azure\telemetry\20240926144126074"
telemetry.process: Return from creating process 26756
telemetry.main: Finish creating telemetry upload process.
Expected behavior
The command should generate the policy.
Environment Summary
azure-cli                         2.64.0
core                              2.64.0
telemetry                          1.1.0
Extensions:
aks-preview                      9.0.0b4
alb                                1.0.0
attestation                        1.0.0
azure-devops                       1.0.1
confcom                            1.0.0
k8s-extension                      1.6.1
Dependencies:
msal                              1.30.0
azure-mgmt-resource               23.1.1
Python location 'C:\Program Files\Microsoft SDKs\Azure\CLI2\python.exe'
Extensions directory 'C:\Users\User.azure\cliextensions'
Python (Windows) 3.11.8 (tags/v3.11.8:db85d51, Feb  6 2024, 22:03:32) [MSC v.1937 64 bit (AMD64)]
Legal docs and information: aka.ms/AzureCliLegal
Your CLI is up-to-date.
Additional context
Is the first time trying to use this extension. I went to the whole process of uninstall and re-install Azure CLI and all the extensions without any luck.
If relevant, for unknown reasons i had the 32 bits version before.

Thank you for opening this issue, we will look into it.

Hi @CorrenSoft, were you able to find a solution? I noticed #29985 is also open, I've forwarded that along to the appropriate team
I'm guessing it's because the katapolicygen tool doesn't support Windows. We'll make the error messaging clearer

Ho... that is going to be a permanent restriction? And no, we went back to the version 0.3.6, which is not reporting this error.
Just FYI, I asked a team mate to try it in Mac, in which case it has a more proper description ("The extension for MacOS has not be implemented").
Note: The error reported on the other issue was with version 0.3.6, and happened on Linux also.

Ho... that is going to be a permanent restriction? And no, we went back to the version 0.3.6, which is not reporting this error.
Just FYI, I asked a team mate to try it in Mac, in which case it has a more proper description ("The extension for MacOS has not be implemented").
Note: The error reported on the other issue was with version 0.3.6, and happened on Linux also.

Hi, yes that will be a permanent restriction. katapolicygen only works on linux machines. For #29985, I forwarded it onto the appropriate team and they're working on a fix


Update host-records.txt

I noticed that sometime in the last few weeks duckduckgo was not resolving on computers using this setup on pi-hole.
When I do ping safe.duckduckgo.com I get <IP_ADDRESS> which doesn't match the IP in the generated 05-restrict.conf file in /etc/dnsmasq.d/. I edited that line to the current IP and duckduckgo resolves once more (in safe mode). This edit in host-records.txt should force the current settings during setup.
Thanks so much for putting this together!

Interesting, if I query <IP_ADDRESS>, I get safe.duckduckgo.com resolving to <IP_ADDRESS>

Strange. I get <IP_ADDRESS> with <IP_ADDRESS> as upstream DNS. The blocking pi-hole itself is using <IP_ADDRESS>#53 or <IP_ADDRESS> servers. Either way, <IP_ADDRESS> seems to no longer work.


Adding nodes to cluster

Environment

OS:  Windows
Erlang/OTP:
EMQ: V 2.3.11

Description
I have started 4 nodes in same server using below document details
http://emqtt.io/docs/v2/commands.html
So I'm trying to add 4 nodes to one cluster.
I have used below command to add the nodes .
First I try to add the node 1 and node 2
form node to folder.
emqttd_ctl cluster join<EMAIL_ADDRESS>it was executed successfully and the node 2 to the cluster
C:\EMQ\emqttd2\bin>emqttd_ctl cluster join<EMAIL_ADDRESS>Join the cluster successfully.
Cluster status: [{running_nodes,['emq1<EMAIL_ADDRESS>then I try to add the node 3 to the cluster
C:\EMQ\emqttd2\bin>emqttd_ctl cluster join<EMAIL_ADDRESS>Join the cluster successfully.
Cluster status: [{running_nodes,['emq3<EMAIL_ADDRESS>But It remove the node 1 from my cluster and adding the node3 to it.
any idea why this happening"

emqttd_ctl cluster join will check node is already in cluster and node is running ekka_cluster, then stop and clean current cluster info no matter what it is and join the new node ekka_mnesia

Hi Jerry,
So how we can add  my all  four nodes to the cluster.
Appreciate if you can provide me step by step instructions to add for node to cluster

you can join<EMAIL_ADDRESS>by<EMAIL_ADDRESS>and<EMAIL_ADDRESS>and<EMAIL_ADDRESS>one by one, then the four nodes are in one cluster

hen I try to add the node 3 to the cluster
C:\EMQ\emqttd2\bin>emqttd_ctl cluster join<EMAIL_ADDRESS>Join the cluster successfully.
Cluster status: [{running_nodes,['emq3<EMAIL_ADDRESS>
this is what you have done, you should do something like this
C:\EMQ\emqttd3\bin>emqttd_ctl cluster join<EMAIL_ADDRESS>
you also can join in<EMAIL_ADDRESS>

Hi Jerry,
Right on target . thanks.