Pass Couchbase user/pass as an environment var

This is less than ideal for a number of reasons, but way better than hardcoding these in the bash script.

The Couchbase image is fixed as of https://github.com/misterbisson/triton-couchbase/pull/6 and released in https://github.com/misterbisson/triton-couchbase/releases/tag/enterprise-3.0.3-r4
I still need to update the Mesos side of this.

Accidentally committed straight to master. WFM, closing.


refactor code so that it can be used to parse standalone lines

The original fortran libAtoms extxyz comment line parser was the same as the fortran command line parser.  It would be nice to restore this compatibility by making the new extxyz comment line parser usable for the command line passed to a (fortran, but anything, really) program.  This requires refactoring the new extxyz code so that the part that parses the comment line can be called with a string. independently of the rest of it, just returning a dict like info.

This would also be needed to allow this library to be used by OVITO, see https://matsci.org/t/cartesian-vs-scaled-coordinates-reading-extxyz-files/51746


move tests under src

These basic regression and smoke tests need to be moved out of the way before the integration and performance test submodule take it's place at the root.

Codecov Report

Merging #619 (f1643ec) into develop (840f6e0) will decrease coverage by 1.49%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop     #619      +/-   ##
===========================================
- Coverage    96.09%   94.59%   -1.50%
===========================================
  Files          119      122       +3
  Lines         7658     8053     +395
===========================================
+ Hits          7359     7618     +259
- Misses         299      435     +136

Impacted Files
Coverage Δ

src/tests/copy_elision.cpp
100.00% <ø> (ø)

src/tests/mfem_array_std_algo.cpp
100.00% <ø> (ø)

src/tests/mfem_ex9p_blockilu.cpp
62.32% <ø> (ø)

Continue to review full report at Codecov.

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


Firefox Android Add-ons store

I couldn't find asbplayer in the Firefox Android add-ons store

The listing now exists and is linked on the release notes.


[Bug] GEODE VERSION i was adding things to the mod with the button (likt the one where you can add noclip accuracy counter ands stuff) and i added something that crashes my game evry time i load it and the only way to stop it was to remove, however when i tried to reinstall it it kept crashing again and i cant use it anymore

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
What steps did you do to get this result?
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.

Probably a corrupted config file, try removing it by pressing Win+R and typing:
%LocalAppData%/GeometryDash/geode/mods/prevter.openhack/
Then just delete config.json and launch the game.

I've already said it's in %LocalAppData%/GeometryDash/geode/mods/prevter.openhack/
You've opened the geode folder inside your game folder, which is not the same one.

I've already said it's in %LocalAppData%/GeometryDash/geode/mods/prevter.openhack/ You've opened the geode folder inside your game folder, which is not the same one.

Thank you! It works now!


Add watch filter

@MarcelMue Could you take a quick look at this to make sure I'm on the right track? Generally based on https://github.com/giantswarm/cluster-api-provider-aws/pull/1/files


manifold: init at 2.5.1-unstable-2024-08-16

Description of changes
Adding manifold library, a very fast geometry library.
Last release was 2.5.1, but that still requires a heavy NVIDIA thrust dependency, the latest head does not need that anymore, thus starting with head as 2.5.1-unstable.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

@pca006132 : adding you as co-maintainer of this package as you're actively involved in manifold development.

Thanks! I was thinking about adding a package to nix when we finish v3.0, which contains the thrust removal as well as other things. Forgot that we can also add unstable :)

Btw, maybe we can package the python package as well? Not very sure about the procedure of packaging that.

Btw, maybe we can package the python package as well? Not very sure about the procedure of packaging that.

I don't use Python so I don't really know how that is done best and what Python users expect. So i'd see this as PR a starting point for someone adding the necessary Python things later.

Just found out that also pkg-config is needed while building for cmake to find tbb. Updated PR.

I think the pkg-config is needed due to tbb being a bit old. If we use tbb_2021_11 we can probably skip pkg-config.

Thanks, indeed, the newer tbb actually works natively with cmake. Updated PR.

FYI, updated to latest head to include the manifold *.pc file. You probably have to re-approve due to the change.

Now we just need someone with merge permissions...

@7c6f434c can you help us merge this?

Not sure what to do with apparently macOS-versions-specific issue (given that I don't use macOS), I guess it's fine to leave as is so that people on fresh macOS can try…
The package code looks reasonable to me (I have no idea what the package does and how it should work, of course)


Add prometheus rule to aggregate AppCat billing data per cluster

Summary
This will add a recording rule which is slightly different between appuio managed and appuio cloud. There's a new flag to handle this.
If the cluster is APPUiO Managed then the recording rule will get the customer's ID hardcoded into the rule.
If the cluster is APPUiO Cloud, then the rule will use the provided organization information.
Additionally, the query has been reworked so it's generic. It's now able to query all current and future AppCat services as long as the namespace where it's deployed contains a label of the pattern label_appuio_io_billing_name=~"appcat-.+".
Example output of the rule with a postgres and redis instance:

Checklist

[x] The PR has a meaningful title. It will be used to auto generate the
changelog.
The PR has a meaningful description that sums up the change. It will be
linked in the changelog.
[x] PR contains a single logical change (to build a better changelog).
[x] Categorize the PR by adding one of the labels:
bug, enhancement, documentation, change, breaking, dependency
as they show up in the changelog.
[x] Link this PR to related issues or PRs.

I've added a screenshot with an output example for redis and postgresql.


V2.3 Tour Doesn't Work

Please view this tour (using API method): http://chrusion.com/tmp/RWR_Tour_EQ.html
Notice that SCENE hotspot links do not work. Cursor changes to an arrow, instead of a pointer finger on mouse over of the hotspot icon. The title of the next scene does appear on mouse over, but the arrow icon is not "clickable," as in, clicking it does nothing... the viewer does not load the next image defined in the scene (yes, the /path/filename is valid (all files are in the root folder).
I've reviewed and scanned over the json syntax in the

The correct key for specifying the hot spot scene ID is sceneId not sceneID; your capitalization is wrong (and JSON is case sensitive).

Oh, Wow! How did I miss that? Thank you very much. Now works.

Doh! Thanks for catching that... works perfectly now! Now that I have all 8 panos linked, the fun begins in getting coordinates for all the hotspots and implementing other features offered in the API.

Just ran into this problem and found this thread, thanks for the answer!


Create Muhammad-Bin-Naeem

Adding file according to the given instructions.

The CLA and has been signed and updated.

CLA wasn't signed. Closing and trying again after signing.


Handling Wrapped Arrays Correctly

[x] SubArray
[x] Adjoint
[x] Transpose
[x] Diagonal
[x] WrappedReshapedArray
[x] PermutedDimsArray
[ ] LowerTriangular
[ ] UnitLowerTriangular
[ ] UpperTriangular
[ ] UnitUpperTriangular
[ ] Tridiagonal
[ ] Symmetric
[ ] WrappedReinterpretArray

For each of this we need 2 functions:

materialize_traced_array - This unwraps all wrappers and generates a TracedRArray
set_mlir_data! - Set the mlir_data field for the ancestor

isn't this materialize_traced_array the same as calling collect on the wrapped arrays? maybe we could overload Base.collect for that

collect always returns an Array for dense types as well
julia> collect(JLArray(rand(3)))
3-element Vector{Float64}:
 0.6608065357704661
 0.47618948352793733
 0.6460190608019499


Compile undefined

Hello I want to compile this plugin from source but I can't seem to fix these;
The constructor CacheTool(PistonChat) is undefined
The constructor IgnoreTool(PistonChat) is undefined
The constructor HardIgnoreCommand(PistonChat) is undefined
The constructor HardIgnoreCommand(PistonChat) is undefined
The constructor SoftIgnoreCommand(PistonChat) is undefined
The constructor SoftIgnoreCommand(PistonChat) is undefined
The constructor WhisperCommand(PistonChat) is undefined
The constructor WhisperCommand(PistonChat) is undefined
The constructor ReplyCommand(PistonChat) is undefined
The constructor ReplyCommand(PistonChat) is undefined
The constructor LastCommand(PistonChat) is undefined
The constructor LastCommand(PistonChat) is undefined
The constructor IgnoreListCommand(PistonChat) is undefined
The constructor IgnoreListCommand(PistonChat) is undefined
The constructor ToggleWhisperingCommand(PistonChat) is undefined
The constructor ToggleWhisperingCommand(PistonChat) is undefined
The constructor ToggleChatCommand(PistonChat) is undefined
The constructor ToggleChatCommand(PistonChat) is undefined
The constructor ChatEvent(PistonChat) is undefined
From the source file at release
Some older version from May worked lovely

You may have issues with your maven setup. Next time please join my discord. Github actions works fine.


Pystache spacing on a single line was wrong

Added test for spacing around section tags on a single line. Fixed the problem indicated by the test: a section's contents were being left trimmed.
I'm not an expert at regex. I removed the part that matches white space, so now pystache leaves white space alone. Ideally, it should only touch the white space when a line contains only a mustache tag and nothing else. In such a case, it should delete the line and un-indent the encompassed lines by one level to maintain a nice indentation hierarchy.

Just wanted to include a link to the relevant portion of the spec:
- name: Surrounding Whitespace
  desc: Sections should not alter surrounding whitespace.
  data: { boolean: true }
  template: " | {{#boolean}}\t|\t{{/boolean}} | \n"
  expected: " | \t|\t | \n"

This request has been checked into the development branch.


How to make build for es5 and es6 browser from create-react-app ?

How to make build for es5 and es6 browser from create-react-app ?
(App will be more faster if we serve supporting build to browser there is no need to convert es6 to es5 if browser is support es6)
I saw Serving ES6 to modern browsers link:-(https://gist.github.com/newyankeecodeshop/79f3e1348a09583faf62ed55b58d09d9)
I want to do with different es5 broswer supoort es5 build and same as es6 support es6 build
how we can achieve or configuration is required.
Thanks In Advance
Cheers !!

There's https://github.com/facebook/create-react-app/pull/4964 that did some legwork towards it. I just reopened https://github.com/facebook/create-react-app/issues/3125 which was the original issue for this that got sadly locked by the stale-bot we had in use back then. We can continue discussion there :)


ListIssuesOptions missing 'in' property

I'm looking to be able to search issues by title only (as the descriptions can be quite long), but finding that the search is returning results that match the text in the description as well.
I found that the search can be limited to only the title with the in parameter. However, that is not yet provided in this client.
GitLab documentation: https://docs.gitlab.com/ce/api/issues.html#list-issues
ListIssuesOptions source: https://github.com/xanzy/go-gitlab/blob/v0.38.1/issues.go#L201
Not sure if that was intentionally excluded, or if it was accidentally missed. I don't see when it was added, so it may be new.
Happy to put together a PR if it's something that would be welcomed.

Hey! I'm not a maintainer here but can say from experience that GitLab actively develops their API so if something is not available in this package that the API supports (especially if it's documented in their API docs) then PR contributions are welcome

Full agree with @Starttoaster (thanks!). PR's, especially from documented APIs, are always welcome 👍🏻

Great! Thank you both for the feedback.
I'll get something together in the next day or two


Waiting for the dataset

Great work, I'll keep waiting your dataset!

Waiting for the dataset

Waiting for the dataset

waiting for dataset

waiting for dataset,too！

Waiting for the dataset + 1

can you check out the dataset now？

can you check out the dataset now？

Thanks for sharing the dataset.
Just check the STGAN images and I am just wondering: for a certain image, how can we find its authentic version, modified version, and the corresponding mask? The naming of images seems confusing to me.

Thank you for your sharing.

@zjbthomas sorry for the inconvience. before answering your question, please check the STGAN.txt in this link, which contains all manipulated/modified images we have used for training and validation. This txt file will be loaded by this line of code: https://github.com/CHELSEA234/HiFi_IFDL/blob/main/utils/load_data.py#L163. After that, I think you can understand how to find it corresponding masks. Lastly, I am not sure if I have release the authentic images, if I do not, you can simply find them in the public celebAHQ dataset.


Fixed a broken payment test (+ another small fix)

Test was referencing a local variable instead of calling the contract method.

As a sidenote, I believe the public getter payee(uint256) should be renamed payees(uint256).
The standard way to implement this would have been to declare a public variable payees as follows:
address[] public payees;

and then let the payees(uint256) getter be generated automatically.
But I can see that the implementation is as follows:
address[] private _payees;
function payee(uint256 index) public view returns(address) {
  return _payees[index];
}

I gather that this was not done so that contract variables could be _prefixed, but the public getter would be “clean”. However I think that at least the public getter should be named as it would have been named if there weren’t this “workaround.”

Regarding the naming of the getter, I think it was @elopio who made that call, and I agree with it. payees makes sense for an array variable, but payees(index) feels a bit weird to me, kind of looks like you're retrieving many of them.

Yes, despite payees[index] not feeling bad, payees(index) feels strange… but that’s how Solidity does it for public getters…

Yes, I was also wondering how the failed test had managed to go through!

Btw, regarding your naming suggestion, feel free to open an issue for us to discuss this, if you think it may be a source of confusion :)


Can't restart Phaser State when using DragonBones

Hello,
I am using DragonBones to animate some of my characters (e.g. wasps).
I would like to simply restart my game after the player killed all the "wasps" on the screen. What I do for now is simply:
    public onWaspDeath () {
        console.log("Dead Wasps: " + this._wasps.countDead());
        if(this._wasps.countLiving() <= 1){ // the currently killed wasp is not dead yet
            console.log("You killed all the Wasps!")
            this.game.sound.play("congrats");
            this.game.state.restart();
        }
    }

That lead to this error in Chrome:
Uncaught TypeError: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The provided value is not of type '(CSSImageValue or HTMLImageElement or SVGImageElement or HTMLVideoElement or HTMLCanvasElement or ImageBitmap or OffscreenCanvas)'
    at i.Image.s.Sprite._renderCanvas (phaser.js:15696)
    at a.s.Sprite._renderCanvas (phaser.js:15701)
    at i.Group.s.DisplayObjectContainer._renderCanvas (phaser.js:15072)
    at i.World.s.DisplayObjectContainer._renderCanvas (phaser.js:15072)
    at i.Stage.s.DisplayObjectContainer._renderCanvas (phaser.js:15072)
    at s.CanvasRenderer.renderDisplayObject (phaser.js:20563)
    at s.CanvasRenderer.render (phaser.js:20488)
    at Game.updateRender (phaser.js:36186)
    at Game.update (phaser.js:36102)
    at i.RequestAnimationFrame.updateRAF (phaser.js:64166)

I added a conditional breakpoint before the problematic function call, so that I can check the parameter passed to that function when the game restarts.

So basically, with this method, I could see what this.texture.baseTexture.source is returning just after I called this.game.state.restart().
Note that the problematic function renderSession.context.drawImage() in part of a loop that iterates over the objects to display.
Here the results:

At the third iteration, for some reason this.texture.baseTexture.source is null. That means that my third object to be displayed is null.
After trying to find out which object was that third object, I start to think that it might be the wasp that I animated with DragonBones...  So basically the wasp would load correctly when running the game, but it would fail to load when restarting the current phaser state.
Any body has already encountered a similar problem with DragonBones and Phaser?
Thank you very much for your help.

Ok so it seems that to write this issue help me to find a solution :)
I just need to add one line of code to reset the DragonBones factory:
    public onWaspDeath () {
        console.log("Dead Wasps: " + this._wasps.countDead());
        if(this._wasps.countLiving() <= 1){
            console.log("You killed all the Wasps!")
            this.game.sound.play("congrats");
            this._db_factory.clear(); // IMPORTANT CHANGE
            this.game.state.restart();
        }
    }

Hello, I have the same problem.
when restart my scene, my animation with Dragonbone not reset.


Add Prompt testing using a LLM testing suite

We need to enable our users to prevent having regressions on their prompt without noticing it clearly. In order to achieve this, we must implement a way for our users to run a test suite on their own test cases with a user set similarity score. This must be simply set and must be extensible to use beyond toml files.

https://github.com/confident-ai/deepeval?tab=readme-ov-file#writing-your-first-test-case
this week @lgabs shared this project with me, apparently we were able to use it to test our prompts

Yes, I saw the README on ragtalks and forgot to attach the link, thats the
library I was looking for.
On Sun, 7 Apr 2024 at 10:05 Avelino @.***> wrote:

https://github.com/confident-ai/deepeval?tab=readme-ov-file#writing-your-first-test-case
this week @lgabs https://github.com/lgabs shared this project with me,
apparently we were able to use it to test our prompts
—
Reply to this email directly, view it on GitHub
https://github.com/talkdai/dialog/issues/174#issuecomment-2041464624,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABGA2UYJKDWV5JV4VIOMKCLY4FADHAVCNFSM6AAAAABF25SA3CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBRGQ3DINRSGQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

Yeah, I couldn't study too much of llm evals, but I did check that the way the community seams to evaluate llms applications is using several standard metrics such that another llm evaluates the llm apppication outputs against expected results (this evaluator could even be a free local llm, for a task is much simpler).
I saved this Andre Ng short course to see soon, maybe it'll help   🤘

Also, I think it would be a good idea for us to use the same common dataset for local dev, and also for tests that depend on dataset (generate embeddings or even these llm evals), one idea is to download some one from hugging face like this [wiki_qa](https://huggingface.co/datasets/wiki_qa. What do you think? This would a new issue, of course.
These llm evals change a lot depending on the domain, so i think we could just make good documentation about how to add these tests without trying to write generic cases for all datasets.

So I was thinking on making it available for the developer to create new
test cases, not necessarily our software writing generic test cases.
Think of having just a single test case, instead of having to implement it
by yourself inside dialog, you can just write a new toml file that could
enable this feature.
On using other LLMs, I’m not aware on what should be implemented in those
cases, going to watch the video here to research more about this.
On Sun, 7 Apr 2024 at 10:36 Luan Fernandes @.***> wrote:

Also, I think it would be a good idea for us to use the same common
dataset for local dev, and also for tests that depend on dataset (generate
embeddings or even these llm evals), one idea is to download some one from
hugging face like this [wiki_qa](https://huggingface.co/datasets/wiki_qa.
What do you think? This would a new issue, of course.
These llm evals change a lot depending on the domain, so i think we could
just make good documentation about how to add these tests without trying to
write generic cases for all datasets.
—
Reply to this email directly, view it on GitHub
https://github.com/talkdai/dialog/issues/174#issuecomment-2041474214,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABGA2U2FJT2U72XBOKCJD63Y4FDVFAVCNFSM6AAAAABF25SA3CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBRGQ3TIMRRGQ
.
You are receiving this because you authored the thread.Message ID:
@.***>


Invalid roles in Welcome message

The RFC only allows for broker and dealer roles in the Welcome message but other roles are being added to the message via the constructor.
See: https://github.com/wamp-proto/wamp-proto/blob/master/rfc/draft-oberstet-hybi-crossbar-wamp.txt#L1685
This causes the Python Autobahn Welcome message class to throw a protocol error when receiving a Welcome from Thruway.
See: https://github.com/crossbario/autobahn-python/blob/master/autobahn/wamp/message.py#L812
I'm actually not sure if Autobahn Python is being too strict here of if Thruway should be enforcing roles per the RFC but I'm guessing the issue is with Thruway.
If we agree that Thruway should filter the roles in messages, I'd be happy to issue a pull request with a fix. Please specify if you would like it addressed only in the Welcome class or in the DetailsTrait.
One option is to add a method DetailsTrait::setAllowedRoles(array $roles = []) which could be called from each message constructor where the RFC specifies restricted roles. Then DetailsTrait::setDetails() could filter out invalid roles via its allowedRoles property.

@mbonneau It looks like my fix did not completely solve the problem. I ran into this issue again in AnonymousAuthenticator. The reason is because the authenticator sends a welcome message directly to the session rather than via the Realm.
A quick fix would be for me to add the role filter to the WelcomeMessage constructor but I still can't be sure that covers all corner cases. The setDetails() method seems to be the single point of entry for setting and filtering roles but that's a trait so trying to hook into that method could get ugly.
Thoughts?

@mikesoule Fixing it in the setDetails method of the WelcomeMessage is appropriate so that we catch all use cases. If you are willing, a PR would be appreciated.
Moving forward to the future I have filed this issue: https://github.com/voryx/ThruwayCommon/issues/1


Propose pip for installation.

I encountered a problem with python setup.py develop when trying to install the recent ray but somehow succeed with pip install -e .. Inspired by my unfortunate experience, I propose we also switch our installation method from setuptools to pip.
Technically, there are a few subtle advantages in pip install -e . over python setup.py develop, as described in the post below:
https://stackoverflow.com/questions/30306099/pip-install-editable-vs-python-setup-py-develop
This also seems to be the most used installation method in the community, so it is perhaps the standard.

Pull Request Test Coverage Report for Build 2334

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

Totals

Change from base Build 2309:
0.0%

Covered Lines:
7087

Relevant Lines:
8183

💛  - Coveralls


Better handling of event write errors in RUM

What does this PR do?
This PR improves any error handling in the write pipeline of RUM. Before, if there was any exception thrown inside writing pipeline which wasn't caught, or if write wasn't successful, we didn't notify that event wasn't written (or dropped, in other words). This prevented to decrease pendingXXX counters in RumViewScope, thus making isComplete to evaluate to false in such cases.
Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] Make sure you discussed the feature or bugfix with the maintaining team in an Issue
[ ] Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)

Codecov Report

Merging #1766 (3501939) into develop (b628685) will increase coverage by 0.14%.
Report is 14 commits behind head on develop.
The diff coverage is 92.01%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1766      +/-   ##
===========================================
+ Coverage    83.43%   83.57%   +0.14%
===========================================
  Files          469      470       +1
  Lines        16394    16432      +38
  Branches      2448     2450       +2
===========================================
+ Hits         13678    13733      +55
+ Misses        2048     2034      -14
+ Partials       668      665       -3

Files
Coverage Δ

...ndroid/rum/internal/domain/scope/RumActionScope.kt
97.11% <95.24%> (+0.60%)
:arrow_up:

...roid/rum/internal/domain/scope/RumResourceScope.kt
94.72% <95.42%> (+0.80%)
:arrow_up:

...kotlin/com/datadog/android/rum/utils/SdkCoreExt.kt
82.35% <82.35%> (ø)

.../android/rum/internal/domain/scope/RumViewScope.kt
94.44% <90.88%> (+0.50%)
:arrow_up:

... and 23 files with indirect coverage changes


Base root index.html

Description
Just an idea to have a visual guide. This does not really "fix" any issue or have a feature. It's more internal information.

Database Structures listed on the index page. Rough models. Will open new pull to continue working on models.


pageserver: persist configuration invariants

There are two configuration properties that should never be changed after first running a pageserver:

control_plane_api: if this changes, the pageserver will register itself with some other control plane endpoint, and might end with two control planes fighting to manage it.
id: the node ID of a pageserver shouldn't change over its lifetime.  This is legal in principle, but inefficient: changing ID would cause a pageserver to drop all its local content on /re_attach, and the controller will reject its registration attempts as long as some other node with the same hostname exists.

When deploying with a declarative configuration management system, it is relatively easy to make a mistake and modify one or other of these properties, resulting in "weird" situations that are hard to debug.
To improve the operational resilience of the system, we should store these invariants on the pageserver's local storage, and refuse to start up if the values in the pageserver config file disagree with the stored invariants, so that a configuration error becomes very obvious and explicit, rather than risking hard-to-diagnose behaviors.

In https://github.com/neondatabase/neon/pull/7766 the id moves out of config and into the identity file.  Since the identity.toml is written externally, we still need some file written by the pageserver itself that we can reasonably expect that deployment tools won't mess with.

Just discovered this issue. Let me paraphrase the idea:
Instead of having an explicit "--init mode" (which Vlad and I have been hard at work killing, final PR in that series is https://github.com/neondatabase/neon/pull/7766), you are proposing that PS have an implicit init mode where

if the storage is uninitialized, Pageserver duplicates the "must-be-immutable" key-value parirs into its storage
if the storage is initialized, Pageserver checks that the "must-be-immutable" key-value pairs in the config match those that were duplicated into its storage during initialization

Correctly understood?
Some additional thoughts on control_plane_api:

I can totally foresee us needing to change the control_plane_api url.
I think it would make more sense to have the notion of a control plane identity (say some random string). Send that in a header in each cplane request and make cplane check that the header is indeed its ID. Of course cplane would store that id in its storage.

I can totally foresee us needing to change the control_plane_api url.

Yes: this proposal doesn't prevent that, but it requires it to be done in a very explicit way: one can't just modify ansible config, one has to modify that and explicitly reset the invariants file.

I think it would make more sense to have the notion of a control plane identity

I can see the merit of that, although it would bring its own problems: e.g. if we needed to recover the storage controller state from S3 in a disaster, we'd still have to manually tell all the pageservers to forget the old ID.  The pageserver behaviour on a configuration snafu also becomes a bit less immediate (rather than terminating on startup if the URL is changed, we would get as far as talking to the "wrong" controller and then terminating when its ID doesn't match).


DSG constraints by world coordinates longitudes as West longitude returns an error

Making subsets using /X= /Y= on the PLOT command for DSG data isn't consistent.
yes? use WestCoastCarbon_profile_dsg
! this works correctly
yes? plot/x=-121.5:-120.5/y=33:35 pco2

This is the same region but returns an error
yes? plot/x=121.5W:120.5W/y=33:35 pco2
 **ERROR: illegal limits: "PCO2" does not exist at X=121.5W:120.5W
          Axis extremes are X=122.6188W(-122.6188):117.6313W(-117.6313

Timeseries examples work inconsistently
yes? use pmelTao5daySst_timeseries_dsg

yes? ! This is correct
yes? plot/x=120w:20w t_25

yes? ! There are profiles in this range, but we get an error and strange values
yes? ! for the valid range
yes? plot/x=-170:-150 t_25
 **ERROR: illegal limits: "T_25" does not exist at X=170W(-170):150W(-150)
          Axis extremes are X=2.5362W(-2.5362):7.4638W

Trajectory datasets do not show this issue.  (Testing data in the southern hemisphere also looks correct.)
yes? use socat_trajectory_dsg
yes? plot/x=170w:160w/y=55:65 temp

This is fixed in utl/confine_axis.F and new tests added to the benchmarks.


ENH: open_url() return type respects mode

Summary by Sourcery
Enhance the open_url() function to respect the mode parameter, allowing it to return the appropriate type based on the specified mode. Update the README.md to improve the layout by repositioning the project logo. Add tests to ensure the correct functionality of open_url() with different modes and compressed file handling.
Enhancements:

Ensure open_url() function respects the mode parameter, allowing for both binary and text reading modes.

Documentation:

Update README.md to reposition the project logo for better alignment.

Tests:

Add tests for open_url() to verify correct return type based on mode, including handling of gzip URIs and compressed file URIs.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>5
Details

5 of 5 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.005%) to 91.943%

Totals

Change from base Build<PHONE_NUMBER>5:
0.005%

Covered Lines:
32421

Relevant Lines:
35262

💛  - Coveralls


 :-)
Thanks for picking this up.

Making the change has (obviously) fixed the problem:
# ps ax
<snip>
  314 ?        S      0:00 /usr/bin/python3 /usr/lib/piaware/helpers/fa-mlat-client --input-connect localhost:30005 --input-type dump1090 --results beast,connect,localhost:30104 --results beast,listen,30105 --results ext_basestation,listen,30106 --udp-transport x.x.x.x:xxxx:xxxxxxxxxx
<snip>

Glad I could help (-:
While you're at it: when I enter the container and issue the command piaware-status, I guess it is missing pgrep. Do you want a new issue for that?

Nope, that's ok, I'll fix that under this issue too. :-)

Thanks!

Interestingly it looks like the fa-mlat-client issue is related to moving from Alpine to Debian, which happened on the 29th April 2020. Looking at my FlightAware My ADSB, I can see my MLAT dropped to 0 from 30th April onwards.

Blame: ebec3721f0ad69add4d052608a4a86279dc8d8d5

Just wondering: why are you using the MLAT client from mutability and not the one from FlightAware?

FlightAware appear to use mutability/mlat-client.
See: https://github.com/flightaware/piaware_builder/blob/66a92f1e4b267bb8113ff7ff0e3415b6c7f8a33d/sensible-build.sh#L89

OK, adding the procps package seems to have fixed piaware-status:
$ docker exec -it piaware piaware-status
PiAware master process (piaware) is running with pid 257.
PiAware ADS-B client (faup1090) is running with pid 304.
PiAware ADS-B UAT client (faup978) is not running (disabled by configuration settings)
PiAware mlat client (fa-mlat-client) is running with pid 301.
Local ADS-B receiver (dump1090) is running with pid 276.

socat (pid 250) is listening for ES connections on port 30005.
faup1090 is NOT connected to the ADS-B receiver.
piaware is connected to FlightAware.

dump1090 is producing data on localhost:30005.

Your feeder ID is xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx (configured at /etc/piaware.conf:1)

Great! A new build will be pushed to docker automatically?

I'm building it right now. amd64 & arm/v7 are done, just waiting on arm64...

nice

OK! mikenye/piaware:latest and mikenye/piaware:v3.8.1 have been built and pushed. Let me know how you go.

It's working!
Just switched from bare metal to docker on my Pi, I will let you know if I bump into other issues.

Yay. Thanks, please do. If you have Discord feel free to message me on there. mikenye#4103.


Ranks system in config for permissions

I've searched existing issues and couldn't find a duplicate.

[X] I confirm this is not a duplicate.

Is your feature request related to a problem? Please describe.
no it's QoL, just a suggestion
Describe the solution you'd like
Basically a config file where you could define ranks and ranks would have permission nodes, kinda like luckperms or powerranks

See #35, this is a duplicate.
We will probably be using SQLite as default and add an option to change the storage method later on.
(A "config file" is not suited for a large amount of permissions)

Sorry for being dumb!


Create SECURITY.md

@kgauravsh This should be going here https://github.com/pagesource/universal-react-docs

@all-contributors please add @kgauravsh for doc

Will merge this here -> https://github.com/pagesource/universal-react-docs


Once the video played and loop again it load the data again

Hi,
Thank you for share the awesome code!
Actually i have some problems with the code and need some your help.

Once the video played and loop again it load the same data again so it make the site slow.
Please see the attached images i checked using chrome developer tools's network. as you can see the same video file have loaded again and again. Video not caching ( i didn't check the 'Disable cache' on the network option)

I wanna put same video file but different section on the same page. (ex. main hero section and footer)
is there any way to load the video once and play two different section?

Please see attached video. now it load same video file twice time.

i'm look forward to hearing from you.
Many Thanks,
Subin

Check out the config of your web server. Vide does not manage the loading process.


Added tracking for objects that are referenced between summaries.

Fixes #7924.
This will help identify objects that transition from unreferenced -> referenced -> unreferenced between summaries. The unreferenced timestamp of these objects needs to be updated since a client could have added in-memory references to them. We will need to adjust the time to wait before delete accordingly.
This change does the following:

Every time a handle is parsed, the serializer notifies the root context (container runtime) of its URL.
During GC, get objects that have been referenced since the last GC run. Then find objects that transitioned from unreferenced -> referenced -> unreferenced between the last and the current GC run.
Reset the unreferenced timestamp of these objects.
The new timestamp will be added when the GC mark phase runs.

In this PR, the serializer updates the container runtime when a handle is parsed.
An alternate approach could be to save the decode handles in the serializer. Then expose an API that returns these handles. The container runtime can then get this information from each data store which gets it from its DDSs. We can either update the getGCData API to return this information or add a new API. This will keep the data localized to each DDS and make the implementation cleaner.

I might have missed it, but do we validate correctness by ensuring that new handles are actually noticed in ops?
I.e. that new route can't appear in summary # 2 if it was not present in summary # 1 and was not reported in ops in between these two summaries? I think it will be crucial to enforcing correctness of the system (and ideally test this mechanism in UTs)

In this PR, the serializer updates the container runtime when a handle is parsed.
An alternate approach could be to save the decode handles in the serializer. Then expose an API that returns these handles. The container runtime can then get this information from each data store which gets it from its DDSs. We can either update the getGCData API to return this information or add a new API. This will keep the data localized to each DDS and make the implementation / contracts cleaner.
Thoughts? @vladsud

I think the most important thing (no matter how we go about it) to clearly express expectations to data store developers on what is expected from them, when they implement interfaces (instead of using stock implementations). And in general, the more explicit the interaction ("you have to implement API X" vs. "you need to call a method on interface passed to you, if you do not, things will fall apart 30 days later") is better.
That said, I believe PR does save handles in serialize (indirectly, through handle context), no?


reduce capi rbac

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, use fixes #<issue_number>(, fixes #<issue_number>, ...) format, where issue_number might be a GitHub issue, or a Jira story:
Fixes #
Checklist

[ ] Subject and description added to both, commit and PR.
[ ] Relevant issues have been referenced.
[ ] This change includes docs.
[ ] This change includes unit tests.

/lgtm
/approve

/help

/retest

/retest

/retest-required

/retest

/unhold

/hold

/hold cancel
/retest-required

/retest-required

/hold
taking another look at this one

@KodieGlosserIBM @a-dsouza found the issue. The CAPI manager fails to delete the hostedcontrolplane when deprovisioning a cluster:
E0216 00:47:10.185291       1 controller.go:317] controller/cluster "msg"="Reconciler error" "error"="failed to delete hypershift.openshift.io/v1beta1, Kind=HostedControlPlane \"cewong-guest\" for Cluster \"cewong-guest-s59z2\" in namespace \"clusters-cewong-guest\": hostedcontrolplanes.hypershift.openshift.io \"cewong-guest\" is forbidden: User \"system:serviceaccount:clusters-cewong-guest:cluster-api\" cannot delete resource \"hostedcontrolplanes\" in API group \"hypershift.openshift.io\" in the namespace \"clusters-cewong-guest\"" "name"="cewong-guest-s59z2" "namespace"="clusters-cewong-guest" "reconciler group"="cluster.x-k8s.io" "reconciler kind"="Cluster"

@csrwng Thanks for the assistance--opened a new PR for this (#2173), so feel free to close this one!


[4.16rc1] Not able to uninstall plugins in Windows

🐛 Bug
When clicking on  button, "uninstall" legend shows up next to plugin name but plugin is not being uninstalled successfully
To Reproduce
Steps to reproduce the behavior:

Open napari 4.16rc1 in Windows
Click on Plugins -> Install/Uninstall Plugins menu
In opened modal, click on  button

Expected behavior
Plugin should show up now in "Available Plugins" section and no longer be listed in Plugins menu
Environment
napari: 0.4.16rc1
Platform: Windows-10-10.0.17763-SP0
Python: 3.8.13 | packaged by conda-forge | (default, Mar 25 2022, 05:59:45) [MSC v.1929 64 bit (AMD64)]
Qt: 5.12.9
PySide2: 5.13.2
NumPy: 1.22.3
SciPy: 1.8.0
Dask: 2022.05.0
VisPy: 0.9.6
OpenGL:

GL version: 4.5.0 NVIDIA 370.41
MAX_TEXTURE_SIZE: 16384

Screens:

screen 1: resolution 1691x989, scale 1.0

Plugins:

affinder: 0.2.3
bbii-decon: 0.0.1
console: 0.0.4
scikit-image: 0.4.16rc1
svg: 0.1.5

https://user-images.githubusercontent.com/63799148/167011044-ee62684c-7bbf-4e36-9028-27362b8dc8f8.mov

does this happen for all plugins?  or is bbii-decon the only one you've found so far?
does the status (bottom left) show any errors?

Yes, it happens with all plugins and no, no error on bottom left but i get the following error:
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Windows\\gen_py\\3.8\\__init__.py'

that's certainly intriguing... is there any more to that trace?

@tlambert03 this is the whole error:
Traceback (most recent call last):
  File "D:\Users\lmarcos\AppData\Local\napari-app-0.1\envs\napari-0.4.16rc1\Scripts\mamba-script.py", line 6, in <module>
    from mamba.mamba import main
  File "D:\Users\lmarcos\AppData\Local\napari-app-0.1\envs\napari-0.4.16rc1\lib\site-packages\mamba\mamba.py", line 53, in <module>
    from mamba.mamba_shell_init import shell_init
  File "D:\Users\lmarcos\AppData\Local\napari-app-0.1\envs\napari-0.4.16rc1\lib\site-packages\mamba\mamba_shell_init.py", line 8, in <module>
    from conda.core.initialize import initialize, initialize_dev, make_initialize_plan
  File "D:\Users\lmarcos\AppData\Local\napari-app-0.1\envs\napari-0.4.16rc1\lib\site-packages\conda\core\initialize.py", line 75, in <module>
    from menuinst._legacy.knownfolders import get_folder_path, FOLDERID
  File "D:\Users\lmarcos\AppData\Local\napari-app-0.1\envs\napari-0.4.16rc1\lib\site-packages\menuinst\__init__.py", line 4, in <module>
    from .api import *
  File "D:\Users\lmarcos\AppData\Local\napari-app-0.1\envs\napari-0.4.16rc1\lib\site-packages\menuinst\api.py", line 10, in <module>
    from .platforms import Menu, MenuItem
  File "D:\Users\lmarcos\AppData\Local\napari-app-0.1\envs\napari-0.4.16rc1\lib\site-packages\menuinst\platforms\__init__.py", line 20, in <module>
    Menu, MenuItem = menu_api_for_platform()
  File "D:\Users\lmarcos\AppData\Local\napari-app-0.1\envs\napari-0.4.16rc1\lib\site-packages\menuinst\platforms\__init__.py", line 6, in menu_api_for_platform
    from .win import WindowsMenu as Menu, WindowsMenuItem as MenuItem
  File "D:\Users\lmarcos\AppData\Local\napari-app-0.1\envs\napari-0.4.16rc1\lib\site-packages\menuinst\platforms\win.py", line 10, in <module>
    from win32com.client import Dispatch
  File "D:\Users\lmarcos\AppData\Local\napari-app-0.1\envs\napari-0.4.16rc1\lib\site-packages\win32com\client\__init__.py", line 11, in <module>
    from . import gencache
  File "D:\Users\lmarcos\AppData\Local\napari-app-0.1\envs\napari-0.4.16rc1\lib\site-packages\win32com\client\gencache.py", line 761, in <module>
    __init__()
  File "D:\Users\lmarcos\AppData\Local\napari-app-0.1\envs\napari-0.4.16rc1\lib\site-packages\win32com\client\gencache.py", line 62, in __init__
    Rebuild()
  File "D:\Users\lmarcos\AppData\Local\napari-app-0.1\envs\napari-0.4.16rc1\lib\site-packages\win32com\client\gencache.py", line 746, in Rebuild
    _SaveDicts()
  File "D:\Users\lmarcos\AppData\Local\napari-app-0.1\envs\napari-0.4.16rc1\lib\site-packages\win32com\client\gencache.py", line 73, in _SaveDicts
    f = open(os.path.join(GetGeneratePath(), "dicts.dat"), "wb")
  File "D:\Users\lmarcos\AppData\Local\napari-app-0.1\envs\napari-0.4.16rc1\lib\site-packages\win32com\client\gencache.py", line 153, in GetGeneratePath
    f = open(fname, "w")
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Windows\\gen_py\\3.8\\__init__.py'

Will take a look @lauramarcos, thanks for the report!

This is the same issue reported in #4247, which means that #4462 was not the fix we needed.

That said, I can only see one method that creates the mamba process... and that one is patched already. Maybe we should pass --no-shortcuts to the plugin install commands anyway. I'll see if a PR with those changes fixes it!

Will try that one. But I checked yesterday with rc1 and plugins where installing 🤔

Fix now available in #4520


Note preference for versioned URLs in CONTRIBUTING.md

This is the only place remaining in the documentation where we express a preference for unversioned URLs. Following #1021 and other conversations, we have reached a consensus that versioned URLs are preferred, and that unversioned URLs should be used only when no versioned URL exists.

Thumbs up from me.


Add Django 1.10 support

Made changes made necessary by Django 1.10:

Support new middleware API
Fix admin view paramaters
Update management command definition

Also split the tests involving model registry into their own app, effectively a separate suite. This prevents partially defined models from interfering with other tests.
Resolves #234, #237, #241, #248, #253, #257

Current coverage is 96.82% (diff: 96.72%)

Merging #259 into master will decrease coverage by 0.02%

@@             master       #259   diff @@
==========================================
  Files             9         12     +3
  Lines           445        567   +122
  Methods           0          0
  Messages          0          0
  Branches         56         66    +10
==========================================
+ Hits            431        549   +118
- Misses            7         11     +4
  Partials          7          7

Powered by Codecov. Last update 6580dde...7e9babe

I realized after I merged this I missed the documentation changes... Those will be coming shortly, and hopefully a release in the next couple days. The big blocker was getting tests in a stable state (there were race conditions with the model definition tests).


File processing only works when resque worker runs as root

Hi!
First of all, thanks for open sourcing Pageflow.
I'm in charge of setting up Pageflow for a university and so far I've managed to have it up and running.
The only problem that I have and with which I struggle currently is, that file processing (image and video, haven't tried audio so far) hangs** when I run the resque worker as a non-root user.
When I run the resque worker as root, image and video processing works fine, loading things up to S3, encoding things in Zencoder etc.
It seems that it's a permissions problem. So I fiddled around with permission in tmp/attachements, even gave it 777. However, it had no positive effect. When resque worker runs as a non-root user, file processing hangs (i.e. after the "Successfully uploaded" step the UI hangs at "Processing.". In the case of image processing there does not appear any log messages in jobs/production/resizing.log. When running resque worker as root, log messages appear in the resizing.log. The imagemagick convert command is also available for the non-root user in use. Email invitations (that are obviously sent asynchronously in the resque worker) for new users are also working when ran as non-root.
Are there any other directories the file processing jobs use and which would prevent processing if permissions are not setup correctly?
Cheers,
Robert

Hi!
Try installing the resque web interface in your application. Then you can check if the jobs are enqueued correctly or if there are any failed jobs. Have you checked that the Redis server is accessible for non-root users? Which user user is the Rails app running as?
Cheers
Tim

Hey, thanks for your quick reply @tf.
Just found the problem. Since I ran the resque worker task as root, the log files in log/jobs/production were owned by root. Then, when restarting resque worker task with a non-root user, the task was not allowed to replace the respective job log files (e.g. resizing.log) since they were owned by root.
Solution was to purge all log files in there and starting from a clean slate with the the non-root user :-)
Thanks again for you quick reply and for you guys open-sourcing it.
All the best,
Robert

You're welcome!
Robert Möstl<EMAIL_ADDRESS>schrieb am Do., 16. März 2017,
18:21:

Hey, thanks for your quick reply @tf https://github.com/tf.
Just found the problem. Since I ran the resque worker task as root, the
log files in log/jobs/production were owned by root. Then, when
restarting resque worker task with a non-root user, the task was not
allowed to replace the respective job log files (e.g. resizing.log) since
they were owned by root.
Solution was to purge all log files in there and starting from a clean
slate with the the non-root user :-)
Thanks again for you quick reply and for you guys open-sourcing it.
All the best,
Robert
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/codevise/pageflow/issues/732#issuecomment-287129651,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABnuikVxjq1NdITtPxtgzN_VCb0wlENks5rmW9vgaJpZM4MfjM3
.


Add ctor to BxConditional which initializes the value lazy

Expected Behavior
Using BxConditional is intuitive, because it allows specifying:
new BxConditional(
   true|false,
   () => new BxBlock("consequence", (1+1).ToString()) //this line will not be executed when condition is false
)

Actual Behavior
We can only specify:
new BxConditional(
   true|false,
   new BxBlock("consequence", (1+1).ToString()) //this line will always be executed because it is not lazily initialized
)

Mention any other details that might be useful
Steps to reproduce the behavior
The log given by the failure.

Duplicate.


Make message more helpful on failure of loading cluster default conf

Fix https://github.com/Alluxio/alluxio/issues/9309.
Add "Please make sure that Alluxio master is running" to error message

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/4285/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/4372/
Test PASSed.

alluxio-bot, merge this please.

alluxio-bot, cherry-pick this to branch-2.0 please.


fix logging issues as well as zipping issues

Problem
Errors are not being logged to the correct locations and zip files are not valid.
Solution
Change log location format to always append to the OS specific home directories in both locations where logging happens. Zips were not being passed the correct options as well as the finalize method needed to be called.
Closes #94

:+1:


operator .^ not defined

CAUTION.  This is an obvious problem and others apparently do not have it so it might be due to something in my environment or something I have done wrong.
When I try compile I get the error
./MatrixExponent.swift:39:13: Operator implementation without matching operator declaration
In ./Operators.swift I do not see a definition for ".^" nor have I found one elsewhere.  I solved my problem by making the following changes in ./Operators.swift
diff --git a/LASwift/Operators.swift b/LASwift/Operators.swift
index 71630e2..34cf140 100755
--- a/LASwift/Operators.swift
+++ b/LASwift/Operators.swift
@@ -6,6 +6,13 @@
 // This software may be modified and distributed under the terms
 // of the BSD license. See the LICENSE file for details.

+precedencegroup ExponentiationPrecedence {
+    associativity: right
+    higherThan: MultiplicationPrecedence
+}
+
+infix operator .^ : ExponentiationPrecedence
+
 infix operator .* : MultiplicationPrecedence
 infix operator ./ : MultiplicationPrecedence
 infix operator ./. : MultiplicationPrecedence

I am using macOS 10.13.6, Xcode 10.1 with Swift 4.2.  Yes I know it is a little old but my Power Mac doesn't support newer macOS.  I am building for a macOS (x86_64) command line app.  Because I didn't want to deal with the pods and test cases I have copied the sources into my own new Xcode project.  Once I made this change it compiled and seemed to work well.  I really like LASwift.
Why am I seeing this and no one else?  Did I loose something by creating a new project?  Do other versions of Swift either have the operator defined, have a default, or don't care?

In Apple Developer Doc - stdlib operators declarations I did not find the ".^" operator defined.  However, in Xcode 12.0.1 (Swift 5.3) I see the operator ".^" defined in
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/swift/Swift.swiftmodule/x86_64.swiftinterface
I traced this down to the stdlib source file swift/stdlib/public/core/SIMDVector.swift.  The ".^" operator was added about 2 years ago after Swift 4.2 and I think starting in Swift 5.0.
I did not research if the stdlib operator precedence for ".^" makes sense for LASwift.  I created a pull request that includes a change where I added a guard around an LASwift declaration of operator ".^" so this will compile with both Swift 4.2 and Swift 5.x (I only tested with Swift 5.3).

Looks like you've fixed it in your PR. Thank you

Looks like you've fixed it in your PR. Thank you


Get pin Info not work

Hi seregazhuk,
I tried this code:
$info = $bot->pins->info('393994667383919015');
print_r($info);
and the output is "1". It seems that something wrong. Right? Can you plz check it.

Hi, very strange. I have tried it now, and the output is following. Can you provide more details about your code? Or are you using the latest version of the lib?
Array
(
    [origin_pinner] => Array
        (
            [username] => AllieAlaska
            [first_name] => Genevieve
            [domain_url] =>
            [twitter_url] =>
            [domain_verified] =>
            [image_medium_url] => https://s-media-cache-ak0.pinimg.com/avatars/AllieAlaska_1444327826_75.jpg
            [explicitly_followed_by_me] =>
            [location] =>
            [full_name] => Genevieve Bolduc
            [indexed] => 1
            [verified_identity] => Array
                (
                )

            [image_small_url] => https://s-media-cache-ak0.pinimg.com/avatars/AllieAlaska_1444327826_30.jpg
            [followed_by_me] =>
            [type] => user
            [id] =><PHONE_NUMBER>32222868
        )

    [domain] => huffingtonpost.com
    [image_signature] => 64fa4a49228821b6e00221cd9eb7984a
    [like_count] => 0
    [images] => Array
        (
            [736x] => Array
                (
                    [url] => https://s-media-cache-ak0.pinimg.com/736x/64/fa/4a/64fa4a49228821b6e00221cd9eb7984a.jpg
                    [width] => 480
                    [height] => 480
                )

            [60x60] => Array
                (
                    [url] => https://s-media-cache-ak0.pinimg.com/60x60/64/fa/4a/64fa4a49228821b6e00221cd9eb7984a.jpg
                    [width] => 60
                    [height] => 60
                )

            [474x] => Array
                (
                    [url] => https://s-media-cache-ak0.pinimg.com/474x/64/fa/4a/64fa4a49228821b6e00221cd9eb7984a.jpg
                    [width] => 474
                    [height] => 474
                )

            [600x315] => Array
                (
                    [url] => https://s-media-cache-ak0.pinimg.com/600x315/64/fa/4a/64fa4a49228821b6e00221cd9eb7984a.jpg
                    [width] => 480
                    [height] => 315
                )

            [564x] => Array
                (
                    [url] => https://s-media-cache-ak0.pinimg.com/564x/64/fa/4a/64fa4a49228821b6e00221cd9eb7984a.jpg
                    [width] => 480
                    [height] => 480
                )

            [236x] => Array
                (
                    [url] => https://s-media-cache-ak0.pinimg.com/236x/64/fa/4a/64fa4a49228821b6e00221cd9eb7984a.jpg
                    [width] => 236
                    [height] => 236
                )

            [136x136] => Array
                (
                    [url] => https://s-media-cache-ak0.pinimg.com/136x136/64/fa/4a/64fa4a49228821b6e00221cd9eb7984a.jpg
                    [width] => 136
                    [height] => 136
                )

            [orig] => Array
                (
                    [url] => https://s-media-cache-ak0.pinimg.com/originals/64/fa/4a/64fa4a49228821b6e00221cd9eb7984a.jpg
                    [width] => 480
                    [height] => 480
                )

        )

    [id] =><PHONE_NUMBER>83919015
    [price_currency] => USD
    [is_promoted] =>
    [description_html] => Lumberjack Cake
    [title] => Google Images
    [buyable_product] =>
    [comments] => Array
        (
            [bookmark] =>
            [data] => Array
                (
                )

            [uri] => /v3/pins/393994667383919015/comments/
        )

    [access] => Array
        (
        )

    [comment_count] => 0
    [board] => Array
        (
            [category] => other
            [is_collaborative] =>
            [layout] => default
            [description] =>
            [privacy] => public
            [url] => /dalechurch33/food/
            [image_cover_url] => https://s-media-cache-ak0.pinimg.com/custom_covers/200x150/393994736090160288_1462559037.jpg
            [pin_thumbnail_urls] => Array
                (
                    [0] => https://s-media-cache-ak0.pinimg.com/75x75/68/8a/15/688a1573b8c8dbf3544c0960a7f79ad1.jpg
                    [1] => https://s-media-cache-ak0.pinimg.com/75x75/64/fa/4a/64fa4a49228821b6e00221cd9eb7984a.jpg
                    [2] => https://s-media-cache-ak0.pinimg.com/75x75/47/26/fe/4726fe6f504374fff0a79e922d27d669.jpg
                    [3] => https://s-media-cache-ak0.pinimg.com/75x75/0f/9f/fb/0f9ffbba25c932b127b62476e7215b31.jpg
                    [4] => https://s-media-cache-ak0.pinimg.com/75x75/32/4c/b2/324cb27e8a95edf67f56c3eea829fc4d.jpg
                )

            [image_thumbnail_url] => https://s-media-cache-ak0.pinimg.com/upload/393994736090160288_board_thumbnail_2016-06-01-18-47-09_13574_60.jpg
            [access] => Array
                (
                )

            [owner] => Array
                (
                    [id] =><PHONE_NUMBER>09205480
                )

            [map_id] => pinterest.ijz1714i
            [followed_by_me] =>
            [type] => board
            [id] =><PHONE_NUMBER>90160288
            [name] => Food
        )

    [link_domain] => Array
        (
            [official_user] => Array
                (
                    [username] => huffingtonpost
                    [first_name] => Huffington Post
                    [domain_url] => www.huffingtonpost.com
                    [twitter_url] => https://twitter.com/HuffingtonPost
                    [domain_verified] => 1
                    [image_medium_url] => https://s-media-cache-ak0.pinimg.com/avatars/huffingtonpost_1443041980_75.jpg
                    [explicitly_followed_by_me] =>
                    [location] => New York, New York.
                    [full_name] => Huffington Post
                    [indexed] => 1
                    [verified_identity] => Array
                        (
                            [verified] => 1
                            [name] => huffingtonpost
                        )

                    [image_small_url] => https://s-media-cache-ak0.pinimg.com/avatars/huffingtonpost_1443041980_30.jpg
                    [followed_by_me] =>
                    [type] => user
                    [id] =><PHONE_NUMBER>0792274
                )

        )

    [type] => pin
    [method] => extension
    [has_bad_category] =>
    [attribution] =>
    [description] => Lumberjack Cake
    [price_value] => 0
    [liked_by_me] =>
    [show_personalize_field] =>
    [is_playable] =>
    [rich_metadata] =>
    [via_pinner] => Array
        (
            [username] => brookedmoran
            [first_name] => Brooke 🎀
            [domain_url] =>
            [twitter_url] =>
            [domain_verified] =>
            [image_medium_url] => https://s-media-cache-ak0.pinimg.com/avatars/brookedmoran_1445725875_75.jpg
            [explicitly_followed_by_me] =>
            [location] =>
            [full_name] => Brooke 🎀 Moran
            [indexed] =>
            [verified_identity] => Array
                (
                )

            [image_small_url] => https://s-media-cache-ak0.pinimg.com/avatars/brookedmoran_1445725875_30.jpg
            [followed_by_me] =>
            [type] => user
            [id] =><PHONE_NUMBER>00891338
        )

    [link] => http://www.huffingtonpost.com/entry/elizabeth-marek-lumberjack-plaid-cake_us_566ef89ee4b0e292150e9368
    [is_repin] => 1
    [rich_recipe_top_ingredients] => Array
        (
        )

    [buyable_product_availability] =>
    [pinner] => Array
        (
            [username] => dalechurch33
            [first_name] => Dale
            [domain_url] =>
            [twitter_url] =>
            [domain_verified] =>
            [image_medium_url] => https://s-media-cache-ak0.pinimg.com/avatars/dalechurch33_1396967626_75.jpg
            [explicitly_followed_by_me] =>
            [location] =>
            [full_name] => Dale Church
            [indexed] => 1
            [verified_identity] => Array
                (
                )

            [image_small_url] => https://s-media-cache-ak0.pinimg.com/avatars/dalechurch33_1396967626_30.jpg
            [followed_by_me] =>
            [type] => user
            [id] =><PHONE_NUMBER>09205480
        )

    [repin_count] => 0
    [tracked_link] => http://www.huffingtonpost.com/entry/elizabeth-marek-lumberjack-plaid-cake_us_566ef89ee4b0e292150e9368
    [created_at] => Thu, 02 Jun 2016 22:29:53 +0000
    [privacy] => public
    [dominant_color] => #867c77
    [place] =>
    [embed] =>
    [is_video] =>
)

Hi @seregazhuk ,
I just create a new folder, get the new code and run again. Surprisingly, it works like a charm. Maybe the reason come from the fact that I don't use the latest version of the lib. Thank you for your quick response!

Hello @seregazhuk ,
Can you please also support an option to register a business account: "https://business.pinterest.com/en"
Thanks,

Hi, @huuvu1109 !
Try this:
Register a business account. The last parameter with website url is optional:
<EMAIL_ADDRESS>'password', 'BusinessName');

<EMAIL_ADDRESS>'password', 'BusinessName', 'http://yoursite.com');

Convert your account to a business one. Requires log in. The last parameter with website url is optional:
$bot->user->convertToBusiness('businessName');

$bot->user->convertToBusiness('businessName', 'http://yoursite.com');

Thank you very much @seregazhuk ,
Pinterest also allows to pin from a local file in computer. I think it's nice feature. Can you please also support that. Something like:
$pinId = $bot->pins->create('filename.jpg', $boards[0]['id'], 'pin description', 'http://site.com');

@huuvu1109 fixed. Just pass a path to your file, instead of url:
$pinId = $bot->pins->create('image.jpg', $boardId, 'description');


prompt typo - not escaping the }

Description
Prompt.zsh file had a typo that would result in a } being left on the command line. this is due to the portion of the code
 if [[ "${ITERM_SHELL_INTEGRATION_INSTALLED:-}" == "Yes" ]]; then
    prompt="%{$(iterm2_prompt_mark)%}${prompt}%{$(iterm2_prompt_end)%}" # right here there was the '%' missing before the closing '}'
  fi

Screenshot

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


test: add unit test about jobset controller

Hello everyone, when I was studying the project, I found that the degree of unit testing was a bit low. I tried to add some unit testing code, hoping to help the project.
Add some unit tests about jobset controller. Improve overall unit test coverage

/ok-to-test
/cc

@danielvegamyhre Hello, thank you for your suggestion. What I'm thinking is that currently, there are quite a few methods that need unit testing. Can I raise an issue to track them and submit multiple pull requests? This way, it will be easier for the reviewers as well. I will close this pull request and submit a new issue to track the progress.

@danielvegamyhre Hello, thank you for your suggestion. What I'm thinking is that currently, there are quite a few methods that need unit testing. Can I raise an issue to track them and submit multiple pull requests? This way, it will be easier for the reviewers as well. I will close this pull request and submit a new issue to track the progress.

Yes that would be great


Unable to find corresponding quest assort unlock for quest

General information:
Project issue is for:
Server
Expected result:
Actual result:
Debug messages regarding missing quest assorts in server console upon loading into a profile:
[2024-02-04T00:05:23.027Z] debug: 	Unable to find corresponding PRAPOR quest assort unlock for quest: Gunsmith Part 6. Completing this quest will not reward a trader item for purchase
[2024-02-04T00:05:23.028Z] debug: 	Unable to find corresponding PRAPOR quest assort unlock for quest: Gunsmith Part 2. Completing this quest will not reward a trader item for purchase
[2024-02-04T00:05:23.028Z] debug: 	Unable to find corresponding PRAPOR quest assort unlock for quest: Sew it good Part 3. Completing this quest will not reward a trader item for purchase
[2024-02-04T00:05:23.028Z] debug: 	Unable to find corresponding PRAPOR quest assort unlock for quest: Calibration. Completing this quest will not reward a trader item for purchase
[2024-02-04T00:05:23.029Z] debug: 	Unable to find corresponding PRAPOR quest assort unlock for quest: Reconnaissance. Completing this quest will not reward a trader item for purchase
[2024-02-04T00:05:23.029Z] debug: 	Unable to find corresponding PRAPOR quest assort unlock for quest: Huntsman path Sell-out. Completing this quest will not reward a trader item for purchase
[2024-02-04T00:05:23.029Z] debug: 	Unable to find corresponding PRAPOR quest assort unlock for quest: Bad rep evidence. Completing this quest will not reward a trader item for purchase
[2024-02-04T00:05:23.030Z] debug: 	Unable to find corresponding PRAPOR quest assort unlock for quest: Bad rep evidence. Completing this quest will not reward a trader item for purchase
[2024-02-04T00:05:23.031Z] debug: 	Unable to find corresponding PRAPOR quest assort unlock for quest: Ice cream cones. Completing this quest will not reward a trader item for purchase
[2024-02-04T00:05:23.031Z] debug: 	Unable to find corresponding PRAPOR quest assort unlock for quest: Shootout picnic. Completing this quest will not reward a trader item for purchase
[2024-02-04T00:05:23.031Z] debug: 	Unable to find corresponding PRAPOR quest assort unlock for quest: Shootout picnic. Completing this quest will not reward a trader item for purchase
[2024-02-04T00:05:23.032Z] debug: 	Unable to find corresponding PRAPOR quest assort unlock for quest: Shaking up teller. Completing this quest will not reward a trader item for purchase
[2024-02-04T00:05:23.032Z] debug: 	Unable to find corresponding PRAPOR quest assort unlock for quest: Delivery from the past. Completing this quest will not reward a trader item for purchase
[2024-02-04T00:05:23.033Z] debug: 	Unable to find corresponding PRAPOR quest assort unlock for quest: The Punisher Part 6. Completing this quest will not reward a trader item for purchase
[2024-02-04T00:05:23.033Z] debug: 	Unable to find corresponding PRAPOR quest assort unlock for quest: Debut. Completing this quest will not reward a trader item for purchase
[2024-02-04T00:05:23.034Z] debug: 	Unable to find corresponding PRAPOR quest assort unlock for quest: Bunker Part 1. Completing this quest will not reward a trader item for purchase
[2024-02-04T00:05:23.034Z] debug: 	Unable to find corresponding PRAPOR quest assort unlock for quest: BP depot. Completing this quest will not reward a trader item for purchase
[2024-02-04T00:05:23.034Z] debug: 	Unable to find corresponding PRAPOR quest assort unlock for quest: The Punisher Part 1. Completing this quest will not reward a trader item for purchase
[2024-02-04T00:05:23.034Z] debug: 	Unable to find corresponding PRAPOR quest assort unlock for quest: The Punisher Part 1. Completing this quest will not reward a trader item for purchase
[2024-02-04T00:05:23.035Z] debug: 	Unable to find corresponding PRAPOR quest assort unlock for quest: Capturing Outposts. Completing this quest will not reward a trader item for purchase
[2024-02-04T00:05:23.035Z] debug: 	Unable to find corresponding PRAPOR quest assort unlock for quest: Energy Crisis. Completing this quest will not reward a trader item for purchase
[2024-02-04T00:05:23.035Z] debug: 	Unable to find corresponding PRAPOR quest assort unlock for quest: Easy Job Part 2. Completing this quest will not reward a trader item for purchase
[2024-02-04T00:05:23.036Z] debug: 	Unable to find corresponding PRAPOR quest assort unlock for quest: Search Mission. Completing this quest will not reward a trader item for purchase
[2024-02-04T00:05:23.036Z] debug: 	Unable to find corresponding PRAPOR quest assort unlock for quest: Regulated materials. Completing this quest will not reward a trader item for purchase
[2024-02-04T00:05:23.036Z] debug: 	Unable to find corresponding PRAPOR quest assort unlock for quest: Youve Got Mail. Completing this quest will not reward a trader item for purchase
[2024-02-04T00:05:23.037Z] debug: 	Unable to find corresponding PRAPOR quest assort unlock for quest: Glory To CPSU P2. Completing this quest will not reward a trader item for purchase

How to reproduce:

Launch server. Create profile and launch client. Tried Standard/BEAR and Developer/USEC, outcome same for both (note that it does not occur on first load to fresh profile, only subsequent times)
Upon reaching main menu exit both client and server
Launch server again. Launch client into same profile again. This time above debug messages appear in server console/log during profile loading

Screenshots:

Attachments

log_2024.02.04_0-16-56_<IP_ADDRESS>.28476.zip (10 KiB)
server-2024-02-04.log (31 KiB)
LogOutput.log (8 KiB)
image.png (227 KiB)

Originally written by R3

Looked into what some of these quests are supposed to unlock. According to the WIKI the following for example would unlock LL1 items for Prapor: BP Depot, Gunsmith - Part 2.
But these items appear to be already unlocked in the latest BE without completing the quest
It's possible that all these trader unlocks are available by default at the relevant loyalty levels and that's why they cannot be unlocked via quest reward (resulting in the console messages). Not sure if they are supposed to be unlocked though.

Originally written by R3

Fixed with: https://dev.sp-tarkov.com/SPT-AKI/Server/commit/2c4278cd962c4ac1a30fbf291bcee27ec6bc9a56

Originally written by chomp

Basic test with new questassorts file looks good!
No more assort-missing_quest_assort_unlock in the console/log (good) and the tweo LL1 items checked above were no longer available without the corresponding quest completion (good)

Originally written by R3

Confirmed fixed in BE build of Feb 5th. Closing issue. Thank you!

Originally written by R3


OPS-414/dock extension feature

Add dock micro-enviroment extension functionality
This is the first feature to be introduced a part of the dock
micro-environment work. It allows users to either create or update an existing image with
the necessary environment configuration to launch a project within dock.

Deliverables (following execution):
- a running container with (volume, port, env var, etc) configuration stored: functions as an extended micro-environment
- local image containing env var, volume, port, etc. config

Please ensure that the CHANGELOG and README are updated accordingly as well as bumping the "dock_version=" to 'unreleased'
We'll cut a v1.4 and tag it after this is merged.

roger that @z3usy, CHANGELOG and README have been updated accordingly

Actually, so there's a test that ensures the current version is in a proper format (i.e. [0-9]+.[0-9]+....) => so that's a no-go on setting the "dock_version=" to 'unreleased' without modifying tests. Seems like I can just bump the version in bin/dock at the same time we push the new version tags and changes to master though...

all copacetic, seems like the flow Shane employed should be good:
When merging changes into master:

update CHANGELOG with new change description but label as "master (unreleased)"
update README if necessary
leave version in bin/dock as previous

Following merge and when committing changes to master (in a separate release commit):

update CHANGELOG with new version
update version in bin/dock with new version
commit changes to master with tagging matching new version and commit message 'Release version " (e.g. git tag  -> git push origin master --tags)


More tutorials needed

The tutorials page needs some love. Leaflet has a lot of features, but there are tutorials for just a bunch of them.
We should spend some time converting some of the pages in the debug/ directory into tutorials/examples.
A non-comprehensive list:

[x] Complete newbie's guide to How To Use a Leaflet Plugin
[x] Image overlays (prettier version of image-overlay.html)
https://github.com/Leaflet/Leaflet/pull/8090
[x] Map bounds (with bounceAtBounds)
[x] Layer opacity
[x] WMS (with special attention to Leaflet/WMS nomenclature about the term "layer")
[x] Fractional zoom controls (prettier version of zoomdelta.html)
[x] setView, setZoom, fitBounds and flyTo (prettier version of zoompan.html)
[x] L.CRS.Simple
[x] Custom CRSs (using, for example, a map of the galaxy with galactic CRS)
[x] A primer on how to create Leaflet plugins (L.Class, L.Class.include vs L.Class.extend, etc)
[ ] Event propagation, and how to stop click events from reaching the map (this is going to be a FAQ)

From #3271:

[ ] Popular plugins (e.g. markercluster)
[ ] Async data loading (e.g. server-side geojson)
[ ] SVG markers (this might not be needed, if default markers are changed to SVGs)
[ ] Custom events, event propagation
[ ] Performance best practices (async Leaflet JS script loading, Performance-related content from FAQ)

[ ] Link to external tutorials (#1087)

[ ] How to dynamically reset the styles of Markers and CircleMarker and Polylines (setIcon, setOpacity, setStyle et al) (from #5084)

[ ] https://github.com/Leaflet/Leaflet/issues/8309

[ ] https://github.com/Leaflet/Leaflet/issues/7281

Suggestions from this thread:

[ ] Plugin tutorial: Fullscreen control (maybe add to/link from the mobile tutorial?)
[ ] Tutorial for posAnimation
[ ] "Security" guidelines

@IvanSanchez fantastic CRS tutorial, glad to see this being finally addressed!
Also see #3271 for previous discussion on tutorials.

Hi everyone.
I'm just discovering Leaflet, then i did this "Quick Start Guide". This is maybe stupid but, when you need to make sure that the map container has a defined height with :
#mapclass { height: 180px; }
that's not working. Because we did this before :

Just rename "mapclass" to "mapid" ? (For beginner, it's maybe more clear)
What do you think ?

Hmm, yeah, that's a bug in the tutorial — well noted! Would you want to fix this yourself and make a pull request? It's as easy as clicking "edit" on this file https://github.com/Leaflet/Leaflet/blob/gh-pages/examples/quick-start.md, making a change right in the browser and saving.

Ok thanks. Correction #4317 open !

Sorry for making that mistake and thank you for correcting it @Kayoku :)

The thing is having the most lovable API. You'll need an example for every piece of Leaflet. A couple of tutorials won't suffice. Running/forkable examples. After that tutorials will be a breeze. Promise, willing to resolve. So we can reference those while writing tutorials. Every layer needs to be covered. You can't expect people to grasp tutorials but you can state them the reference. If we'll have running examples for everything running all the versions i'll stfu for ever.

Replying to a comment about tutorials that was apparently removed by the author, I think eventually we would want, in addition to the current narrated tutorials, build a set of live examples for every feature, just like Mapbox does for mapbox.js. But meanwhile, the latter is a great resource, because 95% of the examples are not Mapbox-specific and can be used with Leaflet.

I hope it's alright for me to throw in and say I'd be happy to help with some of this docs/tutorial writing in the near future. I've been using leaflet a lot lately for a side project I'm working on and would love to help contribute to it eventually.

@ughitsaaron Absolutely! I'd love to see some pull requests for more examples/demos!
If you're working on something, just leave a comment about what your example is about, and submit a pull request (to the gh-pages branch) when done.
If you need any guidance on how to create a new example and edit the files needed, just ask.

Just noted that the tutorials page needs a refresh. There are many broken examples like this.

Hi there,
I have some spare time at the moment.
I can help with some of these tutorials, starting with investigating the boken ones.
Regarding the WMS example, it seems like the boundlessgeo demo service is no longer accessible.

I can write new tutorials for marker.cluster usage and Vuejs integration without using Vue2Leaflet (and possibly for React integration as well).
These tutorials would be more or less based on this demo: https://github.com/vncntcltt/airport-map
@IvanSanchez, @mourner, @ghybs: do you think it would be useful ?

These tutorials would be more or less based on this demo: https://github.com/vncntcltt/airport-map

Broken atm (https://vncntcltt.github.io/airport-map/)
Failed to load resource: the server responded with a status of 404 ()
vncntcltt.github.io/:1 Uncaught (in promise) SyntaxError: Unexpected token < in JSON at position 0```

These tutorials would be more or less based on this demo: https://github.com/vncntcltt/airport-map

Broken atm (https://vncntcltt.github.io/airport-map/)
Failed to load resource: the server responded with a status of 404 ()
Uncaught (in promise) SyntaxError: Unexpected token < in JSON at position 0

Yes sorry it's fixed.

I've done a lot of work with leaflet that requires async loading, what in particular would y'all want in an async tutorial?
I'm thinking:

extending createTile(coords,done) to load using fetched json data
importing google sheets, parsing its data and displaying it on a map
using webassembly modules for computationally expensive calculations (e.g. a pathfinder)

Any suggestions?

[ ] Popular plugins (e.g. markercluster)

Adding fullscreen control to that item would be nice, since the majority of internet users are on mobile. Perhaps it could be part of https://leafletjs.com/examples/mobile/.

Adding a tutorial for PosAnimation

[ ] A security guide that could explain one or more of the following, if needed:

Using CSP with Leaflet (similar to MapBox). A strict CSP is very useful for mitigating XSS (#6465, #7580)
crossOrigin
referrerPolicy
In the future perhaps, HTTP headers for Authorization: #7560

I would like to work on this issue. Can you please assign this to me?

@kalvakeerthi you can just make a PR , the issue is not needed to assigned to you.
What tutorials do you want to add?


Add 'init' command to .gitpod.yml

Having an init script allows Gitpod to run initialization commands ahead-of-time, even before you open workspaces (see Prebuilds).
Given that the Gitpod app focuses mainly on Prebuilds, I think maybe adding an init script can help make it work. 🤞

hey @jankeromnes nice seeing you here. Well, I reinstalled Gitpod, but uninstalled the app, and got preoccupied but I am installing it now/

Maybe when I tell, try reopening this PR to another branch of mine, since I can just push everything in one go.

Yup, installed and reopening this in another PR

Can you try reopening this?

Just making sure Gitpod gets synced.

wait @jankeromnes the install command has to be run inside the nextjs-blog folder! That was why I didn't add it. Maybe I will try this method, brb

Ah, you're right. In that case you can use a before:
tasks:
  - before: cd nextjs-blog
    init: npm install
    command: npm run dev

This solution works in all cases (when running just init, or both, or just command)

Hmm... Maybe you try adding this, it could be just Gitpod preventing me to do that but not you.


Cone/Cone and Cylinder/Cylinder collisions are not working when using ODECollisionDetector

Comment:
Currently it is disabled as it fails: https://github.com/conda-forge/dartsim-feedstock/pull/38#issuecomment-1554792029 .

Given what I learned in the past two days (https://github.com/conda-forge/gz-physics-feedstock/pull/24 and https://github.com/conda-forge/dartsim-feedstock/pull/60) I renamed the issue, and it is not only a test that was not passing, but an high level behavior difference that users may notice. My main guess is that the issue is due to some details of the libode build in conda-forge, but this needs to be investigated.
fyi @jslee02 this is problably the bug for which you had to disable testConeCone and testCylinderCylinder in the pixi CI upstream in dart.

I did some tests, and it seems that the problem is that the conda-forge's libode is compiled without ccd support, while Debian's libode is compiled with libccd. Compiling locally libode with ccd enabled, the dart test pass fine.

I recall that the tests also failed in the latest Archlinux. Probably it could be the same issue. Thank you for investigating this issue!


Refactor the instance registry

Currently the Server object of the instance registry does not only handle HttpRequests / Responses and marshaling, but it also contains data storage and business logic. This needs to be refactored before the in-memory storage can be replaced with an actual DB. Ideally we create a data access object as well as  a class holding the business logic.

Closed with #18


Rebase beta off main in preparation for release

Alaska Airlines Pull Request
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Summary:
Rebasing the beta branch off main to get it ready for release
Type of change:
Please delete options that are not relevant.

[ ] New capability
[ ] Revision of an existing capability
[ ] Infrastructure change (automation, etc.)
[x] Other - rebase

Checklist:

[x] My update follows the CONTRIBUTING guidelines of this project
[x] I have performed a self-review of my own update

By submitting this Pull Request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Pull Requests will be evaluated by their quality of update and whether it is consistent with the goals and values of this project. Any submission is to be considered a conversation between the submitter and the maintainers of this project and may require changes to your submission.
Thank you for your submission!
-- Auro Design System Team

Summary by Sourcery
Fix display issues with rerouted departure and arrival stations in the auro-flight component, update documentation for consistency, and enhance tests to cover the new display logic. Adjust ESLint rules to better handle magic numbers and array indexes.
Bug Fixes:

Fix rerouted departure and arrival stations to display correctly in the auro-flight component.

Enhancements:

Improve the handling of rerouted stations by adjusting the HTML structure to ensure proper display of line-through styling.

Documentation:

Update README.md to correct formatting and ensure consistent spacing throughout the document.

Tests:

Update tests for auro-flight-main to verify the correct display of rerouted departure and arrival stations.

Chores:

Modify ESLint configuration to adjust rules for ignoring magic numbers and array indexes.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.3 out of 4 committers have signed the CLA.:white_check_mark: jason-capsule42:white_check_mark: gusnaughton:white_check_mark: jordanjones243:x: semantic-release-botYou have signed the CLA already but the status is still pending? Let us recheck it.

:tada: This PR is included in version 2.8.0-beta.2 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add transient scope

Adding a class provider should allow two possible scopes: transient (default), and singleton. Singleton creates a single instance application-wide. Transient creates a new instance whenever it is requested.

Depends on GH-9


Faulty unicode handling with "Add Cursor Above/Below" leads to incorrect cursor positioning

Steps to Reproduce

Copy the following text into a blank document:

... ...
...a...
...7...
...✓...
...✗...
...▽...
...文...
...🤔...

Place your text cursor at the top line, somewhere after the middle character (e.g. at the end of the line).
Use the "Add Cursor Below" command (Cmd+Option+Down on Mac) to add a new cursor at every line in the document.

Expected Behavior
The cursors should all be perfectly vertically aligned on the same character boundaries.
Actual Behavior
The cursors on the lines with ✓, ✗, 文, and 🤔 are all shifted one character to the left:

This problem becomes more pronounced as the number of characters in the center are increased:

VS Code Version: 1.61.2
OS: macOS 11.6
Does this issue occur when all extensions are disabled?: Yes
Note: this is a re-submission of #135928, because that issue was incorrectly marked as a feature request rather than a bug. I suspect this is due to incorrect handling of unicode characters that span multiple code units, and have noted as such in the title.

I acknowledge that this is a limitation we have. This is also a problem with RTL, bidi text, or text with latin characters using a proportional font. The problem is that we want to support arrow up/arrow down for text outside of the viewport (e.g. adding multiple cursors at areas outside the viewport and then pressing arrow up/arrow down), yet we can only implement pixel offset based up/down movement on visible text. We can query the browser for character-level layout information only for the visible text.

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


A1C Calculator

Is your feature request related to a problem? Please describe.
Managing blood sugar levels and understanding their long-term impact can be challenging for individuals navigating diabetes management.
Describe the solution you'd like
Develop a user-friendly Google Chrome extension named "A1C Calculator" that allows users to instantly calculate their A1C at home and monitor their blood glucose levels with precision. This extension should provide a straightforward and convenient way for users to manage diabetes and gain better control over their health.
Describe alternatives you've considered
One alternative could be integrating the A1C calculation feature into existing health or diabetes management apps that users already use regularly. Additionally, users could have the option to customize their experience by setting reminders for regular blood glucose monitoring or accessing educational resources on managing diabetes.
Additional context
The goal of this feature is to simplify diabetes management by providing users with a comprehensive tool for calculating and monitoring their blood glucose levels at home. Completion of this feature can be evaluated based on user engagement metrics, such as the frequency of interactions with the extension and feedback on its effectiveness in aiding diabetes management. Additionally, monitoring any improvements in users' overall health and well-being while using the extension can help assess its impact on their diabetes management journey.

@Sulagna-Dutta-Roy  PLEASE ASSIGN ME THIS ISSUE

The same extension added as sugar Intake one

ok


Adding missing period

Several translations of the install page is missing a period at the end of one of its paragraphs. For example, from the English translation:

Rust is installed and managed by the rustup tool. Rust has a 6-week rapid release process and supports a great number of platforms , so there are many builds of Rust available at any time. rustup manages these builds in a consistent way on every platform that Rust supports, enabling installation of Rust from the beta and nightly release channels as well as support for additional cross-compilation targets

This PR adds the missing period.

r? @nikomatsakis
(rust_highfive has picked a reviewer for you, use r? to override)

Also, for full disclosure. I looked for something to fix so that I could open a PR and test if #1030 has been fixed. It has! 🎉

r? @ashleygwilliams

I asked highfive to reassign this since the "all" group of reviewers was recently changed.


File name contains spaces or. Cannot compile problem

Use gcc to write a C language program. If the program name is 01.hello.c, it can’t run, but if it’s 01hello.c
, it can run normally.

This doesn't seem like an issue with VS Code.


how does g:Lf_RootMarkers effect working directory?

vim or neovim?

[ ] vim
[x] neovim

Output of vim --version or nvim --version:
Output of :echo has("python"):
0
Output of :echo has("python3"):
1
Output of :echo &pythondll(only vim, not neovim):
Output of :echo &pythonthreedll(only vim, not neovim):
Output of :py print(sys.version):
Output of :py3 print(sys.version):
Output of :echo g:Lf_Debug_Cmd:
Output of :echo g:Lf_FilesFromCache:
Operating system:

[x] Linux
[ ] Mac OS X
[ ] Windows
[ ] Etc.

Configurations related to LeaderF in vimrc:

Describe your question, feature request, or bug.
I use follow code to detect git root in a vim plugin:
  let s:git_root = finddir('.git/..', expand('%:p:h').';')
I always keep my pwd but I found that when I set g:Lf_RootMarkers to mark a sub directory of pwd and search using Leaderf rg, finddir('.git/..', expand('%:p:h').';') will return the path relative to the sub directory indicate by g:Lf_RootMarkers but not the pwd. And at this time, I use :echo(finddir('.git/..', expand('%:p:h').';')), result is OK.
Is there some case that Leader rg lunch window using g:Lf_RootMarkers will effect finddir?
Steps to reproduce
Actual behaviour
Expected behaviour

Leaderf rg also uses g:Lf_WorkingDirectoryMode.


Connect-serviceFabricCluster fails after Certificate Swap with CertificateNotMatched

Service Fabric Runtime Version:
7.2.445.9590
Description: Error
After certificate rotation I tried to reinstall the local agent and I received the following error:
PS C:\Infrastructure\Scripts\LocalAgent26> .\LocalAgentCLI.exe Install .\localagent-config.json
Invoking ef6.exe database update --assembly OrchestrationService.DataModels.dll --connection-string "Data Source='xxxxx';Initial Catalog = 'xxxxx'; Integrated Security = True;  MultipleActiveResultSets=True"  --connection-provider Sys
tem.Data.SqlClient  --project-dir C:\Infrastructure\Scripts\LocalAgent26
LocalAgentCLI.exe Error: 0 : Exception System.AggregateException: One or more errors occurred. ---> System.Fabric.FabricServerAuthenti
cationFailedException: FABRIC_E_SERVER_AUTHENTICATION_FAILED: CertificateNotMatched ---> System.Runtime.InteropServices.COMException:
Exception from HRESULT: 0x80071C44
   at System.Fabric.Interop.NativeClient.IFabricClusterManagementClient12.EndGetClusterManifest2(IFabricAsyncOperationContext context)
   at System.Fabric.FabricClient.ClusterManagementClient.GetClusterManifestAsyncEndWrapper(IFabricAsyncOperationContext context)
   at System.Fabric.Interop.AsyncCallOutAdapter2`1.Finish(IFabricAsyncOperationContext context, Boolean expectedCompletedSynchronously
)
   --- End of inner exception stack trace ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at SetupInfrastructure.ServiceFabricApplicationSetupManager`1.<GetImageStoreParameters>d__25.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at SetupInfrastructure.ServiceFabricApplicationSetupManager`1.<Deploy>d__24.MoveNext()
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at LocalAgentCLI.Program.Main(String[] args)
---> (Inner Exception #0) System.Fabric.FabricServerAuthenticationFailedException: FABRIC_E_SERVER_AUTHENTICATION_FAILED: CertificateN
otMatched ---> System.Runtime.InteropServices.COMException: Exception from HRESULT: 0x80071C44
   at System.Fabric.Interop.NativeClient.IFabricClusterManagementClient12.EndGetClusterManifest2(IFabricAsyncOperationContext context)
   at System.Fabric.FabricClient.ClusterManagementClient.GetClusterManifestAsyncEndWrapper(IFabricAsyncOperationContext context)
   at System.Fabric.Interop.AsyncCallOutAdapter2`1.Finish(IFabricAsyncOperationContext context, Boolean expectedCompletedSynchronously
)
   --- End of inner exception stack trace ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at SetupInfrastructure.ServiceFabricApplicationSetupManager`1.<GetImageStoreParameters>d__25.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at SetupInfrastructure.ServiceFabricApplicationSetupManager`1.<Deploy>d__24.MoveNext()<---

Press any key to exit

The key word I discovered is CertificateNotMatched, but I still don't know where exactly it's going wrong!
I also tried to Connect-ServiceFabricCluster using the new certServerThumbprint to the service fabric cluster and it give the following error
PS C:\Infrastructure\Scripts> ###### connect to the secure cluster using certs
$ClusterName= "xxx.xxx.xxx.xx.xx.xxxx:19000"
$CertThumbprint= "xxxxxxx"

Connect-serviceFabricCluster -ConnectionEndpoint $ClusterName -KeepAliveIntervalInSec 10 `
    -X509Credential `
    -ServerCertThumbprint $CertThumbprint  `
    -FindType FindByThumbprint `
    -FindValue $CertThumbprint `
    -StoreLocation CurrentUser `
    -StoreName My

WARNING: Failed to contact Naming Service. Attempting to contact Failover Manager Service...
WARNING: Failed to contact Failover Manager Service, Attempting to contact FMM...
False
Connect-serviceFabricCluster : FABRIC_E_CONNECTION_DENIED: CertificateNotMatched
At line:4 char:1
+ Connect-serviceFabricCluster -ConnectionEndpoint $ClusterName -KeepAl ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [Connect-ServiceFabricCluster], FabricConnectionDeniedException
    + FullyQualifiedErrorId : TestClusterConnectionErrorId,Microsoft.ServiceFabric.Powershell.ConnectCluster

OS(Windows/Linux):
Windows Server 2016 Data Center
NB:   LocalAgent Version is 2.6.0
Assignees: /cc @microsoft/service-fabric-triage @zendu @anuragc617 @craftyhouse @Christina-Kang

Moved to internal thread

Moved to internal thread

This looks like application specific exe's/calls? Please open a support case though to help address the cert issue as I think that will help the most directly here.

This looks like application specific exe's/calls? Please open a support case though to help address the cert issue as I think that will help the most directly here.