formatStateUsing Section empty field

Package
filament/filament
Package Version
v3.2.71
Laravel Version
v11.4.0
Livewire Version
v3.4.10
PHP Version
PHP 8.2.18
Problem description
if you add a section after another section, then the formatStateUsing method does not work, the field is empty
how to fix this?
    public static function form(Form $form): Form
    {
        return $form
            ->schema([
                Section::make('1 Section'),
                Section::make('2 Section')
                    ->schema([
                        Forms\Components\TextInput::make('id')
                            ->formatStateUsing(fn ($record) => 1)
                    ]),
                Section::make('3 Section'), // breaks the handler formatStateUsing
            ]);
    }

Expected behavior
the architecture of the form should not affect the operation of the formatStateUsing method
Steps to reproduce
create a section with the formatStateUsing method
and create the next section after it
Reproduction repository
https://github.com/POMXARK/bug-filament-formatStateUsing
Relevant log output
No response

I started to look inside Filament for the first time, so I am not able to fix yet.
What I found is the value is nulled in the HasState Concern, at these lines:
if (! $this->hasDefaultState()) {
    $this->state(null);

    return;
}

The third section does not have a default state, so the all Form state is nulled, overwriting the data of second section.

Update: if you add another component at the start of the Form, with this code:
public static function form(Form $form): Form
{
    return $form
        ->schema([
            // with this component, the state works
            Forms\Components\Select::make('color_id')
                ->label(__('Colors'))
                ->default('blue')
                ->native(false)
                ->selectablePlaceholder(false)
                ->createOptionForm([
                    Forms\Components\Repeater::make('colors')
                        ->simple(
                            Forms\Components\ColorPicker::make('color_name')
                                ->required(),
                        ),
                ])
                ->createOptionUsing(function (array $data): string {
                    return 'Test';
                })
                ->options([
                    'blue' => __('Blue'),
                ]),
            Forms\Components\Section::make('1 Section')->id('section_1'),
            Forms\Components\Section::make('2 Section')->id('section_2')
                ->schema([
                    Forms\Components\TextInput::make('id')
                        ->formatStateUsing(function ($record) {
                            return 5;
                        })
                ]),
            Forms\Components\Section::make('3 Section')->id('section_3'), // NOW IT WORKS
        ]);
}

it works.

filament 3 cannot process complex pages. widgets and tabs should have more settings

Very silly thing to say, especially when you don't provide any more details


Single Number Problem In Bit-Masking Using Java

Hey @tarun26091999 @rudrakshi99 @nakul-19 @plazzy99 @OjusWiZard,
I want to add the important "Single Number I" using Bit Manipulation in  Algo-Tree/Code/Java/
The problem statement is:
Given an array of integers A, every element appears twice except for one. Find that single one.
My algorithm has a linear time runtime complexity without using extra space.
Example:
Input:  1, 2, 2, 3, 1
Output: 3
I will all the guidelines while contributing.
Kindly assign me this issue.
Thank you.

present at #317 we don't need multiple approaches.


Setting custom exceptions via cas.properties fails

According to https://apereo.github.io/cas/development/installation/Configuration-Properties.html#authentication-exceptions it should take a String list form of FQN exception class names.
In practice, when setting this property like so: cas.authn.exceptions.exceptions=com.my.CustomAuthnException
results in ClassCastException at runtime:
...
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authenticationExceptionHandler' defined in class path resource
[org/apereo/cas/config/CasCoreAuthenticationSupportConfiguration.class]: Bean instantiation via factory method failed; nested exception is
org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apereo.cas.web.flow.AuthenticationExceptionHandler]: Factory method
'authenticationExceptionHandler' threw exception; nested exception is java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Class

The https://github.com/apereo/cas/blob/master/core/cas-server-core-authentication/src/main/java/org/apereo/cas/web/flow/AuthenticationExceptionHandler.java#L100 takes a List<Class> , so perhaps some voodoo needs to be done here: https://github.com/apereo/cas/blob/master/core/cas-server-core-authentication/src/main/java/org/apereo/cas/config/CasCoreAuthenticationSupportConfiguration.java#L42 to do the conversion.

Appears to be fixed in today's 5.0.5 snapshots.


OCO order on margin side

Hi,
I'm looking to know how to create an OCO order in margin, not in SPOT.
I looked in the doc, without finding what I needed, any idea?
_.client = Client('mykey', 'mysecret')
_.client.create_oco_order(
        symbol='ETHUSDT',
        side='BUY',
        stopLimitTimeInForce='GTC',
        quantity= 0.05,
        stopPrice= 243,
        stopLimitPrice= 245,
        price= 220
      )

With this code, the OCO order is well created but in the SPOT part.
In the same way, i'm looking for how to change the OCO order mode (normal, borrow, repay)
Thanks in advance!

Did you figure out how to do it . I am also looking for the same.

Updates on this?

Did you manage to find a solution?


[SE-0311] Typo fixes

Update code examples using the old Task.local(:)-Task.withLocal(:body:) API.
Correct some dashes
Add dashes in compound adjectives
Update the inheritance future direction to use the new API
Slightly alter certain paragraphs to help readers parse them more easily

Looks like some conflicts need to be resolved, but afterwards I will merge.

Done!


Fix/empty mount dir datadog chart

…include
Signed-off-by: Javier Toledo<EMAIL_ADDRESS>Which issue this PR fixes

fixes #21992

Special notes for your reviewer:
It seems that the go templating engine doesn't play nice with the nested ifs in the datadog.dockerOrCriSocketPath helper
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

/ok-to-test

/assign @mfpierre

@ahmed-mez
@celenechang
@charlyf
@clamoriniere
@hkaj
@irabinovitch
@L3n41c
@mfpierre
@vboulineau
@xlucas
@xornivore
Could you guys LGTM this PR please?

/lgtm


When does charging start?

Version 1.8.0
Configuration
Easee charger and Skoda EV.
Smart Charging and Price Limit is Activated.
Config is working okay, it start and stops when is requested.
Set price limit to 0.8. Target SOC set to 90%
Describe the bug
The charging is starting too late..
Even at Zero cost, it start to late to finish before price rises.
First picture show that price is 0.0 and still "Waiting for chargeing to begin" (at 12:55)
Picture before start:
https://photos.app.goo.gl/hs8W2WAa4erRbZXk7
Then It started automatic at 13:00
4 hours later it is still charging and price is now 0,77
Still charging:
https://photos.app.goo.gl/kq7CWKqfMiEBp3QS9
Why does it not start charging when price drops below 0.8 in the start (at 12:00) ?
next day, another example:
Target is set to 100%, Still waiting for charging to start. Why does the logic kick in?
https://photos.app.goo.gl/Fcd58NFB8HeZZA9u5

Yes, it's still an issue for me.
It is not related to Apexcharts as it did not start charging on low price.
I stopped using this and made my own since it did not work.
Maybe I will try again if there is a new release..
tir. 1. aug. 2023 kl. 10:00 skrev Jonas Karlsson @.***>:

Sorry for late reply. Do you still have issues?
Sometimes it can be difficult read the ApexCharts graph. Especially if you
don't use curve: stepline to make the curves stepwise. Rounding of the
shown price can also be missleading. It is probably better to look at the
charging schedule details in the integration's attributes to check if
charging is started correctly or not.
If charging is not completed during the scheduled charging, please reduce
the value of number.ev_smart_charging_charging_speed .
—
Reply to this email directly, view it on GitHub
https://github.com/jonasbkarlsson/ev_smart_charging/issues/178#issuecomment-1659773365,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANBE6SEUM6YEFQUBKWIZO2DXTCZSPANCNFSM6AAAAAAYRIAJJY
.
You are receiving this because you authored the thread.Message ID:
@.***>

Ok, thanks for quickl reply. After a period of low activity, I'm now planning to spend some time to fix some of the known issues.
I will close this issue now, but if you try a later release and still have issue, please re-open the issue (or create a new one).


After deployment was renamed, old replica sets not removed

I changed a template files of there deployed release and upgraded it. Changes affected deployment and service names, the result was:

new deployment with new name created.
new service with new name created
old service was removed
old deployment was removed
new replica set (with new name) and pods where created
old replica set (with old name) and pods were NOT deleted

This is the replica set attached to the (old) deployment object? That sounds like a bug in Kubernetes.
You can look in the Tiller logs, where you should see something about a reaper being started for your old deployment. That is where Helm requests that Kubernetes clean up the deployment object.
What version of Kubernetes are you running?

I'm on GCE, see, two Replica sets managed by helm without pods:

Okay, I'm not totally positive about this (cc @lachie83 ), but I think GCE is still on Kubernetes 1.4, which wasn't reaping replica sets that attached to deployments. I'm going to post this issue in the Slack to see if anyone else might be able to add more context, since I'm unsure.

via https://cloud.google.com/container-engine/release-notes
at this time of writing:

Kubernetes v1.4.7 is the default version for new clusters.
The following Kubernetes versions are available for new clusters:

1.4.7
1.5.1

To create a cluster at a version which is not the default, run:
gcloud container clusters create --cluster-version=$VERSION $NAME
The following Kubernetes versions are available for container cluster node upgrades/downgrades:

1.5.1
1.4.7
1.4.6
1.3.10
1.2.7

Ok, I will try to update the Cluster version and report back.

Any news on this one?

Did Kube 1.5 solve this one?

I think it did. Closing.

But i got same issue with Kube 1.6  when i use helm upgrade my deployment

Same issues here, I'm running 1.6.11-gke.0 on gcloud, deployments are done via gitlab using helm.

We see the same with 1.8.2-gke.0
Should we create a new ticket?

I'll re-open this one. Would you all please send us reports on how/what occured, and what you did (if anything) to resolve the issue?

how we reproduce:

update image version in chart
helm upgrade staging -f inventory/staging-environment.yaml ./foo-environment
we see one extra replica set

foo-environment controls 3 pods with each one container
we changed version for one pod
as expected pod indicates one container Terminating, one ContainerCreating
Is there a way to get logs for the actions performed on the cluster?

We are also running Kubernetes 1.9.6 and have this issue when we use the helm upgrade --install command

Same here only i am using EKS

@bacongobbler It looks like some others (and myself) are still seeing this issue. Can we reopen this ticket?
I'm using AKS on k8s 1.10.6 and helm 2.10.0 and basically see what everyone else is seeing

We face the same issue: replicasets are not removed after a helm upgrade (for harbor helm chart)
Kubernetes version:
Client Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.0", GitCommit:"e8462b5b5dc2584fdcd18e6bcfe9f1e4d970a529", GitTreeState:"clean", BuildDate:"2019-06-19T16:40:16Z", GoVersion:"go1.12.5", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.1", GitCommit:"b7394102d6ef778017f2ca4046abbaa23b88c290", GitTreeState:"clean", BuildDate:"2019-04-08T17:02:58Z", GoVersion:"go1.12.1", Compiler:"gc", Platform:"linux/amd64"}

Helm version:
Client: &version.Version{SemVer:"v2.13.1", GitCommit:"618447cbf203d147601b4b9bd7f8c37a5d39fbb4", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.14.1", GitCommit:"5270352a09c7e8b6e8c9593002a73535276507c0", GitTreeState:"clean"}

this should be fixed in Helm 3 with #6124. Please feel free to test out the alpha and let us know if you run into issues with this case. Thanks!

see also https://github.com/helm/helm/issues/5915


Support setting Error.stackTraceLimit automatically

In V8, Error.stack is truncated with a default Error.stackTraceLimit
of 10. So we want to expose this and set it to Infinity to capture it
all.
/cc @dcramer

:8ball:

@benvinegar I rebased this against master since there were a bunch of conflicts. Wanna take a look now?

I guess a thing to consider, even with POST, is we don't have room for infinite payloads. We only have 100KB to send for the POST body.
So in retrospect, not sure if this is a great idea to go to Infinity. Maybe just increase it to 50?


ProgrammingError raised from silk_clear_request_log

$ sudo docker exec -i -t compose_backend_1 python manage.py silk_clear_request_log
WARNING|2018-07-03 12:36:42,765|silk.profiling.profiler>>
Cannot execute silk_profile as silk is not installed correctly.
Traceback (most recent call last):
  File "manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 364, in execute_from_command_line
    utility.execute()
  File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 356, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 283, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 330, in execute
    output = self.handle(*args, **options)
  File "/usr/local/lib/python2.7/dist-packages/silk/management/commands/silk_clear_request_log.py", line 41, in handle
    Command.delete_model(silk.models.Profile)
  File "/usr/local/lib/python2.7/dist-packages/silk/management/commands/silk_clear_request_log.py", line 21, in delete_model
    cursor.execute("ALTER TABLE %s DISABLE TRIGGER ALL;", [table])
  File "/usr/local/lib/python2.7/dist-packages/cachalot/monkey_patch.py", line 119, in inner
    return original(cursor, sql, *args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/django/db/backends/utils.py", line 64, in execute
    return self.cursor.execute(sql, params)
  File "/usr/local/lib/python2.7/dist-packages/django/db/utils.py", line 94, in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
  File "/usr/local/lib/python2.7/dist-packages/django/db/backends/utils.py", line 64, in execute
    return self.cursor.execute(sql, params)
django.db.utils.ProgrammingError: syntax error at or near "'silk_profile'"
LINE 1: ALTER TABLE 'silk_profile' DISABLE TRIGGER ALL;
                    ^

DB is library/postgres:9.4.5

Duplicate of #290.


Documentation only renders when there are at least two spaces at the end of .md file

I'm a new user to mkdocs-click so apologies if I'm doing something wrong but I've been stuck trying to get even the basic Readme example working. I found this comment in issue #46 which referred to the issue changing when "hitting enter." As it turns out, the CLI documentation will only render for me if there are at least two spaces at the end of the markdown file, otherwise it renders the header but not CLI documentation.
e.g. this will only render the heading CLI Reference
# CLI Reference

::: mkdocs-click
    :module: app.cli
    :command: cli

but this will render the heading and generated documentation.
# CLI Reference

::: mkdocs-click
    :module: app.cli
    :command: cli
<newline>
<newline>

It's a particular challenge for new users where they are likely to copy / paste the readme example into a new text file in order to begin testing and immediately hit a deadend. In my case, I assumed there was something arcane about the :module: reference (does it follow standard library import hierarchies, are they directory hierarchies, something else, etc...)

I think part of the issue is that h1 is set as the CLI's name. Can you try :depth: 1 or removing header?

Hey @ofek. Sure! Here are a few of the variations I've attempted based on your suggestion

Changing the h1 label (just test in this case), one space at the end of the file, with and without :depth: 1 tag
Removing the header, one space at the end of the file, with and without :depth: 1 tag

None of those work, however, they all work if there are two spaces at the end of the file.

I can confirm the issue.
I thought something was misconfigured, but then I found this issue and thought I'd try it out. For me a single newline with no extra characters fixes the problem.

I'm getting the same issue on a brand new (empty) project...
Project Structure (tree -I venv/):
.
├── app
│   ├── cli.py
│   └── __init__.py
├── docs
│   └── index.md
├── mkdocs.yml
└── requirements.txt

Copied & Pasted contents of app/cli.py, mkdocs.yml and docs/index.md from Quickstart example.
When running mkdocs serve or build there's no error, but also no content for the mkdocs-click block.
If I add a newline at the end of the file then I get: ModuleNotFoundError: No module named 'app'

I also had this same issue on macOS 12.4, Python3.10 and mkdocs-click version 0.8.0.
Fixed it with a double newline at the end.

I also ran into this issue, if it is required (it is really okay that it is) ideally there would be a check for this at build time (or a note in the README). I spent a fair amount of time banging my head against a wall to find out why I couldn't get my docs to generate.
Python 3.11, Ubuntu 22.04, mkdocs-click = "^0.8.0"


Incorrect following count

Seeing a number of stores report a following count of 1 when it's really zero

Data:
 "stats": {
        "followerCount": 0,
        "followingCount": 0,
        "listingCount": 0,
        "ratingCount": 0,
        "averageRating": 0
    },

I think this might be you following it and then the node not having published the updated count. Is taht correct @jjeffryes @rmisio ?

I have no followers or following in my db or root directory. I'm at zero everywhere.

hmm ok not sure about that then. maybe a caching issue.

followsme is also returning false

It's probably because other nodes profiles are cached for 10 minutes (the server is sending back the cache header):
Cache-Control:public, max-age=600, immutable
It's probably a good idea to keep that header because otherwise if you wait 30 seconds for someones store to load and then you navigate away and press back, you'll need to wait another 30 seconds.
The downside is that the counts will be off. FWIW, if the user actually clicks on that Following tab, the count will fix itself.


Develop upstream merge 221128

https://github.com/ROCmSoftwarePlatform/frameworks-internal/issues/3063

retest Ubuntu-GPU-single please


BUG: Not set "000000" score, when reboot game

This is easy fix bug, needs add 1 string in buttonClick (MainActivity).

Bug has been fixed in v1.1.2


Support for instantiating tags with dynamic name/type

@madmaniak proposed a syntax for creating tags by dynamic names. En example:
var items = [{type: 'post', title: "Hello"},{type: 'article', title: "World"}]

var tags = for item in items
    <{item:type} object=item> # etc

This should be rather trivial, and I think the syntax is pretty consistent with the dynamic things in tag like <div .{dynamic-class-name}> and <div@{custom-key}>. What do you guys think?

Was it not trivial? :smile:
Still dreaming about
<{item:type}[item]>


Align eslint

Coverage increased (+0.09%) to 28.73% when pulling fe092ce0a5c30e3d9ea07c9671a6f599cd30bf5a on u9520107:align-eslint into e1a30862b581a0b97fd2aea2bf4c916e440bb01b on ringcentral:master.


Does OpenXR SDK support macOS?

After some investigation, I don't find macOS' supporting declaration from OpenXR spec and OpenXR-SDK-Source source code. Is there a plan to support macOS? Or is there any reason that OpenXR doesn't support macOS?

OpenXR is an open standard. The right question would be "Does macOS support OpenXR?"

@lewa-j Thanks. I updated the title to "Does OpenXR SDK support macOS"

The recently released 1.0.28 should build and work on macOS (if you have a suitable runtime). No mac-specific functionality (e.g. Metal support) is available at this time, but it should work roughly the same as Linux.


ng doc not working fine

Bug Report or Feature Request (mark with an x)
- [x] bug report -> please search issues before submitting
- [ ] feature request

Versions.

@angular/cli: 1.0.0
node: 6.9.2
os: win32 x64
Repro steps.

Enter ng doc routing. It takes you to https://angular.io/docs/ts/latest/api/#!?query=routing. It doesn't find anything. However, if I enter 'routing' directly into search box on angular.io it finds stuff.
The log given by the failure.

Desired functionality.

It should show correct search results.
It happens probably because query string is different (https://angular.io/search/#stq=routing&stp=1).
Mention any other details that might be useful.

Heya, thanks for reporting this! It looks like the query string changed, like you mention.


Add first working draft for #30

Closes #30

Outstanding TODOs:

Doc string code examples (most of the functions take an LDTab database as input -- maybe we should create a small example database and put it in src/resource)
Error handling would need to be revised at some point. An Error is returned for one of two reasons: either, a query to a database returns an sqlx::Error which we can just propagate, or an unwrap to a serde::Value doesn't work because an LDTab data entry is incorrect or not handled correctly. I think it would be best to introduce Rust types for the LDTab data format (doing this isn't easy though -- and this might not be a good idea if the LDTab data format is going to change).


Firefox and V1.17.0 Edit Forms (Issues) and Save Button does not work

Description
Firefox and V1.17.0 Edit Forms (Issues) and Save Button does not work
Edit and issue (click several times on "Edit' to get the form), then saving a change: No http request made.
HINT:
A js error is reported in error console of the browser. Chrome Browser or latest gitea version on try.gitea.io works with firefox. So this is a tmp problem but the release is buggy.
Gitea Version
1.17.0
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
debian 11
How are you running Gitea?
binary build gitea-1.17.0-linux-amd64
Database
SQLite

Might just be a browser cache issue, try a hard refresh (ctrl+shift+r).

Jepp! Kind of... next day it works. wondering... anyway: CLOSE, NOT A BUG


Connect

[Enter feedback here]

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

ID: 4bb46bd1-08b4-2c13-7f54-d7abef5e6416
Version Independent ID: 4b8127f1-b02d-e56a-b23b-96cc703c1569
Content: Common finance vocabulary terms - Cloud Adoption Framework
Content Source: docs/strategy/finance-vocabulary-terms.md
Service: cloud-adoption-framework
Sub-service: strategy
GitHub Login: @wering
Microsoft Alias: martinek

#please-close


Plugin doesn't play nice with gatsby-remark-images or frontmatter File type fields.

When trying to use the plugin with image file types I get this error.
error Field "featuredImage" of type "File" must have a selection of subfields. Did you mean "featuredImage { ... }"?

I digged a little in the code and it's because getAvailableFrontmatterFields returns all the frontmatter fields which includes the ones set as File, which requires more parameters.
Solution would be to just ignore or query them the right way. I don't know if that's even possible I'm not very experienced in GraphQL.

Looking more into the code I'm not sure why it needs all the fields there. It doesn't seems to be used anywhere going down.


guide: add "Best Practices"

UPDATE: Possibly as a How To guide (see #899)
Looks like we need a special section describing ways how to organize your projects:

[ ] how to use DVC with DB (see https://github.com/iterative/dvc.org/issues/594)
our default Dvcfile trick
[x] manually editing dvc.yaml + dvc commit or dvc repro (see also https://github.com/iterative/dvc.org/issues/230#issuecomment-511769103)
it's safe to edit DVC files, no need to touch or update md5, DVC will take care of it
UPDATE: See #2578
specify meaningful stage names with -f
[ ] creating a pipeline in a 'debug' directory and then moving it to different data sets
creating a pipeline in a 'debug' directory and then modifying respective DVC files to set different data sets as an input
[x] add "use meta to preserve your content" - #306
[ ] never store user credentials in the DVC project config
[x] one vs many dvc.yaml files (from https://github.com/iterative/dvc.org/issues/2170#issuecomment-776141460)

See also the latest relevant https://github.com/iterative/dvc.org/issues/72#issuecomment-682868683 and below.

it's safe to edit dvc files, no need to touch or update md5, dvc will take care of it

Specify meaningful stage names

Also, we are not sure about branches anymore.

Never store user credentials in the DVC project config.

@shcheklein we should keep branches - it is a good practice. However, we should mention that for some cases like hyperparameters tuning branches are not very relevant.

@dmpetrov agreed, you are right. I just probably wanted to highlight that we should not be pushing branches as a single best option in all case - there are tags, directories, may be even mention other tools for now?

@shcheklein also we need to implement experiment dir\output feature for hyperparameters tuning use case (Stefan's use case).

add "use meta to preserve your content" - https://github.com/iterative/dvc.org/issues/306

HIi @shcheklein. I would like to work on this issue.

@Soumya0803 sure! feel free to write a document for this. Please join our chat dvc.org/chat, we have separate #dev-docs channel if you have any questions.

Is not "Best Practices" the same as "Use Cases"?
Maybe we should rename "Use Cases" ==> "Best Practices"

@dashohoxha no, it's not the same. "Best Practices" are relatively small tricks and advices you should be using to be efficient with DVC. They are usually general and do not depend on your specific use case.

Should this be merged with #230 and featured in the #899 epic? We're trying to avoid so many sections now.

Also the Questions part of What is DVC (currently in https://dvc.org/doc/user-guide/what-is-dvc/collaboration-issues#questions) probably overlaps with this.

@jorgeorpinel Yeah, that indeed seems suitable.

@jorgeorpinel how would it looks like? like a subsection in How To?

Just a single document under How To.
I updated the description of this issue and in fact I think #230 is already included here, in the "manually editing dvc.yaml + dvc commit or dvc repro" checkbox.

UPDATES:

Just a single document under How To.

We are currently following this approach in #1705 but I'm not sure it will stick. Maybe Best Practices should be in the form of Explanation (a regular user guide, or directly under Home, even) and not as a How-to (problem-solution format). We'll see...

[ ] And another best practice to write about is "how to" track and version compressed archives, composite binaries, even video perhaps (see this support case) - overlaps with #682 though.

Cc @imhardikj

Another possible best practice (or anti-practice):

[ ] Avoid dynamic names (and other non-deterministic behavior — mentioned in dvc run ref). See this support case for context.

@efiop do you think how to: add a page for Managing Experiments #816 would be better as a best practice too? Instead of a how-to as it's requested now. Thanks

It's definitely not How to. It is of the same level as Managing data, etc. Ot my mind section like Managing Experiments should be within Get started, Use Cases, and User Guide at the top level.

Another possible one:

[ ] how to work around stage overlapping outputs restrictions (e.g. hopefully with wildcards in deps/outs soon) — see https://discuss.dvc.org/t/managing-pipelines-operating-per-dataset-element/613/4 for a current alternative.

Another possible one:

[ ] how to work around stage overlapping outputs restrictions (e.g. hopefully with wildcards in deps/outs soon) — see https://discuss.dvc.org/t/managing-pipelines-operating-per-dataset-element/613/4 for a current alternative.

Looking at open check boxes, most or all of these topics are addressed I think (the relevant ones at least).

how to use DVC with DB

This would be a how-to, but is it still something we want to have official docs for? Not really matching DVC's approach

creating a pipeline in a 'debug' directory and then ... set different data sets as an input

@efiop is this some sort of bootstrapping method? Is it really something people do? What problem does it solve?

never store user credentials in the DVC project config

We do stress the use of --local for sensitive configurations (especially in remote modify). Should be enough I believe.

Avoid dynamic names

We mention non-deterministic behavior in general in https://dvc.org/doc/command-reference/stage/add#avoiding-unexpected-behavior and avoiding ad hoc file naming for versioning is a core use case..

all of these topics are addressed

So we could close this ticket. That said we still don't have a "Best Practices" section or guide(s). Do we want to? Maybe Use Cases or the trails of the Get Started already cover this need (guide users to the main ways to setup DVC projects).
WDYT @shcheklein @dberenbaum ? Thanks

I'm fine to close this. Not all items are covered though and yes, we could have done a good page that contains tips/faq for pipelines, for data, general project structure (e.g. never store user credentials in the DVC project config) ...


Bug in arl.py

Thanks for this pytorch-version implementation. However, I found a bug.
In arl.py line 228-233:
      loss = F.binary_cross_entropy_with_logits(logits, targets)
      loss.to(self.device)
      weighted_loss = loss * adversary_weights
      weighted_loss = torch.mean(weighted_loss)
      return weighted_loss

However, in pytorch, F.binary_cross_entropy_with_logits() results in a scaler by default. As a result, the following multiply operators turns out meaningless, making this part work samely as the ERM model.
loss = F.binary_cross_entropy_with_logits(logits, targets, reduction="none") should be correct.

Hey! I've been trying to make this code work, could you share a working version if you have one?
I've been getting this error when running hyperparameter.py, and trying ways to fix it at the moment "
tuning hyperparameters for law_school
--- (1/80) batch_size: 16, learner_lr: 0.001, adversary_lr: 0.001
/home/mattebelle/anaconda3/envs/arl_uva/lib/python3.8/site-packages/torch/cuda/init.py:52: UserWarning: CUDA initialization: Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed a driver from http://www.nvidia.com/Download/index.aspx (Triggered internally at  /pytorch/c10/cuda/CUDAFunctions.cpp:100.)
return torch._C._cuda_getDeviceCount() > 0
Training model 1/5
Traceback (most recent call last):
File "/home/mattebelle/ARL-UvA/hyperparameter.py", line 186, in
main()
File "/home/mattebelle/ARL-UvA/hyperparameter.py", line 35, in main
best_param, best_auc, step = optimize_parameters(
File "/home/mattebelle/ARL-UvA/hyperparameter.py", line 111, in optimize_parameters
metrics = train_for_n_iters(
File "/home/mattebelle/ARL-UvA/train.py", line 229, in train_for_n_iters
train_model(
File "/home/mattebelle/ARL-UvA/train.py", line 117, in train_model
auc_min, auc_macro_avg, auc_minority = metrics.set_auc_other(test_sigmoid, test_target, n_iters, test_dataset)
File "/home/mattebelle/ARL-UvA/metrics.py", line 94, in set_auc_other
for group in dataset.subgroup_indexes:
AttributeError: 'IterableDataset' object has no attribute 'subgroup_indexes'"

Dear Matteo, This error means you have not installed a Cuda driver. You should also consider installing the pytorch Cuda version to make things run on the GPU instead of the CPU. Check first if your system is capable of using Cuda. Met vriendelijke groet, kind regards,Luc WeytinghOn 17 Jun 2024, at 17:41, Matteo Belletti @.***> wrote:
Hey! I've been trying to make this code work, could you share a working version if you have one?
I've been getting this error when running hyperparameter.py, and trying ways to fix it at the moment "
tuning hyperparameters for law_school
--- (1/80) batch_size: 16, learner_lr: 0.001, adversary_lr: 0.001
/home/mattebelle/anaconda3/envs/arl_uva/lib/python3.8/site-packages/torch/cuda/init.py:52: UserWarning: CUDA initialization: Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed a driver from http://www.nvidia.com/Download/index.aspx (Triggered internally at  /pytorch/c10/cuda/CUDAFunctions.cpp:100.)
return torch._C._cuda_getDeviceCount() > 0
Training model 1/5
Traceback (most recent call last):
File "/home/mattebelle/ARL-UvA/hyperparameter.py", line 186, in
main()
File "/home/mattebelle/ARL-UvA/hyperparameter.py", line 35, in main
best_param, best_auc, step = optimize_parameters(
File "/home/mattebelle/ARL-UvA/hyperparameter.py", line 111, in optimize_parameters
metrics = train_for_n_iters(
File "/home/mattebelle/ARL-UvA/train.py", line 229, in train_for_n_iters
train_model(
File "/home/mattebelle/ARL-UvA/train.py", line 117, in train_model
auc_min, auc_macro_avg, auc_minority = metrics.set_auc_other(test_sigmoid, test_target, n_iters, test_dataset)
File "/home/mattebelle/ARL-UvA/metrics.py", line 94, in set_auc_other
for group in dataset.subgroup_indexes:
AttributeError: 'IterableDataset' object has no attribute 'subgroup_indexes'"
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>


Check environment variable PIPENV_CUSTOM_VENV_NAME

Resolves #1226
Allows user to set a custom venv name
The fix
Check for PIPENV_CUSTOM_VENV_NAME environment variable, accept it as venv name at creation if it is set

Setting PIPENV_CUSTOM_VENV_NAME is going to trick a lot of people if we don't preserve it in Pipefile.
Suppose I did:
export PIPENV_CUSTOM_VENV_NAME=foobar
Now there is:
home/myuser/.virtualenvs/foobar`

If I run pipenv in a new shell it's not going to have PIPENV_CUSTOM_VENV_NAME, hence it will look for an environment
in the hash location, and not in  foobar. Hence, I suggest we preserve this in the Pipfile, and read it from there.
@matteius do you have an opinion here?

Setting PIPENV_CUSTOM_VENV_NAME is going to trick a lot of people if we don't preserve it in Pipefile.

@oz123 I am not sure I agree with that approach when its much easier to have a .env file to store the environment variable you want to use for that project -- I fear that if its in the Pipfile it forces everyone on the project to have the same virtualenv name, and some may want the default generated one whereas others want to customize it -- a local .env solves this.  Otherwise I might already have a virtualenv setup and my teammate pushes that change to the Pipfile which forces my machine to generate a new virtualenv under this other name.

I am considering putting self.s.PIPENV_CUSTOM_VENV_NAME into activate in environment.py, that seems like the creating a venv context level that this is appropriate to.  Waiting for more consensus around the pipfile bit.

I am considering putting self.s.PIPENV_CUSTOM_VENV_NAME into activate in environment.py

@otherjake The reading of the environment variable should happen in environments.py where the other environment variables are read from.

@matteius true. Putting it in .env is the correct way. Totally forgot we support this.

This obsoletes, https://github.com/pypa/pipenv/pull/4974. This is a reminder for us to  make sure we close that one too.

@otherjake Thank you for your contribution! I added a small change to your test. Didn't want to bother you again with changes.
Please take a look at it.
Besides that, as usual :100: points  and a big thanks!


create_contact example from docs fails : properties should be serialized to JSON

Upon installation and with the last version of the API :
/home/******/Dev/********/.bundle/ruby/3.1.0/gems/easy_hubspot-1.0.0/lib/easy_hubspot/client.rb:39:in `parse_response': Invalid input JSON on line 1, column 12: Unrecognized token 'properties': was expecting (JSON String, Number, Array, Object or token 'null', 'true' or 'false') (EasyHubspot::HubspotApiError)

This works : EasyHubspot::Contact.create_contact({ properties: { email: '', firstname: '', lastname: '' , etc: ''}}.to_json)
The same applies to update (update_contact(@hubspot_id, { properties: properties }.to_json))
I got really mad trying to use the official gem, so it would be nice to have a maintained gem with a clean and friendly API like yours :)

@kofronpi you are correct. The documentation is incorrect. properties do need to be serialized to JSON prior. I will introduce a change that will serialize properties automatically removing the need to call to_json.


LOG-4504: update compatibility matrix

The dev console feature dev-console present on the console 4.12 was back-ported and landed on 4.11.52. This allows customers to use the dev console without having to upgrade OCP to 4.12

Thanks @jgbernalp
/lgtm


Link to bug system in CONTRIBUTING is wrong

The link to http://tickets.chef.io does not work as the subdomain does not exist. Instead it seems like it should link to https://tickets.opscode.com/browse/CHEF.

Ha, strike that, it seems they have stopped using JIRA (yay), and are using GitHub now at https://github.com/chef/chef/issues. Does this mean I should file my actual issue on your issues list or the Chef one?!

The contributing docs have been completely replaced.  The old ones were totally wrong. Sorry about that.


TimeZoneDB API

🎯 Title and Issue Number
[New API] : TimeZoneDB API #443

Closes #443 <issue_no>

@dinxsh view this PR
🗒 Checklist:

[x] I have mentioned the issue number in my Pull Request.
[x]  I have gone through rules of when PR will get merged.
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have created a helpful and easy to understand README.md
[x] I have followed proper file structure.
[x] I have gone through CONTRIBUTING GUIDELINES.md.

Thank you for contributing!❤
Don't forget to show some love by ⭐ the repository!

Hey @sreevidya-16, You have reached your limit to contribute in APIVerse with a score of 270.
We believe in giving equal opportunity to everyone so you will not be able to contribute to APIVerse now onwards. 💗
Thank you for your valuable time and contribution in APIVerse 😀!
Your merged pull requests:

#403 with labels: level3 score: (45)
#402 with labels: level3 score: (45)
#393 with labels: level3 score: (45)
#370 with labels: level3 score: (45)
#369 with labels: level3 score: (45)
#359 with labels: level3 score: (45)

Hey @sreevidya-16, Thank you for creating PR! We will review it super soon. 😇❣
As we continue to evolve and innovate, we encourage you to share your ideas, feedback, and code to help us push the boundaries of what's possible in the world of APIs🚀.
We hope you have followed CONTRIBUTING GUIDELINES.
Thank you for being an essential part of our community. Together, we'll keep building amazing things!
Don’t forget to ⭐ our repository!
Happy Coding!✨
Will See you soon❣

@sreevidya-16 ,I wanted to reach out and let you know that we have decided to close your pull request.🙇
In case of any issues, you can contact us on Discord.
Thank you! ❣
Happy Coding! ✨
Will See you soon❣


keyword color too strong

Yellow as keyword color to strong. and should not be big

:tada: This issue has been resolved in version 0.3.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


pgdump1

add a scenario when the customer is trying to export the postgres database in Azure database for postgresql flexible server.

Learn Build status updates of commit 1109861:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/postgresql/migrate/how-to-migrate-using-dump-and-restore.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

@sr-msft,
Can you review the proposed changes?
IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@AwdotiaRomanowna @rothja - Can you review this old PR and determine whether it needs to be closed or merged?
IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.

I'd like Mark on my team to take a look at this first. @markingmyname, could you please take a look and reach out to your partners to see if we can include this in the article and/or have alternate suggestions? #assign:markingmyname

@HamzaAqel
This is in scope for our next doc update.
We are planning to document how to migrate to Flexible Server offline.

#please-close


Vive Controllers Not Recognized or Supporting Pointers

Describe the bug
Unless similar steps are followed to issue #8835 the vive controllers arent tracked.
Even after following the steps from above the controller still does not register / attach the pointer.
To reproduce
Steps to reproduce the behavior:

Expected behavior
Controllers to spawn and contain pointers which are trigger on controller press.
Your setup (please complete the following information)

Unity 2020.2.2f1
MRTK 2.7.3

Target platform (please complete the following information)

OpenVR
HTC Vive

After numerous tries I was able to get this working by using the documentation from #8835
The home page of MRTK claims to support HTC Vive but documentation on how to do so is nowhere to be found.
I'd recommend using the documentation that Eusebiu provided to create a page describing how to actually setup Vive controllers with MRTK.

Tracking this as a "need to update documentation" issue.

@methot-ilya-3ds Hi, I would like to ask, have you tried to modify the position of the fingers of the hand model through the vive controller button. For example, pressing the trigger on the controller makes the hand model a fist. I haven't been able to find an API about the relationship between vive controller input and HandJoint or HandMesh.

To further update this ticket, MRTK 3 is working with the Vive and latest OpenXR with all of the default settings.
@zxzkf1992 I've not experimented with opening or closing of the hand yet so I can't speak to that.

@methot-ilya-3ds thank you for your reply, i will try on it.


do not redirect tcp on port 53

https://github.com/istio/istio/issues/6568

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: irisdingbj
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: zackbutcher
Assign the PR to them by writing /assign @zackbutcher in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

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

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

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

/ok-to-test

@irisdingbj: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-simpleTests.sh
6e1d6cc62912692d994a13ce169de34bfb2e60b1
link
/test e2e-simple

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

@irisdingbj: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-simpleTests.sh
6e1d6cc62912692d994a13ce169de34bfb2e60b1
link
/test e2e-simple

prow/istio-unit-tests.sh
6e1d6cc62912692d994a13ce169de34bfb2e60b1
link
/test istio-unit-tests

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

Discuss with @rshriram we can leave the pilot part alone for now, so reopen this PR.

/retest

/ok-to-test

@irisdingbj: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
6e1d6cc62912692d994a13ce169de34bfb2e60b1
link
/test istio-unit-tests

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

/ok-to-test

@irisdingbj: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
6e1d6cc62912692d994a13ce169de34bfb2e60b1
link
/test istio-pilot-e2e-envoyv2-v1alpha3

prow/e2e-simpleTests.sh
6e1d6cc62912692d994a13ce169de34bfb2e60b1
link
/test e2e-simple

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

/test istio-pilot-e2e-envoyv2-v1alpha3

/test e2e-simple

/lgtm

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: elevran, irisdingbj
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: zackbutcher
Assign the PR to them by writing /assign @zackbutcher in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

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

Sorry, late to the party. I understand this is for TCP and traditional DNS lookups are typically performed over UDP (which we don't intercept anyway), but I think these kind of one-off carve-outs are undesirable. DNS is not any more special than other protocol someone may be running. The fix for https://github.com/istio/istio/issues/6568 and any other issue of that class should instead be "add a ServiceEntry to describe the service you're calling over TCP, just like you need for any other service".

/cc @andraxylia any comments for this?

Please use a ServiceEntry to accomplish this instead. I posted an example ServiceEntry in the issue, see https://github.com/istio/istio/issues/6568#issuecomment-410764829.


Please make sure renaming URLs is easy and practical

SSW Rules V2 team,
I do several rules' URL changes monthly. Currently, it is a very unfriendly task to be done in SharePoint https://rules.ssw.com.au/rename-a-rule
I'd love to simply type the new URL in GitHub and Pull Request (and the old one would automatically be added to a redirect list to this new one). Not sure if possible, but it would be perfect
In SugarLearning this is easily done based on changing title, but I think this is not what we want in Rules because:

SugarLearning use a number code for each item, making the URL longer and less friendly
https://staging.sugarlearning.com/Northwind/**items/28145**/sample-markdown-elements
Rules have "Do you..." on pretty much every title and it's not wanted in URLs
Sometimes the URL needs to be shortened in a way it's very different from the title (the very rule at the top is a good example of this https://rules.ssw.com.au/rename-a-rule)

Not sure, but we might need to get all the old redirections working in GitHub too...I would personally leave it if too complicated, but up to @adamcogan

Here is an example of a recently renamed rule: https://rules.ssw.com.au/best-libraries-for-icons was https://rules.ssw.com.au/do-you-use-font-awesome-for-icons

Hi @tiagov8,
Ideally, it would be good to add these friendly URLs to the frontmatter of the rule in GitHub.
This would allow us to have the following URLs going to the same page:

https://ssw.com.au/rules/do-you-use-a-font-kit-such-as-font-awesome-for-icons
https://ssw.com.au/rules/best-libraries-for-icons
https://ssw.com.au/rules/do-you-use-font-awesome-for-icons

Here's an example.

Figure: Redirect URLs in the front matter of the rule
So when the pull request with the new URL has been deployed it would automatically add the URL redirects.
We'll investigate pulling out the current friendly URLs from SharePoint.

To: @tiagov8
Cc: @adamcogan
Done - See https://www.ssw.com.au/rules/do-you-use-the-best-libraries-for-icons
All the friendly Urls are being migrated from SharePoint

Figure: Markdown of friendly URL redirects

To: @tiagov8
Cc: @adamcogan
Done - See https://www.ssw.com.au/rules/do-you-use-the-best-libraries-for-icons
All the friendly Urls are being migrated from SharePoint

Figure: Markdown of friendly URL redirects

Hey @christianmorfordwaitessw
Please action:

We are going to sanitize the url so only these permitted characters are used abcdefghijklmnopqrstuvwxyz1234567890-_
spaces, /, ., = will be replaced with -
any consecutive - eg --- will be replaced with a single -

Hey @christianmorfordwaitessw
Please action:

We are going to sanitize the url so only these permitted characters are used abcdefghijklmnopqrstuvwxyz1234567890-_
spaces, /, ., = will be replaced with -
any consecutive - eg --- will be replaced with a single -

Hi @tiagov8,

Please action:

We are going to sanitize the url so only these permitted characters are used bcdefghijklmnopqrstuvwxyz1234567890-_
spaces, /, ., = will be replaced with -
any consecutive - eg --- will be replaced with a single -

Done - see  https://rules.ssw.com.au/controls-do-you-include-a-＂select-all＂-checkbox-on-the-top
URLs with special characters have been replaced with a sanitized URL and the replaced URL is added as a redirect.
Original URL on rules.ssw.com.au => https://rules.ssw.com.au/controls-do-you-include-a-＂select-all＂-checkbox-on-the-top
New URL on ssw.com.au/rules => https://www.ssw.com.au/rules/controls-do-you-include-a-select-all-checkbox-on-the-top
A redirect is also on the new rule  https://www.ssw.com.au/rules/controls-do-you-include-a-＂select-all＂-checkbox-on-the-top

Figure: Old URL with special characters is added as a redirect

Hi @tiagov8,

Please action:

We are going to sanitize the url so only these permitted characters are used bcdefghijklmnopqrstuvwxyz1234567890-_
spaces, /, ., = will be replaced with -
any consecutive - eg --- will be replaced with a single -

Done - see  https://rules.ssw.com.au/controls-do-you-include-a-＂select-all＂-checkbox-on-the-top
URLs with special characters have been replaced with a sanitized URL and the replaced URL is added as a redirect.
Original URL on rules.ssw.com.au => https://rules.ssw.com.au/controls-do-you-include-a-＂select-all＂-checkbox-on-the-top
New URL on ssw.com.au/rules => https://www.ssw.com.au/rules/controls-do-you-include-a-select-all-checkbox-on-the-top
A redirect is also on the new rule  https://www.ssw.com.au/rules/controls-do-you-include-a-＂select-all＂-checkbox-on-the-top

Figure: Old URL with special characters is added as a redirect


Expand telephone number

Fixes: https://github.com/moov-io/metro2/issues/58

Codecov Report

Merging #61 (8f7eeab) into master (6faa322) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #61   +/-   ##
=======================================
  Coverage   80.77%   80.77%
=======================================
  Files          17       17
  Lines        1706     1706
=======================================
  Hits         1378     1378
  Misses        192      192
  Partials      136      136


v0.16 regression: numeric variables are set to null instead of being converted to text

reported by @DSMejantel .
The code below worked in v0.15 and is broken by 0.16 :
set x = 2;
select 'text' as component, $x as contents;

Cela peut être lié à :+1:
select
    CASE WHEN $NB_eleve > 1
    THEN $NB_eleve ||' élèves'
    ELSE $NB_eleve ||' élève'
    END as title,
           'cyan' as color,
           TRUE as space_after
           where $tab='Tableau de bord';
--Carte
SET AVG_Lat = (SELECT AVG(Lat) FROM etab);
SET AVG_Lon = (SELECT AVG(Lon) FROM etab);

SELECT
    'map' as component,
    12 as zoom,
    400 as height,
    $AVG_Lat as latitude,
    $AVG_Lon as longitude
    where $tab='Carte';

v0.16.1 should fix the problem


It seems hard to name a animation name..

Sometimes, It seems hard to name a proper animation name. For example, name a animation class name.
What do you think?
Cheers!

Agree that.
But I think that is not big deal, just think up a name as self-described as possible. Having some meaningful name is at least better than names like Animation1, Animation2, right?

Can't agree more. :)


Current master branch is not ready to be used?

My system setup is Ubuntu 18.04 and ROS Melodic
I followed the installation instructions as per README, which clones the master branch of the repo. But it seems that many packages are missing as compared to previous branches. Once I run the command:
$ rosrun rosprolog rosprolog knowrob
?- owl_has(A, rdf:type, knowrob:'Drawer').
ERROR: Unknown procedure: owl_has/3 (DWIM could not correct goal)

Also I tried another option:
$ roslaunch knowrob knowrob.launch

[INFO] [1599762534.580791]: json_wrapper service is running
[ INFO] [1599762534.665057759]: The knowledge base is starting up, that may take a few moments!
Warning: /home/hsd/projects/kogrob/monitoring/knowrob_ws/src/knowrob/src/db/tripledb.pl:410:
Warning:    Singleton variables: [S,P,Scope,Options]
% Parsed "unit.owl" in 0.19 sec; 7,134 triples
[ INFO] [1599762535.730362824]: The knowledge base has finished starting up!
[ INFO] [1599762535.737364051]: rosprolog service is running.

$ rosrun rosprolog rosprolog_commandline.py
[INFO] [1599762546.960123]: waiting for rosprolog services
[INFO] [1599762546.968144]: rosprolog services ready
namespaces:
dc: http://purl.org/dc/elements/1.1/
dcterms: http://purl.org/dc/terms/
eor: http://dublincore.org/2000/03/13/eor#
foaf: http://xmlns.com/foaf/0.1/
owl: http://www.w3.org/2002/07/owl#
rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns#
rdfs: http://www.w3.org/2000/01/rdf-schema#
serql: http://www.openrdf.org/schema/serql#
skos: http://www.w3.org/2004/02/skos/core#
void: http://rdfs.org/ns/void#
xsd: http://www.w3.org/2001/XMLSchema#
dul: http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#
qudt: http://data.nasa.gov/qudt/owl/qudt#
soma: http://www.ease-crc.org/ont/SOMA.owl#
io: http://www.ontologydesignpatterns.org/ont/dul/IOLite.owl#
knowrob: http://knowrob.org/kb/knowrob.owl#
test: http://knowrob.org/kb/pancake.owl#
urdf: http://knowrob.org/kb/urdf.owl#
-----------
?- owl_subclass_of(A, knowrob:'FoodOrDrink').
Prolog query failed: error(existence_error(procedure,:(rosprolog_query,/(owl_subclass_of,2))),context(:(rosprolog_query,/(rosprolog_query,2)),_110))

On taking a closer look semweb and thea libraries are missing. Not sure if that is the only problem. What am I missing here? Do I need to clone one of the older branches? Or do I need to install these missing libraries manually?

The following is working for me:
$ rosrun rosprolog rosprolog knowrob
?- use_module(library(semweb/rdf_db)).
true.
?- rdf_load('/home/hsd/projects/kogrob/monitoring/knowrob_ws/src/knowrob_tutorials/knowrob_basics_tutorial/owl/coffeecup-solution.owl', [format(xml)]).
% Parsed "coffeecup-solution.owl" in 0.00 sec; 22 triples
true.
?- rdf(Var1, 'http://ias.cs.tum.edu/kb/coffeecup.owl#containsDrinkableLiquid', Var2).
Var1 = http://ias.cs.tum.edu/kb/coffeecup.owl#cup0,
Var2 = http://ias.cs.tum.edu/kb/coffeecup.owl#coffee0.

But not sure if it was intended to be done this way.

?- owl_subclass_of(A, knowrob:'FoodOrDrink').
Prolog query failed: error(existence_error(procedure,:(rosprolog_query,/(owl_subclass_of,2))),context(:(rosprolog_query,/(rosprolog_query,2)),_110))

On taking a closer look `semweb` and `thea` libraries are missing. Not sure if that is the only problem. What am I missing here? Do I need to clone one of the older branches? Or do I need to install these missing libraries manually?

There was restructuring but it is complete now. "owl_subclass_of" is replaced by is_a or instance_of. Please check Readme in each folder and unit tests to get a better understanding of the usage of is_a, instance_of. There will be a new tutorial published soon.

Thanks @kaviyachandran! That was helpful. I will close the issue for now.


Speech output chooses voice with incorrect locale

I am using the emulator on a Win 10 machine with the OS locale set to German. I click the microphone icon in the chat window and speak to my bot. The bot then responds with spoken language as expected.
I am seeing a difference between web chat and the emulator, though. When I do the same on web chat, the bot responds with an English voice (the bot is English). When I do it in the emulator, it reads the English texts from my bot through a German voice. This is entertaining but useless. I have made sure that during connection I set the locale to "EN". Seems that the bot locale is ignored and the locale of the OS is being used?

@shahidkhuram can you look into this?

Same with my project. Is there a solution?

Looks similar to https://github.com/Microsoft/BotFramework-WebChat/issues/939.
We didn't pass OS locale to SpeechRecognition/SpeechSynthesis object.

Addressed in https://github.com/Microsoft/BotFramework-WebChat/issues/939. Closing.


Add jenkins job params

It should be possible to pass a parameter to a jenkins job.

This can be done by sending POST request to buildWithParameters?PARAM1=value&PARAM2=value endpoint.


Infer Route Paths If Not Specified

Support automatically determining the route's path:
@route
def foo():
    pass

Equates to:
Route(
    path='foo',
    target=<function foo>,
)

This will likely not work as @route relies on the first argument (the target) being positional only


Requests are always forwarded, if a similar path exists in YARP

Describe the bug
I can't get Yarp to hit my local controller when there is a similar YARP route.
I'm setting up Yarp so that will only reserve proxy to a downstream service if don't have a matching local controller.
However, it always seems to proxy the call to the downstream service.
I've tried setting the order of the proxy to 1000 and my local controller endpoint to -999 but to no avail.
app.UseEndpoints(endpoints =>
{
    endpoints.MapControllers();
    endpoints.MapReverseProxy();
});

"ReverseProxy": {
  "Routes": {
    "filelibrary" : {
      "ClusterId": "FileLibraryApi",
      "Order": "1000",
      "Match": {
        "Path": "/FileLibrary/{**catch-all}"
      },
      "Transforms": [
        {
          "pathPattern": "{**catch-all}"
        }
      ]
    }
  },
  "Clusters": {
    "FileLibraryApi": {
      "Destinations": {
        "FileLibraryLocal": {
          "Address": "https://filelibrary.local"
        }
      }
    }
  }
},

[ApiController]
[Route("[controller]")]
public class FileLibraryController : ControllerBase
{
    [HttpGet]
    [Route("Files", Order = -999)]
    public async Task<CustomersResponse> Get()
    {
        return await //Some code
    }
}

If I take out the endpoints.MapReverseProxy(); then the local controllers are hit but the proxy doesn't work.
Any help would be greatly appreciated.
Further technical details

Yarp.ReverseProxy 2.0.0
NET 6
Windows

Updating the controller like so seems to fix it... I'm not sure if this is intended behavior or not.
[ApiController]
[Route("[controller]/[action]")]
public class FileLibraryController : ControllerBase
{
    [HttpGet]
    public async Task<CustomersResponse> Files()
    {
        return await //Some code
    }
}

Are you saying you can't reproduce this?

Yes.
Using

appsettings.json
"ReverseProxy": {
  "Routes": {
    "filelibrary": {
      "ClusterId": "FileLibraryApi",
      "Order": "1000",
      "Match": {
        "Path": "/FileLibrary/{**catch-all}"
      },
      "Transforms": [
        {
          "pathPattern": "{**catch-all}"
        }
      ]
    }
  },
  "Clusters": {
    "FileLibraryApi": {
      "Destinations": {
        "FileLibraryLocal": {
          "Address": "https://httpbin.org"
        }
      }
    }
  }
}

and

Program.cs
using Microsoft.AspNetCore.Mvc;

var builder = WebApplication.CreateBuilder(args);

builder.Services.AddControllers();

builder.Services.AddReverseProxy()
    .LoadFromConfig(builder.Configuration.GetSection("ReverseProxy"));

var app = builder.Build();

app.MapControllers();
app.MapReverseProxy();

app.Run();

[ApiController]
[Route("[controller]")]
public class FileLibraryController : ControllerBase
{
    [HttpGet]
    [Route("Files", Order = -999)]
    public async Task<string> Get()
    {
        await Task.Yield();
        return "Hello";
    }
}

A request to https://localhost:5001/FileLibrary/Files will hit the controller.
Can you share the full reproduction project you were testing with?


The test don't pass

there is weird replacements right now, I'm going to add logging soon to make it easier to debug.

for instance #{} sometimes become # {}
Im going to add logging to get a clearer understanding of what's going on

An idea: when using the Writer struct, we should get logging "for free". We could extend the Writer view a steps or log field:
struct Writer {
  // ...
  log: Vec<Step>
}

enum Step {
  Push(s: String),
  Space,
  Newline,
  Indent,
  // ...
}

That's a good idea but I prefer log cause we get Level, log_enabled! and I feel like it'll be easier to make dev only


Generate php file under PSR-0 Namespace Autoloading convention

Currently protocol file generates a single php file no matter how many messages there are.
Therefore the generated php file is not under PSR-0 Namespace Autoloading, which is a great feature after php 5.3 for conveniently manage php classes.
It would be very programmer-friendly if the generate php files are:

under the same folder
filename is consistent with class name
correspondent (semantically) to a single message of each protocol file.

You can pass two command line options to protoc-php compiler: -n --psr in order to have what you want. I'm working currently on plugin for a protoc compiler which will solve parsing issues which are ones most often reported. Along with this change I would like to make PSR-0 the only way to generate PHP classes.

@hjagodzinski great ! looking forward to that !

@lulyon done.


Correctly handle case where register.name has "[%s]" and no dimIndex

Fantastic, that was a big problem for me with the ATSAMD20 SVD files. Will check it out later...

Thanks, @jamesmunns
@homunkulus r+
Some builds will likely timeout but I'll test the problematic test suites locally.

:pushpin: Commit d0a2259 has been approved by japaric

:hourglass: Testing commit d0a22591feefd801b9934c3ccece2c7d2c6a5171 with merge 5eaf83f5e2aa1d33558f3580da2cf35a73f9bfcf...

Hm, weird:

$ svd2rust -i ATSAMD21E15A.svd | rustfmt >out.rs
error: Register COMPCTRL%s has no dim_index field
note: run with RUST_BACKTRACE=1 for a backtrace

Where ATSAMD21E15A.svd is from https://github.com/posborne/cmsis-svd.git and svd2rust at commit 5eaf83f5e2aa1d33558f3580da2cf35a73f9bfcf from the auto branch.

@therealprof thats actually (sadly) expected. My patch only covers registers that look like DEVICEID[%s] (notice the []s). You can see a bigger chunk here: https://gist.github.com/jamesmunns/3de64577afb9c45edee8ec597c9a2e34#file-gistfile1-txt-L25
I don't know the correct way to handle FOO%s, and the linked documentation from keil only says dimIndex should not be used with the bracketed version.
If you want to test it, you can try hacking up this line to be more general: https://github.com/japaric/svd2rust/commit/5eaf83f5e2aa1d33558f3580da2cf35a73f9bfcf#diff-6755e3579c3e8158c7d672a1ddebb24dR569

@therealprof here is a link to the documentation I referenced: http://www.keil.com/pack/doc/CMSIS/SVD/html/elem_registers.html

:broken_heart: Test failed - status-travis

@therealprof
From the documentation:

name
String  to identify the register. Register names are required to be unique  within the scope of a peripheral. You can use the placeholder %s, which is replaced by the dimIndex substring.

That reads to me like dimIndex should be mandatory if you use FOO%s as a name. I'm guessing the Atmel SVD doesn't follow the standard?
You could probably use the new code path I added (but maybe add a STDERR warning like "using non-standard dim_index"?), but you would need to confirm it generates what you want it to generate.

@japaric Not sure what that failure was. Something about a missing msp430 crate? The build output looks a little funky when generating that Cargo.toml.

@jamesmunns Yeah, don't know. I modified it and checked the result but it doesn't look quite right. That's fine.
 Apart from that horror show their clocking system and peripherals are really disgusting so I'm happy to take this as an excuse not to waste any more time with those MCUs. 😉

@homunkulus r+

:pushpin: Commit 550982e has been approved by japaric

:hourglass: Testing commit 550982e15f1a3cdf576b49edf2c58ef2e4e2a7ac with merge fc26bd254fe725cb3589cfc2b76fe7224ad3b7c6...

@therealprof Aw, thats sad to hear. I don't have any experience with the Atmel Cortex-Ms, but had generally heard good things.  Probably correlated... Everything is asynchronous in their implementation (so you're doing busy waits all the time and everywhere) and you have mind boggling numbers of clocks to configure to make even the most simple things work and if you miss any important (and most likely undocumented or wrongly documented) step or bit in a register you're just busy waiting forever and have no idea why... and who needs sample code anyway?!?
Those ATSAM are pretty much the exact opposite of the perfectly documented and easy to use ATTiny/Mega chips.

The ARM version of the SVD spec includes the wording:

By default, <dimIndex> is a value starting with 0.
Remark: Do not define <dimIndex> when using the placeholder [%s] in <name> or <displayName>.
Occurrance: 0..1

Which reads to me that the it defaults to sequential numbering whether it uses %s or [%s], but specifically requires that it is not used with [%s]. This is what I implemented in https://github.com/japaric/svd2rust/pull/168.

@kevinmehall I just tested, and your branch produces the same output (for me) as mine does. Yours appears to be better implemented than mine, I'm okay with @japaric closing this PR and merging yours instead.
Thanks for chiming in! I hadn't seen your previous PR.

:broken_heart: Test failed - status-travis

Closing in favor of #168


Figure out a way to race multiple futures in smol

Generally in smol we frown on large combinators and prefer using the executor when possible. For instance, instead of joining a bunch of different futures, we spawn the futures on an Executor and then wait on each of the Task handles.
However this isn't a good solution to or or race. Ideally we would have a way to spawn a bunch of futures on an Executor and then have a way to wait on one of those tasks.
cc @i509vcb, @smol-rs/admins Would appreciate brainstorming on a good solution to this problem, as one isn't immediately apparent to me.

One way of doing this would be with a channel.
let (sender, receiver) = async_channel::bounded(1);
let ex = Executor::new();

let mut handles = vec![];

// Spawn all of the futures.
for future in futures_to_race {
    handles.push(ex.spawn({
        let sender = send.clone();
        async move {
            // Send the result of the future down the channel.
            sender.send(future.await).await.ok();
        }
    });
}

// Run the executor while waiting for the result.
let result = ex.run(receiver.recv()).await.unwrap();
for handle in handles {
    handle.cancel().await;
}

However, this is pretty unwieldy and I would like a way to implement this pattern in a simpler way. Same could probably go for the zip and or patterns.

A fully generic channel looks a like a bit too much, why not e.g. a once_cell, an event and a flag (or just some kind of one-shot channel with clonable sending end)?

Although that would work, it's unfair to expect this burden to fall onto the user. My idea was to create an async-executor-util (name open to suggestions) crate to have all of the combinators that would be needed for this.

ok, oh some additional prior art would also be https://github.com/YZITE/server-executor, which I wrote to have an executor for tests, simple async servers, etc.

I think the futures-concurrency crate provides a good solution to this problem for now, at least on the short scale. For larger scale futures we'll wait for a conclusion in smol-rs/futures-lite#93.


Separates out modifiers from DateRangePicker class and into a DayPickerWithModifiers class

Hey @moonboots! I made you a present.
We can use this in place of https://github.com/airbnb/react-dates/pull/145. I think this should pull out all non-input/open and close related logic from DateRangePicker and into a wrapper for the DayPicker. Ultimately, we will want to add some documentation for this as well because I think this is something that people have been looking for (a no-input version of the DRP that is also visible). It may also be worthwhile to create a wrapper for the DateRangePickerInput as well that handles all the onChange and onFocus logic, which would leave the DateRangePicker to just be the wiring between the datepicker and the inputs (and would allow folks like @moonboots to more easily override that interaction with their own components).
I think this name is actually bad though because maybe this is the DayPicker wrapper specifically with the range modifiers. There should probably be a different DayPicker wrapper that contains all the single date modifiers. Do y'all have thoughts on a better name? I didn't think DayPickerInstrumented was particularly clear either.
This shouldn't break any current behavior, but we will additionally export this new component with the package.
to: @ljharb @airbnb/webinfra
From the related PR for inputs:
The general idea is that I want to change the structure of the DateRangePicker (and eventually the SingleDatePicker as well) to this:

The motivation behind this is to increase the compose-ability of the library. We have seen a lot of instances where a user might want to swap out the input styles, or might want the DayPicker with all of the styles and rules that we default to in range, but different visibility rules.
As a result, the following will become true:

DateRangePicker strictly controls the interactions between the inputs and the picker, ie when to show and hide the picker according to a default standard of rules
DateRangePickerInputWithHandlers (god I cannot name shit for my life) controls any date verification, focus change, and keyboard input logic as related to the inputs.
DateRangePickerInput renders the inputs to the page with the appropriate styles and has styles applied if you were to pass in a different focus state as a prop. It also has callback for user interaction, but ultimately is a fully controlled component.
DayPickerWithModifiers contains state for hovering as well as logic for what to do when you click on a start date after an end date, and other date selection scenarios. It contains a modifiers object that applies styles accordingly. Most importantly, it does not contain callbacks for user interactions on the CalendarDay objects.
DayPicker is a vanilla version of the calendar that renders it to the page, but has no styles or callbacks or state hooked up. It takes in all of these as props and allow you to roll your own implementation basically.

One advantage of this set-up is that it allows us to do the following if you want:

Basically, if you want to add any sort of panel or more information to the DayPicker you can. You can create your own custom show/hide logic, insert your own inputs easily, always show the DayPicker if you want and so on.
P.S. I could really use some help in naming these components.

Coverage increased (+0.5%) to 86.787% when pulling 5dc3d8f78fb80c4eb9f9b321bf12809ab5c6b830 on maja-add-DayPickerWithModifiers into 9ca8a0a4263a2c5f9bdeeb3c9c6fe0f2b3cd48ed on master.

Coverage increased (+0.4%) to 86.727% when pulling d515eb4a970ddc51d177a688bf96749b273aa4bc on maja-add-DayPickerWithModifiers into 9ca8a0a4263a2c5f9bdeeb3c9c6fe0f2b3cd48ed on master.

@majapw can you add a little context on why you are making this change?

@lencioni, Maja and I have been chatting about how to generalize the current coupling of input/DayPicker. The immediate use case is adding a bottomPanel to DayPicker, which I proposed injecting with a new prop but could be accomplished more generally by separating the two components. Another UI this would allow is using just the DayPicker calendars directly without a triggering input.

@lencioni I added a little bit to the description here with the motivation for this change.

Coverage increased (+0.6%) to 87.04% when pulling 0d9a4100f31deb298c848ce36d9ac53ee78ba716 on maja-add-DayPickerWithModifiers into 283beb681425cb34bdfaa527591bf277cdeb9a1e on master.

Coverage increased (+0.6%) to 87.04% when pulling 153686f3988846921065640b0dbc9ed0a93965ca on maja-add-DayPickerWithModifiers into 283beb681425cb34bdfaa527591bf277cdeb9a1e on master.

Coverage increased (+0.6%) to 87.04% when pulling 1984a74cd6d33628efaefb437b67ac3b9d568412 on maja-add-DayPickerWithModifiers into 283beb681425cb34bdfaa527591bf277cdeb9a1e on master.


Whats New

A what's new list would be great

Meanwhile you could browse the commits https://github.com/dkhamsing/open-source-ios-apps/commits/master

if we move w/ an app we can manage to use an APNS to notify user about news

https://twitter.com/opensourceios


Open for a shorter syntax?

This is pretty neat! I've been looking for a library like this.
But I find the syntax a little long and repetitive. I would love to see things like this:
Check(n).is_not_None().is_float().is_between(0., 1.)

expressed as:
is(n).not_none.float.between(0,1)

I think that could be done easily with an extension, not changing but adding another syntax like:
from fluentcheck import is
is(n).not_none.float.between(0,1)

Would you be open for a PR in this direction or not interested?

I think the shorter syntax is a great idea. @csparpa , thoughts?

Thanks. Just to get you a sense of the implementation. This is the code to make my basic tests work:
from is_cls import Is

n = .5

Is(n).not_none.float.between(0, 1)
print("Passed all tests.")

class Is:

    def __init__(self, object_of_test: Any):
        self.object_of_test = object_of_test

    @property
    def not_none(self) -> "Is":
        if self.object_of_test is None:
            raise AssertionError(f"{self.object_of_test} is None")

        return self

    @property
    def float(self) -> "Is":
        if not isinstance(self.object_of_test, float):
            raise AssertionError(f"{self.object_of_test} is not a float, it's {type(self.object_of_test)}")

        return self

    def between(self, a, b) -> "Is":
        if not (a < self.object_of_test < b):
            raise AssertionError(f"{self.object_of_test} is not between {a} and {b}.")

        return self

Even has a sweet fluent autocomplete syntax:

Hello @mikeckennedy thanks for the proposal
Adding a new "fluency idiom" is definitely an option and nice per-se
My point here is that this would require double implementation for each check.  It would be nice to have a way to write each assertion (and its negation) in code only once  and then have fluentcheck  dynamically generate both idioms (eg. Is(x).float and Check(x).is_float()) at runtime - for example at import time.
What do you think @mikeckennedy and @deanagan ?

Thanks @csparpa I think it's definitely a clear tradeoff.  But on the other hand, it's vastly cleaner IMO. So that would definitely be up to you this being your project. :)

Yes, you're right :-/ any idea on a way to enable us to have 2 APIs with one shot of coding?

If I were doing it, I would create the Is class, add the methods and properties for the API, then just delegate over to Check. Basically, store the object under test, and for all methods/properties, just call Check.THAT_METHOD. Then basically you need very little in terms of duplication, just pass through to Check.

OK @mikeckennedy , please go for it! Thanks

Perfect. I'm working on it. Making good progress over at https://github.com/mikeckennedy/fluentcheck


feat: create security release command

This new command should manage all the states of a security release. This PR includes the CREATE and should be followed by other PRs to manage the next steps, such as requesting CVEs, creating issues, sending emails and so on.
Example this is action: https://github.com/nodejs-private/node-private/issues/443

ping @nodejs/security-release

ping @nodejs/releasers

Done @aduh95. Could you please re-review?


Update example ruleset based on feedback

Issue #1128 raised the interesting point that example exclusions maybe taken over literally by people who are not as familiar with PHPCS.
This minor change should prevent that.

P.S.: build failure is unrelated to this change, but to do with an upstream change in the unit test suite. I'm working on a separate PR for that.

Rebased after merge of #1130 so we can get a passing build.


Question: Is it possible to display a column value as a valid JSON formatted string

We are using databucket-server and we have a column named as "Valor", where we store a JSON value.

We would like to copy the json value and use it without the need to remove the escape character \.
Is it currently possible?

Currently, this is not possible.


Clarify props passing of provider component

Document that provider passes down additional props into its ToastContainer and from there into the Toast component

This is explained in the Toast Props e.g.

placement: Inherited from ToastProvider.


Ability to sort by multiple metrics

Right now I would like to sort by long time no interaction and sort it from the most expensive.
adjust existing filter names
New First -> Recently Created
Old first -> Oldest
Last interacted -> Recently Interacted
Long time no interaction -> Unpopular
From most expensive -> Price: High to Low
From cheaper -> Price: Low to High
Spec

Add recently listed for sale
It would require writing a new resolver to https://github.com/kodadot/rubick

Ref

probably ideation to add min - max  -> https://github.com/kodadot/nft-gallery/issues/2110

For price range I would use https://buefy.org/documentation/slider#range-slider
where min is 0 and max has to be fetched from the subquery

I'll try to do this one

@yangwao @vikiival by multiple do we mean more than 2 filters at a time?

@yangwao @vikiival by multiple do we mean more than 2 filters at a time?

Hey as description say:

I would like to sort by long time no interaction and sort it from the most expensive.

the current thing is that the graphql query accepts just one param for $orderBy and it should accept the array :)

Add recently listed for sale

https://github.com/kodadot/rubick/issues/85

👋

@MSghais Hi, I am still working on this one and almost done

ignore


Misleading documentation in unnecessary_argument_camelize rule

The unnecessary_argument_camelize rule doc says:
      #   # good
      #
      #   class UserType < BaseType
      #     argument :filter, String, required: false, camelize: false
      #   end
      #
      #  # bad
      #
      #   class UserType < BaseType
      #     argument :filter, String, required: false
      #   end

It should be the other way around right?
Unless I'm missing something
I can fix it if it's the case

Hey @letiesperon! Yes, that was a mistake, I've updated the doc, thank you for catching that 🙂


SteamOS 3.4 Preview - Tailscaled.service failing

First of all, thanks for the script!
It seems like on the preview channel for SteamOS 3.4 tailscale can't launch anymore:

Any idea why that might be?

I will try and recreate

Launching tailscaled -cleanup from console results in this (crashing):
Gist
And here is when running the deamon without -cleanup flag (successful):
Gist
Seems like the -cleanup flag somehow does not work because there's no eth device set or something?
also this part:
wgengine.NewUserspaceEngine(tun "tailscale0") ...
router: v6nat = true

seems to be missing when -cleanup is set.
Maybe this helps.

I have not been able to recreate. Will try a clean steamOS install.

Thanks for looking into it.. It stopped working for me right after updating to 3.4 preview.
I switched to this method for now, seems to work fine as well and also survives updates.

Hello, I found my way to this issue researching a very similar issue while trying to get podman going. Digging down through the layers, presumably this sits up on top of go-iptables, that's what is generating the text
could not get iptables version: exit status 111

in my case. This in turn is reporting an error from attempting
iptables --version

Digging into iptables itself, I found that the return status of 111 is returned by "xtables_init" in libxtables/xtables.c which contains:
void xtables_init(void)
{
	/* xtables cannot be used with setuid in a safe way. */
	if (getuid() != geteuid())
		_exit(111);
...

So the root cause of at least that part of what you're seeing here is that Tailscale or something it is consuming is probably running suid. Good luck with the rest, hopefully that helps!


Broken link in documentation

What is LS (the last link) supposed to be pointing to on this line?
https://github.com/cvxgrp/cvxpy/blame/master/doc/source/tutorial/advanced/index.rst#L242

This is a mistake. There shouldn't be any link.

So what is used for quadratic programs?
I am trying to move from CVXOPT to using cvxpy, to take advantage of your
recent relicensing (thanks!!), but I need to solve a quadratic program.
Thanks for making this great package and thanks for providing it under a
license we can use!
On Mon, Feb 20, 2017 at 4:39 PM, Steven Diamond<EMAIL_ADDRESS>wrote:

This is a mistake. There shouldn't be any link.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/cvxgrp/cvxpy/issues/331#issuecomment-281213728, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAHPNukCpwrmlhGMtOIOzx2OoBVqZY8dks5rejJOgaJpZM4MGvNW
.

QPs are converted to SOCPs and solved by ECOS. There's ongoing work on a dedicated QP solver, but it's not integrated yet.


Its working but when i chang ethe long lat custom location which is just similar to my regular city

it has an issue closes immediately after i log in to chromedriver in my account and your belgium default Lat Long works but
when i want my Lat and Long in there it closes immediately. Do you know why?

Can you share your code where you set the custom location?


Reduce resource use at end of session

[x] move to local Memcached use in mod_pagespeed configuration
[x] update Memcached URL in settings.inc.php
[x] shut down ElastiCache instance
[x] change URLs in cron to stop using parser.richmondsunlight.com
[x] move s3 downloads sync from parser server cron job to primary server
[x] shut down Parser EC2 instance

Done.


Gesture Recognizer confusion under iOS 8

If you use MSDynamicsDrawerViewController that hosts a UITableView in iOS 8, the swipe to delete cell operation is disabled. I'm guessing that this code:
if ([[otherGestureRecognizer.view nextResponder] isKindOfClass:[UITableViewCell class]] && [otherGestureRecognizer.view isKindOfClass:[UIScrollView class]]) {
    return YES;
}

only works on iOS 7, since the UITableViewCell is never contained in a UIScrollView in iOS 8. Seems to have been under iOS 7.
Any thoughts for a solution to this one?

Thanks! Works well.


Llama 2 sparsity support

Is it possible to exploit unstructured sparsity to accelerate llama 2? Any help is appreciated.

Should others be interested in the same question from @BDHU - copying/pasting response from identical inquiry in our DeepSparse issue queue (https://github.com/neuralmagic/deepsparse/issues/1322):
If you want to be proactively be alerted to when our Llama 2 developments hit, I strongly encourage you and others reading to signup for our newsletter on the bottom right at https://neuralmagic.com/contact/
The traffic is low, I promise! We are very excited to bring these product developments to you!
Best, Jeannie // Neural Magic


v<IP_ADDRESS>

changes
#505 - multi date support

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

3 of 3 (100.0%)  changed or added relevant lines in 1 file are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.02%) to 95.069%

Files with Coverage Reduction
New Missed Lines
%

CourageScores/ClientApp/src/components/division_fixtures/sayg/PlayerInput.js
1
87.29%

Totals

Change from base Build<PHONE_NUMBER>:
-0.02%

Covered Lines:
6665

Relevant Lines:
6785

💛  - Coveralls


Assign a keybinding to ctrl+alt

I'd like the (2) key to perform the same thing as holding down ctrl+alt at the same time. So e.g. 2+a would invoke ctrl+alt+a and 2+v would invoke ctrl+alt+v.
I thought &kp LCTRL(LALT) would get me there, but I get errors (e.g. https://github.com/dusty-phillips/Adv360-Pro-ZMK/actions/runs/12448278325/job/34752691663). I've tried various things with macros and mod-morph, and have caused chatbots to break out in tears. Is there a secret to this behaviour?

Have you tried &kp LC(LALT) ? I'm not sure LCTRL() is a valid key modifier

I had not tried that. I had tried LC(LA), which fails to build. LC(LALT) builds, but when I install the firmware, it doesn't register the ctrl+alt+... keystroke. 😞


Missing void in SmsService leads to PHP Compile Error

The declaration of  public function init() lacks a ": void" which leads to a PHP Compile Error with error message "Declaration of bertoost\mailjet\services\SmsService::init() must be compatible with bertoost\mailjet\services\AbstractService::init(): void"
A possible fix would be to add ": void" to the following line:
https://github.com/bertoost/Craft-3-Mailjet/blob/711061078561f3cc8ed2656fa4aa1aeea93b938e/src/services/SmsService.php#L28
Thanks for your wonderful work on this plugin.

Good catch! It was added in the last update, without checking sub classes.
Will fix is later today. Thanks! 👍

Thank you. Wonderful. Might there be also a chance to review https://github.com/bertoost/Craft-3-Mailjet/pull/2 by the way? Thanks and have a nice day!

Yes. Thanks.

Released soon!


Add a button in the About Us page to navigate back to the Home page

PR Description 📜
I have added the button in about us page to navigate to home page, with CSS
fixed #109

Mark the task you have completed ✅

[ ✅] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[✅ ] I have performed a self-review of my own code or work.
[✅ ] I have commented my code, particularly in hard-to-understand areas.
[✅ ] My changes generates no new warnings.
[✅ ] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
[ ✅] I have added screenshot for review.

## Add your screenshots(Optional) 📸
![image](https://github.com/GameSphere-MultiPlayer/Physi-c-Tech/assets/168854094/78d106d8-9e1c-4a8c-8c85-bd3af01a50a9)

Thank you soo much for contributing to our repository 💗

@TBorundia Add screen recording to the PR description for review.

Uploading Button for navigation.mp4…

@thevirengarg  , Sir why this code is not merged?
https://github.com/GameSphere-MultiPlayer/Physi-c-Tech/assets/168854094/b591026a-d57b-45dd-b8b2-bb4b90e16aef

@thevirengarg Sir why this code is not merged?

@TBorundia Please stop spamming. You are creating unnecessary issues, for which I can't even give you level1 tag. You won't get anything by tagging me again and again.
These are the issue:

Home button is never on right of the page.
Code had conflicts in it.
The designing of the button was not matching the theme.
You didn't provide the screen recording.


Exception Error when i use sleep in my filter

my filter is
filter {
sleep
{
time    => "5"
every   => "10"
}
}
when i run my logstash wiht config file it output me an error, #exception in filterworker stop processing new events, comparison of fixnum with string

A PR for this here: https://github.com/logstash-plugins/logstash-filter-sleep/pull/6

#6 is merged.


Fake DfE Sign-in in development

Use the Omniauth "Developer" strategy to provide a fake DfE Sign in interface so we don't depend on it for development. You can provide a UID and an email of your choosing on Sign-in and the system will act as though those details came back from DSI after a successful authentication.
Double-lock on the feature: it works if and only if an env var is set and we're in development mode. The env var is not added to the Azure config so it will be impossible to enable it in prod.
No test included as Omniauth uses Rack middleware for implementation, the initializer runs before RSpec, and swapping middleware at runtime requires unpleasant contortions. Not a public-facing feature, and if it breaks we'll know about it, so I held off.
https://trello.com/c/6SndwNfI/1241-integrate-provider-interface-with-dfe-sign-in

Good question about provider auditing: we talked about it re DSI and it's to come. Have added a placeholder https://trello.com/c/FhGp8ffU/1277-audit-provider-user-actions


bug in calculation in module and element in module number in helpers

We agreed that the flattened detector ID in a system with one type of modules should be:
flatt_id = module_number * number_of_elements_per_module + element_in_module_number

The corresponding inversion in the python (and c++?) is wrong:
https://github.com/ETSInitiative/PETSIRD/blob/ae3a0484a128f805a2143cc0d010d01557cf902f/python/petsird_helpers.py#L45
It should read:
    num_el_per_module = len(
        scanner_geometry.replicated_modules[0].object.detecting_elements[0].ids
    )

    return [
        ModuleAndElement(module=det // num_el_per_module, el=det % num_el_per_module)
        for det in scanner_det_ids
    ]

Not sure if my "hacky" way of getting the number of elements per module is the most efficient.

This would become more obvious if the number of modules and elements per module would be different in the python generator example.


Add supplierId to audit events in brief responses

We found that it was a real struggle to find brief responses by supplier ID. This capability is useful when we receive inquiries from customers about when a response to a brief was submitted. I've added supplier ID in all three audit events created in the brief_responses view
Before merging this branch I'll squash these two commits together. Ticket

@jonodrew this should be OK to merge now 👍


Could anyone add LaTex syntax highlight?

Could anyone add LaTex syntax highlight?
Thank you very much beforehand.

Sorry, we don't do requests: http://highlightjs.readthedocs.io/en/latest/language-requests.html


Consider preact-layout like approach

See https://download.github.io/preact-layout/docs/getting-started/Usage-guide.html

In fact named complex properties tackle this issue quite well already.


Migrate to new Github Pages deployment (by End of June)

https://docs.github.com/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository

Implemented and done.


Cannot install this plugin on logtash 5.2

Hello,
i'm trying to install this plugin on Centos7.2.

Bundler could not find compatible versions for gem "logstash-core":
  In snapshot (Gemfile.lock):
    logstash-core (= 5.2.0)

  In Gemfile:
    logstash-core-plugin-api (>= 0) java depends on
      logstash-core (= 5.2.0) java

    logstash-input-relp (>= 0) java depends on
      logstash-core (< 2.0.0, >= 1.4.0) java

    logstash-core (>= 0) java

Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.
Bundler could not find compatible versions for gem "logstash":
  In Gemfile:
    logstash-input-relp (>= 0) java depends on
      logstash (< 2.0.0, >= 1.4.0) java
Could not find gem 'logstash (< 2.0.0, >= 1.4.0) java', which is required by gem 'logstash-input-relp (>= 0) java', in any of the sources.

I am having the same issue after upgrading from Logstash 5.1 :(

I'm running into the same issue on both 5.2 and 5.1, at least with the docker images. From what I've read I'm assuming someone just needs to rebuild the gems and upload them to rubygems?

Would like like to see this fixed

I went ahead and converted to using syslogjson instead.

It looks like we updated this plugin's code months ago, but it failed to get published because some tests were failing.
I am looking into this now.

I spent an hour on trying to make the tests pass, but I have so far been unsuccessful. I welcome anyone else's efforts. For now, I cannot focus much more time on this because of preparations for ElasticON and the following week's events.

@jordansissel I've made a PR #19 that fixes the suite, I believe the expectation was wrong in the example. Can you take a look?


[Amplitude] Allow to specify the endpoint url (Standard / EU)

Problem
In order to respect GDPR compliancy, Amplitude has recently created a EU implementation of its platform.
By the way, this new platform is accessible throught a dedicated endpoint

Standard Server	https://api2.amplitude.com/2/httpapi
EU Residency Server	https://api.eu.amplitude.com/2/httpapi

@see : https://www.docs.developers.amplitude.com/analytics/apis/http-v2-api/#endpoints
Solution
Add a select field in the Amplitude setup screen to choose the right endpoint, with a default value matching the "Standard Server".

Fixed in v1.42.5


update GitHub routines in contribution guide

The "GitHub routines" section should ideally also list rules similar to those we worked out for the teaching materials.

discussed as not a good idea