How can I inject dependency in request scope?

Hello, thanks for great library!
I need to inject scoped dependency in my mutation. For example:
services.AddScoped<IUsersWriteService, UsersWriteService>();

...

public async Task<User> RegisterUserAsync(
    string name,
    string email,
    string password)
{
    var salt = PasswordUtility.GenerateSalt();
    var user = new User
    {
        Email = email,
        Name = name,
        Password = PasswordUtility.Encrypt(password, salt),
        Salt = salt
    };

    // inject usersWriteService
    return await usersWriteService.CreateUserAsync(user)
		.ConfigureAwait(false);
}

How can I do that?

Hi,
that is actually a bug in the current Version. I have fixed that in my local branch and think that the fix will roll out in Sunday evening. I will get back to you as soon a we have released the next Version.

This issue is now fixed in 0.4.0-preview-1.

@Dolfik1 you should probably wait for the final 0.4.0 since we are currently working on data loaders in the 0.4.0 which is a major change in the execution engine.
So, the previews could still have some issues. I think we will ship the final 0.4.0 at the end of this week.

@michaelstaib is I correctly inject dependencies?
Method 1:
public async Task<User>GetMe(IResolverContext resolverContext)
{
    var httpContext = resolverContext.Service<HttpContext>(); // returns null
    var service = resolverContext.Service<IUsersReadService>(); // throws exception
    // Cannot resolve scoped service 'Services.Read.IUsersReadService' from root provider.
    // ...
}

Method 2:
public async Task<User> GetMe(
    HttpContext httpContext,
    IUsersReadService service)
{
    // ...
}

If this is correct, DI still not working in 4.0 prerelease version. I am using 4.0.0-preview-2 version from nuget.

This should work in preview-2.
We have a test for this:
https://github.com/ChilliCream/hotchocolate/blob/next-version/src/AspNetCore.Tests/QueryMiddlewareTests.cs
HttpPost_WithHttpContext

Method 2 will work with the final release that is coming tomorrow:

public async Task<User> GetMe(
    [Service]HttpContext httpContext,
    IUsersReadService service)
{
    // ...
}

Method 1 should work with the current preview.
Although our integration test has the following under test:
https://github.com/ChilliCream/hotchocolate/blob/next-version/src/AspNetCore.Tests/Schema/Query.cs

I will write some more tests for this before releasing the final version 0.4.0 tomorrow.

@michaelstaib please, check this repository: https://github.com/Dolfik1/HotChocolateStarWarsTest
I've created two tests for DI:

https://github.com/Dolfik1/HotChocolateStarWarsTest/blob/master/StarWars/Query.cs#L21
https://github.com/Dolfik1/HotChocolateStarWarsTest/blob/master/StarWars/Query.cs#L35

In both cases QueryException was thrown.

I will look into this tomorrow morning.

This issue is done with release version 0.4.0. I have just tested it with your demo project.


DRILL-4982: Separate Hive reader classes for different data formats t…

…o improve performance.
1, Separating Hive reader classes allows optimization to apply on different classes in optimized ways. This  separation effectively avoid the performance degradation of scan.
2, Do not apply Skip footer/header mechanism on most Hive formats. This skip mechanism introduces extra checks on each incoming records.

The performance degradation is worse with larger tables. The degradation is >300% on a 15GB table. After this fix, this degradation disappears.
There are other visible performance gains of this fix even when there is no degradation:
For a simple query on ORC/Parquet table through HiveReaders, I observed the improvement is about 10%-25% and the average improved percentage is 17.6%.
For TPCH tests on a 10 node cluster with Parquet tables + HiveReaders, the average improvement (of two runs) is 5.1%

Addressed your comments.

LGTM too. +1


Splits XPCServer.forThisProcess(...) into separate functions

This conceptually partially reverts the decision to make retrieving an XPCServer (aside from anonymous ones) all happen as part of one function. Implementation wise this is quite different than before as will be described.
The three functions are:

forThisXPCService() - nothing too interest, basically does what it says on the tin
forMachService() - this function is where a lot of goodness/magic happens, it basically returns a fully configured XPCServer for a Mach service so long as it conforms to one of four the built-in types and only has one Mach service present
forMachService(withCriteria:) - this is a highly customizable variant of 2 which makes use of the new XPCServer.MachServiceCriteria and can support any type of Mach service.

All of this is built with the principle of progressive disclosure, so I expect most API users will never use the third function and that's fine.
One thing worth noting that I realized was wrong with the previous design is that it's perfectly valid for a helper tool to provide multiple XPC Mach services simultaneously. As such it's essential to have access to the non-blocking start() function and it's quite useful to be able to still have auto-configured client requirements while specifying just the name of the service, which can now be done with XPCServer.MachServiceCriteria.
A nice internal side effect of these changes is that XPCMachServer now does not concern itself with all of the various built-in types, that's all factored out into XPCServer.MachServiceCriteria.

@amomchilov For your review when you have time. It's a rather sizable change, although for the most part it's a refactoring.

I'm going to merge this in to continue work on some other changes, but always open to feedback at a later date


Adding a test file to new_branch

my new commits

Hello @musasizifrancis please what does this Pull request do?


Binary Search Program

Given an array of integers nums which is sorted in ascending order, and an integer target, write a function to search target in nums. If target exists, then return its index. Otherwise, return -1.
You must write an algorithm with O(log n) runtime complexity.
Example 1:
Input: nums = [-1,0,3,5,9,12], target = 9
Output: 4
Explanation: 9 exists in nums and its index is 4
Example 2:
Input: nums = [-1,0,3,5,9,12], target = 2
Output: -1
Explanation: 2 does not exist in nums so return -1
Constraints:
1 <= nums.length <= 104
-104 < nums[i], target < 104
All the integers in nums are unique.
nums is sorted in ascending order.

Hi, @Kushal997-das please assign this issue to me.

I want to work on it
please assign me this

Hi there!
I am the Mentor of this project.
Although this repo is not part of Hacktoberfest 2024, we have some great alternatives for you. Welcome to SkillShow, a repository focused on skill enhancement!
Guidelines:

Please adhere to the existing guidelines.
No additional rules, thanks!
Check it out here: SkillShow.

Note: Start by creating an issue. Once it’s assigned to you, feel free to open a pull request (PR). Directly opening a PR will lead to an invalid label.
Looking forward to your contributions!


[AutoPR dns/resource-manager/apimanagement/resource-manager] Add Go tag for api management, api version 2018-01-01

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/2677

Codecov Report

Merging #2194 into master will increase coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #2194      +/-   ##
==========================================
+ Coverage   52.06%   52.09%   +0.03%
==========================================
  Files        5567     5583      +16
  Lines      133508   133659     +151
==========================================
+ Hits        69510    69629     +119
- Misses      63998    64030      +32

Impacted Files
Coverage Δ

...-dns/azure/mgmt/dns/operations/zones_operations.py
80% <0%> (-1.77%)
:arrow_down:

azure-mgmt-dns/azure/mgmt/dns/models/__init__.py
100% <0%> (ø)
:arrow_up:

azure-mgmt-dns/azure/mgmt/dns/models/zone.py
100% <0%> (ø)
:arrow_up:

azure-mgmt-dns/azure/mgmt/dns/models/resource.py
100% <0%> (ø)
:arrow_up:

...ure-mgmt-dns/azure/mgmt/dns/models/resource_py3.py
45.45% <0%> (ø)

...mgmt-dns/azure/mgmt/dns/models/sub_resource_py3.py
100% <0%> (ø)

...mgmt-dns/azure/mgmt/dns/models/cname_record_py3.py
66.66% <0%> (ø)

...-mgmt-dns/azure/mgmt/dns/models/zone_update_py3.py
66.66% <0%> (ø)

...e-mgmt-dns/azure/mgmt/dns/models/soa_record_py3.py
100% <0%> (ø)

...gmt/dns/models/record_set_update_parameters_py3.py
66.66% <0%> (ø)

... and 10 more

Continue to review full report at Codecov.

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

Go PR


How to interact with Google Drive after log in?

Thank you for your great Plugin!
How to interact with Google Drive after log in?

please give me sample parameter to access Drive API
public static void Initialize(             Activity activity,             string serverClientId = null,             string clientId = null,             Api[] apis = null,             string[] scopes = null)
How to Download and Upload a file!

Hello @nguyenthanhliemfc, I am using this login successfully for accessing data from Google Calendar API. I am not sure exactly how the Google Drive API works, but you need to pass in the your scopes into the string[] scopes as parameter so the sign in option will ask user for permission. As for requesting data from Drive API, please use accessToken from the CrossGoogleClient.Current.AccessToken. Please note that this accessToken disappears after logged in, so you best save it into the app parameter or something. Let me know if this helps!


feat: add HiddenWhen property to FluentDataGrid columns for on small screens

🙋 Feature Request
Attribute in PropertyColumn/TemplateColumn that allows to hide some column on smaller screens.
Compare to StepTitleHiddenWhen in FluentWizard
💁 Possible Solution
A property like "HiddenWhen" that can be filled with something like GridItemHidden (XsAndDown...)
🔦 Context
I tried it with CSS but i have not found a working solution.

You can use the FluentGrid component to detect whether you are on mobile and to update the GridTemplateColumns attribute (in addition to display: none).
Example of "Get started" grid in our Demo site.
@code
{
    bool Mobile = false;
    void OnBreakpointEnter(GridItemSize size) => Mobile = size < GridItemSize.Sm;
    string GetGridTemplateColumns => Mobile ? "0px 1fr 0px" : "1fr 1fr 1fr";
}

<style>
    /* 0px 1fr 0px */
    fluent-data-grid[mobile] fluent-data-grid-cell:nth-child(1),
    fluent-data-grid[mobile] fluent-data-grid-cell:nth-child(3) {
        display: none;
    }
</style>

<FluentGrid OnBreakpointEnter="@OnBreakpointEnter" />

<FluentDataGrid mobile="@Mobile" Items="@people" GridTemplateColumns="@GetGridTemplateColumns">
    <PropertyColumn Property="@(p => p.PersonId)" Sortable="true" />
    <PropertyColumn Property="@(p => p.Name)" Sortable="true" />
    <PropertyColumn Property="@(p => p.BirthDate)" Format="yyyy-MM-dd" Sortable="true" />
</FluentDataGrid>

You will probably have some issue when using the Resize feature

Interesting approach! Thank you!

Closing this as an alternative approach has been provided.


Client Allocation Request for: InK ent.

Client Allocation Questions
Core Information

Name: InK ent.
Website / Social Media: http://inkent.co.kr/
Region: Asia excl. Greater China
DataCap Requested: 1TiB
Addresses to be Notarized: f1ri7wkd5rlgcmsk4dqbbo4n25zbxupkurxqxdemy
Notary Requested: rayshitou

@inkent92 Please subscribe to notifications for this Issue to be aware of updates. Notaries may request additional information on the Issue.

@inkent92 Thanks for your application. Please answer the following questions to let me know you and your company.
1.What's your name and your position in your company?What's your company's business?
2.Could you show me your company's business license? And please show me your company searching consequence in the local business license searching website.
3.Have you/your company ever used cloud? Which platform do you use? What's your usage volume and frequency? Could you please show me your cloud usage evidence?

@inkent92 Thanks for your application. Please answer the following questions to let me know you and your company.

1.What's your name and your position in your company?What's your company's business?

My name is wayne park. I am a product manager of InK ent.
We service 3D horse racing games with real world betting and graphics.
This service is available for iOS and Android.

2.Could you show me your company's business license? And please show me your company searching consequence in the local business license searching website.

business license:
https://bafybeicjvgz2em7njt3sxq4bh2r32b3vi5wkbcljpi7hfxqr7h56h2tvei.ipfs.dweb.link/inkent-license.jpg
korea business license searching website:
https://teht.hometax.go.kr/websquare/websquare.html?w2xPath=/ui/ab/a/a/UTEABAAA13.xml

3.Have you/your company ever used cloud? Which platform do you use? What's your usage volume and frequency? Could you please show me your cloud usage evidence?

Storage Service: NAVER Cloud (https://www.ncloud.com/)
Storage volume: almost 100 GiB / Month
cloud usage evidence: confirmation of use issued by NAVER Cloud
https://bafybeihteyqb654rejmmxpbz2k36wb6fdmqlzh6njxibf5o4nbrhdlqrky.ipfs.dweb.link/NAVER CLOUD PLATFORM.pdf

Nice, please let me know:
1.What kind of data do you want to store and how much?
2.Could you please show me some demos of your data?
3.Do you agree to use the DataCap to only store data that abides by local regulations and in compliance with the recipient miner's terms of service?

About the allocation of the DataCap:
1.How many miners do you want to store your data to? How much data for each miner?
2.What method/tool will you use to insperct miners? Which aspect of miners will you inspect?
3.Will you record your allocation decision in public? Which platform will you use?
4.Have you ever allocated before? If yes, how did you do when you were questioned? Any links?

Nice, please let me know:
1.What kind of data do you want to store and how much?

We are servicing horse racing games globally and want to save the highlights of the match in IPFS. In-game match highlights will be played. The size of the video is about 200 MB and almost 100 video files are created each day.We are servicing horse racing games globally and want to save the highlights of the match in IPFS. In-game match highlights will be played. The size of the video is about 200 MB and almost 100 video files are created each day.

2.Could you please show me some demos of your data?

The video file recoding  the highlights of the match
https://bafybeigusd4p6nw46tdfppnezuocifzgemgzbdemksst5tbnmg3nmwxqli.ipfs.dweb.link/bandicam 2021-09-23 13-06-20-424.mp4

3.Do you agree to use the DataCap to only store data that abides by local regulations and in compliance with the recipient miner's terms of service?

Yes, We  agree to use the DataCap to only store data that abides by local regulations and in compliance with the recipient miner's terms of service.

About the allocation of the DataCap:
1.How many miners do you want to store your data to? How much data for each miner?

We will store our data to 3 to 5 miners.

2.What method/tool will you use to insperct miners? Which aspect of miners will you inspect?

We will use filecoin reputation system (https://filrep.io/) to inspect miners. We will inspect miners’ online reachability.

3.Will you record your allocation decision in public? Which platform will you use?

We will record our allocation decision in public. Using what platform can we record our allocation decision in public?

4.Have you ever allocated before? If yes, how did you do when you were questioned? Any links?

We don’t have allocated before.

Nice, please let me know:
1.What kind of data do you want to store and how much?

We are servicing horse racing games globally and want to save the highlights of the match in IPFS. In-game match highlights will be played. The size of the video is about 200 MB and almost 100 video files are created each day.

2.Could you please show me some demos of your data?

The video file recoding  the highlights of the match
https://bafybeigusd4p6nw46tdfppnezuocifzgemgzbdemksst5tbnmg3nmwxqli.ipfs.dweb.link/bandicam 2021-09-23 13-06-20-424.mp4

3.Do you agree to use the DataCap to only store data that abides by local regulations and in compliance with the recipient miner's terms of service?

Yes, We  agree to use the DataCap to only store data that abides by local regulations and in compliance with the recipient miner's terms of service.

About the allocation of the DataCap:
1.How many miners do you want to store your data to? How much data for each miner?

We will store our data to 3 to 5 miners. 200 - 300 GiB for each miner.

2.What method/tool will you use to insperct miners? Which aspect of miners will you inspect?

We will use filecoin reputation system (https://filrep.io/) to inspect miners. We will inspect miners’ online reachability.

3.Will you record your allocation decision in public? Which platform will you use?

We will record our allocation decision in public. Using what platform can we record our allocation decision in public?

4.Have you ever allocated before? If yes, how did you do when you were questioned? Any links?

We don’t have allocated before.

What's going on.

And we changed the address to be notarized.
f1a2puhxcwvoxf7hveekzz2jalm3zro6slnctmxoa
Thank you.


Get cluster config from configmap when managing service with paictl.

Coverage remained the same at 51.62% when pulling 67835d79dbc2b8748620f93e20ca320d6aad69f3 on yuye/paictl-service-change into b7df7bdf10878a32e13de1f2deb7acf4c381cab1 on master.


Shell Environment are ignored by Razzel

🐛 Bug report
Current Behavior

Razzel accept environment variable that only start with RAZZEL_.

env.js loaded as core plugin which override all environment variable

Expected behavior
Razzel must accept aribatic environment variable.
Reproducible example

https://gist.github.com/jawahar273/1beac74e664a8bb9721555faa3cd0002
Additional context

Your environment

Software
Version(s)

Razzle
3.3.7

Node
14.15.4

npm/Yarn
1.22.10

Operating System
Ubuntu 20

React
17.0.1

This is adressed in canary will not fix in 3.x
https://razzle-git-canary.jared.vercel.app/docs/customization#options

This is adressed in canary will not fix in 3.x
https://razzle-git-canary.jared.vercel.app/docs/customization#options


Describe how to install your own vypyter

Add a link to a blog post explaining how to run your own server

@charles-cooper I actually moved the VM & nginx setup to the blog because I considered out-of-scope for this repository.
The information in the blog is actually not specific to JupyterLab and/or Vyper. If you prefer I can write (part of) it here.


RefreshTokenAsync stopped working

Hi,
I'm writing a .NET MAUI app and until today using your TeslaAuth package has worked brilliantly. However today, with no changes to the code, the RefreshTokenAsync() method just hangs - no exception, the code just stops on entering the method and doesn't return at all.
I'm using the .NET MAUI <WebView> component on my login page and that works fine with TeslaAuth, no issues whatsoever (once I figured out how to clear cookies in it :-) ), it's just the RefreshTokenAsync() method that has stopped working. I'm running this on Windows.
I don't know how much of this is down to it being MAUI but it's weird that it has  worked okay for the last couple of weeks and now it doesn't 🤷
Hopefully Tesla haven't changed their Refresh Token process again but if not do you have any thoughts or ideas on this?
My code around it is pretty simple... I have a local field called _authTokens which has the tokens... and it's a one line call from that:
        public async Task<bool> RefreshAuthentication()
        {
            try
            {
                var tokens = await _teslaAuth.RefreshTokenAsync(_authTokens.RefreshToken);
                _authTokens.SetTokens(
                    tokens.AccessToken,
                    tokens.RefreshToken,
                    tokens.CreatedAt,
                    tokens.ExpiresIn);

                return true;
            }
            catch (Exception ex)
            {
                throw new Exception("Error refreshing user token", ex);
            }
        }

I have verified using Postman that the refresh token does work to get a new access token, it just doesn't work in code for some reason.
Thanks in advance,
Terry.

Update on this: I put the same code into a WinUI 3 app and it works okay. So now I need to figure out why it suddenly stopped working on a MAUI project after working fine for a few weeks.
I've also taken the code from this repo and put it in my app instead of making calls via the Nuget version... and it fails on the await client.PostAsync("oauth2/v3/token", content); call. Just disappears into a black hole with no response from the method and no exception.
So it looks like it isn't this repo. Feel free to close this if you agree.

Thanks @gingertez. I'm not using the library in MAUI myself so I haven't run into it (or heard anyone else complain about issues). If you think there is anything that could change in the code to work around the issue, feel free to make a PR.


Collaboration for computer vision project

Hi,
I did not know how to reach you so opening issue here. Please close if it seems irrelevant.
I saw your GitHub status "Looking to collaborate on Computer Vision projects". If you're still open to talk about it, please do let me know.
We have around 6k HD ANNOTATED (segmentation masks) panaromic view images. We are failing to get better accuracy using detectron2 framework (mask rcnn).  I think your insights will be really helpful in this matter.
Thanks and regards,
Rakesh

@INF800 thanks for reaching out. But at the present moment,  I am in middle of other commitments which requires to be completed. Hopefully in the future we can collaborate.


iOS not working well with remote m4a-Files.

Checklist

[X] I read the troubleshooting guide before raising this issue
[X] I made sure that the issue I am raising doesn't already exist

Current bug behaviour
If I use the "recorder" lib to record an m4a audio file on Android with the "aacLc" encoder and push it to my web service, then it cannot be played on iOS. The following error comes back:
flutter: \^[[31mAudioPlayers Exception: AudioPlayerException( 	UrlSource(url: "URL-TO-FILE.m4a"),  	PlatformException(DarwinAudioError, AVPlayerItem.Status.failed on setSourceUrl, null, null)<…> [VERBOSE-2:dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(DarwinAudioError, AVPlayerItem.Status.failed on setSourceUrl, null, null) [VERBOSE-2:dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(DarwinAudioError, AVPlayerItem.Status.failed on setSourceUrl, null, null) [VERBOSE-2:dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(DarwinAudioError, AVPlayerItem.Status.failed on setSourceUrl, null, null) [VERBOSE-2:dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(DarwinAudioError, AVPlayerItem.Status.failed on setSourceUrl, null, null) [VERBOSE-2:dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(DarwinAudioError, AVPlayerItem.Status.failed on setSourceUrl, null, null)
Everything works fine on Android. There I can play audios from iOS and get the duration.
Audios from Android don't work with iOS and audios from iOS don't get any duration either.
I retrieve the audios via
_audioPlayer.setSource(UrlSource("URL_TO_FILE.m4a"));
I deliver the audio files via a REST API as a GET method, using the "Javalin" library. Here is my code to deliver:
File voice = new File(Environment.fileUploadDirectory, pathVoiceId); InputStream inputStream = new FileInputStream(voice); context.writeSeekableStream(inputStream, "audio/mpeg", Files.size(voice.toPath()));
As I said on Android everything just doesn't work on iOS.
Affected platforms
iOS
AudioPlayers Version
4.1.0
Build mode
debug, release
Working on PR
yeah

Hi @Gustl22. I was able to fix the problem in the meantime and it wasn't because of the error. I wrote my own function that downloads the m4a files and saves them in the temp folder and then plays them from there. So it works fine on both side (Android and iOS) and I also get the duration.
For those who have the same problem, here is my code:
_checkTempFiles() async {
  Directory tempDir = await getTemporaryDirectory();
  String cachedAudioFile = "${tempDir.path}/file_${widget.messageData.file!}";
  File audioFile = File(cachedAudioFile);
  if(audioFile.existsSync()) {
    await _audioPlayer.setSource(DeviceFileSource(audioFile.path));
    if(_preSeeking != null && _preSeeking! > 0) {
      await _audioPlayer.seek(Duration(milliseconds: _preSeeking!.toInt()));
      await _audioPlayer.pause();
    }
  } else {
    HttpClient httpClient = HttpClient();
    HttpClientRequest request = await httpClient.getUrl("URL_TO_FILES");
    HttpClientResponse response = await request.close();
    if(response.statusCode == 200) {
      var bytes = await consolidateHttpClientResponseBytes(response);
      await audioFile.writeAsBytes(bytes, flush: true);
      await _audioPlayer.setSource(DeviceFileSource(audioFile.path));
      if(_preSeeking != null && _preSeeking! > 0) {
        await _audioPlayer.seek(Duration(milliseconds: _preSeeking!.toInt()));
        await _audioPlayer.pause();
      }
    }
  }
}

And sorry I forgot the ticket. So it can be closed ✌


instalooter not defined error on step 8 and 9

i have already checked path of my files there is no error in googleApi.json file

check the spelling of copy this and add that to your script googleApi.json``


Can Atom build in environment of Windows 7 (sp1) & Visual Studio 2015?

As shown below: cannot vs2015 with Win7???

Visual Studio
You can use either:
Visual Studio 2013 Update 5 (Express or better) on Windows 7, 8 or 10
Visual Studio 2015 (Community or better) with Windows 8 or 10

It might be possible - I just don't think anyone has tested that particular combination.
Try following the build instructions and remembering to set the VS2015 stuff correctly on Windows 7 and there's a reasonable chance it works. Let us know ;-)

No need to keep this open.


Add files via upload

@octolet88 file/lib/domains/ca/epsb/share.txt: this request has an incorrect file path format, please ensure that you are familiar with     this repository rules located at the bottom of this page and change     your request accordingly. If you don't know how to change request, close it and open a new one.     If you are not able to make the pull request according the instructions, please send us an email to<EMAIL_ADDRESS>Please mention this request URL in the message.

@octolet88 I am sorry, the domain share.epsb.ca is removed from our trusted domains list because it was abused in the past. If you are the student of this school, please enroll to GitHub Student Developer Program. Then apply for JetBrains educational subscription with your GitHub account (GitHub tab at https://www.jetbrains.com/shop/eform/students).


would be great to undersand how can the client be setup without a Web Reference (which might not be added for one or another reason)

Example: I'm working on a solution that comes pre-packed with a product, and that allows customization up to a certain degree ... however adding Web Service references doesn't work. I can add DLL references fine though.
Best practices on this would be appreciated. thanks

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

ID: 7c27c6cc-63c8-5c3d-f344-228f8ad86c90
Version Independent ID: d560cf6a-e9bd-95e5-ce15-a08a5778181a
Content: How to: Create a Windows Communication Foundation Client
Content Source: docs/framework/wcf/how-to-create-a-wcf-client.md
Product: dotnet-framework
GitHub Login: @Lxiamail
Microsoft Alias: wcfsrvt

I think this is a duplicate of #9772

Marking this as a duplicate. I think this request is in the same scenario of the linked issue. @Lxiamail may have more information or can point you somewhere, but I think your question is best answered in a support forum.


PHOENIX-5902 Document or fix new compat jar behavior.

add the appropriate hbase-compat module to the shaded server JAR

merged to 4.x


Various Mac clang warnings are likely bugs

Original issue: https://charm.cs.illinois.edu/redmine/issues/1413

The pup_xlater.C error turns cvt_bool() into an infinite loop.
The machine.c error will make LrtsAbort do nothing if Cmi_truecrash is true - it should at least abort.
ckarrayreductionmgr.C:132:19: warning: comparison of constant -1 with expression of type 'unsigned short' is
      always true [-Wtautological-constant-out-of-range-compare]
                        if (m->userFlag!=-1)
                            ~~~~~~~~~~~^ ~~

pup_xlater.C:138:25: warning: comparison of unsigned expression >= 0 is always true [-Wtautological-compare]
        for (i=nElem-1;i>=0;i--)
                       ~^ ~

machine.c:549:5: warning: indirection of non-volatile null pointer will be deleted, not trap
      [-Wnull-dereference]
    *(int *)NULL = 0; /*Write to null, causing bus error*/
    ^~~~~~~~~~~~

Original date: 2017-02-13 21:11:21

This commit will remove ckarrayreductionmgr completely, so that warning will go away: ~~https://charm.cs.illinois.edu/gerrit/#/c/2216/~~ https://github.com/UIUC-PPL/charm/commit/2c622f863c09793ab8410eb1138428d080fb8e63
The pup_xlater one should be fixed.
The machine.c one is more interesting. It appears from the git history to have been added so that when debugging Charm you get a true crash with the full stacktrace rather than a clean exit with an abort message when running with ++debug and/or +truecrash. That seems useful, and that code will only execute if Cmi_truecrash is true.

Original date: 2017-02-14 01:02:03

For the machine.c case, it would be easy enough to add the suggested volatile to it. That is precisely an intended use.

Original date: 2017-02-14 03:30:01

~~https://charm.cs.illinois.edu/gerrit/#/c/2242/~~ https://github.com/UIUC-PPL/charm/commit/9290be649351cf0acb89ee01c2010ea5d48b56f4


Variable explorer not showing variables after connecting to remote kernel

Issue Report Checklist

[x] Searched the issues page for similar reports
[x] Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
[x] Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)

[ ] Could not reproduce inside jupyter qtconsole (if console-related)

[x] Tried basic troubleshooting (if a bug/error)

[x] Restarted Spyder
[x] Reset preferences with spyder --reset
[x] Reinstalled the latest version of Anaconda
[x] Tried the other applicable steps from the Troubleshooting Guide

[x] Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description
Variable explorer don't show variables after connecting to remote kernel.
What steps reproduce the problem?

open a kernel with python -m spyder_kernels.console
copy the json file to local dir
connect to an exsiting kernel in spyder

What is the expected output? What do you see instead?
  What happened to my spyder?

@664787022, I cannot reproduce this issue with either our released 5.3.3 macOS standalone application or my experimental conda-based installer. But I'll try later with my Windows VM.

Thanks for checking @mrclary!

I was unable to reproduce the OP in my Windows VM using the Windows standalone application, either. One thing that I did notice was that the variables didn't seem to show up in the Variable Explorer until I ran a command in the terminal. Although that did not seem to be consistent; other times the variables showed up immediately upon kernel connection (if the kernel already had variables). But it seemed that every time I actually created a new variable, it showed up immediately in Variable Explorer.

I also get the same behavior with our latest 5.x commit running from the command line conda environment. If the variables don't show up immediately upon kernel connection, clicking the refresh button in Variable Explorer immediately reveals them, also.
So, I don't know if there may be an issue with consistently refreshing the list at kernel connect, but otherwise I have not seen any issues displaying the workspace variables.

I also get the same behavior with our latest 5.x commit running from the command line conda environment. If the variables don't show up immediately upon kernel connection, clicking the refresh button in Variable Explorer immediately reveals them, also.
So, I don't know if there may be an issue with consistently refreshing the list at kernel connect, but otherwise I have not seen any issues displaying the workspace variables.

Thanks! I created a new environment and did not meet this problem again. I don't know what's going on with my last environment. But I can enjoy using spyder with remote server now. Thanks again!

So, I don't know if there may be an issue with consistently refreshing the list at kernel connect, but otherwise I have not seen any issues displaying the workspace variables.

Yeah, I think we should fix that to prevent confusions about the Variable Explorer not working, when it's really not displaying the current namespace state.

I have the same problem; no variables ... Don't know how to fix this

@driesdep, we're designing a new architecture to connect to remote machines and run code in them, which will be available in Spyder 6 (to be released in a couple of months).
So, please check after that version is out and let us know if the problem is still present then.


How to use bidirectional List?

I'm trying to use the List UI component but I have troubles with it. I tried to code something similar to the storybook here with rectangles in the list:
let container = new Container();
let g = new Graphics().beginFill("black", 0.1).drawRect(0,0,540, 600);

let list: List = new List();
g.addChild(list);
list.addChild(new Graphics().beginFill("red").drawRect(0,0, 540 / 2, 100));
list.addChild(new Graphics().beginFill('blue').drawRect(0,0,400, 100));
container.addChild(g);

I expected a bidirectional layout where the blue rectangle is under the red one because I didn't specify the type ListOption and the blue rectangle is too wide to fit in its parent but it always ends up in a horizontal layout like this:

Do you know what I'm doing wrong?

Thank you for the fix!
I really would like to test it. I tried to add your library with the latest commit on master to my package.json file but it doesn't work:
"dependencies": {
    "pixi.js": "7.2.4",
    "@pixi/ui": "https://github.com/pixijs/ui/tarball/master"
  },

It says @pixi/ui not found when I need to import something.
Can you please give me some hints how to include the latest version to my project?

Made a patch version for you. You can use v0.7.1

Thank you very much!!

No problem. Thank you for catching the bug ;)


Fixed strings import issue

Description
This PR fixes fixes strings import issue in KubernetesClusterResourceModifierActionWorker.

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[x] Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[ ] Major
[ ] Minor

Bug Severity

[ ] BLOCKER
[ ] Critical
[ ] Major
[ ] Minor
[ ] Trivial

Screenshots (if appropriate):
How Has This Been Tested?

@blueorangutan package

@nvazquez a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

@blueorangutan package

@sureshanaparti a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 2621

Regression on packaging fixed, merging - no tests needed


Copy span context for Error.context

Currently, only the context is only copied in case an error on a transaction has been recorded.

Test that the UI can cope with errors which have a span context.

Another problem is that we don't collect tags and other context data like ES or JDBC queries if the span is not sampled.

@elastic/apm-server Is that even possible from an API level? The scenario is for example to record an exception for a DB query. Currently, the transaction's context would be copied to the error's context. When it actually seems more appropriate to copy the span context to the error. That way, users can re-run the recorded context.db.statement, for example.
But I think this is not allowed via the API. error.context refers to the transaction context object: , whereas the span.context is a separate thing. However, the context object does not disallow additional attributes, so from a API perspective, this may just work.
But another problem is that the UI would probably not be prepared to display a span context object within an error object 🤔.

However, the context object does not disallow additional attributes, so from a API perspective, this may just work

It wouldn't be validated, but it should work, yes. I think you are also right about the UI, I recall they need to know the top level keys inside context, but I might be wrong.


Increase upper bound on group size (#339)

It should be 2^32-1 as opposed to 2^16-1 (see PR).
https://github.com/mlswg/mls-protocol/pull/339

See #78


bs-platform peer dependency warning

After installing urql 1.0.5, I get this warning from npm:
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself.

It seems like this dependency is brought in by wonka, used by urql:
$ npm list bs-rebel
<EMAIL_ADDRESS>/mnt/c/Users/mjadcza/Projects/<etc>
└─┬<EMAIL_ADDRESS>  └─┬<EMAIL_ADDRESS>    └──<EMAIL_ADDRESS>
Do I actually need to install this peer dependency? If this is to do with the internal workings of wonka, I think urql should just explicitly require it, no? And if this is something I should install myself, it should probably be documented.

You don't need to install this and I basically forgot to remove this peer dependency from bs-rebel. It'll be fixed in the next release but feel free to ignore it for now 👍


Featured Posts Migration

To get version 1.3 up and running you'll need to apply database migrations in order to add new columns to the Blogifier tables. You may find this useful if you're struggling with the commands.
My project structure is:
-PBSB_Core (startup project which depends on Blogifier.Core)
-Blogifier.Core
This is the PowerShell command I ended up using in order to apply the FeaturedPosts migration to the development database:
Update-Database -Migration FeaturedPosts -Project Blogifier.Core -StartupProject PBSB_Core -Context BlogifierDbContext
Cheers,
Simon

You actually should be prompted to run migration by clicking a button when get to website first time after upgrade. May not work for some reason in your case.

I'm certain that it's my fault, but I couldn't figure it out.
It's not a big deal - I just wanted to make sure that there was a searchable workaround out there in case anyone else ran into problems.


Add fixtures to pooch.fetch more image data from GIN

Adds fixtures to fetch newly added image data from GIN, as discussed in https://github.com/brainglobe/brainglobe-utils/pull/74#issuecomment-2144383713 - hope this helps... as a sketch at least. Improvements welcome, as are general thoughts on how we should organise test data for all BrainGlobe tools (zulip discussion, meta-issue: https://github.com/brainglobe/BrainGlobe/issues/5)

Closing this as this actually belongs in cellfinder repo.


[8 weeks] Add Animal Groups

Allow groups of animals to be created:

Groups are given a name and description. [Day 1]
Animals can belong to multiple groups. [Day 1]
When creating or editing an animal, there should be a dropdown to assign it to a group. [Day 1]
Similarly, when editing a group there should be a mini-editor to easily add/remove animals to and from the group. [Days 2 and 3, if we go with this]
Ideally there should also be two specialised tools, one for manual mass assignment/deassignment, and one for automated mass assignment. [Days 4 to 8]

Manual mass assignment:

Things like "Add/Remove all animals born between two dates"; "Add only Cows"; "Add anything but Cows", etc.
Allow these rulesets to be composed together before performing the action.

Automatic mass assignment:

Similar to manual assignment, where you can compose different rules together (multiple rulesets should be able to be composed for a single group).
When a new ruleset is added, all current animals (that aren't dead/sold/whatever) will be checked to see if they match the ruleset, and if they do, then they are added. (Or maybe we have a button for this)
After an animal is created, all rulesets from all groups will be checked to see if it should be added to these groups.
A complication occurs when an automatic ruleset adds an animal, but it is manually removed from the group. There needs to be a form of tracking in place to prevent the animal from being auto-added again. The UI should also list these animals being blocked from being added.
Accidental or malformed rulesets can be undone via the manual mass unassignment, it's just a bit annoying.

Other(Days 9 to 14):

Once an animal reaches 'end of system' (dies, sold, out of our care for a while, etc.) then it should be removed from all of it's groups automatically. Even better would to add a toggle option on groups on whether this behaviour should be performed or not.
Groups can either be archived and/or deleted, depending on needs. Archiving prevents any animals from being added or removed from the group, which also means automatic rulesets stop working. Any other various functions that can be performed on groups should also stop functioning.
Archived groups should be hidden behind a checkbox on it's index page. It shouldn't show up at all in dropdowns. It should get special styling everywhere else to indicate that it is no longer useable.
Unarchiving could be desirable, but is not a priority for release.
Life event entries should be able to be applied to all animals in a group. This should actually be really easy... should with the way I've designed life events.

Don't ask. Just don't:
SELECT "Animals".*, "MapLifeEventEntryToAnimals".*, "LifeEventEntries".*, "LifeEvents".*, "LifeEventDynamicFieldValues".*, "LifeEventDynamicFieldInfo".*
FROM "Animals"
INNER JOIN "MapLifeEventEntryToAnimals"
	ON "MapLifeEventEntryToAnimals"."AnimalId" = "Animals"."AnimalId"
	INNER JOIN "LifeEventEntries"
		ON "LifeEventEntries"."LifeEventEntryId" = "MapLifeEventEntryToAnimals"."LifeEventEntryId"
		INNER JOIN "LifeEvents"
			ON "LifeEvents"."LifeEventId" = "LifeEventEntries"."LifeEventId"
		INNER JOIN "LifeEventDynamicFieldValues"
			ON "LifeEventDynamicFieldValues"."LifeEventEntryId" = "LifeEventEntries"."LifeEventEntryId"
			INNER JOIN "LifeEventDynamicFieldInfo"
				ON "LifeEventDynamicFieldInfo"."LifeEventDynamicFieldInfoId" = "LifeEventDynamicFieldValues"."LifeEventDynamicFieldInfoId"
WHERE
	((    "LifeEvents"."Name" = 'Born'
	  AND "LifeEvents"."Flags" & 2 = 2
	  AND "LifeEventEntries"."LifeEventId" = "LifeEvents"."LifeEventId"
	  AND "LifeEventDynamicFieldValues"."LifeEventEntryId" = "LifeEventEntries"."LifeEventEntryId"
	  AND ("LifeEventDynamicFieldValues"."Value"::json->>'v')::timestamp with time zone < '01/01/2020'::timestamp
	 ))
;

tbh I just need to finish the UI for the list of automated scripts, and then this'll be just barely useable. Any other QoL addtions or tweaks or whatever will come from Andy's feedback.

Closed by 061399b3e12497dfffa2951ba149fa22c205e4ce


define allowable values for 'lifetime'

TODO: Need to define lifetime settings we will allow: block, session, contract are all viable options.

TODO: Need to define lifetime settings we will allow: block, session, contract are all viable options.

Waiting for a review of the URef economics doc prepared by @AlexanderLimonov

Some rough notes from yesterday:
- Grandfather all urefs
- Minimum granted permission could expire after session ends
- If you create uref and pass it to my context it's put to my access rights, but if I dont put in named keys I dont retain it
- minimum expiration: current session, intentional minimum
- intermediary: era boundary, grant a uref, effectively copy
  - block: lives longer than session, less than block
- maximum: forever (only for grandfathering; hard to estimate how much will be "forever")
- URefs must specify how long they will live
- renew uref: there must be way to renew it
- expire uref: subject to future collection
- When I give you URef I'm associating a lifetime with it

Unassigning @mpapierski as he switches to other tasks.

Moving back to new issues for triage.

As per Michal's input, this is related to uref proliferation epic and may not be done for 2.0.0. Moving it back to triage for confirmation before closing.


Why do I get superlinter errors locally that I don't get from the github actions?

FEATURE REQUEST
Inspiration
When I run superlinter locally, I get these errors:
2023-09-29 15:59:27 [INFO]   File:[/tmp/lint/DataRepo/example_data/testing_data/accucor_with_multiple_labels/accucor_bad_label.xlsx]
2023-09-29 15:59:27 [ERROR]   Found errors in [editorconfig-checker] linter!
2023-09-29 15:59:27 [ERROR]   This file should have failed test case!
2023-09-29 15:59:27 [ERROR]   Error code: 0. Command output:
------
2023-09-29 15:59:52 [INFO]   File:[/tmp/lint/DataRepo/example_data/testing_data/accucor_with_multiple_labels/accucor_bad_label.xlsx]
2023-09-29 15:59:52 [ERROR]   Found errors in [gitleaks] linter!
2023-09-29 15:59:52 [ERROR]   This file should have failed test case!
2023-09-29 15:59:52 [ERROR]   Error code: 0. Command output:
------
2023-09-29 16:01:43 [INFO]   File:[/tmp/lint/DataRepo/example_data/small_dataset/small_obob_maven_6eaas_inf_glucose_2.xlsx]
2023-09-29 16:01:44 [ERROR]   Found errors in [jscpd] linter!
2023-09-29 16:01:44 [ERROR]   Error code: 1. Command output:
------
Error: ENOTDIR: not a directory, scandir '/tmp/lint/DataRepo/example_data/small_dataset/small_obob_maven_6eaas_inf_glucose_2.xlsx'
    at Object.readdirSync (node:fs:1420:3)
    at readdir (/node_modules/@nodelib/fs.scandir/out/providers/sync.js:37:31)
    at Object.read (/node_modules/@nodelib/fs.scandir/out/providers/sync.js:10:12)
    at SyncReader.scandirSync [as _scandir] (/node_modules/@nodelib/fs.scandir/out/index.js:16:17)
    at SyncReader._handleDirectory (/node_modules/@nodelib/fs.walk/out/readers/sync.js:28:34)
    at SyncReader._handleQueue (/node_modules/@nodelib/fs.walk/out/readers/sync.js:23:18)
    at SyncReader.read (/node_modules/@nodelib/fs.walk/out/readers/sync.js:15:14)
    at SyncProvider.read (/node_modules/@nodelib/fs.walk/out/providers/sync.js:11:29)
    at ReaderSync.walkSync [as _walkSync] (/node_modules/@nodelib/fs.walk/out/index.js:18:21)
    at ReaderSync.dynamic (/node_modules/fast-glob/out/readers/sync.js:13:21) {
  errno: -20,
  syscall: 'scandir',
  code: 'ENOTDIR',
  path: '/tmp/lint/DataRepo/example_data/small_dataset/small_obob_maven_6eaas_inf_glucose_2.xlsx'
}
------
2023-09-29 16:02:00 [INFO]   File:[/tmp/lint/DataRepo/example_data/testing_data/accucor_with_multiple_labels/accucor_bad_label.xlsx]
2023-09-29 16:02:01 [ERROR]   Found errors in [jscpd] linter!
2023-09-29 16:02:01 [ERROR]   This file should have failed test case!
2023-09-29 16:02:01 [ERROR]   Error code: 0. Command output:
------
2023-09-29 16:05:17 [INFO]   File:[/tmp/lint/.github/pull_request_template.md]
2023-09-29 16:05:18 [ERROR]   Found errors in [markdownlint] linter!
2023-09-29 16:05:18 [ERROR]   Error code: 1. Command output:
------
/tmp/lint/.github/pull_request_template.md:49:1 MD007/ul-indent Unordered list indentation [Expected: 0; Actual: 2]
/tmp/lint/.github/pull_request_template.md:50:1 MD007/ul-indent Unordered list indentation [Expected: 0; Actual: 2]
/tmp/lint/.github/pull_request_template.md:51:1 MD005/list-indent Inconsistent indentation for list items at the same level [Expected: 2; Actual: 0]
/tmp/lint/.github/pull_request_template.md:56:1 MD007/ul-indent Unordered list indentation [Expected: 0; Actual: 2]
/tmp/lint/.github/pull_request_template.md:57:1 MD007/ul-indent Unordered list indentation [Expected: 0; Actual: 2]
/tmp/lint/.github/pull_request_template.md:58:1 MD007/ul-indent Unordered list indentation [Expected: 0; Actual: 2]
/tmp/lint/.github/pull_request_template.md:59:1 MD005/list-indent Inconsistent indentation for list items at the same level [Expected: 2; Actual: 0]
/tmp/lint/.github/pull_request_template.md:64:1 MD007/ul-indent Unordered list indentation [Expected: 0; Actual: 2]
/tmp/lint/.github/pull_request_template.md:65:1 MD007/ul-indent Unordered list indentation [Expected: 0; Actual: 2]
/tmp/lint/.github/pull_request_template.md:66:1 MD007/ul-indent Unordered list indentation [Expected: 0; Actual: 2]
------
2023-09-29 16:11:52 [ERROR]   ERRORS FOUND in EDITORCONFIG:[1]
2023-09-29 16:11:52 [ERROR]   ERRORS FOUND in GITLEAKS:[1]
2023-09-29 16:11:52 [ERROR]   ERRORS FOUND in JSCPD:[2]
2023-09-29 16:11:52 [ERROR]   ERRORS FOUND in MARKDOWN:[1]
2023-09-29 16:11:52 [FATAL]   Exiting with errors found!

Description
Do other people get these errors when running superlinter locally? If not, how are you calling it?  I'm calling it with:
docker run --pull=always -e 'FILTER_REGEX_EXCLUDE=(\.pylintrc|migrations|static\/bootstrap.*|.*templates\/DataRepo\/search\/downloads\/download_.*\.tsv)' -e LINTER_RULES_PATH=/ -e IGNORE_GITIGNORED_FILES=true -e RUN_LOCAL=true -v /Users/rleach/PROJECT-local/TRACEBASE/tracebase/:/tmp/lint github/super-linter:slim-v4.9.4

Alternatives
None
Dependencies
None
Comment
None

ISSUE OWNER SECTION
Assumptions

List of assumptions that the code will not explicitly address/check
E.g. We will assume input is correct (explaining why there is no validation)

Limitations

A list of things this work will specifically not do
E.g. This feature will only handle the most frequent use case X

Affected Components

change: File path or DB table ...
add: Environment variable or server setting
delete: External executable or cron job

Requirements

[ ] 1. List of numbered conditions to be met for the feature
[ ] 2. E.g. Every column/row must display a value, i.e. cannot be empty
[ ] 3. Numbers for reference & checkboxes for progress tracking

DESIGN
Interface Change description

None provided
Code Change Description

None provided
Tests

[ ] 1. A description of at least one test for each requirement above.
[ ] 2. E.g. Test for req 2 that there's an exception when display value is ''
[ ] 3. Numbers for reference & checkboxes for progress tracking

This is due to "bad" being in the filename.  It's a known bug in the linters.


Error: The "422 Unprocessable Entity" error is displayed on the console after signing up/signing in

Steps to reproduce:

Sign up or sign in to the wallet
Pay attention to the error in the console

Actual result: The "422 Unprocessable Entity" error is displayed on the console after Signing up or signing in
Expected result: The "422 Unprocessable Entity" error should be displayed on the console after Signing up or signing in
Checked on DEV/QA V1.1.3-1
Desktop: Windows 10 // Google Chrome  85.0.4183.83

@serdiukov-o-nordwhale web3 credentials  mismatch?

@sirpy is 'https://w3.gooddollar.org' correct web3 site URL for dev instance?
I think it is a production instance, isn't it?
So the production instance won't respond successfully for dev tokens.

we are removing w3


Creating a new folder which is a substring of Shares leads to "Unknown Error"

Describe the bug
It appears that certain folder names result in an unknown error
Steps to reproduce
Steps to reproduce the behavior:
On a fresh installation, logged in as the admin:admin default user

I create a folder named "Share", and I receive an "Creating folder failed… Error: Unknown error".  The folder is in fact created when I refresh.
I then create a folder named "Testing123" and it creates just fine, along with most other different names.
I then create "Shar" and I get the error again.
Same with "Sha"

Expected behavior
I should be able to create this share.
Actual behavior
A clear and concise description of what happened.
Setup

    environment:
      - OCIS_INSECURE=false
      - OCIS_URL=https://ocis.mydomain.com:1234
      - OCIS_LOG_PRETTY=true
      - PROXY_TLS=false
      - IDP_LDAP_BIND_PASSWORD=idp
      - STORAGE_LDAP_BIND_PASSWORD=reva
      - OCIS_JWT_SECRET=Pive-Fumkiu4
      - STORAGE_TRANSFER_SECRET=replace-me-with-a-transfer-secret
      - OCIS_MACHINE_AUTH_API_KEY=change-me-please

Additional context

Output of the new test scenarios that I wrote in core PR https://github.com/owncloud/core/pull/39719 :
Feature: create file or folder named similar to Shares folder
  As a user
  I want to be able to create files and folders when the Shares folder exists
  So that I can organise the files in my file system

  Background:                                                                                # /srv/app/testrunner/tests/acceptance/features/apiWebdavProperties1/createFileFolderWhenSharesExist.feature:7
    Given the administrator has set the default folder for received shares to "Shares"            # OccContext::theAdministratorHasSetTheDefaultFolderForReceivedSharesTo()
    And auto-accept shares has been disabled                                                      # FeatureContext::autoAcceptSharesHasBeenDisabled()
    And these users have been created with default attributes and without skeleton files:         # FeatureContext::theseUsersHaveBeenCreatedWithDefaultAttributesAndWithoutSkeletonFiles()
      | username |
      | Alice    |
      | Brian    |
    And user "Alice" has created folder "/FOLDER"                                                 # FeatureContext::userHasCreatedFolder()
    And user "Alice" has shared folder "/FOLDER" with user "Brian" with permissions "read,update" # FeatureContext::userHasSharedFileWithUserUsingTheSharingApi()
    And user "Brian" has accepted share "/FOLDER" offered by user "Alice"                         # FeatureContext::userHasReactedToShareOfferedBy()

  Scenario Outline: create a folder with a name similar to Shares         # /srv/app/testrunner/tests/acceptance/features/apiWebdavProperties1/createFileFolderWhenSharesExist.feature:19
    Given using <dav_version> DAV path                                    # FeatureContext::usingOldOrNewDavPath()
    When user "Brian" creates folder "<folder_name>" using the WebDAV API # FeatureContext::userCreatesFolder()
    Then the HTTP status code should be "201"                             # FeatureContext::thenTheHTTPStatusCodeShouldBe()
    And as "Brian" folder "<folder_name>" should exist                    # FeatureContext::asFileOrFolderShouldExist()
    And as "Brian" folder "/Shares" should exist                          # FeatureContext::asFileOrFolderShouldExist()
    Examples:
      | dav_version | folder_name |
      | old         | /Share      |
        folder '/Share' expected to exist for user Brian but not found
        Failed asserting that false is true.
      | old         | /shares     |
      | old         | /Shares1    |
        folder '/Shares1' expected to exist for user Brian but not found
        Failed asserting that false is true.
      | new         | /Share      |
        folder '/Share' expected to exist for user Brian but not found
        Failed asserting that false is true.
      | new         | /shares     |
      | new         | /Shares1    |
        folder '/Shares1' expected to exist for user Brian but not found
        Failed asserting that false is true.

  Scenario Outline: create a file with a name similar to Shares                                   # /srv/app/testrunner/tests/acceptance/features/apiWebdavProperties1/createFileFolderWhenSharesExist.feature:35
    Given using <dav_version> DAV path                                                            # FeatureContext::usingOldOrNewDavPath()
    When user "Brian" uploads file with content "some text" to "<file_name>" using the WebDAV API # FeatureContext::userUploadsAFileWithContentTo()
    Then the HTTP status code should be "201"                                                     # FeatureContext::thenTheHTTPStatusCodeShouldBe()
    And the content of file "<file_name>" for user "Brian" should be "some text"                  # FeatureContext::contentOfFileForUserShouldBe()
    And as "Brian" folder "/Shares" should exist                                                  # FeatureContext::asFileOrFolderShouldExist()
    Examples:
      | dav_version | file_name |
      | old         | /Share    |
      | old         | /shares   |
      | old         | /Shares1  |
        HTTP status code 409 is not the expected value 201
        Failed asserting that 409 matches expected '201'.
      | new         | /Share    |
      | new         | /shares   |
      | new         | /Shares1  |
        HTTP status code 409 is not the expected value 201
        Failed asserting that 409 matches expected '201'.

  Scenario Outline: try to create a folder named Shares             # /srv/app/testrunner/tests/acceptance/features/apiWebdavProperties1/createFileFolderWhenSharesExist.feature:51
    Given using <dav_version> DAV path                              # FeatureContext::usingOldOrNewDavPath()
    When user "Brian" creates folder "/Shares" using the WebDAV API # FeatureContext::userCreatesFolder()
    Then the HTTP status code should be "405"                       # FeatureContext::thenTheHTTPStatusCodeShouldBe()
    And as "Brian" folder "/Shares" should exist                    # FeatureContext::asFileOrFolderShouldExist()
    And as "Brian" folder "/Shares/FOLDER" should exist             # FeatureContext::asFileOrFolderShouldExist()
    Examples:
      | dav_version |
      | old         |
        HTTP status code 201 is not the expected value 405
        Failed asserting that 201 matches expected '405'.
      | new         |
        HTTP status code 201 is not the expected value 405
        Failed asserting that 201 matches expected '405'.

  Scenario Outline: try to create a file named Shares                                         # /srv/app/testrunner/tests/acceptance/features/apiWebdavProperties1/createFileFolderWhenSharesExist.feature:63
    Given using <dav_version> DAV path                                                        # FeatureContext::usingOldOrNewDavPath()
    When user "Brian" uploads file with content "some text" to "/Shares" using the WebDAV API # FeatureContext::userUploadsAFileWithContentTo()
    Then the HTTP status code should be "409"                                                 # FeatureContext::thenTheHTTPStatusCodeShouldBe()
    And as "Brian" folder "/Shares" should exist                                              # FeatureContext::asFileOrFolderShouldExist()
    And as "Brian" folder "/Shares/FOLDER" should exist                                       # FeatureContext::asFileOrFolderShouldExist()
    Examples:
      | dav_version |
      | old         |
      | new         |

Those tests all pass in core oC10.

creating a folder with a name shorter or longer than Shares fails.
creating a file with a name longer than Shares fails. (a shorter file name, like Share seems to be ok!)
trying to create a folder Shares returns 201 status, but Shares already exists, and in that case oc10 returns 405. So oCIS  should really also return 405.

hrmpf, great find. There are some places in the ocdav handler where we assemble a user namespace based on the mountpath of spaces. There is some back and forth prefix matching to determine how space mountpoints affect the filelisting. I bet there is a bug in there ...  @kobergj and I wrote that code but it will take some time (as in days) before I can take a look.

@kobergj @phil-davis please confirm this is fixed, then we can close the issue :-)

Yes. This is fixed. I'll close the issue

Looks good. Sha, Share, Shareszzz etc. all work now.
I can still create Shares - and the folder is created in the user's personal space.
$ curl -u brian:B123 -vk -X MKCOL  https://localhost:9200/remote.php/dav/files/brian/Shares
But then an attempt to create a sub-folder fails:
$ curl -u brian:B123 -vk -X MKCOL  https://localhost:9200/remote.php/dav/files/brian/Shares/sub-folder
HTTP/1.1 409 Conflict
<d:error xmlns:d="DAV" xmlns:s="http://sabredav.org/ns"><s:exception>Sabre\DAV\Exception\Conflict</s:exception><s:message>intermediate collection does not exist</s:message></d:error>

That happens if Brian has received a share from someone else. Brian has a "pseudo-folder" called "Shares". A PROPFIND lists the pseudo-folder and shows the shares inside it. The "real" Shares folder that brian created cannot be accessed this way.
That is a separate "challenge" - there is this pseudo-folder called "Shares" that "appears" in the Personal name space, but is actually a "pointer" to the incoming received shares.

@phil-davis with webdav old and new we cannot create Shares folder in Personal Space but with webdav spaces we can create it.
With old and new webdav
for example: using old webdav
curl -u marie:radioactivity -vk -X MKCOL https://host.docker.internal:9200/remote.php/dav/files/marie/Shares

Response:
<?xml version="1.0" encoding="UTF-8"?>
* Connection #0 to host host.docker.internal left intact
<d:error xmlns:d="DAV" xmlns:s="http://sabredav.org/ns"><s:exception>Sabre\DAV\Exception\MethodNotAllowed</s:exception><s:message>The resource you tried to create already exists</s:message></d:error>

With spaces webdav
Response:
> MKCOL /dav/spaces/1284d238-aa92-42ce-bdc4-0b0000009157$f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c/Shares HTTP/1.1
> Host: host.docker.internal:9200
> Authorization: Basic bWFyaWU6cmFkaW9hY3Rpdml0eQ==
> User-Agent: curl/7.68.0
> Accept: */*
>
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* Mark bundle as not supporting multiuse
< HTTP/1.1 201 Created
< Access-Control-Allow-Origin: *
< Content-Length: 0
< Content-Security-Policy: default-src 'none';
< Date: Tue, 26 Jul 2022 08:57:24 GMT
< X-Content-Type-Options: nosniff
< X-Download-Options: noopen
< X-Frame-Options: SAMEORIGIN
< X-Permitted-Cross-Domain-Policies: none
< X-Robots-Tag: none
< X-Xss-Protection: 1; mode=block

shall we reopen this issue or create new since this issue seems to be related to substring for the Shares folder?

@SagarGi yes, please create a separate issue for the things that are still "unusual" or not correct.
Then people can comment about exactly what should and should not be possible.


feat: some optimize

📑 Description
Closes goravel/goravel/issues/480
Closes goravel/goravel/issues/481
Closes goravel/goravel/issues/325

Summary by CodeRabbit
Summary by CodeRabbit

New Features

Introduced a benchmarking workflow for Go applications to monitor performance during CI/CD processes.
Added a vulnerability check workflow for Go modules to enhance security.
Improved session management efficiency through the implementation of a session pool.
Added methods for resetting sessions and setting driver and JSON instances in the session management structure.

Bug Fixes

Enhanced error handling in the session manager's Extend method.

Documentation

Improved test suite organization and introduced setup/teardown methods for better management.

Chores

Updated Go module version from 1.21 to 1.22 for improved compatibility and features.

✅ Checks

[x] Added test cases for my code

@hwbrzzl nilaway returned too many errors, are you sure you want to add it?

@devhaozi Yes, we can add it, and solve the errors in another PR.

And we can remove this line:

We also need to change the driver name for goravel/goravel.

FYI, please pin me when this PR is ready.

Already prepared.


fix compile for SocketIoReadableNativeMap

closes gcrabtree/react-native-socketio#8
corrects the following error:

constructor ReadableNativeMap in class ReadableNativeMap cannot be applied to given types

making this change manually in my local node_modules/react-native-socketio directory corrected the issue.

Review this please

@gcrabtree, is this project still maintained?

@gcrabtree, I take it this is not maintained anymore. Care to give this up to someone else do they can maintain it?

👍

@gcrabtree, I take it this is not maintained anymore. Care to give this up to someone else so they can maintain it?

Anybody willing to take this project on? I don't dabble enough in mobile to justify it.

I know this is a bit old now but there are a few forks with work done, such as

https://github.com/naviocean/react-native-socketio
https://github.com/Shipmetrics/react-native-socketio

Perhaps would it be better to recreate PRs over there ?

closing this so it's not on my dashboard anymore. i take it it won't get merged. might not be relevant anymore as well.


MongoDB Array Changes not stored Probably

If we have a Schema like
{
   "username":"name",
   "friends":[
      {
         "id":1,
         "name":"friend One"
      },
      {
         "id":2,
         "name":"friend Two"
      }
   ]
}

Now we are updating friend 2
Schema
{
   "username":"name",
   "friends":[
      {
         "id":1,
         "name":"friend One"
      },
      {
         "id":2,
         "name":"friend One"
      }
   ]
}

historyLogs entry
{
   "changes":[
      {
         "from":"friend Two",
         "to":"friend One",
         "path":"friends.name",
         "ops":"Updated",
         "label":"Name"
      }
   ]
}

But where I know which friend was updated? Both names are identically, so reverse lookup isn't available too.
So if the parent type is a Array Like type, the child property must have like an ID or an index.

new feature add.


Chore: Add dependabot configuration

Overview

Introduces dependabot configuration.
Screen Captures

References

https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

Notes

I purposely set the interval to daily to get quick feedback. Once we get used to it, we can set it to either weekly or monthly
If we receive too many PRs, consider adding groups option

Assignee Checklist:

[x] The naming convention of the PR title is correct (See the comment at the top of this template)
[x] The base branch is correct (See: Types of Branches)
[x] The branch name follows the Branch Naming Conventions
[x] The correct assignees and reviewers have been designated for this PR
[x] The coding style follows the Coding Style Guide
[x] All the related issues are associated with this PR
[x] All criteria in the associated issues are met (please tick the checkboxes)
[x] My changes do not generate new warnings or errors (especially in the console)

Reviewer Checklist:

[ ] Double-check the "Assignee Checklist"
[ ] The code follows the generic best practices and our Coding Style Guide
[ ] The code is well-commented and easy to understand
[ ] The UI changes accurately reflect the provided design

@kanta1207 @ShoeheyOt cc @kotaaaa
Could you review this PR when you have a moment, please?

@kanta1207
Thank you for your review 😊


Rename SimpleIntEncodedValue to UnsignedIntEncodedValue

Fixes #1619 via renaming.
Supporting negative values is doable but introduces further complexity and overhead in the EncodedValue classes which I wouldn't want to do. At least not now, as the most use cases what to store per edge should be positive.

ups, wrong base branch


evaluating with error " died with <Signals.SIGSEGV: 11>."

After predicting labels of validation set,I use
 with open(os.devnull, 'w') as devnull:         out = subprocess.check_output([script, results_path.replace('/data', '')], stderr=devnull)
to load the file in path "data/kitti_split1/devkit/cpp/evaluate_object" .
However,there is an error below:
<ipython-input-5-9b215e94f907> in test_kitti_3d_back(dataset_test, test_split, rpn_conf, results_path, test_path, use_log)
----> 9         out = subprocess.check_output([script, results_path.replace('/data', '')], stderr=devnull)
     10
     11     for lbl in rpn_conf.lbls:

~/anaconda3/lib/python3.7/subprocess.py in check_output(timeout, *popenargs, **kwargs)
    393
    394     return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
--> 395                **kwargs).stdout
    396
    397

~/anaconda3/lib/python3.7/subprocess.py in run(input, capture_output, timeout, check, *popenargs, **kwargs)
    485         if check and retcode:
    486             raise CalledProcessError(retcode, process.args,
--> 487                                      output=stdout, stderr=stderr)
    488     return CompletedProcess(process.args, retcode, stdout, stderr)
    489

CalledProcessError: Command '['/home/coolguy/Project/D4LCN/data/kitti_split1/devkit/cpp/evaluate_object', 'output/tmp_results']' died with <Signals.SIGSEGV: 11>.

How can i fix it to get the correct evaluate results? Thanks.

Hi,
Your predictions may be problematic, the most likely cause is the w, h, l > 0 rule.
You can check your predictions first, or you can print the index in the evaluate_object.cpp and re-build the .cpp file to locate where the bug is.
Thanks.

Thanks for your kind reply.It is true.I find that predictions of some values exists Nan casuing this problem! When i fix it ,the error disappears.


[ADDING FOOTER] Adding Footer in a modern way to attract users and standout ✨

Hello @muruga21 i would like to add footer in this project. Assign me this task under gssoc-ext and hacktoberfest so that i can start working immediately

@iamendless10 some one is already working on the footer.. if they cant complete the work.. i will assign it to you.. i hope you understand..
Thanks


Provide an example for DRF

Hello,
I am newbie with django rest framework, and I wanted to implement notification with REST API to my app, but I am having difficult in doing so, and I couldn't find any tutorial to guide me,
and I need help, thanks.

if you study https://github.com/expo/expo-server-sdk-python#usage and the source code you'll see that you need an async task in your drf api that will send out the pn. Ask follow up questions with code samples if still unclear.

Closing this due to inactivity. If there is interest, we can reopen this issue


Adding logo, hides part of the qr code

When I add logo, it hides the middle part of the qr code. Is there a way to handle this?

Same here, I'll look for a workaround

The way it works for me is setting a high level of correction and having a small logo.

Hi @syntaxgirl the logo indeed overlaps part of the QR code. What exactly is your expected behavior?

@syntaxgirl it shouldn't be an issue to add an image.logo that obscures part of the QR code due to error correction. See https://en.wikipedia.org/wiki/QR_code#Error_correction
You can check out https://fussyfork.com and the QR codes we generate with our logo in the middle and they scan just fine.
I'd be happy to share the calculation we're using to adjust the size so that the logo sits neatly in the middle without overlapping a portion of a block should that be useful to you?


Preparing rustBoot training curriculum.

[ ] Prepare a basics of rust programming slide deck for rust beginners
[ ] Prepare a hands-on rust programming curriculum for rust beginners
[ ] Prepare a hands-on exercise to use rust in embedded systems software development
[ ] Prepare a hands-on session to walk-through arustBoot integration.

Acknowledge.

Acknowledged.

Acknowledged.


[ZEPPELIN-5463] Introduce flink jm url template configuration

What is this PR for?
Introduce configuration zeppelin.flink.uiWebUrl as user specified job manager url, it could be used in 2 cases:

remote mode: where flink cluster is started already, so that job manager url is know
yarn/yarn-application mode: user can only access knox url or other vendor provided url.

The usage of zeppelin.flink.uiWebUrl is consistent with zeppelin.spark.uiWebUrl
What type of PR is it?
[ Improvement ]
Todos

[ ] - Task

What is the Jira issue?

https://issues.apache.org/jira/browse/ZEPPELIN-5463

How should this be tested?

Manually tested

Screenshots (if appropriate)
Questions:

Does the licenses files need update? No
Is there breaking changes for older versions? No
Does this needs documentation? No

Will merge if no more comment


Fix two typos and ease curl copy pasta

how is there a conflict? @avnerbraverman did you just push some of the changes discussed here directly to master without a PR?!?
I see https://github.com/binaris/functions-examples/commit/56ded0ee4917d36a6171a7497d864a12ba27e670
yet https://github.com/binaris/functions-examples/pulls?utf8=✓&q=is%3Apr+ has no record of it. This is not how we handle code. It must be reviewed first.

@rylandg please take another look


Augment bad connection management

Fixes #455
This set of changes primarily does 3 things:

Changes the "bad" connection indicator to be something that can be atomically managed.
Sets the connection to be "bad" in every place that isBadConn(err) says that the connection is bad.
Augments the OracleError type to have a Bad() method so that oracle error codes indicating that the connection is invalid are stored in one place.

@sijms How does this look?
Do you need anything in order to evaluate effectiveness, tests, or anything?

Yes it is ok
thank you for your help


Faster JSON encoding

Is your feature request related to a problem? Please describe.
Are there official benchmarks / performance tests?
For applications with millions of logs per day, JSON encoding speed and garbage collection pauses becomes relevant.
Describe the solution you'd like
Automated performance tests should be part of official releases to make regressions visible.
It should compare the throughput for different data formats like CBOR and Smile and using Afterburner.
Describe alternatives you've considered
Most people don't use all Jackson features, so for example https://github.com/alibaba/fastjson2 could be a much faster alternative for them.
Additional context
https://github.com/alibaba/fastjson2/wiki/fastjson_benchmark

Regarding support for non-jackson serializers, see this answer.
There are no official benchmarks or performance tests or plans to develop them.   I don't have the time or resources to maintain them.  If you notice specific performance problems, please file issues with a reproducible scenario.


[ScrollArea]: Add option to always scroll the only enabled direction

Add option to use the scroll input from both directions to scroll the enabled direction if scrolling is enabled for only one direction. This can be used to allow horizontal scrolling without pressing shift if vertical scrolling is disabled.
Closes https://github.com/emilk/egui/issues/3624.

Do you really want to hav this setting for eah ScrollArea? Seems like this would make more sense as a global option in Style


The Web API link at the end of this page results in a 404

The last link in the last paragraph says it will take me to the Web API document for sending attachments, but it doesn't. It results in a 404 page
https://sendgrid.com/docs/API_Reference/Web_API_v3/Mail/index.html
Expected content
Actual content
Link to page: https://sendgrid.com/docs/ui/sending-email/attachments-with-digioh/

Hi @gregveres,
Please use this API reference going forward: https://sendgrid.com/docs/api-reference/


Browser's bundle error: 'useCaseSensitiveFileNames' owner is undefined

More info:
into diagnostics.js
exports.defaultFormatDiagnosticsHost = {
    getCurrentDirectory: function () { return ts.sys.getCurrentDirectory(); },
    getNewLine: function () { return ts.sys.newLine; },
    getCanonicalFileName: ts.createGetCanonicalFileName(ts.sys.useCaseSensitiveFileNames) // <-- ts.sys is undefined
};

ts object dump:

This simply adds a sys implementation for the browser. I didn't test this, and it can probably be improved a lot, but the necessary infrastructure should be there now!

It seems this issue resolved, but I have another one. Compiler object not present in global space:
Window object dump:

And after last refactoring the issue was back!

ok. And can you check browser compatibility after all that changes? It seems Compiler object not present in global scpace, but Binaryen, ts and others are exists

That one should be there now.

Unfortunately problem still exists. I'm using react.js + babal and when I try importing bundle as module I catch memory fault: "FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory", It seems file is huge for babel processing. So I decide include bundle as ordinal script but I have problem with global visibility =(

Going to wrap everything in an index file now, so there'll be a single global assemblyscript that holds all the things.

I assume running this through babel or any other transpiler isn't a good fit, btw. Both typescript and binaryen are rather huge compiled and minified dependencies. That's also one of the reasons why webpack doesn't work properly here (for instance, this is not building typescript from source but bundling the npm package that provides a prebuilt js file).

Yep! Now it works!
I thought about splitting as and typescript as well, but have the same reason as you, so I understand this is not possible yet.


doc set is initialised

Docs Build status updates of commit d3d23e8:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

docs/index.yml
:x:Error

Details

docs/index.yml

Line 3, Column 1: [Error: missing-attribute] Missing required attribute: 'landingContent'.
Line 5, Column 8: [Error: unknown-field] Could not find member 'brand' on object of type 'String'.
Line 14, Column 3: [Error: unknown-field] Could not find member 'highlightedContent' on object of type 'Object'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


rename theta to angle

renames theta to angle

two advantages:

angle is more explicit than theta
in gdsfactory we use angle, so it's easier not to add new concepts

what do you think?

I don't want to constantly break the API and rewrite it ;). I am fine with doing it once more, but then we need to do other stuff as well. E.g. waveguide is called straight in gdsfactory, which I guess makes sense.
If we constantly break the API, I always have to halt our internal projects and backpatch them and then tell everybody to update kfactory.


Date picker not showing today and tomorrow day.

Datepicker isnt showing today and tomorrrow date. and previous date dayname is also wrong.
today date is 19 Mar.

i got same problem whats the issue is this?

Yes this is the issue appearing my side too.. please help.

@parkarta I also didn't find any solution till now.

where is @nasirlordno1 any guide??

where is @nasirlordno1 any guide??

no solution.I am also waiting for someone to answer.

Looks like the library is not prepared for leap years:
https://github.com/florent37/SingleDateAndTimePicker/blob/master/singledateandtimepicker/src/main/java/com/github/florent37/singledateandtimepicker/widget/SingleDateAndTimeConstants.java#L9

Same issue here. Any way to resolve the issue?

Downgrading to v2.1.4 fixes the issue for me.

Issue appears since 2.1.6. I am currently investigating and trying to provide a PR.

This issue can be closed now. Fixed in v2.2.1.


API Key not saving

I got an api key, but when I paste in the API Key field and type ai in the flow launcher field suddenly it says Unable to load the API key and the key disappears form the api field in flow launcher plugins settings.

Hi @TheStxfan, did you run the Save Settings command  after setting the API key? Just launch Flow Launcher, type Save Settings and tap enter.

Thank you so much @MichielvanBeers , typing Save Settings worked, but now there is another issue:

How can I fix it?

No problem! This error seems to be when you haven't connected any payment method yet to your OpenAI account. If you go here you should be able to resolve the issue. Good luck!

No problem! This error seems to be when you haven't connected any payment method yet to your OpenAI account. If you go here you should be able to resolve the issue. Good luck!

Thank you for the help but I couldn't find a way to connect a payment method without paying. Do I have to pay? If not, how can I connect it?

When using the API instead of the chat.openai.com webpage, you indeed have to pay for the number of Tokens that you use. When using the gpt-3.5-turbo model, this is significantly cheaper than ChatGPT Plus though. You can add a payment method here: https://platform.openai.com/account/billing/payment-methods.

When using the API instead of the chat.openai.com webpage, you indeed have to pay for the number of Tokens that you use. When using the gpt-3.5-turbo model, this is significantly cheaper than ChatGPT Plus though. You can add a payment method here: https://platform.openai.com/account/billing/payment-methods.

Ok, thank you so much again. I would prefer not to pay. But that's not your problem of course.
Thank you!


docs: fix typo

Fix typo
Description: A period is missing between instances and Having, click here for details.
Snapshot:

I've already added a period, but why it still doesn't work in the Deploy Preview? Is this caused by the VitePress configuration or the Markdown syntax of VitePress?

Can you fix it in the source code please? This is generated

OK, I got it, I will fix it.

Can you fix it in the source code please? This is generated

Actually, I've changed it in the source code before I open this PR. Seems to be a Netlify deployment issue? Because everything worked fine in the dist got after I executed pnpm run docs:build locally. Finally, I executed pnpm run docs:preview, it also works.
I'm sorry I can't fix this problem because I can't (or I just don't know how to) debug in a cloud service environment like the Netlify Deploy. Please feel free to enlighten me.
Here's the screenshot of my local preview:

I see, thank you. In that case it will appear in the next deployment


Hope this helps

#Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

@Katerbug1984 is there a particular bug that you are reporting? Add detail to the prompts provided and we can address the bug you found. Thanks!

Closing this issue as it has no description or information on what issue to address. @Katerbug1984 please open a new issue with a complete description for any item you find.


protocol: Remove hardcoded page size

Summary of the PR
The hardcode of 4096 only works well on kernel with CONFIG_ARM64_4K_PAGES=y,when the kernel's config is CONFIG_ARM64_64K_PAGES=y,vfio-user works fail.
Requirements
Before submitting your PR, please make sure you addressed the following
requirements:

[x] All commits in this PR are signed (with git commit -s), and the commit
message has max 60 characters for the summary and max 75 characters for each
description line.
[x] All added/changed functionality has a corresponding unit/integration
test.
[ ] All added/changed public-facing functionality has entries in the "Upcoming
Release" section of CHANGELOG.md (if no such section exists, please create one).
[x] Any newly added unsafe code is properly documented.

@sameo Please review this patch.
Thank you.

Please fix the quality checks and update your commit.

Please fix the quality checks and update your commit.

@rbradford Fixed


Google PaLM (or PalM 2)

Please add Google's more powerful bots PalM or even better PaLM 2. I would be grateful.

Ok, I realize it is already there under Poe. Thanks to @josStorer


updated changelog

added the following entry to the changelog
15-09-2023
What's new

Updated circle radius on the map to interpolate between 8 and 0.8 based on zoom level
Feature layers on the map now have a cursor pointer when hovered over
OS copyright updated to specify Basemap contains OS data © Crown copyright and database rights
Zoom and centre now gets added to the url for the map, and when navigating back to the map page the map will be zoomed and centred to the previous location

Why was this change made?

Smaller circles on the map are easier to see
The cursor pointer makes it more obvious that the feature is clickable
To avoid people thinking that our data is owned by OS
To make it easier to share a specific location on the map

Looks great to me George


Gas Plants Option missing and chat message.

Operating System
Windows 10/11
Environment
Single Player
Game Version
Stable
SML Version
3.8.0
Mod Version
2.0.2
Describe the bug
Option to remove gas plants is not there. Also can you add an option to remove the annoying chat message when a script is not enabled.
Expected Behavior
Option to remove Gas Plants and chat message.
Attachments

I would prefer it was a separate option. Do you think you could also add one for the chat message?
Thank you for your work and time on the mod!

Alright, I've added both in RAA v2.0.3. Enjoy!


Small changes to array

Support chunks kwarg in to_hdf5
Simplify the Array repr (@shoyer this could use your input)

Now supporting chunks=None

:+1:


Add Wassim Seifeddine as Stakeholder

Add Wassim Seifeddine as Stakeholder

Hi Wassim. Technically your name should be busted just above Yuki Takei in the list of names. Would it be possible for you to move it?

@seabaylea Done

LGTM. Merging.


Fix app crashing when cancelling a task in offline mode

Details

Fixed Issues

$ https://github.com/Expensify/App/issues/31587
PROPOSAL: https://github.com/Expensify/App/issues/31587#issuecomment-1819893376
Tests

[X] Verify that no errors appear in the JS console

Launch app
Tap on profile---Preferences
Toggle on forced offline
Navigaye to LHN
Tap on task received on previous dates with greet dot
Tap on 3 dots on top right
Tap cancel
ensure that the "something went wrong" page is not shown

Offline tests

Launch app
Tap on profile---Preferences
Toggle on forced offline
Navigate to LHN
Tap on a task received on previous dates with greet dot
Tap on 3 dots on top right
Tap cancel
ensure that the "something went wrong" page is not shown

QA Steps

[x] Verify that no errors appear in the JS console

Launch app
Tap on profile---Preferences
Toggle on forced offline
Navigate to LHN
Tap on a task received on previous dates with greet dot
Tap on 3 dots on top right
Tap cancel
ensure that the "something went wrong" page is not shown

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] If we are not using the full Onyx data that we loaded, I've added the proper selector in order to ensure the component only re-renders when the data it is using changes

[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)

[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[x] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

Screenshots/Videos

Android: Native
https://github.com/Expensify/App/assets/59809993/cea0e95d-3dc0-48dd-bddc-93994f5caeda

Android: mWeb Chrome
https://github.com/Expensify/App/assets/59809993/f18e061f-d0b7-4d3f-af86-5b4a19044585

iOS: Native
https://github.com/Expensify/App/assets/59809993/6a6f3006-9bd8-4e4d-858b-cd55fa6a6e04

iOS: mWeb Safari
https://github.com/Expensify/App/assets/59809993/b5d04692-2691-48fc-bde4-12c627cb961c

MacOS: Chrome / Safari
https://github.com/Expensify/App/assets/59809993/15cfb9b4-c3f3-4d46-bfe4-208aaa91107e

MacOS: Desktop
https://github.com/Expensify/App/assets/59809993/77096677-205d-4e53-834b-95c86c524bd1

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to production by https://github.com/mountiny in version: 1.4.4-3 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


reflex-dom-0.1 does not compile

http://hydra.cryp.to/build/795333/log/raw

This should be fixed now with 0.1.1.


Add license to web client

Is the web client supposed to have the same license as the rest of the runtime, or another license?

It should have the same license (MIT + Apache 2)


Fix license header.

The license header was messed up (what is hPDB)?

It's because I stole it from other nascent project and forgot to change
that part.  I'm going to change to a BSD license first, though.
On 01/18/2012 10:50 AM, Paolo Capriotti wrote:

The license header was messed up (what is hPDB)?
You can merge this Pull Request by running:
git pull https://github.com/pcapriotti/Haskell-Pipes-Library fix-headers
Or you can view, comment on it, or merge it online at:
https://github.com/Gabriel439/Haskell-Pipes-Library/pull/4
-- Commit Summary --

Fix license header.

-- File Changes --
M Control/Pipe.hs (18)
M Control/Pipe/Common.hs (18)
-- Patch Links --
https://github.com/Gabriel439/Haskell-Pipes-Library/pull/4.patch
https://github.com/Gabriel439/Haskell-Pipes-Library/pull/4.diff

Reply to this email directly or view it on GitHub:
https://github.com/Gabriel439/Haskell-Pipes-Library/pull/4

Also, I realized I never really answered your question about exposing
the constructors.  My initial reasoning behind hiding the constructors
was (a) to see if Pipes could be explained and understood as a black box
and (b) to encourage people to solve problems using the existing
primitives.  By hiding the constructor, when people tell me that some
feature is not possible using the primitives I provide (as you did), it
makes it obvious what primitives I'm missing from the library and what
use cases I need to support in the next release.
On 01/18/2012 10:50 AM, Paolo Capriotti wrote:

The license header was messed up (what is hPDB)?
You can merge this Pull Request by running:
git pull https://github.com/pcapriotti/Haskell-Pipes-Library fix-headers
Or you can view, comment on it, or merge it online at:
https://github.com/Gabriel439/Haskell-Pipes-Library/pull/4
-- Commit Summary --

Fix license header.

-- File Changes --
M Control/Pipe.hs (18)
M Control/Pipe/Common.hs (18)
-- Patch Links --
https://github.com/Gabriel439/Haskell-Pipes-Library/pull/4.patch
https://github.com/Gabriel439/Haskell-Pipes-Library/pull/4.diff

Reply to this email directly or view it on GitHub:
https://github.com/Gabriel439/Haskell-Pipes-Library/pull/4


Sending unwanted request to the server for signup

Describe the bug
After the user clicks on the signup button will the required credentials, the signup button is still clickable which is causing it to send unwanted requests to the server
To Reproduce
Steps to reproduce the behavior:

Go to https://spendwise-seven.vercel.app/
Logout of your accounts (if logged in)
Click on signup button
Fill the form
Click on submit 'Signup'

Expected behavior
The button should be disabled and the cursor should be pointing as not allowed till the current sent request is responded by the server.
Screenshots

can you assign me this issue for KWOC23

@C0DE-SLAYER yeah sure

Hey! fixed the issue. Please check.

@C0DE-SLAYER are you working on this issue?

@C0DE-SLAYER are you working on this issue?

I was willing to work but as you you PR was open so I thought to skip it but seeing I will work on it and open a PR as soon as possible


Q: Navigate

It is possible to navigate on the nodes given the output data? The purpose for this it is to create a chatbot.
Thanks!

View example of export data in README. https://github.com/jerosoler/Drawflow/#export-example
Example of translate on the canvas: https://github.com/jerosoler/Drawflow/issues/88#issue-767398282
Not example with chatbox.
the community has done things: https://github.com/jerosoler/Drawflow/network/dependents?package_id=UGFja2FnZS0xMTI3NDI3NjA5