Add information on config_file_location to Static Web Apps docs

I noticed this undocumented feature here https://github.com/Azure/static-web-apps/issues/372#issuecomment-873122983
We tried and it does work on DevOps. Let me know if this is something you'd like documented, or if more detail is needed.

@microsoft-github-policy-service agree

@craigshoemaker

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

I just noticed it is documented here though 🙊
https://learn.microsoft.com/en-us/azure/devops/pipelines/tasks/reference/azure-static-web-app-v0#inputs


Show widget in signup mode

Add a config to the shortcode that will present the widget in Sign Up view instead of Log In

Wondering if there is a way to do this as well

Yes, you can set this {"mode":"signup" } in the Extra configuration: setting:

and Lock will look like this:

I would keep this to be handled by extra conf as recommended since with the adition of passwordless it could end up being messy.
I would add this to the troubleshooting doc tho (https://auth0.com/docs/cms/wordpress/troubleshoot)


add integration tests for a11y components

possible amends

https://react-styleguidist.js.org/docs/cookbook/
https://github.com/marketplace/axe-linter/plan/MDIyOk1hcmtldHBsYWNlTGlzdGluZ1BsYW41MzAx#pricing-and-setup
https://github.com/dequelabs/axe-core-npm/blob/develop/packages/playwright/README.md


[Build] Setup branches and Branch Protection Rules

this issue mainly deals with the setting up necessary project branches, below are the tasks that need to properly close this issue:

[x] need to setup minimum required branches. as of now, having two potential branches (main, canary and docs) would make more sense.
[x] once the branches the setup, make the canary branch as the default branch so that the contributors get the latest code for working off on their workflows.
[x] additionally, need to setup Branch protection rules for all the primary branches so that proper policies are enforced. a few things to keep in mind, only the main branch should require a linear commit history. this is critical as it helps with understanding the development process.

note: there are different branching strategies that are being equipped in different projects, given the workflow we follow here, having a docs branch instead of dev would make more sense as this repository caters mainly with writing and hosting content related to documentation. although this might change in future with features like translations, notebook compliance, etc.

setup completed for branches, canary (default) and main.
enforced similar branch protection rules for enforcing guardrails.
all the newer features should be able to merge through different branches and must be added via a pull request.


I cant find PolyUtil class in code.

Up to version 2.3.0, the PolyUtil class can be found and used in the code, but as of version 2.4.0, the PolyUtils class cannot be found in the code.
If you download the library source, it's obviously there, but I can't find it in the code.
(/library/src/main/java/com/google/maps/android/PolyUtils.java)

Hi @kst-kjh .
I have verified this, and the PolyUtils are definitely included in the artifact in Maven.

Could you check if this is an issue with your cache?
Thanks


help: Improve documentation for Shift+M keyboard shortcut.

Current: https://zulip.com/help/mute-a-topic
Updated:

Note: I would have put the keyboard tip inside the Desktop/Web instruction block, but we're currently reusing that block for followed topics, and I'm not sure it's worth it to split out the two use cases.

Current: https://zulip.com/help/keyboard-shortcuts#for-a-selected-message-outlined-in-blue
Updated:

Note: It's a bit weird for this to be in the "For selected message" section, but probably OK? I removed random bits of description of what a muted topic is, since I think it's better to direct folks to the page that explains them in detail.

Looks good, rebased and marked to merge once CI passes.


Use and install the latest version of packages

Use the latest versions of the packages to include the fixes for the CVEs

/test

/test

/test

/test

/test

/AzurePipelines run

@devimc
have you tested this locally?
I see that this PR is actually not testing your changes as it is getting the cached qemu:
Install Qemu
INFO: current QEMU version: 4.0.0
INFO: cached QEMU version: 4.0.0
INFO: Installing cached QEMU

                                                                           0.5%
#####                                                                      8.0%
###########################################                               60.1%
######################################################################## 100.0%
kata-qemu-static.tar.gz: OK

would be good to add a check to always build assets if something inside the static-build has changed.

@chavafg yup, I tested it


Implementing Demosaicing Algorithm

Hi there,
I would like to check on the proper implementation for the demosaicing algorithms.
...
from rawpy import DemosaicAlgorithm

raw = rp.imread('''.\input/raw/1test.dng''')

rgb = raw.postprocess(no_auto_bright=True, user_wb=raw.daylight_whitebalance, demosaic_algorithm=DemosaicAlgorithm.AAHD, output_color=ColorSpace.sRGB)
rgb = raw.postprocess(no_auto_bright=True, user_wb=raw.daylight_whitebalance, demosaic_algorithm=DemosaicAlgorithm.VNG, output_color=ColorSpace.sRGB)

(r, g, b) = cv2.split(rgb)
cv2.imwrite('''.\input/raw/1test_new7.jpg''', cv2.merge([b,g,r]))

Regardless of the type of demosaic algorithm, the results produced were all the same, and some mosaic patterns still visible. Also, some other type, VCD, LMMSE options are not available.
Expected

Current results

Mosaic

Appreciate if anyone cld guide me to the proper implementation of going from current to expected? :))

Which operation system are you using? Also, can you check the libraw version with print(rawpy.libraw_version)?
What do you exactly mean with "VCD, LMMSE options are not available."? Do you get an error?

I'm using windows 7 pro.
libraw version is (0, 17, 1)
This is what I meant by unavailable "NotSupportedError: Demosaic algorithm LMMSE requires GPL2 demosaic pack"
Thanks

Those other algorithms like LMMSE are not supported on Windows since I
would have to bundle them directly and they have a licence (GPL)
incompatible to the license rawpy uses (MIT), so this is unfortunately
not possible. On Linux, I don't bundle them but just link to whatever
version of libraw is installed, getting around the licensing issues. You
can read more about that in the libraw repository:
https://github.com/LibRaw/LibRaw/blob/master/README.demosaic-packs
Apart from that, the remaining demosaic algorithms should work. I
suspect that what you see is actually just sensor noise and not demosaic
artifacts.

Thanks for the kind explanation! I gotten a clearer understanding.
Anyway, I would like to check on some of the attributes.
When I called rawpy.color_desc = RGBG. Is that the color filter array arrangements (ie RGGB)?
How does this related to num_colors = 3?

Yes exactly, that's the color filter layout. Since green occurs twice and some cameras actually have two different types of greens there are either 3 or 4 distinct colors, and this is what num_colors says. So when color_desc == RGBG and num_colors == 3 then you can assume that the two greens are the same green, just duplicated.

I'll close this issue now, but feel free to keep posting comments here if anything else is unclear.

Sure! Thank you Neo


Connecting and working with STM32

Hello, sorry to bother you, I have a question how to connect LoRa SX1268 to STM32 (nucleo - F429ZI). Could you give me some advice on hardware connection? And what needs to be added to the firmware to make it work with STM32?

For using this library to make a STM32 microcontroller as host of LoRa module, you need to install the STM32duino core and STM32 cube programmer. Only those two software tools are needed besides Arduino IDE, no other software tools or firmware are needed. If you sure you have installed all those software correctly then you can upload an Arduino sketch which include this library to your STM32 microcontroller. Unfortunately, I have not tried using nucleo F429ZI. But I have tried upload the sketch to STM32F103 (blue pill), STM32L151CCU6, and STM32L051CBT6. The sketch works perfectly as I expected on those microcontrollers.
SX1268 is a chinese version of SX126x LoRa family. I have not tried this LoRa chip, but as far I know all the op commands and registry is the same as SX1262, so I think using SX126x header will works with this chip.
You should try to upload SX126x_LoRa_transmitter and SX126x_LoRa_receiver example sketches to two microcontrollers. Then check if the receiver receive 'HeLoRa World!' message from the transmitter. The connection I use with STM32F103 blue pill are like in the following.

SX126x
STM32F103

VCC
3V3

GND
GND

SCK
PA5

MISO
PA6

MOSI
PA7

NSS
PA4

RESET
RESET

BUSY
PA4

You can change SPI pins (SCK, MISO, MOSI) to meet SPI pins in STM32F429ZI. For RESET and BUSY pins you can connect to any GPIO pins.
After you make the connections, change the pin definition in SX126x_LoRa_transmitter and SX126x_LoRa_receiver examples. For examples, using the above connections the pin definition would look like this.
  SPIClass SPI_2(PA7, PA6, PA5);
  LoRa.setSPI(SPI_2, 16000000);

  int8_t nssPin = PA4, resetPin = PA3, busyPin = PA2, irqPin = PB11, txenPin = -1, rxenPin = -1;
  if (!LoRa.begin(nssPin, resetPin, busyPin, irqPin, txenPin, rxenPin)){
    Serial.println("Something wrong, can't begin LoRa radio");
    while(1);
  }

Thanks for your reply.  I will try soon

Okay, it worked, the message is sent, but the method LoRa.wait(), works for a very long time, the transmission time "123" takes about 2 minutes. Is this a modulation issue or am I doing something wrong?
Also, another question arose. Principle of operation LoRaRF Is it the same for Arduino and Python? Because I have a device Raspberry pi, and it does not receive a signal from STM32. Is this a code issue, or mine? Thanks in advance! Thanks in advance!

LoRa.wait() method is used to make sure a transmit or receive process finished before doing something else. For example, if you want to put LoRa to sleep mode after transmitting message you must place LoRa.wait() before LoRa.sleep() so modulation process is not interrupted. The LoRa.endPacket() and LoRa.request() method only configuring LoRa to transmit and receive a packet. Those methods don't wait transmit or receive process to finish.
2 minutes is too long for a LoRa packet transmission. The transmit time is ranged between tens millisecond to a few seconds depending on spreading factor and bandwidth setting. Transmit time in SX126x_LoRa_transmitter example should be around 65 ms. Try to do following to fix this problem.

Deactivate interrupt operation mode by change irqPin to -1 instead of PB11 or any pin you set. The interrupt signal detection may be broken, so leave DIO1 pin unconnected. LoRa can run without DIO1 connection.
Keep or delete LoRa.setDio3TcxoCtrl(dio3Voltage, tcxoDelay) line. Some LoRa module cannot work properly without this setting, and other cannot work using this setting.
Keep or delete LoRa.setDio2RfSwitch(true) line. If your LoRa module datasheet mentioning to use TXEN and RXEN pins delete this line, add connection to those pins, and change txenPin and rxenPin to the pin you connected. If your LoRa module doesn't have TXEN and RXEN pin keep this line.

The principle of operation LoRaRF Arduino library is same with LoRaRF Python library. I have tried and successfully transmitting LoRa packet from STM32F103 to raspberry pi and vice versa.

Thank you so much for your invaluable advice!


$scope.payment object

Hi,
in your examples there are couple of references to this object.
considering we are using Angular-Stripe in combination with Angular-Credit-Card, how you would initialize that object?
As far as i can see $scope.payment.card is the card object generated by ACC, but not sure about the other fields.
Thanks

Not sure if I understand the question. angular-stripe has no opinion on how you manage your data or forms— that's the big problem with the other Angular + Stripe glue out there. If you want to align your ngModel properties such that the object that comes out has exactly the schema that Stripe wants, go for it. If you your data model is a bit different than Stripe is expecting, toss a simple function in between that maps the properties.
If you give me an example I might be able to help more.

Stripping down the question,
from your code:
return stripe.card.createToken($scope.payment.card)
.then(function(token) {
console.log('token created for card ending in ', token.card.last4);
var payment = angular.copy($scope.payment);
payment.card = void 0;
payment.token = token.id;
return $http.post('https://yourserver.com/payments', payment);
})
.then(function(payment) {
console.log('successfully submitted payment for $', payment.amount);
})
.catch(function(err) {
if (err.type && /^Stripe/.test(err.type)) {
console.log('Stripe error: ', err.message);
} else {
console.log('Other error occurred, possibly with your API', err.message);
}
});
I have no idea how your $scope.payment is initialized. Is it just an empty object, with a field card?

Initialize however you want. It just needs to match the schema that Stripe expects when you send it.

Perfect!
Worth adding in your snippets maybe a
'''
$scope.payment = {}
'''
ps.: Thanks for the great effort in creating and maintaining this two libraries!

:tada:
The reason I don't do that is that ngModel will set deep properties without issue even if the parent object doesn't exist yet. So in many cases you don't need to explicitly initialize an empty object.

I found the doc as follows.

Stripe.card.createToken({
  number: $('.card-number').val(),
  cvc: $('.card-cvc').val(),
  exp_month: $('.card-expiry-month').val(),
  exp_year: $('.card-expiry-year').val()
}, stripeResponseHandler);


Add PebblesDB compatibility and ability to run with YCSB benchmarks

Implemented a Java JNI Wrapper so that Java applications can access PebblesDB. Since PebblesDB is API compatible with LevelDB, LevelDBJNI codebase was leveraged to do the task.

Only minor changes are required in the pebblesDB codebase. As of now, the changes are packaged as a patch in the current project. If the patch seems fine to merge with pebblesDB, it can be removed from here.
Removed support for Suspend/Resume compaction from the original code as it is not implemented in pebblesDB.
Currently, the fork of YCSB under utsaslab forked locally by me has the bindings for pebblesDB. As a result the instructions for running YCSB points to that repository. Once that is merged, the readme should be edited.
A setup script does the job of copying and editing the pebblesDB build files to make it compatible with the leveldbjni.
Readme is updated for the use case and includes instructions for running it with YCSB.
Updated the repository to support the latest version of dependencies.

Tests

There are no behavioral changes to pebblesDB. db_test PASSES after the patch.
Test suite in this project gets a score of (18/20). One test is related to suspend/resume. The other is related to the internal structure of storage and is specific to levelDB. As a result, they are removed from the test suite.
YCSB benchmarks run over this wrapper returns "OK" for all transactions.

I have made a pull request for the pebblesDB bindings here : https://github.com/utsaslab/YCSB/pull/1

@abhijith97 Thanks for the work. I have tested locally with your another pull request. Everything works successfully. The only minor point I would suggest is to fix the instruction (e.g. git clone) to the repo under utsaslab domain. Other than this, everything looks good to me.

@abhijith97 could you please make the changes requested by @xxks-kkk? Looking forward to getting this merged!

@vijay03 @xxks-kkk I have made the changes. Could you please tell me if it is good to merge?


k8s: allow setting multiple k8s API server addresses

See commit message for detailed description
Introduce a new command line parameter(--k8s-api-server-urls) and helm option(k8s.apiServerURLs) to specify multiple k8s API server addresses for the client to use.
Fixes: #19038
Allow setting of multiple k8s API server URLs for client

@fristonio Welcome back! :sweat_smile: Would it be possible to set the new param from Helm? Currently, we use this hack to pass the API server endpoint addr - https://github.com/cilium/cilium/blob/master/install/kubernetes/cilium/templates/cilium-agent/daemonset.yaml#L193.

Hey @brb
Its good to be back. 😄
Yeah, I have some changes locally for the helm option that I need to test. Will update the PR soon.

/test

Hey @qmonnet! 👋
Yeah, changing the CLI flag to use urls instead of addresses makes sense to me.
I have updated the PR and addressed the changes you requested.

/test

Looks like this just needs rebase, address any CI failures, plus operator / cli codeowner review. If there's something particular you'd like me to look at, then let me know - otherwise I'll let the other core reviewers follow up.

/test

Moving to draft, please mark it ready for review when you are ready to pick it up.


Complete list of functions in Invariant docs

Nah, just wrote something about "all trait methods" instead.


presence detection

Have a question. One important feature for smart home applications is to detect presence of persons (or their phones).
Due to changing random MAC addresses of i.e smart phones, this is not possible with ble scan of advertises.
I mean - this is also a good privacy protection of getting tracked - so don´t get me wrong.
Currently - the only good way which is known to me is using hcitool.
With i.e
hcitool name MAC

You can try to get the name of the static "real" MAC address. You can get also more info like vendor, rssi ...
All you need is to have the real mac, which you can get from the phones "about"  menu.
So for presence, this known macs are available - and this is nice.
I think these calls are called "name request" - but I am not sure.
Is something like this possible with NimBLE?
At the end - I am actually looking for a mac based ble ping. If response is there -> device is there. If not - absense.

This is what hcidump tells you if you make a name request to a known (NOT Advertised) real MAC
hcitool name MAC

< HCI Command: Remote Name Request (0x01|0x0019) plen 10
    bdaddr DC:52:85:F2:82:30 mode 2 clkoffset 0x0000
> HCI Event: Command Status (0x0f) plen 4
    Remote Name Request (0x01|0x0019) status 0x00 ncmd 1
> HCI Event: Remote Host Supported Features Notification (0x3d) plen 14
    bdaddr DC:52:85:F2:82:30
    Features: 0x0f 0x00 0x00 0x00 0x00 0x00 0x00 0x00
> HCI Event: Remote Name Req Complete (0x07) plen 255
    status 0x00 bdaddr DC:52:85:F2:82:30 name 'HERE IS THE NAME'

NimBLE cannot get the static mac address unless bonded with the phone to get the IRK.


Can't build pixi on Win10

No branch of pixi builds for me, for one reason or another. Here's what I've tried:
git clone https://github.com/foxnne/pixi.git
cd pixi
zig build

Result:
install
└─ pixi
   └─ install pixi
      └─ zig build-exe pixi Debug native 1 errors
C:\Users\msg\AppData\Local\zig\p\122...54a\src\imgui_mach.zig:4:17: error: 'gpu' is not marked 'pub'
const gpu = core.gpu;
            ~~~~^~~~
C:\Users\msg\AppData\Local\zig\p\122...ca3\src\core\main.zig:42:1: note: declared here
const gpu = if (mach.use_sysgpu) sysgpu.sysgpu else @import("../gpu/main.zig");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Checking out 2024.5.0-mach, origin/2024.5.0-mach or origin/master with -f and building again yield the same error. -f is sometimes needed as on some branches, git detects changes in src/animations.zig and src/assets.zig without me changing anything.
Checking out 0.1.0 with -f and building again yields:
B:\Programme etc\pixi\build.zig.zon:1:2: error: missing top-level 'paths' field
.{
 ^

This seems to be a case of zig being too new.
Checking out appdelegate or origin/appdelegate with -f and building again yields:
B:\Programme etc\pixi\build.zig:11:9: error: local variable is never mutated
    var target = b.standardTargetOptions(.{});
        ^~~~~~

This is probably some test branch that isn't supposed to be built.
Is this a case of user error or are none of the branches currently ready to be built?
Let me know if more info is needed. Thanks in advance!
OS: Win10 64bit (22H2, Build 19045.4412)
zig: 0.13.0-dev.351+64ef45eb0 (= 2024.5.0-mach)
git: Git for Windows v2.34.1 (ancient, but shouldn't interfere with zig)

I apologize, I've been doing a lot of work on pixi and my other projects lately and in the effort to get them all updated to 2024.5.0-mach, I missed updating zig-imgui in the build.zig.zon. If you pull the latest commit now on the main branch, can you tell me if it builds?

It builds now. Thanks for the quick fix; no need to apologize!


Move all rules to modal

Purpose
Move displaying rules to the rules modal to prevent very long tooltips.
Related Issues
Fix #1190
Screenshots
2+ Rules

1 Rule:

No Rules:

src/js/components/SurveyQuestionRules.js
74 Do you need a wrapper component now?

src/js/components/SurveyQuestionRules.js
74 Do you need a wrapper component now?
Fair point. I would prefer to keep the wrapper since there's another PR coming that moves the getRulesById method over to this component, and I prefer how simple the Modal component is.


🚀 Feature Request: Support cli delete of preview deployments

Describe the solution
I'm going to use wrangler to publish from a single template repo to multiple projects.
But it would be nice to be able to clean up preview deployments once a PR is merged.
With that, it will:

Give a cleaner page on cloudflare pages deployments and not hundreds of them.
Cloudflare don't have to keep available that many deployments over time.

CC: @cloudflare/pages


feat #964 pipelines: manage pipelines

💰   Config-UI / Pipelines / Manage Pipelines

[x] Apply reference design layout(s)
[x] Update Sidebar Menu Configuration

Hide Triggers
Hide Tasks

[x] Setup Routing & Navigation
[x] Build Data Table for Pipeline Runs
[x] Apply Filtering Logic

Show All
Filter by Running Status
Filter by Complete Status
Filter by Failed Status

[x] Connect Pipeline Actions

[x] View Pipeline
[x] CANCEL Pipeline
[x] Restart/Retry Pipeline

[x] Add Client-Side Pagination Support

NEXT and PREV paging actions
Status Filtering w/ Pagination
Tested with 18K Data Records

[x] Error Handling & No-data states
[x] Functionality Testing w/ User Stories

Upcoming Features
⚠ Backlogged for next iteration to allow early release.

Time/Daterange Selector & Logic [ OPTIONAL ]
Basic Search Support

Description
This PR adds the Manage Pipelines feature allowing users to manage Job Activity for all pipeline runs. Pipeline Runs can be filtered by key Status types (Running, Complete, Failed). Users can also Stop and Restart applicable pipelines as well as Inspect the JSON Responses for each Run record. The Pipeline Run Indicator Widget is always displayed for the last Run allowing quick access to the most recent pipeline. Additional cleanups have also been made to the Create Pipeline and Pipeline Activity sections to further improve the experience with running and managing pipelines.
The Sidebar Menu Configuration has also been updated to reflect Routing changes needed for pipelines workflow. Additional features such as Timerange support and Search have been Backlogged in order to make release target.
Next Up 〰 Additional Developer QA/Testing & Hotfixes to be done under original Pipelines master ticket #962
Does this close any open issues?
#964
Screenshots

Older Screenshots

@joncodo This is ready for main. Thanks!


[Sharing-NG]Secure viewer role id is missing in list permission

Describe the bug
Share project space with secure viewer permission and list permission of that project space. Api response doesn't contain role for secure viewer. Both list permission end point has same problem.
Steps to reproduce

user Alice create project space new-space
user Alice share project space new-space with user einstein with permission role Secure viewer
Send API request to list permission with root and permission endpoint
https://localhost:9200/graph/v1beta1/drives/8612d425-2786-446c-8ecb-78a36eeaeeaf$2d50cb6a-ff37-4683-aa06-59db537ef000/root/permissions
https://localhost:9200/graph/v1beta1/drives/{dive-id}/items/{items-id}/permissions
response doesn't contain secure viewer role

Expected behavior
....
        {
            "grantedToV2": {
                "user": {
                    "displayName": "Albert Einstein",
                    "id": "4c510ada-c86b-4815-8820-42cdf82c3d51"
                }
            },
            "id": "u:4c510ada-c86b-4815-8820-42cdf82c3d51"
            "role": "aa97fe03-7980-45ac-9e50-b325749fd7e6"
        }

Actual behavior
{
<EMAIL_ADDRESS>[
      .....
    "value": [
     ......
        {
            "grantedToV2": {
                "user": {
                    "displayName": "Albert Einstein",
                    "id": "4c510ada-c86b-4815-8820-42cdf82c3d51"
                }
            },
            "id": "u:4c510ada-c86b-4815-8820-42cdf82c3d51"
        }
    ]
}

Setup
Please describe how you started the server and provide a list of relevant environment variables or configuration files.

ownCloud	Infinite Scale
Edition	Community
Version	5.1.0-prealpha+ceeb4ed71d
Web client version	9.0.0-alpha.5

Additional context
Add any other context about the problem here.

Confirmed. No roles field for the drive shared with Secure viewer
CC @rhafer @JammingBen

@JammingBen @rhafer let us check that out.

The issue (or parts of it) seems to be that the permissionsMap in https://github.com/owncloud/ocis/blob/master/services/graph/pkg/service/v0/base.go#L96 maps InitiateFileDownload to true, which should not be the case for the secure view role.
The map gets populated with contents from space.Opaque.Map["grants"] in the lines down below, I don't know how that works and where exactly this data comes from though.

Hm. I think I am hitting a wall here. There is no distinct access control value for the InitiateFileDownload grant. When the grants for a space are persisted to disk we get here at some point:
https://github.com/cs3org/reva/blob/7099ed49d7cc7090663c200963137ce834fc18b9/pkg/storage/utils/ace/ace.go#L439C1-L444C3
	if set.Stat || set.InitiateFileDownload || set.ListContainer || set.GetPath {
		b.WriteString("r")
	}

Which basically means that if any of the Grants Stat, InitiateFileDownload, ListContainer or GetPath  is set they're reflected in a "r" permission on the file backend. So basically the information about the missing InitiateFileDownload permission is lost at this point. And when reading back the permissions  to Grants the InitiateFileDownload grant will be set.

I see 👀

MS actually has a good list of ACE permissions: https://learn.microsoft.com/en-us/azure/azure-netapp-files/nfs-access-control-lists#nfsv4x-permissions

@rhafer sth like this: https://github.com/cs3org/reva/pull/4685

We could even introduce a new version of the permissions encoding. The ace byte array starts with a type byte. We currently always use x00, which indicates a key/value encoded ace.

I think we currently can do without a new version and stay backwards compatible. I.e. we'd continue to decode r into set.Stat, set.InitiateFileDownload, set.ListContainer and set.GetPath. But only set r when the set contains InitiateFileDownload

@JammingBen #9188  should fix the problem. But now the webui is acting up as soon as I assign the SecureView role to a space member:
TypeError: a[b.roles[0]] is undefined
    mt https://localhost:9200/js/chunks/TextEditor.vue_vue_type_style_index_0_lang-CWCmf39G.mjs:1
    a https://localhost:9200/js/chunks/TextEditor.vue_vue_type_style_index_0_lang-CWCmf39G.mjs:1
    Dt https://localhost:9200/js/chunks/TextEditor.vue_vue_type_style_index_0_lang-CWCmf39G.mjs:1
    loadSpaces https://localhost:9200/js/chunks/TextEditor.vue_vue_type_style_index_0_lang-CWCmf39G.mjs:1
    b https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:25
    Eh https://localhost:9200/js/index.html-CrS3YD27.mjs:1
    Lu https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:13
    rs https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:13
    v https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:13
    Lu https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:13
    jq https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:13
    promise callback*Uq https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:13
    RS https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:13
    y https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:13
    wR https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:9
    Sq https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:9
    Bp https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:9
    set value https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:9
    u https://localhost:9200/js/chunks/TextEditor.vue_vue_type_style_index_0_lang-CWCmf39G.mjs:1
    b https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:25
    updateAccessTokenPromise https://localhost:9200/js/chunks/authService-CDRVHcsw.mjs:1
    updateContext https://localhost:9200/js/chunks/authService-CDRVHcsw.mjs:1
    initializeContext https://localhost:9200/js/chunks/authService-CDRVHcsw.mjs:1
    ld https://localhost:9200/js/chunks/authService-CDRVHcsw.mjs:1
    Fc https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:66
    Fc https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:66
    runWithContext https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:13
    A https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:66
    We https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:66
    promise callback*Pnr/We/< https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:66
    We https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:66
    x https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:66
    promise callback*x https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:66
    S https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:66
    w https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:66
    E https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:66
    o https://localhost:9200/js/chunks/authService-CDRVHcsw.mjs:1
    signInCallback https://localhost:9200/js/chunks/authService-CDRVHcsw.mjs:1
    setup https://localhost:9200/js/chunks/authService-CDRVHcsw.mjs:1
    rc https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:13
    Lu https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:13
    rs https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:13
    __weh https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:13
    l2 https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:13
    jq https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:13
    promise callback*Uq https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:13
    RS https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:13
    y https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:13
    wR https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:9
    Sq https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:9
    Bp https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:9
    set value https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:9
    I https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:66
    S https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:66
    promise callback*S https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:66
    w https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:66
    install https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:66
    use https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:13
    Eh https://localhost:9200/js/index.html-CrS3YD27.mjs:1
    runtimeLoaded https://localhost:9200/web-oidc-callback?code=bDz2BwSn6pNYg5TszYlu6xeiPrm1x87K&scope=openid profile email&session_state=45da5357e4c17913799c9346634ec64036da6a48d33a408e464729c65168f977.2DT1_dm2dAnHz-0lyKA1daDMXaj5nzfrjHiwrZAbSRs&state=5c82024a2c0547418dd4b061750c1d2a:141
    <anonymous> https://localhost:9200/js/index.html-CrS3YD27.mjs:1
vendor-Bcptkbbf.mjs:13:1930
    jde https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:13
    xh https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:13
    rs https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:13
    (Async: promise callback)
    rs https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:13
    v https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:13
    Lu https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:13
    jq https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:13
    (Async: promise callback)
    Uq https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:13
    RS https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:13
    y https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:13
    wR https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:9
    Sq https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:9
    Bp https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:9
    set value https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:9
    u https://localhost:9200/js/chunks/TextEditor.vue_vue_type_style_index_0_lang-CWCmf39G.mjs:1
    b https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:25
    updateAccessTokenPromise https://localhost:9200/js/chunks/authService-CDRVHcsw.mjs:1
    updateContext https://localhost:9200/js/chunks/authService-CDRVHcsw.mjs:1
    initializeContext https://localhost:9200/js/chunks/authService-CDRVHcsw.mjs:1
    ld https://localhost:9200/js/chunks/authService-CDRVHcsw.mjs:1
    Fc https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:66
    Fc https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:66
    runWithContext https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:13
    A https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:66
    We https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:66
    (Async: promise callback)
    We https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:66
    We https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:66
    x https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:66
    (Async: promise callback)
    x https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:66
    S https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:66
    w https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:66
    E https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:66
    o https://localhost:9200/js/chunks/authService-CDRVHcsw.mjs:1
    signInCallback https://localhost:9200/js/chunks/authService-CDRVHcsw.mjs:1
    setup https://localhost:9200/js/chunks/authService-CDRVHcsw.mjs:1
    rc https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:13
    Lu https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:13
    rs https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:13
    __weh https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:13
    l2 https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:13
    jq https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:13
    (Async: promise callback)
    Uq https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:13
    RS https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:13
    y https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:13
    wR https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:9
    Sq https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:9
    Bp https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:9
    set value https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:9
    I https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:66
    S https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:66
    (Async: promise callback)
    S https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:66
    w https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:66
    install https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:66
    use https://localhost:9200/js/chunks/vendor-Bcptkbbf.mjs:13
    Eh https://localhost:9200/js/index.html-CrS3YD27.mjs:1
    runtimeLoaded https://localhost:9200/web-oidc-callback?code=bDz2BwSn6pNYg5TszYlu6xeiPrm1x87K&scope=openid profile email&session_state=45da5357e4c17913799c9346634ec64036da6a48d33a408e464729c65168f977.2DT1_dm2dAnHz-0lyKA1daDMXaj5nzfrjHiwrZAbSRs&state=5c82024a2c0547418dd4b061750c1d2a:141
    <anonymous> https://localhost:9200/js/index.html-CrS3YD27.mjs:1

@JammingBen #9188 should fix the problem. But now the webui is acting up as soon as I assign the SecureView role to a space member:

https://github.com/owncloud/web/pull/10925 fixes that.


test branch

#1  👈
master

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @shangtee and the rest of your teammates on  Graphite


Parallelize database build steps for faster build times

As long as atomic operations are used when accessing the database, the chapters can all be built in parallel. Or more likely they could be batched in sets of 8-16 threads.

Note, implementation will probably fairly difficult, since manual intervention will be required for each thread when resolving ambiguities, so each thread will need to join into a single output buffer or queue before being presented to the user.

I've decided this probably isn't worth doing. It would add too much complexity to the build script especially when handling any manual prompts. Instead other optimizations should take priority like batching database changes.


Migrate Kafka to SDK framework

Kafka source is replaced with new yaml based SDK version (from dcos-commons/frameworks/kafka dcos-commons version: 0.13.1)

Looks like new integration tests are not compatible with the old dcos-commons-tools directory.

retest this please

retest this please

@mbdcos can you break this up into smaller, logically-grouped PRs? There's really just no humanly possible way to review this usefully.

Or, if it's just a straightforward lift of the code from the dcos-commons repository, maybe reference the commit in commons that matches the code here?

Only review the following:
build.gradle
build.sh
test.sh

retest this please

Mount disk test does not pass as expected!

@mrbrowning  It is the new Kafka from dcos-commons. There is no single PR, new Kafka spans over multiple PRs, in fact any PR touching its directory.

@mrbrowning This PR replaces everything in the repository. There is no way to make multiple PRs.
This PR replaces everything with dcos-commons/frameworks/kafka from dcos-commons:0.13.0 release
commit 8db2bf0c6f683d9606bb8fa707b48d80f94c7a53

retest this please

@susanxhuynh git revision history for dcos-commons/frameworks/kafka


feat(world): make World Initializable

Moves the logic from the World constructor to a __World_init function that can only be called once.
Consumers who are not using WorldFactory must ensure __World_init is called in the same tx as the deploy

closing in favour of https://github.com/latticexyz/mud/pull/2632


Enter creates card, cmd-enter adds a new line

Currently, enter adds a new line and cmd-enter creates the card. I think it's more intuitive if enter creates the card and cmd-enter adds a new line. Also since enter now creates a column and creates a new board when the dialogs are open. These actions are used in Facebook messenger and iOS iMessenger. (Although I know gmail uses the current actions).
👍  Great project!

Maybe shift+enter?
Cmd+enter seems out of sync with other keystrokes in other apps

Shift-enter actually sounds better


Core: Ensure runtime for skipped tests is 0

Addressing #1004.
This ensures that the runtime property during testDone logging for skipped tests is alway 0. I think a future state where we remove the property all together is possible, but since that would be a breaking change I am not inclined to do that at this point in time.
cc @flore77 @jzaefferer @leobalter

...  since that would be a breaking change I am not inclined to do that at this point in time.

+1
Legacy is hard to maintain, but it's the right thing to do.


[stable/oauth2-proxy] Upgrade to v5.1.0.

Is this a new chart

NOTE: We're experiencing a high volume of PRs to this repo and reviews will be delayed. Please host your own chart repository and submit your repository to the Helm Hub instead of this repo to make them discoverable to the community. Here is how to submit new chart repositories to the Helm Hub.

What this PR does / why we need it:
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

/assign

My bad, fixed.

Dear bot, could you:
/retest
to see if test cluster is now available?

/retest

/test pull-charts-e2e

we had an issue in the cluster, that is fixed now, sorry for the trouble


De-register with content type header

The DELETE request was failing with a 400. The content types supplied must be application/xml or application/json. Used JSON to be consistent with other requests.

Thanks. I noticed the same issue with the heartbeat a few days ago.


Wrong function name deleteSesssionData

I found function deleteSesssionData with triple "s". Maybe it's not wrong, but It makes me little bit confused

@wohral Yeah that is a typo.


Search/Filtering/Results UX Updates

Overview
This ticket captures requirements for updating the UX for search and filtering functionality as well as the display of search results.
Included Changes
Must-have:

Updated font, logo and color changes (via #2059 )
An updated 3 panel design that displays the relevant search filters along with the results and map (column 1 = filter/search, panel 2 = results, panel 3 map view)
Facility results displays: name, address, OS ID, and whether the facility is claimed
Integration of new claimed icon
Filters with fixed values (e.g. number of workers) have drops downs for values; filters with non-fixed values work as they do in OAR
User can further refine search results by interacting with the filters in panel 1

Nice to have:

Including the number of contributors in the facility results list
Contributor results page displays: contributor name, contributor type, and number of active facilities contributed (dependencies: #2052 and #2047 )
Filters with non-fixed values populate a dropdown with auto-complete values; the user can also type a term and conduct a keyword search.
Filters include option to (1) return all data with selected optional data point (e.g. number of workers, facility type, processing type, parent company) and (2) return all facilities without selected optional data point.
Collapsing the filters to make the map bigger / re-expanding the filter column (see Figma board for icons that accompany each action)

Visual Design
Screen design - WIP

@mariel-oar to clarify item 6 in must have with Adam


Define Go version files for etcdadm bootstrap provider and controller

This PR defines the Go version source-of-truth files for the aws/etcdadm-bootstrap-provider and aws/etcdadm-controller repos so that Go version bumps can be automated.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/approve


Package request: markwhen CLI

A CLI program that renders Markdown timeline as HTML
https://docs.markwhen.com/cli.html
Announced: https://news.ycombinator.com/item?id=36944152

Metadata

homepage URL: https://docs.markwhen.com/cli.html
source URL: https://github.com/mark-when/mw
license: mit
platforms: unix, linux, darwin, ...

Since upstream has a package-lock.json this should be pretty simple using buildNpmPackage.


Remove CommonJS build

Close #391

Coverage remained the same at 100.0% when pulling 787c6e1ac342bfb32b08acd3114a2ab5e7680e58 on juanjoDiaz:remove_cjs_build into 39f303d1aa41d1c5ea4a5bb050cf564e0ffb4b0d on zemirco:master.


Replace CAPTCHA w/ Provider Model

Description of problem
We currently have an easy-to-use feature that empowers administrators to turn on CAPTCHA very easily and it mostly just works.  However, this feature is almost as old as DNN and hasn't been improved over the years to implement newer standards.  It also is not accessible and visitors who know how can easily get around it.
This issue was once in DNN's other issues trackers in the past, but I'd like to bring it back up for potentially being implemented in the future.
Description of solution
Replace the current CAPTCHA feature with a provider model.  The providers available out-of-the-box should be this one (default) since it's super-simple to turn on and use, with ReCAPTCHA available as an alternative (requires sign-up and copying/pasting unique keys from another website).
This probably would be best implemented as a connector at this point.
Description of alternatives considered
We could just replace the current CAPTCHA with ReCAPTCHA, but with our ecosystem, people would be much happier if they had a choice on which provider to use, and having a provider model allows for new commercial and open-source extensions to be created for the ecosystem.
Additional context
This has been spoken about off and on for more than ten years now (since I worked at DNN Corp, for sure...).  Here's the most recent forum post about this feature:
https://dnncommunity.org/forums/aft/1990
Past Issues:
https://dnntracker.atlassian.net/browse/DNN-6288
https://dnntracker.atlassian.net/browse/DNN-6385
https://dnntracker.atlassian.net/browse/DNN-6384
https://dnntracker.atlassian.net/browse/DNN-10177
https://dnntracker.atlassian.net/browse/DNN-9693
Affected browser(s)

[x] Chrome
[x] Firefox
[x] Safari
[x] Internet Explorer
[x] Edge

We could use Connectors for the config of individual providers, and add a dropdown to the membership options to choose the active providers.

We could use Connectors for the config of individual providers, and add a dropdown to the membership options to choose the active providers.

DNN CAPTCHA is not even worth turning on, in my opinion.  Despite the known security issues, even the appearance of it makes DNN look bad.  :(

DNN CAPTCHA is not even worth turning on, in my opinion.  Despite the known security issues, even the appearance of it makes DNN look bad.  :(

Still relevant.

This is still relevant and still an issue

Since this is an open-source project, it is maintained for free by developers that invest their free time generously.
We implemented stalebot to help us keep our backlog current, for bugs a simple mention that it is still reproducible on the latest version or ensuring there are very clear steps to reproduce is key to keeping the issue rolling.
For features and improvements, they will only happen if a developer decides to contribute the code change. For non-developers, one way to push such issues forward could be to sponsor a developer.
With this in mind, does anyone have the intention to work on this item in the next months?

I want to, so badly.  :)

Awesome, reopening and assigning you

I think this is getting more relevant as the current Captcha is broken.
If you activate it, there is nu captcha (cleared cache, restarted the app)

The work around is on https://dnncommunity.org/forums/Getting-Started/new-to-dnn/add-captcha-to-login-page/ but this is all SSMS and not the DNN UI


My all jobs are getting failed with error: This check failed

Description
when running all my jobs on GitHub action, I'm getting "This check failed" error
Virtual environments affected

[ ] Ubuntu 18.04
[ ] Ubuntu 20.04
[ ] macOS 10.15
[ ] macOS 11
[ ] Windows Server 2016
[ ] Windows Server 2019
[ ] Windows Server 2022

Image version and build link

Is it regression?
No response
Expected behavior
All jobs should be run
Actual behavior
when creating PR, jobs are not getting called on GitHub action with error: This check failed
Repro steps
create push requests to run the GitHub Jobs
OR
Re-run all the jobs on Github action
Unable to provide a repository link, because its private repo

Hello @ranjithvbr ,
Please provide links to your private repo builds and attach logs. If you can't provide these logs you should create an issue - https://github.community/

Private repo builds: https://github.com/NEOM-KSA/meld-mobile-app/actions

Please check @al-cheb

@ranjithvbr, The job was not started because recent account payments have failed. Please ensure payment in order to proceed. Please contact to support - https://support.github.com/contact about  billing.

okay got it, Thanks for your support 🙂


Change usages of ToLower into ToLowerInvariant

This fixes a very hard-to-spot bug where Web3Auth & OpenLogin started to give various configuration errors on some specific devices. Here is where we reported it: https://web3auth.io/community/t/invalid-constructor-params-invalid-environment-settings/6643
It turns out all those devices were Turkish, and the character "ı" (or "dotless i" as non-Turkish people would say) was the reason.
You see, in Turkish, lowercasing/uppercasing rules are different, because we have a distinction between "I" and "İ" where "I".ToLower() == "ı" and "İ".ToLower() == "i" which makes sense in Turkish, and "I".ToLower() == "i" makes sense for any other language, but obviously these two rules don't mix well. And ToLower() uses the current culture information of the device. Which can make network.ToString().ToLower() into "maınnet" and buildEnv.ToString() into "productıon" "stagıng" or "testıng".
To sum up: ToLower uses current device's region settings for lowercasing a string, which can be different for some Turkic languages. ToLowerInvariant is what should be used where this behavior doesn't make sense.

Thanks for this PR

Thanks for the quick approval. Also sorry about the sloppy commit, it's because I edited the file on Github, my bad.


Unsupported chars in placeholder name

Expected Behavior / New Feature
if "-" (hyphens) between the placeholders it should match
Actual Behavior / Motivation for New Feature
After having introduced the new solution the matching doesn't work when hyphens are found in the placeholders, eg: {"url-service-1"}
In fact, it's not possible to have hyphens as part of the regex group name, only alphanumerics and '_' (underscore) are allowed.

I will write you in Slack.
I'm sad and wondered that the quality of this feature is not the same as we thought and expected.
Please explain and attack the logs with errors!

Yes it's a sad thing because we have foreseen a lot of tests. The hyphen can't be used as regex group name.

Gui, please decide! → Would you prefer to leave this issue as a bug, or convert to feat?
My opinion we don't have a bug at all! But... we have a problem with lack of instructions in Placeholders docs where we must explain to users what characters can be used in placeholder name. Now we support only alphanumeric chars only, with underscore char _. Also users can use casing aka upper chars, as far as I know, placeholder name is case sensitive.

@raman-m I will have a more in-depth analysis of the situation. I think, we should first wait for more feedbacks. In my case, we have decided to use camelCasing instead.

In my case, we have decided to use Camel Casing instead.

Good, clever boys! In addition to camel case names, we can throw in digits and _ (underscore). These cover 99.99999999999% of developers, clients, and customers. But you, my friend, are lucky: you've got a deal with that elusive 0.0000000001% of customers! 🎉 🤣

I think, we should first wait for more feedbacks.

This issue should be opened, correct?
Additionally, should we updating the documentation to clarify allowed characters?

This issue should be opened, correct? Additionally, should we updating the documentation to clarify allowed characters?

Yes and Yes

By the way, standard behavior for routing in .NET -> word with hyphens, camelCase, eg. user-id -> userId. So maybe we should follow this logic, but it's not a bug, it's a feature.

standard behavior for routing in .NET -> word with hyphens, camelCase, eg. user-id -> userId.

@ggnaegi  Please provide the links to the MS Learn documentation. I have not heard about this routing feature.

In my opinion, we need to update the Ocelot documentation to explain naming rules for the Placeholders.
Therefore, I have marked this issue with the documentation label.


Error on Matlab 2023b

Matlab 2023b; Ubuntu 22.04 (64)
Running the first README example and fails on loading data using gifti function.
Error - too many input arguments for a struct.
Replicated also using any other nifti file.
Any suggestions on which Matlab versions might work?
Error using struct
Too many input arguments.
Error in gifti>giftistruct (line 132)
struct(...
Error in gifti (line 108)
this = gifti_read(varargin{1},giftistruct);
Error using struct
Invalid default value for property 'N' in class 'mtree':
Too many input arguments.
Error in nodeinfo (line 40)
L = struct( lnk{:} );
Error in mtree_info (line 18)
[LNK,LMAP,LOK] = nodeinfo();
Error in matlab.internal.editor.evaluateCode
Error using struct
Invalid default value for property 'N' in class 'mtree':
Too many input arguments.
Error in nodeinfo (line 40)
L = struct( lnk{:} );
Error in mtree_info (line 18)
[LNK,LMAP,LOK] = nodeinfo();
Error in matlab.internal.editor.evaluateCode
Error using struct
Invalid default value for property 'N' in class 'mtree':
Too many input arguments.
Error in nodeinfo (line 40)
L = struct( lnk{:} );
Error in mtree_info (line 18)
[LNK,LMAP,LOK] = nodeinfo();
Error in matlab.internal.editor.evaluateCode

I just downloaded this repository, removed SPM from my path (as it also includes this GIfTI reader), added the github repository to my path, and everything works fine for me with a MacOS M2:
>> g = gifti('sujet01_Lwhite.surf.gii');
>> c = gifti('sujet01_Lwhite.shape.gii');
>> figure; plot(g,c);
>> ver
-----------------------------------------------------------------------------------------
MATLAB Version: <IP_ADDRESS>5128 (R2023b)
MATLAB License Number: 40602193
Operating System: macOS  Version: 13.6 Build: 22G120
Java Version: Java 1.8.0_382-b05 with Amazon.com Inc. OpenJDK 64-Bit Server VM mixed mode
-----------------------------------------------------------------------------------------
MATLAB                                                Version 23.2        (R2023b)
Deep Learning Toolbox                                 Version 23.2        (R2023b)
Image Processing Toolbox                              Version 23.2        (R2023b)
Parallel Computing Toolbox                            Version 23.2        (R2023b)
Statistics and Machine Learning Toolbox               Version 23.2        (R2023b)

It also works for me with MATLAB R2023b on Ubuntu 22.04. The error message is slightly odd: could it be that you have a function called struct in your MATLAB path that overshadows the builtin struct? You can check this with which struct -all. The gifti class comes with a struct method but it should not get on the way here.


Create set of recommendations to make state changes more consistent in Dockstore

Set of recommendations.
Publishing, unpublishing, moving, deleting, archiving, hiding.
Make verbs consistent meaning with tools, workflows, orgs, services.
┆Issue is synchronized with this Jira Story
┆Issue Type: Story
┆Fix Versions: Dockstore 1.7
┆Sprint: Seabright Sprint 9 Ice Boat
┆Issue Number: DOCK-675
┆Epic: Deletion-Archiving Policies

➤ David Steinberg commented:
https://docs.google.com/document/d/11AUulHNz4cqbE9jnh6gXW9kC4UZdEmHmVr0ytD9FAq8/edit#heading=h.ewelt036zqd1 ( https://docs.google.com/document/d/11AUulHNz4cqbE9jnh6gXW9kC4UZdEmHmVr0ytD9FAq8/edit#heading=h.ewelt036zqd1 )

➤ David Steinberg commented:
Will deal with comments and flesh out PUBLIC DRAFT and Version publishing flow before asking for review.


MultiBar only works with threads

The only way to display multiple progress bars is to use threads, this requirement isn't documented, and when you use single threads, you get silent failures.

I'm currently trying to get it working in rayon, we'll see if I'm successful.

The following prints nothing, not even the DONE! messages:
pub(crate) fn bar_test() {
    let mb = Arc::new(MultiBar::new());
    std::thread::spawn({
        let mb = Arc::clone(&mb);
        move || {
            mb.listen();
        }
    });

    (0..30).into_par_iter().for_each(|n| {
        let mut bar = mb.create_bar(100);
        bar.message(&format!("{} ", n));

        for _ in 0..100 {
            bar.inc();
            std::thread::sleep(Duration::from_millis(50));
        }

        bar.finish_print("DONE!");
    })
}

If I add a second mb.listen() after the for_each loop, the DONEs all get printed in bulk after the entire thing exits.


a11y_Tabs> Icon> A11y> 2 incomplete is appearing

Describe the bug
Tabs>> "2 incomplete" is appearing for "Icon".
To Reproduce
Steps to reproduce the behavior:

Go to 'https://storybook-preview-290--upbeat-sinoussi-f675aa.netlify.app/?path=/story/tabs--icon'
Click on 'Accessibility" add on
"2 incomplete" is appearing

Expected behavior
"0 incomplete" should appear for Tabs> Icon.
Screenshots
https://somup.com/c3n26QTcVY
Desktop:

OS: [Win 10]
Browser [chrome]
Version [Version 98.0.4758.82 (Official Build) (64-bit)]

Fixed indirectly. This is no longer an issue in the latest version: https://storybook-preview-dev--upbeat-sinoussi-f675aa.netlify.app/?path=/story/tabs--icon

The issue is fixed.
Storybook Link : https://storybook-preview-dev--upbeat-sinoussi-f675aa.netlify.app/?path=/story/tabs--icon
See Screen-cast : http://somup.com/c3jjfqumJS
Thanks!

Issue does not exist.
See Screen-cast : http://somup.com/c3jvimUld6


Support lukas-reineke/headlines.nvim

Describe the solution you'd like
Add support for lukas-reineke/headlines.nvim
Need these highlights:

it seems that headlines also need to set the fg attribute

now looks nice!


a spelling mistake?

https://github.com/Changhe160/OFEC_Alpha/blob/19c3ee462a66cff462b54fc20d771e801f70218f/core/problem/problem.h#L152
paramters->parameters

yes, correct


tiff: short read of tag value

Problem
All Nikon files from exif-samples/jpg/gps are failing with error: tiff: short read of tag value
Would be nice to know what the exact tag is, because on Mac Inspector everything seems fine.
Reproduction
Test file: DSCN0010.jpg
Result Expected
To continue getting the valid fields, like here:

+1
Same error here. Unable to parse following files from: https://github.com/ianare/exif-samples/tree/master/jpg/gps


Fix newline detection logic for carriage return line feeds

\r\n is considered a single character in Unicode and we thus need to check for it specifically and checking for \n on its own is not sufficient.
Also reverts #2100 since the tests are passing again now.
rdar://114406758

@swift-ci Please test


Error: Invalid Adapter: undefined, js engine: hermes NB! do not use this library

It does not work
import PouchDB from 'pouchdb-react-native' const localDB = new PouchDB('myDB') console.log(localDB.adapter)
ERROR:
ERROR  Error: Invalid Adapter: undefined, js engine: hermes

Yeah it seems to be the asyncstorage has been removed from react-native latest versions.
AsyncStoragePouch.valid = () => {   try {     return require('@react-native-async-storage/async-storage').default !== null   } catch (error) {     return false   } }
quick fix change the asyncstorage from react-native to @react-native-async-storage/async-storage
node_modules/pouchdb-adapter-asyncstorage/src/index.js then run npx patch-package pouchdb-adapter-asyncstorage

I think I made all the changes correctly, this is my node_modules/pouchdb-adapter-asyncstorage/src/index.js:
'use strict'

import './polyfill'

// API implementations
import allDocs from './all_docs'
import bulkDocs from './bulk_docs'
import changes from './changes'
import destroy from './destroy'
import doCompaction from './do_compaction'
import get from './get'
import getAttachment from './get_attachment'
import getRevisionTree from './get_revision_tree'
import info from './info'

import { get as getDatabase, close as closeDatabase } from './databases'

const ADAPTER_NAME = 'asyncstorage'

function AsyncStoragePouch (dbOpts, constuctorCallback) {
  const api = this

  api._remote = false
  api.type = () => ADAPTER_NAME

  api._id = callback => {
    getDatabase(dbOpts)
      .then(database => sequence(cb => cb(null, database.meta.db_uuid), callback))
      .catch(callback)
  }
  api._info = callback => {
    getDatabase(dbOpts)
      .then(database => sequence(cb => info(database, cb), callback))
      .catch(callback)
  }
  api._get = (id, opts, callback) => {
    getDatabase(dbOpts)
      .then(database => sequence(cb => get(database, id, opts, cb), callback))
      .catch(callback)
  }
  api._getAttachment = (docId, attachId, attachment, opts, callback) => {
    getDatabase(dbOpts)
      .then(database => sequence(cb => getAttachment(database, docId, attachId, attachment, opts, cb), callback))
      .catch(callback)
  }
  api._getRevisionTree = (id, callback) => {
    getDatabase(dbOpts)
      .then(database => sequence(cb => getRevisionTree(database, id, cb), callback))
      .catch(callback)
  }
  api._allDocs = (opts, callback) => {
    getDatabase(dbOpts)
      .then(database => sequence(cb => allDocs(database, opts, cb), callback))
      .catch(callback)
  }
  api._bulkDocs = (req, opts, callback) => {
    getDatabase(dbOpts)
      .then(database => sequence(cb => bulkDocs(database, req, opts, cb), callback))
      .catch(callback)
  }
  api._changes = opts => {
    getDatabase(dbOpts)
      .then(database => sequence(cb => {
        changes(database, api, opts)
        cb()
      }))
      .catch(error => opts.complete && opts.complete(error))
  }
  api._doCompaction = (id, revs, callback) => {
    getDatabase(dbOpts)
      .then(database => sequence(cb => doCompaction(database, id, revs, cb), callback))
      .catch(callback)
  }
  api._destroy = (opts, callback) => {
    getDatabase(dbOpts)
      .then(database => sequence(cb => destroy(database, opts, cb), callback))
      .catch(callback)
  }
  api._close = callback => {
    sequence(cb => {
      closeDatabase(dbOpts.name)
      cb()
    }, callback)
  }

  constuctorCallback(null, api)

  const queue = []
  let isRunning = false
  const sequence = (func, callback) => {
    const run = () => {
      if (isRunning || queue.length === 0) return

      isRunning = true
      const task = queue.shift()
      setImmediate(() => {
        task.func((error, result) => {
          task.callback && task.callback(error, result)
          isRunning = false
          run()
        })
      })
    }

    queue.push({func, callback})
    run()
  }
}

AsyncStoragePouch.valid = () => {
  try {
    return require('@react-native-async-storage/async-storage').default !== null
  } catch (error) {
    return false
  }
}

AsyncStoragePouch.use_prefix = false

export default function (PouchDB) {
  PouchDB.adapter(ADAPTER_NAME, AsyncStoragePouch, true)
}

this is my basic code:
import PouchDB from 'pouchdb-react-native';

const db = new PouchDB('mydb');

and this is my package.json:
{
	"name": "ssense-mobile-app",
	"version": "1.0.0",
	"main": "node_modules/expo/AppEntry.js",
	"scripts": {
		"start": "expo start",
		"android": "expo run:android",
		"ios": "expo run:ios",
		"web": "expo start --web"
	},
	"dependencies": {
		"@react-native-community/masked-view": "^0.1.11",
		"@react-navigation/bottom-tabs": "^6.5.20",
		"@react-navigation/native": "^6.1.17",
		"@react-navigation/native-stack": "^6.9.26",
		"@reduxjs/toolkit": "^2.2.3",
		"expo": "^51.0.5",
		"expo-camera": "^15.0.8",
		"expo-image": "~1.12.9",
		"expo-location": "~17.0.1",
		"expo-network": "~6.0.1",
		"expo-notifications": "~0.28.1",
		"pouchdb-react-native": "^6.4.1",
		"react": "18.2.0",
		"react-native": "0.74.2",
		"react-native-calendars": "^1.1304.1",
		"react-native-gesture-handler": "~2.16.1",
		"react-native-maps": "1.14.0",
		"react-native-reanimated": "3.10.0",
		"react-native-safe-area-context": "4.10.1",
		"react-native-screens": "3.31.1",
		"react-native-timeline-flatlist": "^0.8.0",
		"react-native-vector-icons": "^10.0.3",
		"react-redux": "^9.1.1"
	},
	"devDependencies": {
		"@babel/core": "^7.20.0"
	},
	"private": true
}

i don't know why doesn't work!
please, i'd like to have support from you!


[bug] vi edit large file, scroll up and down, the screen is corrupted.

it might be the problem of ring buffer overwrite.

it's turn out to be broken control sequene.


[question] how to connect to a iframe in a Electron webview?

There is a position..
I need to use this tool to have communication with iframe in webview instead of webview....

chatGPT told me it... It's useless... So how to achieve this scene?

I have no experience with Electron, but I think something like this has been asked before, does this help.


Use extensions introduced in Julia 1.9

Julia introduced package extensions in v1.9. This PR is backwards-compatible to earlier Julia versions as well.

Codecov Report

Merging #192 (c216454) into master (ed42033) will decrease coverage by 0.59%.
The diff coverage is 80.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##           master     #192      +/-   ##
==========================================
- Coverage   73.64%   73.06%   -0.59%
==========================================
  Files          20       20
  Lines         683      683
==========================================
- Hits          503      499       -4
- Misses        180      184       +4

Impacted Files
Coverage Δ

ext/ConstructionBaseExt.jl
0.00% <0.00%> (ø)

ext/GPUArraysExt.jl
52.88% <ø> (ø)

ext/RecursiveArrayToolsExt.jl
0.00% <ø> (ø)

ext/ReverseDiffExt.jl
100.00% <ø> (ø)

ext/SciMLBaseExt.jl
0.00% <ø> (ø)

src/ComponentArrays.jl
88.88% <85.71%> (-11.12%)
:arrow_down:

ext/StaticArraysExt.jl
100.00% <100.00%> (ø)

src/similar_convert_copy.jl
80.95% <100.00%> (-4.77%)
:arrow_down:

... and 1 file with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Thanks!


Fix typo in release-2.6.txt

Coverage remained the same at 92.96% when pulling 31cfc4ce7c3ce3140782555b1194d08d39a4855a on nikolas:patch-1 into 72fab7c73b6c1379988726603d600f6c2c8b0705 on waylan:master.

Coverage remained the same at 92.96% when pulling 9a4d94136af0e327b212011059ccf8288bf70bed on nikolas:patch-1 into 72fab7c73b6c1379988726603d600f6c2c8b0705 on waylan:master.


recreating indexes after conversion

@benbovy, do you have any idea about how to best do this? from_variables is a class method, so it won't preserve any options that were already on the index, even if we don't pass an empty dict. This shouldn't block this PR, though.

Originally posted by @keewis in https://github.com/xarray-contrib/pint-xarray/pull/163#discussion_r1669996550

I'm afraid there is no easy way of converting units (i.e, new coordinate values + re-create the underlying index + wrap it as a new PintIndex) that would be completely agnostic of the underlying index type.

Actually I would rather drop the index and let the user re-create it manually. This is also better behavior for custom indexes that may be expensive to build (e.g., a KDTree).

For convenience we might also choose to auto-convert indexes for Xarray built-in index types only (and pass the options in a hard-coded way, if any... currently PandasIndex and PandasMultiIndex do not expose any option).

Originally posted by @benbovy in https://github.com/xarray-contrib/pint-xarray/pull/163#discussion_r1670068233

For convenience we might also choose to auto-convert indexes for Xarray built-in index types only

Good thing is that changing the behavior implemented in #163 (auto-convert all indexes -> drop custom indexes) won't have a great impact until we see more Xarray custom indexes in the wild. But probably best not wait too long before addressing this issue.

The problem with dropping the index is that it will require dequantifying the indexed coordinates, otherwise recreating the index would drop the units entirely.
The only ways I can see around that would be documenting this, or to add a workaround method that does the dequantify → set_xindex → quantify cycle for the user. Either way requires user intervention, so I'm hoping we can find another way around this.

Yes a wrapper method like .pint.set_xindex() would be useful. I don't think we would need to dequantify the coordinate(s) first, having unindexed but quantified coordinates seems ok to me and would work well with the latter method. In general some user intervention may be better than auto-magically re-building the index IMO, with some exceptions like Xarray builtin and cheap indexes.
(Note that recreating an index wouldn't always drop the coordinate units: some custom indexes may just pass through the variables in their implementation of Index.from_variables(), even though quantified coordinates without a PintIndex are not very useful).


Prettier: failed to parse buffer.

Do you want to request a feature or report a bug?
bug
What is the current/expected behavior?
should format file, instead gives error "Prettier: failed to parse buffer."
it does work if i just use :Prettier
What version of vim-prettier are you using - (output of :PrettierVersion) ?
0.2.7
What version of prettier are you using - (output of  :PrettierCliVersion) ?
1.14.0
What is your prettier executable path - (output of  :PrettierCliPath) ?
prettier
Did this work in previous versions of vim-prettier and/or prettier ?
yes, im not sure why its not working anymore.
here is my .vimrc just in case it helps. I am using macos version 10.13.6
https://gist.github.com/yshuman1/88902bbd6ff4341b9e619a935ce63d62

Thanks for reporting this issue will look into it now and comment in this issue

hi @mitermayer, i think i figured it out. its my bash terminal thats messing it up. for whatever reason the line in my vimrc shell=bash\ --login is causing prettier to break. when i comment it out everything in prettier is fine.

do you see anything here that would be breaking it? ```export PATH=$PATH:/Applications/Postgres.app/Contents/Versions/latest/bin
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home
export PATH=$PATH:$JAVA_HOME/bin
export GOPATH=$HOME/go
export GOROOT="/usr/local/go"
export PATH=$PATH:$GOPATH/bin
export GOBIN=$HOME/go/bin
export PATH="$PATH:/Applications/Visual Studio Code.app/Contents/Resources/app/bin"
export PATH=$PATH:/usr/local/mysql/bin/
export PATH="$HOME/.cargo/bin:$PATH"
export PATH="/usr/local/opt/python@2/libexec/bin:$PATH"
Enable tab completion
source ~/.bash_git
source ~/git-completion.bash
source ~/.git-prompt.sh
colors!
green="[\033[0;32m]"
blue="[\033[0;34m]"
purple="[\033[0;35m]"
reset="[\033[0m]"
export CLICOLOR=1
export LSCOLORS=GxFxCxDxBxegedabagaced
Change command prompt
source ~/git-prompt.sh
export GIT_PS1_SHOWDIRTYSTATE=1
'\u' adds the name of the current user to the prompt
'$(__git_ps1)' adds git-related stuff
'\W' adds the name of the current directory
export PS1="$purple\u$green$(__git_ps1)$blue \W $ $reset"
export NVM_DIR="/Users/yasin/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"  # This loads nvm
The next line updates PATH for the Google Cloud SDK.
if [ -f '/Users/yasin/google-cloud-sdk/path.bash.inc' ]; then source '/Users/yasin/google-cloud-sdk/path.bash.inc'; fi
The next line enables shell command completion for gcloud.
if [ -f '/Users/yasin/google-cloud-sdk/completion.bash.inc' ]; then source '/Users/yasin/google-cloud-sdk/completion.bash.inc'; fi
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk
export STUDIO_JDK=/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk
launchctl setenv STUDIO_JDK /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk
export PATH="$HOME/.cargo/bin:$PATH"```

Closing this issue for now as you have been unblocked.
I will resume working on vim-prettier in 2 weeks, been very busy at work at this stage as I am about to go on paternity leave in the next 2 weeks.
Will then comment in this issue my findings on further debugging this

thank you and congrats on the new arrival!

I also have a custom shell command, and it prevents :PrettierAsync from working. :Prettier works fine, but async does not. Is there a way around this other than removing our custom shell command?


Update DoorControl to Foundry VTT 0.7.9

Which class should be updated?
DoorControl
For which version should the class be updated?
Foundry VTT 0.7.9

This seem simple enough i can take care of it

This seem simple enough i can take care of it


Kneel to count cells of a particular color

There are many ways to use Excel, such as VBA
https://docs.microsoft.com/zh-cn/previous-versions/office/troubleshoot/office-developer/count-cells-number-with-color-using-vba
google sheets
function countColoredCells(countRange,colorRef) {
var activeRange = SpreadsheetApp.getActiveRange();
var activeSheet = activeRange.getSheet();
var formula = activeRange.getFormula();
var rangeA1Notation = formula.match(/((.*),/).pop();
var range = activeSheet.getRange(rangeA1Notation);
var bg = range.getBackgrounds();
var values = range.getValues();
var colorCellA1Notation = formula.match(/,(.*))/).pop();
var colorCell = activeSheet.getRange(colorCellA1Notation);
var color = colorCell.getBackground();
var count = 0;
for(var i=0;i<bg.length;i++)
for(var j=0;j<bg[0].length;j++)
if( bg[i][j] == color )
count=count+1;
return count;
};
onlyoffice?please

@ShockwaveNN Unfortunately, this macro doesn’t work on version 7.5.1

@ShockwaveNN Unfortunately, this macro does not work on version 7.5.1, could you please update it?

Hello. If you use example whitch I posted you should add "var" before "oWorksheet" variable into the 3-th line. I've checked this macros, it works fine in 7.5.1 after this changes. Here is new macros:
(function()
{
    var oWorksheet = Api.GetActiveSheet();
    // the ranges where the search will be performed
    var Range1 = oWorksheet.GetRange("A1:B14");
    var Range2 = oWorksheet.GetRange("B1:B7");
    // the range to be compared with when searching
    // (if there is more than one cell, it will only be compared with the first one)
    var Range3 = oWorksheet.GetRange("D1");
    var Range4 = oWorksheet.GetRange("D1");
    var Range5 = oWorksheet.GetRange("D2");
    var count  = CountColoredCells(Range1, Range3);
    var count2 = CountColoredCells(Range2, Range4);
    var count3 = CountColoredCells(Range1, Range5);
    oWorksheet.GetRange("E1").SetValue("D1 in A1:B14 = " + count);
    oWorksheet.GetRange("E2").SetValue("D1 in B1:B7 = " + count2);
    oWorksheet.GetRange("E3").SetValue("D2 in A1:B14 = " +count3);

    function CountColoredCells (Range1, Range2)
    {
        // Range1 is the range where the search will be performed
        // Range2 is the range to be compared with when searching
        // (if there is more than one cell, it will only be compared with the first one)
        var count = 0;
        var color = Range2.GetFillColor();
        if (color !== "No Fill") {
            Range1.ForEach(function(cell) {
                var curColor = cell.GetFillColor();
                if (curColor !== "No Fill" && curColor.color === color.color)
                    count++;
            });
        }
        return count;
    }

})();

@AlexeyMatveev686 thank you


[BUG] Unable to upgrade harvester cluster from v1.1.2 to 1.2.1

Describe the bug

To Reproduce
Steps to reproduce the behavior:

Install harvester cluster with 1.1.2.
create storage class with reclaim policy set to delete and set it as default storageclass.
Deploy rke2 cluster 1.23.17 with few vm's using same storageclass.
deploy some vms using same storage class.
turn off all the vms
run harvester upgrade pre-check script https://github.com/harvester/upgrade-helpers/tree/main/pre-check/v1.1.x.

Expected behavior

Support bundle

Environment

Harvester ISO version: 1.1.2
Underlying Infrastructure (e.g. Baremetal with Dell PowerEdge R630): R750C

Additional context
Add any other context about the problem here.

Annotations on harvester-longhorn were deleted and when added the issue was resolved. Need some insight on why the annotations were deleted on first place.

the script itself does not remove any annotations so it is hard to say what may have removed the annotations.
a support bundle from the point in time might have been useful but it may be too late since you have added the annotations back.
are you able to please advise which annotations were missing?

Missing annotation :
storageclass.kubernetes.io/is-default-class: "true"


can't print || with mac

i have a little problem when i want print || with iOS X yosemite (alt + 1) result that i can't ,it is because 'brackets' have on her configuration that (alt+1)  is for collapse all. Some idea for fix it? :)

Hello @adripol94,
You can override keyboard shortcuts via at ~/Library/Application\ Support/Brackets/keymap.json:
Save the following JSON data in that file, restart Brackets and you should be ready to go!
{
    "overrides": {
        "Alt+1": null
    }
}

If you want to reassign the keybinding to e.g. Shift+Cmd+C, use the following code:
{
    "overrides": {
        "Alt+1": null,
        "Shift+Cmd+C": "codefolding.collapse.all"
    }
}

Thanks @sbruchmann.
@adripol94 That should solve the issue. Please let us know if that worked for you.

Closing due to inactivity in this thread. Please feel free to reopen if you encounter this issue again.


Quickly copy review comment filename to clipboard

Description
When doing a review, Github has a convenient button to quickly copy a filename to the clipboard.
When looking at review comments, there is no such button, while I often need to copy the filename to open it in my IDE (to see the lines around the comment and/or fix it).
Furthermore, a left click on the filename to copy the text collapses the comment, which is usually not what I want to do.
Having the quick copy to clipboard button like when doing a review would be very convenient.

 Files tab
  Conversations tab (original)
  Conversations tab (expected)

If you think this can be part of this project I can implement it.
Example URLs
https://github.com/refined-github/sandbox/pull/10

Duplicate of https://github.com/refined-github/refined-github/issues/6398

You are right they are duplicates, my bad.
I guess I'll just use a userscript.


Enable UWM (user workload monitoring ) on edge clusters and document that as part of the POC edge cluster(s) prerequisites.

User Story

#6

A/C

User workload monitoring is enabled on test edge clusters.
The enabling of user workload monitoring is documented as part of the PoC edge cluster(s) prerequisites.
A sample service is deployed with its service monitor.
The sample metrics can be queried using Pometheus Expression Browser.

@StevenTobin shouldn't this issue be resolved by #26 ?


Messaging Screen

Design a community forum type messaging screen which will include the following

[ ] A text field to type in a message along with send button
[ ] Message bubbles in accordance with the sender of the message ( display sender's name/username and send time on the bubble as well)

please check pr https://github.com/GDSC-USICT/GDSC-USICT-App/pull/12

please check pr #12

Good work!! @aakzsh although a few fixes are required. I am attaching a screenshot so you can fix it and generate pr

.


fix: Update popup to have concise text

Update popup text
Fix popup full stack report label to be consistent with status tool tip
Don't silence error poup

Codecov Report

Merging #472 (5a059d1) into master (c975cfe) will increase coverage by 0.16%.
The diff coverage is 28.57%.

@@            Coverage Diff             @@
##           master     #472      +/-   ##
==========================================
+ Coverage   61.58%   61.74%   +0.16%
==========================================
  Files          16       16
  Lines         768      766       -2
  Branches      161      160       -1
==========================================
  Hits          473      473
+ Misses        295      293       -2

Impacted Files
Coverage Δ

src/caNotification.ts
3.22% <0.00%> (ø)

src/caStatusBarProvider.ts
37.50% <0.00%> (ø)

src/extension.ts
25.35% <0.00%> (+0.69%)
:arrow_up:

src/statusMessages.ts
100.00% <100.00%> (ø)

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 c975cfe...5a059d1. Read the comment docs.


Flutter - Execution failed for task ':unique_identifier:verifyReleaseResources'

I get this when I do 'flutter run --release'
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':unique_identifier:verifyReleaseResources'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
   > Android resource linking failed
     C:\Users\USER\.gradle\caches\transforms-2\files-2.1\df6cf23cc51da578d8b158de17d0c9cb\core-1.0.0\res\values\values.xml:57:5-88:25: AAPT: error: resource android:attr/fontVariationSettings not found.

     C:\Users\USER\.gradle\caches\transforms-2\files-2.1\df6cf23cc51da578d8b158de17d0c9cb\core-1.0.0\res\values\values.xml:57:5-88:25: AAPT: error: resource android:attr/ttcIndex not found.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 19s
Running Gradle task 'assembleRelease'...
Running Gradle task 'assembleRelease'... Done                      19.7s
The built failed likely due to AndroidX incompatibilities in a plugin. The tool is about to try using Jetfier to solve the incompatibility.
Building plugin camera...
Running Gradle task 'assembleAarRelease'...
Running Gradle task 'assembleAarRelease'... Done                    1.7s
√ Built build\app\outputs\repo.
Building plugin cloud_firestore...
The plugin cloud_firestore could not be built due to the issue above.

When I do flutter run --debug I don't get this issue,
Any idea how to solve it?

Could everyone who still has this problem please file a new issue with the exact descriptions what happens, logs and the output of 'flutter doctor -v'  please.
All system setups can be slightly different so it's always better to open new issues and reference related issues.


Accuracy problems

Hello Dieter,
Recently, I calculate an isotropic model for frequency-domain CSEM using empymod software. I do not know why I cannot get a correct result. Can you help me ? The following code is my setting parameters for the empymod:
src = [-50, 50, 0, 0, 0, 0]
# current of the source
strength=1
# x-directed dipole receiver-array: x, y, z, azimuth, dip
x_axis=np.arange(-20, 21)*500
y_axis=5000*np.ones(41)
rec = [x_axis,y_axis,0, 0, 0]
# layer boundaries
depth = [0,1000,4000]
# layer resistivities
res = [1e8,500,20,100]
# anisotropic
aniso=[1,1,1,1]
# Frequency
frequency=10
emfield =empymod.bipole(src, rec, depth, res, freqtime=frequency, aniso=aniso,strength=strength,verb=4)

Best regards,
Zhengguang.

Hi Zhengguan,
Thanks for getting in touch. I run your example, and I cannot see any issues with it. What is, in your opinion, incorrect in the result?
Just to confirm a few things, you have:

a 100 m long, x-directed electric dipole source, centred at x=y=z=0;
41 x-directed electric point-receivers, from (x, y, z) = (-10 km, +5 km, 0) to (+10 km, +5 km, 0).

If you can tell me what you expect to be different and why I might be able to help more.
I can see two potential points of confusion.
strength
One thing that might be confusing is the source strength. From the docstring:
strength : float, default: 0.0
    Source strength (A):

    - If 0, output is normalized to source and receiver of 1 m length, and
      source strength of 1 A.
    - If != 0, output is returned for given source and receiver length, and
      source strength.

You provide strength=1, which means that the returned result corresponds to a 100 Am source (100 m long, 1 A strong).
srcpts
The number of source points is by default set to 1. That means that your 100 m long dipole source is approximated by a single point source at (0,0,0). If you set srcpts=3, for instance, it uses Gaussian Quadrature to approximate the finite length dipole with three points.
However, given your source-receiver distances this will hardly make any difference at all, and approximating it with a point source is absolutely fine.

Hi Dieter,
Thanks very much for your detailed response. You are so kind. According to your answers, I have checked my code again. I made a particularly small mistake about my code.
Best Regards,
Zhengguang.

You're welcome Zhengguang. I assume it works now, great!


Enhancement Request, Display Int values in print statement, cast int values to GP process

Is it possible to have a better method print to int values?
(Even better to be able to cast them to the GP as ints)
Simple example, with Random Forests:
RFC(n_estimators=int(n_estimators),
        min_samples_split=int(min_samples_split),
        max_features=min(max_features, 0.999),
        random_state=2)

When running it may print out:
n_estimators = 10.3456, min_samples_split = 2.35643, max_features=0.99
I would expect it to print out:
n_estimators = 10, min_samples_split = 2, max_features=0.99
Going deeper, because its floats that have been passed, it may search the 'same' space again:
n_estimators = 10.3456, min_samples_split = 2.35643, max_features=0.99
n_estimators = 10.6334, min_samples_split = 2.12329, max_features=0.99

It seems rather wasteful to search int spaces.
I say this with no idea on how this affects the underlying GP process that is being called

I totally agree with that and the int(param) hack always rubbed me the wrong way. To be honest, I haven't really been able to come up with a simple and elegant way to deal with this issue.
In theory I imagine that it should be possible to define an appropriate kernel for the GP while also constraining the acquisition function optimization (or at least its output) to natural numbers. There's definitely a way, I just need to come up with something straightforward to keep in line with this package's theme.
In practice I find that adding a nugget to the "direction" of integer parameters helps the GP by providing it with some extra flexibility.

Hi @fmfn , is there any update on this issue? I'm experiencing the same problem and it's causing unnecessary iterations to be run as @mpearmain outlined.
Thanks for your code!!

To be honest, I'm not sure how, or even whether, I want to tackle this. I can think of a couple of hacks to mitigate some of the issues, such as repeated sampling, however I am not aware of any simple and elegant solution that can scale to arbitrarily many integer parameters.
Since users with a need of a more comprehensive and robust toolset will probably favour something like spearmint, I tend to avoid adding features to this package unless they add more value than overhead.
I'll keep looking around though, see if I find any papers on this subject, maybe someone has figured out a nice solution and I just need to find it.

Once constraints are implemented into the package, I might be able to make a go at this.  The idea would be to keep a running count of how many times a point has been searched, and once that count has reached a certain threshold, you add a constraint that eliminates a precisely defined neighborhood around that point from the search space (something like abs(x_i-y_i)-.5>=0).  Of course, we'd have to keep the user abreast of the situation with appropriate printing.  This will make more sense once I finish my constraints idea.  I'll return to this once that's done.

This can now be accomplished by building a (or extending the existing) logging observer. In the upcoming 1.0 release this feature might be included by default. Worse case scenario instructions on how to do it will be available.


vtk: add vtk-dicom module

Description of changes
Add https://github.com/dgobbi/vtk-dicom module. It is needed for https://github.com/eidelen/DicomToMesh
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

Hm, gdcm depends on vtk, but at the same time it's used as a dependency for vtk-dicom...

ok, it doesn't need vtk integration here.

Result of nixpkgs-review pr 317335 run on x86_64-linux 1

3 packages marked as broken and skipped:

ezminc
python312Packages.mayavi
python312Packages.mayavi.dist

4 packages failed to build:

python311Packages.pydicom-seg
python311Packages.pydicom-seg.dist
python312Packages.pydicom-seg
python312Packages.pydicom-seg.dist

73 packages built:

ants
appcsxcad
c3d
cloudcompare
csxcad
elastix
elmerfem
f3d
f3d.man
freecad
gdcm
intensity-normalization (python311Packages.intensity-normalization)
intensity-normalization.dist (python311Packages.intensity-normalization.dist)
itk
itk_5_2
libsForQt5.qcsxcad
libsForQt5.qcsxcad.dev
mirtk
mrtrix
octavePackages.dicom
openems
pcl
python311Packages.dicom2nifti
python311Packages.dicom2nifti.dist
python311Packages.gdcm
python311Packages.mayavi
python311Packages.mayavi.dist
python311Packages.medpy
python311Packages.medpy.dist
python311Packages.pymedio
python311Packages.pymedio.dist
python311Packages.pyradiomics
python311Packages.pyradiomics.dist
python311Packages.python-csxcad
python311Packages.python-csxcad.dist
python311Packages.python-openems
python311Packages.python-openems.dist
python311Packages.pyvista
python311Packages.pyvista.dist
python311Packages.sfepy
python311Packages.sfepy.dist
python311Packages.simpleitk
python311Packages.simpleitk.dist
python311Packages.torchio
python311Packages.torchio.dist
python311Packages.vtk
python312Packages.dicom2nifti
python312Packages.dicom2nifti.dist
python312Packages.gdcm
python312Packages.medpy
python312Packages.medpy.dist
python312Packages.pymedio
python312Packages.pymedio.dist
python312Packages.pyradiomics
python312Packages.pyradiomics.dist
python312Packages.python-csxcad
python312Packages.python-csxcad.dist
python312Packages.python-openems
python312Packages.python-openems.dist
python312Packages.pyvista
python312Packages.pyvista.dist
python312Packages.sfepy
python312Packages.sfepy.dist
python312Packages.simpleitk
python312Packages.simpleitk.dist
python312Packages.torchio
python312Packages.torchio.dist
python312Packages.vtk
rtabmap
simpleitk
therion
vtk
vtkWithQt5

pydicom-seg is broken on master: https://hydra.nixos.org/build/262251394

Also not sure if it should be enabled by default. I don't see it's being used a lot, but it doesn't break anything.

soft bump

Update the MR with v0.8.17.


Mark a flaky DaemonClientInputForwarderTest

See https://github.com/gradle/gradle-private/issues/4131
Adam prefers to mark it as flaky instead of reverting the whole PR.

The merge queue build has started. Click here to see all failures if any.


Missing Server name indication (SNI) for virtual hosting in docker cli

I have a webserver (apache-2.4) in front of the docker registry. This webserver uses virtual hosting to support different domains on one server. To determine the correct site with ssl SNI is used. so the client must support it.
Please add SNI Support to the docker cli.

+1

I don't think I will have time to implement or test this (I'm very new to Go), but I hope my notes will help someone.
I think this will require changes to NewRequest in utils/http.go and/or doRequest in registry/registry.go .  I don't think the net/http package can handle SNI, in which case crypto/tls is probably needed (by setting Config's ServerName).  This will apparently require a custom Client/Transport, similar to the example of customising RootCAs here: http://golang.org/pkg/net/http/#pkg-overview

Actually net/http does support SNI (tested on Ubuntu 14.04 with Go 1.2.1).

+1

+1

#dibs

USER POLL
The best way to get notified of updates is to use the Subscribe button on this page.
Please don't use "+1" or "I have this too" comments on issues. We automatically
collect those comments to keep the thread short.
The people listed below have upvoted this issue by leaving a +1 comment:
@arthurbarros
@lorenz
@DavidXArnold

+1


zinc binding sites

could you provide the list of proteins that have zinc-binding sites based on UniProt?

There are some binding sites with annotations like this:
BINDING 229; /ligand="Zn(2+)"; /ligand_id="ChEBI:CHEBI:29105"; /ligand_note="catalytic"; /evidence="ECO:0000250";

Are those the ones you're after?
(That annotation is for SPAC17A5.04c)

Exactly!

188 genes:
zinc_binding_from_uniprot_data.tsv.txt


ParquetDataset met coredump when data contain DELTA_BINARY_PACKED encoding

Please make sure that this is a bug. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:bug_template
System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 18.04
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: None
TensorFlow installed from (source or binary): source
TensorFlow version (use command below): r1.15.5-deeprec2210-25-ga27850bf1de 1.15.5
Python version: Python 3.6.9
Bazel version (if compiling from source): 0.26.1
GCC/Compiler version (if compiling from source): gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)
CUDA/cuDNN version: cuda:11.7.0-cudnn8
GPU model and memory: NVIDIA TITAN V 12288MiB

You can collect some of this information using our environment capture
script
You can also obtain the TensorFlow version with: 1. TF 1.0: python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)" 2. TF 2.0: python -c "import tensorflow as tf; print(tf.version.GIT_VERSION, tf.version.VERSION)"
Describe the current behavior
I use apache iceberg to generate parquet files, when parquet files compressed by zstd, ParquetDataset crashed with reading int64 type data. I notice DeepRec use arrow=5.0, but the arrow supports DELTA_BINARY_PACKED encoding begins at version 7.0, so I think we need to upgrade arrow version, and that won't affect other user's compatibility.
Describe the expected behavior
Works expected with DELTA_BINARY_PACKED encoding.
Code to reproduce the issue
Provide a reproducible test case that is the bare minimum necessary to generate the problem.
part.zstd.parquet:  https://drive.google.com/file/d/1CoumvsuL47trnFi4Bn6haRIsgTy9frSE/view?usp=share_link
part.gz.parquet: https://drive.google.com/file/d/1V_cOrjIVTVZ5y7Q4KbHa085ay6GeaZH-/view?usp=share_link
import os

import tensorflow as tf
from tensorflow.python.data.experimental.ops.dataframe import DataFrame
from tensorflow.python.data.experimental.ops.parquet_dataset_ops import ParquetDataset
from tensorflow.python.data.ops import dataset_ops

def make_initializable_iterator(ds):
    r"""Wrapper of make_initializable_iterator."""
    if hasattr(dataset_ops, "make_initializable_iterator"):
        return dataset_ops.make_initializable_iterator(ds)
    return ds.make_initializable_iterator()

def parquet_map(record):
    label = record.pop("label")
    return record, label

filename = """part.zstd.parquet"""
# filename = 'part.gz.parquet'

# Read from a parquet file.
ds = ParquetDataset(
    filename,
    batch_size=4,
    fields=[
        DataFrame.Field("f_2672", tf.int64),
        DataFrame.Field("f_2671", tf.int64, ragged_rank=0),
        DataFrame.Field("f_2673", tf.int64, ragged_rank=0),
        DataFrame.Field("f_5196", tf.float32, ragged_rank=0),
        DataFrame.Field("f_8436", tf.float32, ragged_rank=0),
        DataFrame.Field("label", tf.int32),
    ],
    num_parallel_reads=8,
).map(parquet_map)
ds = ds.prefetch(4)

iterator = make_initializable_iterator(ds)
features, labels = iterator.get_next()

sess_config = tf.ConfigProto(allow_soft_placement=True, log_device_placement=False)

with tf.Session(config=sess_config) as sess:
    sess.run(iterator.initializer)
    for i in range(1):
        feature, label = sess.run([features, labels])
        print(feature)
        print("Label: ")
        print(label)

Other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.

@JackMoriarty