Cash Account Integration

I am currently working on a specification for on-chain aliases that look like this: James#577821; to help convey payment information in a more convenient manner, particulary in verbal contexts.
The specification has undergone reasonable peer-review so far (by wallet developers, token developers, coinbase engineeers) but more feedback is always welcome.
Here's a link to the draft spec: https://gitlab.com/cash-accounts/specification/blob/master/SPECIFICATION.md

Looks very interesting! We'll definitely look into it. Thanks, great initiative.

It would be great to be able to "tag" the address used for your Cash Account
I got mine :)

我的货币和现金在哪裡？

kindly Deposite on btcash wallet address  bitcoincash:qprtuvakg7na6qdjf5alypgjrvcm6qj6nv0dwnpvsx

We are now several months into this project, there exist multiple lookup servers (written in javascript, go and c#), there exist a handful of websites around it and a small number of wallets have implemented send-support.
The main issue that is still left to be resolved is creating and agreeing on a resuable address format so that we can retain privacy while still having userfriendly names, but I still feel that implementing sending support is something that should be a higher priority.
I understand if you'd be hestitant to implementing registration support at the time being, given that address reuse is a bad practice - but ematiu from copay is working together with others to create a standardized implementation of peter todds stealth addresses that would allow us to keep the privacy.
Please do not pass up this opportunity to build the user interfaces and send-support so that bitcoin.coms wallet can be ready when the registration support gets implemented elsewhere.

courtesy of @emergent-reasons there is tests available (https://gitlab.com/cash-accounts/specification/blob/master/TEST.md) to help ensure a good integrity when implementing cashaccount support.
If there is still anything that is missing or needing, please let us know.

The public lookup servers are now fully feature-complete: you can register accounts with a simple POST request, lookup with a GET and the specification has been stable and peer-reviewed.
IFwallet and Badger supports sending to cashaccounts, BCHgallery and CrescentCash will be released today with both registration and sending support.
Roughly 1500 unique payment addresses have cashaccounts today, and with increased wallet support more is expected to come.
I suggest you consider building the send-support at minimum (it is a simple lookup + parse of the data, to translate from name to address).

Since Apr 2, Electron Cash and Cashual support CashAccounts, Bitcoin Unlimited voted to build native support for CashAccounts into their full node software and work on reusable addresses (type 4 accounts) has a specification that is getting close to release which would retain privacy.
What's missing now seems to be the bitcore related wallets (bitpay, copay, bitcoincom).
Could you help provide some clarity here about your intents? Will you support cash accounts? If not, what is holding you back and what needs to be fixed for it to work for you?

This is especially relevant considering rest.bitcoin.com is now supporting it - any centralized or semi-centralized wallets should have little trouble just calling that.

Yep. Bitcoin.com explorer lists any Cash Accounts associated with an address, IFwallet has supported sending-to for a while, BCHgallery and Crescent Cash are the first to have full support, Electron Cash is now fully supported. Tons of people use it daily, have it in their profiles/display names, etc.
Support in the Bitcoin.com wallet is needed at this point.

Do we have updates on bitcoin.com wallet?

We are busy working on releasing an all new fully native version of the Bitcoin.com wallet.  We can work on Cash Accounts after that.

We definitely have plans to support CashAccounts at some point. Like @bitcoinstore  said, the bitcoin.com wallet team is currently focusing on getting our new native mobile wallets for iOS and Android.
The goal is to create the fastest, most user friendly wallet that will help us scale to 50M wallet users, and more importantly support innovative products, services, and community development.
Providing support for one or many alias formats is something our engineering team regularly discusses. We're exploring all options but will prioritize after launch. Stay tuned! 🏆

Soon to be 2 years later, you've launched the native wallet, and now you've added ethereum and unstoppable domains support. Users can now pay $40 to get an alias that functions in your app.
You can close this issue if you have no intention of doing this.


Doc: Provide a more involved config file (example provided)

The provided sample config file is little to simple to be useful, especially for those not too familiar with YAML. Here is a more complex one that avoids duplication via YAML anchor+alias. It would be helpful to include some of this, I believe.
# Define defaults that can be referenced below
My_Defaults:
  - &ElbMetric
    Namespace: "AWS/ELB"
    Dimensions:
      # You can have multiple dimensions, but boto will only return the last one
      LoadBalancerName: "awseb-e-v-AWSEBLoa-ZELK76TU0GP"
Auth:
  region: "us-west-1"
Metrics:
- <<: *ElbMetric
  MetricName: "RequestCount"
  Statistics: "Sum"
  Unit: "Count"
# You can list additional metrics in one file. Just be careful about rate limits.
- <<: *ElbMetric
  MetricName: "UnHealthyHostCount"
  Statistics: "Maximum"
  Unit: "Count"
# You can list additional metrics in one file. Just be careful about rate limits.
- <<: *ElbMetric
  MetricName: "Latency"
  Statistics:
  - "Average"
  - "Maximum"
  Unit: "Seconds"
- <<: *ElbMetric
  MetricName: "HTTPCode_ELB_5XX"
  Statistics: "Sum"
  Unit: "Count"
# OPTIONAL: set defaults for all metrics in this file
Options:
  Count: 1 # How many Periods to return (note: there is a max num datapoints you can get at once)
  Period: 5 # [min], minimum 1

Thank you!

Oh neat. There's also a bunch of sample templates for plumbum (but not leadbutt) in ./sample_templates that are based off actual templates I've used.

Oh, I haven't noticed what plumbum if for until now.

I may just move all that to the github wiki


DLL not found issue in Mac build

Getting this error in MacOS mono build;
DllNotFoundException: StandaloneFileBrowser
SFB.StandaloneFileBrowserMac.OpenFilePanel (System.String title, System.String directory, SFB.ExtensionFilter[] extensions, System.Boolean multiselect) (at Assets/StandaloneFileBrowser/StandaloneFileBrowserMac.cs:44)
SFB.StandaloneFileBrowser.OpenFilePanel (System.String title, System.String directory, SFB.ExtensionFilter[] extensions, System.Boolean multiselect) (at Assets/StandaloneFileBrowser/StandaloneFileBrowser.cs:51)
SFB.StandaloneFileBrowser.OpenFilePanel (System.String title, System.String directory, System.String extension, System.Boolean multiselect) (at Assets/StandaloneFileBrowser/StandaloneFileBrowser.cs:39)
CanvasSampleOpenFileImage.OnClick () (at Assets/StandaloneFileBrowser/Sample/CanvasSampleOpenFileImage.cs:41)
UnityEngine.Events.InvokableCall.Invoke () (at /Users/bokken/buildslave/unity/build/Runtime/Export/UnityEvent/UnityEvent.cs:166)
UnityEngine.Events.UnityEvent.Invoke () (at /Users/bokken/buildslave/unity/build/Runtime/Export/UnityEvent/UnityEvent/UnityEvent_0.cs:58)
UnityEngine.UI.Button.Press () (at Library/PackageCache/com.unity.ugui@1.0.0/Runtime/UI/Core/Button.cs:68)
UnityEngine.UI.Button.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) (at Library/PackageCache/com.unity.ugui@1.0.0/Runtime/UI/Core/Button.cs:110)
UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) (at Library/PackageCache/com.unity.ugui@1.0.0/Runtime/EventSystem/ExecuteEvents.cs:50)
UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) (at Library/PackageCache/com.unity.ugui@1.0.0/Runtime/EventSystem/ExecuteEvents.cs:261)
UnityEngine.EventSystems.EventSystem:Update() (at Library/PackageCache/com.unity.ugui@1.0.0/Runtime/EventSystem/EventSystem.cs:377)

In my case, Build Settings>PC, Mac & Linux Standalone > Architecture > "Intel 64-bit" works fine in my M1 mac and my old i-mac using Unity 2020.3.9f1.
Unfortunately I get same error messages setting "Apple silicon" or "Intel 64-bit + Apple silicon".
Even though I rebuilt StandaloneFileBrowser.bundle on Xcode of M1 mac, I cannot fix this issue now.

This bug is caused by UnityStandaloneFileBrowser, and the corresponding Issue is this > https://github.com/gkngkc/UnityStandaloneFileBrowser/issues/109.
It is difficult to fix immediately.


Change the crc network bridge from <IP_ADDRESS> to <IP_ADDRESS>

As of now we are using the same network bridge as installer uses and it might be result into conflict if a user is run installer once and then try out the crc. It would be good for us to have that separation from beginning.

@praveenkumar This was handled in https://github.com/code-ready/crc/commit/1e19504bf29e3238e8d8ee2d5bf9614347d4653b right? Should be closed!


How to enable dates only after 14 days from current day and disable all dates until?

I am using
{
minDate:  new Date().setDate()+14,
enableTime: true
      };

Tried doing this but entire calendar is greyed out
{
minDate: "today",
maxDate: new Date().fp_incr(14)
}


Remove SDL dependency and use new wav loader routines in libretro-common

Thanks, it is now mostly working, but there is an issue to have two sounds at the same time. seems the new sample cancels the previous one. you can hear it at the end of a level when everything explodes...

@aliaspider has a diff patch for that.

here is the diff:
--- common.c
+++ common.c
@@ -213,6 +213,7 @@ void play_fx() {
     }
 }

+#define CLAMP_I16(x) (x > INT16_MAX ? INT16_MAX : x < INT16_MIN ?  So you'll have to do something about that.

it does load the sound samples correctly on the wiiu. maybe the problem wasn't endianess related. what cpu did you test this on ? the wiiu uses a 32bit big endian ppc.

Let me test if it compiles for MacOS X PowerPC, and most importantly, if it runs.

@bparker06 Is there a way to get the sound to be less loud ?

@frranck Sure. On these two lines:
https://github.com/libretro/mrboom-libretro/blob/master/common.c#L433 and 434
You would just multiply the CLAMP_I16 () value by any number between 0.0 and 1.0. So for example to make the volume 80% of what it is now, you multiply by 0.8.

@bparker06 thanks


Regression with '%' matching

The '%' key no longer jumps to matching braces, brackets, and parentheses that occur on different lines as of the a6ea0dd (Clean up search motions) commit from v0.27.0.

I can confirm this.
+1

Thanks guys. I didn't actually know that vim did this, and we were missing tests for this case.


Add config file support to the Functional Test Orchestrator script

💡 Summary
The current functional test orchestrator doesn't allow for config file support.
Since, the config file is now necessary for certain policy checks, especially in Defender & AAD, this is a must have add on.
Motivation and context
Functional test cases in AAD, Defender where config file use is necessary are not being checked due to the limitations of the current functional test orchestrator script.
Implementation notes
Modifications to Testing/Functional/Products/Products.Tests.ps1 to support config files.
Acceptance criteria
Testing/Functional/Products/Products.Tests.ps1 -ScubaConfig ""
is an option.

We have an initial config file capability that was added for Defender.  It was added under #583
It was implemented on a per test case basis so it is a property of a given test case.


Travis: cache stack builds

In https://github.com/Glavin001/atom-beautify/pull/629 I added a stack build to Travis. This PR will cache the ~/.stack dir and greatly speed up subsequent runs.

Thanks!

Published to v0.28.17

Ugh @Glavin001 I checked out why this change wasn't making much of a difference. Seems like Travis only support caching for private OSX builds (but public container based): http://docs.travis-ci.com/user/ci-environment/


[BUG] Initialization failure after Pi update

I recently let Raspbian install updates (believe this runs packagekit role='update-packages') and picamera2 now fails to initialize. Any help would be much appreciated!
Repro is quite simple, from IDLE:
Python 3.9.2 (default, Mar 12 2021, 04:06:34)
[GCC 10.2.1 20210110] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from picamera2 import Picamera2
>>> picam2 = Picamera2()
[0:17:47.160732228] [1643]  INFO Camera camera_manager.cpp:293 libcamera v0.0.0+3700-f30ad033
[0:17:47.235985561] [1644]  INFO RPI raspberrypi.cpp:1368 Registered camera /base/soc/i2c0mux/i2c@1/ov5647@36 to Unicam device /dev/media3 and ISP device /dev/media0
2022-07-10T02:03:31.595Z | ERROR    | Camera __init__ sequence did not complete.
Traceback (most recent call last):
  File "/home/pi/.local/lib/python3.9/site-packages/picamera2/picamera2.py", line 77, in __init__
    self.open_camera()
  File "/home/pi/.local/lib/python3.9/site-packages/picamera2/picamera2.py", line 178, in open_camera
    if self.initialize_camera():
  File "/home/pi/.local/lib/python3.9/site-packages/picamera2/picamera2.py", line 162, in initialize_camera
    self.sensor_resolution = self.camera.properties["PixelArraySize"]
KeyError: 'PixelArraySize'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/pi/.local/lib/python3.9/site-packages/picamera2/picamera2.py", line 81, in __init__
    raise RuntimeError("Camera __init__ sequence did not complete.")
RuntimeError: Camera __init__ sequence did not complete.

Added some debug logging to picamera2.py to print out self.camera.properties - it does appear to have a PixelArraySize field, but the keys are libcamera.ControlIds and not strings.
{
    libcamera.ControlId(3, Model, ControlType.String): 'ov5647',
    libcamera.ControlId(4, UnitCellSize, ControlType.Size): libcamera.Size(1400, 1400),
    libcamera.ControlId(1, Location, ControlType.Integer32): 2,
    libcamera.ControlId(2, Rotation, ControlType.Integer32): 0,
    libcamera.ControlId(7, PixelArrayActiveAreas, ControlType.Rectangle): libcamera.Rectangle(16, 6, 2592, 1944),
    libcamera.ControlId(5, PixelArraySize, ControlType.Size): libcamera.Size(2592, 1944),
    libcamera.ControlId(10, ColorFilterArrangement, ControlType.Integer32): 2,
    libcamera.ControlId(8, ScalerCropMaximum, ControlType.Rectangle): libcamera.Rectangle(0, 0, 0, 0)
}

Do you mind running:
pip3 show picamera2

The version should be 0.2.3
If it's not, could you do:
pip3 install picamera2 -U

Ah yep, I was still on 0.2.2 and the upgrade command fixed it. I had tried pip3 install picamera2 but I guess that doesn't check for updates.
Thanks!


Update to newer version of Handlebars?

This is a really great package. Are you considering upgrading it to the newer version of Handlebars?

Yes. Will do it once I get some time.


Error information mismatch when Omnisharp begins/completes analysis

Environment data
dotnet --info output:
.NET Command Line Tools (1.0.0-preview2-003131)

Product Information:
 Version:            1.0.0-preview2-003131
 Commit SHA-1 hash:  635cf40e58

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.14393
 OS Platform: Windows
 RID:         win10-x64

VS Code version: Version 1.6.1
C# Extension version: 1.5.0-beta4
I'm seeing strange behavior in a multi-target project.json-based project. When hovering over a type that is available in the full framework but not available in the netstandard target, the expected popups disappear as the project transitions between "building" and "ready" states.
Steps to reproduce
There are two scenarios where I'm seeing problems. Here is the setup for both:

Clone the repo: git clone git@github.com:masaeedu/language-ext.git
cd language-ext
Checkout demo branch: git checkout omnisharpmissingerrors
Restore packages:  dotnet restore

Scenario 1: Type lookup in open file as project analysis finishes

Perform setup
Open in VS Code: code .
Type lookup: Immediately after the editor opens:

Open LanguageExt.Tests/TaskTests.cs
Periodically hover over the WebClient parameter type on line 78 and observe the result

Scenario 2: Type lookup in open file as project analysis begins

Perform setup
Open in VS Code: code .
Type lookup: After the editor opens:

Use "Omnisharp: Select Project" from the command palette to initialize Omnisharp with the root folder (language-ext)
Wait for 1-2 minutes for everything to build successfully (this might take some trial and error)
Open LanguageExt.Tests/TaskTests.cs
Observe the bottom ribbon errors and the error information associated with the WebClient parameter type on line 78
Make a change in an upstream project (e.g. add whitespace in LanguageExt.Core/ActionObservable.cs)
Immediately afterwards, delete line 75-80 in LanguageExt.Tests/TaskTests.cs
Observe the bottom ribbon errors
Close and reopen LanguageExt.Tests/TaskTests.cs
Observe the location of squiggly underlines in the file

Actual and expected behavior
Scenario 1
Actual
You will see a "Loading..." popup appear for a while as the project is built. After a while, hovering over the WebClient symbol will no longer display any popup at all. In the verbose log I see that a type lookup is occurring and comes up with {"Type":null,"Documentation":null}, but no errors appear.
After the "Loading..." popup stops appearing, close and reopen the file. Now the appropriate squiggles and bottom ribbon error entries appear.
Expected
Once analysis has completed, the appropriate errors should appear in the editor and the bottom ribbon automatically. The user should not have to close and reopen the file.
Scenario 2
Actual
Once you open the file after waiting an appropriate amount of time, the appropriate squiggles and bottom ribbon errors will appear correctly. After making the described changes to LanguageExt.Core/ActionObservable.cs and LanguageExt.Tests/TaskTests.cs, errors continue to appear in the bottom ribbon even though the corresponding lines have been deleted.  After reopening the LanguageExt.Tests/TaskTests.cs file, error squiggles appear underneath the wrong code:

Expected
Errors should disappear once the code is modified, pending rebuild. At the very least, error underlining should not be applied to the wrong code.
Additional improvements
When user-requested information is blocked by pending analysis, it would be nice if you could display a specific indication of what Omnisharp is doing and (where possible) how long it will take, instead of just showing the user "Loading...".

@masaeedu: Could you try the latest v1.5-future-preview1 release? This should address a lot of the problems with blocking and waiting on the OmniSharp server.

For scenario #1: The "Loading..." should be gone with the latest release. As you deduced, there isn't a popup because 1) type lookup is failing for "WebClient", and 2) there aren't error squiggles in the file. So, technically, this scenario is working as expected. The problem is that the error squiggles aren't appearing, which is broken.

@DustinCampbell If you close and reopen the file, then hover the symbol, an error popup does appear. I am assuming this error popup should appear without having to close and reopen the file.

Oh, certainly. It's definitely a bug. :smile:

#945 should address scenario 1 above.

OK. I've prepared a new release that should at least fix scenario 1 and (hopefully) scenario 2. It'd be great if you could give it a spin before we release it to the public. Use the following steps to download and install it:

Download the VSIX from here
Open Visual Studio Code
Select View->Extensions to display the Extensions pane.
In the Extensions pane, click the little gear icon next to the C# extension and select Uninstall.
Confirm any prompts and allow Visual Studio Code to reload itself.
In the Extensions pane, click the [...] that appears in the top-right corner and select "Install from VSIX..."
Select the VSIX you downloaded.
Let Visual Studio Code reload itself.

@DustinCampbell Just went through the steps and scenario 1 looks to be working.

That's great to hear! Progress. :smile:

I don't know if this new machine is too fast to be able to properly repro scenario 2 or if its fixed. Not seeing the incorrect squiggles either way.

This release greatly improves communication with the OmniSharp server. In the past, it was blocking on requests, would would delay the diagnostics.

Alright, well, that solves my problem. Maybe this release will also fix the disappearing dialogs problem mentioned in the other issues.

Fantastic. I hope so too.


fix(layout): 修复 Firefox 浏览器部分 icon 渲染失败 close #1571

👀 PR includes

🐛 Bugfix

[x] Solve the issue and close #1571

📝 Description

之前只对 SVG 中的 # 转义, 之前有 .replace(/#/g, '%23'); 的处理, 未转义完整, 改为 encodeURIComponent
为什么只有 Plus 和 Minus 这两个 icon 加载失败? 原因是有 \t (感谢 VSCode)

🖼 Screenshot

Before
After

🔗 Related issue link

🔍 Self-Check before the merge

[ ] Add or update relevant docs.
[ ] Add or update relevant demos.
[ ] Add or update test case.
[ ] Add or update relevant TypeScript definitions.

:tada: This PR is included in version @antv/s2-v1.24.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version @antv/s2-react-v1.22.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


ApplyComponents do not support DependsOn

Describe the bug

DependsOn is not working in ApplyComponents which let deploy unable to handle dependencies.
To Reproduce

Expected behavior

Screenshots

KubeVela Version

Cluster information

Additional context

supported in https://github.com/kubevela/kubevela/pull/3750


Add integration tests

⚠ This issue has been locked due to age. If you have encountered a recent
problem that seems to be covered by this issue, please open a new issue.
Please include a minimal reproducible example
when opening a new issue.


Optimize computation of mixed states

Computing a density matrix from the full superposition basically amounts to a matrix adjoint-squaring. The matrix has a column for each kept-value configuration and a row for each not-kept-value configuration, so it usually ends up highly rectangular (many more rows than columns).
Currently the code computes the density matrix by doing the full matrix multiplication in a single shader by nesting as many loops as necessary. This is probably the wrong approach. It's unclear if using a fold-based approach would be better, or if computationsof the mixed state of each wire can be overlayed in a useful way. Investigate.

This is done, for single-qubit density matrices and it's fast-enough up to 16 qubits on my machine.  The rest is deferred for when multi-qubit density displays are added.


Create dataset loader for Indonesia-Chinese-MTRobustEval

Dataloader name: indonesia_chinese_mtrobusteval/indonesia_chinese_mtrobusteval.py
DataCatalogue: http://seacrowd.github.io/seacrowd-catalogue/card.html?indonesia_chinese_mtrobusteval

Dataset
indonesia_chinese_mtrobusteval

Description
The dataset is curated for the purpose of evaluating the robustness of Neural Machine Translation (NMT) towards natural occuring noise (typo, slang, code switching, etc.). The dataset is crawled from Twitter, then pre-processed to obtain sentences with noise. The dataset consists of a thousand noisy sentences. The dataset is translated into Chinese manually as the benchmark for evaluating the robustness of NMT.

Subsets
-

Languages
ind, cmn

Tasks
Machine Translation

License
MIT (mit)

Homepage
https://github.com/supryzhu/Indonesia-Chinese-MTRobustEval

HF URL
-

Paper URL
-

#self-assign

#self-assign

Hi @supryzhu, I am unassigning your account from the issue as is already assigned to @TysonYu.
If you want to see the unassigned dataloader issues, you can check them on the Github project.


Apparent bad reference for registry value in document

https://docs.microsoft.com/en-us/windows/privacy/configure-windows-diagnostic-data-in-your-organization refers to configuring the registry value:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\DataCollection:AllowTelemetry
I tested this with a newly deployed Azure VM. From the Group Policy Management Console, I went to Computer Configuration > Administrative Templates > Windows Components > Data Collection and Preview Builds, changed the value, and found no change in above-mentioned registry setting. Instead, this setting changed:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DataCollection:AllowTelemetry
This is the setting CIS specifies, and it works. Is the Microsoft document incorrect?

@Justinha and @DaniHalfin, can either one of you take a look at this one?

@bdonms - Thank you for submitting this feedback.
From our understanding the issue has been resolved. If you feel it hasn't been resolved please re-open this issue.

@AndreaBarr - This issue can be closed. Thank you.


Stack function not available

When trying to call the following piece of code:
import mlx.core as mx

arrays = [mx.zeros(shape=(16,)), mx.zeros(shape=(16,))]
array = mx.stack(arrays)

I get the following error: AttributeError: module 'mlx.core' has no attribute 'stack'
My mlx is version is 0.0.5

mlx.stack will be in v0.0.6. You could also use the pre-release distribution (I think stack is in there):
pip install mlx==0.0.5.dev20231217


suggest open new branch: 2.3 to support laravel 5.3

upgrade laravel 5.3 in branch 2.2 is not a best option

"pingpong/themes": "dev-master#9db61b9242207ac7eb199e276b51afa6f675dab8",


Add Xcode 11 support

MockNRoll should be able to run in Xcode 11.

This can be tested in the "xcode11" branch.

This is now available in the 0.1.0 beta.


Working implementation of sas builder

Hello,  I just wanted to propose this as an incomplete implementation of the Azure shared authorization signature protocol.  This code only supports the latest version of the protocol, and only generates signed urls for blobs.  I use this code currently in a work project, and suppose that it should be relatively easy to expand to support files and tables if the idea is acceptable to you.
An example usage is included in the PR.

That's fantastic!
I am working on the same topic but your implementation is much, much more elegant so I'll merge it immediately!
I will probably merge my implementation too even though is uglier since it takes a slightly different approach.
Thank you.

This fixes https://github.com/MindFlavor/AzureSDKForRust/issues/147.

:+1: thanks

Well thank you! You did the work after all, I've just pushed a button! ;)


Add optional support to log path params

hapi-pino binds the request only once during the onRequest hook:
https://github.com/pinojs/hapi-pino/blob/27806507920fda5db27c2daca0a99259423ba647/index.js#L111-L118
However, hapi only makes request.params available later in the request lifecycle, and it is accessible only after onPreAuth at the earliest. This pull request adds optional support to log pathParams when logPathParams is true, in pretty much the same way that logQueryParams works

Coverage decreased (-99.07%) to 0.0% when pulling 27b275144b3698168f20023eb3f51b505b60c1bd on jonathansamines:feature/optional-path-params-log into<PHONE_NUMBER>0fda5db27c2daca0a99259423ba647 on pinojs:master.


Include small amount for gas in min. balance

@vgrichina I added 2N as reserved for gas to the Minimum Balance, and subtracted 2N from Available Balance for non-lockup account. Can you please help me do the same for lockup account or let me know how to do it?


When using $fetch.raw, clone() cannot be used.

Environment
node: v22.0.0
ofetch: 1.3.4
Reproduction
This can be reproduced by adding the following test to test/index.test.ts.
it("raw available clone", async () => {
    const response = await $fetch.raw(getURL("ok"));
    const clone = response.clone();
    expect(clone.clone()).to.be.instanceOf(Response);
    expect(await response.text()).to.equal(await clone.text());
  })

error message
TypeError: Response.clone: Body has already been consumed.

Describe the bug
The Response type returned by the browser's fetch function becomes unable to use clone() once the body or text methods have been called.
Consequently, if you want to use $fetch.raw('xxx').clone(), ofetch needs to internally call the body or text functions on a cloned instance.
Reference: https://developer.mozilla.org/en/docs/Web/API/Response/clone
Additional context
I have a fix in mind, and I would like to submit a pull request if it is acceptable.
Also, I apologize if there were any inappropriate expressions in the English translation facilitated through ChatGPT.
Logs
No response

This is by design.

It's the same as with https://github.com/unjs/ofetch/issues/405#issuecomment-2173568687, .raw() is reading the body for you. If you want to access the response object without reading the body, you must use ofetch.native or you can try with setting responseType to stream to avoid reading the body (see source).

Thank you.
I understand that it is by design.
I didn't realize that there was a workaround using responseType.
This workaround worked well in my project.
Sorry for taking up your time.
Thank you very much.


Unable to build

I am trying to build on Debian - here is a log of the errors generated:
$ uname -a
Linux computer 4.12.0-2-amd64 #1 SMP Debian 4.12.13-1 (2017-09-19) x86_64 GNU/Linux
$ g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 7.2.0-7' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 7.2.0 (Debian 7.2.0-7)

$ cd /tmp/sqlines-master/sqlparser/
$ ./build_all64.sh
datatypes.cpp: In member function ‘bool SqlParser::ParseTypedVariable(Token*, Token*)’:
datatypes.cpp:408:9: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
         else
         ^~~~
datatypes.cpp:426:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’
             return true;
             ^~~~~~
datatypes.cpp: In member function ‘bool SqlParser::ParseDatetimeType(Token*)’:
datatypes.cpp:1646:12: warning: variable ‘first_month’ set but not used [-Wunused-but-set-variable]
     Token *first_month = NULL;
            ^~~~~~~~~~~
datatypes.cpp:1647:12: warning: variable ‘first_day’ set but not used [-Wunused-but-set-variable]
     Token *first_day = NULL;
            ^~~~~~~~~
datatypes.cpp:1648:12: warning: variable ‘first_hour’ set but not used [-Wunused-but-set-variable]
     Token *first_hour = NULL;
            ^~~~~~~~~~
datatypes.cpp:1649:12: warning: variable ‘first_minute’ set but not used [-Wunused-but-set-variable]
     Token *first_minute = NULL;
            ^~~~~~~~~~~~
datatypes.cpp:1650:12: warning: variable ‘first_second’ set but not used [-Wunused-but-set-variable]
     Token *first_second = NULL;
            ^~~~~~~~~~~~
datatypes.cpp:1651:12: warning: variable ‘first_fraction’ set but not used [-Wunused-but-set-variable]
     Token *first_fraction = NULL;
            ^~~~~~~~~~~~~~
datatypes.cpp:1656:12: warning: variable ‘second_year’ set but not used [-Wunused-but-set-variable]
     Token *second_year = NULL;
            ^~~~~~~~~~~
datatypes.cpp:1657:12: warning: variable ‘second_month’ set but not used [-Wunused-but-set-variable]
     Token *second_month = NULL;
            ^~~~~~~~~~~~
datatypes.cpp: In member function ‘bool SqlParser::ParseDecfloatType(Token*)’:
datatypes.cpp:2091:12: warning: variable ‘precision’ set but not used [-Wunused-but-set-variable]
     Token *precision = NULL;
            ^~~~~~~~~
datatypes.cpp: In member function ‘bool SqlParser::ParseIntervalType(Token*)’:
datatypes.cpp:2666:12: warning: variable ‘first_month’ set but not used [-Wunused-but-set-variable]
     Token *first_month = NULL;
            ^~~~~~~~~~~
datatypes.cpp:2667:12: warning: variable ‘first_day’ set but not used [-Wunused-but-set-variable]
     Token *first_day = NULL;
            ^~~~~~~~~
datatypes.cpp:2668:12: warning: variable ‘first_hour’ set but not used [-Wunused-but-set-variable]
     Token *first_hour = NULL;
            ^~~~~~~~~~
datatypes.cpp:2669:12: warning: variable ‘first_minute’ set but not used [-Wunused-but-set-variable]
     Token *first_minute = NULL;
            ^~~~~~~~~~~~
datatypes.cpp:2670:12: warning: variable ‘first_second’ set but not used [-Wunused-but-set-variable]
     Token *first_second = NULL;
            ^~~~~~~~~~~~
datatypes.cpp:2671:12: warning: variable ‘first_fraction’ set but not used [-Wunused-but-set-variable]
     Token *first_fraction = NULL;
            ^~~~~~~~~~~~~~
datatypes.cpp: In member function ‘bool SqlParser::ParseNtextType(Token*)’:
datatypes.cpp:4081:5: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
     else
     ^~~~
datatypes.cpp:4089:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’
         if(Target(SQL_MARIADB, SQL_MYSQL))
         ^~
datatypes.cpp: In member function ‘bool SqlParser::ParseUnicodeType(Token*)’:
datatypes.cpp:5585:12: warning: variable ‘size’ set but not used [-Wunused-but-set-variable]
     Token *size = NULL;
            ^~~~
datatypes.cpp:5586:12: warning: variable ‘close’ set but not used [-Wunused-but-set-variable]
     Token *close = NULL;
            ^~~~~
datatypes.cpp: In member function ‘bool SqlParser::ParseVarchar2Type(Token*, int)’:
datatypes.cpp:6353:12: warning: variable ‘close’ set but not used [-Wunused-but-set-variable]
     Token *close = NULL;
            ^~~~~
db2.cpp: In member function ‘bool SqlParser::ParseDb2GeneratedClause(Token*, Token*, Token*, Token*, Token**, Token**, Token**, bool*)’:
db2.cpp:60:8: warning: variable ‘exists’ set but not used [-Wunused-but-set-variable]
   bool exists = false;
        ^~~~~~
functions.cpp: In member function ‘bool SqlParser::ParseFunction(Token*)’:
functions.cpp:664:5: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
     else
     ^~~~
functions.cpp:674:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’
  if(exists)
  ^~
functions.cpp: In member function ‘bool SqlParser::ParseFunctionChr(Token*, Token*)’:
functions.cpp:2424:9: warning: variable ‘nchar’ set but not used [-Wunused-but-set-variable]
  Token *nchar = NULL;
         ^~~~~
functions.cpp: In member function ‘bool SqlParser::ParseFunctionConvert(Token*, Token*)’:
functions.cpp:2772:10: warning: variable ‘source_charset’ set but not used [-Wunused-but-set-variable]
   Token *source_charset = NULL;
          ^~~~~~~~~~~~~~
functions.cpp: In member function ‘bool SqlParser::ParseFunctionConvertVarchar(Token*, Token*, Token*)’:
functions.cpp:2974:9: warning: variable ‘close_bracket’ set but not used [-Wunused-but-set-variable]
  Token *close_bracket = NULL;
         ^~~~~~~~~~~~~
functions.cpp: In member function ‘bool SqlParser::ParseFunctionCsconvert(Token*, Token*)’:
functions.cpp:3194:9: warning: variable ‘source_charset’ set but not used [-Wunused-but-set-variable]
  Token *source_charset = NULL;
         ^~~~~~~~~~~~~~
functions.cpp: In member function ‘bool SqlParser::ParseFunctionLocate(Token*, Token*)’:
functions.cpp:7579:9: warning: variable ‘unit’ set but not used [-Wunused-but-set-variable]
  Token *unit = NULL;
         ^~~~
functions.cpp: In member function ‘bool SqlParser::ParseFunctionPatindex(Token*, Token*)’:
functions.cpp:9210:9: warning: variable ‘usng’ set but not used [-Wunused-but-set-variable]
  Token *usng = NULL;
         ^~~~
functions.cpp: In member function ‘bool SqlParser::ParseFunctionSubstring(Token*, Token*)’:
functions.cpp:10954:9: warning: variable ‘comma’ set but not used [-Wunused-but-set-variable]
  Token *comma = NULL;
         ^~~~~
functions.cpp: In member function ‘bool SqlParser::ParseFunctionVarcharFormatBit(Token*, Token*)’:
functions.cpp:13148:2: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  if(_target == SQL_ORACLE)
  ^~
functions.cpp:13152:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
   Token::Remove(comma);
   ^~~~~
functions.cpp: In member function ‘bool SqlParser::ParseFunctionXmlforest(Token*, Token*)’:
functions.cpp:13578:9: warning: variable ‘alias’ set but not used [-Wunused-but-set-variable]
  Token *alias = NULL;
         ^~~~~
informix.cpp: In member function ‘void SqlParser::InformixConvertReturning(Token*, Token*)’:
informix.cpp:279:11: warning: variable ‘start’ set but not used [-Wunused-but-set-variable]
    Token *start = NULL;
           ^~~~~
informix.cpp: In member function ‘bool SqlParser::ParseInformixUpdateStatistics(Token*)’:
informix.cpp:554:9: warning: variable ‘high’ set but not used [-Wunused-but-set-variable]
  Token *high = NULL;
         ^~~~
language.cpp: In member function ‘bool SqlParser::ParseDefaultExpression(Token*, Token*, Token*, int)’:
language.cpp:1422:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
     if(_target == SQL_HIVE)
     ^~
language.cpp:1425:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  return true;
  ^~~~~~
language.cpp: In member function ‘bool SqlParser::ParseKeyConstraint(Token*, Token*, Token*, ListW&, bool, ListWM*)’:
language.cpp:1607:7: warning: variable ‘unique_index’ set but not used [-Wunused-but-set-variable]
  bool unique_index = false;
       ^~~~~~~~~~~~
language.cpp: In member function ‘bool SqlParser::ParsePercentOperator(Token*)’:
language.cpp:3164:5: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
     else
     ^~~~
language.cpp:3176:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’
  return true;
  ^~~~~~
mysql.cpp: In member function ‘bool SqlParser::ParseMySQLDelimiter(Token*)’:
mysql.cpp:51:5: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
     else
     ^~~~
mysql.cpp:61:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’
         return true;
         ^~~~~~
mysql.cpp: In member function ‘bool SqlParser::ParseMyqlDefinerClause(Token*)’:
mysql.cpp:237:13: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
             else
             ^~~~
mysql.cpp:266:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’
                 next = GetNextToken();
                 ^~~~
oracle.cpp: In member function ‘bool SqlParser::ParseOraclePartitions(Token*)’:
oracle.cpp:373:11: warning: variable ‘template_’ set but not used [-Wunused-but-set-variable]
    Token *template_ = NULL;
           ^~~~~~~~~
oracle.cpp: In member function ‘bool SqlParser::ParseOraclePartitionsBy(Token*)’:
oracle.cpp:426:9: warning: variable ‘list’ set but not used [-Wunused-but-set-variable]
  Token *list = NULL;
         ^~~~
oracle.cpp: In member function ‘bool SqlParser::ParseFunctionDbmsOutput(Token*, Token*)’:
oracle.cpp:618:5: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
     else
     ^~~~
oracle.cpp:633:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’
  return true;
  ^~~~~~
oracle.cpp: In member function ‘bool SqlParser::ParseOracleCursorDeclaration(Token*, ListWM*)’:
oracle.cpp:941:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
     if(cursors != NULL)
     ^~
oracle.cpp:945:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  if(_target == SQL_NETEZZA)
  ^~
oracle.cpp: In member function ‘bool SqlParser::ParseOracleRownumCondition(Token*, Token*, Token*, int*)’:
oracle.cpp:1024:27: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
  bool rownum2 = (first == false) ? second->Compare("rownum", L"rownum", 6) : false;
                           ^~~~~
postgresql.cpp: In member function ‘bool SqlParser::ParsePostgresBodyEnd()’:
postgresql.cpp:121:9: warning: variable ‘exists’ set but not used [-Wunused-but-set-variable]
    bool exists = false;
         ^~~~~~
select.cpp: In member function ‘bool SqlParser::ParseSelectFromClause(Token*, bool, Token**, Token**, int*, bool, ListW*)’:
select.cpp:886:37: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   if(GetNextCharToken(',', L',') == false)
                                     ^~~~~
select.cpp: In member function ‘bool SqlParser::ParseValuesStatement(Token*, int*)’:
select.cpp:1481:17: warning: operation on ‘* result_sets’ may be undefined [-Wsequence-point]
    *result_sets = (*result_sets)++;
    ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
procedures.cpp: In member function ‘bool SqlParser::ParseSystemProcedure(Token*, Token*)’:
procedures.cpp:43:5: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
     else
     ^~~~
procedures.cpp:53:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’
  return exists;
  ^~~~~~
storage.cpp: In member function ‘bool SqlParser::ParseTempTableOptions(Token*, Token**, Token**, bool*)’:
storage.cpp:53:11: warning: variable ‘preserve’ set but not used [-Wunused-but-set-variable]
    Token *preserve = NULL;
           ^~~~~~~~
sqlparser.cpp: In member function ‘void SqlParser::SetLang(const char*, bool)’:
sqlparser.cpp:68:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
     if(value == NULL)
     ^~
sqlparser.cpp:71:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  short app = 0;
  ^~~~~
sqlparser.cpp:76:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
     if(_stricmp(value, "cobol") == 0)
     ^~
sqlparser.cpp:79:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  if(source)
  ^~
statements.cpp: In member function ‘bool SqlParser::ParseStatement(Token*, int, int*)’:
statements.cpp:58:5: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
     else
     ^~~~
statements.cpp:311:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’
  if(exists == false)
  ^~
statements.cpp: In member function ‘bool SqlParser::ParseCreateStatement(Token*, int*, bool*)’:
statements.cpp:341:9: warning: variable ‘external’ set but not used [-Wunused-but-set-variable]
  Token *external = NULL;
         ^~~~~~~~
statements.cpp: In member function ‘bool SqlParser::ParseCaseStatement(Token*, bool)’:
statements.cpp:1047:9: warning: variable ‘end_case’ set but not used [-Wunused-but-set-variable]
  Token *end_case = NULL;
         ^~~~~~~~
statements.cpp: In member function ‘bool SqlParser::ParseCreateTable(Token*, Token*)’:
statements.cpp:1445:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
     if(semi == NULL && Target(SQL_ESGYNDB))
     ^~
statements.cpp:1449:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  Bookmark(BOOK_CT_END, table, last);
  ^~~~~~~~
statements.cpp: In member function ‘bool SqlParser::ParseCreateAuxiliary(Token*, Token*)’:
statements.cpp:1690:9: warning: variable ‘tablespace’ set but not used [-Wunused-but-set-variable]
  Token *tablespace = NULL;
         ^~~~~~~~~~
statements.cpp:1697:9: warning: variable ‘stores_table’ set but not used [-Wunused-but-set-variable]
  Token *stores_table = NULL;
         ^~~~~~~~~~~~
statements.cpp:1704:9: warning: variable ‘col’ set but not used [-Wunused-but-set-variable]
  Token *col = NULL;
         ^~~
statements.cpp: In member function ‘bool SqlParser::ParseCreateFunction(Token*, Token*, Token*, Token*)’:
statements.cpp:1847:10: warning: variable ‘name’ set but not used [-Wunused-but-set-variable]
   Token *name = NULL;
          ^~~~
statements.cpp: In member function ‘bool SqlParser::ParseCreateTrigger(Token*, Token*, Token*)’:
statements.cpp:2570:9: warning: variable ‘statement’ set but not used [-Wunused-but-set-variable]
  Token *statement = NULL;
         ^~~~~~~~~
statements.cpp: In member function ‘bool SqlParser::ParseExecuteStatement(Token*)’:
statements.cpp:3393:10: warning: variable ‘stmt_id’ set but not used [-Wunused-but-set-variable]
   Token *stmt_id = NULL;
          ^~~~~~~
statements.cpp: In member function ‘bool SqlParser::ParseCreateSequence(Token*, Token*)’:
statements.cpp:3897:8: warning: variable ‘exists’ set but not used [-Wunused-but-set-variable]
   bool exists = false;
        ^~~~~~
statements.cpp: In member function ‘bool SqlParser::ParseCreateStogroup(Token*, Token*)’:
statements.cpp:4050:7: warning: variable ‘exists’ set but not used [-Wunused-but-set-variable]
  bool exists = false;
       ^~~~~~
statements.cpp: In member function ‘bool SqlParser::ParseDeclareCursor(Token*, Token*, Token*)’:
statements.cpp:4348:12: warning: variable ‘cut_start’ set but not used [-Wunused-but-set-variable]
     Token *cut_start = for_;
            ^~~~~~~~~
statements.cpp: In member function ‘bool SqlParser::ParseForStatement(Token*, int)’:
statements.cpp:5263:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
     if(open != NULL)
     ^~
statements.cpp:5267:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  Token *loop = GetNextWordToken("LOOP", L"LOOP", 4);
  ^~~~~
statements.cpp:5158:7: warning: variable ‘select_loop’ set but not used [-Wunused-but-set-variable]
  bool select_loop = false;
       ^~~~~~~~~~~
statements.cpp: In member function ‘bool SqlParser::ParseIfStatement(Token*, int)’:
statements.cpp:5849:22: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
     if(next_begin == false)
                      ^~~~~
statements.cpp: In member function ‘bool SqlParser::ParseUpdateStatement(Token*)’:
statements.cpp:8153:5: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
     else
     ^~~~
statements.cpp:8166:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’
  while(true)
  ^~~~~
teradata.cpp: In member function ‘bool SqlParser::ParseTeradataPrimaryIndex(Token*, Token*, Token*, Token*)’:
teradata.cpp:201:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
     if(_target == SQL_HIVE)
     ^~
teradata.cpp:204:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  return true;
  ^~~~~~
ar: oracle.o: No such file or directory

$ cd /tmp/sqlines-master/sqlines
$ ./build_all64.sh
g++: error: ../sqlparser/sqlparser.a: No such file or directory

$ cd /tmp/sqlines-master/sqldata
$ ./build_all64.sh
g++: error: ../sqlparser/sqlparser.a: No such file or directory

Am I doing something wrong?

hey jonny have u got any solution on this i am also facing same issue..

No, sorry, I gave up, this project seems dead.


Integrate Exchange retention reset in CI

Adds retention to current CI action
Does this PR need a docs update or release note?

[ ] :white_check_mark: Yes, it's included
[ ] :clock1: Yes, but in a later PR
[x] :no_entry: No

Type of change

[ ] :sunflower: Feature
[ ] :bug: Bugfix
[ ] :world_map: Documentation
[ ] :robot: Test
[x] :computer: CI/Deployment
[ ] :broom: Tech Debt/Cleanup

Issue(s)
Test Plan

[x] :muscle: Manual
[ ] :zap: Unit test
[ ] :green_heart: E2E

@ryanfkeepers take a look again. added something to only trigger this new step once per workflow


neigh: Support multi device neighbor discovery

Please see the commit message.

[x] For first time contributors, read Submitting a pull request
[x] All code is covered by unit and/or runtime tests where feasible.
[x] All commits contain a well written commit description including a title,
description and a Fixes: #XXX line if the commit addresses a particular
GitHub issue.
[x] All commits are signed off. See the section Developer’s Certificate of Origin
[x] Provide a title or release-note blurb suitable for the release notes.
[x] Thanks for contributing!

Fixes: #19908

@ysksuzuki Thanks for the PR! Pinging @borkmann to review too, as he recently completely reworked the neigh management.

/test

@borkmann Thank you for the review!

Could you please also extend the documentation under

Sure, will do that.

I presume it currently does not work yet with the runtime device detection, right?

Right, it doesn't work for now. I think neighDiscoveryLink should follow the device changes here. Will do it in a follow-up PR later.
https://github.com/cilium/cilium/blob/aa7572be0f7cfece0ebfb739716ab970c478d358/daemon/cmd/daemon.go#L1287

@borkmann Updated the document for multi-device. Please check it.

@qmonnet Thank you for the review! I modified the document accordingly.

if you could only squash the last two commits together

Done!

@borkmann @qmonnet Hello, is there anything I could do for this PR?

/test

Two tests failed. Hitting known flakes?
ConformanceAKS: https://github.com/cilium/cilium/issues/19472
Multicluster: https://github.com/cilium/cilium/issues/20186 ?

ConformanceAKS is disabled now due to high probability of failure. Multicluster should be fine now.

@sayboras Is it good to merge?

Is it good to merge?

Yes it is, just wait for one more codeowner review for the bot to mark ready to merge.


Changes to PIP Checker Middle Group

Trello card
Description
The aim of this PR is to make amends to the middle group in the pip-checker smart answer to cater for users who recently turned 16.
Factcheck
Preview link
GOVUK
Expected changes

User who recently turned 16 now get the expected outcomes

Before

After

@ikennaokpala I've added a couple of minor inline comments.
The changes to the code LGTM 👍
The whole concept of the middle group is confusing, but as it pre-dates this change we should leave it be. I do think though, that if we get further changes for this smart answer, we should consider renaming the in_middle_group? function to something that tells us what the middle group is.


What's the status of asar and atom-shell releases/compatibilities at this point?

Since I made my middleware 'asar packager' I note there's been a LOT of work done on the asar project - and a few new releases of atom-shell
Is there a dependency map between the 2 projects - does the current 'release' of atom-shell require asars made with a specific release of the asar project - is there anywhere which documents this stuff or is it backwards compatible?
In particular I noticed that asar had it's dependency on chromium-pickle removed (it's a pain to compile and hard to deploy on a PaaS as it has very specific dependencies) and then reverted??
Is there a plan to redo that or...

The only ASAR compatibility change that has happened recently is if you use the "Unpacked ASAR" feature (https://github.com/atom/asar/pull/25), otherwise they should be compatible

If you didn't use the "unpacked" feature then everything is compatible.


Bindings for Python

We need some bindings so we can access the lib from Python.
You can use pyo3.

Hi @radumarias is this issue still open, if yes then what is the requirement would like to contribute on this.

Hi @radumarias is this issue still open, if yes then what is the requirement would like to contribute on this.

@Nandini1071 yes it is, you can do something similar to https://github.com/radumarias/rencrypt-python and exposing methods like https://github.com/radumarias/rencfs/blob/main/java-bridge/src/lib.rs

Ok so what is required I mean could you tell me the exact changes which are required and the file path in GitHub.

@Nandini1071 see the links in the previous comment

@Nandini1071, are you still interested in this?

Hi @radumarias , as of now no. Thanks.


Use ESA CCI ODP web services

ECT shall make direct use of the ESA CCI ODP web services and the provided datasets shall serve as ECT's primary data source. The current ECT implementation is based on the ESA CCI ODP FTP server where we create a local index from scanning all files in the FTP tree (slow!).
ECT shall use the ESA CCI ODP web services, namely the ESGF Search RESTful API, to update meta-information about available (CCI) datasets. That is, the CLI shall print index info from ESGF index when users type ect ds list and ect ds info DS_ID (DS_ID = dataset_id of the index). File download required by the ect ds sync DS_ID command shall be from a suitable url provided by the index for a given DS_ID.
Unfortunately, the ESGF index does not provide any time coverage information about its datasets. Using FTP, we extracted time info from filenames.

ESA CCI ODP ESGF CEDA service is now backing the default data store


Using range prop with interval prop makes slider pop out of the screen

Describe the bug
Using range prop with interval prop makes dot pop out of the screen and then get back to the lower or highest value possible.
Additional context (If there is no relevant content, please delete the block)
Reproduction: https://jsfiddle.net/gdvcm3p8/
Environment (If you feel unrelated, please delete the block)

OS & Version: macOS
Vue version: v.2.6
Component Version: v.3.0.41

Thank you for your feedback, fixed in version 3.0.43.


[Bug] CINE tool playClip for wadouri dicom loader doesn't work properly.

Describe the Bug
I'm using the CINE tool to play a clip like that: utilities.cine.playClip(element, { "framesPerSecond": 30 });
But the clip doesn't play. It is very jumpy, and jumps strait to the last frame and back to the first one.
I've looked at the code and found out that inside playClip.ts  there is a debounce variable that is always set to true and therefore the player waits and doesn't play.
When I change the variable to false, everything works perfectly.
Notes:

If you use 20 framesPerSecond, it plays very slowly and only after like 5 times the clip was played, it is played in the correct speed. But 25 frames per second and above - it doesn't work.
I'm using WADO-URI loader, which has a built-in cache, so the dicom file is actually loaded only once from the server.
If I'm using window.setInterval and inside it viewport.setImageIndexId, it works like a charm.

Steps to Reproduce
Use the below code inside index.tx of the tutorial example (just change the url of the dicom):
import { RenderingEngine, Enums } from '@cornerstonejs/core';
import { utilities } from '@cornerstonejs/tools';
import { setTitleAndDescription } from '../../../../utils/demo/helpers';
import cornerstoneDICOMImageLoader from '@cornerstonejs/dicom-image-loader';
import dicomParser from 'dicom-parser';
import * as cornerstone from '@cornerstonejs/core';
import * as cornerstoneTools from '@cornerstonejs/tools';

const { preferSizeOverAccuracy, useNorm16Texture } = cornerstone.getConfiguration().rendering;

function initCornerstoneDICOMImageLoader() {
  cornerstoneDICOMImageLoader.external.cornerstone = cornerstone;
  cornerstoneDICOMImageLoader.external.dicomParser = dicomParser;
  cornerstoneDICOMImageLoader.configure({
    useWebWorkers: true,
    decodeConfig: {
      convertFloatPixelDataToInt: false,
      use16BitDataType: preferSizeOverAccuracy || useNorm16Texture,
    },
  });

  let maxWebWorkers = 1;

  if (navigator.hardwareConcurrency) {
    maxWebWorkers = Math.min(navigator.hardwareConcurrency, 7);
  }

  var config = {
    maxWebWorkers,
    startWebWorkersOnDemand: false,
    taskConfiguration: {
      decodeTask: {
        initializeCodecsOnStartup: false,
        strict: false,
      },
    },
  };

  cornerstoneDICOMImageLoader.webWorkerManager.initialize(config);
}

// This is for debugging purposes
console.warn(
  'Click on index.ts to open source code for this example --------->'
);

// ============================= //
// ======== Set up page ======== //
setTitleAndDescription(
  'Tutorial Playground',
  'The playground for you to copy paste the codes in the tutorials and run it'
);

const { ViewportType } = Enums;
/**
 * Runs the demo
 */
async function run() {
  // Init Cornerstone and related libraries
  initCornerstoneDICOMImageLoader();
  await cornerstone.init();
  await cornerstoneTools.init();

  const content = document.getElementById('content');
  const element = document.createElement('div');
  element.style.width = '500px';
  element.style.height = '500px';

  content.appendChild(element);
  // const arrayBuffer = await fetchDICOM();
  // const dataSet = parseDICOM(arrayBuffer);
  const url = "http://localhost:8080/wado-get/studies/1.2.840.1135<IP_ADDRESS>715611861.1313741.2018141336523<IP_ADDRESS>/instances/1.2.840.113619.2.391.1603.15150734<IP_ADDRESS>2"
  // const dataset = await cornerstoneDICOMImageLoader.wadouri.dataSetCacheManager.load(url)
  // console.log(dataset)
  const imageIds = []

  var numFrames = 76 //dataset.intString('x00280008');
  const frameRate = 20 // 1000/dataset.floatString('x00181063');
  console.log(numFrames)
  for(var i=1; i <= numFrames; i++) {
      var imageId = "wadouri:" + url + "?frame="+i;
      imageIds.push(imageId);
  }

  const renderingEngineId = 'myRenderingEngine';
  const viewportId = 'CT_AXIAL_STACK';
  const renderingEngine = new RenderingEngine(renderingEngineId);

  const viewportInput = {
    viewportId,
    element,
    type: ViewportType.STACK,
  };

  renderingEngine.enableElement(viewportInput);

  const viewport = renderingEngine.getViewport(viewportInput.viewportId);

  viewport.setStack(imageIds);

  const { IMAGE_RENDERED, CAMERA_MODIFIED, STACK_NEW_IMAGE } = Enums.Events;

  element.addEventListener(IMAGE_RENDERED, (event) => {
    const currentImageIdIndex = viewport.getCurrentImageIdIndex();
    console.log("Current image rendered: " + currentImageIdIndex)
  });

  viewport.render();
  utilities.cine.playClip(element, { "framesPerSecond": frameRate });
}

run();

The current behavior
The clip doesn't play at all, or plays very strangely.
The expected behavior
The clip will play smoothly
OS
macOS
Node version
16.17.0
Browser
Arc

I was running into the same issues, but this solution greatly improved things for me.


Use Timo's sha2 library

Perf improved by 70%! See https://github.com/dfinity/canister-profiling/pull/73

Looks like mops needs to be installed in the GitHub action.

I tried to make a release, but couldn’t:
~/dfinity/ic-certification $ mops publish
Publishing<EMAIL_ADDRESS>[:         ]
Error: Dev Dependency matchers@ not found in registry

How do I proceed?

Can you retry by upgrading mops, npm i -g ic-mops?

Now on
$ mops --version
CLI 0.22.0
API 1.2

but next problem is that the latest(?) SDK (0.14.3) ships moc-0.9.3, while it seems you need 0.9.7, and then I get
~/dfinity/ic-certification $ mops publish
Error: Skipping /home/jojo/dfinity/ic-certification/src/ReqData.mo:
/home/jojo/dfinity/ic-certification/src/ReqData.mo:69.20-69.21: syntax error [M0001], unexpected token '>', expected one of token or <phrase> sequence:
  <exp_bin(ob)>

It probably makes sense to wait for 0.9.7 to be published with the SDK before releasing this?

I see. DFX_VERSION=0.15.0-beta.1 sh -ci "$(curl -fsSL https://smartcontracts.org/install.sh)" contains 0.9.7. We can also wait until 0.15.0 becomes official.

I'm using the nix setup to get dfx and mops, of course :-)


Fix the codegen scripts

cc @madhusudancs @font
The need for CI becomes more apparent.

It's probably worth the investment to get CI set up soon :-)

Agreed, I was waiting on changes in the PRs that merged earlier today but now I think we can set up a useful CI job. #34 should make it even more useful.

Agreed, I was waiting on changes in the PRs that merged earlier today but now I think we can set up a useful CI job. #34 should make it even more useful.

SGTM.  I am pleased, personally, that we are at a point where it is necessary.  It took us much longer to get to this point in service-catalog, so you should def feel good about that!

@font In the interest of unbreaking things, I'm going to push this now. I want to think about your comments so I'll address them in a follow-up.

Opened #37 to address the comments here and some other warts.


Use javax.tools.ToolProvider.getSystemDocumentationTool

This a backport of #610
Fixes https://github.com/sbt/sbt/issues/4350
This was contributed by @xuwei-k.
Basically removes the wacky Java 6 hack that sbt 0.13 used, since we support JDK8 and up, a necessary step for JDK11 compat.

To validate this pull request against other sbt modules, please visit this link.


Hide orphaned queries from data history

Replicating on this side

Ran two queries.  First one I stopped mid query.  Second I deleted mid query.  Both showed in Data History.  ?????que??????

Data is orphaned if it is pushed directly to the map (i.e. cmapi).  There should be no data history for those actions.  Make sense?

Yep now it does.
Sent from my iPhone

On Jan 12, 2015, at 10:09 PM, John Foster<EMAIL_ADDRESS>wrote:
Data is orphaned if it is pushed directly to the map (i.e. cmapi). There should be no data history for those actions. Make sense?
—
Reply to this email directly or view it on GitHub.

Tested on local branch enhancement/498/orphaned-queries in cmapi.  Plotted feature and verified it does not display in Data History since it does not have a datasource.

Tested on Develop and passed.
Cleared elasticsearch.
Started node app.js manually.
Logged into Cmapi.
Plotted a feature using pub sub.
RESULTS - This (orphaned) feature did not display in Data History. (Orphaned meaning it did not have a data source associated with it)
Ran a query using query tool
RESULT S- These features displayed in Data History.


Dark Steel Ball Bug

Hello,
I use the last version of Ender IO and when I put dark steel ball in SAG Mil the percentage arrives in denial before passing in the following ball. The following ball is used when the percentage is at -300%
I'm not sure if this is a problem !
You can see the problem in this picture: http://i.imgur.com/WHbL4VL.png
Thanks in advance !

working fine for me it's shows 100% using the exact same configuration as yours
with the latest EIO 2.2.6 317 and the latest FORGE 1286

That issue was not easy to reproduce - but it happened to me too.


chore: separating commands

Can't stop cortex-cpp process, it hang and stop working after the first run

Let's merge then fix it in another PR since this is a structure update PR


Added Getfields Function

This allows the user to add an array of get parameters (like the post
function). We use the array to construct a getField string which is
then set to the self instance.

This is really old, and I'm pruning old PRs, but this is not needed tbh. There's duplication etc, but thanks for the suggestion. The getfield should be constructed as a string only, which is what it is. It'd be harder for users to separate their get parameters up rather than just write the ?q= query as it is and be done with it.


Another broken url

Hi, thanks for your excellent work! I downloaded your dataset yesterday and found that this video is not available:
https://www.youtube.com/watch?v=1u69z-wsDIc
Just FYI.

Hi @mcximing , thank you for letting us know. We will try to add this video to our provided google drive folder and will let you know once done.

@MoonBlvd Can u add this video again ?. Thanks so much

Hi @mcximing  and @vnlebaoduy , thank you for being patient. I have added this video to the google drive folder. Please close this issue if you have no further concerns. Thank you!

Hi,
I am trying to download the videos using the script, I am getting error at [youtube] kN-2mc561GY: Downloading webpage                                                                              ERROR: kN-2mc561GY: YouTube said: Unable to extract video data                                                          Traceback (most recent call last):                                                                                File "C:\Users\Isha\Anaconda3\lib\site-packages\youtube_dl\YoutubeDL.py", line 797, in extract_info                       ie_result = ie.extract(url)                                                                                File "C:\Users\Isha\Anaconda3\lib\site-packages\youtube_dl\extractor\common.py", line 532, in extract                     ie_result = self._real_extract(url)                                                                                File "C:\Users\Isha\Anaconda3\lib\site-packages\youtube_dl\extractor\youtube.py", line 1848, in _real_extract             'YouTube said: %s' % unavailable_message, expected=True, video_id=video_id)                                         youtube_dl.utils.ExtractorError: kN-2mc561GY: YouTube said: Unable to extract video data
Can you please add this one too. Thanks.

@mcximing Hi， so many video were broken. Can you share your video downloaded before?

Please refer to #18


Dev: Implement recursive search for software based on Article metadata

Using the metadata from articles, develop search for cited software entries from article entries.

@mattiaswangblad has implemented a first version of this (see #98). Changes to be made to the Elasticsearch search methods for the three parameters:
Year: turning this into a range search
Journal: keeping this a match search, but changing to fully lowercase
Keyword: turning this into a Simple String Query search

Now fully implemented as a metadata endpoint. Need to fully document the different terms.


Add full World edit functionality

[x]  Fill command
[x]  Undo command
[x]  Rotate command
[x]  Clone command

ok, this is done!


fix(es/parser): Recover from import.meta in scripts

swc_ecma_parser:

Recover from import.meta in scripts. (Closes #2041)
Allow import.meta when using parse_program.

Thanks for quick fix @kdy1!


"Oancea" and "Slobozia Oancea" are listed in the drop-down menu

Description:
"Oancea" and "Slobozia Oancea" are listed in the drop-down menu alongside its corresponding county and commune, according to the law
Precondition:
The website is up an running.

Step 1
Type "Oancea" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Oancea, GALAȚI (Oancea)" and "Comuna Oancea, GALAȚI".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Type "Slobozia Oancea" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Slobozia Oancea, GALAȚI (Oancea)".


Add support for issue create/update

Also build tests for existing issue methods

Coverage increased (+1.6%) to 89.163% when pulling 3aa9ca4cf9769ab09c432bba129b584c6e9e86ad on danielfarrell:issue-create-edit into 0a9c8507f559c899f50245aa670e654993a91941 on edgurgel:master.

nice! very BIG thanks @danielfarrell 👍


minor changes

ReadMe, Instructions to run still not appropriate

@musk101 there's a merge conflict pushed onto the README and the instructions to run isn't required since it's just frontend.


explain.py: Fix review alignment

Fix the alignment of review in explain.py.
Closes https://github.com/coala/corobo/issues/379

@gitmate-bot rebase

ack 35587aaf9bc6e448b5ba7d27d3afee0a49c7be09

@rultor merge

@rultor merge

@meetmangukiya OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@meetmangukiya Done! FYI, the full log is here (took me 2min)


Move config options to Redux store

One question that has come up a few times as we're working on some new UI work is whether config options belong in the Redux store.
If the config options are not in the Redux store, that means the React components are not pure functions and that has some implications on hot-reloading, unit testing, etc.
If the config options are in the Redux store, it means there might be a bit of extra book-keeping / maintenance when adding new
However, given the tradeoffs, I believe the right approach is to move these to the Redux store, and when we get the config changed event, we could populate a configuration branch of our state tree with these values.  We could have a generic setConfigurationValue action that would take a key and a value, to make these easily accessible in our components.

Fixed by #356.


Go driver

Usage and product changes
Implement Bazel rules and go Driver. Use test file driver_eg.go to show proof of working import, which now uses the dylib to implement the rust cbind_gen rules.
Add a script add_dep.sh to show how to add new external dependencies.
Implementation
Create bazel rules in go/BUILD to generate swig files and dynamic library and use these in the example file to produce an output.
Update WORKSPACE to include go rules.

Let's also put a link to your dependencies PR when you open one. It's crucial to see these PRs together.

Let's also rename the PR, because it's just a part of the Go driver!

Let's still remove the PR as it's not exactly the whole Go driver!

Continuing here: https://github.com/vaticle/typedb-driver/pull/663


hide tootip when click a button in ReactTooltip

`
      <ReactTooltip id="GIN" aria-haspopup="true" place="top" globalEventOff="click">

          Resend confirmation email?

            <Button type="primary" onClick={() => { ReactTooltip.hide(); }}>Yes</Button>
            <Button>No</Button>

      </ReactTooltip>`

when I click the yes button the tooltip doesn't hide immediately. It just hide after i move the away from the button. it seems the ReactTooltop.hide() function doesn't work.How can i hide the tooltip immediately when i click the yes button

@windinging Can you share your code with this solution?

Hello!
I don't know if you still need it but I got it working this way.

Heeeeyyy
             <ReactTooltip              id='test'             clickable={true}             globalEventOff="click"             ref ={ el => this.tooltip = el }             >

TOOLTIIIP
               <button                 onClick={ () => {                   this.tooltip.tooltipRef = null;                   ReactTooltip.hide();                 }}                 className="employee-card-button"                 type="button"               >                                </button>
             </ReactTooltip>
I hope it works for you :D

Hello!
I dont know if you still ned it but I got it working this way.

I hope it works for you! :D

I had to do something similar and it's a bit hacky, but it works with Typescript and React Hooks for the ref:
type TooltipRef = { tooltipRef: null } | null;
and inside the tooltip:
             {                 const current : TooltipRef = tooltip.current;                 current!.tooltipRef = null;                 setIsOpen(false);                 ReactTooltip.hide();               }}             >               ✕

@JesusJavierMoreno You are life saver man! Thank you! :)

@josh-stevens I tried your solution. It works fine for first click. When i click again next time, even without clicking close icon or clicking outside, just on entering and coming out of tooltip closes the tooltip. It happens alternate.

Add someone already optional onClose handler :)

@josh-stevens ...Thank you for your solution

A tooltip added a class of show when it gets appeared, you can get rid of that show class to hide the tooltip manually.
<button className="close-tooltip" onClick={(event) => event.target.parentNode.classList.remove('show')>X</button>

To add on @stearagon response, to solve this in Typescript I did the following:
const ConnectionUrlHelpTooltip = () => {
  const tooltipEl = useRef<ReactTooltip & { tooltipRef: Ref<HTMLElement> }>(
    null!
  );

  return (
    <ReactTooltip
      id="connectionURL_help_tooltip"
      ref={tooltipEl}
      place="right"
      effect="solid"
      eventOff="click"
      delayHide={0}
      clickable
    >

.....

         ......

        <button
          type="button"
          onClick={() => {
            if ("tooltipRef" in tooltipEl.current) {
              tooltipEl.current.tooltipRef = null;
            }
            ReactTooltip.hide();
          }}
        >
          Got it
        </button>

    </ReactTooltip>
  );
};

Clarifying the solution here a little for current hooks users based on some confusion I had:
There are two parts required to make this work.

Setting the tooltipRef of the ReactTooltip component as null. Initially, I thought this meant setting the ref itself as null. But I see now that it's just the property on the class. That is the difference between tooltip.current = null and tooltip.current.tooltipRef = null.
You have to use the global ReactTooltip.hide() option instead of passing in the target. That means that this solution would not work if you have other tooltips that need to stay visible.

I also had to have two refs, one on the element it is referencing (in our case, the children passed in) and one on the ReactTooltip itself.
Here's how it looked for us:
export const Tooltip = ({
    show,
    children,
    data
  }) => {

    let { text, tooltipDirection, step, total } = data;
    let child = useRef<any>(null)
    let tooltip = useRef<ReactTooltip>(null)

    const hideTooltip = () => {
      tooltip.current.tooltipRef = null;
      ReactTooltip.hide(tooltip.current);
    }

    const handleSkip = useCallback(
      () => {
        hideTooltip();
        onSkip();
      },
      [onSkip],
    )

    const handleAdvance = useCallback(
      () => {
        hideTooltip();
        onAdvance();
      },
      [onAdvance],
    )

    useEffect(() => {
      if (show && child.current) ReactTooltip.show(child.current);
    }, [show])

    return (
      <>
        <div ref={child} data-tip data-for={`tip_${step}`}>
          {children && children}

        <div
          ref={tooltip}
          place={tooltipDirection ? tooltipDirection : 'top'}
          event="no-event"
          eventOff="no-event"
          id={`tip_${step}`}
          type='light'
          effect='solid'
          clickable
        >

            {text}

      </>
    );
  };


Bump to Backstage 1.21.1

Bumped dependencies to the version 1.21.1.
Tested in our backstage instance and it was working smoothly. However, I've noticed 2 things:

Testing it locally is not working anymore, I get an error like this:

$ yarn start
yarn run v1.22.19
$ concurrently "yarn start:backend" "yarn start:frontend"
$ yarn workspace @spreadshirt/backstage-plugin-s3-viewer-backend start
$ yarn workspace @spreadshirt/backstage-plugin-s3-viewer start
$ backstage-cli package start
$ backstage-cli package start
[0]
[0] node:internal/process/esm_loader:40
[0]       internalBinding('errors').triggerUncaughtException(
[0]                                 ^
[0] Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/home/ivgo/backstage/backstage-plugin-s3/plugins/s3-viewer-backend/dev/index' imported from /home/ivgo/backstage/backstage-plugin-s3/plugins/s3-viewer-backend/
[0]     at finalizeResolution (node:internal/modules/esm/resolve:255:11)
[0]     at moduleResolve (node:internal/modules/esm/resolve:908:10)
[0]     at defaultResolve (node:internal/modules/esm/resolve:1121:11)
[0]     at nextResolve (node:internal/modules/esm/hooks:865:28)
[0]     at d (file:///home/ivgo/backstage/backstage-plugin-s3/node_modules/tsx/dist/esm/index.mjs:5:34)
[0]     at O (file:///home/ivgo/backstage/backstage-plugin-s3/node_modules/tsx/dist/esm/index.mjs:5:1187)
[0]     at nextResolve (node:internal/modules/esm/hooks:865:28)
[0]     at Hooks.resolve (node:internal/modules/esm/hooks:303:30)
[0]     at handleMessage (node:internal/modules/esm/worker:196:24)
[0]     at Immediate.checkForMessages (node:internal/modules/esm/worker:138:28) {
[0]   code: 'ERR_MODULE_NOT_FOUND',
[0]   url: 'file:///home/ivgo/backstage/backstage-plugin-s3/plugins/s3-viewer-backend/dev/index'
[0] }
[0]
[0] Node.js v20.10.0

To fix it, we need to add the flag to use the legacy backend start

The pipelines are failing because of wrong node versions: we expect the version 18 or 20, but in our pipelines we have the version 16, so we needed to bump them as well

I've also tried my best, but I think we have to live with the extra (almost) 100 lines in the yarn.lock. In this upgrade there were a bunch of major updates in internal packages which required a few extra dependencies

LGTM!
Regarding yarn, I suppose we sort of just have to live with it, given Backstage is such a large project and it seems that with JavaScript these huge files are basically indecipherable for humans. But I still think it's a good idea to at least investigate when we have these big increases, so thanks for that!

Yes. Since it happens quite often that the dedupe (I think it's called that way) is not really done automatically, sometimes we need to check manually the yarn.lock file and try to merge stuff. Mostly I do it comparing the diff, but I'm pretty sure there are more hidden cases


Lab configuration Sharing - Thoughts & Discussion

As myself @iainbrighton  had already had a short discussion on the ability to share Lab configurations I felt it best to create an issue to get some other input on this (also so that I can link to this from my blog post)

Good shout! I would like to be able to download a single configuration without having to download all the community configurations.
Ideally this would be via a PowerShellGet provider. If we could leverage @dfinke 's Gist provider, this could be bootstrapped via Lability and provide the ability to find and download configurations. Everyone knows how to contribute to GitHub, right?! Thoughts?

What about editing the Readme to add some other scenarios? One that comes to mind is how to enact a dsc configuration on a child VM.

Any updates on this discussion? Are there any updates on DSC configuration support in the PowerShell Gallery? That would be optimal, since we would get the underlying functionality "for free" like with the xHyperV DSC resource.


an good alternative

Their is also a Chrome extension that automates this process.  Not possible in bulk, but for a few adreses per day it works great.
https://chrome.google.com/webstore/detail/find-any-email-on-linkedi/fekiadmepikilfpklicpiedpggbflnmc?hl=en-US&authuser=2

Thanks


SCons: Minor fixes/adjustments for web compilation

Implements a handful of tweaks with web platform builds in mind, particularly when compiling from Windows:

Warn if d3d12 is used for non-windows platform & disable the option. Outside of PR scope.
Added a [[maybe_unused]] attribute for an argument that only has guaranteed use behind a conditional.
Ensure ARCOM_POSIX uses ARCOMSTR for non-verbose output.
Add ZIPCOMSTR to non-verbose outputs.

Thanks!


make/lint: Add revive

Add revive as a lint target.

Current dependencies on/for this PR:

main

PR #4   👈

PR #5

This comment was auto-generated by Graphite.

⏳ This pull request is set to merge as part of a Graphite merge job
Stack job ID: v1VUyZWA9dv5zRQQV0UW.
See details on graphite.dev


Chore: Add Automated Engine Adapter Integration Tests

This change makes it so we will run these engine adapter integrations on main similar to Airflow integration tests.

Will follow up with Databricks, Bigquery, and MSSQL support


[HACKTOBERFEST 2024] - Basic CSS Quiz

Checklist:

[x] I have read and followed the contribution guidelines.
[x] I have read and followed the how to open a pull request guide.
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #56179

May I know the reason for closing this PR?

@harshitacodes you have not read the issue, so we are not able to accept this PR


window.close() is not closes InAppBrowser

When window.close() called by default ChromeSafariBrowser closes but InAppBrowser is not closing.

Any solution to this? @themisir

Any solution to this? @themisir

I'm not sure, it was long time ago sorry. I might have switched to some other package. Back then flutter's webview wasn't that great, but now I think they fixed a bunch of issues, so it might worth giving a try.

Still having the issue here


List, Group, and sort all proposals

To list all of the proposals (all types (except freeform if it is not yet implemented in core) )
Designs

@campbellssource I think this is suppose to be on token-frontend repo no?


Memoizers module

Close https://github.com/jhipster/jhipster-lite/issues/3687

@DamnClin : can you fix the build, as it's currently broken because of Sonar Analysis plz?


[WIP] Add request stream/send stream url collector

Codecov Report
Attention: 16 lines in your changes are missing coverage. Please review.

Comparison is base (1583313) 47.05% compared to head (e51e9fc) 47.32%.

Files
Patch %
Lines

src/storage/migration.rs
20.00%
8 Missing :warning:

src/publish.rs
82.60%
4 Missing :warning:

src/publish/implement.rs
73.33%
4 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##              tis     #643      +/-   ##
==========================================
+ Coverage   47.05%   47.32%   +0.26%
==========================================
  Files          25       25
  Lines        6037     6075      +38
==========================================
+ Hits         2841     2875      +34
- Misses       3196     3200       +4

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


ZeroCodeUnitRunner does not run with JUnit5 Jupiter tests

Hi there! Followed your https://github.com/authorjapps/hello-kafka-stream-testing example but my project uses JUnit5 which does not seem to run the tests even though I included zerocode-tdd-jupiter module. Let me know if I am missing anything.
I get No runnable methods error

Hey @elizabetht , It's a kind of a late reply :) , You can only use JUni5 for load testing, If you are using other types of testing( rest, soap,Kafka etc ) you need to stick with JUnit 4. Let us know if you need anything.


cannot find -lnet

ubuntu 16, g++ version 5
my command:
g++ server.cpp -lnet -std=c++11 -o server
/usr/bin/ld: cannot find -lnet
collect2: error: ld returned 1 exit status

How could I solve this problem? Please help me. Thanks

Did you check out #135? -lnet changed to -lpistache

Ok, solved.


"Press any key to continue setup..." expects enter key to be pressed

"Press any key to continue setup..." prompt is displayed and it doesn't allow to proceed unless Enter key is pressed.
It looks that simplest fix would be about changing "any key" to "enter", but it's also possible to adjust read call to accept any key.

Thanks, @wojtekn! Good catch

Added PR #79 with the fix, will be merged once @u-maxx adds his review on it

Thank you @wojtekn !


Use correct plural

Unless your intention was to display the amount of players -1, the plural displays incorrectly in the Discord status.

Please note that the -1 is present as to account for the bot itself being online - unless there is another issue with it displaying the plural incorrectly?

Please note that the -1 is present as to account for the bot itself being online - unless there is another issue with it displaying the plural incorrectly?

The actual number in the status does not have a -1 which displays the plural grammatically incorrect due to this inconsistency.

I have committed this so the plural is consistent with the displayed online count.

👍


Recent changes?

FF 52.2.1
Windows 10
Using this http://omeka.org/add-ons/plugins/pdf-embed/
https://github.com/zerocrates/PdfEmbed#readme
which uses your library
Suddenly I hate to turn off, because PDFs were not rendering on the site. We have a complicated setup, where PDFs are behind a firewall and proxy tunnels in via htaccess.
Where there any changes that would suddenly not allow for this type of setup?

The referred library(es) use really old version of PDF.js. We have no control over third-party solutions and libraries. I recommend contact them directly with the problem.
@gnosisgithub you can update your site with demo viewer -- we are trying to keep it up-todate.

Where there any changes that would suddenly not allow for this type of setup?

Hard to tell since you did not provided link and details to your deployment. Closing as incomplete.

Thank you.

What are the server dependencies, if any, that allow PDF.js to run?

What are the server dependencies, if any, that allow PDF.js to run?

There are none (except regular HTTP server, e.g. Apache)


[Bug]: Unable to add embedding model but can add chat model from same server

Is there an existing issue for the same bug?

[X] I have checked the existing issues.

RAGFlow workspace code commit ID
834c4d8, 49494d4
RAGFlow image version
v0.14.1 slim, v0.14.0 slim
Other environment information
Server:
Ubuntu 22.04.4 LTS (GNU/Linux 6.5.0-1024-aws x86_64)

Model Server:
Models hosted on LiteLLM v1.46.0 https://github.com/BerriAI/litellm/releases/tag/v1.46.0

Actual behavior
No issues with connecting chat models via OpenAI API Compatible connection, but when connecting embedding models on the same server, the following error is encountered:
hint : 102
Fail to access embedding model(BAAI/bge-m3___OpenAI-API).Fail

Input:
Model type: embedding
Model name: BAAI/bge-m3
Base URL: https://SERVER_URL
When attempting to connecting, there is no sign of rejection:
2024-12-02 18:14:20,014 INFO     18 HTTP Request: POST https://<SERVER URL>/v1/embeddings "HTTP/1.1 200 OK"
2024-12-02 18:14:20,016 INFO     18 <IP ADDRESS> - - [02/Dec/2024 18:14:20] "POST /v1/llm/add_llm HTTP/1.1" 200 -

Embedding model is on /v1/embeddings endpoint. I have tried multiple iterations of the Base URL as well, with/without https:// and /v1
I have also tried curl command to the embedding model from within the ragflow-server docker container, which receives an adequate response:
curl -H "Authorization: Bearer API_KEY"  \
--data '{"input":"Hello", "model":"BAAI/bge-m3"}' \
https://<SERVER_URL>/v1/embeddings

Response:
{
"model":"BAAI/bge-m3",
"data":[{"embedding":[<EMBEDDING>],"index":0,"object":"embedding"}],
"object":"list",
"usage":{"completion_tokens":0,"prompt_tokens":3,"total_tokens":3}
}

Expected behavior
Addition of embedding model without issue, as per how chat models were added.
Steps to reproduce
Spin up RAGFlow as per Quick Start instructions: https://ragflow.io/docs/dev/
Add chat models
Add embedding model

Enter docker container ragflow-server:
docker exec -it ragflow-server /bin/bash

Execute curl command as written in Actual behavior
Additional information
No response

Could you paste the full error message?
Fail to access embedding model(BAAI/bge-m3___OpenAI-API).Fail...

May I check if there is another location I can access the full error message?
This is what I observed via the UI:

If accessing the ragflow-server container logs, it seems like it returns status code 200:
2024-12-04 17:56:59,271 INFO     17 HTTP Request: POST https://api.sea-lion.ai/v1/embeddings "HTTP/1.1 200 OK"
2024-12-04 17:56:59,273 INFO     17 <IP_ADDRESS> - - [04/Dec/2024 17:56:59] "POST /v1/llm/add_llm HTTP/1.1" 200 -


modeld: more readable fill_model

Would it make sense to use a struct with named fields that are arrays of fixed size instead of these offsets?


feat: Add a -y flag to deploy/install

Implements SDK-701. Automatically confirms y/n checks.

once a release is cut that includes this change, can we please let the folks at Aikin know?


separation of validation and python interface

Hi!
I have been a long time user of pydantic (great library btw) and have been following the development of the rust library.
I was wondering if it would make sense/would be possible to separate the python related code (use of Py* etc.) and rust implementation.
That way it'd be possible to use this great library not only in python code, but also port it to e.g. js or use for validation of rust code.
I'd be happy to take a stab at it and create a PR - if wanted.

I've thought about this a lot, not just for rust validation but for an entirely theoretical "tydantic" package, see #10.
The problem is that in rust dyn means heap and heap means slow, and I'm not willing to give up performance for this.
The only way to do it would be as a compile time config setting I think.
If you're experienced with rust and really think you can do it elegantly (with minimal cognitive or verbosity overhead for future development and maintenance) feel free to have a go, but I should warn you - while I too really want this, the bar for accepting such a change is high. I'm very aware that what I'm trying to do here is already a massive task for (mostly) one developer, I want to avoid mission creep.

The other thing to say is that you can't really separate the two things - python types are used throughout the library doing otherwise would hammer performance.

Thanks for the quick response and the additional info.
I think it's doable, but challenging, given the obvious and justified constraints, but I'd like to give it a try over the next coming days/weeks anyways.
Glad to see that I am not the only one that is interested in such a change.

Sounds good. Let me know when something is ready to review, best to fail early if we're going to fail.

#71 is a better discussion of these issues.

Seems like this isn't a change we're going to make at this point, marking as not planned.


Remove generic type from multilink

resolves #38

I added this as what I would want, but I don't know the full ramifications. The tests still pass.

I'm going to close this as there's more to it than this.


NEW Allow files to have a .tmpl extension which is stripped

Allows a fix for https://github.com/silverstripe/recipe-cms/issues/9
--
Added:

Tests, travis integration, test namespaces and autoloading
Added APIs to better facilitate mocking (such as file_exists, file_get_contents, copy, etc)
Support for recipe files to end in .tmpl so that they don't get picked up by IDEs as first class classes

@dhensby good idea but it won't work if you composer create-project silverstripe/recipe-cms. Can you make sure it renames base files as well?

@tractorcow this appeared to be the canonical source of mapping from the composer meta data to the filename and I couldn't (and can't now) find anywhere referencing postCreate hooks / logic.
Any pointers where to look for that?

Check out this bit of code:
public static function getSubscribedEvents()
    {
        return [
            'post-create-project-cmd' => 'cleanupProject',
            'post-package-update' => 'installPackage',
            'post-package-install' => 'installPackage',
        ];
    }

You would want to add your hook in the cleanupProject hook. Unfortunately you may need to do a bit of refactoring in RecipeInstaller; I suggest a new method designed for renaming methods in the base recipe.
The logic for this method would look VERY similar to RecipeInstaller::installProjectFiles(), except instead of installing files it'll just rename root project files.
Let me know if you need any more help. ;P

This check
// Add file to installed (even if already exists)
            if (!in_array($relativePath, $installedFiles)) {

Should we loosen this check so that it matches path with / without the tml suffix? Just to ensure backwards compatibility.

@tractorcow cleanupProject doesn't appear to inspect the values of files that are defined in extra meta data. it just unsets the values... I'm not sure how the .tmpl logic would fit in here? sorry if I'm being dense.
https://github.com/silverstripe/recipe-plugin/blob/master/src/RecipePlugin.php#L89-L110

Should we loosen this check so that it matches path with / without the tml suffix? Just to ensure backwards compatibility

This is currently the case. We normalise the .tmpl path early so that comparisons are done as if it was always named without it. Thus it's written to the composer.json without the .tmpl (if it had one) and compared without it too, I've added a test case to cover this under testInstallProjectFilesWithoutTmplExtension

@tractorcow cleanupProject doesn't appear to inspect the values of files that are defined in extra meta data. it just unsets the values... I'm not sure how the .tmpl logic would fit in here? sorry if I'm being dense.

You do it before clearing them. The logic is:

Install project

Install each library in project

plugin installs files for each library

read composer.json in cleanupProject:

For each extra, rename .tmpl
then unset it

We normalise the .tmpl path early

Good call just making sure. :)

Is this still blocked? Looks like all of @tractorcow feedback has been addressed?

it just doesn't work. I think it's actually really difficult to do :/

:disappointed: Shall we close the PR then? Doesn't look like it's going to be addressed in the near future.

Yeah - I think I got as far as I could and wasn't getting anywhere when I last worked on it. It's a big shame, though, as it's a big pain when IDEs pick up these files :(


Changing log level results in exception

Steps:
Command Palette -> Set Log Level -> Choose any option
Output from Log(Window):
[2019-03-07 13:41:57.545] [renderer3] [info] no standard startup: not the explorer viewlet
[2019-03-07 13:45:56.204] [renderer3] [error] Call not found: setLevel: {1}
[2019-03-07 13:45:58.726] [renderer3] [trace] telemetry/workbenchActionExecuted {"id":"workbench.output.action.switchBetweenOutputs","from":"panel"}
[2019-03-07 13:46:00.654] [renderer3] [trace] telemetry/workbenchActionExecuted {"id":"workbench.output.action.switchBetweenOutputs","from":"panel"}
[2019-03-07 13:46:01.207] [renderer3] [trace] telemetry/UnhandledError {"msg":"Call not found: setLevel","callstack":"Error: Call not found: setLevel\n    at r.call (/out/vs/code/electron-main/main.js:227:69)\n    at w.onPromise (/out/vs/code/electron-main/main.js:167:322)\n    at w.onRawMessage (/out/vs/code/electron-main/main.js:166:981)\n    at protocolListener.protocol.onMessage.e (/out/vs/code/electron-main/main.js:166:547)\n    at u.fire (/out/vs/code/electron-main/main.js:49:209)\n    at e (/out/vs/code/electron-main/main.js:173:22)\n    at u.fire (/out/vs/code/electron-main/main.js:49:209)\n    at e (/out/vs/code/electron-main/main.js:44:794)\n    at u.fire (/out/vs/code/electron-main/main.js:49:209)\n    at e (/out/vs/code/electron-main/main.js:44:940)\n    at u.fire (/out/vs/code/electron-main/main.js:49:209)\n    at EventEmitter.i (/out/vs/code/electron-main/main.js:46:720)\n    at EventEmitter.emit (events.js:187:15)\n    at WebContents.<anonymous> (<REDACTED: user-file-path> Studio Code - <REDACTED: user-file-path>:285:13)\n    at WebContents.emit (events.js:182:13)","count":1}

Looking over the code, I think the log level is being set properly but then we log a false error


implemented after hooks with selenium event listeners

DO NOT MERGE -
This code monkey patches Selenium for it to work, but I wanted to show off this proof-of-concept for how we can use Selenium's Event Listeners to do our after hooks.
I think we'll actually want to create some kind of WatirEventListener sub-class to allow more extensible options for adding and removing before & after hooks, along with the current defaults.

Coverage decreased (-0.8%) to 94.958% when pulling 513956784bcf7e78be440097cd9aa676187f74a4 on event_listeners into 9aa1ddd8f75dc0ceb4536a167e4596c56d56c58d on master.

Was proof of concept code only.


Consider upgrading to image_picker 0.5.0+3

Newer version fixes few crashes while switching to & fro through platform channel. So, may be you could upgrade image_picker to 0.5.0+3 and re-publish the package.
Thank you!

Having the carrot version ^0.5.0 should pick the build +3 as well.


Added gradle wrapper and build files

Added the ability for libuv to be built with the gradle wrapper.
The wrapper allows anyone with Java and a supported toolchain to
build all of libuv with a single command "./gradlew build".
This repository can now easily be added as a git submodule and
subproject for gradle.

Hi Aaron! I see this is your first contribution to libuv, welcome!
When it comes to build systems, our stance has (for a long time) been that we already support a bunch and are not interested in supported more.
Now, this doesn't mean we won't reevaluate things. Such case is CMake. We got many requests over time and are reevaluating including it.
This is the first time I've heard of anyone wanting gradle support for libuv.
Taking this patch means we'd inherit its maintenance and AFAICT there is not enough general interest for us to take that on, sorry.
-1.

I understand. I am new to contributing to open source projects in general and have yet to learn the basics. I will just leave this as a branch of my fork if anyone else wants to use it.

Thanks a lot for understanding, Aaron! In general, discussing the matter by opening an issue or seding an email to the mailing list will (hopefully) prevent these misunderstandings. Cheers!