Problems with "hubs" feature

There's a few problems I see with the hubs feature. Below are some points for discussion:

The hub types are ill-defined. The spec suggests ("such as") "WebSub and "rssCloud" without marking these up as sample text, so it's not evident these are to be taken literally as string values i.e. "rssCloud" and "WebSub"
Even if the types are taken literally, capitalization is inconsistent. I realize this is because that's how the schemes refer to themselves, but it gives authors of future hub schemes no guide on how a future type should be named
Using this for rssCloud is impractical because rssCloud is actually three related schemes using SOAP, XML-RPC, or application/x-www-form-urlencoded payloads. Though clients can do HEAD requests to figure out which payload(s) the endpoint will accept, RSS technology isn't exactly known for its robustness; I doubt any rssCloud clients (assuming any still exist?) actually do this.
The structure of a hub object has no formal description, unlike every other object

These are my very non-authoritative opinions as the author of an implementation of a rssCloud server. I think these problems can be solved with a little extra documentation. Feel free to ignore me 😄

I think it's fine that these values are not pre-defined. It should be up to the publisher and the subscriber to know what they want to support.
If there is no specification about capitalization I'd treat the type field as a case insensitive string so "rssCloud" or "rsscloud" or "RssCloud" would all be the same.
It's not really an issue for rssCloud because you're just specifying where to subscribe to notifications so you'd do http://rpc.rsscloud.io:5337/pleaseNotify or xmlrpc://rpc.rsscloud.io:5337/RPC2;rssCloud.pleaseNotify. As far as I know there are no implementations that currently support SOAP. Neither Dave's original rssCloud.root or my node server support it.
It looks like the spec says "Each object has a type and url, both of which are required." If you want the fields described further that's fine but I can't imagine they would be anything other than strings.


Feature Request: Make the help outputs more human readable

Hi
the toolkit provides a very useful output when adding the flag -h, as it will provide all the possible UUID you can set.
However, in a large environment, the ouput can quickly fill up the screen with UUID, making the ouput unusable.
A proposition to improve this (example with the manage app -h command)

toolkit.py manage app -h: displays all the flags, but not the possible values
toolkit.py manage app -hh: displays all the flags, with the possible values

Also, a UUID is not human friendly, maybe use AppName/Namespace instead, which then will simplify the process ?
Test done with jpaetzel0614/k8scloudcontrol:1.2

Hey YvosOnTheHub, thanks for opening up this issue.  I've recently implemented a new top-level "--fast" option which should resolve this issue.  It works by not populating the choices list, resulting in the simplified (and faster) help text you're asking for.
For more info, please see the docs here.  I'll leave this issue open for a little bit in case you have any feedback, but then will close it as completed.
FYI the secondary ask about not using the UUID is on my to-do list, but is a larger feature so it will take some time.


Make the Mempool more pure #2591

You should request reviews from @mrBliss ; I am not directly involved with the codebase anymore :)

@jutaro I think something went wrong during rebasing. It makes it hard to review this PR. Can you fix it?

@jutaro I think something went wrong during rebasing. It makes it hard to review this PR. Can you fix it?


docs: improve docs on TLD info for connection

Hello,
This PR to add new documentation examples.
Issue: #118

to avoid delay/reworking, I went ahead and got the change in, so definitely appreciate bringing up that it wasn't clear enough. cheers!


The sqsEvent and sqsGroupEvent generate a request with wrong type for payload

Description
Given the code bellow, the expectation is that the code would compile. However, the code does not compile and the error received is:
Property 'loanAccountId' does not exist on type '{ readonly validate: ValidateFunction<LoanAccountApproved>; readonly schema: AnySchema; readonly errors: ErrorObject<string, Record<string, any>, unknown>[] | undefined; readonly is: (o: unknown) => o is LoanAccountApproved; readonly parse: (o: unknown) => { ...; } | { ...; }; }'

Code
export const loanAccountApprovedPayload = $validator(
    $object({
        loanAccountId: $string,
    }),
)

export const handler = sqsHandler({
    sqs: {
        schema: {
            payload: LoanAccountApproved,
        },
        handler: ({ payload }, { logger }) => {

            logger.info('Received', {
                payload
            })
            return
        },
    },
})

describe('handler', () => {

    forAll(sqsEvent(handler), (request) => {
        expect(request.payload.loanAccountId).toBeDefined()
    })
    expect.hasAssertions()
})

This should be fixed now, I've also added a class of tests to specifically check for these types.


Panic upon config call with substores.

Summary
When running gopass config on a password-store with a config file coming from a previous version and a substore, here is what happened to me:
gopass config
root store config:
  autoclip: true
  autoimport: true
  cliptimeout: 45
  confirm: false
  editrecipients: false
  exportkeys: false
  nocolor: false
  nopager: false
  notifications: true
  path: /home/anomalroil/password-store
  safecontent: true
mount 'test' => '/home/anomalroil/test'
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x48 pc=0x561459926f24]

goroutine 1 [running]:
github.com/gopasspw/gopass/internal/store/leaf.(*Store).Storage(...)
	/home/anomalroil/go/src/github.com/gopasspw/gopass/internal/store/leaf/store.go:163
github.com/gopasspw/gopass/internal/action.(*Action).getOnDiskStorage(0xc000205340, 0x561459ec4300, 0xc000343290, 0x0, 0x0, 0x2, 0x2)
	/home/anomalroil/go/src/github.com/gopasspw/gopass/internal/action/config.go:116 +0x134
github.com/gopasspw/gopass/internal/action.(*Action).printConfigValues(0xc000205340, 0x561459ec4300, 0xc000343290, 0x0, 0x0, 0x0, 0x0, 0x0)
	/home/anomalroil/go/src/github.com/gopasspw/gopass/internal/action/config.go:60 +0x18a
github.com/gopasspw/gopass/internal/action.(*Action).Config(0xc000205340, 0xc000366b80, 0x0, 0xc0002f14f0)
	/home/anomalroil/go/src/github.com/gopasspw/gopass/internal/action/config.go:21 +0x598
github.com/urfave/cli/v2.(*Command).Run(0xc0001f70e0, 0xc000366a80, 0x0, 0x0)
	/home/anomalroil/go/pkg/mod/github.com/urfave/cli/v2@v2.2.0/command.go:164 +0x4e2
github.com/urfave/cli/v2.(*App).RunContext(0xc000001c80, 0x561459ec4300, 0xc000343290, 0xc0001a6020, 0x2, 0x2, 0x0, 0x0)
	/home/anomalroil/go/pkg/mod/github.com/urfave/cli/v2@v2.2.0/app.go:306 +0x816
main.main()
	src/github.com/gopasspw/gopass/main.go:83 +0x420

Steps To Reproduce
Have a mounted substore and then do:
gopass config

Solution
This was introduced by the refactoring done #1391
(Fix is incoming as a PR soon.)

Thank you for reporting this issue and working on a fix.
This is something I believed to be covered by integration tests.

It will be covered in a few minutes :)


termbox2 and the future of ex_termbox

Hi all! @mhanberg and I had a brief conversation about porting this library to use termbox2 and we wanted to solicit input.
In addition to some useful enhancements over termbox, the primary motivation of moving to termbox2 is that it is actively maintained. (Indeed, the termbox readme currently points to termbox2 as a preferred choice for new projects.)
There are a few of options for how to proceed:

If @ndreynolds has interest, I believe it would be possible to update this project to use termbox2 without breaking backwards compatibility.
This project could be forked as ex_termbox2 and maintained independently. If this occurred, a separate discussion could be had about maintaining API compatibility, which might allow Ratatouille to easily switch to it if desired at any point.

I'm eager to hear any thoughts, suggestions, or alternatives from anyone interested!

@zachallaun / @mhanbergI think this project is unmaintained, there's an open PR which fixes a deterministic build failure that hasn't been merged for many months.
I'd be interested in contributing to a fork which targets termbox2, if one exists or will exist.

@zachallaun does the fork exist? I was about to try to do that on my own, but decided to check the issues first 😉

I have posted my WIP PR that moves over to Termbox2 in case you are interested. Very rough, but seems to work: https://github.com/ndreynolds/ex_termbox/pull/15


Windows builds on Appveyor are unreliable

While working on PR #1010 I noticed that the Appveyor build is rather unreliable.
It tends to fail because it could not install a dependency (not because the code being verified is wrong).
Check these builds:

3.7.0-ci926 with Environment: Platform=MinGW64, PlatformToolset=5.3.0
3.7.0-ci927 with Environment: Platform=MinGW32, PlatformToolset=5.3.0

While I'll agree that this behavior is annoying, I don't really know how to fix it.  Currently we suppress all output during install because it was outputting the list of files extracted from the zip file.  A newer version of chocolatey was supposed to clean up that behavior, I haven't checked in a while if that's on appveyor yet.
It may be possible to wrap the install in a try/catch, try to install multiple times in case something unexpected happens the first time.  I'll try to take a look at this when I get a chance.  It's not really ideal, more a workaround than a fix, but may be all we can do.

I think a retry on network error would be exactly what is needed.

I added support to the Appveyor build for caching the MinGW installs, hopefully that has cleaned up this issue some.  Looking through the logs it appears that the build hasn't failed due to network errors since.  Any thoughts on closing this?

I remember it failing once, but it seems more stable.


Documentation about ModelStateDictionary.AddModelError

Trying to find documentation about ModelState.AddModelError(), but can't find anything, except the .net api docs.
I can find usage of it in sample projects, but not official docs for it. Can you point me to the docs?

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

ID: 0156ffc3-47ac-d5da-fbc2-9ff5018b071b
Version Independent ID: 615db388-a244-41f7-21b5-a4085d9ed479
Content: Model validation in ASP.NET Core MVC
Content Source: aspnetcore/mvc/models/validation.md
Product: aspnet-core
Technology: aspnetcore-mvc
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

Here's some examples

https://docs.microsoft.com/en-us/aspnet/mvc/overview/getting-started/getting-started-with-ef-using-mvc/handling-concurrency-with-the-entity-framework-in-an-asp-net-mvc-application#modify-department-controller
https://docs.microsoft.com/en-us/aspnet/core/mvc/controllers/testing
https://docs.microsoft.com/en-us/aspnet/core/test/razor-pages-tests


Invoke in-editor serialization automatically when member value changes

Unitys sends tons of serialization messages responding to/serializing in all of them causes huge editor lag on my machine (using FullSerializer).
The way to identify if a member in a target has changed is tricky. The only decent way of doing it was to actually serialize the member value and compare the resulting data with the target current data (see RuntimeHelper.IsModified) - but that doesn't really solve the issue since it's using serialization to detect the change, and determine whether or not we should serialize...  But I had to do it since some System.Object references were losing their values when serializing in every Unity serialization message.
In a recent commit I introduced the ability (OPTIONAL, turned off by default) to manually mark an object changed/dirty and only then serialize it (https://github.com/vexe/VFW/commit/6344fc466dc0b24b9912a2556a600aea0c3c5ffe) - I was calling MarkChanged when the gui changes, but that soon appeared to be a very bad idea, imagine typing in a search box filtering a huge collection and every time you type a letter the collection serializes generating 10s of MB garbage (eventually it reached 100MB).... But now it's a pain in the back to have to track down when a member changes to call MarkChanged. You pretty much have to always remember to mark if you're modifying the member from code, not via editor.
It would really be nice if there was a way to invoke serialization only when needed. that might include:

When a member in a target changes value (either from editor or code)
OR only when you enter playmode, close Unity and switch scene

I actually love these author issues because they give insight into the framework and they let people know what's on the development road map.

I could not find an ideal solution to the problem. FullSerializer is low but is the most convenient. The other serializers I wrote (binary) are still not mature yet, I change the data layout from time to time, that is not a good thing to do in a serializer exposed to the public in a framework.
The best solution I found is just to use BaseBehaviour https://github.com/vexe/VFW/commit/f1a52d87c03e8acd51c2eb14fd3501015dd75285 wherever possible (has 0 runtime penalty) and just stick to Unity's serialization, and workaround it if you need to (e.g. SerializableDictionary https://github.com/vexe/VFW/commit/1712456a6ff22073435c4b35e2a972bf31bd7d04)  Custom serialization is either slow, or not robust/stable.
Although we give Unity's serialization flak, but it's actually pretty good for what it is. The limitations are not so bad to work with. Who needs to serialize public auto-propertie? just use fields.. I never needed polymorphic serialization in my game, in fact I think OOP/inheritance is one of the worst designs you could use in a game, it drastically over-complicates things and brings focus away from the real problem: data. Maybe I'll rant about this later.


release is not actual

code have more actual version that release. For example method base64 for Normal captcha not found in release, but exist into last git commit !

released v1.0.1 with all the latest changes


Add a default config file

fix  #226
Signed-off-by: yanxuean<EMAIL_ADDRESS>@Random-Liu

test record
_output/cri-containerd --default-config
socket_path = "/var/run/cri-containerd.sock"
root_dir = "/var/lib/cri-containerd"
stream_server_address = ""
stream_server_port = "10010"
cgroup_path = ""
enable_selinux = false
sandbox_image = "gcr.io/google_containers/pause:3.0"
[containerd]
snapshotter = "overlayfs"
endpoint = "/run/containerd/containerd.sock"
[cni]
bin_dir = "/opt/cni/bin"
conf_dir = "/etc/cni/net.d"

@yanxuean This is nice! Could you rebase this PR? The previous one is merged. :)

@Random-Liu
done

@yanxuean Can we have a default config object? And get the default from the default config object in AddFlags.
And then PrintDefaultConfig could just encode the default config object and print directly.

Actualy there are no need to do Parse,  it has set the default value to variable in AddFlags by pflag source code.But it belong to pflag's internal implement.Pflag do not promise it for user. So I think we should not leverage it. And you?

Actualy there are no need to do Parse, it has set the default value to variable in AddFlags by pflag source code.But it belong to pflag's internal implement.Pflag do not promise it for user. So I think we should not leverage it. And you?

Golang is doing the same thing. I think it's fine to remove the Parse.

2 nits, otherwise LGTM.

LGTM


Support go-to-definition on macro references within dart documentation comments

Currently, Flutter source code is filled with @macro references within its documentation comments. While reading the code and drilling in using an IDE, it becomes difficult to read the actual documentations since they are not located above their definition.
In some cases,  the entire documentation comment is located elsewhere:
  /// {@macro flutter.widgets.editableText.strutStyle}
  final StrutStyle? strutStyle;

  /// {@macro flutter.widgets.editableText.textAlign}
  final TextAlign? textAlign;

  /// {@macro flutter.widgets.editableText.textDirection}
  final TextDirection? textDirection;

In other cases, a segment of the documentation is located elsewhere  (i.e., {@macro flutter.widgets.State.initState})
  /// Called whenever the widget configuration changes.
  ///
  /// If the parent widget rebuilds and request that this location in the tree
  /// update to display a new widget with the same [runtimeType] and
  /// [Widget.key], the framework will update the [widget] property of this
  /// [State] object to refer to the new widget and then call this method
  /// with the previous widget as an argument.
  ///
  /// Override this method to respond when the [widget] changes (e.g., to start
  /// implicit animations).
  ///
  /// The framework always calls [build] after calling [didUpdateWidget], which
  /// means any calls to [setState] in [didUpdateWidget] are redundant.
  ///
  /// {@macro flutter.widgets.State.initState}
  ///
  /// If you override this, make sure your method starts with a call to
  /// super.didUpdateWidget(oldWidget).
  @mustCallSuper
  @protected
  void didUpdateWidget(covariant T oldWidget) { }

The main pain point above is having to manually search for the definition in a project that's not part of the workspace.
Ideally, it'd be preferable if documentation is actually shown above its definition, and I hope that will be taken into consideration.
But for this request, it'd be useful to support go-to-definition on {@macro some.refrence.to.some.definition} so it can be supported by IDEs. This way drilling into the code and documentation will be easier than having to search for the definition outside the workspace.

Plus one for this improvement proposal.
This did not use to be an issue as most documentation comments in Flutter were not using macros earlier, on the other hand it then meant that repeated/duplicated documentation comments had to be maintained in multiple places and might become outdated. So the increased macro usage is certainly understandable from that point of view as it it enables maintaining a single source of documentation "truth".
However, they really make drilling into classes and their properties in the Flutter SDK to quickly find the documentation a lot less useful than it used to be. To the point where it no longer is very practical or useful at all.
Please consider improving the developer experience on this.
Minimum requirement would be a click through to actual macro definition, but certainly even better if the primary supported IDE's Studio/IntelliJ and VS-Code could expand the macros directly inline without need to drill into where they are actually defined.

Many of my field comments are
/// See [IconButton.icon]

Would be nice if we could have a similar syntax for macros.

Instead of adding complexity at the IDE level as a flutter user I would much rather have comments everywhere (not following macros). In this way I don't have any problems looking at the source code from any program or even from github directly.
Maybe there could still be the macros, but with the actual comment underneath/on top? There then may be an additional processing step of the CI-Pipeline where it is checked that the docs are up to date everywhere?
This would make the development on flutter maybe a bit harder but would bring a big benefit for all the flutter users. Maybe there could be a pre-commit hook where the docs are updated before checking something in or something along those lines... I'm sure one can get tooling that would alleviate most of the pain.

@Jonas-Sander I like this idea too, it would be universal and like you say work regardless off IDE tooling and thus for GitHub reading too. Definitely my preferred choice as well, good suggestion! 💙

Any changes to the way documentation comments are handled in Flutter would come from the Flutter team. I encourage you to open an issue to request this change at https://github.com/flutter/flutter.

@bwilkerson Thanks for the suggestion and done: https://github.com/flutter/flutter/issues/77607

I'll keep this issue open - it sounds like we may want either this issue to be addressed of the flutter/flutter one.


[Bug]: How to put it back in sidebar?

Describe the bug
Is it removed because of the new update? If so how to put it back?
Relevant errors (if available)
No response
Steps to reproduce
Start up obsidian.
Expected Behavior
As per usual for it to be in the right sidebar so you can commit, stage, etc.
Addition context
No response
Operating system
macOS
Installation Method
None
Plugin version
2.20.1

I guess you mean the source control view. There is a command to open that. See readme


Should build upon https://github.com/jschneier/django-storages ?

Rather than the original django-storages ?
https://github.com/jschneier/django-storages

This may now be closed as the repo you mention is now django-storages on Pypi:
https://github.com/jschneier/django-storages/issues/90


Spooling of SPI Data To Disk On Capture Host

Please modify the capture process to spool the generated SPI data to disk in the event of being unable to communicate with the ES cluster. This would allow network/ES outages to not impact the indexing of SPI data which otherwise would lead to the traffic not being indexed.

Want to make it use a message q like kafta and such, not sure we will do direct to disk.

Might do kafta someday, but not this :)

Might do kafta someday, but not this :)


feat: use Cmake instead of make to build metal-gpu-cpp

Actual Makefile based metal-gpu-cpp compilation contains hardcoded paths, and so can't be done on every machine
The goal of this PR is to add a more generic compilation procedure.
How to use:

Copy the metal-cpp folder to metal-gpu-c
Cd to metal-gpu-c
Run cmake .
Run make install
The library now is in the right folder in the python lib.

The library path has changed from binaries/lib.so to lib/libmetalgpucpp.dylib (which could be changed)
Drawbacks:

The installation procedure must be done in the metal-gpu-c folder, and create a lot of files. This is not very practical

Executable compilation could be added to the pip installation process, removing the need to commit the executable

Not going to compile on pip install, since metal-cpp headers arent included by default, and the aim is to keep it streamlined. Downloading the metal-cpp headers seems over intrusive.


Bump golang version from 1.21 to 1.22

Description
This PR bumps golang version from 1.21 to 1.22

/test

/test

/merge


Save Async

SaveAsync
Are there any plans to add it or are you looking for pull requests?

Pull requests always welcome.

Available as of v5-alpha4


Add "OldVersion" parameter to SampleConfigs json files

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request

Module Version

3.0.1

Affected Resource(s)
SampleConfigs\v3\Base Deployment

BaseDeployment-DualMachine.json
BaseDeployment-MultiMachine.json
BaseDeployment-SingleMachine.json
BaseDeployment-SingleMachine-CloudStore.json
BaseDeployment-ThreeMachine.json
BaseDeployment-ThreeMachine-per-node-licenses.json
BaseDeployment-ThreeMachine-ssl-per-Node-Example1.json
BaseDeployment-ThreeMachine-ssl-per-Node-Example2.json

Configuration Files
Excerpt from BaseDeployment-SingleMachine.json
"ConfigData": {
        "Version": "[Version of ArcGIS Deployment]",
        "ServerContext": "server",
        "PortalContext": "portal",
        "ServerRole": "GeneralPurposeServer",
        ....

Expected Behavior
TL;DR: Should "OldVersion": "[version you are upgrading from]", be included after "Version" parameter in json files?
I have used the argis-powershell-dsc (ver. 2.0, 3.0) for deploying and upgrading Enterprise since version 10.6.
I just noticed that the new 3.0 wiki documentation indicates, in the "Edit your configuration files" section, that upgrades should now include a parameter for "OldVersion". I assume this
is supposed to be in the "ConfigData" section of the json files. None of the SampleConfigs\v3\Base Deployment*.json files have this parameter included.
Is this a "required" parameter at version 3.0 or just a suggested parameter?
I've never contributed to public repositories before. I'd like to add this to all the json files, but before I do, I wanted to confirm that it should be added and the "ConfigData" section is the correct location. Please confirm if this is correct and I'll add the parameter to the files and submit a pull request.
Actual Behavior
Files do not contain "OldVersion" parameter.
References
Edit your configuration files section of 3.0 wiki documentation.

Hello @joekayaker,
The OldVersion parameter is only required when performing -Mode Upgrade. It goes in the ConfigData block of the json file. For example:
"ConfigData":  {
                       "Version":  "10.8",
		       "OldVersion": "10.7.1"
}

It is referenced within the following wiki doc:
OldVersion - To be provided for upgrades only; this is the present version of the different components that will be upgraded.
https://github.com/Esri/arcgis-powershell-dsc/wiki/V3.-Variables-reference-page-for-JSON-configuration-files
Since this parameter is only required with upgrades we do not plan on adding it to the current json files within SampleConfigs\v3\Base Deployment, as these are samples for fresh deployments.

Thanks @cameronkroeker, that's great. It makes sense to not add it to the json files since it's only for upgrades. I thought it would get ignored based upon the "-mode" switch.


random map generation with some progression during epochs

Just an idea we discussed with @curusarn in person.
Maybe we can change the parameters for map generation during the epochs to force the bots to be more clever. The number of planets and their distribution (clusters) comes to mind.
Something like - lowering the number of planets for each epoch to make the game more aggressive.

lowering the number of planets for each epoch

this might require changing some parameters in the bots, which most will do manually rather then figuring out some equations. i think such periodical manual intervenes should be unnecessary.
otherwise, i agree that the map should be generated semi-randomly to ensure that plays do not repeat over epochs.
current algorithm generates 200..300 stars and 1..6 planets at each star. the median for planets is at 2.25 planets per star.
(it does not generate actual stars - they are just the coordinates of the center for a bunch of planets)

Rejected


Forms with choice filters crash at has_external_choices

If a form has a choice_filter, the check for has_external_choices fails with
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/pyxform/xls2xform.py", line 65, in <module>
    warnings = xls2xform_convert(args.path_to_XLSForm, args.output_path)
  File "/usr/local/lib/python2.7/site-packages/pyxform/xls2xform.py", line 24, in xls2xform_convert
    if has_external_choices(json_survey):
  File "/usr/local/lib/python2.7/site-packages/pyxform/utils.py", line 115, in has_external_choices
    elif has_external_choices(v):
  File "/usr/local/lib/python2.7/site-packages/pyxform/utils.py", line 113, in has_external_choices
    if k == u"type" and v.startswith(u"select one external"):
AttributeError: 'list' object has no attribute 'startswith'

The problem is that choices are also represented as k=type. Easiest fix is to make sure v is a list.
if k == u"type" and isinstance(v,basestring) and v.startswith(u"select one external"):

I think we have this fixed on master already, see https://github.com/XLSForm/pyxform/commit/b7b7ecb10e86bcb3673afe5136988c10c0625869.

Agreed. When are you planning on releasing a new version? I try not to build around master.

I haven't had much time to look at issues and get some of them closed and https://github.com/XLSForm/pyxform/compare/v0.9.22...master does not seem like much to warrant a release. Maybe time it with the next ODK Validate release. But if there is much demand I could do one with the current master as is.

Nah, don't worry about it. I'll just do a release on master every few months.


api: serve flights with graphql

https://www.apollographql.com/

This is not needed so far as we don't need to expose flights externally.


python310Packages.mypy-boto3-s3: 1.26.0.post1 -> 1.26.58

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.mypy-boto3-s3 is: Type annotations for boto3.s3
meta.homepage for python310Packages.mypy-boto3-s3 is: https://github.com/youtype/mypy_boto3_builder
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.26.58 with grep in /nix/store/f54llxkaayn4a0ljagp9wkxp96zcgjin-python3.10-mypy-boto3-s3-1.26.58
found 1.26.58 in filename of file in /nix/store/f54llxkaayn4a0ljagp9wkxp96zcgjin-python3.10-mypy-boto3-s3-1.26.58

Rebuild report (if merged into master) (click to expand)

5 total rebuild path(s)

5 package rebuild(s)

First fifty rebuilds by attrpath
python310Packages.dependency-injector
python310Packages.mypy-boto3-s3
python311Packages.dependency-injector
python311Packages.mypy-boto3-s3
toil

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/f54llxkaayn4a0ljagp9wkxp96zcgjin-python3.10-mypy-boto3-s3-1.26.58 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python310Packages.mypy-boto3-s3 https://github.com/r-ryantm/nixpkgs/archive/5d1025cfdbd9bad2fedc9099d089975f8ff8de73.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/f54llxkaayn4a0ljagp9wkxp96zcgjin-python3.10-mypy-boto3-s3-1.26.58
ls -la /nix/store/f54llxkaayn4a0ljagp9wkxp96zcgjin-python3.10-mypy-boto3-s3-1.26.58/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package failed to build:

python311Packages.dependency-injector

4 packages built:

python310Packages.dependency-injector
python310Packages.mypy-boto3-s3
python311Packages.mypy-boto3-s3
toil

Maintainer pings
cc @fabaff for testing.

@ofborg build toil


Added PR_template.md

Related Issue

Fixes #60
Changes

I have added the template for raising PRs.

LGTM


import failed (macOS 10.13)

macOS 10.13.6
pip 21.1.1
$ python
Python 3.9.0 (default, Jan 16 2021, 11:44:45)
[Clang 9.0.0 (clang-9<IP_ADDRESS>)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyjion
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/john/.pyenv/versions/3.9.0/lib/python3.9/site-packages/pyjion/__init__.py", line 70, in <module>
    from ._pyjion import *  # NOQA
ModuleNotFoundError: No module named 'pyjion._pyjion'

install log
$ pip install pyjion --no-cache-dir
Collecting pyjion
  Downloading pyjion-0.15.0.tar.gz (136 kB)
     |████████████████████████████████| 136 kB 5.7 MB/s
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... done
Building wheels for collected packages: pyjion
  Building wheel for pyjion (PEP 517) ... done
  Created wheel for pyjion: filename=pyjion-0.15.0-py3-none-any.whl size=18401 sha256=3c3096b89c7b777ee86f3e03c33eaf8248e8578997425be94d7c445ea95de4e5
  Stored in directory: /private/var/folders/ww/51xbs7nx6t16x7mh225q9x1h0000gn/T/pip-ephem-wheel-cache-6avchvny/wheels/20/77/d9/d859ed84f8633d0c51271d83f04ccdcbbb0f70824faca69432
Successfully built pyjion
Installing collected packages: pyjion
Successfully installed pyjion-0.15.0

The wheels for macOS require Big Sur.

got it-- I see this in the changelog:

Installable bdist_wheel for Ubuntu, Debian, macOS 10.15, 11 (10.16) and Windows x64

perhaps worth noting in the README, and maybe I'd move this text to the "Installing" section:

To get started, you need to have .NET 5 installed, with Python 3.9 and the Pyjion package (I also recommend using a virtual environment).

The error is now more useful


tests: kernel: timer: Add a new testcase for timer

Add a new testcase to testing the timer duration is precise or not.
Convert timer duration to cycle, then verify the duration and cycle
value that get by k_cycle_get() are equal.
Signed-off-by: Jian Kang<EMAIL_ADDRESS>

I'm certain we already have tests that do more or less exactly this. What coverage are you trying to get that we don't already have?

Yes I found the existing case do more this, so close this PR, thanks! 🙂


Support background

@tummetott thanks for rewriting. The original plugin didn't even switch to using <Cmd> (maybe for BC reasons) so commands at the RHS of mappings are visible on the input field there.

Thank for the PR ❤
I've actually already written the functions for background. See:
https://github.com/tummetott/unimpaired.nvim/blob/3ed9403493dcba780cadf8e87a019d7b70ca6a74/lua/unimpaired/functions.lua#L220-L231
I just forgot to add them in config.lua and README.md.
Can you exclude your changes in functions.lua, then I'm happy to merge.

The original plugin didn't even switch to using  (maybe for BC reasons) so commands at the RHS of mappings are visible on the input field there.

I'm not sure if I understand you here. Can you explain that in more detail?

My English can be still poor. My comment does not matter for this PR. It had to explain why I started to find any alternative to the original plugin. For details please look into
https://github.com/tpope/vim-unimpaired/blob/6d44a6dc2ec34607c41ec78acf81657248580bf1/plugin/unimpaired.vim#L43-L70

Indeed! Not finding needed config key I did not assume that the implementation can already exist...

@przepompownia I'm not sure if I understand you here. Can you explain that in more detail?

In practice, yob caused opening Noice input while to "typing" the related command :grin:

In practice, yob caused opening Noice input while to "typing" the related command 😁

you mean in topopes plugin?
Thank you for the PR

you mean in topopes plugin?

Yes, as under the link above.
Thank you too.


feat: Get rid of custom image for lakehouse Spark job

Good catch! We might want to put the contents in the spark docs, as customers will properly ask how to build custom images (we might already have it in the docs ^^)


init: guide the user with setting up packit

We'd love to have a more welcoming experience for the packit init command. The problem is that users who use this command have never used packit so this is probably their first experience.
We could bring interactivity (and colors?) where users would answer a few basic questions which would then be used to construct .packit.yaml
We don't need to have it perfect or cover every single config option (please don't do that! :), just the bare minimum. Even better would be to ask users what they want to do with packit (PR builds, PR tests, main branch builds, sync to dist-git, etc.) instead of asking for specific values for configuration.
Optionally, there could be a verification phase, or clear next steps what to do next.
Before starting the work on this: please look at the existing code and propose how would you change the command.

This would be very nice to have but at the same time we are making small improvements in the overall workflow. Closing since we haven't found time for this.


python.pkgs.trec-car-tools: init at 2.6

Description of changes
See https://github.com/TREMA-UNH/trec-car-tools/python3
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Upstream project no longer actively maintained.


Does concurrent limit only apply to enque(List)?

I am trying to download a lot of files at once, but I don't want all of the downloads to fail if one of them does, which the kdoc on enqueue(List<Request>) says will happen. So when I in queue them one by one, it seems that the concurrent limit is not respected, and they are simply processed one at a time.

Can you try using
.setHttpDownloader(
OkHttpDownloader(httpClient,Downloader.FileDownloaderType.PARALLEL)
)


Failed to find 'com.avast:android-styled-dialogs:2.0.1'

Hi there,
I have a problem. My build.gradle reports the issue from title. This is mine build.gradle file:
buildscript {
    repositories {
        mavenCentral()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:1.0.+'
    }
}

allprojects {
    repositories {
        mavenCentral()
    }
}

apply plugin: 'android'

dependencies {
    compile fileTree(dir: 'libs', include: '*.jar')
    compile "com.android.support:support-v4:18.0.+"
    compile "com.android.support:appcompat-v7:18.0.+"
    compile 'com.android.support:support-v4:21.0.+'
    compile 'com.avast:android-styled-dialogs:2.0.1'
    ...

}

android {
    compileSdkVersion 21
    buildToolsVersion "21.0.2"

    sourceSets {
        main {
            manifest.srcFile 'AndroidManifest.xml'
            java.srcDirs = ['src']
            resources.srcDirs = ['src']
            aidl.srcDirs = ['src']
            renderscript.srcDirs = ['src']
            res.srcDirs = ['res']
            assets.srcDirs = ['assets']
        }

    }

    packagingOptions {
        exclude 'META-INF/LICENSE.txt'
    }
}

Any suggestions?

It's because you have mavenCentral() as main repository. You need to have jcenter()

You saved my time, thanks...


BUG: fix the view current view selection on layout with N views for the microscopy extension

Bug Report
Describe the Bug
For the miscroscopy extension, when having a layout with N (with N> 1) views, it is not possibile to change the active view by clicking on the desidered view
What steps can we follow to reproduce the bug?

open a miscropy datasets with more than one channel
set a layout with more than one view
click on a view to activate it
the view does not get activated when clicking on the view.

Expected behavior
the selected view gets activated when clicking on it.

@pieper since we will use the slim viewer, I guess this is not anymore a HTAN/IDC priority, isn't it?
I will leave this open, but I will remove the HTAN IDC labels

Right, this particular bug is no longer important and can probably be closed unless we think it's a problem for other OHIF use cases.
But we will want to have a layout feature in Slim, so we should open up an issue there.  Actually, now that I think about it we should develop a general list of functions we expect from Slim and use that to prioritize development.  Perhaps we could develop it as a generalization of your meeting notes.

Ok, thanks for the feedback. I would leave open since the bug is there, I would say it's just that it is not anymore a HTAN/IDC priority.
Yes definitely at next IDC-OIHF meeting we should talk about the slim viewer UI (layouts, multi-channels/blending controls, etc...), design what we need and add a section in the Google document about the interface / create issues in the slim repository. Pinging also @fedorov just for reference.

@igoroctaviano What is the status for this?

@sedghi now IDC uses SLIM for microscopy. @fedorov can we close this legacy issue?

@fedorov @igoroctaviano bump

@sedghi IDC is using SLIM viewer for pathology. Feel free to close this one.

Sorry I missed this earlier. Thank you for closing it!


[scoped-elements] 2.0: getScopedTagName() change not ideal for porting

With 1.x:
this.getScopedTagName('my-internal-tag') -> 'my-internal-tag-1234'

With 2.x
this.getScopedTagName('my-internal-tag') -> 'my-parent-tag'

getScopedTagName() is still there but does something completely different, it returns the tag name of the current element instead of the passed in name.
Suggestions:

return the name that was passed in. (is there a way to validate it somehow?)
remove the method so it's clear that this needs attention when porting

@manolakis

The current logic is unexpected indeed. We should return the tag that was passed in.

ouch :( Fixing it.

Thanks! works nicely now


Error casting to regclass during schema discovery in PostgreSQL via EdgeDB connection

When attempting to perform schema discovery on a PostgreSQL database through an EdgeDB-managed connection, the operation fails due to an error in casting to regclass. This error is encountered during the execution of a command that involves casting a value returned by pg_get_serial_sequence to REGCLASS and then to OID. The process is part of a larger ELT pipeline managed by Meltano, specifically utilizing the tap-postgres tool for extracting data from PostgreSQL.

EdgeDB Version: 4.1+2194ddc
EdgeDB CLI Version: 4.1.0+a8fe4d7
OS Version: macOS 12.7.4

Steps to Reproduce:
We are using a third-party provider who uses Meltano ELT pipeline with tap-postgres configured to extract data from a PostgreSQL database. When we configure the connection, we get the error provided below.
Expected Behavior
The schema discovery process completes successfully, with tap-postgres correctly identifying tables, columns, and associated metadata, including sequences and serial columns without any casting errors.
Actual Behavior
The schema discovery process fails with the following error message:
casting to `regclass` requires a string or number literal LINE 5: ...' AND pg_catalog.pg_sequence.seqrelid = CAST(CAST(pg_catalog... ^
This indicates a failure in the SQL execution related to casting operations within PostgreSQL, specifically triggered during schema reflection.

And here's the SQL command causing the issue, simplified for clarity:
SELECT ... FROM pg_catalog.pg_class
LEFT OUTER JOIN ...
LEFT OUTER JOIN ...
JOIN ...
WHERE ... AND pg_catalog.pg_sequence.seqrelid = CAST(CAST(pg_catalog.pg_get_serial_sequence(...) AS REGCLASS) AS OID)

Error message

Error: ELT could not be completed: Cannot start extractor: Catalog discovery failed: command ['/meltano_dataset_sync/.meltano/extractors/tap-postgres/venv/bin/tap-postgres', '--config', '/meltano_dataset_sync/.meltano/run/elt/dataset_t1948d1431_nodes_dataset/067a3e15-b473-4c56-b84a-b7d008296d44/tap.ffab1b26-bdab-4a90-a2a5-5e26267bb218.config.json', '--discover'] returned 1 with stderr: Traceback (most recent call last): File "/meltano_dataset_sync/.meltano/extractors/tap-postgres/venv/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1971, in _exec_single_context self.dialect.do_execute( File "/meltano_dataset_sync/.meltano/extractors/tap-postgres/venv/lib/python3.11/site-packages/sqlalchemy/engine/default.py", line 919, in do_execute cursor.execute(statement, parameters) psycopg2.errors.InternalError_: casting to `regclass` requires a string or number literal LINE 5: ...' AND pg_catalog.pg_sequence.seqrelid = CAST(CAST(pg_catalog... ^ The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/meltano_dataset_sync/.meltano/extractors/tap-postgres/venv/bin/tap-postgres", line 8, in  sys.exit(TapPostgres.cli()) ^^^^^^^^^^^^^^^^^ File "/meltano_dataset_sync/.meltano/extractors/tap-postgres/venv/lib/python3.11/site-packages/click/core.py", line 1157, in __call__ return self.main(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/meltano_dataset_sync/.meltano/extractors/tap-postgres/venv/lib/python3.11/site-packages/click/core.py", line 1077, in main with self.make_context(prog_name, args, **extra) as ctx: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/meltano_dataset_sync/.meltano/extractors/tap-postgres/venv/lib/python3.11/site-packages/click/core.py", line 943, in make_context self.parse_args(ctx, args) File "/meltano_dataset_sync/.meltano/extractors/tap-postgres/venv/lib/python3.11/site-packages/click/core.py", line 1408, in parse_args value, args = param.handle_parse_result(ctx, opts, args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/meltano_dataset_sync/.meltano/extractors/tap-postgres/venv/lib/python3.11/site-packages/click/core.py", line 2400, in handle_parse_result value = self.process_value(ctx, value) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/meltano_dataset_sync/.meltano/extractors/tap-postgres/venv/lib/python3.11/site-packages/click/core.py", line 2362, in process_value value = self.callback(ctx, self, value) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/meltano_dataset_sync/.meltano/extractors/tap-postgres/venv/lib/python3.11/site-packages/singer_sdk/tap_base.py", line 540, in cb_discover tap.run_discovery() File "/meltano_dataset_sync/.meltano/extractors/tap-postgres/venv/lib/python3.11/site-packages/singer_sdk/tap_base.py", line 295, in run_discovery catalog_text = self.catalog_json_text ^^^^^^^^^^^^^^^^^^^^^^ File "/meltano_dataset_sync/.meltano/extractors/tap-postgres/venv/lib/python3.11/site-packages/singer_sdk/tap_base.py", line 315, in catalog_json_text return json.dumps(self.catalog_dict, indent=2) ^^^^^^^^^^^^^^^^^ File "/meltano_dataset_sync/.meltano/extractors/tap-postgres/venv/lib/python3.11/site-packages/tap_postgres/tap.py", line 526, in catalog_dict result["streams"].extend(self.connector.discover_catalog_entries()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/meltano_dataset_sync/.meltano/extractors/tap-postgres/venv/lib/python3.11/site-packages/singer_sdk/connectors/sql.py", line 522, in discover_catalog_entries catalog_entry = self.discover_catalog_entry( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/meltano_dataset_sync/.meltano/extractors/tap-postgres/venv/lib/python3.11/site-packages/singer_sdk/connectors/sql.py", line 461, in discover_catalog_entry for column_def in inspected.get_columns(table_name, schema=schema_name): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/meltano_dataset_sync/.meltano/extractors/tap-postgres/venv/lib/python3.11/site-packages/sqlalchemy/engine/reflection.py", line 859, in get_columns col_defs = self.dialect.get_columns( ^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 2, in get_columns File "/meltano_dataset_sync/.meltano/extractors/tap-postgres/venv/lib/python3.11/site-packages/sqlalchemy/engine/reflection.py", line 97, in cache ret = fn(self, con, *args, **kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/meltano_dataset_sync/.meltano/extractors/tap-postgres/venv/lib/python3.11/site-packages/sqlalchemy/dialects/postgresql/base.py", line 3540, in get_columns data = self.get_multi_columns( ^^^^^^^^^^^^^^^^^^^^^^^ File "/meltano_dataset_sync/.meltano/extractors/tap-postgres/venv/lib/python3.11/site-packages/sqlalchemy/dialects/postgresql/base.py", line 3684, in get_multi_columns rows = connection.execute(query, params).mappings() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/meltano_dataset_sync/.meltano/extractors/tap-postgres/venv/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1422, in execute return meth( ^^^^^ File "/meltano_dataset_sync/.meltano/extractors/tap-postgres/venv/lib/python3.11/site-packages/sqlalchemy/sql/elements.py", line 514, in _execute_on_connection return connection._execute_clauseelement( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/meltano_dataset_sync/.meltano/extractors/tap-postgres/venv/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1644, in _execute_clauseelement ret = self._execute_context( ^^^^^^^^^^^^^^^^^^^^^^ File "/meltano_dataset_sync/.meltano/extractors/tap-postgres/venv/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1850, in _execute_context return self._exec_single_context( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/meltano_dataset_sync/.meltano/extractors/tap-postgres/venv/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1990, in _exec_single_context self._handle_dbapi_exception( File "/meltano_dataset_sync/.meltano/extractors/tap-postgres/venv/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 2357, in _handle_dbapi_exception raise sqlalchemy_exception.with_traceback(exc_info[2]) from e File "/meltano_dataset_sync/.meltano/extractors/tap-postgres/venv/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1971, in _exec_single_context self.dialect.do_execute( File "/meltano_dataset_sync/.meltano/extractors/tap-postgres/venv/lib/python3.11/site-packages/sqlalchemy/engine/default.py", line 919, in do_execute cursor.execute(statement, parameters) sqlalchemy.exc.InternalError: (psycopg2.errors.InternalError_) casting to `regclass` requires a string or number literal LINE 5: ...' AND pg_catalog.pg_sequence.seqrelid = CAST(CAST(pg_catalog... ^ [SQL: SELECT pg_catalog.pg_attribute.attname AS name, pg_catalog.format_type(pg_catalog.pg_attribute.atttypid, pg_catalog.pg_attribute.atttypmod) AS format_type, (SELECT pg_catalog.pg_get_expr(pg_catalog.pg_attrdef.adbin, pg_catalog.pg_attrdef.adrelid) AS pg_get_expr_1 FROM pg_catalog.pg_attrdef WHERE pg_catalog.pg_attrdef.adrelid = pg_catalog.pg_attribute.attrelid AND pg_catalog.pg_attrdef.adnum = pg_catalog.pg_attribute.attnum AND pg_catalog.pg_attribute.atthasdef) AS "default", pg_catalog.pg_attribute.attnotnull AS not_null, pg_catalog.pg_class.relname AS table_name, pg_catalog.pg_description.description AS comment, pg_catalog.pg_attribute.attgenerated AS generated, (SELECT json_build_object(%(json_build_object_2)s, pg_catalog.pg_attribute.attidentity = %(attidentity_1)s, %(json_build_object_3)s, pg_catalog.pg_sequence.seqstart, %(json_build_object_4)s, pg_catalog.pg_sequence.seqincrement, %(json_build_object_5)s, pg_catalog.pg_sequence.seqmin, %(json_build_object_6)s, pg_catalog.pg_sequence.seqmax, %(json_build_object_7)s, pg_catalog.pg_sequence.seqcache, %(json_build_object_8)s, pg_catalog.pg_sequence.seqcycle) AS json_build_object_1 FROM pg_catalog.pg_sequence WHERE pg_catalog.pg_attribute.attidentity != %(attidentity_2)s AND pg_catalog.pg_sequence.seqrelid = CAST(CAST(pg_catalog.pg_get_serial_sequence(CAST(CAST(pg_catalog.pg_attribute.attrelid AS REGCLASS) AS TEXT), pg_catalog.pg_attribute.attname) AS REGCLASS) AS OID)) AS identity_options FROM pg_catalog.pg_class LEFT OUTER JOIN pg_catalog.pg_attribute ON pg_catalog.pg_class.oid = pg_catalog.pg_attribute.attrelid AND pg_catalog.pg_attribute.attnum > %(attnum_1)s AND NOT pg_catalog.pg_attribute.attisdropped LEFT OUTER JOIN pg_catalog.pg_description ON pg_catalog.pg_description.objoid = pg_catalog.pg_attribute.attrelid AND pg_catalog.pg_description.objsubid = pg_catalog.pg_attribute.attnum JOIN pg_catalog.pg_namespace ON pg_catalog.pg_namespace.oid = pg_catalog.pg_class.relnamespace WHERE pg_catalog.pg_class.relkind = ANY (ARRAY[%(param_1)s, %(param_2)s, %(param_3)s, %(param_4)s, %(param_5)s]) AND pg_catalog.pg_namespace.nspname = %(nspname_1)s AND pg_catalog.pg_class.relname IN (%(filter_names_1)s) ORDER BY pg_catalog.pg_class.relname, pg_catalog.pg_attribute.attnum] [parameters: {'json_build_object_2': 'always', 'attidentity_1': 'a', 'json_build_object_3': 'start', 'json_build_object_4': 'increment', 'json_build_object_5': 'minvalue', 'json_build_object_6': 'maxvalue', 'json_build_object_7': 'cache', 'json_build_object_8': 'cycle', 'attidentity_2': '', 'attnum_1': 0, 'param_1': 'r', 'param_2': 'p', 'param_3': 'f', 'param_4': 'v', 'param_5': 'm', 'nspname_1': 'information_schema', 'filter_names_1': 'sql_implementation_info'}] (Background on this error at: https://sqlalche.me/e/20/2j85) . For more detailed log messages re-run the command using 'meltano --log-level=debug ...' CLI flag. Note that you can also check the generated log file at '/meltano_dataset_sync/.meltano/logs/elt/dataset_t1948d1431_nodes_dataset/067a3e15-b473-4c56-b84a-b7d008296d44/elt.log'. For more information on debugging and logging: https://docs.meltano.com/reference/command-line-interface#debugging

Hi folks, I was also able to reproduce the error in another part of the application (Meltano) that leverages SQLAlchemy 2.+ under the hood to get metadata about the database tables. It is the same cast error as above after I manually define the schema to avoid the prior error, so thinking this one cast error may be the root cause.
edgedb_elt_stacktrace.txt

Hi @aljazerzen are there any updates on this bug?
I just tried this again on the latest version of EdgeDB (5.2+ddd8aa4) and still running into the same issue with casting to regclass.

From what I see here, I suspect that this is hitting the boundaries of the emulation of PostgreSQL behavior that EdgeDB exposes.
I'll take a look.


Add regex filters

Add the ability to use regex filters. The regexes should match against the files path relative to the current project, not the full path to root. For example, the file /Users/jon/project/app/foo/test.rb would match on a filter of "jon". I made the String and Array matchers follow that new rule as well.
Fixes #514

No problem. I'll give the README some TLC today.

This is a more correct way to get the projects directory, agreed?

The changes in here will also fix #419 I believe


Download method listed in API docs but not available in client

The download method on the Table object is listed in the API docs to download full tables in specific formats but missing from the Python client. The documentation for downloading via a REST API endpoint mentioned here is also missing
I'm also getting the following error when trying to use to_dataframe and get
SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')])"))
Would be great if one of these methods could be made available. I'd like to download a demo table using an API call (preferably a rest API call)
Let me know if I should be asking somewhere else / someone else :)

Hi @agoddijn - thanks for filing this issue! Apologies, this was a documentation error — that example page was out of date (it's been removed), all python related examples can be found here.
The currently recommended way to pull data out of Redivis is via the listRows endpoint (and corresponding methods in python/R/Node.js), but we can definitely consider implementing an export interface similar to what's offered in the UI. If you could provide details about your use case here, it would definitely be helpful in understanding and prioritizing this feature.
Thanks!

No worries, thanks for the response!
In our use case we want to pull full example OMOP datasets onto our platform in an automated fashion (in case there are any updates). We could do it through the frontend by just downloading the dataset and then uploading to our platform but it's not a reproducible process. We'd rather pull in data either through a REST API call or through a python script if possible.

Got it, thanks, this is helpful. I'll update this issue if there are any updates to this functionality. As an FYI, we will likely need to implement egress quotas (or fees) for large data exports, as the cloud fees for such egress can be non-trivial.


Spike for reducing coupling between tracker featurizer, state featurizer, domain and policy

We discussed reducing coupling between tracker featurizer, state featurizer, domain and policy in Rasa Open Source 3.0. However, we don't have enough information to prioritise this with confidence and include it as part of the 3.0 action plan. We are aiming to make a decision on if we move forward with this based on the outcome of this spike by Thu, Jul 15th.
Definition of done

[x] Problems with current coupling clearly defined
[x] State of the codebase at the end of this decoupling articulated
[x] How will we know that we've achieved it described
[x] What would be needed of research and engineering explained
[x] Risks of decoupling identified (in parallel with architecture revamp)
[x] Enable and research team members have reviewed this document

Probably out of scope of this spike but might be needed to decide re: 3.0?

[ ] Prototype (quick and dirty approach)
[ ] Implementation proposal

document here


Compilation error as dependency. Poison not found ?

I am trying to use livebook as a development tool (just like ex_doc, to write detailed interactive documentation).
So I added it as a dependency to a project, but I get a compile error. I might be doing something wrong/unexpected, but here goes:
Environment

Elixir & Erlang/OTP versions (elixir --version): Elixir 1.14.3 (compiled with Erlang/OTP 25)
Operating system: Pop!_OS 22.04 LTS

Current behavior
$ mix new livetest
...
$ cd livetest && mix test
..
Finished in 0.01 seconds (0.00s async, 0.01s sync)
1 doctest, 1 test, 0 failures
$ vim mix.exs

Add livebook as a dependency
  # Run "mix help deps" to learn about dependencies.
  defp deps do
    [
      {:livebook, "~> 0.8.1", only: :dev, runtime: false}
      # {:dep_from_hexpm, "~> 0.3.0"},
      # {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"}
    ]
  end

$ mix deps.get
...
* Getting livebook (Hex package)
...
$ mix deps.compile
...
==> livebook
Compiling 193 files (.ex)

== Compilation error in file lib/livebook_web/endpoint.ex ==
** (ArgumentError) invalid :json_decoder option. The module Poison is not loaded and could not be found
    (plug 1.14.0) lib/plug/parsers/json.ex:45: Plug.Parsers.JSON.validate_decoder!/1
    (plug 1.14.0) lib/plug/parsers/json.ex:32: Plug.Parsers.JSON.init/1
    (plug 1.14.0) lib/plug/parsers.ex:285: anonymous fn/3 in Plug.Parsers.convert_parsers/2
    (elixir 1.14.3) lib/enum.ex:2468: Enum."-reduce/3-lists^foldl/2-0-"/3
    (plug 1.14.0) lib/plug/parsers.ex:266: Plug.Parsers.convert_parsers/2
    (plug 1.14.0) lib/plug/parsers.ex:262: Plug.Parsers.init/1
    (plug 1.14.0) lib/plug/builder.ex:320: Plug.Builder.init_module_plug/4
    (plug 1.14.0) lib/plug/builder.ex:301: anonymous fn/5 in Plug.Builder.compile/3
could not compile dependency :livebook, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile livebook", update it with "mix deps.update livebook" or clean it with "mix deps.clean livebook"

I am not entirely sure what is the difference, but I noticed that as an escript, this does not happen:
$ mix escript.install hex livebook
...
==> livebook
Compiling 193 files (.ex)
Generated livebook app
Generated escript livebook with MIX_ENV=prod

Expected behavior
$ mix deps.compile
...
==> livebook
Compiling 193 files (.ex)
Generated livebook app

Livebook is really meant to be an application and not to be used as a dependency, so we don't expect the above to work. It is only on Hex so it can be installed as an escript.


chore: set data engine explicitly for the default storageclass

Which issue(s) this PR fixes:

https://github.com/longhorn/longhorn/issues/9584
What this PR does / why we need it:
Special notes for your reviewer:
Additional documentation or context

Which issue(s) this PR fixes:

@shuo-wu let's make sure an issue for this PR, so QA can help validate it.

The ticket is created with a manual test attached.

@shuo-wu
Can you execute generate-longhorn-yaml.sh?

@derekbit
Done. Thank you for the reminder

@mergify backport to v1.7.x


Defining limits (min_value, max_value, min_step, unit, format, etc ...)

>>>>> EDIT, please jump directly to this comment as I managed to get things better, but not enough yet <<<<<
Hello,
I'm actually creating an interface between my old A/C heatpump and HomeKit for my own use and I wanted to know how can we define the accessories details for this kind of scenario :

Minimum temperature : 18 °C
Maximum temperature : 32 °C
Steps : 0.5 °C

I could see that in file "characteristics.h" we have these code lines (related to "HOMEKIT_CHARACTERISTIC_TARGET_TEMPERATURE") :
#define HOMEKIT_CHARACTERISTIC_TARGET_TEMPERATURE HOMEKIT_APPLE_UUID2("35")
#define HOMEKIT_DECLARE_CHARACTERISTIC_TARGET_TEMPERATURE(value, ...)
.type = HOMEKIT_CHARACTERISTIC_TARGET_TEMPERATURE,
.description = "Target Temperature",
.format = homekit_format_float,
.unit = homekit_unit_celsius,
.permissions = homekit_permissions_paired_read
| homekit_permissions_paired_write
| homekit_permissions_notify,
.min_value = (float[]) {10}, \      <<<<<<<< How to modify this setting ?
.max_value = (float[]) {38}, \      <<<<<<<< How to modify this setting ?
.min_step = (float[]) {0.1}, \       <<<<<<<< How to modify this setting ?
.value = HOMEKIT_FLOAT(_value), \
Thanks

Is it just a matter of solving my problem using these lines ?
homekit_characteristic_t * ch_temp = homekit_service_characteristic_by_type(Thermostat, HOMEKIT_CHARACTERISTIC_CURRENT_TEMPERATURE);
ch_temp->min_value.float_value=18.0;
ch_temp->max_value.float_value=32.0;
ch_temp->min_step.float_value=0.5;

Found these lines in example "EspHap_HeaterControl.ino" :

hap_set_charachteristic_validrange_by_type(heater,HOMEKIT_CHARACTERISTIC_CURRENT_TEMPERATURE,-20.0,110.0);
HAP_NOTIFY_CHANGES_WITHCONSTRAIN(float,ch_temp,DeviceData.temp,0.1);

Are these the ones I'm looking for ?

I managed to get something working in THERMOSTAT with HEAT or COOL modes :

hap_set_charachteristic_validrange_by_type(HomeKit_Svc_HVAC, HOMEKIT_CHARACTERISTIC_TARGET_TEMPERATURE, 16.0, 31.0);

But when defining these 2 for AUTO mode, they seem to avoid the pairing procedure in IOS :

hap_set_charachteristic_validrange_by_type(HomeKit_Svc_HVAC, HOMEKIT_CHARACTERISTIC_HEATING_THRESHOLD_TEMPERATURE, 16.0, 31.0);
hap_set_charachteristic_validrange_by_type(HomeKit_Svc_HVAC, HOMEKIT_CHARACTERISTIC_COOLING_THRESHOLD_TEMPERATURE, 16.0, 31.0);

Any idea ?

Manage to solve my problem using these lines :
INIT_CHARACHTERISTIC_VAL_BY_TYPE(int, HomeKit_Svc_1, HOMEKIT_CHARACTERISTIC_CURRENT_POSITION, 50);
INIT_CHARACHTERISTIC_VAL_BY_TYPE(int, HomeKit_Svc_1, HOMEKIT_CHARACTERISTIC_TARGET_POSITION, 50);
INIT_CHARACHTERISTIC_VAL_BY_TYPE(int, HomeKit_Svc_1, HOMEKIT_CHARACTERISTIC_POSITION_STATE, 2);


update powershell and git icons for dark themes

Fixes #[ISSUE]
Changes proposed:

[ ] Add
[ ] Prepare
[ ] Delete
[x] Fix

Things I've done:

[x] I've pulled the latest master branch
[ ] I've run npm install to install all the dependenies
[ ] I've checked my code, it is clean.
[ ] I've run ESLint.
[ ] My pull request fixes an issue, I referenced the issue.
[ ] My pull request is not too big, otherwise I've already squashed it.
[ ] I've run npm run build to build the extension. (If I had done something with the extension.)

[short comment]
Added white background to powershell and git icons to make them consistent with the official icons. The white background on the icons make them look more distinctive when using a dark theme

@jonathanheaden what's exactly this change? I see the same icons...

@robertohuertasm the new icons have white background in the centre. The previous ones had transparent centres, these were harder to see when using a dark theme.


Transform Data

[Enter feedback here]
Under the "Transform and clean data, create a model" header, is the following:
"To start Power Query Editor:
Select Edit Queries > Edit Queries from the Home ribbon."
However, this doesn't work for me. To get to the Power Query Editor I actually just click on "Queries > Transform Data" from the Home ribbon.

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

ID: e941f6c9-1676-dc84-ed1b-027a1c61cd23
Version Independent ID: 373ee1b3-c001-d1a8-6eb4-832cbea29fe1
Content: What is Power BI Desktop? - Power BI
Content Source: powerbi-docs/fundamentals/desktop-what-is-desktop.md
Service: powerbi
Sub-service: pbi-fundamentals
GitHub Login: @davidiseminger
Microsoft Alias: davidi

Hi, @RyanCalovich -- you are so right! I've updated it. Change will be live this afternoon.

Hi, @RyanCalovich -- you are so right! I've updated it. Change will be live this afternoon.


Inline Graphics __calculateBezierCubicPoint & __calculateBezierQuadPoint

Inline __calculateBezierCubicPoint & __calculateBezierQuadPoint on targets except js to avoid method call in curveTo and cubicCurveTo.

Oops... I didn't mean to pollute with all these commits. A gitKraken mistake on my part.

Should be ok if GitHub's squash-merge option is used. :)


gitignore file not being copied over with cookie cutter

Migrated from GitLab: https://gitlab.com/meltano/sdk/-/issues/101
Originally created by @vischous on 2021-04-14 19:44:10

Steps to replicate

sudo docker run -i -t python:3.8 bash (Remove any of my environment specific issues by using a clean docker image)
In the container run

pip3 install pipx
pipx ensurepath
# You may need to reopen your shell at this point
pipx install cookiecutter
# In order to reload bash as a quick hack
bash
cookiecutter https://gitlab.com/meltano/singer-sdk --directory="cookiecutter/tap-template

Then I go into the cookie cutter directory I made after creating a "test tap"

root@7190a0ebef5f:/# cd tap_test
root@7190a0ebef5f:/tap_test# ls
README.md  meltano.yml  pyproject.toml  tap-test.sh  tap_test
root@7190a0ebef5f:/tap_test# ls -lsa
total 32
4 drwxr-xr-x 4 root root 4096 Apr 14 19:39 .
4 drwxr-xr-x 1 root root 4096 Apr 14 19:39 ..
4 drwxr-xr-x 2 root root 4096 Apr 14 19:39 .secrets
4 -rw-r--r-- 1 root root 2525 Apr 14 19:39 README.md
4 -rw-r--r-- 1 root root  345 Apr 14 19:39 meltano.yml
4 -rw-r--r-- 1 root root  481 Apr 14 19:39 pyproject.toml
4 -rwxr-xr-x 1 root root  349 Apr 14 19:39 tap-test.sh
4 drwxr-xr-x 3 root root 4096 Apr 14 19:39 tap_test

No gitignore file exists.
I had this happen when I made the bamboohr tap, and when I messed around a bit today. Maybe I'm doing something wrong?

View 6 previous comments from the original issue on GitLab


Compiling Error - "has no field sendErrorsToLua"

Describe your problem here.
I'm trying to compile the Source Code, and this message keeps popping up:
"source/psychlua/CallbackHandler.hx:48: characters 18-33 : Class<llua.Lua_helper> has no field sendErrorsToLua"
RowanSkie said that it's fixed by "deleting the entire repository and reinstalling everything"
can someone advice me what to do?
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No

haxelib remove linc_luajit
haxelib git linc_luajit https://github.com/superpowers04/linc_luajit.git

GOD THANK YOU THIS ACTUALLY WORKS NOWWWW

haxelib remove linc_luajit
haxelib git linc_luajit https://github.com/superpowers04/linc_luajit.git

Thank you so much. Ive been trying to compile psych engine for 6 MONTHS its never worked ive used diffrent engines they never worked either. But i thought i had everything i needed but i didnt. Thank You so much

deleted everything but they asked for linc_luajit.
what should i do??

thank you so much i finely did it <:D after like 3-4 hours thanks


Received a non-JSON message on the Sails admin bus in  sails-hook-sockets v0.13.12

Sails version: 0.12.14
Node version: 4.4.6
NPM version: 3.6.0
DB adapter name: N/A
DB adapter version: N/A
Operating system: Windows 10

@sgress454 Thanks for promptly fixing issue 4207. This issue is in continuation of the same.
Once sails-hook-sockets v0.13.12 was released, I am able to use my custom pubClient/subClient when I am using socket.io-redis.
But right now, I am getting the error Received a non-JSON message on the Sails admin bus .
Looking at the commit history, I see that support has been added to create adminPubClient and adminSubClient and pass them in - on the same day as that fix.
From the commits, it looks like this is the commit that will fix this issue.
Could you please add commits up-to the above and whatever additional commits need to be added probably this?  and release the package so that this issue is fixed once and for all?
Thanks in advance!
Regards,
Chirag Vaitheeswaran

@sgress454 Thanks for promptly fixing issue 4207. This issue is in continuation of the same. Once sails-hook-sockets v0.13.12 was released, I am able to use my custom pubClient/subClient when I am using socket.io-redis. But right now, I am getting the error Received a non-JSON message on the Sails admin bus thrown by connect-to-admin-bus.js line 51. By looking at the commit history, I see that support has been added to create adminPubClient and adminSubClient and pass them in - on the same day, right after the clone instead of cloneDeep fix. From the commits, it looks like this is the commit that will fix this issue - since it is UTs for the custom clients after a bunch of fixes. Could you please add commits up-to the UT addition and whatever additional commits need to be added - I see this commit as well, but there are a number of other commits in-between that look like they'll break this otherwise and release the package so that this issue is fixed?
Thanks in advance!
Regards,
Chirag Vaitheeswaran

@chvaithe Ah, I see.  A lot going on here w/ v1, but if you'd like to try porting those commits over to the for-sails-0.12 branch and making a PR, I'd be happy to merge it in as long as it still passes tests!

@sgress454 I've ported the commits here, and tried using it locally with my code, and I see it working fine. Could you please review the PR and merge the same if you think it looks fine?

Merged in https://github.com/balderdashy/sails-hook-sockets/pull/37.  Thanks @chvaithe!


[elastic] Fix the zip file format.

Generate the tar file at any platforms.

:white_check_mark: Build go-langserver 1.0.113 completed (commit https://github.com/elastic/go-langserver/commit/c804c39f1b by @movie-travel-code)


Error: at least one feature in the annotation file doesn't have a biotype description. ALFA won't be able to work robustly.

Hi,
Thank you for the package! I am keen to use solve cell-free DNA functional annotation with ALFA. In the first step, I need to provide an annotation file (GTF format with biotypes) for my reference genome (hg38). However, the gtf downloaded from NCBI (see link below) and USCS both raise this complaint. I would like to hear your suggestion where can I get the correct format of gtf (and recommanded tracks) for this purpose.
The details of the two sources I tried:

NCBI:
https://www.ncbi.nlm.nih.gov/assembly/GCF_000001405.39/
(top-right botton: Download Assembly--> RefSeq --> File Type: Genomic GTF)
UCSC: http://genome.ucsc.edu/cgi-bin/hgTables

both of these returns:
Error: at least one feature in the annotation file doesn't have a biotype description. ALFA won't be able to work robustly.
Best,
Li-Ting

Hi,
I solved the question for now by downloading GTF from Gencode. I switched the key-value pair in column 9 key: "gene_type" to "gene_biotype"
After this customized alteration, it works with ALFA. I'm not sure if this is the correct thing to do, but it seems like gene_type indeed referred to biotype in the context (based on the data format description).
I would still appreciate your recommendations on where you would download the gtf tracks while working with human data.
Another related question, Is it possible to use ALFA to determine if the DNA fragments coverage on Alu element / LINE / and other annotations? In this case, can I alter the "gene_biotype" into other custom tags such as "mobile_element_type" in ALFA? Would the normalization stay intact like this?
Thank you!

Hi,
I solved the question for now by downloading GTF from Gencode. I switched the key-value pair in column 9 key: "gene_type" to "gene_biotype"
After this customized alteration, it works with ALFA. I'm not sure if this is the correct thing to do, but it seems like gene_type indeed referred to biotype in the context (based on the data format description).
I would still appreciate your recommendations on where you would download the gtf tracks while working with human data.
Another related question, Is it possible to use ALFA to determine if the DNA fragments coverage on Alu element / LINE / and other annotations? In this case, can I alter the "gene_biotype" into other custom tags such as "mobile_element_type" in ALFA? Would the normalization stay intact like this?
Thank you!

Hi,
First of all, I must say that the package is not maintained anymore (sorry). Though it should work as it was at the time it was developed.
Regarding the annotation file, I used to download it from Ensembl. For example, for Homo Sapiens, I was getting the file from here.
However, your trick should be ok since the "gene_type" is described as what we use as the biotype (and I check the list of gene_type which is concordant with the list of biotypes we used to work with).
Cheers,
Mathieu

Hi,
First of all, I must say that the package is not maintained anymore (sorry). Though it should work as it was at the time it was developed.
Regarding the annotation file, I used to download it from Ensembl. For example, for Homo Sapiens, I was getting the file from here.
However, your trick should be ok since the "gene_type" is described as what we use as the biotype (and I check the list of gene_type which is concordant with the list of biotypes we used to work with).
Cheers,
Mathieu


fix view transition

https://github.com/user-attachments/assets/1bae04a4-dcaf-4ace-9732-ab947f7c3946
this also fixes an issue in my implementation of the vello renderer where I wasn't properly accessing the correct font index

@timsueberkrueb as an FYI, the transform effects are much more robust/correct/complete when using vello as the renderer (although I still haven't fixed event handling)

@jrmoulton That's awesome, thank you!


Consider creating hooks for browsercallable services

Describe your motivation
Using browser-callable services is not as smooth as it could be in many cases. Consider the following code for getting a list of todos from the server
const [todos, setTodos] = useState<Todo[]>([]);

useEffect(() => {
  TodoService.findAll().then(setTodos);
}, []);

Describe the solution you'd like
Consider generating a hook for accessing services along the lines of:
const {data: todos, loading, error} = useTodoService();

The API would need some more consideration to handle multiple methods, etc.
Describe alternatives you've considered
Not doing it.

My ideas on "full stack state" might also fit into this problem somehow. I imagine it being something like this:
const todos = useSharedList(TodoService.findAll);

where todos has the properties value, loading, and error.


Can index be negative? Document inconsistent with examples.

Did you find a doc bug or broken link that needs to be fixed?

What is the file name(s) where you found the bug?

https://qiskit.github.io/openqasm/language/types.html

What is the current text that needs to be fixed or removed? (You can copy and paste)

An index set can be specified by a single unsigned integer, a comma-separated list of unsigned integers a,b,c,…, or a range. A range is written as a:b or a:c:b where a, b, and c are integers (signed or unsigned).

What should the documentation say instead?

Depends on whether the example is correct or not. In the examples below, we see:
let last = concatenated[-1];

-1 is not unsigned.

Are there other related issues or pull requests about this bug?

Not aware of any.
Does existing documentation need to be updated with new content?

Which files need to be updated?

https://github.com/Qiskit/openqasm/blob/master/source/language/types.rst
Either document or example need to be updated.

What content needs to be updated or replaced? (You can copy and paste)

Document/example inconsistency

What new content needs to be added?

None

I seems like a mistake An index set can be specified by a single unsigned integer should be An index set can be specified by a single integer (singed or unsigned).
Good catch.


File Upload fields

This is currently just a vague idea that popped into my mind. I think it should be possible to define a Field as an upload or something similar and let Arcanist take care of actually saving the file.
Currently, you would have to implement the process method of the Step to deal with uploaded files. This is something I want to discourage as much as possible and provide built-in solutions to problems that require that escape hatch instead.
The API could look something like this
Field::make('avatar')
    ->file()
    ->saveTo(storage_path('avatars'));

Arcanist could then take care of saving the uploaded file using whatever storage you have configured in your application and store the file path in the avatar key.
This idea could potentially be generalized further to add more behavior to fields.

Sooo... basically reimplementing Nova, I guess 😅

Would it be okay if I work on this?


duplicated dirName causing inability to load dynamicRegistrations so

A user reported he couldn't use dirName argument to compileNimble.
To reproduce, start a new R session and do this
code = nimbleCode({
    y ~ dnorm(0,1)
})
m = nimbleModel(code, data = list(y =1))
cm = compileNimble(m, dirName = 'temp_nimble_files')

The issue is that in compileFile we use setwd, so we are already in the directory indicated by dirName. But then in compileStaticCode, ssDllName also gets dirName baked in, and
return(dyn.load(ssDllName, local = TRUE))

then fails.
Solution is presumably to invoke basename as we do elsewhere to strip off the directory:
return(dyn.load(basename(ssDllName), local = TRUE))

I think the difficulty I had in reproducing and why this hasn't cropped up earlier was that this only occurs on first compilation when we work with dynamicRegistrations.
A couple comments:

We use normalizePath in various places in cppProjectClass methods to tack the dirName onto a file name and then remove the directory via basename. I'm not clear on why we are adding this on to start with.
getSOName takes dirName as an arg and doesn't use it.

@perrydv no urgency but I'd like to chat with you about this before making changes, in case you can clarify why things are set up as they are.

@paciorek On your point 1: I think this was added for Windows path issues.  On 2: Sounds like cruft.


Frontend: Add a 404 NOT FOUND page

If the user goes to another path the page 404 page is shown

@kunaljain0212  please assign it to me

@Subham142  good job, but we actually went through a UI redesign and the links to new UI designs are available in the readme file, please go through those designs once and see if you can create a 404 page similar to the new designs and colour theme.

Hi @Subham142 did you update the design?


Spinner After Submit

Go to the recordedit page, don't change anything and press the submit button. The spinner will show up and remains. This should be a simple fix.

Same thing happens if the submit request returns an error: it displays the error and the spinner remains.

This issue has been fixed.


0.9.3pre3 local test failure (Volt::ComponentPaths should return the path to a component)

Failures:

  1) Volt::ComponentPaths should return the path to a component
     Failure/Error: expect(main_path).to match(/spec\/apps\/file_loading\/app\/main$/)
       expected "/home/rick/code/volt/app/main" to match /spec\/apps\/file_loading\/app\/main$/
       Diff:
       @@ -1,2 +1,2 @@
       -/spec\/apps\/file_loading\/app\/main$/
       +"/home/rick/code/volt/app/main"

     # ./spec/server/rack/component_paths_spec.rb:25:in `block (2 levels) in <top (required)>'

I think this is fixed on master, reopen please if you see it again.


Support updated OT 0.14 / tracing-OT 0.12 crate versions

Update opentelemetry 0.13 -> 0.14 and tracing-opentelemetry 0.12 -> 0.13.
Make corresponding changes to the features, docs, and examples.
Addresses issue #22.

The feature flag includes the version number of OTEL because we plan to support multiple versions, allowing users to pick the one they need (at least as long as opentelemetry does not release a v1).
Would you mind updating the PR to add a new feature flag for 0.14, without removing the existing one?

Sure, let me look into that.

@LukeMathWalker Here's my attempt to add support for both versions. I am not sure if this is the best way to do it, but it seems to work properly when I run the samples (I kept one targeting 0.13 and the other targeting 0.14).

I just noticed that OT has come out with version 0.15 a little while back. So maybe after this gets merged (and tracing-opentelemetry releases the corresponding update) we can also add that feature!

Absolutely!


[AAP-25029] Fix Select EE Dialog

This PR is for AAP-25029 which updates all old EE selects to the new PageFormSingleSelectAwxResource components

I have tested the pages and it seems to work correctly. Great job @prat98 ! Please try to address one found small potential issue and its approved!


Python 3.12?

Comment:
Hi, thanks for your work on packaging LAMMPS, it's a huge help for the community.
I'm looking at adding LAMMPS to some of my build matrices and I'm not seeing it solvable with 3.12. I didn't see another issue raised here. It's not obvious to me from skimming the release notes of recent versions if it's supported upstream or not. I can't find nevermind, through the migrations page I see this is probably blocked by https://github.com/conda-forge/quippy-feedstock/pull/27?

nevermind, through the migrations page I see this is probably blocked by conda-forge/quippy-feedstock#27?

That's correct. I have not found the time to patch quippy yet. The alternative would be to just drop it for python 3.12 a beyond until they get their code base ready.

I dropped quippy for Python 3.12 compatibility in https://github.com/conda-forge/lammps-feedstock/pull/191


Input/output error on cmd.exe and others in c:/Windows

Your Windows build number:  (Type ver at a Windows Command Prompt)
16179

What you're doing and what's happening:  (Copy&paste specific commands and their output, or include screen shots)

$ ls /mnt/c/Windows/System32/cmd*
ls: cannot access '/mnt/c/Windows/System32/cmd.exe': Input/output error
ls: cannot access '/mnt/c/Windows/System32/cmdext.dll': Input/output error
/mnt/c/Windows/System32/cmdial32.dll  /mnt/c/Windows/System32/cmdkey.exe  /mnt/c/Windows/System32/cmdl32.exe
$ cmd.exe
cmd.exe: command not found
$ ls /mnt/c/Windows/System32
ls: cannot access '/mnt/c/Windows/System32/aclui.dll': Input/output error
ls: cannot access '/mnt/c/Windows/System32/activeds.dll': Input/output error
ls: cannot access '/mnt/c/Windows/System32/activeds.tlb': Input/output error
ls: cannot access '/mnt/c/Windows/System32/adsldpc.dll': Input/output error
ls: cannot access '/mnt/c/Windows/System32/adtschema.dll': Input/output error
ls: cannot access '/mnt/c/Windows/System32/advapi32.dll': Input/output error
ls: cannot access '/mnt/c/Windows/System32/advpack.dll': Input/output error
[..]

What's wrong / what should be happening instead:

I'm not sure why I get the Input/output error. On an almost identical system everything works just fine. chkdsk did not find any errors and Windows runs without problems. Event Viewer contains no related errors.
I also reinstalled bash but the issue still persists.

Strace of the failing command, if applicable:  (If <cmd> is failing, then run strace -o strace.txt -ff <cmd>, and post the strace.txt output here)

$ strace ls /mnt/c/Windows/System32/cmd*
execve("/bin/ls", ["ls", "/mnt/c/Windows/System32/cmd.exe", "/mnt/c/Windows/System32/cmdext.d"..., "/mnt/c/Windows/System32/cmdial32"..., "/mnt/c/Windows/System32/cmdkey.e"..., "/mnt/c/Windows/System32/cmdl32.e"...], [/* 26 vars */]) = 0
brk(NULL)                               = 0x1592000
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2bea490000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=26140, ...}) = 0
mmap(NULL, 26140, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f2bea493000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libselinux.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260Z\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=130224, ...}) = 0
mmap(NULL, 2234080, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f2be9fd0000
mprotect(0x7f2be9fef000, 2093056, PROT_NONE) = 0
mmap(0x7f2bea1ee000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1e000) = 0x7f2bea1ee000
mmap(0x7f2bea1f0000, 5856, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f2bea1f0000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P\t\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1864888, ...}) = 0
mmap(NULL, 3967392, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f2be9c00000
mprotect(0x7f2be9dbf000, 2097152, PROT_NONE) = 0
mmap(0x7f2be9fbf000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1bf000) = 0x7f2be9fbf000
mmap(0x7f2be9fc5000, 14752, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f2be9fc5000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libpcre.so.3", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000\25\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=456632, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2bea480000
mmap(NULL, 2552072, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f2be9990000
mprotect(0x7f2be99fe000, 2097152, PROT_NONE) = 0
mmap(0x7f2be9bfe000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6e000) = 0x7f2be9bfe000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240\r\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=14608, ...}) = 0
mmap(NULL, 2109680, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f2be9780000
mprotect(0x7f2be9783000, 2093056, PROT_NONE) = 0
mmap(0x7f2be9982000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f2be9982000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260`\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=138696, ...}) = 0
mmap(NULL, 2212904, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f2be9560000
mprotect(0x7f2be9578000, 2093056, PROT_NONE) = 0
mmap(0x7f2be9777000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x7f2be9777000
mmap(0x7f2be9779000, 13352, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f2be9779000
close(3)                                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2bea470000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2bea460000
arch_prctl(ARCH_SET_FS, 0x7f2bea460800) = 0
mprotect(0x7f2be9fbf000, 16384, PROT_READ) = 0
mprotect(0x7f2be9777000, 4096, PROT_READ) = 0
mprotect(0x7f2be9982000, 4096, PROT_READ) = 0
mprotect(0x7f2be9bfe000, 4096, PROT_READ) = 0
mprotect(0x7f2bea1ee000, 4096, PROT_READ) = 0
mprotect(0x61d000, 4096, PROT_READ)     = 0
mprotect(0x7f2bea425000, 4096, PROT_READ) = 0
munmap(0x7f2bea493000, 26140)           = 0
set_tid_address(0x7f2bea460ad0)         = 168
set_robust_list(0x7f2bea460ae0, 24)     = 0
rt_sigaction(SIGRTMIN, {0x7f2be9565b50, [], SA_RESTORER|SA_SIGINFO, 0x7f2be9571390}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x7f2be9565be0, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x7f2be9571390}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=8192*1024}) = 0
statfs("/sys/fs/selinux", 0x7fffdafbb2b0) = -1 ENOENT (No such file or directory)
statfs("/selinux", 0x7fffdafbb2b0)      = -1 ENOENT (No such file or directory)
brk(NULL)                               = 0x1592000
brk(0x15b3000)                          = 0x15b3000
open("/proc/filesystems", O_RDONLY)     = 3
fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
read(3, "nodev      sysfs\nnodev      root"..., 4096) = 367
read(3, "", 4096)                       = 0
close(3)                                = 0
open("/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=2981280, ...}) = 0
mmap(NULL, 2981280, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f2be9288000
close(3)                                = 0
ioctl(1, TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(1, TIOCGWINSZ, {ws_row=29, ws_col=120, ws_xpixel=0, ws_ypixel=0}) = 0
stat("/mnt/c/Windows/System32/cmd.exe", 0x1593150) = -1 EIO (Input/output error)
open("/usr/share/locale/locale.alias", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=2995, ...}) = 0
read(3, "# Locale name alias data base.\n#"..., 512) = 512
read(3, "See the\n# GNU General Public Lic"..., 512) = 512
read(3, "nd for the time being for\n# back"..., 512) = 512
read(3, "hese lines were removed\n# becaus"..., 512) = 512
read(3, "8859-1\ngalego\t\tgl_ES.ISO-8859-1\n"..., 512) = 512
read(3, "O.ISO-8859-1 nb_NO.ISO-8859-1\nno"..., 512) = 435
read(3, "", 512)                        = 0
close(3)                                = 0
open("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US.utf8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en.UTF-8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en.utf8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale-langpack/en_US.UTF-8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale-langpack/en_US.utf8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale-langpack/en_US/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale-langpack/en.UTF-8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale-langpack/en.utf8/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale-langpack/en/LC_MESSAGES/coreutils.mo", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=619, ...}) = 0
mmap(NULL, 619, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f2bea499000
close(3)                                = 0
write(2, "ls: ", 4ls: )                     = 4
write(2, "cannot access '/mnt/c/Windows/Sy"..., 47cannot access '/mnt/c/Windows/System32/cmd.exe') = 47
open("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale-langpack/en_US.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale-langpack/en_US.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale-langpack/en_US/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale-langpack/en.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale-langpack/en.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale-langpack/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
write(2, ": Input/output error", 20: Input/output error)    = 20
write(2, "\n", 1
)                       = 1
stat("/mnt/c/Windows/System32/cmdext.dll", 0x1593150) = -1 EIO (Input/output error)
write(2, "ls: ", 4ls: )                     = 4
write(2, "cannot access '/mnt/c/Windows/Sy"..., 50cannot access '/mnt/c/Windows/System32/cmdext.dll') = 50
write(2, ": Input/output error", 20: Input/output error)    = 20
write(2, "\n", 1
)                       = 1
stat("/mnt/c/Windows/System32/cmdial32.dll", {st_mode=S_IFREG|0555, st_size=515072, ...}) = 0
lstat("/mnt/c/Windows/System32/cmdial32.dll", {st_mode=S_IFREG|0555, st_size=515072, ...}) = 0
stat("/mnt/c/Windows/System32/cmdkey.exe", {st_mode=S_IFREG|0555, st_size=19968, ...}) = 0
lstat("/mnt/c/Windows/System32/cmdkey.exe", {st_mode=S_IFREG|0555, st_size=19968, ...}) = 0
stat("/mnt/c/Windows/System32/cmdl32.exe", {st_mode=S_IFREG|0555, st_size=51712, ...}) = 0
lstat("/mnt/c/Windows/System32/cmdl32.exe", {st_mode=S_IFREG|0555, st_size=51712, ...}) = 0
fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
write(1, "/mnt/c/Windows/System32/cmdial32"..., 109/mnt/c/Windows/System32/cmdial32.dll  /mnt/c/Windows/System32/cmdkey.exe  /mnt/c/Windows/System32/cmdl32.exe
) = 109
close(1)                                = 0
close(2)                                = 0
exit_group(2)                           = ?
+++ exited with 2 +++

Are you by any chance using Compact OS? Can you check the output of dir /a on those files in cmd?
It could be a duplicate of https://github.com/Microsoft/BashOnWindows/issues/1877 in that case.

No, it's a normal Windows installation. I compared the file permissions to a working installation but everything appears to be the same.
C:\>dir /a c:\Windows\System32\cmd*
 Volume in drive C is sys
 Volume Serial Number is 145B-1353

 Directory of c:\Windows\System32

2017-04-15  09:59           272,896 cmd.exe
2017-04-15  09:59            26,624 cmdext.dll
2017-04-15  10:00           515,072 cmdial32.dll
2017-04-15  10:00            19,968 cmdkey.exe
2017-04-15  10:00            51,712 cmdl32.exe
               5 File(s)        886,272 bytes
               0 Dir(s)  24,399,241,216 bytes free

Compact OS feature hides that reparse point is a reparse point from standard file API. It can not be determined with the Dir command. Compact.exe can distinguish.

@0xbadfca11 & @CherryDT thanks for the hint:
C:\>compact /CompactOs:query
The system is in the Compact state.  It will remain in this state unless an
administrator changes it.

I've never heard of CompactOs so I'm not sure how/why it was enabled.
With compact /CompactOs:never everything works as expected.