Rename output dll & libs of openssl 3.0

Hi,
I'm working on migration from openssl 1.0.2 to 3.0. Earlier we were renaming the output dll & libs as per our need.
We were editing the following files to rename the output lib/dll in 1.0.2
util\mkdef.pl
util\pl\VC-32.pl (pl folder does not exists in openssl 3.0, i guess it is changed to perl)
ms\do_nasm.bat (did not exists in openssl3.0
Please help me with steps to rename the output dll of openssl 3.0
If there is any documentation please let me know.

Since 1.1.0, if I remember correctly, we support making your own config targets with a shlib_variant to denominate an extra identifier that's inserted between the DLL base name and its extension:
https://github.com/openssl/openssl/blob/10836921e52ff9110c12b4b9f984e7c5ef1c89cc/Configurations/README.md?plain=1#L129-L149
Create your own target configs with this in mind is relatively easy, simply place a file name, for example, 99-ourtargets.conf in the Configurations directory with contents like this:
(
    "my-target-1" => {
        inherit_from => [ 'linux-86_64' ],
        shlib_variant => "-ourtargets",
    },
    "my-target-2" => {
        inherit_from => [ 'linux-aarch64' ],
        shlib_variant => "-ourtargets",
    },
    # more config targets...
);

You will have to adapt the strings to your liking, the above is simply an example to go from.
Regarding the location of 99-ourtargets.conf, the Configurations directory is just the default place.  You can also place it elsewhere and tell Configure like this:
$ perl Configure --config=/PATH/TO/99-ourtargets.conf

Thank you @levitte for the response.
As per you suggestion I tried following, added a config file 99-ourtargets.cong inside configurations directory.
I'm using Windows, following is the content of the files. I hope this is applicable for windows too.
`(
"libcrypto" => {
inherit_from => [ 'VC-WIN32' ],
shlib_variant => "-test1",
},
"libssl" => {
inherit_from => [ 'VC-WIN32' ],
shlib_variant => "-test1",
}
);
executed following commands after adding the config file

perl Configure VC-WIN32 enable-fips
nmake

I'm not able to get the output file as libcrypto-test1.lib/ libcrypto-test-1.dll & libssl-test1.lib libssl-test1.dll.
Could you please point out what I'm missing here.
Also is there any way to add prefix instead of suffix in the library name.

Ah, an obvious misunderstanding, sorry for the lack of clarity.
In my example, I had this:
(
    "my-target-1" => {
        inherit_from => [ 'linux-x86_64' ],
        shlib_variant => "-ourtargets",
    },
    "my-target-2" => {
        inherit_from => [ 'linux-aarch64' ],
        shlib_variant => "-ourtargets",
    },
    # more config targets...
);

This defines two config targets, my-target-1 and my-target-2, which extend linux-x86_64 and linux-aarch64 respectively.  They would be to be used like this:
$ perl Configure my-target-1

or
$ perl Configure my-target-2

So for your example, which I understand is meant to extend VC-WIN32, I could see writing it like this:
(
    "VC-WIN32-test1" => {
        inherit_from => [ 'VC-WIN32' ],
        shlib_variant => "-test1",
    }
);

You can then use it like this:
$ perl Configure VC-WIN32-test1 enable-fips

Does this make more sense?

Thank you @levitte , this helps & I'm able to rename the target dlls. Thank you !
Also, as per my understanding it is not possible to add prefix (e.g test1-libssl-3.dll)in the dll/lib name, we can only add suffix (like  libssl-3-test1.dll)

@levitte could you please clarify this -
it is not possible to add prefix (e.g test1-libssl-3.dll)in the dll/lib name,
we can only add suffix (like libssl-3-test1.dll). Please correct me if I'm wrong

Thank you @levitte , this helps & I'm able to rename the target dlls. Thank you ! Also, as per my understanding, it is not possible to add prefix (e.g test1-libssl-3.dll)in the dll/lib name, we can only add suffix (like libssl-3-test1.dll). Please correct me if I'm wrong

Yes, that's correct

Thank you @levitte

Hi Team,  with the above steps mentioned I was able to rename the output dll but I see the libs are not renamed with the provided suffix. Is this expected or libs should also be renamed.

hi @levitte , could you please help me here. I see only dll is renamed not the respective .lib file.
Is there any way to rename the .lib file also, earlier in OpenSSL 102 version when we rename .dll corresponding .lib file is also renamed. Please assist.


Rare crash of UI with "Cannot read property 0 of undefined" error

Stacktrace implicates heatmap.js from Highcharts. Relates to know bug in Highcharts < 7.2.

OpenKit data does not show any crashes. Closing issue


Missing Accept header in request

I was working with the crawler this morning, tried to crawl a website that is hosted on a Windows machine. Whatever I did the result was always HTTP 500 error, after like an hour I finally found out that the Windows server requires Accept header to be set in request, I'm a little surprised that simplecrawler does not set it automatically. I had to add it using:
crawler.customHeaders = {
    'Accept': '*/*'
};

Shouldn't it be always set by default? Just a question. Thanks!

Hey, thanks for filing an issue! You're right, we should be including that header by default. I realize now that we should add an Accept-Encoding header as well. I'll look into fixing it as soon as possible!

@dzafel I've published a fix to master, you can give it a try if you like


Feature Request: Make lstm2d.separable_lstm accept Dynamic Batch Sizes

Apparently, lstm2d.separable_lstm doesn't accept dynamic batch sizes (number of images). Whenever I set the shape of a placeholder to (None, height, width, depth) to be fed into the network , I get this error:
Traceback (most recent call last):
  File "...\tensorflow\contrib\ndlstm\python\lstm2d.py", line 159, in separable_lstm
    hidden = horizontal_lstm(images, nhidden)
  File "...\tensorflow\contrib\ndlstm\python\lstm2d.py", line 82, in horizontal_lstm
    sequence = images_to_sequence(images)
  File "...\tensorflow\contrib\ndlstm\python\lstm2d.py", line 47, in images_to_sequence
    [width, num_image_batches * height, depth])
TypeError: unsupported operand type(s) for *: 'NoneType' and 'int'

I guess it would be nice to have separable_lstm accept dynamic batch sizes so it can be used effectively.

I tried it for my own project and it's taking long to get to a step with a batch size greater than 1 in training. Any other ideas on how to make the batch size for ndlstm dynamic?

How about using tf.shape to get dynamic shape? I mean to modify _shape function:
s = array_ops.shape(input_)
return s[0], s[1],....
Does it work?

Applying tf.shape worked although I applied it in only one part of the lstm2d like so:
def images_to_sequence(tensor):
  _, _, width, depth = _shape(tensor)
  s = array_ops.shape(tensor)
  batch_size, height = s[0], s[1]
  transposed = array_ops.transpose(tensor, [2, 0, 1, 3])
  return array_ops.reshape(transposed,
                           [width, batch_size * height, depth])

With that, sequence_to_images was also modified to take in a known dimension (height) of the tensor:
def sequence_to_images(tensor, height):
  width, num_batches, depth = _shape(tensor)
  if num_batches is None:
    num_batches = -1
  else:
    num_batches = num_batches // height
  reshaped = array_ops.reshape(tensor,
                               [width, num_batches, height, depth])
  return array_ops.transpose(reshaped, [1, 2, 0, 3])

I already pushed these changes.


Add base64 as runtime dependency

Fixed the following warning when running serverspec on Ruby 3.3
$ ruby --version
ruby 3.3.4 (2024-07-09 revision be1089c8ec) [arm64-darwin23]

$ bundle exec rspec
/app/vendor/bundle/ruby/3.3.0/gems/specinfra-2.90.0/lib/specinfra/backend/powershell/script_helper.rb:1: warning: base64 was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.4.0. Add base64 to your Gemfile or gemspec. Also contact author of specinfra-2.90.0 to add base64 into its gemspec.

See "Standard library updates" section in https://www.ruby-lang.org/en/news/2023/12/25/ruby-3-3-0-released/

Thanks!

Released as v2.90.1.

thx!


add new feature command history

1.add last command for #82
2.modify some code style
3.add define for windows

No need to create new PR. Just submit your code, the old one will be updated automatically.
And now without the review history we have to review again.... 😿

I can reopen old PR？


Issue #2: refer to RFC 7807 instead of the (long expired) Internet Draft

Fixes Issue #2:
Refer to RFC 7807 instead of the (long expired) Internet Draft, with some explanation.
I also added a guidance about application/x.problem+json vs. application/problem+json.
I also removed the link to the Pennybags documentation, which is not accessible without
authentication.
@whiskeysierra Do you want me to add something from that documentation? (I'm at home right now and can't see it.)

This is basically what it says on that page. Not sure if there is something worth keeping.
Problems

something that is difficult to deal with : something that is a source of trouble, worry, etc.

Merriam-Webster

A matter or situation regarded as unwelcome or harmful and needing to be dealt with and overcome.

Oxford Dictionaries

application/problem+json

   HTTP status codes are sometimes not sufficient to convey enough
   information about an error to be helpful.  While humans behind Web
   browsers can be informed about the nature of the problem with an
   HTML response body, non-human consumers of so-called HTTP APIs
   are usually not.

   [application/problem+json] defines simple JSON and XML document formats to
   suit this purpose.  They are designed to be reused by HTTP APIs,
   which can identify distinct problem types specific to their needs.

Mark Nottingham and Erik Wilde in
Problem Details for HTTP APIs

Problem Details for HTTP APIs is an Internet-Draft for a common and extensible format to transport errors over HTTP. Even though it's expired as of January 29, 2015 it's the closest to an official standard one can find and it has a bunch of nice properties, one of which is the ability to define custom extensions using the ''type'' property as a discriminator which is a perfect match with inheritance in Swagger and Jackson's Polymorphic Type Handling - making it extremely pleasant to de/serialize custom and generic problem types in resource and gateway implementations.
Example
{
  "type": "https://docs.pennybags.zalan.do/problems/insufficient-credit-account",
  "status": 422,
  "title": "Insufficient Credit Account",
  "detail": "Current balance is EUR 0.00 but needed EUR 20.00 or more.",
  "balance": {
    "amount": 0.00,
    "currency": "EUR"
  },
  "debit": {
    "amount": -20.00,
    "currency": "EUR"
  }
}

Schema
Problem:
  type: object
  properties:
    type:
      type: string
      format: uri
      description: |
        An absolute URI that identifies the problem type.  When dereferenced, it SHOULD
        provide human-readable documentation for the problem type (e.g., using HTML).
      example: http://httpstatus.es/503
    title:
      type: string
      description: A short, human-readable summary of the problem type. It SHOULD NOT
      change from occurrence to occurrence of the problem, except for purposes of localisation.
      example: Service Unavailable
    status:
      type: integer
      format: int32
      description: |
        The HTTP status code generated by the origin server for this occurrence of the problem.
      example: 503
    detail:
      type: string
      description: |
        An human readable explanation specific to this occurrence of the problem.
      example: Connection to database timed out
    instance:
      type: string
      format: uri
      description: |
        An absolute URI that identifies the specific occurrence of the problem.
        It may or may not yield further information if dereferenced.
  required:
    - type
    - title
    - status

Generic problems
There are status codes which convey actually enough information to the client to be handled correctly. Examples would include ''404 Not Found'', ''412 Precondition Failed'' and ''415 Unsupported Media Type''. Then there are status codes that wouldn't justify a specific, custom problem type but may you still want to attach some additional details, e.g. ''414 Request-URI Too Long''. ''type'', ''title'' and ''status'' in this case can all be infered by the status code alone. The ''type'' property points to the specification of the status code over at [http://httpstatus.es/] and ''title'' contains the reason phrase as defined by RFC 7231.
{
  "type": "http://httpstatus.es/414",
  "title": "Request-URI Too Long",
  "status": 414,
  "detail": "Maximum length is 8,192 characters."
}

The RFC tells to use type about:blank (which is also the default value) for type if your type has not more specific information than the status code itself. This would mean not to use the httpstatus.es links anymore in those cases.

This would mean not to use the httpstatus.es links anymore in those cases.

Exactly. I already proposed changes to our problem library to implement this. https://github.com/zalando/problem/pull/20

So I guess we can leave it the way it currently is.


Docs: Live Lambda doesnt support event streaming

This took a while to track down but the live lambda handler doesn't support streaming. To be honest, I don't know how this could work given the realtime writing, but it should at least be documented somewhere. If you agree, I'll find a spot and submit a PR!

yeah there actually is a way to make it work because we made the underlying bridge stream based but this probably isn't super high priority at the momentyou're right we should document it

Yeah I'll add it

This is the example workaround
import { streamHandle, handle } from 'hono/aws-lambda';

import app from './app';

export const handler = process.env.SST_LIVE ? handle(app) : streamHandle(app);

This is the example workaround:
import { streamHandle, handle } from 'hono/aws-lambda';

import app from './app';

export const handler = process.env.SST_LIVE ? handle(app) : streamHandle(app);


Problem loading Meta-Llama-3-70B-Instruct-Q8_0-00003-of-00003.gguf

When attempting to load this specific model, the following error logs can be seen. This is currently breaking the app (not hard crash but the app becomes unresponsive).
[2024-07-19T20:41:16Z INFO  llama-core] Initializing the core context
[2024-07-19 17:41:16.071] [info] [WASI-NN] GGML backend: LLAMA_COMMIT 5e116e8d
[2024-07-19 17:41:16.071] [info] [WASI-NN] GGML backend: LLAMA_BUILD_NUMBER 3405
[2024-07-19 17:41:16.072] [error] [WASI-NN] llama.cpp: llama_model_load: error loading model: illegal split file: 2, model must be loaded with the first split
[2024-07-19 17:41:16.072] [error] [WASI-NN] llama.cpp: llama_load_model_from_file: failed to load model
[2024-07-19 17:41:16.072] [error] [WASI-NN] GGML backend: Error: unable to init model.
[2024-07-19T20:41:16Z ERROR llama-core] Backend Error: WASI-NN Backend Error: Caller module passed an invalid argument
Error: Operation("Backend Error: WASI-NN Backend Error: Caller module passed an invalid argument")

This is not a problem related with recent changes in the wasmedge version. The following error lines were produced in a recent version:
[INFO] Log prompts: false
[INFO] Log statistics: false
[INFO] Log all information: false
[2024-07-18 19:29:47.868] [error] [WASI-NN] GGML backend: Error: unable to init model.
Error: "Fail to load model into wasi-nn: Backend Error: WASI-NN Backend Error: Caller module passed an invalid argument"

Assigning to myself as well because there is a failure in the frontend to handle the backend error gracefully.

The 70b model file is too large for the git large file system. So, it is broken into 3 files. We need to stitch them back together into one file after downloading.
This error shows that it tries to start up the third partial file in the set without the first two.

So is the BE handling this stitching together of the files or the FE?


Defning belongsTo Relation in Dynamic Model

Hi
I have a dynamic model (dataInFile) which extends DynamicModel. This model has a reverse one-to-many relation with another model (UploadedFile).
class DataInFile extends DynamicModel
{
    use HasFactory;
    public function file(){
        return $this->belongsTo(UploadedFile::class);
    }
}

class UploadedLists extends Model
{
    use HasFactory;
    public function fileData(): HasMany
    {
        $foo = app(DynamicModelFactory::class)->create(DataInFile::class, 'data_1_1');
        return $this->hasMany($foo, 'fileId');
    }
}

When I access the DataInFile model with
 $foo = app(DynamicModelFactory::class)->create(DataInFile::class, 'data_1_1');
 $foo->find(1);

it works fine and I am able to get the uploadedFile.
However the reverse does not work, error being Base table or view not found: 1146 Table 'my_data_base.data_in_file' doesn't exist
So is there a way to be able to do this?
Also to make it a little more complicated the name of the table depends on a column in the table UploadedLists .
Is this something that can be achieved.
Any help is highly appreciated

Hi @vworld, unfortunately I do not have the time now to test that out. Maybe I can have a look in the next two weeks...

I have not the time to have a closer look at this, feel free to send a PR!
For now I close this issue...


could not determine kind of name for C.EVENT_WEAK_HASH_* errors

Building fails with following errors. What i am missing here?
make build
mkdir -p builds/
go build -tags """" -o builds/linux/amd64/gocrack_worker  -ldflags
"-X github.com/fireeye/gocrack/worker.CompileRev=dc14ad5
-X github.com/fireeye/gocrack/worker.CompileTime=1521450941
-X github.com/fireeye/gocrack/worker/engines/hashcat.HashcatVersion="
cmd/gocrack_worker/*.go
github.com/fireeye/gocrack/gocat
gocat/gocat.go:287:7: could not determine kind of name for C.EVENT_WEAK_HASH_ALL_CRACKED
gocat/gocat.go:231:7: could not determine kind of name for C.EVENT_WEAK_HASH_POST
gocat/gocat.go:229:7: could not determine kind of name for C.EVENT_WEAK_HASH_PRE
Makefile:14: recipe for target 'build' failed
make: *** [build] Error 2

Regards,
Allabert

What version of hashcat is installed locally? It looks like you're trying to build it with Hashcat 4 and unfortunately, it's not supported yet as they've changed some of the events.
If this is the case, go back to 3.6.X or switch to an experimental branch of GoCrack  feat/hc_4_support

Hi @allabert, at this time Hashcat 4 is not supported and I'm not sure when I'll get around to it.
Please use v3.6.0 until it's supported. I'm going to close this because it's related/duplicate of #6


FirebaseUI not displaying buttons - ReOpened

Step 1: Are you in the right place?
Step 2: Describe your environment
Objective C or Swift: 5.0
iOS version: 12.2
Firebase SDK version: i dont know sorry
FirebaseUI version: i dont know sorry
CocoaPods Version: i dont know sorry
I Do have email enabled so that is not the problem.

Step 3: Describe the problem:
Hi recently I have used the firebase UI as a sign-in method for a test app. The buttons are not displaying for the page after you click a correct login button. But only the welcome displays as shown:

Steps to reproduce:
My code is for the login is the following:
import UIKit
import FirebaseAuth
import FirebaseUI

typealias FIRUser = FirebaseAuth.User

class LoginViewController: UIViewController {

@IBOutlet weak var loginButton: UIButton!

override func viewDidLoad() {
    super.viewDidLoad()

    // Do any additional setup after loading the view.

}

@IBAction func loginButtonPressed(_ Sender: UIButton) {
    // 1
    guard let authUI = FUIAuth.defaultAuthUI()
        else { return }

    // 2
    authUI.delegate = self

    // 3
    let authViewController = authUI.authViewController()
    present(authViewController, animated: true)
}

/*
// MARK: - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
    // Get the new view controller using segue.destination.
    // Pass the selected object to the new view controller.
}
*/
}

extension LoginViewController: FUIAuthDelegate {
func authUI(_ authUI: FUIAuth, didSignInWith authDataResult: AuthDataResult?, error: Error?) {
print("handle user signup / login")
}

}

Observed Results:
I feel like this has a simple answer and thank you for the help ahead of time!
I'm also in a different area zone away from the central server of my project. I did use a VPN and the problem remained so I do not think that is the problem.

You need to set the providers, otherwise FirebaseAuthUI won't have any sign-in methods.


updating to new binder link

The previous launch binder button pointed to simon's prior repo and did not load. I've updated it to point to a working jupyter binder.

I'm not sure why tests are failing since I only made changes in the README

I'm not sure why tests are failing since I only made changes in the README

The CI error looked odd:
pytest plugin exception: Duplicate Signature: b'edcbf0ec3c2a829ab3f540ea58386ecd6ab5c40589b25cebc97a0f107c15b4c5'
So I will re-run it and see if it goes away. Thanks for taking care of this!

The CI error looked odd:
pytest plugin exception: Duplicate Signature: b'edcbf0ec3c2a829ab3f540ea58386ecd6ab5c40589b25cebc97a0f107c15b4c5'
So I will re-run it and see if it goes away. Thanks for taking care of this!


Docusaurus for docs-only sites

I've been looking for a system to publish our Markdown documents and Docusaurus looks really nice. However, it currently seems to be targeted on "project websites" where the base URL (docs.example.com) hosts a front page and the docs live in the /docs subfolder. There might be workaround like using only the /build/docs folder after build-time but it would be really great to see first-class support for docs-only sites as well.
Some things that I'd like to see in Docusaurus if it supported this use case:

New docusaurus-init mode that generates docs-only site.
Such site doesn't contain any frontpage or blog or anything else. The /docs folder is the root of the site and when I visit docs.example.com, I directly see the rendered /docs/index.md document.

(The docs are not at docs.example.com/docs.)

There should be a React template for the docs pages, similarly to what exists today for custom pages.
There should be an on-page navigation (ToC) for longer documentation articles (some docs systems use the right sidebar, for example).

This seems like a similar request to: https://github.com/facebook/Docusaurus/issues/416

@ericnakagawa - you did this with your personal blog, didn't you?

Take this gist as index.js: https://gist.github.com/richardzcode/d0fcb3a98e60528340175aa5168835bb
It assumes you have a ../README.md file. If not then just modify the file path.

How would you render a markdown file + the docs sidebar, I can see DocsSidebar requires metadata, which i am not sure how to access

Just a heads-up, but BlueWhale seems to do what the OP asked for.
Although how, I have yet to investigate. Probably during the build step?

@Happy-Ferret So the way we solved it for BlueWhale, which I don't think is a horrible solution, is to do a redirect from index.html to the first docs page.
https://github.com/facebookresearch/BlueWhale/blob/docs/website/static/index.html

I support BlueWhale's solution.

I ended up doing this: No changes on the docusaurus project at all. But after yarn build, I move everything inside website/build/your-site/docs into website/build/your-site. Then adjust the sidebar link programatically.

Everyone still having this issue, its already documented here

The redirect solution still leaves you with a docs.example.com/docs URL instead of just docs.example.com. @novalagung can you elaborate on your solution, specially the sidebar link adjustment.

In v2 of this project it would be great to have suppport for docs-only or blog-only versions of the classic init config

Check Out Docs-only mode in the official Documentation of Docusaurus.


1469401 - Print out error messages only once

We are printing error messages and the help menu
twice. Also, clean up some unused options.
Closes-bz1469401

ACK

@rthallisey Can you please open a PR to merge this to master as well?


fix sha256sum

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe) and found some lint.
Here's what I've got...
For recipe:

When defining a source/url please add a sha256, sha1 or md5 checksum (sha256 preferably).

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

I'm confused, I get a sha256 for:
http://nixos.org/releases/patchelf/patchelf-0.9/patchelf-0.9.tar.gz
of
f2aa40a6148cb3b0ca807a1bf836b081793e55ec9e5540a5356d800132be7e0a
but CI got:
b0a96997382ec3597aee1376a9f6dfed04053c83f2b3d1062cc7b7cec4c6c95b
No idea how this is happening!
https://circleci.com/gh/conda-forge/patchelf-feedstock/15?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link

I tried this locally and also got the same thing that the CI got. In any event, am replacing this PR with a new PR ( https://github.com/conda-forge/patchelf-feedstock/pull/10 ).

Thanks for raising this to my attention. If you are still getting a different checksum, please let me know.


[PORT] Fixes issue #3960 [QnAMaker] [DotNet] Implementing QnAMaker's precise answering capability as an additional feature for BotFramework users

Port this change from botbuilder-dotnet/master branch:
https://github.com/microsoft/botbuilder-dotnet/pull/3935

Fixes issue #3960
QnAMaker has new additional feature,  to provide answers in precise.  Users can choose to use this feature by sending an additional parameter, during GenerateAnswer API call.
Changed projects

Microsoft.Bot.Builder.AI.QnA
Microsoft.Bot.Builder.AI.QnA.Tests

[changes required]

This issues was reverted in botbuilder-dotnet with PR 4170 Should not be ported.


Enable client API to mute audio on publishers

This PR aims to:

[x]  Reduce locks in audio mute feature (Erizo)
[x]  Create a single list of publishers in ErizoJS
[x]  Add the possibility to mute audio from a publisher

With this PR we can mute audio from Publisher and it will stop sending bytes to all the subscribers, saving bandwidth in these cases.

@lodoyun @aalonsog I merge this PR now, but please review it once you come back. I'll apply changes in a separate PR.


Feature/introduce sdk concept

huge milestone
/triage
/assign
/label MVP enhancement Feature
/milestone v0.1.0

/approve
/merge


archlinux importer: package url is wrong according to purl-spec

Currently purl from archlinux importer is formatted as pkg:pacman/archlinux/{name}@{version}
But according to the official docs: https://github.com/package-url/purl-spec/blob/master/PURL-TYPES.rst
alpm should be used as type field instead of pacman. (Actually there is no pacman type).
arch, arch32, archarm, manjaro or msys should be used as namespace field instead of archlinux.

alpm
alpm for Arch Linux and other users of the libalpm/pacman package manager.

There is no default package repository: this should be implied either from
the distro qualifiers key  or using a repository base url as
repository_url qualifiers key.

The namespace is the vendor such as arch, arch32, archarm,
manjaro or msys. It is not case sensitive and must be lowercased.

The name is the package name. It is not case sensitive and must be lowercased.

The version is the version of the package as specified in vercmp(8) as part of alpm.

The arch is the qualifiers key for a package architecture.

Examples::
pkg:alpm/arch/pacman@6.0.1-1?arch=x86_64
pkg:alpm/arch/python-pip@21.0-1?arch=any
pkg:alpm/arch/containers-common@1:0.47.4-4?arch=x86_64

@sify21 thanks for pointing this, this is under progress in https://github.com/nexB/vulnerablecode/pull/935

@sify21 thanks for raising this, this is now fixed. I am closing this now.


pull request for e2e test at 11/10/2016 17:45:12

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

optest/docs/updated_at.md
:white_check_mark:Succeeded

Details

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Include call interop for the current network

Hi,
Would we be able to check that the user is on the mainnet or test network and also if they are on the ethereum or binance chain. I think this has to do with the network method which is currently not implemented. Is there a chance to get that working so that we can confirm if tye user has indeed trasnferred the koney to oir address on the ether or bsc chain.

Yes, it is in the todo list. Things will change with metamask with 1559 so I will put then there.

The preferred way to get the current network is to use web3.Eth.ChainId it is included in the template


Clarify how Web push notifications work with 'Direct Batch Send' for Notification Hubs

Service: Notification Hubs
Published page: https://learn.microsoft.com/en-us/azure/notification-hubs/browser-push

It seems like Direct Batch Send (https://learn.microsoft.com/en-us/rest/api/notificationhubs/direct-batch-send) is not yet supported or works in a 'suprising' way for Web push notifications.
As with other methods of sending notification under https://learn.microsoft.com/en-us/azure/notification-hubs/browser-push#send-push-notifications , I would expect either a note that batch send does not work yet, or an example of how multiple device handles should be provided.

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

ID: db792152-4bc3-37aa-f04a-d988be47bba8
Version Independent ID: ef78ce72-dc0a-cd24-8a3a-288188c5c48b
Content: Send browser (web push) notifications with Azure Notification Hubs (preview)
Content Source: articles/notification-hubs/browser-push.md
Service: notification-hubs
GitHub Login: @sethmanheim
Microsoft Alias: sethm

@dirkdev98
Thanks for your feedback! We will investigate and update as appropriate.


Document mechanism to fix extension annotations

Document mechanism to fix extension annotations in the Extensions docs, which is used as:
yarn publish-pkgs -e -g

Also document other options of the script for this feature.

TBD in another time because the current implementation of the fix annotations mechanism needs some refactoring

dependent on https://github.com/rancher/dashboard/issues/12503


Union tests

Trac ticket number
Branch description
Provide a concise overview of the issue or rationale behind the proposed changes.
Checklist

[x] Tests have been added to the union combinator to check cases where subqueries use different aliases but the same type

We should ensure the tests work on other databases (if they can eventually be contributed upstream).
Author.objects.create(name="Gabriel Marques", num=1, extra=e1) exceeds max_length=10 on `name.
This test might need to be skipped on some backends (this is SQLite):
======================================================================
ERROR: test_union_with_different_models (queries.test_qs_combinators.QuerySetSetOperationTests.test_union_with_different_models)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/tim/code/django/tests/queries/test_qs_combinators.py", line 147, in test_union_with_different_models
    self.assertCountEqual([e["name"] for e in qs3], expected_result)
                          ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/tim/code/django/django/db/models/query.py", line 400, in __iter__
    self._fetch_all()
  File "/home/tim/code/django/django/db/models/query.py", line 1928, in _fetch_all
    self._result_cache = list(self._iterable_class(self))
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/tim/code/django/django/db/models/query.py", line 210, in __iter__
    for row in compiler.results_iter(
               ^^^^^^^^^^^^^^^^^^^^^^
  File "/home/tim/code/django/django/db/models/sql/compiler.py", line 1513, in results_iter
    results = self.execute_sql(
              ^^^^^^^^^^^^^^^^^
  File "/home/tim/code/django/django/db/models/sql/compiler.py", line 1549, in execute_sql
    sql, params = self.as_sql()
                  ^^^^^^^^^^^^^
  File "/home/tim/code/django/django/db/models/sql/compiler.py", line 751, in as_sql
    result, params = self.get_combinator_sql(
                     ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/tim/code/django/django/db/models/sql/compiler.py", line 562, in get_combinator_sql
    raise DatabaseError(
django.db.utils.DatabaseError: ORDER BY not allowed in subqueries of compound statements.


Adjusting look of CoreBoundarySurface preset

Fixed laayouts and labels widths.
There is still flickering, but I hope that is fixed in #17.

@klimaj I made a change that might be redundant in base.py, feel free to ignore that and just merge if you can.

Thanks! Looks good and I'll go ahead and merge. I like your addition to base.py after testing the timing:
%%timeit
time.sleep(0.)

1.95 µs ± 30.7 ns per loop (mean ± std. dev. of 7 runs, 1,000,000 loops each)

%%timeit
if 0.:
    time.sleep(0.)

12.1 ns ± 0.0637 ns per loop (mean ± std. dev. of 7 runs, 100,000,000 loops each)

Haha, thanks:) I was not sure what sleep 0 was doing, so this one was more intuitive. Good idea on the measuring.


[FEATURE]

Add exaxmples related to scrollId and scrollTime in README:
I've a use case where I've to slice the source elastic data in batches of 1000 documents each batch.
Say for instance, I've 100,000 documents in an index. I'll need to created 100 json files.
With the latest ElasticSearch and elasticdump tool, offset is gone.
--from option of elasticdump is of no use as it silently ignores that option.
scrollId and scrollTime are at help. We can use scrollTime.
However, there's no clue how to use scrollId when we need to take a dump in terms of batches.
I've been searching for how to use these 2 options. No success so far.
Can you please provide a few good appropriate examples on these 2 options?

technically you can run in serverless mode. --openSearchServerless, this shoudl revert back to using the --from


Calling an API for run on demand close

Which version are you using?
v0.14.1
Question
How to call a API for runOnDemandClose?
Description
I am having a script where I am calling a API to connect stream but when there are no readers I would like to call another API to stop streaming. Whatever command I am giving in trap its not getting executed for the interrupt.
Below is my script. Am I doing something wrong here?
#!/bin/bash
trap 'curl "http://localhost:4000/stop?name=$RTSP_PATH"' INT
curl "http://localhost:4000/start?name=$RTSP_PATH"
sleep 86400

Hello, try this
#!/bin/bash
trap 'curl "http://localhost:4000/stop?name=$RTSP_PATH"; [ -z "$(jobs -p)" ] || kill $(jobs -p)' INT
curl "http://localhost:4000/start?name=$RTSP_PATH"
sleep 86400 &
wait

Hi @aler9 Problem is trap is not catching interrupt signal. When I do ctrl + c it will detect and call the API. When interrupt signal is called from program its not able to detect it.

Hello, the script i posted above was tested with runOnDemand - are you sure it's not working?

Hi, Yeah I tried running in debug mode and from program Interrupt signal is triggering but trap command was not able to capture it and process was still running on background. In program I changed to Kill signal and process was getting stopped. But again in trap KILL was not getting captured.

Hi @aler9 Issue is solved it was because API was not returning anything so curl command was waiting hence it was never getting closed.


Add bluesky plan support for PandA

In order to get a PandA working on I03, Hyperion will need to have the option to use an Ophyd PandA device in its plans instead of the Zebra 1
Related dodal issue is https://github.com/DiamondLightSource/dodal/issues/117

We need a property to be able to switch between panda vs old FGS
Two plans, one for zebra + old FGS program and one for panda + new FGS program

To do the test (for now):

Add the plan into the experiment registry
Create a new panda_test_params.json based on test_params.json with some good fixed default values
For live testing use https://github.com/DiamondLightSource/hyperion#starting-a-scan (you will need to be ssh'd into the control machine

Waiting on https://gerrit.diamond.ac.uk/c/gda/gda-mx/+/40851 to merge

Given we've been running various PandA tests I'm happy to call this done


Refactor global variables into consistent structs

At the moment, most global variables are not explicitly tied to specific components of the emulator (such as the 8255 and 8253) using structs. Doing this would improve code maintainability and readability. A non-urgent enhancement due to the small number of these.

8253 static variables now held in i8253 struct.


Cloudtrail: Fixup some field display names.

Fix the ct.user.accountid and ct.request.policy names and expand the
s3.bytes name.

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind documentation

/kind failing-test

/kind feature

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area source-plugins

/area extractor-plugins

/area build

/area documentation

What this PR does / why we need it:
Fixes some of the cloudtrail plugin field names.
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

NONE

Thanks for your pull request. Before we can look at it, you'll need to add a 'DCO signoff' to your commits.
:memo: Please follow instructions in the contributing guide to update your commits with the DCO
Full details of the Developer Certificate of Origin can be found at developercertificate.org.
The list of commits missing DCO signoff:

faf4bfd Cloudtrail: Fixup some field display names.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: geraldcombs
To complete the pull request process, please assign fntlnz after the PR has been reviewed.
You can assign the PR to them by writing /assign @fntlnz in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Welcome @geraldcombs! It looks like this is your first PR to falcosecurity/plugins 🎉

Hi @geraldcombs. Thanks for your PR.
I'm waiting for a falcosecurity member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: geraldcombs, jasondellaluce
To complete the pull request process, please assign fntlnz after the PR has been reviewed.
You can assign the PR to them by writing /assign @fntlnz in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: dda8cb1833387d180c7d1e1939838e0a563722aa

/ok-to-test

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: geraldcombs, jasondellaluce, leogr
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Test Issue created at Fri, 04 Jun 2021 09:25:51 GMT

Test issue body  Fri, 04 Jun 2021 09:25:51 GMT

Comment on issue at Fri, 04 Jun 2021 09:25:53 GMT


Which languages are supported

Readme: "These 83 languages are detected"
python (import cld2; help(cld2)): 161 languages (175 language-script combinations), 240 total language-script combinations
python (import cld2; print(len(cld2.LANGUAGES))): 282

Hi!
In case it is useful for anyone: https://groups.google.com/g/common-crawl/c/uaraFYgP8YE/m/73uVGmTHAQAJ
The use of CLD2 in CommonCrawl is discussed, as well as CLD2 on its own. We discuss about the full version (+160 languages).


Extend pallet-xcm to pay teleport with non teleported asset

Intro
First approach to an extension for pallet-xcm to allow a native asset Teleport from Trappist (or any para) into Asset Hub.

Issue
Our main issue at the moment is that even though we are able to register HOP (Trappist native asset) as a foreign asset on Asset Hub, we cannot teleport it into AH. This is related to how InitiateTeleport call of XCM works, which is the one that also pallet-xcm uses for its limited and unlimited teleports. Said instruction triggers a ReceiveTeleportedAssets on destiny and this “minted” assets are used for buying execution on destiny, however, AH doesn’t allow (yet) to buy execution with foreign assets and doesn’t recognize sibling parachains as ROC teleporters so we cannot send ROC on the Assets vector of the Teleport to pay the fees. A further description can be found here.

Workaround
We presented a workaround with batching multiple instruction calls through xcm pallet, this can also be found here but the main logic is:

Burn HOP on Trappist
Withdraw ROC from an already funded account on AH
Buy execution with ROC
ReceiveTeleported (mint) HOP on AH
Deposit to Beneficiary

Proposed Solution
I see that an abstraction of this process that might become useful also for other use cases is to create a call into a pallet-xcm extension that allows users to define an asset that is not being teleported to pay for execution in destiny  This implies that the account that buys execution on destiny must be previously funded with said non-teleported asset, in this case we would be funding the account on AH with ROC before sending this call.
This first iteration presents a simple approach in which we only allow user to teleport native tokens out.

Disclaimer
I prioritized speed to start receiver feedback on the logic itself as soon as possible so there are some consciously TODOs, for example weights and weight limit.
Same goes for implementation, so please,  do drop any suggestions.
I am particularly interested on your feedback on how to define the account to withdraw ROC from on AH, on this case I am using Root to force withdraw from Sovereign Account but this does introduce evident vulnerabilities.
We can add ensure root to request sudo and turn it into a privileged call to get foreign assets into AH and from there distribute or fund pools but really eager  to get your thoughts on this.
Thanks.

LGTM ! Let's open additional PRs to add proper benchmarks, and tests (which most likely requires the integration of xcm-emulator instead of the current xcm-simulator).


Allow email usernames with longer limit

Username currently is limited to 20 and has problems with email addresses.
┆Issue is synchronized with this Asana task

Can't recall what this refers to as the code is completely rewritten. Closing.


Configuration to set the sorting order of the sections

Is your feature request related to a problem? Please describe.
I see that right now the sections are getting organized lexicographically. I would like to order the sections so that the more important (subjective) ones like "Breaking", "Features" and "Bug Fixes" are at the top, and stuff like "Documentation" are at the bottom.
Describe the solution you'd like
Provide a cliff.toml variable where we can set the sort order like:
section_order = [ ":boom: Breaking", ":sparkles: Features", ":zap: Performance", ":bug: Bug Fixes", ":memo: Documentation", ":recycle: Refactor", ":hammer: Testing" ]

Describe alternatives you've considered
I am rendering the generated CHANGELOG to HTML so I am embedding a numeric order hidden in display:none; inline CSS styles.
  commit_parsers = [
      # https://www.conventionalcommits.org/en/v1.0.0/#summary
      { message = "!:"                                     , group = "@@html:0@@ :boom: Breaking"},
      { message = "^feat"                                  , group = "@@html:1@@ :sparkles: Features"},
      { message = "^perf"                                  , group = "@@html:2@@ :zap: Performance"},
      { message = "^fix"                                   , group = "@@html:3@@ :bug: Bug Fixes"},
      { message = "^docs?"                                 , group = "@@html:4@@ :memo: Documentation"},
      { message = "^refactor"                              , group = "@@html:5@@ :recycle: Refactor"},
      { message = "^test"                                  , group = "@@html:6@@ :hammer: Testing"},
      { message = "^(chore.*|ci:)", skip = true},
      { body = "BREAKING CHANGE:"                          , group = "@@html:0@@ :boom: Breaking"},

.. and it works! : https://ox-hugo.scripter.co/doc/changelog/#0-dot-9-dot-0

But it would be reallly nice to get rid of all that HTML noise from cliff.toml and the generated CHANGELOG.org (oh, and yes, I am generating this Org mode CHANGELOG.org instead of a Markdown thanks to the Tera templating support! 🙇♂ )
https://github.com/kaushalmodi/ox-hugo/blob/7af7e72e139655132cfa3ca5b9152690b8eaf1fe/doc/cliff.toml#L60-L68

Hello!
This is related to #9, see my comment there.
As I said, enabling preserve_order feature on serde_json makes the group_by filter preserve the commit order thus groups are ordered by their first appearance in the commit list. Instead of this, groups should be ordered manually by their defined order and this should also be done after grouping the commits via group_by:
commits | group_by(attribute="group")

The issue here is it is not possible to modify the result of Tera filters without defining a custom Filter. I could add a new filter named ordered_group_by but then it is not possible to pass the order (section_order) internally. In that case, it would look something like this which is not ideal I think:
commits | ordered_group_by(attribute="group", order = ...)

Another possible solution is to apply the lexicographic hack: modify the group prefix before rendering the template and remove it afterward. This is also not ideal 😕
I will keep looking for different solutions to make it easier to provide a way for sorting the groups. I might have explained it in a complicated way so I can put it again with simpler words if that's the case 🙂 Also, I appreciate it if anyone wants to jump in and tackle this.

This is related to https://github.com/orhun/git-cliff/issues/9

Oops! It looks like this is the exact same issue. Feel free to close this.
My search skills failed.. I was looking for "section order" and not "group order", and search for order showed results related to ordering the commits 😄 .
That issue uses an even better workaround.. to use . I will use that now on.

Another possible solution is to apply the lexicographic hack: modify the group prefix before rendering the template and remove it afterward. This is also not ideal 😕

It's alright.. at least it works! 👍

Also, I appreciate it if anyone wants to jump in and tackle this.

Unfortunately, I couldn't as I haven't coded in Rust. I can help in any other way possible: Testing something, etc.


Add single column capabilities to many widgets

Purpose
This partially addresses #984.  A few widgets (about, featurette, hero, people, slider) are not updated.
It also separates the title and subtitles (section heading) into a separate dive so that one and two column modes can have different styling.
Thoughts

This may not be ready for merge, pending further updates and discussion.
About could be done in this style too.
The projects widget was not consistent, with respect to bootstrap media breakpoints, so this bring that in line.  If that difference was deliberate, the changes can be reverted.
The two-column class could be added to the titles of the 5 untouched widgets.
It does not make much sense to one-column, the featurette and slider.
I don't have enough info/experience to decide to how best to handle the hero and people cases.

Thanks. We should investigate wrapping the widgets in logic to change layout to avoid repetition and prevent making it more difficult to maintain the layout logic. The widget_page.html file is responsible for managing the widget system.

I agree.  Would it make more sense to define two distinct widgets per widget?  One for single-column and one for multi-column?  Then, if only one is present we just take that in either case, but if more than one is present the widget page selects the one in the page params?

One could envision widget.html as the default and widget_single.html and widget_multi.html, with columns=1 or 2 as the selector maintaining current behavior.

Let's consider if we:

(A) more generally let each widget have its own layout variations

E.g. users may like to personalize widgets like About by choosing from a few layouts specifically designed for the About widget

(B) just have one or two simple global layout variations for all widgets (i.e. the one and two column modes which is currently implemented for some widgets like the Blank widget).

The about page is probably the one that makes things the most difficult.  The title doesn't go in the same place on the about page.  As a consequence, I made my own variation (also to move the picture around) that you can see here: www.rjh.io
Many of the 1-column variants can be seen here too.
This PR handles (B) for nearly all cases that it makes sense.  I am not a huge fan of having them in the same file like this, as it makes some of the templates a bit hacky.  In this way, I would definitely prefer having separate widgets for each layout with a master widget to select them.
If we went that route, B is also A.  Special cases like About, featurette, and the carousel could have different variations that could also be selected.
I am eager to get this resolved though as my site now deviates from the main branch significantly and I'd like to bring everything back in line.  Even if that means accepting this PR and then considering further modification.

@gcushen I can update this to reflect any recent changes, if desired, otherwise I will let it lapse.
I think it is worth taking this update, then doing any structural redesign later, but it is your call.

LGTM


Upgrade marketplace plugin

What would you like to be added:
Upgrade marketplace plugin.
Why is this needed:
Support user to go through protocol jobs in marketplace without submitting job.
Components that may involve changes:

Add a new webportal plugin.
Abandon outdated marketplace in webportal and rest server.

Will fix #2356.


Views Controlled Vocabularies TG call Sep 9 14:00 UTC

The Views Controlled Vocabularies Task Group will have an online meeting at 14:00 UTC on Monday, September 9.  That corresponds to 7:00 AM Mountain Standard Time (Phoenix), 9:00 AM Central (US) Daylight Time (Chicago), 10:00 AM Eastern (US) Daylight Time (New York), 4:00 PM Central European Summer Time (Copenhagen/Stockholm), midnight at start of Tuesday Sep 10 Australian Eastern Standard Time (Canberra).
The meeting agenda/notes are at https://docs.google.com/document/d/16ZpcbOLxQftkMyCc8r7cPaSYKlV_ABS2GhEmVgvjMng/edit?usp=sharing
The main topic will be to discuss a draft use case template.  The draft is a Google doc: https://docs.google.com/document/d/1C0Y5wFtB2tvx7PDeMyfzH2a74Gp3AdseFMmKFtzzcPA/edit?usp=sharing
I'll post a Google Hangout link about an hour before the meeting and hopefully it will still work by the time of the meeting.

Let's try this hangout link: https://hangouts.google.com/call/jWVDScyRB8H50KMsCztHAEEE
I'll be on and monitoring my email ahead of the meeting time, so let me know if you have trouble connecting.

Notes for the VCV task group meeting are posted here


[Review] Stormwater Utility Network service - UI miscellaneous

http://utilsolutions.esri.com/stormwater_dd/index.html

[ ] Mimic behavior for expanding an item from a card - cursor changes to "hand".

[ ] Also cursor changes to "hand" for filter button like for other buttons. Also had hover text tip.

[ ] The app doesn't have any name/title. Should we add a banner at the top that says "Service Explorer"? And should te browser tab also say "Service Explorer" rather than "Experience"?

[x] Use consistent symbols for similar actions in the favorittes pane?

use these instead?

[x] What is the expected behavior for the search in the favorites pane? Typing doesn't currently filter through items.

[ ] Is there a way we can add a condition to split at "_" rather than at any character?

[ ] Can we make the search be prompted also when pressing Enter on the keyboard? Right now it is required to press the search icon to trigger the search.

[ ] Increase indentation between items

For favorites icons and search

wrapping on _underscore.   Can't really control this since the "underscore is a undetermined amount" given by the data.  Can do something like, after (50 characters, next underscore, break), but that's expensive for each one.  We can revisit if users complain about it.
Indenting the nodes on TC - increased it by 5 pixels.


Denis prozor

Add System of running program unit.
Create a function that will receive information from storing unit and run all program unit.

Add process_start.cpp
Add process_start.h
Add process_start.cpp to Cmake
Add to Cmake include_directories for "include" folder

Good.

Add function to start processes


An Overview of ConvNeXt

This closes #6259
Article checklist
Attention
Our Peer Reviewer and Content Moderator teams do NOT provide any revisions services. All revisions and edits should be completed on your own forked repo (as to not take up room in the queue) in order for our team to review them all in a timely manner.
ANY ARTICLE SUBMITTED WITH GLARING ERRORS WILL BE IMMEDIATELY CLOSED.

As a rule of thumb - please be sure to only submit articles (pull requests) that are fully polished and ready to be published. Be sure to go through our resources documents for extra and 3rd party (vetted) resources to help improve overall technical writing.

Pre-submission checks

Please ensure that you have only one open topic suggestion (issue) + in-review article (linked pull request) at a time. This will ensure that we complete the review process in a timely manner from inception to publishing

If you have not already, please go over our Resources Page for more tips and tricks on how to improve your overall technical writing so reviews are swifter, increase the chance of a payout and provide more value to our readers.

For first-time contributors and for more details on our submission guidelines, see our Contributing Guidelines.

Formatting and structure checks

[x] Have you used the correct folder and file structure? - see Contribution Guidelines

[x] Is your article properly formatted in Markdown? - see Github Markdown guide

[x] Have you used our preferred heading structure? - H3 (###) and up

[x] Does your article follow any of the suggested structure formats? - see example formats

[x] Is your article over 750 words? - Tool: Wordcounter.net

[x] Is the article you are submitting an in-depth and unique article? Does it go beyond what is in the official docs and what is covered in other blog sites. See these articles as examples.

[x] Does your article provide enough value and detail about your topic? - Articles should be clear, accurate, and fully explained.

[x] Can your article be understood by beginners? - Assume the audience is smart but has no prior exposure to the common terminology in your article.

[x] Have you included a hero image that is 600x400 pixels, under 300KB in size, and have the copyright to use it? - Tools: Pixlr Image Editor for resizing and Unsplash for Creative Commons images

Grammar & plagiarism checks

[x] Have you spellchecked and grammar checked your article? - Tools: Write&Improve - ProWritingAid - Grammarly
[x] Please place your article through a 3rd party plagiarism checker. We suggest using Quetext, this tool is free and has a daily limit. We typically accept articles with 10% or less.
[x] Have you checked your article for readability? - Tool: Hemmingway
[x] Have you added sources for quotes and images that aren't yours?

Technical checks

[x] Are your code snippets properly formatted for syntax highlighting - see Syntax guide
[x] Have you checked your code runs correctly and you've highlighted all necessary dependencies for installation?
[x] Are the software programs and packages you're highlighting in your article up to date, using current versions and not deprecated?

Topic suggestion this closes

Remove the backticks and add the issue number below to link and close your Topic Suggestion (issue) when your article has been published (PR has been merged). See this video for more details.

This closes #issue-number

Finally, delete the article checklist notes in blockquotes and submit your PR. We look forward to reviewing your article.

@Bayler Could you please have a look at this PR?

Hello @smkinyan,
Upon running your article through our 3rd party plagiarism checker it seemed to raise a few flags and the % was higher than we typically accept.
Please see attached PDF - and revisit the article to ensure we are contributing wholly unique and original content.
Be sure to see our resources page to see more info on plagiarism and what is considered as such.
An Overview of ConvNeXt #6384 Copyleaks Report.pdf

@smkinyan We all know how difficult it is reading a computer science research paper with a lot of mathematical jargon. Great work summarizing an entire paper in simple words our readers can understand. Next time you could try add figures as they tend to drive most points home. Otherwise, this is a nice read.

Hi @smkinyan
Awesome job on the article. Keep it up 🚀
cc: @Bayler


hamming distance

Enter calculator name -
Hamming Distance
Describe calculator functionality -
The Hamming distance between two integers is the number of positions at which the corresponding bits are different. It is not dependent on the actual values of xi and yi but only if they are equal to each other or not equal
Under which category you wish to place it -

[x] Computer Science
[ ] Mathematics
[ ] Physics
[ ] Chemistry
[ ] Biology
[ ] Finance
[ ] Scientific
[ ] Health
[ ] Sports
[x] Let project owner decide
[ ] Suggest a new category - (Answer here)

kindly assign this issue to me

Hey @remonix,
Assigned.
You may contribute your code under the folder path -
calc_for_everything\calculators\src\computer_science\hammingDistance
Issue completion deadline - 13th Oct 8:00:00 am IST
NOTE - In case the issue completion deadline is not met, the issue will be assigned to a new participant

if the work is not done, can you assign it to me?

Hey @Shariar-Hasan,
I regret to inform, issue can't be assigned as each assigned issue is marked with a deadline. In case the previous participant fails to raise a PR before the deadline, only then the issue can be assigned to a new participant.
For now, kindly look into any open issues or you may even create one. 🤩
Happy Contributing 🎉

ok, thank you 😊

Issue closed under PR #370


Reverse order of ert.shared vs ert_shared imports

Importing the deprecated ert_shared first in the try clause might trigger deprecation warnings.

Great! I don't have powers to merge here, but could you do it and create version 0.1.9? We have a PR ready in komodo releases to take in that version :slightly_smiling_face:

Great! I don't have powers to merge here, but could you do it and create version 0.1.9? We have a PR ready in komodo releases to take in that version 🙂

Done 😄


Adding dockerfile for ruby-2.4.2

Motivation
Since most of our applications are going to use ruby version 2.4.2, we are in need of cloudfactory/ruby:2.4.2 docker image :framed_picture:  for testing our rspecs via jenkins
This PR is to create a dockerfile for building ruby version 2.4.2
cc: @cloudfactory/devops

Right on time!!!


[Draft] feat: switch to oidc-client-ts since our current oidc-client is deprecated

switch to oidc-client-ts since the oidc-client is deprecated. It significantly reduces the bundle size as well. However, it seems like it only supports response_type of code and for our current id_token token we need to add client_secret as well
https://github.com/authts/oidc-client-ts/blob/main/docs/migration.md
https://github.com/perarnborg/vuex-oidc/pull/187
https://github.com/authts/oidc-client-ts/issues/152
https://github.com/authts/oidc-client-ts/issues/571
Old client in build analyzer

Closing as I implemented it here https://github.com/OHIF/Viewers/pull/4234

Fixed here https://github.com/OHIF/Viewers/pull/4234


Azure

[Enter feedback here]

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

ID: 225d8386-c24d-7202-4eb0-61e2f8249e3e
Version Independent ID: 83f151c6-4870-58b1-b44e-56e3bd42bb25
Content: Supported browsers and devices for Azure portal - Azure portal
Content Source: articles/azure-portal/azure-portal-supported-browsers-devices.md
Service: azure-portal
GitHub Login: @JnHs
Microsoft Alias: jenhayes

@Ali-metaverse Do you have any document feedback that's related to the referred Azure document?


Use HttpURLConnection instead of HttpClient

Further to https://code.google.com/p/osmdroid/issues/detail?id=273, the HttpClient is being removed from Android 6:
https://developer.android.com/about/versions/marshmallow/android-6.0-changes.html#behavior-apache-http-client
Given the Apache client is so old, HttpURLConnection may also give some performance benefits.
However it is probably worth turning off gzip requests, since image tiles can't be compressed further:
urlConnection.setRequestProperty("Accept-Encoding", "identity");
I'm not sure if it necessary to provide an equivalent of HttpClientFactory, but it would be useful to provide a mechanism for setting other options on the HttpURLConnection (eg. an app specific user-agent string)

I am seeing slow tile downloading and related errors which this may improve:
10-21 05:21:38.948 E/org.osmdroid.tileprovider.modules.MapTileDownloader( 1123): Error downloading MapTile: /9/253/164
10-21 05:21:38.948 E/org.osmdroid.tileprovider.modules.MapTileDownloader( 1123): java.lang.IllegalStateException: No wrapped connection.
10-21 05:21:38.948 E/org.osmdroid.tileprovider.modules.MapTileDownloader( 1123): 	at org.apache.http.impl.conn.AbstractClientConnAdapter.assertValid(AbstractClientConnAdapter.java:163)

10-21 05:21:41.548 E/org.osmdroid.tileprovider.modules.MapTileDownloader( 1123): Error downloading MapTile: /9/257/169
10-21 05:21:41.548 E/org.osmdroid.tileprovider.modules.MapTileDownloader( 1123): java.lang.ArrayIndexOutOfBoundsException: length=8192; regionStart=-2364; regionLength=10556
10-21 05:21:41.548 E/org.osmdroid.tileprovider.modules.MapTileDownloader( 1123): 	at java.util.Arrays.checkOffsetAndCount(Arrays.java:1732)
10-21 05:21:41.548 E/org.osmdroid.tileprovider.modules.MapTileDownloader( 1123): 	at java.net.PlainSocketImpl.read(PlainSocketImpl.java:484)
10-21 05:21:41.548 E/org.osmdroid.tileprovider.modules.MapTileDownloader( 1123): 	at java.net.PlainSocketImpl.access$000(PlainSocketImpl.java:46)
10-21 05:21:41.548 E/org.osmdroid.tileprovider.modules.MapTileDownloader( 1123): 	at java.net.PlainSocketImpl$PlainSocketInputStream.read(PlainSocketImpl.java:240)
10-21 05:21:41.548 E/org.osmdroid.tileprovider.modules.MapTileDownloader( 1123): 	at org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:103)

#158 related issue and already known. If you open a pull request, I can merge

When MapBox made their own fork of osmdroid (https://github.com/mapbox/mapbox-android-sdk-legacy), they replaced HttpClient by OkHttp lib. This is mainly in util/NetworkUtils.java.
You could get their changes back.

Why would you use OkHttp instead of HttpURLConnection?

I'm not specialist, but MapBox guys are. So I imagine it could solves this issue, some others, and may improve downloading speed.

Great.  However it does seem to be missing the user-agent string:
c.setRequestProperty("User-Agent","osmdroid");
Although I really think apps should use their own string eg. "MyApp/1.0 osmdroid/4.3" (see terms & conditions of tile providers).

ok, i'll add it in momentarily

missing client.close, whoops


Add json-autotype to Stackage

Cc: @mgajda

Thank you.

Reverting this as it has build failures:

GenerateJSONParser.hs:59:21: error:
    Ambiguous occurrence ‘Options’
    It could refer to either ‘Data.Aeson.Options’,
                             imported from ‘Data.Aeson’ at GenerateJSONParser.hs:22:1-27
                             (and originally defined in ‘aeson-<IP_ADDRESS>:Data.Aeson.Types.Internal’)
                          or ‘Main.Options’, defined at GenerateJSONParser.hs:50:1
   |
59 | optParser :: Parser Options
   |                     ^^^^^^^

GenerateJSONParser.hs:80:28: error:
    Ambiguous occurrence ‘Options’
    It could refer to either ‘Data.Aeson.Options’,
                             imported from ‘Data.Aeson’ at GenerateJSONParser.hs:22:1-27
                             (and originally defined in ‘aeson-<IP_ADDRESS>:Data.Aeson.Types.Internal’)
                          or ‘Main.Options’, defined at GenerateJSONParser.hs:50:1
   |
80 | extractTypeFromJSONFile :: Options -> FilePath -> IO (Maybe (FilePath, Type, Value))
   |                            ^^^^^^^

GenerateJSONParser.hs:124:29: error:
    Ambiguous occurrence ‘Options’
    It could refer to either ‘Data.Aeson.Options’,
                             imported from ‘Data.Aeson’ at GenerateJSONParser.hs:22:1-27
                             (and originally defined in ‘aeson-<IP_ADDRESS>:Data.Aeson.Types.Internal’)
                          or ‘Main.Options’, defined at GenerateJSONParser.hs:50:1
    |
124 | generateHaskellFromJSONs :: Options -> [FilePath] -> FilePath -> IO ()
    |                             ^^^^^^^

I have just pushed updated version of JSON Autotype on Hackage. It compiles
with all major versions 7.8-8.2, and should fix this specific issue.
On Tue, 14 Nov 2017 at 09:50, Mihai Maruseac<EMAIL_ADDRESS>wrote:

Reverting this as it has build failures:
GenerateJSONParser.hs:59:21: error:
Ambiguous occurrence ‘Options’
It could refer to either ‘Data.Aeson.Options’,
imported from ‘Data.Aeson’ at GenerateJSONParser.hs:22:1-27
(and originally defined in ‘aeson-<IP_ADDRESS>:Data.Aeson.Types.Internal’)
or ‘Main.Options’, defined at GenerateJSONParser.hs:50:1
|59 | optParser :: Parser Options
|                     ^^^^^^^
GenerateJSONParser.hs:80:28: error:
Ambiguous occurrence ‘Options’
It could refer to either ‘Data.Aeson.Options’,
imported from ‘Data.Aeson’ at GenerateJSONParser.hs:22:1-27
(and originally defined in ‘aeson-<IP_ADDRESS>:Data.Aeson.Types.Internal’)
or ‘Main.Options’, defined at GenerateJSONParser.hs:50:1
|80 | extractTypeFromJSONFile :: Options -> FilePath -> IO (Maybe (FilePath, Type, Value))
|                            ^^^^^^^
GenerateJSONParser.hs:124:29: error:
Ambiguous occurrence ‘Options’
It could refer to either ‘Data.Aeson.Options’,
imported from ‘Data.Aeson’ at GenerateJSONParser.hs:22:1-27
(and originally defined in ‘aeson-<IP_ADDRESS>:Data.Aeson.Types.Internal’)
or ‘Main.Options’, defined at GenerateJSONParser.hs:50:1
|124 | generateHaskellFromJSONs :: Options -> [FilePath] -> FilePath -> IO ()
|                             ^^^^^^^
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/fpco/stackage/pull/3027#issuecomment-344119564, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAp12QbzAsPekBHut6dPZrVgrHcM3Cuhks5s2PHmgaJpZM4QbvaN
.

json-autotype is now in nightly. Thanks.


Add RV_C disassembly

Implement basic disassembly for RV_C (compressed instructions). Only the compressed instruction and given operands are shown in the printed output. No expansion to non-compressed instructions or insertion of implicit operands is performed.
Simplicity was the aim, given the high number array of special cases.

Thanks a lot for this: it was certainly sorely needed. I'll have a quick look through now.

No worries :+1:


default Locale issue - setLocales method of TranslatableSubscriber not hit

Hello,
I've setup the translatable behavior for a Project Entity. I've got it working (My project is using SF 2.8, knp doctrine behavior 1.4), but one issue remains with default locale. There are two locales (fr & en, the default and fallback locale being fr).
In my current setup, I always get "en" being the default locale for the entity, although I think I've made the ad hoc settings to get 'fr'.
I've setup a LocaleCallable class, and looking at the code, it should be called in TranslatableSubscriber in the setLocales method, but having run a debugger with a breakpoint on that method, nothing happens.
parameters:     knp.doctrine_behaviors.translatable_subscriber.default_locale_callable.class: AppBundle\Listener\LocaleCallable
I've manually activated the subscriber in config.yml (and also registered the bundle in AppKernel)
`
knp_doctrine_behaviors:
translatable: true
sluggable:      true
`
Any idea or suggestion to debug this further ?

Two comments

For now, I've added "getDefaultLocale" on the translatable entity, which lets me move further with my work.

the page where the issue happened was an index (fetching projects from the repository, sending them o twig). But on another page, where I instanciated another project, I noticed the callable for the default language was called (I had forgotten a var_dump there).

I guess it has something to do with the way I fetch the projects, which does not trigger the postLoad event.

I'm going through the old issues/PRs and closing most of them so we can focus on now. There have been many changes in recent days. Failing test case would be needed to reproduce.
If the bug still remains, please send failing test case to verify it. Only with test we'll be albe to help.


Unit Test Failed

Hi Any Suggestions?
Is the library still good?
[root@localhost assocVector]# g++ --version
g++ (GCC) 4.8.5 20150623 (Red Hat 4.8.5-4)
[root@localhost assocVector]# make
g++ --std=c++11 -g -ggdb unit.test.cpp -o ut
g++ --std=c++11 -g -ggdb  -DNDEBUG perf.test.cpp -o pt
[root@localhost assocVector]# gdb ut
(gdb) run
Starting program: /media/sf_Libraries/assocVector/ut
Util tests...OK.
Core tests...OK.
Iterator tests...OK.
C++11x tests...(1021) == 0
Program received signal SIGSEGV, Segmentation fault.
0x0000000000414840 in cxx11x_move_test_1 () at unit.test.cpp:2988
2988            AV_ASSERT_EQUAL( Value::copies, 0 );
Missing separate debuginfos, use: debuginfo-install glibc-2.17-105.el7.x86_64 libgcc-4.8.5-4.el7.x86_64 libstdc++-4.8.5-4.el7.x86_64
(gdb) bt
#0  0x0000000000414840 in cxx11x_move_test_1 () at unit.test.cpp:2988
#1  0x0000000000416d68 in main (argc=1, argv=0x7fffffffe568) at unit.test.cpp:3339
(gdb) p Value::copies
$1 = 1021
(gdb) q

Thank you for your message. Most of unit tests are correct, unfortunately C++11 with Move Semantic is failing. It means that extra copies are made unnecessarily. Although I am not developing this library anymore, I will take a look at this.


API functions to run over multiple input queries

The current API functions do not loop over multiple queries, as far as I can tell.

How would we want to do this? If we run, say, the forward pass of haploid Viterbi, what should we return? A list of V, P, ll, one per query?


How can I set radiobutton selected in the begining?

Thank you for great library!
I want to show people with layout that one button is already selected.
How can I set a selected button before people click?
I am sorry for simple question, since I am new to programming.

You can simply set selected to YES, hope this helps.

Thank you very much!


ambient: fix accidental deletion on NOP PA change

When a PA was changed, it could trigger a removal of the policy due to
conflicting events from the ambient controller and the normal CRD
controller

@howardjohn: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
e027ba5db7be08e32f8e9006ecfe3792483f84e2
link
true
/test lint

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@howardjohn: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-security-multicluster_istio
683e49316006661c844f33a5d53f612ff8aa72db
link
true
/test integ-security-multicluster

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

In response to a cherrypick label: #52078 failed to apply on top of branch "release-1.22":
Applying: ambient: fix accidental deletion on NOP PA change
Using index info to reconstruct a base tree...
M	pilot/pkg/xds/debug.go
M	pilot/pkg/xds/workload.go
Falling back to patching base and 3-way merge...
Auto-merging pilot/pkg/xds/workload.go
Auto-merging pilot/pkg/xds/debug.go
CONFLICT (content): Merge conflict in pilot/pkg/xds/debug.go
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 ambient: fix accidental deletion on NOP PA change
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

In response to a cherrypick label: new issue created for failed cherrypick: #52089


Add patching stage to SPIR-V for vertex attrib types

Previously we were exploiting Vulkan's SCALED types, but this doesn't hold up when SPIRV-Cross gets involved and it won't hold up for SDL_gpu since it can't provide scaled types. I don't think it will be as involved as HLSL/D3D11 but I also don't know if we have to patch in type conversion helpers.
CC @thatcosmonaut @TheSpydog

This is where the attrib is emitted, it doesn't have a type declaration so it may get determined when the attrib is loaded, rather than declared?

Here's where vertex inputs are emitted:
https://github.com/icculus/mojoshader/blob/main/profiles/mojoshader_profile_spirv.c#L2218
We can likely pad the top with OpNop instructions to make room for OpConvertUToF as needed.


Release/v0.0.4

version 0.0.4

released: 2023-04-19
description: logger classes and methods now can receive a logger name to be used
changelog:

Chrono class now receives a logger name to be used
log_time decorator now receives a logger name to be used

Codecov Report

Merging #41 (a183679) into master (93d8439) will increase coverage by 0.26%.
The diff coverage is 100.00%.

:exclamation: Current head a183679 differs from pull request most recent head c8522aa. Consider uploading reports for the commit c8522aa to get more accurate results

@@            Coverage Diff             @@
##           master      #41      +/-   ##
==========================================
+ Coverage   70.94%   71.20%   +0.26%
==========================================
  Files          31       31
  Lines        1356     1358       +2
==========================================
+ Hits          962      967       +5
+ Misses        394      391       -3

Flag
Coverage Δ

unit-tests
71.20% <100.00%> (+0.26%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

mango/logging/chrono.py
96.29% <100.00%> (ø)

mango/logging/decorators.py
100.00% <100.00%> (ø)

mango/logging/logger.py
100.00% <100.00%> (+17.64%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Updated node-postgres dependency to v4.5.5 for a Node 6 issue

Fixes the Node 6.0.0 issue (https://github.com/brianc/node-postgres/issues/1000) which I was experiencing with a Node v6 test app on Heroku.
All tests still pass with this latest version of pg

Nice! Thanks :-)


Long Text longer than 10000 letters wrapped with [...]

VSCode Version: Code 1.12.2 (19222cdc84ce72202478ba1cec5cb557b71163de, 2017-05-10T13:20:36.315Z)
OS Version: Windows_NT ia32 6.3.9600
Extensions:
|Extension|Author|Version|
|---|---|---|
|php-debug|felixfbecker|1.10.0|
|php-intellisense|felixfbecker|1.2.2|
|php-pack|felixfbecker|1.0.1|
|mssql|ms-mssql|1.0.0|
|wordpress-snippet|tungvn|1.1.2|;

Steps to Reproduce:

I try to paste a very long text (Base64Encoded) I noticed that the text wrapped and ends with [...]
It stops in Col (10,000).

Also, "END" (go to line end) key no long works when this happens. "HOME" works fine.

Duplicate of #7772


fix whatsapp initial loading issue

Since we are relying on this database for count. It has impact on logout. Logout throws same blocked error

Since we are relying on this database for count. It has impact on logout. Logout throws same blocked error

Fixed this as well


d3.interval().restart() restarts an interval as a timer instead

I ran into an issue with d3.interval not working as expected when  calling restart. If I create a new interval, it works as expected -- firing the callback every delay milliseconds:
  const intervalCallback = function(t) {
    console.log('interval', t);
    if (t > 5000) intervalTest.stop();
  };
  const intervalTest = d3.interval(intervalCallback, 500);

This outputs:
> interval<PHONE_NUMBER>275113
> interval 1000.9299999801442
> interval 1503.1099999905564
> interval 2000.0850000069477

If I call restart on this instance, passing the same callback and delay, I would expect intervalTest to restart following the same behavior. However, it appears to start a timer (or an interval with 0ms delay) instead.
intervalTest.restart(intervalCallback, 500);

Outputs:
> interval 16.02500001899898
> interval 32.765000010840595
> interval 48.30000002402812
> interval 66.045000043232
> interval 82.05500000622123
...

And so on until the callback reaches its stopping point.
If I'm actually misunderstanding and this isn't how interval is supposed to be used, perhaps something could be added to the docs to clarify?
Let me know if you have any questions, and thanks for your work on this module!

d3.interval returns a Timer, it just happens that that Timer comes pre-registered with a callback that will restart the Timer every time it fires before invoking your callback function. So, if you call timer.restart where the timer was returned by d3.interval, it will just fire once rather than fire repeatedly.
If you want to restart an interval, could you just create a new interval by calling d3.interval instead?

Sure, that approach works pretty painlessly! As a user, though, it's not clear to me from the documentation that that's how restart would work when applied to an interval. I think adding a note to the docs might make that easier for users to understand.
Thanks for responding so quickly!

Would it not be better to change the code so that restarting an interval would restart it "as an interval"? I'm struggling to see the implication in terms of code, though.

It's still doesn't behave the same as stopping the timer and calling d3.interval() again, since it adds a delay (corresponding to the elapsed time so far) before restarting.
If you set start = d3.now() before starting the interval, the following line in the callback will print the same values for e1 and e2:
function callback(e1) {
    const e2 = d3.now() - start;
    console.log(e1, e2);
}

But if you restart after x seconds, there will be a delay of another x seconds, and e2 will be e1 + x.
This doesn't happen if you stop the interval and create a new one with the same parameters.


Clicking "Search" Button on incomplete search terms yielded no response.

Searched for "Fifth Avenue" yielded no response.
Searched for "Whole Foods" yielded no response.
Both of these had pop-up suggestions, but searching for them on their own did not yield a response.

Mike Feeney argues that, because suggestions pop up so rapidly and so intuitively, a search button might not even be necessary. We should look into whether we, as the enlightened C4P Collective, agree with this, and if so, get rid of it, like the vestigial earlobe of a code feature that it is.

We have concluded that the search button can be removed! Hop to it.

Not only the search button but also the filter button. Not the filters themselves, but the filter button, because it is also vestigial.


Component's validation can now deduplicate properties. Fixes #363

This is a neat addition. Well done!


Update year to 2024 in footer_custom.html and LICENSE.md

Suggested commit message:
Update year to 2024 in `footer_custom.html` and `LICENSE.md` (#955)

Should be either this label or chore, 🤷🏻?

chore :smile:


Handle trailing slashes when creating Jitsi video meeting URLs

When creating video call links for Jitsi, an additional slash is getting added between the base Jitsi server URL and the video call ID, i.e. https://meet.jit.si//141518590623948 instead of https://meet.jit.si/141518590623948

The relevant code is:
https://github.com/zulip/zulip/blob/25c3f052cd0a7cd51c603c8458c11244c62cf682/static/js/compose.js#L1195

Thanks for the report @wpj!
Given that the mobile apps will end up using this, do we want to instead change the server to strip the trailing slash (or ensure it's always present, so that client apps can just assume it's there)?  This seems wrong for a client-side change, in that every client will need to write this same logic.  @savish28 FYI.

@timabbott yeah, I agree that this would best be handled on the server side.


Wrong height calculation with MessageKit

When showing alert in MessageKit, the height for cells are wrong in action sheet. Version 2.4.0.

Hello @tewris-rn !
Same issue here. I'm not using MessageKit, just presenting LGAlertView in ViewController and I'm observing buttons cutting as in the screenshot above.
Have someone faced that issue and found a solution?


VSCode Insiders: Integrated terminal has a LANG=en_US.UTF-8 env variable declared

VSCode Version: Insiders 1.17.0
OS Version: Windows 10

Steps to Reproduce:

Set up a Windows CMD integrated terminal window
Launch it and inspect environment variables
Notice the LANG env variable? Where did that come from?

This env variable is messing with my build at work (Microsoft, Razzle).

Reproduces without extensions: Yes
More info: Found the issue in the code:
d:\vscode-master\src\vs\workbench\parts\terminal\electron-browser\terminalInstance.ts
public static createTerminalEnv
env['LANG'] = TerminalInstance._getLangEnvVariable(locale);
Is there a way to not make it set those?

Is the variable causing particular issues? This is an environment variable used on Linux/macOS but should also be useful for WSL bash sessions.

Hey Tyriar,
Yeah, I got a build error building Windows due to this env variable being set. I am using VSCode with my Razzle window at Microsoft. Once I unset it, the build succeeded.
It's an interesting thing though. I can see that you guys are setting a bunch of env variables in there for the terminal. You also provide a way for the user to add more. But no way to unset them?
Any how, I worked around it by having my startup script in razzle unset it. I am sure you guys will find a great way to fix it :)

Great to hear you got a workaround, I created https://github.com/Microsoft/vscode/issues/35586 to allow unsetting of environment vars via settings.

I think this issue can be closed with the workaround of setting terminal.integrated.setLocaleVariables to false.


How to overriding default theme styles  after migration to emotion

There reproducing
https://codesandbox.io/s/material-ui-issue-forked-t1yge
Some components stopped overriding styles, i think after migration to emotion.
For example Typography and Badge. I tried to use className and classes: { [class] }, but none of the ways works.
In devTools, I see That there are styles but their priority is lower than default theme styles.

If you try to change the version of @material-ui/core then you can see, that:
Typography stopped overriding on 5.0.0-alpha.20, and work on 5.0.0-alpha.19
Badge stopped overriding on 5.0.0-alpha.19, and work on 5.0.0-alpha.18

@Krasnopir you are missing <StylesProvider injectFirst> in your app tree, in order for the CSS injection to be correct (emotion first and than JSS). Here is a working example - https://codesandbox.io/s/material-ui-issue-forked-go51m?file=/src/index.js
Duplicate of https://github.com/mui-org/material-ui/issues/24109

Thank a lot!

No worries, it's understandable that during this migration process this will come up a lot :) We are trying to improve the documentation to make this more visible.


[Critical] The PayPal button does not appear the 2nd time

Describe the bug
The PayPal button does not appear the 2nd time.
To Reproduce
Steps to reproduce the behavior:

Go to the PDP and add a product to the basket.
Refresh the page and go to the checkout page.
Enter the required information and go to the payment section.
Note that the PayPal button from Adyen will be displayed.
Click on the Cart button.
Now go to the Checkout page again.
Notice that the PayPal button will not render this time.

Expected behavior
The PayPal button should be rendered the 2nd time.
Screenshots

This is critical. You may require a release to fix it. But please let us know what we need to change on our end to have this fixed.

Hi @TayyabSalmanMRM1996
thank you for reporting the bug, we will look into it.
Best,
Adyen team

@olga-adyen - I see this happening because of the line: window.paypal = undefined in adyenCheckout.jsx.
You'll need to remove this. Any idea, why this line was written?


Document NUGET_SCRATCH environment variable

Hi,
The variable has been introduced in this pull request - https://github.com/NuGet/NuGet.Client/pull/4511
The associated issue should describe the rationale.
Thank you.

still needs to be documented


Icon rv_hookup shown twice

My user agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0

should no longer be the case


--force seems not working

--force option looks like not working

I checked the file size which the pipeline is comparing.
2811240323 is current remote file's file size.<PHONE_NUMBER> is from DNB_FILE_SIZE_20240514070350 metadata.
I am not sure why sizes are so different.
2024-05-14 08:00:11-utils.py:should_download:47:INFO:True:https://undpgeohub.blob.core.windows.net/stacdata/nighttime-lights/2024/03/27/SVDNB_npp_d20240327.rade9d_sunfiltered.tif
2024-05-14 08:00:22-utils.py:should_download:55:INFO:dict_items([('AREA_OR_POINT', 'Area'), ('DNB_FILE_SIZE_20240514070350', '6239033638')])
2024-05-14 08:00:22-utils.py:should_download:60:INFO:2811240323,<PHONE_NUMBER>

just tried data for 2024-01-01, and DNB_FILE_SIZE_20240507080445 is exactly same value with 27 March 2024.
2024-05-14 08:20:50-utils.py:should_download:47:INFO:True:https://undpgeohub.blob.core.windows.net/stacdata/nighttime-lights/2024/01/01/SVDNB_npp_d20240101.rade9d_sunfiltered.tif
2024-05-14 08:21:01-utils.py:should_download:55:INFO:dict_items([('AREA_OR_POINT', 'Area'), ('DNB_FILE_SIZE_20240507080445', '6239033638')])
2024-05-14 08:21:01-utils.py:should_download:60:INFO:2235740268,<PHONE_NUMBER>


stats view layout doesn't work well except at the widest media breakpoint

Chart directives need to be made responsive.

Latest version of dimple provides responsive rendering features: http://dimplejs.org/advanced_examples_viewer.html?id=advanced_responsive_sizing

Fixed.


Jeni's name

Some files say, Jeni Tennison.
Some Jeni Tennsion.
We might want to bulk fix it at some point.

The correct version is Jeni Tennison. I've seen this misspelling for so long that I suspect this may have been introduced by Jeni herself by mistake! I agree this should be fixed.

Fixed in #401