gremlin: shortestPathTo from pod to lookback failing

The context of this is connecting k8s.pod to flows by using the following sequance:
k8s.pod --> k8s.container --> docker.container --> docker.namespace --> lo (flows)
Using Gremlin I would like to be able to highlight the path from a pod to its' respective lo device.
When attempting to do so I was able to get path when providing the lo TID:
g.V().Has("Type", "pod", "Name", "wordpress-7bdfd5557c-svxpg").ShortestPathTo(Metadata("TID", "a4d94097-0920-5ce1-6b13-c1ba87b183d6"))

Yielding:

But when I try to provide a generic gremlin:
g.V().Has("Type", "pod", "Name", "wordpress-7bdfd5557c-svxpg").ShortestPathTo(Metadata("Name", "lo"))

I get following (yellow marking the path I was expecting ...):

When running as the filter I notice two issues:
(1) path uses the k8s.node --> host association (I would like to mark that this should not be used)
(2) query returns a non-stable result, even when the actual topology is stable

The reason is that shortestpath doesn't support n to n path but provide only 1 to 1 path. We need to work on a fix.

So do we want to change ShortestPathTo() or add a new gremlin step ?

I think can handle the n to n thing as the current API leads to think that is possible to do n to n.

ok ... any guidance in case I want to attempt to extend it myself ?


Fix #2077: Refactor catch / discovery task to be DRYer

Those two functions could be refactored to have the timer start in the start method of the node.
~We loose the immediate firing which was explicitly done (see 'avoid delay'), but things will still work.~
EDIT: No, they didn't, and I restored it, and it's much better.
Additionally this fixes a bug where Validators did not respect the node.block_catchup_interval config field and always used 5 seconds.
Since we currently set this field to 2 seconds in the unittest, this should significantly speed up tests that rely on catch-up.

I think the bug mentioned (catchup config not respected) is why we saw LocalTransaction fails so often.
Since LocalTransaction relies on catchup, and the timeout it uses is equal to the catchup frequency (5 seconds), any load / scheduling change will affect which part, the check or the catchup, runs first.


#BUG: The images do not load in the StoryTime

Bug: Images generated by artificial intelligence do not load.
Steps:

Enter StoryTime
Add a title to the story
Add a prompt and generate one or more images

How it's working:
When generating images in the StoryTime, they are not displayed in the editor, nor when publishing the story.

Expected performance:
The generated image must be viewed in the editor and later when publishing the StoryTime.
Other data:

On the story thumbnail if the image is displayed.
The images generated if displayed in the uploaded media.
It only happens with new stories, in older stories if the images are displayed.

¡Larga vida a Free2z! 😎

Nice find; fixed, thanks


New task: Scrape supporting information files

The supporting information of American Chemical Society and Royal Society of Chemistry journals are available without a subscription for research use. I'm thinking of writing a scraper that will download all the PDFs.
Two questions:

[ ] Is there a place where we can host possibly hundreds of GBs of PDFs?
[ ] How to extract data from the PDFs? I think this will probably be addressed in #18

awesome!

Is there a place where we can host possibly hundreds of GBs of PDFs?

yes! we can run on the stability HPC

Okay, so I can basically get a working script and you'll run it?

Okay, so I can basically get a working script and you'll run it?

I think we can also get you an account

Okay, sounds good. I've got a paper to finish in the next couple days. Hopefully can get to this later this week or next weekend.

Looking forward to reading your paper!
Happy to also help here, I'll check if there is already a script that avoids being blacklisted (or if we can get all the SIs via https://europepmc.org/ or semantic scholar to avoid the publisher pages)


Add Component Playground

Add support for component-playground
http://projects.formidablelabs.com/component-playground/

Close for #266 now.


Any account gives access to any other account in NeoLine wallet without having to enter its password

Hey guys 👋
This issue is a security threat in my humble opinion and should have the highest priority.
I have 4 different accounts in NeoLine. All 4 accounts have different passwords. However, if I open ANY OF THESE 4 ACCOUNTS, I will have access to all other 3 without having to enter their password.
Steps to reproduce:

Create 2 different accounts on NeoLine (Account 1 and Account 2)
Close your browser
Open your browser
Click on NeoLine and open Account 1 by typing its password
Click on the avatar icon (top right within NeoLine) and change it to Account 2
You will have access to Account 2 without having to type its password (and you'll be able to create/sign any txs using Account 2)

My suggestion:
Ask for the password if you change accounts and the account is not unlocked yet for that "session".

This is an open opinion, We collected a lot of feedbacks from users and changed it to the current mode. For one password like metamask,Can I question why I can access all wallets by entering a correct password? If I forget the password, privatekey, All wallets will be lost. The NeoLine can recover all the wallets by using another wallet's password.This way has helped users recover tens of millions of assets.However, there is no problem with what you said. If follow your mode, users will just reduce one way to recover assets and it is relatively safe because of isolation.

@hacfox I think that NeoLine should provide other ways to recover wallets.
The current behavior, in my opinion, mixes different concepts. Currently, each account has a password -- that's fine. Users automatically think that their account is protected ONLY with that password. However, allowing accounts to unlock any other account breaks this concept.
If you would like to have the property that multiple passwords unlock any account in NeoLine, then I would explicitly ask/instruct the user to create multiple passwords. Which, by the way, doesn't make sense to me.
What I think would be good, is: providing other ways for users to recover their accounts. For example, providing 12-word mnemonics, making them to download an encrypted wallet, or, even, making sure that they wrote down the WIF.

@gsmachado Yeah.I agree with you. We have considered forcing users have to write down the private key. We will pay attention to this issue and adjust the logic of passwords to make it more reasonable.

@gsmachado We have improved it on v3.5.0. If any issues, creat a new one.


Implement smart_open instead of .open() to allow efficient streaming (saving/loading) of large files to cloud bucket.

The current implementation of the .open methods consists of a local cache which is then synchronized with the cloud.
This method can be replaced by smart_open, to allow for a more efficient mechanism.
One can take inspiration from aws' S3PathLib, (however, that library handles boto session in a way that is not thread-safe, which has made me switch to this library).
Currently, I subclassed S3Path and implemented the aforementioned S3Pathlib's implementation as follows:
from cloudpathlib import S3Path as BaseS3Path
import smart_open

# replace the .open method of S3Path with smart_open
class S3Path(BaseS3Path):
    def open(
            self,
            mode="r",
            buffering=-1,
            encoding=None,
            errors=None,
            newline=None,
            closefd=True,
            opener=None,
            ignore_ext=False,
            compression=None,
            api_kwargs: dict = None, # type: ignore
        ):
            """
            Open S3Path as a file-liked object.
            :return: a file-like object.
            See https://github.com/RaRe-Technologies/smart_open for more info.
            """

            kwargs = dict(
                uri=self.as_uri(),
                mode=mode,
                buffering=buffering,
                encoding=encoding,
                errors=errors,
                newline=newline,
                closefd=closefd,
                opener=opener,
                transport_params={"client": self.client}
            )
            return smart_open.open(**kwargs)

    def read_text(
        self,
        encoding="utf-8",
        errors=None,
    ) -> str:
        with self.open(
            mode="r",
            encoding=encoding,
            errors=errors,

        ) as f:
            return f.read()

    def read_bytes(self, ) -> bytes:
        with self.open(mode="rb") as f:
            return f.read()

    def write_text(
        self,
        data: str,
        encoding="utf-8",
        errors=None,
        newline=None,

    ):
        with self.open(
            mode="w",
            encoding=encoding,
            errors=errors,
            newline=newline,
        ) as f:
            f.write(data)

    def write_bytes(self, data: bytes):
        with self.open(mode="wb") as f:
            f.write(data)

However, I could also open a pull request to merge this with the cloudpath definition, since smart_open is cloud-agnostic.

Thanks @hugolytics for your thoughts here. It's definitely interesting to think about ways to leverage smart_open, especially given the breadth of backends it supports. We have a number of features we are considering that it could help with (#9, #10, #29).
To me, this issue is similar to the discussion in #96 and #109. There are certainly backend packages like this that handle the operational side of things that we should consider, since our primary purpose is supporting the pathlib API.
That said, we won't merge the PR (#265 ) as is for a number of reasons, so I'm going to close it:

smart_open is designed explicitly for streaming, but there are workflows that benefit from the local cache architecture instead. Ideally we'd support both.
We've been wary of taking additional dependencies beyond the "official" SDKs for cloud providers.
I think we'd favor an implementation that leverages smart_open but keep the consistency that our current *Client/*Path APIs support.

Note that it is worth bumping #92 that lists these alternatives

I’d love to see smart_open added here also, as an alternative to the cache concept. We have to open large zip files (10s-100s of gb) just to read some content in place and this all works well with cloudpathlib and smart-open (in my fork).

@msmitherdc Thanks for the comment. To better understand your use case, what are the specific things that you want smart_open for? Is it streaming/partial reads/writes or something beyond that case?

we are opening 3dtiles and i3s (slpk) mesh files. These are large zip files that we read json files out of. We use reads of the files out of the zip to get info about the mesh. For serving them out for cesium, we read byte ranges and serve them out to the client. So streaming and partial reads.


Fix issues 72 and 71.

What's this PR do?
Fixes issues 72 and 71, changing tests accordingly.
Also, adds self.driver.close() call for all tests that use splinter. This is meant to be a fix for the failing builds.
Where should the reviewer start?
jp2_online/templates/layouts/sidebar.html
jp2_online/templates/estudios_socioeconomicos/listado_estudios.html
How should this be manually tested?
run the tests
Any background context you want to provide?
Some of the views were also passing the dictionary with status to the template but was not being used. I removed those too.
This template was adapted ~stolen~ from Quickleft/Sprint.ly

Codecov Report

:exclamation: No coverage uploaded for pull request base (develop@070f280). Click here to learn what that means.
The diff coverage is 100%.

@@            Coverage Diff             @@
##             develop      #73   +/-   ##
==========================================
  Coverage           ?   97.33%
==========================================
  Files              ?      123
  Lines              ?     2999
  Branches           ?        0
==========================================
  Hits               ?     2919
  Misses             ?       80
  Partials           ?        0

Impacted Files
Coverage Δ

captura/views.py
95.17% <ø> (ø)

administracion/views.py
93.24% <100%> (ø)

captura/test_views.py
100% <100%> (ø)

tosp_auth/test_views.py
100% <100%> (ø)

tosp_auth/tests.py
100% <100%> (ø)

base/test_views.py
100% <100%> (ø)

administracion/test_views.py
98.92% <100%> (ø)

estudios_socioeconomicos/models.py
100% <100%> (ø)

captura/tests.py
85% <100%> (ø)

Continue to review full report at Codecov.

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


Page dimensions missing in fulltext process TEI

I appreciate the feature teiCoordinates to include element bounding boxes in the XML.
The coordinates are always relative to scaled page size I guess.
For JSON results I understand the page dimensions are included in the response.
If I did not miss something this is currently not an option for TEI XML output
https://grobid.readthedocs.io/en/latest/Coordinates-in-PDF/#coordinates-in-teixml-results
Please include the page dimensions in the XML if any teiCoordinates are requested.

Hello @jknabe, thanks for the issue. This is correct and indeed the page sizes need to be added in the TEI XML to be able to scale the bounding boxes similarly as in the json response.

This implemented by commit 672fa613e0a446b228fe7ade62510b81f4e6b671
Using the TEI stuff, it gives an additional <facsimle> element with the page coordinates - in case the coordinates for at least one element is requested. See the documentation https://grobid.readthedocs.io/en/latest/Coordinates-in-PDF/#coordinates-in-teixml-results


Pictures disappear when changing glosses

The ASL team noticed a bug we hadn't come across yet, but it appears to work the same for NGT: the reference to images (the image file name?) is not correctly updated when changing a gloss. For videos, no problem, but pictures get lost in this way.

Do you mean when changing the idgloss field?
This might be due to the videofile changing its name/folder, but the image not.

Done. Weird, this code for images was simply not there, it never occurred to me. Extra complicating factor is that the code looks at files existing on disk for the file extension, but this of course cannot be done if it wants to know the appropriate future location so it can move the file. Works now, though.

Note: commited, but not pushed yet (or pulled at the Dutch SB), because I have to review Susans code first before merging it.

We can't replicate it anymore. I'll keep the issue open, and as soon as it re-appears, I'll add the priority label again.

@ocrasborn , what does the 'top priority' label mean in this issue? Because I think we're still waiting until someone discovers how to reproduce this again. I'm asking because 'top priority + assigned to me' means that it will be on top of my list of things to do, and I'm trying to keep to keep that list clean. How about a 'cannot reproduce' tag?

Not sure why I re-added the label. No recent complaints anymore, I'll just close the issue altogether.


Switch rollback-helper to bootc switch

https://github.com/ublue-os/bluefin/blob/main/system_files/shared/usr/bin/ublue-rollback-helper
This should be using sudo bootc switch ghcr.io/ublue-os/blah --enforce-container-sigpolicy instead.

Does bootc works only when the image has no layered software? Because I wouldn't be able to rebase if the latter is true and I have layered something.

Does bootc works only when the image has no layered software? Because I wouldn't be able to rebase if the latter is true and I have layered something.

If we did this, I'd imagine there would be logic to say "if the image has no layered packages, use Bootc. Otherwise rpm-ostree"

I tried to implement the change and got an odd result testing it. If the command is run inside the ublue-rollback-helper script, I get the following error message: ERROR Switching: Pulling: Creating importer: failed to invoke method OpenImage: failed to invoke method OpenImage: Requesting bearer token: invalid status code from registry 403 (Forbidden).
However if I just do the same on the console, i.e. run sudo bootc switch ghcr.io/ublue-os/bluefin:41-20241109 myself it starts fetching the image...
Any ideas why this is the case?

Likely you have some mangling of the tag or image.
On Sat, Nov 9, 2024, 6:34 PM Malte Schmidt @.***> wrote:

I tried to implement the change and got an odd result testing it. If the
command is run inside the ublue-rollback-helper script, I get the
following error message: ERROR Switching: Pulling: Creating importer:
failed to invoke method OpenImage: failed to invoke method OpenImage:
Requesting bearer token: invalid status code from registry 403 (Forbidden)
.
However if I just do the same on the console, i.e. run sudo bootc switch
ghcr.io/ublue-os/bluefin:41-20241109 myself it starts fetching the
image...
Any ideas why this is the case?
—
Reply to this email directly, view it on GitHub
https://github.com/ublue-os/bluefin/issues/1913#issuecomment-2466502417,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQPNFFL74NBQ3F2CVACI6ULZ72LW5AVCNFSM6AAAAABRPKMZRKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRWGUYDENBRG4
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Yes you are correct. I found the issue.

If we did this, I'd imagine there would be logic to say "if the image has no layered packages, use Bootc. Otherwise rpm-ostree"

bootc also tells the user what to do if you try to switch with layers.


step 1 baseline_280M loss large

280M baseline model loss is hovering around 5, with all training hyperparameters set default values.
The preprocess file sampler is set to 10w

i find the bug trainer parameters is 40M  , not 380M ,but why ????

The loss value around 5 is expected, and things should be working normally for you. The number of trainable parameters being smaller is due to sharding across the GPUs. If you try with 1 GPU it should say the full number.

The loss value around 5 is expected, and things should be working normally for you. The number of trainable parameters being smaller is due to sharding across the GPUs. If you try with 1 GPU it should say the full number.

thank you for  replying to me，but when i use the gpt2 official version not ur gpt2fast version, the loss reached 2.4. so i think it's a model architecture issue

The loss value around 5 is expected, and things should be working normally for you. The number of trainable parameters being smaller is due to sharding across the GPUs. If you try with 1 GPU it should say the full number.

step1  loss when use gpt2  official  version

Actually, you're right, thanks for pointing this out. I've replaced the model in the current HEAD; you'll need to run bash scripts/setup_flash.sh before running it again. In prelim tests the loss goes much lower than before.


Run as non root by default #16

As a general rule, processes running without root privileges cannot bind to ports below 1024.
This PR bring support for K8S and Openshift deployment.
Very useful tool BTW, thanks.
(Some whitespace has been removed because it's automatic on my IDE (vscode), I recommend you to configure it the same way in your projects)

Oh I just saw this.
So this is something I had also started doing a while ago as well, but I stopped.
I have a concern - if I push this new image, then the original command which people may have as part of automation,
docker run -p 8080:80 -p 8443:443 --rm -t mendhak/http-https-echo

will break right away.   That's why I added these instructions in the readme.
What's a good way out of this?
I tried to think of ideas.  I could leave the current ":latest" on Docker Hub and let it go stale, and only move to versioned tags?  So this new PR becomes :15.
Any other ideas?

Sure you can start using versioning. And maintain a changelog to keep people aware of breaking changes.

Basically I don't want to break stuff for people like me who are already using :latest - only at times like this I realize I should have versioned from the beginning... but I didn't know lots of people would start using it 😅
I will review this PR, going to do some testing etc.


⚠ RPC server - Figment Solana has degraded performance

In 7f9331c, RPC server - Figment Solana ($FIGMENT_SOLANA_RPC_URL) experienced degraded performance:

HTTP code: 429
Response time: 139 ms

Resolved: RPC server - Figment Solana performance has improved in 62c3c2a.


left_sidebar: Avoid closing sidebar in narrow views when interacting with popovers.

Right now, the behavior is that ANY click outside the left sidebar, including on any of its popover menus, closes the sidebar, in such a narrow view, with the exception of the color picker option in the stream menus.
I am not sure that any of the left sidebar popover menu options actually want this behavior; so one option would be to treat the left sidebar popovers as part of the left sidebar for the purpose of this logic.

CZO thread

@zulipbot claim

@zulipbot claim

@zulipbot claim

@zulipbot abandon

@karlstolley @timabbott do you still need help with this issue ?, then i can contribute to this issue

@zulipbot claim


docs: add architecture diagram

I'd like the diagram to go below the contact info. Maybe the contact info should even go above the links? We want engagement primarily.


VR presentation in Firefox on the Vive kicks out repeatedly with (unresponsive) firefox.exe error

When playing A-Blast in my Vive headset, I've noticed (more recently in Firefox 55+) that if I move around, every few seconds, I am dropped out of VR. And Steam VR shows the common error: (unresponsive) firefox.exe.
I'm kicked back into the Steam VR "Big Picture" menu. But then after a second or two, VR presentation returns, and I'm back in A-Blast.
In my recent testing, I haven't experienced this in too many other demos (only a handful of times in other A-Frame experiences). Are there any significant heavily performant tasks being done that could be causing this? If you have hunches that this is a Firefox issue, let me know, and I'll file a Gecko bug. /cc @kearwood
Thanks!

Some insights and tips from Kip:

https://bugzilla.mozilla.org/show_bug.cgi?id=1314182#c7
https://bugzilla.mozilla.org/show_bug.cgi?id=1392215

So, i managed to solve my issues.
I'm not sure if you need to do both of these.

Enable hardware acceleration in Firefox settings.
upgrade Firefox to 64-bit.
after that. it started working for me.


Extend cancelAllRequests method

What did you do?
Updated to latest version 5.2.0
What did you expect to happen?
I want to be able to cancel some (not all) previously started requests.
What happened instead?
I've noted this newly introduced note: This instance should **NOT** be used to interact with the underlying URLSessionTasks. Doing so will break internal Alamofire logic that tracks those tasks.
Previously I used the way that is described here to cancel requests: https://github.com/Alamofire/Alamofire/issues/1703
This doesn't seem to be the way to go any longer. I've noticed cancelAllRequests method. So my suggestion would be to either make activeRequests public or to introduce a filter option that's used in cancelAllRequests method, like this:
public func cancelAllRequests(completingOnQueue queue: DispatchQueue = .main, isIncluded: ((Request) -> Bool)? = nil, completion: (() -> Void)? = nil) {
    rootQueue.async {
        var requests = self.activeRequests
        if let isIncluded = isIncluded {
            requests = requests.filter(isIncluded)
        }
        requests.forEach { $0.cancel() }
        queue.async { completion?() }
    }
}

Alamofire Environment
Alamofire version: 5.2.0
Xcode version: 11.4.1
Platform(s) running Alamofire: iOS

You're right, an API that operates on the activeRequests would be a good idea, in addition to the cancelAllRequests API. Rather than any sort of filtering API, just providing a closure which would enumerate the activeRequests should be flexible enough for any use on all requests.
You can keep your existing logic, as cancelling tasks directly will work, you just lose out on Alamofire's manuallyCancelled error and the proper isCancelled state.

@tfonfara Take a look at #3200 and let me know what you think.


Multiple ViewManipulate doesn't work independently

Multiple CubeView (ViewManipulates) doesn't work independently.
glm::mat4 cameraView = m_EditorCamera.GetViewMatrix();
glm::mat4 cameraProj = m_EditorCamera.GetProjectionMatrix();
ImGuizmo::SetID((int)(uint64_t)&m_ID);
ImGuizmo::ViewManipulate(glm::value_ptr(cameraView), glm::value_ptr(cameraProj), ImGuizmo::OPERATION::ROTATE_SCREEN, ImGuizmo::MODE::WORLD, glm::value_ptr(m_CubeViewMatrix), 8.0f,
ImVec2(m_ViewportBounds[1].x - 128, m_ViewportBounds[0].y), ImVec2(128, 128), 0x10101010);
const glm::mat4 inverted = glm::inverse(cameraView);
const glm::vec3 direction = -glm::vec3(inverted[2]);
float yaw = glm::degrees(glm::atan(direction.z, direction.x));
float pitch = glm::degrees(glm::asin(direction.y));
m_EditorCamera.SetPitch(pitch);
m_EditorCamera.SetYaw(yaw);

https://user-images.githubusercontent.com/29519295/203829731-64b64730-68da-4e86-a12a-b4521fb01b8e.mp4

Played around a bit with ImGui API, Fix:
ImGui::IsWindowFocused();


'Space' + 'number' focuses the respective window

When opening multiple windows, it would be helpful to be able to focus them via keybinds similar to spacemacs. Space + 1 should focus the first window, Space + 2 should focus the second window, Space + 0 should focus the file tree browser, etc

Is there an action that let you do it?
You can see all actions by typing :actionlist

Did a bit of research. This functionality is actually due to an emacs package called 'winum' https://github.com/deb0ch/emacs-winum
There is no action in :actionlist for this specifically, although there is spc + w + h/l to focus left/right windows which should work for my use case

Ok, so I think for the moment this can't be implemented. Therefore I close the issue.


Improve command framework

Parametric verification and tabcompletion
Platform-independent (see last issue)

See branch command-rework

Replaced by #15


Resizing columns issues when dragging too far or too small

I do apologize if this has been answered before (but I've checked and couldn't find this specific issue)
I'm noticing that on any table, with the simplest configurations, resizing columns does not work well at all.. Someone, please correct me if I am missing a configuration or something.
It would be my expectation that resizing the column larger would cause the table to overflow right or for a column to be made smaller and then to just hide the rest of the data in the cell (like excel)
https://codesandbox.io/s/o96194zn09

I tried adding an override on the overflowX but that didn't work either
  overrides: {
    MUIDataTable: {
      responsiveScroll: {
        maxHeight: "580px",
        overflowX: "scroll"
      }
    }
  }
});

There are some other issues opened around the resize columns not working properly. I would love some help on this if you have time

Hi, can I work on this?

@domind, absolutely! I'll assign this issue to you. Thanks for your interest in chipping in!

passed PR for this hope it is OK

This has been resolved as of version 3.0.1 of the library. You can see an example here:
https://codesandbox.io/s/muidatatables-custom-toolbar-zomv5?file=/index.js


revert hashidable

Hashidable is causing way to many troubles, BC breaks and adding to many responsibilies to many users, that never use this package:

https://github.com/KnpLabs/DoctrineBehaviors/pull/577
https://github.com/KnpLabs/DoctrineBehaviors/pull/572
https://github.com/KnpLabs/DoctrineBehaviors/issues/578
#575

Closes https://github.com/KnpLabs/DoctrineBehaviors/issues/578
Closes #575
Better implement it as standalone package, e.g. doctrine-behaviors-hashidable
cc @tsdevelopment

Thanks! It's never a good feeling to have to revert something, but I feel it's the better alternative here. 🤗

@TomasVotruba I created a standalone package for the hashidable behaviour. Are you interested in publishing it under the KnpLabs-Namespace? Maybe it would a good place?

I only maintain this project, KnpLaps is not mine. It think it's ok to use own namespace, as KnpLabs now focuses on different groups of project than PHP.
See this post from June 2019: https://knplabs.com/en/blog/news-for-our-foss-projects-maintenance


UpdateReceipt parameter name is  not

So the KashFlow API has gone with "Receipt" as the input name for UpdateReceipt (even though InsertReceipt uses "Inv" in keeping with InsertInvoice/UpdateInvoice).
See https://securedwebapp.com/api/service.asmx?op=UpdateReceipt
The fix is to add the following
text = "Receipt" if operation == "update" and object == "receipt"
after line 80 in /lib/kashflow/client.rb
Is this repo still being maintained? Happy to add this as a pull request if I had permission.

Hi @conorg - thanks for the info. This repo really isn't being maintained any more as we no longer have a need to connect to the Kashflow API. I've applied your fix for the UpdateReceipt method, but if you have more fixes or could maintain a fork, we'd be happy to turn over the repo to you.
Cheers


Bogus validation errors for PVC fragments

Description
When using an PVC fragment like
spec:
  accessModes:
  - ReadWriteOnce
  resources:
    requests:
      storage: 1Gi

the following warning/error happens:
[WARNING] F8: Invalid Resource : /Users/roland/Development/abi88/target/classes/META-INF/fabric8/openshift/abi88-pvc.yml
[message=.spec.resources.requests.storage: string found, object expected, violation type=type]

However, according to https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/ this is perfectly valid.
Info

f-m-p version : 3.5.38
Kubernetes / OpenShift setup and version : OpenShift / Minishift 3.7

Root cause:
JSON schema used for validation is pretty old. The new schema is not getting generated in model project.
We will fix it in next release of FMP.

I would do it with this issue as this will fix it.

@rohanKanojia is this still an issue with the latest kubernetes-client ?

ok, lets close it then for now. thanks !


TabView lazyLoading

I hope there's an option if we load all the tabs or when we switch that's the time the tab body will add to widget tree.

If I understood correctly, you don't want TabView to make use of IndexedStack under the hood to display the body, therefore loading them only when the tab is selected, right?

If I understood correctly, you don't want TabView to make use of IndexedStack under the hood to display the body, therefore loading them only when the tab is selected, right?

Yes, you're right, it will load the body when selected.

Fixed on https://github.com/bdlukaa/fluent_ui/commit/00c61146cba44caab0577b69f1f7330cc4132775

Fixed on 00c6114

Nice. Thank you so much


Enhancement request: version of signer for old-school algos (i.e RSA + NIST curves)

Thanks for your work on tkey.
It would be nice to see a version of signer that supports old-school algos such as RSA and the NIST p-curves.
I know Ed2559 is awesome and all that, but unfortunately there are applications that don't yet support Ed25519.  For example CNCF project SPIFFE/SPIRE only supports EC or RSA key types.  Using tkey in conjunction with SPIFFE/SPIRE could be a very interesting use-case for tkey.
Sadly whilst I am a proficient Go programmer, my C knowledge is non existent.  And so sadly because tkey apps need to be written in C I would be too worried about messing up C crypto myself !

Good idea! We need to look at suitable libraries to use and exact type of signing to support.


Side nav color update

[x] New color for side nav from @cvp-alexrobinson

Assets

https://xd.adobe.com/view/6f123f2f-3eb8-4922-8270-17e2ba234f69-3a41/

@Qb10 — New color for sidebar—in the spirit of rapid development—is #f1f1f1 (lightest-gray). Wireframe to reflect that is coming up shortly.

Per @Qb10 's recommendation, we're going with .bg-base-lightest (#f0f0f0) for the background color, since that's right from the USWDS color guide.

Test Case: TC186

Test Passed - Ticket closed


Projects: e-Fungi

Needs metadata filling out. Info is there in page text.

Added metadata and fixed text.


Vulnerability roundup 84: fuse-3.6.2: 1 advisory

search, files

[ ] CVE-2019-14860 CVSSv3=6.5 (nixos-19.09)

Scanned versions: nixos-19.09: 31dcaa5eb67. May contain false positives.

This is a false positive. CVE-2019-14860 is for Red Hat Fuse while fuse-2.9.9 is from libfuse.


chapter 3  the "data.sql" file is missing and should annotate Type type with @Enumerated(EnumType.STRING)

chapter 3 in tacos-jpa, the "data.sql" file is missing. I can not get any data about ingredients. Then I put the 'data.sql' file in 'src/main/resources', it worked.
Also I get error
"org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Initialization of bean failed; nested exception is org.springframework.jdbc.datasource.init.ScriptStatementFailedException: Failed to execute SQL script statement #6 of URL [file:/home/zhu/NetBeansProjects/Jpa-Taco-cloud-chapter3/target/classes/data.sql]: insert into Ingredient (id, name, type) values ('FLTO', 'Flour Tortilla', 'WRAP'); nested exception is org.h2.jdbc.JdbcSQLDataException: Data conversion error converting "'WRAP' (INGREDIENT: ""TYPE"" INTEGER)"; SQL statement:"
After I annotated Type type with @Enumerated(EnumType.STRING) in Ingredient class,
it worked.

thanks you

in my case , you also need spring.datasource.initialization-mode=always spring.jpa.hibernate.ddl-auto=none to have the data.sql loaded

thnaks you


Fix external auth

fixes #359

This change is

Coverage decreased (-0.02%) to 46.251% when pulling 9ed7bc6ad1aaba708eaa3b9b0c99f0c15e9a93d8 on aledbf:fix-external-auth into 61a03033f783f48e32d3126da522a3df2f0ece03 on kubernetes:master.


Is it possible to add filter to this view?

I have tried to add filter to the view, but it does not work. Adding view columns works

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

ID: 009c7d2e-ff3e-bf09-20b3-5e8aef8e7f84
Version Independent ID: 009c7d2e-ff3e-bf09-20b3-5e8aef8e7f84
Content: Customize the Add Products dialog
Content Source: ce/sales/customize-add-products-dialog-box.md
Service: dynamics-365-sales
GitHub Login: @lavanyakr01
Microsoft Alias: lavanyakr

Thanks for your comment, @jaimieji. This issue has been assigned to the doc author for review.

Hi @jaimieji
Thanks for reaching out. Could you tell me which view you're trying to add a filter to? Are you trying the instructions in Customize the fields to search section?

Hi.
It is the opp add product view. I am using it within d365 field service, so don't want the users see non field service product.
Regards
Jaimie
Sent from Outlook for Androidhttps://aka.ms/AAb9ysg

From: lavanyakr01 @.>
Sent: Wednesday, March 15, 2023 5:38:27 AM
To: MicrosoftDocs/dynamics-365-customer-engagement @.>
Cc: jaimieji @.>; Mention @.>
Subject: Re: [MicrosoftDocs/dynamics-365-customer-engagement] Is it possible to add filter to this view? (Issue #2936)
Hi @jaimiejihttps://github.com/jaimieji
Thanks for reaching out. Could you tell me which view you're trying to add a filter to? Are you trying the instructions in Customize the fields to search section?
—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/dynamics-365-customer-engagement/issues/2936#issuecomment-1469372643, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAVQVWSJWGXNFHLIYE5NCMTW4FIVHANCNFSM6AAAAAAV23HSZM.
You are receiving this because you were mentioned.Message ID: @.***>

Hi @jaimieji
Sincere apologies for the delay in responding to this. There's no out-of-the-box method to customize the dialog to display only a specific set of products. Please reach out to support to know if there's any workaround available.

I'm closing the issue but please feel free to reopen the issue if you have further questions on the same issue.


[Enhancement]: UI/UX improvement in Platform_Game

Do you want to have the enhancement of existing game ? 😀 Describe yourself..

current version of the game barely have any UI expect the game play itself.
There's no start or end screen in the game.
Only arrow keys can be used for controls. Some players prefer using A,W,S,D keys as well.

Describe the solution you'd like
Solution steps
1.Add a startScreen  with instructions to play.
2. Add an endscreen with  total time taken to complete the game.
3. Add, A,W,S,D keys functionality
Select program in which you are contributing
hacktoberfest
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @Moracus !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

/assign

Hello @Moracus, Time's up!⏰
Sorry for closing your issue!
But it's more than a week since we haven't received anything from your side 😢 .
Come up with new ideas, create a new issue and make sure you finish it within a week! 🔥
All the best! 🚀
Happy Hacking! 💗

Hey @Moracus ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


Make encryption HMAC digest configurable

Description
Make HMAC digest configurable through Config\Encryption or through .env file. Also optimized some code in the Encryption library.
Checklist:

[x] Securely signed commits
[ ] Component(s) with PHPdocs
[ ] Unit testing, with >80% coverage
[ ] User guide updated
[x] Conforms to style guide

Well... we could add cipher as well, but... Personally, I have a little problem with that. Because every time we make these configurable things user-friendly... people without proper knowledge show up and make changes that they shouldn't be doing ;)
So... basically I think that "hiding" these config variables was intentional.

Well... we could add cipher as well, but... Personally, I have a little problem with that. Because every time we make these configurable things user-friendly... people without proper knowledge show up and make changes that they shouldn't be doing ;)
So... basically I think that "hiding" these config variables was intentional.

I totally agree with your point here. It is quite annoying someone would mess the configs and blaming the framework for it as a bug. Adding cipher as well is a bit too much, I think. My concern here is like in #3404 where hosting providers don't provide databases that handle big encrypted messages nor modern charset handling.

@MGatner, yes this is ready.


Documentation not accessible

Trying to open wakepy.readthedocs.io gives 404 error

Thanks for the heads up! I'll take a look at it today or during the weekend.

The docs most probably broke when I (yesterday?) changed my GitHub username, which also changed the repo address. I updated the readthedocs settings.
The docs should now be visible at: http://wakepy.readthedocs.io/


No such thing as cf-jobs.yml

https://github.com/cloudfoundry/uaa-release/blob/0d14215/jobs/uaa/spec#L56-L65
These things mention spiff, cf-jobs.yml, etc.  Seems like an implementation detail that the job spec shouldn't know about.  This info can easily become stale (already is) and misleading.

@Amit-PivotalLabs thanks for pointing this out. This has been addressed by the following commit: https://github.com/cloudfoundry/uaa-release/commit/d1d59abc4f0dfc72e232695f604bddde5e2bfcf1


text-input-v3 clients sometimes crash Hyprland

Hyprland Version
 System/Version info
Hyprland, built from branch main at commit 9ddf1b105e1b63a77b851af5e541a9412b0e0928 dirty (tablet: Add left_handed option for tablets (5178)).
Date: Wed Mar 20 12:00:43 2024
Tag: v0.37.1-29-g9ddf1b10

flags: (if any)

System Information:
System name: Linux
Node name: arch-g14
Release: 6.8.1-arch1-1
Version: #1 SMP PREEMPT_DYNAMIC Sat, 16 Mar 2024 17:15:35 +0000

GPU information:
04:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Renoir [Radeon RX Vega 6 (Ryzen 4000/5000 Mobile Series)] [1002:1636] (rev c6) (prog-if 00 [VGA controller])

os-release: NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo

plugins:
  hy3 by outfoxxed ver 0.1

Bug or Regression?
Regression
Description
When using text-input-v3 clients, hyprland sometimes crashes. Haven't bisected yet but I guess this is a regression from https://github.com/hyprwm/Hyprland/pull/5147 , so CC @sujoshua .
How to reproduce
It happens when using text-input-v3 clients but I'm not sure how to reliable repro.
Crash reports, logs, images, videos
This is a full gdb session, including bt full and printing some variables.
gdb.txt

It's mostly gtk3 software(I don't have GTK_IM_MODUlE`

Same issue here. Reliable steps to reproduce:

Have /usr/bin/foot --server=3 active with either exec-once = ... or systemctl --user start foot-server
Open footclient with keybind on empty workspace
Close footclient
Open footclient (or anything else, also tested with Qt and Chromium apps) and get a crash

patch.txt
try this

Unfortunately Hyprland seem to crash with the same bt more under the above patch.

well dunno then, can't really repro in a nest. I'll let @sujoshua try and repro this

reproduced. Foot in server mode will not send destory event to Hyprland when a window is closed. Hmm.. then a listener to listen surface destoryed in Hyprland side is needed

encountered similar issue when exiting kitty terminal
crash report:
hyprlandCrashReport3095.txt

can you test this ?

I believe I have the same problem too, infact my hyprland crashed while making this report and I had to re-write this so thats fun. Anyway I got a problem with something to do with text-input-v1 clients registering as v3 or   something weird but that's also crashing my thing.
Opening Kvantum:  hyprlandCrashReport927.txt
Opening KDE system setting by accident:  hyprlandCrashReport3874.txt

patch.txt
reprod and this seems to fix it for me

Patch does fix original repro steps, but does not fix it if on step 2 you open two footclient instances.

I've debugged that - it seems like case 2 is a wlr bug? Anyways it looks unrelated to this so I'll commit the patch.

it's not a wlr bug - it's a regression from #5147 that I am unable to track down why it happens.

found it. Will post a patch soon. Very poor wlroots design

should be done.

There's still something wrong. I can't use IME in Firefox textboxes, and the workaround is to move focus to another window and move back. The process must be repeated once the textbox loses focus (e.g. mouse click on a link).

I use firefox daily and have never encountered that. Repro steps?

I use firefox daily and have never encountered that. Repro steps? (also always try updating first)

Just upgraded to acf15e5579a5d2bbbe4a13e87306445e31ea5e4f but still reproducible. I use fcitx5 and set ctrl+shift as the switching combo:

Launch Firefox
focus any textbox (the built-in address bar or one on the webpage) and press ctrl+shift, it may or may not respond depending on the initial window state
(if step2 responded) click anywhere else to unfocus from the textbox, then click the textbox to focus again, ctrl+shift will no longer respond and IME won't be activated
move the cursor to focus on any other application window, then move back to Firefox, you should be able to activate the IME now
repeat step4 once the textbox lost focus

@MoetaYuko Can you try ae52b7f4680716976d05b638aaa90e169d199117?

@MoetaYuko Can you try ae52b7f?

It works, thanks for the fix.


Clarifications

Hi, I have a few questions.
First one may be a dumb one but I assume the SharedCode folder name is arbitrary or does it actually need to be SharedCode?
Can you please provide an explicit example of the extensions.csproj file?
Thanks

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

ID: b47363e3-c36f-0755-819c-26946013d673
Version Independent ID: 197c63a1-9f72-1049-f27e-8c9c672ec472
Content: JavaScript developer reference for Azure Functions
Content Source: articles/azure-functions/functions-reference-node.md
Service: azure-functions
GitHub Login: @ggailey777
Microsoft Alias: glenga

Hello @geoffbrucepayne,
Thank you for your feedback! We will review and update as appropriate.

Thank you, much clearer to me now!
From: ChaitanyaNaykodi-MSFT @.>
Sent: March 31, 2021 2:44 PM
To: MicrosoftDocs/azure-docs @.>
Cc: Geoff Bruce-Payne @.>; Mention @.>
Subject: [EXT] Re: [MicrosoftDocs/azure-docs] Clarifications (#72755)
Hello @geoffbrucepaynehttps://github.com/geoffbrucepayne, apologies for the delay. The the SharedCode folder name is arbitrary.
extension.csproj file is generated when you explicitly install the extensionshttps://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-register#explicitly-install-extensions and do not have the extension bundle mentioned in your host.json file.
For example I have created a JS EventHub triggered function app and I have removed the extenstion bundlehttps://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-register#extension-bundles from the host.json file and when I run the command func extensions install it will install the required extension packages and extensions.csproj file is created which includes the target framework and the version of the extension package installed as shown below.
[image]https://user-images.githubusercontent.com/67453298/113194456-05d96080-9216-11eb-9824-7bc0b07ee5dc.png
We will now proceed to close this issue out. Please tag me in your response if there are any additional concerns and we will gladly continue with our discussion. Thank you!

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/72755#issuecomment-811334594, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKH3ANITKO2XEVNO22VNSBLTGNUO7ANCNFSM4ZZGQHXA.
INTERNAL | (c) INMARSAT


Update Fungus to conform to updated Asset Store Package rules.

When attempting to publish 3.13.7 to the asset store we ran into a number of rule violations due to changes in asset store package requirements. Until these are resolved we will not be shown on the asset store.
ttps://unity3d.com/asset-store/sell-assets/submission-guidelines

[ ] Ensure all assets have a attribution or copyright attached to them
[ ] Ensure offline doco exists and is easy to find
[ ] Ensure we do not reference thirdparty trademarks
[ ] Update folder structure to match guidelines
[ ] Ensure all audio assets are lossless
[ ] Ensure package does not require, reference, or contain other packages

wow, the last part sorta hard to deal with... I mean, LeanTween?

Any work on this? Would be wonderful to see Fungus back in Asset Store.
I'm kinda new to unity packages, but to me, to solve the last part, looks live we will need to split packages. Like
Fungus
Fungus LeanTween Integration
and so on...
It would be awesome if we could just reference other packages like in composer or npm, but I don't think Unity currently supports it.

Plenty of other  assets break integrations into separate assets and just link in the description. Removing the 2 unitypackage files ticks the box, and clears the automated checks.

Sadly tho, LeanTween lives in Assets folder not in Package folder. Basically LeanTween is just a custom asset and NOT actual package, which also means we can't make custom if-defines for it

I think that a crucial part of being able to get Fungus back on the asset store is undoing its dependencies on third-party packages like LeanTween. I checked through the source the other day, and found that these scripts (several of which are key to Fungus) depend on LT:

FadeScreen
CameraManager
NarrativeLogMenu
SaveMenu
FadeToView
MoveToView
TweenUI
Draggable2D
Stage
ControlAudio
ControlStage
FadeUI
TweenUI

The problem here is that fixing these dependencies would mean breaking backwards-compatibility with older Fungus versions pretty hard... Looks like we won't be able to get back on the asset store until we finish version 4.0, since then we'd have an excuse to break BC.
What do you guys think?

In regards to the last item on the list, my read of the policy is that these are the key areas we need address:

(1.1.e)

Assets with dependencies from Package Manager only include the necessary packages for the asset to work.

(1.2.c)

You are solely responsible for ensuring that you have all necessary rights to distribute your content on the Asset Store and for end users rightfully to use that content and distribute it as part of a Licensed Product. This means that you are either the owner of all such necessary rights or you have a valid license from the rightsholder.

(1.2.d)

Your submission includes a Third-Party Notices text file listing fonts, audio, and other third-party components with dependent licenses. You are responsible for ensuring that dependent licenses are compatible with the Asset Store EULA and include a license file detailing the component that it is covering. The product description on the Asset Store also contains a notice stating the third-party software licensing included in the package. For example: "Asset uses [name of component] under [name of license]; see Third-Party Notices.txt file in package for details."

I don't see why we need to remove LeanTween, it seems it should be possible to include it. According to (2.2.a and 2.2.b) the problem is that the LeanTween files being in a compressed file (.unitypackage)

... obscure most of, or the entirety of the content.

Since LeanTween has an open license, we just need to include it in a different way. Which would seem to be as package dependancy to the LeanTween git, or if we just bring the scripts under the Fungus namespace and properly handle the attributions.
Since LT hasn't seen update since 2018, I think we might as well go with the second option so Fungus is complete without a network connection.


improvement support show all property

Proposed changes
Issue Number: close #xxx
support show all property
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run p0

run buildall

run buildall

run p0


Add reconnect on startup/update

See individual commit messages for more details.

Small comment, and please make sure this works for Firefox (a lot of the code changed here is Chrome specific, but reconnect to social networks ought to work for FF).  Otherwise :+1:

Review status: 0 of 8 files reviewed at latest revision, 1 unresolved discussion, all commit checks successful.

src/generic_core/uproxy_core.ts, line 90 [r1] (raw file):
If reconnecting to a previous connected network fails, I think it will still be in the connectedNetworks_ array and saved in storage right?  I think we should make sure they get removed from storage if reconnect fails

Comments from the review on Reviewable.io

Yup, everything works fine on Firefox as well.

Review status: 0 of 8 files reviewed at latest revision, 1 unresolved discussion, some commit checks failed.

src/generic_core/uproxy_core.ts, line 90 [r1] (raw file):
Done.

Comments from the review on Reviewable.io

@dborkan does this look good?

:+1:


zos CLI integration in Jumpscale

The first version zos CLI prototype  showed some good things. People have been responding pretty positively to it.
It also showed the limit of nim (can read https://xmonader.github.io/nim/2018/12/06/nim-good-ok-hard.html for more about this).
One of the main reason we want to create this tool is to be able to distribute a static tool to deal with 0-os.
Things is, we are now close to have a sandbox  that we can distribute like a static binary. Having this would allow us to re-use all the code we already have in jumpscale 0-OS SAL for the zos CLI.
Goal of this story is to define if it is worth to move the new features of zos back to jumpscale and then re-create the CLI interface in python. This would allow to have all the features from 0-OS SAL.
Tagging people to start the disscusion: @despiegk @xmonader @rkhamis

➤ xmonader commented:
One of the reasons people like zos is being a binary (dynamically linked yes, but linked against always available  libraries ssl and pcre ), so I don't really see it as a problem and it doesn't differ much from distributing a sandbox (even better).
Extending corectl ( https://github.com/threefoldtech/0-core/tree/development/apps/corectl ) is Maybe a better option (for static binaries).
1- First class zero-os project
2- Mature ecosystem
3- Won't be blocked on the status of jumpscale/sandbox updates (not sure how the releases model is going to work)
4- Easier to create flists/deploy
Also, We considered porting zos to click when I had troubles back then with redisclient   pyzos  - Not complete -

➤ Christophe de Carvalho commented:

Also, We considered porting zos to click when I had troubles back then with redisclient

@xmonader  Can you elaborate on that ?

➤ xmonader commented:
@zaibon pyzos was a backup option if we kept having unpredictable problems with zos (hanging sockets mainly on nil returns from 0-core) mostly because of a bug in redisclient ( https://github.com/xmonader/nim-redisclient/commits/master ) and all of them are fixed already.

➤ Christophe de Carvalho commented:
@xmonader ha OK, I though they were issue in the python redis client. Ok make sense now

The two main advantages I can think of having this zos CLI in Jumpscale is nicer command  subgroups and that will be directly available with every Jumpscale


unable to mount cifs share

hey folks, I'm trying to create a volume from a cifs share, but for some reason netshare is trying to mount it using a docker 'hostname' as opposed to the actual name of the box:
x1um1n@omnius:~$ docker run -it --dns=<IP_ADDRESS> --volume-driver=cifs -v seurom/Media:/Media plexinc/pms-docker bash
docker: Error response from daemon: VolumeDriver.Mount: exit status 1.

INFO[0153] Mount: 62bb276888b9529cc919aaea35402cb91987308a35535b2d6c3dc46ae7b1e560, ID: 589049f82ab088274cdfefa5ec3a88a5a6b4fe5abb7f8d650faaecae54aadad0
INFO[0153] Mounting CIFS volume //62bb276888b9529cc919aaea35402cb91987308a35535b2d6c3dc46ae7b1e560 on /var/lib/docker-volumes/netshare/cifs/62bb276888b9529cc919aaea35402cb91987308a35535b2d6c3dc46ae7b1e560
DEBU[0153] GetCreds: host=62bb276888b9529cc919aaea35402cb91987308a35535b2d6c3dc46ae7b1e560, netrc=&{/home/x1um1n/.netrc [0xc420318210] []}
DEBU[0153] Executing: mount -t cifs -o vers=1.0,noperm,fileMode=0777,dirMode=0777,guest,sec=ntlm,rw //62bb276888b9529cc919aaea35402cb91987308a35535b2d6c3dc46ae7b1e560 /var/lib/docker-volumes/netshare/cifs/62bb276888b9529cc919aaea35402cb91987308a35535b2d6c3dc46ae7b1e560
2019/06/15 19:07:51 mount error: could not resolve address for 62bb276888b9529cc919aaea35402cb91987308a35535b2d6c3dc46ae7b1e560: Unknown error

I had this working earlier this evening, then I put a fresh install on my media server, with the intention of building a nice clean dockerised setup, but now it won't work
I'm running docker-volume-netshare 0.36, on ubuntu 18.04, with docker installed from snap
Client:
 Version:           18.06.1-ce
 API version:       1.38
 Go version:        go1.10.4
 Git commit:        e68fc7a
 Built:             Tue May  7 17:57:34 2019
 OS/Arch:           linux/amd64
 Experimental:      false
Server:
 Engine:
  Version:          18.06.1-ce
  API version:      1.38 (minimum version 1.12)
  Go version:       go1.10.4
  Git commit:       e68fc7a
  Built:            Tue May  7 17:57:34 2019
  OS/Arch:          linux/amd64
  Experimental:     false

To rule out any weirdness from the snap install, as the test I did before wiping my server used a .deb install of docker, I've removed the snap and re-installed through apt, but get the same error :(
`Client:
Version:           18.09.5
API version:       1.39
Go version:        go1.10.4
Git commit:        e8ff056
Built:             Thu May  9 23:11:19 2019
OS/Arch:           linux/amd64
Experimental:      false
Server:
Engine:
Version:          18.09.5
API version:      1.39 (minimum version 1.12)
Go version:       go1.10.4
Git commit:       e8ff056
Built:            Thu May  9 22:59:19 2019
OS/Arch:          linux/amd64
Experimental:     false`

nevermind, the problem was with the fileMode & dirMode options
for anyone else stuck down this same rabbithole, I found that out by tailing /var/log/kern.log whilst attempting to start the container...


Java Edition Keeps Crashing

Any ideas why the java edition keeps crashing?
The bedrock runs fine though?
I am running the terraform deployment. I have not made any other changes.
I removed all my customisations, using the older 1.16.5 when I forked it a couple months ago before bedrock worked fine.

Hi @warrendt, most likely there's a mismatch between Minecraft & Java version. I run PaperMC 18.1 on Java (OpenJDK) 17 with the itzg/minecraft-server:latest container image.
Can you share the container instance logs?

That's the strange thing, the container doesn't stay up long enough. It crashes as it starts and keeps restarting, then it resets the log output. Does it store the start up logs to the log analytics workspace or app insights ?

The logs are stored in Log Analytics, but the easiest is to check directly on the Container Instance blade:

Note I'll be slow to respond for the next week.

Unfortunately these logs disappear when the container restarts :(

I increased the timeouts and caught the logs before it crashed

Seems the multiarch-latest was erroring out on the java version, I changed the tag to java17 and it seems to stay up now....
Dont think its a problem with your stuff and maybe the container build
Thanks again for the help


test: Update Taint Existence check for Start-Up Drift

Fixes #N/A
Description

Update TaintEffectNoExecute to TaintEffectPreferNoSchedule for Start-Up Taint  Drift for the existence check

How was this change tested?

Tested locally

Does this change impact docs?

[ ] Yes, PR includes docs updates
[ ] Yes, issue opened: #
[x] No

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>6
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 79.121%

Totals

Change from base Build<PHONE_NUMBER>7:
0.0%

Covered Lines:
5942

Relevant Lines:
7510

💛  - Coveralls


Twitch.tv error: no streams found on this URL

No matter which steam from twitch.tv I try to watch I always get the same error.
for example: when I write livestreamer twitch.tv/ongamenet best(tried every other quality)
[cli][info] Found matching Plugin.......
error: no streams found on this URL: twitch.tv/ongamenet
I already tried different streams same result

Perhaps someone can help me even if I come after the fight... I'm using Debian 8.2 with livrestreamer 1.10.2 and have the same error ubongo had... what can I do ?

@rougerbaptiste install newer version of livestreamer (1.11.1+)

The latest version on the official stable Debian repositories is too old.
If you don't want to install from the testing repositories you could also just update the twitch plugin.
mkdir -p ~/.config/livestreamer/plugins
wget https://github.com/chrippa/livestreamer/blob/master/src/livestreamer/plugins/twitch.py
mv twitch.py ~/config/livestreamer/plugins/
echo 'export XDG_CONFIG_HOME="$HOME/.config" >> /etc/profile.d/pam_env


⚠ SceneTime has degraded performance

In 3bc5664, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 1464 ms

Resolved: SceneTime performance has improved in 2aed451 after 7 minutes.


feat(syntaxes): add support for custom NatSpec tags

[ ] Because this PR includes a bug fix, relevant tests have been included.
[x] Because this PR includes a new feature, the change was previously discussed on an Issue or with someone from the team.
[ ] I didn't do anything of this.

Implements the feature outlined in issue https://github.com/NomicFoundation/hardhat-vscode/issues/161.
The regex pattern used for matching custom tags is based on the description provided in Solidity documentation:

Custom tags start with @custom: and must be followed by one or more lowercase letters or hyphens. It cannot start with a hyphen however. They can be used everywhere and are part of the developer documentation.

Preview

I have tested locally and get the expected results. Thanks for this @scorpion9979.


Winding Current Limiter

Make use of the winding current limiter code in WindingCurrentTarget.hpp in the EHPTO plugin by connecting RamPosition to the actual piston position rather than constant 40 inches in ElectroHydraulicPTO.cpp line 222-223
from:
https://github.com/osrf/buoy_sim/blob/0b03fbda0550234850d1aed838b5a3433df38f97/buoy_gazebo/src/ElectroHydraulicPTO/ElectroHydraulicPTO.cpp#L222-L223
to:
this->dataPtr->functor.I_Wind.RamPosition = (2.03 - PistonPos) * buoy_utils::INCHES_PER_METER;

as well as in pc_commands_ros_feedback.cpp and pc_commands_ros_feedback_py.launch.py
and verify changes in plots in experiment_comparison.cpp

From meeting: Not in backlog but not a priority for immediate next release


Neutron SR-IOV agent adoption

This patch adds adoption of the neutron-sriov-nic-agent on the edpm nodes.
As we run our tests on the virtualized environment, there is no really way to spawn VM which uses SR-IOV port and test if this VM works after adoption. This will need to be tested in some other layer of our CI. This patch adds documentation about adoption of the SR-IOV agent and simple test which will make sure that neutron-sriov-nic-agent is ALIVE after adoption.
Depends-On: https://github.com/openstack-k8s-operators/install_yamls/pull/755
Closes: OSPRH-2433

should we merge it now?

/lgtm

Yup the dependency is merged. I created the "check-before-merge/depends-on" label mainly as a reminder to myself, since i sometimes tend to miss the depends-on and merge things out of order :).


Copy/paste error in CIFAR 10 OoD configuration?

Hello, thanks a lot for developing this library!
It seems that there is an issue in the OoD configuration for CIFAR10: in configs/datasets/cifar10/cifar10_ood.yml, shouldn't the validation set point to cifar10 rather than cifar100? Thanks

The validation set for CIFAR-10 as ID have 2 parts: CIFAR-10's val as ID and CIFAR-100's val as OOD. The goal is to find the optimal hyperparam for OOD detection, so we have validation data from both ID and OOD set.

Thank you. Now I understand ... but then why is CIFAR100 also using val_cifar100 as OoD validation set in cifar100_ood.yml ?

You are correct. cifar100_ood should use val_cifar10.txt
I will double-check with my teammates on this issue. Thank you for pointing it out.
Nevertheless, the problem shall not affect too much on our main results and conclusion, since if different hyperparam makes no difference on val, we will take default hyperparam for the result. Anyhow, we will look into this issue. Thanks!

You're welcome :)


Column chooser filter regex overly restrictive

In grid column chooser, if we have e.g. a column such as "Execution Quantity" it should show up when "Quantity" (or any part thereof) is entered into the quick search filter.
NOTE: I believe this comes down to the somewhat random anyMatch config on LeftRightChooserFilter. If we turn this on for col chooser usage we could probably close this ticket out, but I think we should consider removing this option and having it always work the same way as StoreFilterField, which I believe is word boundary based. Or at the very least they should have a consistent, sane API.

Fixed in #650 to include word boundaries, happy to have that in and good to go for now, thank you.


URI priority

There needs to be a priority used to define which handlers get checked and subsequently executed first.
At the moment there is no way to do this. I want to be able to define a handler with the uri "/" and the type string which will act as a 404 error handler. At the moment this handler, depending on when it is registered, will prevent other handlers from being executed. In order for this handler to work as intented, it needs a priority making sure, it is always the last entry in the list of handlers.
Should look something like this
@URI(value = "/", type = URI.URIType.STRING, priority = Integer.MIN_VALUE)
public Object notFoundHandler() {

done.


arm64 base image doesn't actually work on arm64

Bug Report
What did you do?
Installed aarch64 release of operator-sdk, created a skeleton ansible operator, and ran operator-sdk build to generate an image.
What did you expect to see?
The image should run.
What did you see instead? Under which circumstances?
exec format error
Environment

operator-sdk version:

v0.18.1
Additional context
It looks like the quay.io/operator-framework/ansible-operator:v0.18.1 base image for ARM64 doesn't have a working tini binary. The file at /tini just contains the text Not found. When I try to run the base image directly on my Raspberry Pi 4 under Ubuntu 20.04, I get exec format error. If I override the entrypoint to run /usr/local/bin/entrypoint directly, it actually runs.

It looks like an additional mapping is needed here:
https://github.com/operator-framework/operator-sdk/blob/da47632d2c50e1d2ef4a076f475accd6fd17d224/internal/scaffold/ansible/dockerfilehybrid.go#L91
The arch command returns aarch64 on ARM64, but the tini arch name is arm64.

As a test, I added the following to the generated build/Dockerfile for my test operator, and the resulting image worked.
USER root

RUN TINIARCH=$(case $(arch) in x86_64) echo -n amd64 ;; ppc64le) echo -n ppc64el ;; aarch64) echo -n arm64 ;; *) echo -n $(arch) ;; esac) \
  && curl -L -o /tini https://github.com/krallin/tini/releases/latest/download/tini-$TINIARCH \
  && chmod +x /tini

USER ansible-operator

/kind bug

/lifecycle active

I created PR #3234 to address this

Woohoo, this would be awesome, as with Pi OS 64-bit beta (or Ubuntu 64-bit for ARM, or other ARM64 distros) I can start running my operators on my ARM clusters :)

I've verified that this is fixed in v0.18.2


Add Kubebox to Tools and Plugins

Checklist for submitting a pull request to Terminals Are Sexy:

[x] I have carefully read and comply with the Contributing Guidelines of this repo.

[x] I have searched the PRs of this repo and believe that this is not a duplicate.

Title: Kubebox

Link: https://github.com/astefanutti/kubebox

Category: Tools and Plugins

Description: Terminal console for Kubernetes

Hi @astefanutti. Please resolve conflicts with the master branch. Thanks in advance.

@k4m4 I lost track of the original branch so I've created #240. Let me close this one.


Is it stable and would you like to create a demo?

Hello, @rxtur! I didn't notice this project until yesterday. And I think it is why the BlogEngine.NET project almost stopped to update in the last a few weeks.
I am so happy that here is such a project because I started to learn .NET Core and ASP.NET Core just now.
For some reason I can't install .NET Core on the computer I am currently using, so I can't try it out now. Could you please tell me is the project stable now and would you like to create a demo for it like zoo.azurewebsites.net(which is for BlogEngine.NET)?
I know this is not an issue at all, but I could not find any other ways to contact you XD.

Well, it is not yet stable and needs lot of work, but there is a "demo" at http://blogifier.azurewebsites.net
You can log in with account below:
<EMAIL_ADDRESS>/ Blogifier@1


Fix e2mip://graphcast loading bug

Resolves #150
Proof:
In [1]: import earth2mip.networks

In [2]: earth2mip.networks.get_model("e2mip://graphcast")
/home/nbrenowitz/.local/lib/python3.10/site-packages/gribapi/__init__.py:23: UserWarning: ecCodes 2.31.0 or higher is recommended. You are running version 2.30.0
  warnings.warn(

Model description:

GraphCast model at 0.25deg resolution, with 37 pressure levels. This model is
trained on ERA5 data from 1979 to 2017, and can be causally evaluated on 2018
and later years. This model takes as inputs `total_precipitation_6hr`. This was
described in the paper
`GraphCast: Learning skillful medium-range global weather forecasting`
(https://arxiv.org/abs/2212.12794).

Model license:

The model weights are licensed under the Creative Commons
Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0). You
may obtain a copy of the License at:
https://creativecommons.org/licenses/by-nc-sa/4.0/.
The weights were trained on ERA5 data, see README for attribution statement.

All Examples:   {'lon': 1440, 'lat': 721, 'level': 37, 'time': 6, 'batch': 1}
Eval Inputs:    {'batch': 1, 'time': 2, 'lat': 721, 'lon': 1440, 'level': 37}
Eval Targets:   {'batch': 1, 'time': 1, 'lat': 721, 'lon': 1440, 'level': 37}
Eval Forcings:  {'batch': 1, 'time': 1, 'lat': 721, 'lon': 1440}
Inputs:   {'batch': 1, 'time': 2, 'lat': 721, 'lon': 1440, 'level': 37}
Targets:  {'batch': 1, 'time': 1, 'lat': 721, 'lon': 1440, 'level': 37}
Forcings: {'batch': 1, 'time': 1, 'lat': 721, 'lon': 1440}
Out[2]: <earth2mip.time_loop.TimeStepperLoop at 0x7f1944bccd60>

In [3]:

In [3]: earth2mip.networks.get_model("e2mip://graphcast_operational")
Model description:

GraphCast model at 0.25deg resolution, with 13 pressure levels. This model is
trained on ERA5 data from 1979 to 2017, and fine-tuned on HRES-fc0 data from
2016 to 2021 and can be causally evaluated on 2022 and later years. This model
does not take `total_precipitation_6hr` as inputs and can make predictions in an
operational setting (i.e., initialised from HRES-fc0).

Model license:

The model weights are licensed under the Creative Commons
Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0). You
may obtain a copy of the License at:
https://creativecommons.org/licenses/by-nc-sa/4.0/.
The weights were trained on ERA5 data, see README for attribution statement.

All Examples:   {'lon': 1440, 'lat': 721, 'level': 13, 'time': 6, 'batch': 1}
Eval Inputs:    {'batch': 1, 'time': 2, 'lat': 721, 'lon': 1440, 'level': 13}
Eval Targets:   {'batch': 1, 'time': 1, 'lat': 721, 'lon': 1440, 'level': 13}
Eval Forcings:  {'batch': 1, 'time': 1, 'lat': 721, 'lon': 1440}
Inputs:   {'batch': 1, 'time': 2, 'lat': 721, 'lon': 1440, 'level': 13}
Targets:  {'batch': 1, 'time': 1, 'lat': 721, 'lon': 1440, 'level': 13}
Forcings: {'batch': 1, 'time': 1, 'lat': 721, 'lon': 1440}
Out[3]: <earth2mip.time_loop.TimeStepperLoop at 0x7f19224addb0>

In [4]: earth2mip.networks.get_model("e2mip://graphcast_small")
Model description:

Low resolution version of the GraphCast model (1deg, smaller mesh), with 37
pressure levels. This model is trained on ERA5 data from 1979 to 2015, and can
be causally evaluated on 2016 and later years. This model takes as inputs
`total_precipitation_6hr`. This model has much lower memory requirements.

Model license:

The model weights are licensed under the Creative Commons
Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0). You
may obtain a copy of the License at:
https://creativecommons.org/licenses/by-nc-sa/4.0/.
The weights were trained on ERA5 data, see README for attribution statement.

All Examples:   {'lon': 360, 'lat': 181, 'level': 13, 'time': 6, 'batch': 1}
Eval Inputs:    {'batch': 1, 'time': 2, 'lat': 181, 'lon': 360, 'level': 13}
Eval Targets:   {'batch': 1, 'time': 1, 'lat': 181, 'lon': 360, 'level': 13}
Eval Forcings:  {'batch': 1, 'time': 1, 'lat': 181, 'lon': 360}
Inputs:   {'batch': 1, 'time': 2, 'lat': 181, 'lon': 360, 'level': 13}
Targets:  {'batch': 1, 'time': 1, 'lat': 181, 'lon': 360, 'level': 13}
Forcings: {'batch': 1, 'time': 1, 'lat': 181, 'lon': 360}
Out[4]: <earth2mip.time_loop.TimeStepperLoop at 0x7f1944b02dd0>

Checklist

[ ] I am familiar with the Contributing Guidelines.
[ ] New or existing tests cover these changes.
[ ] The documentation is up to date with these changes.
[ ] The CHANGELOG.md is up to date with these changes.
[ ] An issue is linked to this pull request.

Dependencies

/blossom-ci


New version: TERMIOS v0.1.1

Registering package: TERMIOS
Repository: https://github.com/kdheepak/TERMIOS.jl
Created by: @kdheepak
Version: v0.1.1
Commit: a1ed730bde5038f8299d4d034053679fc59673ed
Reviewed by: @kdheepak
Reference: https://github.com/kdheepak/TERMIOS.jl/commit/a1ed730bde5038f8299d4d034053679fc59673ed#commitcomment-35688061

Your new version pull request met all of the guidelines for automatic merging.
I will automatically merge this pull request during the next cron job.
If you want to prevent this pull request from being auto-merged, simply leave a comment.
(If you want to post a comment without blocking auto-merging, you must include the text [noblock] in your comment.)

On a separate note, I see that you are registering a release with a version number of the form v0.X.Y.
Does your package have a stable public API? If so, then it's time for you to register version v1.0.0 of your package. (This is not a requirement. It's just a recommendation.)
If your package does not yet have a stable public API, then of course you are not yet ready to release version v1.0.0.

[noblock]


Exception on startup after new update

Attached the file with the error text
After the new update, the extension worked normally, but after restarting one program, this error began to appear
stacktrace.txt

to me this happen when i switch project without closing ide

The error went away on its own after a couple of days.


Update ProcedureKit to build against Swift 4.2

Pull Request Description
Also add xfail of ProcedureKitCloud due to https://bugs.swift.org/browse/SR-9139

[x] pass ./project_precommit_check script run

$ ./project_precommit_check ProcedureKit --earliest-compatible-swift-version 4.2
** CHECK **
--- Validating ProcedureKit Swift version 4.2 compatibility ---
--- Project configured to be compatible with Swift 4.2 ---
--- Checking ProcedureKit platform compatibility with Darwin ---
--- Platform compatibility check succeeded ---
--- Locating swiftc executable ---
$ xcrun -f swiftc
--- Checking installed Swift version ---
$ /Applications/Xcodes/PublicGMs/Xcode-10-GM.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
--- Version check succeeded ---
--- Executing build actions ---
$ ./runner.py --swift-branch swift-4.2-branch --swiftc /Applications/Xcodes/PublicGMs/Xcode-10-GM.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --projects projects.json --include-repos 'path == "ProcedureKit"' --include-versions 'version == "4.2"' --include-actions 'action.startswith("Build")'
PASS: ProcedureKit, 4.2, 94193d, ProcedureKit, platform=macOS
PASS: ProcedureKit, 4.2, 94193d, ProcedureKit, generic/platform=iOS
PASS: ProcedureKit, 4.2, 94193d, ProcedureKit, generic/platform=watchOS
PASS: ProcedureKit, 4.2, 94193d, ProcedureKit, generic/platform=tvOS
XFAIL: https://bugs.swift.org/browse/SR-9139, ProcedureKit, 4.2, 94193d, ProcedureKitCloud, platform=macOS
========================================
XFailures:
  XFAIL: https://bugs.swift.org/browse/SR-9139, ProcedureKit, 4.2, 94193d, ProcedureKitCloud, platform=macOS
========================================
Action Summary:
     Passed: 4
     Failed: 0
    XFailed: 1
    UPassed: 0
      Total: 5
========================================
Repository Summary:
      Total: 1
========================================
Result: XFAIL
========================================
--- ProcedureKit checked successfully against Swift 4.2 ---

@swift-ci test


python 2 not supported anymore?

I just updated from github, and my Python2 code does not work anymore.
  File ".../virtuoso/vstore.py", line 4, in <module>
    from builtins import (next, chr, zip, range, object)

Is it a bug or a feature, i.e. Is the lib now only supposed to work with Python3?

Clearly a bug, I'll have a look shortly.

did you reinstall the content of requirements.txt? It looks like you may be missing future.
I have a few tests failing, but most things do work for me now.

did you reinstall the content of requirements.txt?

I did a pip install --upgrade, which I expect to install all required dependencies...
I had a look at setup.py, and that confuses me a bit:

setup.py uses deprecated options requires and dependency_links, while it should use install_requires
dependencies in setup.py and requirements.txt are not in sync; I assume that requirements.txt is the correct list, but I need you to confirm that.

I started updating setup.py accordingly, but then I realized that install_requires does not support github URLS :-( It might be possible by keeping the dependency_links keyword, and forcing pip to use it, using the option --process-dependency-links, although I didn't manage to make that work yet. And even if we do manage eventually, that should at the very least be documented in the README...

I added a note in the README about using pip, and made sure that setup.py was better aligned to requirements.txt. Do you think that solves the problem?

Works for me
On 9 September 2017 at 17:56, Marc-Antoine Parent<EMAIL_ADDRESS>wrote:

I added a note in the README about using pip, and made sure that setup.py
was better aligned to requirements.txt. Do you think that solves the
problem?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/maparent/virtuoso-python/issues/11#issuecomment-328285914,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AASl5CDJLrrIaMY2m9_GkCbtJdm3dV_Xks5sgrU5gaJpZM4PRX8q
.


switch to temurin base

Codecov Report
Base: 66.08% // Head: 66.08% // No change to project coverage :thumbsup:

Coverage data is based on head (809d46b) compared to base (61ec499).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff            @@
##               main     #125   +/-   ##
=========================================
  Coverage     66.08%   66.08%
  Complexity       70       70
=========================================
  Files            28       28
  Lines           286      286
  Branches         14       14
=========================================
  Hits            189      189
  Misses           90       90
  Partials          7        7

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Subscription and billing integration ?

Hi All,
any thought on approaching the customer subscription and billing of containers ?
my project:
we are planning to deploy our e-commerce software as a container for the public (Something similar to Shopify.)
the process will be self-service and upon selecting a price plan we can trigger a container deployment in portainer.
Issue:
how to integrate the billing and subscription management of the tenant (Container User) ?
any thoughts or comments will be appreciated.
Thanks.

We are likely to add this as a feature in our business edition, and off the back of Kubernetes, as we would need the namespaces API.
In swarm this would be quite hard, and would require us to enforce setting resource min/max for every container.

Thanks for the reply @ncresswell, is there a timeline or an idea of a time frame?
Also wanted to ask few things about portainer:
1- does portainer support web hooks?
2- can I turn on/off  manage each container using the api?
Many thanks.
T

You can manage every Portainer function via API, so yes you can control containers via API.
Webhooks only exist for services, not containers.
Rgds,
Neil Cresswell

Thank you for your answer and support :) 🙏🏽

Closed due to inactivity.


AOSP style not working with configuration in pom.xml

I was trying to change the code style from GOOGLE style to AOSP.
I've tried the below given config in pom.xml but its not getting formatted to 4-space indentation.
<plugin>
   <groupId>com.cosium.code</groupId>
   <artifactId>maven-git-code-format</artifactId>
   <version>1.20</version>
   <executions>
      <execution>
         <goals>
            <goal>install-hooks</goal>
         </goals>
      </execution>
   </executions>
   <configuration>
      <googleJavaFormatOptions>
         <aosp>true</aosp>
      </googleJavaFormatOptions>
   </configuration>
</plugin>

With this config its not getting formatted to 4-space style.
I've used mvn git-code-format:format-code -DglobPattern=/*** to format and tried a commit as well.
Am I missing anything? Please help.

Hi @sachin086 ,
As you can see in https://github.com/Cosium/maven-git-code-format/commit/8cf5b21b1f90125741187911633caa23d6d55911, google java format options customization are only available since version 1.28.

All right. Thanks 👍


Add Android Command Line tools to Linux images

Description
New tool
size:  100Mb
time: 30 secs
Virtual environments currently installs Android "SDK Tools", which is deprecated: https://developer.android.com/studio/releases/sdk-tools
Google suggests using the new "cmdline-tools" package instead:
https://developer.android.com/studio/command-line
Related issue: https://github.com/actions/virtual-environments/issues/2252
Check list

[x] Related issue / work item is attached
[x] Tests are written (if applicable)
[ ] Changes are tested and related VM images are successfully generated

Could you please add tests for cmdline-tools?


[WelcomeUX] Interface overview doesn't update when sidebar icons are rearranged

Testing #18091

Tracked as #18861


Frontend Unit Tests - Views, Services & Components

Description
PADS-396
Basic render tests for views, services and components

Types of changes

New feature (non-breaking change which adds functionality)

Checklist

[x] I have read the CONTRIBUTING doc
[x] I have checked that unit tests pass locally with my changes
[x] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)

Further comments

@jujaga async removed as asked!


Add "fun-fact"/trivia command

Is your feature request related to a problem? Please describe.
no
Describe the solution you'd like
Have a new fact or trivia command that spits out some random facts. Similar to the quotes from the FCC site.
Describe alternatives you've considered
None.
Additional context
This might add to spam. Will need to think about it.

I can write the code if you provide the facts. 🙃
On Thu, Jul 9, 2020, 20:58 Brad<EMAIL_ADDRESS>wrote:

Is your feature request related to a problem? Please describe.
no
Describe the solution you'd like
Have a new fact or trivia command that spits out some random facts.
Similar to the quotes from the FCC site.
Describe alternatives you've considered
None.
Additional context
This might add to spam. Will need to think about it.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/bradtaniguchi/discord-bot-test/issues/91, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/APHODGZ47NKAVLAFP2IEQ33R22GVRANCNFSM4OWGQVNA
.

Just thought about something, why not change this feature from trivia to directly using the same quotes FCC uses?
We could directly "hijack" the list as-is from the other repo via a web-call thru github maybe

Using the quotes would be cool - change the command from "trivia" to "motivate", maybe?
But, would it be faster to just copy the file to this repo? Otherwise we have to wait for the web-call to resolve?

the web-call can be done on initial bot load, same way the DB call is made. This will cut down on how much we ping github to only be done when the bar is started/restarted. This way if FCC adds more quotes, the bot will get them automatically on restart
(we could also call every day or something to keep updated, but we can do that later).


md5sum the secure migrations and compare

Description
This is the beginning of a tool that will let us compare the secure migrations in AWS S3.  Each file will be downloaded into memory and we'll take the md5 sum of it.  Those will be compared and differences posted.
Reviewer Notes

The output could probably be more readable.
Large files (exceeding 10MB) are ignored (this is configurable)
Errors are printed at the end with an exit code equal to the number of errors (A little non-standard). This allows the entire script to finish with usable output.

[x] Have the Pivotal acceptance criteria been met for this change?

References

Pivotal story for this change

The 10MB limit is a little odd to me, given that a large part of the work being done by the secure migrator is importing TDL data. I assume we would certainly want to know if TDL data differed per environment, but maybe I am not understanding the use case for this tool.

@akostibas - The 10MB limit is arbitrary.  Essentially you've got to download all of these files to compare them and there are 6 migrations in 3 environments that are on the 250MB+ side, meaning you get 18 concurrent large downloads.  It really takes forever and having an adjustable size meant I could test and develop without issues and check all the non-TDL migration differences.  I could up the limit to 25, 50, 100 or 200 and it would still ignore the large files.  I'm just not prepared to make a script that out-of-the-box will stop your computer from working and kill your internet.
As for real world examples, if you had to do a security audit to tell which files were different you could run this with --max-object-size 500 and just let it run until everything is finished.  Then use that audit report as a foothold to start digging into which migrations differ from environment to environment.


/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/velocity_x-1.0.0/lib/src/extensions/context_ext.dart:132:31: Error: The getter 'TextSelectionTheme' isn't defined for the class 'BuildContext'.  - 'BuildContext' is from 'package:flutter/src/widgets/framework.dart' ('/C:/src/flutter/packages/flutter/lib/src/widgets/framework.dart'). Try correcting the name to the name of an existing getter, or defining a getter or field named 'TextSelectionTheme'.   Color get selectionColor => TextSelectionTheme.of(this).selectionColor;                               ^^^^^^^^^^^^^^^^^^

/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/velocity_x-1.0.0/lib/src/extensions/context_ext.dart:132:31: Error: The getter 'TextSelectionTheme' isn't defined for the class 'BuildContext'.

'BuildContext' is from 'package:flutter/src/widgets/framework.dart' ('/C:/src/flutter/packages/flutter/lib/src/widgets/framework.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'TextSelectionTheme'.
Color get selectionColor => TextSelectionTheme.of(this).selectionColor;
^^^^^^^^^^^^^^^^^^

Updating to Flutter 1.22 should fix this as this was introduced in 1.22 and it's gonna be there now.


Release OLM parsing fix to 1.106.0 & 1.111.2

Add OLM parsing fix (https://github.com/googleapis/java-storage/pull/816) as patches to 1.106.0 & 1.111.2

This is being handled by: https://github.com/googleapis/java-storage/pull/847

1.106.1 released - https://github.com/googleapis/java-storage/releases/tag/v1.106.1

Fixed by #892 & #876


Monitor Project POW Address and Send Notifications Based on Transaction Downtime

Implement a feature to monitor the POW (Proof of Work) project address and send notifications on Discord when no transactions have been detected for a specified period.
The system should track the time since the last transaction and trigger alerts when the downtime exceeds predefined thresholds. This will help ensure timely awareness of any disruptions in transaction activity.
POW Address: https://sepolia.arbiscan.io/address/0x8b852ba45293d6dd51b10c57625c6c5f25adfb40

Feature merged: https://github.com/Lilypad-Tech/community-bots/pull/2


Fix Missing Export to Retrieve Null Values

Description:
Currently, the Missing Export finds "missing" data only if it's also flagged as a variance in the database. A record receives the variance flag when valid data is entered for the following year (not left as null). Consequently, null values aren't considered during this flagging process.
In essence, data is flagged as "missing" under these conditions:

Valid data existed for the activity in the previous year
Data entered for the current year is 0

We therefore want to modify the Missing Data export to detect instances where:

One month's data is null, but
There was valid data for that activity during the same month last year

This would find missing data outside of just variances, focusing on cases where data exists for a particular month in the previous year but is absent for the same month the next year.
Acceptance Criteria:

[ ] The Missing Data export identifies records where data exists for a specific month in the previous year but is null for the same month the next year
[ ] The export displays relevant information for each identified record, including activity name, month (current year), value from previous year, and null indicator for that next year.

Definition of Ready (Note: If any of these points are not applicable, mark N/A)

[ ] User story is included
[ ] User role and type are identified
[ ] Acceptance criteria are included
[ ] Wireframes are included
[ ] Design / Solution is accepted by Product Owner
[  Dependencies are identified (technical, business, regulatory/policy)
[ ] Story has been estimated (under 13 pts)

Definition of Done

In progress:

[ ] Acceptance criteria are tested (Functionality meets the acceptance criteria defined in the ticket)
[ ] UI meets accessibility requirements
[ ] Unit tests are written
[ ] Work is traceable in GitHub
[ ] PR linked to ticket number
[ ] If needed/required - Dev adds flag/label to highlight any migration steps necessary prior to PROD deployment

Code review:

[ ] Code is peer reviewed and has passed CI/CD tests

QA:

[ ] Acceptance criteria are tested (Functionality meets the acceptance criteria defined in the ticket)
[ ] Code is potentially shippable to the production environment
[ ] Functional features have been tested and passed by QA
[ ] UI components tested by designer
[ ] Code is deployed to PROD when moved to 'done' column (unless requested otherwise by PO)

PO Review:

[ ] Acceptance criteria are tested (Functionality meets the acceptance criteria defined in the ticket)
[ ] Reviewed and approved by Product Owner

Notes:

Tested on TEST: Passed

Verified that this feature has been implemented.
Verified if a field is empty or zero while having data for one or more of previous year for past 3 years, then the flag for missing data is triggered.
Passing to PO review.

@davidclaveau In your previous comment you mentioned that it will check for past 2 years, but when I testing I found out it checks for last 3 years. Check the example given below;

Also I am curious to know what the Notes column contains on Exported report. I checked if it's exporting the value on Enter data page Notes field but it's not.

Trusting @manuji testing. Approved.


Add a Clang UBSan build slave.

Adds a Clang Undefined behavior sanitizer.

Let me know if there is more I need to do?

PTAL.  should be good now.


Skill modulaization

Skill modularization
Skills shall be modular, enabling skill instantiation by combining different "modules". This is the basis for linking skills in combos, so that aspects of a combos skills can modify subsequent skills in the combo by linking them with the proper linker.
To-Do list:

[x] Modular de-serialization
[x] #201
[x] #202
[x] #203
[x] #204
[x] #205

All tasks done.

All tasks done


add cppcon presentation links

Summary
Adds CppCon 2023 presentation links to the README and the website.
Test plan

cd website && yarn start - it works

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (2e8edd7) 62.52% compared to head (65662b8) 62.52%.
Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #478   +/-   ##
=======================================
  Coverage   62.52%   62.52%
=======================================
  Files         123      123
  Lines       12083    12083
  Branches     1969     1969
=======================================
  Hits         7555     7555
  Misses       3571     3571
  Partials      957      957

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Add $outputBuffer argument

When extend Illuminate\Console\Application
php will report
Declaration of Recca0120\Terminal\Application::call($command, array $parameters = Array) must be compatible with Illuminate\Console\Application::call($command, array $parameters = Array, $outputBuffer = NULL)

Changing method signatures is a breaking change and should target the next Laravel release; in this case the 5.6 release in the master branch.

looks like this is in reference to https://github.com/laravel/framework/commit/5e5be5ced2940ae8c4201df5d033579595bf2e56
crazy it took this long to pop up.


Implements symbologyIdentifier for MaxiCode (#214)

Part-implements #214
Implements symbologyIdentifier for MaxiCode.
Adds unit test.

This PR is ready for review again.


Correctly load n_dims for openai_whisper model

As per #252, language detection is currently broken with larger models when using openai_whisper. Another user proposed a better solution in the linked PR that was not implemented, so I have implemented it here.

@ahmetoner Perhaps this PR is related to the bug I opened for OpenAI Whisper not translating when called through the API? Could we get this PR approved and merged?
Thanks!


Add support for Rich Text Format

There are a couple sites that I've come across that have syllabi available in RTF.  It would be nice if these types of files could be handled by the pipeline.

Do you want to try to take a crack at this? You'd add a `rtf_to_text function here: https://github.com/opensyllabus/osp-pipeline/blob/master/osp_pipeline/corpus/utils.py#L43
and then wire it throughout in a similar manner

Sure, I'll give it a shot.

Resolved in https://github.com/opensyllabus/osp-pipeline/pull/34.


[5.6] Cannot switch back to application frames in whoops screen

Laravel Version: v5.6.20
PHP Version: 7.1.16-1+ubuntu16.04.1+deb.sury.org+1
Whoops version: 2.1.14

Description:
After switching stacktrace to "All frames" its impossible to switch back
Steps To Reproduce:

Enable debug mode
Throw an exception
In whoops window click on "All frames" to show full stacktrace
Click on "Application frames" [nothing happens]

Please report to the Whoops repo.


Linux support

X11 window embedding now works. Tested on Debian 12 x64 and Kylin V10 (base on Debian 11) arm64.
But there's still some issues on arm64.
If we load libcef.so dynamic, it will fail with "cannot allocate memory in static TLS block". Maybe CLR uses too much TLS?
I tried glibc.rtld.optional_static_tls . It doesn't work. Maybe my linux os not support it. I don't know how to investigate it further.
Then I tried LD_PRELOAD, it works. But we need to do additional things to make it work with Avalonia. Cef uses HarfBuzz, and Avalonia also uses it. We must set LD_PRELOAD=/path/to/libHarfBuzzSharp.so:/path/to/libcef.so to ensure libHarfBuzzSharp load before cef, or the process will crash with SIGSEGV in HarfBuzz call.
We can also use patchelf to modify the elf file to load cef when process loading.
patchelf --add-needed libHarfBuzzSharp.so --add-needed libcef.so path/to/Xilium.CefGlue.Demo.Avalonia
patchelf --add-needed libcef.so path/to/Xilium.CefGlue.BrowserProcess (Browser process doesn't use Avalonia, so there's no need to add libHarfBuzzSharp.so)

@kkwpsv Thanks a lot for your great work on this! Although there are still some issues, at least it can now be used on production environments.

Awesome!

Looks OK on GitHub, will test this and create PR on the main CefGlue repository as soon as possible.

Update: It worked. thank you so much @kkwpsv will create the PR right now.


WIP Add deletion feature

Some feedback:
You've some issue with your code:
echo '{"one": 1, "two": 2, "three": 3, "four": {"five": 5, "six": 6, "seven": {"eight": 8, "nine": 9}}}' | niet  .two -d .six -d seven.eight
Traceback (most recent call last):
  File "/home/hberaud/.local/share/virtualenvs/niet-R7vGB2rB/bin/niet", line 10, in <module>
    sys.exit(main())
  File "/home/hberaud/dev/perso/niet/niet/__init__.py", line 188, in main
    result = actions.delete(result, to_delete)
  File "/home/hberaud/dev/perso/niet/niet/actions.py", line 6, in delete
    input_dict = delete(input_dict, path)
  File "/home/hberaud/dev/perso/niet/niet/actions.py", line 28, in delete
    if cur_search in input_dict:

Here cur_search="six" and input_dict=2 I guess your recursivity is wrong somewhere.

Else it seem to work fine with standard use case:
echo '{"one": 1, "two": 2, "three": 3, "four": {"five": 5, "six": 6, "seven": {"eight": 8, "nine": 9}}}' | niet  . -d .four.six -d .four.seven.eight
{
    "one": 1,
    "two": 2,
    "three": 3,
    "four": {
        "five": 5,
        "seven": {
            "nine": 9
        }
    }
}

Another things that need to be explicit in the documentation of this function is that we can only remove entire keys from a given structure.
I mean we couldn't remove an element from a list where the list is the value of a given key.
Example:
$ echo '{"one": 1, "two": 2, "three": 3, "four": {"five": 5, "six": [1, 2, 3], "seven": {"eight": 8, "nine": 9}}}' | niet  .four -d "four.six[0]"
{
    "five": 5,
    "six": [
        1,
        2,
        3
    ],
    "seven": {
        "eight": 8,
        "nine": 9
    }
}

In the previous example users can expect to can remove the index 0 from the node four.six where six is a list.
It can became feasable by adapting the search algorithm and by introducing a similar syntax than jmespath.

Do you still want to work on that?
Else I think we can abandon this pull request.

Abandoning this PR as it didn't showed us recent activity