Track and expose chain integrity info from HeaderDB

What was wrong?
Py-EVM allows persisting headers with a trusted score via its persist_checkpoint_header API. Essentially this allows persisting chains with arbitrary holes between segments. The gained flexibility allows the implementation of various different sync mechanisms.
However, eventually, sync algorithms might want to review the integrity of the chain and fix up holes to get back to a state that doesn't rely on trusted checkpoints.
How was it fixed?

A new utility function calculate_gaps was created to track gaps in chains of BlockNumber. This can be used to individually track gaps for different purposes (e.g. header, blocks etc)

The HeaderDB utilizes this function to continuously track gaps in the chain

Gaps in the header chain can be read using the header_db.get_header_chain_gaps() API.

The return type is Tuple[BlockRange, ...] with the following characteristics. It returns an ordered sequence of block ranges describing the integrity of the chain of headers. Each block range describes a missing segment in the chain and each range is defined with inclusive boundaries, meaning the first value describes the first missing block of that segment and the second value describes the last missing block of the segment. The last block range in the sequence is expected to have block number of -1 as the right-hand value which is to say the gap is open-ended. Consequently the value for an empty chain would be [[1, -1]], meaning 1 is the first missing number with the upper end being unknown.

To-Do

[x] Clean up commit history

[x] Add entry to the release notes

Cute Animal Picture

@carver @pipermerriam I think this is ready to get picked apart.
There's also a WIP PR in Trinity that uses this
https://github.com/ethereum/trinity/pull/1714
The gap tracking should be easily reusable to track gabs in the chain of blocks (as opposed to just the chain of headers as it is in this PR) but I'm not yet sure if we might need to make further changes to Py-EVM to properly allow backfilling of blocks (See my comment in the Py-EVM channel)

Thanks for the review @carver
I'm leaving this open for now to give you a chance for a second look. Main points are:

Do you like the changes regarding the new datastructure (I do)
What do you think about the proposed name change
What do you think about tightening the rule so that Py-EVM does one extra check in the GapFill case to throw if the gap was filled with an uncle. (Not included yet in the changes)

(BTW, thanks for not squashing your changes, it's been nice to just read the new commit each time)

@carver This is ready for another review

I haven't fully ingested the logic of this PR but looking at the tests, I realized that this might be an interesting candidate for the hypothesis machinery for testing state machines

That's a good reminder. It seems promising. It's possible that an interactive draw could work well (or even better). Something like:
def test_always_canonicalized(data):
    CHAIN_A, CHAIN_B = 0, 1
    chain_length = 10
    headers = [
        # chain A: eventually canonical
        mk_header_chain(genesis_header, length=chain_length),
        # chain B: non-canonical
        mk_header_chain(genesis_header, length=chain_length),
    ]
    missing_indices = [
        set(range(chain_length)),  # chain A
        set(range(chain_length)),  # chain B
    ]

    @to_tuple
    def get_valid_extensions(of_missing_indices):
        for chain_index, header_indices in enumerate(of_missing_indices):
            for header_index in header_indices:
                if header_index == 0 or header_index - 1 not in header_indices:
                    yield (chain_index, header_index)

    num_checkpoints = 0

    while len(missing_indices[CHAIN_A]):
        action = data.draw(st.sample_from(ActionEnum))
        if action == ActionEnum.CHECKPOINT:
            # Will py-evm reject a checkpoint that already exists? Assuming so, we can
            # just check the non-present ones...
            checkpoint_index = data.draw(st.sample_from(missing_indices[CHAIN_A]))
            checkpoint = headers[CHAIN_A][checkpoint_index]
            checkpoint_score = get_score(genesis, headers[CHAIN_A][:checkpoint_index])
            headerdb.persist_checkpoint_header(checkpoint, checkpoint_score)

            # keep track of whether any checkpoints were added, so we eventually
            # guarantee A as canonical
            num_checkpoints += 1

            missing_indices[CHAIN_A].discard(checkpoint_index)

        elif action == ActionEnum.PERSIST_CHAIN:
            # choose the series of headers to add
            valid_extensions = get_valid_extensions(missing_indices)
            chain_idx, next_chain_start = data.draw(st.sample_from(valid_extensions))
            next_chain_len = data.draw(st.integers(min_value=1, max_value=chain_length))
            chain_range_end = next_chain_start + next_chain_len
            next_headers = headers[chain_idx][next_chain_start:chain_range_end]

            # persist them to chain
            headerdb.persist_header_chain(next_headers)

            # mark persisted headers as not missing
            for inserted_index in range(next_chain_start, chain_range_end):
                missing_indices[chain_idx].discard(inserted_index)

    if num_checkpoints == 0:
        (subsequent_header, ) = mk_header_chain(headers[CHAIN_A][-1], length=1)
        headerdb.persist_checkpoint_header(subsequent_header, get_score(...))

    assert is_canonical_chain(headers[CHAIN_A])

I have some vague sense that we may be missing more cases

Yeah, I opened https://github.com/ethereum/py-evm/issues/1928 to track one of them

but I think this passes the threshold for merging, if you want.

Yeah, I think it good enough to take it and track and fix edge cases with subsequent PRs.


Display deciding status instead of not passing

#85ztz40rp

Task linked: CU-85ztz40rp Android. Referenda status change Not passing to Deciding


How to deal with hidden views

I have the following situation
+ -------------------------------- +
+                                  +
+                      +---+ +---+ +
+                      + A + + B + +
+                      +---+ +---+ +
+                                  +
+                                  +
+                                  +
+ -------------------------------- +

Subview A is pinned to the left of subview B However B can be hidden, in that case I would like to pin A to the right edge of its superview.  I’m aware of the visibles Filter method, but I did think it helps me in this situation unless I make a third view that is never hidden pinned to the right.
What is the best way to deal with this situation?

@Sully73 its true that visibles won't help you with that kind of situation, and that PinLayout don't offer a simple solution for that.
One nice solution would be to add a method that will receives the list of views to dock at the right and call this method to layout the A and B views:
func dockRightVisibleViews(_ views: [UIView]) {
    ...
}

You could even add an extension method to PinLayout to do that:
extension PinLayout {
    func dockRightVisibleViews(_ views: [UIView]) {
        ...
    }
}

yep, that works thanks!


Workaround for mouse recognized as keyboard.

I want to propose this workaround for people like me who have a keyboard and a mouse paired with the same receiver, and the mouse is recognized as a keyboard. Until the problem is solved in upower. Cases also reported in the issue #10.

Thank you. In the future, I would like to add a feature to disable some devices and also a feature to change the bound icon of a device. For now, we can use this as a workaround.


WMSTile and URLTile Opacity

Bug report
Summary
There seems to be no way to add transparency to URLTiles or WMSTiles. Setting opacity seems to do nothing on URLTile or WMS from the tile servers I'm pulling from. I've tried apply opacity with the the style prop as well as styled components to no avail.
Environment info
react-native: 0.63.4
react: 16.13.1
react-native-maps<EMAIL_ADDRESS>Target Platform: iOS 14.5 Simulator/iPhone 11 Apple Maps
react-native info output:
System:
    OS: macOS 11.5.2
    CPU: (4) x64 Intel(R) Core(TM) i5-7267U CPU @ 3.10GHz
    Memory: 27.10 MB / 8.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 14.16.0 - ~/.nvm/versions/node/v14.16.0/bin/node
    Yarn: 1.22.10 - /usr/local/bin/yarn
    npm: 7.17.0 - ~/.nvm/versions/node/v14.16.0/bin/npm
    Watchman: Not Found
  Managers:
    CocoaPods: 1.10.2 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 14.5, DriverKit 20.4, macOS 11.3, tvOS 14.5, watchOS 7.4
    Android SDK: Not Found
  IDEs:
    Android Studio: 4.1 AI-201.87<IP_ADDRESS>99119
    Xcode: 12.5.1/12E507 - /usr/bin/xcodebuild
  Languages:
    Java: Not Found
    Python: 2.7.16 - /usr/bin/python
  npmPackages:
    @react-native-community/cli: Not Found
    react: 16.13.1 => 16.13.1
    react-native: ~0.63.4 => 0.63.4
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Steps to reproduce

git clone git@github.com:jamfire/boulders-react-native.git
cd boulders-react-native
yarn install
yarn start
open new terminal tab
yarn run ios

Describe what you expected to happen:

Expect URLTile and WMSTile to have css applied with opacity factor based on opacity settings

Describe what you actually happens:

Opacity doesn't take effect

@MaRaSu any ideas ?

@christopherdro @kalebheitzman In current implementation only Android supports opacity setting, for Android it should work for both URLTile and WMSTile. Need to update docs for these platform specific features.
I'm not sure if iOS MKTileOverlayRenderer (underlying platform component) supports this, let's see if I have some time tomorrow to test it. If it supports then implementation should be easy.

@christopherdro @kalebheitzman was easier than expected as the corresponding property existed in the relevant iOS component class.


Use stable os/arch label when setup

What type of PR is this?
/kind enhancement
What this PR does / why we need it:
beta.kubernetes.io/arch and beta.kubernetes.io/os labels deprecated since v1.14
use stable labels to stop show warning
Does this PR introduce a user-facing change?
NONE

Fixes #869

@zhaodiaoer Thank you posting pull request to revise os/arch label.

@zhaodiaoer Thank you posting pull request to revise os/arch label. Would you be able to revise the helm charts of yurt-tunnel-server/agent in https://github.com/openyurtio/openyurt/tree/master/charts/openyurt/templates

OK，i am willing to revise the related helm charts , dose that need in one pr or open other pr?

better to do in this pr, I think

@zhaodiaoer I am very sorry i will close this pull request because another pull request #969 has already solved the same problem.


Why can't I create react app in terminal VSC?

Hello! Can't create react app in VSC terminal.
When writing npx create-react-app my-app it looks like this:
PS C:\Users\Daulet\Desktop> npx create-react-app my-app
Program execution failure npx.cmd: Cannot find the specified
filestring:1 sign:1

npx create-react-app my-app

filestring:1 sign:1

npx create-react-app my-app

CategoryInfo : ResourceUnavailable: (:) [], ApplicationFailedException
FullyQualifiedErrorId : NativeCommandFailed

I ask you please help me in this matter.

attempts to npm init npm install create-react-app npx create-react-app myapp failed. maybe I did something wrong, I can’t understand why the react package is not installed via the command: npx create-react-app my-app.

I would highly recommend installing the extension directly from vs code instead of using  command.
Head to VS Code and  install  ES7+ React/Redux/React-Native snippets or Simple React Snippets
then make sure to import all the documents that you will be using
this will resolve the issue.


Adding router.field as optional input for SolrCollection creation

Signed-off-by: Zane Williamson<EMAIL_ADDRESS>*Issue number of the reported bug or feature request: #42
Describe your changes
Add optional router.field for SolrCollection creation. This isn't modifiable after collection creation.
Testing performed
---
apiVersion: solr.bloomberg.com/v1beta1
kind: SolrCollection
metadata:
  name: example-collection-3-implicit
spec:
  solrCloud: example
  collection: example-collection-3-implicit-with-router-field
  routerName: implicit
  routerField: 'car'
  autoAddReplicas: true
  numShards: 2
  replicationFactor: 1
  maxShardsPerNode: 1
  shards: "fooshard1,fooshard2"

Ensured field name showed up in
curl "http://default-example-solrcloud.ing.local.domain/solr/admin/collections?action=CLUSTERSTATUS&collection=example-collection-3-implicit"

--snip--
        "router":{
          "field":"car",
          "name":"implicit"},
--snip--

ensured collection creation and deleting worked as intended

Ahh, if only I had held off upgrading the version an hour or so. Oh well. We'll get this hopefully released with the new kubebuilder v2 stuff from #38 . We'll merge this one first, since he needs to rebase a fair amount anyways.
Looks good to me though 👍
We might want to think about cleaning up the SolrCollection options at some point, to make them a bit more user friendly. But that can be done much later, possibly in a v1_beta2 release.
Update your branch after I merge the 0.1.4 version upgrade.

Ok! will wait for https://github.com/bloomberg/solr-operator/pull/44 then will update this branch.
Would like to get some advice later on how to best cleanup the options for SolrCollection and make it more user friendly for next version 👍

Ok, updated branch now that #44 has merged


device: When registering, print the uuid

This restores the behavior from before #911, which is useful from some users.
Closes #966
Change-type: patch
Signed-off-by: Pablo Carranza Velez<EMAIL_ADDRESS>

@pcarranzav Should we merge it? There is a ticket depending on this addition.

No worries, I'll rebase & merge this :+1:


Build-process is buggy

Sometimes the HTML task doesn't start, other times the HTML task starts after scripts finishes but styles hasn't finished yet.

Much better now, but still starts scripts/styles sometimes before html task is done and then doesn't start HTML task...


Add git-guppy commandline app

git-guppy is a tool that works in conjunction with your gulp setup to automatically configure git hooks that trigger gulp tasks.

Simple git-hook integration for your gulp workflows.

It's a mature/stable project that's being used by a lot of projects in production-ready situations.
It's not quite a commandline util, not quite a build tool, and it has standalone terminal commands (optional install). So not easy to categorize, but it seems that commandline app is the closest fit.

Looks useful, but I prefer adding only plain Node.js modules here, not tied to a specific ecosystem like Gulp.
I would suggest writing a recipe on how to use it for https://github.com/gulpjs/gulp/tree/master/docs/recipes It would give it a lot of eyeballs. I'm talking from experience with doing that.

@sindresorhus thanks for the tip!


Review - Video for Variables

test message

Here is the link to the video in youtube
https://www.youtube.com/watch?v=1Ao2pZCpnCw&index=3&list=PLPkoWZmDIKwCvNeBpZMejx8gQhglUxw-w

Comments:
2m50s: the text from "stackoverflow.com" is not fully visible;
5m01s: comment from row 35 is ambiguous, because in row 6 you specified that Object is also "type"

Mouse highlight doesn't look good, when you click on some button ;
At the end of the code, I would suggest an enumeration of few primitive data type: int, double, char...

for the mouse highlight: yeah.. this is the best solution I've found so far, but I'll search more

the stackoverflow post can be accessed via the link from the comment in the source code,
so for now there is a backup solution (still, this is not best solution..)
we'll do more variables in the Junior level, still, the primitives are not very often used in production env.
they are more for frameworks


Why doesn't the loss go down...

who can help me...

It is correct that the GAN loss does not decrease. Of course, it is also possible that the data has not been normalized.


Write draft of MLOps landscape Part 2

Reference #226

Write in white heat, but edit in cold blood

Take a break from this post for a while, revisit during the weekend, and do your editing on Saturday evening


layers:Update comments to avoid compiler warnings

The simple "// fall through" comment causes the compiler to omit a
warning.

👍 @daveh-lunarg


Appstudio update hacbs-test-project-czcx

Pipelines as Code configuration proposal
To start the PipelineRun, add a new comment with content /ok-to-test
For more detailed information about running a PipelineRun, please refer to Pipelines as Code documentation Running the PipelineRun
To customize the proposed PipelineRuns after merge, please refer to Build Pipeline customization

Pipelines as Code CI has failed.There was an error creating the PipelineRun: hacbs-test-project-czcx-on-pull-request-
creating pipelinerun hacbs-test-project-czcx-on-pull-request- in namespace rhtap-demo-prjc-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: hacbs-test-project-czcx-on-pull-request-
creating pipelinerun hacbs-test-project-czcx-on-pull-request- in namespace rhtap-demo-ftgg-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: hacbs-test-project-czcx-on-pull-request-
creating pipelinerun hacbs-test-project-czcx-on-pull-request- in namespace rhtap-demo-jjob-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request


Add items to X and Y

Looks good. We already had "Pandora" but I think that's fine to be in there a few times


How to contribute languages

Hi! I'm curious to know how to contribute new languages to franc? Do you have a standard method for creating the definition lines?

Contact the Unicode Consortium: http://unicode.org/udhr/contributing.html. It’ll probably take years though.
Out of curiosity, which language would you like to add? (Does it have an Ethnologue entry?)

I'd like to add Icelandic (which I have the knowledge to do), but I'm also looking for support for Georgian.
(For fun: I just threw this together -- probably not useful for most people, but it's useful for my purposes and others might benefit too: https://github.com/occrp/Francserver )

Icelandic is supported in he franc-all version, as it has ± 300,000 speakers. Read this for more info on how to include it.
Also, cool server! :+1:

Ah, thanks for that. How would I use that from node though?

I believe the file supports CommonJS so you should be able to load the file directly. Otherwise, forking.


Start documenting

Still a ways to go but this is a start.

Changes some struct names
Modifies how color conversion works

Contributes to #131

What I can tell... great start 👍


Threshold for including encryptions

@kmindi
What is an appropriate threshold for the number of occurences of an encryption for it to be shown in a library? I have looked in the "Classificiation of cryptographic libraries" but havent found any specific number.

Maybe 3? Let's try it with 3

I changed it to 3. I'm going to compare our results with the results of the classification. Hopefully theirs are correct.

@kmindi The threshold in the classification of cryptographic libraries seems to be lower than 3. However, I would stay with a threshold of 3 because I think otherwise the catalog shows many false positives.

Okay, that's fine.


Fix pre-commit

This fixes all the pre-commit errors. I've also added pre-commit.ci to the CI (hopefully) so we have a pre-commit check continuously run. Happy to not do this if there's voices against pre-commit.ci?

feel free to merge whenever!

👍  (btw I am very pro reviewer merges by default, so always feel free to merge my PRs if you approve of them)

👍 (btw I am very pro reviewer merges by default, so always feel free to merge my PRs if you approve of them)

will do


geometryField != null

Hi,
Just to report that I have found useful to test for
geometryField != null

in
generateLayer: function(feature)

so that
responseToLayers: function (rawData)

only adds not null layers.
Otherwise, I sometimes got an error and the code stopped loading other features.

Fixed in v2.0.1-beta.10.


🏷 Come up with a labeling system

To organize issues and pull requests, a good labeling system could be useful.
Few ideas:

Bug criticity
Scoping
Size / Time needed

Might add more as time goes by but will work for now.

These articles are interesting on how to make a good system:

Sane GitHub Labels
10 GitHub Labels Best Practices

I'll probably take inspiration from this. While looking around it seems like some big projects like React, Tensorflow or VS Code are actually doing something along those lines.

Decided on a system with tag families to ease issue or pull request comprehension by reading its title and its tags.

Difficulty: Gauging complexity of a task at first glance, could be updated during completion and on close for statistics.
Priority: Helping to decide on what to tackle next
Resolution: Related to issues only, explain why the issue is closed in case that it wasn't addressed.
Size: Related to pull request only, help knowing how much was added, deleted or modified. Mostly useful to prioritize reviews and when to look harder to find potential bugs.
Type: Kind of issue or pull request, help to know what you should look for (example: new feature would most likely need documentation etc...)

For now on, it's useless but might add Scope family later on if the project grows enough that topics must be included for context.


[v2] Indexed List Component

Consider adding Indexed List plugin to the core

This would be awesome addition - much needed.

Hello Vlad,
Could you please consider adding this feature, need for the project to move from v1 to v2. Also will the Numpad/Calculator plugin work in v2. If not, could you please update this as well
Thank you!
Kris

Hi Vladimir,
Could you please consider finishing Indexed List Component in v2 .
Thanks,
Kris

@krisred will be next release or release after the next one ;)

Ok, it is added. Will be in update tomorrow

Thank you!


Update getting started page

I added several new doc pages to reduce the giant scrolling through the getting_started.md. It was too long and not helpful. I am also working on making the docs feel like the bird detector is not just an add on, but that we are building towards more models. Added links to recent papers and more images.

The error here is
(deepforest) ➜  DeepForest git:(update_getting_started_page) ✗ yapf -d --recursive deepforest/
--- deepforest/preprocess.py	(original)
+++ deepforest/preprocess.py	(reformatted)
@@ -78,15 +78,13 @@
     offset = 40
     selected_annotations = annotations[(annotations.xmin > (window_xmin - offset)) &
                                        (annotations.xmin < (window_xmax)) &
-                                       (annotations.xmax >
-                                        (window_xmin)) & (annotations.ymin >
-                                                          (window_ymin - offset)) &
+                                       (annotations.xmax > (window_xmin)) &
+                                       (annotations.ymin > (window_ymin - offset)) &
                                        (annotations.xmax < (window_xmax + offset)) &
-                                       (annotations.ymin <
-                                        (window_ymax)) & (annotations.ymax >
-                                                          (window_ymin)) &
-                                       (annotations.ymax <
-                                        (window_ymax + offset))].copy(deep=True)
+                                       (annotations.ymin < (window_ymax)) &
+                                       (annotations.ymax > (window_ymin)) &
+                                       (annotations.ymax < (window_ymax + offset))].copy(
+                                           deep=True)
     # change the image name
     image_basename = os.path.splitext("{}".format(annotations.image_path.unique()[0]))[0]
     selected_annotations.image_path = "{}_{}.png".format(image_basename, index)

This means the code is not well formatted.  I suggest running yapf in place using -i to format the code. `yapf -i --recursive deepforest/

Okay, I can update the evaluation.md in a new PR.
On Tue, Oct 3, 2023 at 2:28 PM henry senyondo @.***>
wrote:

@.**** commented on this pull request.
In docs/Evaluation.md
https://github.com/weecology/DeepForest/pull/494#discussion_r1344764092:

@@ -1,5 +1,43 @@

Evaluation
+Independent analysis of whether a model can generalize from training data to new areas is critical for creating a robust workflow.
+We stress that evaluation data must be different from training data, as neural networks have millions of parameters and can easily memorize thousands of samples. Therefore, while it would be rather easy to tune the model to get extremely high scores on the training data, it would fail when exposed to new images.
+
+To get an evaluation score, specify an annotations file in the same format as the training example above. The model will
+ +csv_file = get_data("OSBS_029.csv") +root_dir = os.path.dirname(csv_file) +results = model.evaluate(csv_file, root_dir, iou_threshold = 0.4) +
+
+The results object is a dictionary with keys, 'results',"recall","precision". Results is the intersection-over-union scores for each ground truth object in the csv_file.
Can we rephrase this. I would think of this: " The returned object is a
dictionary containing the three keys: results, recall, and precision."
Not sure if the second part translates to this
The result in the csv-file represents the intersection-over-union score
for each ground truth object
—
Reply to this email directly, view it on GitHub
https://github.com/weecology/DeepForest/pull/494#pullrequestreview-1656162107,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJHBLBGRIRM72KEWONUHFDX5R7PVAVCNFSM6AAAAAA5QBRHQOVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMYTMNJWGE3DEMJQG4
.
You are receiving this because you modified the open/close state.Message
ID: @.***>

--
Ben Weinstein, Ph.D.
Research Scientist
University of Florida
http://benweinstein.weebly.com/


docs: Update execution workflow readme method execution

Fixes #189
Checklist

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have updated corresponding READMEs (if applicable)
[x] My code follows the templates/style guidelines of the repository
[x] In- and output formats comply with APAeval specifications
[x] No parameters or file names are hardcoded
[x] Results, logs or other output is not commited to the repository
[x] I have tested my code

@dominikburri @SamBryce-Smith  thanks for reviewing you guys! :D


Add dynamoDB backend

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "addDynamoDBbackend" git@github.com:tskinn/libkv.git somewhere
$ cd somewhere
$ git rebase -i HEAD~842354124136
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -f

Amending updates the existing PR. You DO NOT need to open a new one.


Remove Option from parts of the Resource API

It shouldn't be necessary to return an Option from get_default, get_or_insert, get_or_insert_with etc. Is it okay to remove them?
The first commit does some formatting stuff, the second changes the API and adds some tests.

Just noticed that #115 adds an Entry API for components. This should probably do the same. I'm happy to wait for that to merge then implement it for Resources if that's the preferred approach.

Do you want to update this?

This has already been included going into 0.3 during the major rework of legion that happened, in response to the feedback in this PR.


Missing access to EncryptionUtil#decryptAes

Environment Details

Helidon Version:
1.4, but the same problem can be seen on the master branch in git
Helidon SE or Helidon MP
both
JDK version:
N/A
OS:
N/A
Docker version (if applicable):
N/A

Problem Description
Class io.helidon.config.encryption.EncryptionUtil provides utility methods for encryption and decryption using RSA/AES ciphers. Most of the methods are public, but decryptAes and decryptAesLegacy are declared with default access, which makes them next to impossible to use correctly.
I think it's just an overlook in the API design.

Hi @TroubiCZ , thank you for this report. I have made fix for this issue to both branches.


Hide perspectives menu when there is only one perspective

Users may be confused when they have one perspective and see perspectives menu with only one perspective

Resolved


Can't open webui

I run experiment on a remote machine through SSH, and get info like this:
INFO:  expand searchSpacePath: search_space.json to /home/wangzhenwei/111/nni/examples/trials/mnist-pytorch/search_space.json
INFO:  expand codeDir: . to /home/wangzhenwei/111/nni/examples/trials/mnist-pytorch/.
INFO:  Starting restful server...
INFO:  Successfully started Restful server!
INFO:  Starting experiment...
INFO:  Successfully started experiment!
------------------------------------------------------------------------------------
The experiment id is PD9e2tRS
The Web UI urls are: http://<IP_ADDRESS>:8080   http://<IP_ADDRESS>:8080
------------------------------------------------------------------------------------

You can use these commands to get more information about the experiment
------------------------------------------------------------------------------------
         commands                       description
1. nnictl experiment show        show the information of experiments
2. nnictl trial ls               list all of trial jobs
3. nnictl top                    monitor the status of running experiments
4. nnictl log stderr             show stderr log content
5. nnictl log stdout             show stdout log content
6. nnictl stop                   stop an experiment
7. nnictl trial kill             kill a trial job by id
8. nnictl --help                 get help information about nnictl
------------------------------------------------------------------------------------
Command reference document https://nni.readthedocs.io/en/latest/Tutorial/Nnictl.html
------------------------------------------------------------------------------------

How should I open the webui on my own computer. Thanks.

hello @Garand0o0, you can refer to FAQ.html#could-not-open-webui-link to find the solution. If it doesn't work, you can set nniManagerIp to your remote server ip.


api: we don't use this table anymore, right?

I don't think we do. And it's the only thing remaining that stops us from using CockroachDB, which I'd kind of like to do.

@iameli I'm actually not sure, but would love to get rid of it too. Would you mind querying the production DB and checking the timestamp of the latest records? Just to make sure we're not adding info to it anymore (I'm pretty sure we're not querying it, maybe only in some lost metabase dashboards).

this got merged


lab1, 2, 3, 4 and 5

Fixes #
Review of colleague's PR #
Changes proposed in this PR:
-

Please put seperate labs in seperate pull requests

The go-course is now closed. Thank you very much for participating.


Startup time

I see you threw out PCG, because of your concern for the startup time.
While ProfileView.jl is really good, it's maybe not too helpful to do:
@profview using VectorizedRNG

or at least I'm not going to try to read into it (it's the first time I used in on using). For the first run using time (excluding when Precompiling) however, there's a gap, seemingly like it's doing nothing (much) for about 10% of the time.
That can't be right, I can upload a screenshot if you don't notice this right away. Any idea what's happening?
The second using while much faster isn't really too fast, and while you wouldn't maybe or at least shouldn't(?) be doing that, it also has an interesting profile.
Your package is not unique to this second using "issue", bu it's not shared by all packages so (so not a julia issue), I'm a little curious about it too.
[ProfileSVG.jl is also interesting, I tried it, and it generates 4 MB SVG file, and my Firefox took its time displaying fully with "your web page is slowing down your browser" and showing 8 screen-fulls if I recall...]
$ julia
julia> @time using VectorizedRNG
  2.090021 seconds (3.48 M allocations: 178.768 MiB, 7.77% gc time)

julia> @time using VectorizedRNG
  0.644264 seconds (1.16 M allocations: 54.428 MiB, 1.76% gc time)

julia> @time using VectorizedRNG
  0.000276 seconds (566 allocations: 29.734 KiB)

First time (not really a concern, but for some, maybe all the delay they'll ever see?):
julia> @time using VectorizedRNG
[ Info: Precompiling VectorizedRNG [33b4df10-0173-11e9-2a0c-851a7edac40e]
 12.832126 seconds (4.41 M allocations: 222.948 MiB, 0.89% gc time)

Your package is not unique to this second using "issue", bu it's not shared by all packages so (so not a julia issue), I'm a little curious about it too.

Hmm. At first I thought it may have something to do with the init function that gets called when the library gets loaded. However, it seems __init__ only gets called the first time. I base that on the fact that the init function randomly initializes the seed. Setting VectorizedRNG.seed! followed by using VectorizedRNG doesn't seem to have any effect on the RNG.
I suspect the init, and the need to compile some of the functions it calls, is a part of the reason for the lag. Still, that makes me uncomfortable with making it a dependency for other libraries.

there's a gap, seemingly like it's doing nothing (much)

I found out about my so-called "gap", I at least wouldn't worry about it, even, the larger the better. I would worry more about the non-gap time, IF it's running your code.
For you _include_from_serialized was the "gap", and I think it's part of the process of loading the precompiled code in, very useful. For you, eyeballing, about 1/4 of the time (for line 681).
But that code takes almost all of your time (a good thing), if you look carefully (not just that line 681 though).
I no longer think it's doing nothing/waiting for disk, as the gap disappears if you profile into C code too:
julia> using Profile
julia> using ProfileView

julia> @profile using VectorizedRNG

julia> ProfileView.view(C = true, fontsize = 30)

Solved on Julia master?
julia> @time using VectorizedRNG
[ Info: Precompiling VectorizedRNG [33b4df10-0173-11e9-2a0c-851a7edac40e]
  1.079043 seconds (332.52 k allocations: 20.824 MiB, 0.77% gc time, 7.75% compilation time)

julia> @time using VectorizedRNG
  0.000069 seconds (81 allocations: 5.984 KiB)

julia> @time using VectorizedRNG
  0.000072 seconds (81 allocations: 5.984 KiB)

Solved on Julia master?
julia> @time using VectorizedRNG
[ Info: Precompiling VectorizedRNG [33b4df10-0173-11e9-2a0c-851a7edac40e]
  1.079043 seconds (332.52 k allocations: 20.824 MiB, 0.77% gc time, 7.75% compilation time)

julia> @time using VectorizedRNG
  0.000069 seconds (81 allocations: 5.984 KiB)

julia> @time using VectorizedRNG
  0.000072 seconds (81 allocations: 5.984 KiB)

Yes, the second using problem is gone (but seems could load faster, see e.g. with OhMyREPL below):
julia> @time @time using VectorizedRNG
  0.948739 seconds (1.01 M allocations: 71.165 MiB, 2.72% gc time, 0.75% compilation time)
  1.008083 seconds (1.07 M allocations: 75.008 MiB, 2.56% gc time, 0.71% compilation time)

julia> @time @time using VectorizedRNG
  0.000195 seconds (81 allocations: 6.062 KiB)
  0.041186 seconds (12.95 k allocations: 813.111 KiB)

julia> @time @time using VectorizedRNG
  0.000182 seconds (81 allocations: 6.062 KiB)
  0.000309 seconds (119 allocations: 8.297 KiB)

It's your call if just under 1 sec. is good enough. FYI:
@timholy, Also FYI, a bit strange that the second using "problem" is back if I use my startup file (and that (first) using gets this much slower) even without Revise installed:
┌ Warning: error while importing Revise
│   e =
│    ArgumentError: Package Revise not found in current path:
│    - Run `import Pkg; Pkg.add("Revise")` to install the Revise package.
│
└ @ Main ~/.julia/config/startup.jl:5
julia> @time @time using VectorizedRNG
  2.383549 seconds (2.10 M allocations: 131.875 MiB, 0.66% gc time, 0.36% compilation time)
  2.454419 seconds (2.16 M allocations: 135.683 MiB, 0.64% gc time, 0.35% compilation time)

julia> @time @time using VectorizedRNG
  0.059570 seconds (32.79 k allocations: 1.891 MiB, 99.72% compilation time)
  0.059708 seconds (32.83 k allocations: 1.894 MiB, 99.49% compilation time)

julia> @time @time using VectorizedRNG
  0.000189 seconds (81 allocations: 6.062 KiB)
  0.043761 seconds (12.95 k allocations: 813.111 KiB)

julia> @time @time using VectorizedRNG
  0.000186 seconds (81 allocations: 6.062 KiB)
  0.000317 seconds (119 allocations: 8.297 KiB)

It's an outdated method (but I thought wouldn't slow this much down):
~/.julia/config/startup.jl
atreplinit() do repl
    try
        @eval @time using Revise
    catch e
        @warn "error while importing Revise" e
    end
end

Note, since Revise wasn't installed, I tried that, then not as bad, still slower (and with same speed with the above startup-file, so only catch-clause seems slow):
julia> @time using Revise
0.650733 seconds (563.69 k allocations: 39.741 MiB, 2.32% gc time, 1.69% compilation time)
julia> @time @time using VectorizedRNG
1.745308 seconds (1.43 M allocations: 95.068 MiB, 1.14% gc time)
1.745396 seconds (1.43 M allocations: 95.071 MiB, 1.14% gc time)
julia> @time @time using VectorizedRNG
0.000213 seconds (81 allocations: 6.062 KiB)
0.043323 seconds (12.95 k allocations: 813.111 KiB)
julia> @time @time using VectorizedRNG
0.000207 seconds (81 allocations: 6.062 KiB)
0.000357 seconds (119 allocations: 8.297 KiB)

In contrast if I only do, then faster than your package alone with or without Revise:

julia> @time @time using OhMyREPL
julia> @time @time using VectorizedRNG
0.899325 seconds (896.82 k allocations: 63.453 MiB, 1.95% gc time)
0.899427 seconds (896.87 k allocations: 63.456 MiB, 1.95% gc time)
[here, not a lot faster but fewer allocations above, I think indication that you could do more procompilation.]
julia> @time @time using VectorizedRNG
0.000095 seconds (81 allocations: 6.062 KiB)
0.000157 seconds (119 allocations: 8.297 KiB)
julia> @time @time using VectorizedRNG
0.000147 seconds (81 allocations: 6.062 KiB)
0.000254 seconds (119 allocations: 8.297 KiB)

This is not really your concern, just showing you what can happen even if Revise isn't installed (since I recently upgraded to 1.7).

I needed to do:

(@v1.7) pkg> add https://github.com/timholy/Revise.jl/
strangely (even on Julia 1.5):
(@v1.7) pkg> add Revise
[ Info: Resolving package identifier Revise as a directory at ~/Revise.
ERROR: Did not find a git repository at Revise

Yes, the second using problem is gone (but seems could load faster, see e.g. with OhMyREPL below):
julia> @time @time using VectorizedRNG
  0.948739 seconds (1.01 M allocations: 71.165 MiB, 2.72% gc time, 0.75% compilation time)
  1.008083 seconds (1.07 M allocations: 75.008 MiB, 2.56% gc time, 0.71% compilation time)

julia> @time @time using VectorizedRNG
  0.000195 seconds (81 allocations: 6.062 KiB)
  0.041186 seconds (12.95 k allocations: 813.111 KiB)

julia> @time @time using VectorizedRNG
  0.000182 seconds (81 allocations: 6.062 KiB)
  0.000309 seconds (119 allocations: 8.297 KiB)

It's your call if just under 1 sec. is good enough. FYI:
@timholy, Also FYI, a bit strange that the second using "problem" is back if I use my startup file (and that (first) using gets this much slower) even without Revise installed:
┌ Warning: error while importing Revise
│   e =
│    ArgumentError: Package Revise not found in current path:
│    - Run `import Pkg; Pkg.add("Revise")` to install the Revise package.
│
└ @ Main ~/.julia/config/startup.jl:5
julia> @time @time using VectorizedRNG
  2.383549 seconds (2.10 M allocations: 131.875 MiB, 0.66% gc time, 0.36% compilation time)
  2.454419 seconds (2.16 M allocations: 135.683 MiB, 0.64% gc time, 0.35% compilation time)

julia> @time @time using VectorizedRNG
  0.059570 seconds (32.79 k allocations: 1.891 MiB, 99.72% compilation time)
  0.059708 seconds (32.83 k allocations: 1.894 MiB, 99.49% compilation time)

julia> @time @time using VectorizedRNG
  0.000189 seconds (81 allocations: 6.062 KiB)
  0.043761 seconds (12.95 k allocations: 813.111 KiB)

julia> @time @time using VectorizedRNG
  0.000186 seconds (81 allocations: 6.062 KiB)
  0.000317 seconds (119 allocations: 8.297 KiB)

It's an outdated method (but I thought wouldn't slow this much down):
~/.julia/config/startup.jl
atreplinit() do repl
    try
        @eval @time using Revise
    catch e
        @warn "error while importing Revise" e
    end
end

Note, since Revise wasn't installed, I tried that, then not as bad, still slower (and with same speed with the above startup-file, so only catch-clause seems slow):
julia> @time using Revise
0.650733 seconds (563.69 k allocations: 39.741 MiB, 2.32% gc time, 1.69% compilation time)
julia> @time @time using VectorizedRNG
1.745308 seconds (1.43 M allocations: 95.068 MiB, 1.14% gc time)
1.745396 seconds (1.43 M allocations: 95.071 MiB, 1.14% gc time)
julia> @time @time using VectorizedRNG
0.000213 seconds (81 allocations: 6.062 KiB)
0.043323 seconds (12.95 k allocations: 813.111 KiB)
julia> @time @time using VectorizedRNG
0.000207 seconds (81 allocations: 6.062 KiB)
0.000357 seconds (119 allocations: 8.297 KiB)

In contrast if I only do, then faster than your package alone with or without Revise:

julia> @time @time using OhMyREPL
julia> @time @time using VectorizedRNG
0.899325 seconds (896.82 k allocations: 63.453 MiB, 1.95% gc time)
0.899427 seconds (896.87 k allocations: 63.456 MiB, 1.95% gc time)
[here, not a lot faster but fewer allocations above, I think indication that you could do more procompilation.]
julia> @time @time using VectorizedRNG
0.000095 seconds (81 allocations: 6.062 KiB)
0.000157 seconds (119 allocations: 8.297 KiB)
julia> @time @time using VectorizedRNG
0.000147 seconds (81 allocations: 6.062 KiB)
0.000254 seconds (119 allocations: 8.297 KiB)

This is not really your concern, just showing you what can happen even if Revise isn't installed (since I recently upgraded to 1.7).

I needed to do:

(@v1.7) pkg> add https://github.com/timholy/Revise.jl/
strangely (even on Julia 1.5):
(@v1.7) pkg> add Revise
[ Info: Resolving package identifier Revise as a directory at ~/Revise.
ERROR: Did not find a git repository at Revise

The startup time can probably mostly be blamed on VectorizationBase.jl, one of VectorizedRNG.jl's dependencies:
chriselrod@chriselrod-XPS-13-9310 ~> jm --startup=no -e "@time @time using VectorizationBase"
  0.452552 seconds (1.01 M allocations: 70.875 MiB, 8.86% compilation time)
  0.485739 seconds (1.07 M allocations: 74.718 MiB, 8.25% compilation time)
chriselrod@chriselrod-XPS-13-9310 ~> jm --startup=no -e "@time @time using VectorizationBase"
  0.447231 seconds (1.01 M allocations: 70.875 MiB, 8.99% compilation time)
  0.480055 seconds (1.07 M allocations: 74.718 MiB, 8.37% compilation time)
chriselrod@chriselrod-XPS-13-9310 ~> jm --startup=no -e "@time @time using VectorizationBase"
  0.461119 seconds (1.01 M allocations: 70.875 MiB, 8.93% compilation time)
  0.493712 seconds (1.07 M allocations: 74.718 MiB, 8.34% compilation time)
chriselrod@chriselrod-XPS-13-9310 ~> jm --startup=no -e "@time @time using VectorizedRNG"
  0.492746 seconds (1.04 M allocations: 73.331 MiB, 9.30% compilation time)
  0.522391 seconds (1.10 M allocations: 77.174 MiB, 8.77% compilation time)
chriselrod@chriselrod-XPS-13-9310 ~> jm --startup=no -e "@time @time using VectorizedRNG"
  0.491345 seconds (1.04 M allocations: 73.331 MiB, 9.36% compilation time)
  0.523852 seconds (1.10 M allocations: 77.174 MiB, 8.78% compilation time)
chriselrod@chriselrod-XPS-13-9310 ~> jm --startup=no -e "@time @time using VectorizedRNG"
  0.510427 seconds (1.04 M allocations: 73.331 MiB, 9.01% compilation time)
  0.541200 seconds (1.10 M allocations: 77.174 MiB, 8.50% compilation time)

jm is an alias for julia master.
Also, as of Julia 1.5, you only need to using Revise in your startup.jl.
Also, using Revise and using OhMyREPL first:
chriselrod@chriselrod-XPS-13-9310 ~> jm --startup=no -e "using OhMyREPL; @time @time using VectorizedRNG"
  0.418813 seconds (923.11 k allocations: 65.085 MiB)
  0.449518 seconds (982.77 k allocations: 68.927 MiB)
chriselrod@chriselrod-XPS-13-9310 ~> jm --startup=no -e "using OhMyREPL; @time @time using VectorizedRNG"
  0.423458 seconds (923.11 k allocations: 65.087 MiB)
  0.453815 seconds (982.77 k allocations: 68.929 MiB)
chriselrod@chriselrod-XPS-13-9310 ~> jm --startup=no -e "using Revise; @time @time using VectorizedRNG"
  0.922822 seconds (1.51 M allocations: 99.688 MiB, 2.59% gc time)
  0.951921 seconds (1.57 M allocations: 103.530 MiB, 2.51% gc time)
chriselrod@chriselrod-XPS-13-9310 ~> jm --startup=no -e "using Revise; @time @time using VectorizedRNG"
  0.938457 seconds (1.51 M allocations: 99.688 MiB, 2.57% gc time)
  0.968043 seconds (1.57 M allocations: 103.530 MiB, 2.49% gc time)

I take it that some code loading code isn't precompiled, so loading another package first helps.
But that Revise's code tracking methods must get compiled the first time you load a package?
This is still a little slower:
chriselrod@chriselrod-XPS-13-9310 ~> jm --startup=no -e "using Revise; using OhMyREPL; @time @time using VectorizedRNG"
  0.670337 seconds (1.09 M allocations: 74.920 MiB)
  0.699811 seconds (1.15 M allocations: 78.761 MiB)
chriselrod@chriselrod-XPS-13-9310 ~> jm --startup=no -e "using Revise; using OhMyREPL; @time @time using VectorizedRNG"
  0.674070 seconds (1.09 M allocations: 74.920 MiB)
  0.704318 seconds (1.15 M allocations: 78.761 MiB)

There's a PR to VectorizationBase that'll merge fairly soon that has a fair bit of impact on the package's loading, I'll probably spend some time looking at package latency there.
Both VectorizationBase and VectorizedRNG do non-trivail things in their inits, especially VectorizationBase in that PR, which unfortunately could hurt package loading times.
But those changes will make it safe to precompile more code; the work being done are checks to see if it has to invalidate anything.

The startup time can probably mostly be blamed on VectorizationBase.jl, one of VectorizedRNG.jl's dependencies:
chriselrod@chriselrod-XPS-13-9310 ~> jm --startup=no -e "@time @time using VectorizationBase"
  0.452552 seconds (1.01 M allocations: 70.875 MiB, 8.86% compilation time)
  0.485739 seconds (1.07 M allocations: 74.718 MiB, 8.25% compilation time)
chriselrod@chriselrod-XPS-13-9310 ~> jm --startup=no -e "@time @time using VectorizationBase"
  0.447231 seconds (1.01 M allocations: 70.875 MiB, 8.99% compilation time)
  0.480055 seconds (1.07 M allocations: 74.718 MiB, 8.37% compilation time)
chriselrod@chriselrod-XPS-13-9310 ~> jm --startup=no -e "@time @time using VectorizationBase"
  0.461119 seconds (1.01 M allocations: 70.875 MiB, 8.93% compilation time)
  0.493712 seconds (1.07 M allocations: 74.718 MiB, 8.34% compilation time)
chriselrod@chriselrod-XPS-13-9310 ~> jm --startup=no -e "@time @time using VectorizedRNG"
  0.492746 seconds (1.04 M allocations: 73.331 MiB, 9.30% compilation time)
  0.522391 seconds (1.10 M allocations: 77.174 MiB, 8.77% compilation time)
chriselrod@chriselrod-XPS-13-9310 ~> jm --startup=no -e "@time @time using VectorizedRNG"
  0.491345 seconds (1.04 M allocations: 73.331 MiB, 9.36% compilation time)
  0.523852 seconds (1.10 M allocations: 77.174 MiB, 8.78% compilation time)
chriselrod@chriselrod-XPS-13-9310 ~> jm --startup=no -e "@time @time using VectorizedRNG"
  0.510427 seconds (1.04 M allocations: 73.331 MiB, 9.01% compilation time)
  0.541200 seconds (1.10 M allocations: 77.174 MiB, 8.50% compilation time)

jm is an alias for julia master.
Also, as of Julia 1.5, you only need to using Revise in your startup.jl.
Also, using Revise and using OhMyREPL first:
chriselrod@chriselrod-XPS-13-9310 ~> jm --startup=no -e "using OhMyREPL; @time @time using VectorizedRNG"
  0.418813 seconds (923.11 k allocations: 65.085 MiB)
  0.449518 seconds (982.77 k allocations: 68.927 MiB)
chriselrod@chriselrod-XPS-13-9310 ~> jm --startup=no -e "using OhMyREPL; @time @time using VectorizedRNG"
  0.423458 seconds (923.11 k allocations: 65.087 MiB)
  0.453815 seconds (982.77 k allocations: 68.929 MiB)
chriselrod@chriselrod-XPS-13-9310 ~> jm --startup=no -e "using Revise; @time @time using VectorizedRNG"
  0.922822 seconds (1.51 M allocations: 99.688 MiB, 2.59% gc time)
  0.951921 seconds (1.57 M allocations: 103.530 MiB, 2.51% gc time)
chriselrod@chriselrod-XPS-13-9310 ~> jm --startup=no -e "using Revise; @time @time using VectorizedRNG"
  0.938457 seconds (1.51 M allocations: 99.688 MiB, 2.57% gc time)
  0.968043 seconds (1.57 M allocations: 103.530 MiB, 2.49% gc time)

I take it that some code loading code isn't precompiled, so loading another package first helps.
But that Revise's code tracking methods must get compiled the first time you load a package?
This is still a little slower:
chriselrod@chriselrod-XPS-13-9310 ~> jm --startup=no -e "using Revise; using OhMyREPL; @time @time using VectorizedRNG"
  0.670337 seconds (1.09 M allocations: 74.920 MiB)
  0.699811 seconds (1.15 M allocations: 78.761 MiB)
chriselrod@chriselrod-XPS-13-9310 ~> jm --startup=no -e "using Revise; using OhMyREPL; @time @time using VectorizedRNG"
  0.674070 seconds (1.09 M allocations: 74.920 MiB)
  0.704318 seconds (1.15 M allocations: 78.761 MiB)

There's a PR to VectorizationBase that'll merge fairly soon that has a fair bit of impact on the package's loading, I'll probably spend some time looking at package latency there.
Both VectorizationBase and VectorizedRNG do non-trivail things in their inits, especially VectorizationBase in that PR, which unfortunately could hurt package loading times.
But those changes will make it safe to precompile more code; the work being done are checks to see if it has to invalidate anything.

That PR of VectorizationBase has a definite latency regression:
chriselrod@chriselrod-XPS-13-9310 ~> jm --startup=no -e "@time @time using VectorizedRNG"
  0.702441 seconds (1.86 M allocations: 121.201 MiB, 1.73% gc time, 7.57% compilation time)
  0.731387 seconds (1.92 M allocations: 125.044 MiB, 1.67% gc time, 7.27% compilation time)
chriselrod@chriselrod-XPS-13-9310 ~> jm --startup=no -e "@time @time using VectorizedRNG"
  0.703449 seconds (1.86 M allocations: 121.201 MiB, 1.45% gc time, 6.43% compilation time)
  0.732682 seconds (1.92 M allocations: 125.044 MiB, 1.39% gc time, 6.17% compilation time)
chriselrod@chriselrod-XPS-13-9310 ~> jm --startup=no -e "@time @time using VectorizedRNG"
  0.706482 seconds (1.86 M allocations: 121.201 MiB, 1.42% gc time, 6.77% compilation time)
  0.736739 seconds (1.92 M allocations: 125.044 MiB, 1.36% gc time, 6.49% compilation time)
chriselrod@chriselrod-XPS-13-9310 ~> jm --startup=no -e "@time @time using VectorizationBase"
  0.687375 seconds (1.83 M allocations: 118.905 MiB, 1.44% gc time, 7.12% compilation time)
  0.716584 seconds (1.89 M allocations: 122.748 MiB, 1.38% gc time, 6.83% compilation time)
chriselrod@chriselrod-XPS-13-9310 ~> jm --startup=no -e "@time @time using VectorizationBase"
  0.675909 seconds (1.83 M allocations: 118.907 MiB, 1.45% gc time, 6.78% compilation time)
  0.703710 seconds (1.89 M allocations: 122.750 MiB, 1.40% gc time, 6.52% compilation time)
chriselrod@chriselrod-XPS-13-9310 ~> jm --startup=no -e "@time @time using VectorizationBase"
  0.663497 seconds (1.83 M allocations: 118.905 MiB, 1.52% gc time, 6.92% compilation time)
  0.691504 seconds (1.89 M allocations: 122.748 MiB, 1.46% gc time, 6.64% compilation time)

Much of that PR was about reducing the number of @generated functions, which would ideally help. I'll have to look at this further.

That PR of VectorizationBase has a definite latency regression:
chriselrod@chriselrod-XPS-13-9310 ~> jm --startup=no -e "@time @time using VectorizedRNG"
  0.702441 seconds (1.86 M allocations: 121.201 MiB, 1.73% gc time, 7.57% compilation time)
  0.731387 seconds (1.92 M allocations: 125.044 MiB, 1.67% gc time, 7.27% compilation time)
chriselrod@chriselrod-XPS-13-9310 ~> jm --startup=no -e "@time @time using VectorizedRNG"
  0.703449 seconds (1.86 M allocations: 121.201 MiB, 1.45% gc time, 6.43% compilation time)
  0.732682 seconds (1.92 M allocations: 125.044 MiB, 1.39% gc time, 6.17% compilation time)
chriselrod@chriselrod-XPS-13-9310 ~> jm --startup=no -e "@time @time using VectorizedRNG"
  0.706482 seconds (1.86 M allocations: 121.201 MiB, 1.42% gc time, 6.77% compilation time)
  0.736739 seconds (1.92 M allocations: 125.044 MiB, 1.36% gc time, 6.49% compilation time)
chriselrod@chriselrod-XPS-13-9310 ~> jm --startup=no -e "@time @time using VectorizationBase"
  0.687375 seconds (1.83 M allocations: 118.905 MiB, 1.44% gc time, 7.12% compilation time)
  0.716584 seconds (1.89 M allocations: 122.748 MiB, 1.38% gc time, 6.83% compilation time)
chriselrod@chriselrod-XPS-13-9310 ~> jm --startup=no -e "@time @time using VectorizationBase"
  0.675909 seconds (1.83 M allocations: 118.907 MiB, 1.45% gc time, 6.78% compilation time)
  0.703710 seconds (1.89 M allocations: 122.750 MiB, 1.40% gc time, 6.52% compilation time)
chriselrod@chriselrod-XPS-13-9310 ~> jm --startup=no -e "@time @time using VectorizationBase"
  0.663497 seconds (1.83 M allocations: 118.905 MiB, 1.52% gc time, 6.92% compilation time)
  0.691504 seconds (1.89 M allocations: 122.748 MiB, 1.46% gc time, 6.64% compilation time)

Much of that PR was about reducing the number of @generated functions, which would ideally help. I'll have to look at this further.


Meta content missing

Currently sharing the site in social networks causes no preview or rich media. We need appropriate meta tags for twitter, facebook, etc.

Working on it.


Sequencing Instrument Models

Will SO be adding sequencing instrument model terms?
GENEPIO is in need of additional sequencing instrument model terms, but is interested to know whether SO is intending on housing any before we risk creating redundancies.

I do not believe we will be adding sequencing instrument model terms any time soon. Just to be sure, though, do you have examples of the types of terms you'd include as part of that model?

OBI (Ontology for Biomedical Investigations), a relatively prominent OBO, already has a DNA sequencer class as well as a number of subclasses that appear to be sequencer models (e.g., 454 Genome Sequencer FLX), and I'd bet they'd add any that you need that aren't there, so I suggest looking into that for the sequencer terms you need.

GENEPIO currently has the OBI branch "DNA sequencer" (OBI:0400103) and it's own parallel branch that could be merged into it called "sequencing instrument model" (GENEPIO:0001921). We were looking into merging them under OBI, but it was conveyed to me that there had been discussion between OBI and SO that SO might be taking this OBI branch. We wanted to check in with both ontologies on the matter before making sequencer model term requests (e.g., 454 Genome Sequencer FLX) that we require for one of our projects.

Just had confirmation from my liaison that I should be speaking with SWO rather than SO.
Our mistake.
Thank you for your time!


New version: Weave v0.9.2

Registering package: Weave
Repository: https://github.com/JunoLab/Weave.jl
Created by: @aviatesk
Version: v0.9.2
Commit: 79a3d7388210eace4540de783b53df97735f57c3
Reviewed by: @aviatesk
Reference: https://github.com/JunoLab/Weave.jl/commit/79a3d7388210eace4540de783b53df97735f57c3#commitcomment-37627366

(o´д`o)=３


Solid devtools Firefox extension

Thank you for creating such amazing package. Just a small question: is Firefox extension planned? I am heavily using Mozilla Firefox at home, at work and on my phone. Thank you.

Firefox is planned, as long as it it won't add too much maintenance burden. Theoretically it shouldn't, I'm not doing anything chrome-specific in the extension I think. There is already an issue for it, so lets track progress there: https://github.com/thetarnav/solid-devtools/issues/221


Using Multiple default.html pages?

This is probably a misuse of an issue, but I want to add custom links to the left side of the index Markdown page. I discovered that I can create a _layouts/default.html file, which works well. However, I'd also like to have different pairings of markdown files and default.html files. Is there a way to do this? Can I specify for a particular markdown file which corresponding default.html I want used?

If I'm getting you right, it would be a new layout: https://jekyllrb.com/docs/layouts/
Add your custom file _layouts/mypage.html and then on the markdown file, you'd have the header:
---
layout: mypage
---


Update fluentd image

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Please delete this note before submitting the pull request.
For 1.15 Features: set Milestone to 1.15 and Base Branch to dev-1.15
For Chinese localization, base branch to release-1.12
For Korean Localization: set Base Branch to dev-1.13-ko.
Help editing and submitting pull requests:
https://kubernetes.io/docs/contribute/start/#improve-existing-content.
Help choosing which branch to use:
https://kubernetes.io/docs/contribute/start#choose-which-git-branch-to-use.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

With kubernetes/kubernetes#73819 fluentd-elasticsearch image is moved to community controller location. This PR updates the examples with the latest image in the new location.

/cc @cstoku @makocchi-git

/cc @zacharysarah

/approve

/approve


Disable cookies server-side.

We believe that our use of cookies may be causing bad behavior on
clients that are trying to do domain-fronting (and also support
cookies).  Socket.IO doesn't need cookies, and setting this option
should disable them.
See https://github.com/socketio/engine.io#methods-1

:+1:


Bug or Feature? LivePlotWidget "bottom" axis ticks labels disappear if string is more than simple one liner

Hello,
First, thank you for pglive.   DataConnector is very cool!
To determine if pglive will work for my project needs,  I am trying to implement your LivePlotWidget with a barchart such that the bottom axis labels are like those shown below from another plotter I wrote just using pyqtgraph.

However, LivePlotWidget refuses to show any tick labels if the string has more than two vertical elements.
For context,  I am building the bottom axis in the image above using simple string formatting like so...
listOfBottomTuples = [ [ (i, '\n%s\n↑ %d,%d\nμ %d,%d\n↓ %d,%d\nσ  %d,%d\n' %  (str(i),aLMax,aUMax,aLMean,aUMean,aLMin,aUMin,aLStd,aUStd)  if i == 1 else   '\n%s\n%d,%d\n%d,%d\n%d,%d\n%d,%d\n' %  (str(i),aLMax,aUMax,aLMean,aUMean,aLMin,aUMin,aLStd,aUStd)) for   i,aLMax,aUMax,aLMean,aUMean,aLMin,aUMin,aLStd,aUStd in values ] ]
It's brute force but works just fine for a plotter that updates once per second in the other plotter tool I wrote.
I can create a simple list of tuples containing channel numbers and that works just fine.  But  it does not like more than that as labels and it appears that the space between the tick labels and axis label is fixed.  Below is my implementation of your LivePlotWidget where you can see the most I can put in the tick labels before it shows nothing.  It just so happens that the tick labels are just down to where the axis label 'Lane' sits.

When it refuses, it looks like this...

Am I incorrect in thinking that the space between tick labels and axis label should grow automatically like it does in pyqtgraph native plotWidget?
Thank you in advance.
Brian

Sorry for super late reply to your question. Tick handling is quite "tricky". As I wanted to support plotting ticks at different angles, I overrode pyqtgraph code, that renders ticks. That code was not supporting multine ticks.
Please, try v0.7.7, it should hopefully fix your issues.
If you encouter some spacing problem (bottom of the tick clipped) add one additional empty line \n to the tick.


Viewing room artwork section

The type of this PR is: Feature

This PR resolves: GALL-2878
Description
This PR adds a new screen to view an artwork that is in a Viewing Room.

New route: /viewing-room/:vrSlug/:artworkSlug.

We reuse ArtworkTileRailContainer so I added an extra prop to allow us to override the route on press.

I needed to convert between cm and inches, and I saw this was done in one other place, so rather than putting hardcoded numbers and calculations, I just move that in the functions cm2in and in2cm.

Created LoadingScreen and used it for the new components using relay-hooks, as well as the existing ones using renderWithLoadProgress.

Test Plan

Screenshots

Fails

:no_entry_sign:
Missing Test Files:

src/lib/Scenes/ViewingRoom/__tests__/ViewingRoomArtwork-tests.tsx
src/lib/utils/__tests__/LoadingScreen-tests.tsx

If these files are supposed to not exist, please update your PR body to include "#skip_new_tests".

  Generated by :no_entry_sign: dangerJS

I resolved all the comments. Thank you both for the good ideas in here! 💜

nice one 🎉

Merging this as it's been accepted and addressed. Also, I want it in master before the QA meeting today, so we can possibly use it as an example ✋.


fix(core): allow open solutions with Visual Studio

Fixes #548

@tzuge After the CI passes on this one, I'll go ahead and merge it. I prefer the System.IO.Path impl personally, but until we can figure out whats keeping it from working in VS, this should do too.


Feature: detect which modules client which sync, uses

sb-mig should automatically detect if we are using type: 'module' in package.json or commonjs, and use proper extension (instead of .sb.js use .cjs.js)

fixed in: https://github.com/sb-mig/sb-mig/commit/162647b0d7eaba61af3c4349420323614a11b366 on beta channel for now


reconcile resources managed by the kubevirt operator

Signed-off-by: Ashley Schuett<EMAIL_ADDRESS>What this PR does / why we need it:
This updates each KubeVirt managed resource if it was updated by a different system. This reconciliation does to remove user/system added annotations or labels. The KubeVirt controller already watches and listens to the informer for all of it's managed resources.
The flow for a deployment object would be:

Deployment is updated by the user
The KubeVirt controller gets the update change and queues the KubeVirt CR resource
SyncAll is ran for every resource
When syncing the deployment this change adds a checks for the resource's Generation vs. the Generation that was saved in the cacheMap. If this does not match it means there was a change that was not done by the system and we will update the resource and save the new Generation.

For resources that do not have a generation we will instead use the resourceVersion.
If the controller is restarted, on the first SyncAll call we will end up calling Update/Patch for each resource as to populate the cacheMap with the most current generation/resourceVersion.
Another solution I considered was to get the resource on each sync event and compare it to the expected resource from the install strategy. The saw two issues with this approach though:
- adds more calls to the api
- not sure how we could compare the two results since there are added field with default values that would be returned from the api, making it always different than the resource saved in the configmap.
-- Unit tests still need to be added
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:

KubeVirt managed resources will be continuously reconciled to their expected state

/lgtm

Another solution I considered was to get the resource on each sync event and compare it to the expected resource from the install strategy. The saw two issues with this approach though:

adds more calls to the api

In this case, wouldn't we be comparing the resource in our informer cache with the one in the install strategy? If so that wouldn't involve another api call.

not sure how we could compare the two results since there are added field with default values that would be returned from the api, making it always different than the resource saved in the configmap.

I think the Service with ClusterIP might be the primary offender here... it might actually be the only offender. We had to add some custom logic to the Service patch generation in order to preserve those defaulted fields.
Are you aware of any other resource types that are causing us issues when we compare the desired spec in the install strategy to what is in our informer cache? Maybe this isn't as big of an issue as i thought it was in the past.

I think the Service with ClusterIP might be the primary offender here... it might actually be the only offender. We had to add some custom logic to the Service patch generation in order to preserve those defaulted fields.

Are you aware of any other resource types that are causing us issues when we compare the desired spec in the install strategy to what is in our informer cache? Maybe this isn't as big of an issue as i thought it was in the past.

I think it's still a big issue. Here is an example of what is returned for a cached deployment (on the left) vs the desired deployment (on the right) https://www.textcompare.org/index.html?id=5faa9775cec8c500178eb6d2
While they are actually the same the deployment returned includes default fields that are added after creation. So unless we write this value to the install-strategy I don't know how I would compare them? or if we had an array of ignored keys for each resource type.
Do you see an issue with the implementation I have done using the Generation/ResourceVersion to know if we need to update?

/hold
until we have more clarity if we can and must do this right now at all.

For the rest asynchronous changes or defaulting can have pretty bad impact on us.

As long as we're syncing using generation, it's asynchronous changes that impose the greatest risk i believe.  I see that defaulting occurs for deployment specs and some other objects, but other than the Service resource, do we have any resources that are having their spec's updated outside of virt-operator in a way that increments the generation id?

@rmohr @davidvossel  Thanks to the help that @michaelhenkel  gave me, I have updated the PR to use the same reconciliation method that the CDI project is using.
It now uses a three way merge to calculate what the current object should be and compares that to the current object that is in cache. It ignores user added labels and annotations as well as the status object.

/approve

/retest


Add golangci-lint tool

Adds logic for managing golangci-lint.
This application is required by boilerplate, but only installed as a part of the build process in a portion of our repos, requiring developers to manually install it in the others.

golangci-lint may not be a tool we want to manage via backplane-tools. Closing for now


!quit command does not shutdown server properly

When writing the !quit command, the server needs to disconnect all sockets connected, close its own socket and kill its own process and quit the terminal/CMD window. This has to be reworked.

Since we moved from python to Go Lang this is no longer essential to the project development.


[Technical Proposal] Terrain Registry via Forge

Please describe the feature you'd like to see:

Proper registry system for terrains using ForgeRegistries

What considerations for gameplay/performance/user-experience should be made:

Single instance of terrains, into which settings are fed
Allows for mods to supply additional terrains (some engine mechanics would have to think about how to utilize terrains generically)
World gen settings screen allows for dynamic population of terrains (i.e. only terrains that need the TerrainSettings would populate)

What alternatives or examples have you considered:

Custom registry in Forge to mimic how Biome's are accessed/registered
Currently working through some initial implementation details in forks (this is somewhat breaking the paradigm already set)

May need to think of Terrain's as grouped by TerrainType

There is an API for this already. Registries add nothing useful


License Error

When I load Houdini after installing the plug-in, I get a [pld] [fatal] The licensing system could not be initialized, please verify your 'LicParams' data.  Using Houdini 17.5.173 and CityEngine 2018.1.

Which palladio version did you try? Sent from my Huawei Mobile-------- Original Message --------Subject: [Esri/palladio] License Error (#108)From: drewmassey-bah To: Esri/palladio CC: Subscribed When I load Houdini after installing the plug-in, I get a [pld] [fatal] The licensing system could not be initialized, please verify your 'LicParams' data.  Using Houdini 17.5.173.
—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or mute the thread.
[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/Esri/palladio/issues/108",
"url": "https://github.com/Esri/palladio/issues/108",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]

I was pulling the newest from the GitHub (I think 1.6.0, and following the build process.  I modified the conanfile-h175.py to use the CityEngine SDK version 1.10.4051, and updated the file path for the CMAKE_PREFIX_PATH to reflect the path that was being created (added an additional esri_ce_sdk directory).  I was able to get a copy working once I was able to find the release repo, and copying the files over.

good to hear, so you are now using palladio with CE SDK 2.0?

Yes I am!  Thanks!


Enable RPC for blockprod, along with ability to create blocks

This new RPC call allows the caller to create blocks. Currently it only accepts signed transactions, but https://github.com/mintlayer/mintlayer-core/issues/756 will allow accepting TXIDs that refer to mempool transactions.

Once PoW is done, tests can then be added to test this RPC endpoint along with testing the PoW code.

Once PoW is done, tests can then be added to test this RPC endpoint along with testing the PoW code.

PoW works now. No issues with it.

Clippy didn't like this, even though I added an exemption. I think I'll split this fix so that it's a smooth and simple merge before this one

Once PoW is done, tests can then be added to test this RPC endpoint along with testing the PoW code.

PoW works now. No issues with it.

Sorry, I meant once my PoW changes to the block maker were done.

tests can then be added

Included in this list, I'll update the functional tests to use the new generate_block RPC call.

Note: Things left to do:

Reward destination for both RPC and local blocks needs to be taken into account
Proper error handling (ignore the current error handling as it's just a filler at the moment or non-existant)
unit tests
TXID parameter input to RPC (#756 )
A handful of TODOs in the commit changes
Moving PoW mining to it's own executor
User-modifiable configuration for PoW mining


Save search/replace patterns in a search/replace library (preferences)

I’d like to name and save search/replace pairs (with regex) to a search/replace library (JSON?), which reside in the user references.
This would be a great help in refining texts and code, because I use a lot of search/replace pairs regularly on different files.
(I’d like to refer back to issue #10791, which is NOT a duplicate of #5865, as it hadn’t asked for a search/replace history, but for search/replace pairs to be savable!)

We are actually working on making it possible for extensions to build something like this in https://github.com/Microsoft/vscode/pull/71626


Update mobile_apps.md

Added COVID-19 Tracker Android  App

Hi, How do I put my Android App into this project under mobile_apps? I have done a android app and I want to put it under your android apps list. What should I do?


Adding note about NET452 runtime errors.

Adding a note about runtime errors encountered when targeting NET452 during metadata endpoint retrieval.

Hi @obosha, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, DNFBOT;

do you more info on the exact exception type?

Sure.  Wasnt sure how much detail you wanted in documentation.
I will add more info.
On Feb 9, 2017 1:02 AM, "Dominick Baier"<EMAIL_ADDRESS>wrote:

do you more info on the exact exception type?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/IdentityServer/IdentityServer4/pull/799#issuecomment-278563197,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKFluqPxoa2z0l_0MzeNEXU2GIsGQqbRks5rarnugaJpZM4L63rk
.

I added additional content and submitted a pull request.
On Thu, Feb 9, 2017 at 6:37 AM, Shane Oborn<EMAIL_ADDRESS>wrote:

Sure.  Wasnt sure how much detail you wanted in documentation.
I will add more info.
On Feb 9, 2017 1:02 AM, "Dominick Baier"<EMAIL_ADDRESS>wrote:

do you more info on the exact exception type?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/IdentityServer/IdentityServer4/pull/799#issuecomment-278563197,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKFluqPxoa2z0l_0MzeNEXU2GIsGQqbRks5rarnugaJpZM4L63rk
.

@obosha, Thanks for signing the contribution license agreement so quickly! Actual humans will now validate the agreement and then evaluate the PR.
Thanks, DNFBOT;

OK - something went wrong with this PR as you can see in your commit history.
No prob - i added the text manually. thanks!


ExternalMessageEnvelope: documentation and improved coverage

This PR addresses #638 and #639.
In particular it clarifies the API of ExternalMessageEnvelope.
Also it improves the test coverage of DelegatingEventDispatcher behavior, that dispatches ExternalMessageEnvelope instances.
As a bonus, RejectionHandlerMethod documentation was improved with explicit mentioning of @React and @Subscribe in different cases.

@alexander-yevsyukov PTAL.

@alexander-yevsyukov PTAL.


Same name of package and its file may lead to NAMESPACE COLLISION

This issue occurred when I was using pwndbg on archlinux, when it calls "import pt".
And the package is installed by "pacman -S python-pt"

And sometimes，it works with import "pt.pt"(only when i rename the "pt" site-package and rename it back without closing the terminal thus the environment could not detect the pt.py in directory temporarily).
But this is not a very good solution.
Thank you for your attention to this issue.

Thanks Lilian
IIUC, there's a clash between the 'pt/' folder and the package name 'pt'.
I should have probably required that the package name be 'pt_dump'.
This is a bit too much work now to update all packages and dependent software (like pwndbg).
I think the simplest would be to update the 'pt' folder to 'pt_lib' since today it only contain common code that's used by the gdb frontend and host frontend.
@patryk4815 What are your thoughts on this?

@martinradev  it depends what you have in __init__.py
https://github.com/martinradev/gdb-pt-dump/commit/21158ac3f9b36d0e5e0c86193e0ef018fc628e74

^ this was available by using `from pt import PageTableDump`
If you want export everything just add into __init__.py:
from pt.pt import *

@martinradev Look.

This issue occurred when I was using pwndbg on archlinux, when it calls "import pt".

Author mention this issue happen only for archlinux. Becouse pwndbg use older gdb-pt-dump version.
(archlinux messup to not strict with proper version what we use in pwndbg)

Perhaps we should call @anthraxx here who maintains the Pwndbg package in Arch Linux.

Arch Linux packages the latest commit, which pwndbg seems to require an older version. I'd say it would be best if we can adjust pwndbg and bump the references version to support latest pt-dunp... We all know latest is greatest 😸😸😸

@lilian-lilifox Anything still necessary for this issue?
If no, let's close it

It seem that everything works well.
Thank you for taking the time to fix it.
(^_^)


New copy of the Dashboard app opens after the display change

STR:

Close laptop
Connect (plug-in via USB-C in my case) the laptop to the external display
Turn on the external display
Launch the IDE with the plugin
Open Dashboard in another tab
Open Jaeger UI in one editor tab
Move Jaeger UI to another tab group via the menu on the tab and select Split and move right
Turn off the external display
Wait several seconds
Unplug the external display
Wait several seconds
Open the laptop

Current behaviour the right tab group will have the new tab copy of the Dashboard

IntelliJ IDEA 2<IP_ADDRESS> (Community Edition)
Build #IC-242.20224.419, built on August 19, 2024
Runtime version: 21.0.3+13-b509.4 aarch64 (JCEF 122.1.9)
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.lwawt.macosx.LWCToolkit
macOS 14.6.1
Kotlin analyzer version: 2.0.20-ij242-29
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 6144M
Cores: 12
Metal Rendering is ON
Registry:
ide.experimental.ui=true
Non-Bundled Plugins:
org.digma.intellij (2.0.383+242)
Kotlin: 242.20224.419-IJ

@kshmidt-digma
i can not reproduce this issue. IMO its not critical,
will only happen on reload if you have split tabs and the dashboard is open.
when yo and me have some free time we can reproduce together and try to figure out the issue


jsPDF not working on local server

Hi.
I've installed put jsPDF in the inc folder of my wordpress theme on a local machine and I've duly included jsPDF in my site using wp_enqueue_script( '_jspdf', get_template_directory_uri() . '/inc/jsPDF/dist/jspdf.min.js', array('jquery'), false, true ); but each time I load the page I get the following error: TypeError: undefied is not an object (evaluating: require.config).
Useless to include also the require.js lib. Nothing changes.
Similar problem if I try and use the Debug version This time I get: TypeError: undefined is not an object (evaluating pdf.canvas).
How do I use properly the "minified" version of jsPDF?

I've performed some more testing. I've tested the package on a local, offline server, and it is not working. I've tested it on an on-line server and it is not working either but if I use the "development" version it works.
The only way to use the "minified" version of the script is to include the script from Github servers.
Then the question is: which difference exist between the Github online version and the downloadable one?

True. There is an undocumented dependency to require.js. For several reasons we do not want to include require.js in our project. Can you build a self-contained minified version that works without require.js (or only internally)?

Thanks for the (late ;-) ) reply. Ok. I'll try. I'll minify the dev version and check if it's working


Hanging on initial node deployment bootup

RancherOS Version: (ros os version)
v1.4.1
Where are you running RancherOS? (docker-machine, AWS, GCE, baremetal, etc.)
vSphere 6.5 deployed from Rancher v2.0.8 web interface
Initially I thought the exact issue that I was experiencing was what was described here:
https://github.com/rancher/os/issues/2473
However, I am running ROS 1.4.1 and still am experiencing a similar issue. It only happens on the initial bootup of the node after creation and won't happen on subsequent reboots. When I open the vmware console window for the node, I find it stuck at the point you see in line 1115 in the dmesg.log file that I have attached. If I click inside the window and press some random keys, it will finally start responding and continue booting as seen on line 1116. It will stay at line 1115 indefinitely until I do something, however.
I have also attached a zip of the contents of /var/log/boot for review as was requested by an individual from the vSphere slack channel.
dmesg.log
bootlogs.zip

@espigle We have tested vSphere 6.7, we didn't hit this problem.
@kingsd041 Can you try vSphere 6.5 when you get a chance?

@espigle  I did not reproduce this issue, rancheros v1.4.1 works fine on my vSphere 6.5.
May be caused by different processor types, The processor type I am using is Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz

My apologies, I was getting the environments mixed up which I was working in. I was actually having this issue happen in a vSphere 6.0.0 Build 9116444 environment on a host with an Intel(R) Xeon(R) CPU E5-2643@ 3.30GHz processor. This is a test environment we have. I went over to a production environment (the actual 6.5 instance I was getting mixed up thinking I was in) and RancherOS was able to immediately boot up without first opening a console.
When I had mentioned this issue in the Slack vSphere channel for Rancher, I saw another individual say they had noticed the same behavior, though they didn't go into any details on what their environment looked like.
Since I'm only experiencing this issue in our test environment and it works fine in our production environment, I'm not going to press any further on the matter. Thanks for looking into it.


Yubikey Confirm with pin show user cancelled the request on android

when i tried to use yubikey to register passkey like image bellow, process run ok

but when i click another device with yubikey, yubikey ask to enter PIN, it show error "The user cancelled the request" before i enter the pin

is this library not support yubikey on android? i tried this on version 2.1.1 and 3.0.0-rc2.
i haven't tried it on ios

I had the same issue

Could you please provide the request json you are using? This seems more like an issue with the underlying androidx credentials library, but I'd be happy to take a look and see if I can recreate it!

@f-23 hello, this is the example for the request json,
{   "rp": {     "name": "BLAZBIT PASSKEY",     "id": "dev.blazbit.com"   },   "user": {     "name"<EMAIL_ADDRESS>    "displayName"<EMAIL_ADDRESS>    "id": "MzZiN2EwNzctMDg2Ny00NzM1LTlhM2ItYWQzOWQ2ZWM3ZTBi"   },   "challenge": "bJR1bOl802Q3BIMShU-UDzipruWBkRAoL0eiwUH95wE",   "pubKeyCredParams": [     {       "type": "public-key",       "alg": -7     },     {       "type": "public-key",       "alg": -35     },     {       "type": "public-key",       "alg": -36     },     {       "type": "public-key",       "alg": -257     },     {       "type": "public-key",       "alg": -258     },     {       "type": "public-key",       "alg": -259     },     {       "type": "public-key",       "alg": -37     },     {       "type": "public-key",       "alg": -38     },     {       "type": "public-key",       "alg": -39     },     {       "type": "public-key",       "alg": -8     }   ],   "timeout": 300000,   "authenticatorSelection": {} }

problem seem to specific device, im using samsung s21 ultra, but when i using samsung a32, there is no problem


chore(main): release 3.1.4

:robot: I have created a release beep boop
3.1.4 (2024-07-25)
Bug Fixes

renaming a file twice not updating the buffer name (#259) (98caf39)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v3.1.4
:sunflower:


Roll Flutter Engine from 9779c273aac3 to 35318333ee7e (1 revision)

https://github.com/flutter/engine/compare/9779c273aac3...35318333ee7e
2024-06-15<EMAIL_ADDRESS>Roll Dart SDK from dca20ab646c5 to fd8f26dfc971 (1 revision) (flutter/engine#53413)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC chinmaygarde@google.com,rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


On iPad with a SplitViewController

Thanks for this Picker!
I found this issue: on iPad, I have a Split ViewController with a Toolbar in the bottom on the right panel (Detail), where there is a button that open the RMPickerViewController. Tapping that button, the Picker opens with half of itself (maybe less then half) hided under the left panel (Master) of the Split ViewController.
Seems it is trying to open itself at full screen, but maybe not in the right way. Or... I did something wrong!
Someone knows how can I fix this unwanted behavior?
Probably it is releted with this: RMPickerViewController/Issues/14 but that solution does not works for me (on iOS 9.2).
UPDATE
Well, I was looking for a simple solution and I found this:
[self.splitViewController presentViewController:pickerController animated:YES completion:nil];
instead of just presenting on self!

That's what I would have suggested anyways. Can I close the ticket then? :)


Continue Draft Assessment

[ ] Continue draft assessment
[ ] Pass some variables and see some calculations (Steps 1-4)

Working copy of DMNS uploaded in location - https://teams.microsoft.com/_#/files/DEVS?threadId=19%3Ac91c9c0acf5f44dcab6789f870ddf47e%40thread.tacv2&ctx=channel&context=v1-alpha&rootfolder=%252Fteams%252F03177%252FShared%2520Documents%252FDEVS%252FBPM%2520Workflows%252FAssessment%252Fv1-alpha


Fix for not ignoring directories that should be ignored when outputting in tree format

When outputting in tree format, the ignores directory names were added to the tree.
I reproduced this bug under this repository, and ran by $ dirmap generate -t tree.  Used.dirmap.yml is the following.
targets:
  - file: .dirmap.md
    matcher: markdown
  - file: README.md
    matcher: markdown
  - file: doc.go
    matcher: godoc
  - file: "*.go"
    matcher: godoc
ignores:
  - version
  - version/**/*

Before
.
├── .github/
│   └── workflows/
├── cmd/ ... Commands.
├── config/ ... Configuration file.
├── matcher/ ... Implementation to find the string that will be the overview from the code or Markdown.
├── output/ ... Output format of the directory map.
├── scanner/ ... Implementation of scanning the target directory and its overview from the file system based on the configuration.
├── scripts/ ... Scripts for Dockerfile.
└── version/

After
.
├── .github/
│   └── workflows/
├── cmd/ ... Commands.
├── config/ ... Configuration file.
├── matcher/ ... Implementation to find the string that will be the overview from the code or Markdown.
├── output/ ... Output format of the directory map.
├── scanner/ ... Implementation of scanning the target directory and its overview from the file system based on the configuration.
└── scripts/ ... Scripts for Dockerfile.

@kiokuless Thank you!


modify.replaceText not working properly

Aside from that, I'm having a weird issue where modify isn't working.  I think this should work, but the modify() doesn't actually replace the text.
let pres = automizer.loadRoot("review-template.pptx");
pres.load("review-template.pptx", "base");
const templates = await pres.getInfo();
const slides = templates.slidesByTemplate("base");

slides.forEach((slide) => {
    pres.addSlide("base", slide.number, async(slide) => {
        const elements = await slide.getAllTextElementIds();

        elements.forEach(element => {

            slide.modifyElement(element, () => {
                modify.replaceText([
                    {
                        replace: 'NAME',
                        by: {
                            text: client.displayName
                        }
                    }]
                )
            })
        })
    });
});

await pres.write("myPresentation.pptx").then((summary) => {
    console.log(summary);
});

Originally posted by @chriscap-fd in https://github.com/singerla/pptx-automizer/issues/71#issuecomment-1773464140

I remember some weird issues in the past which could be related to this. PowerPoint's way to store text in xml can be surprisingly complex. Depending on the order of typing letters into a textbox, they eventually might split up in the file:
<a:t>{{NAME}</a:t>

<a:t>}</a:t>

Although I was trying to handle this by TextReplaceHelper.isolateTaggedNodes(), it seems not to work in all cases.
You can try a workaround:

Cut out your {{NAME}} tag from textbox to clipboard.
Paste it into a plaintext editor (e.g. notepad) to remove all (visible and invisible) formatting.
Copy & paste the tag back to the textbox.

This will not make any visible difference, but join the xml elements.
In general, it seems as if varying text format inside a textbox can break modify.replaceText.
Good luck on this!

Well, that was not the issue.  I'm a bit confused to be honest.  This code works.  There's a slight difference on the slide.modifyElement line.  I thought modifyElement() took a callback, so I used arrow syntax.  I looked closely at the samples, and they don't use that approach.  I replaced with just a function call and it worked.  Don't quite understand it.
let pres = automizer.loadRoot("review-template.pptx");
pres.load("review-template.pptx", "base");
const templates = await pres.getInfo();
const slides = templates.slidesByTemplate("base");

slides.forEach((slide) => {
    pres.addSlide("base", slide.number, async(slide) => {
        const elements = await slide.getAllTextElementIds();

        elements.forEach(element => {

            slide.modifyElement(element,
                modify.replaceText([
                    {
                        replace: 'NAME',
                        by: {
                            text: client.displayName
                        }
                    }]
                )
            )
        })
    });
});

Maybe it will become clearer if we take a look at modify.replaceText. I have edited the original code to emphasize where the required callback is constructed:
  /**
   * Replace tagged text content within modified shape
   */
  static replaceText = (
    replaceText: ReplaceText | ReplaceText[],
    options?: ReplaceTextOptions,
  ): ShapeModificationCallback => {
    const shapeModCallback = (element: XmlElement): void => {
      const replaceTexts = GeneralHelper.arrayify(replaceText);

      new TextReplaceHelper(options, element as XmlElement)
        .isolateTaggedNodes()
        .applyReplacements(replaceTexts);
    };

    return shapeModCallback;
  };

Applied to your code, we could add a few lines to increase readability:
const replaceParams = [{
    replace: 'NAME',
    by: {
        text: client.displayName
    }
}]

slides.forEach((slide) => {
    pres.addSlide("base", slide.number, async(slide) => {
        const elements = await slide.getAllTextElementIds();
        const shapeModCb = modify.replaceText(replaceParams) as ShapeModificationCallback;

        elements.forEach(element => {
            slide.modifyElement(element, shapeModCb);
            // which equals
            // slide.modifyElement(element, [ shapeModCb ]);
        })
    });
});

For convenience, you can use a single Callback or an array of callbacks. You could also use multiple calls of slide.modifyElement() instead of an array of callbacks, the result will always be the same.
Later on, your callback(s) will be applied to the element XML:
// taken from src/classes/shape.ts
  applyCallbacks(
    callbacks: ShapeModificationCallback[],
    element: XmlElement,
    relation?: XmlElement,
  ): void {
    callbacks.forEach((callback) => {
      if (typeof callback === 'function') {
        try {
          callback(element, relation);
        } catch (e) {
          console.warn(e);
        }
      }
    });
  }

If I have to handle complex code constructions like the above, it helps to add a few lines and declare a some more const. You have more longer, but it is easier to understand.
The latest version v0.4.3 will contain a small type refactoring that differs ShapeModificationCallback and ChartModificationCallback.
I hope this helps! :smiley:


Fetch is not working for android device in React native 0.62.2 even with HTTPS

Description
The api calls using fetch are not working for android only. The same api call using XMLHttpRequests is working well.
React Native version:
System:
OS: macOS 10.15.5
CPU: (4) x64 Intel(R) Core(TM) i5-4260U CPU @ 1.40GHz
Memory: 28.05 MB / 4.00 GB
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 12.18.3 - /usr/local/bin/node
Yarn: 1.22.4 - /usr/local/bin/yarn
npm: 6.14.6 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.9.3 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 13.5, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
Android SDK:
API Levels: 23, 24, 25, 26, 27, 28, 29
Build Tools: 23.0.1, 23.0.3, 25.0.2, 25.0.3, 26.0.1, 26.0.2, 26.0.3, 27.0.3, 28.0.3, 29.0.2, 29.0.3
Android NDK: Not Found
IDEs:
Android Studio: 3.4 AI-183.54<IP_ADDRESS>52501
Xcode: 11.5/11E608c - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_212 - /usr/bin/javac
Python: 2.7.15 - /usr/local/bin/python
npmPackages:
@react-native-community/cli: Not Found
react: 16.11.0 => 16.11.0
react-native: 0.62.2 => 0.62.2
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
Steps To Reproduce

Create a fresh project and using react native cli.
call any api using fetch (http or https).
You can try to solve using android:usesCleartextTraffic="true" but it will not work.

Expected Results
The api should work and give some response in android.
Snack, code example, screenshot, or link to a repository:
 fetch('https://graph.facebook.com/v2.5/me?fields=email,name,friends&access_token=' + token)             .then((response) => response.json())             .then((json) => {                 console.warn(json)             })             .catch((err) => {                 console.warn(err.message)             })

what is it consoling ?
check whether app having access to internet (https://github.com/react-native-community/react-native-netinfo by using this package) or check if it able to access any local server

what is it consoling ?
check whether app having access to internet (https://github.com/react-native-community/react-native-netinfo by using this package) or check if it able to access any local server

The console gives an error Network request failed (in the catch part of the fetch promise ). It is not internet issue because at the same time, in same app all the api calls using XMLHttpRequest are working totally fine. I hence switched to XMLHttp for time being as a workaround.

You can try this https://github.com/facebook/react-native/issues/25244#issuecomment-671564438

@anymore1405  I have already tried that before posting flipper version =50. I will try again for a freshly created project.

@anymore1405  I have already tried that before posting flipper version =50. I will try again for a freshly created project.

If you don't use flipper, you can try disable it in MainApplication.java

Thnx, but I use flipper, my issue seems different. is not limited to HTTP only.

@anymore1405 @hsnandeeshgowda   thnx both of you, but after trying every thing I else I saw some 10 npm vulnerablities. I ran npm audit and saw 6 vulnerabilities were related to node-fetch. I just ran npm audit fix , and surprisingly fetch calls  now work both in newly created and existing projects.
With this I should close the issue now, as it does not seem to be related to react native anymore.


Added DevKit Syscalls 537 and 589

Implemented the syscalls: sys_dl_notify_event and sys_dynlib_dlopen
Added them simply as they are Syscalls that immediately exit with ENOSYS on DevKit firmware.

I'll close this for now due to no activities. You can reopen this or create a new one when you are come back to work on this.