Where can I find Sentinel-2 L1C data with cloud mask?

Hello, I am searching for Sentinel-2 L1C data and am looking only at the v1 API, since v0 seems to not have anything past 2021. Parameters:
bbox = [13.344999999999999, 24.415000000000003, 13.355, 24.425]
daterange = ['2022-03-10T07:33:00Z', '2022-03-10T11:33:00Z']

The item that comes back is a L1C item and the assets have href's that all are in sentinel-s2-l1c
api: https://earth-search.aws.element84.com/v1
collection: sentinel-2-l1c
S2A_33RUH_20220310_0_L1C

{'blue': <Asset href=s3://sentinel-s2-l1c/tiles/33/R/UH/2022/3/10/0/B02.jp2>,
 'cirrus': <Asset href=s3://sentinel-s2-l1c/tiles/33/R/UH/2022/3/10/0/B10.jp2>,
 'coastal': <Asset href=s3://sentinel-s2-l1c/tiles/33/R/UH/2022/3/10/0/B01.jp2>,
 'granule_metadata': <Asset href=https://roda.sentinel-hub.com/sentinel-s2-l1c/tiles/33/R/UH/2022/3/10/0/metadata.xml>,
 'green': <Asset href=s3://sentinel-s2-l1c/tiles/33/R/UH/2022/3/10/0/B03.jp2>,
 'nir': <Asset href=s3://sentinel-s2-l1c/tiles/33/R/UH/2022/3/10/0/B08.jp2>,
 'nir08': <Asset href=s3://sentinel-s2-l1c/tiles/33/R/UH/2022/3/10/0/B8A.jp2>,
 'nir09': <Asset href=s3://sentinel-s2-l1c/tiles/33/R/UH/2022/3/10/0/B09.jp2>,
 'red': <Asset href=s3://sentinel-s2-l1c/tiles/33/R/UH/2022/3/10/0/B04.jp2>,
 'rededge1': <Asset href=s3://sentinel-s2-l1c/tiles/33/R/UH/2022/3/10/0/B05.jp2>,
 'rededge2': <Asset href=s3://sentinel-s2-l1c/tiles/33/R/UH/2022/3/10/0/B06.jp2>,
 'rededge3': <Asset href=s3://sentinel-s2-l1c/tiles/33/R/UH/2022/3/10/0/B07.jp2>,
 'swir16': <Asset href=s3://sentinel-s2-l1c/tiles/33/R/UH/2022/3/10/0/B11.jp2>,
 'swir22': <Asset href=s3://sentinel-s2-l1c/tiles/33/R/UH/2022/3/10/0/B12.jp2>,
 'thumbnail': <Asset href=https://roda.sentinel-hub.com/sentinel-s2-l1c/tiles/33/R/UH/2022/3/10/0/preview.jpg>,
 'tileinfo_metadata': <Asset href=https://roda.sentinel-hub.com/sentinel-s2-l1c/tiles/33/R/UH/2022/3/10/0/tileInfo.json>,
 'visual': <Asset href=s3://sentinel-s2-l1c/tiles/33/R/UH/2022/3/10/0/TCI.jp2>}

However, if I look at some data from 2018:
bbaoi = [23.365000000000002, 28.525000000000002, 23.415, 28.575]
toi=['2018-09-05T06:54:44Z', '2018-09-05T10:54:44Z']

the item that comes back says it is L1C:
api: https://earth-search.aws.element84.com/v1
collection: sentinel-2-l1c
S2A_34RGS_20180905_0_L1C

but all the asset href's are sentinel-s2-l2a:
 'cirrus': <Asset href=s3://sentinel-s2-l2a/tiles/34/R/GS/2018/9/5/0/B10.jp2>,
 'coastal': <Asset href=s3://sentinel-s2-l2a/tiles/34/R/GS/2018/9/5/0/B01.jp2>,
 'granule_metadata': <Asset href=s3://sentinel-s2-l2a/tiles/34/R/GS/2018/9/5/0/metadata.xml>,
 'green': <Asset href=s3://sentinel-s2-l2a/tiles/34/R/GS/2018/9/5/0/B03.jp2>,
 'nir': <Asset href=s3://sentinel-s2-l2a/tiles/34/R/GS/2018/9/5/0/B08.jp2>,
 'nir08': <Asset href=s3://sentinel-s2-l2a/tiles/34/R/GS/2018/9/5/0/B8A.jp2>,
 'nir09': <Asset href=s3://sentinel-s2-l2a/tiles/34/R/GS/2018/9/5/0/B09.jp2>,
 'red': <Asset href=s3://sentinel-s2-l2a/tiles/34/R/GS/2018/9/5/0/B04.jp2>,
 'rededge1': <Asset href=s3://sentinel-s2-l2a/tiles/34/R/GS/2018/9/5/0/B05.jp2>,
 'rededge2': <Asset href=s3://sentinel-s2-l2a/tiles/34/R/GS/2018/9/5/0/B06.jp2>,
 'rededge3': <Asset href=s3://sentinel-s2-l2a/tiles/34/R/GS/2018/9/5/0/B07.jp2>,
 'swir16': <Asset href=s3://sentinel-s2-l2a/tiles/34/R/GS/2018/9/5/0/B11.jp2>,
 'swir22': <Asset href=s3://sentinel-s2-l2a/tiles/34/R/GS/2018/9/5/0/B12.jp2>,
 'thumbnail': <Asset href=s3://sentinel-s2-l2a/tiles/34/R/GS/2018/9/5/0/preview.jpg>,
 'tileinfo_metadata': <Asset href=s3://sentinel-s2-l2a/tiles/34/R/GS/2018/9/5/0/tileInfo.json>,
 'visual': <Asset href=s3://sentinel-s2-l2a/tiles/34/R/GS/2018/9/5/0/TCI.jp2>}

The final piece of this is that it looks like there is no cloud mask or quality layers coming back with the items. Are those not included? The items I've posted here have cloud cover of eo:cloud_cover of 0.097 and 0.0, respectively. I've tried downloading some L1C granules from Copernicus Hub and have noticed that a cloud layer seems to only accompany granules which do have cloud cover, and ones which do not, do not include that layer.
So my question has two parts:

is it planned to update the v1 catalog to ensure the items all point to the correct assets?
is it planned to include quality layers? and if not, is there a recommended way to retrieve that information using the same catalog? I can see reference to those layers in the granule_metadata asset if I hit the XML file, but unsure if I can get to it via the STAC item.

There's no plan right now to update the catalog to ensure the sentinel-1-l1c items are pointing to the right assets. Thanks for bringing this to our attention. As a workaround, those URLs will work if you point them at the bucket sentinel-s2-l1c instead of sentinel-s2-l2a. They're not actually valid sentinel-s2-l2a URLs, since the sentinel-s2-l2a URLs will also have the resolution as part of the path.
There's no plan to include the quality layers. The names of the quality layer files are regular, so if you take  the url for one of the assets (e.g., s3://sentinel-s2-l1c/tiles/34/R/GS/2018/9/5/0/B01.jp2), you can strip off the filename and add the quality layer suffix to get the full URL e.g., s3://sentinel-s2-l1c/tiles/34/R/GS/2018/9/5/0/qi/MSK_CLOUDS_B00.gml

Thanks @philvarner! So will we need to swap out sentinel-s2-l1c for sentinel-s2-l2a for all of our search results? that seems less than ideal. We're seeing this inconsistently across search results from 2022 onwards, e.g., S2A_33RUH_20220926_1_L1C, S2A_33QUG_20220926_1_L1C both return all sentinel-s2-l2a href's.

for now, yes, that's the workaround. I've started working on fixing the code that creates these items, so that will eventually fix these problems.


Cleanup wireguard reference manual

The remote access section of the reference manual (wireguard) was cleaned up to adhere to the style-guide. Added additional content for troubleshooting, and worked on clarifying potential points of confusion.
QA steps: Ran link-check and linter. Checked build output, no issues found with rendering.
This commit addresses FFTK-1704
This commit addresses FFTK-2794
This commit addresses FFTK-2954
Readiness

[x] Merge (pending reviews)
[ ] Merge after date or event
[ ] Draft

Overview
Checklist

[x] Run spelling and grammar check, preferably with linter.
[x] Avoid changing any header associated with a link/reference.
[ ] Step through instructions (or ask someone to do so).
[x] Review for wordiness
[x] Match tone and style of page/section.
[x] Run make linkcheck.
[x] View HTML in a browser to check rendering.
[x] Use semantic newlines.
[x] follow best practices for commits.

[x] Descriptive title written in the imperative.
[x] Include brief overview of QA steps taken.
[x] Mention any related issues numbers.
[x] End message with sign off/DCO line (-s, --signoff).
[x] Sign commit with your gpg key (-S, --gpg-sign).
[x] Squash commits if needed.

[x] Request PR review by a technical writer and at least one peer.

Comments
Feel free to suggest additional info or changes!

Docs for 9c093361ac3332bb8b7da9875c4551327a288a24 are browsable at: https://ci.foundries.io/projects/fio-docs/builds/2526/docs/artifacts/html/index.html

Docs for ea1f47a6b774019f9720cd6fafe815fbb681739e are browsable at: https://ci.foundries.io/projects/fio-docs/builds/2528/docs/artifacts/html/index.html

Docs for b82a5c94f9ea7adf05ff621db25bc2c747d5ea02 are browsable at: https://ci.foundries.io/projects/fio-docs/builds/2529/docs/artifacts/html/index.html


Videos/itesm are repeating after the 3rd item

Hello,
I am facing a weird behaviour. I have a list of 10 items/videos.  When you start the first item/video occupies the full screen. As you scroll, the second item is loaded, then the third item is loaded, but beyond 3rd items it is loading the 1st item in the list, then 2nd and so on. I am just just seeing the first 3 items duplicated until I hit the last position.
Why is this? I made a debug breakpoint and noticed that the onBindView is called 3 times only and is not called anymore as you scroll down or up. PLEASE PLEASE help a fellow developer
Here is my feedAdapter
@Override
    public VideoViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
        View view = LayoutInflater.from(context).inflate(R.layout.feed_rv_row, parent, false);
        return new VideoViewHolder(view);
    }

    @Override
    public void onBindViewHolder(@NonNull FeedAdapter.VideoViewHolder holder, int position) {
        final VideoPostResults videoPostResult = items_arr.get(position);
..
.
.
}

Here is my Viewholder
 public class VideoViewHolder extends ViewHolder implements ToroPlayer {

        PlayerView playerView;

        @Nullable public ExoPlayerViewHelper helper;
        @Nullable public Uri mediaUri;

        VideoViewHolder(View itemView) {
            super(itemView);
            playerView = itemView.findViewById(R.id.videoView);
        }

        @NonNull @Override
        public View getPlayerView() {
            return this.playerView;
        }

        @NonNull @Override
        public PlaybackInfo getCurrentPlaybackInfo() {
            return helper != null ? helper.getLatestPlaybackInfo() : new PlaybackInfo();
        }

        @Override
        public void initialize(@NonNull Container container, @NonNull PlaybackInfo playbackInfo) {
 if (mediaUri == null) throw new IllegalStateException("mediaUri is null.");
            if (helper == null) {
                DefaultBandwidthMeter bandwidthMeter = new DefaultBandwidthMeter();
                TrackSelection.Factory videoTrackSelectionFactory =
                        new AdaptiveTrackSelection.Factory(bandwidthMeter);
                TrackSelector trackSelector =
                        new DefaultTrackSelector(videoTrackSelectionFactory);
                LoadControl loadControl = new DefaultLoadControl(
                        new DefaultAllocator(true, 16),
                        GlobalVar.VideoPlayerConfig.MIN_BUFFER_DURATION,
                        GlobalVar.VideoPlayerConfig.MAX_BUFFER_DURATION,
                        GlobalVar.VideoPlayerConfig.MIN_PLAYBACK_START_BUFFER,
                        GlobalVar.VideoPlayerConfig.MIN_PLAYBACK_RESUME_BUFFER, -1, true);
                DataSource.Factory dataSourceFactory = new DefaultDataSourceFactory(context,
                        Util.getUserAgent(context, "Chirp"), bandwidthMeter);
                MediaSourceBuilder mediaSourceBuilder = MediaSourceBuilder.LOOPING;
                Config config = new Config.Builder().setLoadControl(loadControl).setDataSourceFactory(dataSourceFactory).setMediaSourceBuilder(mediaSourceBuilder).build();
                helper = new ExoPlayerViewHelper(this, mediaUri, null, config);

                helper.initialize(container, playbackInfo);
}

Offcourse I cut a lot of "non impacting code". But this is weird!! Can you suggest anything?
Thank you

Any comments? I am really struggling with this issue :(

@android4canada sorry did not see this issue.
if (helper == null) { }

Here you should only create the helper if it is not created yet.
helper.initialize(container, playbackInfo);

Must be called outside of the creation. Thinking that: if the ViewHolder is reused, but the helper instance is there, it will never be initialized for new data.
// I have no idea why the onBindView is not called, but it is not implemented by toro ...

Thank you for your response. Since the onBindView is not called upon scroll, it is making me think that that something with layouting of Toro. OnBindView gets called when layout is updated and visibility is changed. I actually put a break point inside the Container on child attached  and noticed that that the break point is being hit on every scroll but something seems to be blocking onbindview from being called and just loading the old view instead

I found the reason. You are right, it is not due to your library. It is due to the fact that I used the sample code which has "set stable Id" and it was not refreshing views. By removing it, it worked!

@android4canada good to hear that.


Extra Animation Tools

Describe the extension
Use this extension for various animation related things that can't be accessed or edited from events
Checklist

[x] Extension has a proper name and description.
[x] Extension has tags (for example: "platform, brick, breakable").
[x] All behaviors have a description.
[x] All functions (actions, conditions, expressions) have descriptions and proper sentences.
[x] I've followed (most of) the best practices listed on http://wiki.compilgames.net/doku.php/gdevelop5/extensions/best-practices
[x] I confirm that this extension can be integrated to this GitHub repository, distributed and MIT licensed.

Example
realExtraAnim.zip
Extension file
stuffAnimExtra.zip
Sorry that I used some stuff with "_" in front of them. I will update the extension if any of them change or don't work :)

oh ok, you can close this if you want to

btw, is there any alternative way of doing this?


Fail with descriptive message when no EMS

When no EMS is associated with a VM or template, the provision request
fails with a non-descriptive message. Such case might happen when the VM
or template were removed from the provider side, but still exist as
archived on vmdb. The purpose of the PR is to provide a clear failure
message when there is no EMS.
https://bugzilla.redhat.com/show_bug.cgi?id=1471124

@gmcculloug please review

 Bug 1471124 - Delete a Template in RHEV that a Catalog uses, no indication in logs or UI when Catalog Ordered

Fine backport details:
$ git log -1
commit 172f4eb59262d84195a4dbe7f4910f41d029973a
Author: Greg McCullough<EMAIL_ADDRESS>Date:   Tue Aug 15 08:00:35 2017 -0400

    Merge pull request #15807 from masayag/fail_when_vm_or_template_has_no_ems

    Fail with descriptive message when no EMS
    (cherry picked from commit fa24dfff1fec419b88fb47c531c808aca3f35d89)

    https://bugzilla.redhat.com/show_bug.cgi?id=1481845


Add version: Malwarebytes.Malwarebytes version <IP_ADDRESS>6

Created by 🥟 Dumplings in workflow run #5626.

Log
Submitting WinGet manifests
Found existing pull requests:
Update: Malwarebytes.Malwarebytes version <IP_ADDRESS>6 - https://github.com/microsoft/winget-pkgs/pull/156432
This task is configured to ignore existing pull requests
Creating manifests
Uploading manifests and making commits
Creating a pull request

Microsoft Reviewers: Open in CodeFlow

Hi @SpecterShell,
This manifest adds Apps and Features entries that aren't present in previous PR versions. These entries should be added to the previous versions, or removed from this version.
(Automated response - build 883.)


if - block

I extended the if-block

its working as the if block in real code.
@TODO: moving else-if tree node order doesn't work

This doesn't work correctly. Adding else if or else sometimes adds nothing. Other times replicates the If statement & other times adds multiple lines.

confirmed: new else/else-if created won't show up, currently you need to run the File/Reload on this grids.

fixed in next release


Added multiple speech types generation

I added a new "Emotional Text-to-Speech Generation" feature to the Gradio app, which lets users upload different audio clips for various speech styles.
The feature includes options to dynamically add and remove custom speech types. For example, users can upload reference audios for emotions like Regular, Whisper, Scream, Angry, Sad, Surprised, and more. Each type includes a reference audio, text input, and a delete option for easy management. You can also add new speech types using the "Add Speech Type" button.
To ensure smooth functionality, I implemented input validation that disables the "Generate Emotional Speech" button if the text contains emotions not defined by the user. The input text format looks like (Emotion) Text, and the system will generate speech based on the audio associated with that emotion. If no emotion is specified, it defaults to "Regular."
Throughout this process, I made sure everything stays consistent with the existing TTS and Podcast generation features for seamless integration into the app.

Thanks !

@jpgallegoar seems missing parse_emotional_text in gradio_app.py, maybe you could help with it

@jpgallegoar seems missing parse_emotional_text func in gradio_app.py, maybe you could help with it

I'm very sorry, don't know how that slipped. I added it back in a new PR


Multiple Terminal Options in UI

Currently, the setting "terminal.integrated.shell.windows": sets only one terminal (command prompt, PowerShell, bash, etc.) for any file type.
I would like to add multiple terminals in the settings, bound to languages or file extensions, and one default terminal.  I can set it so when I open the terminal while editing a .ps1 file, the terminal is PowerShell.  When editing a .sh file, it opens bash.  When editing a .py file, it could even open ipython.  These could be the default terminals set in settings, but the UI could have a dropdown with all configured terminals to choose from.
I'm getting along just fine with PowerShell as my one terminal, and launching ipython within PowerShell, but I think more terminal options in the UI would be nice.

Duplicate https://github.com/Microsoft/vscode/issues/45444


Post similarity

This script scans the autoinst-log.txt in the testresults directory. Then it finds the error messages in the autoinst-log.txt. To avoid double computing, it saves some results in a JSON file.  Next, it uses Levenshtein to calculate the text distance. Finally, it posts the results as comments by OpenQA_Client. I have converted the .pkl file into a JSON file for readability. I also changed some codes to minimize the use of walking.

We usually only merge PR branches on master but not the other way around. So please rebase your branch against master (instead of merging it with master). There shouldn't be a merge commit on your branch.

We usually only merge PR branches on master but not the other way around. So please rebase your branch against master (instead of merging it with master). There shouldn't be a merge commit on your branch.

Do you mean I should combine my commits by rebase？

Do you mean I should combine my commits by rebase？

"combining" (which is actually called "squashing" in Git) via rebase is something we can do as well via GitHub. So you don't necessarily need to squash your commits. That's the option mentioned in my last paragraph.
If you want to keep your commits separate, then you'll have to improve them. That's what the first few paragraphs of my last comment are about. And yes, getting rid of the merge commit means rebasing against master (but not necessarily squashing all commits).

If you want to keep your commits separate, then you'll have to improve them.

So every commit should represent a complete thing?

Not necassariy. However, the commit messages should be clear in the context of this repository. And e.g. "Add help text" is not very clear as it is not clear to which script it relates. And again, there shouldn't be a merge commit on the branch.

Adding the not-ready label as we might want to squash commits because there's still a merge commit on this branch and commit messages are quite unspecific in the context of this repository (as it is not clear to which script they belong).

Do you mean I can use "git rebase -interactive" to squash commits after improving commits?

No, you use "git rebase -interactive" to improve commits. And if you don't then we can squash commits automatically on merge via GitHub.

https://akemiiii.github.io/2022/09/08/GSoC-project/ is the related GSoC project report


Update Claim payments

Looks like this will require significant redesign?
https://www.notion.so/hulking-cosmos-3e8/Q4-2024-QA-Requirements-13e2ee9c5bc280a88458e7a935d17488?pvs=4#13e2ee9c5bc28095b5f1db4b81532500

As I am interpreting this feedback, which touches on basically every part of the component, this is a call for a redesign.

@DarksightKellar Withdraw component updated: https://www.figma.com/design/ur5hElxplkmlY9gnGKlwrm/Components-%26-Styles---Decent-Design-System-1.1.1?node-id=5254-726&t=BHknyzHTt8zKAEKz-4


\ vs \\  in depfile

my testing on windows suggests that the example mentioned in the readme
layers:
  - name: Foo
    collectors:
      - type: implements
        implements: 'App\SomeInterface'

does not work.
it works after adjusting it to
layers:
  - name: Foo
    collectors:
      - type: implements
        implements: 'App\\SomeInterface'

is this a windows only issue? is the example in the readme wrong?

The issue is not caused by windows this time but by YAML. The examples for implements etc. are all incorrect those backslashes need to be replaced with \\.

I see, PR incoming.

@clxmstaab Are you sure that you used single and not double quotes?

 Can you try following
layers:
 #...
 - name: Behat
    collectors:
      - type: className
        regex: ^Behat\\.*
ruleset:
  FeatureTest:
    - Behat

thx for your feedback guys, really appreciate it.
I created a minimal repro for my problem:
https://github.com/clxmstaab/deptrac-issue508
behat does not report the wrong dependency from FeatureTest on Integration..

https://github.com/clxmstaab/deptrac-issue508 -> 404

sorry, its public now.

I created a PR with a solution https://github.com/clxmstaab/deptrac-issue508/pull/1

you are right guys, that adding the double backslashes was not correct.
it turns out there were other problems within out config which were unnoticed.
it feels like there is some kind of underlying UX/DX issue, as its pretty easy to configure things wrong but don't be aware of it.

Would be https://github.com/qossmic/deptrac/issues/327 a possible solution to improve DX/UX?

I guess having a list/visualization of which classes are part of which layer - like described in the linked issue - could be helpful.


A new example that shows how to integrate Python plugins that use pyclasses into a Rust app

Example showing integration of a Python plugin into a Rust app while having option to test pyclass based API without the main app.  This also illustrates some aspects related to import of Python modules into a Rust app while also having an API module available for the Python code to be able to produce Rust objects.
CI seems to fail on my local machine for reasons unrelated to the example just added:
error: unused macro definition: `check_struct`
  --> pyo3-ffi-check/src/main.rs:13:18
   |
13 |     macro_rules! check_struct {
   |                  ^^^^^^^^^^^^
   |

Thanks for the PR!
You are welcome, I figured if it took me 2 days to figure this out, it may be worth sharing. Also PyO3 is awesome =)

This PR uses the word "plugin" a lot. What does it mean? If you mean "extension module", you should call it that, not "plugin". We don't call it that anywhere, so this is very likely to confuse readers, and it confused me too until I realized you meant extension module (I think).
By plugin I mean a literal plugin you'd put in a bigger application. Specifically, if you are building something like blender video editor, you would want to have the "main" application in rust, but then also have some scripting API as well. For that to work, you would normally want to define a bunch of your application-specific interface classes, such that Python plugins can construct complex objects (in example it is the Gadget pyclass) and then pass them into the Rust code. It is much more efficient than parsing complex data structures from Python classes, and also allows you to test the interface properly before integration into the main app.

I'm also not sure this is the correct approach. Personally I'd update the existing examples - just put this at the bottom of their lib.rs:
#[cfg(test)]
mod tests{
    #[test]
    fn test_module(){
         // make module
         // call module etc
    }
}

This could be added to maturin new too.
There are two advantages to this:
* When users create their first python module, they won't have to figure out how to test it. It will just be there

* Putting it in lib.rs (or anywhere else in the crate) allows users to access _crate_ private things. `main.rs` does not let you do this.

What do you think?

This will only work with custom build configuration (as in my build_extmod.sh) to make the actual plugin. With the way linking is set up with Python you can not have both tests and extension modules working at the same time. Though it is a "larger issue" in some sense.

Depending on what you guys decide on w.r.t. the plug-ins-versus-better-testing angle, I think it should be stressed that while putting the plug-in API in a separate crate and testing plug-ins this way is possible, it is not possible to build the plug-in API/host separately from the main application, i.e. it currently needs to be linked statically into the main application to keep their ABI compatible.

That is very much true, and is a fundamental limitation of Rust toolchain at the moment. Not sure if such remarks belong in the example though, but feel free to suggest where they would go.

No rush here=) Thanks for the suggestions, I think your description is quite well fitting, and indeed way shorter.

bors r+

Not sure what bors is unhappy with... Any ideas?

bors retry

There's a compatibility issue with our test suite on 3.11.1 (#2817) so we're using 3.11.0 for testing at the moment (3.11.2 should fix this). I think we just hit a rate limit with all the bors tests running!


Create chirec.txt

Add Chirec International School

@vinayga2 First stage of verification passed, official domain for CHIREC International School, Hyderabad is chirec.ac.in as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@vinayga2 Pull request merged. Please start requesting the licenses in about an hour, to let the changes to propagate through our system. Thank you.


[Bug] Not available for Windows

no exe file is present for download

came to say this as well

Hoping to find out where to download the update for windows.

calm down i just forgot to build one!


Fix cuSOLVER devInfo dtype in inv and unify how those are specified

Fixes the dtype of devInfo in inv and style (aligned to numpy.int32 which was most common among existing ones).
Note that this is not a bug in inv purely because this device info is only written to and never read from. You'd get garbage values from it.

Jenkins CI test (for commit aec1ea5e290a968cbbb600d054158941d294013c, target branch master) failed with status FAILURE.


Readme language icons

I like using the icons, but let's roll it into my upcoming README update and think about the formatting a bit more.


[Question] problem with delta parameter of savgol_filter() function of scipy.signal?

Hello. I'm not too expert on data analysis but I'm having some problem with the savgol_filter() function from scipy.signal.
I'm trying to use the Saviztky-Golay filter with differents delta's (delta=1.0, delta=2.0, delta=3.0 for instance) but I've noticed that this parameter is dividing the values obtained from Saviztky-Golay filter by the delta value, and this isn't the expected behavior of delta parameter. I've compared the data obtained using savgol_filter() function with data obtained from a statistics software and they don't fit. So, I tried to make some tests to understand what is wrong with the filter.
The documentation says:
delta : float, optional

The spacing of the samples to which the filter will be applied. This is only used if deriv > 0. Default is 1.0.

And the derivative definition is:

So, the expected behavior of delta parameter is make the subtraction of two points. If my series is like this:
x = [212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223]
y = [0.450, 0.460, 0.470, 0.475, 0.483, 0.490, 0.501, 0.493, 0.485, 0.460, 0.450, 0.440]

The values of Savitzky-Golay filter applied with window_length = 11 and polyorder = 2 is:
>>> y_savgol = savgol_filter(y, 11, 2)
>>> y_savgol = [0.450179, 0.459023, 0.468946, 0.47827, 0.487163, 0.491744, 0.491779, 0.487417, 0.479212 0.467916, 0.45486, 0.441769]

If my delta = 2, for the values in index 4 (x=216, y_savgol=0.487163), for instance, we have:
derivative_delta_2 = ((0.491779-0.487163)/(218-216) + (0.487163-0.468946)/(216-214))/2
derivative_delta_2 = 0.005708

But the result of the savgol_filter(y, window_length=11, polyorder=2, deriv=1, delta=2.0) in this exactly point is:
savgol_filter_derivative_delta_2 = 0.001891

Clearly they're different.
So I tried to understand what's wrong. And I noticed that delta parameter makes this:
>>> delta_1 = savgol_filter(data, 11, 2, 1, 1.0)
>>> delta_1[some_point] = x

>>> delta_2 = savgol_filter(data, 11, 2, 1, 2.0)
>>> delta_2[some_point] = x/2

>>> delta_3 = savgol_filter(data, 11, 2, 1, 3.0)
>>> delta_3[some_point] = x/3

If I'm not doing anything wrong, I believe that this is a bug that can be fixed.
Scipy/Numpy/Python version information:

1.1.0 1.14.3 sys.version_info(major=3, minor=6, micro=5, releaselevel='final', serial=0)

@WarrenWeckesser this looks like your code (from 6 years ago!), any ideas?

For your example of estimating the first derivative using a finite difference, you wrote
derivative_delta_2 = ((0.491779-0.487163)/(218-216) + (0.487163-0.468946)/(216-214))/2

You should not use the values 0.491779, 0.487163, etc. for this calculation.  You must use the original y values.  To estimate the derivative at index 4, you could use something like this:
delta = 2.0
derivative_delta_2 = ((y[5] - y[4])/delta + (y[4] - y[3])/delta)/2

I get 0.00375 for that value:
In [82]: y = [0.450, 0.460, 0.470, 0.475, 0.483, 0.490, 0.501, 0.493, 0.485, 0.460, 0.450, 0.440]

In [83]: delta = 2.0

In [84]: derivative_delta_2 = ((y[5] - y[4])/delta + (y[4] - y[3])/delta)/2

In [85]: derivative_delta_2
Out[85]: 0.0037500000000000033

This is almost exactly the value returned by savgol_filter if the window length is 3:
In [87]: savgol_filter(y, window_length=3, polyorder=2, deriv=1, delta=2)[4]
Out[87]: 0.0037499999999999925

Increasing the window length uses more data points, so the estimate is not expected to agree with a simple finite difference.
In [88]: savgol_filter(y, window_length=5, polyorder=2, deriv=1, delta=2)[4]
Out[88]: 0.0038500000000000556

In [89]: savgol_filter(y, window_length=11, polyorder=2, deriv=1, delta=2)[4]
Out[89]: 0.0021970862470862404

Note that savgol_filter knows nothing about the x values of your data.  The delta parameter specifies the spacing of x-coordinates of the given y values.  Based on the incorrect formula you gave for derivative_delta_2, I think you might have mistaken delta for an increment of the index of y.  That is not the meaning of delta.
Here's a example that might help clarify how delta is used.
import numpy as np
from scipy.signal import savgol_filter
import matplotlib.pyplot as plt

T = 10.0
fs = 500.0  # Hz
nsamples = int(T*fs)
t = np.arange(nsamples)/fs

x = np.sin(2*t)

# dxdt is the exact derivative.
dxdt = 2*np.cos(2*t)

# Estimate the derivative using the Savitzky-Golay filter.
# Note that delta is set to 1/fs, which is the sampling period.
y1 = savgol_filter(x, 11, 2, deriv=1, delta=1/fs)

plt.plot(t, dxdt, 'k--', alpha=0.2, linewidth=3, label='exact')
plt.plot(t, y1, 'b', alpha=0.75, linewidth=1, label='Savitzky-Golay')

plt.xlabel('t')
plt.legend(shadow=True, loc='lower right')
plt.show()

The plot shows that the estimate of the derivative works as expected:

@ThiagoDiasV, I'm closing the issue, but don't hesitate to ask further questions if my comments above are not clear.

@WarrenWeckesser Thank you for your clear explanation.
Now I see that I made a mistake. I was trying to apply savgol_filter() method on a derivative spectroscopy (http://www.whoi.edu/cms/files/derivative_spectroscopy_59633940_175744.pdf).
The way that I explained was correct but for my method. I needed to apply the first derivative in my results after the use of savgol_filter(). Because of this, in my explanation, I tried to use the first derivative on the results of Saviztky-Golay filter. This approach is common on derivative spectroscopy.
When I saw that one parameter of the method was delta parameter, I got mixed up and thought that what I was trying to do was possible directly using savgol_filter(). But when you said that the method doesn't know nothing about my x axis the things got clear to me (and I didn't have realized that, shame on me! haha).
Now it's pretty clear to me that the delta of derivative spectroscopy is different from delta of savgol_filter() method. Their functions are different.
Sorry about my mess. And thanks again for your explanation and your time.


Nexus 5X: Xposed framework not recognised by nfcgate

I am currently running three different versions of the Xposed framework on three Nexus 5X devices, and the devices are running on different Android versions (6.0.1, 7.0, 8.1.0).
In all devices nfcgate does not recognise the Xposed framework, even if the nfcgate module is activated, and the framework is up and running. (Warning: missing Xposed module)
Is there any other activation to perform, or have you encountered the same issue in any other device?

Just tested it with the 2.0 release on a Nexus 5X 7.1.2 (N2G48C) and the Xposed module is detected properly. In our testings, we used different Android versions (6.0, 7.1, 8.0) to ensure compatibility.
Have you restarted your phone after activating the NFCGate Xposed module?

I did the same procedure with the 8.0 as in the compatibility list, and keep getting the same error. I did the restart, but the error persists.
Is there an order when doing the procedure, or is it indifferent?

Xposed log:
07-23 20:06:43.085 I/Xposed  (  557): Loading modules from /data/app/de.tu_darmstadt.seemoo.nfcgate-RgjCoohVcuItRzq4lsKTFw==/base.apk 07-23 20:06:43.098 I/Xposed  (  557):   Loading class de.tu_darmstadt.seemoo.nfcgate.xposed.Hooks 07-23 20:06:43.099 E/Xposed  (  557):     Failed to load class de.tu_darmstadt.seemoo.nfcgate.xposed.Hooks 07-23 20:06:43.099 E/Xposed  (  557): java.lang.ClassNotFoundException: Didn't find class "de.tu_darmstadt.seemoo.nfcgate.xposed.Hooks" on path: DexPathList[[zip file "/data/app/de.tu_darmstadt.seemoo.nfcgate-RgjCoohVcuItRzq4lsKTFw==/base.apk"],nativeLibraryDirectories=[/system/lib64, /vendor/lib64]] 07-23 20:06:43.099 E/Xposed  (  557): 	at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:125) 07-23 20:06:43.099 E/Xposed  (  557): 	at java.lang.ClassLoader.loadClass(ClassLoader.java:379) 07-23 20:06:43.099 E/Xposed  (  557): 	at java.lang.ClassLoader.loadClass(ClassLoader.java:312) 07-23 20:06:43.099 E/Xposed  (  557): 	at de.robv.android.xposed.XposedInit.loadModule(XposedInit.java:536) 07-23 20:06:43.099 E/Xposed  (  557): 	at de.robv.android.xposed.XposedInit.loadModules(XposedInit.java:466) 07-23 20:06:43.099 E/Xposed  (  557): 	at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:97)

That's strange. There is no special setup needed: just install the app, activate the module and reboot, the order does not matter.
Did you install the release version or build the app yourself?

Problem solved. Just needed to disable instant run when building with Android Studio.
Thanks for the support.


Updated Delta Green by ArcDream Sheet

Bug Fixed:
Changing POW, STR or CON will no longer change the value of Current SAN, HP, BP, and WP after the sheet has been initialized
Fixed exthetic formatting in SAN roll button
corrected typos and formatting issues
Checkbox removed from the unnatural skill
Now the roll button use 1d100 instead of 2d10 to differentiate between units and tens digits when virtual dice are used
Features:
Initializing CON and STR on a new sheet will modify the current and max HP. After initialization, any further change in CON and STR will only change max HP
Initializing POW on a new sheet will modify the current SAN,BP, and the current and max WP. After initialization, any further change in POW will only change max WP
The max SAN will be automatically updated to 99- Unnatural
When a new bond is created, its value will be automatically set up to the current charisma score (you need to write a name for the bond for value to update). After initialization, any further change in charisma will not affect the value of the bond
Add a Luck button
Changes / Comments
Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[x ] Does the pull request title have the sheet name(s)? Include each sheet name.
[ x] Is this a bug fix?
[x ] Does this add functional enhancements (new features or extending existing features) ?
[ ] Does this add or change functional aesthetics (such as layout or color scheme) ?
[ ] If changing or removing attributes, what steps have you taken, if any, to preserve player data ?
[ ] If this is a new sheet, did you follow Building Character Sheets standards ?

If you do not know English. Please leave a comment in your native language.

Greetings @uriele
Are you working on behalf of Arc Dream Publishing? Official sheet changes must be submitted with publisher approval.
Thank you,
Cassie

Noting here per the email conversation that Arc Dream has approved these changes.


Allow negative values for point coordinates

Point fields with negative values were incorrectly being rejected (when using hash storage) leading to an error when fetching data, e.g.:
Non-point value of '-96.796988,32.776664' read from Redis for point field.

Updated regex to include optional - symbol

This looks great! Can you bump the version number and update the CHANGELOG? Then, I'll merge and release it today. Thanks!

Make it version 0.3.1. ;)

Will do 👍🏻


Process: Add ignore_fd

Hi @aantron - I didn't see a way to specify the equivalent of UV_IGNORE:
    options.stdio_count = 3;
    uv_stdio_container_t child_stdio[3];
    child_stdio[0].flags = UV_IGNORE;
    ...

So I added an ignore_fd to expose it

How are you using this? Luv sets UV_IGNORE on any redirection not specified by the user. Perhaps this needs better documentation.

Luv sets UV_IGNORE on any redirection not specified by the user. Perhaps this needs better documentation.

Ah, thanks for the clarification and the doc update, @aantron ! Misunderstanding on my end - for some reason, I thought that default behavior was to inherit the parent file descriptors - but that was erroneous. Ignoring by default is perfect 👍

How are you using this?

I'm starting to switch several places we were using the Unix channels with Luv's pipes:

Talking to a node process: https://github.com/onivim/reason-vscode-exthost (the vscode 'back-end')
Communicating between two Reason/OCaml processes (Onivim <-> Syntax Server): https://github.com/onivim/oni2/pull/1621

luv really works great cross-platform - the event loop model makes dealing with communicating with processes cross-platform much simpler, IMO - and the API you've provided is very ergonomic and well-designed. Not to mention how 'esy' you made the build. Thank you!

I'll close this out since it is unnecessary, given the default is UV_IGNORE.

Not to mention how 'esy' you made the build.

Nice.
:)

ergonomic

Please let me know if anything is particularly more awkward than it needs to be (given the desire to still not depart  too far from libuv in most places).


Cythonizing a few hot calls

R: @robertwb
cc: @katsiapis

Thank you @katsiapis. It passes tests now. If the remaining changes look good to you I can merge it.

ping?

The changes LG, thank you.
It would be good from an education perspective (ie not blocking the merge) to get input from @robertwb regarding why there is a need for that annotate we discussed in the last comment thread.


Feature request: dynamic configuration management

Is your feature request related to a problem? Please describe.
Currently, chainlit uses a single config.toml file to manage settings across all ChatProfiles. This creates limitations in providing customized user experiences for different workflows. Specific pain points include:

All ChatProfiles must share the same UI configuration, regardless of their specific requirements
Cannot disable/enable features based on the selected profile's capabilities (e.g., image upload for non-vision models)
No way to dynamically adjust settings when switching between profiles

Describe the solution you'd like
Programmatic configuration settings. Something like
@cl.on_profile_switch
async def handle_profile_switch(profile: ChatProfile):
    # Update configuration for specific profile
    await profile.update_config({
        "sector": {
            "key1": value1,
            "key2": value2
        }
    })

Describe alternatives you've considered
Separate Config Files: Create individual config files for each profile.

Pros: Simple to implement, clear separation.
Cons: Duplication of common settings, harder to maintain, no runtime control.

Additional context
I found this issue when building chainlit langgraph integration for creating agentic chatbot.

Great point!
Having dynamic configuration management would greatly help with testing as well.
To move forward, I would suggest splitting this issue though:

Ensuring that he configuration object is dynamic (e.g. all logic relying on it is stateless).
Allow overriding of app init, including loading configuration explicitly -- allowing programmatic initialisation of the configuration.
Allowing updating of the configuration from within chat profiles.

If you (or others!) would like to help us move forward, feel free to create separate issues for all of these, linking them to each other (e.g. 2 and 3 both rely on 1) and here, perhaps making a go at spec'ing them. Once these issues are created, we can close this one.
All of this should have at least ~80% unittest coverage and will definitely be required to increase the level of production-readiness of chainlit.

@dosu Perhaps you could help us make a start scoping those issues based on our issue/feature template?

@dokterbob I will find time to review the current implementation details, provide a reasonable implementation plan, and create sub-issue tickets.


typo: Maxumum -> Maximum

@nschonni : Thanks for your contribution! The author, @, has been notified to review your proposed change.

@rjagiewich : Thanks for your contribution! The author, @, has been notified to review your proposed change.

Verified editorial corrections.


Type coercion breaks null coalesce operator

Hi,
I'm not sure if this is the right place to post this, but the default index.php file has a bug in it when using composer create-project symfony/skeleton.
Line 19:
$debug = (bool) $_SERVER['APP_DEBUG'] ?? ('prod' !== $env);

The coercion of $_SERVER['APP_DEBUG'] to type bool occurs before ?? and therefore throws an undefined index exception by default as it's not set.
It's easy enough to fix obviously, but from a usability standpoint it could be confusing for new Symfony users following the introductory tutorial. In the tutorial the project is created and then immediately served with php -S <IP_ADDRESS>:8000 -t public which throws the exception when you visit the page.

Thanks @polycodedev for noticing this issue.
I have submitted a R to fix this issue.

@fabpot The PR has been merged. You can safely close this issue


Finer control over what posts Karma listens to

EG restrict to certain channels.

people seem to like karma in all channels


SimpleCov: coverage tracking is introduced too late to notice method chaining based instrumentation

It looks like the instrument! calls being performed for method chaining-based instrumentations are taking place before SimpleCov starts watching the code base. As a result, the entirety of the class_eval based code is incorrectly marked as not being tested.

Resolved


Document the GraphQL Schema validation process in Rafiki

Is this related to
https://github.com/interledger/rafiki/blob/b9719023dff1d585667145bf899bcc73e9a40143/packages/backend/package.json#L6
I think we stopped validating

https://github.com/interledger/rafiki/pull/453

But isn't it validated in the sense that we are able to generate the types only if the schema is valid?

That seems akin to documenting our lint/format or build scripts

Right. Maybe that is what we need to document here.


Use newer Substance API for modifying titlebar

Use SubstanceCortex.WindowScope.extendContentIntoTitlePane to modify
(create our own titlebar) instead of injecting new panels into existing
titlebar, because that do not works correctly (buttons not being
removed, need to use custom layout managers because of problems with
layouting).
This makes PR #564 not needed. Also, same as with PR #564, this is required for PR #351.
Preview of changes, this basically also auto-includes title and icon in the moving titlebar:

With custom chrome enabled:

This completely breaks aero snap on windows.
The minimum window height is incorrect.
Drag zones are inconsistent.

With native chrome enabled

This includes the window icon and runelite text in the info panel.


MoveOnlyAddressChecker: Confine analysis to current formal access.

Code can only locally interact with a mutable memory location within a formal access, and is only responsible for maintaining its invariants during that access, so the move-only address checker does not need to, and should not, observe operations that occur outside of the access marked with the mark_must_check instruction. And for immutable memory locations, although there are no explicit formal accesses, that's because every access other than the initialization must be read-only, so although individual accesses are not delimited, they are all compatible as far as move-only checking is concerned. So we can back out the changes to SILGen to re-project a memory location from its origin on every access, a change which breaks invariants assumed by other SIL passes.

@swift-ci Please test


YouTube parameters refresh required

This object is obsolete.
YouTube has a completely new set of parameters:

https://developers.google.com/youtube/player_parameters#Parameters

hd another parameters have been deprecated.

needs an update

time for something different


Button positions not optimized for mobile and tablet view

Describe the bug
Button positions not optimized for mobile and tablet view.
In tablet view they are not correctly responsive, some buttons go on next line in tablet view while some don't and sometimes they overlap a little.

For mobile view the buttons are sometimes hard to distinguish, they need some more separation or some other fix.

Note:

Do mention if your are working under GSSoC'21.
If you want to work on an issue, you should check if it has already been assigned to anyone. If the issue is free you can comment /assign to get the issue assigned to you.
If you are raising a new issue and want to work on it then also you should comment /assign under the issue to get it auto assigned.
Please refrain from adding labels to your issue/pull-request on your own. It is the job of the Project Admin and the Mentors to review your issue/pull-request and add labels accordingly.
According to the level of the issue, respective time will be allotted under which the task needs to be completed/resolved by the assigned person. If the issue is not resolved within the given time, it will be assigned to the next person. In case of any discrepancies, the decision of the maintainer will be final.

level - 0: 2 days
level - 1: 3 days
level - 2: 4 days
level - 3: 5 days

/assign

@Pranav016 take a look at this.

the last one is looking better with
[one]
[two]
rather than [one | two] and the button extends beyond if I try to get them in one row


Import Your Own Data

Hi,
I tried importing my data via your instructions and when I run these lines:
my_path=joinpath(homedir(),"Documents","tutorial","TimeClustInput.csv")
your_data_1=load_timeseries_data(my_path; region="none", T=24)

I get this error:
LoadError: MethodError: objects of type Bool are not callable
Sorry for the basic question!
Dan

Hi @dsambor10, I suppose your TimeClustInput.csv contains true and false, is that correct?

That's the confusing aspect, it does not. Is there a proper timestamp format that is required? Here's a snapshot of my data:

Your timestamp column looks all right. However you need to add a column called Year. (That is due to the fact, that the timestamp is not really interpretated)
https://holgerteichgraeber.github.io/TimeSeriesClustering.jl/stable/load_data/#Load-your-own-data-1

Thanks for clarifying. I discovered the issue was that I had not specified in loading time series that "years=[2019]" because the doc said that's optional to designate and I thought it would read the year, but it's required to have I guess. It all works now.
PS Is there any means of exporting the .clust_data (e.g. to a csv) once it's been clustered?

I don't think we have a function for that. Should be pretty simple to implement though:
for (k,v) in X.clust_data.data
  name = "$k"
  CSV.write(name*".csv", DataFrame(v))
end

clust_data is of type ClustData, and .data is a dictionary, see https://github.com/holgerteichgraeber/TimeSeriesClustering.jl/blob/master/src/utils/datastructs.jl
You may need to play with the settings of DataFrame and CSV.write, but this should give a general idea.
This will write one csv for each data type.

Hi,
I also happen to be facing an issue with importing my data.
The content in the file has the correct format as needed, but I get the following error:
MethodError: no method matching depwarn(::String, ::Symbol; force=true)
Closest candidates are:
depwarn(::Any, ::Any) at deprecated.jl:79 got unsupported keyword argument "force"
Any idea on what's wrong would be very helpful.
Thanks,
Akshaya


404 file not found for Audio Kit package collection json

macOS Version(s) Used to Build
macOS 13 Ventura
Xcode Version(s)
Xcode 14
Description
Hi,
When trying acess https://swiftpackageindex.com/AudioKit.collection.json we get a 404 file not found.  Not a big problem as I can import the individual packages as needed, but this does not appear to be highlighted in the documentation.
Cheers
Dan
Crash Logs, Screenshots or Other Attachments (if applicable)
404 file not found

I think that might be the wrong URL. Does it work with https://swiftpackageindex.com/AudioKit/collection.json


Remove ibc-fee

This PR removes the dependency on ibc-fee from the wasmd-bump branch.

No longer doing, using IBCFee for v12


Reformat some stuff

Reformat your horrendous schematic, and import the components on to the pcb (I also switched to the marstlib switch footprint but you can change that if needed)

Reformatted Schematic:

PCB components imported:

thanks it's actually readable now!!!!


ON-1398 # Added formsRendererOrigin as required option to Forms Class constructor

Fixes https://github.com/blinkmobile/oneblink-sdk-js/issues/11


Getting the size of large XPT datasets

If a dataset is large, but still small enough to fit into memory, currently the engine uses pandas and reads every record to determine the number of records.
This is a problem because the number of records is treated as dataset metadata, which should be quick to fetch, but it can take a long time to fetch.
We should find a better approach to get the record count. If none of the libraries provide a convenient way to calculate the number of records, we can implement our own approach.
Refer to the specifications for XPT files:
https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/movefile/p0ld1i106e1xm7n16eefi7qgj8m9.htm
https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/movefile/n0167z9rttw8dyn15z1qqe8eiwzf.htm
A possible solution:
Read the header information to find the size of variables, size of records, and start of record data (start).
Read the last chunk of data to find out how much trailing ASCII blank padding there is
Calculate number of records using (total_size - start - padding) / record_size
Some libraries to check for existing functionality (there may be others):
xport.v56
pyreadstat
pandas.read_sas

Hi Gerry,
Just for your info: the header of the XPT file does not contain the number of records. It does however contain information about the record length, which is fixed, i.e. the same for each record.
What I usually do is to read the file in a streaming way (so no storage in memory) and count the number of records "passing by".
You can chat with Lex Jansen about possible solutions, as he is the real specialist.

Hi Gerry, Just for your info: the header of the XPT file does not contain the number of records. It does however contain information about the record length, which is fixed, i.e. the same for each record. What I usually do is to read the file in a streaming way (so no storage in memory) and count the number of records "passing by". You can chat with Lex Jansen about possible solutions, as he is the real specialist.

@JozefAerts , The purpose of this ticket is to avoid streaming the entire dataset. Instead, we would read the header to get the record length and the start index of the first record and we would read the final 80-byte chunk to get the final index of the last record (before the ascii blank padding). From this, we can divide the record length into the total size of the records' space to get the record count. This is much faster than streaming the entire dataset.

Smart!
Is it possible in Python reading a file backwards from the end? I did not know that ...

I think it is available in most languages as long as the filesystem supports it. It is called random access. In python, it looks like you would use seek.

@SFJohnson24 this says ready to review, but there is no PR attached

@gerrycampion I am working on this, it was moved to review by mistake.


tunnel: use subnet_name_ref  instead of vpc_name_ref

see https://github.com/opiproject/opi-evpn-bridge/blob/cae5563/pkg/evpn/tunnel_vxlan.go#L67

see proposed PR https://github.com/opiproject/opi-api/pull/310

irrelevant, since we switched from cloud to evpn-gw APIs


vrf: Add support of Virtual Routing and Forwarding

Example of desire state for VRF:
interfaces:
- name: vrf0
  type: vrf
  vrf:
    route-table-id: 100
    port:
      - eth1
      - eth2

Example yaml files(vrf0_with_eth1.yml and vrf0_absent.yml) included.
Due to limitation of NetworkManager, NmstateNotSupportedError will be
raised when changing route table ID of existing interface.
Test cases included.

@smyle10 Please, verify this when possible. Thanks!

I tried with
nmstate-0.4.1-0.20200918141918765851.pr1310.17.g460ea50.el8.noarch
NetworkManager-1.26.0-7.el8.x86_64
DISTRO=RHEL-8.3.0-20200918.n.1
interfaces:
- name: vrf0
  type: vrf
  state: up
  vrf:
    route-table-id: 100
    port:
      - veth1
      - veth0

It got a problem:
# nmstatectl set vrf.yaml
thread '<unnamed>' panicked at 'not yet implemented: netlink-rust does not support parsing this yet', src/lib/route.rs:441:17
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
fatal runtime error: failed to initiate panic, error 5
Aborted (core dumped)

I tried with
nmstate-0.4.1-0.20200918141918765851.pr1310.17.g460ea50.el8.noarch
NetworkManager-1.26.0-7.el8.x86_64
DISTRO=RHEL-8.3.0-20200918.n.1
interfaces:
- name: vrf0
  type: vrf
  state: up
  vrf:
    route-table-id: 100
    port:
      - veth1
      - veth0

It got a problem:
# nmstatectl set vrf.yaml
thread '<unnamed>' panicked at 'not yet implemented: netlink-rust does not support parsing this yet', src/lib/route.rs:441:17
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
fatal runtime error: failed to initiate panic, error 5
Aborted (core dumped)

The problem has been solved in nispor package and not related to nmstate VRF feature.
Can you try it on other servers?
Thank you.

Tested basic operations

Create, remove the main interface
Add/remove subordinates
IP address

Timeout on waiting consumer QE. Will create new PR if they found any problem.


Mac ARM wheels

Build both x86 and ARM wheels on macOS.
This fills the one remaining gap in the approach that was already there: the install name of libomp. It turns out that universal2 dylibs are just two libraries effectively joined together, all the metadata is separate. So the install name of the ARM copy was different from the x86 copy (because brew installs ARM and x86 to different locations). This meant that the relocation/repair into the wheel would only work for the x86 portion, leaving the ARM portion unrelocated, meaning libomp would not be found at runtime.
The rest of the approach is as before. Construct a universal2 version of libomp and build a universal2 version of libgraphblas. The rest is cross-compiled by cibuildwheel.
We could easily build a universal2 wheel instead of separate x86 and arm, but some sources are suggesting better compatibility with old pip with separate wheels.
When https://github.com/github/roadmap/issues/528 is available (currently listed as Q4 2023) then a native build will be a better choice.
Note that as of today there is no way to automatically test Apple Sillicon wheels via GitHub Actions. The x86 runner cannot test them (ARM chips can run x86 code via Rosetta2, but not vice versa). This will remain true until the native ARM runners are available. However nearly all possible issues will show up in the x86 wheels too.

Works on my M1 laptop.
Install:
(venv) notchie ~/temp (:|✔) % pip install ~/Downloads/artifact/suitesparse_graphblas-<IP_ADDRESS>-cp311-cp311-macosx_11_0_arm64.whl
Processing /Users/enos/Downloads/artifact/suitesparse_graphblas-<IP_ADDRESS>-cp311-cp311-macosx_11_0_arm64.whl
Collecting cffi>=1.11 (from suitesparse-graphblas==<IP_ADDRESS>)
  Using cached cffi-1.15.1-cp311-cp311-macosx_11_0_arm64.whl (174 kB)
Collecting numpy>=1.19 (from suitesparse-graphblas==<IP_ADDRESS>)
  Using cached numpy-1.24.3-cp311-cp311-macosx_11_0_arm64.whl (13.8 MB)
Collecting pycparser (from cffi>=1.11->suitesparse-graphblas==<IP_ADDRESS>)
  Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
Installing collected packages: pycparser, numpy, cffi, suitesparse-graphblas
Successfully installed cffi-1.15.1 numpy-1.24.3 pycparser-2.21 suitesparse-graphblas-<IP_ADDRESS>
(venv) notchie ~/temp (:|✔) % python
Python 3.11.2 (main, Feb 16 2023, 02:55:59) [Clang 14.0.0 (clang-14<IP_ADDRESS>)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import suitesparse_graphblas
>>>

tests:
(venv) notchie ~/temp/venv/lib/python3.11/site-packages/suitesparse_graphblas/tests (:|✔) % pytest
==================================== test session starts =====================================
platform darwin -- Python 3.11.2, pytest-7.3.1, pluggy-1.0.0
rootdir: /Users/xyz/temp/venv/lib/python3.11/site-packages/suitesparse_graphblas/tests
collected 8 items

test_doctest.py .                                                                      [ 12%]
test_exceptions.py .                                                                   [ 25%]
test_io.py ...                                                                         [ 62%]
test_package.py ..                                                                     [ 87%]
test_scalar.py .                                                                       [100%]

===================================== 8 passed in 0.28s ======================================
(venv) notchie ~/temp/venv/lib/python3.11/site-packages/suitesparse_graphblas/tests (:|✔) %

Cool! Adam, man, how did you become so awesome? You'll have to let me get you a coffee/mean/drink next time we're in the same neighborhood. As before, this is greatly appreciated.
Interesting approach. So, this currently builds a universal version of SuiteSparse:GraphBLAS that is then used by both arm64 and x86_64, right?

We could easily build a universal2 wheel instead of separate x86 and arm, but some sources are suggesting better compatibility with old pip with separate wheels.

This matches my understanding as well. Better to split the wheels.
LGTM as far as I can tell. @jim22k care to take a peek? We should probably do an alpha release to let us test more thoroughly.

:)

Interesting approach. So, this currently builds a universal version of SuiteSparse:GraphBLAS that is then used by both arm64 and x86_64, right?

Correct.

Closing, b/c/ these changes were included in #84. Thanks again!


The nav bar hides the 'hero section' content

Great website!
Just one small thing I noticed. The text 'Hi, the name is' gets hidden by the navbar.
You can just scroll up and down without releasing the mouse to see it coming out from under the navbar.

#242


CI for Node

CI for Node

npm ERR! Test failed.  See above for more details.
Error: The operation was canceled.

npx standard && npx jest

npx: installed 278 in 23.276s
No tests found, exiting with code 1
Run with --passWithNoTests to exit with code 0
In /home/runner/work/github-actions-for-ci/github-actions-for-ci
7 files checked.
testMatch: /tests//.[jt]s?(x), **/?(.)+(spec|test).[tj]s?(x) - 0 matches
testPathIgnorePatterns: /node_modules/ - 7 matches
testRegex:  - 0 matches
Pattern:  - 0 matches
npm ERR! Test failed.  See above for more details.
Error: The operation was canceled.

Run npm ci
npm ci
shell: /usr/bin/bash -e {0}
npm WARN old lockfile
npm WARN old lockfile The package-lock.json file was created with an old version of npm,
npm WARN old lockfile so supplemental metadata must be fetched from the registry.
npm WARN old lockfile
npm WARN old lockfile This is a one-time fix-up, please be patient...
npm WARN old lockfile
npm WARN deprecated<EMAIL_ADDRESS>Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated<EMAIL_ADDRESS>See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated<EMAIL_ADDRESS>some dependency vulnerabilities fixed, support for node < 10 dropped, and newer ECMAScript syntax/features added
npm WARN deprecated<EMAIL_ADDRESS>https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated<EMAIL_ADDRESS>Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated<EMAIL_ADDRESS>See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated<EMAIL_ADDRESS>The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm WARN deprecated<EMAIL_ADDRESS>3.x is no longer supported
npm WARN deprecated<EMAIL_ADDRESS>Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated<EMAIL_ADDRESS>Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
Error: The operation was canceled.

18s
##[debug]Evaluating condition for step: 'Run npm test'
##[debug]Evaluating: success()
##[debug]Evaluating success:
##[debug]=> true
##[debug]Result: true
##[debug]Starting: Run npm test
##[debug]Loading inputs
##[debug]Loading env
Run npm test
##[debug]/usr/bin/bash -e /home/runner/work/_temp/edf4e638-7a8b-4c8f-8398-b9e000dddc11.sh

<EMAIL_ADDRESS>test /home/runner/work/github-actions-for-ci/github-actions-for-ci
npx standard && npx jest

npx: installed 278 in 17.167s
No tests found, exiting with code 1
Run with --passWithNoTests to exit with code 0
In /home/runner/work/github-actions-for-ci/github-actions-for-ci
7 files checked.
testMatch: /tests//.[jt]s?(x), **/?(.)+(spec|test).[tj]s?(x) - 0 matches
testPathIgnorePatterns: /node_modules/ - 7 matches
testRegex:  - 0 matches
Pattern:  - 0 matches
npm ERR! Test failed.  See above for more details.
Error: Process completed with exit code 1.
##[debug]Finishing: Run npm test

##[debug]Evaluating condition for step: 'Post Use Node.js 12.x'
##[debug]Evaluating: success()
##[debug]Evaluating success:
##[debug]=> false
##[debug]Result: false

● Game › Game › Initializes with two players
expect(received).toBe(expected) // Object.is equality

Expected: "Nate"
Received: "Bananas"

  12 |     it('Initializes with two players', async () => {
  13 |       expect(game.p1).toBe('Salem')
> 14 |       expect(game.p2).toBe('Nate')
     |                       ^
  15 |     })
  16 |
  17 |     it('Initializes with an empty board', async () => {

  at Object.toBe (__test__/game.test.js:14:23)


how to debug disk I/O error

I am using esp_vfs_fat_sdmmc_mount to mount on an 8GB eMMC chip, and all was going well.
I am now encountering random disk I/O error events when doing INSERTS. These occur at random even with a fresh eMMC chip.
I would like to debug what the issue could be. But the logs are not clear:
E (118790) diskio_sdmmc: sdmmc_read_blocks failed (257)
D (118790) vfs_fat: vfs_fat_lseek: fresult=1
E (118800) diskio_sdmmc: sdmmc_read_blocks failed (257)
D (118800) vfs_fat: vfs_fat_fsync: fresult=1
E (118810) sqlite: SQL error: disk I/O error

I am also having trouble getting the VERBOSE logs from sqlite3.
If I set the menuconfig log level to VERBOSE, my application crashes (just too many logs).
I have set the menuconfig MAX_LOG_LEVEL to VERBOSE.
I have tried esp_log_level_set('diskio_sdmmc', ESP_LOG_VERBOSE);
I have tried editing the CMakeLists.txt and component.mk files in your library to have -DCORE_DEBUG_LEVEL=5 and removed  -DNDEBUG.
but no dice.
Any tips on how to set the component to VERBOSE would be amazing.
Thanks again.

i uncommented #define dbg_printf(...) printf(__VA_ARGS__)
and got this log:
esp32mem_Read: /emmc/tokens.db-journal [45064] [4] OK
esp32_FileControl:
E (26782) diskio_sdmmc: sdmmc_read_blocks failed (257)
esp32_Sync( /emmc/tokens.db: ): 0
esp32mem_Write: /emmc/tokens.db-journal [0] [28] OK

Sometimes i also am getting file is not a database

It turns out my bug was caused by running out of ram.
However I would still like to know how to get verbose logs activated across the library for future.
Thank you!

Are you getting a crash dump? Please see this:
https://github.com/siara-cc/esp32_arduino_sqlite3_lib/issues/40#issuecomment-765897695
I don't remember, but there are some tools that can show the stack trace using the Backtrace displayed in the crash dump.  This is for Arduino-esp32 I am not sure about esp-idf.
For running out of mem, please consider using Progmem (storing strings in flash) for static strings in your code.

I am not getting a crash log because the application doesn't crash. It just returns an error.

I can't think of anything else than what you have figured out about enabling logs.  I think there is a way of enable logs for the Sqlite library using a #define but such logs may not be useful for an already stable library.
Memory issues are difficult to troubleshoot but there is no choice other than slogging to fix them.


How does this plugin play with fugitive?

I noticed that after I add file via status message + '-' I need to write the file to see status updated in nerdtree. Is that a design or am I doing something wrong?
Thanks

The indicators will be updated on your writing event occurs, as the operations via fugitive can not trigger this action, you have to refresh nerdtree by hand.


Make Google Maps View responsive.

Started at #33;

[x] Place map view beside (horizontally) contact info;
[x] Make map view collapse below contact info on smart phones.
[ ] Check examples of websites that uses this (where is it normally placed? how does it normally behave?);

#37 mostly solves this.
Still gotta search up examples and compare them to the current placement of elements.


Natvis doesn't recognize C++ integer constant forms

Constants of the form 123ul and 123u are emitted by g++ for some template arguments (std::bitset<33ul>). However the natvis type comparison fails when it encounters constants of this form.

Also 123l is not recognized (as in std::ratio<1l, 1000000l>).

fixed in PR #482


from Utility import * ImportError: No module named Utility

I am trying to execute the python proxy.py. But I got the error     from Utility import *
ImportError: No module named Utility
I have already installed Utility folder from pip ( pip install utility)
what I have to install to resolve this issue ?? I am using python 2.7 and Windows 10

Is this error from QCQP, or something else? QCQP does not import anything called Utility.

hello，I also encountered the same problem. Have you solved it?


No glyph for .njsproj files

When opening a project from the File -> Open -> Project/Solution dialogue:

Actually, there seems to be no file association at all for the Node.js tools, even in Visual Studio 2017 15.2

@bowdenk7 should get us an icon to use, then we need to associate that in the VS codebase. (This is not something we can do in the Node Tools).

So @paulvanbrenk is your claim that two years of asking add that icon to VS 15 codebase does not happens ? Why all that emphasize on fast releases if so small issue could not be resolved for two years.
@OliPro007 could you go to https://developercommunity.visualstudio.com/content/problem/329978/nodejs-no-icons-for-the-project-file.html and vote for that. Maybe that way it would get fixed.
I know that my attitude does not very positive toward NodeJS Tools for Visual Studio, but mostly this is due to fact that I know that VS for Python Tools (parent of this project) and C# tooling works very well.

@sana_ajani, @armanio123 FYI
@kant2002 - I'm sorry you've had a poor experience with the Node.js Tools in VS, and we really appreciate you taking the time to comment on this issue. This is something we can and will fix, Paul was just commenting that it needs to happen in a different code base.
@armanio123 can we file an issue in VSTS? @sana_ajani we should read through the Node foundation logo guidelines to make sure any Node.js icon we pick is appropriately used.

@kant2002 already filed the issue. I'm going to upvote and follow from there.


Beam contac

Is this problem implemented?
How can I solve it?
Thank you

I guess you ask for a static contact analysis. This problem can be solved in PERMAS. Can you provide the geometrical (i.e. cross-section, length) and material properties (Young's modulus) of the elastic beam? Is it a distributed load? How large is the load?

@HumbertHumbert7 Sorry for the late answer.
This problem is not implemented. But by applying Karush-Kuhn-Tucker inequalities,  this can be solved. However, KKT constraints are formulated only for 2D domains. You need to modify them based on the 1D beam example.
Steps:

You must define a possible contact area search (possibly the whole domain)
generate, KKT constraints (gap has to be positive, normal pressure has to be negative and multiplication has to be zero)

To enforce KKT constraints, you can use the Fisher-Burmeister function, but still, you have to calculate the gap and normal pressure (Normal pressure would be in this case the pressure in vertical direction, so the shear stress)
Thats basically all.

@HumbertHumbert7 Thank you for your kind words. Please feel free to make a PR to add your examples.

The clamped-clamped beam is loaded by a line load. A node to ground contact with an initial gap is used here.  Moreover,  a hard contact is used in PERMAS.


Import Analysing static footprint article

Original article: https://blog.espressif.com/analysing-static-footprint-eceb73fb9f2d

Closing. This is handled by #105


Legacy-install-failure installing fpie package #64

I had some problems with installing the fpie package. I already updated the wheel and installed the cmake package manually.

OS: Ubuntu debian 18.04.6 LTS
CUDA 11.4
Nvidia RTX A5000 and Nvidia GeForce RTX 3090
Browser firefox

What’s the output of camel —version?

cmake version 3.22.1
fails

fixed, please upgrade to version 0.2.4


Set up and configure mailing service

This has been on BETA env. (https://sancho.constitution.gov.tools/).


Add optional timeout environment variable

Related to #148 I also needed to modify the timeout of wait-on. Now you can pass an environment variable WAIT_ON_TIMEOUT={ms} start-server-and-test [...] with a default fallback to 5 minutes when not passed. 😃

This change would be beneficial. Hoping this PR could get merged, we can't use this library because of the timeout issue.

I will merge after this change

super @matzeeable thank you for doing this

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Escape Unix style whitespaces.

Escape any whitespaces present according to Unix style convetion.

Tested and it seems to work well. Thanks to @kritzi for the fix.


Extract LocationHelp module as mixin

This PR is extract LocationHelp module as mixin.
Generally usable Location-related methods are extracted as modules. This PR is a first step. Other extractable methods can be placed in this module.
We are also writing mixin tests for the first time in RuboCop RSpec. We believe this will be even better if we can check the coverage and add other mixins as well.

Before submitting the PR make sure the following are checked:

[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[-] Updated documentation.
[-] Added an entry to the CHANGELOG.md if the new code introduces user-observable changes.
[x] The build (bundle exec rake) passes (be sure to run this locally, since it may produce updated documentation that you will need to commit).

@bquorning @Darhazer I hope you will take a look at this as well when you have time.


County coords can access all/active/specific places in their county. Add/Edit information about the Place.

@FreecenBren is this something that has been brought over from the FreeREG roadmap that has no meaning on FreeCEN?

It is essential that we remember that the Freecen2 Places. collection is used for validation of the POB.
All have access to display entries in this collection through the Search Place Names action.
We have provided coordinators as well as data administrators and system administrators with the ability to add and edit a place, including its physical location (lat/lon or grid reference). They also have the ability to add alternate place names. They can do this for any county.
@geoffj-FUG and I have been discussing who else should have the ability to add and edit places.
Given how the collection is used it seems reasonable to add validators to the list of people who can add and or edit.
There remains the question as to whether transcribers and or proofreaders should have any form of editing or addition. Perhaps just to add an alternate name to an existing place in any county.
It is essential that the collection remain a high quality collection and not degenerate.

Kirk
As intimated before I do not believe that Transcribers / Proofreaders should have that function as we can lose quality of the data.
Some transcribers / proofreaders validate. How difficult is it to restrict the function so that is available only when a piece is in validation in that volunteer’s File list?
Geoff
From: Kirk Dawson<EMAIL_ADDRESS>Sent: Thursday, September 3, 2020 11:54 PM
To: FreeUKGen/FreeCENMigration<EMAIL_ADDRESS>Cc: geoffj-FUG<EMAIL_ADDRESS>Assign<EMAIL_ADDRESS>Subject: Re: [FreeUKGen/FreeCENMigration] County coords can access all/active/specific places in their county. Add/Edit information about the Place. (#529)
Assigned #529 https://github.com/FreeUKGen/FreeCENMigration/issues/529  to @geoffj-FUG https://github.com/geoffj-FUG .
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub https://github.com/FreeUKGen/FreeCENMigration/issues/529#event-3724856000 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AKCPIFM3SRT7YHNQDAMJOE3SD6NXXANCNFSM4F3X3YKA .  https://github.com/notifications/beacon/AKCPIFO5MDUJ4RGFP2X6ISTSD6NXXA5CNFSM4F3X3YKKYY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGO3YCMVQA.gif

I also feel transcribers and proofreaders should not have any form of editing or addition for placenames (but could suggest this to their validator

@geoffj-FUG Cannot think of an easy way of doing as you suggest but will keep thinking

Kirk
The transcriber and proofreader have read only access. Thats fine.
We set up Chas with a piece to validate but left his role as transcriber. He only had read only access.
We then changed Chas role to Validator. He gained Read Write access.
Coordinators have had Read Write access all the time.
So we are now working correctly.
(Chas is the only tester who is validating and is not a Coordinator).
Geoff


Update backup and config generation systems

Use tecnativa/duplicity:postgres-s3 backup image by default.
Use new entrypoint configuration generation system from #60.
Fix #63.

Any reason to not just use Camptocamp's solution, Conplicity? We've been using it for a few months, and I find it quite awesome.

What does it offer above plain duplicity?

What does it offer above plain duplicity?

Just automation scripts wrapped around Duplicity. The big one is detection of the data types on the volume, with support for DB dumps from most of the standard database types. This in comparison to running the DB dump (mysql_dump, pg_dump, etc) and subsequently backing up the dump.

Well... maybe if our version wasn't already done... but it is, and it's much simpler IMHO.
In any case, it's only part of the scaffolding. You can use your own backup tool or scaffolding (see https://github.com/Tecnativa/docker-odoo-base#can-i-have-my-own-scaffolding).


Support video IPTC/XMP

I'd like to request support for IPTC video data within the info path.
After some testing with ffprobe, mediainfo and exiftool - the later was the only one able to extract the metadata.
We currently need the headline, description and subject (from what I can understand that's where the keywords are).
From this test file we'd expect https://iptc.org/std/videometadatahub/examples/IPTC-VMHub-RefVideo-Rec0100.mp4
{
  "headline": "The Headline (Rec0100)",
  "description": "The description(Rec0100)",
  "subject":  ["Keyword1Rec0100", "Keyword2Rec0100", "Keyword3Rec0100"]
}

Would appreciate it if you'd be able to come with a thumbs up or down or even a rough estimated time. In case this is not a fit for imgproxy we'd go ahead and solve it ourselves. It's a bit time sensitive and I fully understand the reality that it might not fit into your plan or schedule 😄

Hey @schonert!
We are currently busy implementing the extended /info, and this may take a while (maybe a month or so). I added this feature to our roadmap, but I can't promise it will be ready in the nearest future.

Excited about the extended info! Thanks for the indication - we'll go ahead and find a different solution 👍🏻

Actually IPTC will be useful for images too!

@pySilver imgproxy extracts IPTC meta from images: https://docs.imgproxy.net/usage/getting_info#iptc

@DarthSim oh I thought this ticket is about setting IPTC data to served images. Actually yeah I can't see how it could do such thing.


PioReactor Dosing cycle media does not work

Thread on forum here: Forum
Pressing cycle in the UI does not do anything.
Workaround right now is to activate continuous pumping on both add and waste. There is a small delay between the start of add pump and stop of remove pump.

fixed in latest update


AppBridge error on localhost

When I try to run the app in my local host I m getting the below error (I.e Host Must be provided).

Hi there!
Have you added the app as a sales channel? https://shopify.dev/apps/channels/getting-started#step-1-turn-an-app-into-a-sales-channel-app


EHealth-772: phone_number is not required for OFFLINE auth_method

Changes Unknown when pulling 527a4a7c300d192d4da5b7249ad1859446f9041a on EHealth-772 into ** on master**.

Changes Unknown when pulling bca2d1a130c91b666872cca0eeca6354014cf2fa on EHealth-772 into ** on master**.

Changes Unknown when pulling bca2d1a130c91b666872cca0eeca6354014cf2fa on EHealth-772 into ** on master**.


telebot not working

The bot can jsut get me the list of accounts. If i try to do something els it just spames me with : " The following accounts are available: " and this message can come up to 20 times a sec.
#edit
after redownloading and buildind everything i discovered, that the script restarts xtimes a second (like i get the messages)
Error log:
at new Hmac (crypto.js:117:16)
at Object.createHmac (crypto.js:643:10)
at Object.exports.generateAuthCode.exports.getAuthCode (/home/jukas/git/steamhourboostv2/node_modules/steam-totp/index.js:43:20)
at exports.getTimeOffset (/home/jukas/git/steamhourboostv2/node_modules/steam-totp/index.js:28:23)
at IncomingMessage.res.on (/home/jukas/git/steamhourboostv2/node_modules/steam-totp/index.js:128:4)
at emitNone (events.js:111:20)
at IncomingMessage.emit (events.js:208:7)
at endReadableNT (_stream_readable.js:1055:12)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickDomainCallback (internal/process/next_tick.js:218:9)

i have the same problem.

@Snowyy88
Yes, for the accounts that you don't want to boost just add an empty array for the gameids:
[]

App crashed when starting multiple accounts with telebot.
I added if(acc) to line 66 in lib/telebot.js and it started without any problem and not spamming on telebot.
bot.hears(/(.*)/, ctx => {   const [name] = Array.from(fuzzy(ctx.message.text))   if (name) {     const acc = R.find(R.propEq("name", name), database)     if(acc){     return totp(acc.secret)       .then(code =>         ctx.replyWithMarkdown(
Selected account ${acc.name}.
2FA-Code: `${code}`
)       )       .catch(err =>         ctx.replyWithMarkdown(
Selected account ${acc.name}.
Error: `${err}`
)       )   } }   return ctx.replyWithMarkdown(
Could not find a matching account!
Try /list to get a list of available accounts!
) })


Removed Warning

Removed Warning

cc: @jmprieur
GitHub Issue: https://github.com/MicrosoftDocs/azure-docs/issues/88729

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

#label:"aq-pr-triaged"

#sign-off

#sign-off


Fix typo: gatewy

What type of PR is this?

"docs: fixes typo gatewy to gateway"

What this PR does / why we need it:
Simple typo fix
Which issue(s) this PR fixes:
Fixes documentation typo

is it same for latest?

thanks @vinaysrini can you also update the same file in https://github.com/envoyproxy/gateway/tree/main/site/content/en/latest with the same change

Updated in latest as well.

please fix DCO

will redo this. got very confusing with multiple commits and DCO rejects


🐛 VS Code extension prints warning although biome is not being used

Environment information
CLI:
  Version:                      1.0.0
  Color support:                true

Platform:
  CPU Architecture:             x86_64
  OS:                           macos

Environment:
  BIOME_LOG_DIR:                unset
  NO_COLOR:                     unset
  TERM:                         "xterm-256color"
  JS_RUNTIME_VERSION:           "v18.13.0"
  JS_RUNTIME_NAME:              "node"
  NODE_PACKAGE_MANAGER:         "null"

Biome Configuration:
  Status:                       unset

Workspace:
  Open Documents:               0

Discovering running Biome servers...

Incompatible Biome Server: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

ℹ Rage discovered this running server using an incompatible version of Biome.

Server:
  Version:                      <=10.0.0

What happened?
The biome VS Code extension shows a warning message in a project that does not use biome at all.
The extension is configured with Biome: require configuration set to true.
The extension couldn't resolve @biomejs/cli-darwin-x64/package.json or @biomejs/cli-darwin-x64/biome.
If you installed "@biomejs/biome", it's a resolving issue due to your package manager.
Check the troubleshooting section of the extension for more information on how to fix the issue.

Expected result
The VS Code extension does not activate Biome in projects that do not use Biome.
Code of Conduct

[X] I agree to follow Biome's Code of Conduct

I may be able to contribute a fix for this issue, but I'd like to make sure we all agree on the expected behaviour.
IMHO, the extension should not attempt to locate the server path if the following is true:

The biome.requireConfiguration is set to true (default), and the project does not have a rome.json (until completely removed) or biome.json file.

So, I put that warning because when I tested the extension before the launch, the extension couldn't resolve the binaries. That was a problem with pnpm.
That was a hasty, quick fix I put in place in case someone faced my same issue. I now realise this is a bug and not the intended behaviour.
One thing we could do is to try to resolve @biomejs/biome first. If the package is not found, we return undefined and carry on:
https://github.com/biomejs/biome/blob/06f28896981764dd430b313d4a303b02cb87aada/editors/vscode/src/main.ts#L223
If @biomejs/biome is found, we should continue with the logic and maybe keep the warning. What do you think?

There are two issues here IMHO:

The Biome extension attempts to located the server in project that do not use Biome
The Biome extension fails to locate the server

Should we attempt to locate the server?
The activation events of the extension are broad. This is fine, but it also means that it is very likely that it will activate in projects that do not use Biome at all. The extension should handle this transparently for the users.
We should probably rely on the biome.requireConfiguration and the presence of the biome.json config file.
flowchart LR

A(Extension activates) --> B{biome.requireConfiguration}
B -->|true| D{biome.json exists}
B -->|false| Z
D -->|true| Z
D -->|false| Y
Y(Do nothing)
Z(Attempt to locate server)

Locating the server
When it comes to locating the server, it think it should attempt to find the server in the following order.
flowchart LR

A(Locating the server) --> B{biomejs/biome exists\n in local dependencies}
B -->|true| Z
B -->|false| C{biomejs/biome exists\n in global dependencies}
C -->|true| Z
C -->|false| D{Builtin biome supports arch}
D -->|true| Z
D -->|false| Y
Y(Server not found - show warning)
Z(Server found)

The proposed solution makes sense to me, although we vehemently discourage the installation of the package globally, so we should refrain from attempting to discover it globally.

Sounds good

I have started working on this.

Fixed by https://github.com/biomejs/biome/pull/210

Was there a regression here? I'm still getting prompts on projects that don't have any Biome configuration. Also the extension does not appear to have a biome.requireConfiguration setting anymore.

I'm also having the same prompt and it's really annoying

Is there any solution?


[sctp] multiple incoming udp connections not handled

sctp Association::server does not track multiple connections. DisconnectedPacketConn simply sends to the last address it received from, pretending that it's a 1:1 connection instead of 1:many, and Association doesn't know about remote addresses at all.

Based on the pong example, it looks like each Arc<Stream> is just an independent entity and you cannot distinguish between connections. I guess it would be possible for Arc<Stream> to expose the SocketAddr type or change the API in such a way to you first have to call accept_connection before you can accept_stream.


Kata 1

A bit late to the party sorry, I was on annual leave for the first kata.
Here's my attempt (with attached screenshot)

👍


Retrieve User from given Token, from an unsecured path

Hi,
First congrats for this awesome and amazing bundle that I'm currently using for all my WebServices projects.
My little question:
What is the best way to retrieve a user from an unsecured path?
My context:
I have a /api/1/example/{id}.json endpoint, to access an element informations.
This path is unsecured.
I'd like to use an optional token, and retrieve matching user if passed through the Request headers.
The problem is that without passing through the firewall (and so the bundle security listener), my token-user association is not handled.
Any idea about this?
Thank you so much.

Hi,
I think  you could use the JWTManager::decode(TokenInterface $token) method.
Unfortunately it only accepts a TokenInterface so you would have to first create a new JWTUserToken and pass it your token in the setRawToken($rawToken) method.
If the token is successfully decoded it will return an array containing the user identity (by default the username). Then it's up to you to retrieve your user from it.
Of course, it's all theory ! Let me know if it works :)

I was thinking about using this solution yesterday, but ignoring if a better practice was planned for an incoming release.
I'll test it today and keep you informed about it.
Thanks! :)

I confirm this theory works perfectly! :)

Great :)


on higher difficulties bad posture is hard to avoid

Goals
Improve posture tracking for accuracte predictions
Tasks

[x] Test various difficulties
[ ] adjust conditions as needed

Adjust conditions as needed
The conditions (namely the shoulder offset) should be tested with the use of z coord which is natively calcluated by mp.
we should test a new condition called closeness using the z score of the shoulder's and/or ear landmark(s).

Adjusting conditions
I have removed torso inclination and renamed offset to shldr distance. redoing the posture conditions in totality. Optimizing for forward learning front facing camera pose.


python311Packages.libtmux: 0.35.0 -> 0.36.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python311Packages.libtmux is: Typed scripting library / ORM / API wrapper for tmux
meta.homepage for python311Packages.libtmux is: https://libtmux.git-pull.com/
meta.changelog for python311Packages.libtmux is: https://github.com/tmux-python/libtmux/raw/v0.35.0/CHANGES
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.35.0 with grep in /nix/store/p3xjyr0kivyicb87hjy5k1ni8h0bhhg1-python3.11-libtmux-0.35.0
found 0.35.0 in filename of file in /nix/store/p3xjyr0kivyicb87hjy5k1ni8h0bhhg1-python3.11-libtmux-0.35.0

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

4 package rebuild(s)

First fifty rebuilds by attrpath
arsenal
python311Packages.libtmux
python312Packages.libtmux
tmuxp

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/p3xjyr0kivyicb87hjy5k1ni8h0bhhg1-python3.11-libtmux-0.35.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python311Packages.libtmux https://github.com/r-ryantm/nixpkgs/archive/935899eb2d06a1d8f8eca099a40fc009cccddd85.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/935899eb2d06a1d8f8eca099a40fc009cccddd85#python311Packages.libtmux

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/p3xjyr0kivyicb87hjy5k1ni8h0bhhg1-python3.11-libtmux-0.35.0
ls -la /nix/store/p3xjyr0kivyicb87hjy5k1ni8h0bhhg1-python3.11-libtmux-0.35.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

2 packages failed to build:

tmuxp
tmuxp.dist

6 packages built:

arsenal
arsenal.dist
python311Packages.libtmux
python311Packages.libtmux.dist
python312Packages.libtmux
python312Packages.libtmux.dist

Maintainer pings

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python311Packages.libtmux is: Typed scripting library / ORM / API wrapper for tmux
meta.homepage for python311Packages.libtmux is: https://libtmux.git-pull.com/
meta.changelog for python311Packages.libtmux is: https://github.com/tmux-python/libtmux/raw/v0.36.0/CHANGES
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.36.0 with grep in /nix/store/2fmmm9k81pvda6p3fmqi241syz3x8lv4-python3.11-libtmux-0.36.0
found 0.36.0 in filename of file in /nix/store/2fmmm9k81pvda6p3fmqi241syz3x8lv4-python3.11-libtmux-0.36.0

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

4 package rebuild(s)

First fifty rebuilds by attrpath
arsenal
python311Packages.libtmux
python312Packages.libtmux
tmuxp

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/2fmmm9k81pvda6p3fmqi241syz3x8lv4-python3.11-libtmux-0.36.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python311Packages.libtmux https://github.com/r-ryantm/nixpkgs/archive/faf5965e1c9d4c691be71861cadb7230d8636d9c.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/faf5965e1c9d4c691be71861cadb7230d8636d9c#python311Packages.libtmux

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/2fmmm9k81pvda6p3fmqi241syz3x8lv4-python3.11-libtmux-0.36.0
ls -la /nix/store/2fmmm9k81pvda6p3fmqi241syz3x8lv4-python3.11-libtmux-0.36.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

2 packages failed to build:

tmuxp
tmuxp.dist

6 packages built:

arsenal
arsenal.dist
python311Packages.libtmux
python311Packages.libtmux.dist
python312Packages.libtmux
python312Packages.libtmux.dist

Maintainer pings
cc @otavio for testing.