"parselogs_rpi.py" breaks qemu testimage on poky master

Description
When you try to do image testing on poky master the parselogs_rpi test cannot be compiled. That prevents test execution even if the test is removed by TEST_SUITES:remove:rpi = "parselogs_rpi" in local.conf.
Steps to reproduce the issue:
Maybe you have to setup qemu requisites according to: Enabling Runtime Tests on QEMU.

mkdir -p test/sources
cd test/sources
git clone -b master https://git.yoctoproject.org/poky
git clone -b master https://git.yoctoproject.org/meta-raspberrypi
cd ..
source ./sources/poky/oe-init-build-env build
bitbake-layers add-layer ../sources/meta-raspberrypi
echo 'MACHINE = "qemuarm64"' >> conf/local.conf
echo 'IMAGE_CLASSES += "testimage"' >> conf/local.conf
bitbake core-image-minimal
bitbake -c testimage core-image-minimal

Describe the results you received:
Exception: ImportError: Failed to import test module: parselogs_rpi
Traceback (most recent call last):
  File "/usr/lib/python3.8/unittest/loader.py", line 436, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/lib/python3.8/unittest/loader.py", line 377, in _get_module_from_name
    __import__(name)
  File "test/sources/meta-raspberrypi/lib/oeqa/runtime/cases/parselogs_rpi.py", line 6, in <module>
    ignore_errors['raspberrypi4'] = rpi_errors + common_errors
NameError: name 'common_errors' is not defined

Describe the results you expected:
core-image-minimal - OK - All required tests passed (successes=2, skipped=71, failures=0, errors=0)

Additional information you deem important (e.g. issue happens only occasionally):
It seams to happen while bitbake is parsing all test cases and it is not possible to deactivate this parsing for certain test cases.
Additional details (revisions used, host distro, etc.):
none
Comments:
Maybe the file can be deleted (as it does nothing) and the parselogs replacement in layer.conf can be removed. Or if you whant to keep the stub for adding errors to ignore the file can be changed to:
from oeqa.runtime.cases.parselogs import ParseLogsTest

class ParseLogsTestRpi(ParseLogsTest):
    # A list of error messages that should be ignored
    ignore_errors = []

@BigPapa314 Thanks for this. I suspect we missed a core change here. Could you track what happened to common_errors?


Generating documentation to interfaces only

Hey :)
Im trying to generate documentation to interfaces only and not to classes.
Is there an easy way to do this without going over each class and setting it as hidden?
Thanks alot for your great work

Hi, nice to hear from you. With the current version of TypeDoc the easiest way would be by using a file pattern for exclusion (if your file structure allows that). Apart from that there is no filtering of the output available.
I've started working on the next version of TypeDoc and the way we are dealing with the models should change. Making them easier to manipulate we could add some kind of callback for you to filter the reflections. I'll keep this one in mind and give you a note if I find an easy solution to implement that one.


Backport resolve from Aurelia 2

Due to breaking changes in TS decorators, decorators on constructor parameters will not work anymore in Aurelia 2.
Aurelia 2 provides a resolve function which allows constructor parameter injection to be replaced with property injection.
I find this approach more scalable since it removes the need to override constructors when adding new injected services.
Per this discussion following @bigopon's suggestion I propose backporting resolve to Aurelia 1 if the required effort is not overwhelming.
This would also help developers to prepare their applications for Aurelia 2.

I tried an extremely naïve approach which on a test application seems to work:
// resolve.ts

import { Container } from "aurelia-framework"; // or aurelia-dependency-injection

export class Resolver {
    static container: Container;
}

export function resolve<T>(ctor: { new(...args: any[]): T }) {
    return Resolver.container.get(ctor) as T;
}

// main.ts - application entry point

import type { Aurelia } from "aurelia-framework";
import { Resolver } from "./resolve";

export async function configure(aurelia: Aurelia) {
  aurelia.use.standardConfiguration();

  Resolver.container = aurelia.container;

  await aurelia.start();
  await aurelia.setRoot();
}

// any class

import { resolve } from "./resolve";
import { MyService } from "./myService";

export class MyComponent {
  readonly service = resolve(MyService);
}

That is, I intercept the root container during startup, save a reference to it somewhere and call it when needed through a custom resolve function.
This is obviously extremely naïve and limited to the very specific case of

only one container (no child containers)
only singleton services (no NewInstance.of and the like)

I have NOT tested this with our actual full application, but I expect it to work due to satisfying these constraints in most cases (we use NewInstance.of only rarely).
Consider this code public domain and feel free to use it as-is or a a starting point to cover more complex cases.


marlon-delrosario sprint challenge

final changes were made and added about.html media queries for stretch goal

The commits.... Their so.... Beautiful!!! Starts crying


internal server error

Describe The Problem
After installing the panel on a new server and trying to log in to the panel, it gives the error "internal server error"
in "debug" mode the console displays an error, as shown in the screenshot.
please tell me what is the problem?
OS Information:

OS: [e.g. Ubuntu 20.04]
Python Version: [e.g v3.9]

Close due to inactivity.


Add control plane api fail-over

This PR does a few things but the primary item is it uses keepalived across the server/master nodes to fail-over an apiserver_endpoint virtual IP address. This addresses the need for an external load balancer as discussed in #32.
Using keepalived is configurable and the default behavior is disabled.
This PR also updates some of the role nomenclature to match that of the upstream Rancher documentation i.e. master -> server and node -> agent.
Finally, I have also migrated all of the short Ansible module names to their new naming convention per the Ansible 2.10 release.
As a note I'm new to submitting PRs on Github so if there is anything I am missing please let me know. Feedback is always welcome!

Closing this. With the newest changes, this PR is heavily offset and will need a major overhaul. Also, going forward, this repo will not be implementing any VIP by default. The api_endpoint has now been merged, users can easily setup a VIP themselves and then connect into afterwards.


Alloy Component to Replace prometheus http_sd_config

Request
how can transform prometheus http_sd_config to alloy config? is there existing alloy componet to do this?
Use case
migrate prometheus http_sd_config to alloy

Hi, you could use discovery.http. For more information on migrating from Prometheus, please see the Migrate from Prometheus to Grafana Alloy doc.


Other service tests for upstream testing

Testing:

https://staging-overpass-api.openhistoricalmap.org/
https://tasks-staging.openhistoricalmap.org/
https://openhistoricalmap.github.io/overpass-turbo/
https://nominatim.openhistoricalmap.org/

https://nominatim.openhistoricalmap.org/

It is working fine at  https://nominatim-staging.openhistoricalmap.org/,  nominatim version 4.0 , ussing stating data: https://github.com/OpenHistoricalMap/ohm-deploy/blob/staging/values.staging.template.yaml#L525-L526 .

https://tasks-staging.openhistoricalmap.org/

It does not use any  planet or replication data, it currently working on staging: https://tasks-staging.openhistoricalmap.org/

https://staging-overpass-api.openhistoricalmap.org/
https://openhistoricalmap.github.io/overpass-turbo/

Overpass is working in staging:
https://staging-overpass-api.openhistoricalmap.org/api/

And based on the resolution of #388 which ultimately requires no changes to our fork of iD, we don't have to worry about changes there breaking Tasking Manager, since we can focus now 100% on website upstream, and work on iD upstream separately


Few nodes issue that will need to be solved

The old nodes from the changes map nodes from 7.5.0 are still present, along with with a small issue on the middle part of the map where two coordinates open the same node(when two nearing map are present at the same time) due to the map missions opening even when you click near them.
Both issues aren't critical but losing time from the rest of the stuff. Maybe I will have time to check them before next year.

Progress here https://github.com/Dandey/Firestone-bad-bot/pull/9

So the issue with the node is that i completely overlooked a map node but there are two missions that are close by and same node stars both, guess I will keep it like that and push update with the removal of the 2 nodes in the next days


File getting deleted on its own. Unable to restore the deleted file as well.

VSCode Version: 1.48.0
OS Version: Windows_NT x64 10.0.18362

Steps to Reproduce:

Happening randomly anytime.
While I'm editing some piece of code, the file is getting deleted on its own. Getting error message "Unable to resolve non-existing file" when I try to restore and save it again.

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

Also, if I create the file again with same name as before, its not getting created.  Trying it with a different name works.

This does not sound like a problem inside VSCode, but anything in the OS may decide to delete the file or even an extension?
I wonder if this issue is being caused by an installed extension. Can you try to run VS Code without extensions? From the command line (NOT the integrated terminal in Code), execute: code --disable-extensions and try your steps again to see if it reproduces. If you see it is an issue with the extension, please file it against the extension repository itself.

I tried running my project on VS with extensions disabled. The issue is not resolved.

I get error saying "Unable to resolve non-existing file " when I tried creating the file again with the same name as before in the same directory.

I'm not able to restore the deleted file from source control panel by discarding changes (in which my file got deleted

).

Everytime this happens, I'm left with just one solution - Creating the same file again with a different name. And its happening very frequently (once very 3-4 hours).

Does this happen with every file type?

I'm working with .ts files currently. Didn't check for others. Does pressing keyboard shortcut "CTRL + S" for saving the file after editing have any relation with this problem?

@shrutipant7 well, do you have auto save enabled? Does it reproduce with auto save?

I have also tried downgrading to VS Code v 1.47 (June 2020 release).  The problem is still there. I don't have auto save enabled.

Sorry I cannot be of more help without a way for me to reproduce the files getting deleted.

im facing exactly the same problem with js files
VSCode Version: 1.48.2
OS Version: Windows_NT x64 10.0.19041


chore(master): release 1.6.0

:robot: I have created a release beep boop
1.6.0 (2024-02-22)
Features

Update SEO meta tags and remove unused code (ad0dff7)

Bug Fixes

table headers type error (06e3b8a)
update youtube preview links (22fd03b)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/Justin3go/usesora/releases/tag/v1.6.0 :sunflower:


KAFKA-15452: Access SslPrincipalMapper and kerberosShortNamer in Custom KafkaPrincipalBuilder(KIP-982)

Made the changes to allow custom KafkaPrincipalBuilder implementations to access SslPrincipalMapper and kerberosShortNamer so that custom KafkaPrincipalBuilders will be able to parse Regex Rules from BrokerSecurityConfigs SSL_PRINCIPAL_MAPPING_RULES_CONFIG
KIP-982 have complete details about the change
Committer Checklist (excluded from commit message)

[x] Verify design and implementation
[x] Verify test coverage and CI build status
[x] Verify documentation (including upgrade notes)

@mimaison @divijvaidya Could you please review this PR

Hi @mjsax, @jlprat, @satishd, @jolshan, @raboof, @dajac, Would any of you be available to review this new PR I raised?
Your insights and suggestions would be very helpful.
Thank you!

Also we have implemented the SPIFFE Integration in our echo system and these changes will help to make the Spiffe Integration smooth.
There an Open KIP on the Spiffe Integration KIP-880
If needed I am willing to Contribute to the above KIP-880 as well.
cc: @omkreddy / @satishd / @mimaison

@rbaddam Thanks for the PR. Can you please update the KIP with newly added interfaces also. I will review the PR once KIP passes.

Thank you @omkreddy for the review and feedback.
I have updated the KIP-982 with the latest changes from the pull request.
Could you please review the changes when you have a moment? Your feedback is highly appreciated.
Thanks,
Raghu Baddam


Unable to change vmax in scanpy.pl.scatter

Hi Scanpy team,
A potentially silly question. I'm having problems changing vmax in sc.pl.scatter.
I want to set 'dpt_pseudotime' vmax to 0.5, similar to how vmax and vmin can be changed, for example, in sc.pl.umap.
I tried the following:
with axes_style({'axes.grid': False}):
sc.pl.scatter(adata_0_1, x='Vim', y='Lyz2', color='dpt_pseudotime', size=5, use_raw=False,
color_map='RdYlBu_r', vmax=0.5)
But get the following error:

I read in the scanpy.pl.scatter documentation that kwargs can be used to set vmax. I tried this approach, but got the same result as above:
kwargs={'vmax':0.5}
with axes_style({'axes.grid': False}):
sc.pl.scatter(adata_0_1, x='Vim', y='Lyz2',
color='dpt_pseudotime', size=5, use_raw=False, color_map='RdYlBu_r', **kwargs)
I tried to find a solution online with no success. Any help/suggestions will be appreciated
P.S: This is my first post and I'm a huge fan of your package. Keep up the great work!

We had a bit of an issue with documented parameters not matching real ones. It’s fixed in the latest docs where scatter doesn’t say it has a kwargs or vmax parameter.
We should simplify our plotting. @VolkerBergen has some nice plotting functions, but implemented them as part of scvelo, not scanpy as he should have :stuck_out_tongue_winking_eye:

Soonish! ;) For now, you can do that through scvelo (scvelo.org) in analogy to scanpy with
scv.pl.scatter(adata, ..., vmax=.5).
There's probably also a way to manually set pl.clim() or ax.set_clim() in scanpy..

There's probably also a way […]

Yeah, the function should return an Axes object (at least if show=False, but idk why it doesn’t just always returns that)


git commit Author identity unknown

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

VS Code Version:  1.92.1
OS Version: Windows11 23H2

Steps to Reproduce:
When I change the code in vscode and click the submit button on the git source code management page, it prompts to ensure that a username and email are configured in git. The log shows:
2024-08-09 00:53:36.781 [info] > git -c user.useConfigOnly=true commit --quiet --allow-empty-message --file - [129ms]
2024-08-09 00:53:36.781 [info] Author identity unknown
*** Please tell me who you are.
However, I can see that I have already set up a username and email using git config user.name and git config user.email in the terminal, and changes can be committed through git commit prompt in the terminal.

When I disable all extensions, the commit in the git source code manager works correctly. I tried enabling each extension one by one and found that when the .NET Install Tool extension is enabled, the error mentioned above occurs during submission. Then I disabled all extensions again and only enabled the .NET Install Tool extension, but the error still occurred.

Based on the information that you have shared it looks like the issue is related to the .NET Install Tool extension.
Please file an issue in the extension's repository here: https://github.com/dotnet/vscode-dotnet-runtime/issues. Thanks!


Kudu predicate pushdown cleanup

cc @Crossoverrr

@findepi  Excuse me, have you finished this 'is null' problem already?

@Crossoverrr
no, i didn't
https://github.com/prestosql/presto/issues/3274#issuecomment-605888367

i did some quick cleanup (#3276). Please take a look.
I did not fix this problem.


this.append is not a function

I'm encountering this error when trying to use the latest version

Is this a known issue? I've attempted various rejiggings to see if I am doing something wrong but I cannot see anything - the code I'm using for the fetch is shown below:
fetch("/api/result/csv?export_number=" + encodeURIComponent(export_number), {
        method: "GET",
        credentials: "same-origin",
        headers: {
            "X-CSRFToken": event.target.dataset.csrfToken,
            "Content-Type": "application/json",
            Accept: "application/json",
        },
    })

I originally tried this without the "Content-Type" and "Accept" headers, which seem to make no difference. Any help would be appreciated as I'm stumped, thanks in advance.
ETA: This occurs both on chrome, firefox, and ie 10.

I'm encountering this error when trying to use the latest version

Is this a known issue? I've attempted various rejiggings to see if I am doing something wrong but I cannot see anything - the code I'm using for the fetch is shown below:
fetch("/api/result/csv?export_number=" + encodeURIComponent(export_number), {
        method: "GET",
        credentials: "same-origin",
        headers: {
            "X-CSRFToken": event.target.dataset.csrfToken,
            "Content-Type": "application/json",
            Accept: "application/json",
        },
    })

I originally tried this without the "Content-Type" and "Accept" headers, which seem to make no difference. Any help would be appreciated as I'm stumped, thanks in advance.
ETA: This occurs both on chrome, firefox, and ie 10.

4.4

I'm encountering this error when trying to use the latest version

Is this a known issue? I've attempted various rejiggings to see if I am doing something wrong but I cannot see anything - the code I'm using for the fetch is shown below:
fetch("/api/result/csv?export_number=" + encodeURIComponent(export_number), {
        method: "GET",
        credentials: "same-origin",
        headers: {
            "X-CSRFToken": event.target.dataset.csrfToken,
            "Content-Type": "application/json",
            Accept: "application/json",
        },
    })

I originally tried this without the "Content-Type" and "Accept" headers, which seem to make no difference. Any help would be appreciated as I'm stumped, thanks in advance.
ETA: This occurs both on chrome, firefox, and ie 10.

👍

@thor174 I don't understand what you mean sorry?

6b57397b5b8efc5bdcaa8ff0292dcb32c295102f

@findoslice
try to assign the headers via next way
headers: new Headers({
        "header_name": "header_value"
            })

comment123

hey Jake what's up!
can I help?

Sure thing @KVROHITH098 - I'm happy to review a PR for this

Thanks

On 23-Jul-2021, at 4:00 PM, Jake Champion @.***> wrote:
Sure thing @KVROHITH098 https://github.com/KVROHITH098 - I'm happy to review a PR for this
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/github/fetch/issues/844#issuecomment-885547836, or unsubscribe https://github.com/notifications/unsubscribe-auth/AT42EIEL5C7EMQ23NUASFGTTZFAFXANCNFSM4R4QPMXA.


add missing dependency for react-clipboard

Coverage remained the same at 70.925% when pulling d367843f77b243346fd3f738718456a79b4a355b on jamesottinger:rclip into f35ac2035f01a5b028a58ef6989181fcde4faeef on linode:develop.


FTDIDevice TypeError

Using node version 9.9.0. Appears to be some sort of incompatibility with a recent version of node:
/home/pi/Projects/ponic-pi/node_modules/ftdi/index.js:42
  this.FTDIDevice = new FTDIDevice(settings);
                    ^

TypeError: new expects a object as argument
    at new FtdiDevice (/home/pi/Projects/ponic-pi/node_modules/ftdi/index.js:42:21)
    at /home/pi/Projects/ponic-pi/server.js:4:16

This was a misleading error. The real cause was that a device could not be found. Closing...


Added reversed function for the axis abstract

Can we add this function in so we can use the reverse axis property?

Nice done. Thank you


Remove flake8 black

I was having issues with flake8-black actually picking up things like unused imports. I don't know but it's weird and a dependency we don't actually need. Refactored the codebase tests to not need it. This also cleans up docstrings as well thanks to fancy inspect.cleandoc() function that I just learned about.
I also made it so CI runs on push and pull requests because before it was only running on pushes to my fork, which isn't what we want at all.

Sweet, now we get checks in PRs!

Excellent!  I had noticed it was only running on pushes, and had planned on looking into whether it could be done on PRs also!  No need now!


sort by name when using --index

This might still need to be opted-in using a CLI option (--sort for example). I can add it if you want.

outdented the line, thanks for noticing :)


Why admin automatically be guest after click menu in admin page

{{ Auth::guard->user()->name}} when i used this i got error Trying to get property of non-object but when i use {{ Auth::guard('admin')->user()->name}} that fine but iam click another menu in admin page that admin session automatically be guest
what wrongs? help

Try the following
'{{ Auth::guard()->user()->name }}'


[BEAM-553] Adds a text source for Python SDK.

Current text source (fileio.TextFileSource) is specific to Dataflow runner. This adds a runner independent TextSource that is based on iobase.BoundedSource interface.
Adds a textio module that contains text source, text sink, and PTransforms that can be used to read and write text files.
Fixes a bug related to compressed files - we were not properly reading data due to end offset being set to size of the file instead of OFFSET_INFINITY when performing initial splitting.
Updates source_test_utils to accept sources along with a position range.
Adds a significant number of tests.

R: @charlesccychen

Thanks Charles.
PTAL.

Thanks! This LGTM.

Thanks Charles.
R: @robertwb

Thanks Robert.


The advRocketry GiveStation command gives a stationminecraft:[StationID] instead of a stationstation:[StationID], making the chip useless.

AdvancedRocketry version: 1.16.5-2.0.0-10
Have you verified this is an issue in the latest unstable build
Y (Tested later after realising I was using outdated Libvulpes and AdvRocketry)
LibVulpes version: 1.16.5-1.0.2-18
Minecraft / forge version: 1.16.5-forge-36.1.0
Does this occur without other mods installed
Y
All you need to do is use the /advRocketry GiveStation command and compare the given Station ID chip to one from a station assembler. The difference makes the givestation command useless, as you cannot launch to the station.

this is still an issue, from what i've seen.


Tidy prerequisites for “Set up Konnectivity service”

This is a cleanup request

Problem: The page Set up Konnectivity service has some prerequisites that aren't mentioned until after end of the prerequisites section.
Also, the prerequisites currently suggest you can try this in an online playground; you can't. A tiny bug.
Proposed Solution:
Move the following to be listed as prerequisites (about line 15 of the current Markdown, as of commit 768905ec73d40884c42a3a6edd8133e043801ee8):

Service Account Token Volume Projection feature enabled in your cluster. It is enabled by default since Kubernetes v1.20.

Omit {{< include "task-tutorial-prereqs.md" >}} from the prerequisites and instead write custom text that doesn't mention Katacoda or Play with Kubernetes.
Page to Update:
https://kubernetes.io/docs/tasks/extend-kubernetes/setup-konnectivity/
Additional Information:
/language en
Follow-up to PR #30385

/help
/good-first-issue

/triage accepted

/priority backlog

/assign

@sftim is anyone working or assign for this issue?

@ashish-jaiswar you've assigned this to yourself, which by convention means that you plan to work on it
Nobody else has mentioned in this issue that they plan to work on it.

hey, @sftim I have confusion regarding the proposed solution. Can you tell me more about this line > "Omit {{< include "task-tutorial-prereqs.md" >}} from the prerequisites and instead write custom text that doesn't mention Katacoda or Play with Kubernetes."

In https://kubernetes.io/docs/tasks/extend-kubernetes/setup-konnectivity/ there is some text:

You need to have a Kubernetes cluster, and the kubectl command-line tool must be configured to communicate with your cluster. It is recommended to run this tutorial on a cluster with at least two nodes that are not acting as control plane hosts. If you do not already have a cluster, you can create one by using minikube or you can use one of these Kubernetes playgrounds:

Katacoda
Play with Kubernetes

and the source code for that is text is a shortcode:

{{< include "task-tutorial-prereqs.md" >}}

So this part of the task is 3 steps:

Write new text that starts “You need to have a Kubernetes cluster, and the kubectl command-line tool…”
Delete {{< include "task-tutorial-prereqs.md" >}} from the source code for “Set up Konnectivity service”
Replace the deleted shortcode with the new text you wrote.

The new text can be as close to the original as you like, so long as it doesn't link to Katacoda or Play with Kubernetes.

@sftim, I submitted the PR  of this issue can you review it ?

@sftim, I submitted the PR of this issue can you review it ?

@ashish-jaiswar I would request you to mention the respective issue number in the particular PR you have submitted.
Thanks!

/sig docs

I'm happy to let any SIG Docs reviewer take a look. Which PR did you have in mind @ashish-jaiswar ?

@mehabhalodiya can you review this PR?
issue

@sftim close this issue, PR of this issue is merged.

Fixed
/close


Flightapi

@cantino this is ready for review, albeit is a smaller agent, however the flight data returned is quite valuable. Qpx only has 1 endpoint. I did find some good deals.....

Coverage increased (+0.01%) to 90.764% when pulling c02f32207ef05313d75130485efe726081d71fe9 on Jngai:flightapi into 075545191a398c6290f13fef3d96d5e373678a7e on cantino:master.

Looks great @Jngai!  Do you think we should remove the AdiosoAgent?  I believe you can't get an API key anymore?

Nice @Jngai! Since the structure of the agent options are static it would be great to make it FormConfigurable.

Coverage increased (+0.04%) to 90.791% when pulling 5fb7dd5d8834cc9e3623766d720474f016f01d55 on Jngai:flightapi into 075545191a398c6290f13fef3d96d5e373678a7e on cantino:master.

@cantino I did remove the old flight api. I guess its good to direct the users to the new flight agent even if the old adioso api keys still work. You can not get a new api now. I also addressed the rest of the concerns.

Coverage increased (+0.04%) to 90.791% when pulling 317e5c47da2fc092630654fbe0642b31e5dcf810 on Jngai:flightapi into 075545191a398c6290f13fef3d96d5e373678a7e on cantino:master.

@cantino @Jngai The adioso API endpoint seems to still exist, even if they do not issue new API keys there some Huginn users still might have a working key. If we decide to remove it, we also need to make sure to delete all AdiosoAgents from the database in a migration.

OK, we'll keep it.

@cantino the commits that deleted the files have been reverted.

Coverage increased (+0.03%) to 90.781% when pulling 16c0505a0a1a6a8cacb4f8009793d6b5aadc0710 on Jngai:flightapi into 075545191a398c6290f13fef3d96d5e373678a7e on cantino:master.

Coverage increased (+0.03%) to 90.781% when pulling 16c0505a0a1a6a8cacb4f8009793d6b5aadc0710 on Jngai:flightapi into 075545191a398c6290f13fef3d96d5e373678a7e on cantino:master.

Looks great, thanks @Jngai!

Great work @Jngai! I know it's hard to add all the parameters the API supports but I think it should support at least round-trip flights, that's really basic! Apart from that, this is an awesome work!

Hey @Pcsl I will see if I can add more options to the agent later.


Bottom third of tall PDF document is clipped/unpainted

Attach (recommended) or Link to PDF file here: u6-longrange.pdf
(original link: http://dl.ubnt.com/qig/u6-longrange , linked from https://store.ui.com/collections/unifi-network-access-points/products/unifi-6-long-range-access-point ("installation guide")
Configuration:

Web browser and its version: Firefox Nightly 87.0a1 (2021-02-03) (64-bit)
Operating system and its version: Ubuntu 20.10 and macOS 11.2 Big Sur (reproduced on both)
PDF.js version: Whatever is currently shipping with Firefox Nightly (I don't recall how to tell)
Is a browser extension: I'm using the built-in version that comes with Firefox.

Steps to reproduce the problem:

View the provided PDF (which is a single extremely-tall page; Ubiquiti seems to do this for their guides for some reason)
Try to scroll to the end.

What is the expected behavior?
You should see graphical content all the way to the end of the document.
What went wrong?
About 2/3 of the way through the document, the graphical content is abruptly clipped, and the rest of the document is just blank.

I reproduce in firefox nightly on master (depends of the zoom level).
But I don't in chrome (using local server too).

So it's ok with zoom at 121% (width=387px, height = 16335px) and it isn't at 122% (width = 390px, height = 16490px).
So I'd say that something is wrong when height is greater than 16384px but I don't find anything here:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas#maximum_canvas_size


Adding support for scanning multiple packages for JPA entities

Refactoring ScanningEntityManagerBundle to accept 1 or more paths that should be scanned for JPA entities.
Resolves #22

Coverage increased (+0.04%) to 95.294% when pulling ea1d494f766156770ccb021b5cbd68531ede2b60 on issue/22/support-multi-package-scanning into 1f07ac7ad4eff1d42d38f02ebbf198e985c47307 on master.


template language is not specified in docs

I spent a significant amount of time trying to figure out the template language being used. Since it was not listed in the docs (the first place my intuition tells me that information would be) I did not find it until after much effort thanks to a comment in a stackoverflow thread and grepping the project. Seems this information would be helpful to include in the docs.

Closing as #1449 was merged


#121 allow multiple elements from reduce by key

closes #121

Hi guys, this is ready for review for me. Thanks for any comments.

Hi @xitep, I incorporated the changes we agreed upon. Any more feedback would be appreciated. Thanks! :)

looks good to me now. thanks for the updates! 👍 feel free to merge into master if it is final from your side.


PR: Third Project Part

Finally done.
Calculations now run as a background job.
Added dynamic calculation settings and condition.
Given calculation data are validated before calculation.
Given the validation fails an error message is shown.

Closing this PR because I am quite sure it is alright. If not I will hopefully fix it in the future.


Would like to have integration tests for hello_services

We had a report last week that location was broken on the iOS side of hello_services.  Given that plugins are something folks try very early on, it seems important that we have this canonical example tested in some way?
Maybe there is a bug already for this? @mit-mit

Yup, Sarah is working on adding coverage for this, bug is #7502


[Bug]: npm run dev errors after extension creation

Please confirm that you have:

[X] Searched existing issues to see if your issue is a duplicate. (If you’ve found a duplicate issue, feel free to add additional information in a comment on it.)
[X] Reproduced the issue in the latest CLI version.

In which of these areas are you experiencing a problem?
App, Extension
Expected behavior
On npm run dev the app preview should load without errors
Actual behavior
After a theme app extension has been created (using npm run shopify app generate extension)
npm run dev throws the following errors:
15:46:27 │ extensions │ [Note] You cannot use gems with Shopify CLI.
15:46:27 │ extensions │ [LoadError] cannot load such file --
C:/**/node_modules/@shopify/cli-kit/assets/cli-ruby/vendor/dep
s/smart_properties/lib/smart_properties/property_collection
15:46:27 │ extensions │        They are disabled.
15:46:27 │ extensions │        Please don't modify the CLI locally.
15:46:27 │ extensions │        If you would like to contribute to the CLI
project, please refer to
15:46:27 │ extensions │
https://github.com/Shopify/shopify-cli/blob/main/.github/CONTRIBUTING.md
15:46:27 │ extensions │
15:46:27 │ extensions │ [Note] You cannot use gems with Shopify CLI.
15:46:27 │ extensions │ [LoadError] cannot load such file --
C:/**/node_modules/@shopify/cli-kit/assets/cli-ruby/vendor/dep
s/smart_properties/lib/smart_properties/property_collection
15:46:27 │ extensions │        They are disabled.
15:46:27 │ extensions │        Please don't modify the CLI locally.
15:46:27 │ extensions │        If you would like to contribute to the CLI
project, please refer to
15:46:27 │ extensions │
https://github.com/Shopify/shopify-cli/blob/main/.github/CONTRIBUTING.md
15:46:27 │ extensions │
15:46:27 │ extensions │
C:/**/node_modules/@shopify/cli-kit/assets/cli-ruby/vendor/dep
s/smart_properties/lib/smart_properties.rb:170:in `require_relative': cannot
load such file -- C:/**/node_modules/@shopify/cli-kit/assets/cli-ruby/vendor/dep
s/smart_properties/lib/smart_properties/property_collection (LoadError)
15:46:27 │ extensions │         from
C:/**/node_modules/@shopify/cli-kit/assets/cli-ruby/vendor/dep
s/smart_properties/lib/smart_properties.rb:170:in `<top (required)>'
15:46:27 │ extensions │         from
C:/**/node_modules/@shopify/cli-kit/assets/cli-ruby/bin/shopify:9:in `require'
15:46:27 │ extensions │         from
C:/**/node_modules/@shopify/cli-kit/assets/cli-ruby/bin/shopify:9:in `require'
15:46:27 │ extensions │         from
C:/**/node_modules/@shopify/cli-kit/assets/cli-ruby/lib/shopify_cli.rb:27:in `<top
 (required)>'
15:46:27 │ extensions │         from
C:/**/node_modules/@shopify/cli-kit/assets/cli-ruby/bin/shopify:9:in `require'
15:46:27 │ extensions │         from
C:/**/node_modules/@shopify/cli-kit/assets/cli-ruby/bin/shopify:9:in `require'
15:46:27 │ extensions │         from
C:/**/node_modules/@shopify/cli-kit/assets/cli-ruby/bin/load_shopify.rb:18:in
`<top (required)>'
15:46:27 │ extensions │         from
C:/**/node_modules/@shopify/cli-kit/assets/cli-ruby/bin/shopify:45:in
`require_relative'
15:46:27 │ extensions │         from
C:/**/node_modules/@shopify/cli-kit/assets/cli-ruby/bin/shopify:45:in `<main>'

Error
    at execCLI2 (file:///C:/**/node_modules/@shopify/cli-kit/dist/public/node/ruby.js:64:15)
    at async runThemeAppExtensionsServer (file:///C:/**/node_modules/@shopify/app/dist/cli/services/dev/processes/theme-app-extension.js:6:5)
    at async Object.action (file:///C:/**/node_modules/@shopify/app/dist/cli/services/dev/ui/components/Dev.js:43:32)
    at async file:///C:/**/node_modules/@shopify/cli-kit/dist/private/node/ui/components/ConcurrentOutput.js:87:21
    at async Promise.all (index 1)
    at async runProcesses (file:///C:/**/node_modules/@shopify/cli-kit/dist/private/node/ui/components/ConcurrentOutput.js:84:17)

Verbose output
See actual behaviour (verbose log exceeded character count - can provide if there's an email I can send it to?)

Reproduction steps

npm run dev on clean app template -- works fine
npm run shopify app generate extension
npm run dev -- throws error

Operating System
Windows 11
Shopify CLI version (check your project's package.json if you're not sure)
3.50.2
Shell
cmd
Node version (run node -v if you're not sure)
v21.1.0
What language and version are you using in your application?
Node 21.1.0

Additional info - I'm using the 'start with remix' app template in JavaScript. The type of extension is a theme app extension.
I tried the alternate command 'npm run generate extension' on a fresh template - same error occurred.


Add test unit cases for util

What type of PR is this?
/kind enhancement
What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes https://github.com/openyurtio/openyurt/issues/2082
Special notes for your reviewer:

Does this PR introduce a user-facing change?

other Note

/LGTM


Stabilize Core Tests

Description
This PR aims to stabilize tests failing periodically in Core libraries.
All SDK Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[x] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[x] Pull request includes test coverage for the included changes.

API change check
API changes are not detected in this pull request.


Cannot install svn dependencies that require authentication

Using latest develop, I get the following error message on rocketeer deploy --verbose:
|-- Dependencies (Installs or update the dependencies on server)
|---- Dependencies/Polyglot (Runs all of the above package managers if necessary)
|------ Dependencies/Composer (Installs dependencies with Composer)
$ cd /data/test/releases/20150116093711
$ /home/user/bin/composer install --no-dev --prefer-dist
[user@host] (staging) Installing dependencies
[user@host] (staging) - Installing privatevendor/xxx (3.0.0)
[user@host] (staging) Checking out /tags/3.0.0/@281
[user@host] (staging) [RuntimeException]

  Package could not be downloaded, can not ask for authentication in non interactive mode
[user@host] (staging) install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--n
o-plugins] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [-v|vv|vvv|--verbose] [-o|--optim
ize-autoloader] [--ignore-platform-reqs] [packages1] ... [packagesN]
[user@host] (staging)
|=====> An error occured: "Composer could not install dependencies"

When I run /home/user/bin/composer install --no-dev --prefer-dist directly on the host, I am correctly prompted for authentication details:
 /home/user/bin/composer install --no-dev --prefer-dist
Loading composer repositories with package information                                                                           Installing dependencies
- Installing privatevendor/foo (3.0.0)
    Checking out /tags/3.0.0/@281
The Subversion server (https://svn.xxx.nl/svn/foo) requested credentials:
Username:

Is Rocketeer 'blocking' the interactive mode somehow?

It is because Rocketeer has currently no way to pass you questions asked by the server and send back the answers. You can see the option being passed here. Is there no way in Composer to store the credentials somewhere?

Yes: it is possible to pass or store these (globally) with the http-basic config option: https://getcomposer.org/doc/04-schema.md#config
What confused me here, is that Rocketeers hook you linked to includes '--no-interaction' => null, which suggests it can be removed to allow prompts.

Well you can remove it, you should have the file I linked in your config. Just not sure it would work, the deployment would probably hang waiting for you to input the username while you can't actually do so

When I remove it, it seems interactive mode is (automatically?) disabled somehow, as you can see in the top post:
Package could not be downloaded, can not ask for authentication in non interactive mode

This is actually a feature I'll implement at some point (see #283 ) but it'll take some major changes internally

Ah yes Composer might be smart enough to block the prompt if it recognizes you can't type anything (because this is code executed by a third party, not an actual user), good to know


test(cmd_authenticated): Add property-based testing for argument parsing

Implemented property-based tests using proptest for 'authenticated get' and 'list' commands

Tests generate a range of IP addresses, ports, and IDs to verify argument parsing robustness

Current behavior

Proposed changes

Checks

[X] All commits in this Pull Request are signed and Verified by Github.
[X] All commits in this Pull Request follow the Ockam commit message convention.
[X] There are no Merge commits in this Pull Request. Ockam repo maintains a linear commit history. We merge Pull Requests by rebasing them onto the develop branch. Rebasing to the latest develop branch and force pushing to your Pull Request branch is okay.
[X] I have read and accept the Ockam Community Code of Conduct.
[X] I have read and accepted the Ockam Contributor License Agreement by adding my Git/Github details in a row at the end of the CONTRIBUTORS.csv file in a separate pull request to the build-trust/ockam repository. The easiest way to do this is to edit the CONTRIBUTORS.csv file in the github web UI and create a separate Pull Request, this will mark the commit as verified.

Can someone help me fix the commit msg ?

@younes-io sure, do you need guidance on how to change a commit message, or what a commit message should be to meet our rules?

@SanjoDeundiak I'd appreciate your help on how to change the commit

@younes-io yes, I usually do git rebase or use the UI (Sublime Merge). However, if only the last commit message should be changed, you can do git commit --amend. After you've changed the commit message, you'll need to git push --force-with-lease. More detailed explanation can be found here. Let me know if you need further help!

@SanjoDeundiak I tried to, but since the commit isn't the last, I don't have the Amend option...

@younes-io you would also need to remove the merge commit. You can do it with git rebase develop

Closing because this keeps failing and I get a million emails a day... even with the commits.. it's not solved..


TypeError: str expected, not int

I should probably mention that the key and value should both be strings in the config.json file.

https://github.com/ricklamers/shell-ai/commit/9b418050fa1b37e9b9b7d53b65d0b62f2fe6735a
This will circumvent the issue in case people don't make keys strings

Thanks!


What's the meaning of  EMA in Heap used before EMA

There is no explanation in doc page

Hi!
It's an Exponential Moving Average of Heap Used Before data. You can read here about it to get more detailed explanation.


[GCE] Unable to SSH in after upgrade

GCE Version: rancheros-030rcx-1-img
Steps to Reproduce:
rancherctl os upgrade

After upgrade and reboot, unable to log back in.
Tried to ping and instance is not up.

Fixed in v0.3.0


NSWindow warning in Yosemite

Sample app logs this warning:
2014-06-12 20:30:29.941 SampleApp[3067:24973] NSWindow warning: adding an unknown subview: <INTitlebarContainer: 0x100236a80>
2014-06-12 20:30:29.942 SampleApp[3067:24973] Call stack:
(
	0   AppKit                              0x00007fff8e18d4d3 -[NSThemeFrame addSubview:] + 81
	1   AppKit                              0x00007fff8db84464 -[NSView addSubview:positioned:relativeTo:] + 211
	2   SampleApp                           0x000000010000fbb5 -[INAppStoreWindow _createTitlebarView] + 325
	3   SampleApp                           0x000000010000d931 -[INAppStoreWindow _doInitialWindowSetup] + 1169
	4   SampleApp                           0x000000010000adf7 -[INAppStoreWindow initWithContentRect:styleMask:backing:defer:] + 215
	5   AppKit                              0x00007fff8daecd12 -[NSWindowTemplate nibInstantiate] + 567
	6   AppKit                              0x00007fff8dac190b -[NSIBObjectData instantiateObject:] + 309
	7   AppKit                              0x00007fff8dfac491 -[NSIBObjectData nibInstantiateWithOwner:options:topLevelObjects:] + 452
	8   AppKit                              0x00007fff8dab60f0 loadNib + 384
	9   AppKit                              0x00007fff8e02b6b0 +[NSBundle(NSNibLoading) _loadNibFile:nameTable:options:withZone:ownerBundle:] + 313
	10  AppKit                              0x00007fff8dab57c5 -[NSBundle(NSNibLoading) loadNibNamed:owner:topLevelObjects:] + 201
	11  AppKit                              0x00007fff8dab5591 +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 344
	12  AppKit                              0x00007fff8dab1609 NSApplicationMain + 605
	13  SampleApp                           0x00000001000014c2 main + 34
	14  SampleApp                           0x0000000100001494 start + 52
	15  ???                                 0x0000000000000003 0x0 + 3
)
2014-06-12 20:30:30.042 SampleApp[3067:24973] NSWindow warning: adding an unknown subview: <INWindowButton: 0x10013ed40>
2014-06-12 20:30:30.043 SampleApp[3067:24973] Call stack:
(
	0   AppKit                              0x00007fff8e18d4d3 -[NSThemeFrame addSubview:] + 81
	1   SampleApp                           0x000000010000c53e -[INAppStoreWindow setCloseButton:] + 750
	2   SampleApp                           0x0000000100001f36 -[SampleAppAppDelegate setupCloseButton] + 710
	3   SampleApp                           0x0000000100001c24 -[SampleAppAppDelegate applicationDidFinishLaunching:] + 1876
	4   CoreFoundation                      0x00007fff89366a5c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
	5   CoreFoundation                      0x00007fff892545c4 _CFXNotificationPost + 3140
	6   Foundation                          0x00007fff93736761 -[NSNotificationCenter postNotificationName:object:userInfo:] + 66
	7   AppKit                              0x00007fff8dada22b -[NSApplication _postDidFinishNotification] + 291
	8   AppKit                              0x00007fff8dad9f66 -[NSApplication _sendFinishLaunchingNotification] + 191
	9   AppKit                              0x00007fff8dad6e16 -[NSApplication(NSAppleEventHandling) _handleAEOpenEvent:] + 574
	10  AppKit                              0x00007fff8dad6855 -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 244
	11  Foundation                          0x00007fff93756478 -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 290
	12  Foundation                          0x00007fff937562e9 _NSAppleEventManagerGenericHandler + 102
	13  AE                                  0x00007fff9281d1ec _Z20aeDispatchAppleEventPK6AEDescPS_jPh + 531
	14  AE                                  0x00007fff9281cf69 _ZL25dispatchEventAndSendReplyPK6AEDescPS_ + 31
	15  AE                                  0x00007fff9281ce73 aeProcessAppleEvent + 295
	16  HIToolbox                           0x00007fff89c03836 AEProcessAppleEvent + 56
	17  AppKit                              0x00007fff8dad2d43 _DPSNextEvent + 2310
	18  AppKit                              0x00007fff8dad1ff9 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 139
	19  AppKit                              0x00007fff8dac5fe3 -[NSApplication run] + 594
	20  AppKit                              0x00007fff8dab1a9e NSApplicationMain + 1778
	21  SampleApp                           0x00000001000014c2 main + 34
	22  SampleApp                           0x0000000100001494 start + 52
	23  ???                                 0x0000000000000003 0x0 + 3
)
2014-06-12 20:30:30.052 SampleApp[3067:24973] NSWindow warning: adding an unknown subview: <INWindowButton: 0x10033b7e0>
2014-06-12 20:30:30.053 SampleApp[3067:24973] Call stack:
(
	0   AppKit                              0x00007fff8e18d4d3 -[NSThemeFrame addSubview:] + 81
	1   SampleApp                           0x000000010000c86e -[INAppStoreWindow setMinimizeButton:] + 750
	2   SampleApp                           0x0000000100002236 -[SampleAppAppDelegate setupMinimizeButton] + 710
	3   SampleApp                           0x0000000100001c37 -[SampleAppAppDelegate applicationDidFinishLaunching:] + 1895
	4   CoreFoundation                      0x00007fff89366a5c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
	5   CoreFoundation                      0x00007fff892545c4 _CFXNotificationPost + 3140
	6   Foundation                          0x00007fff93736761 -[NSNotificationCenter postNotificationName:object:userInfo:] + 66
	7   AppKit                              0x00007fff8dada22b -[NSApplication _postDidFinishNotification] + 291
	8   AppKit                              0x00007fff8dad9f66 -[NSApplication _sendFinishLaunchingNotification] + 191
	9   AppKit                              0x00007fff8dad6e16 -[NSApplication(NSAppleEventHandling) _handleAEOpenEvent:] + 574
	10  AppKit                              0x00007fff8dad6855 -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 244
	11  Foundation                          0x00007fff93756478 -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 290
	12  Foundation                          0x00007fff937562e9 _NSAppleEventManagerGenericHandler + 102
	13  AE                                  0x00007fff9281d1ec _Z20aeDispatchAppleEventPK6AEDescPS_jPh + 531
	14  AE                                  0x00007fff9281cf69 _ZL25dispatchEventAndSendReplyPK6AEDescPS_ + 31
	15  AE                                  0x00007fff9281ce73 aeProcessAppleEvent + 295
	16  HIToolbox                           0x00007fff89c03836 AEProcessAppleEvent + 56
	17  AppKit                              0x00007fff8dad2d43 _DPSNextEvent + 2310
	18  AppKit                              0x00007fff8dad1ff9 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 139
	19  AppKit                              0x00007fff8dac5fe3 -[NSApplication run] + 594
	20  AppKit                              0x00007fff8dab1a9e NSApplicationMain + 1778
	21  SampleApp                           0x00000001000014c2 main + 34
	22  SampleApp                           0x0000000100001494 start + 52
	23  ???                                 0x0000000000000003 0x0 + 3
)
2014-06-12 20:30:30.057 SampleApp[3067:24973] NSWindow warning: adding an unknown subview: <INWindowButton: 0x100340510>
2014-06-12 20:30:30.058 SampleApp[3067:24973] Call stack:
(
	0   AppKit                              0x00007fff8e18d4d3 -[NSThemeFrame addSubview:] + 81
	1   SampleApp                           0x000000010000cb9e -[INAppStoreWindow setZoomButton:] + 750
	2   SampleApp                           0x0000000100002536 -[SampleAppAppDelegate setupZoomButton] + 710
	3   SampleApp                           0x0000000100001c4a -[SampleAppAppDelegate applicationDidFinishLaunching:] + 1914
	4   CoreFoundation                      0x00007fff89366a5c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
	5   CoreFoundation                      0x00007fff892545c4 _CFXNotificationPost + 3140
	6   Foundation                          0x00007fff93736761 -[NSNotificationCenter postNotificationName:object:userInfo:] + 66
	7   AppKit                              0x00007fff8dada22b -[NSApplication _postDidFinishNotification] + 291
	8   AppKit                              0x00007fff8dad9f66 -[NSApplication _sendFinishLaunchingNotification] + 191
	9   AppKit                              0x00007fff8dad6e16 -[NSApplication(NSAppleEventHandling) _handleAEOpenEvent:] + 574
	10  AppKit                              0x00007fff8dad6855 -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 244
	11  Foundation                          0x00007fff93756478 -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 290
	12  Foundation                          0x00007fff937562e9 _NSAppleEventManagerGenericHandler + 102
	13  AE                                  0x00007fff9281d1ec _Z20aeDispatchAppleEventPK6AEDescPS_jPh + 531
	14  AE                                  0x00007fff9281cf69 _ZL25dispatchEventAndSendReplyPK6AEDescPS_ + 31
	15  AE                                  0x00007fff9281ce73 aeProcessAppleEvent + 295
	16  HIToolbox                           0x00007fff89c03836 AEProcessAppleEvent + 56
	17  AppKit                              0x00007fff8dad2d43 _DPSNextEvent + 2310
	18  AppKit                              0x00007fff8dad1ff9 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 139
	19  AppKit                              0x00007fff8dac5fe3 -[NSApplication run] + 594
	20  AppKit                              0x00007fff8dab1a9e NSApplicationMain + 1778
	21  SampleApp                           0x00000001000014c2 main + 34
	22  SampleApp                           0x0000000100001494 start + 52
	23  ???                                 0x0000000000000003 0x0 + 3
)

As far as I can tell, this is harmless (everything seems to work), but it would be nice to figure out a way to fix or suppress this warning.

I'm currently looking for a way to add a Subview to the Window Titlebar on Yosemite, so if anyone has an idea how to do it the right way, would be great if I could get an answer over at Stackoverflow.
I am looking for the best approach which is less likely to break in the future…
(I'm asking this here because here seem to be a lot people to have experience with it and INAppStoreWindow could benefit of a solution for this too)

I'm currently looking for a way to add a Subview to the Window Titlebar on Yosemite, so if anyone has an idea how to do it the right way, would be great if I could get an answer over at Stackoverflow.
I am looking for the best approach which is less likely to break in the future…
(I'm asking this here because here seem to be a lot people to have experience with it and INAppStoreWindow could benefit of a solution for this too)

Note that NSTitlebarAccessoryViewController with right layout actually adds a view that spans to the full width of the titlebar, not only to the right of then window controls, but there is a problem with the height (see linked SO above)

Note that NSTitlebarAccessoryViewController with right layout actually adds a view that spans to the full width of the titlebar, not only to the right of then window controls, but there is a problem with the height (see linked SO above)

How can i use WAYAppStoreWindow with backward compatibility to OS x10.9.5?

utkarshagutpa, pls don't hijack issues for support questions. You could open an own issue or ask on Stackoverflow. WAYAppStoreWindow automatically handles compatibility by replacing the actual class that is instantiated depending on the OS.

@interface NSView (AppKitDetails)

(void)_addKnownSubview:(NSView *)aView positioned:(NSWindowOrderingMode)place relativeTo:(NSView *)otherView;
@end

bool isTenTenPlus;

(NSButton *)_windowButtonToLayout:(NSWindowButton)defaultButtonType orUserProvided:(NSButton *)userButton {
NSButton *defaultButton = [self standardWindowButton:defaultButtonType];
if (userButton) {
[defaultButton setHidden:YES];
defaultButton = userButton;
} else if ([defaultButton superview] != [self themeFrameView]) {
[defaultButton setHidden:NO];
}
if ( true == isTenTenPlus )
{
[self.titleBarView addSubview:defaultButton];
}
return defaultButton;
}

(void)initialize
{
isTenTenPlus = YES == [[[[NSWindow new] contentView] superview] respondsToSelector:@selector(_addKnownSubview:positioned:relativeTo:)];
}
//

(void)_layoutTrafficLightsAndContent
....
// for horizontal don't touch origin
if ( false == isTenTenPlus )
{
closeFrame.origin.y = buttonOrigin;
minimizeFrame.origin.y = buttonOrigin;
zoomFrame.origin.y = buttonOrigin;
}

(void)_createTitlebarView
....
f ( true == isTenTenPlus )
{
[[self themeFrameView] _addKnownSubview:container positioned:NSWindowBelow relativeTo:firstSubview];
[[[[self.contentView superview] subviews] lastObject] removeFromSuperview];// I'm use titlebar drawing block and remove NSTitlebarContainerView
}
else
{
[[self themeFrameView] addSubview:container positioned:NSWindowBelow relativeTo:firstSubview];
}

Hi guys, has anyone seen any solutions to this? I too need some of the INAppStoreWindow properties so usingWayWindow isn't feasible at the moment... :(

Same issue here. Would be great if it can be fixed.


bugfix: make "pouch exec" to output the error info

Signed-off-by: skoo87<EMAIL_ADDRESS>
1.Describe what this PR did
when failed to execute a process in container,  need to output the error informat to "cli"
./pouch exec -ti 9de6a7 ps
starting container process caused "exec: "ps": executable file not found in $PATH": unknown
2.Does this pull request fix one issue?

fix #339
3.Describe how you did it
4.Describe how to verify it
5.Special notes for reviews

I test with the output like:
root@ubuntu:~/go/src/github.com/alibaba/pouch# pouch exec foo2 ps
OCI runtime exec failed: exec failed: container_linux.go:295: starting container process caused "exec: \"ps\": executable file not found in $PATH": unknown
root@ubuntu:~/go/src/github.com/alibaba/pouch# echo $?
0

The status code is 0 which I think should be non-zero.

You are right.... But now it's not easy to fix the exit code.  You can merge the PR and create a new iusse for me, I need to find a good way to fix it in the next PR, maybe need to refactor the codes.  @allencloud

LGTM. The status code thing needs to be fixed in a follow-up. Merging...


Make schematics rotatable

Make it possible to rotate schematics in the Sponge API. They are currently not rotatable

It would be pretty trivial to rotate a block volume as-is, however I suspect you're also looking to rotate directional blocks such as stairs too. From what I recall, there isn't any generic way of doing this; each block would have to be handled specially. I don't think this is possible with modded blocks as sponge does not know how to handle them.

From what I recall, there isn't any generic way of doing this; each block would have to be handled specially. I don't think this is possible with modded blocks as sponge does not know how to handle them.

Yep, and this is precisely why schematics originally didn't handle them well enough.. There's a lot of block logic specific code that has to be handled, but the hooks do exist in the vanilla blocks, but I almost sincerely doubt that some mod blocks correctly override those methods to perform their rotations correctly.
It's a feature that'd be very welcome to being PR'ed in both API and Common (since both hooks exist in native vanilla mc), but will likely need to be tested against in the integration test in SpongeForge.

For what its worth: In #2241, I've added the relevant API's to support this feature, but the caveat is that it repurposes an existing API class name for the actual better name.
It's very well possible to back port the API addition for 7.4+, but acknowledgement of the classname changes would be required (the implementation is about as trivial as well). Rotating the actual schematic is albeit a little different.


[openimageio] fix utf-8 build error

Fixes #42327
When using Visual Studio 2022, if you include headers from OpenImageIO (such as OpenImageIO/imagebuf.h) you get the following compilation error:
C:<foo>\out\build\x64-Release\vcpkg_installed\x64-windows\include\OpenImageIO\detail\fmt\base.h(458): error C2338: static_assert failed: 'Unicode support requires compiling with /utf-8'

Add the necessary compile option on Windows
Tested usage successfully by openimageio:x64-windows.

[x] Changes comply with the maintainer guide.
[ ] SHA512s are updated for each updated download.
[ ] The "supports" clause reflects platforms that may be fixed by this new version.
[ ] Any fixed CI baseline entries are removed from that file.
[ ] Any patches that are no longer applied are deleted from the port's directory.
[x] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[x] Only one version is added to each modified port's versions file.

include\OpenImageIO\detail\fmt\base.h

Is this a vendored fmt? Should this file exist at all?

include\OpenImageIO\detail\fmt\base.h

Is this a vendored fmt? Should this file exist at all?

I will replace openimageio's internal fmt with the fmt header file that lets openimageio call vcpkg.

Okay, port fmt export the same flag. But:
Vendored copy with public headers is worrying. (Possible mismatch with vcpkg port.)
Reading git is worrying. (Possible bypass of asset caching.)
The port builds with:
        -DBUILD_MISSING_FMT=OFF
        -DINTERNALIZE_FMT=OFF  # carry fmt's msvc utf8 usage requirements

Is something going wrong about using the external fmt?

I agree that this seems like fmt needs to be devendored and upstream should be involved before adding exported content like this.
Moreover, it won't even fix many of our customers, such as MSBuild customers.
Moreover, even if we could fix it this way, it isn't clear that we should, since people need to know that this switch is being set underneath them; silently changing the interpretation of every literal in your program because you added a dependency is surprising, and I think it might be appropriate to intentionally tell customers they need to add this flag themselves.

@ras0219-msft points out that our toolset should already be doing this:
https://github.com/microsoft/vcpkg/blob/13c226fc46306fa6090db14317a7786099274a3a/scripts/toolchains/windows.cmake#L67-L71
so in addition to my concerns above, I believe this won't fix the situation.

@ras0219-msft points out that our toolset should already be doing this:

But @BillyONeal misunderstood that that toolset only applies building in vcpkg but not customers.

(Also, speaking personally: if the real fmt port is doing this, I disagree with that, but at least then we aren't patching in something with which I disagree, we're just delivering someone else doing that. :) )

@BillyONeal, thanks for your review suggesstion, I will try other fixes locally, temporarily close this PR.


Data not ingested when language is not English

Description
My Fitbit application was set for Portuguese (Brazil) in the "Language by region/country", so the Device Connect was trying to capture the fields in English and it returned nothing. Changing this setting and registering myself again worked fine.
Screenshots
The screenshot below shows the empty fields, even with data collected by the device and the difference when the Language setting was changed.

To Reproduce

Go to the Fitbit application (mobile) of the account you are collecting data;
In your Account > Third-party apps > Manage third-party apps;
Go to Settings > Personal Info > Language by Region/Country and change it to other than English (in my case, it was Portuguese)

Thank you @amandafbri... I will look into how best to address this...

k


feat: add default access info

Resolves #804

Can you show QA?

Umm.. My local bot is broken atm.
is QA necessary? Its a small fix I think.

Proof that it works is always necessary, yes

QA: https://github.com/wannacfuture/Battleship/issues/88#issuecomment-1732313557
@pavlovcik

Did you try before initializing your user in your database?

Did you try before initializing your user's access control in your database?

I don't have any data in access table.

I initialized all the database. And seems its working.


macOS desktop client sometimes blanks out swathes of the display

I confirm (by marking "x" in the [ ] below: [x]):

[x] This is not a troubleshooting question. Troubleshooting questions go here: http://www.mattermost.org/troubleshoot/.
[x] This doesn't reproduce on web browsers (such as in Chrome). If it does, issue reports go to the Mattermost Server repository.
[x] I have read contributing guidelines.

Summary

Steps to reproduce
OS: macOS 10.13
Desktop App version: 3.7.1
Server version: 4.3.0 (4.3.1)
Unfortunately I can't give any clear steps to reproduce. All I can really say is that, after the client has been connected for some time (perhaps a day or two) the client display will wipe text, images, etc, apparently randomly. Waving the mouse around will sometimes cause text or images to disappear or reappear, although do it enough and eventually almost everything disappears. Please see included (redacted) screenshot for an example.

I do not typically use the browser interface, so I can't say if it happens there or not.
Since it may be relevant - I've seen odd display behaviour with such systems - I'm running an iMac with a couple of external displays connected.

Somebody has just told me about "clear cache and reload" - I'll try that next time. Previously simply restarting the client has worked.

Clear cache + reload works. I presume that means some problem with Electron?

I'm not sure about this. If the server was recently upgraded, our cache-purging might not work well now. Otherwise, I think Electron accidentally saved wrong caches due to some reason.

@yuya-oc Is there anything we can investigate or debug?

@jasonblais Looks difficult. We already have cache-purging in both of webapp and desktop. So either of them should work in almost cases.
If more measures are needed, how about clearing caches when X-Version-Id has been changed? (if the parameter never changes while using same server version)

If more measures are needed, how about clearing caches when X-Version-Id has been changed? (if the parameter never changes while using same server build)

@yuya-oc Does this mean we'd purge cache on server upgrade?

@jasonblais Yes. And I think it would be done by webapp, so I have doubt whether more fixes are needed.

@kraigu Does it reproduce for anyone else on your team? Also, you mentioned I've seen odd display behaviour with such systems - does this mean you've sometimes encountered with other apps on your Mac?

Nobody else has said it's happened to them. We have a relatively small team and I'm not sure how many are using the desktop client vs web.
re odd display behaviour - Not so much with other apps, but with the OS itself. Although it turns out my most recent display issues - after unlocking from locked screensaver, one of them won't show anything - turns out to have been hardware-related. The display died completely after I filed this request. I've had OS-related issues in the past, flickering/odd lockups with multiple displays attached - but those were 10.12 and older, I haven't seen those specifically yet in 10.13.
Sorry, I know this isn't a lot of help.

@kraigu All that is really helpful. Is this issue new and only started happening recently, do you remember?

@jasonblais Sorry, I missed your followup question. I can't really say, since I only started using the client about two months ago. So it's new, but from my point of view, it's also always existed. :)

Thanks @kraigu - wondering if you'd have another Mac or PC you'd be able to try? I suspect it might be related to your Mac display somehow, but I'm not sure.

Sure. I mostly leave the client open on my primary desktop, which I actually just changed out last week (I noticed it on the new desktop as well). For what it's worth, I was playing with Rambox and noticed a similar issue (connected to the same local Mattermost server). I don't know what that means, if anything.
I'll leave it open on a secondary machine and keep an eye on it, hopefully if it's a client bug it's one that is triggered by idling rather than requiring usage. :)

Thanks! Appreciate it :)

Hey @kraigu, have you noticed the issue on your secondary machine yet?

No, but I've not been able to pay very much attention. Interestingly, perhaps, I've noticed a similar issue with a different client (Rambox) connecting to our Mattermost server.

Thanks @kraigu. Unfortunately there isn't much we can do at this point. If there is any more information you have later, let us know and we can take a second look.


Fix save button for editing unsent messages

Fixes #2416

Automated message from Dropbox CLA bot
@aakash-cr7, it looks like you've already signed the Dropbox CLA. Thanks!

@timabbott @rishig  I have investigated the issue here. So the problem is that the .message_edit_save button calls the save function in  message_edit.js which calls the edit_locally function in echo.js . So this  edit_locally has a function call to update_private_messages in stream_list.js, but there exists not function named update_private_messages in the respective file. Currently I have checked that my current solution works and doesn't break anything. It would be great if you could also test this.

Yes, we should instead be calling pm_list.update_private_messages.  Thanks for investigating @aakash-cr7!  Can you update your change to just rename and verify that it works?
@showell FYI, I think this is a little bug that slipped in with your recent refactoring :)

@timabbott updated the PR. Its working fine.

Yeah, this regression is my fault.   It was introduced in 7b0c6459b4d7f285aacfb88b67b7015f4d23b128, so please reference that in the commit message for this fix.  Thanks, @aakash-cr7 and @timabbott!

@aakash-cr7 I'm just going to fix this for you so I can resolve this regression, but your commit message should explain the issue, not just have the Fixes line in it.  Check out the Zulip commit message guidelines for more details: https://zulip.readthedocs.io/en/latest/version-control.html#commit-messages
Merged d99b17070e1246258d1c09f57514f56e8e163f99, thanks @aakash-cr7 for tracking this down!


Add weave-net as an alternative CNI plugin

What this PR does / why we need it:
Some environments demand encrypted network, and currently only weave can provide it.
Fixes #256
Add weave-net as an alternative CNI plugin

/retest

/retest

@xmudrii PR is ready


Unable to start a production build of concerto-ui in a CRA

Replicated in https://github.com/shift-a-bit/concerto-ui-react-demo
Bug Report 🐛
Unable to start a production build of concerto-ui in a CRA. The development build works fine.
Reported by @shift-a-bit in AP Slack workspace.
Originally, I thought that this might be related to the new rollup pipeline, but replacing concerto-ui with<EMAIL_ADDRESS>or<EMAIL_ADDRESS>gives the same result.
Steps to Reproduce
git clone https://github.com/shift-a-bit/concerto-ui-react-demo
cd concerto-ui-react-demo
npm i
npm run build
serve -s build

Not sure I understand this. We don't have build in our scripts and use lerna to handle this. @jeromesimeon you may have an idea?

Not sure I understand this. We don't have build in our scripts and use lerna to handle this. @jeromesimeon you may have an idea?

The problem occurs when you build an app that includes one of our components as a dependency

Same issues is occurring if try to use MarkdownEditor as dependency. Both of the libraries are pointing to the modelmanager class in concerto-core library.
Error logs
   at new e (modelmanager.js:54)
    at new e (CommonMarkTransformer.js:58)
    at new e (CiceroMarkTransformer.js:52)
    at new e (SlateTransformer.js:31)

Took a quick look at this with @dselman and I have a suspicion it could be due to the way we export ConcertoFormWrapper here.
Though MarkdownEditor is exported in a seemingly normal way.
This may have to do with tweaking the rollup configuration?

Now looking at the dependencies...
We seem to have multiple versions of concerto-core in play, which might be an issue.
cicero-core depends on markdown-cicero 0.10.4 which depends on concerto-core 0.82.6
https://github.com/accordproject/cicero/blob/master/packages/cicero-core/package.json#L80
https://github.com/accordproject/markdown-transform/blob/v0.10.4/packages/markdown-cicero/package.json#L83
The rest of ui-concerto depends on concerto-core 0.82.7

@jeromesimeon can we release Cicero to align with concerto-core 0.82.7?

I think I'm able to reproduce this following @mttrbrts 's instructions.
You need serve. I used npm install -g serve

Serve log:

bash-3.2$ serve -s build
serve -s build

   ┌───────────────────────────────────────────────┐
   │                                               │
   │   Serving!                                    │
   │                                               │
   │   - Local:            http://localhost:5000   │
   │   - On Your Network:  http://<IP_ADDRESS>:5000    │
   │                                               │
   │   Copied local address to clipboard!          │
   │                                               │
   └───────────────────────────────────────────────┘

In the browser I get an empty page:

Now looking at the dependencies...
We seem to have multiple versions of concerto-core in play, which might be an issue.
cicero-core depends on markdown-cicero 0.10.4 which depends on concerto-core 0.82.6
https://github.com/accordproject/cicero/blob/master/packages/cicero-core/package.json#L80
https://github.com/accordproject/markdown-transform/blob/v0.10.4/packages/markdown-cicero/package.json#L83
The rest of ui-concerto depends on concerto-core 0.82.7

I'm confused about how this relates to the issue. AFAICT there is no cicero involved in the demo there. Only Concerto and Concerto UI.

I can reproduce, both in the repo mentioned in the original issue and in a brand new create-react-app environment. I have tried with ui-markdown-editor, ui-contract-editor, and ui-concerto, and each produce the same error.
I'm still researching the problem, but I wanted to bring up this older similar issue I found in case it rings any bells (cc @jeromesimeon ): https://github.com/accordproject/concerto-ui/issues/26

I can reproduce, both in the repo mentioned in the original issue and in a brand new create-react-app environment. I have tried with ui-markdown-editor, ui-contract-editor, and ui-concerto, and each produce the same error.
I'm still researching the problem, but I wanted to bring up this older similar (possibly the same?) issue I found in case it rings any bells (cc @jeromesimeon ): accordproject/concerto-ui#26

I had completely forgotten about this. Looking back at that other issue, I think it was addressed by moving away from CRA and using webpack instead. I don't think I ever figured out what the root of the problem is, but I admit CRA feels like a complete magic box to me...

The last version that does not have this error is
<EMAIL_ADDRESS>The error seems to have been introduced in<EMAIL_ADDRESS>and has since been an issue in subsequent versions and packages.
This is particularly strange as it does not seem like anything changed between 0.82.8 and 0.82.9 besides the version numbers (https://github.com/accordproject/concerto-ui/commit/6c786be13fa290a3978062d4d4e5fa97d27a1758). 🤔

Could it be that when there are multiple version of concerto-core in the dependency tree, the version used in not deterministic?

Alright, I was having trouble following how the concerto-core-react and concerto-ui-core used to be updated, but now I see in the commit mentioned in my comment above, the concerto-ui-core dependency was bumped from 0.71.8 to 0.82.9, so there were other changes in that library. Particularly, that library's dependencies was updated from "composer-concerto": "^0.71.3" to  "@accordproject/concerto-core": "^0.82.6" (https://github.com/accordproject/concerto-ui/commit/36cc2c6d6ef23fa8872139fc75d37b24be501972#diff-08d95acff2c101079e3e5e797733ff0c).
This leads me to believe the issue may have been introduced in @accordproject/concerto-core, which would make sense based on the stack trace of the error. Still digging...

One last note before I leave this for the night. I think I see where @dselman was coming from with the differing versions - I read through another older issue (https://github.com/accordproject/concerto/issues/47) around conflicting versions causing trouble for instanceof, and indeed the compiled code that is throwing this error uses instanceof (see below).
function _classCallCheck(instance, Constructor) {
  if (!(instance instanceof Constructor)) {
    throw new TypeError("Cannot call a class as a function");
  }
}

However, as @jeromesimeon already mentioned, the error is thrown even when the only version of concerto-core being used is 0.82.7, so I am not sure that is relevant here unless I am possibly missing something.

One last note before I leave this for the night. I think I see where @dselman was coming from with the differing versions - I read through another older issue (accordproject/concerto#47) around conflicting versions causing trouble for instanceof, and indeed the compiled code that is throwing this error uses instanceof (see below).
function _classCallCheck(instance, Constructor) {
  if (!(instance instanceof Constructor)) {
    throw new TypeError("Cannot call a class as a function");
  }
}

However, as @jeromesimeon already mentioned, the error is thrown even when the only version of concerto-core being used is 0.82.7, so I am not sure that is relevant here unless I am possibly missing something.

I think this is actually on to something. Between the old composer-concerto and the new concerto-core we changed the way instance of works so we could properly do m instance of ModelManager cross-copies of the same version of Concerto.
I think that might be why this fails. I think I can figure out a fix, but this will need republish of concerto-core.

A brute-force confirmation that the issue is with the overriding of instanceof in the new concerto classes. Those lines in e.g., the model manager:
https://github.com/accordproject/concerto/blob/f91da652e15485cd92db8576a4e0e60572a8542e/packages/concerto-core/lib/modelmanager.js#L709
Without those you can properly start the app:

I think this open issue in babel is related: https://github.com/babel/babel/issues/4452

Do we ever actually call instanceof on the ModelManager?

@dselman  When we call new ModelManager(), Babel runs this function:
function _classCallCheck(instance, Constructor) {
  if (!(instance instanceof Constructor)) {
    throw new TypeError("Cannot call a class as a function");
  }
}

Hi @shift-a-bit ! We aim to have this working with CRA in the future, but for now you can use this starter React app with a basic Webpack and Babel config to get started with using AP web components in a React app. The app includes an example of both Concerto Form and Markdown Editor. Note that it's using a new micropublish of these components - "@accordproject/ui-concerto": "0.93.2-20200626160144" and "@accordproject/ui-markdown-editor": "0.93.2-20200626160144" - as we had to make some changes to the configs inside the libraries themselves as well.

Hi @DianaLease ,Thanks a lot. I have checked the starter app. I can eject the configs from CRA for the time.

Having the same issue after building. When trying to reproduce it in a more basic project, I also had this issue with the start script. I've put it on a codesanbox ( even though it's not working in there, because of some process :confused: ) where you can zipit, yarn it and see the issue. Also it's importanto to register that I've managed to build a working solution by changing both the BABEL_ENV and NODE_ENV to development instead of production

I've reproduced this with a new App created using create react app. My current theory is that this issue is due to the way we override instanceof checks:
    /**
     * Alternative instanceof that is reliable across different module instances
     * @see https://github.com/hyperledger/composer-concerto/issues/47
     *
     * @param {object} object - The object to test against
     * @returns {boolean} - True, if the object is an instance of a Property
     */
    static [Symbol.hasInstance](object){
        return typeof object !== 'undefined' && object !== null && Boolean(object._isProperty);
    }

See this issue: https://github.com/parcel-bundler/parcel/issues/2347


State bookmarks should use ids instead of repo names

Following the same logic as what is described in #110 and the linked PR, the state bookmarks should use stable IDs for their context, as opposed to the current org / repo:
If a repo is renamed between 2 runs of the tap, the later run would ignore the bookmark, as the repo name would not match anymore. While not a disaster, it would essentially force a full resync of the history of the stream, which is a waste of time/energy/api quotas.
Example of a state bookmark right now:
    {
      "context": { "org": "scipy", "repo": "scipy" },  // this should use a stable id
      "replication_key": "updated_at",
      "replication_key_value": "2022-05-06T14:29:18Z",
      "replication_key_signpost": "2022-06-22T09:07:14.047100+00:00",
      "starting_replication_value": "2022-05-06T14:29:18Z",
      "progress_markers": {
        "Note": "Progress is not resumable if interrupted.",
        "replication_key": "updated_at",
        "replication_key_value": "2022-06-22T07:55:32Z"
      }
    },

Relates to #122


Support gson v2.5.

What is there to support? Are you having trouble depending on 2.5?

No, just compile 'com.google.code.gson:gson:2.5'.

I fail to understand the issue. There is no reason to update the transitive dependency if there aren't any incompatibilities. You should be defining what version of gson you are depending on in your app anyway.

ок, actually you're right.


Parallelise ingester -> chunk store writes

From @tomwilkie
And get a handle (ie way to measure) on the chunk backlog.
Copied from original issue: tomwilkie/frankenstein#13

From @jml
c.f. https://github.com/tomwilkie/frankenstein/blob/master/chunk_store.go#L268


[New Extension] Send To Memos

Description
Raycast extension for usememos/memos.
Screencast

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

Why prettier lint can't pass?

@pernielsentikaer Thank you for feedback. I have changed.
You can get Open Api from memos demo.

Hi 👋
You could use useFetch from @raycast/api to cache t he initial data, this way your extension will be much faster 😊

Okay, I will add caches for GET requests such as lists and tags.

I have changed to limit to  US English.

This is so bad about the error. The official test demo disabled the post request.  I deployed a demo project on my server. Maybe you can test it with the account below.

openApi: https://memo-test.jakeyu.top/api/memo?openId=408c75c0-ef46-4072-802e-c65b247105dc
website: https://memo-test.jakeyu.top
username: test
password: test

Hi 👋
Thanks for setting it up so I can test it; however, it seems like something is wrong with the implementation

Hi 👋
Thanks for setting it up so I can test it; however, it seems like something is wrong with the implementation

Maybe it's because my server is in China. I'll find another way.

Let's just continue without, let's make a new PR if anything is reported instead 😊

Let's just continue without, let's make a new PR if anything is reported instead 😊

That's pretty good. THX.

Hi @pernielsentikaer , are there still issues that I need to fix?

Of course. I thought so, too.
Originally, I just wanted to make a send command, but then I wrote more and more.

Hello 👋
I gave it a quick spin, works as expected, approved 🔥

THX


Codebase Workspace 'select' option does not show existing workspaces

UI should display the Workspaces as returned by the Codebase API:
{
	"data": [
		{
			"attributes": {
				"description": "STOPPED",
				"name": "2ngegrpz"
			},
			"links": {
				"open": "https://api.prod-preview.openshift.io/api/codebases/f0a7e405-2f97-4b4a-a371-148c1e4fb185/open/2ngegrpz"
			},
			"type": "workspaces"
		}
	],
	"links": {
		"create": "https://api.prod-preview.openshift.io/api/codebases/f0a7e405-2f97-4b4a-a371-148c1e4fb185/create"
	}
}

Fixed by https://github.com/fabric8io/fabric8-ui/pull/583

Confirmed that workspaces appear in the select menu after they have been successfully created/started.


Fresh app fail -  'str' object is not callable & testrunner

(etr)adas@adas-AMILO-Pro-V3205:/tmp/cookie/test_project$ export DJANGO_SECRET_KEY=`random_pass`
(etr)adas@adas-AMILO-Pro-V3205:/tmp/cookie/test_project$ python test_project/manage.py migrate
Traceback (most recent call last):
  File "test_project/manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/tmp/etr/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
    utility.execute()
  File "/tmp/etr/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 345, in execute
    settings.INSTALLED_APPS
  File "/tmp/etr/local/lib/python2.7/site-packages/django/conf/__init__.py", line 46, in __getattr__
    self._setup(name)
  File "/tmp/etr/local/lib/python2.7/site-packages/django/conf/__init__.py", line 42, in _setup
    self._wrapped = Settings(settings_module)
  File "/tmp/etr/local/lib/python2.7/site-packages/django/conf/__init__.py", line 94, in __init__
    mod = importlib.import_module(self.SETTINGS_MODULE)
  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/tmp/cookie/test_project/test_project/config/local.py", line 21, in <module>
    SECRET_KEY = env("DJANGO_SECRET_KEY", 'CHANGEME!!!')
  File "/tmp/etr/local/lib/python2.7/site-packages/environ/environ.py", line 117, in __call__
    return self.get_value(var, cast=cast, default=default, parse_default=parse_default)
  File "/tmp/etr/local/lib/python2.7/site-packages/environ/environ.py", line 260, in get_value
    value = self.parse_value(value, cast)
  File "/tmp/etr/local/lib/python2.7/site-packages/environ/environ.py", line 308, in parse_value
    value = cast(value)
TypeError: 'str' object is not callable

Some workaround is:
diff --git a/test_project/config/local.py b/test_project/config/local.py
index 2918431..eaac4e5 100644
- a/test_project/config/local.py
+ b/test_project/config/local.py
@@ -18,7 +18,7 @@ TEMPLATE_DEBUG = DEBUG
 # ------------------------------------------------------------------------------
 # See: https://docs.djangoproject.com/en/dev/ref/settings/#secret-key
 # Note: This key only used for development and testing.
-SECRET_KEY = env("DJANGO_SECRET_KEY", 'CHANGEME!!!')
+SECRET_KEY = env("DJANGO_SECRET_KEY")

 # Mail settings
 # ------------------------------------------------------------------------------

After that we have still warning in any manage.py command:
WARNINGS:
?: (1_6.W001) Some project unittests may not execute as expected.
	HINT: Django 1.6 introduced a new default test runner. It looks like this project was generated using Django 1.5 or earlier. You should ensure your tests are all running & behaving as expected. See https://docs.djangoproject.com/en/dev/releases/1.6/#new-test-runner for more information.

We can fix that by:
diff --git a/test_project/config/common.py b/test_project/config/common.py
index 9c68a1b..7db6260 100644
--- a/test_project/config/common.py
+++ b/test_project/config/common.py
@@ -257,5 +257,5 @@ LOGGING = {
         },
     }
 }
-
-# Your common stuff: Below this line define 3rd party library settings
\ No newline at end of file
+TEST_RUNNER = 'django.test.runner.DiscoverRunner'
+# Your common stuff: Below this line define 3rd party library settings

Thanks for reporting this! Added fixes in https://github.com/pydanny/cookiecutter-django/commit/47f89d9df1b4cf44fee0017a84a6ad44b5e74870
SECRET_KEY should have been
SECRET_KEY= env("DJANGO_SECRET", default="CHANGE_ME!!")


Investigate time tracker apps P* - R*

P* - R* (roughly 28 apps)

Please edit the various columns in https://github.com/federatedbookkeeping/timesheets/blob/main/apps-list.md and add the import/export formats you find in https://github.com/federatedbookkeeping/timesheets/tree/main/data-formats. Let me know in https://gitter.im/federatedbookkeeping/timesheets if you run into any questions!

We have enough apps now, so closing this as stale. See #43 for the wrap up of milestone 4.


AsDataSet() correctly parses the correct number of user inputted rows, whilst ExcelDataReader.Read() does not?

Sadly I cannot use the AsDataSet() extension method due to memory constraints, but I'd like to very much do whatever it is that AsDataSet() does that it manages to get the correct ending of an excel file, i.e - the last user inputted row. Currently ExcelDataReader.RowCount reports an incorrect number of user inputted rows, and ExcelDataReader.Read() follows it in suit.
Is there any way this can be achieved with the current ExcelDataReader API? The only important caveat is that it's done lazily, hence the usage of reader.Read(), that's all.

Closing as I saw how it's actually implemented, and will try the same idea. For anyone looking to know, basically they are still using ExcelDataReader.Read() under the hood, but if an empty row is found, a counter is incremented, and you continue reading the next record/line. If a non-empty record is found, you simply insert that many empty rows that the counter was incremented to, followed by the non-empty record.
Source: https://github.com/ExcelDataReader/ExcelDataReader/blob/2f14bd4a53186b1c99de05efe4dbee2de1fd3725/src/ExcelDataReader.DataSet/ExcelDataReaderExtensions.cs


cloudkms update

Hi,
if I try to update a cloudkms deployment (for example modifying accessControl.gcpIamPolicy.bindings) I've the following error:
- code: RESOURCE_ERROR
  location: /deployments/resources/resources/my-keyring
  message: '{"ResourceType":"gcp-types/cloudkms-v1:projects.locations.keyRings","ResourceErrorCode":"404","ResourceErrorMessage":{"statusMessage":"Not
    Found","requestPath":"https://cloudkms.googleapis.com/v1/projects/my-project/locations/global/keyRings/my-keyring","httpMethod":"POST"}}'

Do you know how to avoid this behaviour?
Thanks

Hi Davide,
Can you provide the deployment before and after the update please?
Thanks.

Hi,
after a deployment delete (ABANDON) and deployment create now I can update the KeyRing e Key resources.
I don't know which nook I've found!
Thanks

So it's working? Excellent! Let us know if you need anything else.


[CMCD] DefautDataSource doesn't add headers on master playlist requests

Version
Media3 1.4.1
More version details
DefautDataSource doesn't add headers on master playlist requests
Devices that reproduce the issue
reproduced on Google Pixel 6 Pro
Devices that do not reproduce the issue
no device
Reproducible in the demo app?
Not tested
Reproduction steps

Add cmcd headers into CMCDConfiguration factory, add it into Datasource

val cmcdConfigurationFactory = CmcdConfiguration.Factory { mediaItem ->
        val cmcdRequestConfig = CmcdConfiguration(
            /* sessionId=*/  UUID.randomUUID().toString()
            /* contentId= */ UUID.randomUUID().toString() ,
            object : CmcdConfiguration.RequestConfig {})

mediaSourceFactory.setCmcdConfigurationFactory(cmcdConfigurationFactory)

Run any HLS stream

Headers is presents during ts requests, but not presents during m3u8 requests

Expected result
cmcd headers presents in m3u8 requests
Actual result
No cmcd headers in m3u8 requests
Media
https://devstreaming-cdn.apple.com/videos/streaming/examples/adv_dv_atmos/main.m3u8
But can be uses any hls stream
Bug Report

[X] You will email the zip file produced by adb bugreport to<EMAIL_ADDRESS>after filing this issue.

Hi @AlexStankevic,
Thank you for bringing this to our attention. We’ve implemented a fix  to enable CMCD data on playlist requests.


Save the weights after each epoch

Hi,
How can I edit the callbacks so that I can also save the weights after each epoch in separate folder or with different file name (so that I can have the weights for each epoch after the training finish)?
Example: Epoch1weigths.h5
Epoch2weights.h5
..
etc

For saving model you can set filepath for myCallbacks.py#L261 like introduced in tf.keras.callbacks.ModelCheckpoint:- model_checkpoint = ModelCheckpoint(checkpoint, verbose=1)
+ model_checkpoint = ModelCheckpoint(os.path.splitext(checkpoint)[0] + "_epoch{epoch:02d}.h5", verbose=1)

For saving basic_model, you can comment off the os.remove line in evals.py#L131-L132.

Noted with thanks!
Appreciate it.


Reproducible builds, with publicly visible logs for them.

when manually looking at the forked repo of adlplug https://github.com/studiorack/adlplug there are no commits related to the build of the project, just a release, so again I dont see a way to verify the build is a good one or malicious
the lack of transparency regarding the origin of the builds/binaries is a big red flag. you are basically incentivizing users to download and run random binaries that they have no way to verify to not be malicious.
we need reproducible builds, with publicly visible logs for them.
https://github.com/DISTRHO/Cardinal/issues/653

This featur will be built into the new registry at: https://github.com/open-audio-stack/open-audio-stack-registry

This featur will be built into the new registry at: https://github.com/open-audio-stack/open-audio-stack-registry

should i make feature requests over there

You could, but reproducible builds are on plugin owners. I can provide templates but it is up to the owner of the repo to implement

You could, but reproducible builds are on plugin owners. I can provide templates but it is up to the owner of the repo to implement

well yeah, thats what the issue is asking for


Document popular design systems

From @OR13

Microsoft
Google
Amazon
Apple

https://github.com/decentralized-identity/credential-manifest/issues/29

Andor: JSON Form should also be mentioned in a prior art section if one is added!


Conditions example

@Ivy8127 The latest from development needs to be merged into yours...

FYI @Ivy8127 this time you need to allow me to run actions on your repo to check it passes... https://github.com/Ivy8127/MDF/actions/runs/2623825853

Okay I believe that is under settings, Actions, I've selected the "Allow Ivy8127, and select non-Ivy8127, actions and reusable workflows"


Add Bessel functions

Bessel functions are added. The real order n and complex argument z are assumed, but numerical evaluations must wait until the MathNet Numerics supports them.

BesselJ(n, z) Bessel Function of the First Kind
BesselY(n, z) Bessel Function of the Second Kind
BesselI(n, z) Modified Bessel Function of the First Kind
BesselK(n, z) Modified Bessel Function of the Second Kind
HankelH1(n, z) Hankel Function of the First Kind
HankelH2(n, z) Hankel Function of the Second Kind

Currently, the Numerics provides only I(0, x), I(1, x), K(0, x), and K(1, x) for the real argument x.

Thanks!

The failure on travis is unrelated.


Segmentation fault in ds_vector_from_buffer

Originally reported at https://bugs.php.net/bug.php?id=79938
Note that the segfault does happen without xdebug as well (I just don't get the stacktrace that way).
Unfortunately it's not something I can easily reproduce. It just happens occasionally in our long-running process. Therefore I'm unable to give you a simple reproducing script unfortunately.
Stack trace:
 #0  0x000055799417898d in _emalloc ()
 No symbol table info available.
 #1  0x000055799417980b in _ecalloc ()
 No symbol table info available.
 #2  0x00007f263ec59ac2 in ds_vector_from_buffer (buffer=buffer@entry=0x7f263bef5380, capacity=8, size=2) at /tmp/pear/temp/ds/src/ds/ds_vector.c:59
         vector = <optimized out>
 #3  0x00007f263ec5aaaa in ds_vector_map (vector=0x7f2639f28a38, fci=..., fci_cache=...) at /tmp/pear/temp/ds/src/ds/ds_vector.c:579
         retval = {value = {lval =<PHONE_NUMBER>38816, dval = 6.9071439005450267e-310, counted = 0x7f26396d2440, str = 0x7f26396d2440, arr = 0x7f26396d2440, obj = 0x7f26396d2440, res = 0x7f26396d2440, ref = 0x7f26396d2440, ast = 0x7f26396d2440, zv = 0x7f26396d2440, ptr = 0x7f26396d2440, ce = 0x7f26396d2440, func = 0x7f26396d2440, ww = {w1 = 963454016, w2 = 32550}}, u1 = {v = {type = 6 '\006', type_flags = 1 '\001', u = {extra = 0}}, type_info = 262}, u2 = {next = 0, cache_slot = 0, opline_num = 0, lineno = 0, num_args = 0, fe_pos = 0, fe_iter_idx = 0, access_flags = 0, property_guard = 0, constant_flags = 0, extra = 0}}
         value = <optimized out>
         buffer = 0x7f263bef5380
         target = <optimized out>
 #4  0x00007f263ec65a4d in zim_Vector_map (execute_data=0x7f264f215150, return_value=0x7f264f2150b0) at /tmp/pear/temp/ds/src/php/classes/php_vector_ce.c:134
         _v = <optimized out>
         fci = {size = 56, function_name = {value = {lval =<PHONE_NUMBER>83328, dval = 6.9071439076848682e-310, counted = 0x7f26396f58c0, str = 0x7f26396f58c0, arr = 0x7f26396f58c0, obj = 0x7f26396f58c0, res = 0x7f26396f58c0, ref = 0x7f26396f58c0, ast = 0x7f26396f58c0, zv = 0x7f26396f58c0, ptr = 0x7f26396f58c0, ce = 0x7f26396f58c0, func = 0x7f26396f58c0, ww = {w1 = 963598528, w2 = 32550}}, u1 = {v = {type = 8 '\b', type_flags = 3 '\003', u = {extra = 0}}, type_info = 776}, u2 = {next = 0, cache_slot = 0, opline_num = 0, lineno = 0, num_args = 0, fe_pos = 0, fe_iter_idx = 0, access_flags = 0, property_guard = 0, constant_flags = 0, extra = 0}}, retval = 0x0, params = 0x0, object = 0x0, no_separation = 1 '\001', param_count = 0}
         fci_cache = {function_handler = 0x7f26396f58f8, calling_scope = 0x7f263ad97b28, called_scope = 0x7f263ad97b28, object = 0x0}
 #5  0x00007f264e92d4f5 in xdebug_execute_internal (current_execute_data=0x7f264f215150, return_value=0x7f264f2150b0) at ./build-7.4/src/base/base.c:466
         edata = <optimized out>
         fse = 0x557995aa5d30
         function_nr = 115239821
         function_call_traced = 0
         restore_error_handler_situation = 0
         tmp_error_cb = 0x0
 #6  0x0000557993feffe3 in ?? ()
 No symbol table info available.
 #7  0x000055799422438b in execute_ex ()
 No symbol table info available.
 #8  0x00007f264e92cb6c in xdebug_execute_ex (execute_data=0x7f264f215020) at ./build-7.4/src/base/base.c:380
         op_array = 0x7f263ad851c0
         edata = <optimized out>
         fse = 0x557995a51600
         xfse = <optimized out>
         function_nr = 115239820
         le = <optimized out>
         code_coverage_function_name = 0x0
         code_coverage_file_name = 0x0
         code_coverage_init = 0

I will look into this asap, thank you for the stack trace.

@enumag this should be fixed and released now.


Iphone 7+ not working

Hello.
I have the 11.4 version, Iphone 7+
It just restart the phone, but nothing happens...
Sometimes go through 13/38, but it mostly stops on eh 1/38....
Does it work on that version? Maybe is its memory? 256gb....
Thanks again

it has to be ios 11.4 b3
your version probably not compatible

Are you using the 3.0.0 betas?

Yes, i think so... im using the latest!!!
V3.0.0~b8

@duspada try this method, worked well for me:

Airplane mode
Clear memory
Open unc0ver and press button (all settings default)
After the crash/reboot and instantly after unlocking, open unc0ver and press the button
It worked and went through the motions of initial install

@How-Bout-No this way stops here!! but at least goes a little more...
https://imgur.com/a/31tiTqp

@duspada this is fixed in Unc0ver 3.0.0 beta 13 the latest currently is beta 15. Cryptiiiic please close this issue.