Remove space from checkbox label class list

What is the context of this PR?
Currently there is a space added at the end of checkbox label class lists when a custom class isn't specified
How to review
Compare this branch against master and see that space is removed after ons-checkbox__label in html

@rmccar Been discussing this and we're thinking of ditching the need to not have whitespace when classes aren't applied. It doesn't break standards and there is no performance hit

@rmccar Been discussing this and we're thinking of ditching the need to not have whitespace when classes aren't applied. It doesn't break standards and there is no performance hit

Yeah its a pretty low priority issue, its just something I find a bit annoying. I think it makes the code look untidy, especially in this case where we show it in examples to the user and its something thats pretty easy to fix

@rmccar Are you happy to close this? We don't want to cater for this anymore due to addition of logic that doesn't really solve any technical problems.

@rmccar Are you happy to close this? We don't want to cater for this anymore due to addition of logic that doesn't really solve any technical problems.

Ok yeah fair enough if thats the decision thats been made


Update the project scaffold for Svelte 5 (or explicitly stay with Svelte 4 while work on the v5 support)

Svelte 5 was recently released and it brings some changes in project structure and the way it is being generated. See failed Nightly CI job (https://github.com/o1-labs/zkapp-cli/actions/runs/11470447626/job/31919637353).
We either need to support new version or explicitly fallback to Svelte 4 and previous project generation steps.

The npm create svelte@latest ... have to changed to npx sv create ... (project.js).
E2E tests have to be updated accordingly (the sv has new and updated text options that we are relying on).

Or simply force the npm create<EMAIL_ADDRESS>... usage while work on the Svelte 5 support.

https://svelte.dev/blog/svelte-5-is-alive


Skip unit tests when the commit has been made by the bot

Done in commit: https://github.com/ORNL/flowcept/commit/95fb66b878d2a213407dc01f79d56c3cb7b8cfcd


Testing the new authoring feature

Adding a new static file
Automated submit by PRB0t

I'm testing #42. It doesn't appear to be working.


Make SupabaseQueryBuilder generic

PostgrestQueryBuilder is generic while it's descendant SupabaseQueryBuilder is not.
As a consequence the only available result type is dynamic while actually under the hood it's predominately List<Map<dynamic>> or even List<Map<String,dynamic>> which could be determined while debugging (though I have no idea what _JsonMap is).
Could it be implemented as generic? Moreover there is postgrest-dart 0.2 where PostgrestQueryBuilder is a descendant of Future (which is also generic).

Hi @programmador,
Thanks for opening this issue! Sounds good, let me look into it!

Any Update Regarding ? handling


Migrate to uber gomock

Motivation
github.com/golang/mock has been discontinued. go.uber.org/mock is a fork that will be maintained by uber and is (for now) still compatible with the previous codebase, but has been updated to Go 1.20 already.
Changes

Replace github.com/golang/mock with go.uber.org/mock
Use typed mocks for additional protection when mocked methods don't match the expected types

Test Plan

existing tests pass

TODO

[x] Explain motivation or link existing issue(s)
[x] Test changes and document test plan
[x] Update documentation as needed
[ ] Update changelog as needed

bors merge


Add support for unison

Adding support for unison would be nice.
I recently found myself in a spot where I couldn't use nfs and doing rsync in vagrant for drupal development is a mess (because its one way).

I'm not sure I want to add unison support (see https://github.com/dmatora/vagrant-unison for a vagrant plugin to add it), as the few times I've used it, the entire experience was suboptimal, and using SMB on windows and NFS on Mac/Linux almost always is better for the DX.
I'm still holding out in hopes that https://github.com/mitchellh/vagrant/issues/3062 is someday resolved, so we get bidirectional rsync, because that would be the best of all worlds, but it's been a long time, and that doesn't seem to be a top priority :(
I'm going to close this, but if someone can think of a way to add unison support (e.g. if the plugin's installed, add a few lines to Vagrantfile iff a unison sync directory is specified in config.yml) without harming usability or making a bit more mess in the Vagrantfile, I'd be willing to think about it.
I would not want to add it as a default in any way, and none of the config would go into the example config file—this would be more a 'power user' feature that we could document in the docs site somewhere.

I agree that this would not be a default in anyway. I wouldn't want this unless all we would have to do is change the share from 'nfs' to 'unison' for a required DX. (That is if it is installed on your host allow it to be configured and used on the guest). This would likely also require a new ansible-role to install unison to happen before we could even start here. I am not going to do that any time soon.
I was thinking more of a manual approach and avoiding the vagrant plugin, for two reasons:

It hasn't been updated in a long time and there are pull requests just sitting there.
The README has a section about "When" the Unison DB get corrupted. As in not If but When.

I would rather use the rsync-pull that you linked to, but I doubt it will ever get into vagrant.

There's a new version of the plugin at https://github.com/dcosson/vagrant-unison2. I did some light testing and it worked fine, but more would be needed.


Send X-Total-Count header

It would be great to be able to optionally send an X-Total-Count header to show the total number of items in the collection instead of using wrapWith total-count.

hi @henkosch ,
Thanks for your patience
This feature could only work with filter version of AQ.
But AQ could be used without filters: .AutoQueryable(queryString)
I'll try to add this feature to AQ 2.2.x in a few weeks (2.1 will be focus on alias).
during this time you could use something like this:
dynamic t = queryable.AutoQueryable("...wrapwith=total-count");
setHeaders("X-Total-Count", t.TotalCount);
return new OkObjectResult(t.Result);

not tested ;)


[Documentation] Error in Prompting Users code

https://github.com/Microsoft/botbuilder-js/wiki/Prompting-Users
This:
const adapter = new botbuilder.BotFrameworkAdapter({ ... });
should be:
const adapter = new BotFrameworkAdapter({ ... });
because the import statement is:
const { BotFrameworkAdapter, ConversationState, MemoryStorage } = require('botbuilder');

Fixed! Thanks


Update package to reference .Net Core 2 and .Net Standard 2

I've updated the package code to reference .Net Core 2 and .Net Standard 2 libraries for use in developer projects for .Net Core 2.
Due to the IdentityBuilder unable to be referenced/found when referring to .Net Core 1.1 packages when building the AddIdentity service;
            services.AddIdentity< ApplicationUser, Neo4jIdentityRole >()                     .UseNeo4jDataStoreAdapter()                     .AddDefaultTokenProviders();
I've also added the attribute TwoFactorEnabled to the IdentityUser file as .Net Core 2 MVC projects have this referenced by default as part of their authentication template. But, work will need to be done to make the package fully compatible.

Hey @aaron-bozit ! Thank you for this - it looks good to me, I have a quick question,. You write:

But, work will need to be done to make the package fully compatible.

What work needs to be done? If I commit this, will it work - or does it go into a broken state?
Thanks again!
Chris

@cskardon Sorry about that, that line is a bit ambiguous, I mean that work would still need to be done to make it work with Two Factor and Social Logins.
I've made it into a Nuget package to test and referenced it into a .Net Core 2.0 project and it is working fine without the two features talked about above.

That's the kind of ambiguity I like! One that's easy to resolve - thank you!

PS - what're you feelings RE shifting it to release rather than -pre?

Um, you could, it doesn't have Two Factor or Social logins (I'm looking into the social logins part at the moment).
Up to you.

Sticking with pre for now, it's in nuget now, once I get appveyor setup correctly - I'll get that auto building which should speed up this whole process ;)


Already written text is not pretranslated if no trainOn books are specified

#370 added the ability to pre-translate text that was previously translated. This works perfectly, if a user specifies the books to train on.
However, if no books are specified in trainOn, then the old behavior where only blank segments in the target are translated occurs.
For example the following build:
{
    "id": "663935b2d3673074e65b4cbf",
    "url": "/api/v1/translation/engines/663935afd3673074e65b4cbb/builds/663935b2d3673074e65b4cbf",
    "revision": 9,
    "engine": {
      "id": "663935afd3673074e65b4cbb",
      "url": "/api/v1/translation/engines/663935afd3673074e65b4cbb"
    },
    "trainOn": [
      {
        "corpus": {
          "id": "663935b2d3673074e65b4cbe",
          "url": "/api/v1/translation/engines/663935afd3673074e65b4cbb/corpora/663935b2d3673074e65b4cbe"
        },
        "textIds": []
      }
    ],
    "pretranslate": [
      {
        "corpus": {
          "id": "663935b2d3673074e65b4cbe",
          "url": "/api/v1/translation/engines/663935afd3673074e65b4cbb/corpora/663935b2d3673074e65b4cbe"
        },
        "textIds": [
          "PHM"
        ]
      }
    ],
    "step": 0,
    "percentCompleted": 1,
    "message": "Completed",
    "queueDepth": 0,
    "state": "Completed",
    "dateFinished": "2024-05-06T20:08:56.786Z",
    "options": {
      "max_steps": 20
    }
  }

Returns the following USFM for https://qa.serval-api.org/api/v1/translation/engines/663935afd3673074e65b4cbb/corpora/663935b2d3673074e65b4cbe/pretranslations/PHM/usfm?text-origin=OnlyPretranslated:
\id PHM - Paipera Tapu Back Translation
\c 1
\v 1 Paul, a prisoner of Christ Jesus, and Timothy our brother,
\v 2
\v 3
\v 4
\v 5
\v 6
\v 7
\v 8
\v 9
\v 10
\v 11
\v 12
\v 13
\v 14
\v 15
\v 16
\v 17
\v 18
\v 19
\v 20
\v 21
\v 22
\v 23
\v 24
\v 25

This bug also occurs if the book selected for training is blank in the target, but has content in the source.

@ddaspit If textIds is null or not present, I can understand using "train on everything" as the default. However, if we send an empty array, it should be understood to mean "don't train on anything." We've already been supporting inferencing without training, so this behavior has produced a regression in Scripture Forge.
@pmachapman I'm guessing we could work around this without waiting for Serval. The current model is:
{
  "name": "string",
  "trainOn": [
    {
      "corpusId": "string",
      "textIds": [
        "string"
      ],
      "scriptureRange": "string"
    }
  ],
  "pretranslate": [
    {
      "corpusId": "string",
      "textIds": [
        "string"
      ],
      "scriptureRange": "string"
    }
  ],
  "options": {
    "property": "value"
  }
}

And I'm guessing what we're doing is sending trainOn with textIds properties set to []. We could probably just not specify a corpus if it's empty anyway, and just send "trainOn": []?

We could probably just not specify a corpus if it's empty anyway, and just send "trainOn": []?

Not sure - a question for @ddaspit or @johnml1135?

That is correct. If you send "trainOn": [], then Serval won't train on anything.
The current behavior is not intuitive. We will change it, so that if an empty array is specified for textIds, then we won't train on anything.


Change settings using data-* attributes

Changed .bind() to .on()
Allow user to change settings using data attributes
Updated code style
Updated README

Off topic...  sorry for the double post.
I ran into accessibility issue <div class="example-class" data-stretch="example-image.jpg"> - it's looking for alt tag but I can't add alt tag inside div
Any solution?


Update tesora-dbaas-guide.rst

Minor changes are required.

incorporated this feedback into the codebase.  Thanks, Alex!


Module parse failed: 'import' and 'export' may appear only with 'sourceType: module'

I tried using your code from  "Usage" and got : Uncaught ReferenceError: require is not defined.
After that i tried a lot of fixes and changed  const youtubedl = require('youtube-dl-exec') to import * as youtubedl from 'youtube-dl-exec'; and got another error : Module parse failed: 'import' and 'export' may appear only with 'sourceType: module' (1:0)
webpack.config.js
module.exports = {
    entry: './src/js/2.js',
    optimization: {
        minimize: false
    },
    devtool: 'inline-source-map',
    resolve: {
        extensions: ['.tsx', '.ts', '.js'],
    },
    module: {
        rules: [
            {
                "test": /\.js$/,
                "exclude": /node_modules/,
                "use": {
                  "loader": "babel-loader",
                  "options": {
                    "presets": [
                      "@babel/preset-env",
                    ]
                  }
                }
              },
        ]
    },
    "mode": "none",
}

Package.json
{
 "scripts": {
  "start": "webpack --mode development --watch"
 },
 "dependencies": {
  "babel-loader": "^8.2.3",
  "path-browserify": "^1.0.1",
  "webpack": "^5.69.1",
  "webpack-cli": "^4.9.2",
  "youtube-dl-exec": "^2.0.5"
 },
  "type": "commonjs",

  "babel": {
    "presets": [
      "@babel/env"
  ]
}
}

Sorry for that, but I can't help you too much, I'm not a webpack user.
The library was created to run under Node.js context.
If you are using it in a browser context, You need to use it at backend side, or simply use api.microlink.io instead 🙂
e.g., https://api.microlink.io/?url=https://www.youtube.com/watch?v=6xKWiCMKKJg&audio


Marker Icons wrong URL

Refer to the link for more info:
Leaflet Issue

Add temporary fix for this issue. until closed, keep this issue open.
Link to Fix


Use the $NOTIFY_SOCKET convention for kube-apiserver startup

Use the systemd $NOTIFY_SOCKET convention for kube-apiserver
startup. This allows it to be part of dependency trees and for
consumers to wait until it is listening on its ports.
The $NOTIFY_SOCKET protocol is described here:
http://www.freedesktop.org/software/systemd/man/sd_notify.html
Currently this is limited to the kube-apiserver process. Other
kube processes are internal kubernetes moving points. The API
server is the entry point relied on by callers.

CLA has been signed as part of company: Red Hat, Inc.

Fixes #8311

Please suggest a reviewr familiar with the territory

Please suggest a reviewr familiar with the territory

This is my first contribution to kubernetes, so I wouldn't know off hand. @smarterclayton are you perhaps able to review this, or suggest someone to help?

@eparis

cc @lavalamp

@stefwalter you need three quest items to make googlebot happy:

your email must be in the red hat CLA group
the same email must be embedded in every commit
the same email must be public on your github account

Sorry for the inconvenience!

your email must be in the red hat CLA group the same email must be embedded in every commit   the same email must be public on your github account

Done. Force pushed a new commit that has my redhat.com email address in the author header.

I won't be able to really review until wednesday, but yes, I'm a good reviewer.

I think this was superceded by #8764.  Feel free to reopen if I am wrong.

That's right, thanks.


convert .pth to .pt (Torch Script) for Mobile deployment

Thanks for your continuous support. I would like to convert the model .pth to ,pt for mobile deployment i have executed many approches but i couldn't convert to torch script since output value is not an tensor.
import torch
import torchvision.transforms.functional as F
from PIL import Image
from torchvision.models.detection.anchor_utils import AnchorGenerator  # Import AnchorGenerator

def get_model(num_keypoints, weights_path=None):
    anchor_generator = AnchorGenerator(sizes=(100, 250, 400, 650, 800),
                                       aspect_ratios=(1.0, 1.25, 1.5, 1.75, 2.0))
    model = torchvision.models.detection.keypointrcnn_resnet50_fpn(pretrained=False,
                                                                   pretrained_backbone=True,
                                                                   num_keypoints=num_keypoints,
                                                                   num_classes=2,
                                                                   rpn_anchor_generator=anchor_generator)
    if weights_path:
        state_dict = torch.load(weights_path, map_location=torch.device('cpu'))
        model.load_state_dict(state_dict)

    return model

# Load the pre-trained model from the .pth file
device = torch.device('cpu')
model = get_model(num_keypoints=5, weights_path='saved_model.pth')
model.eval()

# Example usage:
image_path = 'object/ADAS/20240228_112139468_iOS.jpeg'  # Path to your image
original_image = Image.open(image_path)
image_tensor = F.to_tensor(original_image).unsqueeze(0)  # Convert image to tensor and add batch dimension

# Trace the model
traced_model = torch.jit.trace(model, image_tensor)

# Save the traced model to a .pt file
traced_model.save('traced_model.pt')

I fail to see how this relates to the treadscan package in any way. If you want help with the intricacies of PyTorch, try their forums https://discuss.pytorch.org/.


Consider NIHR prefix for custom CSS classes

Should we add a prefix to our custom CSS classes to avoid conflicts?

I started using ds- in some PRs. We're absolutely not stuck with that specific prefix, but at least this should make a find and replace a relatively easy job :)


D3DImage possible issues

Hi,
As far as I understand, in d3dImage rendering occurs only when OnRender arrives, but what if I have rendering in another thread in while loop and I want to keep rendering without UI thread, but I just need        IntPtr to tell swapchain where to render?
Could I render to D3DImage independent from OnRender?
Also, I see that on size changed IntPtr of the surface is changed, which will lead to recreation of the whole swapchain instead of simple swapchain.Resize(). I think this is caused by the fact that WPF internally is still working on DirectX 9 and DirectX 9 has no way to resize swapchain, but DirectX 10 and higher - does.
From the sample I see that you recreate rendertarget each DoRender() call, which is extremely not efficient in highe performance rendering scenarios. Rendertargets should be recreated only when one of the swapchain parameters changed. Other time DX should reuse existing one.
Now I can render in the separate thread to the WinForm surface without any problems with any FPS my PC can reach, but I have only one issue - well known airspace problem. D3DImage could relieve me from it, but it creates a lot of other issues.
All this issues, obviously not that I expect when creating request on visualstudio.uservoice.com for Native DX 11 support for WPF. The goal was high performance immediate mode rendering, but here we still have the same 60 fps.
And my question is: could this be fixed or this will leave forever?

Also in addition to my previous post: after resizing your D3D11Image few times, it just stops rendering to it and thats all

I'm going to break this out into ~4 new issues and link to them from here.


Relationship to Caffe?

It'd be great if there was some documentation describing the relationship between Caffe2 and Caffe. As far as I can tell there is none (from 10 minutes of browsing docs and the source tree), but there are tools to convert a trained model from caffe to caffe2?
If this is the case it'd be great to justify why a unique name wasn't chosen, as I'm sure I'm not the only one who'll be confused!
If there is some deeper relationship, e.g. ex-contributors to caffe wanting to do a rewrite, collaboration with BVLC, or some ancestral git commit that links the two repos, then that would also be great to make clear.

Having the question "How is Caffe2 different from PyTorch?" but no mention about the relationship to Caffe on the same page makes me more confused :-(
Is caffe2 more closely related to PyTorch than to Caffe? There is this comment on reddit that suggests that it is.

Yep, Caffe2 is the natural child of Caffe, with quite a few ideas already floating around back in 2015 in our CVPR tutorial: http://tutorial.caffe.berkeleyvision.org/caffe-cvpr15-improving.pdf
The codebase is different enough that we do not want to create pain for existing users, and hence we made a conscious choice to put it in a separate repo. There are migration tools such as caffe translator if you would like to use Caffe2 to drive existing Caffe models. If you find an issue, please let us know - we'll fix it.
/cc @shelhamer , who is my awesome colleague back at Berkeley and is the lead developer on Caffe.

That's right: Caffe2 is informed by a lot of our experience with Caffe and its direction has been guided by discussion with BVLC/BAIR. We're all collaborating on a migration path from Caffe 1.0 to Caffe2 for those who choose it. We decided on a new line of development so that Caffe 1.0 could continue on with the good old methods of brewing while Caffe2 takes on new designs and approaches unfettered by the past. The decision to fork was made to better serve the whole community by channeling conversations about the converging development of Caffe 1.0 and the future development of Caffe2 to their respective homes. This way Caffe 1.0 usage and development go on uninterrupted and Caffe2 progress goes on unrestrained.
High five to @Yangqing on the latest brew!
Don't worry—we all like our coffee ☕

Thanks heaps for the background! I look forward to seeing where Caffe2 goes :-)

I don't think this question has been answered. On concrete terms, what does Caffe2 do better than Caffe? Is it faster? Is the API cleaner? Does it support new things that Caffe didn't? And so on.

Pasting a few more details here about how it improve on the original Caffe?

The  original Caffe framework was useful for large-scale product use cases,  especially with its unparalleled performance and well tested C++ codebase.
But, Caffe has some design choices that is inherited from its original use case: conventional CNN applications. As new computation patterns have emerged,  especially distributed computation, mobile, reduced precision computation,  and more non-vision use cases, its design has shown some limitations.
Caffe2 improves Caffe in a series of directions: first-class support for large-scale distributed training, mobile deployment, new hardware support (in addition to CPU and CUDA), and flexibility for future directions such as quantized computation. It is also stress tested by the vast scale of Facebook applications.
At  Facebook, our use of Caffe gave us ideas for how we could design  a better deep learning platform. By early 2016, we had an early version of  Caffe2 that made improvements on Caffe, particularly a modern computation  graph design, minimalist modularity, and flexibility to port to multiple  platforms with ease.

To point out one further contrast, Caffe 1.0 and Caffe2 differ in the strong/weak typing of the layer/op schema:

Caffe 1.0 defines a message type for every layer type in its schema. This documents the existing layers and their arguments, but requires re-compilation on modification and causes contention when adding new layers, which both make extension more painful than it should be.
Caffe2 defines a generic type and argument schema that is invariant to the number, types, and configurability of ops. This falls back to op definition for documentation, but that's no problem, and makes it simple to add or drop ops for a given project or deployment.

This is made evident by the caffe.proto weighing in at 1000+ lines and the caffe2.proto only needing 300 lines.

@shelhamer  @Yangqing
I also came across articles where its mentioned that Caffe2 supports multiple precision (compared to Caffe): float, float16, int8 and other quantized models
Is there an article or a repository you can point to where the network is discussing/doing quantization/pruning and I can test and run it?


Put the first question upper in the argument layout

should it be black or white... depends on the background I guess

What is "upper" in this case? I guess "upper case" / "capitalize", right?

I mean on top, this should be more on top.

Ah, I see...


Added affiliation notice

As requested in #79, we are adding an affiliation notice to where people install plaidchat. In this PR:

Updated README to include affiliation notice

/cc @wlaurance

Another cowboy commit. Woo hoo! :cactus: :gun:


(Not exactly a feature request) The latest release seems outdated

Description of the Feature
Hi, I just found this project and jumped into the one feature I really needed: MDNavigationRail.  I installed the package through pip and it looks to be the latest 104.1.  It looks like the latest release doesn't even have the feature I want.
Looking through the history, the last release was 10 months ago. Have you guys considered releasing something soon, given this project seems to be fairly active.
I can go ahead and work off master, but that's not really ideal/stable.

@jpan127 Thanks. We will make a new release when we fix a number of critical bugs in the library.


Fork DAGStore and extended ShardAccessor to return an io.Reader

According to #1099, the DAGStore.ShardAccessor has to return an io.Reader. Unfortunately, it does not do so, and we should fork the DAGStore repo and provide such functionality there.
Additionally, we should make issues in the upstream repo to discuss it with the original implementors and potentially submit a fix there to avoid maintenance of the fork.

I didn't see you were assigned when I did this, sorry, just changed assignee to me if thats fine

Totally fine

@Wondertan Closing because celestiaorg/dagstore#1 is merged


.NET 8.0 GA

Release Notes
Please report any issues you find with .NET 8, either responding to this issue, creating a new issue or creating a new issue in one of the following repos:

dotnet/aspnetcore - for ASP.NET Core questions
dotnet/efcore - for Entity Framework Core questions
dotnet/sdk - for CLI tools and questions
dotnet/runtime - for runtime, API, or installer issues and questions
dotnet/winforms - for WinForms issues
dotnet/wpf - for WPF issues
nuget/home - for NuGet questions and issues

Known Issues
If there are any issues with this release we will track them here and check issues off as they're resolved. See the linked issues for details on progress and resolution details.

dotnet-install.sh installs SDK 6.0.417, requires -v 8.0.100 to install 8.0, which isn't nice
% wget -O- https://dotnet.microsoft.com/download/dotnet/scripts/v1/dotnet-install.sh | bash -s -- -i /opt/dotnet --verbose
...
dotnet-install: Calling: get_normalized_architecture_for_specific_sdk_version Latest LTS arm64
dotnet-install: Calling: get_current_os_name
dotnet-install: Calling: get_linux_platform_name
dotnet-install: Calling: get_download_link_from_aka_ms
dotnet-install: Retrieving primary payload URL from aka.ms for channel: 'LTS', quality: '', product: 'dotnet-sdk', os: 'linux', architecture: 'arm64'.
dotnet-install: Constructed aka.ms link: 'https://aka.ms/dotnet/LTS/dotnet-sdk-linux-arm64.tar.gz'.
dotnet-install: Calling: get_http_header https://aka.ms/dotnet/LTS/dotnet-sdk-linux-arm64.tar.gz true
dotnet-install: Calling: machine_has curl
dotnet-install: Calling: get_http_header_curl https://aka.ms/dotnet/LTS/dotnet-sdk-linux-arm64.tar.gz true
dotnet-install: Received response: HTTP/1.1 301 Moved Permanently
Server: Kestrel
Location: https://aka.ms/dotnet/6.0/dotnet-sdk-linux-arm64.tar.gz
...

HTTP/1.1 301 Moved Permanently
Server: Kestrel
Location: https://dotnetcli.azureedge.net/dotnet/Sdk/6.0.417/dotnet-sdk-6.0.417-linux-arm64.tar.gz

Tried https://dot.net/v1/dotnet-install.sh as well

On Ubuntu, neither the Microsoft feed nor the Ubuntu feed has dotnet 8 packages.
For last year we have a nice list of what has been completed, can we get one for this year too? We'd love to upgrade to dotnet 8 asap, but we can't proceed as of now.

I followed steps from dotnet-7 release here to add the microsoft package. https://github.com/dotnet/core/issues/7939#issuecomment-1320869411
wget https://packages.microsoft.com/config/ubuntu/22.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
rm packages-microsoft-prod.deb
Had to uninstall current dotnet-host installation on the linux box, to remove host, sdk, runtime, etc.
Then was able to finally install new dotnet-host and dotnet-sdk-8.0.
sudo apt-get update
sudo apt-get install -y dotnet-host
sudo apt-get install -y dotnet-sdk-8.0

The documentation is getting worse:

7.0 disappeared for ubuntu 22.04 (but only in the docs, luckily the package is still there)
8.0 appeared for ubuntu 23.04 (but only in the docs, unluckily the package is not yet there)

@rbhanda could you please look into this?

the documentation says dotnet-sdk-7.0 is not available on ubuntu:22.04 but it is
the documentation says dotnet-sdk-8.0 is available on ubuntu:23.04 but it is not
the latest LTS dotnet is not available in the latest LTS Ubuntu (neither in the documentation nor in reality

Tagging @adegeo to look at the doc issues reported

@Trolldemorted Can you tell me which doc exactly is having an issue and where in that doc? I'm not seeing what you're reporting.

Hi folks! Just getting started with .NET, but where should I report an issue with the Spanish translation? There is a bad translation of what looks like "the source code" as "the origin".

Thanks in advance!

The documentation was updated in https://github.com/dotnet/docs/commit/ea3df99f09e6387b32f334f309debcf370d65690#diff-6592b7e6623c9ccf0f88d1bb413c25ee426fe0c6de36b162058c774157b46764L109 - 8.0 was removed from the Ubuntu 23.04 documentation.
7.0 is still available on Ubuntu 22.04 though (at least I assume it is a package maintained by you), despite your documentation saying otherwise, the incorrect line would be here: https://github.com/dotnet/docs/blob/42ca7f8c3b303ed762de132af76be38b003b5fde/docs/core/install/linux-ubuntu.md?plain=1#L113

I noticed .NET 8 is not available in the alpine package manager yet, even though the docs mistakenly reference it. I hit this issue when trying to update our alpine AMIs.
.NET 7 vs .NET 8

I noticed .NET 8 is not available in the alpine package manager yet, even though the docs mistakenly reference it. I hit this issue when trying to update our alpine AMIs.
.NET 7 vs .NET 8

@leecow @adegeo can you check this?

Fixing in docs... https://github.com/dotnet/docs/pull/39017

@Trolldemorted Sorry for the delay in getting back to you. I'm opening a PR to correct the table in regards to 22.04. However, 23.04 doesn't have .NET 8 listed in the package manager. Canonical owns the packages in the actual Ubuntu feeds and they've not yet published it. I don't think they're going to since support for 23.04 ends in about 20 days.
https://github.com/dotnet/docs/pull/39100


Remove obsolete workflow_dispatch trigger from "cleanup caches" example

Following up on PR #26312, which changed BRANCH from github.ref into a reference only valid for pull requests.
I believe this workflow cannot be reasonably run by manual dispatch anymore.  Thus the workflow_dispatch trigger should be removed to avoid confusion.
References:

#26312
#22727
#23600

@andreasabel Thanks so much for opening a PR! I'll get this triaged for review :zap:


Retrieve UUID/name only

Is there a way to retrieve only uuid and name to save response time?

What do you mean?

This is crafthead's response for example:
{   "id": "7b793a96313740459e73b3811015fc93",   "name": "Reply",   "properties": [     {       "name": "textures",       "value": "ewogICJ0aW1lc3RhbXAiIDogMTYzNTA3NzY2MDA5MywKICAicHJvZmlsZUlkIiA6ICI3Yjc5M2E5NjMxMzc0MDQ1OWU3M2IzODExMDE1ZmM5MyIsCiAgInByb2ZpbGVOYW1lIiA6ICJSZXBseSIsCiAgInNpZ25hdHVyZVJlcXVpcmVkIiA6IHRydWUsCiAgInRleHR1cmVzIiA6IHsKICAgICJTS0lOIiA6IHsKICAgICAgInVybCIgOiAiaHR0cDovL3RleHR1cmVzLm1pbmVjcmFmdC5uZXQvdGV4dHVyZS8xMjRmMWQ5ZGRiNjgyZmIwNWU1Yzg1YTQyZGU2ZTc2M2ZkOWM0NjYwYjcyYjJjODgwMWE3NTA3YjMyNDJmODk1IgogICAgfQogIH0KfQ==",       "signature": "hr7Jue105aNdFUVX0jjbfuw77SNlESszDItte8wVlJrNkJCJ69IVS4y/6J8XamO7AY6n2cBU1tGisvL5zgKmfpvw58ZaDel4HClBQF8VOztr3vR1+7qffcR3iC3+1EAhfgVl+FU3lGoEVrHPrxWn7WOuCt0DSq7zB1KIEywyrmFEX2yVQG/2ddTE+uENz5ZBpiO2dM1qaPF52xRH9mWOtWDtmzQ56glA/Zba/D7kF3XOYXW//Hj8dfBYoR8l3jMop4mEogc3NoHNWs3UEWAGANDpR9qoVa9nAxlPPutbOEYIBI+v4TDrQJvBVoTgXmUh9ypR6EnCw6IozL+RyA6fkZrAoPw8mFiXJVPt/m07DTFsbtLH9FIY+49DPdFaQWs73OvWtFcQzEd0jXuKAYNCv6FJk0+jM3dYkCGohAbxLw8Bn3xV1Xk870BRozYfiteRePztja98/Pqy27Fz36s7vkOgHHSAY0bf1h1oAJ6f1iLtsGP7SCEZy8Ve/DQTawvnZ8SLZrHUPj91m8IVK+Xu+f4qGfigbsunJGdvgaGlNmtu2Wvj7XwVjzh6ZxtFjzk+mTawBIxmqh6z4EPQUxul/QcnsscdRMdXLjDiPwx2DlZM+owN+ksl026/JBDo9FH1l+Sacj/qo4X4sNHSKhAZZYzK+nhf8ovtVEjmeCqu8rI="     }   ] }
vs original response:
{   "name": "Reply",   "id": "7b793a96313740459e73b3811015fc93" }
doesn't it require more time to get the response, with textures and signature?

Crafthead caches the entire profile, not just the username<->UUID mapping. There is some added cost to this and it may be worth implementing a "light" mode to just do the mapping, but I'd want to see some demand first.

Crafthead caches the entire profile, not just the username<->UUID mapping. There is some added cost to this and it may be worth implementing a "light" mode to just do the mapping, but I'd want to see some demand first.

That would be really nice, to get higher demand crafthead's uuid api should be more promoted, but if it has same issues as Electroid's weird bugs (premium as no-premium on error) it will be harder I think.

I would recommend simply using the /profile endpint, or PlayerDB for this, which Crafthead now uses internally:
https://playerdb.co/api/player/minecraft/7b793a96313740459e73b3811015fc93
PlayerDB's p90 response time is ~150ms, with lots of caching, with p75 at ~15ms. PlayerDB has a tonne of proxies and things setup to avoid common issues that come with being on Workers today (rate limiting, etc.). I'm not sure there'd be any real speed improvements here, outside of a tiny amount of bandwidth reduction due to response size.


Preliminary support for OSX

Unfortunately, glDebugCallbackARB doesn't quite work yet. I don't know what the OS specific way of targetting that would be.

It would be nice if you could amend the commit to use a more meaningful commit log. In 6 months, looking at the commit history and seeing "support OSX" won't be very specific about what it does.

Uh, seems like you rebased the gles3 branch on top of your branch (thereby remaking the gles3 commits) rather than vice-versa...

The other PR is working and merged, thanks to both of you for the work :)
I'll see with @reduz about regenerating the glad header, thanks!


Default config ExternalUrl is always http

https://github.com/LittleBigRefresh/Bunkum/blob/3d635e3b0d58ed601f9e8985ef9c92ddf0aa66a9/Bunkum.Core/Configuration/BunkumConfig.cs#L20
It should default to the protocol in use

Can probably be solved by just passing the protocol name straight into the constructor of BunkumConfig


Add builds to CI

We don't normally run CI in travis for this project because of problems in the solution. I have disabled it until the problems are fixed but I am merging .travis.yml so it's consistent with our other projects.


Error with copy and cut in firefox

Hello, I realized that the copy and cut functionality is giving an error in firefox. Follow the picture...

By the way, I would like to congratulate you for the initiative, it is a great project!!

I've just dealt with this problem.
But I recommend you to use chrome or chromium kernel browsers
thanks


SafeStrNCpy not so safe

The SafeStrNCopy function here: https://github.com/01org/tpm2.0-tools/blob/master/src/common.h#L82
is not so safe. strncpy can be used when strings don't contain null bytes if len is within the allocated region. The first thing this routine does is call strlen(src) > 0, which isn't safe, since it's not bounded by len.

As pointed out by others, there is also an issue on n-1 when n == 0

I ran into this while porting a command over to use the new common options stuff. I went the route of using strncpy (with n set to destination buffer length - 1) instead of snprintf. Using snprintf hadn't occurred to me but like it. I hadn't realized that strncpy will \0 pad the whole of the destination buffer if the source string is shorter.
Good fix.

strncpy() also doesn't guarantee null terminated, that's the major issue. I've never seen an strncpy() implementation that zeros all the end of the destination buffer on source being shorter.


feat: sync stream route labels to apisix

Type of change:

New feature provided
What this PR does / why we need it:

Closes #775

Codecov Report

Merging #1539 (e14e09a) into master (d22a6fc) will increase coverage by 0.25%.
The diff coverage is 0.00%.

 Learn more

@tao12345666333 These changes were made when I ran make update-all

Please add e2e test case to cover this one, Thanks!

@tao12345666333 I did not find an example CRD yaml for StreamRoute. It is not even listed here

Also, looks like there is some issue in the linter. There is absolutely no issue on my local 🤔

Probably StreamRoute is just a Route CRD that has a Stream in it 🤔
If that's true then ultimately, StreamRoute is just a Route. And this PR already addresses syncing Route CRD labels.

Yes
It means ApisixRoute 's spec.stream

Then this PR should be closed. Please confirm.

https://github.com/apache/apisix/blob/1a7fe40ba982c04e2a06901f942c5d4fc06084c8/apisix/schema_def.lua#L890-L917
According to the schema definition of APISIX, stream_route does not include labels, so I will close this. Thanks


Plan an EtP launch event with the community

What do we want to achieve?
Hold a launch event with the community when the component is shipped, as well as a celebration day for the team.
Why do this?

Promote and demo the component
Share our research and development findings
Provide an opportunity for the community ask us questions
Celebrate our achievements as a team

Epic
Publish an Exit this Page component.
Is there documentation required?
Yes - to record decisions.
Estimated lead time
4 weeks
Opportunity to pair?
Yes
Who needs to lead on this?
Imran & Ciandelle
Who needs to review this?
Kelly, Steve, Katrina
(optional) beeps, David, Imran, Owen, Calvin

I like the idea of combining option 2 and 3 so that we do an internal show the thing with time for questions and then do a show and tell for the cross gov community say a week later. It feels like we could use that component to revitalise the show the thing a little that way too?

Things to consider for a community show & tell / Q&A

hosting platform (Google Meet or Zoom)
attendee limit? (150 if using Google)
ticket the event?
question facilitation
record the event?
repeat if high demand?

Perhaps a bit late now.


No documentation on how to use Carthage with submodules in Index.md

https://github.com/stephencelis/SQLite.swift/blob/master/Documentation/Index.md
There's info for using CocoaPods with FTS, but nothing for say carthage etc.  -- hahahahah, I tried a naive github "sqlite3/fts5" ~> 3.15.0 in my cartfile but I wouldn't even no where to start figuring this out.

eh


"A drawing error occurred." when viewing "Hello!" in Adobe Reader

I exported the "Hello!" document as a PDF then attempted to view it with Adobe Reader XI 11.0.10 on Windows 7 Professional. As soon as I scrolled down to the sequence diagram, the following appeared:

Any ideas or workarounds would be greatly appreciated. Thank you.

Happens with the simplest of sequences.

Such as...
Client->App: Please give me document X


Fix scrollspy and ToC

following a lead by @sofiahag, scrollspy works again if we target the first <nav> inside .toc. Don't fully understand, why it stopped working and it works with this 🤷🏻
Additionally, I changed the order of element styling such that "On this page" and  "back to top" is always visible.

@nf-core-bot fix linting


Autostart has a long delay.

Hello,
I am using your script for a news ticker. The problem I am facing is with the start up of scrolling. It seems to be taking forever to start when you would expect it to start when the page loads. Is there something I am missing or I need to do in order to make is start sooner?
Thank you,
Yiota

set this.documentHasFocus = true on the default initialization. That should do the trick.

Thanks...


qemu: no state to save if QEMU isn't running

On pod delete, we were looking to read files that we had just deleted. In particular,
stopSandbox for QEMU was called (we cleanup up vmpath), and then QEMU's
save function was called, which immediately checks for the PID file.
Let's only update the persist store for QEMU if QEMU is actually
running. This'll avoid Error messages being displayed when we are
stopping and deleting a sandbox:
level=error msg="Could not read qemu pid file"

I reviewed CLH, and it looks like it is already taking appropriate
action, so no changes needed.
Ideally we won't spend much time saving state to persist.json unless
there's an actual error during stop/delete/shutdown path, as the persist will
also be removed after the pod is removed. We may want to optimize this,
as currently we are doing a persist store when deleting each container
(after the sandbox is stopped, VM is killed), and when we stop the sandbox.
This'll require more rework... tracked in:
https://github.com/kata-containers/kata-containers/issues/1181
Fixes: #1179
Signed-off-by: Eric Ernst<EMAIL_ADDRESS>

/test

/test

/test

Hmm:
1..1
not ok 1 Block Storage Support
# (in test file k8s-block-volume.bats, line 46)
#   `kubectl wait --for condition=ready "pod/${pod_name}"' failed
# INFO: k8s configured to use runtimeclass
# storageclass.storage.k8s.io/local-storage created
# persistentvolume/block-loop-pv created
# persistentvolumeclaim/block-loop-pvc created
# pod/pod-block-pv created
# error: timed out waiting for the condition on pods/pod-block-pv
# pod "pod-block-pv" deleted
# persistentvolumeclaim "block-loop-pvc" deleted
# persistentvolume "block-loop-pv" deleted
# storageclass.storage.k8s.io "local-storage" deleted
Failed at 82: bats "${K8S_TEST_ENTRY}"

/test

The CentOS CI is failing with:
Warning: failed loading '/etc/yum.repos.d/CentOS-Base.repo', skipping.
Error: No matching repo to modify: PowerTools.
Failed at 46: sudo yum-config-manager --enable PowerTools
Build step 'Execute shell' marked build as failure

/cc @GabyCT

The CentOS CI is failing with:
Warning: failed loading '/etc/yum.repos.d/CentOS-Base.repo', skipping.
Error: No matching repo to modify: PowerTools.
Failed at 46: sudo yum-config-manager --enable PowerTools
Build step 'Execute shell' marked build as failure

/cc @GabyCT

I think it already landed in 1.12 @jodh-intel

I think it already landed in 1.12 @jodh-intel

I think it already landed in 1.12 @jodh-intel

I doesn't appear to have:

https://github.com/kata-containers/runtime/blob/stable-1.12/virtcontainers/qemu.go#L2203.

But it shouldn't have hit a stable release before hitting master anyway. :confused:
btw - your "Fixes #" number looks wrong (#1179 = "The virtcontainers network interface is not needed" and is already closed)

I think it already landed in 1.12 @jodh-intel

I doesn't appear to have:

https://github.com/kata-containers/runtime/blob/stable-1.12/virtcontainers/qemu.go#L2203.

But it shouldn't have hit a stable release before hitting master anyway. :confused:
btw - your "Fixes #" number looks wrong (#1179 = "The virtcontainers network interface is not needed" and is already closed)


Download pending for seconds and then failed

Version
ver 1.8.3
Details
So basically I typed in the link to the playlist and I got this

Then I clicked download, chose the saved path and this happened

it was pending for a few seconds and then all failed
Steps to reproduce
Type in the link and Enter
Click the Download button

The issue is still there.


Issue with Non-existing certs on Helm Chart creation

I am unable to install anything from my repo anymore. I am able to find it using helm repo list and see what is inside it using helm search ; however, when i try to install from it, it states it could not find the file (this worked before the weekend). I also would get the following error message when i tried to add the repo or update it. It looks like it is trying to to run it as https instead of http. Is there to ensure it is running with http?
Error message:
Error: Looks like "http:///" is not a valid chart repository or cannot be reached: Get https:////index.yaml: x509: cannot validate certificate for  because it doesn't contain any IP SANs
Output of helm version:
Client: &version.Version{SemVer:"v2.6.0", GitCommit:"5bc7c619f85d74702e810a8325e0a24f729aa11a", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.6.0", GitCommit:"5bc7c619f85d74702e810a8325e0a24f729aa11a", GitTreeState:"clean"}
Output of kubectl version:
Client Version: version.Info{Major:"1", Minor:"7", GitVersion:"v1.7.3", GitCommit:"2c2fe6e8278a5db2d15a013987b53968c743f2a1", GitTreeState:"clean", BuildDate:"2017-08-03T07:00:21Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"7+", GitVersion:"v1.7.14-gke.1", GitCommit:"78686f2c9f64430a0a60f90a9b84277c25cab5c0", GitTreeState:"clean", BuildDate:"2018-03-13T17:50:04Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"linux/amd64"}
Cloud Provider/Platform (AKS, GKE, Minikube etc.):
GKE

hi @hertzknight! Can you show the output of helm repo list?

@bacongobbler it shows the correct url and repo name.
NAME            URL
stable          https://kubernetes-charts.storage.googleapis.com
local           http:///charts
fgss            http:///fgss-helm
monocular       https://kubernetes-helm.github.io/monocular
I will try a more current version of helm and see if that works.

I have updated both to v2.8.2; however, it did not fix the issue. A friend tried to do our install scripts, as we kill the server every night. She has to put her ssh-key in manually during the install process and it worked at that point. I would like to say it may be that it won't taking my ssh key anymore, but it works for everything else.


sendDirectMessage() doesn't work

Whenever I try to use the sendDirectMessage function, it returns {"errorstr":"No target node specified","when":"2017-05-04 17:17:38","error":1040}. Not sure what target node is referring to.

Figured it out. there's no need for a 'to' key to be passed in the payload. Instead, the function should look like this:
    def sendDirectMessage(self, message):
        payload = {
            '_formkey': self.studentData['formkey'],
            'nodetype': message['nodetype'],
            'body': message['text'],
            'media-fill-include-integrations-integrationfiledata': message['filedata'],
            'media-fill-include-integrations-integrationfiles': message['files']
        }
        return requests.post(
            'https://' + self.edsbyHost +
            '/core/create/' + message['to'] + '?xds=MessagesCompose&permaLinkKey=false&_processed=true',
            data=payload, cookies=self.getCookies(), headers=self.getHeaders()).json()

Ah, I see. I had initially tried to get the function to craft payloads like the web app does, but clearly I hadn't got it right. Nice detective work!!


bug(mat-tooltip): tooltip remains open after bound element is removed from a cdk-virtual-scroll-viewport

Reproduction
When a mat-tooltip is applied to an element within a cdk-virtual-scroll-viewport that can be removed from the list bound to the *cdkVirtualFor directive, the tooltip will not always be removed when it's corresponding anchor element is removed.
https://stackblitz.com/edit/tooltip-cdk-virtual-scroll-issue?file=src/app/example-component.html
Steps to reproduce:
Variant 1:

Scroll to the bottom of the list.
Hover the bottom-most button of the list to reveal its tooltip.
Click the button to remove it.
Notice that the tooltip does not disapear as it should, it moves to the upper left of the page. It will remain until the scrollbar of the list disappears, and then the list is reset. Resetting prior to the scrollbar disappearing will not remove the tooltip from the page. This is repeatable for all bottom-most button tooltips until the scroll bar disappears, at that point, you will start noticing the 2nd strange behavior (though it is also separately replicable).

Variant 2:

Remove items from the list until the scroll bar disappears.
Hover the bottom-most button of the list to reveal its tooltip.
Click the button to remove it.
Notice that the tooltip does not disapear as it should. It will remain until all items are removed from the list, the list is reset, the dialog is re-initialized (essentially the list being reset). This is repeatable for all bottom-most button tooltips until the last item in the list is removed.

Expected Behavior
The tooltip should be removed along with the element it is bound to.
Actual Behavior
The tooltip remains open when the element it is bound to is removed.
Environment
See linked StackBlitz dependencies, but:

Angular: 12.0.3
CDK/Material: 12.0.4
Browser(s): Chrome, Firefox
Operating System (e.g. Windows, macOS, Ubuntu): Windows

I believe that this is a duplicate of https://github.com/angular/components/issues/19365.

Thought I looked for it... Thanks for finding it :).


Support Annotations

We will support Java Annotations.
Example is below.
class Test extends ParentTest
{
    @Override
    public static void main()
    {
        // do something
    }
}

done


Select Filters(PivotItems) in PivotTable Filters

In continuation with Issue #519
I tried to add PivotFilter and it keeps saying the WARNING but never adds the filter. .
Please check on this.
$data = ConvertFrom-Csv @"
Region,Date,Fruit,Sold
North,1/1/2017,Pears,50
South,1/1/2017,Pears,150
East,4/1/2017,Grapes,100
West,7/1/2017,Bananas,150
South,10/1/2017,Apples,200
North,1/1/2018,Pears,100
East,4/1/2018,Grapes,200
West,7/1/2018,Bananas,300
South,10/1/2018,Apples,400
"@ | Select-Object -Property Region, @{n = "Date"; e = {[datetime]::ParseExact($_.Date, "M/d/yyyy", (Get-Culture))}}, Fruit, Sold

$xlfile = "C:\Users\PavithrasagarK\Desktop\Newfolder\multiplePivotTables2.xlsx"
#Remove-Item $xlfile -ErrorAction SilentlyContinue
$data | Export-Excel $xlfile -AutoSize -TableName FruitData
$excel = Open-ExcelPackage $xlfile

$pivotTableParams = @{
    PivotTableName  = "ByRegion"
    Address         = $excel.Sheet1.cells["F1"]
    SourceWorkSheet = $excel.Sheet1
    PivotRows       = echo  Date Region
    PivotFilter     = echo Fruit
    PivotData       = @{'sold' = 'sum'}
    PivotTableStyle = 'Light21'
    #GroupDateRow    = "Date"
    ##GroupDatePart   = echo Years Quarters
}

Add-PivotTable @pivotTableParams
Close-ExcelPackage $excel -Show

Warning:
WARNING: Could not add 'Fruit' to Filter/Page fields in PivotTable ByRegion.

@dfinke First of all I would like to thank you on creating such a great module which I think will save a lot of time.
I am pretty new with powershell and just installed your module. I am currently working on a project where I collect, manipulate data in powershell through AD and export it in Excel. What I am trying to do is, after exporting the file to excel, I would like to create 4 different pivot tables from the data I am exporting.
These pivot tables will have following data:
Name          Group             Description             Filter
Now I would like to add Group and Description in a row field of Pivot table and collapse all rows, then add a filter and choose a filter from the filter options and then repeat the task for other pivot tables but selecting different filter.
What would be your guidance or is it even possible from your module. I am seeking some training haha.
Will really appreciate your help.

Thanks.
Take a look here to get started.
https://github.com/dfinke/ImportExcel/blob/master/Examples/PivotTable
https://github.com/dfinke/ImportExcel/blob/master/Examples/PivotTable/MultiplePivotTables.ps1

Thanks Doug, I will start from here and try to achieve what I want to.


Mobile Resume Formatting

On mobile devices, the resume column goes right against the left edge of the screen and looks asymmetrical

Fixed on the logbook stats branch


Pane border thickness

Add possibility to adjust pane border thickness (and color ?) ; Can be tricky to see the limit

It can be done with css property in hyper config.
I customized by pane border with this config line:
css: ".splitpane_divider {background-color: #8b56ee !important;}"


Canceling edit of DB connection deletes it

Add DB connection
Open project settings
Click ... button on the connection string
Click Cancel
DB connection is deleted

https://github.com/Microsoft/RTVS/commit/27e2df12c3e58a8c4f2fe236e4d9c2278357563a


Optgroup feature for select and multipleSelect Widgets

Hi,
thanks for this great form framework. I missed an option to have "optgroups" within the select widgets and therefore added an option to have them.
For now I've kept the functions to render the groups and options separate per widget, but that could be refactored later on to have a single rendering function for both.
I've also added basic tests, which also show the configuration syntax.
Would be great to get your feedback.
Cheers,
Tolleiv

@tolleiv Not sure how this fell through the cracks - can you freshly rebase it on top of latest master if you're still interested in landing it?


Set log level permanently

HABridge (curr. version 5.2.2) does not seem to save the log level setting permanently. After restart, i goes back to "INFO" level...
How to set it permanently? Thx for feedback.

Currently, there is not a way to save it.

Ok, thanks.


Bug Report

Prerequisites
Please answer the following questions for yourself before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

[x] I am running the latest version
[x] I checked the documentation and found no answer
[x] I checked to make sure that this issue has not already been filed

AndroidManifest:
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
  package="com.awesomeproject">

    <uses-permission android:name="android.permission.INTERNET" />

    <uses-permission android:name="android.permission.BLUETOOTH"/>
    <uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>
    <uses-permission-sdk-23 android:name="android.permission.ACCESS_FINE_LOCATION"/>
    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
    <uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION"/>

    <!-- Add this line if your application always requires BLE. More info can be found on:
         https://developer.android.com/guide/topics/connectivity/bluetooth-le.html#permissions
      -->
    <uses-feature android:name="android.hardware.bluetooth_le" android:required="true"/>

    <uses-sdk android:minSdkVersion="18" android:targetSdkVersion="28"/>

    <application
      android:name=".MainApplication"
      android:label="@string/app_name"
      android:icon="@mipmap/ic_launcher"
      android:roundIcon="@mipmap/ic_launcher_round"
      android:allowBackup="false"
      android:theme="@style/AppTheme">
      <activity
        android:name=".MainActivity"
        android:label="@string/app_name"
        android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
        android:launchMode="singleTask"
        android:windowSoftInputMode="adjustResize">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
      </activity>
      <activity android:name="com.facebook.react.devsupport.DevSettingsActivity" />
    </application>

</manifest>

build.grandle:
// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
    ext {
        buildToolsVersion = "28.0.3"
        minSdkVersion = 18
        compileSdkVersion = 28
        targetSdkVersion = 28
    }
    repositories {
        google()
        jcenter()
    }
    dependencies {
        classpath("com.android.tools.build:gradle:3.5.2")

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        mavenLocal()
        maven {
            // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
            url("$rootDir/../node_modules/react-native/android")
        }
        maven {
            // Android JSC is installed from npm
            url("$rootDir/../node_modules/jsc-android/dist")
        }

        google()
        jcenter()
        maven { url 'https://www.jitpack.io' }
    }
}

bluetoot.js:
import React from 'react';
import {
    BleManager
} from 'react-native-ble-plx';

export default class BluetoothComponent extends React.Component {

    constructor() {
        console.log('BluetoothComponent - constructor');

        super();
        this.manager = new BleManager();
    }

    scanAndConnect() {
        console.log('BluetoothComponent - scanAndConnect');
        this.manager.startDeviceScan(null, null, (error, device) => {

            console.log('----------------------------------------------');
            console.log('----------------------------------------------');
            console.log('----------------------------------------------');
            console.log('----------------------------------------------');
            console.log(' = ', device);
            console.log('----------------------------------------------');
            console.log('----------------------------------------------');
            console.log('----------------------------------------------');
            console.log('----------------------------------------------');
            this.manager.stopDeviceScan();
            return false;

            if (error) {
                // Handle error (scanning will be stopped automatically)
                console.log('BluetoothComponent - scanAndConnect device error ', error);
                return
            }

            // Check if it is a device you are looking for based on advertisement data
            // or other criteria.
            if (device.name === 'AEP' || device.name === 'AEP') {

                console.log('----------------------------------------------');
                console.log('----------------------------------------------');
                console.log('----------------------------------------------');
                console.log('----------------------------------------------');
                console.log('BluetoothComponent - scanAndConnect device = ', device);
                console.log('----------------------------------------------');
                console.log('----------------------------------------------');
                console.log('----------------------------------------------');
                console.log('----------------------------------------------');

                // Stop scanning as it's not necessary if you are scanning for one device.
                this.manager.stopDeviceScan();
                // Proceed with connection.

                device.connect()
                    .then((device) => {
                        return device.discoverAllServicesAndCharacteristics()
                    })
                    .then((device) => {
                        // Do work on device with services and characteristics
                    })
                    .catch((error) => {
                        // Handle errors
                    });
            }
        });
    }

    componentDidMount() {
        console.log('BluetoothComponent - componentDidMount');
        const subscription = this.manager.onStateChange((state) => {
            if (state === 'PoweredOn') {
                console.log('BluetoothComponent - componentDidMount PoweredOn');
                this.scanAndConnect();
                subscription.remove();
            }
        }, true);
    }

    render() {
        return (null);
    }
}

console.log(' = ', device); return this:
{
   "_manager":{
      "_activePromises":{

      },
      "_activeSubscriptions":{

      },
      "_errorCodesToMessagesMapping":{
         "0":"Unknown error occurred. This is probably a bug! Check reason property.",
         "1":"BleManager was destroyed",
         "100":"BluetoothLE is unsupported on this device",
         "101":"Device is not authorized to use BluetoothLE",
         "102":"BluetoothLE is powered off",
         "103":"BluetoothLE is in unknown state",
         "104":"BluetoothLE is resetting",
         "105":"Bluetooth state change failed",
         "2":"Operation was cancelled",
         "200":"Device {deviceID} connection failed",
         "201":"Device {deviceID} was disconnected",
         "202":"RSSI read failed for device {deviceID}",
         "203":"Device {deviceID} is already connected",
         "204":"Device {deviceID} not found",
         "205":"Device {deviceID} is not connected",
         "206":"Device {deviceID} could not change MTU size",
         "3":"Operation timed out",
         "300":"Services discovery failed for device {deviceID}",
         "301":"Included services discovery failed for device {deviceID} and service: {serviceUUID}",
         "302":"Service {serviceUUID} for device {deviceID} not found",
         "303":"Services not discovered for device {deviceID}",
         "4":"Operation was rejected",
         "400":"Characteristic discovery failed for device {deviceID} and service {serviceUUID}",
         "401":"Characteristic {characteristicUUID} write failed for device {deviceID} and service {serviceUUID}",
         "402":"Characteristic {characteristicUUID} read failed for device {deviceID} and service {serviceUUID}",
         "403":"Characteristic {characteristicUUID} notify change failed for device {deviceID} and service {serviceUUID}",
         "404":"Characteristic {characteristicUUID} not found",
         "405":"Characteristics not discovered for device {deviceID} and service {serviceUUID}",
         "406":"Cannot write to characteristic {characteristicUUID} with invalid data format: {internalMessage}",
         "5":"Invalid UUIDs or IDs were passed: {internalMessage}",
         "500":"Descriptor {descriptorUUID} discovery failed for device {deviceID}, service {serviceUUID} and characteristic {characteristicUUID}",
         "501":"Descriptor {descriptorUUID} write failed for device {deviceID}, service {serviceUUID} and characteristic {characteristicUUID}",
         "502":"Descriptor {descriptorUUID} read failed for device {deviceID}, service {serviceUUID} and characteristic {characteristicUUID}",
         "503":"Descriptor {descriptorUUID} not found",
         "504":"Descriptors not discovered for device {deviceID}, service {serviceUUID} and characteristic {characteristicUUID}",
         "505":"Cannot write to descriptor {descriptorUUID} with invalid data format: {internalMessage}",
         "506":"Cannot write to descriptor {descriptorUUID}. It's not allowed by iOS and therefore forbidden on Android as well.",
         "600":"Cannot start scanning operation",
         "601":"Location services are disabled"
      },
      "_eventEmitter":{
         "_subscriber":[
            "EventSubscriptionVendor"
         ]
      },
      "_scanEventSubscription":{
         "context":"undefined",
         "emitter":[
            "NativeEventEmitter"
         ],
         "eventType":"ScanEvent",
         "key":0,
         "listener":[
            "Function scanListener"
         ],
         "subscriber":[
            "EventSubscriptionVendor"
         ]
      },
      "_uniqueId":3
   },
   "id":"61:94:4E:55:19:26",
   "isConnectable":null,
   "localName":null,
   "manufacturerData":"4AABAspTazY=",
   "mtu":23,
   "name":null,
   "overflowServiceUUIDs":null,
   "rssi":-74,
   "serviceData":{
      "0000fe9f-0000-1000-8000-00805f9b34fb":"AAAAAAAAAAAAAAAAAAAAAAAAAAA="
   },
   "serviceUUIDs":[
      "0000fe9f-0000-1000-8000-00805f9b34fb"
   ],
   "solicitedServiceUUIDs":null,
   "txPowerLevel":null
}

what's wrong with my process?

thanks to help me !!

And what is wrong?

Closing due to lack of information and inactivity of the original poster.
When more data will be available—feel free to add that information and reopen this issue.
Best Regards

When I log the device appears the same, something "100": "BluetoothLE is unsupported on this device" and I would like to know if this can throw something error. But I can connect to the bluetooth module.

have you fixed the issue?

has this been fixed


Html

7/20/2024 update is I learnt till folder structure of React creation between using npx create reactApp and npm create vite@latest


🌟 [EPIC] 1.5.0 Register

🌟 EPIC

The registration process will be changed:

The Registration-Button on the gradido Wordpress pages invokes the registration process of the gradido application

the link use a general registration URL without any community dependency
the link can be expanded by an optionally PID parameter

In the gradido application the registration process starts with a community selection page

each community instance knows each community registered in the community network (see community creation process)
the user selects the community he wants to register as a new member
the optional PID parameter can be checked per request against the GDT-Server, which will know each GDT-Member of Elopage, if the PID is missing or wrong the default PID of the 'Förderkreis' has to be used for the registration process
the next button redirects to the registration process of the selected community instance including the mandatory PID

the registration process on the community instance

equates to the existing registration page of the gradido application
the process steps equates to the existing steps of the current registration process
at the end of the registration process the registration on elopage will be triggered including the PID parameter

Elopage registration Process

registration API or Deep-Link
transfering the captured data of the new member to Elopage

Member collection and PID correlation in the GDT-Server

cyclic request the registered Elopage member inkluding the PID
store all necessary data of an Elopage member including the PID with the GDT-account
offer a service API to request for a PID-check as publisher id

@ulfgebhardt, @clauspeterhuebner,
my thoughts on the 2nd point is the following:

In case I make an own community and I invite someone on my community I would not want them to go somewhere else so it would not be nice to have this implemented in the gradido registration.
In case they go on gradido.net (wordpress) and want to registrate to gradido then their is a page that allows the user to choose a community
This would keep the registration process simple.


'bootstrap-datetimepicker' field remains highlighted after clicking 'clear'

When using 'bootstrap-datetimepicker', if the 'clear' button is clicked, then the date value is cleared, but the inuse highlighting remains.  I think it would be ideal if this highlighting were cleared when the 'clear' button is clicked.

JS Fiddle
To reproduce:

Click 'From'
Choose a date (e.g. '01 Jan 2000')
The table refreshes correctly
Open the 'From' field and click the 'clear' button
The date is cleared but the inuse highlighting remains

This is the workaround I used to fix this:
$(".daterangepicker").on("dp.change", function (e) {
  if (e.date === false) {
    $(e.target).closest("input").removeClass("inuse");
  }
});


Immutable payload in iroha_crypto

Check this comment. Payload (currently a Vec<u8>) in structures like PublicKey, PrivateKey and Signature is immutable for the lifetime of the wrapping type. This means that capacity field of the Vec is redundant and could be removed to reduce the size. A similar thing was done in #1985

Probably we can somehow generalize this to no to repeate the code for Name struct

This is a different situation.
In case of ConstStr we want to be able to heap-allocate objects beyond a certain length.
Keys are all stored in enums, immutable and their length is known at compile time. It's likely that the final implementation is going to be a newtype wrapping [u8; X]  where X is determined for each key as a constant. (const generics are stable).


data event chunks gets padded to 8192 bytes

Describe the issue
I send some data as octet-stream like so:
 axios.post(config.api.url + resource + 'register', UserMessage.encode(message).finish(), {
                responseType: 'arraybuffer',
                headers: {
                    'Content-Type': 'application/octet-stream'
                }
            })

and in the server I have the following middleware:
module.exports = (req, res, next) => {
    if (!req.is('application/octet-stream')) {
        return next();
    }
    let data = [];
    req.on('data', chunk => {
        data.push(chunk);
    });
    req.on('end', () => {
        if (data.length <= 0) {
            next();
        }
        data = Buffer.concat(data);
        req.raw = Buffer.from(data.toString().replace(/\0/g, ''));
        next();
    });
};

which listens to data event and adds it to an array.
The problem is that I the chunk is padded to 8192 bytes so I get lots of \0 characters and I have to convert the buffer to string and replace all the \0 bytes and then convert back to buffer
Expected behavior, if applicable
If I send 11 bytes buffer for example I should get on the data event a chunk of size 11 and not 8192.
Environment:

express.js Version: 4.16.4
OS: Windows 10
Node.js version: 8.9.4

Based on the code above, this is a Node.js issue as Express.js is not involved in the data coming in (those data events). You'll want to open an issue in the Node.js repo with a reproduction case.

We can take a look as well if you can provide instructions on how to get the above code running (especially the client code, as I cannot figure it out).

We can take a look as well if you can provide instructions on how to get the above code running (especially the client code, as I cannot figure it out).

Thanks for trying to help.
To run the client you need to install axios (http request library) and protobufjs (protocol buffer from google).
Then create a .proto file in your project called user.proto:
syntax = "proto3";
package grocery.user;

message User {
    string username = 1;
    string password = 2;
}

Load the .proto file:
let UserMessage;

protobuf.load('./path/to/user.proto')
    .then(root => {
        UserMessage = root.lookupType('grocery.User');
    })
    .catch(error => {
        console.error(error);
    });

Fire http request:
 return new Promise((resolve, reject) => {
        const message = UserMessage.create({username, password});
        const error = UserMessage.verify(message);
        if (error) {
            reject(error);
        } else {
            axios.post(config.api.url + resource + 'register', UserMessage.encode(message).finish(), {
                responseType: 'arraybuffer',
                headers: {
                    'Content-Type': 'application/octet-stream'
                }
            })
                .then(response => {
                    console.log(response.data);
                    resolve(response.data);
                    // resolve(RegisterResponseMessage.decode(response.data));
                })
                .catch(error => {
                    reject(error);
                });
        }
    });

Now  server side, use the middleware for any route. In the example above I send octet-stream of my UserMessage and its size is variable length since it containts strings, you can experiment with short string and inspect the sent message on the network panel to see that not axios nor protobufjs is at fault since only the sent bytes are in the request and not the extra padding of bytes I've talked about.
When youre middleware intercept the request it will get notified about the data event once. If my UseMeesage was as follows:
\ctest\c\c1234

(The \c is some arbitrary character the protobufjs use for its protocol to parse the different fields of a message)
Then the chunk will be:
\ctest\c\c1234\0\0\0\0\0..... padded to 8192 bytes

Thank you. I'm not really a front end developer, so getting stuck on your instructions. I assume I install those with npm? How do I get them loaded in the web browser after that?

Yea you can install with npm and the easier way is just include the modules with script tags inside your html and then use another script tag that includes your logic (the logic script tag should be included below the import script tags of the modules)

Hi @Kashio yes, that is what I tried. I just couldn't figure out what the path I should use in the script tag src field for these. Perhaps could you provide what those need to be?

Hi @Kashio yes, that is what I tried. I just couldn't figure out what the path I should use in the script tag src field for these. Perhaps could you provide what those need to be?

The fastest way is to make a relative path from your index.html to your scripts which resides in node_modules/
so probably something like the following:
<script src="./node_modules/axios/dist/axios.js></script>
<script src="./node_modules/protobufjs/dist/protobufjs.js></script>
if your index.html and node_modules are in the same directory.
Also make sure there's a dist directory in these directories as I might be wrong (you can just find where the library javascript file resides inside these directories and point the src attribute to it)

Thank you for that and sorry for the wait; I had to build the reproduction case. The zeros are what is sent over the wire from the client. This is an issue with the interaction between protobuf and axios.
In my code UserMessage.encode(message).finish() produces Uint8Array(16) [10, 6, 102, 111, 111, 98, 97, 114, 18, 6, 49, 50, 51, 52, 53, 54] as one would expect. But then axios cannot accept that Uint8Array type without padding it, for whatever reason.
In fact, what it is sending is the value of the .buffer property from that, which is zero-padded 8192 size:

This is the axios bug you are experiencing: https://github.com/axios/axios/pull/1511


Clarify top-level purpose of uvwasi in README.md

This adds a diagram provided by @tniessen to the README, which I believe is very helpful (at least it would have saved me quite some time, puzzling over why uvwasi wasn't what I hoped it would be.)
(I believe it's also good to clarify that uvwasi is not useful to people with libuv-based code who wish to run that code in WASI containers.  I'm sure many in that situation would type in "libuv" and "wasi" and get here as the top hit.)

Landed in 3102114c8a90e4b63c256cda9d763b2d1a480920.


Wrong MAC calculation for certain plaintext lengths with AES128_CBC_SHA256 ciphersuites in TLS

When connecting to openssl server with a vanilla connection (i.e. no Encrypt then MAC, no Extended Master Secret) and TLS_*_AES_128_CBC_SHA256 ciphersuites, OpenSSL generates records with incorrect MAC, but only for certain sizes.
The ones I've tested were between 1000-1024 bytes and 2000-2048 bytes (inclusive). Of those 2032-2047 and 1008-1023 (inclusive) generate incorrect MAC values.
Reproducer:
cat > make-files.py << EOF
for i in range(1000, 1025):
    with open("data-{0}.txt".format(i), "wb+") as f:
        f.write(b"A" * (i-1) + b"\n")
EOF
python3 make-files.py
openssl req -x509 -newkey rsa -keyout /tmp/localhost.key -out /tmp/localhost.crt -subj /CN=localhost -nodes -batch
openssl s_server -key /tmp/localhost.key -cert /tmp/localhost.crt -HTTP -cipher @SECLEVEL=0:AES128-SHA256

in another console:
git clone https://github.com/tomato42/tlsfuzzer
pushd tlsfuzzer
# won't be needed after https://github.com/tlsfuzzer/tlsfuzzer/pull/762 gets merged
git checkout length-testing
git clone https://github.com/tlsfuzzer/tlslite-ng .tlslite-ng
ln -s .tlslite-ng/tlslite tlslite
git clone https://github.com/tlsfuzzer/python-ecdsa .python-ecdsa
ln -s .python-ecdsa/src/ecdsa ecdsa
PYTHONPATH=. python3 scripts/test-lengths.py

(alternatively the server can be set up with either ECDHE-RSA-AES128-SHA256 or DHE-RSA-AES128-SHA256 ciphersuite and tlsfuzzer script executed with the -d option)
tlsfuzzer output:
...
length: 1008 ...
Error encountered while processing node <tlsfuzzer.expect.ExpectApplicationData object at 0x7f061e6d0cd0> (child: <tlsfuzzer.messages.AlertGenerator object at 0x7f061e6d0d00>) with last message being: None
Error while processing
Traceback (most recent call last):
  File "scripts/test-lengths.py", line 229, in main
    runner.run()
  File "/home/hkario/dev/tlsfuzzer/tlsfuzzer/runner.py", line 196, in run
    header, parser = self.state.msg_sock.\
  File "/home/hkario/dev/tlsfuzzer/tlslite/messagesocket.py", line 102, in recvMessageBlocking
    for res in self.recvMessage():
  File "/home/hkario/dev/tlsfuzzer/tlslite/messagesocket.py", line 84, in recvMessage
    for ret in self.recvRecord():
  File "/home/hkario/dev/tlsfuzzer/tlslite/recordlayer.py", line 927, in recvRecord
    data = self._decryptThenMAC(header.type, data)
  File "/home/hkario/dev/tlsfuzzer/tlslite/recordlayer.py", line 702, in _decryptThenMAC
    raise TLSBadRecordMAC()
tlslite.errors.TLSBadRecordMAC

length: 1010 ...
Error encountered while processing node <tlsfuzzer.expect.ExpectApplicationData object at 0x7f061e6d5730> (child: <tlsfuzzer.messages.AlertGenerator object at 0x7f061e6d5760>) with last message being: None
Error while processing
Traceback (most recent call last):
  File "scripts/test-lengths.py", line 229, in main
    runner.run()
  File "/home/hkario/dev/tlsfuzzer/tlsfuzzer/runner.py", line 196, in run
    header, parser = self.state.msg_sock.\
  File "/home/hkario/dev/tlsfuzzer/tlslite/messagesocket.py", line 102, in recvMessageBlocking
    for res in self.recvMessage():
  File "/home/hkario/dev/tlsfuzzer/tlslite/messagesocket.py", line 84, in recvMessage
    for ret in self.recvRecord():
  File "/home/hkario/dev/tlsfuzzer/tlslite/recordlayer.py", line 927, in recvRecord
    data = self._decryptThenMAC(header.type, data)
  File "/home/hkario/dev/tlsfuzzer/tlslite/recordlayer.py", line 702, in _decryptThenMAC
    raise TLSBadRecordMAC()
tlslite.errors.TLSBadRecordMAC
...

====================
version: 1
====================
TOTAL: 27
SKIP: 0
PASS: 11
XFAIL: 0
FAIL: 16
XPASS: 0
====================
FAILED:
        'length: 1008'
        'length: 1009'
        'length: 1010'
        'length: 1011'
        'length: 1012'
        'length: 1013'
        'length: 1014'
        'length: 1015'
        'length: 1016'
        'length: 1017'
        'length: 1018'
        'length: 1019'
        'length: 1020'
        'length: 1021'
        'length: 1022'
        'length: 1023'

While debugging it, @beldmit and me suspect the assembly aesni_cbc_sha256_enc() method.
Update: I've tested all lengths between 1 and 8192, and the ones that fail are: 240-255, 496-511, 752-767, etc. every 256

Is this in master only?

yes, it's 3.0.0 only, 1.1.1k isn't affected
also setting OPENSSL_ia32cap to either 0x0:0x0 or masking the AES-NI bit makes the issue go away on master

My investigation so far:

it is not in aesni_cbc_sha256_enc() as masking SHAEXT and AVX bits does not make the issue go away but the aesni_cbc_sha256_enc() is not called in such case
it appears even in OPENSSL_NO_MULTIBLOCK build

git bisect tells me that the offending commit is 0d2bfe52bb

I'm afraid it just means that it's because of switching from legacy to provider in crypto/evp/evp_enc.c

Yes, the offending part of this commit is switching to provider code from legacy.

Current state: when https://github.com/openssl/openssl/commit/0d2bfe52bb7e839f7bddcdb1160c335f2994df2f is checked out, providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c implementation is broken but crypto/evp/e_aes_cbc_hmac_sha256.c is not

@slontis , do you have a chance to look?

I might try to have a look tomorrow.
It would help if you have a simpler way to repo the issue..

@slontis Non-isolated reproducer:
Use patch from #15735
s_server: openssl s_server -key /tmp/localhost.key -cert /tmp/localhost.crt -HTTP
s_client: openssl s_client -connect localhost:4433 -no_etm -tls1_2 -cipher ECDHE-RSA-AES128-SHA256
After connection succeeds, request GET /data-1019.txt HTTP/1.0, where data-1019.txt is plain text file 1019 bytes length.
I get the following error on the s_client side:
GET /data-1019.txt HTTP/1.0
C001CF04D07F0000:error:1C800066:Provider routines:ossl_cipher_generic_stream_update:cipher operation failed:providers/implementations/ciphers/ciphercommon.c:470:
C001CF04D07F0000:error:0A000119:SSL routines:ssl3_get_record:decryption failed or bad record mac:ssl/record/ssl3_record.c:609:

for the current master

I might try to have a look tomorrow.
It would help if you have a simpler way to repo the issue..

Could you say what makes the instructions complex?

@beldmit the other thing that would make it easier to reproduce is having an echo mode in s_server, like I've described in #15736

Found it!!!
https://github.com/openssl/openssl/blob/f77208693ec3bda99618e6f76c0f8d279c0077bb/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c#L736

Found it!!!

Nice work!

Found it!!!

Good work!

congrats!


Allowing to change the output file name from wire_gen.go to other

Issue #192

@googlebot I signed it!


cli: fix ABI api endpoint zksync mainnet

Currently the CLI fails to scaffold projects on zkSync Era cause the API endpoint to retrieve the contract ABI is incorrect. This PR fixes it using the new explorer API we've just released.

Looks good to me @saihaj lets merge and release it in the next cli version release with other features


Please expose "enable_dns_server"

Hello,
please expose "enable_dns_server". thanks!

added in main branch (to be released in 1.1.1)


feat: make CredentialService URL configurable

What this PR changes/adds
This PR adds a configuration value for the URL of the credentialservice, which is a mandatory config parameter
when using IATP
Why it does that
Being able to forward credential requests
Further notes

This PR also moves the injection of the DefaultCredentialServiceClient to the defaults extension, to make it easily replaceable
for an embedded CredentialServiceClient one would simply have to provide another implementation analogous to the DefaultCredentialServiceClient

Linked Issue(s)
Closes # <-- insert Issue number if one exists
Please be sure to take a look at the contributing guidelines and our etiquette for pull requests.

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

Comparison is base (c609610) 71.77% compared to head (fe0769e) 71.76%.

Files
Patch %
Lines

...entitytrust/core/IatpDefaultServicesExtension.java
0.00%
3 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3635      +/-   ##
==========================================
- Coverage   71.77%   71.76%   -0.01%
==========================================
  Files         914      914
  Lines       18276    18278       +2
  Branches     1036     1036
==========================================
+ Hits        13117    13118       +1
- Misses       4707     4708       +1
  Partials      452      452

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


JSONMessage is incompatible with Spigot 1.17

Hey, so I'm getting somewhat of an error:
java.lang.IllegalStateException: JSONMessage.ReflectionHelper is not set up yet! at me.rayzr522.jsonmessage.JSONMessage$ReflectionHelper.assertIsSetup(JSONMessage.java:845) ~[?:?] at me.rayzr522.jsonmessage.JSONMessage$ReflectionHelper.createTextPacket(JSONMessage.java:737) ~[?:?] at me.rayzr522.jsonmessage.JSONMessage.send(JSONMessage.java:171) ~[?:?] at uhfinn.test.Listeners.PlayerJoin$1.run(PlayerJoin.java:79) ~[?:?] at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftTask.run(CraftTask.java:81) ~[spigot-1.17.jar:3145-Spigot-9472b09-f992ce6] at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:400) ~[spigot-1.17.jar:3145-Spigot-9472b09-f992ce6] at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1252) ~[spigot-1.17.jar:3145-Spigot-9472b09-f992ce6] at net.minecraft.server.dedicated.DedicatedServer.b(DedicatedServer.java:436) ~[spigot-1.17.jar:3145-Spigot-9472b09-f992ce6] at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1200) ~[spigot-1.17.jar:3145-Spigot-9472b09-f992ce6] at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1027) ~[spigot-1.17.jar:3145-Spigot-9472b09-f992ce6] at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:307) ~[spigot-1.17.jar:3145-Spigot-9472b09-f992ce6] at java.lang.Thread.run(Thread.java:831) [?:?]
Just wondering as to what caused it and how I would go about fixing this,
The issue only occurs on the first time a plugin is ran on a server and can only be fixed by restarting the server

@uhFinn JSONMessage is not compatible with Spigot 1.17 yet, as there were massive changes to the internals of the Minecraft server code in the latest update. I have been working on the side to update it to support 1.17 but there's a lot of work involved. i will hopefully have a new version out soon!

Ahh thank you, I didnt even think about that being a potential cause for the issue, thanks again

Hey @rayzr522 ,
So I´ve taken some time to look into your code and try to fix it for version 1.7!
Since I´m not fully into this type of Plugin/Spigot coding it might have some issues, but the basic features should work in the new version. Anyways I hope this helps you fixing this awesome tool (!) and provides a temporary solution for others such as @uhFinn .
Best, MH
JSONMessage.txt

@ManuelHummel thanks for providing this! I've just opened PR #15 with proper support for 1.17 as well as a better system so updating for new versions isn't so difficult going forward. if you would like to review the changes you're more than welcome to, as i'm currently awaiting the review of a member of my Discord server.
i should hopefully get that review tomorrow & then i'll merge this PR and release a new version. keep an eye out for it! :)


check_subrc, skip check if assigning and checking assigning

should not report error for
READ TABLE ct_failed_objects ASSIGNING <lfs_failed_objects> INDEX 1.
IF <lfs_failed_objects> IS ASSIGNED.
ENDIF.

Hi Lars!
I noticed that there is still a sy-subrc check for the code:
DATA: lcl_ref TYPE REF TO data.
FIELD-SYMBOLS: <restab_standatd> TYPE STANDARD TABLE,

ASSIGN: lcl_ref->* TO <restab_standatd>.
IF <restab_standatd> IS NOT ASSIGNED.
ENDIF.

@victorizbitskiy thanks, please open a new issue for the above

@larshp done.
https://github.com/abaplint/abaplint/issues/1863


changed build files to account for android 6 changes.

Currently the permissions we are using are "normal". That is to say, no changes are needed for android 6 integration.  I did however update the gradle files, so now one can toggle off and on the permissions, when we do get them. It is not needed, if we are not using any "dangerous" permissions, but this way we are at least up to date in terms of the gradle files.  I also upgraded the dev app so we can test any permissions in the future.

@mrsasha we can merge. But I left out the change to the compiled version. We don't necessarily need to merge it. As right now all permissions we need do not require changes to the code as such. I believe we can close the pull... I will make a comment on the jira ticket.


[WIP] Changed 'forgotten password' to not ask for an email

This PR is for https://github.com/zulip/zulip/issues/6342
Issue #6342
Testing Plan:
I sent a password reset request and checked the email at localhost:9991/email.
GIFs or Screenshots:
On clicking the "Forgotten Password?" link, you'll be redirected to see this screen:

I've added comments to better optimize the code later by finding what I changed.
I will fix them after it's been reviewed.
Also, did you want a redirect to the reset page or an AJAX request in the settings panel?
I could do the AJAX part too, if that's what you want.

Looking at PR #11517, which has implemented AJAX but has stalled for some reason, as mentioned here.

@zulipbot claim

Because the source repository for this pull request was deleted, this pull request has been automatically closed by GitHub as an unintended side effect of renaming our default Git branch. If this change is still desired, please open a new pull request, referencing this one in the description.


Fix format of bumpversion file

PR summary
The go-sdk build was failing on the semantic-release step. This appears to be due to bad formatting in the .bumpversions.toml file. Fixing that file should resolve the build issue
PR Checklist
Please make sure that your PR fulfills the following requirements:

[x] The commit message follows the Angular Commit Message Guidelines.
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] New tests
[x] Build/CI related changes
[ ] Documentation content changes
[ ] Other (please describe)

What is the current behavior?

What is the new behavior?

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

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


VSCode@Insiders Support for Extensions

👋 more of a feature request than an issue!
Being able to bulk install VSCode extensions with Brew is absolutely superb; you can even use something like yadm to have machine/context-specific lists of extensions, absolutely great stuff.
I just bootstrapped a new MacOS installation using Brew to install my VSCode plugins and I'm deciding to use the Insiders build on this machine rather than the stable build. I think it would be cool if, similar to how Brewfiles can be used to bulk-install VSCode extensions, you could also do the same for VSCode@Insiders installations!
Obviously quite a few ways this could work, such as a vscode-insiders prefix in Brewfiles, but wanted to float the idea before talking too much about potential implementations. Is this something that the project maintainers would be interested in implementing, or is it a bit too niche of a use-case?
Cheers!

personally, i'd +1 this if the build is within the existing vscode stanza. example: vscode "foo", build: "code-insiders" where build is the binary name.

That actually is exactly how one can do it!
code-insiders --install-extension "golang.go"
I was hoping to jury-rig some solution that would work for me locally but unfortunately I don't know enough about the under-the-hood specifics of Brew to make it work for me.

you should be able to lean on comments from the initial implementation at https://github.com/Homebrew/homebrew-bundle/pull/1208/files#diff-363c350ab43f9059092b91432596c9ffb0628baf849b8f4dfedbd8dae0e7299aR29 and https://github.com/Homebrew/homebrew-bundle/pull/1208/files#diff-f9ae0ee608c877b4ccb13c808f9112b4fe03379a7deea9f1919b7b6d558a7bd4R33. from there, you will need to pass through a flag to swap out the binary.

I think we should just fall back to a code-insiders binary if code is not found.
Will review a PR for this but closing for now.

that could definitely work if the operator only has a single binary installed. i don't use vscode anymore however, when i did, i had stable and insider builds installed alongside one another which wouldn't work here but the option of assuming code and allowing it to be overridden on a per install level would allow us to cater for both.

I'd rather we supported the simplest option first and then considered extending later if needed. I'd also rather any complexity be pushed into e.g. environment variables rather than Brewfiles.


Chore/shift onchange

Moves 'onChange' behaviour out of AccordionItemTitle and into AccordionContainer. A precursor PR to a larger piece of work where I'm attempting to make our 'dumb' components 'dumb' and our 'smart' components (ie. the Wrapper components) 'smart'.

Also :tada: for PR 100!

Nice one!


Do you recommend celery?

You reference celery in the README.
Can you recommend it?
I tried it several months ago and it was too big and too complicated.
I am curious what you think about it.
Have you hear of https://channels.readthedocs.io/en/stable/ ?
BTW, I  hope it is all right that I ask you questions via github issues. If not, please tell me :-)

Hi @guettli
It really depends on what functionality you require for your application. Celery is very nice and efficient tool if you need to offload certain tasks or run things asynchronously in Python application. I would suggest reading some blog posts about integrating Celery with Django, as they usually also define some of the use cases for it.
We are also familiar with Django channels, although it’s a newer technology, and it’s not used in production a lot yet. I would recommend this blog post about it https://blog.heroku.com/in_deep_with_django_channels_the_future_of_real_time_apps_in_django