I couldn't run

hello, I'm trying to replace the fastPFor java code with golang, but when the array I sent in my java code is outputting, I'm getting an error over golang.

The error I get is: fastpfor/Compression Length = 0. No work done.
What exactly could be the reason, thanks in advance.

It is not my project but it appears that you are asking it to store the compressed result in an empty slice (out). It may not have the room to write anything!

I have 23k values in my input array

In your example, you appear to have a single value in the array.
This being said, fastpfor.New() is not meant to be used alone. It is a block-oriented compressor. I don't know what the exact configuration is, in this project, but it probably will compress blocks of (say) 256 values. You can't compress a single integer with it. So you need to pair fastpfor with a code that can handle the tail. You can do so by following the conventions of this project as follows...
	codec =  composition.New(fastpfor.New(), variablebyte.New())
	err := codec.Compress(dd, inpos, len(dd), out, outpos)

Does that help?
Note that I am not the maintainer of this project.

$ go mod tidy

go: finding module for package github.com/dataence/bytebuffer
go: finding module for package github.com/willf/bitset
go: finding module for package code.google.com/p/snappy-go/snappy
go: found github.com/dataence/bytebuffer in github.com/dataence/bytebuffer v0.0.0-20131118020616-f1bbd176b4c1
go: found github.com/willf/bitset in github.com/willf/bitset v1.7.0
go: testler imports
        github.com/zentures/encoding/fastpfor tested by
        github.com/zentures/encoding/fastpfor.test imports
        github.com/dataence/encoding/generators imports
        github.com/willf/bitset<EMAIL_ADDRESS>parsing go.mod:
        module declares its path as: github.com/bits-and-blooms/bitset
                but was required as: github.com/willf/bitset

I'm getting an error while downloading the package, is it because of me?


Bluetooth: Missing LL data length update callback on Central and Peripheral sides

Introduction
Updating LL data length fails
Problem description
After establishing a connection between a Central and a Peripheral, trying to update the LL data length fails.
Also, the update callback isn't called.
Please check the following draft PR which shows the case and can be executed using BabbleSim
https://github.com/zephyrproject-rtos/zephyr/pull/51985
A shell script can be found under ~/zephyrproject/zephyr/tests/bluetooth/bsim_bt/bsim_test_conn_stress/tests_scripts/conn_stress.sh

@jori-nordic @alwa-nordic please check this

No longer exist after rebasing.
It seemed to be related to the interval between receiving the "connected" callback and starting the next scanning procedure.
Before rebasing:

The connection update request from the second connected peripheral was missed which is related to this issue https://github.com/zephyrproject-rtos/zephyr/issues/51984
By introducing a delay between receiving the "connected" callback after connecting to the first peripheral and starting the scanning procedure, the central got the connection update request and LL data length update callback was received as expected

not reproducible anymore after @ahmedmoheb-nordic upgraded from ubuntu 20.04 as host system to ubuntu 22.04.
Probably this is due to the different compiler/linker in the previous system.

I tried to reproduce the issue with a VM running Ubuntu 20.04, but I couldn't.
Adding a delay before starting the second scanning procedure allows the 2 expected connection parameters update requests from the connected peripherals to be received, then the LL data length update callbacks are received normally after initiating a LL data length update.
Also, removing the waiting condition and without a delay before the second scanning procedure, an error code is returned upon requesting to update the LL data length.
Please find the attached screen shots showing the 2 cases.


Change instance to bind in service provider

This fixes a bug introduced in pull request #42

Thanks!


AdaptiveCard SubmitAction does not serialize anonymous types in Data

So I just stumbled across this today. I was attempting to use an anonymous type for the Data property of a SubmitAction and while it compiles fine (of course) and runs fine at runtime, the action data from the anonymous type is not being serialized and emitted into the data property in the JSON that is returned.
I was surprised by this because JSON.NET supports serialization of anonymous types, so I'm not sure what's preventing this from working.

@drub0y  can you take a look and see if you can fix this?

This is caused by the use of the ReadOnlyJsonContractResolver on the JsonSerializerSettings ContractResolver.
This is set in the integration code to deserialize the inbound activity and its set by default in the swagger generated connector client.
The fact that we are consistent is good.
Switching the ContractSerializer out to the DefaultContractResolver allows anonymous types to be used however we would need to test for any regression. (And supporting anonymous types would be a good thing and testing for regression shouldn't be too bad.)


fix(treeselect): deep search in whole vocabulary

BREAKING: This PR introduces breaking changes to Vocabulary RemoteSelect and TreeSelect fields. Component's props are changed.

@mirekys I like the new approach, the component looks pretty nice.  There are a few smaller issues. Please see below:

In multiple mode, when I clear the selection, the items get cleared from the input in the base form, however, when I open the modal the items are shown as selected there.
Screencast from 2024-10-03 21-31-13.webm

In multiple selection, when I click to remove one of the chosen items, all disappear, they are still in the modal though (all of them)
Screencast from 2024-10-03 21-33-52.webm

I did not find any issues with single mode.
There are also a few console errors:

Hi @Ducica thanks for a good review, every issue should be addressed by now :)

@mirekys You're welcome, looks ok to me


Patch system/cron: allow multiple PRs per patch

Sometimes a student opens more than one PR for a patch. Should allow to replace an old PR number with the new one.
Also, allow teacher to remove PR number in the edit patch form.

I think this is working already.


Exception when adding custom keyword activation

Hi, I am following: https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/tutorial-voice-enable-your-bot-speech-sdk
All steps work correctly, and as expected, until adding a custom keyword for activation. I've created my custom keyword in Speech Studio, and have downloaded/extracted the kws.table (Step 2).
In the Direct Line Speech client, in the Settings menu, I've located the Model file path, and enabled it in the Wake Word settings.
In step 6, when I reconnect, the message appears "New conversation started - type, press the microphone button, or say the keyword".
Problem: When I say the wake word, nothing happens. And when I press the microphone button, the following error appears in the chat box:
"App Error (see log for details):
DLSpeechClient : Object reference not set to an instance of an object."
When I disable the wakeword setting, the DLSpeechClient works as expected (it echoes back any phrase when pressing the mic button).
This is the error log:
{"type":"Exception","id":null,"timestamp":null,"localTimestamp":null,"localTimezone":null,"serviceUrl":null,"channelId":null,"from":null,"conversation":null,"recipient":null,"textFormat":null,"attachmentLayout":null,"membersAdded":null,"membersRemoved":null,"reactionsAdded":null,"reactionsRemoved":null,"topicName":null,"historyDisclosed":null,"locale":null,"text":null,"speak":null,"inputHint":null,"summary":null,"suggestedActions":null,"attachments":null,"entities":null,"channelData":null,"action":null,"replyToId":null,"label":null,"valueType":null,"value":{"ClassName":"System.NullReferenceException","Message":"Object reference not set to an instance of an object.","Data":null,"InnerException":null,"HelpURL":null,"StackTraceString":"   at DLSpeechClient.MainWindow.Connector_SessionStarted(Object sender, SessionEventArgs e) in C:\Users\myusername\Desktop\Cognitive-Services-Direct-Line-Speech-Client\DLSpeechClient\MainWindow.xaml.cs:line 325\r\n   at DLSpeechClient.MainWindow.StartListening() in C:\Users\myusername\Desktop\Cognitive-Services-Direct-Line-Speech-Client\DLSpeechClient\MainWindow.xaml.cs:line 501","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nConnector_SessionStarted\nDLSpeechClient, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null\nDLSpeechClient.MainWindow\nVoid Connector_SessionStarted(System.Object, Microsoft.CognitiveServices.Speech.SessionEventArgs)","HResult":-2147467261,"Source":"DLSpeechClient","WatsonBuckets":null},"name":null,"relatesTo":null,"code":null,"expiration":null,"importance":null,"deliveryMode":null,"listenFor":null,"textHighlights":null,"semanticAction":null}
Expected behavior:
When saying the wake word, followed by a phrase, the DLSpeechClient will activate and echo it back. Or when pressing the mic, the DLSpeechClient will listen, and echo it back.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 4a0e7068-9f6c-5b21-f12f-f44d27c17acd
Version Independent ID: 49c118b3-3e55-b321-26be-f4f668745f72
Content: Tutorial: Voices enable your bot using Speech SDK - Azure Cognitive Services
Content Source: articles/cognitive-services/Speech-Service/tutorial-voice-enable-your-bot-speech-sdk.md
Service: cognitive-services
Sub-service: speech-service
GitHub Login: @dargilco
Microsoft Alias: dcohen

Hi @deloittecanada123 - Thank you for your feedback. Since this channel is more for driving improvements towards MS Docs, could you provide us with a URL of the documentation that your feedback is most applicable to? That way, we're able to locate the right team that's better suited to address your feedback.

@mike-urnun-msft Thanks, I am referring to this tutorial:
https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/tutorial-voice-enable-your-bot-speech-sdk

Hi @deloittecanada123 - Thanks for bringing up this issue. There was a segment in the code that was put there in the past for a workaround that is no longer required. The workaround caused the null exception bug. We have updated the Direct Line Speech Client repo with the proper change and you should no longer see the exception.
As for the wake word not working. Try making sure you have reconnected and that you are pronouncing the wake word clearly.
If you can share, what was the keyword you are trying to use?

#please-close


allow ignoring specific exposed setup vars with internal prefixes ("_" and "$")

What problem does this feature solve?
it would be great to be able to specify specific variables to disregard when showing this warning:
setup() return property "_" should not start with "$" or "_" which are reserved prefixes for Vue internals
Specifically I am using lodash, so I often have something like import _ from 'lodash' in my files.
When using the options api, this isn't really a huge issue, because usually lodash functions aren't needed in the template, and renaming lodash itself or a specific function while explicitly exposing it to the template isn't too common. However with the new script setup API, this would mean having to always rename lodash itself when importing it. While that's fine, it's not great for readability when lodash being named _ is the norm.
What does the proposed API look like?
A few things come to mind that could help

ignore the variable name _ itself from this warning
allow users to explicitly allow specific vars that are prefixed with _ or $, similar to app.config.globalProperties but something like app.config.allowInternalPrefixSetupProps = ['_', '_myVar', '$somethingSpecial']

In practice, you should really import individual functions from lodash because of the size difference, but a compiler option would definitely help.

You are not limited by this when using <script setup> - you should probably migrate if you haven't already?

@yyx990803 - thanks, I am using script setup already. This issue has not been a blocker at all, it's just been filling my browser console with warnings. I was able to figure out how to hide it yesterday using a custom warning handler, but I still think another config setting as mentioned above could be helpful.
For anyone else finding this - here is the warning handler:
app.config.warnHandler = function (msg, vm, trace) {
  if (msg === 'setup() return property "_" should not start with "$" or "_" which are reserved prefixes for Vue internals.') return;
  console.warn(msg, trace);
};

@posva - yeah I'm aware. I personally find a single lodash import and calling _.funcName much more readable and simpler than individual imports. I'm hoping to eventually get something like https://github.com/lodash/babel-plugin-lodash set up with vite to do it automatically, but in the meantime I just have my own lodash utils file that I import instead of lodash directly:
// import all the lodash functions individually in a way that unused functions will be shaken
...
import add from 'lodash-es/add';
import after from 'lodash-es/after';
import ary from 'lodash-es/ary';
import assign from 'lodash-es/assign';
import assignIn from 'lodash-es/assignIn';
...

// export only the ones we want to keep
export default {
  assign,
 ...
}

Hmm, I don't think this should happen with <script setup> (see playground example)
Do you have a reproduction?

I found that in dev mode, if internal exposed _ variable in <script setup>, and worked with $refs will report Uncaught TypeError: Cannot read property '__isScriptSetup' of undefined, but worked fine in prod mode. The reproduction link:https://github.com/ygj6/bug-report-ctx.git

npm install / yarn
npm run dev / yarn dev
click the 'button'
console Uncaught TypeError: Cannot read property '__isScriptSetup' of undefined

<script setup>
import { ref } from 'vue'

const msg = ref('Hello World!')
const _ = ref(0)
</script>

<template>
  <h1>{{ msg }}</h1>
  <input v-model="msg" ref="input">
  <!-- in dev mode will report 'Uncaught TypeError: Cannot read property '__isScriptSetup' of undefined',work fine in prod mode -->
  <button @click="$refs.input.focus()">
    Focus $refs.input
  </button>
</template>

@ygj6 's PR should fix usage of _ during dev mode, and I can't reproduce the original issue. Make sure to upgrade to latest version of Vue when it's released!

Thanks so much! I just confirmed that @ygj6's bug report is more up to date than mine and seems to be the same thing - I reproduced his issue importing lodash rather than using a ref named _.
(I'm still using a slightly older version of vue 3 due to volar + typescript not quite being up to date with the latest and greatest, last time I tried to update anyway...)


Emit metrics / events for monitoring service brokers

A short explanation of the proposed change
Emit extra http status code metrics for certain API endpoints, namely service broker-related endpoints. HTTP requests with the following prefixes will send extra metrics:
/[version]/service_instances
/[version]/service_bindings
/[version]/service_keys
The emitted metric name is:
cc.requests.#{route}.#{method.downcase}.http_status.#{status.to_s[0]}XX
E.g. cc.requests.service_bindings.put.http_status.5XX
An explanation of the use cases our change solves
Monitoring of service brokers to ensure operations are not failing, such as binding for example.
The current metrics only cover things internal to Cloud Foundry. These metrics provide the opportunity to monitor external components the platform relies on.
Links to any other associated PRs
Associated issue: https://github.com/cloudfoundry/cloud_controller_ng/issues/929

[x] I have reviewed the contributing guide

[x] I have viewed, signed, and submitted the Contributor License Agreement

[x] I have made this pull request to the master branch

[x] I have run all the unit tests using bundle exec rake

[ ] I have run CF Acceptance Tests

Closing in favour of https://github.com/cloudfoundry/cloud_controller_ng/pull/1165 which omits the merge commit from our internal fork branch.


Adding @Column to @ForeignKey field stops $Table from being built

I'm working with foreign keys. When I follow the Queen-Colony-Ant example, I found that adding @Column to a @ForeignKey field breaks the generator for the $Table class. Removing the @Column means I get a null value when I run a query. But adding it means that /app/build/generated/source/apt/debug/com/.../Ant$Table.java becomes an empty file and I can no longer reference column names. Here's some example code:
@Table(databaseName = Database.NAME)
public class Ant
extends BaseModel
{
    @Column
    @PrimaryKey(autoincrement = true)
    public Long ANT_ID;

    @Column // Adding this
    @ForeignKey
    (
        references = {
            @ForeignKeyReference
            (
                columnName = Job$Table.JOB_ID
            ,   columnType = Long.class
            ,   foreignColumnName = Job$Table.JOB_ID
            )
        }
    ,   saveForeignKeyModel = false
    )
    public Job JOB;

    // ... etc ...

    public Job getJob()
    {
        return JOB;
    }
}

Additionally, I want to be able to call data from Job after querying the Ant table, like so:
Ant ant = new Select().from(Ant.class).where(
    // I can no longer do this after adding @Column
    Condition.column(Ant$Table.ANT_ID).is(antId)
).querySingle();

// How do I accomplish a task like this?
Job job = ant.getJob();
job.doSomethng()

I'm using DBFlow 2.2.1.

@escproxy What is the string value for Job$Table.JOB_ID ? I'm trying to reproduce your issue

Job$Table.JOB_ID should return "JOB_ID" as defined by:
@Table(databaseName = Database.NAME)
public class Job
extends BaseModel
{
    @Column
    @PrimaryKey(autoincrement = true)
    public Long JOB_ID;

    // ... etc ...
}

K, will try to reproduce

try now in 3.0. Issues should be fixed. let me know.


One proxy per vm

Allow the proxy to be run for a single pod.
This branch allows multiple proxies to be run on a single system, one per pod. Note that it also permits this behaviour even when the proxy is run as a system-level systemd service.

Tested locally to ensure it is possible to run a system-level cc-proxy instance plus pod-level instances.

@jodh-intel oh ok so you mean with this patch, we can still use the proxy as a single instance ?

Hi @sboeuf - yes, we can retain the systemd-spawned instance for the time being, then remove that functionality later. This multi-step process allows us to keep disruption to a minimum. See https://github.com/clearcontainers/runtime/issues/795.

@jodh-intel that's perfect to go step by step, I agree we don't want to break everyhting :)

LGTM

@amshinde please take a look and merge this so that we can move forward with https://github.com/containers/virtcontainers/pull/483


adds monger

Unfortunately this one didn't work. SSL issues that I couldn't bypass.

Hi,
nice work, thanks!!!
did you try adding --enable-https to the native-image options to handle the https?

I thought that --enable-https and --enable-url-protocols=http,https were equivalent. Lemme give it a shot.

The issue seems to be that sun.security.provider.NativePRNG is on the heap when it shouldn't be and it looks like it's coming from within the mongodb driver

;-(
thanks for trying this up


Error export default Select

Describe the bug
When upgrading to the latest version of ds, a bug was found in the docs when importing for default the Select component.
Screenshots

Sorry but i check with the latest version (4.15.3) and i didn't reproduce this issue.
Can you try again with the same version or provide more information?

Sorry but i check with the latest version (4.15.3) and i didn't reproduce this issue.
Can you try again with the same version or provide more information?

I have tested it with versions:
4.15.4
4.15.3
4.15.1
In all 3 versions, running npm run build gives the following error:

I have already detected the error, in some version change the props were modified and that was generating an error, all fixed, close the issue


I set the weight of nodes, but it does't alter the appearance.

environment: chrome browser
code:
<script type="text/javascript"> 			var cy = cytoscape({ 				container: document.getElementById("cy"), 				autolock: true, 				userPanningEnabled: true 			}); 			cy.add([{ 				group: "nodes", 				data: {weight: 10, id: "13177345979"}, 				position: {x: 200, y: 200} 			}, {group: "nodes", data: {weight: 10, id: "15801094535"}, position: {x: 100, y: 250}} 			, {group:  "edges", data: {id: "e0", source: "13177345979", target: "15801094535"}}]); 		</script>
I have set the weight of two nodes in the code, but it turnes out that, both nodes share the same weight.

Edges are weighted, not nodes.  And you have to set the options for the layout as stated in the readme (using edgeWeight).

thank you.  how can I set the size of a node?


added program for plusOne

Using Javascript added program for plusOne

this is amazing @Iamthevk
thanks for the contribution in my repo and please share in social media and tag me on twitter


Add support to read varbinary column from Parquet fixed length byte array

Resolves: https://github.com/facebookincubator/velox/issues/9757

Seeing test failure:
[ RUN      ] ParquetReaderTest.readVarbinaryFromFLBA

E0524 07:50:27.656497  8491 Exceptions.h:67] Line: fbcode/velox/dwio/parquet/reader/ParquetReader.cpp:136, Function:ReaderBase, Expression: fileLength_ > 0 (0 vs. 0) Parquet file is empty, Source: RUNTIME, ErrorCode: INVALID_STATE
terminate called after throwing an instance of 'facebook::velox::VeloxRuntimeError'
  what():  Exception: VeloxRuntimeError
Error Source: RUNTIME
Error Code: INVALID_STATE
Reason: (0 vs. 0) Parquet file is empty
Retriable: False
Expression: fileLength_ > 0
Function: ReaderBase
File: fbcode/velox/dwio/parquet/reader/ParquetReader.cpp
Line: 136

Parquet file is empty

@mbasmanova, The CI test passed. The test passes locally as well. The file being empty is strange since I can that the file is now empty in this PR. Likely the file did not download correctly in the Meta test infrastructure? Can you please check again?

@majetideepak Deepak, I'm seeing that after importing this PR, the new file varbinary_flba.parquet is empty. I'll need some time to figure out why this is happening and how to fix that.


annoyance: api instances in context

promise api should be only optionally created, or lazily as needed, i.e. maybe don't even put it in context

Just curious if this is something you just abandoned to do, or if this is done in any way.

This one is fixed by your PR, actually because I also refactored out the promise stuff


fix deprecated apt:source parameters

fix spec tests to use new format

@micah-uber The rspec tests are not even running since the lint tests are failing.  Could you look into that?


Update version and add new overload method

Update version to 3.1.1
Add new overload method of SetFakeBearerToken (Possibility to add a token without configurations)

Hello!
What is your use case to have a default sub using your pattern? Other users may have different patterns for the their default sub, which may not be aligned with your idea of default.

Hello!
Forgive me, for my bad English
My intention was to remove the obligation to pass a sub (username), and that the sub was created automatically, as there is not always the need to validate the sub in the token.
Just created a more elegant way to authenticate without the need to pass parameters when there is no specific need, making the code cleaner and more elegant.


Connection with AWS IAM Authentication always returns invalid credentials

Bug description
I am trying to connect Prisma with AWS RDS, My company is using AWS IAM Authentication to connect to the RDS. I create the authentication token with RDS.signer and then escape the special characters as mentioned in the docs.
The unescaped authentication token itself is working correctly when using mysql in terminal with mysql --host=$RDS_HOST --port=$RDS_PORT --ssl-ca=$SSL_PATH --enable-cleartext-plugin --user=$RDS_USER --password=${TOKEN}. Also the previous command works when unescaping the authentication token after escaping it.
The authentication always fails even when attempting to try different tokens always yields the same results.
Attached is a screenshot of the error.

How to reproduce

Expected behavior
Prisma should connect to RDS and pull data from it.
Prisma information

generator client {
  provider = "prisma-client-js"
}

datasource db {
  provider = "mysql"
  url      = "mysql://${username}:${encodeURIComponent(token)}@${hostname}:${port}"
}```

### Environment & setup

- OS: macOS
- Database: MySQL
- Node.js version: 20.5.0

### Prisma Version

5.1.1

@MohamedAkl1 Thanks for this issue, it looks like a duplicate of https://github.com/prisma/prisma/issues/10304
Though in your case, the error message does not mention "Unknown authentication plugin" 🤔
Did you execute prisma db pull here to get this error message?

Hello @Jolg42 thanks for your response, yes i execute prisma db pull to get this error.

Closing this because I realized I was missing a ssl certificate path and now the error is the same as #10304. So this is now a duplocate

(closed as duplicate)


Add scaffold soroban

This PR adds Scaffold Soroban to the Dapp Docs

Preview is available here:http://soroban-docs-pr545.previews.kube001.services.stellar-ops.com/

Preview is available here:http://soroban-docs-pr545.previews.kube001.services.stellar-ops.com/

Preview is available here:http://soroban-docs-pr545.previews.kube001.services.stellar-ops.com/

Preview is available here:http://soroban-docs-pr545.previews.kube001.services.stellar-ops.com/

Something went wrong with PR preview build please check

Preview is available here:http://soroban-docs-pr545.previews.kube001.services.stellar-ops.com/

Preview is available here:http://soroban-docs-pr545.previews.kube001.services.stellar-ops.com/

Preview is available here:http://soroban-docs-pr545.previews.kube001.services.stellar-ops.com/


add PHP Static Installation

add PHP Static Installation

Not sure what this does. I am closing for now as when I tried visiting the website, I only got the Index of the public directory.


Invalid MSDOS Function

When drag and dropping files on Windows 10 (remote->local), I get an invalid MSDOS function error.

I am also seeing issues on drag and drop. Marked that down as a separate entry #117 since I did not see and Invalid MSDOS function error (or perhaps I did not know where to look).

Drag&drop will be Dokan related and it's probably fix. Try current Dokan 1.0


Extract all vendors css or scss to  .css file

I'm submitting a ...
[ ] bug report
[* ] feature request
[] question about the decisions made in the repository
Do you want to request a feature or report a bug?
feature
What is the current behavior?
vendors css inject into project by "style" tag
What is the expected behavior?
extract vendors css or scss (for example: bootstrap css loaded by bootstrap-loader) to .css files with ExtractTextPlugin
What is the motivation / use case for changing the behavior?
I want to use WebpackRTLPlugin to right to left  bootstrap

I need your help
Thanks for awesome work
Best regards

Closing due to inactivity.


Make some ChargingState fields nullable

This is a workaround for the problem where the code generation does not
produce optional fields without the nullable property set to true.

Will mark values as UNSPECIFIED since is not supported.


path_utils.rs - needs cleanup before integration.

cli/tauri-cli/src/bundle/path_utils.rs
Has lots of warnings - needs cleanup.

Thanks @kastenbutt


couldn't find "libhermes.so" RN 0.75.4

Description
I followed the tutorial to create a new project, but I am unable to run it on my Android device through Android Studio.
I haven't made any changes yet!
package.json
{
  "name": "AwesomeProject",
  "version": "0.0.1",
  "private": true,
  "scripts": {
    "android": "react-native run-android",
    "ios": "react-native run-ios",
    "lint": "eslint .",
    "start": "react-native start",
    "test": "jest"
  },
  "dependencies": {
    "react": "18.3.1",
    "react-native": "0.75.4"
  },
  "devDependencies": {
    "@babel/core": "^7.20.0",
    "@babel/preset-env": "^7.20.0",
    "@babel/runtime": "^7.20.0",
    "@react-native/babel-preset": "0.75.4",
    "@react-native/eslint-config": "0.75.4",
    "@react-native/metro-config": "0.75.4",
    "@react-native/typescript-config": "0.75.4",
    "@types/react": "^18.2.6",
    "@types/react-test-renderer": "^18.0.0",
    "babel-jest": "^29.6.3",
    "eslint": "^8.19.0",
    "jest": "^29.6.3",
    "prettier": "2.8.8",
    "react-test-renderer": "18.3.1",
    "typescript": "5.0.4"
  },
  "engines": {
    "node": ">=18"
  },
  "packageManager"<EMAIL_ADDRESS>}

Steps to reproduce
npx @react-native-community/cli@latest init AwesomeProject
cd AwesomeProject
npx react-native run-android
So far everything is normal.
After connecting to my phone, I encountered this issue when clicking 'Run' on Android Studio
React Native Version
0.75.4
Affected Platforms
Runtime - Android
Output of npx react-native info
System:
  OS: macOS 15.0.1
  CPU: (8) arm64 Apple M1
  Memory: 93.67 MB / 16.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 20.13.0
    path: ~/.nvm/versions/node/v20.13.0/bin/node
  Yarn:
    version: 3.6.4
    path: /usr/local/bin/yarn
  npm:
    version: 10.5.2
    path: ~/.nvm/versions/node/v20.13.0/bin/npm
  Watchman:
    version: 2<IP_ADDRESS>
    path: /opt/homebrew/bin/watchman
Managers:
  CocoaPods: Not Found
SDKs:
  iOS SDK: Not Found
  Android SDK:
    API Levels:
      - "33"
      - "34"
    Build Tools:
      - 28.0.3
      - 29.0.2
      - 30.0.2
      - 30.0.3
      - 31.0.0
      - 33.0.0
      - 34.0.0
      - 35.0.0
    System Images:
      - android-33 | Google Play ARM 64 v8a
      - android-34 | Google APIs ARM 64 v8a
    Android NDK: Not Found
IDEs:
  Android Studio: 2024.1 AI-241.18034.62.2412.12266719
  Xcode:
    version: 16.0/16A242d
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 17.0.6
    path: /usr/bin/javac
  Ruby:
    version: 2.6.10
    path: /usr/bin/ruby
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.3.1
    wanted: 18.3.1
  react-native:
    installed: 0.75.4
    wanted: 0.75.4
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: false
iOS:
  hermesEnabled: Not found
  newArchEnabled: false

Stacktrace or Logs
FATAL EXCEPTION: main
                                                                                Process: com.awesomeproject, PID: 31815
                                                                                java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.awesomeproject-sznyhYwsMncTird2uCR7Pg==/base.apk"],nativeLibraryDirectories=[/data/app/com.awesomeproject-sznyhYwsMncTird2uCR7Pg==/lib/arm64, /system/lib64]]] couldn't find "libhermes.so"
                                                                                at java.lang.Runtime.loadLibrary0(Runtime.java:1012)
                                                                                at java.lang.System.loadLibrary(System.java:1669)
                                                                                at com.facebook.soloader.nativeloader.SystemDelegate.loadLibrary(SystemDelegate.java:24)
                                                                                at com.facebook.soloader.nativeloader.NativeLoader.loadLibrary(NativeLoader.java:52)
                                                                                at com.facebook.soloader.nativeloader.NativeLoader.loadLibrary(NativeLoader.java:30)
                                                                                at com.facebook.soloader.SoLoader.loadLibrary(SoLoader.java:774)
                                                                                at com.facebook.hermes.reactexecutor.HermesExecutor.loadLibrary(HermesExecutor.java:26)
                                                                                at com.facebook.hermes.reactexecutor.HermesExecutor.<clinit>(HermesExecutor.java:20)
                                                                                at com.facebook.hermes.reactexecutor.HermesExecutor.loadLibrary(HermesExecutor.java:24)
                                                                                at com.facebook.react.ReactInstanceManagerBuilder.getDefaultJSExecutorFactory(ReactInstanceManagerBuilder.java:407)
                                                                                at com.facebook.react.ReactInstanceManagerBuilder.build(ReactInstanceManagerBuilder.java:349)
                                                                                at com.facebook.react.ReactNativeHost.createReactInstanceManager(ReactNativeHost.java:80)
                                                                                at com.facebook.react.ReactNativeHost.getReactInstanceManager(ReactNativeHost.java:51)
                                                                                at com.facebook.react.ReactDelegate.loadApp(ReactDelegate.java:294)
                                                                                at com.facebook.react.ReactActivityDelegate.loadApp(ReactActivityDelegate.java:137)
                                                                                at com.facebook.react.ReactActivityDelegate.onCreate(ReactActivityDelegate.java:132)
                                                                                at com.facebook.react.ReactActivity.onCreate(ReactActivity.java:47)
                                                                                at android.app.Activity.performCreate(Activity.java:7260)
                                                                                at android.app.Activity.performCreate(Activity.java:7251)
                                                                                at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1275)
                                                                                at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3200)
                                                                                at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3355)
                                                                                at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
                                                                                at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
                                                                                at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
                                                                                at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2098)
                                                                                at android.os.Handler.dispatchMessage(Handler.java:106)
                                                                                at android.os.Looper.loop(Looper.java:224)
                                                                                at android.app.ActivityThread.main(ActivityThread.java:7142)
                                                                                at java.lang.reflect.Method.invoke(Native Method)
                                                                                at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:511)
                                                                                at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:876)

Reproducer
none
Screenshots and Videos
No response

@hgx Apart from Run command on Android Stdio. Are you able to build android apk on real device using npx react-native run-android.

@shubhamguptadream11
npx react-native run-android Can run on real device.
Clicking 'Run' on Android Studio doesn't work
The same issue occurred when installing Build APK (s) onto the device

Can you try to update Android Studio to ladybug?
I have version
Android Studio Ladybug | 2024.2.1
Build #AI-242.21829.142.2421.12409432, built on September 24, 2024
Runtime version: 21.0.3+-79915917-b509.11 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.lwawt.macosx.LWCToolkit
macOS 14.6.1

And is working fine for me.

@cortinico @shubhamguptadream11
I guess it's a device issue, it works fine on Samsung devices.
Is this error caused on devices without GMS?

@shubhamguptadream11
npx react-native run-android Can run on real device.
Clicking 'Run' on Android Studio doesn't work The same issue occurred when installing Build APK (s) onto the device

Sorry, I will correct this answer

npx react-native run-android  is work.
'Run' on Android Studio doesn't work.
Build APK (s) - use adb install is work.

Thanks all
This should be related to the packaging method I have chosen.
Run/Debug Configurations - Installation Options - Deploy  'APK from app bundle'
After changing back to 'Default APK', it has been restored to normal


[PW-8235] BrowserInfo - JavaEnabled not being passed.

Describe the bug
When an express payment is being completed we are getting errors saying the javaEnabled value is not being passed to Magento which is causing an issue with the payment being accepted.
To Reproduce
Steps to reproduce the behavior:
Go to GooglePay Express payment.
Proceed to checkout.
Network request comes back with "Error with payment method. Please try and different method"
Check Adyen PSP and the error is Refused (15_002 Required field javaEnabled missing for device channel browser)
Expected behavior
Go to GooglePay Express
Proceed to checkout.
Payment should be accepted and works fine.
Additional context
From raising a support ticket with your team we have spotted that an acutal request will send.
"browserInfo" : {
      "userAgent" : "Mozilla\/5.0 (iPhone; CPU iPhone OS 16_1_1 like Mac OS X) AppleWebKit\/605.1.15 (KHTML, like Gecko) Version\/16.1 Mobile\/15E148 Safari\/604.1",
      "acceptHeader" : "*\/*",
      "colorDepth" : 32,
      "language" : "en-GB",
      "javaEnabled" : false,
      "screenHeight" : 896,
      "screenWidth" : 414,
      "timeZoneOffset" : 0
   },

Where as the GooglePay express only sends
"browserInfo" : {
      "userAgent" : "Mozilla\/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit\/605.1.15 (KHTML, like Gecko) Version\/13.0.3 Mobile\/15E148 Safari\/604.1",
      "acceptHeader" : "application\/json, text\/plain, *\/*",
      "language" : "IE"
   },

Hello @gene-simonb,
Thank you for raising this issue. We created an internal investigation ticket for this issue. We will inform you when finish the investigation.
Best Regards,
Can


Compatibility with Julia 1.1

Project.toml seems to indicate Julia 1.1 is supported, however I'm getting:
2020-05-26T00:05:54.0518174Z Switched to branch 'compathelper/new_version/2020-05-26-00-05-54-038-698849552'
2020-05-26T00:05:55.0433918Z ERROR: MethodError: no method matching hasmethod(::typeof(CompatHelper.update_manifests), ::Type{Tuple{}}, ::Tuple{Symbol})
2020-05-26T00:05:55.0434242Z Closest candidates are:
2020-05-26T00:05:55.0508947Z   hasmethod(::Any, ::Any; world) at reflection.jl:1100
2020-05-26T00:05:55.0790278Z Stacktrace:
2020-05-26T00:05:55.3953965Z  [1] #make_pr_for_new_version#14(::GitHub.OAuth2, ::Base.EnvDict, ::Symbol, ::Bool, ::CompatHelper.DefaultBranch, ::String, ::String, ::Array{Pkg.Types.RegistrySpec,1}, ::typeof(CompatHelper.make_pr_for_new_version), ::typeof(CompatHelper.update_manifests), ::String, ::String, ::GitHub.Repo, ::CompatHelper.Package, ::Dict{CompatHelper.Package,Union{Nothing, VersionSpec}}, ::Dict{CompatHelper.Package,Union{Nothing, String}}, ::Dict{CompatHelper.Package,Union{Nothing, VersionNumber}}, ::Array{GitHub.PullRequest,1}, ::Array{String,1}, ::CompatHelper.GitHubActions) at /home/runner/.julia/packages/CompatHelper/eVLge/src/new_versions.jl:306
2020-05-26T00:05:55.4006671Z  [2] #make_pr_for_new_version at ./strings/string.jl:0 [inlined]
2020-05-26T00:05:55.4020325Z  [3] #make_pr_for_new_version#13(::GitHub.OAuth2, ::Base.EnvDict, ::Bool, ::Bool, ::CompatHelper.DefaultBranch, ::String, ::String, ::Array{Pkg.Types.RegistrySpec,1}, ::typeof(CompatHelper.make_pr_for_new_version), ::typeof(CompatHelper.update_manifests), ::GitHub.Repo, ::CompatHelper.Package, ::Dict{CompatHelper.Package,Union{Nothing, VersionSpec}}, ::Dict{CompatHelper.Package,Union{Nothing, String}}, ::Dict{CompatHelper.Package,Union{Nothing, VersionNumber}}, ::Array{GitHub.PullRequest,1}, ::Array{String,1}, ::CompatHelper.GitHubActions) at /home/runner/.julia/packages/CompatHelper/eVLge/src/new_versions.jl:135
2020-05-26T00:05:55.4020587Z  [4] #make_pr_for_new_version at ./array.jl:0 [inlined]
2020-05-26T00:05:55.4020846Z  [5] #make_pr_for_new_version#12(::GitHub.OAuth2, ::Base.EnvDict, ::Bool, ::Bool, ::CompatHelper.DefaultBranch, ::String, ::String, ::Array{Pkg.Types.RegistrySpec,1}, ::typeof(CompatHelper.make_pr_for_new_version), ::typeof(CompatHelper.update_manifests), ::GitHub.Repo, ::Dict{CompatHelper.Package,Union{Nothing, VersionSpec}}, ::Dict{CompatHelper.Package,Union{Nothing, String}}, ::Dict{CompatHelper.Package,Union{Nothing, VersionNumber}}, ::Set{CompatHelper.Package}, ::Array{GitHub.PullRequest,1}, ::Array{String,1}, ::CompatHelper.GitHubActions) at /home/runner/.julia/packages/CompatHelper/eVLge/src/new_versions.jl:24
2020-05-26T00:05:55.5046358Z  [6] (::getfield(CompatHelper, Symbol("#kw##make_pr_for_new_version")))(::NamedTuple{(:auth, :env, :keep_existing_compat, :drop_existing_compat, :master_branch, :subdir, :pr_title_prefix, :registries),Tuple{GitHub.OAuth2,Base.EnvDict,Bool,Bool,CompatHelper.DefaultBranch,String,String,Array{Pkg.Types.RegistrySpec,1}}}, ::typeof(CompatHelper.make_pr_for_new_version), ::Function, ::GitHub.Repo, ::Dict{CompatHelper.Package,Union{Nothing, VersionSpec}}, ::Dict{CompatHelper.Package,Union{Nothing, String}}, ::Dict{CompatHelper.Package,Union{Nothing, VersionNumber}}, ::Set{CompatHelper.Package}, ::Array{GitHub.PullRequest,1}, ::Array{String,1}, ::CompatHelper.GitHubActions) at ./none:0
2020-05-26T00:05:55.5046803Z  [7] #main#1(::Array{Pkg.Types.RegistrySpec,1}, ::Bool, ::Bool, ::CompatHelper.DefaultBranch, ::String, ::Array{String,1}, ::Function, ::Function, ::Base.EnvDict, ::CompatHelper.GitHubActions) at /home/runner/.julia/packages/CompatHelper/eVLge/src/main.jl:48
2020-05-26T00:05:55.5281066Z  [8] main at /home/runner/.julia/packages/CompatHelper/eVLge/src/main.jl:16 [inlined] (repeats 4 times)
2020-05-26T00:05:55.5281885Z  [9] top-level scope at none:0
2020-05-26T00:05:55.6315765Z ##[error]Process completed with exit code 1.

using Julia 1.1.1

Hmm. Can you reproduce with 1.2.0?
If not, I may have made a mistake and it is only compatible with 1.2 and higher.

https://github.com/JuliaLang/julia/pull/30712 is part of 1.2, yes.

This will be fixed by https://github.com/bcbi/CompatHelper.jl/pull/211 and https://github.com/JuliaRegistries/General/pull/15457


Paper "Analyzing Inverse Problems with Invertible Neural Netowrks": Error in implementation

Hi,
I'm trying to implement the invertible network described in the paper in Tensorflow 2.
I am having some difficulties matching the descriptions of the loss functions with the code.
Especially, I think there might be an inconsistency in this file:
If I've understood correctly, the function loss_reconstruction (that is almost undescribed in the paper) seems to use the following layout for the values that are fed to the sampling process:

However, the train_epoch function seems to use a different layout:

Is this a mistake, or does the output of the forward process really have a different format than the input of the inverse process?

Hi,
thank you for raising the issue!
I am sorry to say I am on holiday the rest of the year, and I won't be able to check in more detail until January.
Until then, if in doubt, stick with the description in the paper.

Ok, thanks, enjoy your holiday! :)

I was now able to write a Tensorflow implementation of the invertible network. It can reproduce the results of the toy-8 example.
During the process of implementing this, I've discovered a few things others might benefit from when working with this paper:

Configuration differences compared to the paper:

The loss weights in the toy-8 example are not all the same (as stated in the similar problem in the paper).
The batch size is different than the one in the paper problem.
The AffineCouplingLayer uses parameter sharing: The networks for s_1 and t_1 are the same, the networks for s_2 and t_2 are also the same.
The AffineCouplingLayer uses clamping to avoid blow up of the exponential function.

Efficient implementation of MMD:
An efficient implementation of MMD is crucial to the fast execution of this algorithm. The matrix formulation is not (at least it wasn't to me for quite some time) obvious, so perhaps a note about this might be helpful.

But apart from these suggestions: Great work, this will be valuable for lots of problems in science!
P. S.: The problem I've had in my first post is not present in the toy-8 demo notebook, but in the inverse_problems_in_science folder I've linked in my original post.


Missing C++ attribute support

I'm not sure if it is intended or not, but I wasn't able to find any support for C++ attributes. I would be willing to add them, but I'm not sure which highlighting is intended for the attributes since I couldn't find them anywhere. The following is a list of attributes that could be added to the plugin:

C++11: noreturn, carries_dependency
C++ 14: deprecated
C++17: fallthrough, nodiscard, maybe_unused
C++ 20: likely, unlikely, no_unique_address and pre-,post-conditions + assertions: expects, ensures and assert.

Thanks for opening the issue so we can keep track of it


Feauter/sourcery fixes

I'm really sorry.  I keep on meaning to create a pr to my main, not yours.


Can't Access Any Site Directories

I have tried following the instructions.
Enabled mod_rewrite and disabled it as well
Setup Config.php in system/tastyigniter/config
Setup Database.php in same location
I have gotten nowhere. All i get is Error 404 Page not found through TI
Anyway you can provide some more complete instructions?

Beginning with CI 3.0 you have to have first letters of models and controllers with Capitals.
Otherwise you get what happened to me.

I'm wondering why this did not happen on my development server.


Is int8 acceleration possible?

I see your tensorrt model is fp16.

I see your tensorrt model is fp16.

I guess as you said.
But the improvement may not be obvious.
Also, you are welcome to submit a pr to help add this feature.

closed, feel free to reopen it if you have further questions. Thanks!


build: do not upload results to cloud result-store by default

We currently always upload build results to source.cloud.google.com.
Though past has proven that servers for the Build Event Service are
rather unstable compared to the remote execution workers we acquire
for CI builds. To avoid that these servers and the non-build relevant
result uploading degrades CI stability, we do not run them by default,
unless one explicitly opts-in through a Bazel build configuration.
The uploaded build results were useful to inspect output of individual
targets that ran on CI, but the need for this is limited, and if someone
cannot see given output for an action, he could easily connect to the CI
container and run the command manually. Usually the output for failed
actions is printed to the CI output anyway.
Motivation for this change: As explained, instability of these servers. I have
noticed such failures frequently over the past months (not often; but noticeable).
Today it's significantly impeding PR statuses, most likely due to a larger GCP outage.

I'll defer this one to @josephperrott

@josephperrott Yeah, I was surprised too, but the failures/timeouts were extreme last week based on what I saw. Here is an example failing build. And I have noticed such timeouts before too (where they randomly made a PRs failing). I've already tried increasing the timeout to 60s but that didn't work either.
I'm going to add merge ready, but feel free to remove if you want to continue discussing/investigating this. Ideally the servers would just be as reliable as the remote executors (I could definitely see a discrepancy here)

@devversion I am fine with merging this now.  As you noted, we don't really rely on the build results being uploaded at this point.


MudDataGrid: Cannot edit property with [JsonIgnore] attribute

Things to check

[X] I have searched the existing issues for this bug
[X] To rule out a caching problem I made sure the bug also happens in an incognito tab

Bug type
Component
Component name
MudDataGrid
What happened?
I have a database entity with a nullable string property, that I want to edit with a datagrid.
I don't want the property to be included when the entity is served as JSON via the API.
Thus it is decorated with [JsonIgnore].
The value of the property does show in the datagrid when displaying the data.
But it is not propagated when editing, neither with DataGridEditMode.Form nor with DataGridEditMode.Cell mode:

When a value is entered in the edit form, it doesn't show in CommittedItemChanges event data either:

Without  a [JsonIgnore] attribute the binding for the nullable string works.
Expected behavior
The expected behavior is for data binding to work with the [JsonIgnore] attribute.
For the time being any hints or workarounds for getting editing to work with this configuration are highly appreciated.
Reproduction link
https://try.mudblazor.com/snippet/mkmeFanvxwKIojgE
Reproduction steps
See the snippet: https://try.mudblazor.com/snippet/mkmeFanvxwKIojgE
Relevant log output
No response
Version (bug)
7.1.5
Version (working)
No response
What browsers are you seeing the problem on?
Chrome
On which operating systems are you experiencing the issue?
Windows, Linux
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

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

This is because DataGrid is using STJ to deep clone the object, we cannot really change that behavior in STJ.
But you can change the ICloneStrategy and provide own deep clone logic: https://github.com/MudBlazor/MudBlazor/pull/8851
This is example how to override the default STJ
https://github.com/ScarletKuro/MudBlazor/blob/f72e05b74772b043775b690a21d1707c83d4800d/src/MudBlazor.UnitTests.Viewer/TestComponents/DataGrid/DataGridFormEditCloneStrategyTest.razor
https://github.com/ScarletKuro/MudBlazor/blob/f72e05b74772b043775b690a21d1707c83d4800d/src/MudBlazor/Utilities/Clone/CloneableCloneStrategy.cs

@ScarletKuro thanks for you speedy response and the linked resources 🙏
I can confirm, a custom clone strategy solves my problem 👍


Issue SPIRV->GLSL

I've recently updated our whole hlsl -> glsl pipeline and updated glslang, SPIRV-Tools and SPIRV-Cross. Everything is working fine except for one shader that ends up using undefined variables. The translated code has a line that looks like the following:
bool _989;
float _1013;
while (_967 < 16)
{

but 967 was not defined above. There are two or three similar ones. I think the SPIRV looks ok so my first port of call is SPIRV-Cross, as we've had many similar-looking ones in the past.
shader_optimized.spv.txt

Ok, this seems to be some edge case with loop variable handling and while loops.

Awesome thanks :+1:


Making frontend for the " Our Members " page

Assign me this task

So, @lokeshvasnik the member page looks like
There is a main heading at the top ->
Want to become Openlysource member ?
then there is form , the form contains -
Profile pic
Name
Github profile
Share your thought about Open-source
then there is list of our members in the form of testimonials  like this

On it!

Where is the form?

There is a button in center just below the main heading which will redirect the user to the form ,  make one page for form as well so when user clicks on the button it redirect to the form so it is like
The main heading first " Want to become openlysource member ?
Then their is button named " join us " below this heading which redirect user to form page .The form also contain submit button as well
Then the list of testimonials
I hope you got it

I would love to contribute if the issue is still open.

I assigned this issue to @lokeshvasnik already . So you can work on issue #49 if you want

He unassigned it that's why I asked I could contribute.

Feel free to work on the member page brother as I already completed it you can go for responsiveness if there is anything left

@lokeshvasnik are you still working on the member form for this member page?

@lokeshvasnik are you still working on the member form for this member page?

No

okay then @thevinitgupta you can start working on this issue , all the things has been done only the member form left so for now you just make a member form take a look at this type of form -
https://user-images.githubusercontent.com/96375055/220121816-4aa893c6-50bb-4d92-ae74-02aa5e10c211.mp4

the page already seems to be responsive.
@lokeshvasnik can you specify what you wanted to be done?

@thevinitgupta yes you are right the member page is almost responsive , you can make about us page responsive

Yes @thevinitgupta it's already responsive and I completed the page already long back that's the reason I unassigned the task and wanted to close the issue


Parsing error "('Testining' -split '(')[0]"

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
Parsing ($junk -split '(')[0]
Expected behavior
>$junk = 'Testing 123'
>($junk -split '(')[0]
Testing 123

Actual behavior
parsing '(' - Not enough )'s.
At /tmp/home/.code.tio.ps1:2 char:1
+ ($junk -split '(')[0]
+ ~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : OperationStopped: (:) [], ArgumentException
+ FullyQualifiedErrorId : System.ArgumentException

Error details
No response
Environment data
Name                           Value
----                           -----
PSVersion                      6.2.3
PSEdition                      Core
GitCommitId                    6.2.3
OS                             Linux 5.2.11-100.fc29.x86_64 #1 SMP Thu Aug 29 …
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

And
Name                           Value
----                           -----
PSVersion                      6.2.3
PSEdition                      Core
GitCommitId                    6.2.3
OS                             Linux 5.2.11-100.fc29.x86_64 #1 SMP Thu Aug 29 …
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Visuals
No response

Operator error
($junk -split '(')[0]

What result do you expect?
( is a special regex symbol. It need second ). Literal ( should be escaped \(

6.2.3

This is very old version


Release new version with decorating flasgger views support

Hey!
Could you release new version of flasgger? I want to use this https://github.com/rochacbruno/flasgger/pull/109 feature.
Thanks in advice.

Will do that later today :)

done


Rest api

Adds support for tracking unread notification
Adds updating a user's display name
Adds a test suite for REST API
Improves documentation on utilizing the backend

Looks good to me, merging in


Move clustering configs to default.yaml

Hi,
In some products such as ESB and AM clustering config hieradata are duplicated in master.yaml and worker.yaml . Shall we move them to default.yaml since it is unlikely that worker and manager have different clustering configs. Duplicating configs confuses new users and maintainance is harder.

A good suggestion Udara!
I think currently there is an issue doing this; the marathon application names which we should provide under clustering section differs in default profile and other profiles.


add ObjectMutator interface to simplify object handling and patch creation

This PR adds an additional mutation interface, where the object is provided as argument, and the patch for the response is automatically generated by the handler.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

21 of 31 (67.74%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-3.4%) to 89.787%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/webhook/handler.go
9
13
69.23%

pkg/webhook/mutating_webhook.go
12
18
66.67%

Totals

Change from base Build<PHONE_NUMBER>:
-3.4%

Covered Lines:
211

Relevant Lines:
235

💛  - Coveralls

I'm still thinking if there is a way to achieve the same with less duplicated code 🤔

@bakito I just made another proposal in #7, maybe you can have a look. I think the boilerplate in here is too large compared to how much it is reduced when using it.


Examples for setting HTTP_FORWARDED_COUNT and UserStatus for IP Address

The Meteor documentation doesn't provide a solid enough example, I don't know where to set this variable.
Also I don't even know how to access UserStatus for something as simple as getting the IP Address, I don't know where in the code to put it in (server or client) ... this is a bit confusing for me!

Closed issue because the source code does a good job of explaining, just had a little trouble with Coffee and Moustache


Correct definition of DeletionTimestamp

/assign @deads2k

/assign @pmorie

/assign @qiujian16

/hold until we figure out  whether criticalresource works as expected.

/approve
/lgtm

/lgtm
/approve
/hold cancel


⚠ Bofrost.nl has degraded performance

In d51e148, Bofrost.nl (https://www.bofrost.nl) experienced degraded performance:

HTTP code: 200
Response time: 1615 ms

Resolved: Bofrost.nl performance has improved in f6e074e.


The definition of 'nfdicore:Project' class

I want to create 'NFDI4DataScience project' as an instance of nfdicore:Project Class. nfdicore:Project is defined as "A planned process of a scientific or business endeavor that aims to conclude an investigation or to answer a research question." Since 'NFDI4DataScience project' does not aim to answer a specific research question, I am unable to use the class nfdicore:Project. Would you please consider editing the definition if it is Ok?

Follow up to the comment above,
In our NFDI4DataScience domain, we define 'NFDI4DataScience Project' as ' A project that aims to develop, construct and establish a national research data infrastructure for the data science and artificial intelligence research community.'
We want to create 'NFDI4DataScience Project' as an instance of the 'nfdicore:Project' class and our suggestion for the definition of the 'nfdicore:Project' would be 'A project is a planned process of a scientific or business endeavor that aims to conclude an investigation or provide solutions to one or more problems.'

"Project" is a "PlannedProcess". Dealing with "MatwerkProject", we probably refer to the designation or description of the project, which we need an "InformationContentEntity", not a "PlannedProcess"! Maybe it is better to change the label to "ProjectProcess", or improve its defination. Furthermore, the mentioned "Project" examples are not really representive.


Fix white on light grey text in DocSearch modal

Just noticed that the hovered item in the search modal with the light theme currently uses an illegible text colour. This PR fixes that.

before
after

Looks good! I'm going to merge this now so that text is legible (!), but would think we'd also be happy to consider other styling (dark purple text?) for the highlighted option at some point.


[2521] Cope with null ProviderLocation

Context
https://find-postgraduate-teacher-training.education.gov.uk/course/1KN/385K
caused a 500 error because ProviderLocation is null for this provider
Changes proposed in this pull request
Guidance to review

 500 when provider location null

 500 when provider location null


Implement all hover states following the Figma spec

Figma for light and dark mode,
https://www.figma.com/file/Yv3MynoOfFbFpd641XTl0z/stake-bond?node-id=220%3A7101
TO DO
Nav bar on left

on hover there should be an underline stroke and not color change

Nav bar footer

update icon on hover color for social icons

Header on top

no highlight color change state on hover. The mouse cursor to thumb change is enough
[(i) OHM] on should show the popover menu on hover, not select

Stake page

[Stake OHM] - only text should change opacity.
On hover the unselected tab for ex "Unstake" should show an underline stroke
"Stake on Frax" CTA - update default/hover state color application

Bond page

update hover states for Bond/Claim CTAs
updated style for "View contract + icon" default + hover state

If you need access to Figma, please leave your email.

I can have a look at this once I have Figma access -<EMAIL_ADDRESS>:)

Just got access to Figma, so I'll get started on this!


Installation fails to build wheel for several packages

On Ubuntu 20.04.2 LTS the installation process fails to build bitstring blinker embit pyngrok pypng pyqrcode pyscss with the same error: 'invalid command 'bdist_wheel'. Here's an example for bitstring:
Building wheel for bitstring (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /home/user/lnbits/venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-fufznll9/bitstring/setup.py'"'"'; __file__='"'"'/tmp/pip-install-fufznll9/bitstring/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-i1r0g155
       cwd: /tmp/pip-install-fufznll9/bitstring/
  Complete output (6 lines):
  usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: setup.py --help [cmd1 cmd2 ...]
     or: setup.py --help-commands
     or: setup.py cmd --help

  error: invalid command 'bdist_wheel'
  ----------------------------------------
  ERROR: Failed building wheel for bitstring
  Running setup.py clean for bitstring

pip3 install wheel did not solve the issue, nor did installing gcc libpq-dev python-dev  python-pip python3-dev python3-pip python3-venv python3-wheel.
What else could be the matter here?
Thank you kindly for your suggestions.

Dont worry about it, its just pip error handling in a dramatic way.
Pip wants to build a wheel for it, but cant so then has to install directly.


Rename functions-array to functions-nested to collect all nested-type functions

Is your feature request related to a problem or challenge?
Since many implementations of map UDF rely on make_array, we plan to create another crate to collect all the functions for nested types (e.g., array, struct, or map), as discussed in https://github.com/apache/datafusion/issues/11572#issuecomment-2241644027 and https://github.com/apache/datafusion/issues/11546#issuecomment-2241453265.
Describe the solution you'd like
Technologically, I plan to rename functions-array that includes the array and map functions currently to functions-nested,  then move struct functions to functions-nested.
The array_expressions feature will also be renamed to nested-expressions.
Describe alternatives you've considered
No response
Additional context
No response

take

Let's move the struct functions to functions-nested by another PR.


The table adapts the column width to the width of the container

Set the width of each column by the width of the container

https://github.com/editablejs/editable/commit/95ada0f19a9d7899beb09ecb6d72cf14d327fcc8


fix: pixel gap from top and bottom in rtl mode

fixed: https://github.com/SrBrahma/react-native-shadow-2/issues/28
reference https://github.com/SrBrahma/react-native-shadow-2/pull/61
https://snack.expo.dev/ssSCzEhwY here is a reproducible example for IOS RTL mode. this issue is fixed by my PR

Hi @numandev1, thanks for the contribution. This solution feels strange to me as the value 1 doesn't seem to take into consideration the device pixel ratio. I believe this solution only fixes the specific scenario test case.

@SrBrahma i tested many devices in RTL mode and it is working for my all devices, you can also test it in RTL mode

fixed: #28 reference #61
https://snack.expo.dev/ssSCzEhwY here is a reproducible example for IOS RTL mode. this issue is fixed by my PR

this help for me

Ty. I will merge this soon.

Just released it under 7.1.0. The conflict was messy to solve so I changed the code directly. I am closing this, although the fix is applied to the code.


Join existing zigbee network as mqtt bridge

Hello,
I just purchased a Sonoff ZBDongle-E hoping to use it in parallel to my existing hue bridge. Now I have understood that currently I have to choose wether to use one or the other.
From my understanding of the ZigBee Protocol, to run as a router the stick needs to join an existing network, which would include getting the keys. Is it maybe possible to extract this information to use it in coordinator mode?
I would be happy to learn more about the details and why I might be wrong.

You can have only one Zigbee coordinator (which is now a Philips Hue bridge).
You can flash your Sonoff dongle to act as a router (signal repeater)


Location problem, Isfahan is a city of Iran not Afghanistan

Hi,
When I try to see Isfahan weather, the output return Afghanistan country instead of Iran.
hypermit@hp ~> curl wttr.in/isfahan
Weather for City: Isfahan, Afghanistan
           Blowing Widespread Dust
  .--.     10 – 13 °C

.-(    ).   → 43 km/h
(.)_)  3 km
0.0 mm

You can try
wttr.in/Isfahan,Iran.
That will work.
Or do you suggest to show Isfahan,Iran by default?

Yes, I'm suggesting to show Isfahan, Iran by default. Because Isfahan is a city of Iran.


Optimization for SEO: KW "cloud framework"

Primary KW; cloud framework
Secondary KWs: cloud adoption framework, cloud frameworks, cloud adoption
Semantic analysis: cloud adoption, cloud computing, aws
Proposed changes

Updated metadata (removed first instance of Pulumi to avoid redundancy) and added an internal link.
Updated a few instances where mentions of Pulumi's Cloud Framework were not capitalized. (I'm assuming this is the correct version (Cloud Framework is its official name), if not, there is at least one instance that needs to be changed to "Cloud framework."

"cloud adoption framework" was a phrase that came up on the SERP a lot, but I noticed that it's the name that many providers are using for their service, versus ours, which is called the "Cloud Framework." To get around that I've tried to add the word "adoption" in a few times where I thought it fit naturally. My main question would be if there is any way to use "cloud adoption framework" on this page or was I correct in my previous assumption?
@cnunciato @zchase

@zchase couple minor suggestions for edits and then I'm happy to get this one closed out as well.


Support NATGateway in the ec2-controller

Is your feature request related to a problem?
I need the NATGateway resource in order to create private routes for a private subnet.
Describe the solution you'd like
A new NATGateway resource that is as well supported as InternetGateway

Implemented with https://github.com/aws-controllers-k8s/ec2-controller/pull/43


module info for natives have duplicate module names

Version
3.3.2 (nightly)
Platform
Linux x64, Linux arm64, Linux arm32, macOS x64, macOS arm64, Windows x64, Windows x86, Windows arm64
JDK
JDK 9+
Module
All with natives
Bug description
Any jar with natives contains a module info with a module name that is the same as other jars for natives of the same LWJGL module. When loading modules manually using ModuleLayer/ModuleFinder an exception (java.lang.module.FindException) is thrown due to duplicate module names.
These jars should have unique module names, one way to accomplish this would be to put the native platform type at the end of the module name: <module>.natives.arm64
This should not cause any incompatibly with previous releases as these module names are not referenced in user module-info.java.
Stacktrace or crash log output
No response

TLDR: This is by design and shouldn't be an issue in practice as you should never have the native modules for two platforms on the modulepath. You can read about the design decisions here.
Long, biased answer:
The way LWJGL handles loading native libraries from Jars is by extracting them into a temporary directory first. This mechanism has failed in the past for unexpected user names (#790) and interfering anti-virus systems (#225) and I (personally) avoid relying on it. Instead, it is generally a good idea to set up your application in a way that the native libraries are loaded from a directory right away. This can, for example, be achieved by installing the native libraries into a bin subdirectory in your application folder and setting Configuration.LIBRARY_PATH (ref) accordingly. Having the natives on the classpath/modulepath is useful during development though. However, your build tool should provide a mechanism for making sure that only the modules for your platform are added to the configuration. (You can find examples of how this can be done in the build customizer.)

This should not cause any incompatibly with previous releases as these module names are not referenced in user module-info.java.

I don't think this statement is true. If you do decide to let LWJGL take care of extracting the native libraries, it should be necessary to require the native modules in your module declaration for them to be visible to LWJGL. Thus, the solution here is to require the native modules (e.g., org.lwjgl.natives, org.lwjgl.glfw.natives) and ensure that only the modules for the desired platform are actually available on the modulepath.

Hello @TheMrMilchmann it is not a matter of loading the native jars into the classpath. If the native jars exist in the same folder as each other, the ModuleFinder looks at all jars in the folder (not just the jar you are trying to load) and will throw the exception. In my case, I am letting LWJGL handle the natives entirely and not even attempting to load a LWJGL jar, but because the LWJGL jars are in the same directory and have the same module names between multiple jars this causes the exception.
It is not always possible to control/prevent having multiple natives in the same directory (module path), and when LWJGL is loading the jars there is no issues. I have many applications that contain all the jars for different platforms and LWJGL always loads the correct natives.

I don't think this statement is true. If you do decide to let LWJGL take care of extracting the native libraries, it should be necessary to require the native modules in your module declaration for them to be visible to LWJGL. Thus, the solution here is to require the native modules (e.g., org.lwjgl.natives, org.lwjgl.glfw.natives) and ensure that only the modules for the desired platform are actually available on the modulepath.

I have never had to add the native module names to my module-info.java. Do you have an example of this?

Hello @TheMrMilchmann it is not a matter of loading the native jars into the classpath. If the native jars exist in the same folder as each other, the ModuleFinder looks at all jars in the folder (not just the jar you are trying to load) and will throw the exception.

There are two ways to circumvent this: You could either add the individual jars (instead of the directory to the modulepath), or move the jars to different directories per platform.

It is not always possible to control/prevent having multiple natives in the same directory (module path), and when LWJGL is loading the jars there is no issues. I have many applications that contain all the jars for different platforms and LWJGL always loads the correct natives.

That was (and should still be) possible when using LWJGL on the classpath but I'd strongly recommend shipping platform-specific bundles of your application instead.

I have never had to add the native module names to my module-info.java. Do you have an example of this?

I wrote a very small test program to quickly validate my claim: https://github.com/TheMrMilchmann/MCVE/tree/lwjgl3/856-native-module-info-required-demo
The observed behavior confirms my expectation and is in line with descriptions of issues that have been reported in the past.  The only other way to solve this would be adding using the --add-modules command line flag when launching the JVM.

Hey @tlf30, @TheMrMilchmann,

This mechanism has failed in the past for unexpected user names (https://github.com/LWJGL/lwjgl3/issues/790) and interfering anti-virus systems (https://github.com/LWJGL/lwjgl3/issues/225) and I (personally) avoid relying on it. Instead, it is generally a good idea to set up your application in a way that the native libraries are loaded from a directory right away.

Custom packaging is always possible and recommended for developers that want full control. But it's quite a bit of extra work that needs to be done and thoroughly tested.
One easy solution to the issues mentioned is a custom -Dorg.lwjgl.system.SharedLibraryExtractPath. You can still rely on automatic natives extraction by LWJGL, but you force it to use a specific directory that you control and know won't cause issues. Could be as simple as your application's ./ and that should always be accessible (you'd have other kinds of trouble otherwise).
That's what I do in my LWJGL-based applications.

Any jar with natives contains a module info with a module name that is the same as other jars for natives of the same LWJGL module. When loading modules manually using ModuleLayer/ModuleFinder an exception (java.lang.module.FindException) is thrown due to duplicate module names.

This is by design. During development, there's no reason to download natives for other platforms (either directly or via Maven/Gradle). On end-user machines, the assumption is that there are platform/architecture-specific installers and they bundle or download specific natives. The only time you download all the natives is when building the installers (and even that is usually done on different machines or CI runners).

I have never had to add the native module names to my module-info.java. Do you have an example of this?

An example would be a jlink-packaged application. jlink requires all dependencies to be Java modules, you can't have non-modular jars on the classpath. In that case, you'd need to add the native modules in module-info. If the native module names had a platform/architecture suffix, you'd have to compile a different module-info class for each deployment target, which is not acceptable.
Note that native modules have a transitive dependency to the corresponding non-native module (and all non-core modules have a transitive dependency to the LWJGL core module). So, your application's module-info.java could have just:
requires org.lwjgl.jemalloc.natives;

instead of both:
requires org.lwjgl.jemalloc;
requires org.lwjgl.jemalloc.natives;

Going back to the original issue, another option you have is to merge the different native jars into one:

The internal directory structure allows this. Each binary is under a distinct directory for exactly this reason, to enable JAR merging.
The module-info.class under META-INF/versions/9 is exactly the same for all platforms/architectures, so you choose one and discard the rest.
The MANIFEST.MF file is also generic, except the LWJGL-Platform property. It's just informational though, LWJGL prints it only when something goes wrong with library loading. You can put something like multi-platform there or simply remove it, it's optional.
The INDEX.LIST file should be merged and contain entries for all files.

You could easily write a simple script that does the above automatically every time you download a new LWJGL distribution.

Thank you for the information @Spasi. I am currently traveling and will be home next week. I will post an example test case of the issue I am running into, as I am using LWJGLs native loader. The issue is when loading non-lwjgl jars that live in the same directly as lwjgl native jars.
I'll post an example next week once I get home.

OK, @TheMrMilchmann thank you for the example project. It has brought up many other issues. I started diving into the very old build configurations that the apps we are working on are built from. And the key difference is that our launchers are still using -jar <name> and the manifest files are still specifying a Class-Path for dependencies, because of this even though there is a module-info.java file present, much of the module system security is not enabled (but some parts still work at runtime, which is interesting)
While this opens a whole different can of worms that needs to be fixed. The underlaying issue is now: How can we package multiple platforms natives together in a single app and still use java modules? After I make the necessary corrections behind the scenes to get modules working at runtime (sigh) it will break the current loading process since we package all the natives together in our libs folders, and our plugins to our system package all the lwjgl natives together in their local lib folder.
Options I am currently looking at:

As @Spasi mentioned, repackaging natives into a single jar, which I would like to avoid as it would complicate an already complicated build system
Building an extractor that extracts the correct native jars from the plugin jars, which would be easy to add into the plugin system we have since we already extract other things based on the platform, but this does not fix the issue for the lwjgl natives we use in the core applications.

I will put some thought into this.
One initial thought I had, but have not tested yet.

Note that native modules have a transitive dependency to the corresponding non-native module (and all non-core modules have a transitive dependency to the LWJGL core module).

Would it be possible to reverse this? Perhaps give every native its own module name, then have those modules as a transitive static dependency to the java library jar. Example:
/*
 * Copyright LWJGL. All rights reserved.
 * License terms: https://www.lwjgl.org/license
 */
module org.lwjgl {
    requires transitive jdk.unsupported;

    //Natives
    requires transitive static org.lwjgl.natives.linux.arm32
    requires transitive static org.lwjgl.natives.linux.arm64
    requires transitive static org.lwjgl.natives.linux.x64
    requires transitive static org.lwjgl.natives.macos.arm64
    requires transitive static org.lwjgl.natives.macos.x64
    requires transitive static org.lwjgl.natives.windows.arm64
    requires transitive static org.lwjgl.natives.windows.x64
    requires transitive static org.lwjgl.natives.windows.x86

    exports org.lwjgl;
    exports org.lwjgl.system;
    exports org.lwjgl.system.jni;
    exports org.lwjgl.system.libc;
    exports org.lwjgl.system.libffi;
    exports org.lwjgl.system.linux;
    exports org.lwjgl.system.macosx;
    exports org.lwjgl.system.windows;
}

This would (in theory) eliminate the requirement for adding a requires for any of the natives. I did a quick compile test and a static transitive does compile but I have not tested runtime behavior yet.

Hey @tlf30,
I believe the suggestion above would still require you to add the natives dependency in some other way (e.g. with --add-modules). A requires static dependency is the same as just requires at compile time, but it is mostly ignored at runtime. The module system will not add any of those dependencies in the module graph automatically.
I don't like the current situation either, but it felt like the least complicated/verbose in practice. I don't think the module system is designed to handle this particular case. But, honestly, it's not a big deal, we made it work.
Also, I don't see how changing the module descriptors would help you with the original issue of bundling multiple natives.  But if you're going to do extra work, why not do it properly and only ship the natives required for the target installation only?


feat: add option to recursively consider server dirs in $lib

Closes #12732
This PR adds a new config option kit.files.nestedServerDirs that, when enabled, considers any modules inside any $lib/**/server/** directory a server module, rather than just $lib/server/**.

Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

[x] It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC: https://github.com/sveltejs/rfcs
[x] This message body should clearly illustrate what problems it solves.
[x] Ideally, include a test that fails without this PR but passes with it.

Tests

[x] Run the tests with pnpm test and lint the project with pnpm lint and pnpm check

Changesets

[x] If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpm changeset and following the prompts. Changesets that add features should be minor and those that fix bugs should be patch. Please prefix changeset messages with feat:, fix:, or chore:.

Edits

[x] Please ensure that 'Allow edits from maintainers' is checked. PRs without this option may be closed.

Instead of adding an option, can we instead make this the default? Would that be considered a breaking change?

Instead of adding an option, can we instead make this the default? Would that be considered a breaking change?

Yes because if for some reason I'm importing a module on the client from /server/nested/module.ts it will fail with this


Compilation error for ReadableByteChannel when used inside test functions

Description:
The following lines of code, produce a compilation error when used inside test function.
    io:ReadableByteChannel readableByteChannel =  check io:openReadableFile("src/registry_module_api/tests/resources/twitter-java12.balo");
    byte[]|io:Error result = readableByteChannel.read(10000);

Error message:
invalid usage of the 'check' expression operator: no matching error return type(s) in the enclosing invokable
When the same code is used inside source function, no errors are shown.
Steps to reproduce:
Include the following test function to a ballerina module and build.
@test:Config{}
public function testFunc(){
    io:ReadableByteChannel readableByteChannel =  check io:openReadableFile("src/registry_module_api/tests/resources/twitter-java12.balo");
    byte[]|io:Error result = readableByteChannel.read(10000);
}

Affected Versions:
Ballerina 1.2.8
OS, DB, other environment details and versions:
Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

This is not related to IO standard library. According to my observation, this is related to the implementation of the check expression.
Sample
Run the following sample to test.
import ballerina/test;
import ballerina/io;

@test:Config {}
public function test() {
    string r = check foo(0);
    io:println(r);
}

public function foo(int n) returns string|error {
    if (n == 0) {
        return "Done";
    } else if (n == 1) {
        return error("E1");
    } else {
        return error("E2");
    }
}

$ ballerina test check_issue.bal

It returns the same aforementioned error log.

@Dilhasha according to the documentation(https://ballerina.io/swan-lake/learn/by-example/check.html), the check expression can only be used when a function returns an error. Since test functions don't return anything, I think we cannot use check here. Instead, if we replace check with checkpanic it works.
Please run the above sample with checkpanic, it works.

Thanks @BuddhiWathsala
"checkpanic" can be used.


feat: tracing docs

Signed-off-by: Charles-Edouard Brétéché<EMAIL_ADDRESS>Related issue

Proposed Changes

Checklist

[] I have read the contributing guidelines.
[] I have inspected the website preview for accuracy.
[] I have signed off my issue.

Link closing issue.

@chipzoller thanks for looking at it, I think I addressed your comments. PTAL

@chipzoller would you mind using suggestions ? it would really help, I'm quite bad at writing docs and my english skills are so poor ;)

Please resolve all open comments so I know what to check.

Please resolve all open comments so I know what to check.

Done

Please resolve all open comments so I know what to check.

Done

@chipzoller i added a jaeger tutorial


Add Indonesian translations for command descriptions

This issue is to add Indonesian translations for the existing commands found in https://github.com/devadvance/terminalcheatsheet/tree/master/_data/commands
Use id (the locale code for Indonesian) as the key for the strings.

Hello @devadvance I'd like to work on it, please assign me.

@AjiArya thanks! Assigned this issue to you.

@devadvance Having issue with yamllint #103 . How can I fix this?

@AjiArya I commented in #103 with how I fixed it, and added the hacktoberfest-accepted label so the PR will count! Thanks for adding these!
The problem with yamllint was that the line length was a few characters too long. It includes indentation in the count, which may not have been clear in the IDE or tool.


Исправлена опечатка в phpdoc

Coverage remained the same at 83.677% when pulling a4a3f0f953a6cc63fd965d09a7e2a76efa111664 on gladyshev:master into df6c9b764941a944b81fb7103106833af1ccf1f0 on nixsolutions:master.


Webpack Error: Module not found: Error: Can't resolve 'module' in 'path'

Description: I stumbled across a bug after the last update: Due to the changes to the webpack logic, some packages no longer seem to be able to be integrated correctly.
THIS ONLY EFFECTS CERTAIN PACKAGES!
For example: 'deepmerge' is working perfectly, 'headroom.js' is not
This is not a problem with Webpack 5, as I was able to get a pure NPM project running with Webpack and headroom.js without any problems. In version <IP_ADDRESS>, this error did not yet occur when running bin/build-storefront.sh. Unfortunately, no test data is available for version <IP_ADDRESS>.
Environment: Local MacOS with Node@18, <EMAIL_ADDRESS>Steps to reproduce:

Install Shopware (min v<IP_ADDRESS>) via tutorial
Create & activate custom theme
Load custom NPM package to theme's storefront JS path
Install package "headroom.js" (npm i -D headroom.js)
Map installed package in "build/webpack.config.js" to '@Headroom'
Run bin/build-storefront.sh

Expected result: Executing script assets:install [OK]
Actual result: ERROR in ../../../../../../../custom/plugins/SwagExample/src/Resources/app/storefront/src/plugin/headroom-js/headroom.plugin.js 2:0-33
Module not found: Error: Can't resolve '@Headroom' in '/shopware-flex/custom/plugins/SwagExample/src/Resources/app/storefront/src/plugin/headroom-js'

[public] Automated response: This issue is linked to the internal issue https://shopware.atlassian.net/browse/NEXT-29901.
[created from NEXT-29901, comment 485582]

[public]

Status Change: Resolved

The ticket has been successfully completed; the solution is implemented and verified.
[created from NEXT-29901, comment 509945]

[public]

FixVersion Change: <IP_ADDRESS>

This issue will be / was solved in Shopware version <IP_ADDRESS>.
[created from NEXT-29901, comment 509946]


update new tetu boosted MATIC pool to allow list after redeployment.

Description
Update pool metadata after the redeployment
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Dependency changes
[ ] Code refactor / cleanup
[ ] Documentation or wording changes
[x] Other

How should this be tested?
The pool should be available at FE https://app.balancer.fi/#/polygon/pool/0xf22a66046b5307842f21b311ecb4c462c24c0635000000000000000000000b15
Visual context
Please provide any relevant visual context for UI changes or additions. This could be static screenshots or a loom screencast.
Checklist:

[x] I have performed a self-review of my own code
[ ] I have requested at least 1 review (If the PR is significant enough, use best judgement here)
[ ] I have commented my code where relevant, particularly in hard-to-understand areas
[x] If package-lock.json has changes, it was intentional.
[x] The base of this PR is master if hotfix, develop if not

Replaced by #3089


Cannot find module when using electron.

Hello, I am having an issue with the module, specifically trying to require it.
The following error is produced when running the line of code const lzma = require('lzma-native')

Error: Cannot find module 'C:\Users\Asus\Desktop\LauncherElectron\node_modules\lzma-native\binding-v2.0.1-electron-v1.6-win32-x64\lzma_native.node'
at Module._resolveFilename (module.js:470:15)
at Function.Module._resolveFilename (c:\Users\Asus\Desktop\LauncherElectron\node_modules\electron\dist\resources\electron.asar\common\reset-search-paths.js:35:12)
at Function.Module._load (module.js:418:25)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at C:\Users\Asus\Desktop\LauncherElectron\node_modules\lzma-native\index.js:12:14
at Object. (C:\Users\Asus\Desktop\LauncherElectron\node_modules\lzma-native\index.js:588:3)
at Object. (C:\Users\Asus\Desktop\LauncherElectron\node_modules\lzma-native\index.js:590:3)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)

Contents of the lzma-native folder below:
https://i.gyazo.com/5f99254fc0bf05f2c13764fedf01709a.png
No clue why this is happening.

Can you re-run npm install with --runtime=electron --target=1.6?

I’m closing this due to lack of follow-up but please ping me if you’re still having trouble.

I did npm install lzma-native --save
const lzma = require("lzma-native");

App threw an error during load
Error: Cannot find module 'C:\ExportVHosts\DevApp\node_modules\lzma-native\binding-v3.0.1-electron-v1.7-win32-x64\lzma_native.node'
    at Module._resolveFilename (module.js:470:15)
    at Function.Module._resolveFilename (C:\ExportVHosts\DevApp\node_modules\electron\dist\resources\electron.asar\common\reset-search-paths.js:35:12)
    at Function.Module._load (module.js:418:25)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)
    at C:\ExportVHosts\DevApp\node_modules\lzma-native\index.js:13:14
    at Object.<anonymous> (C:\ExportVHosts\DevApp\node_modules\lzma-native\index.js:595:3)
    at Object.<anonymous> (C:\ExportVHosts\DevApp\node_modules\lzma-native\index.js:597:3)
    at Module._compile (module.js:571:32)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (C:\ExportVHosts\DevApp\src\node\classes\VMServer.js:17:14)
    at Object.<anonymous> (C:\ExportVHosts\DevApp\src\node\classes\VMServer.js:789:3)
    at Module._compile (module.js:571:32)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)

@oxygen Yeah, the second command seems about right. Does it work if you use the full version (including patch version) for --target? If the problem persists, can you open a separate issue?


[Nuxt 3.10.2] .css file imported by .css is not loaded in the first rendering

Environment

Operating System: Windows_NT
Node Version:     v20.11.1
Nuxt Version:     3.10.2
CLI Version:      3.10.1
Nitro Version:    2.8.1
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      devtools, css
Runtime Modules:  -
Build Modules:    -

Reproduction
https://stackblitz.com/edit/github-mz42kv-xsjtzy
Describe the bug
Run dev server on Windows and refresh the page. The title on the page should always be red but it was actually originally blue:

It seems that style in ~/assets/style.css, which is imported by ~/assets/index.css, is loaded after the initial rendering.
This bug totally messed up the layout when my project use a UI library like Vuetify.
Very similar to #25240
Additional context
Can only be reproduced on Windows + Nuxt 3.10.2
No such issue on Linux
No such issue on Windows + 3.10.1
Logs
No response

This is a Vite upstream bug that was fixed in v5.1.3. For now, you can add a resolution/override, or it will be fixed in the next Nuxt patch release.


Add support to remove a PlaylistItem by index

This allows the user to programatically remove an item by index from the PlayListItems array.
Use case:
I'm generating a live m3u8 playlist and need to only have 100 items - by adding this method we can remove the first item (or any one that takes your desire) by passing the index to removePlaylistItem()

@bog Finally came back to this, are you happy with that?


Adding a technology

Would it be possible to add support for bash scripting?

Yes I can, I think I add this feature on the next release ! 🚀


Update OpenStreetMap Niger Facebook link

Community Resource Name

What is it?

URL link to the resource

Location

Languages spoken

Points of contact

What's the link to it?

Sorry for late, the new facebook account link is https://www.facebook.com/osmniger


Updating comments per the C++ core guidelines

Fixes #.
Fixed a comment that was inconsistent with the style guidelines described in C++ core guidelines and the modern C++/WinRT language projections.
Description of the changes:

Inserted a space after the beginning of the comment so the text wasn't touching the //

How changes were validated:

Manual

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: WilliamWelsh sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

@janisozaur Sure. I've removed the trailing whitespace.
@HowardWolosky Sure. I've now fixed all occurrences of the issue. You are absolutely right, I should have done that in the first place. Also, I am unable to find a specific part in the guidelines that say a comment should be // Example instead of //Example explicitly, but throughout the guidelines there are no examples where comments are without a space. Although, the documents also preach about consistency, so I believe the style of the comment should stay consistent.

@WilliamWelsh -- Can you update this change with the latest from master?  There are some conflicts right now, and it looks like some odd stuff added (like in KeyboardShortcutManager.cpp).  Will complete my review once that's been updated.  Thanks!

@HowardWolosky Sure. I've updated it and fixed the conflicts.


Any recommendations for mobile ?

Any recommendations for mobile browsers that work with this ?
Used Kiwi on the past but it doesn't seems to work anymore.

Hi, can you try version 0.6 please? It could work on mobile

Hi, can you try version 0.6 please? It could work on mobile

Doesn't work on Kiwi