mavlink: Allow mavlink_send to take component_ID into account. Still use...

... a default argument in case the user does not supply a component_ID, so no further changes to the other sections of the PX4 code are necessary. Alternatively, the same functionality could be provided via overloading that function, let me know if that should be the preferred method.
This PR is set up to provide the functionality described here : https://groups.google.com/forum/?fromgroups=#!topic/px4users/YWGhS0seTiI . It was tested successfully with QGC 2.3.

Thanks!


Example is using now.month instead of now.minute

What happened?

In line 64 it's now.month instead of now.minute in this example:
https://dartpad.dev/?id=e66e420f2f0201c772f73819711bf290
I'm getting there via the Flutter.dev page when I click "try it in dartpad".
Steps to reproduce problem

If I reset the editor, the problem persists.
Additional info
Browser
Browser:
Version:
Are you using any extensions/plugins that affect website behavior
(particularly those that affect iframes, such as ad blockers)?
Are there any warnings or errors in your browser's JavaScript console?
If so, paste them below:
[paste warnings or errors here]

Machine
Operating system: Win 10
Version:
Your code
What code was in the editor, if any, when the failure occurred? You
can paste it in below:
// Paste code here.

child: Text('Built at ${now.hour}:${pad(now.month)}:'
DartPad's output
Did DartPad print anything to the console pane? If so, paste it below:
[paste console output here]

If you were running Flutter code, you can also paste an image of the
Flutter output directly into this bug report.

Sorry, my mistake, this is for the Flutter team


tests: Remove unused dependencies

Found these unused dependencies using: cargo +nightly udeps && cargo +nightly udeps --all-targets

I would suggest adding this step to CI. E.g.
  unused_deps:
    name: Check for unused dependencies
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      ...
      - name: Run cargo-udeps
        uses: aig787/cargo-udeps-action@v1
        with:
          args: --all-features

Unsure if this has to be added in between:
with:
    submodules: 'recursive'
- name: install protoc
  uses: taiki-e/install-action@v2
  with:
    tool: protoc@${{ env.PROTOC_VERSION }}
- name: install ninja
  uses: ./.github/actions/setup-ninja

Also unsure if --benches, --tests, --examples and --bins are enabled by default.

I would suggest adding this step to CI. E.g.

Good idea.

Unsure if this has to be added in between:

Yes, cargo-udeps does a full build and looks at the linked binary. So all dependencies are required.

Also unsure if --benches, --tests, --examples and --bins are enabled by default.

--all-targets will do that for you: https://doc.rust-lang.org/cargo/commands/cargo-build.html#target-selection


this.base()

when you call this.base() on create function it will invoke super class' create function
usage:
var SomeClass = Class({
create: function(){
this.name = 'Name';
}
});
var NewClass = SomeClass.extend({
create: function(){
this.base();
this.surname = 'Surname';
}
});
var nc = new NewClass();
alert(nc.name + ' ' + nc.surname);

@tlghn Hi! Thanks for your PR - I like it with one exception. Lets rename base to super. What do you think about it?

@tlghn And I do see one problem this this solution, what will happen if someone will call this.base() in any other object method? I believe this.base should get the callee argument and behaviour should be appropriate to the called method.


Content organisation

You can contribute by organising the content!! (Just make sure you don't remove someone else's contributions)

Can you assign this task to me, if possible?
And also tell me what I have to do in content organization?

@anujaagarwal  Hey! You would just have to put the programs in the respective folder. Like in the Hello World Programs, you have to make folders according to Language and put the programs of the language there. For example, hellowworld.c in C folder.

@anujaagarwal hello! I'll merge your PR soon. Actually, a contributor tried to contribute and instead deleted several files. So I have to sort that out first.

Okay no problem Bhavesh
On Sun, 4 Oct 2020, 00:09 Bhavesh Lohana<EMAIL_ADDRESS>wrote:

@anujaagarwal https://github.com/anujaagarwal hello! I'll merge your PR
soon. Actually, a contributor tried to contribute and instead deleted
several files. So I have to sort that out first.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/bhaveshlohana/HacktoberFest2020-Contributions/issues/433#issuecomment-703146890,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AF7AJA26BTERZE6XRXTPY23SI5VUZANCNFSM4SA3TPHA
.

@anujaagarwal  can you close your PR and send another PR. There was a conflict, I made a new branch to solve it but it hasn't been solved yet.

Okay I am closing this PR and sending a new PR

@anujaagarwal  done!

are you going to accept other PRs as well?

Yes, I am doing it now.

@anujaagarwal  Thank you for the help, Anuja!

i request you to accept one more PR.

Hey um can the organiser also look into some redundant files in helloworld projects...
Their are a duplicates there.
for example in the python folder, helloworld.py, HelloWorld.py and helloWorld.py contain the same code... leading to tracking issues...

Welcome!
On Tue, 6 Oct 2020, 23:33 Bhavesh Lohana<EMAIL_ADDRESS>wrote:

@anujaagarwal https://github.com/anujaagarwal Thank you for the help,
Anuja!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/bhaveshlohana/HacktoberFest2020-Contributions/issues/433#issuecomment-704450673,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AF7AJA4P2RKPEGB4ZWQJ54LSJNLXNANCNFSM4SA3TPHA
.

@Vyvy-vi Yes, I know. It's for beginners. Once Hacktoberfest ends, there'll be only one of each.

Hello @bhaveshlohana.
Do you still need any help in organising the content?
If so can you assign me the task?

Check #1429

I submitted the PR but this is not counted as Hackktoberfest contribution , but why? @bhaveshlohana

Hello @anujaagarwal 3 days ago Hacktoberfest team said that this repo doesn't have "quality content". Check #1429


Adding Abyssal Vorton Tuning System

This adds the new Abyssal Module.
Very simple this time thankfully!

Thanks a lot!


KAFKA-3502: move RocksDB options construction to init()

In RocksDBStore, options / wOptions / fOptions are constructed in the constructor, which needs to be dismissed in the close() call; however in some tests, the generated topology is not initialized at all, and hence the corresponding state stores are supposed to not be able to be closed as well since their init function is not called. This could cause the above option objects to be not released.
This is fixed in this patch to move the logic out of constructor and inside init functions, so that no RocksDB objects will be created in the constructor only. Also some minor cleanups:

In KStreamTestDriver.close(), we lost the logic to close the state stores but only call flush; it is now changed back to call both.
Moved the forwarding logic from KStreamTestDriver to MockProcessorContext to remove the mutual dependency: these functions should really be in ProcessorContext, not the test driver.

ping @enothereska @dguy @mjsax for reviews.

This fix seems to be incomplete:

org.apache.kafka.streams.state.internals.SegmentIteratorTest > shouldOnlyIterateOverSegmentsInRange PASSED
pure virtual method called
terminate called without an active exception

This fix seems to be incomplete:

Looking into it.

Found another issue with SegmentIteratorTest, where the test could be opening the underlying Segment's iterator without closing it at the end if it is not calling hasNext until it returns false.

retest this please

@guozhangwang Other than a couple nitpicks, LGTM.

@hachikuji addressed, would you mind taking another look?

Thanks for the patch! Fixed one more alignment nit when merging.


Service worker bug 18 09 2018 2

Service Worker all blog fixed and has been made a static service-worker.js

Merge request to Fix all service-worker.js bug


[4.0] GDScript "Go to definition" doesn't work with member from a different class

Godot version
v4.0.rc1.official [8843d9ad3]
System information
Linux Ubuntu 20.04 with Unity desktop
Issue description
Ctrl+click to go to definition does not work when targeting a member (property or method) of an object of another type, even when this type is properly hinted (static type).
Holding ctrl and hovering the member will not underline the member in red, and clicking will do nothing. This applies to both custom classes and built-in types.
Holding ctrl and hovering other class member:

In comparison, holding ctrl and hovering member of same class as current file, or a global built-in will work:

Steps to reproduce

Open B.gd in script editor
Hold Ctrl and hover various members, and try to click on them
Expected: all members and built-in symbols should be recognized to go to definition
Actual: members of A and Animation are not recognized

Minimal reproduction project
v4.0.rc1 - Go to definition doesnt work on third object member.zip

Thanks for the detailed report. This was a regression in RC 1 and already fixed in RC 2 by d405392847149e1620324ac9217952bc51884baf.


Saved status is changed when editing the textarea in the htmleditor

Saved status should only be changed when clicking on the save button for the text area.

Fixed issue


Display of low-res images blurry, no option to change image-rendering mode

Hello,
We are trying out your panel in SMS-group for the display of images stored in our database.
It works well, except with extremely lo-resolution images (in the range of 40x50 pixels), where the display seems to interpolate between pixels. You are probably using auto mode for image rendering, see https://developer.mozilla.org/en-US/docs/Web/CSS/image-rendering . It would be great to have the option to change the rendering mode if required.
Attached what we have currently vs what we want to display (browser default vs gimp).

@denglerchr Thank you for the feature request.
It's implemented in the upcoming release.

Thanks a lot, looking forward to it :)

@denglerchr Plugin was submitted to the Grafana team for review.
Meanwhile, you can download it from GitHub to test: https://github.com/VolkovLabs/volkovlabs-image-panel/releases/tag/v4.1.0.


chore: add bundle size metrics

This PR adds bundle size metrics using andresz1/size-limit-action.

Measurements are based on Webpack builds using basic config Webpack and Terser config. It allows to understand the impact of importing a single component and track it in PRs.
Fixtures for following components were added:

Button
Icon
Image
Portal

Codecov Report

Merging #3999 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #3999   +/-   ##
=======================================
  Coverage   99.84%   99.84%
=======================================
  Files         184      184
  Lines        3164     3164
=======================================
  Hits         3159     3159
  Misses          5        5

Continue to review full report at Codecov.

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


Deploy button inoperable on production environments

Describe the bug
Deploy button on Dashboard doesn't work for production environments with Lagoon RBAC:
GraphQL error: Unauthorized: You don't have permission to "deploy:production" on "environment".

To Reproduce
Steps to reproduce the behavior:

Go to production environment on RBAC-enabled Lagoon.
Click on Deploy.
See error.

Expected behavior
Perhaps the button should be disabled, or otherwise indicate that it is inoperable.
Screenshots
n/a
Additional context
This came out of a GovCMS request, not sure if it is specific to their installation.

This reminds me of https://github.com/amazeeio/lagoon/issues/1642 - in essence they look like the same issue.

yep, it's the same thing. closing as a dupe because #1642 has more detail and screenshots


v.0.6.2 to production

See commit details for more information. This is a major feature upgrade and package restructure.

Hello @mikkokotila! Thanks for opening this PR.
No unchanged relevant lines lost coverage.
Overall coverage increased (+34.7%) to 52.754%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

wrangle/array/array_random_shuffle.py
10
11
90.91%

wrangle/col/col_check_allsame.py
5
6
83.33%

wrangle/col/col_drop_outliers.py
10
11
90.91%

wrangle/df/df_corr_pearson.py
11
12
91.67%

wrangle/df/df_corr_randomforest.py
10
11
90.91%

wrangle/df/df_to_lower.py
10
11
90.91%

wrangle/utils/create_datetime_col.py
0
1
0.0%

wrangle/utils/multi_input_support.py
0
1
0.0%

wrangle/array/array_to_multilabel.py
8
10
80.0%

wrangle/col/col_to_buckets.py
14
16
87.5%

Totals

Change from base Build 36:
34.7%

Covered Lines:
546

Relevant Lines:
1035

💛  - Coveralls


Change output colors?

How can I change the output colors sg gives me? The current ones seem pretty unusable for me,

I think the issue here is that I'm using a light font color, which doesn't contrast well with the pink/light green highlights. Maybe related to #2?

Thanks for the input! I will change the default output style!


Volumetric Fog goes dark on the edges when a Fog shader is used

Godot version
4.0.alpha12
System information
Archlinux
Issue description
I use a FogVolume type World, to decrease the fog density with the altitude. When it goes near 0.0, the color switches to a much darker color on the last appearing line.
Steps to reproduce
Create a FogVolume type World, with a new ShaderMaterial and a fog shader :
shader_type fog;

void fog() {
	ALBEDO = vec3(1.0);
	DENSITY = mix(0.005, 0.0, WORLD_POSITION.y * 0.01);
}

Minimal reproduction project
TestVolumetricFogBug.zip

PS: Code blocks should use triple backticks like this (with an optional language name for syntax highlighting):
```glsl
code here
```
I edited your post accordingly, but remember to do this in the future :slightly_smiling_face:

This isn't a bug, what you are seeing is the end of the Volumetric Fog. In the MRP it extends to 1024 metres because the Volumetric Fog length is 1024 metres. If you use a smaller value it won't extend as far. Volumetric Fog cannot extend forever so it needs to be mixed with fixed fog if you want to keep fog in the far distance consistent


Is paging available?

I am currently using index.html page of readium project to didplay my .epub files. Does it provide any paging feature? If so how to add it ?

Short answer: yes (assuming you mean "pagination").
Are you having problems navigating dynamic pages in reflowable content, or pre-paginated documents in the case of fixed-layout EPUBs?

I need to show for example on bottom the page number or page 5 out 450.Is it the same?

The "page count" feature is currently not implemented for reflowable EPUBs (dynamic pagination). It is implemented partially for fixed-layout ebooks (pre-paginated) but there is no user interface to display / choose page numbers. Here is the "backend" API that partially implements support for this feature:
https://github.com/readium/readium-shared-js/blob/develop/js/models/current_pages_info.js#L37
(it is used in native application launchers such as OSX and iOS, but this remains an incomplete feature)
See: https://github.com/readium/readium-shared-js/issues/105 and https://github.com/readium/readium-js/issues/16


blesh: 2022-07-29 -> 0.3.4

Description of changes
https://github.com/akinomyoga/ble.sh/releases/tag/v0.3.4
Closes https://github.com/NixOS/nixpkgs/issues/224537  cc: @Aleksanaa

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Please check if typing [ -z aaa ] make "[ command not found" output suddenly.

I tested it on Darwin and seems to work, it doesn't throw the [ command not found

I tested it on Darwin and seems to work, it doesn't throw the [ command not found

Then it should be okay. This happened on last version.

@Aleksanaa I've already got a review request and added a review. Please specify the kind of review if you need more.

Oh, so is the blesh package switched from 0.4 (devel) to 0.3 ("stable")?
If it works fine, I have nothing to say, but ble-0.3 doesn't explicitly support NixOS. ble-0.4 is still in the devel state, but it includes many fixes for the nix-shell envrionment including https://github.com/akinomyoga/ble.sh/issues/169, https://github.com/akinomyoga/ble.sh/issues/171, https://github.com/akinomyoga/ble.sh/issues/179, https://github.com/akinomyoga/ble.sh/issues/300 (https://github.com/akinomyoga/ble.sh/issues/235 was backported to ble-0.3). But, as far as one doesn't use it inside the nix-shell, maybe there is not so much difference.


Improve WSL topic

Thank you for contributing! Please confirm this pull request meets the following requirements:

[x] I followed the contributing guidelines: https://github.com/github/explore/blob/master/CONTRIBUTING.md
[x] I have no affiliation with the project I am suggesting (as a maintainer, creator, contractor, or employee).

Which change are you proposing?

[x] Suggesting edits to an existing topic or collection
[ ] Curating a new topic or collection
[ ] Something that does not neatly fit into the binary options above

Editing an existing topic or collection
I'm suggesting these edits to an existing topic or collection:

[ ] Image (and my file is *.png, square, dimensions 288x288)
[x] Content (and my changes are in index.md)

Improving the topic

Curating a new topic or collection

[ ] I've formatted my changes as a new folder directory, named for the topic or collection as it appears in the URL on GitHub (e.g. https://github.com/topics/[NAME] or https://github.com/collections/[NAME])
[ ] My folder contains a *.png image (if applicable) and index.md
[ ] All required fields in my index.md conform to the Style Guide and API docs: https://github.com/github/explore/tree/master/docs

Please replace this line with an explanation of why you think this topic or collection should be curated.

Something that does not neatly fit into the binary options above

[ ] My suggested edits are not about an existing topic or collection, or at least not a single one
[ ] My suggested edits are not about curating a new topic or collection, or at least not a single one
[ ] My suggested edits conform to the Style Guide and API docs: https://github.com/github/explore/tree/master/docs

Added info from Microsoft Docs to get more content for the topic

Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.

Can someone tell me why the CI failed?


Pattern  view member incorrectly inherits transparency from insertion pointer

I believe this happened as a result of deleting one of the adjacent patterns (presumably the member above the pointer, since the insertion pointer would then move up and leave a pattern in its place) while the insertion pointer was partially transparent

It will stop being transparent if I hover over the menu button, but only while hovering. I can't get it to stop being transparent in any other way, not even by deleting the member, since one of the adjacent patterns will, similar to how this started.

actually, this might have been caused from dragging one of the entries to the top of the list and dropping it outside the margin.

This buggy behavior survives a project import, but not a page reload.


Added new button

@Shubhammete You forgot the Main.jsx part, kindly check the README.md and raise a PR


Unable to find room id

I tried the guide how to find it but when searching using dev tools ,said it can't find it!
I attach a screenshot

View Page Source and look for "roomID"

import requests
from bs4 import BeautifulSoup
import json
import time

def get_live_room_info(user_id):
    url = f'https://www.tiktok.com/@{user_id}/live'
    headers = {
        'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.3'
    }

    while True:
        response = requests.get(url, headers=headers)
        if response.status_code == 200:
            html_content = response.text
            soup = BeautifulSoup(html_content, 'html.parser')
            script = soup.find('script', id='SIGI_STATE')

            if script:
                script_content = script.string
                data = json.loads(script_content)

                if 'LiveRoom' in data and 'liveRoomUserInfo' in data['LiveRoom'] and 'user' in data['LiveRoom']['liveRoomUserInfo']:
                    user_info = data['LiveRoom']['liveRoomUserInfo']['user']
                    room_id = user_info.get('roomId', '')
                    status = user_info.get('status', '')

                    print(f"Room ID: {room_id}")
                    print(f"Status: {status}")

                    if status == 2:
                        break

        time.sleep(5)

user_id = 'tv_asahi_news'
get_live_room_info(user_id)

NEW VERSION RELEASED:
https://github.com/Michele0303/tiktok-live-recorder/releases/tag/5.0


Amiga DB23 To Beta3 Pin Header Mapping

Hi,
Is there an existing schematic/diagram anywhere showing the exact pin mapping between Amiga DB23 and the Beta3 PCB pin header signals, including appropriate grounds?
I am fairly confident that I have this wired correctly and get display/diagnostic menu on screen but only alternating black screen and garbled video signal output.
If you could post a mapping in the repo for wiring using CSYNC and alternatively HSYNC/VSYNC via the DB23 that would be great.
I'm also using the WM8214 AFE rather than the WM8213 if that makes any difference?
Cheers.

The picoRGB2HDMI is generalistic to use any retrocomputer with RGB or RGBi output (prior converting signal) that's why I do not add a circuit to the DB23 since its just pin to pin connection.
The board can use either CSYNC or HSYNC+VSYNC.
For the first one, leave board HSYNC Grounded and connect Amiga CSYNC to the board HSYNC.
Check here the pinout of Amiga https://inanis.net/amiga-500-to-amiga-1084-rgb-cable/
You can use one or the three ground amiga pin 16,17,18
Regarding WM8214 is compatible with WM8213 but faster, I saw that it might have a slightless timing difference that could shift colors. For sake of simplicity I'm about to push in this days a feature to manage gain/offset per RGB color.


chore: add pp_dot to Functor.unop

It's already there for Functor.op, not having it on Functor.unop seems to be just an oversight.

Thanks!
bors merge


save weight of pix2pix-keras

Hi tjwei,
Thank for your wonderful code. could you please tell me how to save weight of that pix2pix-keras jupyter notebook after finish training? Thank you in advance.

You can use netG.save(filepath) to save the network and use netG = keras.models.load_model(filepath) to  load the model.
If you only want to save weights, then netG.save_weights('netG.h5') and then netG.load_weights('netG.h5') to load the weights back.


status of the todo is not tracked.

If a task is complete and we refresh the browser, the complete status of the task is not saved and it becomes incomplete again. So, I would like to improve this.

hey, I can try this..


Automation of creation of landing pages

At this moment Landing pages have to be created manually. However (if landing pages will still be used), it would be a good idea to automate this process using github actions and requests.

Closed due to moving to use courses.


New assertion failure seen with 1.7.0

In Kitura-NIO, we have a test where we try to bind two servers to the same port (without setting SO_REUSEPORT to 1) and make sure the second bind fails! With 1.7.0, I see a new assertion failure while trying to bind the second server.
Here's the repro test:
import NIO

let group = MultiThreadedEventLoopGroup(numThreads: System.coreCount)
defer {
    try! group.syncShutdownGracefully()
}

let serverChannel = try! ServerBootstrap(group: group)
    .bind(host: "<IP_ADDRESS>", port: 0)
    .wait()

let port = Int(serverChannel.localAddress!.port!)
do {
    _ = try ServerBootstrap(group: group)
        .bind(host: "<IP_ADDRESS>", port: port)
        .wait()
} catch let error {
    print(error)
}

Output with 1.6.1:
bind(descriptor:ptr:bytes:) failed: Address already in use (errno: 98)
Output with 1.7.0:
Assertion failed: leak of open Channel: file /root/pushkar/bugs/.build/checkouts/swift-nio-3867413520604177634/Sources/NIO/BaseSocketChannel.swift, line 399

Huh. @weissi has been looking at this area most recently, and we have two PRs open that should entirely resolve this error: #415 and #413. Hopefully @weissi will be able to diagnose why exactly the channel is leaking before we land #415, which would prevent it leaking altogether.

Thanks very much @pushkarnk for your report! Indeed, I’ll finish my PRs on Monday and then we should be all good here.

@pushkarnk yes, so #413 fixes that but I added your specific repro as a test case too. thank you!

Thanks for the fix, @weissi !


Client-Facing Integration Test

Tests that it all fits together and works when it's up and running.

This is fully implemented.


Issue Installing v0.1.0

Running into this issue trying to install v0.1.0 after publishing this to NPM.
The plugin was working as expected when temporarily linking this project to the SF CLI (sf plugins link .) for testing purposes.
Unclear what this installation error is.
@scolladon - Do you have any insights to why the plugin would fail to install based on your experience building your plugin? I had this issue when trying to install the plugin on 2 laptops, so I don't think it's just isolated to my development machine. Not sure if I jumped ahead prematurely by publishing this prototype build to NPM without doing something to the project.
Let me know if you have the same issues installing the plugin.
PS C:\Users\matth> sf plugins install sfdx-decomposer@latest
 »   Warning: @salesforce/cli update available from 2.24.4 to 2.25.7.
? This plugin isn't signed by Salesforce. Only install the plugin if you trust its creator. Do you want to continue the
installation?, yes
Because you approved this plugin, you can avoid future installation confirmations by adding the plugin to the unsignedPluginAllowList.json file. For details, see https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_allowlist.htm.
Finished digital signature check.
Installing plugin<EMAIL_ADDRESS>failed
    Error: C:\Users\matth\AppData\Local\sf\client\2.24.4-c9898a2\node_modules\yarn\bin\yarn.js add
    sfdx-decomposer@latest --non-interactive --mutex=file:C:\Users\matth\AppData\Local\sf\yarn.lock
    --preferred-cache-folder=C:\Users\matth\AppData\Local\sf\yarn --check-files exited with code 1

Attempted to uninstall and reinstall CLI with no luck. Unclear why a warning is generated about a missing license from the package.json when I didn't change the license field from the template.
PS C:\Users\matth> sf plugins install sfdx-decomposer
You acknowledge and agree that the CLI tool may collect usage information, user environment, and crash reports for the purposes of providing services or functions that are relevant to use of the CLI tool and product improvements.

? This plugin isn't signed by Salesforce. Only install the plugin if you trust its creator. Do you want to continue the
installation?, yes
Because you approved this plugin, you can avoid future installation confirmations by adding the plugin to the unsignedPluginAllowList.json file. For details, see https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_allowlist.htm.
Finished digital signature check.
Installing plugin<EMAIL_ADDRESS>failed
 »   Warning: ..\..\..\package.json: No license field
    Error: C:\Program Files\sf\client\node_modules\yarn\bin\yarn.js add sfdx-decomposer@latest --non-interactive
    --mutex=file:C:\Users\matth\AppData\Local\sf\yarn.lock
    --preferred-cache-folder=C:\Users\matth\AppData\Local\sf\yarn --check-files exited with code 1
    ```

Somehow, this was resolved by updating a few things in the package.json. I was able to install and run v0.1.1 successfully.
fyi - @scolladon
PS C:\Users\matth> sf plugins install<EMAIL_ADDRESS>? This plugin isn't signed by Salesforce. Only install the plugin if you trust its creator. Do you want to continue the
installation?, yes
Because you approved this plugin, you can avoid future installation confirmations by adding the plugin to the unsignedPluginAllowList.json file. For details, see https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_allowlist.htm.
Finished digital signature check.
Installing plugin<EMAIL_ADDRESS>installed v0.1.1

Successfully installed sfdx-decomposer v0.1.1
PS C:\Users\matth> cd .\Documents\sfdx-decomposer-plugin\
PS C:\Users\matth\Documents\sfdx-decomposer-plugin> sf plugins
sfdx-decomposer 0.1.1 (0.1.1)

Uninstalled JIT Plugins:
community 3.0.13
custom-metadata 3.1.4
dev 2.1.6
devops-center 1.2.5
env 3.0.15
functions 1.22.11
signups 2.0.17
@salesforce/sfdx-plugin-lwc-test 1.1.1
@salesforce/sfdx-scanner 3.20.0
PS C:\Users\matth\Documents\sfdx-decomposer-plugin> sf decomposer:decompose -t "flow"
Parsing metadata file: force-app\main\default\flows\Get_Info.flow-meta.xml
XML content saved to: force-app\main\default\flows\Get_Info\actionCalls\Get_Info.actionCalls-meta.xml
XML content saved to: force-app\main\default\flows\Get_Info\actionCalls\Post_to_Contact_s_Feed.actionCalls-meta.xml
XML content saved to: force-app\main\default\flows\Get_Info\assignments\Set_Contact_ID.assignments-meta.xml
XML content saved to: force-app\main\default\flows\Get_Info\decisions\Update_If_Existing.decisions-meta.xml
XML content saved to: force-app\main\default\flows\Get_Info\decisions\Update_or_Create.decisions-meta.xml
XML content saved to: force-app\main\default\flows\Get_Info\dynamicChoiceSets\accounts.dynamicChoiceSets-meta.xml
XML content saved to: force-app\main\default\flows\Get_Info\formulas\created_or_updated.formulas-meta.xml
XML content saved to: force-app\main\default\flows\Get_Info\processMetadataValues\BuilderType.processMetadataValues-meta.xml
XML content saved to: force-app\main\default\flows\Get_Info\processMetadataValues\CanvasMode.processMetadataValues-meta.xml
XML content saved to: force-app\main\default\flows\Get_Info\processMetadataValues\OriginBuilderType.processMetadataValues-meta.xml
XML content saved to: force-app\main\default\flows\Get_Info\recordCreates\Create_Contact.recordCreates-meta.xml
XML content saved to: force-app\main\default\flows\Get_Info\recordLookups\Find_a_Match.recordLookups-meta.xml
XML content saved to: force-app\main\default\flows\Get_Info\recordUpdates\Update_Contact.recordUpdates-meta.xml
XML content saved to: force-app\main\default\flows\Get_Info\screens\Confirm.screens-meta.xml
XML content saved to: force-app\main\default\flows\Get_Info\screens\Contact_Info.screens-meta.xml
XML content saved to: force-app\main\default\flows\Get_Info\start\Contact_Info.start-meta.xml
XML content saved to: force-app\main\default\flows\Get_Info\textTemplates\chatterMessage.textTemplates-meta.xml
XML content saved to: force-app\main\default\flows\Get_Info\variables\ComplexObjectExample.variables-meta.xml
XML content saved to: force-app\main\default\flows\Get_Info\variables\contact.variables-meta.xml
XML content saved to: force-app\main\default\flows\Get_Info\variables\existingId.variables-meta.xml
XML content saved to: force-app\main\default\flows\Get_Info\variables\updateExisting.variables-meta.xml
All leaf elements saved to: force-app\main\default\flows\Get_Info\Get_Info.flow-meta.xml
All metadata files have been decomposed for the metadata type: flow
PS C:\Users\matth\Documents\sfdx-decomposer-plugin>


Update presentation

help me to update overview presentation page ex : https://www.aoga.io/#services

@genthalili what do you think about http://www.searchly.com/ ? I think aoga can have a similar structure for the website.


Extending discovery to non-core metadata

There are several metadata elements that are not part of CoreMetaData that need to be indexed, at least in a "catchall" fashion. This will allow us to discover things based upon the existence of this metadata.
In general, this means that -- except for faceted values -- the metadata will be added to the catchall "text" object and thus visible to fulltext searches. Exceptions are below.
This metadata depends upon file type and is defined as a subclass of CoreMetaData in the file HydroShare/{name of file type definition}/models.py. The actual way to implement this is to grab the metadata object from BaseResource, and then use isinstance to determine its structure, and then grab and index the appropriate metadata from it.
For example,

Fields in GeographicFeatureResource

field
treatment

GeometryInformation.geometryType
index as text

FieldInformation.fieldName
index as text

FieldInformation.fieldType
index as text

FieldInformation.fieldTypeCode
index as text

Fields of NetcdfMetaData

field
what to do

Variable
Index as text. Probably facet as well, as "Variable"

Fields in TimeSeriesMetadata

Some fields should be indexed as text.
Other fields should be indexed as coverage.
A very few fields need to be faceted.

field of TimeSeriesMetadata
what to do

sites
index names as text and point coverages as geo

variables
facet multiple names and record as text

methods
facet multiple names and record as text

series_names
index as text

Other types are similar.

From an implementation standpoint:

"Variable" is a multi-valued facet (like subject).
Ideally, the existence of sites means that you need multi-valued point coverages. A resource matches if any point is within the rectangle of interest. Show all points when the resource is chosen.
Sites from a time series are all part of one "resource".


feat(spanner): add samples for CMMR

This PR adds samples for Customer Managed Multi Region instance configurations.

Test failures are unrelated and will be fixed by #1459

Hi @dwsupplee , can we get an approval from you? Thanks.

@dwsupplee Could you please take another look? Thanks.


Check for gz or br file before sending 404 response

Resolves #219 . This removes the this.opts.precompression option

Thanks for this quick PR. I tested this and I think it's still not quite right.
If I have example.js.gz, then loading example.js works as expected (mime type js, served w/ gzip). However, loading example.js.gz directly doesn't work as expected (mime type gz, no content encoding header).
I think that loading example.js.gz should serve w/ mime type js, content encoding gzip.
Based on the Unity example in #219, I can see that it's trying to load Build/WebGL.framework.js.gz as a script, but that's not working because the script is being returned w/ the wrong headers.
I looked up the Unity documentation for web servers to confirm that I'm understanding this correctly. Here's what I found.
They specifically recommend that web servers add a special case for .js.gz files:
# On-disk Brotli-precompressed JavaScript code files:
location ~ .+\.js\.br$ {
    gzip off; # Do not attempt dynamic gzip compression on an already compressed file
    add_header Content-Encoding br;
    default_type application/javascript;
}

So to fix this, we could either:

Add a special case just for .js.gz files
(I would prefer this) Extend the same behavior to any file with a double extension ending in .gz. (The way I would test for this is removing the .gz and checking if the file still has a recognized extension or not. That way, files like example.gz still serve with gz mime type, but files like example.css.gz serve with mime type css.

I don't think that doing this is going to mess things up for anyone, since if you have a file with a double extension like .js.gz, this is probably what you want to happen.

This logic has been corrected

Do you think we should remove the option entirely, or keep it and just have it turned on by default? (So instead of checking if it's true, check if it's not false.)
I'm trying to think of if there's ever a time when you wouldn't want it to work this way.

If you'd like, we can add it back and have it enabled by default?

Yeah, how about add it back but have it check this.opts.precompression !== false

@terreng This change has been made, please be sure to test before merging

I tested it and this seems to work perfectly! One more question for you: as far as I can tell node-blob isn't actually used. Can I remove that dependency?

Yep, I just checked and I couldn't find any uses of Blob. You can go ahead and remove it


As an exco member in a CCA who needs to be in frequent contact with other CCAs, I want to be able to see all details of a CCA on one page

so I can refer to the information about a CCA before contacting my friends in it

Closing this as we're unlikely to do this.


Library installation on Arduino IDE v.1.8.2

I've tried downloading the .ZIP-file and in Arduino IDE: Sketch > Include Library > Add .ZIP library...
And it doesn't work.
The Arduino IDE returns with the error: "Specified folder/zip file does not contain a valid library".
I've even tried renaming the .ZIP-file to "thethingsiO.zip".
Any help is appreciated.

Hello Mikkel,
I'm afraid you'll need to copy the folder by yourself to your arduino libraries folder  (as specified in the repository readme).


add support for custom chain

It is nice to have support for another EVM-compatible chain. I'm thinking of adding another button in there saying "custom" and then the input change into a form where you can fill out the chain or maybe pull out the info from the chain list from thirdweb. I don't know just thinking out loud here.

Yea that would be great! The idea here is to give as much usability to as many users as possible. The plan is to add the snapshot generator and an airdrop for native, erc20, erc721 and erc1155 as well. Give's project founders all the tools they need to continue their projects post mint, in an easy to use UI

Does the project support only for ERC-721 contracts?

Ah, good point, yes, only erc721 atm, will put a contract type switch in there for that.


.js files are being served with incorrect content-type

I followed the entire tutorial with success in mid-December without this issue.
Currently, my wepback bundle.js file is being served with a content-type of 'text/html' as confirmed in the network tab of chrome devTools.  It should be served with 'application/javascript' according to /etc/nginx/mime.types.  As strict mime type checking is enabled, this file is not being executed...being that its my webpack bundle...this is a major problem for me, not to mention I expect it would respond the same to requests for all js files.
Has anyone else encountered this or know how to fix it?  (I don't want to remove X-Content-Type-Options nosniff from the headers, which is the only solution i've found to this problem.)
/etc/nginx/mime.types
types  {
    text/html                             html htm shtml;
    text/css                              css;
    text/xml                              xml;
    image/gif                             gif;
    image/jpeg                            jpeg jpg;
    application/javascript                js;
    application/atom+xml                  atom;
    application/rss+xml                   rss;

    text/mathml                           mml;
    text/plain                            txt;
    text/vnd.sun.j2me.app-descriptor      jad;
    text/vnd.wap.wml                      wml;
    text/x-component                      htc;

    image/png                             png;
    image/tiff                            tif tiff;
    image/vnd.wap.wbmp                    wbmp;
    image/x-icon                          ico;
    image/x-jng                           jng;
    image/x-ms-bmp                        bmp;
    image/svg+xml                         svg svgz;
    image/webp                            webp;

    application/font-woff                 woff;
    application/java-archive              jar war ear;
    application/json                      json;
    application/mac-binhex40              hqx;
    application/msword                    doc;
    application/pdf                       pdf;
    application/postscript                ps eps ai;
    application/rtf                       rtf;
    application/vnd.apple.mpegurl         m3u8;
    application/vnd.ms-excel              xls;
    application/vnd.ms-fontobject         eot;
    application/vnd.ms-powerpoint         ppt;
    application/vnd.wap.wmlc              wmlc;
    application/vnd.google-earth.kml+xml  kml;
    application/vnd.google-earth.kmz      kmz;
    application/x-7z-compressed           7z;
    application/x-cocoa                   cco;
    application/x-java-archive-diff       jardiff;
    application/x-java-jnlp-file          jnlp;
    application/x-makeself                run;
    application/x-perl                    pl pm;
    application/x-pilot                   prc pdb;
    application/x-rar-compressed          rar;
    application/x-redhat-package-manager  rpm;
    application/x-sea                     sea;
    application/x-shockwave-flash         swf;
    application/x-stuffit                 sit;
    application/x-tcl                     tcl tk;
    application/x-x509-ca-cert            der pem crt;
    application/x-xpinstall               xpi;
    application/xhtml+xml                 xhtml;
    application/xspf+xml                  xspf;
    application/zip                       zip;

    application/octet-stream              bin exe dll;
    application/octet-stream              deb;
    application/octet-stream              dmg;
    application/octet-stream              iso img;
    application/octet-stream              msi msp msm;

    application/vnd.openxmlformats-officedocument.wordprocessingml.document    docx;
    application/vnd.openxmlformats-officedocument.spreadsheetml.sheet          xlsx;
    application/vnd.openxmlformats-officedocument.presentationml.presentation  pptx;

    audio/midi                            mid midi kar;
    audio/mpeg                            mp3;
    audio/ogg                             ogg;
    audio/x-m4a                           m4a;
    audio/x-realaudio                     ra;

    video/3gpp                            3gpp 3gp;
    video/mp2t                            ts;
    video/mp4                             mp4;
    video/mpeg                            mpeg mpg;
    video/quicktime                       mov;
    video/webm                            webm;
    video/x-flv                           flv;
    video/x-m4v                           m4v;
    video/x-mng                           mng;
    video/x-ms-asf                        asx asf;
    video/x-ms-wmv                        wmv;
    video/x-msvideo                       avi;
}

Well, a common problem to it is not set the express.static, like this.
app.use(express.static('dist'));

where dist is the folder where you bundle is.

Hey, I have no idea how I missed this originally. 😰
This would probably be a better question for the NGINX community; I haven't seen this issue before, and I'm not super familiar with the nuts and bolts of how NGINX decides what the content-type should be for a file.
@aeciolevy also makes a good point, which is that Express will handle a lot of this on your behalf so you don't have to learn how NGINX serves files.
Good luck!


Any chance to support Asus TUF Gaming FX505DU?

I've patched the i2c-piix4 module by following these guides:
https://gitlab.com/CalcProgrammer1/KeyboardVisualizer/issues/85#note_121577579
https://www.reddit.com/r/linux/comments/asxhcc/i_wrote_a_program_to_control_asus_aura_rgb/egy7uvk/
And here's the result of calling sudo i2cdetect -l:
i2c-3	smbus     	SMBus PIIX4 adapter port 2 at 0b00	SMBus adapter
i2c-10	i2c       	NVIDIA i2c adapter 5 at 1:00.0  	I2C adapter
i2c-1	i2c       	NVIDIA GPU I2C adapter          	I2C adapter
i2c-8	i2c       	dmdc                            	I2C adapter
i2c-6	smbus     	SMBus PIIX4 adapter port 1 at 0b20	SMBus adapter
i2c-4	smbus     	SMBus PIIX4 adapter port 3 at 0b00	SMBus adapter
i2c-2	smbus     	SMBus PIIX4 adapter port 0 at 0b00	SMBus adapter
i2c-0	i2c       	Synopsys DesignWare I2C adapter 	I2C adapter
i2c-9	i2c       	NVIDIA i2c adapter 1 at 1:00.0  	I2C adapter
i2c-7	i2c       	AMDGPU DM i2c hw bus 0          	I2C adapter
i2c-5	smbus     	SMBus PIIX4 adapter port 4 at 0b00	SMBus adapter

I've called chmod 777 to all the SMBus PIIX4 adapters (/dev/i2c-6, etc.).
Then I tried using apps like Borealis, OpenAuraSDK, but still no luck.
My keyboard backlight is only red now.
Here's my HW probe result:
https://linux-hardware.org/?probe=27bb2f0366
There I see my i2c_piix4 vendor is AMD and my keyboard is PS/2, not USB.
And hwinfo result:
hwinfo.txt

Hi @yaliv thanks for the issue report!
I'm not sure how to help you further with your issue.  rogauracore and openauranb both control keyboard RGB over a USB interface only.  If you don't have the keyboard on USB at all, we probably can't help too much.   It's possible that your hardware is controlled over the SMBus, in which case the OpenAuraSDK project might be able to help further.  Good luck!

After switching to Linux kernel version 5.3, my keyboard backlight is automatically changing colors now.


Configure scripts to use environment variables

I changed both scripts to use os.environ via alexa_client/settings.py.
This'll allow the script to integrate more easily in other projects, as it can now be installed and used with a plain pip install.
I also took the liberty of cleaning up the code in a few places, to comply fully with PEP-0008.

Thanks for the PR! Sorry for huge delay in merging it.


GitHub SaaS Integration with Internal Jira Server

Let's not forget to address that case a weill since it can become a blocker because of the internal use of Tempo and the Flow time in Jira.
Reference: https://confluence.atlassian.com/adminjiraserver/linking-a-bitbucket-or-github-repository-with-jira-938846899.html

A communication to internal services can be done with GitHub self-hosted runners.


Enable serialization in daal4py algorithm classes

Description
fixes https://github.com/intel/scikit-learn-intelex/issues/425
This PR adds support for serialization of the algorithm classes in daal4py.
Since they do not store data nor results, the logic is simply to store the init parameters that were passed, and call the initializer again with those same parameters.
I wasn't sure where to add a unit test for this so I created a new test file.

Checklist to comply with before moving PR from draft:
PR completeness and readability

[x] I have reviewed my changes thoroughly before submitting this pull request.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] I have updated the documentation to reflect the changes or created a separate PR with update and provided its number in the description, if necessary.
[x] Git commit message contains an appropriate signed-off-by string (see CONTRIBUTING.md for details).
[x] I have added a respective label(s) to PR if I have a permission for that.
[x] I have resolved any merge conflicts that might occur with the base branch.

Testing

[x] The unit tests pass successfully.
[x] I have run it locally and tested the changes extensively.

Performance

[ ] I have measured performance for affected algorithms using scikit-learn_bench and provided at least summary table with measured data, if performance change is expected.
[ ] I have provided justification why performance has changed or why changes are not expected.

@david-cortes-intel please address fails. Moving to draft for now

/intelci: run

Added a test with KMeans also.

The failing CI jobs appear to be happening elsewhere too and are unrelated to the changes here.


Flaky e2e test (cron-fallback)

We need to fix this flaky e2e test:
--- FAIL: TestRunCronExample (310.61s)
    --- PASS: TestRunCronExample/cron (127.61s)
    --- PASS: TestRunCronExample/cron-timer (60.37s)
    --- FAIL: TestRunCronExample/cron-fallback (91.99s)

It happens often, e.g. https://github.com/apache/camel-k/runs/1747588145?check_suite_focus=true, but disappears after running the CI multiple times.

Note that I've faced the issue by running the TestRunCronExample e2e test locally as well, so it does not seem environment specific.

Note that I've faced the issue by running the TestRunCronExample e2e test locally as well, so it does not seem environment specific.

That's a good question 😉.
I've looked at the dependencies and it seems the quartz dependencies are added correctly. It may be an issue with how Quarkus resolve classes...

That's a good question 😉.
I've looked at the dependencies and it seems the quartz dependencies are added correctly. It may be an issue with how Quarkus resolve classes...

That's a good question .
I've looked at the dependencies and it seems the quartz dependencies are added correctly. It may be an issue with how Quarkus resolve classes...

This works:
kamel local run cron-fallback.groovy -d camel-quarkus:quartz -d camel-quarkus:cron

So I guess the camel-quarkus:cron dependency is missing for some reason.

That's a good question .
I've looked at the dependencies and it seems the quartz dependencies are added correctly. It may be an issue with how Quarkus resolve classes...

This works:
kamel local run cron-fallback.groovy -d camel-quarkus:quartz -d camel-quarkus:cron

So I guess the camel-quarkus:cron dependency is missing for some reason.

Hum that's what I did and thought too, but IIRC if failed randomly also. Have you tried to run it multiple times?

Hum that's what I did and thought too, but IIRC if failed randomly also. Have you tried to run it multiple times?

Hum that's what I did (adding the extra dependencies, not running it locally) and thought too, but IIRC if failed randomly also. Have you tried to run it multiple times?

No, it seems to work.. at least locally..

Hum that's what I did (adding the extra dependencies, not running it locally) and thought too, but IIRC if failed randomly also. Have you tried to run it multiple times?

No, it seems to work.. at least locally..

OK, sounds good. It'd better be that. I did my tests quickly as I were bringing CI back on track so I may have overlooked things or forgotten others 😀.

OK, sounds good. It'd better be that. I did my tests quickly as I were bringing CI back on track so I may have overlooked things or forgotten others 😀.

Found it! Catalog contains both:
    camel-k-cron:
      groupId: org.apache.camel.k
      artifactId: camel-k-cron
      schemes:
      - id: cron
        http: false
        passive: false

And
    camel-quarkus-cron:
      groupId: org.apache.camel.quarkus
      artifactId: camel-quarkus-cron
      schemes:
      - id: cron
        http: false
        passive: false
      javaTypes:
      - org.apache.camel.component.cron.CronComponent

So depending on the status of some butterflies, the right component gets loaded.
I think camel-quarkus-cron is the right one, the other is part of the cron capability.
Opening issue in the runtime.

Found it! Catalog contains both:
    camel-k-cron:
      groupId: org.apache.camel.k
      artifactId: camel-k-cron
      schemes:
      - id: cron
        http: false
        passive: false

And
    camel-quarkus-cron:
      groupId: org.apache.camel.quarkus
      artifactId: camel-quarkus-cron
      schemes:
      - id: cron
        http: false
        passive: false
      javaTypes:
      - org.apache.camel.component.cron.CronComponent

So depending on the status of some butterflies, the right component gets loaded.
I think camel-quarkus-cron is the right one, the other is part of the cron capability.
Opening issue in the runtime.

The needle in the haystack 😄. That was too much cron dependencies for me :)

The needle in the haystack 😄. That was too much cron dependencies for me :)

And you've just cut the project CI budget by half 👍🏼!

And you've just cut the project CI budget by half 👍🏼!

Yeah, that's why restarting CI 2-3 times was working XD

Yeah, that's why restarting CI 2-3 times was working XD


Auto-Redirect user if already logged in using riverpod and appwrite

@XxThunderBlastxX Pr for this issue already created #39


update authentication-policy to new spec, update readme

Change-Id: Ic3c1735ea4311dba696cd11b208b9d3ce81bcf96
Closes #36

Codecov Report

Merging #62 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master    #62   +/-   ##
=====================================
  Coverage      77%    77%
=====================================
  Files          12     12
  Lines        1149   1149
=====================================
  Hits          882    882
  Misses        170    170
  Partials       97     97

Continue to review full report at Codecov.

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


fix(EvModuleList): inconsistent design betw. load config and add module

Closes #12
Signed-off-by: Lukas Mertens<EMAIL_ADDRESS>
Stack:

#44
#43
#42
#34
#33
#32
#31
#29 ⬅
#27
#26
#25

⚠ Part of a stack created by spr. Do not merge manually using the UI - doing so may have unexpected results.

✓ Commit merged in pull request #42


CSS inject:false seems to have no effect

Hi, since I updated to version 3 (3.0.2) it is now putting in my code following line (require("fuse-box-css")("bundle.css");) even though I have disabled injection as per config. Becuase of that it seems my whole app is crashing ;(
const defaultFuse = FuseBox.init({
    homeDir: 'src',
    output: 'public/$name.js',
    plugins: [
      WebIndexPlugin({ template: 'src/client/index.html', target: 'index.html' }),
      JsxControlsPugin,
      JSONPlugin(),
      CSSPlugin({
        group: 'bundle.css',
        outFile: `public/styles/bundle.css`,
        inject: false
      })
    ],
  });

Has this patch made it to master? I still get the error with latest.

@tomitrescak You should get rid of CSSPlugin() options and let FuseBox inline everything, (Inline source maps will work with the latest version). Then when making a production build enable {css : true} In the Quantum Plugin.


DOCS: Add docs to customize default IAM/STS user via config options

Adds docs as referenced by @whummer over the LocalStack Community repository: https://github.com/localstack/localstack/pull/5206

This will not work anymore, this functionality has been removed (as not in any way complient with AWS and interfering with IAM enforcing), which is why the documentation was removed

This will not work anymore, this functionality has been removed in localstack/localstack#6324 (as not in any way complient with AWS and interfering with IAM enforcing)

Thanks for sharing @dfangl. I missed it earlier 😅


Boulder Woods - Backwoods Forest code as written cannot work [Python]

The code as written in the level currently does not and cannot work.
First, the increment being 5, the hero gets stuck in forest tiles constantly.  (using increment 10 seems to fix that somewhat)
Second, the end point isn't mentioned explicitly in the code, so adding a clause if the hero's distance to the end is smaller than 10 then move to it needs to be added.
Code as written on reload:
# Use isPathClear to move around the randomly positioned boulders.
# Automatic pathfinding doesn't work in Boulder Woods.
while True:
    angle = Math.PI / 2 - Math.PI / 16
    while angle >= -Math.PI / 2:
        targetX = hero.pos.x + 5 * Math.cos(angle)
        targetY = hero.pos.y + 5 * Math.sin(angle)
        # Use isPathClear between your current pos and the target.
        # If the path is clear, move to the target.

        # Otherwise, sweep the angle clockwise a bit.
        angle -= Math.PI / 16

Slightly less elegant code that would actually work (omitting solution):
# Use isPathClear to move around the randomly positioned boulders.
# Automatic pathfinding doesn't work in Boulder Woods.
while True:
    angle = Math.PI / 2 - Math.PI / 16
    while angle >= -Math.PI / 2:
        targetX = hero.pos.x + 10 * Math.cos(angle)
        targetY = hero.pos.y + 10 * Math.sin(angle)
        # Use isPathClear between your current pos and the target.
        # If the path is clear, move to the target.

        # Otherwise, sweep the angle clockwise a bit.
        angle -= Math.PI / 16
    if hero.distanceTo(Vector(76,35)) < 10:
        hero.moveXY(76,35)

changing to 10 makes all the difference, wish they'd fix these things


Update CHANGELOG.md

updating changelog for 4.0.0 release

I feel that this should be a new release, rather than modifying the existing 4.0.0-alpha release. Also, I believe we have to update src/privateai_client/__about__.py to the correct version.

we never pushed a 4.0 alpha release to pypi so I would argue against that

I feel that this should be a new release, rather than modifying the existing 4.0.0-alpha release. Also, I believe we have to update src/privateai_client/__about__.py to the correct version.

we never pushed a 4.0 alpha release to pypi so I would argue against that

We did, in fact: https://pypi.org/project/privateai-client/#history

ah, well nvm then!


mpv: we package waf, no reason to inline it

Motivation for this change
@aszlig, you inlined this ages ago (fdd9d132ca0802e08adbaa0d947fc353f633dee1), but it seems to work fine with the one we carry in nixpkgs.
Things done

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

[x] NixOS
[ ] macOS
[ ] Linux

[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Typically waf is included in the distribution of the package that uses it. Is this package an exception?

mpv will try to download waf and then run it, which obviously doesn't work for us. The workaround introduced was to have nix pull it down instead, but as it is already available in nixpkgs, we might as well just use that.

mpv is a special case.
It doesn't embed waf inside sources as the other softwares usually do, but actively it downloads and checksum-verifies a particular waf version instead.
Also, waf's original developer doesn't think waf is made to be a system-wide application to be packaged, as we traditionaly do with Autotools or CMake. His point of view is waf is a build script, included as part of the source code bundle of every particular project which uses it [1].
I think our approach is currently the best we can do in due respect to the original developers - mpv and waf (and nixpkgs of course :))
1 - https://groups.google.com/forum/#!msg/waf-users/iK01e_K_WfQ/6n7AVlthYXIJ (see the last lines, the answer to 4th point)

So all other packages except for pflask embed waf.
So just because we can use the version in nixpkgs to build mpv doesn't mean it will continue to be the case of course. I'm still in favour of just using the version we have as it makes mpv simpler (not by much admittedly).
Any thoughts from the maintainer, @aszlig ?

@peterhoeg: I've just removed the attribute from buildInputs to prevent setup hooks being run, causing a build failure. Also, I'm not a maintainer of mpv, but from the URL @AndersonTorres provided above, I'd probably leave it as it is, because while it may save a few lines of Nix code, it might break mpv as soon as the waf package in <nixpkgs> is updated.

Guys, sorry about the maintainer confusion y'day. Let's leave as is to avoid problems.


CORS

Access to XMLHttpRequest at 'https://nzcovid19api.xerra.nz/cases/geojson' from origin 'http://<IP_ADDRESS>:8080' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. - could you please add an "Access-Control-Allow-Origin: *" header to your nginx server? This might be useful - https://enable-cors.org/server_nginx.html

@neon-ninja thanks for the bug report. Please check if it is working as expected now...

Thanks, that works


Update repository after transfer

See https://github.com/senzing-garage/garage-roadmap/issues/3

Pull requests:

https://github.com/senzing-garage/docker-aptdownloader/pull/51


Bic extraction

PR checklist:

[x] Tested by creator on localhost:8000/docs
[x] Tested by creator on refinery
[ ] Tested by reviewer on localhost:8000/docs
[x] Tested by reviewer on refinery
[ ] (If added) common code tested in notebook/ script
[ ] Conforms with the agreed upon code pattern

The module is updated to the __init__.py in the extration-folder.
Also, bic.py is deleted.

I changes the regex and push it on git.
Now the bic has to be at the begining on the string or has to have a whitespace before the bic itself (but no other characters).
Additionally, after the requested 8 or 11 characters of the bic there has to be a whitespace, a special-character or the end of the string. So thats filter out all upper-cased words with more or less characters.
Nevertheless, there is a small gap, where a upper-cased word with exactly 8 or 11 character can be indentified as bic. My only idea to prevent that, is to make is list with all possible country-markers and to check whether one of them is used in space 5 and 6 (https://de.wikipedia.org/wiki/ISO-3166-1-Kodierliste). But this will exclude all country-name-changes that might happen.

I think we can't prevent false positives for the regex since it's only used to validate a bic not find it and the pattern ISO standard allows a lot. I don't see this as a big issue since we specifically mention that heuristics aren't meant to be exact. To better understand the issue from a user perspective we might want to include a false positive case in the examples.
Other sites seem to check the country code iso list but this can still result in false positives since the rest is unsure :D


Recommendations for row actions?

Hi there - I'm currently evaluating this as a potential alternative to react-table.
The features, UI, and out-of-the-box clean look here are really compelling, particularly after some of your recent updates. Nice work! One thing I'm not sure about is the best/cleanest way to go about implementing row actions (in general, think view, edit, and delete buttons which, upon click, open up either a modal or act as a link to take the user to the appropriate page).
Is there a current best practice to accomplish this? The existing UriCell takes 3 mouse clicks to click a link, so that's probably not a great solution for this purpose. Maybe show some options above the data grid upon selection of rowMarkers (though something that lives in each row would probably be preferable)?
Thanks for any thoughts!

Can you give me a rough mockup of what you want? I can probably come up with something and if not I will make it a mission to make sure it works.

Thanks for your consideration, @jassmith. I'll try to articulate the specific ui / functionalities I'm looking for below:
(A) Links to other pages
Status Quo

3 mouse clicks to follow a link in a UriCell
Pressing Enter twice when focused on a UriCell results in moving the focus inside the grid to the next row / same column (see the "More Info" column of your "Column Grouping" example here)

Desired Features / Functionality

1 mouse click to follow a link
Hit Enter once to follow the link
Ability to specify a label and a link (eg, cell will read "Glide" but have link to "https://www.glideapps.com/")

(B) Action Buttons
I'll offer 2 examples here.
Example 1 (barebones example)
The first is kind of a barebones example of what could accomplish the job. In essence, the desire here would be for the cell to act like a button (user clicks once or hits Enter to run a callback so I can open a modal in react or do whatever else).

Example 2
The next example is my current development implementation using react-table. It offers what I call convenience buttons (not sure if there's an actual name for them) that show up on row hover, and an ellipsis icon that can be clicked (mouse or Enter to open a dropdown for more keyboard accessibility). This would be my "wishlist" as I find this combination to be user-friendly and clean-looking.

While I like having the convenience buttons that show up on row hover (I think they make for a really nice user experience), I certainly think they are a nice-to-have. The absence of click once to follow a link and row action buttons / dropdowns are more of a blocker for me.
As a final note, I've never worked with HTML5 Canvas before, so I'm not familiar with its strengths and limitations. If you have another approach or suggestion that accomplishes the same result in a canvas-friendly way, I'd love to see it!
Please let me know if you'd like me to provide any additional information or clarify anything above.
Thanks!

Hover buttons I think could be acheived just using an overlay and regular html DOM. That said I will work on some examples and see what I can come up with. The idea of letting a UriCell specify a displayData is a good one, will definitely do that. Single click should also be possible as an option.

In order to do the single click behavior what you can do right now is pass onCellClicked and when you get a UrICell, open the uri and call preventDefault() on the args passed to onCellClicked
const onCellClicked = React.useCallback((c, args) => {
  const cell = getCellContent(c);
  if (cell.kind === GridCellKind.UriCell) {
    args.preventDefault();
    window.open(cell.data, "_blank");
  }
}, []);


Feat: iceworks pack

Codecov Report

Merging #33 into release/0.1.0 will not change coverage.
The diff coverage is n/a.

@@              Coverage Diff               @@
##           release/0.1.0      #33   +/-   ##
==============================================
  Coverage          79.60%   79.60%
==============================================
  Files                 27       27
  Lines                951      951
  Branches             195      195
==============================================
  Hits                 757      757
  Misses               191      191
  Partials               3        3

Continue to review full report at Codecov.

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


elastic search test container cannot create api key

Module
Elasticsearch
Proposal
in our application, we connect to elastic search using api key: https://www.elastic.co/guide/en/elasticsearch/client/java-api-client/current/connecting.html
and currently i cannot create a api key in elastic search test container, I've tried the following approaches and none of them works.

Request createApiKeyRequest = new Request("POST", "/_security/api_key"); // setJsonEntity
createApiKeyRequest.setJsonEntity("{\n" +
"  "name": "my-api-key",\n" +
"  "role_descriptors": {},\n" +
"  "metadata": {\n" +
"    "application": "myapp"\n" +
"  }\n" +
"}");
Response response = getClient().performRequest(createApiKeyRequest);
got response:
org.elasticsearch.client.ResponseException: method [POST], host [http://localhost:50190], URI [/_security/api_key], status line [HTTP/1.1 400 Bad Request]
{"error":"no handler found for uri [/_security/api_key] and method [POST]"}

Request createApiKeyRequest = new Request("GET", "/_security/api_key");
Response response = getClient().performRequest(createApiKeyRequest);
got response:
org.elasticsearch.client.ResponseException: method [GET], host [http://localhost:50125], URI [/_security/api_key], status line [HTTP/1.1 405 Method Not Allowed]
{"error":"Incorrect HTTP method for uri [/_security/api_key] and method [GET], allowed: [POST]","status":405}
I was able to connect to the testcontainer and created index.

H, Can you please provide more information? elasticsearch version and share a project that reproduce this? You can attach the project here or share a github repository

Hi, by looking at some examples in github this looks like is not a a Testcontainers issue but rather something on your configuration, you can see this example in micrometer. Also, there is no reply to the original request.


bug(monitor control): Set Brightness not working

Describe the bug
See the image below

Shows two separate monitors as one
Clearly doesn't work

#465 btw
To Reproduce
Steps to reproduce the behavior:

Execute the script
Select a "display"

Screenshots

Checklist

[x] I checked for duplicate issues.
[x] I checked already existing discussions.
[x] This issue is not included in the roadmap.
[x] This issue is present on both stable and development branches.

/label 'script'

looks like the issue stems if you have more than one monitor


Issue with k8s.io/docs/concepts/policy/pid-limiting/

Hello，
i need help!!! I can't find the documents on the official website anymore. For example, querying networkpolicy.
May I ask when it will be repaired

/language en
/sig docs

Page related to the issue: https://kubernetes.io/docs/concepts/policy/pid-limiting/

Hi @snake1028, do you mean you want to search for Network Policies docs?
See https://kubernetes.io/search/?q=networkpolicy
https://kubernetes.io/docs/concepts/services-networking/network-policies/

Does https://kubernetes.io/search/?q=example produce search results when you try @snake1028 ?
If not, that might be due to state-level censorship or a filter managed by your employer. Can you provide a screenshot?

Does https://kubernetes.io/search/?q=example produce search results when you try @snake1028 ?

Hi @snake1028, have you tried to search on the link mentioned above?

If yes could you please provide us the screenshot of the documentation problem that you facing, it will help us to understand the issue better.

No response from @snake1028  Hope He had come out off the issue faced .
So Closing this issue. Feel free to raise issue again or you may reopen it if you want.

closing this issue.
/close


Added nightly toolchain step to setup docs

Minor change to address #201 by adding a step to developer setup to install the rust nightly toolchain.

Can't reproduce.


Unable to make "file" configuration work

I use sasslint-webpack plugin to process '.scss' files in a specific directory, targeted by glob and reading rules from .sass-lint.yml. Works amazingly well - thank you!
I need to be able to exclude specific files. It appears that, no matter what I write in my .sass-lint.yml for file configuration, for either ignore or include (specific file path, regex, directory), it doesn't have any effect. The issue is very high priority for us because we are planning to include sasslint-webpack-plugin in our automated build.  Please help!

Hey @elengart, I'll take a look and see what solutions I can think of, most likely another config option.

Thanks Jackson!

Hey @elengart, I've added a ignoreFiles config option in the 1.0.2 version. You can grab the branch if you want, otherwise it should be merged in and published by end of the week.

@jackmarketon - thank you for jumping on this so quickly!

@elengart I've pushed this live to NPM now, a reinstall should grab v1.0.2


Algo: Add timeseries forcasting model training script

What type of PR is this?

/kind feature
/kind algorithm
What this PR does / why we need it:
Add time series prediction model training scripts, users can generate models with one click
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

replaced by #72


[FEATURE]

will the update of drags and new items take time?

+1

The new items "seems" to already work with the actual system (since it get's the info directly from the game I guess). I've not tested it with ALL of them but the few I saw worked like the actual items.
For the 2 new dragons tho, yes it would be a nice update to add ASAP.

Fixed in latest release

Side note, I made the icons for the two new dragons myself. They are probably not perfect, but client files did not include icons in the same style/resolution as the old ones. If anyone has better options, feel free to create a Pull request


Issue 714 test User.UsersByIds

Also, could you do a test array like in TestCreateUser

Sure. Be patient my friend :)

lol sorry :)


SystemError: (libev) error creating signal/async pipe: No error

Running demo.py on python 2.7.9/gevent 1.0.1
SystemError: (libev) error creating signal/async pipe: No error
Traceback (most recent call last):
  File "core.pyx", line 2044, in gevent.core._syserr_cb (gevent/gevent.core.c:34188)
  File "core.pyx", line 340, in gevent.core.loop._handle_syserr (gevent/gevent.core.c:6248)
  File "core.pyx", line 350, in gevent.core.loop.handle_error (gevent/gevent.core.c:6395)
  File "core.pyx", line 355, in gevent.core.loop._default_handle_error (gevent/gevent.core.c:6605)
  File "C:\Python27\lib\traceback.py", line 128, in print_exception
    _print(file, line, '')
  File "C:\Python27\lib\traceback.py", line 13, in _print
    file.write(str+terminator)
KeyboardInterrupt
(libev) error creating signal/async pipe: No error

Hmm.  Don't know why I didn't get notified when you created this issue.  Anyway can you try out a later version of gevent?

OK, no reply so I'm going to presume that this is no longer of interest.  I am 99% certain it is to do with behaviour in gevent and therefore out of my control so I'm closing this issue.

Sorry for late reply: It's working with latest version of gevent, but not with 1.0.1 (as it defined in setup.py)

Ah.  Thanks for letting me know.  It works for me with 1.0.1.  I think I may just remove the version bound from setup.py.
Get Outlook for Androidhttps://aka.ms/ghei36
On Tue, Sep 6, 2016 at 1:52 PM -0700, "ZeroNet" <notifications<EMAIL_ADDRESS>wrote:
Sorry for late reply: It's working with latest version of gevent, but not with 1.0.1 (as it defined in setup.py)

You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHubhttps://github.com/gilesbrown/gsqlite3/issues/1#issuecomment-245087406, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AAbfZoQ7nE-4orIUrdD5c37OmZ-57GtOks5qndKHgaJpZM4ISPxJ.


Admin portal status message needs to change

[ ] Admin portal status message needs to change

Text should read:
Statuses can only be updated forward towards completion

Hi Sherazad, there are two confirmation messages.
This is related to the following issue:
https://github.com/LSFLK/MedicinesforLK/issues/307#issuecomment-1202571840


ACL allow specifying CIDRs

Currently, it seems like ACLs in Netbird allow us to specify only groups.
In my scenario, I have a peer acting as a relay, exposing multiple network routes on a remote network. I'd like to restrict access for a specific group (e.g., "devs") to only a subset of this remote network (e.g., only to the DEV subnets) by specifying network ranges/CIDRs.

I also hope to add this feature, which will completely crush headscale

赞成增加该功能！


Near DOF regression from single-pass approach in 3.4beta2

Godot version
3.4 beta 2
System information
Windows 10, GLES3
Issue description
There is a downgrade in Near DOF rendering in 3.4 beta 2, compared to 3.3.2.
When blurred, the foreground no longer bleeds to the mid/background.
I think the problem is that, since near DOF works as a scatter operation, you can't just ignore pixels that are in focus, because the foreground should "bleed" to the background, so even pixel that are in focus may receive samples from nearby points in the foreground.
You can see the downgrade in the attached minimal reproduction project, as well as in these comparison screenshots.
Left is 3.3.2, right is 3.4 beta 2

Notice how the small cubes or the leaves are no longer properly blurred over the foreground.
This is most likely caused by https://github.com/godotengine/godot/pull/50723, since "in-focus" pixels are no longer blurred.
Steps to reproduce
Turn on Near DOF, and notice how the foreground doesn't bleed into the mid/background.
Minimal reproduction project
MinimalDOF.zip

Ai, yeah I missed that, you learn something every day... I'll see if I can still make the combined solution work..
Thanks for testing this!

Fixed by #51281.


Rename AppOption.requireRefresh -> requireReload

Trigger a refresh of the app (data) if any options changed that don't require a reload.

Note trivial matching PR exhi/toolbox#181

We could easily unwind the auto-refresh part of this change - I thought that would be handy for a current client app project, and it still could, but realized I could also setup a listener on prefService and do a more targeted refresh of the component that matters.  That ends up being a better behavior, although the code to setup and tear down the listener is some extra complexity within the app component.


Support Redmine Git Hosting

Hi,
I read in README that your theme is compatible with some plugins ...
i would like recomend to have a look at this plugin for  Redmine https://github.com/jbox-web/redmine_git_hosting. And if it will possible make this plugin looks better in your theme ..
Thanks

Hi,
I didn't setup the plugin fully, but at first glance, I would say that it looks pretty good to me. Do you have any particular page in mind that needs improvement?

Hi, :)
root page of repo needs to be polished
https://red.reborns.info/projects/public/repository
i marked main differences on the screenshot

If you need access to dig a bit more ,  just ask about it..

I'll close this now. If there's still interest in this, let me know here.


OpenSSL 1.0.2: BIO_read + *_WRAP ciphers copy to uninitialized pointer

Tested on https://www.openssl.org/source/openssl-1.0.2r.tar.gz
The internal iv pointer is never initialized and memory is copied to this pointer.
I can construct PoC code if desired. Is is very similar to OpenSSL::OpSymmetricEncrypt_BIO except that the return value of BIO_set_cipher is not checked.
I assume this can happen because in OpenSSL 1.0.2, BIO_set_cipher does not return a value and therefore cannot indicate failure.
I've observed it with AES_128_WRAP in encryption mode, but may also apply to other _WRAP ciphers and decryption mode.
This is just a heads-up. I'm aware 1.0.2 is a security-fix-only branch and that using a _WRAP cipher with BIO_f_cipher() is sufficiently rare that it does not prompt a new release, so you may close the issue once you've seen it.
=================================================================
==5479==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x000000674361 bp 0xbebebebebebebebe sp 0x7ffe714caef0 T0)
==5479==The signal is caused by a READ memory access.
==5479==Hint: address points to the zero page.
    #0 0x674360 in CRYPTO_128_wrap /home/jhg/cf/openssl/crypto/modes/wrap128.c:83:5
    #1 0x638f6a in aes_wrap_cipher /home/jhg/cf/openssl/crypto/evp/e_aes.c:1981:14
    #2 0x63c73b in evp_EncryptDecryptUpdate /home/jhg/cf/openssl/crypto/evp/evp_enc.c:327:13
    #3 0x634a2c in enc_read /home/jhg/cf/openssl/crypto/evp/bio_enc.c:204:18
    #4 0x6465b1 in BIO_read /home/jhg/cf/openssl/crypto/bio/bio_lib.c:210:9

So, in 1.1.0+, BIO_set_cipher just always returns a failure if you attempt this with a WRAP cipher?

I'm going to check what happens exactly, but certainly no memory violation occurs in git master.

Yeah, compiled against git master, BIO_set_cipher returns 0.
140324479227776:error:0607B0AA:digital envelope routines:EVP_CipherInit_ex:wrap mode not allowed:crypto/evp/evp_enc.c:161:

The same check exists in 1.0.2, so, yes, this looks to be because BIO_set_cipher is declared void in 1.0.2. If 1.0.2 was in bug fix mode I think I would probably recommend handling this with a documentation change. Since 1.0.2 is security-fix only, and that wouldn't be a security fix, I think probably we just close this.


Don't recommend jsx-no-target-blank

This is no longer necessary as modern browsers use rel="noreferrer" by default and IE is no longer supported.

Most sites can't afford to only support modern browsers, and no browser is actually "evergreen". It's a safer default, and the docs indicate when you're able to turn it off.


Add security permissions for Kibana Notebooks

Issue #, if available:
Description of changes:
Add Kibana Notebooks permissions to CLUSTER_PERMISSIONS
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@joshuali925 apologies for the delay here. Could you please provide more details as to why this change is needed, and if it is related to a change/feature in a different repository a link to it as well?
If this is still needed (it was created over a year ago, sorry!) please rebase from main and resubmit.

@joshuali925 apologies for the delay here. Could you please provide more details as to why this change is needed, and if it is related to a change/feature in a different repository a link to it as well?
If this is still needed (it was created over a year ago, sorry!) please rebase from main and resubmit.

@davidlago no worries. I thought this was merged long time ago, but we didn't see any issue in notebooks permissions i guess because PR to backend was merged.
This PR was to add permissions for notebooks plugin and is no longer relevant. The notebooks plugin is deprecated to the observability plugin (security PR #851). Closing this, thanks.


unable to build the image from Dockerfile

The below error encountered when building image from the Dockerfile, it complains missing libxml2, however it is already included in ASTERISK_BUILD_DEPS:
..................
checking for xml2-config... no
configure: *** The Asterisk menuselect tool requires the 'libxml2' development package.
configure: *** Please install the 'libxml2' development package.
..................

I am seeing the same results - Something must have changed with the Debian XML package that Asterisk can no longer see it during the ./configure step. I'm at a loss right now on how to resolve. Debian's site doesn't tell when the version changed as far as I know.


fixtures are not preserved between beforeEach and test

Describe the bug
Fixture instances are not preserved between beforeEach and test. This is counterintuitive because it defeats the purpose of having fixtures in beforeEach (I'm a bit biased because this is opposite to how playwright behaves)
Reproduction
class ApiMocker {
    items = new Array<string>()

    mockItems(n: number) {
        for (let i = 0; i < n; i++) {
            this.items.push('test')
        }
    }
}

type Fixtures = { api: ApiMocker }

const apiTest = test.extend<Fixtures>({
    api: async({}, use) => {
        console.log('new instance')
        const apiMocker = new ApiMocker()
        await use(apiMocker)
    },
})

beforeEach<Fixtures>(({ api }) => {
    // prints 'new instance'
    api.mockItems(100)
})

apiTest('have 100 items', ({ api }) => {
    // prints 'new instance' again
    expect(api.items.length).toBe(100) // fails
})

System Info
System:
    OS: Linux 5.15 Ubuntu 20.04.6 LTS (Focal Fossa)
    CPU: (12) x64 AMD Ryzen 5 2600 Six-Core Processor
    Memory: 6.85 GB / 15.59 GB
    Container: Yes
    Shell: 5.0.17 - /bin/bash
  Binaries:
    Node: 20.6.1 - /usr/local/bin/node
    Yarn: 1.22.19 - ~/.yarn/bin/yarn
    npm: 10.1.0 - /usr/local/bin/npm
    pnpm: 7.9.0 - ~/.yarn/bin/pnpm
  npmPackages:
    @vitejs/plugin-vue: ^4.3.4 => 4.3.4
    vite: ^4.4.9 => 4.4.9
    vitest: ^0.34.3 => 0.34.5

### Used Package Manager

yarn

### Validations

- [X] Follow our [Code of Conduct](https://github.com/vitest-dev/vitest/blob/main/CODE_OF_CONDUCT.md)
- [X] Read the [Contributing Guidelines](https://github.com/vitest-dev/vitest/blob/main/CONTRIBUTING.md).
- [X] Read the [docs](https://vitest.dev/guide/).
- [X] Check that there isn't [already an issue](https://github.com/vitest-dev/vitest/issues) that reports the same bug to avoid creating a duplicate.
- [X] Check that this is a concrete bug. For Q&A open a [GitHub Discussion](https://github.com/vitest-dev/vitest/discussions) or join our [Discord Chat Server](https://chat.vitest.dev).
- [X] The provided reproduction is a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) of the bug.

It sounds like a bug 🤔 We should have test that tests this specifically 🤔

@Dunqing what do you think?

I think this is a bug. Does this only happen in the latest version?

I think this is a bug. Does this only happen in the latest version?

Yes, it was not possible to access these fixtures in previous versions.

Sorry to bother you again but I don't think #4168 resolves my issue
The new behavior in v0.34.6 (with #4168) is:
init apiMocker
beforEach
test 1

beforEach
test 2

Whereas my desired behavior (similar to playwright) is:
init apiMocker
beforEach
test 1

init apiMocker (missing in 0.34.6)
beforEach
test 2

Although I suppose this could be a philosophical question on whether or not fixtures should only be initialized once. Personally since vitest isn't v1 yet, I'd like to change it to be as consistent with playwright as possible.

Just for reference, in v0.34.5 when I originally opened this issue:
init apiMocker
beforEach
init apiMocker (don't want)
test 1

init apiMocker
beforEach
init apiMocker (don't want)
test 2

Personally since vitest isn't v1 yet, I'd like to change it to be as consistent with playwright as possible

Agreed 👍🏻
@Dunqing what do you think?

While I think it's better to be consistent with playwright's behaviour, the current behaviour makes more sense.
In general, we don't need to initialize Fixtures for every test, which is a big performance overhead. However, you may need to re-initialize Fixtures for some test cases, so you can write those test cases in different describe since the same describe scope is only initialized once.
You can see this example.
describe('case1', () => {
 test('xxx', () => {})
})

describe('case2', () => {
 test('xxx', () => {})
})

This way we will initialize the fixtures once in both describe.

Performance issues aside, I think it makes more sense for fixtures to be scoped to individual tests. I use test fixtures for mocking my API and provisioning databases. Since they have internal states, I want to be able to access a fresh instance for every test.
Essentially I'm replacing this pattern:
let db
beforeEach(() => {
  db = createSqliteDb(':memory:')
  seedData(db)
})
afterEach(() => {
  db.close()
})
test('test 1', () => {
  doSomething(db)
  expect(db.query()).toBe(...)
})
test('test 2', () => {
  doSomethingElse(db)
  expect(db.query()).toBe(...)
})

With:
export const dbTest = test.extend({
  db: async({ use }) => {
    const db = createSqliteDb(':memory:')
    seedData(db)
    await use(db)
    db.close()
  }
})

dbTest('test 1', ({ db }) => {
  doSomething(db)
  expect(db.query()).toBe(...)
})
dbTest('test 2', ({ db }) => {
  doSomethingElse(db)
  expect(db.query()).toBe(...)
})

I'm not sure if this pattern is specific to playwright but I find it to be cleaner and allow reusability.
Not having access to a fresh instance (for this use case) would defeat the purpose of fixtures for me since I would have to write the beforeEach/afterEach every time I want to access db:
export const dbTest = test.extend({
  db: async({ use }) => {
    const db = createSqliteDb(':memory:')
    await use(db)
    db.close()
  }
})

// have to be rewritten in every file that wants to use dbTest
beforeEach(({ db }) => {
  seedData(db)
})
afterEach(({ db }) => {
  dropTables(db)
})

Yes, In your case, It is more useful to initialize fixtures for each test. Does writing your need to re-initialise fixtures of test cases in describe get complicated?

While I think it's better to be consistent with playwright's behaviour, the current behaviour makes more sense.

I would disagree. As a user, I would expect init apiMocker to be called before each test and passed down to beforeEach a different value.

I would disagree. As a user, I would expect init apiMocker to be called before each test and passed it down to beforeEach (so, new value each time). Performance considerations shouldn't be taken into account yet.

Okay, I will handle this soon


Update azure-pipelines-stageprod.yml

added batch processing

This will be merged in dev->main PR.


Show name and context on package validation fail

Including further context on package version validation failure
It's useful to know which package caused this, and to suggest the user checks package directory if they're expecting package to be built as Unlocked (may not be clear that a package without type attribute which isn't added to packageAliases will be treated as a Source package)
Also added jest tests for this function

Codecov Report

Merging #525 (44c3f88) into develop (83f33cf) will increase coverage by 0.61%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           develop     #525      +/-   ##
===========================================
+ Coverage    79.39%   80.01%   +0.61%
===========================================
  Files           38       38
  Lines         1291     1291
  Branches       222      226       +4
===========================================
+ Hits          1025     1033       +8
+ Misses         266      258       -8

Impacted Files
Coverage Δ

packages/core/src/utils/Delay.ts
100.00% <100.00%> (ø)

...ckages/sfpowerscripts-cli/src/ProjectValidation.ts
100.00% <100.00%> (+30.76%)
:arrow_up:

Continue to review full report at Codecov.

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


Write Invoke-DbcCISChecks which will set any required configuration using Set-DbcConfig and then run checks and save with relevant naming convention.

Write Invoke-DbcCISChecks which will set any required configuration using Set-DbcConfig and then run checks and save with relevant naming convention.

Thinking out loud and writing here that maybe we should use the, -Temporary parameter here when setting the values for CIS Checks.
This way we will not override other different values used by default for other occasions.

I am happy for a temporary parameter.
Education for the use of config files using export and Import-DbcConfig in the help is also required to avoid any risk of losing settings

So we had another ticket to create this function Set-DbcCisConfig to set CIS values which I just stuck in PR for.  So are you guys thinking we could use the Invoke with a Temporary flag, if it has a Temporary flag we export the config file, run Set-DbcCisConfig, then run the tests, then import the config file back.  We are only 4 tickets away from finishing this project, then I can talk Rob into opening one for STIG/DISA.

I think that works :-)
THANK YOU for all that you do

@SQLDBAWithABeard the more I look at this one, I think we should just blog about how to run CIS checks using the regular Invoke-DbcCheck and how save your config before you run it.  I know if it like my shop even the Set- command may need tweaked after it is ran because we don't adhere to every standard and would want to pull some out of the tests.  So I'm thinking we don't need this because people can use Invoke-DbcCheck -Tag CIS, use the Set- to set all the skips and values, and then individual sets for anything their company doesn't care about.  But do an export of the config and before and after, and it would custom to the environment, so thus a blog post maybe in leiu of this ticket.  I could be wrong but just thinking of how I would be using it.

I think I agree. With the Set-DbcCISConfig command I dont think this is needed