Build boost without python in setup script

Velox does not require the boost-python module. Adding the --without-python parameter can reduce the compilation time for Boost and also avoid some Python compatibility issues.

@kgpai @assignUser @majetideepak Can we add this compilation parameter?

@liujiayi771 Can you share some metrics on how much time this saves?

Hi @majetideepak.
./b2 "-j10" -d0 install threading=multi took 244.79s in my linux server, while ./b2 "-j10" -d0 install threading=multi --without-python took 124.29s.
In addition, for older versions of Python, such as Python 3.6, it is necessary to manually create a symbolic link ln -s /usr/include/python3.6 /usr/include/python3.6m, otherwise pyconfig.h cannot be found. I also encountered the issue of not finding pyconfig.h when installing python3.8 on my new server. In my /usr/include/python3.8 directory, there is only a file named pyconfig-64.h. The solution I found from my search is to add --without-python if I'm not using this module, or to additionally yum install python38-devel.

Thanks @liujiayi771 boost's python module is not required. @majetideepak I see no concerns with this.


"presets" in package.json not picked up for babel-jest?

Using babel-jest to automatically transpile my test suite for Node 4.
Works if I create a .babelrc with { "presets": ["es2015"] }
Doesn't if I add the same block into my package.json:
  "babel": {
    "presets": ["es2015"]
  },

I understood both should work. Is there something I'm missing, or is this a (Babel) bug?
Using node v4.6.2 (npm v4.0.2) on macOS Sierra 10.12.2.
devDependencies in package.json:
    "babel-cli": "^6.23.0",
    "babel-core": "^6.23.1",
    "babel-jest": "^18.0.0",
    "babel-polyfill": "^6.23.0",
    "babel-preset-es2015": "^6.22.0",
    "jest": "^18.1.0",

Sample output
$ npm run test

><EMAIL_ADDRESS>test /Users/marv/dev/trello-fetcher
> jest

 FAIL  __tests__/trello-fetcher.test.js
  ● Test suite failed to run

    SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode><EMAIL_ADDRESS>test /Users/marv/dev/trello-fetcher
> jest

 PASS  __tests__/trello-fetcher.test.js
  Unauthenticated usage
    ✓ should reject the Promise when making a request without key or token (7ms)
  Basic authenticated usage
    ✓ should throw Error when called without an URL (2ms)
    ✓ should include key and token in requests (1ms)
    ✓ should encode values sent as queryArgs (2ms)

Test Suites: 1 passed, 1 total
Tests:       4 passed, 4 total
Snapshots:   0 total
Time:        1.753s
Ran all test suites.

      at transformAndBuildScript (node_modules/jest-runtime/build/transform.js:320:12)

Test Suites: 1 failed, 1 total
Tests:       0 total
Snapshots:   0 total
Time:        1.206s
Ran all test suites.

To make it work:
$ echo '{ "presets": ["es2015"] }' >.babelrc
$ npm run test

><EMAIL_ADDRESS>test /Users/marv/dev/trello-fetcher
> jest

 PASS  __tests__/trello-fetcher.test.js
  Unauthenticated usage
    ✓ should reject the Promise when making a request without key or token (7ms)
  Basic authenticated usage
    ✓ should throw Error when called without an URL (2ms)
    ✓ should include key and token in requests (1ms)
    ✓ should encode values sent as queryArgs (2ms)

Test Suites: 1 passed, 1 total
Tests:       4 passed, 4 total
Snapshots:   0 total
Time:        1.753s
Ran all test suites.

@mieky I have the same issue, it's not a bug with babel.  It's an issue with babel-jest https://github.com/facebook/jest/blob/master/packages/babel-jest/src/index.js#L37

The line @cj linked to is not responsible for loading data, it is merely used as a cache key.
If you are using information from package.json, make sure your .babelrc is deleted and run Jest with --no-cache once.


Document the new timedOut parameter for bidsBackHandler

See https://github.com/prebid/Prebid.js/pull/2772

released with 1.16


Custom padding for convolutions

For the moment it looks like TF only supports VALID or SAME convolutions ? Is there a clever work around to do custom padding convolutions like having a padding of length h defined by the user like in this neon implementation ? Is implementing it in the pipeline ?

Define custom. I can only imagine that you want to use something other than zeros in the padding, in which case you can use VALID and manually pad the feature maps.

Actually I meant having a padding equals to 1 for instance, but you are right I will edit my question it is too vague.

But as you suggested I could just add a column of 0 and use VALID convolutions, would the backprop still work though ?

I'm confused as to why you would even need this. Doing a 3x3 kernel conv with SAME does padding of 1. 5x5 does padding of 2, etc...

I wanted non symmetrical padding like only one side is padded but I guess this is not a common thing and neon is actually doing symmetrical, I am therefore closing this issue.

@jeandut how about http://stackoverflow.com/questions/37659538/custom-padding-for-convolutions-in-tensorflow?


Navigation path to first run to support hyperlinking into app / other missing routing?

We want to allow users to click a button from lbry.com after verifying their email to bring that back into the app. Today we have special hyperlinks like lbry://?discovery which open to the homepage, but this actually takes the user to the homepage even though they are still going through first run. So if I just verified my email and I'm on the password page, and then click the ?discover url, it goes straight to the explore page in a broken state.
Need a navigation path that will re-open to the first run process, or wherever they left off. The desktop app uses /account - it would be good if Android used the same one.
Also need to check what happens if the app is never run + one of these links are clicked - if a user didn't go through first run, it should still send them through it.

If first run is never completed, the user cannot navigate to any of the other routes.


Issues compiling

Whenever I try to compile the player, It seems to not be able to find a file called div.asm due to an issue with the encoder. I've looked in the folder where its meant to be and it's not there. I've included a screenshot of what appears above and I've made sure I have all the dependences installed. I've also tried WSL where the encoder did work but there was now an issue with hardware.inc. (Ubuntu 24.04 LTS)

Don't mind what I said above as it seems to finally work after a few hours of tweaking. But there is still one issue when compiling is that when you compile in stereo it seems to fail as it can't recognise "sampleEnd" in the stereo file.

(Accidently set it as completed so this is to reopen the issue...)

(Accidently set it as completed so this is to reopen the issue...)

have you figured it out? i have the same problem


host: Running jobs stuck in "starting" state

++ 23:11:26.811 /home/ubuntu/go/src/github.com/flynn/flynn/test/../cli/flynn-cli -a starlings-humble-arnprior scale --no-wait env=1
scaling env: 0=>1

++ 23:11:26.904 waiting for job events: map[env:map[up:1]]
++ 23:11:26.928 got job event: env d9adc29f-e8c86151cc70472c9b195a77fd4ab885 starting
test_cli.go:533:
    _, jobID := app.waitFor(jobEvents{"env": {"up": 1}})
test_scheduler.go:101:
    t.Fatal("timed out waiting for job events: ", expected)
... Error: timed out waiting for job events: map[env:map[up:1]]

https://s3.amazonaws.com/flynn-ci-logs/20150130231002-b003fe21-build-376e150ab4de7365232b447e3333080047a3d17c-2015-01-30-23-15-07.txt

Looks like e8c86151cc70472c9b195a77fd4ab885 got stuck in the starting state.

Looks similar: https://s3.amazonaws.com/flynn-ci-logs/20150204072119-5e0e9d49-build-e74cfcb4b41b5525bd667cfba376e9387b98f9c2-2015-02-04-07-26-33.txt

Might be similar: https://s3.amazonaws.com/flynn-ci-logs/20150204183814-94124f24-build-5638a35ac18798e82fc95aeed0e1d98d2f4ab26b-2015-02-04-18-44-32.txt

Some similar failures:

20150220220653-3bc055e1 - Job c3f192a4-809a0256adb7428e8b79958ec20c9a84stuck in starting state
20150220133653-f340ee49 - Job 86e58712-f0f998eb92b94ba89e19b2c21482897c stuck in starting state

In both cases, the jobs have output so are running.

Another example: https://ci.flynn.io/builds/20150311205929-abfc609f

https://ci.flynn.io/builds/20150314014931-8761e211

Closing, this test failure does not appear in the CI logs dating back to May 1st.

This happened in the following build: https://ci.flynn.io/builds/20150928233104-066e9837
See job 99246a34-fd75e9ef-4988-4b9a-934f-34590f161fa9 which was stuck in the starting state, thus leading to TestKeyRotation timing out waiting for a deployment.

Although the underlying issue is not fixed, I've added a workaround in #2325.
Will re-open if I see this again.

I'm suffering with this issue too and not sure if it's this that is preventing me from fixing my cluster. I've tried stopping them but has no effect
hosting2-3f1cff2c-dee4-4cae-8532-df8115c55b00  running   29 minutes ago  postgres            postgres
hosting2-10f6864f-f44b-4328-b76e-03569f227924  running   30 minutes ago  discoverd           app
hosting2-07c27155-a8bc-4a2f-816a-fbfc42b6c80d  running   30 minutes ago  flannel             app
hosting3-fcdfb15c-e13e-4f39-a847-e0c8c7d465ea  running   30 minutes ago  discoverd           app
hosting3-aa8f6864-5b9c-4be5-a3c0-1411608ed471  running   30 minutes ago  flannel             app
hosting1-7c89111f-debb-4d27-af60-e4ad0d4311ac  running   2 days ago      dottodot-prerender  web
hosting1-c63b5d0c-d69f-4510-86a9-92d1238c237a  running   2 days ago      controller          web
hosting1-5b6cb230-3a54-43b9-b2ce-75be5baafd47  running   2 days ago      dashboard           web
hosting2-79671455-737a-4307-add5-45dbe97a8fb0  running   2 days ago      router              app
hosting1-6dc45290-b9ab-4bc3-a98b-bcd38f4f2ccd  running   2 days ago      router              app
hosting3-acf80ff9-8fd6-46c2-8caa-cdd98ed91d04  running   2 days ago      router              app
hosting3-87bbc5c2-0495-48c2-9f22-15506335c4ee  running   2 days ago      controller          web
hosting1-a4d9a3ed-822c-4ba8-8c1c-24a321e273c0  starting                  postgres            postgres
hosting1-7df67f67-c3fc-4b99-8ded-4b4c48bd9f7c  starting                  postgres            postgres
hosting1-91caf687-b275-4b05-a013-6072685ab9e2  starting                  flannel             app
hosting1-48034bf6-70d9-4b38-90df-c9fc8803f5d8  starting                  postgres            postgres
hosting1-01b87eed-d71d-4415-8298-e41d072fa919  starting                  flannel             app
hosting1-5c91b206-979f-4c32-afb3-8dbeb1328943  starting                  postgres            postgres
hosting1-74dc555b-c382-47a1-b374-575507d6d24b  starting                  postgres            postgres
hosting1-b054022e-ceac-4c53-801e-6d5d1921c0a4  starting                  controller          scheduler
hosting1-3abe6980-d8dc-4a8f-bd31-e7f0370e9540  starting                  postgres            postgres
hosting1-43a3c4bb-989a-4931-9e66-e7605bd72b8a  starting                  postgres            postgres
hosting1-99ce7e93-ccd2-45be-99d7-4e85396b39f7  starting                  postgres            postgres
hosting1-66817d44-6732-4826-8f2c-1cdd9d3f8dcf  starting                  controller          scheduler
hosting1-6fc55d13-60a7-42e6-907e-c6752e0b5019  starting                  controller          scheduler
hosting1-c34831e8-9f8e-4fd9-a627-91632d1e3764  starting                  controller          scheduler
hosting1-c666b024-55ff-41b1-8c9c-25081a581364  starting                  controller          scheduler
hosting1-d54a72a9-91f0-4817-ada8-91236c483936  starting                  flannel             app
hosting1-aabf8bc9-a460-4d4d-b89f-a536d6eaedce  starting                  flannel             app
hosting1-31493324-0cd5-48f7-aeab-a60701d21af4  starting                  postgres            postgres
hosting1-34b10d88-a9d8-4512-99ec-a724c8f922e2  starting                  controller          scheduler
hosting1-97a46b49-862b-42d4-81b9-b02a96c5870b  starting                  postgres            postgres

@dottodot that looks like a potential scheduler issue, can you please run sudo flynn-host collect-debug-info on each node in your cluster, and then open a new issue with your above comment and the resulting gist links?


it might be also good to consider auto sign in for a period of time before re-authentication happened again .

relogin without user authentication for at least 4 hours would be good.

But if it is a private computer, I hope to be able to set it up to log in automatically all the time.

we added connecting without asking username and password


Add pool uuid to app create

also allow provider_credentials to be provided for an application

Change all providerCredentials to a string type instead of a type []strings.


Display html after image recognition

Expected Behavior
Is there any way to display an html on the image when it is recognized?

Current Behavior
Every time vuforia recognized an image it gets closed. I don't need that the camera gets closed, i want it to display an html even when the camera is on, with out closing vuforia.

Possible Solution
Instead of displaying a media sound, i want to display an html.

Context

Your Environment

Cordova version used: 6.3.1
Plugin version used: 3.2.0
Plaforms affected: iOS / Android
iOS/Android versions affected:

Every time vuforia recognized an image it gets closed. I don't need that the camera gets closed

Check out the autostopOnImageFound option mentioned in the README if you'd like to keep the camera open upon recognition.

i want it to display an html even when the camera is on

The answer to this is the same as #86 and #87 I believe - that you'll need to write some native device-specific code yourself as this is very customised behaviour and not in the scope of this plugin.


Rent formatter utils

Description
Rent formatter utils
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

BN arguments are not allowed anymore for rent's helpers.
Maybe we can extend this idea to others FRAME pallets, what do you think @Victor-Salomon ?
validateTransformContractFee ensures amount formatting to send BN values to the chain, you can override it with your improvements @Victor-Salomon 😎

@ipapandinas looks great. I will update the other validateTransformContractFee.
Removing BN from our helpers/pallets might improve the DX and help us providing a smooth experience.


Changing FontFamily

I've tried to change the font family, but it does not work.
Is it possible to change it?
If yes, how? If no, can you add such functionality?
I need it at least at the spinner.
DropDown would be great, but not a must have.

What did you try to change it? I assume you'd have to override each of the @layout/twin_text_{item;footer;dropdown;...}.xml items and use the android:fontFamily attribute there. I don't know if it's worth making a separate attribute just to change the spinner font...

Thanks, I always forget the "override" thing!!
Works perfect now with the override of the twin_text elements.
So no need to add a attribute.


Somfy Situo 5 IO Pure II not recognized

Hardware
ESP32
Firmware version
v2.4.7
Application version
v2.4.7
What happened? What did you expect to happen?
I used the ESP Wroom 32 and the E07-M1101D-SMA. They seem to connect well, since the "Radio not initialized" message is gone. But when I view the logs and press a button on the Situo 5 IO Pure II remote, no log entity is created.
Here are images from the remote:

What else can I test? Thanks
How to reproduce it (step by step)
...

Logs
No response

Unfortunately, you do not have an RTS motor you have an IO motor which is not compatible with this solution.


Fix bug validating recipient balance when sending Substrate token

Describe the task

[x] Any token that requires a native token to keep alive will be blocked from sending

Actual: It is always forbidden to deposit tokens into an account with native token balance = 0
Expect: Only block sending tokens to accounts that require native token balance > 0

[x] Update compare logic

Actual: Comparing with Transferable balance
Expect: Comparing with Total balance

https://github.com/Koniverse/SubWallet-Extension/issues/3473

Version test: http://<IP_ADDRESS>:8900/s/Fdy8SA8cLcaHjTb

[ ] Error when transfer native token
Actual: Show error

Expect: Allow transfer

Version test:

[ ] Error when transfer MYTH(Polkadto asset hub)
Actual: Show error

Expect: Allow transfer

[ ] Lost tokens when transfer XCM MYTH -> MYTH(Polkadot asset hub) when input account without native tokens(DOT)
Actual: Lost token
Transaction: https://mythos.subscan.io/extrinsic/0xad7a86399f10b5ef49f64e4d9b45eb5b3f16d046de9298af8f6f2531892293e2

Version test: http://<IP_ADDRESS>:8900/s/mf9MfkmETksn7NJ
Validation passed
Checklist for issues: https://www.notion.so/subwallet/Unified-account-Checklist-validating-recipient-address-8895b03e58524ca28cf2b613617d0b27?pvs=4


It lacks a trailing constraint for incomingText

It lacks a trailing constraint for incomingText :

@bleformal sorry for taking so long to get back to you! I don't see this issue. Can you let me know in what context you get this behaviour? Some sample code or just an explanation would be good 😄


docker: install rust toolchain for stage1 builds

Install the rust toolchain in the Docker container so it can be used when building with CHAINLOADING=1 too

Note: this is installing nightly because that's what the docs say to use (https://github.com/AsahiLinux/docs/wiki/m1n1:User-Guide#build-options), but the build seems to work fine using stable these days, so maybe we should use that instead.

We should definitely use stable toolchains instead of nightly ones.

FWIW, we rely on two unstable features (with the same cheat as the Linux kernel to work with stable). One of them is actually deprecated and about to be removed, but it should be trivial to move away from it and to the supported solution (though it will be a flag day for us when it happens). The other is one is one of those things that have been around forever and I have no idea why it isn't stable yet, but shrug.

Updated to use stable instead of nightly


Workflows Should Use Polywrap Manifest Best-Practices

Currently the workflow file is being "blindly" parsed & loaded:
https://github.com/polywrap/monorepo/blob/4eac9010f4b3cb7cd041854a737bd84e176d816c/packages/cli/src/commands/run.ts#L79-L81
We should follow the best-practices we have put in place for the other Polywrap manifests, by first defining a JSON-Schema here: https://github.com/polywrap/monorepo/tree/origin/packages/manifests/polywrap/formats
This will allow us to use the generated type in core, and automatically validate the input file by using the deserializeWorkflowManifest function that's exported from here for each manifest type: https://github.com/polywrap/monorepo/tree/origin/packages/js/manifests/polywrap/src/formats

Hey @Niraj-Kamdar, can this be completed?

I think this is completed as duplicate of #970 and #1131


[mgmt] containerservice release

https://github.com/Azure/sdk-release-request/issues/4975

API change check
APIView has identified API level changes in this PR and created following API reviews.
@azure/arm-containerservice


Using 512x512 pixel images and getting TypeError: 'NoneType' object is not subscriptable

Hi!
I am using 512x512 pixel images. I set win_size = [512, 512] and step_size = [164, 164] on extract_patches.py. So the patches are the same size as the images. I am using the fast model mode with the following values:
aug_shape = [512, 512]
act_shape = [256, 256]
out_shape = [164, 164]

When I run run_train.py I am getting this error.
----------------EPOCH 1
Processing: |          | 0/0[00:00<?,?it/s]Batch = nan|EMA = nan
Traceback (most recent call last):
  File "/cephyr/users/jorgeed/Alvis/segmentation/hover_net/run_train.py", line 306, in <module>
    trainer.run()
  File "/cephyr/users/jorgeed/Alvis/segmentation/hover_net/run_train.py", line 289, in run
    self.run_once(
  File "/cephyr/users/jorgeed/Alvis/segmentation/hover_net/run_train.py", line 266, in run_once
    main_runner.run(opt["nr_epochs"])
  File "/cephyr/users/jorgeed/Alvis/segmentation/hover_net/run_utils/engine.py", line 197, in run
    self.__trigger_events(Events.EPOCH_COMPLETED)
  File "/cephyr/users/jorgeed/Alvis/segmentation/hover_net/run_utils/engine.py", line 123, in __trigger_events
    callback.run(self.state, event)
  File "/cephyr/users/jorgeed/Alvis/segmentation/hover_net/run_utils/callbacks/base.py", line 229, in run
    raw_output = state.step_output["raw"]
TypeError: 'NoneType' object is not subscriptable

Could you please check if you have provided the corrected input paths?

@vqdang Yes, the input is correct. I also tried with another dataset of 2000x2000 pixel images, and extracted patches of 540x540_164x164 and it works. I think there is something I should do about the config maybe?

It's hard to say unless you drop into debug mode. I assumed that there were no data generated previously because the above log indicates the code jump directly to callbacks after finishing an epoch. As long as aug_shape > act_shape then there should not be a problem.

Will close the issue as it seems to be temporarily resolved.


Render border conditionally

Add none property to Border component. This enable use cases when only need to render border conditionally.
For example, render top border only for non-first element
    <Box>
      {range.map((i) => (
        <Border
          py={2}
          top={!!i}
          none={!i}>
          Hello
        </Border>
      ))}
    </Box>

Codecov Report

Merging #319 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master   #319   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          11     11
  Lines         170    170
=====================================
  Hits          170    170

Impacted Files
Coverage Δ

src/components.js
100% <100%> (ø)
:arrow_up:

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 e5a17b9...09ca653. Read the comment docs.


[Story] Checkbox to confirm financial information details are correct

Epic
Epic issue includes overview, complete list of user stories, technical and content requirements, user testing task ideation, and current design mock-ups.

[Epic] Sign and Submit

User story

As a filer, I want to check a checkbox for each section displaying financial institution information, so that I can confirm that I've reviewed the section and that the details are correct.

Acceptance criteria

Before a user presses Sign and Submit they will check a box confirming their FI details are correct.
Box will be greyed out if not selected
Given [some context or conditions], when [the action that is performed], then [the expected observable outcome or behavior].

Technical tasks
Developers should create technical tasks and add links (below) prior to sprint planning.
Front end

[ ] Task (link)
[ ] Task (link)

Back end

[ ] Task (link)
[ ] Task (link)

Changed from "As a filer, I want to check a checkbox for each section displaying financial institution information, so that I can confirm that I've reviewed the section and that the details are correct." to "As a filer, I want a way to confirm that I've reviewed the section displaying my financial institution details and that the data displayed is correct, so that CFPB can ensure the information I'm submitting is complete and accurate."

Tracking this work in this consolidated story:

https://github.com/cfpb/sbl-project/issues/260


💭 [lint] suggested usage of async function

This is an issue to track a suggestion from @samccone (https://github.com/romefrontend/rome/issues/1118#issuecomment-675530868); suggestion given while there was a discussion around enforcing await inside async functions.
Here's the suggestion of the rule

I would rework this rule to be a bit more nuanced, all async function calls should either be
1. prefixed with an `await`

2. consumed by another fn

for instance
ILovePromises(myAsyncFn());

That means that the following patterns would not error
await foo()
yay(foo);

but
foo()

would

I like this suggestion and I think we should implement it.
cc @bitpshr

The problem with this suggestion is that, in the absense of type info, it forces otherwise synchronous function calls to take an unnecessary tick (by adding await), which isn't just slower, but might also break things if same-tick semantics are important.

I am generally against lint rules that can't be reliably inferred with static information, even .then makes me a bit uncomfortable since we don't know that it's actually a promise. Although 99.999% of the time it will be, especially since "thenables" are an actual spec detail.
It would be nice to keep a track of lint rules that are only practical, or reliable, with the usage of type information so we can more appropriately justify investment in the future. Don't want that to be a blocker here for implementation but it's something we should keep in mind when deciding if a rule isn't reliable enough to be useful and a net positive.

Circling back here; should we repurpose this ticket to be a list of rules that may be useful once proper type information is available @ematipico?


Add some automated Accessibility Checking

Links for this:

https://www.npmjs.com/package/a11y-sitechecker
~https://squizlabs.github.io/HTML_CodeSniffer/~ not very updated, doesn't ignore display: none and can't directly check contrast
https://wave.webaim.org/
https://www.w3.org/WAI/eval/report-tool (not automated but would help up put together a report)

Update: went with a11y-sitechecker, but given that it's AGPL, we couldn't directly integrate it as a checker. But, it's backed by Deque's axe-core, which wasn't too much harder to add to ALKiln. I'll move this issue to there, since that's where the bulk of the work will be.


Current version failure to download/run...

This is a known issue and a rebuild is in progress. It will likely take over a week to process as the last backup is from July

Hi allada, I downloaded the bsc mdbx chaindata from the sh script as in this repo, and restart the erigon for bsc archive, but stuck at 23422481 and keep showing [2/16 Headers] No block headers to write in this log period block number=23422481. Seemed the community encounter this problem recently but no conclusion yet
./build/bin/erigon --chain bsc --datadir=/server/home/qa/eri/erigon/data


add FAQ how to get the hash from the private key

When you want to create backup key, you dont have access to the certificate or SSL labs, those commands can be used to create the hash from the private key instead.

Thanks for the contribution!


Update README.md for issue #3487

Related Issue
updated readme file for issue about adding scroll feature to cookie box.
Fixes:  #3487
Description
Added scroll feature to cookie box and reduced the font size for better access
Related Issue
adding scroll feature in cookie and reducing font size
Fixes:  #3487
Description
This PR updates the README file to address Issue #3487 . Changes include enhanced installation instructions, added contribution guidelines, and improved formatting for better readability. These updates aim to clarify documentation and support user engagement.
#3487
@anuragverma108 please issue my pr with GSSOC'24EXTD, hacktoberfest'24 and level labels.
Type of PR

[ ] Documentation update

Screenshots / videos (if applicable)

Checklist:

[ ] I have made this change from my own.
[ ] My code follows the style guidelines of this project.
[ ] I have performed a self-review of my own code.
[ ] I have made corresponding changes to the documentation.
[ ] My changes generate no new warnings.
[ ] I have tested the changes thoroughly before submitting this pull request.
[ ] I have provided relevant issue numbers and screenshots after making the changes.

after i merged that PR  #3574  i will merge this PR


Merge to master for 0.132.4

Merge to master for 0.132.4

Congrats, @endigo9740! I'm about to create a Skeleton project with its CLI.


[cocoon] Rerunning GitHub checks twice results in check being stuck as pending

On my release PRs to 2.13.0 I've noticed this. I'm dealing with the ios simulator flakes, and everytime I get to a rerun of a rerun (i.e. the 3rd attempt), the check gets stuck.
See https://github.com/flutter/engine/pull/32775/checks?check_run_id=6081715069 for an example.
The expected results is that any N reruns will always schedule the build

Does this issue still happen?


Adding custom resource ID

Preflight Checklist

[X] I could not find a solution in the existing issues, docs, nor discussions
[X] I have joined the ZITADEL chat

Describe your problem
We are importing information from external system to Zitadel. Operation in Zitadel require (for example user grant) requires some resource IDs as header or in the body of the message.
In our current system, we need to first query Zitadel's resource IDs using what we known about our system resource ( from organization name, from user email, by user username ....) before we can make some other calls that require those resource IDs. It would be great if we can have a direct mapping between our system resource IDs and Zitadel resource IDs
Describe your ideal solution
Using import endpoint, I can define the resource ID. This is a great solution for us as we can use the same current system resource ID and apply it for Zitadel resource ID
Having the ability to set the resource ID when creating resources such as organization, user, project grant, user grant, ... would be benefit to external system
Version
v2.54.4
Environment
Self-hosted
Additional Context
An example from our system:
In our system, an admin want to update user<EMAIL_ADDRESS>want to change his role in organization Alpha. We need to send a change user grant request, which need this user ID and this organization ID in Zitadel.

Get this user ID from email/username in Zitadel
Get this organization 'Alpha' ID in Zitadel
Get the project granted ID to this organization in Zitadel
Send the POST request include those IDs and the new update role

@eliobischof @stebenz please have this in mind for the new API design

This functionality will be implemented in our new APIs from V2 ongoing.
Because of that I will put the issue currently to backlog.


[Auto Release] Finalize release 0.2.10 on istio

Finalize release 0.2.10 on istio
none

@sebastienvas: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-cluster_wide-auth.sh
d64054bcdba910f59ae7ac37e85f777c33cf6e77
link
/test e2e-cluster_wide-auth

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Google analytics not working

I'm having trouble enabling Google Analytics. I have this in my _config.yml:
google_analytics: "UA-48804932-1"

But I get nothing when serving. The landscape theme is the latest version (git commit 0815298a3) and here's the output of hexo version:
hexo: 3.0.0
os: Linux 3.16-3-amd64 linux x64
http_parser: 2.3
node: 0.12.1
v8: 3.28.73
uv: 1.0.2
zlib: 1.2.8
modules: 14
openssl: 1.0.1m

Anything I'm doing wrong here?

Same issue here

I have this in my _config.yml

In what file you wrote it? In hexo _config.yml or themes/landscape/_config.yml? Must be in theme config.
I set parameter without double qoutes
google_analytics: UA-48804932-1

and it works.

I ended up symlinking themes/landscape_config.yml to _config.yml. I'm
not sure if this is a solution or a workaround :)
On Mon, 26 Oct 2015 19:45 taur-firiath<EMAIL_ADDRESS>wrote:

I have this in my _config.yml
In what file you wrote it? In hexo _config.yml or
themes/landscape/_config.yml? Must be in theme config.
I set parameter without double qoutes
google_analytics: UA-48804932-1
and it works.
—
Reply to this email directly or view it on GitHub
https://github.com/hexojs/hexo-theme-landscape/issues/31#issuecomment-151244729
.

--
Best regards,
Thomas Toye
Student New Media and Communication Technology
www.thomastoye.be

It is an issue that site config ./_config.yml and theme config ./theme/XXX/_config.yml are not properly defined. That being said, Landscape read GA token from theme config.
I don't think it is a good practice to symlink site config as theme config.


Problem with regex rule

Hi,
I'm trying to set a rule for phone validation. I need a phone begins with '+56' so I register my field with this configuration:
validator.registerField(self.formTextField, rules: [RequiredRule(message: "The phone is required"),RegexRule(regex: "^((\\+)56)", message: "The phone must begins with +56")])
What could be happen?
If anybody help me I'll really appreciated.
Regards

I'm not going to lie this project took off and I'm pretty overwhelmed by it. I no longer actively code in Swift and I need help from more contributors in order to keep this project relevant. I'd like to find someone to transition as lead maintainer or help this codebase find a happy home with a company.
The codebase for this project is relatively small and focused project for who is looking to contribute. It does one thing, and does it pretty well. It has pretty high test coverage and good adoption. I think my ideal maintainer / contributor would work for a company that actively uses SwiftValidator in their production application.
If you're interested in helping out please comment on #204


Undefined variable "shares" in individual-page-menu.phtml

Thank you! The screenshots are looking nice!
Now there is a new error  when activating your theme:
Undefined variable: shares …/modules_v4/ArgonLight/resources/views/individual-page-menu.phtml:37 #0 …/modules_v4/ArgonLight/resources/views/individual-page-menu.phtml(37): Fisharebest\Webtrees\Webtrees::Fisharebest\Webtrees\{closure}()

Glad you like the theme
The error must be due to the fact that I updated the theme to be compatible with Webtrees 2.1. (see 23228ec)
If you are not using Webtrees version 2.1, I recommend you to use version 2.0 of this theme. 2a656d8
You will then probably have the same problem as in #1. To solve it, just add between lines 2 and 3 of module.php :
include "LightModule.php";

I'm using 2.0.21 as my productive system (https://ahnen.hartenthaler.eu) and 2.1 as a test system. I will try both versions and report again.

I cannot reproduce this error anymore.


Update Compliance - Documentation indicates that "Cloud-delivered protection" is required for Windows Defender Antivirus reporting

In the "Confirm prerequisites" section above, "Cloud-delivered protection is enabled" is listed as a prerequisite for devices to properly show up in Update Compliance. However, it then goes on to state that "for E5 licenses, you need to use the Microsoft Defender ATP portal".
The problem is that "Cloud-delivered protection" is (as far as I can determine) a part of the E5 license benefit. Having it enabled will, 1) cause devices to not show up in Update Compliance and 2) probably lead customers into a non-compliant licensing situation.
Can you please confirm whether this a documentation error and "Cloud-delivered protection" is not required OR is the documentation correct and "Cloud-delivered protection" is a requirement for Windows Defender Antivirus reporting in Update Compliance?
(NOTE: If "Cloud-delivered protection" is needed, the Update Compliance documentation (at https://docs.microsoft.com/en-us/windows/deployment/update/update-compliance-wd-av-status) needs to be corrected to indicate this as well.)

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

ID: c83b7aed-5621-4b90-6eab-2fadbfe72586
Version Independent ID: 06cfa791-6755-38f7-ca98-3d13c7c2ce7d
Content: Troubleshoot problems with reporting tools for Windows Defender AV - Windows security
Content Source: windows/security/threat-protection/windows-defender-antivirus/troubleshoot-reporting.md
Product: w10
Technology: windows
GitHub Login: @denisebmsft
Microsoft Alias: deniseb

Hello @asdalmeida,
The problem is that "Cloud-delivered protection" is (as far as I can determine) a part of the E5 license benefit  - according to this article, it is a part of Windows Defender Antivirus, so it is available for any license that includes Windows Defender Antivirus.
Also, as on March 31, 2020, the Windows Defender Antivirus reporting feature of Update Compliance will be removed, I think there is a need to add this note to the article.
Thank you

Hello @MaratMussabekov,
I agree that with the removal of the Windows Defender Antivirus reporting feature of Update Compliance this question becomes irrelevant (as does this page?).
As for the article you linked, it is not clear to me from the text whether "cloud-delivered protection" is a base part of Windows Defender Antivirus or whether it is part of the "next generation protection" that you get when you have Windows Defender Advanced Threat Protection licensing (E5).
Either way, the question on whether it needs to be enabled or not is now irrelevant as the Windows Defender Antivirus reporting feature of Update Compliance is going away as of March 31, 2020.
Thank you for your time on this.

Hello @asdalmeida,
I believe it is a base part, because it is listed here.
Thank you

Hello @MaratMussabekov,
Thank you for the additional link. That clarifies it for me.
Thank you again!

@asdalmeida  - Thank you for submitting feedback.
From our understanding, the issue you raised has been answered by MaratMussabekov so we will close this issue.
Thank you for your contribution to make the docs better! Much appreciated!


[Updated] Edit base.html to fix Header and Footer: Facebook and Twitter add PNGs

Current coverage is 89.09% (diff: 100%)

Merging #572 into master will increase coverage by 0.15%

@@             master       #572   diff @@
==========================================
  Files           207        207
  Lines          8147       8153     +6
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           7246       7264    +18
+ Misses          901        889    -12
  Partials          0          0

Diff Coverage
File Path

•••••••••• 100%
open_humans/templates/base.html

Powered by Codecov. Last update e57b457...404704b

I've created a new PR with some fixes added -- thanks @BenjaminHCCarr !


Allow enabling serde/std without also requiring serde_cbor/std to be enabled

Currently serde_cbor's std feature must be enabled if serde/std is also enabled, even if serde/std is enabled separately by another crate somewhere else in the dependency tree.
However, this doesn't necessarily need to be the case. serde provides a StdError type in order to get around this (see https://github.com/serde-rs/serde/pull/1620). This is a type provided by serde as a re-export of std::error::Error when serde/std is enabled and as an export of a custom serde::std_error::Error type with the same interface as std::error::Error when serde/std is not enabled. By conforming to serde::ser::StdError instead of std::error::Error, serde_cbor can rely on the std/no_std state of serde rather than requiring that both libraries' std feature be either both enabled or both disabled.
This allows serde_cbor to be in no_std even if serde/std is enabled. While this might not make a ton of sense at first glance, this change would lead to a much more robust dependency mechanism when serde and serde_cbor are involved, by allowing a crate to depend on serde_cbor with default features disabled and not have to worry if another crate (maybe even higher up in the dependency graph) enables serde/std completely independently. Ideally, the ultimate goal is that features are additive and not dependent on the state of other features laterally in the dependency graph.
This PR does 2 things:

Changes the type of the std error that serde_cbor::Error conforms to from std::error::Error to serde::ser::StdError.
Adds a line to .travis.yml to test building with serde/std enabled and serde_cbor's default features disabled in order to test that this configuration is buildable.

I'm not sure who's in charge atm for merging in this repo. But I think this is a good change.

it seems that only @pyfisch has admin rights

This was auto-closed completely unintentionally.


error open CTR NAND Fbi V.2.4.9 in homebrew launcher rosalina

When you try open de CTR NAND in  fbi version 2.4.9 in mode  homebrew launcher rosalina v2.0.0
Error
failed to open file listing archive
Result code : 0xD9004676
Level: Permanent (27)
Summary: Wrong argument (8)
Module: FS (17)
Desc: Archive permission denied (630)

Enable ARM9 access patching in the Luma3DS settings.


Python Interactive Window Traceback Highlighting

Are the colors used in python tracebacks hardcoded somewhere? Do they use a lexer?
In a recent update, I'm noticing the error line now has the background highlighted in bright yellow. With black text I'm sure that looks great, but as you can see, it makes the specific error lines pretty hard to read with a dark theme:

Any way for the user to change these colors?

Thanks for filing this issue, for some reason I cannot replicate this issue at my end.
Most of the colors come from the python kernel itself (though we do alter the colors to best suite the VS Code themes).
Please could you provide the following info:

Theme name
Python version
Jupyter extension version
VS Code Extension version
version of IPyKernel

import ipykernel
ipykernel.__version__

Thanks

Classifying this as a bug as the text is not legible.

Github Dark (Github Theme Extension v5.1.0)
python: v2022.0.1696779064-dev
jupyter: v2022.1.1001614873
vscode: 1.64.0-insider, Commit: c6e58d126f6b5676242e32b34180b2a595f29b51
ipykernel: 5.5.6

Also a more obvious example:

Turns out I can edit this color in workbench.colorCustomizations by changing eg:
// "terminal.ansiYellow": "#e5e510",  # bright yellow
"terminal.ansiYellow": "#22e510",  # lime green

lime green set:

and even with no ansiYellow override, just using GitHub Theme's default:

Still pretty illegible, maybe there's a way to use something other than ansiYellow for this particular background highlight color with a dark theme, as the main text color will likely be light/white?

Ahh I have a feeling the change is related to the latest commit in this file:
https://github.com/microsoft/vscode-jupyter/blob/071106f68780552072537be2ae5b3e0ef5e9b049/src/datascience-ui/error-renderer/index.ts#L56

What's weird is the ansi yellow highlighting is coming in. We don't provide this.
Please could you:

DIsable all extensions except for Jupyter
Disable all themes as well
Test once again & confirm you're still getting yellow
Provide a list of all packages and versions pip list in the python environment (probably something in that env is changing the colors returned by the kernel)

Ahh I have a feeling the change could be related to the latest commit in this file?

Aah thanks, a new change I wasn't aware of, thanks, I'll dicuss this with the team.
Please could you confirm this works with previous versions of the extension. Thanks

Yeah even with all extensions disabled:

Hmm even using a jupyter extension version from a month ago that color still seems to be determined by ansiYellow, but I don't remember noticing it till a few days ago... Is this related to the python extension somehow too?

Is this related to the python extension somehow too?

Unlikely, I'm still unable to repro this at my end, even with the latest IPython 8 and older Ipykernels.
Let me dig further into this.

Actually, I think somehow I got off the "latest" version of jupyter, eg I'm not sure when it switched to an explicit "prerelease" system. So I turned that on, now I have the newest prerelease version and there doesn't seem to be any error highlighting at all haha. So thanks for the help, but I guess its actually all good in the newest version??

Yes, I believe that's what was meant to be fixed in the change you highlighted.
Thanks for the confirmation

Are you sure this is a VSCode issue? I am seeing the same problem with the Ipython tracebacks.

Ran into this today, after upgrading to 8.2.0.
As a workaround, you can disable the color scheme by setting
c.InteractiveShell.colors = 'NoColor'

in ~/.ipython/profile_default/ipython_config.py. All other schemes (namely: Neutral, Linux, or LightBG) had the same unreadable ansiYellow background. (Disabling the color scheme doesn't affect syntax highlighting, so all's good)

Settings > workbench.colorCustomizations > "terminal.ansiYellow": "#626208",  # bright yellow's half bright
Thanks @jaymegordo

I run into this today, I think issue should be reopened
I will use the ansiYellow workaround for now

Name: Jupyter
Id: ms-toolsai.jupyter
Description: Jupyter notebook support, interactive programming and computing that supports Intellisense, debugging and more.
Version: 2022.8.1002431955
Publisher: Microsoft
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=ms-toolsai.jupyter

This was caused by a change in the IPykernel stack traces that we parse, should be fixed in the latest insiders release with https://github.com/microsoft/vscode-jupyter/pull/11319


ImportError: cannot import name poll

Hi everyone,
I am trying to launch https://github.com/OpenState-SDN/spider
when I try to Launch SPIDER:
$ cd ~/spider/src
$ sudo ryu-manager SPIDER_ctrl_WEBAPP.py
I get
Traceback (most recent call last):
File "/usr/local/bin/ryu-manager", line 9, in
load_entry_point('ryu==3.29', 'console_scripts', 'ryu-manager')()
File "/usr/local/lib/python2.7/dist-packages/ryu/cmd/manager.py", line 88, in main
app_mgr.load_apps(app_lists)
File "/usr/local/lib/python2.7/dist-packages/ryu/base/app_manager.py", line 401, in load_apps
cls = self.load_app(app_cls_name)
File "/usr/local/lib/python2.7/dist-packages/ryu/base/app_manager.py", line 378, in load_app
mod = utils.import_module(name)
File "/usr/local/lib/python2.7/dist-packages/ryu/utils.py", line 91, in import_module
import(name)
File "/home/mininet/spider/src/SPIDER_ctrl_WEBAPP.py", line 25, in
import SPIDER_ctrl
File "/home/mininet/spider/src/SPIDER_ctrl.py", line 30, in
import SPIDER_parser
File "/home/mininet/spider/src/SPIDER_parser.py", line 33, in
from mininet.topo import Topo
File "build/bdist.linux-x86_64/egg/mininet/topo.py", line 14, in
File "build/bdist.linux-x86_64/egg/mininet/util.py", line 7, in
ImportError: cannot import name poll
Plesae, how to handle with this situation
thanks in advance

Whatever, I think my problem it is in this lines:
from mininet.topo import Topo
File "build/bdist.linux-x86_64/egg/mininet/topo.py", line 14, in
File "build/bdist.linux-x86_64/egg/mininet/util.py", line 7, in
ImportError: cannot import name poll
when I use SSh to get in (build/bdist.linux-x86_64), I didn't find anything inside.
So I think I must firstly add the missing files then I could solve my solution.
I do not know how I can do that
please, If you have any advice, it would be appreciated
I look forward to hearing you

Hi @AbdullahAlshraa,
What is your environment? OS version? Mininet version?
Are you working on a VM configured as specified here? http://openstate-sdn.org/
Thanks,
Carmelo

Dear Carmelo,
First of all, I would like to thank you for your consideration.

I use windows 10  + virtualbox.

I do the first step using ssh
I use the next command to install OpenState-enabled softswitch and controller in only one shot!
bash -c "$(wget -O - http://openstate-sdn.org/install.sh)"
then
I configure virtual box as follow:
I select Linux type, version Ubuntu 64
I do the first step
then I set the first adaptor (NAT)>> click advance then forwarding port << add new rule( 8080 for host port, 8080 for local host port)
I set the  second adaptor (host- only Ethernet adapter\promiscuous mode: Allow All )

I tried mininet versions of 2.2.1 (32 bit), 2.2.1 (64 bit), 2.2.2 (64 bit), 2.2.2 (32 bit) and 2.2.0

and I also tried to install them separately form their Repositories :
OpenState softswitch https://github.com/OpenState-SDN/ofsoftswitch13
OpenState controller https://github.com/OpenState-SDN/ryu

Whatever, I think my problem it is in this lines:
from mininet.topo import Topo
File "build/bdist.linux-x86_64/egg/mininet/topo.py", line 14, in File "build/bdist.linux-x86_64/egg/mininet/util.py", line 7, in
ImportError: cannot import name poll
when I use SSh to get in (build/bdist.linux-x86_64), I didn't find anything inside.
So I think I must firstly add the missing files then I could solve my solution.
I do not know how I can do that
please, If you have any advice, it would be appreciated
I look forward to hearing you

Dear Carmelo,
First of all, I would like to thank you for your consideration.

I use windows 10 (64-bit) + virtualbox.
I select Linux type, version Ubuntu 64, Memory size 2048 MB and using Mininet 2.2.1.
(1) I do the first step using Mininet Shell where I type the next command to install OpenState-enabled softswitch and controller in only one shot!
$ bash -c "$(wget -O - http://openstate-sdn.org/install.sh)"
(2) Thereafter, I access to etc/ssh/sshd_config to modfiy the listening port from 22 to 8080.
I configure virtual box as follow:
I set the first adaptor
(NAT)>> click advance then forwarding port << add new rule( 8080 for the host port of (<IP_ADDRESS>), 8080 for local host portof (<IP_ADDRESS>))
(3)I type, in the command prompot, " putty.exe<EMAIL_ADDRESS>-P 8080 "
(4)Inside mininet Shell, I type $git clone http://github.com/OpenState-SDN/spider
(5)Launch SPIDER:(inside Mininet Shell ) -and I also tried in the terminal-
I type $ cd ~/spider/src $ sudo ryu-manager SPIDER_ctrl_WEBAPP.py
then, I get the aforementioned error
in the Step one I tried to check out the Check out some OpenState sample applications
(https://github.com/OpenState-SDN/ryu/wiki)
when I check out the fualt management (https://github.com/OpenState-SDN/ryu/wiki/Failure-Recovery), I get the same error after I run these commands
cd ~/ryu/ryu/app/openstate/fail_recovery
sudo ryu-manager fault_tolerance_rest_ff_demo_probing.py

I tried mininet versions of 2.2.1 (32 bit), 2.2.1 (64 bit), 2.2.2 (64 bit), 2.2.2 (32 bit) and 2.2.0
and I also tried to install the (OpenState-enabled softswitch and controller) separately from their Repositories :
OpenState softswitch https://github.com/OpenState-SDN/ofsoftswitch13
OpenState controller https://github.com/OpenState-SDN/ryu

Whatever, I think my problem it is either in these lines:
File "build/bdist.linux-x86_64/egg/mininet/topo.py", line 14,in
File "build/bdist.linux-x86_64/egg/mininet/util.py", line 7, in
ImportError: cannot import name poll
when I use SSh to get in (build/bdist.linux-x86_64), I didn't find anything inside.
So I guess, I must firstly add the missing files then I could solve my problem.
Or, there is perhaps no compatibility between the SPIDER code and the packages that I download from http://openstate-sdn.org ( OpenState-enabled softswitch and controller)
please, If you have any advice, it would be appreciated
I look forward to hearing you


Tokenpath not applying as "optional"

Tokenpath is specified as optional, however appears to be mandatory as conf fails if not specified.  @bigmoby I had a look and did not see where this is failing in the API, I am not 100% clear on why this is not working as an optional field which it should be :-(
2 options as I see it :-

Change the readme to reflect as mandatory
Identify the issue with pyfujitseu api.py (if that is where the issue lies)

Thoughts?

Hi @chiefcomm , ok...the first solution, ok?! 😅

Fixed with https://github.com/bigmoby/fglair_for_homeassistant/releases/tag/v0.2.0


update for issue"Fix the ansible-playbook installation issue for lxd/lxc"

@SevenWang009 Does this PR pass the test in your local environment?

@SevenWang009 Does this PR pass the test in your local environment?

@cj-chung yes，these two modified script files can run in a clean system environment and complete the setting functions.

@SevenWang009 What this perf_distrinet_lxd.zip file for?

@cj-chung that's a document about the limitation of distrinet, i uploaded wrong way ,sorry.


Vite CJS Node API is deprecated

When I switched to Electron 28+, I followed the instructions here and added "type": "module" to package.json on my project.
Since then, my vite.config.ts is erroneous on VS Code due to the electron function call within the configuration:

This expression is not callable.
Type 'typeof import("[...]/node_modules/vite-plugin-electron/dist/index")' has no call signatures.ts(2349)

When I build this project, I get a warning:

The CJS build of Vite's Node API is deprecated. See https://vitejs.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.

If I add "type": "module" to package.json on this project (plus minor import adjustments), my issue above gets fixed and VS Code doesn't complain anymore. Any reason both vite-plugin-electron and vite-plugin-electron-renderer don't include "type": "module" now Vite/Electron require it?

https://github.com/electron-vite/vite-plugin-electron/blob/v0.28.8/CHANGELOG.md


Context/Edit Menu Support

Hey, I was curious if GLFM plans to support features like context menus or edit menus. Obviously these can be hand-made by the developer using custom UI, but wont have the native look or feel especially across devices.
Context menu:
https://developer.apple.com/documentation/uikit/uicontrol/adding_context_menus_in_your_app
Edit Menu:
https://developer.apple.com/library/archive/documentation/StringsTextFonts/Conceptual/TextAndWebiPhoneOS/AddingCustomEditMenuItems/AddingCustomEditMenuItems.html

These kinds of menus are great for creating tools/applications using GLFM instead of just games!

The only reason I ask is because I am actually using Java to develop my ios application using GLFM, so I do not have the ability to make these system-level api calls in a nice way.

Yeah, this is out of scope for GLFM. It would be better to use a cross platform UI (like ImGui), or, if you need iOS-specific UI, you can use glfmGetUIViewController to access the UIViewController.


Rename receiptFilename to filename

Details

[x] Held on https://github.com/Expensify/Auth/pull/8623 so that the property is coming from the API correctly

This PR removes the code which looks for both filename and receiptFilename. It also adds a migration to cleanup the Onyx data so that there is no receiptFilename being stored anymore.
Fixed Issues
$ https://github.com/Expensify/Expensify/issues/315615
$ https://github.com/Expensify/App/issues/26630
Tests

Run the app in web or desktop and look at the JS console for the logs [Migrate Onyx]
Verify that the migration runs and some data was renamed (probably, as long as you've had past transaction data)
Reload the app
Verify the migration is skipped because there is no more data to update

Repeat these steps for each platform:
Create a distance request
Verify that it is successful and shows a proper receipt image at the end

[ ] Verify that no errors appear in the JS console

Offline tests
None
QA Steps

Create a distance request
Verify that it is successful and shows a proper receipt image at the end

[ ] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] If we are not using the full Onyx data that we loaded, I've added the proper selector in order to ensure the component only re-renders when the data it is using changes
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[x] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

Screenshots/Videos

Web

Mobile Web - Chrome

Chrome keeps crashing on my so I am not able to get a screenshot. Tested on main and it crashes there too, so must not be related to my PR.

Mobile Web - Safari

Desktop

iOS

Note: Receipt images sometimes don't load for me locally due to WARP client we use for security

Android

@amyevans or @narefyev91 Could you give one more approve please and then merge this? It is off hold and I had to fix a conflict.

Sure, there are some duplicates in Transaction.ts now though!

I came back here to say "updated", but you already merged! You are fast ⚡

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by https://github.com/amyevans in version: 1.3.73-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/mountiny in version: 1.3.73-1 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅

🚀 Deployed to staging by https://github.com/amyevans in version: 1.3.74-0 🚀

platform
result

🤖 android 🤖
failure ❌

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/chiragsalian in version: 1.3.74-3 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅


Proper way to manage external dependencies

I am trying to manage external dependencies between two of my projects: both my poly-nvd3 element and my poly-cloud element depend on the d3js library. The problem is, if I reload d3, everything crashes.
Upon searching for the recommended way to manage interdependencies, I was surprised to find that there doesn't exist a way to do this.
The idea that works and that I am currently using just temporarily is to load all scripts before importing the components, and the components just expect that the external library is loaded. Like this:
<script src="../d3/d3.min.js" type="text/javascript" charset="utf-8"></script>
<link rel="import" href="../poly-cloud/poly-cloud.html">
<link rel="import" href="../polynvd3.html">

Doing this works, but it is not a good way to solve the problem, because this destroys the idea that each component is self-contained. Having this in mind, what is the best solution?
I could think of two ways of a 3rd party library working with web components:

Creating a -import bower package
In my example, a d3-import bower package would be created that has d3 as a bower dependency and the following d3.html file:

<script src="../d3/d3.min.js" type="text/javascript" charset="utf-8"></script>

With this, components could import d3 by using:
<link rel="import" href="../d3-import/d3.html">

This would take advantage of import deduping, and the library would be imported only once. The problem is that a 2nd bower package would have to be mantained for each 3rdparty library. Also, anyone can create this 2nd package, so problems with who mantains it can arise.

Creating a import.html file inside each library
For example, a import.html file could be in the d3 library root with the same contents of the above d3.html file, and then I could import d3 just by using:

<link rel="import" href="../d3/import.html">

This is interesting because the import.html file now is inside the 3rd party library, what seems easier to mantain.
The problem with this approach of exploiting deduping is that a convention has to be created and enforced from the beginning and followed in all libraries, because if a library has different ways of resolving imports, conflicts can arise between them. If Polymer specified a way to do this as a convention to all elements, this problem would be solved.
Is there a better way to manage external dependencies? Can't the Polymer Project enforce one of these dependency management options? This would solve a lot of future headaches with web components.

+1

Generally we wrap such shared libraries in .html files to get the de-duping behavior. I would be nice to have them in the 3rd party library, so if you find they're open to that, then by all means go for it.
We've also experimented with integrating HTML imports with module loaders. We've created an AMD-compliant module definition library called IMD here: https://github.com/PolymerLabs/imd
IMD doesn't do any loading. Used alone, IMD still require that you HTML import your modules, but it could potentially play nice with other loaders which would pull in dependencies not already loaded via HTML imports. Eventually the goal is to have ES6 and HTML imports work naturally together.

Closing this issue due to age and the release of version 1 of Polymer - please feel free to re-open if this is incorrect.


Organize similar e2e tests into a similar structure and naming

There are 3 tests that progress the chain until a checkpoint:

Run multi node multi thread interop validators (no eth1) until checkpoint

4 nodes / 8 vc / 1 validator > until justifiedCheckpoint

Run multi node single thread interop validators (no eth1) until checkpoint

4 nodes / 8 vc / 1 validator > until justifiedCheckpoint

Run single node single thread interop validators (no eth1) until checkpoint

1 node / 8 vc / 8 validator > until justifiedCheckpoint
1 node / 8 vc / 8 validator > until finalizedCheckpoint
1 node / 1 vc / 32 validator > until justifiedCheckpoint

I've just made the naming more consistent among them and try to structure them similarly. It can be greatly improved from here.
Also, do we want to run all this test? What are their best configurations? Looking them in perspective, they don't seem super coherent. Maybe we can optimize them easily now.

I'd be in favor of skiping the single node tests, just keeping around for debugging purposes.
The same functionality will be tested in the threaded test, and we could shave off a few minutes of CI time.

Do we want here to run 8*8 64 validators total in this test? Is it necessary to do this many? Is there any tradeoff on doing less or more?
https://github.com/ChainSafe/lodestar/blob/ba882a986ffb91e6ec6e370384307f3d0cea0b61/packages/lodestar/test/e2e/singleNodeSingleThread.test.ts#L24-L25

Also, leaving here the failing e2e tests result before re-running
2020-08-14T17:30:10.5948658Z @chainsafe/lodestar: 2020-08-14 17:30:10  [CHAIN]            info: Beacon chain initialized
2020-08-14T17:37:06.9437457Z @chainsafe/lodestar: <--- Last few GCs --->
2020-08-14T17:37:06.9439210Z @chainsafe/lodestar: [9906:0x32021d0]   961889 ms: Mark-sweep 1990.7 (2091.7) -> 1988.9 (2091.9) MB, 2987.4 / 1.7 ms  (average mu = 0.163, current mu = 0.154) allocation failure GC in old space requested
2020-08-14T17:37:06.9441075Z @chainsafe/lodestar: [9906:0x32021d0]   964918 ms: Mark-sweep 1988.9 (2091.9) -> 1988.8 (2092.9) MB, 2975.3 / 1.4 ms  (average mu = 0.096, current mu = 0.018) allocation failure GC in old space requested
2020-08-14T17:37:06.9444803Z @chainsafe/lodestar: <--- JS stacktrace --->
2020-08-14T17:37:06.9445594Z @chainsafe/lodestar: ==== JS stack trace =========================================
2020-08-14T17:37:06.9446175Z @chainsafe/lodestar:     0: ExitFrame [pc: 0x1376259]
2020-08-14T17:37:06.9446897Z @chainsafe/lodestar:     1: StubFrame [pc: 0x13ce7d9]
2020-08-14T17:37:06.9447540Z @chainsafe/lodestar: Security context: 0x2d9cc9b008a1 <JSObject>
2020-08-14T17:37:06.9449030Z @chainsafe/lodestar:     2: /* anonymous */(aka /* anonymous */) [0x7b4fb9194a9] [/home/runner/work/lodestar/lodestar/node_modules/winston/lib/winston/create-logger.js:98] [bytecode=0x2c7ac8e1c6a9 offset=124](this=0x1ef1c52c04a9 <undefined>,0x32df420eb231 <String[#5]: silly>)
2020-08-14T17:37:06.9450068Z @chainsafe/lodestar:     3: forEach [0x2d9cc9b11319](this=0x07b4fb919441 <JSArray[7]>,0x07b4fb919...
2020-08-14T17:37:06.9453398Z @chainsafe/lodestar: FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
2020-08-14T17:37:06.9610564Z @chainsafe/lodestar:  1: 0x9dab70 node::Abort() [/opt/hostedtoolcache/node/12.14.1/x64/bin/node]
2020-08-14T17:37:06.9611896Z @chainsafe/lodestar:  2: 0x9dbd26 node::OnFatalError(char const*, char const*) [/opt/hostedtoolcache/node/12.14.1/x64/bin/node]
2020-08-14T17:37:06.9612724Z @chainsafe/lodestar:  3: 0xb3b18e v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [/opt/hostedtoolcache/node/12.14.1/x64/bin/node]
2020-08-14T17:37:06.9625765Z @chainsafe/lodestar:  4: 0xb3b509 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/opt/hostedtoolcache/node/12.14.1/x64/bin/node]
2020-08-14T17:37:06.9626461Z @chainsafe/lodestar:  5: 0xce68a5  [/opt/hostedtoolcache/node/12.14.1/x64/bin/node]
2020-08-14T17:37:06.9627192Z @chainsafe/lodestar:  6: 0xce6f36 v8::internal::Heap::RecomputeLimits(v8::internal::GarbageCollector) [/opt/hostedtoolcache/node/12.14.1/x64/bin/node]
2020-08-14T17:37:06.9627990Z @chainsafe/lodestar:  7: 0xcf2dca v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [/opt/hostedtoolcache/node/12.14.1/x64/bin/node]
2020-08-14T17:37:06.9628831Z @chainsafe/lodestar:  8: 0xcf3cd5 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/opt/hostedtoolcache/node/12.14.1/x64/bin/node]
2020-08-14T17:37:06.9636460Z @chainsafe/lodestar:  9: 0xcf66e8 v8::internal::Heap::AllocateRawWithRetryOrFail(int, v8::internal::AllocationType, v8::internal::AllocationAlignment) [/opt/hostedtoolcache/node/12.14.1/x64/bin/node]
2020-08-14T17:37:06.9645278Z @chainsafe/lodestar: 10: 0xcc3238 v8::internal::Factory::NewMap(v8::internal::InstanceType, int, v8::internal::ElementsKind, int) [/opt/hostedtoolcache/node/12.14.1/x64/bin/node]
2020-08-14T17:37:06.9656084Z @chainsafe/lodestar: 11: 0xeb29cb v8::internal::Map::RawCopy(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Map>, int, int) [/opt/hostedtoolcache/node/12.14.1/x64/bin/node]
2020-08-14T17:37:06.9666270Z @chainsafe/lodestar: 12: 0xeb30f4 v8::internal::Map::CopyDropDescriptors(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Map>) [/opt/hostedtoolcache/node/12.14.1/x64/bin/node]
2020-08-14T17:37:06.9776521Z @chainsafe/lodestar: 13: 0xeb3363 v8::internal::Map::CopyReplaceDescriptors(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Map>, v8::internal::Handle<v8::internal::DescriptorArray>, v8::internal::Handle<v8::internal::LayoutDescriptor>, v8::internal::TransitionFlag, v8::internal::MaybeHandle<v8::internal::Name>, char const*, v8::internal::SimpleTransitionFlag) [/opt/hostedtoolcache/node/12.14.1/x64/bin/node]
2020-08-14T17:37:06.9785541Z @chainsafe/lodestar: 14: 0xeb3b9a v8::internal::Map::CopyAddDescriptor(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Map>, v8::internal::Descriptor*, v8::internal::TransitionFlag) [/opt/hostedtoolcache/node/12.14.1/x64/bin/node]
2020-08-14T17:37:06.9794996Z @chainsafe/lodestar: 15: 0xeb3dd9 v8::internal::Map::CopyWithField(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Map>, v8::internal::Handle<v8::internal::Name>, v8::internal::Handle<v8::internal::FieldType>, v8::internal::PropertyAttributes, v8::internal::PropertyConstness, v8::internal::Representation, v8::internal::TransitionFlag) [/opt/hostedtoolcache/node/12.14.1/x64/bin/node]
2020-08-14T17:37:06.9804166Z @chainsafe/lodestar: 16: 0xeb55a2 v8::internal::Map::TransitionToDataProperty(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Map>, v8::internal::Handle<v8::internal::Name>, v8::internal::Handle<v8::internal::Object>, v8::internal::PropertyAttributes, v8::internal::PropertyConstness, v8::internal::StoreOrigin) [/opt/hostedtoolcache/node/12.14.1/x64/bin/node]
2020-08-14T17:37:06.9813547Z @chainsafe/lodestar: 17: 0xea5c7f v8::internal::LookupIterator::PrepareTransitionToDataProperty(v8::internal::Handle<v8::internal::JSReceiver>, v8::internal::Handle<v8::internal::Object>, v8::internal::PropertyAttributes, v8::internal::StoreOrigin) [/opt/hostedtoolcache/node/12.14.1/x64/bin/node]
2020-08-14T17:37:06.9823046Z @chainsafe/lodestar: 18: 0xeda0d6 v8::internal::Object::AddDataProperty(v8::internal::LookupIterator*, v8::internal::Handle<v8::internal::Object>, v8::internal::PropertyAttributes, v8::Maybe<v8::internal::ShouldThrow>, v8::internal::StoreOrigin) [/opt/hostedtoolcache/node/12.14.1/x64/bin/node]
2020-08-14T17:37:06.9831929Z @chainsafe/lodestar: 19: 0xedacc7 v8::internal::Object::SetProperty(v8::internal::LookupIterator*, v8::internal::Handle<v8::internal::Object>, v8::internal::StoreOrigin, v8::Maybe<v8::internal::ShouldThrow>) [/opt/hostedtoolcache/node/12.14.1/x64/bin/node]
2020-08-14T17:37:06.9841349Z @chainsafe/lodestar: 20: 0x100af54 v8::internal::Runtime::SetObjectProperty(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, v8::internal::StoreOrigin, v8::Maybe<v8::internal::ShouldThrow>) [/opt/hostedtoolcache/node/12.14.1/x64/bin/node]
2020-08-14T17:37:06.9850528Z @chainsafe/lodestar: 21: 0x100c67a v8::internal::Runtime_SetKeyedProperty(int, unsigned long*, v8::internal::Isolate*) [/opt/hostedtoolcache/node/12.14.1/x64/bin/node]
2020-08-14T17:37:06.9859780Z @chainsafe/lodestar: 22: 0x1376259  [/opt/hostedtoolcache/node/12.14.1/x64/bin/node]
2020-08-14T17:39:26.9716565Z @chainsafe/lodestar: Aborted (core dumped)
2020-08-14T17:39:26.9892099Z @chainsafe/lodestar: error Command failed with exit code 134.
2020-08-14T17:39:26.9906081Z @chainsafe/lodestar: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
2020-08-14T17:39:26.9936285Z lerna ERR! yarn run test:e2e exited 134 in '@chainsafe/lodestar'
2020-08-14T17:39:27.0026756Z ##[error]Process completed with exit code 134.
2020-08-14T17:39:27.0051870Z Cleaning up orphan processes


change to solve #242. background-color property to transparent

Hi @ner0x652, see my comment in #242, this code needs to remain as is but there are other solutions I can easily implement.


Defaults not being set in style manager when dropping blocks

When you drop a block like mj-image or mj-column there are default paddings that are applied but aren't reflected in the Style manager in the sidebar, this makes it confusing for a user who clicks on an image or a column and sees that the padding is 0 even though it's 10px (for example), it still works for editing, for now I'm updating things when you drop a block so that it displays properly but I have to go through every block and make check every setting to make sure the defaults are set which is irritating to manage

Are you seeing this on the latest version (0.1.18)?

Nope! Thanks that fixed it

small update, mj-button is missing the padding-top default style for some reason

Hmm I think thats by design, since the the default styling doesn't apply a top padding:
'padding-bottom': '10px',
'padding-right': '25px',
'padding-left': '25px',

Those might be the defaults but if you drop a button it has 10px of padding on top that can be changed, but it's showing 0px on the sidebar. So there's a disconnect somewhere

You are right, mjml applies padding: 10px 25px to the buttons by default so we should reflect that on our end


Implement docker environment

Submitting this PR in response to issue https://github.com/sloria/cookiecutter-flask/issues/65, as it doesn't seem like PR #272 has activity in > 1 year.
What is added

Support for running the cookiecutter app in Docker

User specifies desired Python and Node version during cookiecutter setup
Separate production and development docker-compose services

Production service leverages gunicorn and supervisord

Misc. Fixes & additions

app_name from the cookiecutter.json must be a valid Python module name, but there is no validation. The default is now the Python-friendly version of the project_name to reduce possibility for user error.
PDB++ debugger

👋 @sloria Apologies for the ping; is this PR something you're open to reviewing? Thank you!

I can help test, however, I don't know who to make cookiecutter use this commit?

Once the .gitignore change is reverted and this is updated with the latest master (rebase preferred, but merge is fine, too), this is good to merge.

Great--thanks for the review! I've made the requested changes & rebased to master.
I'd be excited to become a maintainer; expect a few more PRs in the next few weeks!

@jamescurtin this works great... but I can't figure out the URL to connect to once I have docker-compose up flask-dev running.
I checked localhost:5000, ifconfig to find the my Ubunutu VM IP, <IP_ADDRESS>:5000 and used docker inspect to view the IP address. None of them seemed to be working.
What IP address should I be using?

Hi @hassanc, I've moved your question over to an issue so that it may be better tracked. Thanks!


language setting is not used after restart

Version 0.7.6
It looks like the selected language is only used if the settings for the language has been opened before otherwise the standard language is used
Steps to reproduce:

In settings select a language that is not the default language of the smartphone
As expected, all will be displayed in the selected language
Stop the app
Start the app
See Error:
i) Instead of the selected language,  all will be displayed in the default language
ii) Go to settings: The selected language is displayed (saved) , but it is not used after the restart

@cloud2018  This is a very strange behaviour! I will check it out and see if i can reproduce this! Thanks for the report!

i dont know how i ever missed this but for sure. The Setting was never loaded on startup! Thanks for the report!


Add creating schedules triggered by schedule and names for schedules

Issue #374

When creating schedule, you can either specify cron expression or different schedule, which triggers execution of created schedule (you cannot specify both)

You can also optionally set schedule name (which differs from default name of schedule set to name of executable)

Coverage increased (+0.04%) to 82.735% when pulling 5d3f7e8be9671e4d90b7c5dfa386c4831d7b968e on Tantalor93:obe-scheduleparams into 75e90992ef871a1b126c25fc8a374333b04c9b6b on martiner:master.

Coverage increased (+0.006%) to 82.7% when pulling be73915cd82d9344cef266c0cec9bf6ffb7d15c3 on Tantalor93:obe-scheduleparams into ce862ef7d4e53b885bfb578a617cdc2371ec8ed4 on martiner:master.


Generalize metadata storage provider

Currently, we are hard-coded to use Azure Tables for storage of metadata. We would like to generalize the storage provider so that one can plugin any storage provider (possibly outside Azure) such as etcd, zookeeper, FASTER, Cassandra, etc.

Resolved in PR https://github.com/Microsoft/CRA/pull/10


[Feature Request]: PSRule integration - container

Description
This issue is a continuation of the PoC implemented in issue #2026 and serves as a container for all tasks related to PSRule integration with CARML
Following a list of tasks to discuss and agree upon:

[ ] #2150
[ ] #2425
[ ] #2151
[ ] #2426
[ ] #2427

Suggestion: move to todo


Activate is not thread-safe

Activate needs a way to wait for the latest rescan to be processed. Requests must send command ID and ScanCompleted must return this command ID.

Easiest way to repeat:
Add class
W-A-N-M
add non-existing unit
immediately: W-A-<-1
hangs


Modify ScheduledJobs via API & site_persistence

https://www.pivotaltracker.com/story/show/150117398

added from_json() and as_json() methods to ScheduledJob model

from_json() looks up existing jobs by name. if job is found, updates relevant fields; otherwise, creates new job entry

added uniqueness constraint to ScheduledJob.name field (includes migration)
added robust API for ScheduledJobs, including endpoints to create, edit, view, and/or delete jobs

only accessible by admins

added unit tests for all new ScheduledJob API endpoints (and therefore for new from_json() and as_json() methods as well)
added ScheduledJob loading to site_persistence.import(), and ScheduledJob exporting to site_persistence.export()

Hello @OptimusRhine! Thanks for submitting the PR.

In the file portal/migrations/versions/2fdf0e8b8e08_.py, following are the PEP8 issues :

Line 13:1: E402 module level import not at top of file
Line 14:1: E402 module level import not at top of file

In the file tests/test_scheduled_job.py, following are the PEP8 issues :

Line 73:5: E303 too many blank lines (2)


Cadence Docs - Tutorial - Hello World

Listing issues or sections with room for improvement found while reading through the cadence/tutorial/02-hello-world section of the docs.
Hello World

Lets write and deploy our first smart contract! => Let's write... and I'd make this part of the paragraph. Hello Wold is a header already. It seems a bit odd that we state this here and then explain what a smart contract is. Moving this to the end of the paragraph would allow us to transition from explanation to interaction.

Box Open the starter code for this tutorial in the Flow Playground: - I'd suggest we move this close to where we actually get to interact with the templates on that page - or we could move this section to a separate page, explaining conventions, assumptions and organisation. See Dummies books introduction pages or similar.

Paragraph:

A smart contract is a program that verifies and executes the performance of a contract without the need for a trusted third party. Programs that run on blockchains are commonly referred to as smart contracts because they mediate important functionality (such as currency) without having to rely on a central authority (like a bank).

we say the same things twice in the paragraph
we provide background information here that, in my opinion, would be better stored in an appendix or more generic, Blockchain or Flow-specific set of pages of the documentation. As a developer, I want to get going here.

Section Accounts and Transactions

Same as for the paragraph above. It would make sense to move this entire section to an appendix or general Flow documentation section - the Flow Glossary section already elaborates on this.

accounts link is broken

All persistent state and its interfaces (the ways to interact with it) - Not clear to me:

what does it refer to here? The state? The account?
The state of what?

This means that support for multi-sig wallets is built...
We should do our best to avoid jargon/abbreviations in documentation(multisingature is still jargon, but more intuitively understood, even by ESL readers). We should also provide links - at least to Wikipedia or similar - to allow anyone to quickly lookup information on subjects like this one.
Maybe:

Accounts are secured by one or more private key. This means that support for multisignature wallets is built into the protocol by default.

Section

An account is divided into two main areas:

Since we don't see this in the playground at this point, I'm not sure this information aides us here - again, this should be put into a glossary, an appendix, to a more general page about this subject.

Section

This is the area that stores programs known as smart contracts that contain type definitions, fields, and functions that are related to a common functionality.  This can also hold contract interfaces, which are basically program guidelines that other contracts can import and implement. This area cannot be directly read from in a transaction, but the owner of an account can directly overwrite contracts that are stored in it.

We have already established what Smart Contracts are. So we should use that term now, potentially linking back to the definition in the glossary/appendix/Flow docs. Maybe:

Smart contracts composed of type definitions, fields and common functions are stored here, as well as Smart Contract Interfaces.

If we feel that the information provided in the glossary for Contract Interfaces is not sufficient,  we should enhance the documentation there, instead of overloading the Hello World page with information not important for the tutorial itself. Seperation of Concerns in documentation,  ya dig? 🙂

Section

The second area is the account filesystem. This area is accessible in transactions and is where an account stores the objects that they own and the capabilities for controlling how these objects are accessed. Objects are stored under paths in the account filesystem. Paths consist of a domain and an identifier.

This numbered list item serves as the introduction for the whole next section. This is confusing in my opinion. The filesystem should be explained here by itself in the glossary/appendix or in its own page.
The wording of this item is confusing as well.

Each of the paths section would be best introduced when used in a tutorial somewhere (aside from explaining these in the glossary)

Diagram: It would be great if we had relatable examples here, rather than using foo.bars.
Transaction section: guess what I'll write next: yes, should be in its own section in a glossary/appendix, should be explained in the context of a tutorial explaining transactions  🏆

@noisygerman This is great! Thank for your detailed notes. Do you think you'd have time to create a PR with these updates?


Merge helm-update-observation-reporting-service-1.0.1-SNAPSHOT.43fabcc into main

Created by Github action in refs/heads/CNDE-1843

PR is obsolete.  Image tags autoupdated to latest tags.


Implement benchmark in C

For #1

Could you add a makefile?

what's attribute_iteration_test() for?

These are functions I used to test the code while writing it. I'll clean them up and add a Makefile.


[Service Bus] Option to create deadletter queue and subscription client

Right now, to receive messages from a dead letter queue the user has to

figure out the dead letter queue name (which gets more complicated for subscriptions)
create a queue/subscription client for the above

This has many points of failure

Not able to figure out what the dead letter queue name is
The static method on Namespace to get deadLetterTopicName is confusing... a topic doesnt have a dead letter queue, the subscription does....
All send operations on the queue client thus created
All rule operations on the subscription client thus created.

To avoid such scenarios, I propose the below

New methods createDeadLetterQueueClient and createDeadLetterSubscriptionClient on the Namespace object. This would remove the responsibility of figuring out the dead letter name
The queueClient and subscriptionClient thus created would have an internal flag to denote that this client is for "deadletter" and then use this flag to return errors if users tried to use any of the features not meant for the dead letter queue

Or another option is to

Have a getDeadLetterReceiver() function in the QueueClient and SubscriptionClient classes
This complicates the implementation as the queueClient is maintaing the "context" for a single queue and the deadletter queue is an entirely different queue. So we should maintain 2 "contexts" and a whole lot of other follow up changes
This will need us to copy over the peek functionality to the receiver class.

Conclusion: We will go with this option:

New methods createDeadLetterQueueClient and createDeadLetterSubscriptionClient on the Namespace object. This would remove the responsibility of figuring out the dead letter name
The queueClient and subscriptionClient thus created would have an internal flag to denote that this client is for "deadletter" and then use this flag to return errors if users tried to use any of the features not meant for the dead letter queue
Bonus points: create a separate class for the deadletterClient so that createSender doesn't appear on it. If this path is chosen, add a day to the estimate.

* Do dead letter queues interact with sessions at all?

Answering my own question - they do not. The dead letter queue is not session enabled.


SyntaxError in /

Error in ClashLeaders
SyntaxError in /
JSON Parse error: Unexpected identifier "object"
View on Bugsnag
Stacktrace
[native code]:3 - parse

View full stacktrace
Created automatically via Bugsnag

An error linked to this issue has been marked as fixed in Bugsnag
SyntaxError in /


Added sonarcloud badge

Added a sonar cloud badge to the README to easily link the project sonar cloud page. This also helps convey the rated maintainability of the project.
Looks:

Thanks. This will make a great addition, except I think we should hold off on merging it until after we have:

Updated the CONTRIBUTING.md page to inform contributors not to submit PRs for random things out of the scan that we haven't decided whether or not we will fix.
Added a PR template indicating that only approved issues from SonarCloud will be accepted (approved being that they have been made into a GitHub issue). The PR templates would also allow us to put other guardrails in place so we don't have to reject PRs for people who were just trying to help out, but submitted something we cannot use in this version of Lucene.NET.


Added config option for disabling the embed-code button

This PR adds a configuration option for disabling the embed-code button in the admin ui.
The configuration can be changed by setting a flag on the prop.adminui.embed_button_display option in etc/org.opencastproject.organization-mh_default_org.cfg . If it's set to any other value than false or not set at all, it defaults to true.
Your pull request should…

[ ] have a concise title
[ ] close an accompanying issue if one exists
[ ] be against the correct branch
[ ] include migration scripts and documentation, if appropriate
[ ] pass automated tests
[ ] have a clean commit history
[ ] have proper commit messages (title and body) for all commits

You can already hide this icon by not assigning the ROLE_UI_EVENTS_EMBEDDING_CODE_VIEW role to a user.

You are right:
https://github.com/opencast/opencast/blob/52d7d8ffc4aa9de59066a30592e20a7525f48c76/modules/admin-ui-frontend/app/scripts/modules/events/partials/eventActionsCell.html#L69
Is there still a reason to merge this? Or can we then just close this?

Closing in favour of using ROLE_UI_EVENTS_EMBEDDING_CODE_VIEW. Feel free to open it again if you disagree.


Added the impulse 3d/6d and multiple + bindings + bindings unit-test - [merged]

In GitLab by @cmastalli on Sep 8, 2019, 17:03
Merges topic/impulse -> devel
This PR tackles mainly #233 and #240.

In GitLab by @cmastalli on Sep 8, 2019, 17:05
added 1 commit
68acae7b - [cleanup] Formatted the code
Compare with previous version

In GitLab by @cmastalli on Sep 8, 2019, 17:05
enabled an automatic merge when the pipeline for 68acae7b773e64b5b206a394909066ac3fa634a7 succeeds

In GitLab by @cmastalli on Sep 8, 2019, 17:06
changed the description

In GitLab by @cmastalli on Sep 8, 2019, 17:19
merged

In GitLab by @cmastalli on Sep 8, 2019, 17:19
mentioned in commit 5d4c219c5f1d7db9704a28577da29fade6488136


Update deprecated selectors

Update deprecated selectors from Atom version 1.13 — Issue #9

Starting from Atom v1.13.0, the contents of atom-text-editor elements are no longer encapsulated within a shadow DOM boundary.

Thanks for this! I'll publish an update shortly ✨


Add incantations to make ripemd work on OpenSSL 3

(fixes #506)
What was wrong?
OpenSSL 3 disabled legacy crypto algorithms by default, including RIPEMD (which we use).
How was it fixed?
Add some incantations to __init__.py to load the "legacy" provider, which will reenable RIPEMD. I have decided to go with an approach of silently ignoring all failures in the incantations, since the code is inherently quite hacky (It uses the C ABI, not the API) and in some failure cases (e.g. not having OpenSSL 3) things are likely to work anyway.
Cute Animal Picture

Yikes... at this point should we just switch to a pure python ripemd160, or find a different library?

This doesn't seem too difficult to implement from scratch: https://github.com/karpathy/cryptos/blob/main/cryptos/ripemd160.py

OpenSSL have reversed the upstream deprecation of RIPEMD160. This resolves the issues this PR was working around.


Issue with AudioStream Async Iteration Not Ending in Multi-User Rooms

Hello,
First off, I'd like to express my appreciation for the work being done on this project. It's been instrumental in many of my endeavors, and I'm thankful for the opportunity to contribute to its improvement.
I've encountered an issue related to the AudioStream behavior in scenarios where multiple users are present in the same room. Specifically, when one user leaves, the track does not receive the "eos" (end of stream) field, resulting in the asynchronous iteration continuing indefinitely. This behavior contrasts with rooms that only have a single participant, where the room correctly closes upon the departure of the last non-agent participant, thereby not presenting the same issue.
The event indicating an unpublished audio track is raised successfully, but the condition meant to break the loop upon receiving an "eos" field within the audio event seems never to be met. Here is the relevant code snippet for reference:
elif audio_event.HasField("eos"):
    break

Due to this, the AudioStream._run() function does not complete as expected, and subsequently, the StopAsyncIteration is not raised, leading to the iteration not ending correctly.
Here are the relevant parts of the code for context:

The condition checking for "eos": AudioStream audio_event handling
The AudioStream._run() function: AudioStream._run()
Example usage in KITT call to AudioStream: KITT AudioStream example

I believe addressing this issue will enhance the robustness of multi-user support in the library. If there's any additional information or assistance I can provide, please don't hesitate to let me know. I'm looking forward to any guidance or suggestions you might have on this matter.
Thank you for your time and consideration.
Best regards,
Oz

Thanks for the report. It's likely that the stream isn't being closed correctly when participants leave. we'll investigate.


Added Prance

This PR adds prance to handle dereferencing.
It doesn't yet resolve #116, which will happen in a followup PR

Nice! Pretty happy to merge this, but if this sounds OK, I think I will finalize #131, merge that, then merge this into master right after.
Thinking I will sit down to do it tomorrow 🎉

of course. I will continue working on my other PR when time allows - probably not before the weekend.

Nice! Pretty happy to merge this, but if this sounds OK, I think I will finalize #131, merge that, then merge this into master right after.
Thinking I will sit down to do it tomorrow 🎉

of course. I will continue working on my other PR when time allows - probably not before the weekend.


Minimize Environment Variables

During a summit, @alexander-fenster mentioned that we have too many different Environment variables.

Google_Application_default_credentials
gcloud_project_id
etc.

As far as I can tell, we only respect 3 environment variables:

GOOGLE_APPLICATION_CREDENTIALS - This provides the path to a keyfile with the rest of the good stuff in it.
GCLOUD_PROJECT - This was the original way for a user to express the project Id via environment variable.  It was a weird name. So I think we moved to...
GOOGLE_CLOUD_PROJECT - This is the new way of specifying the project Id via environment variable.  This is preferred.

I believe this is consistent with Python (calling @theacodes and @crwilcox):
http://google-auth.readthedocs.io/en/latest/reference/google.auth.environment_vars.html
TL;DR - I actually think we're fine here.  @alexander-fenster am I missing something?

This is correct
On Fri, Aug 3, 2018, 10:46 PM Justin Beckwith<EMAIL_ADDRESS>wrote:

As far as I can tell, we only respect 3 environment variables:

GOOGLE_APPLICATION_CREDENTIALS - This provides the path to a keyfile
with the rest of the good stuff in it.
GCLOUD_PROJECT - This was the original way for a user to express the
project Id via environment variable. It was a weird name. So I think we
moved to...
GOOGLE_CLOUD_PROJECT - This is the new way of specifying the project
Id via environment variable. This is preferred.

I believe this is consistent with Python (calling @theacodes
https://github.com/theacodes and @crwilcox https://github.com/crwilcox
):
http://google-auth.readthedocs.io/en/latest/reference/google.auth.environment_vars.html
TL;DR - I actually think we're fine here. @alexander-fenster
https://github.com/alexander-fenster am I missing something?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/GoogleCloudPlatform/google-cloud-node/issues/2851#issuecomment-410420711,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAPUc2Fny04AtFE3UOYJ3AZGlelof3axks5uNRkngaJpZM4Vkw4B
.

I'm going to go ahead and close this out for now.  If folks want to see a change here, please do let me know!