disable autogeneration of secret each time the chart is deployed

[/] Chart version not bumped (the versions are all bumped and released at the same time)
[x] README.md updated with any new values or changes
[x] Updated template tests in ${CHART}/tests/*.py
[x] Updated integration tests in ${CHART}/examples/*/test/goss.yaml

Improved security password generation, see:
https://itnext.io/manage-auto-generated-secrets-in-your-helm-charts-5aee48ba6918
For detailed information, why this might be useful.

Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?


Replace rados CLI function with go-ceph

Replaced rados CLI function to storeImageID and GetStoredImageID with go-ceph implementation. and also removed the unused rados CLI functions.
updates #1188

/retest ci/centos/containerized-tests


[Enhancement] add more error info to s3 sdk

What type of PR is this：

[ ] bug
[ ] feature
[x] enhancement
[ ] refactor
[ ] others

Which issues of this PR fixes ：

Fixes #
Problem Summary(Required) ：

Try to expose more error info of accessing s3. The possible used field are

[x] http code (403)
[x] message: no response body
exception: null
response headers:

connection / keepalive
content-length: 324
content-type: application/xml
date: Sat, 06 Aug 2022 04:46:56 GMT
server: AliyunOSS
x-amz-request-id: 62EDF240825092313227F4B8
x-oss-server-time: 22

[x] errortype: Aws::S3::S3Errors::ACCESS_DENIED

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] I have added user document for my new feature or new function

run all

run starrocks_admit_test

@mergifyIO backport branch-2.3

@MergifyIO backport branch-2.4


Support prerequisites in webportal and rest-server

Coverage increased (+0.03%) to 33.96% when pulling 2626a49525530e36897bb540ea23f784514b4124 on zhiyuhe/fix_rest into 333bfbef276871b3c3ae36c6112ba5a3934a5571 on master.


Use leveldb instead of sqlite

Implemented in https://github.com/status-im/go-waku-rendezvous/commit/d227fbccda4fb46adb89df469591bd5b38a116e6


weekDaysNamesShort in custom localization

Hi,
How can I set custom weekDaysNamesShort like in monthNamesShort in custom localization?
For example, in Hebrew it is not good to display the first 3 chars of the full weekday name.
Thanks

Hello!
You can use WeekdayShortForms localization mixin. Make sure to add the exposed FormatSet getter in  overrideFormatters() method.
import 'package:moment_dart/moment_dart.dart';
import 'package:moment_dart/src/localizations/mixins/weekday_shortforms.dart';

class CustomLocalization extends MomentLocalization with WeekdayShortForms {
  // Folded code
  ...

  @override
  Map<int, String> get weekdayNameShort => {
    DateTime.monday: "Day 01",
    ...
  };

  @override
  Map<int, String> get weekdayNameMin => {
    DateTime.monday: "Day 01",
    ...
  };

  @override
  FormatSetOptional overrideFormatters() {
    return {
      ...,
      // Do not forget this!
      formattersForWeekdayShortForms, // exposed from the mixin
    };
  }
}

Hope this helps! Please reopen the issue if required.


Criteria implementation

Promised pull request)
I was very wondered there is no tests and with this pr fix some of that) I cover all my criteria code and findAll method in EloquentRepository. In future i want to cover all and hope somebody help with it)
And maybe somebody can write documentation for this, because i afraid my poor english does a bad job.
How to use:
At first add Rinvex\Repository\Traits\Criteriable trait in your repository.
use Rinvex\Repository\Repositories\EloquentRepository;
use Rinvex\Repository\Traits\Criteriable;

class UserRepository extends EloquentRepository
{
    use Criteriable;

    protected $model = User::class;
    protected $repositoryId = 'rinvex.repository.user';
}

After that you can pushCriteria or pushCriterion to your repository. Criteria can be implemented as separeted classes which must implement Rinvex\Repository\Contracts\CriterionContract with one method apply($query, $reposiroty). Criterion can be pushed by class name, like instantiated object or closure which must have same signature like apply method in CriterionContract.
$repository->pushCriteria([new RangeCriterion, new CheckCriterion]);
$repository->pushCriteria([RangeCriterion::class, CheckCriterion::class]);
$repository->pushCriteria([new RangeCriterion, function ($query, $repository) { return $query->where('id', 1); }]);
$repository->pushCriterion(function ($query, $repository) { return $query->where('id', 1); });

Applying occurs during execution prepareQuery method in BaseRepository.
If you want perform query without pushed criteria you can use $repository->skipCriteria()->findAll() method. Also you can add  and skip by analogy default criteria. $repository->setDefaultCriteria([])->skipDefaultCriteria()
Also there is some helpers methods for checking and getting criteria.
$repository->hasCriterion(RangeCriterion::class); //check for existanse of given criterion in current criteria list
$repository->getCriterion(RangeCriterion::class); //return criterion object from criteria list
$repository->removeCriterion(RangeCriterion::class); //remove criterion of this clas from current criteria list

Some notes about closure criteria. If you pass in arguments closure criterion declaration, there is no way to remove or check for this creterion existence. This is normal and describing this behavior is beyond of this message)
Also you can use this trait in anything places where you can implement criteriable behavior.
For example you can use it in eloquent model, but you must find the way to apply criteria.
use Illuminate\Database\Eloquent\Model;
use Rinvex\Repository\Traits\Criteriable;

class User extends Model
{
    use Criteriable;

    public function scopeCriteriable($query)
    {
        return $this->applyCriteria($query, $this);
    }
}

$user = new User;
$user->pushCriterion(RangeCriterion::class);
$user->criteriable()->get();

#60

Awesome!
One doubt tho. Did not go through the code yet, but what's the diff between Criteria or Criterion?

@ionut-tanasa its just singular criterion and plural criteria forms.

Oh, wow 😮
Impressive PR, I'll check it soon -hopefully this week-..
I appreciate adding test suites too, much much appreciated @evsign 😄


Angular 9.1 and Transloco-locale 1.1.2 giving injection error

I'm submitting a...

[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request
[ ] Other... Please describe:

Current behavior
Update to transloco-locale 1.1.2 and notice that the error is visible:
Previous version 1.1.1 worked fine.

Firefox:
 "R3InjectorError(MyComponentModule)[TranslocoLocaleService -> TranslocoLocaleService -> TranslocoLocaleService -> TranslocoService -> InjectionToken TRANSLOCO_TRANSPILER -> InjectionToken TRANSLOCO_TRANSPILER -> InjectionToken TRANSLOCO_TRANSPILER]:
  NullInjectorError: No provider for InjectionToken TRANSLOCO_TRANSPILER!"

Chrome:
core.js:6185 ERROR Error: NullInjectorError: No provider for InjectionToken TRANSLOCO_TRANSPILER!
    at NullInjector.get (core.js:1076) [angular]
    at R3Injector.get (core.js:16629) [angular]
    at R3Injector.get (core.js:16629) [angular]
    at R3Injector.get (core.js:16629) [angular]
    at injectInjectorOnly (core.js:931) [angular]
    at Module.ɵɵinject (core.js:941) [angular]
    at Object.TranslocoService_Factory [as factory] (ngneat-transloco.js:1302) [angular]
    at R3Injector.hydrate (core.js:16865) [angular]
    at R3Injector.get (core.js:16617) [angular]
    at injectInjectorOnly (core.js:931) [angular]
    at ɵɵinject (core.js:941) [angular]
    at Object.TranslocoLocaleService_Factory [as factory] (ngneat-transloco-locale.js:844) [angular]
    at R3Injector.hydrate (core.js:16865) [angular]
    at R3Injector.get (core.js:16617) [angular]
defaultErrorLogger @ core.js:6185
6core.js:6185 ERROR Error: Cannot instantiate cyclic dependency! TranslocoLocaleService
    at throwCyclicDependencyError (core.js:8035) [angular]
    at R3Injector.hydrate (core.js:16861) [angular]
    at R3Injector.get (core.js:16617) [angular]
    at NgModuleRef$1.get (core.js:36024) [angular]
    at R3Injector.get (core.js:16629) [angular]
    at NgModuleRef$1.get (core.js:36024) [angular]
    at R3Injector.get (core.js:16629) [angular]
    at NgModuleRef$1.get (core.js:36024) [angular]
    at Object.get (core.js:33773) [angular]
    at getOrCreateInjectable (core.js:5805) [angular]
    at Module.ɵɵdirectiveInject (core.js:20861) [angular]
    at TranslocoDatePipe_Factory (ngneat-transloco-locale.js:941) [angular]
    at Module.ɵɵpipe (core.js:36605) [angular]
    at MyComponent_ng_container_0_ng_template_37_Template (my.component.html:64) [angular]

Expected behavior
No errors.

Minimal reproduction of the problem with instructions
Have both transloco and transloco.-locale installed and configured as providers:
app  Module:
export const globalFormatConfig: LocaleFormatOptions = {
  date: {
    dateStyle: 'medium',
    year: 'numeric',
    month: '2-digit',
    day: '2-digit',
    timeStyle: 'medium',
    hour: '2-digit',
    minute: '2-digit',
    second: '2-digit',
  }
};

imports: [
 TranslocoLocaleModule.init({
      localeConfig: {
        global: globalFormatConfig,
        localeBased: {
          'de-DE': globalFormatConfig,
          'en-US': globalFormatConfig
        }
      }
    }),
    TranslocoModule,
].
providers: [
  {
      provide: TRANSLOCO_CONFIG,
      useValue: {
        availableLangs: ['en-US', 'de-DE'],
        defaultLang: 'de-DE',
        fallbackLang: 'en-US',
        prodMode: environment.production,
      } as TranslocoConfig
    },
    TranslocoDatePipe,
    translocoLoader,
}
]

In MyComponent Module:
imports: [
        TranslocoLocaleModule,
        TranslocoModule,
]

For bug reports please provide the STEPS TO REPRODUCE and if possible a MINIMAL DEMO of the problem, for that you could use our stackblitz example
What is the motivation / use case for changing the behavior?

Environment
Angular version: 9.1.0

Browser:

[x] Chrome (desktop) version 80
[ ] Chrome (Android) version XX
[ ] Chrome (iOS) version XX
[ ] Firefox version 75
[ ] Safari (desktop) version XX
[ ] Safari (iOS) version XX
[ ] IE version XX
[ ] Edge version XX

For Tooling issues:

Node version: v12.16.1
Platform:  Windows

Others:
Angular 9.1.0, Ionic 5
   "@angular/common": "~9.1.0",
    "@angular/compiler": "~9.1.0",
    "@angular/core": "~9.1.0",
    "@angular/forms": "~9.1.0",
    "@angular/platform-browser": "~9.1.0",
    "@angular/platform-browser-dynamic": "~9.1.0",
    "@angular/router": "~9.1.0",
   "@ngneat/transloco": "^2.14.2",
    "@ngneat/transloco-locale": "^1.1.2",

Same - wanted to upgrade to 1.1.2 hoping it fixes the unit test pipe errors, but getting the same injection errors.
Some testing showed that the error shows up when locale service is used (I disabled all submodules, main app just used the service to set active locale).

@Ketec @Siedlerchr can you try v1.2.0?

For me it's fixed with 1.2.0


ComboBox search behavior

The search box is not performing a new search when you hit the backspace key. if I type "nexz" I get no results when I hit backspace and now have "nex" I still have no result even though "Next.js" should show.

It is using cmdk package under the hood which is not really well suited for a select. So the displayed behavior is most likely a cmdk bug.

I found a quick way to fix it.
The example passes only the label which cmdk will use to create a value property. There seems to be some inconsistency. If you pass the value directly as a property the behaviour is as you would expect it.

I was also struggling with the same issue, thanks for the fix @olsio

Duplicate of #1450 and the example is fixed in #1522 - please close as duplicate
As @olsio says, you can pass in the value to fix it

I notice that when I'm using different value and label as below
const options = [
{ value: 1, label: "one" },
{ value: 2, label: "two" }
}

CombBox only search for value, how to to search base on value and label?

I notice that when I'm using different value and label as below
const options = [
{ value: 1, label: "one" },
{ value: 2, label: "two" }
}

CombBox only search for value, how to to search base on value and label?

this could be a workaround if you are looking to search by label 🤔
<CommandItem
  key={company.value}
  value={company.label}
  onSelect={(currentValue) => {
    const value = options.find(
      (option) => option.label.toLowerCase() === currentValue,
    )?.value;
    setValue(value ?? "");
    setOpen(false);
  }}
>
    {company.label}
    <CheckIcon
      className={cn(
        "ml-auto h-4 w-4",
        value === company.value ? "opacity-100" : "opacity-0",
      )}
    />
</CommandItem>

I notice that when I'm using different value and label as below
const options = [
{ value: 1, label: "one" },
{ value: 2, label: "two" }
}

CombBox only search for value, how to to search base on value and label?

this could be a workaround if you are looking to search by label 🤔
<CommandItem
  key={company.value}
  value={company.label}
  onSelect={(currentValue) => {
    const value = options.find(
      (option) => option.label.toLowerCase() === currentValue,
    )?.value;
    setValue(value ?? "");
    setOpen(false);
  }}
>
    {company.label}
    <CheckIcon
      className={cn(
        "ml-auto h-4 w-4",
        value === company.value ? "opacity-100" : "opacity-0",
      )}
    />
</CommandItem>

I notice that when I'm using different value and label as below
const options = [
{ value: 1, label: "one" },
{ value: 2, label: "two" }
}

CombBox only search for value, how to to search base on value and label?

this could be a workaround if you are looking to search by label 🤔
<CommandItem
  key={option.value}
  value={option.label}
  onSelect={(currentValue) => {
    const value = options.find(
      (option) => option.label.toLowerCase() === currentValue,
    )?.value;
    setValue(value ?? "");
    setOpen(false);
  }}
>
    {option.label}
    <CheckIcon
      className={cn(
        "ml-auto h-4 w-4",
        value === company.value ? "opacity-100" : "opacity-0",
      )}
    />
</CommandItem>

primarily, it's ok.
But we will have issues when two items with same label will be there

yaa so if i do this
value={${option.name}}
then suppose i have three people with the name Nimesh but their id is different then it only shows 1 Nimesh instead of 3
anyone facing this issue?

I notice that when I'm using different value and label as below
const options = [
{ value: 1, label: "one" },
{ value: 2, label: "two" }
}

CombBox only search for value, how to to search base on value and label?

this could be a workaround if you are looking to search by label 🤔
<CommandItem
  key={option.value}
  value={option.label}
  onSelect={(currentValue) => {
    const value = options.find(
      (option) => option.label.toLowerCase() === currentValue,
    )?.value;
    setValue(value ?? "");
    setOpen(false);
  }}
>
    {option.label}
    <CheckIcon
      className={cn(
        "ml-auto h-4 w-4",
        value === company.value ? "opacity-100" : "opacity-0",
      )}
    />
</CommandItem>

primarily, it's ok. But we will have issues when two items with same label will be there. Need to have a better solution for this.

you can set the value like a string template value={${option.label} id=${option.id}}
and then imagine you have an onSubmit function where you receive this data, you can simply get that value and do a split value?.split('id=')[1] to get it. With this approach you will be able to search by label and by id in the searchbox.

Combobox is the weakest component I've used for these reasons

This needs an update asap.

I notice that when I'm using different value and label as below
const options = [
{ value: 1, label: "one" },
{ value: 2, label: "two" }
}

CombBox only search for value, how to to search base on value and label?

Use the custom filter option and combine value and label as value for the CommandItem(s).
<Command
    filter={(value, search) => {
      if (value.includes(search)) return 1;
      return 0;
    }}
>

<CommandItem value={`${option.value} ${option.label}`}>

Thank you @shomyx you both helped me fix the cmdk update to v1 and the search :)

It might be a bit more convenient to explicitly pass the keywords to the command item, so you don't have to parse the value again:
<CommandItem
  key={item.value}
  value={item.value}
  keyords={[item.label]}
>
  {item.label}
</CommandItem>

Depending on the data, I mostly found it more useful to normalise the search term and the haystack to lower case:
 <Command
  filter={(value, search, keywords = []) => {
    const extendValue = value + " " + keywords.join(" ");
    if (extendValue.toLowerCase().includes(search.toLowerCase())) {
      return 1;
    }
    return 0;
  }}
/>

@joblab have you tried this? How do I pass the keywords to the filter function?

@malun22 Yeah, I use the above code in production. The Command Component automatically passes the keywords for each Command item as the third argument to the filter function you pass to the  via the filter prop.

@joblab hm I see. Cool concept, but my keywords list seems to be empty always even when I give the Item the keyword property.

I have a workaround

              {projectId
                ? newOptions.find((item) => item?.value === projectId)?.label
                : "Select Type"}

 {
                const label = newOptions
                  .find((item) => item.value === value)
                  .label.toLowerCase()
                if (label.includes(search.toLowerCase())) return 1
                return 0
              }}
            >

No item found.

                  {newOptions.map((item) => (
                     {
                        setProjectId(
                          currentValue === projectId ? "" : currentValue
                        )
                        setOpen(false)
                      }}
                    >

                      {item.label}

                  ))}

I have a workaround
  <Popover open={open} onOpenChange={setOpen}>           <PopoverTrigger asChild>             <Button               variant="outline"               role="combobox"               aria-expanded={open}               className="h-8 w-[200px] justify-between p-1 font-normal"             >               {projectId                 ? newOptions.find((item) => item?.value === projectId)?.label                 : "Select Type"}               <ChevronsUpDown className="ml-2 h-4 w-4 shrink-0 opacity-50" />             </Button>           </PopoverTrigger>           <PopoverContent className="w-[200px] p-0">             <Command               filter={(value, search) => {                 const label = newOptions                   .find((item) => item.value === value)                   .label.toLowerCase()                 if (label.includes(search.toLowerCase())) return 1                 return 0               }}             >               <CommandInput placeholder="Search framework..." />               <CommandList>                 <CommandEmpty>No item found.</CommandEmpty>                 <CommandGroup>                   {newOptions.map((item) => (                     <CommandItem                       key={item.value}                       value={item.value}                       onSelect={(currentValue) => {                         setProjectId(                           currentValue === projectId ? "" : currentValue                         )                         setOpen(false)                       }}                     >                       <Check                         className={cn(                           "mr-2 h-4 w-4",                           projectId === item?.value                             ? "opacity-100"                             : "opacity-0"                         )}                       />                       {item.label}                     </CommandItem>                   ))}                 </CommandGroup>               </CommandList>             </Command>           </PopoverContent>         </Popover>

I have a workaround
filter = {(value, search) => {
const label = newOptions.find((item) => item.value === value).label.toLowerCase()
if (label.includes(search.toLowerCase())) return 1
return 0
}}

I've been developing a reusable FormCombobox component and I think I can offer a solution to the issue you're facing. Here's a brief overview:
Solution: The approach involves mapping the value received from the filter attribute to the corresponding item and then performing a search based on the item's label. Here's the implementation:
  <Command
    filter={(value, search) => {
     const item = items.find(item => item.value === value)
      if (!item) return 0
      if (item.label.toLowerCase().includes(search.toLowerCase()))
        return 1

      return 0
    }}
  >

Here is a short preview of the component in action:

The full component code is as follows:
'use client'

import React from 'react'
import { FieldValues, type Path, useFormContext } from 'react-hook-form'
import { Check, ChevronsUpDown } from 'lucide-react'
// Shadcn/ui imports ...

export type LabelValuePair = {
value: string
label: string
}

export type FormComboboxProps<T> = {
path: Path<T>
items: LabelValuePair[]
resourceName: string
label?: string
description?: string
}

export function FormCombobox<T extends FieldValues>({
path,
label,
items,
description,
resourceName,
}: FormComboboxProps<T>) {
const { control, setValue } = useFormContext<T>()

return (
  <FormField<T>
    control={control}
    name={path}
    render={({ field }) => (
      <FormItem className='flex flex-col'>
        <FormLabel>{label}</FormLabel>
        <Popover>
          <PopoverTrigger asChild>
            <FormControl>
              <Button
                variant='outline'
                role='combobox'
                aria-haspopup='listbox'
                className={cn(
                  'justify-between',
                  !field.value && 'text-muted-foreground',
                )}
              >
                {field.value && field.value.length > 0
                  ? (() => {
                      const joinedItems = items
                        .filter(item => field.value.includes(item.value))
                        .map(item => item.label)
                        .join(', ')

                      return joinedItems.length > 50
                        ? joinedItems.slice(0, 50) + '...'
                        : joinedItems
                    })()
                  : `Select ${resourceName}...`}
                <ChevronsUpDown className='ml-2 h-4 w-4 shrink-0 opacity-50' />
              </Button>
            </FormControl>
          </PopoverTrigger>
          <PopoverContent className='w-full md:w-[300px] p-0'>
            <Command
              filter={(value, search) => {
                const item = items.find(item => item.value === value)
                if (!item) return 0
                if (item.label.toLowerCase().includes(search.toLowerCase()))
                  return 1

                return 0
              }}
            >
              <CommandInput placeholder={`Search ${resourceName}...`} />
              <CommandEmpty>No {resourceName} found.</CommandEmpty>
              <CommandGroup>
                <CommandList>
                  {items.map(({ value, label }) => (
                    <CommandItem
                      key={value}
                      value={value}
                      onSelect={value => {
                        const currentValues: string[] = field.value || []
                        if (currentValues.includes(value)) {
                          field.onChange(
                            currentValues.filter(item => item !== value),
                          )
                        } else {
                          field.onChange([...currentValues, value])
                        }
                      }}
                    >
                      <Check
                        className={cn(
                          'mr-2 h-4 w-4',
                          field.value && field.value.includes(value)
                            ? 'opacity-100'
                            : 'opacity-0',
                        )}
                      />
                      {label}
                    </CommandItem>
                  ))}
                </CommandList>
              </CommandGroup>
            </Command>
          </PopoverContent>
        </Popover>
        <FormDescription>{description}</FormDescription>
        <FormMessage />
      </FormItem>
    )}
  />
)
}

   <FormCombobox<CreateCrewFormValues>
       label={'Users'}
       path={'users'}
       items={items}
       resourceName={'users'}
       description={`Add users to the group`}
    />

Please don't mind the messiness in the code; it's still a bit of a work in progress. Feel free to use or modify this snippet as needed for your project :))

value
What I did is combined both in values and made search using the name

              {value
                ? carrier.find(
                    (framework: any) => framework.carrier_id === value
                  )?.name
                : "Select framework..."}

No framework found.
            <CommandGroup>
              {carrier.map((framework: any) => (
                <CommandItem
                  key={framework.carrier_id}
                  value={`${framework.carrier_id},${framework.name}`}
                  onSelect={(currentValue) => {
                    setValue(
                      currentValue === value
                        ? ""
                        : currentValue.split(",")[0]
                    );
                    setOpen(false);
                  }}
                >
                  <Check
                    className={cn(
                      "mr-2 h-4 w-4",
                      value === framework.value
                        ? "opacity-100"
                        : "opacity-0"
                    )}
                  />
                  {framework.name}
                </CommandItem>
              ))}
            </CommandGroup>
          </CommandList>
        </Command>
      </PopoverContent>
    </Popover>

    this is my demo data if it helps
    const testData = [

{
name: "Carrier 1",
carrier_id: "ID_1",
},
{
name: "Carrier 2",
carrier_id: "ID_2",
},
{
name: "Carrier 3",
carrier_id: "ID_3",
}
];

I combined the ids and name in values and I made a search with name
this is working well for me. and while setting the value I split them to get my value
 <Popover open={open} onOpenChange={setOpen}>
      <PopoverTrigger asChild>
        <Button
          variant="outline"
          role="combobox"
          aria-expanded={open}
          className="w-full justify-between"
        >
          {value
            ? data.find((framework: any) => framework.carrier_id === value)
                ?.name
            : "Select framework..."}
          <ChevronsUpDown className="ml-2 h-4 w-4 shrink-0 opacity-50" />
        </Button>
      </PopoverTrigger>
      <PopoverContent className="w-full p-0">
        <Command>
          <CommandInput placeholder="Search framework..." />
          <CommandList>
            <CommandEmpty>No framework found.</CommandEmpty>

            <CommandGroup>
              {data.map((framework: any) => (
                <CommandItem
                  key={framework.carrier_id}
                  value={`${framework.carrier_id},${framework.name}`}
                  onSelect={(currentValue) => {
                    setValue(
                      currentValue === value ? "" : currentValue.split(",")[0]
                    );
                    setOpen(false);
                  }}
                >
                  <Check
                    className={cn(
                      "mr-2 h-4 w-4",
                      value === framework.value ? "opacity-100" : "opacity-0"
                    )}
                  />
                  {framework.name}
                </CommandItem>
              ))}
            </CommandGroup>
          </CommandList>
        </Command>
      </PopoverContent>
    </Popover>

This is my demo data if it helps:
const testData = [
  {
    name: "Carrier 1",
    carrier_id: "ID_1",
  },
  {
    name: "Carrier 2",
    carrier_id: "ID_2",
  },
  {
    name: "Carrier 3",
    carrier_id: "ID_3",
  }
];

Hey @salman486 just to give you some more things to look into. cmdk itself offers a keywords property on the CommandItem
/** Optional keywords to match against when filtering. */
keywords?: string[]

Which it will use for the search. Then you can just use the value to be unique without the hacks you added. The fuzzy match logic can be a bit too fuzzy but for that you can override the filter property on the Command component.
filter?: (value: string, search: string, keywords?: string[]) => number

I have tried using that the issue is that in filter function in Command component it always gives me keywords = []. I am using cmdk version ^0.2.1

I just used it in a project and it was working fine so I would assume it was added with 1.0.0

I'm implementing a workaround using the Command component's filter feature. Here's how I've set it up:
<Command
  filter={(value, search) => {
    console.log({ value, search });
    if (
      platforms
        .filter(
          (platform) => platform.value === value
        )[0]
        .label.includes(search)
    )
      return 1;
    return 0;
  }}
>

Using sanitization:
<Command
  filter={(value, search) => {
    const sanitizedSearch = search.replace(
      /[-\/\\^$*+?.()|[\]{}]/g,
      '\\$&'
    );

    const searchRegex = new RegExp(
      sanitizedSearch,
      'i'
    );

    const platformLabel =
      platforms.find(
        (platform) => platform.value === value
      )?.label || '';

    return searchRegex.test(platformLabel) ? 1 : 0;
  }}
>

This issue has been automatically closed because it received no activity for a while. If you think it was closed by accident, please leave a comment. Thank you.

Of course.

This issue has been automatically closed because it received no activity for a while. If you think it was closed by accident, please leave a comment. Thank you.

I think it should be reopened

If you want to search in labels only (and not in values) use this:
First put label inside value.
item = { value: `${option.value} ${option.lable}`, label: option.label }
Then split value inside filter function. (I'm using substring instead of split[1] in case there was an space in the label)
filter={(value, search) => {
  const label = value.substring(value.indexOf(' ') + 1)
  if (label.includes(search)) return 1
  return 0
}}```

@shadcn  can this be reopen

The original issue seems fixed, but it is still a bit confusing that when typing nextt, for example, the item next.js is returned.
However, this is the default filter behaviour of cmdk (under the hood).
For someone like me who wants to do an exact search, you can do the following:
<Command
  filter={(value, search) => {
    if (value.includes(search)) return 1
    return 0
  }}
/>

as stated in the here


Update Renaissance suite to latest release v0.11.0

We are currently using Renaissance v0.9.0 and should update to latest release (https://github.com/renaissance-benchmarks/renaissance/releases/tag/v0.11.0) - update can be made in perf/renaissance/build.xml_L37 file.
We should then check if this addresses any of the renaissance benchmark failures reported under

https://github.com/AdoptOpenJDK/openjdk-tests/issues/1932
https://github.com/AdoptOpenJDK/openjdk-tests/issues/1994
https://github.com/AdoptOpenJDK/openjdk-tests/issues/2159
https://github.com/AdoptOpenJDK/openjdk-tests/issues/2183
https://github.com/AdoptOpenJDK/openjdk-tests/issues/2253
https://github.com/AdoptOpenJDK/openjdk-tests/issues/2254
https://github.com/AdoptOpenJDK/openjdk-tests/issues/2255

Renaissance's releases provides binary file formats which means we can get the latest releases by auto script.
curl -s https://api.github.com/repos/renaissance-benchmarks/renaissance/releases/latest
curl -s https://api.github.com/repos/renaissance-benchmarks/renaissance/releases/latest | grep "browser_download_url"

Ah, sorry @sophia-guo - I did not see your comment before merging the PR related to this issue.

That's ok. I've related this with #1971 we can close this.


docs: translation for useId

Closes #402
Description
Translate the useId  page.
Page URL: https://id.react.dev/reference/react/useId

Need to re-check @zainfathoni

Waiting your approval, @zainfathoni

Okay, I'll review it tonight.

@zainfathoni need to recheck latest changes

@zainfathoni do you have time for re-review?

@zainfathoni do you have time for re-review?

Yes, I will have some time to review this weekend. Sorry for the delay. 🙏


Rename all files to .ts and add TypeScript build process

As we want to transform our code to [TypeScript] (http://typescriptlang.org), the first step will be to transform our code *.ts files. We should add those to source control instead of our js files. We should also add a compile step into our build system

Done in branch typescript-migration. We'll close this issue once it is in develop.

This can be closed, right?

Yes please
Op 24 feb. 2016 21:10 schreef "Simon de Lang"<EMAIL_ADDRESS>
This can be closed, right?
—
Reply to this email directly or view it on GitHub
https://github.com/infosupport/stryker/issues/18#issuecomment-188436092.


Shader variants for unquantized vertex tables

#3288 introduced this feature. #3401 partially reverted it due to performance impact on the shaders for quantized vertex tables.
This PR reintroduces the feature using separate shader variants to avoid impact on the quantized shaders.
It also applies performance optimizations for the new shaders devised by @DStradley and @MarcNeely.
Decoration graphics now use unquantized positions to reduce potential visual artifacts caused by reduced precision of quantized positions when graphics span large distances.
A subsequent PR will change requestElementGraphics to use unquantized positions by default as well, for the same reason.

ImageTests queued.


Draft feature architecture

Initial sprites

Circular image with color gradient for each entity type
Maybe replaced with better sprites later

Map

Fixed graphic (some walls maybe)
Only a portion of map visible at any given time

Player sprite

Keep track of where player is
Player is centered on map
Player can shoot in all directions

Enemy sprites

Robotic and humanoid enemies
Limit number of spawned enemies
Enemies can move around player and shoot toward them
Semi-random choices as to how to maneuver around player

Shots

Shot projectiles continues until it hits or goes off-screen

Collision detection of projectile and player/enemies
Asteroids-like control scheme?

W, S would move up or down, holding A or D would rotate player
Clicking shoots

Alternate shot that possesses humanoid entities (shifting viewport to shot enemy's place)

Maybe periodically more enemies surround player forcing them to possess humanoid enemy to escape it
Transition to new map location could be smooth and gradual
Alternate shots only collide with humanoid enemies

Pause/start

Key to pause, or if window becomes unfocused

Timer or score counter

To measure achievement

Rudimentary sound effects

Maybe just sine-waves at different frequencies


BC is going to sunset: https://github.com/bnb-chain/BEPs/pull/444

BC is going to sunset: https://github.com/bnb-chain/BEPs/pull/333
Originally posted by @zjubfd in https://github.com/bnb-chain/tokens-info/pull/165#issuecomment-1869878765

BC is going to sunset: https://github.com/bnb-chain/BEPs/pull/333
#Redme
<EMAIL_ADDRESS>0x00128f91bc43639c5f362940367b4748627dd725
Originally posted by @zjubfd in https://github.com/bnb-chain/tokens-info/pull/165#issuecomment-1869878765


added nonce parameter to directive

Hi all, I have added the nonce parameter to the directive to make it easier to use.

This looks great to me.  Any reason contributors here haven't looked at this?

Great job @edtyl3r. We are very busy in this period but we'll make the merge pretty soon. /cc @m00s


Colorbar: how to set clipping limits using movable sliders

Hi!
Many software with colorbar options have a feature that two sliders are shown over the Colorbar. These two sliders can be moved so new min/max values are introduced, and they would have the same effect as color clipping which is already supported by ScottPlot Colorbars.
I would be happy to start some experimenting, but any suggestions are welcome. Like what would be the most simple approach. For sure, we need to create two slider markers, and define slider movement Events in a proper way.
Further ideas, what do you think?

I would be happy to start some experimenting, but any suggestions are welcome.

Like what would be the most simple approach.

A couple quick ideas come to mind! I'll assume this is a WinForms app
I'd start by getting the colorbar bitmap and applying it to a PictureBox (outside the FormsPlot), then add two trackbars to be your sliders.
When the trackbars are moved, they can set public properties on the colorbar to set the clipping ranges. This can be done with the ScottPlot version currently published on NuGet.
It may be possible to create custom ScottPlot code to achieve this all inside the FormsPlot itself, but I think it makes sense to get it all working how you want it using traditional controls as described above before we take the plunge into modifying ScottPlot source code to build those features in. Also who knows - your WinForms solution may be so good that modifying ScottPlot is no longer necessary!
If you give this a go, I'd love to see what you come up with!
Related:

https://scottplot.net/cookbook/4.1/category/plottable-heatmap/#scale-limits
https://scottplot.net/cookbook/4.1/category/plottable-heatmap/#color-clipping

Many software with colorbar options have a feature that two sliders are shown over the Colorbar

If you have some example screenshots, pasting them here could help this discussion

Below example video shows how SciChart, on the left, implemented it. Right side shows Scottplot. In my opinion, you can easily implement this outside of the library. Implementing the sliders inside the library might complicate things.
https://user-images.githubusercontent.com/52579388/210034279-34a49846-c0cb-4382-9aec-8a7ab07bc3ca.mp4

Ok, i agree with you people, that this should be implemented outside Scottplot! :) Thanks for the hints, if i come out something useful in the future, i will share it!

Thanks for the screenshot/video! That makes a lot more sense to me now, and I think we can achieve this effect. I'll leave this issue open and return to it after #2304


AcroSoftwareInc.CutePDFWriter version <IP_ADDRESS>

[ ] Have you signed the Contributor License Agreement?
[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.4 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Close with reason: Package already exists in the repo. You can install it via winget install --id AcroSoftware.CutePDFWriter;


Immortal invalid events blocks the queue

🐞 Bug report
A combination of two facts causes the bug:

Events tracked always go to WebSocket connections with the token used to track them.
WebSocket connections with invalid tokens are blocked by the authentication system.

When an event is tracked with an invalid token it won't be delivered and as such will be added back to the queue to be retried. The connection required for such an event will never succeed, so the event will never be delivered, causing the queue to be blocked permanently (or until the browser clears the local storage).
Steps to reproduce
Please provide a minimal code snippet and the detailed steps for reproducing the issue.

Generate a valid token
Make it invalid for authentication but still a valid JWT, like changing the signature.
Track an event using the tampered token
Track an event with the original valid token
Neither event is ever delivered

Expected behavior
The undeliverable event should be discarded after some determined number of attempts.
Ideally, the event would be dropped based on the type of the error, so they would not be dropped on network connection problems, but since browsers don't expose the error cause we have to compromise that some data might be lost if a network connection problem lasts long enough.
Additional context
IPv4 has a Time to Live field for a similar purpose:

Time to Live:  8 bits
This field indicates the maximum time the datagram is allowed to remain in the internet system.  If this field contains the value zero, then the datagram must be destroyed. [...]
The intention is to cause undeliverable datagrams to be discarded, and to bound the maximum datagram lifetime.

For the record. We fixed this problem by not refusing such messages. Instead, we now receive those connections and ignore the events that are sent through them.
By the specification for WebSocket clients, an unauthorized error and a network error should be indistinguishable by the calling script (the SDK)

User agents must not convey any failure information to scripts in a way that would allow a script to distinguish the following situations:

[...]
A server that did not complete the opening handshake.
A WebSocket server that abruptly closed the connection after successfully completing the opening handshake.

By choosing to accept the connections and the messages we can handle all such cases on our services without requiring any update on the clients. This also allows us to centralize the notification of such problems instead of just failing the connection at the end user's browser.

Thanks, @Fryuni!


Kernel efficiently matches reads/nullifiers to commitments [tracking ticket]

### Subtasks
        * [ ] https://github.com/AztecProtocol/aztec-packages/issues/892
        * [ ] https://github.com/AztecProtocol/aztec-packages/issues/837
        * [ ] https://github.com/AztecProtocol/aztec-packages/issues/1074

All sub-tasks are done, therefore we can close this one as well.


Add: slim extension

Latest mater branch be able to add 'slim' extension.
I can find unused slim files using my forked repo.

all my partials are marked are "unused" now that I switched to slim

Thank you!


Build Error on Xcode (iOS) error build: Undefined symbol: OBJC_CLASS$_CLLocationManager

Environment
    OS: macOS 12.6
    CPU: (8) x64 Intel(R) Core(TM) i5-1038NG7 CPU @ 2.00GHz
    Memory: 773.88 MB / 16.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 16.13.0 - ~/.nvm/versions/node/v16.13.0/bin/node
    Yarn: 1.22.17 - ~/.nvm/versions/node/v16.13.0/bin/yarn
    npm: 8.3.0 - ~/.nvm/versions/node/v16.13.0/bin/npm
    Watchman: 2<IP_ADDRESS> - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.11.3 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: DriverKit 21.4, iOS 16.0, macOS 12.3, tvOS 16.0, watchOS 9.0
    Android SDK:
      API Levels: 23, 28, 29, 30, 31, 32
      Build Tools: 28.0.3, 29.0.2, 29.0.3, 30.0.2, 30.0.3, 32.0.0, 33.0.0
      System Images: android-28 | Intel x86 Atom, android-28 | Google APIs Intel x86 Atom_64, android-28 | Google Play Intel x86 Atom, android-28 | Google Play Intel x86 Atom_64, android-29 | Intel x86 Atom, android-29 | Intel x86 Atom_64, android-29 | Google APIs Intel x86 Atom, android-29 | Google APIs Intel x86 Atom_64, android-29 | Google Play Intel x86 Atom, android-29 | Google Play Intel x86 Atom_64, android-30 | Google Play Intel x86 Atom
      Android NDK: Not Found
  IDEs:
    Android Studio: 2020.3 AI-203.7717.56.2031.7935034
    Xcode: 14.0/14A309 - /usr/bin/xcodebuild
  Languages:
    Java: 11.0.8 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 17.0.2 => 17.0.2
    react-native: 0.67.4 => 0.67.4
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Platforms
For now I've tried in Xcode (for iOS), haven't tried on android
Versions

iOS: 15.0
react-native-geolocation: 3.0.1
react-native: 0.67.4
react: 17.0.2
xcode: 14.0

Description
After installing react-native-firebase and disabling flipper the library didn't let me build the app. Xcode gives me this error

Reproducible Demo
For reproducing this demo just try to build the app from xcode and it will fail

Hey, I just tested with a fresh RN 0.67.4 project + Xcode 14 and it builds well. You mentioned that it's failing after adding firebase - could you provide me with a minimal repro project/list of deps that led to this issue?

same issue

It seems that you're building this module as a framework (use_frameworks!) in the Podfile. I will work on a fix soon but need to do some testing around it. The potential fix would be to patch the library's .podspec and add:
s.frameworks = 'CoreLocation'

alternatively, you might force building this module as a static lib with the following script in the Podfile
  pre_install do |installer|
    installer.pod_targets.each do |pod|
      if pod.name.eql?('react-native-geolocation')
        def pod.build_type
          Pod::BuildType.static_library
        end
      end
    end
  end

Shipped in 3.0.2


Speed up Parquet utf8 validation

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
Utf8 validation comes up in profiles when reading Parquet.
Describe the solution you'd like

We could use https://docs.rs/simdutf8/latest/simdutf8/ to speed up validation of utf8.
Describe alternatives you've considered

Additional context

Here is another idea: https://github.com/apache/arrow-rs/issues/6701


Prime Factor Calculator

Description
Made a Prime factor calculator app using Sieve of Eratosthenes to calculate prime factors in O(n log log n) time complexity assuming worst case scenario. User input would be taken and factors would be calculated.
Type of change
Please delete options that are not relevant.

[x] New feature (non-breaking change which adds functionality)

Test Configuration: (If any)

Firmware version:
Hardware:
Toolchain:
SDK:

Checklist:

[x] My code follows the style guidelines of this project
[x] Any dependent changes have been merged and published in downstream modules

Code made under Hactoberfest'22

@debidattasuryaprakash add hacktoberfest-accepted tag when the pr is ready to merge

Congratulation🎉 @jeevanalok ! your pr just got merged.


Suggestion: add an inspection to detect missing terminals

Because I find having lalrpop tell me I'm missing the definition of a terminal a little annoying and it doesn't seem like a hard thing to implement.

Implemented it in #13.


Support for Keep out \K

There is a method for this, without using lookbehind?

What? Please consider adding more detail. I have no eathly clue what you're talking about. Consider providing more detail and examples.

I was curious what this was too and googling led me here: https://perldoc.perl.org/perlre#\K

There is a special form of this construct, called \K (available since Perl 5.10.0), which causes the regex engine to "keep" everything it had matched prior to the \K and not include it in $&. This effectively provides non-experimental variable-length lookbehind of any length.

@lespea Thanks!
Assuming this is a feature request, I'm going to close this, as this crate doesn't support look-around. (Beyond some simple cases for anchor/word-boundary assertions.)


how to start a website stream

Hi, thanks for the work making this library for arduino ide, really saves me a lot of trouble working on vscode platform.
So a small question: how do I start a website stream with this uvc code? There is website uvc stream code in esp-iot solution, but that is for vscode and I still failed to make it work, so I want to ask this here because Im more familiar with arduino ide. Thanks!

Hi @fatpunkybearass, thank you for using the library!
I believe the website UVC stream code in the esp-iot solution needs to be modified before it can be ported for use in the Arduino IDE. However, this is not currently part of our development plans. We will consider implementing it in the future, and any updates will be shared here.

hi zhongwei
我的意思是有没有可能在arduino ide里的这个ESP32_USB_Stream库的示例代码中加入能直接在网页上显示视频的功能，如果这不在你们的计划中那就算了。如果这对于你们很容易，那不妨加入这个功能，对于我这样的新手是一个比较大的帮助。谢谢！
Is it possible to add the function of displaying video directly on the web page to the sample code of the ESP32_USB_Stream library in the Arduino IDE? If this is not in your plan, it is fine. If this is very easy for you, then maybe you could consider adding this function, which is a great help for thousands of beginners like me.
thanks!

非常抱歉，这个库仅用于提供与 USB 直接相关的功能，但是我们会考虑将 “在网页上显示视频的功能” 单独封装成一个新的库，然后通过示例的形式将两者结合起来使用。

好的好的，谢谢啦


Automated cherry pick of #983: fix: esxi vm may fail on start or delete in batch

Cherry pick of #983 on release/2.10.0.
#983: fix: esxi vm may fail on start or delete in batch

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.10.0@2a95df1). Click here to learn what that means.
The diff coverage is 0%.

@@               Coverage Diff                @@
##             release/2.10.0    #984   +/-   ##
================================================
  Coverage                  ?   7.69%
================================================
  Files                     ?     348
  Lines                     ?   55478
  Branches                  ?       0
================================================
  Hits                      ?    4270
  Misses                    ?   50810
  Partials                  ?     398

Flag
Coverage Δ

#aFlag
7.69% <0%> (?)

Impacted Files
Coverage Δ

pkg/util/esxi/virtualmachine.go
0% <0%> (ø)

pkg/util/esxi/host.go
2.32% <0%> (ø)

Continue to review full report at Codecov.

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

/lgtm
/approve


Iteration count and AbstractLogger interface

When we implement the AbstractLogger interface, we need to find a way to pass the step (iteration) count to tensorboard. This can be done nicely by passing it as a key-value pair in the logged message, but I am interested in the case where this is not done.
The obvious solution is to store a global iteration count in the logger itself, but how do we update it? Defining a set_step would make the code break if one changes Logger. Maybe if one logs step this will not be logged and just used to update the internal counter?

yes, magic named arguments are a thing loggers do.
Eg. ConsoleLogger handled max_log to control the maximum number of times a given log message will be printed.
I think we shoud have an internal step to the logger.
I think it should increment every time you log,
unless you pass a samestep=true argument. (or similar).
I think always increment is a good default,
since if you have a collection of logs that are supposed to be at the same time
then you should write:
@info "Foo" x=2 y=3 z=1

or if you need to break them up
@info "Foo" x=2
@info "Foo" y=3 samestep=true
@info "Foo" z=1 samestep=true

But if you break them up, and forget to set samestep,
then that is fine, you can read tensorboard in WallTime mode and it will still all look right.
I don't think directly being able to set the step is useful since why would you set it to any particular number.
Possible exception is to reset it to zero, but I feel like this is better handled by constructing a new logger.
Or perhaps by manipulating the logger object.

I think there should be option to set step. Increment step is a good default. But user may need to give specific step numbers to get precise line graphs such as logging loss after every 10 epochs.

I agree that there should be some way to skip multiple steps, as it does fit to a common use-case I have (comparing convergence of different algorithms, with different runtimes).
Though, I would keep as default behaviour that of incrementing the step, as Lyndon suggested, as it works well with solvers implementing the Iterative interface (something I'm keen of).
A delta_step magic argument might combine both solutions. delta_step=0 would not increase the step, and if one wants to skip a certain number of steps he could just change it.
Potentially we could also have a step magic argument, though I'm not sure we would really need.

Perhaps step_increment defaulting to 1. (delta does not imply direction).
And if you want to abolutely set the step then you can deal with the logger object itself.
Maybe log_step_incrment to make name collision even more unlikely.

It's a bit verbose but log_step_increment  makes sense.
Yeah, defaulting to 1 so we get the behaviour you described is the best idea.
I'll implement this into the logging_interface branch which also solves #5 .


Remove addons suggestion of module configuration

Questions
Answers

Description?
Remove the Addons suggestion inside module configuration.

Type?
improvement

BC breaks?
no

Deprecations?
no

Fixed ticket?
Fixes PrestaShop/Prestashop#26500

How to test?
Check that the Addons suggestion block is now removed.

Hello @PrestaEdit ,
Thanks for your PR. After testing it, I'm facing an issue.
Go to BO > Modules > Configure blockreassurance
Go to Display Tab > Switch positions : an error appears

Could you check please ?
Thanks !

@PrestaEdit Could you check the feedback of @florine2623 ? Thanks

@PrestaEdit Could you check the feedback of @florine2623 ? Thanks

I'll have a check, I don't think it's related to this PR :thinking:

@florine2623 It should be better right now I fix the module in this PR :)

Hello @PierreRambaud ,
Thanks for the update, I retested the PR. It is all good now :)
QA Approved ✅

Thanks @PrestaEdit & @PierreRambaud & @florine2623


Implement new side panel design

Mocks
Panel redesign.pdf

Tasks

[x] components indicator
[x] components for category
[x] styling
[ ] get new data in tiles
[ ] read data from tiles
[ ] add blue dots
[ ] test

sustainable housing category > housing cost burden should appear above lead paint
this one is my bad but in legacy pollution it should be hazardous waste facilities not sites (i think i've updated this in all the places now)
health burdens > heart disease should appear above low life expectancy

:arrow_up: 1 and 2 might be moot after the backend adjustments but i included for completeness.
everything else in the side panel looks good.

as a reminder, we decided to change the stroke of the census track selection to 100% of 1A4480 and
use that color for the dot. in USWDS this color is 'primary-dark' or 'blue-warm-70v'.


Firesuits are heavy and very large to fit in your backpack

changelog
-firesuits weight 50 now

closing in favor of peptides pr which will nerf it even harder


⚠ LabBricks has degraded performance

In 9de09d0, LabBricks (https://labbricks.com) experienced degraded performance:

HTTP code: 523
Response time: 3395 ms

Resolved: LabBricks performance has improved in c72911c after 19 minutes.


As a Engineer, I would like to set the default parameter style in order to complain with OpenAPI spec

Right now we don't set the default style and explode mode. Let's make it complaint.

Accepted!


Dual/multi and english extensions(🐐)

Describe why this should be added
Seen a lot of request for a lot of website which are too much similar soo instead of these ..aniyomi could give priority to below

UHDmovies: solving the bug in #2353  and adding more category other than home
Mkvcinemas: best quality and large no of content already requested in #2374 (🐐)
Vegamovies: requested in #2180  along with  https://dotmovies.tattoo/ (its bollywood category in vega which redirect to dotmovies website)
Olamovies- https://olamovies.tokyo/ best quality and big catalog(🐐)
moviemod-already request in #1791

Other details
Give priority to these will be the best instead of adding websites with similar catalog and quality
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open (or closed) issue.
[X] I have written a short but informative title.
[X] If this is an issue with the app itself, I should be opening an issue in the app repository.
[X] I have updated the app to version 0.13.5.
[X] I have updated all installed extensions.
[X] I will fill out all of the requested information in this form.

Please only open one issue per source. And no, we won't give any issue "priority" over others, this is all volunteer work and stuff will only be worked on when and if someone feels like volunteering to work on it.

Please only open one issue per source. And no, we won't give any issue "priority" over others, this is all volunteer work and stuff will only be worked on when and if someone feels like volunteering to work on it.

I did this for enchancement of the app i.e. quality>quantity  ...

What I said still stands regardless

What I said still stands regardless

only thing i can do is to open seperate source request for ola and moviesmod and wait till someone makes it


Inconsistent eventhub naming in instructions, does not match expectations in source code

In HOL4 - Exercise 1 : Connect the Azure Function to the shared input hub, the user is instructed to add the following to the function Run method:
[EventHub("sharedouteventhub", Connection = "SharedEventHubConnection")] IAsyncCollector<string> sharedOutputMessage,
However, the AirTraffic Sim Source does not expect an EventHub with name "sharedouteventhub" to exist, it rather expects one by name of "flysim-shared-input-hub" as directed in HOL3 - Exercise 1: Create Event Hubs for input and output - Step 7 and as also indicated in the Air Traffic Sim source code.
As a result, the proper modification to the function Run method should look like:
[EventHub("flysim-shared-input-hub", Connection = "SharedEventHubConnection")] IAsyncCollector<string> sharedOutputMessage
It is very important to note that with this change to the function annotation, the function will use an entity path of "flysim-shared-input-hub" provided that an entity path is not specified in the connection string supplied to AppSettings.
This occurs because HOL3 -
Exercise 1: Create Event Hubs for input and output in step 11 implies that the proctor should copy the connectionstring for the Event Hub namespace without an appended entity path of "flysim-shared-input-hub".
i.e. this step will generate a connection string for the eventhub namespace and will not contain an entity path =>

If the proctor supplies attendees with a  connectionstring that contains an entity path="flysim-shared-input-hub", the function code will work without modification and will also work when supplied to the Flysim app, but... it is important to note that the only reason this works is because the entity path in the connection string gets overwritten when the attendee follows HOL4 - Exercise 2: Connect the client app to the shared output hub to create the AirTrafficListener.
This specific line contains a side-effect which overwrites any pre-existing entity path in the connection string:
            this.client = EventHubClient.CreateFromConnectionString(Common.CoreConstants.SharedAirTrafficEventHubEndpoint, Common.CoreConstants.SharedAirTrafficHubName);
This is a bit confusing, because the function code will only work without modification if a  connectionstring with an entitypath="flysim-shared-input-hub" is supplied, which is not clear in the HOL3 instructions.  While this fixes the function code without any modification, it only works in the Flysim app because the entitypath gets overwritten.
It is suggested to either change the function code to use the eventhub namespace connection without an entity path as the HOL3 instructions imply by using the modification to function annotation proposed earlier AND if it is decided to go this route it wouldn't be a bad idea to modify HOL2 -
Exercise 2: Deploy the Azure Function to transform data to also use a connectionstring without an entity path specified (i.e. the connectionstring to the namespace itself) by modifying the function annotation of "outeventhub" to "flysim".  This will make the evenhub connection strings consistent (no more need for explicit entity path in connection strings)and works without the aid of a side-effect.
OR
Update the HOL3 instructions to very clearly indicate that the proctor should copy a connectionstring which contains an entity path of "flysim-shared-input-hub" and be aware that the only reason HOL4 -
Exercise 2: Connect the client app to the shared output hub works in the Flysim app is because "flysim-shared-input-hub" gets overwritten to "flysim-shared-output-hub" which just doesn't smell right.

Fixed. @toolboc , please have a try and let me know if you face any issues.


Add config option for disabling output formatting

See https://github.com/dotansimha/graphql-code-generator/pull/2073#issuecomment-506531049

Thank you, @mvestergaard !
Actually it was doing this as optional, so only when prettier was available it runs it. But this is not good enough because we couldn't disable it.
This is a very important PR!
Can you please rebase it, and then I'll merge?

Rebase done


Update highlight.js examples to new, preferred, calling convention.

See https://github.com/highlightjs/highlight.js/issues/2277
This prevents the message "Deprecated as of 10.7.0. highlight(lang, code, ...args) has been deprecated. Deprecated as of 10.7.0. Please use highlight(code, options) instead. https://github.com/highlightjs/highlight.js/issues/2277" from appearing on the console which then appeared in my website as I simple wrote "node index.js > blah.html"!

Can i close this and do update myself, including demo?
Demo needs similar changes too https://github.com/markdown-it/markdown-it/blob/master/support/demo_template/index.js#L94 + rebuild

Hi Puzrin. Sure, feel free! I'm just happy to help. Sorry about the typo!

Done. Thanks for your help!


Ensure CODEOWNERS is the one source of truth for bot notifications to github users

Ensure .github/CODEOWNERS is the one source of truth for area owner pr, issue, and service attention bot notifications that get sent to github users
This epic tracks the work required to unify bot triggers for notifications such as Service Attention label and Area Path labels onto the .github/CODEOWNERS file in each repo.

Related PR https://github.com/Azure/azure-sdk-for-net/pull/15869


#303: Support multiple output formats

Resolves #303.

[x] Add infrastructure to specify output format on command-line
[x] Support both Xcode and JSON formats
[x] Add tests
[x] Add Gson license to README
[x] Bundle Gson license with distribution
[x] Update --help output in README
[x] Document output formats in README

Current coverage is 88.15%

Merging #304 into master will decrease coverage by -2.86% as of 5c88f40

Powered by Codecov. Updated on successful CI builds.

:+1:

:+1: Good work! 👏🏼

:+1: :tada:

:+1: :fireworks:


Optifine Resource Pack with Sodium

I have an optifine required texture pack in which, if we name the netherite axe- Grace, it turns the axe into a scythe.... its the clownpeirce texture pack... Can I use that texture pack with sodium? I tried CIT Resewn but its not working.... it just shows me the correct shape of the scythe but the texture is that pink and black missing texture.

These are the mods that I'm using

How the axe texture is looking....

and how the texture should look like

Sorry... fixed it.... the texture pack was broken


Rewrite documentation for Bedrock Scripting

Improve documentation for bedrock scripting begineers to understand the documents easier.
Why
Many scripting beginners don't have the knowledge of JavaScript programming language, due to Minecraft Bedrock's add-ons primarily uses JSON. They are supposed to be expected that they to have a solid understanding of JavaScript before creating scripts for Minecraft.
Bedrock Addons #script-api channel is full of general javascript questions.  Hopefully this pr can teach beginners the fundamentals from scratch.

Should I move these files into minecraft server folder? They don't belong to the docs root
https://github.com/JaylyDev/ScriptAPI/blob/docs_rewrite/docs/commands_you_have_to_use.md
https://github.com/JaylyDev/ScriptAPI/blob/docs_rewrite/docs/impact_of_removing_runCommand.md

TODO: rewrite server-net directory.

Add async usage...?

Why is there a MinecraftApi directory and other minecraft api folders, should they group it in one?


Allow auto-player/opponent to be started from environment variables

Try
$ AUTO_OPPONENT=B yarn start

Could you make the autoplayer open a game with a sensible amount of eth?

For better or worse RPS looks horrible unless you are a big spender.

ethers.constants.WeiPerEther is handy for this ^

The auto-opponent writes directly to the open-games section of the store, so I don't run the openGamesSaga or firebaseInboxListener when the auto-opponent is running, to avoid conflicts.


End of file line - bug

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.73.0-insider

https://user-images.githubusercontent.com/64979109/196012474-623b2538-b3d4-409f-8de0-6a43553aae68.mp4

OS Version: Windows 11 22H2 (25217.1010)

Issue: When removing the last line of a file. Well, it doesn't. See video attached. In the video I try and press the backspace key which doesn't work, then I try and hold the backspace key which deletes characters but then the issue still occurs. Then I try and type characters on the end line. Something wants the end of the line with nothing in it.

This was from an extension; I wasn't testing using the --disable-extensions


Human Dataset Visualization project added

Have you read the Contributing Guidelines ?
Yes
Description
In this Project "Human3.6M_dataset_visualization", Here I will convert the human3.6M dataset from txt file to image from for 10 time steps to predict the 11th step & Similarly I will convert the human3.6M dataset from txt file to skeleton gif data.
Fixes #issue_no
This is a new project. So, there is not any issue present.
Checklist

[yes] I've read the contribution guidelines.
[yes] I've checked the issue list before deciding what to submit.
[yes] I've edited the README.md and link to my code.

Related Issues or Pull Requests
No

Issue Number : #1311

@Kushal997-das Can I know the reason why you closed this ?? Is new Project adding is not possible now ?


sugar for provisioning via container

One thing I think would be interesting is sugar like this:
provisioncontainer: quay.io/myuser/setup@sha256:shashasha
This would expand into a systemd unit which ran podman under ConditionFirstBoot=yes something like this:
podman run --rm quay.io/myuser/setup --privileged -v /:/host
And we could give some examples of using "first boot containers" like this that can do completely arbitrary things, say use an Ansible playbook pointing at the host, or use Ruby scripts - whatever.
This isn't hard to write manually but it's also not entirely obvious, and we'd be encouraging the pattern of containerization even for early boot.

I think it would be good to make this more general for launching containers in general, though that require adding something like runtime-args for things --volume and --privileged. Maybe something like:
containers:
 - image: `quay.io/example/example:v2`
   runtime: docker # docker | podman, podman default. docker adds the correct unit deps for docker.socket
   runtime-args: [ "--net=host" ]
   provisioning: true # adds `--privileged`, `-v /:host` to runtimeargs, ConditionFirstBoot=yes to the unit
   dropins:
     - <systemd drop ins for the unit>

This would cut down the boilerplate for units in general basically killing two birds with one stone

This came up in the FCOS Hands-On Lab today. The podman generate systemd command already contains code for how to provision containers via systemd units. Would be great to leverage this. Some ideas that came up:

have fcct call out to podman: not great, embeds the assumption that podman is installed.
have a more generic "put the output of this command here" helper: user's responsibility to make sure they have podman installed when converting, full control over the podman flags, could be used with many other things as well, but less pleasant to use than declarative sugar.
have fcct generate a systemd generator which runs the podman command to create the systemd service: slightly contrived, though no local podman required and uses the podman of the target FCOS version.

Looking at the output of podman generate systemd, I'm not seeing anything sufficiently complex to be worth delegating to another tool.  Any reason we shouldn't just generate the unit ourselves?

Related: https://github.com/containers/quadlet/
Maybe instead of also implementing our own generators, we just support quadlet configs, e.g.:
containers:
  - name: minimal
    quadlet: |
      [Unit]
      Description=A minimal container

      [Container]
      Image=centos
      Exec=sleep 60

      [Service]
      Restart=always

which converts into a file at /etc/containers/systemd/minimal.container. (Obviously this implies https://github.com/coreos/fedora-coreos-tracker/issues/998.)


Make steps for using tool more friendly

Closes #78

Thank you! Sorry for not getting to this sooner! With https://github.com/GUI/covid-vaccine-spotter/pull/166 adding the ability to collapse and hide the instructions altogether, I'm hoping this addresses this in a slightly different way. Maybe it's still too wordy, but let me know if you have any other thoughts.


DDP training for MOSEI

Added DDP training for MOSEI (related to issue #195)
The code has been tested with
# Training using wav2vec2 as upstream
CUDA_VISIBLE_DEVICES=0,1 python3 -m torch.distributed.launch --nproc_per_node 2 run_downstream.py -m train -u wav2vec2 -d mosei -n Test --upstream_trainable --upstream_feature_selection last_hidden_state

Part of the added code is adapted from https://github.com/s3prl/s3prl/issues/188#issuecomment-944946822 and https://github.com/s3prl/s3prl/pull/285

@leo19941227 FYI, these are students from this year's 專題討論 course

Cool, I will have a look recently.

Hi @paulhuangkm ,
Thanks for the PR. As you mentioned, this PR depends on #285, I believe a better way to do this would be we first merge #285 and make necessary changes on top of it. Or else, these two PR will essentially conflict.
Could you help with this? Thanks!

Hi @paulhuangkm ,
Thanks for the PR. As you mentioned, this PR depends on #285, I believe a better way to do this would be we first merge #285 and make necessary changes on top of it. Or else, these two PR will essentially conflict.
Could you help with this? Thanks!

@leo19941227 Sure! What should I do here?

Cool, thanks @paulhuangkm !
I have merged the PR #285 , could you start from the current new master and test if MOSEI works correctly, and then add the DDP support on top of it?

There are lots of conflict now, so you might need to forced/rebase your master, or submit a new PR for this. Please select the way which is the most convenient to you.

@leo19941227 No problem! Working on it.

Cool, many thanks!

Thanks @paulhuangkm ! This PR looks very nice to me.
Are you ready to merge this? (Since you are still pushing new commits)
If you are ready I think this PR is ready to be merged.

Yes, I did some final adjustments and I think it's ready.

Yes, I did some adjustments and I think it's ready.

Cool, many thanks!


Travel Itinerary Planner : Build a platform for users to plan and organize their travel itineraries.

assign it to me plz


update _examples for #413

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

Missing CLA signature

this thing not working. It say signed and redirect here but shows pending.

my bad. committed with my other github account.

🎉 many thanks!


Improved _remove_directories()

This change improves on _remove_directories() inside internals.py a little by:

Using one thread to cleanup multiple directories
Only making one attempt to remove a directory, instead of several in a very short period of time, before scheduling a retry on exit.

@guidow, PTAL

Looks good.


mesh indexing failing with small scale values

Fixes:

#44655 fbx files not working in latest release
previous behavior was culling scale values of 0.01 and det == 0.00004. which were valid in FBX land, det was not == 0, but in the cases of actual det==0 scenario which can be reproduced with node_3d_editor_plugin you can see it actually has a det == 0.
node_3d_editor_plugin was creating gizmos with transforms with det == 0, this is safe to do now due to this change, I have also fixed this for the gizmos but the grid still needs this to be done for it. This relies on absolute zero values to change visibility so I fixed this.
fixed fbx material mappings going to metallic property

I debugged this by putting checks on det == zero.
I checked bistro fbx and it imports fine, no dropped geometry anymore even with 0.01 scaling and det == 0.00004.
debug build

release_debug build (cpu time halves :D)

without this PR

This PR fixes this issue: https://github.com/godotengine/godot/issues/45067

This PR fixes this issue: https://github.com/godotengine/godot/issues/45067

Needs a rebase @RevoluPowered.

Needs a rebase @RevoluPowered.

Current BVH does not really allow flat AABBs so this fix will do, but I want to replace by one that does soon so this fix will be irrelevant by then. I suggest lets just merge for now so things work.

Current BVH does not really allow flat AABBs so this fix will do, but I want to replace by one that does soon so this fix will be irrelevant by then. I suggest lets just merge for now so things work.

Rebase is completed.

Rebase is completed.

Thanks!

Thanks!


[Gally]: master <- dev

Automatically created by Git-Ally

:tada: This PR is included in version 2.7.7 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Move refactor: affectedByImmunities -> ignoreImmunity

Frankly, this is such a huge refactor that I won't feel safe until like, @Zarel, @Marty-D and 2 other people [EDIT: with write access] have independently verified that this is a good idea and will work. It seems to work ostensibly, and a quick grep seems to point towards all affectedByImmunities properties from being removed, but I still need more opinions just to make sure. (15 files are being changed here!)

I think I still need Tools#getMove to fill in the move.ignoreImmunity because it was being weird without it.

I think it would be better if this PR added mocha tests that create battles in which immunities are involved to see if the immunity results are those we expect.

Because two more cases of affectedByImmunities were added in #1727 this pullreq should probably also change those, preferably taking advantage of now being able to easily return the correct results for Thousand Arrows.

I like this so far.

@SolarisFox, those parts of the code should be fixed now.
I'll work on tests tomorrow...

Just so I can verify in the test, @Marty-D: What happens to Normalize Thunder Wave against Ghosts in-game?

@Joimer, I added the tests as you asked. However, it also uncovered a new bug: Thousand Arrows against an Electric/Flying activates Weakness Policy even though it does neutral damage.
The fix I introduced in the next commit works ostensibly (and partially optimizes by halving the number of Effectiveness events that need to be run), but the fact that this is coming up means that I need @Marty-D to check the interaction between Thousand Arrows and part-Flying Pokemon whose other type is weak to Ground, especially if the target Pokemon has:

Filter/Solid Rock
Shuca Berry
Wonder Guard

At any rate, perhaps instead of this fix, I should move the IgnoreEffectiveness check out of Battle#getDamage and into BattlePokemon#runEffectiveness.

I love cb9fd99

Well, it's probably actually an incomplete fix. Especially since it can't account for like Wonder Guard Aerodactyl or something.
How's the first commit tho

Nice tests, thanks! This is a very good fix. Can we get this through and then check other items that interact with immunities?

All the typeMod things seem to work properly (manually tested).
All that remains is the Wonder Guard vs Thousand Arrows fix, but I'm tired so I'll look at it tomorrow

This is great! Sorry for the tardiness.
@ascriptmaster, Normalize Thunder Wave does not affect Ghost types, but Normalize Will-O-Wisp does, etc.
For weakness-related effects, the effects only activate if the attack was actually super effective. So in the Thousand Arrows case where an airborne Flying-type target is hit, none of those effects activate because the damage is always neutral. Because the damage is neutral, Wonder Guard does activate. (Example: Wonder Guard Zapdos holding Iron Ball has Wonder Guard activate when targeted by Earth Power. Without Iron Ball, Zapdos is simply naturally immune, which is checked before Wonder Guard so the Ability doesn't activate.)
Off the top of my head only Delta Stream, Iron Ball held by an otherwise airborne Flying type, and Thousand Arrows against an otherwise airborne Flying type actually change effectiveness in this way. Stuff like Thick Fat, Filter, and type-resist Berries merely change the resulting damage (I suppose "type-resist" is a misnomer then).

Since we have the Effectiveness event now, perhaps we could use that for Thousand Arrows and Iron Ball, and forego 'IgnoreEffectiveness' entirely haha

Conceptual idea of how it would work, probably:
onEffectiveness: function (typeMod, type, pokemon, move) {
    if (move.type !== 'Ground' || pokemon.negateImmunity['Ground'] || this.getImmunity('Ground', pokemon)) return;
    return 0;
}

Probably needs a negative priority since returning 0 will abort the rest of the event handling iirc

That was my first idea when implementing the Thousand Arrows' peculiarity. However, it would require the move to set two different volatiles at different times, which is undesirable imo, and overall doesn't provide any real benefit.

Adding onEffectiveness on Thousand Arrows and Iron Ball directly (no volatile needed) also fixes the situation, assuming the above code works. It'll mess up /eff a little with Thousand Arrows, though.

Fixed Wonder Guard. onEffectiveness doesn't work on Iron Ball because it needs negateImmunity to allow the Ground move to hit in the first place.

So is anyone going to verify that the most recent version is good?

It seems to be good, but I'd rather wait for @Zarel to comment on this as it's kind of a huge refactor. Passing the tests should be proving it's doing good.

I would be fine with accepting this and deploying it slowly.

Whoops, it turns out I broke something anyways! Some move wasn't initializing ignoreImmunity, probably as part of how getDamage creates mock moves when move is passed in as a number. Alternatively, we can have those statements check if ignoreImmunity is truthy before doing the rest of the check. I can't fix it right now but if someone else wants to do it then that's probably the solution.

Yeah, I've just added myself a thunder wave to ground type test to the tests and I nailed down the place where the undefined gets to (move.category === 'Status') which makes it fail with thunder wave.
It was just this on .getMove:
if (!move.ignoreImmunity) move.ignoreImmunity = (move.category === 'Status');
While the move has ignoreImmunity at "false". It would always override Thunder Wave. Fixing it and updating the server.

Oh, right. It should be if (move.ignoreImmunity === undefined). I had forgotten that Zarel had gotten me to set it to false if no specific type ignoring was needed, to save processing speed.
At any rate, #1784 should patch the rest up, because confusion might cause Gen 1 games to crash without it, I think.

Indeed, I've fixed the problem and added your PR as well. Let's hope nothing else happens now.


Failed to run oracle 11g-xe in docker container

I use this oracle office link to create an oracle/database:<IP_ADDRESS>-xe database.
https://github.com/oracle/docker-images/blob/master/OracleDatabase/SingleInstance/README.md
I can create it successfully.
$ docker images
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
oracle/database     <IP_ADDRESS>-xe         2d4c4539e33f        28 minutes ago      1.13GB
rhel-long-running   latest              ca6cbe97a281        9 hours ago         460MB
oraclelinux         7-slim              c94cc930790a        6 weeks ago         117MB
centos              latest              e934aafc2206        8 weeks ago         199MB
rhel                latest              46f00a852698        8 months ago        460MB

But when I run this database using this cmd:
docker run --name  oracle-11-xe --shm-size=1g  -p 1521:1521 -p 8080:8080  -e ORACLE_PWD=password oracle/database:<IP_ADDRESS>-xe
I got some issues here:
ORACLE PASSWORD FOR SYS AND SYSTEM: password

Oracle Database 11g Express Edition Configuration
-------------------------------------------------
This will configure on-boot properties of Oracle Database 11g Express
Edition.  The following questions will determine whether the database should
be starting upon system boot, the ports it will use, and the passwords that
will be used for database accounts.  Press <Enter> to accept the defaults.
Ctrl-C will abort.

Specify the HTTP port that will be used for Oracle Application Express [8080]:
Specify a port that will be used for the database listener [1521]:
Specify a password to be used for database accounts.  Note that the same
password will be used for SYS and SYSTEM.  Oracle recommends the use of
different passwords for each database account.  This can be done after
initial configuration:
Confirm the password:

Do you want Oracle Database 11g Express Edition to be started on boot (y/n) [y]:
Starting Oracle Net Listener...Done
Configuring database...Done
Starting Oracle Database 11g Express Edition instance...Done
Installation completed successfully.

SQL*Plus: Release <IP_ADDRESS>.0 Production on Mon Jun 4 11:30:15 2018

Copyright (c) 1982, 2011, Oracle.  All rights reserved.

Connected to:
Oracle Database 11g Express Edition Release <IP_ADDRESS>.0 - 64bit Production

SQL>
PL/SQL procedure successfully completed.

SQL> SQL>
Database altered.

SQL>
Database altered.

SQL>
Database altered.

SQL>
System altered.

SQL>
System altered.

SQL>
System altered.

SQL>
Database altered.

SQL>
Database altered.

SQL> SQL>
System altered.

SQL> Disconnected from Oracle Database 11g Express Edition Release <IP_ADDRESS>.0 - 64bit Production
#########################
DATABASE IS READY TO USE!
#########################
The following output is now a tail of the alert.log:
  Current log# 5 seq# 4 mem# 0: /u01/app/oracle/oradata/XE/redo05.log
      ALTER DATABASE DROP LOGFILE GROUP 1
Deleted Oracle managed file /u01/app/oracle/fast_recovery_area/XE/onlinelog/o1_mf_1_fkb8o2dv_.log
Completed:       ALTER DATABASE DROP LOGFILE GROUP 1
      ALTER DATABASE DROP LOGFILE GROUP 2
Deleted Oracle managed file /u01/app/oracle/fast_recovery_area/XE/onlinelog/o1_mf_2_fkb8o2nr_.log
Completed:       ALTER DATABASE DROP LOGFILE GROUP 2
Cleared LOG_ARCHIVE_DEST_1 parameter default value
Using LOG_ARCHIVE_DEST_1 parameter default value as /u01/app/oracle/product/11.2.0/xe/dbs/arch
ALTER SYSTEM SET db_recovery_file_dest='' SCOPE=BOTH;
Mon Jun 04 11:35:12 2018
Starting background process SMCO
Mon Jun 04 11:35:12 2018
SMCO started with pid=27, OS id=929
Mon Jun 04 11:39:58 2018
VKTM detected a time drift. Please check trace file for more details.

The docker logs shows the same error:
ORACLE PASSWORD FOR SYS AND SYSTEM: password

Oracle Database 11g Express Edition Configuration
-------------------------------------------------
This will configure on-boot properties of Oracle Database 11g Express
Edition.  The following questions will determine whether the database should
be starting upon system boot, the ports it will use, and the passwords that
will be used for database accounts.  Press <Enter> to accept the defaults.
Ctrl-C will abort.

Specify the HTTP port that will be used for Oracle Application Express [8080]:
Specify a port that will be used for the database listener [1521]:
Specify a password to be used for database accounts.  Note that the same
password will be used for SYS and SYSTEM.  Oracle recommends the use of
different passwords for each database account.  This can be done after
initial configuration:
Confirm the password:

Do you want Oracle Database 11g Express Edition to be started on boot (y/n) [y]:
Starting Oracle Net Listener...Done
Configuring database...Done
Starting Oracle Database 11g Express Edition instance...Done
Installation completed successfully.

SQL*Plus: Release <IP_ADDRESS>.0 Production on Mon Jun 4 11:30:15 2018

Copyright (c) 1982, 2011, Oracle.  All rights reserved.

Connected to:
Oracle Database 11g Express Edition Release <IP_ADDRESS>.0 - 64bit Production

SQL>
PL/SQL procedure successfully completed.

SQL> SQL>
Database altered.

SQL>
Database altered.

SQL>
Database altered.

SQL>
System altered.

SQL>
System altered.

SQL>
System altered.

SQL>
Database altered.

SQL>
Database altered.

SQL> SQL>
System altered.

SQL> Disconnected from Oracle Database 11g Express Edition Release <IP_ADDRESS>.0 - 64bit Production
#########################
DATABASE IS READY TO USE!
#########################
The following output is now a tail of the alert.log:
  Current log# 5 seq# 4 mem# 0: /u01/app/oracle/oradata/XE/redo05.log
      ALTER DATABASE DROP LOGFILE GROUP 1
Deleted Oracle managed file /u01/app/oracle/fast_recovery_area/XE/onlinelog/o1_mf_1_fkb8o2dv_.log
Completed:       ALTER DATABASE DROP LOGFILE GROUP 1
      ALTER DATABASE DROP LOGFILE GROUP 2
Deleted Oracle managed file /u01/app/oracle/fast_recovery_area/XE/onlinelog/o1_mf_2_fkb8o2nr_.log
Completed:       ALTER DATABASE DROP LOGFILE GROUP 2
Cleared LOG_ARCHIVE_DEST_1 parameter default value
Using LOG_ARCHIVE_DEST_1 parameter default value as /u01/app/oracle/product/11.2.0/xe/dbs/arch
ALTER SYSTEM SET db_recovery_file_dest='' SCOPE=BOTH;
Mon Jun 04 11:35:12 2018
Starting background process SMCO
Mon Jun 04 11:35:12 2018
SMCO started with pid=27, OS id=929
Mon Jun 04 11:39:58 2018
VKTM detected a time drift. Please check trace file for more details.

Could anyone give me some help? Thanks

Same issue here.  Everything works fine on the the initial 'up', however after a restart I'm experiencing the same exact problem you've detailed above.

Sorry but what is the actual problem here? The database is up and running and ready for you to use.

Hi,
Could my issue be related to this...
The same, build is ok, but when I run the container I get this:
# docker run --name <IP_ADDRESS>-xe --shm-size=1g -p 1521:1521 -p 8080:8080 -p 5500:5500 -e ORACLE_SID=ORCL -e ORACLE_PWD=master_user oracle/database:<IP_ADDRESS>-xe

ORACLE PASSWORD FOR SYS AND SYSTEM: master_user

Oracle Database 11g Express Edition Configuration
-------------------------------------------------
This will configure on-boot properties of Oracle Database 11g Express
Edition.  The following questions will determine whether the database should
be starting upon system boot, the ports it will use, and the passwords that
will be used for database accounts.  Press <Enter> to accept the defaults.
Ctrl-C will abort.

Specify the HTTP port that will be used for Oracle Application Express [8080]:
Specify a port that will be used for the database listener [1521]:
Specify a password to be used for database accounts.  Note that the same
password will be used for SYS and SYSTEM.  Oracle recommends the use of
different passwords for each database account.  This can be done after
initial configuration:
Confirm the password:

Do you want Oracle Database 11g Express Edition to be started on boot (y/n) [y]:
Starting Oracle Net Listener...Done
Configuring database...Done
Starting Oracle Database 11g Express Edition instance...Done
Installation completed successfully.

SQL*Plus: Release <IP_ADDRESS>.0 Production on Tue Sep 18 18:25:28 2018

Copyright (c) 1982, 2011, Oracle.  All rights reserved.

Connected to an idle instance.

SQL> BEGIN DBMS_XDB.SETLISTENERLOCALACCESS(FALSE); END;

*
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0

SQL> SQL>       ALTER DATABASE ADD LOGFILE GROUP 4 ('/u01/app/oracle/oradata/ORCL/redo04.log') SIZE 50m
*
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0

SQL>       ALTER DATABASE ADD LOGFILE GROUP 5 ('/u01/app/oracle/oradata/ORCL/redo05.log') SIZE 50m
*
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0

SQL>       ALTER DATABASE ADD LOGFILE GROUP 6 ('/u01/app/oracle/oradata/ORCL/redo06.log') SIZE 50m
*
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0

SQL>       ALTER SYSTEM SWITCH LOGFILE
*
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0

SQL>       ALTER SYSTEM SWITCH LOGFILE
*
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0

SQL>       ALTER SYSTEM CHECKPOINT
*
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0

SQL>       ALTER DATABASE DROP LOGFILE GROUP 1
*
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0

SQL>       ALTER DATABASE DROP LOGFILE GROUP 2
*
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0

SQL> SQL>       ALTER SYSTEM SET db_recovery_file_dest=''
*
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0

SQL> Disconnected
mv: cannot stat '/u01/app/oracle/product/11.2.0/xe/dbs/spfileORCL.ora': No such file or directory
mv: cannot stat '/u01/app/oracle/product/11.2.0/xe/dbs/orapwORCL': No such file or directory
#########################
DATABASE IS READY TO USE!
#########################
The following output is now a tail of the alert.log:
QMNC started with pid=24, OS id=663
Completed: ALTER DATABASE OPEN
Tue Sep 18 18:25:26 2018
db_recovery_file_dest_size of 10240 MB is 0.98% used. This is a
user-specified limit on the amount of space that will be used by this
database for recovery-related files, and does not reflect the amount of
space available in the underlying filesystem or ASM diskgroup.
Starting background process CJQ0
Tue Sep 18 18:25:26 2018
CJQ0 started with pid=25, OS id=677

If I connect via ssh to a container:
docker container run --rm -it container_name sh
and try what I can google on this error:
set oracle_sid=DATABASE NAME sqlplus /nolog conn sys/sys as sysdba shutdown abort startup
I get:
SQL> conn sys/sys as sysdba ERROR: ORA-12547: TNS:lost contact
I don't use the buildDockerImage.sh, because my host os is win, I build the container using a command from there and slightly modified Dokerfile
docker build --force-rm=true --no-cache=true --shm-size=1G -t oracle/database:<IP_ADDRESS>-xe -f Dockerfile .
In the Dockerfile I changed these lines:
ORACLE_SID=ORCL \ .... RUN 	chmod -R a=rwX $ORACLE_BASE/ && \

I found the issue #307 and increased the docker memory to 6gb, but the result is still the same.

@gvenzl I would really appreciate any suggestions...
just made docker container (image, volume) prune, cleaned the images  and took the docker info:
# docker info Containers: 0  Running: 0  Paused: 0  Stopped: 0 Images: 1 Server Version: 18.09.0-ce-beta1 Storage Driver: overlay2  Backing Filesystem: extfs  Supports d_type: true  Native Overlay Diff: true Logging Driver: json-file Cgroup Driver: cgroupfs Plugins:  Volume: local  Network: bridge host ipvlan macvlan null overlay  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog Swarm: inactive Runtimes: runc Default Runtime: runc Init Binary: docker-init containerd version: 468a545b9edcd5932818eb9de8e72413e616e86e runc version: 69663f0bd4b60df09991c08812a60108003fa340 init version: fec3683 Security Options:  seccomp   Profile: default Kernel Version: 4.9.125-linuxkit Operating System: Docker for Windows OSType: linux Architecture: x86_64 CPUs: 2 Total Memory: 9.726GiB Name: linuxkit-00155d2c590c ID: BWU5:WBOT:L37D:34LJ:AABI:EGB6:CDFA:NRQ3:SQM6:GQT5:UX4D:EQEY Docker Root Dir: /var/lib/docker Debug Mode (client): false Debug Mode (server): true  File Descriptors: 22  Goroutines: 46  System Time: 2018-09-25T15:00:52.1465567Z  EventsListeners: 1 Registry: https://index.docker.io/v1/ Labels: Experimental: true Insecure Registries:  <IP_ADDRESS>/8 Live Restore Enabled: false Product License: Community Engine

No longer a problem. So close this. Thanks your investigations.

How was this solved @guawazi-glitch  ?? I am experiencing the same errors


Add conditional requests and cache-control headers on the 'collaborators' endpoints (#1238)

Fixes #1238
Signed-off-by: Xavier Coulon<EMAIL_ADDRESS>

Codecov Report

Merging #1243 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #1243      +/-   ##
==========================================
+ Coverage   59.74%   59.75%   +<.01%
==========================================
  Files         120      120
  Lines       10543    10552       +9
==========================================
+ Hits         6299     6305       +6
- Misses       3594     3595       +1
- Partials      650      652       +2

Impacted Files
Coverage Δ

configuration/configuration.go
78.24% <100%> (+0.27%)
:arrow_up:

controller/collaborators.go
71.75% <100%> (+0.99%)
:arrow_up:

controller/workitem.go
79.32% <0%> (-0.68%)
:arrow_down:

Continue to review full report at Codecov.

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

merging and closing now, since @alexeykazakov already approved this PR a while ago


PDF Invoice

Hi there
To install Postfinance Checkout I had to install also this module. The installation of this Module and the Postfinance worked well, but when I order a Product the PDF Invoice isn't attached to the order_conf mail. I also had a Module to attach terms and conditions pdf to another E-Mail template. But this also doesn't work anymore. What can I do, to use both modules and also what can I do that the automatic pdf invoice is attached when the checkbox in prestashop is activated?
Thanks

Dear sined123321
Since this seems to be a support case, please get in touch with the PF support: https://www.postfinance.ch/de/support/hotline.html
Best regards


Start/restart bot with LUIS primary key cause error

Version
branch stable, commit a4a2697
Browser
What browser are you using?

[x] Chrome
[ ] Safari
[ ] Firefox
[ ] Edge

OS
What operating system are you using?

[ ] macOS
[x] Windows
[ ] Ubuntu

To Reproduce
Steps to reproduce the behavior:

Generate bot from template ToDoLuis (no LUIS primary key set)
Run pwsh ./Scripts/create.ps1 with valid parameters (status: Done)
Run pwsh ./Scripts/deploy.ps1 with valid parameters (status: Publish Success)
Start/Restart bot with LUIS primary key set

##Current behaviour
There is an error

Expected behavior
There is no error

Hi @WTobor I am looking into this issue and in the screenshot you shared, there appears to be an error in the value of one of the allowInterruptions fields. Did you modify the dialog properties before restarting? Would you mind sharing the contents of the Main.dialog file?

I did not modify the dialog. Main.dialog in attachment.
Main.zip

I will need to work with our SDK team to diagnose this. I'll get back to you when I get more information.

I suspect this is because the deployment and local environment are using different luis authoring key, which cause the failure on luis recognizer and the expression failed to be evaluated. Investigating more on this.

This issue is the same for the new template app

created new bot app from template Todo LUIS,
set LUIS authoring key,
waited for the spinner to finish "publishing" and "reloading" (spinner position: in the place of "Test in Emulator")

Even when I set luis:enpointkey according to the instructions

it did not help

@WTobor Could you sync with latest stable branch and have a try again?  As both I and @luhan2017 test on stable and master branch, we could not reproduce it. It might be fixed with latest PR related to LUIS key management.

as I wrote before, I have latest changes (branch stable, commit a4a2697)

I have a similar issue but not directly related, When I enter my primary key in the prompt, I am given a very generic error message "Error publishing to LUIS".
Steps:

Set Recognizer Type to LUIS
Click on Start Bot
I receive a pop up stating I need to publish LUIS Models. I enter my primary key

I get an error right away that simply states "Error publishing to LUIS"

Any ideas why? I created an authoring resource via luis.ai and pasted the Primary key value into the pop up.

Hi @smithbrianscott, this error message "Error publishing to LUIS" is a general response when runbuild luismodel throw error. Many reasons may cause this error, such like error in building luis model, error in training luis morel, and error in publishing luis model. To figure out what error you have, you can add aconsole.error(error)in publish method of server/src/models/bot/lupublisher.ts file, then you can get it in server's console.
FYI.

@lei9444, to solve this type of issues thoroughly, we need to enhance the runbuild package, and format those error messages to reply to client.

@VanyLaw Thank you, I found the error ended up being a self signed certificate since I am behind a corporate firewall.

As the issue has been solved and new issue #1597 will track further feature updates. so close this issue.