Help and example project

Hello !
Looking through the documentation and examples I didn't got a good picture to how use "colm/ragel" in a practical project.
I have this project doing what seems to be a good fit for "colm" https://github.com/mingodad/ljs/tree/master/lua2ljs it actually uses re2c and sqlite3/lemon to rewrite LUA code to LJS code (mainly a javascript like syntax), actually it do it correctly on most codebases, requiring minimal hand adjusts on a few cases.
Ideally I would like to have it both ways LUA->LJS and LJS->LUA if someone with more experience with "colm" could help implement at least LUA->LJS in colm I would try make the LJS->LUA after that, I think that it could be a good complete useful example and would attract more users to "colm".
Cheers !

Yes it does sound like a great project. Where does sqlite3 come in?

hi @adriant, I think he means the Lemon parser generator which is part of the sqlite project. Lemon is a yacc-style LALR(1) parser generator with zero dependencies, as far as I know. I'm appreciating such a project, too.

Hello !
Sorry by not explaining properly in the first place !
But Jan (phorward) got it.
Cheers !

Oh haha, I should have made that connection!
The first step is to make a grammar for Lua. You should be able to use the lua grammar mostly as is. The exception would  be the expression part. Colm doesn't have working left/right associative declarations. There needs to be some work on that ... making it correct in the context of backtracking has always been a challenge. Possibly I wasn't seeing the solution clearly, or it's actually hard. In any case it needs some work and you can't currently use it.

Hello Adrian !
Thank you for your answer, and based on it now I can guess why "colm" do not have a wider usage.
By the way you are aware of http://codeworker.free.fr/ it seems to try do the same as "colm" but seems abandoned.
Cheers !

Thank you for your answer, and based on it now I can guess why "colm" do not have a wider usage.

Please note, that Colm's advantage is that it's both generalized and has a very tight and fast implementation due to the backtracking LR algorithm. The disadvantage is that you partly have to rewrite your grammar to fit into these needs.

Hello Jan !
Thank you for reply !
Knowing the problematic parts of the general programming language grammars like the "expressions" would be possible to have those grammar blocks as a library that could be reused and have the names (non terminals, terminals) aliased to match the end user grammar ?
The libmarpa project (https://github.com/jeffreykegler/libmarpa) also try to solve this problem but fail to attract users I suspect due to the same problems "colm" has.
Both project have already several years but when we try to use then we get a feeling that they are not finished and ready for end users.
Cheers !

Hey @mingodad,
surely, many languages share the same expressional syntax and could be generalized as some kind of library. Anyway, every language has its specialities, and operator precedence behaviors.
Python, for example, has a ** b as operator for power, with a precedence between a primary value (a, a.b for example) but C or Rust implement a function pow() for that. Therefore, you cannot generalize this for all languages out there, except basic mathematic expressions, and you need some possibility to "override" grammar elements entirely, to "plug-in" your custom syntax.
Again, it will be a lot of work to do. But good examples are always welcome. Why not built this Lua grammar and serve it as useful sample to adapt other grammars for Colm from it?

Hello Jan !
That's why I proposed it in the first place.
But as I stated before my knowledge of "colm" doesn't seem enough, I'm providing an already working example and was willing to compare it with a "colm" version to see the difference in terms of lines/complexity of code.
And LUA because it has a small and simple syntax.
Cheers !

Hi @mingodad, with regards to general purpose library for parsing expressions, I agree with @phorward, there are too many subtle differences between languages that it doesn't make sense to try and create one library to parse them all.
Note that the Lua language can be handled easily by expanding the expression grammar into multiple levels.

expr -> expr = term
expr -> term

term -> term + factor
term -> factor

factor -> factor * primary
factor -> primary

primary -> id
primary -> ( expression )

It's true that using one level combined with precedence declarations is convenient, not only because it reduces the number of productions, but also because it can produce a homogeneous tree type.
For these reasons I'd like to support it in colm. I have started actually, but it doesn't currently work. The precedence tokens effectively decide which shift/reduce action to take when there are multiple possibilities, whereas the colm engine already has an algorithm covering this. It orders them and tries them all, via backtracking. So precedence tokens somehow need to override the colm algorithm, without disrupting the backtracking. There are some issues around it that I don't understand and that's what needs to be figured out.


Reindexing records doesn't discard old records which no longer are returned by SQL

We have an issue where when we reindex (we reindex the complete data and not the diff from the last update) the data from SQL, the records which are not returned from the SQL dont get deleted. We would want that the records not returned by the SQL to be removed from the ES index.
Any suggestions on how to go about this?

For a large number of docs, use timestamped indices for reindexing and drop previous indices.
For a small number of docs, the idea is a table of the IDs to be deleted. Then select from that table and execute a select with a column _optype = 'delete'. Maintenance of that extra table is task for the DBA.

What are the possible _optype we can use? I can may be use _optype = 'delete' if the status of the record is deleted or _optype = 'someother_valid_optype' if record is not deleted.

You can use _optype=index, _optype=create, _optype=delete, _optype=update
It maps to https://github.com/elastic/elasticsearch/blob/master/core/src/main/java/org/elasticsearch/action/DocWriteRequest.java#L113-L127


Permit swap value style assignment

Allow programmers to write assignment statements like a, b := b, a to swap a and b without a temporary variable

Fixed in commit c33366b


[Bugfix] Adjusting issue #11727 from Ember.js that is relation related with htmlbars.

Hello,
I'm correcting the bug #11727 from Ember.js that is related with HTMLBars. The bug happens when a component is created using angle brackets and a property receive a value as a boolean. The HTMLBars is not treating this value as a boolean.

@rodrigo-morais this would bend some rules about trying to match HTML semantics pretty hard. I believe we suggest users do <a-component foo={{true}}> or <a-component foo={{false}}> in these cases.
Thank you for taking the time to open this PR, and please let me know if I've missed anything.


[Event Request] Codeunit 408 "DimensionManagement" TypeToTableID3

Could an event be added to the TypeToTableID3 function in DimensionManagement codeunit.  With Enums and Interfaces it is now possible to extend the "Type" field on Sales/Purchase lines bit we also need the ability to set dimensions from the new table associated with the new enum value.  To be able to do this we need an event in this function.
In fact all the TypeToTableID? functions should be extended to have an event added.  An else should be added to the case statements as follows...
  else begin
        OnTypeToTableID3(Type, var TableID);
        exit(TableID);
  end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


How to extract stream URL without API?

Hi, I'd like to obtain the stream URL by using the CLI interface, and without the API as documented here (http://docs.livestreamer.io/api_guide.html#extracting-streams).
Are there any arguments to do this via CLI without creating a Python script?
My main goal is to simply get the .m3u8 URL of a quality I've requested, and not play it with a player.

Use https://github.com/streamlink/streamlink/ mah friend

Found the solution
livestreamer --stream-url twitch.tv/channel_name audio_only


Fix launcher shortcuts for note creation (#78)

This pull request mainly consists of two things:

The use of a semaphore to allow for signalling between the two involved coroutines. This resolves the race condition.
Some refactoring so that notes are always created the same way, whether from launcher shortcuts or from within the application. This resolves another visual bug. Previously you could see a blank note appear and instantly disappear after creating a note without any content from the launcher shortcuts. All logic related to creating notes is now in EditViewModel.kt, which seems coherent to me.

Thanks for the help, I'll merge your PRs at some time this week.


fsi reference order matter

scenario
User has a working project, and try to run some part in fsi, so:

send the references to fsi, correctly
evaluate some code => error

stdin(7,5): error FS0074: The type referenced through '<SomeClass>' is defined in an assembly that is not referenced. You must add a reference to assembly '<Assembly1>'.

but  was already sent to fsi and referenced correctly.
The error happen if:

exists Assembly1 and Assembly2
Assembly2 depend on Assembly1
the Assembly2 is #r'd before Assembly1 . both #r are correct. (--> Referenced 'Assembly' (file may be locked by F# Interactive process) )

Repro
based on detailed repro of @chanjunweimy in https://github.com/ionide/ionide-vscode-fsharp/issues/539

clone https://github.com/chanjunweimy/fsi-issue
restore it

#r @"<path_to>\mathnet.numerics.fsharp\3.20.0\lib\net40\MathNet.Numerics.FSharp.dll"
#r @"<path_to>\mathnet.numerics\3.20.0\lib\net40\MathNet.Numerics.dll"

if i try to
open MathNet.Numerics.LinearAlgebra;

let MatrixToRowSeqSeq matrix1 =
    Matrix.toRowArrays matrix1
    |> Array.map Array.toSeq
    |> Array.toSeq

then fails.
If i invert the order or loading, so first MathNet.Numerics.dll and after MathNet.Numerics.FSharp.dll it succed.
As a note, fsc with same order build correctly

@enricosada this is by design.
FSI is really quite lazy about assembly references and tries very hard to delay going and getting them.
I tried quite hard to reproduce tour issue, and it was harder than I thought however, this is what I did.
Create 2 assemblies A and B
B has a dependency on A and 2 apis, one which uses the dependency, and one which does not.
Then I referenced B
used the API that referenced A .. it failed with a type load.
referenced A
used the API that referenced A .. it still failed with a type load.
Then I reset the FSI session
Then I referenced B
used the API that doesnot reference A .. it worked
referenced A
used the API that referenced A .. it worked.
This shows that the failure is caused because FSI, remembers resolved assemblies, and caches them.  But does not resolve assemblies unless it has to.
so:
#R B
#R A
should always work unless FSI has already tried and failed to resolve B.
I suppose we could do some work to re-resolve assemblies in this situation.
What do you think?

@KevinRansom @enricosada  I don't see any specific why this should fail - both #r are known to FSI, we should be able to resolve these assemblies correctly.

hi,
what is the state of this matter? I have not seen this problem for a long time but now it popped up again. Getting the order right in, say paket generated load scripts is rather time consuming ;)
If there is no solution possible from fsi side, we could at least create a tool which automatically finds out the correct ordering.

I think this is greatly alleviated by #r nuget:, since that will correctly reference transitive dependencies.

ok. when will #r nuget: arrive? is this the associated issue? https://github.com/fsharp/fslang-suggestions/issues/542

.NET 5/F# 5 is when it'll ship, though it's already available in the .NET Kernel: https://github.com/dotnet/try/blob/master/NotebooksOnBinder.md
In fact I'd encourage moving away from FSI entirely and using the notebooks experience for interactive scripting since it's so much more powerful

in fact i was exactly working on notebooks and went away from official dotnet f# to IfSharp since i got weired input.fsx (7,6)-(7,29) typecheck error The type referenced through .... errors. i thought ok - maybe this is to "new" ;). arrived at lfSharp i was facing fsi troubles :D


Tune 2020 Corolla safetyParam

Description Update CAR.COROLLA_TSS2 and CAR.COROLLAH_TSS2 safetyParam to 50 from 73; the graphs of STEER_TORQUE_EPS and STEER_TORQUE_CMD now are more aligned in Cabana.
Verification Drove on it, was able to take tighter corners better and had better lat handling overall.
Route
https://my.comma.ai/cabana/?route=095142f13f39faf9|2020-10-05--20-28-12&url=https%3A%2F%2Fchffrprivate-vzn.azureedge.net%2Fchffrprivate3%2Fv2%2F095142f13f39faf9%2Fb124bd99af11fdd95cacd23186bd34bb_2020-10-05--20-28-12&seekTime=5
https://my.comma.ai/cabana/?route=095142f13f39faf9|2020-10-06--05-05-49&url=https%3A%2F%2Fchffrprivate-vzn.azureedge.net%2Fchffrprivate3%2Fv2%2F095142f13f39faf9%2F2b5f78b0092ddba311935c5c3c80f93a_2020-10-06--05-05-49&seekTime=102
Before and after photos:

Honestly 55 seems closer https://prnt.sc/upgvfy

Do you have a comparison for that graph with 50? When I looked at mine, it seems like 55 is just a little bit too big. If you look at the top of the peaks 55 looks further off than 50.
Top to bottom: 55, 50

I made a indi tune for 2020 corolla LE on safetyparam 73 and it has no ping pong and the lateral is the smoothest and most accurate it has ever been. I have driven 42k miles in 11 months and tested hundred of values of all types including pidf with 4 BPs each value and indi with outerBP. When i tested my tune on safetyparam 55 it ruined it and it caused understeer and sway out of lane. Therefore, changing the safetyparam will result in each tss2 car to need to be dramatically retuned. I attempted to retune for 55 and tried around 100 variations so far but 55 caused lateral to degrade so much i have not been able to tune it. It takes months to find the right tune and I found it on 73, not 55, I recommend staying at safetyparam 73, unless OP has autotuning for pif and indi. Changing it to 55 while using a old tune is dangerous because it causes lateral behavior to degrade dramatically. Sorry i want to support this idea but i had to share my experience because i was so sad that 55 ruined my "flawless" tune on 73. I am reverting to 73 for life, unless there is autotuning.

After looking at your commits it seems like you did not edit the opendbc file line 410. When i changed the interface alone it had no effect on the drive. When i did tests on 55 yesterday i changed the safetyparam in the interface and in the opendbc file and then i could feel a huge difference but it made it worse and more dangerous because of increased sway and understeer.

Make sure you guys zoom in on smaller sections of the graph to allow for greater fine tuning. The lines in Cabana are just too thick to tune it based on 3 minutes graphed. If you do something like one peak and one trough you can get it dialed in better.

@SCshredder17 I did make the change in opendbc but I made a new dbc file for the 2020 corolla only. The PR for that is here.


Config file isn't properly maked

i launched the game and there is no config fiiles

should be fixed by merging https://github.com/Mysticpasta1/Entity-Chunk-Cram-Fix/pull/3


flights filtered per va

Pilots now see only their company's flights.

Sorry to be nitpicky, but no tabs, please. Indent with 4 spaces.
Also, create a new setting in the settings migration file, after 'pilots.only_flights_from_current:
        $this->addSetting('pilots.restrict_to_company', [
            'name'        => 'Restrict the flights to company',
            'group'       => 'pilots',
            'value'       => false,
            'type'        => 'boolean',
            'description' => 'Restrict flights to the user\'s airline',
        ]);

And check it before adding it to the where:
if(setting('pilots.restrict_to_company')) {
    $where['airline_id'] = Auth::user()->airline_id;
}

Leave the translations out for now, for the settings.

A test should also be added for this, in the ApiTest.php file, one that's with the setting enabled and one with it enabled. But I can do that later.

And just check with me first before adding features or whatever, I have a very specific way for implementation of a lot of them, or I have them completed already. This is an example of one I've already got done, but not pushed up yet... because there are changes to the API layer, along with in the settings as well.

Looks good, also needs to be done in app/Http/Controllers/Api/FlightController.php

All done my lord ;) Now i must go to work, leave me an email at<EMAIL_ADDRESS>if you want me to do something special, or i'll wait for your commit on translation to go forward with the admin panel translation.

Forgot to say: the menu icon on mobile devices still doesn't work and i have no clue on what to do to fix it...

Yeah I have to look at that. Merged, thanks!!


Limit amount of categories shown by default on the game page

The categories on the game pages look VERY cluttered now if there are many of them.
Limit the amount of categories that are shown by default.

See: #244


Creating field with zfp compression is difficult

The user has go through scales adding the compression method, tolerance, and the correlated fields for each scale. This is an esoteric piece of knowledge that not all users share, and is also operationally annoying to execute

I'm actually running into this issue now :sweat_smile: . Maybe could be a subclass of build_cv_layer

Yeah thats not a bad idea, like a wrapper around build_cv_layer. Another option is to add an argument to precomputed spec for fields that should be added/overwritten to all scales

This is made easier with info_add_scales. Example code for adding a range of scales, though I guess setting tolerances and correlated dims remain a dark art:
dst: {
        "@type": "build_cv_layer"
        path:    _
        info_add_scales_ref: {
            "resolution": #IMG_RES,
            "size": #IMG_SIZE,
            "chunk_sizes": _ | *[[2048, 2048, 1]],
            "encoding": "zfpc",
            "voxel_offset": _ | *[0, 0, 0]
            "zfpc_correlated_dims": [true, true, false, false],
            "zfpc_tolerance": 0.015625,
        }
        info_add_scales: [
            for xy in [32, 64, 128, 256, 512, 1024, 2048, 4096] {
                [xy, xy, #IMG_RES[2]]
            }
        ]
        info_field_overrides: {
            "type": "image",
            "data_type": "float32",
            "num_channels": 2,
        }
        on_info_exists: "overwrite"
    }


Windows Server support

Are there any plans to support MSIX on server Windows OSes?

Oops, please remove the "bug" label that I accidentally added. This is a feature request, not a bug report.

Is the request to support MSIX via OS based deployment APIs, or to support it via this cross-platform SDK?

I meant out-of-box support for installing MSIX packages on Windows Server 2019 the same way as it is currently supported on client Windows OSes. Or at least after installing MSIX Core.

Yes, for MSIX core,  specify MSIXCore.Server in the manifest and it should deploy on Server.

Windows Server with a GUI is supported with the correct manifest entries.

Thanks, I didn't know it is already supported. It would be nice if it was mentioned on MSIX or MSIX Core page.


cwchar

[Enter feedback here]

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

ID: 48e441cf-541f-f1ca-d680-6107c36aa980
Version Independent ID: 3c1c9355-ccdb-2d7b-d25f-03590211988e
Content: <cwchar>
Content Source: docs/standard-library/cwchar.md
Product: visual-cpp
Technology: cpp-standard-libraries
GitHub Login: @TylerMSFT
Microsoft Alias: twhitney

@fernandoammmmmm
There doesn't seem to be an actionable issue here, so I'm closing it. If you'd like to explain the issue you found with the cwchar documentation, we can reopen the issue.


Seeing error w/ indicator w/ a pattern

With the attached file, I see:
[X] Fatal Error: expected string or buffer
It appears that it is trying to parse/understand the pattern, but it fails.
test.txt
This is at 63a339b75caf65b7ec4e13d13f073f5b4a29b60b.
A previous version of the validator was known to work properly on a similar indicator w/ a pattern.  I don't remember what version that was.

Thank you @jmgnc! This is a bug introduced by changes in the pattern validator, specifically this commit. A fix is in the works.


[PoC] Use GitHub artifacts for ci

Since https://github.com/libsdl-org/SDL/pull/7113, libsdl-org/SDL provides binary SDL3 artifacts.
This PR is a proof of concept to use these instead of (currently) non-existing SDL3 system packages.
The issues with this approach are:

I'm not 100% sure the SDL3 artifact comes from the main branch (it does not filter out pr's etc)
This uses the GitHub REST api which has usage constraints. If a lot of network traffic happens, action can be temporarily blocked.
The GitHub action should be moved to some central place because this is also useful for the other satellite libraries.

Ideally, we provide a rolling SDL3 release somewhere on a dedicated repo. e.g. at libsdl-org/setup-sdl

@icculus, instead of storing binary artifacts on GitHub, can we add a workflow to store them on libsdl.org?

Maybe we can kick off a job via URL on the website on a successful CI run to sync and build there?

There is already a webhook we can use to notify our server of successful CI builds, fwiw, but I need to reread this PR like three more times to understand what we're doing here.  :)


Symbol files: Additional information

I suggest to add hints inside the symbol files about the type of symbol
*ZP
PTR @ $10
*ABS
LPTR @ $12
*CONST8
NL @ 10
*CONST16
CR @ 13
*CODE
PRINTF @ $f000
=> lda #13 will not be disassemble as lda #CR but rather lda #<CR

Stuff like lda #13 is tough to do well; in a larger project there may be multiple things that match.  It could be part of a 16-bit address, it could be one of a number of constants.  We want to automate as much as possible, but if we go overboard then people will spend all their time undoing things that aren't right, or won't notice that the code is wrong and will wonder why things get all wacky when they modify the assembly output.  This is why constants (i.e. CR = 13 rather than CR @ 13) are not applied automatically.
We could have an IntelliSense-style suggestion mechanism that would auto-fill known constants on request, or maybe generate a pop-up menu with a list of matching constant values that you could pick from.  We could also have a project-level, "seriously, 13 is always CR" type of thing; if you do it in the per-project symbols it's a choice you're clearly making, not a choice you're importing.
Yet another option is to define a standard set of ASCII control constants (CR, LF) that are universally available, and output those when the operand format is set to ASCII.

Moved to https://github.com/fadden/6502bench/wiki/TO-DO-List


Gracefully handle failure in nkpacket_transport_tcp:start_link

If a new connection fails to start for whatever reason, without this catch, it will tear down the entire service, including all other established connections.

Hi, thank you. I think it make sense. Could you please send it again against last version to avoid conflicts? I am not using this code now.


undefined: "github.com/pulumi/pulumi-kubernetes/sdk/v3/go/kubernetes/core/v1".TolerationPtrInput

What happened?
It is not possible to create the NGINX controller with this package in Go,
because every time when you try to run pulumi up you will got the error:
undefined: "github.com/pulumi/pulumi-kubernetes/sdk/v3/go/kubernetes/core/v1".TolerationPtrInput
Steps to reproduce
To reproduce this bug you can just do:
$ mkdir myproject && cd myproject
$ pulumi new go
$ pulumi up
Add some new code in main.go
package main

import (
	"github.com/pulumi/pulumi-kubernetes-ingress-nginx/sdk/go/kubernetes-ingress-nginx"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := kubernetesingressnginx.NewIngressController(ctx, "test", &kubernetesingressnginx.IngressControllerArgs{
			Controller: &kubernetesingressnginx.ControllerArgs{
				PublishService: &kubernetesingressnginx.ControllerPublishServiceArgs{
					Enabled: pulumi.BoolPtr(true),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

And after that just run:
$ pulumi up
Expected Behavior
The expected behavior is to compile the Go program without
any error and after that to deploy the new NGINX ingress pods.
Actual Behavior
Actual Behavior leads into a compilation error that is described
above.
Versions used
go 1.17

require (
	github.com/pulumi/pulumi-kubernetes-ingress-nginx v0.0.6
	github.com/pulumi/pulumi/sdk/v3 v3.35.3
)

Additional context
Here are the errors:
pulumiTypes.go#L1745
pulumiTypes.go#L2115
pulumiTypes.go#L2116
pulumiTypes.go#L2735
pulumiTypes.go#L2741
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

@stack72  - I think the problem was not solved because the builds are falling.


Adding vector forecasting API + examples

Hello sktimers
Is your feature request related to a problem? Please describe.
Currently it seems there is no native solution to, given a sliding window N x T, make predictions that at each time step provide N values (vector forecasting). At least I could not find it.
Describe the solution you'd like
I think we could include a native way to work with models that allow input matrices and output vectors.
Describe alternatives you've considered
A possible hack could be to have a single regressor for each of features in the multidimensional timeseries and join the outputs. Nevertheless, this does not take into account any correlation between the different input feature and output features.
I am willing to help, and moreover, we could try to think for a high level abstraction that could also be applied to MLJTime.

Hi @davidbp, vector forecasting raises some interesting design questions and I think it's a good idea to start with an enhancement proposal (a design sketch). Feel free to open a PR there and link it here!
It's important to think about classical forecasting (currently implemented), vector forecasting (predict multiple related series) and supervised forecasting (predict multiple independent series) and how we want to distinguish them. I'd start by taking a look at the previous proposal for forecasting and some existing APIs (e.g. gluon-ts, pyflux and pysf).

I have added a small  enchancement proposal with the only two data containers that seem sensible for vector forecasting. I would like your thoughts before continuing in any direction.


The property transform-box is missing.

https://developer.mozilla.org/en-US/docs/Web/CSS/transform-box

These changes will be reflected on the main branch of the stylers crate until we release new version.


[Installation Status Updater] Option to disable notifications

Extension name
Installation Status Updater
Feature Description
Version 2.18 of Installation Status Updater made it so that the extension shows a notification every time your library is updated. I don't know if it would be possible to have the option to disable these notifications, because I would rather not have them pop up.
Thanks in advance!
Screenshots
No response

This notification only shows if there are changes made to games installation statuses. For example:

If there aren't changes it is not shown so this means there are changes during execution after you update your library right? If that's the case, it is intended and its purpose is so people can know that the extension modified the installation status of games because it has already happened a few times that people ask for support for Playnite because their games are changing installation statuses and they don't know the extension did it.

If there aren't changes it is not shown so this means there are changes during execution after you update your library right?

You're right, I didn't express myself correctly.

If that's the case, it is intended

I understand this; I just wanted to know if there was a way of disabling these notifications, because I unplug and replug a hard drive with games really often, and dismissing the notification every time (when I know exactly what is happening) is a bit annoying.
No big deal if they can't be disabled though, this is very much a nitpick on my behalf.

I don't like the idea of having an option to disable this behavior. It has been an issue several times that people need support and don't realize the extension did this but I've added a secret way to disable notifications. Create a file named DisableNotifications (without extension) in the plugin data directory

Works like a charm, thank you so much!


Feature Request: minRailLength

Hi,
First of all, thanks for this library, it really is close to being perfect!
This is related to #889 and #848.
I would like to request a configurable option minRailLength.
Please consider we are using perfect-scrollbar in potentially really large lists. Currently, the scrollbar 'rail' is really small in these lists. I would like to be able to provide minRailLength: 100 to make the rail minimum 100px high.
This currently doesn't seem to be possible.
I have provided an example jsfiddle. I hope this illustrates the problem.
Real world example (seeded with dummy data):

[x] Check FAQ and Caveats
[x] Search if there's already one reported in Issues
[x] Prepare a JSFiddle reproducing the issue

perfect-scrollbar JSFiddle

[x] Provide a page or source code where the issue can be checked

On quick glance it seems like maybe we can add this logic here:
https://github.com/mdbootstrap/perfect-scrollbar/blob/master/src/update-geometry.js#L56
@mattonit I saw you updated the logic there a few weeks ago.
Can you confirm this is where the code would need an update and would you accept a PR for it ?
Thanks!


Mod will cause desyncs in MP

Need to use the global.table to save the state, (preferably indexed by user)

Odd. I was using it with my friend and had no such issues.
On 4 Jan 2017 4:59 AM, "Nicholas Dunn"<EMAIL_ADDRESS>wrote:

Need to use the global.table to save the state, (preferably indexed by
user)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/lf-/slowkey/issues/1, or mute the thread
https://github.com/notifications/unsubscribe-auth/AGWDqMrwlnACFwalyNj-gtgHHKOaM9fbks5rO3uFgaJpZM4Lagjs
.

Using / changing / recalling variables that are not saved to the global table can cause this error.

Also the variable should be saved in such a way that it only affects the player that toggled it.  In fact give me a few minutes


Autocomplete

Background:
We will be creating designs for 2 types of autocomplete:
Combo box:

Combo box is a variation of a drop-down
User can narrow pre-defined values.
The value must be chosen from a predefined set of allowed values.

"Free solo" (Creatable autocomplete):

Can be a text input or a dropdown.
User can select from a predefined set of allowed values,
user can narrow pre-defined values.
user is able to add a new option that does not exist in the set of allowed value

As a: Full stack developer
I want: Use the "Autocomplete" from the UI library
so that: I can spend more time creating features or capabilities that will provide value to my users and stakeholders
Acceptance criteria

[x] Layout design of the Storybook documentation page for auto complete
[x] Autocomplete will be a new page of the documentation in "Patterns"
[ ] Component built in Figma in laid out on page using new format

[ ] Component reviewed by one other platform designer

[ ] Documentation page built in Figma using new format as seen here

Presentable outcomes

[ ] I can show the ui-component in Storybook and provide the link to service teams so that they can view the component for themselves

Sprint Ready Checklist

Acceptance criteria defined
Team has defined steps to satisfy acceptance criteria
Acceptance criteria is verifiable / testable
External / 3rd Party dependencies identified

Resources
Mockups: Autocomplete design pattern
Design review 1:

[ ] Please see the contextual comments in Figma

Hey @Saul-png Looks good I have a few comments for you to take a look at, Thanks!

Hey @Saul-png Looks good I have a few comments for you to take a look at, Thanks!

I'll check it out!

Hey @Saul-png I reviewed and closed the comments that we had for the documentation. I think there are still a few outstanding items to address for this story to be complete though. We would need to add on to the Figma design component library with these components. We also need to move these guidelines to the patterns file and publish them to the library as well.

Waiting for the completion of the combo-box dropdown component to add to this pattern.


Upgrade to OpenSSL 1.0.2g

Uf, it failed due to Rubinius 3.16. They probably changed the packaged so the checksum is invalid :(

They probably changed the package so the checksum is invalid now :(

:( Can you update its checksum?

@hsbt done :)

Hello, I apologize but can this PR be merged, please? /cc @mislav


[KYUUBI #4274] [FOLLOWUP] increase concurrency for mvnd in ci jobs

Why are the changes needed?

concurrent execution and smart builder is shipped with mvnd, but the CI log shows they are not activated
increase maximum degree of concurrency and utilize SmartBuilder feature in mvnd

Before:
(https://github.com/apache/kyuubi/actions/runs/4276652363/jobs/7444896450#step:6:64)
[INFO] Build maximum degree of concurrency is 1

After:
(https://github.com/apache/kyuubi/actions/runs/4279322563/jobs/7449912132#step:8:64)
[INFO] Using the SmartBuilder implementation with a thread count of 4
[INFO] Build maximum degree of concurrency is 4

(https://github.com/apache/kyuubi/actions/runs/4279322563/jobs/7449912132#step:8:553)
[INFO] Segment walltime 13 s, segment projects service time 36 s, effective/maximum degree of concurrency 2.63/4

How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[ ] Run test locally before make a pull request

Codecov Report

Merging #4420 (d60ebd0) into master (15a83e1) will decrease coverage by 0.01%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #4420      +/-   ##
============================================
- Coverage     53.14%   53.13%   -0.01%
  Complexity       13       13
============================================
  Files           564      569       +5
  Lines         30978    31055      +77
  Branches       4170     4194      +24
============================================
+ Hits          16463    16501      +38
- Misses        12972    12995      +23
- Partials       1543     1559      +16

Impacted Files
Coverage Δ

...client/exception/RetryableKyuubiRestException.java
0.00% <0.00%> (-100.00%)
:arrow_down:

.../org/apache/kyuubi/client/RetryableRestClient.java
48.78% <0.00%> (-24.40%)
:arrow_down:

...ache/kyuubi/plugin/spark/authz/serde/package.scala
65.62% <0.00%> (-18.75%)
:arrow_down:

.../authentication/EngineSecuritySecretProvider.scala
84.61% <0.00%> (-15.39%)
:arrow_down:

...in/spark/authz/ranger/SparkRangerAdminPlugin.scala
64.47% <0.00%> (-2.64%)
:arrow_down:

...main/java/org/apache/kyuubi/client/RestClient.java
83.11% <0.00%> (-2.60%)
:arrow_down:

...rg/apache/kyuubi/ctl/cmd/log/LogBatchCommand.scala
59.09% <0.00%> (-1.52%)
:arrow_down:

...mon/src/main/scala/org/apache/kyuubi/Logging.scala
41.25% <0.00%> (-1.25%)
:arrow_down:

...in/scala/org/apache/kyuubi/config/KyuubiConf.scala
97.30% <0.00%> (-0.18%)
:arrow_down:

...apache/kyuubi/engine/JpsApplicationOperation.scala
77.41% <0.00%> (ø)

... and 14 more

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

Although  mvnd does have output buffering for handling concurrent build in projects on multi-threads, the terminal of Github actions is still recognized as dumb type (see https://github.com/apache/maven-mvnd/blob/0.9.0/common/src/main/java/org/mvndaemon/mvnd/common/logging/TerminalOutput.java#L393) in mvnd and thenoBuffering option is forced to be enabled. Thus, it causes continuous mixed outputs from different projects and makes the logs less readable and readable.

So, I would like to make mvnd quite mode for less verbose in dependency check and style checks.

Thanks, merged to master.


About numpy warning in the new version

Thank you for the wonderful package
When I was using the new version of the program to do dmrg the following numpy warning appears at least a dozen times

C:\Software\Anaconda3\tenpy\linalg\np_conserved.py:2425: FutureWarning: Using a non-tuple sequence for multidimensional indexing is deprecated; use arr[tuple(seq)] instead of arr[seq]. In the future this will be interpreted as an array index, arr[np.array(seq)], which will result either in an error or a different result.
new_block = old_block[block_slice].reshape(new_block_shape)
.

I have checked the source code and I think it can at least be fixed by a simple for loop to avoid the annoying warning.

I haven't been using the pure python version of np_conserved in a while, so I didn't notice that warning.
The commit referenced above should remove the warning, at least at that position/linenumber.
Please tell me whether you still get this warning after updating to the latest git version; hopefully I can close this issue afterwards. I wish everything would be that easy to fix....

Thank you very much for the fix
However, when I use python setup.py build_ext --inplace to generate C code this time, I get the following mysterious traceback:

Traceback (most recent call last):
File "c:/My Programs/My DMRG/MainX.py", line 62, in
resultslist, psilist, Wlist, qlist = dmrg_run_2d(Lx, Ly, l, dmrg_params)
File "c:/My Programs/My DMRG/MainX.py", line 47, in dmrg_run_2d
results = dmrg.run(psi, M, dmrg_params)
File "C:\Software\Anaconda3\lib\site-packages\tenpy\algorithms\dmrg.py", line 166, in run
engine = Engine_class(psi, model, DMRG_params)
File "C:\Software\Anaconda3\lib\site-packages\tenpy\algorithms\dmrg.py", line 287, in init
self.init_env(model)
File "C:\Software\Anaconda3\lib\site-packages\tenpy\algorithms\dmrg.py", line 346, in init_env
self.environment_sweeps(start_env)
File "C:\Software\Anaconda3\lib\site-packages\tenpy\algorithms\dmrg.py", line 535, in environment_sweeps
self.sweep(optimize=False)
File "C:\Software\Anaconda3\lib\site-packages\tenpy\algorithms\dmrg.py", line 584, in sweep
i0, upd_env[0], upd_env[1], optimize=optimize, meas_E_trunc=meas_E_trunc)
File "C:\Software\Anaconda3\lib\site-packages\tenpy\algorithms\dmrg.py", line 651, in update_bond
self.set_B(i0, U, S, VH)
File "C:\Software\Anaconda3\lib\site-packages\tenpy\algorithms\dmrg.py", line 960, in set_B
B0 = U.split_legs(['(vL.p0)']).replace_label('p0', 'p')
File "tenpy\linalg\np_conserved.pyx", line 1310, in tenpy.linalg.np_conserved.Array.split_legs
File "tenpy\linalg\np_conserved.pyx", line 2425, in tenpy.linalg.np_conserved.Array._split_legs_worker
ValueError: Buffer dtype mismatch, expected 'intp_t' but got 'long'
C:\Software\Anaconda3\lib\site-packages\tenpy\tools\params.py:115: UserWarning: unused parameters for DMRG lanczos_params:
['E_tol', 'P_tol', 'min_gap']
warnings.warn(msg.format(keys=sorted(unused), descr=warn))
C:\Software\Anaconda3\lib\site-packages\tenpy\tools\params.py:115: UserWarning: unused parameters for DMRG:
['max_E_err', 'max_S_err', 'max_hours', 'mixer']
warnings.warn(msg.format(keys=sorted(unused), descr=warn))

What is the meaning of this and how should I fix it?

Thank you again for the fix! It does work well on my linux clustter
I guess the problem is the environment of my windows laptop. I am closing the issue now, but I do hope you can explain what I should do to avoid the traceback on the Windows.

BTW, many people are reporting similar dtype mismatch problem on Windows, their fix is to import some more datatype, but I do not understand what to do to be specific

It seems to be a problem of converting between 32-bit and 64-bit integers.
Anaconda offers a 64-bit and 32-bit Installer for Windows. Which one did you choose?
Do you have a 64-bit windows?
What's the output of the following snippet?
import tenpy
import numpy as np
print(tenpy.__full_version__)
print(np.int, np.long, np.longlong, np.intp, np.int_)
print(np.sort([3, 1]).dtype, np.array(range(3)).dtype)

This is the result:

v0.3.0 git unknown using python 3.6.6 |Anaconda, Inc.| (default, Jun 28 2018, 11:27:44) [MSC v.1900 64 bit (AMD64)] with numpy 1.15.2, scipy 1.1.0
<class 'int'> <class 'int'> <class 'numpy.int64'> <class 'numpy.int64'> <class 'numpy.int32'>
int32 int32

I have a 64-bit Windows and I believe I use 64-bit installer as well for Windows as you can see above. I agree that this is indeed a conversion problem.


validate_length/3 for lists

validate_length/3 only supports strings at the moment, but i needed to validate the length of a list and after searching for a validator for this, i ended up extending Ecto with this functionality.
changeset = changeset(%{"topics" => ["Politics"]}) |> validate_length(:topics, min: 1)
changeset.valid? # true
changeset.errors # []

changeset = changeset(%{"topics" => []}) |> validate_length(:topics, min: 1)
changeset.valid? # false
changeset.errors # [topics:{"should have at least %{count} items", count: 1}]

changeset = changeset(%{"topics" => ["Politics", "Economy"]}) |> validate_length(:topics, max: 1)
changeset.valid? # false
changeset.errors # [topics:{"should have at most %{count} items", count: 1}]

changeset = changeset(%{"topics" => ["Politics", "Economy"]}) |> validate_length(:topics, is: 1)
changeset.valid? # false
changeset.errors # [topics:{"should have %{count} items", count: 1}]

This functionality is quite useful if you have arrays in your model:
schema "posts" do
  field :title
  field :body
  field :uuid, :binary_id
  field :decimal, :decimal
  field :upvotes, :integer, default: 0
  field :topics, {:array, :string}                 # <----
  field :published_at, Ecto.DateTime
  has_many :comments, Ecto.ChangesetTest.Comment
  has_one :comment, Ecto.ChangesetTest.Comment
end

Thank you. I am torn between providing a new function or reusing this one. I am inclined towards the latter just because I cannot come up with a decent name for the a new function. :)

@josevalim I think validate_length is a good name for a validator that validates the length of a list. If you want to be more descriptive, we could use validate_list_length instead, but in this case I would vote for renaming validate_length to validate_string_length (BC break!) to be more consistent in naming.

if you want to add a separate function, I think a decent name could be validate_count (as in Enum.count/1) and keep validate_length as in String.length/1, however I guess it won't be 100% consistent either, because there's a Kernel.length/1 for lists

:heart:


Use mina toolchain instead of ci-toolchain-base

We are experiencing issues on merges jobs in CI. This PR is an attempt to fix this situation. We will use toolchain with git-lfs

!ci-build-me

!ci-build-me

!help-merge-me

Hello, @dkijania 2 new  created to help you port this change to master. Please follow steps to resolve conflict for each mainline branch. PRs will be created automatically after you push merge to porting branches
compatible
git fetch && git checkout port/_ci/use_mina_toolchain_for_merge_jobs_to_compatible && git merge ci/use_mina_toolchain_for_merge_jobs

Resolve conflict and then
git push

develop
git fetch && git checkout port/_ci/use_mina_toolchain_for_merge_jobs_to_develop && git merge ci/use_mina_toolchain_for_merge_jobs

Resolve conflict and then
git push

Porting branch #15795 to resolve conflict with compatible created. Please merge it in order to solve conflict between head of this PR and compatible

Porting branch #15796 to resolve conflict with develop created. Please merge it in order to solve conflict between head of this PR and develop

!ci-build-me

I will hold with merging this one as looks like disable smugding in CI solves issue


Add ability to retain input metadata into Pydantic models.

Background
This is a quick enhancement intended to be backward compatible within the current experimental pydantic model. As a future ref, this should certainly be considered for default behavior before hitting stable.
Achieving GraphQL semantics similar to "PATCH" is usually implemented with Optional input.
The GraphQL spec suggests that missing optional input is not coerced to values, but rather stays out of the input map ( https://spec.graphql.org/October2021/#sec-Input-Objects.Input-Coercion ).
In Strawberry, a decision has been made to handle this with its own value - UNSET.
Pydantic, on the other side, long has had the ability to introspect fields not provided on instance creation( https://pydantic-docs.helpmanual.io/usage/exporting_models/ ). This is a particularly useful feature when relying on the library as a validation layer and bridge to domain objects.
Currently in Strawberry the only potential workaround to retain the information of "What fields were provided within the request on input?" requires:

dropping reliance on strawberry.auto and explicitly swapping factories while also introducing incoherent typing
or
leaking strawberry abstractions within the domain models.

Description
The proposed solution introduces a backward compatible way to retain the information of a value's presence at input up to the Pydantic validator.
Types of Changes

[ ] Core
[ ] Bugfix
[ ] New feature
[x] Enhancement/optimization
[ ] Documentation

Issues Fixed or Closed by This PR
Decided not to open an issue and use this instead.
Checklist

[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] I have tested the changes and verified that they work and don't break anything (as well as I can manage).

Hi, thanks for contributing to Strawberry 🍓!
We noticed that this PR is missing a RELEASE.md file. We use that to automatically do releases here on GitHub and, most importantly, to PyPI!
So as soon as this PR is merged, a release will be made 🚀.
Here's an example of RELEASE.md:
Release type: patch

Description of the changes, ideally with some examples, if adding a new feature.

Release type can be one of patch, minor or major. We use semver, so make sure to pick the appropriate type. If in doubt feel free to ask :)
Here's the tweet text:
🆕 Release (next) is out! Thanks to Boyan Bonev for the PR 👏

Get it here 👉 https://github.com/strawberry-graphql/strawberry/releases/tag/(next)


doc(v2): bootstrap theme, preset, template

Motivation
Document the bootstrap template, preset and theme
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work. Bonus points for screenshots and videos!)
Related PRs
(If this PR adds or changes functionality, please take some time to update the docs at https://github.com/facebook/docusaurus, and link to your PR here.)

🤪 just understood that is theme is for Bootstrap the CSS framework.
I thought it was about providing the basic theme structure to be able to render docs, blogs etc ^^
Is this PR ready for review or WIP?

🤪 just understood that is theme is for Bootstrap the CSS framework.
I thought it was about providing the basic theme structure to be able to render docs, blogs etc ^^
Is this PR ready for review or WIP?

Sorry for the delay, you're right. And Is Ready for review

@fanny what's your workflow to test the bootstrap theme btw? I've never seen it in action

It should be just going into the Bootstrap template, run the site and visually inspect

I see thanks.
One idea I had was to make our deploy previews deploy D2 website in multiple variants, like theme classic, theme bootstrap etc... that would dogfood and ensure this theme keeps the feature parity with the classic theme and stays in sync over time

That would be fantastic :)

@yangshun @fanny it's not perfect but got it running  :)
https://deploy-preview-2981--docusaurus-2.netlify.app/classic/
https://deploy-preview-2981--docusaurus-2.netlify.app/bootstrap/
Both will be deployed on each PR now! Will make it easier to iterate on the bootstrap theme.
Note: I disabled versioning for bootstrap previews, so that it does not increase too much the build time ;)


WIP: Implement the db3js API of the IndexedDB specification

Motivations

Would you like to implement this feature? [y/n]

Interface implementation

[ ] IDBFactory  Provides access to a database.  01.09
[ ] IDBOpenDBRequest Represents a request to open a database.  01.13
[ ] IDBDatabase Represents a connection to a database. It's the only way to get a transaction on the database. 01.16
[ ] IDBTransaction  Represents a transaction. You create a transaction on a database, specify the scope, and determine the kind of access (read only or readwrite) that you want. 01.20
[ ] IDBRequest Generic interface that handles database requests and provides access to results. 01.31
[ ] IDBObjectStore Represents an object store that allows access to a set of data in an IndexedDB database, looked up via primary key. 02.06
[ ] IDBIndex Also allows access to a subset of data in an IndexedDB database, but uses an index to retrieve the record(s) rather than the primary key 02.08
[ ] IDBKeyRange Defines a key range that can be used to retrieve data from a database in a certain range. 02.13

stage 1
Implement IDBFactory and IDBRequest's onsuccess、onerror method
interface IDBFactoryOptions {
    sign(target: Uint8Array): Promise<[Uint8Array, Uint8Array]>;
    nonce(): number;
}
interface IDBFactory {
    /**
     * Compares two values as keys. Returns -1 if key1 precedes key2, 1 if key2 precedes key1, and 0 if the keys are equal.
     *
     * Throws a "DataError" DOMException if either input is not a valid key.
     */
    // cmp(first: any, second: any): number;
    databases(): Promise<IDBDatabaseInfo[]>;
    /** Attempts to delete the named database. If the database already exists and there are open connections that don't close in response to a versionchange event, the request will be blocked until all they close. If the request is successful request's result will be null. */
    deleteDatabase(name: string): IDBOpenDBRequest;
    /** Attempts to open a connection to the named database with the current version, or 1 if it does not already exist. If the request is successful request's result will be the connection. */
    open(name: string, options: IDBFactoryOptions,  version?: number): IDBOpenDBRequest;
}

Test case
https://github.com/web-platform-tests/wpt/tree/master/IndexedDB
All idbfactory-*.html files in the repo
DB3 interface dependencies

create database
get database by name
get all database
delete database

Stage 2 01.15 - 01.21
Implement a part of IDBDatabase, IDBOpenDBRequest and IDBObjectStore method
interface IDBDatabase extends EventTarget {
     * Throws a "InvalidStateError" DOMException if not called within an upgrade transaction.
     */
    createObjectStore(name: string, options?: IDBObjectStoreParameters): IDBObjectStore;
    /**
     * Deletes the object store with the given name.
     *
     * Throws a "InvalidStateError" DOMException if not called within an upgrade transaction.
     */
    deleteObjectStore(name: string): void;

}
interface IDBOpenDBRequest extends IDBRequest<IDBDatabase> {
    // onblocked: ((this: IDBOpenDBRequest, ev: IDBVersionChangeEvent) => any) | null;
    onupgradeneeded: ((this: IDBOpenDBRequest, ev: IDBVersionChangeEvent) => any) | null;
    addEventListener<K extends keyof IDBOpenDBRequestEventMap>(type: K, listener: (this: IDBOpenDBRequest, ev: IDBOpenDBRequestEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
    addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
    removeEventListener<K extends keyof IDBOpenDBRequestEventMap>(type: K, listener: (this: IDBOpenDBRequest, ev: IDBOpenDBRequestEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
    removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
}
interface IDBObjectStore {
    /** Returns true if the store has a key generator, and false otherwise. */
    readonly autoIncrement: boolean;
    /** Returns a list of the names of indexes in the store. */
    readonly indexNames: DOMStringList;
    /** Returns the key path of the store, or null if none. */
    readonly keyPath: string | string[];
    /** Returns the name of the store. */
    name: string;
    /** Returns the associated transaction. */
    readonly transaction: IDBTransaction;
    /**
     * Adds or updates a record in store with the given value and key.
     *
     * If the store uses in-line keys and key is specified a "DataError" DOMException will be thrown.
     *
     * If put() is used, any existing record with the key will be replaced. If add() is used, and if a record with the key already exists the request will fail, with request's error set to a "ConstraintError" DOMException.
     *
     * If successful, request's result will be the record's key.
     */
    add(value: any, key?: IDBValidKey): IDBRequest<IDBValidKey>;
    /**
     * Deletes all records in store.
     *
     * If successful, request's result will be undefined.
     */
    clear(): IDBRequest<undefined>;
    /**
     * Retrieves the number of records matching the given key or key range in query.
     *
     * If successful, request's result will be the count.
     */
    count(query?: IDBValidKey | IDBKeyRange): IDBRequest<number>;
    /**
     * Creates a new index in store with the given name, keyPath and options and returns a new IDBIndex. If the keyPath and options define constraints that cannot be satisfied with the data already in store the upgrade transaction will abort with a "ConstraintError" DOMException.
     *
     * Throws an "InvalidStateError" DOMException if not called within an upgrade transaction.
     */
    createIndex(name: string, keyPath: string | string[], options?: IDBIndexParameters): IDBIndex;
    /**
     * Deletes records in store with the given key or in the given key range in query.
     *
     * If successful, request's result will be undefined.
     */
    delete(query: IDBValidKey | IDBKeyRange): IDBRequest<undefined>;
    /**
     * Deletes the index in store with the given name.
     *
     * Throws an "InvalidStateError" DOMException if not called within an upgrade transaction.
     */
    deleteIndex(name: string): void;
    /**
     * Retrieves the value of the first record matching the given key or key range in query.
     *
     * If successful, request's result will be the value, or undefined if there was no matching record.
     */
    get(query: IDBValidKey | IDBKeyRange): IDBRequest<any>;
    /**
     * Retrieves the values of the records matching the given key or key range in query (up to count if given).
     *
     * If successful, request's result will be an Array of the values.
     */
    getAll(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<any[]>;
    /**
     * Retrieves the keys of records matching the given key or key range in query (up to count if given).
     *
     * If successful, request's result will be an Array of the keys.
     */
    getAllKeys(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;
    /**
     * Retrieves the key of the first record matching the given key or key range in query.
     *
     * If successful, request's result will be the key, or undefined if there was no matching record.
     */
    getKey(query: IDBValidKey | IDBKeyRange): IDBRequest<IDBValidKey | undefined>;
    index(name: string): IDBIndex;
    /**
     * Adds or updates a record in store with the given value and key.
     *
     * If the store uses in-line keys and key is specified a "DataError" DOMException will be thrown.
     *
     * If put() is used, any existing record with the key will be replaced. If add() is used, and if a record with the key already exists the request will fail, with request's error set to a "ConstraintError" DOMException.
     *
     * If successful, request's result will be the record's key.
     */
    put(value: any, key?: IDBValidKey): IDBRequest<IDBValidKey>;
}

Stage 3 01.28 - 02.03
Implement a port of IDBIndex and IDBKeyRange method
interface IDBIndex {
    readonly keyPath: string | string[];
    readonly multiEntry: boolean;
    /** Returns the name of the index. */
    name: string;
    /** Returns the IDBObjectStore the index belongs to. */
    readonly objectStore: IDBObjectStore;
    readonly unique: boolean;
    /**
     * Retrieves the number of records matching the given key or key range in query.
     *
     * If successful, request's result will be the count.
     */
    count(query?: IDBValidKey | IDBKeyRange): IDBRequest<number>;
    /**
     * Retrieves the value of the first record matching the given key or key range in query.
     *
     * If successful, request's result will be the value, or undefined if there was no matching record.
     */
    get(query: IDBValidKey | IDBKeyRange): IDBRequest<any>;
    /**
     * Retrieves the values of the records matching the given key or key range in query (up to count if given).
     *
     * If successful, request's result will be an Array of the values.
     */
    getAll(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<any[]>;
    /**
     * Retrieves the keys of records matching the given key or key range in query (up to count if given).
     *
     * If successful, request's result will be an Array of the keys.
     */
    getAllKeys(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;
    /**
     * Retrieves the key of the first record matching the given key or key range in query.
     *
     * If successful, request's result will be the key, or undefined if there was no matching record.
     */
    getKey(query: IDBValidKey | IDBKeyRange): IDBRequest<IDBValidKey | undefined>;

}

interface IDBKeyRange {
    /** Returns lower bound, or undefined if none. */
    readonly lower: any;
    /** Returns true if the lower open flag is set, and false otherwise. */
    readonly lowerOpen: boolean;
    /** Returns upper bound, or undefined if none. */
    readonly upper: any;
    /** Returns true if the upper open flag is set, and false otherwise. */
    readonly upperOpen: boolean;
    /** Returns true if key is included in the range, and false otherwise. */
    includes(key: any): boolean;
}

Example
// TODO

Stage 4 02.05 - 02.11
Implement the other remaining interfaces of the IDBObjectStore
interface IDBObjectStore {

    /**
     * Deletes all records in store.
     *
     * If successful, request's result will be undefined.
     */
    clear(): IDBRequest<undefined>;
    /**
     * Retrieves the number of records matching the given key or key range in query.
     *
     * If successful, request's result will be the count.
     */
    count(query?: IDBValidKey | IDBKeyRange): IDBRequest<number>;
    /**
     * Creates a new index in store with the given name, keyPath and options and returns a new IDBIndex. If the keyPath and options define constraints that cannot be satisfied with the data already in store the upgrade transaction will abort with a "ConstraintError" DOMException.
     *
     * Throws an "InvalidStateError" DOMException if not called within an upgrade transaction.
     */
    createIndex(name: string, keyPath: string | string[], options?: IDBIndexParameters): IDBIndex;
    /**
     * Deletes records in store with the given key or in the given key range in query.
     *
     * If successful, request's result will be undefined.
     */
    delete(query: IDBValidKey | IDBKeyRange): IDBRequest<undefined>;
    /**
     * Deletes the index in store with the given name.
     *
     * Throws an "InvalidStateError" DOMException if not called within an upgrade transaction.
     */
    deleteIndex(name: string): void;
    /**
     * Retrieves the values of the records matching the given key or key range in query (up to count if given).
     *
     * If successful, request's result will be an Array of the values.
     */
    getAll(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<any[]>;
    /**
     * Retrieves the keys of records matching the given key or key range in query (up to count if given).
     *
     * If successful, request's result will be an Array of the keys.
     */
    getAllKeys(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;
    /**
     * Retrieves the key of the first record matching the given key or key range in query.
     *
     * If successful, request's result will be the key, or undefined if there was no matching record.
     */
    getKey(query: IDBValidKey | IDBKeyRange): IDBRequest<IDBValidKey | undefined>;
    index(name: string): IDBIndex;
    /**
     * Adds or updates a record in store with the given value and key.
     *
     * If the store uses in-line keys and key is specified a "DataError" DOMException will be thrown.
     *
     * If put() is used, any existing record with the key will be replaced. If add() is used, and if a record with the key already exists the request will fail, with request's error set to a "ConstraintError" DOMException.
     *
     * If successful, request's result will be the record's key.
     */
    put(value: any, key?: IDBValidKey): IDBRequest<IDBValidKey>;
}

Example


No support

It's pretty sad, but I cancelled my pro subscription today as there are just too many problems and no response to them :(
I'll check back in 6 months and see how it's going, I really like the email client, but it just doesn't quite work.
Problems I had:
Slow sync
Incomplete search
delay of about 10 seconds when changing between accounts
Other little annoyances I could have lived with if the above worked
I really hope this project works and I can come back and use it in the future and pay, but for now I just can't justify paying for an email client I can't use and where issues are not responded to.
Good luck, hopefully I'll be back in the future :(

The number of issues keeps climbing. Their servers went offline today and prevented sending and receiving mail, checking for updates, and loading pages on their site for about 2 hrs.
I just tried to switch to Nylas Mail from N1 and the signature issue that prevented me from moving over in FEBRUARY is still present (35 releases later).   It looks like a sinking ship. I think I'll be switching to something like Spark or Polymail that is actually stable and supported.

Same here, I'll have to cancel my subscription also because they dropped Exchange support for whatever reason. Will be checking back another time.

Same here, i'm a pro user.
We need more support from your teams, or at least more communication.

Agreed. My sync stopped after an SSD upgrade; the cause of the app failure is still unknown. Possibly something unrelated. My subscription is due to renew soon, so it is good to know I wasn't alone.


ListCustomModels operation: Operation unknown

At first, the application seemed unable to list available models from Bedrock with the following error message:
Error listing Bedrock models: An error occurred (InternalServerException) when calling the ListFoundationModels operation (reached max retries: 4): The system encountered an unexpected error during processing. Try your request again.
Error listing Bedrock models: An error occurred (ValidationException) when calling the ListCustomModels operation: Operation unknown

The Bedrock endpoint used in the SharedConfig parameter store entry was https://bedrock-runtime.us-west-2.amazonaws.com. It seems the ListCustomModels operation should call the "bedrock" endpoint and not "bedrock-runtime". In this case, the lambda function ChatBotApiRestApiApiHandler was impacted.
After changing the endpoint to https://bedrock.us-west-2.amazonaws.com, the application had a second issue with the lambda function LangchainInterfaceRequestHandler:
ValidationException: An error occurred (ValidationException) when calling the InvokeModel operation: The requested operation is not recognized by the service.

To fix this I had to divide the SharedConfig parameter store item into 2 separate items, one for the ChatBotApiRestApiApiHandler lambda function with the "bedrock" endpoint and a second one for the LangchainInterfaceRequestHandler lambda function with the "bedrock-runtime" endpoint.

Hi, just delete endpointUrl from config.json and config.ts files
Before:
bedrock: {
  enabled: true,
  region: [SupportedRegion.US](http://supportedregion.us/)_EAST_1,
  endpointUrl: "https://bedrock-runtime.us-east-1.amazonaws.com/",
},

After:
bedrock: {
  enabled: true,
  region: [SupportedRegion.US](http://supportedregion.us/)_EAST_1
},

Hello,
I did remove the endpoint at first, and the parameter store item looked like this:
{"prefix":"","bedrock":{"enabled":true,"region":"us-west-2","endpointUrl":""}
But I ended up having the second issue with the LangchainInterfaceRequestHandler lambda function.


facing issues into importing

I have done something like this,
in systemjs.config.js
map: {
// our app is within the app folder
app: 'app',
  // angular bundles
  '@angular/core': <EMAIL_ADDRESS>  '@angular/common': <EMAIL_ADDRESS>  '@angular/compiler': <EMAIL_ADDRESS>  '@angular/platform-browser': <EMAIL_ADDRESS>  '@angular/platform-browser-dynamic': <EMAIL_ADDRESS>  '@angular/http': <EMAIL_ADDRESS>  '@angular/router': <EMAIL_ADDRESS>  '@angular/router/upgrade': <EMAIL_ADDRESS>  '@angular/forms': <EMAIL_ADDRESS>  '@angular/upgrade': <EMAIL_ADDRESS>  '@angular/upgrade/static': <EMAIL_ADDRESS>

  // other libraries
  'rxjs':                      'npm:rxjs',
  'angular-in-memory-web-api': 'npm:angular-in-memory-web-api/bundles/in-memory-web-api.umd.js',

  // custom downloaded libraries
  **'ng2-slimscroll':            'npm:ng2-slimscroll'**
},
// packages tells the System loader how to load when no filename and/or no extension
packages: {
  app: {
    main: './main.js',
    defaultExtension: 'js'
  },
  rxjs: {
    defaultExtension: 'js'
  },
  'ng2-slimscroll': {
      main: './ng2-slimscroll.js',
      defaultExtension: 'js'
  }
}

Before this I was getting 'not found' error in console. But after doing above things now I am getting the following error in importing it to a module.
"NetworkError: 404 Not Found -<EMAIL_ADDRESS>

@devqualwebs , BrowserDomAdapter was removed in RC2.

this thing still compiles for me, anyone interested, here's a demo project;
ng2-slimscroll-demo.zip
npm install
npm start

@jkuri , your test project worked. I'm not sure what @devqualwebs  and I are doing wrong then. I got the same exact error as he.

Looks like you need to set path to browser_platform accordingly in SystemJS configuration.
<EMAIL_ADDRESS>does not exists, but<EMAIL_ADDRESS>does.

Thanks, I have already moved on to another solution, but was just giving @devqualwebs  a heads up.

Thank for replaying and providing test project.
I have also tried the test project and it is working well. May be there is difference of the ways to create angular 2 project because I didn't find the systemjs.config.js in the test project what you have provided @jkuri.
As I have have remembered, I have downloaded the sample project structure from https://github.com/angular/quickstart.git quickstart .
@tylerjgarland please share the another solution what helped you.

Check the new demo with closure compiler here


Add basic snapshot summary page

What
Add a basic summary page
Why
So we can see the details of a snapshot

Looks good, would be nice if there were cypress tests

one thing at a time


Advice on syncing core fucntionality while keeping projects flexible in their differences

There has been a number of changes that came in this year to the slim launcher project, not from me mostly but from people contributing. I worry that forks of slim launcher might suffer from upstream changes differing too much from the forks.
Is there a way we could minimize this? I don't know, like modularizing most stuff that's common and separating it into layers, or even have a common separate library like module, I don't know.
I've received great feedback from people not only using slim launcher but also unlauncher too and it's really exciting

What I'll actively do is to go through issues in this repo and try, see which are close to plans I have for my project... I also want to be able to make super drastic changes with little impact to project that forked my repo

👍 Thanks for the consideration of the Slim-Launcher forks!
Speaking for Unlauncher, I can say that my process has been to try and use git to minimize the effort of keeping the forked code up-to-date with Slim-Launcher.   I usually wait for a new tag of Slim-Launcher to be cut, then I squash all of the changes in Slim-Launcher since the last tag down into a single commit.  Then I cherry-pick that commit over onto my Unlauncher branch. This is the point where I might have to resolve some merge conflicts if things changed in code that has diverged on Unlauncher, but usually it is not a big deal.  Git does all the heavy-lifting and so far I have not had any problems taking the latest changes from Slim-Launcher!
My main piece of advice would be to prioritize your vision for Slim-Launcher. Sure, listening to the community and having consideration for the extra users/contributors that forks like Unlauncher can bring in is great.  But, don't let that bog you down with over-architecting things or make you hesitant to do large-scale refactoring/uplifts. Close forks like Unlauncher should be able to incorporate these changes without much trouble (and honestly any improvements to the Slim-Launcher code base are improvements to Unlauncher and are most welcome)!

On a practical note, one of the things you could do to make it easier to keep the forks up-to-date with Slim-Launcher would be to consider squashing the commits from PRs when merging them to master.  (So if you are using the GitHub web interface to merge PR's that would mean using the "Squash and Merge" button instead of "Create a merge commit" or "Rebase and merge").  The reason why I am currently squashing the changes from Slim-Launcher before pulling them into Unlauncher is because otherwise it is pretty messy to try and pull in a bunch of commits including various merge-commits.  Having just one normal commit in master that contains the changes from each PR would make it easier to cherry-pick the exact changes that we need. (And then I would also not loose all of the commit history from the changes by squashing.)


assert statement doesn't use monkey patched AssertionError exception

From @rassilon on December 12, 2015 2:47
The fix seems simple enough, but I'm not sure how to write the necessary C# for IronPython.
Thoughts?
Bill
Copied from original issue: IronLanguages/main#1258

From @jdhardy on December 14, 2015 3:22
So pytest replaces the builtin AssertionError with it's own? I'm surprised
that even worked in CPython, but I guess we have to support it. You should
be able to access the builtins module from the PythonContext (somehow) and
do the lookup from there.
On Fri, Dec 11, 2015 at 8:42 PM, Bill Tutt<EMAIL_ADDRESS>wrote:

pytest once you get past making it happy enough for stdout/stderr
capturing complains that it can't see the AssertionError it creates. (sadly
those local changes to improve the fd <-> PythonFile mapping I have need
more work [image: :frowning:] )
The cause is simple enough to find. It appears that the AssertStatement
reduces directly to calling PythonOps.RaiseAssertionError. That method just
doesn't lookup the current builtin dictionary content for AssertionError.
Bill
—
Reply to this email directly or view it on GitHub
https://github.com/IronLanguages/main/issues/1258#issuecomment-164110167
.

From @rassilon on December 12, 2015 4:42
pytest once you get past making it happy enough for stdout/stderr capturing complains that it can't see the AssertionError it creates. (sadly those local changes to improve the fd <-> PythonFile mapping I have need more work :frowning: )
The cause is simple enough to find. It appears that the AssertStatement reduces directly to calling PythonOps.RaiseAssertionError. That method just doesn't lookup the current builtin dictionary content for AssertionError.
Bill

Do you have a repro?

From @rassilon on December 14, 2015 3:49
Yeah, pytest reevaluates the sub expressions from the failed assert statement to allow one to more easily determine which sub expression is false.

From @rassilon on December 14, 2015 19:49
Well I managed to come up with something. I'm just not sure if the else or the fallback case makes sense or not:
    public static void RaiseAssertionError(CodeContext context, object msg) {
        PythonDictionary builtins = context.GetBuiltinsDict() ?? PythonContext.GetContext(context).BuiltinModuleDict;

        object obj;
        var message = String.Empty;

        if (msg != null) {
            message = PythonOps.ToString(msg);
        }

        if (builtins._storage.TryGetValue("AssertionError", out obj)) {
            PythonType type = obj as PythonType;
            if (type != null) {
                throw PythonOps.CreateThrowable(type, message);
            } else {
                throw PythonOps.CreateThrowable(DynamicHelpers.GetPythonType(obj), message);
            }
        }
        throw PythonOps.AssertionError("{0}", message);
    }

The actual PR would move the logic itself into PythonOps.AssertionError.
(There's a matching change due to the prototype change to AssertStatement of course, but that's just passing in the Parent.LocalContext property into the new context argument of this function.)
Thoughts?

From @rassilon on December 14, 2015 19:53
pytest is one complex piece of Python software, btw. After this change, it now is dying inside the logic it contains to reproduce the source code based on the traceback frame objects from the Python exception information. Ugh.

This probably needs to be done with all the exceptions...


min-chars=1 then backspace, shows empty div w/ grey background

see #97
repeat the steps, and you can see a little grey div that appears, but it is empty.
http://plnkr.co/edit/dOEp33aYHNyDz0jg8tCq?p=preview

@allenhwkim , have you already pushed to NPM?

@crh225 I did, the recent version is 0.10.0

cool. Ill get latest.


Links in block quotes don't get translated

Here's an example from Think Bayes.  The Markdown input is
If you were inclined to choose the second option, you are in good company.  The biologist [Stephen J. Gould wrote](https://sci-hub.tw/https://doi.org/10.1080/09332480.1989.10554932) :

> I am particularly fond of this example because I know that the [second] statement is least probable, yet a little [homunculus](https://en.wikipedia.org/wiki/Homunculus_argument) in my head continues to jump up and down, shouting at me, "but she can't just be a bank teller; read the description."

And the asciidoc output is
If you were inclined to choose the second option, you are in good
company. The biologist
https://sci-hub.tw/https://doi.org/10.1080/09332480.1989.10554932[Stephen
J. Gould wrote] :

____
I am particularly fond of this example because I know that the [second] statement is least probable, yet a little [homunculus](https://en.wikipedia.org/wiki/Homunculus_argument) in my head continues to jump up and down, shouting at me, "but she can't just be a bank teller; read the description."
____

So it looks like the first link has been translated and the second passed through.

Block quotes are treated as raw asciidoc in fastdoc. That's because asciidoc has all kinds of odd quoting rules inside quoted blocks which would complex complex parsing to handle automatically.


Removal of unused config options in gis

removal of  'serverMode' as
grep -rnw src/ -e 'serverMode' yields nothing
removal of 'host' as its conveyed through audience field
and is also not used.

hey @karun-singh , can you remove these options in CI config and re-test - serverMode, host options in authenetication verticle?

hey @karun-singh , can you remove these options in CI config and re-test - serverMode, host options in authenetication verticle?

Tested, the pipeline is passing.

retest this please


Make sensitive fields require extra click to show contents in TP

This Improvement request (usability, performance, tech debt, etc.) affects these Traffic Control components:

Traffic Portal

Current behavior:

Currently showing a delivery service or SSL data of a delivery service displays sensitive data automatically.  If you're doing something like demonstrating TP, this can inadvertently disclose that information to parties not entitled to see it.
New behavior:

It would be nice to have something like a show button that displays that content on pages with other insensitive data.  Specifically this would apply to private SSL Key data, out-of-band interface credentials, and free-form ATS fields on delivery services such as raw remap.  While parameters could also contain sensitive information, I did not include them because they are individually scoped and do not inherently share visual space with non-sensitive data.  Should any of this data be included in grids, they also should be obscured.

Related: https://github.com/apache/trafficcontrol/issues/3258


Network Error when using axios in React Native to call the invalidate-sessions endpoint

I'm calling the endpoint from react-native and get the 'Network Error' exception.
I've traced it down to this line drf_social_oath2.
If I change the Response data from {} to None, this seems to fix the issue.
In Postman, I don't get an error but I do when running my android app in the simulator.
The call still invalidates sessions but returns an error and won't run the resolve portion of the Axios call.

Can you post a more descriptive info, logs etc, please? And how to replicate the issue?

@christopher-read did you see the last message?


Implemented method

Please notice the changes in the comments as well as the method signature; a convolution is supposed to have an output length equal to the sum of the lengths of the input vectors, minus one.

I saw that Travis threw error on a test unrelated with my modification: do you know why?


Provide non-root docker build

What problem are you facing?
I am trying to run pre-commit hooks using the provided docker image by using a local-repository as described here: https://pre-commit.com/#docker_image.
I have set up my docker installation to run rootless because of security concerns: https://docs.docker.com/engine/security/rootless/. Therefore, when trying to run the tflint pre-commit hook, I face the following error:
Container must run as root. Use environment variable USERID to set user.
As far as I can see, it is not possible to set environment variables when running pre-commit hooks.
How could pre-commit-terraform help solve your problem?
I believe the problem can be solved by providing a docker image build with a non-root user (default usually is 1000:1000) set. This build can be tagged with a special tag like "v1.xx.x-nonroot" or "v1.xx.x-rootless" as used by other projects. Then it would not be necessary to pass environment variables. This solution might not work in all cases, e.g. if a user has a different user id. But as 1000 is the default user id in most systems, I think it should work for most users.

I would like to use it in a pre-commit hook by providing a local repository and using the docker_image language type so I do not have to make sure to install tflint on every developer machine.
I do not quite understand why I should run the image via docker directly. How can this be automated with git hooks?

Related to https://github.com/antonbabenko/pre-commit-terraform/issues/418


Some test crash on DBC with constant update

With https://dart-review.googlesource.com/c/sdk/+/99169 on the DBC builders, these three tests crash: language_2/const_inference_test, language_2/partial_tearoff_instantiation_test/none, language_2/vm/regress_33095_test. See for instance https://ci.chromium.org/p/dart/builders/ci.sandbox/vm-kernel-linux-debug-simdbc64/5493.

There are two sets of failures

one set is similar to the errors seen in https://github.com/dart-lang/sdk/issues/36500
the other set is https://github.com/dart-lang/sdk/issues/36500
Closing this issue as a duplicate of these two issues.


Parsing error when quotation marks exist in json value

Example
Result

{
  "foo": "''"
}
value is illegal

{
  "foo": "'', ''"
}
type Result$0Type = {
  foo: string
  , : string
}

@PatrickChen928 There are still some problems with the latest version. In addition, 0.2.6 does not seem to be released to npm.

I think the cache causes this. You can force refresh the page and try again.
NPM package is not updated yet, but the page used static js file.

It's not caused by the cache. There is also a problem with 0.2.6 on npm.
https://www.val.town/v/varharrie/json2ts_example

It should be fixed in v0.2.7, try again, thanks.


Only unused, ignore update

Hi I'm wondering if there's a way that I can use npm-check to check for unused packages only. I want to add npm-check to my git commit hook and prevent pushing of unused packages. However, it's also checking for outdated packages too - this is good except sometimes updating package versions is not the highest priority. When it finds an outdated package it fails the commit but I don't want this to happen.

We'd also like the ability to control this feature. The ability to know what packages need updating is great, but we actually run npm-check on our CI box to ensure no dev dependencies are accidentally required in our application code. However checking for new package versions at this time is a bit too strict.
For now we are using a very hacky fork to disable these checks, but we would love to be able to set a flag to disable this instead. Let us know if you would accept a PR for this and we can hopefully work towards that with some help. Thanks!

:+1:

You should use the depcheck library instead. This is the library used by this package.

Would also like this.


Softdels part 1 (Datum softdels)

Implements softdel support for /datum, changing internal refs to be weak as to avoid pinning the objects forever.

Closing in favor of #1920


Received an email from Github with the subject "Deprecation notice for authentication via URL query parameters"

Hi.
I received the email from GitHub with the subject line in the title.
The content of the email was as follows.

On April 10th, 2020 at 02:50 (UTC) your application (JIRA) used an access token (with the User-Agent Apache-HttpClient/4.5.12 (Java/1.8.0_242)) as part of a query parameter to access an endpoint through the GitHub API.
Please use the Authorization HTTP header instead as using the access_token query parameter is deprecated.
Depending on your API usage, we'll be sending you this email reminder on a monthly basis.

I am using this integrating application.
Did this application solve the problem described in the email?

Looks like slightly more info on #311

Hi @mseko. Please let me know if your issue was addressed by the details in #311 so I can close this out/follow up.

Hi @rachellerathbone.
Resolved by the details in #311.
This Issue will be closed.
Thank you very much.

No worries. Thanks @mseko for getting back to me and for closing this issue.
Please feel free to open any other issues if you need help or have requests/feedback. We have assigned a person from the team each week to look into issues so the response time will dramatically increase.


pdf export doesn't display sub bullet points

Problem description: When exporting a motion with nested bullet points, these are not exported in the pdf file. The content in these bullet points is ignored and the bottom lines move further up. The pdf export is damaged.
Reproduction:

open meeting
open motions
create new motion. Create nested bullet points in the motion text and save it.
after creating the motion, click on three-dot menu and select pdf. Then open the pdf file.

What should happen: All bullet points should be displayed correctly in the pdf file. No content should be missing.
Motion in OpenSlides:

pdf file with missing content:

Sounds like a duplicate of https://github.com/OpenSlides/openslides-client/issues/1161


:book: Add artifact hub badges

Summary
Add artifact hub badges:

https://artifacthub.io/packages/olm/community-operators/cluster-manager
https://artifacthub.io/packages/olm/community-operators/klusterlet
Related issue(s)
https://github.com/open-cluster-management-io/ocm/issues/296
Fixes #

/cc @qiujian16

/lgtm

/approve


effective_memory is possibly not the correct metric to check

We have reports that this is not the "free memory" for a cluster, but the total memory - memory used by vsphere itself. If this is correct, the cpi is not correctly placing when you have multiple clusters.
https://github.com/cloudfoundry/bosh-vsphere-cpi-release/blob/a7ced49aa48aa14177a44092a9e12506607ae44e/src/vsphere_cpi/lib/cloud/vsphere/resources/cluster.rb#L215
https://vdc-repo.vmware.com/vmwb-repository/dcr-public/eba5419c-6272-4697-bd07-a328843c487e/f7bb0652-de93-4431-b874-82f11852e474/doc/vim.ComputeResource.Summary.html

Closing due to inactivity


Extract chat id from callback_query.

Fix #135

Coverage remained the same at 100.0% when pulling 2b85d9bdbb55ea9d13657cff5f484a0cb092bce4 on issue-135 into c7d5c042e4b2ba246398942f343c8eab5539f7dc on master.


Crash when I click variable in the variable explorer.

Description
What steps will reproduce the problem?

What is the expected output? What do you see instead?
Please provide any additional information below
File "/Users/kangwang/anaconda/envs/QAP/lib/python2.7/site-packages/spyder/widgets/variableexplorer/collectionseditor.py", line 868, in contextMenuEvent
self.refresh_menu()
File "/Users/kangwang/anaconda/envs/QAP/lib/python2.7/site-packages/spyder/widgets/variableexplorer/collectionseditor.py", line 795, in refresh_menu
self.refresh_plot_entries(index)
File "/Users/kangwang/anaconda/envs/QAP/lib/python2.7/site-packages/spyder/widgets/variableexplorer/collectionseditor.py", line 800, in refresh_plot_entries
is_list = self.is_list(key)
File "/Users/kangwang/anaconda/envs/QAP/lib/python2.7/site-packages/spyder/widgets/variableexplorer/namespacebrowser.py", line 316, in is_list
return self.var_properties[name]['is_list']
KeyError: 'y_fit'
Version and main components

Spyder Version: 3.2.0
Python Version: 2.7.13
Qt Versions: 5.6.2, PyQt5 5.6 on Darwin

Dependencies
pyflakes >=0.5.0  :  1.6.0 (OK)
pycodestyle >=2.3 :  2.3.1 (OK)
pygments >=2.0    :  2.2.0 (OK)
pandas >=0.13.1   :  0.20.3 (OK)
numpy >=1.7       :  1.11.3 (OK)
sphinx >=0.6.6    :  1.6.3 (OK)
rope >=0.9.4      :  0.10.5 (OK)
jedi >=0.9.0      :  0.10.2 (OK)
psutil >=0.3      :  5.2.1 (OK)
nbconvert >=4.0   :  5.2.1 (OK)
sympy >=0.7.3     :  None (NOK)
cython >=0.21     :  None (NOK)
qtconsole >=4.2.0 :  4.3.0 (OK)
IPython >=4.0;<6.0:  5.4.1 (OK)
pylint >=0.25     :  1.7.1 (OK)

What kind of variable is y_fit?

@ccordoba12 it is just a numpy float64 array. This issue occurred sometimes randomly rather than this variable. Once the error occurred, it will report this issue when I click any variable and click the IPython console.

Closing because I don't understand the source of this error.


Merge master -> update2

Make update2 branch up-to-date with master. These changes would ship with the next release of Update 2 (not the initial upcoming public CTP).

LGTM


suitesparse: 5.3.0 -> 5.4.0

Motivation for this change
Latest upstream release, maybe/hopefully a fix for #52709.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

@GrahamcOfBorg build suitesparse
Looks like it doesn't do that automatically for some reason.

nix-review only shows a Julia test failure, but that was not caused by this PR (cc @7c6f434c).

Here's the log for julia: http://sprunge.us/5NBIoN

I can confirm that master builds fine. Not sure what caused the issue I saw -- either there was some issue that has since been fixed or maybe the tests just ran out of ram (which they need a ridiculous amount of). Sorry for the false alarm.

Ah I see. It might have been Julia 0.6 problem, which is a known and old problem with some trace of hope that someone still using abandoned 06.-only libraries will come up with a master-applicable fix.

Why is 0.6 default if there already is a 1.0?

On master, the default Julia version is 1.0.1 now.


Animated armor automatically kills on revival in requiem

Sending this to both ends, as it's an odd interaction as when requiem resets my origin back to animated armor, animated armor doesn't reset durability and instantly kills me
Animated armor 1.7.0
Origins 1.19.2 1.7.1
Requiem 2.0.0 beta 16
Quilt 0.19.0 beta 12

I am not familiar with Requiem, but I do not intend to add compatibility with other mods or modpacks in the near future, as this could require a full rewrite of the Origin to account for exceptions within those mods. I'll leave this issue open for the time being if I end up looking into it in the future. No promises though.


[UI]: connect ton space close tonspace modal in twa web app

Currently, in the telegram web app, you can directly connect to ton space without closing the web app. However, after the connection is successful, it will stay on the ton space page and will not automatically close ton space. I hope that the ton space window can be automatically closed. Thank you.

This issue has been closed in #115.


add ll40ls for Aerofc

@bkueng I added ll40ls start i2c to rc.sensors to automatically start it if connected


derive_vars_transposed: extra variables are treated as by_vars

Background Information
In derive_vars_transposed, if dataset_merge contains extra variables that not specified in by_vars/key_var/value_var , they will be treated as grouping variables.
Example: test is a redundant variable that differs within USUBJID and FAREFID
cm <- tribble(
  ~USUBJID, ~CMGRPID, ~CMREFID, ~CMDECOD,
  "BP40257-1001", "14", "1192056", "PARACETAMOL"
)
facm <- tribble(
  ~USUBJID,     ~test, ~FAREFID, ~FATESTCD, ~FASTRESC,
  "BP40257-1001", "1", "1192056", "CMATC1CD", "N",
  "BP40257-1001", "3", "1192056", "CMATC2CD", "N02",
  "BP40257-1001", "3", "1192056", "CMATC3CD", "N02B",
  "BP40257-1001", "4", "1192056", "CMATC4CD", "N02BE"
)

cm %>%
  derive_vars_transposed(
    facm,
    by_vars = exprs(USUBJID, CMREFID = FAREFID),
    key_var = FATESTCD,
    value_var = FASTRESC
  )
# A tibble: 3 × 9
  USUBJID      CMGRPID CMREFID CMDECOD     test  CMATC1CD CMATC2CD CMATC3CD CMATC4CD
  <chr>        <chr>   <chr>   <chr>       <chr> <chr>    <chr>    <chr>    <chr>
1 BP40257-1001 14      1192056 PARACETAMOL 1     N        NA       NA       NA
2 BP40257-1001 14      1192056 PARACETAMOL 3     NA       N02      N02B     NA
3 BP40257-1001 14      1192056 PARACETAMOL 4     NA       NA       NA       N02BE

Expected results (need pre-processing to remove the unused variables):
cm %>%
  derive_vars_transposed(
    facm %>% select(-test),
    by_vars = exprs(USUBJID, CMREFID = FAREFID),
    key_var = FATESTCD,
    value_var = FASTRESC
  )
# A tibble: 1 × 8
  USUBJID      CMGRPID CMREFID CMDECOD     CMATC1CD CMATC2CD CMATC3CD CMATC4CD
  <chr>        <chr>   <chr>   <chr>       <chr>    <chr>    <chr>    <chr>
1 BP40257-1001 14      1192056 PARACETAMOL N        N02      N02B     N02BE

Definition of Done
add id_cols to derive_vars_transposed

Hi @kaz462! I came across the example for derive_vars_transposed() in which one of the grouping variables which is not mentioned in by_vars/key_var/value_var is required for transposing the dataset the right way:
`cm <- tribble(
~USUBJID, ~CMGRPID, ~CMREFID, ~CMDECOD,
"BP40257-1001", "14", "1192056", "PARACETAMOL",
"BP40257-1001", "18", "2007001", "SOLUMEDROL",
"BP40257-1002", "19", "2791596", "SPIRONOLACTONE"
)
facm <- tribble(
~USUBJID, ~FAGRPID, ~FAREFID, ~FATESTCD, ~FASTRESC,
"BP40257-1001", "1", "1192056", "CMATC1CD", "N",
"BP40257-1001", "1", "1192056", "CMATC2CD", "N02",
"BP40257-1001", "1", "1192056", "CMATC3CD", "N02B",
"BP40257-1001", "1", "1192056", "CMATC4CD", "N02BE",
"BP40257-1001", "1", "2007001", "CMATC1CD", "D",
"BP40257-1001", "1", "2007001", "CMATC2CD", "D10",
"BP40257-1001", "1", "2007001", "CMATC3CD", "D10A",
"BP40257-1001", "1", "2007001", "CMATC4CD", "D10AA",
"BP40257-1001", "2", "2007001", "CMATC1CD", "D",
"BP40257-1001", "2", "2007001", "CMATC2CD", "D07",
"BP40257-1001", "2", "2007001", "CMATC3CD", "D07A",
"BP40257-1001", "2", "2007001", "CMATC4CD", "D07AA",
"BP40257-1001", "3", "2007001", "CMATC1CD", "H",
"BP40257-1001", "3", "2007001", "CMATC2CD", "H02",
"BP40257-1001", "3", "2007001", "CMATC3CD", "H02A",
"BP40257-1001", "3", "2007001", "CMATC4CD", "H02AB",
"BP40257-1002", "1", "2791596", "CMATC1CD", "C",
"BP40257-1002", "1", "2791596", "CMATC2CD", "C03",
"BP40257-1002", "1", "2791596", "CMATC3CD", "C03D",
"BP40257-1002", "1", "2791596", "CMATC4CD", "C03DA"
)
cm %>%
derive_vars_transposed(
facm,
by_vars = exprs(USUBJID, CMREFID = FAREFID),
key_var = FATESTCD,
value_var = FASTRESC
) %>%
select(USUBJID, CMDECOD, starts_with("CMATC"))
A tibble: 5 x 6
USUBJID      CMDECOD        CMATC1CD CMATC2CD CMATC3CD CMATC4CD

1 BP40257-1001 PARACETAMOL    N        N02      N02B     N02BE
2 BP40257-1001 SOLUMEDROL     D        D10      D10A     D10AA
3 BP40257-1001 SOLUMEDROL     D        D07      D07A     D07AA
4 BP40257-1001 SOLUMEDROL     H        H02      H02A     H02AB
5 BP40257-1002 SPIRONOLACTONE C        C03      C03D     C03DA
`
Here, the variable FAGRPID is important for grouping and transposing it the right way. And adding the value of by_vars in id_cols would cause an issue with duplicates:
# A tibble: 3 x 6   USUBJID      CMDECOD        CMATC1CD  CMATC2CD  CMATC3CD  CMATC4CD    <chr>        <chr>          <list>    <list>    <list>    <list>    1 BP40257-1001 PARACETAMOL    <chr [1]> <chr [1]> <chr [1]> <chr [1]> 2 BP40257-1001 SOLUMEDROL     <chr [3]> <chr [3]> <chr [3]> <chr [3]> 3 BP40257-1002 SPIRONOLACTONE <chr [1]> <chr [1]> <chr [1]> <chr [1]> Warning message: Values from FASTRESC` are not uniquely identified; output will contain list-cols.

Use values_fn = list to suppress this warning.
Use values_fn = {summary_fun} to summarise duplicates.
Use the following dplyr code to identify duplicates.
{data} |>
dplyr::summarise(n = dplyr::n(), .by = c(USUBJID, FAREFID, FATESTCD)) |>
dplyr::filter(n > 1L) `

So do you think it's a good idea to add an additional argument (id_vars) to the function? That way, the user can decide whether to keep any additional grouping variables apart from the ones mentioned in by_vars, or not (like in the example you mentioned, where the test variable is not required.)

Hi @gg106046 , thanks for your example! I like this idea of adding  id_vars to derive_vars_transposed, @pharmaverse/admiral any objections?

Hey,
If I'm able I'd love to contribute to this issue.

Hi @ProfessorP-beep!
@gg106046 is working on this, but it would be great for you to help review the PR and try out the update.
Would you like to be added to the admiral community team - periodic tags for good issues to work on.
Also have you completed the #1839 ?  Great way to get familiar with our processes

@bms63 Absolutely! and I haven't completed the dummy example yet. I can work on it today / tomorrow!
Thanks

Just finished the dummy example. Just need permissions to push to dummy branch
whenever you're able. Thanks!

@ProfessorP-beep added you to repo and to the community team

Hi @gg106046 , do you have bandwidth to implement id_vars before the June 3rd release? I can take over if it doesn't work for you

Hi @gg106046 , do you have bandwidth to implement id_vars before the June 3rd release? I can take over if it doesn't work for you

Hi @kaz462 , I can do it before end of next week.

@gg106046 still on track for EOW?

@gg106046 still on track for EOW?

Yes!


feat: add Metric.Bounded.vadd

Add Metric.Bounded.smul and Metric.Bounded.vadd, rename the old smul to smul₀.

Could you add a comment on Metric.Bounded.smul along the lines of "This result is about isometric actions, see Metric.Bounded.smul₀ for the result for NormedSpaces". I could very well imagine searching for the NormedSpace lemma and searching for this exact name.

Could you add a comment on Metric.Bounded.smul along the lines of "This result is about isometric actions, see Metric.Bounded.smul₀ for the result for NormedSpaces". I could very well imagine searching for the NormedSpace lemma and searching for this exact name.

I added some comments. Feel free to edit them.

The docstrings are perfect, thanks.
maintainer merge

bors merge


Fix compilation on WASM

Fixes #9214.
Fixes #9210.

r? @matklad

bors r+
I believe this is exactly the pattern we should use for stdx, mirroring stdlib.

bors r=matklad


Insert public ip in form new server automatic

Insert public ip in form new server automatic

This would require adding an HTTP call to an external service returning your public IP address, which I don't want to impose on users.  You would also still need append the public port on which your WireGuard service.
Based on this, this feature will not be added. Thank you for your feedback.

This would require adding an HTTP call to an external service returning your public IP address, which I don't want to impose on users.  You would also still need append the public port on which your WireGuard service.
Based on this, this feature will not be added. Thank you for your feedback.