create a story in the Colab notebook

Can you run create a story in the Colab notebook?

also can you prime an image in the notebook?

@itsHNTR Yes, I think both of those things are possible. For some reason the install package via pip is more updated, so here is the latest (as of 03/17/2021) function options:
So you want to try img/start image and also the story options.
class Imagine(nn.Module):
    def __init__(
            self,
            *,
            text=None,
            img=None,
            clip_encoding=None,
            lr=1e-5,
            batch_size=4,
            gradient_accumulate_every=4,
            save_every=100,
            image_width=512,
            num_layers=16,
            epochs=20,
            iterations=1050,
            save_progress=True,
            seed=None,
            open_folder=True,
            save_date_time=False,
            start_image_path=None,
            start_image_train_iters=10,
            start_image_lr=3e-4,
            theta_initial=None,
            theta_hidden=None,
            lower_bound_cutout=0.1, # should be smaller than 0.8
            upper_bound_cutout=1.0,
            saturate_bound=False,
            create_story=False,
            story_start_words=5,
            story_words_per_epoch=5,
    ):

@lucidrains and other contributors...
Can you implement line-by-line story creation as opposed to word-by-word? I think line by line will be much better suited for story creation as most texts are formatted by lines, not by words.
Just a humble suggestion.
Thank you, guys! You did an awesome job with deep-daze! Love it :)

@asigalov61 Thanks for the feedback. I currently shifted my focus and will not continue the create_story feature for now.
I think your approach makes sense, so feel free to add it. One could then switch the create_story_mode from words to line. Feel free to do a PR. Mainly the update_story_encoding function would need to be changed.  The issue that I see is that a single line could be too long to fit into the context length of the CLIP model - but I guess that could be checked at the start and raise an Exception if it is the case.
If you do not want to do a PR, you can also just import deepdaze and then in your code write a loop that repeatedly calls model.train_step(). Then you can use model.set_clip_encoding() to change the encoding however you like.

@NotNANtoN Np, bro! Too bad you do not have time for this project...but I can take a look at the code and see if I can do it if I have a minute...its all about time now...right? picoseconds? ;)
And thank you for the points. I know that a sentence can be longer than what CLIP can process, but as you said yourself there are many ways around it. I'd even say that we can use a tiny AI summarizer to make sentences smaller. j/k ;)
But seriously, I will see if I can do a PR but the code may be too complex for me though. I skimmed through the code and I could not do it right away. So give me time, please.
Otherwise, thank you again for deep-daze. Its totally awesome :)

@NotNANtoN Btw, take a look at my GitHub. I am basically trying to create a deep-daze for music. So if you are curious about such a thing, I would love to hear at least your thoughts on how it would be possible to do it.

Holodeck can't be w/o sound and music. Otherwise, it will be a "silent holodeck".

@asigalov61 don't give me too much credit, I just added some features to deep daze, such as the create_story etc. The base idea is from advadnoun (twitter) and lucidrain and others coded this repo.
I'm definitely interested in you deep-daze for music - please link the repo, I don't want to search through your hundred repos.
I am also planning to embed a CLIP-guided music visualization into the lucid-sonic-dreams repo, if you've heard of it.

@NotNANtoN Just take the compliment, bro! This stuff takes mutual effort cuz it's pretty complex. You guys did a great job!
Thanks for your interest in music and I am sorry you had difficulty navigating in my GitHub. I put my best and latest on my profile page. You probably want to check out Optimus-VIRTUOSO and Markovfy-Piano. They turned out very nice IMHO.
https://github.com/asigalov61/Optimus-VIRTUOSO
https://github.com/asigalov61/Markovify-Piano
I also have Karaoke and everything in between. So try it out and let me know what you think. I have nice Colabs in all my repos so you should be able to try it very quickly and easily.
Let me know if you need any help/guidance with my software/code. Would be happy to help.
Alex

@NotNANtoN lucid-sonic-dreams looks like another awesome idea but I think the main point here is make it meaningful. In other words, it has to be conditioned like deep-daze on the user's input. Then it really would be awesome. But still pretty impressive. I will look into it in detail when I have a minute.

@asigalov61 The samples generated by Optimus-Virtuoso sound nice indeed. As there is no explanation in the README I assume it is a GPT2 model trained on MIDI data and not CLIP-related?
Yes, lucid-sonic-dreams is at the moment just an interesting way to explore the latent space of a model. But my plan is to combine it with a pre-trained model from https://github.com/Spijkervet/CLMR and CLIP to make it "meaningful". Even without CLMR, it could be made meaningful in songs with lyrics by just using CLIP.

@NotNANtoN Thank you for complimenting my work. It means a lot to me. And I apologize for the lack of the description but I am sorta one-man operation here so writing it all up/writing docs always suffers. This is why I provide Google Colabs with some notes but I know that not all have time to try it and go through it...
Yes,  OV is an actual GPT2 implementation with GPT3 tweaks (vanilla minGPT+some tweaks of my own) and yes, it was trained on MIDIs as it is the way to go IMHO. GPT2 shows amazing results, unmatched even by Reformer or other current(!) SOTA transformer arch. so this is why GPT2+ as I like to say.
One can only imagine what big guys have, right? And how it could play music or generate images, right? ;)
RE: your idea: Yes, way to go, man! Sounds like a great plan! Is there a repo for the project I can follow? And also let me know if I can help in any way, as I would love to contribute to something like that.


Trojan detect in package

Hm,...

Trojan in package ?

Sorry for the late response. There is no trojan. The probable reason the virustotal recognizes the package as positive is because of selenium module. The compiled package is just the code compiled with pyinstaller. Feel free to compile the code yourself.


Missing essential items to complete the example

What type of issue is this?
Documentation issue / typo
What SharePoint development model, framework, SDK or API is this about?
not applicable
Target SharePoint environment
SharePoint Online
What browser(s) / client(s) have you tested

[ ] 💥 Internet Explorer
[X] 💥 Microsoft Edge
[X] 💥 Google Chrome
[ ] 💥 FireFox
[ ] 💥 Safari
[ ] mobile (iOS/iPadOS)
[ ] mobile (Android)
[ ] not applicable
[ ] other (enter in the "Additional environment details" area below)

Additional environment details

browser version
SPFx version
Node.js version
etc

Issue description
Good example but it is missing 2 items:

From the buil-in we miss a column in the library for approval status. Please make example 100%.
What happens when user keep the document open when approving. It is LockOut, hence can the flow edit the status in that column?

Thank you, RoelandC

Hi! Can you please update your issue here and link to the documentation in question? I'm unsure which documentation you are referencing.
Thanks!


Anerdw: Watch pursuitphysiotherapy.ca

Anerdw requests the watch of the watch_keyword pursuitphysiotherapy\.ca. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

pursuitphysiotherapy\.ca has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Fastnlight in Charcoal HQ


Support for creating new zip files?

I noticed this crate supports creating new files in a zip file, but it doesn't support creating a new zip file yet. It would be very useful to also support that :)

Seems like the easy way would just be to use the zip crate, and anything this provides would just be a thin layer atop that. Zip files aren't really designed to be modified or created in anything other than batch mode, as far as I can tell. What kind of API would you want from such functionality?

Ideally the API would mirror the std fs API as much as possible, so that one can enable/disable whether a zip file is used or the fs is used directly, with minimal code changes (or even switchable at runtime based on a config).
E.g. things like creating/deleting dirs/files, path.exists() etc.

Using the zip crate at least, that would involve essentially creating a new zip file from scratch on every modification. This sounds like a great way to produce more issues 6 months from now saying "file operations in a zip file are slow!" XD


[FLINK] Remove unused provided dependencies in Flink SQL engine

Why are the changes needed?

Remove the provided dependency flink-table-planner_${scala.binary.version} which provides a legacy table planner API on Scala, but is never used in Kyuubi's source code or in runtime directly.

** The legacy planner is deprecated and will be dropped in Flink 1.14.** according to Flink 1.13's doc of Legacy Planner
Kyuubi has dropped support for Flink 1.14 and before in #4588

Remove the unused provided dependency flink-sql-parser
All tests on Scala 2.12 work fine without them, as flink-table-runtime dependency provides enough Java API for usage.

How was this patch tested?

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

[ ] Add screenshots for manual tests if appropriate

[x] Run test locally before make a pull request

Was this patch authored or co-authored using generative AI tooling?

No.

Thanks, merged to master(1.8.0).


Upate Manager: do not show 'System is up to date' during a check

Whilst a check progresses, it's sometimes noticeable that the 'System is up to date' banner remains (falls below) the checking banner.
Enhancement request: never show both at the same time.

Housecleaning time.  Many changes have occurred so I'm closing old tickets. If the issue still remains we can reopen.


guard against fields with nil name

Thanks for contributing to Logstash! If you haven't already signed our CLA, here's a handy link: https://www.elastic.co/contributor-agreement/
see #9

Thanks for your contribution

your code looks good, but I would also add a few tests for it, so we could prevent for going back in a regression. As soon as we get this in, I'm very happy to proceed further with this Pr.

@purbon Glad to do that. I could use some help in running the tests. When I try to run them locally with the bundle exec rspec stated in the README I get All examples were filtered out and no tests run. I also notice that the tests as run as travis are doing the same thing. https://travis-ci.org/logstash-plugins/logstash-filter-prune/builds/139280377

Sorry for being slow with this. The tests are apparently disabled right now, see #11. It's trivial to temporarily reenable them (just remove , :if => false in prune_spec.rb) so perhaps you can do that locally just to make sure your updated specs are okay?

@magnusbaeck thanks! Working on a test now.

@magnusbaeck I added a test. I think it is sufficient.
I did not re-enable the tests in the commit. I can do so if you'd like though.

Update: working on a slightly different test. Standby

Ok. I think it's ready now. I changed the unit test so that it is more explicit about what it's excercising.

I did not re-enable the tests in the commit. I can do so if you'd like though.

No thanks—let's do that separately.
The PR looks reasonable from a super quick look. I'll try to have a closer look during Monday.

@joemiller small question. When do you have this nil fields? can you write an example? can we do also better regexp? what do you think?

Thinking more about this, what is a user's expected behavior if you do get a field with a nil key (apart from not crashing, obviously)? The nil key can't possibly match the whitelist pattern(s) so from that perspective it makes sense to prune it. In other words, if you use the prune filter with a non-empty whitelist_names option any field with a nil name will be pruned.

can we do also better regexp?

Sorry, I don't understand this comment.

@magnusbaeck
re

can we do also better regexp?

I was thinking about another plugin, so please apologies :-(
@magnusbaeck I agree we should see this in user point of view, i agree with your reasoning. I end up mixing in this comment the kv filter and this one, shame on me.

so I guess if we add logs to this being skipped I think we are good to merge.

What's the status here? Any updates?

Sorry, have not been able to work on this recently.
On Fri, Aug 5, 2016 at 12:32 PM Andrew Cholakian<EMAIL_ADDRESS>wrote:

What's the status here? Any updates?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/logstash-plugins/logstash-filter-prune/pull/10#issuecomment-237942191,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAXDA_j8F8Y2pFoUQohizPhr2b3TvZ1bks5qc4-ugaJpZM4I7Bez
.

Is filtering nil values implemented? Currently, I am using a hack to recursively remove nil values from event.
I have described it here: https://medium.com/@aabrasha/filtering-out-nil-values-in-logstash-ec97c6cbb065

Is filtering nil values implemented?

No, see https://github.com/elastic/logstash/issues/2707 (which, incorrectly IMHO, references back to this issue).


How to select device?

I don't know if project is completely dead, but so far it's the only node package I've found that lets me just grab frames right outta the box cross platform – but I need to be able to select which device it captures from, which I just can't figure out.
Any help out there?

I just discovered this package to use for my app. Haven't tested, but I believe you can pass the device ID like so:
const c = new VideoCapture({ constrains: {
    video: { deviceId: 'my-device-id' }
}})


m24h-69 update sms copy

one concern. if it isn't an issue then :+1:

@miltontony :+1:

:+1:

:+1:


ng test --include is broken

🐞 Bug report
Command (mark with an x)

[ ] new
[ ] build
[ ] serve
[x] test
[ ] e2e
[ ] generate
[ ] add
[ ] update
[ ] lint
[ ] extract-i18n
[ ] run
[ ] config
[ ] help
[ ] version
[ ] doc

Is this a regression?
Yes.

The logic here seems to assume that sourceRoot is relative to root.

@alan-agius4 , We are on angular 14.0.5 and ng test --include still does seem to work. Does this fix part of any upcoming release?

@kshaw797, can you please provide the output of ng v?

@alan-agius4 , Attached is the screenshot of output of ng v

With the versions installed the problem should have addressed.
If the problem still persists, please open a new issue, provide a simple repository reproducing the problem, and describe the difference between the expected and current behavior. You can use ng new repro-app to create a new project where you reproduce the problem.


test-branch/execute-job/quoted-authorization/f493e363-dab9-4519-9e0a-cf26ecd3d409

PR for testing f437f1d8743a00e004aaa83916e742a681932d41

/canonical/self-hosted-runners/run-workflows f437f1d8743a00e004aaa83916e742a681932d41


Urxvt + zsh + micro keybindings

Some keybindings doesn't work: wordjumping, move lines, etc.
Commit hash: be81241
OS: Antergos Linux
Terminal: urxvt + zsh

I can confirm the issue with latest git version. Is there a workaround for this?

Testing with raw mode indicates that urxvt sends the same escape sequences as st and xterm, where these bindings work.

Okay, I found a workaround:

make urxvt send xterm escape sequences (~/.Xresources):

!Xterm escapes, word by word movement
URxvt.keysym.Control-Left:    \033[1;5D
URxvt.keysym.Shift-Control-Left:    \033[1;6D
URxvt.keysym.Control-Right:    \033[1;5C
URxvt.keysym.Shift-Control-Right:    \033[1;6C
URxvt.keysym.Control-Up:    \033[1;5A
URxvt.keysym.Shift-Control-Up:    \033[1;6A
URxvt.keysym.Control-Down:    \033[1;5B
URxvt.keysym.Shift-Control-Down:    \033[1;6B

Bind the raw escape codes like you need to do for xterm ~/.config/micro/bindings.json):

    "\u001b[1;2A": "SelectUp",
    "\u001b[1;2B": "SelectDown",
    "\u001b[1;2C": "SelectRight",
    "\u001b[1;2D": "SelectLeft",
    "\u001b[1;5D": "WordLeft",
    "\u001b[1;5C": "WordRight",
    "\u001b[1;3A": "MoveLinesUp",
    "\u001b[1;3B": "MoveLinesDown",
    "\u001b[1;6C": "SelectWordRight",
    "\u001b[1;6D": "SelectWordLeft",
    "\u001b[1;3D": "StartOfLine",
    "\u001b[1;3C": "EndOfLine",
    "\u001b[1;4D": "SelectToStartOfLine",
    "\u001b[1;4C": "SelectToEndOfLine",
    "\u001b[1;5A": "ParagraphPrevious",
    "\u001b[1;5B": "ParagraphNext",
    "\u001b[1;6A": "SelectToStart",
    "\u001b[1;6B": "SelectToEnd",

I imagine that the issue is the same as with tmux, urxvt terminfo does not report correctly what it does on these keypresses.

@Chrysostomus the workaround works for me! Thanks you.

I have this issue with xfce-terminal and tmux. How to fix that with apps?

Research. Use the raw mode and cat to see what escape sequences micro receives. You can then bind them to desired actions.
There might be some other way too for some terminals, but this is one way.


Reword text box in the Section -- Perception about your work

There is a "more" that is not needed in the sentence

The sentence is:
This section asks questions about your feelings toward your current job. Please note that there are no good or bad answers. Please try to answer as more honestly as possible.
Did not change it

fixed with another issues


Move instructions for submitting questions to the top of LABTASKS.md

Students have expressed that they would like to know how to submit the questions as one of the first things they encounter on LABTASKS.md. This suggests that we may want to move that up.

So I think @kklamberty dealt with this last year but didn't close the issue, so I'm going to close it. 😜


Moving forward to modular playbooks and roles with galaxy collections?

Hi
I'm using Ansible for most of my projects since several years, so I enjoy this repo a lot, but it is hard to include the roles and playbooks into existing projects or add local roles to get specialities of an environment in the code with breaking the option to update (pull) this repository frequently or just building a pull request because of the differences.
Have you ever thought about moving this repository in Ansible Galaxy Roles and Collections, so we can add them through requirements.yml to any Ansible project? Way easier to maintain and test than having this as a mono repository.
https://docs.ansible.com/ansible/latest/user_guide/collections_using.html
Regards
Christoph

Thanks for suggestion , we will have discussion with team !!


DBZ-3828 Update event LSN for commits

https://issues.redhat.com/browse/DBZ-3828

Test failure related


Initial eslint setup

Description
Also added github workflow which will be demonstrated in this PR
How has this been tested?
Types of changes

[ ] Technical Debt (non-breaking change which removes unused code/assets)
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[ ] The related ClickUp task has been linked to this PR
[ ] The person creating the pull request is listed in "Assignees"
[ ] Change requires updated documentation

Screenshots or Loom Video (optional):

Task linked: CU-3tvpbp3 Initial ESLint


not corrected read EXIF on Python3

https://github.com/jdriscoll/django-photologue/blob/master/photologue/utils/EXIF.py#L1608
data = f.read(12)
return bytestring but compared below with str and always return False at 1609 and 1615

Ow, thanks, I had noticed that it was broken, but did not saw that it was because of my passage to python 3 :)
This library seems to have been ported: http://sourceforge.net/projects/exif-py-3/

Hi,
Photologue used to have a local copy of EXIF.py, I have switched to installing the (up to date) 3rd party library using pip - and it now works with Python 3.
At the same time I've tried to improve the code for processing EXIF data e.g. getting the date a photo was taken.
Hope that this is helpful - comments/feedback are always welcome.

Thanks !

I am going to assume that this issue is fixed with the release of Photologue 3.4 - if any of you still have issues, please do not hesitate to re-open it.


Fix TextTokens - Format and TrimEnd

This fixes the Format and TrimEnd tokens and adds unit tests for all TextTokens.

Can you please target 1.9.x? Thanks, this looks great.

Sure, created pull request #6055.


0/3 nodes are available: 1 node(s) had untolerated taint {node-role.kubernetes.io/control-plane: }, 2 Insufficient neonvm/kvm.

I followed
https://github.com/neondatabase/autoscaling?tab=readme-ov-file#building-and-running
postgres16-disk-test  always pending
root@iZbp19lce9chqq1glegm26Z:~/serverless/neon/autoscaling# kubectl get pod
NAME                         READY   STATUS    RESTARTS   AGE
postgres16-disk-test-b88qv   0/2     Pending   0          6m1s

root@iZbp19lce9chqq1glegm26Z:~/serverless/neon/autoscaling# kubectl describe pod postgres16-disk-test-b88qv
Name:             postgres16-disk-test-b88qv
...
Node-Selectors:  <none>
Tolerations:     node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
                 node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
Events:
  Type     Reason            Age    From                 Message
  ----     ------            ----   ----                 -------
  Warning  FailedScheduling  6m10s  autoscale-scheduler  0/3 nodes are available: 1 node(s) had untolerated taint {node-role.kubernetes.io/control-plane: }, 2 Insufficient neonvm/kvm.
  Warning  FailedScheduling  45s    autoscale-scheduler  0/3 nodes are available: 1 node(s) had untolerated taint {node

autoscale-scheduler logs as follows
{"level":"error","ts":1713319685.30246,"logger":"autoscale-scheduler.plugin","caller":"plugin/plugin.go:343","msg":"Pod rejected by all Filter method calls","method":"Filter","virtualmachine":{"namespace":"default","name":"postgres16-disk-test"},"pod":{"namespace":"default","name":"postgres16-disk-test-b88qv"},"stacktrace":"github.com/neondatabase/autoscaling/pkg/plugin.(*AutoscaleEnforcer).
PostFilter\n\t/workspace/pkg/plugin/plugin.go:343\nk8s.io/kubernetes/pkg/scheduler/framework/runtime.(*frameworkImpl).runPostFilterPlugin\n\t/go/pkg/mod/k8s.io/kubernetes@v1.25.16/pkg/scheduler/framework/runtime/framework.go:776\nk8s.io/kubernetes/pkg/scheduler/framework/runtime.(*frameworkImpl).RunPostFilterPlugins\n\t/go/pkg/mod/k8s.io/kubernetes@v1.25.16/pkg/scheduler/framework/runtime/framework.go:759\nk8s.io/kubernetes/pkg/scheduler.
(*Scheduler).scheduleOne\n\t/go/pkg/mod/k8s.io/kubernetes@v1.25.16/pkg/scheduler/schedule_one.go:110\nk8s.io/apimachinery/pkg/util/wait.JitterUntilWithContext.func1\n\t/go/pkg/mod/k8s.io/apimachinery@v0.25.16/pkg/util/wait/wait.go:190\nk8s.io/apimachinery/pkg/util/wait.BackoffUntil.func1\n\t/go/pkg/mod/k8s.io/apimachinery@v0.25.16/pkg/util/wait/wait.go:157\nk8s.io/apimachinery/pkg/util/wait.BackoffUntil\n\t/go/pkg/mod/k8s.io/apimachinery@v0.25.16/pkg/util/wait/wait.go:158\nk8s.io/apimachinery/pkg/util/wait.JitterUntil\n\t/go/pkg/mod/k8s.io/apimachinery@v0.25.16/pkg/util/wait/wait.go:135\nk8s.io/apimachinery/pkg/util/wait.JitterUntilWithContext\n\t/go/pkg/mod/k8s.io/apimachinery@v0.25.16/pkg/util/wait/wait.go:190\nk8s.io/apimachinery/pkg/util/wait.UntilWithContext\n\t/go/pkg/mod/k8s.io/apimachinery@v0.25.16/pkg/util/wait/wait.go:101"}

root@iZbp19lce9chqq1glegm26Z:~/serverless/neon/autoscaling# more vm-deploy.yaml
---
apiVersion: vm.neon.tech/v1
kind: VirtualMachine
metadata:
  name: postgres16-disk-test
  annotations:
    # In this example, these bounds aren't necessary. So... here's what they look like :)
    autoscaling.neon.tech/bounds: '{ "min": { "cpu": 0.25, "mem": "1Gi" }, "max": { "cpu": 1.25, "mem": "1Gi" } }'
  labels:
    autoscaling.neon.tech/enabled: "true"
    # Set to "true" to continuously migrate the VM (TESTING ONLY)
    autoscaling.neon.tech/testing-only-always-migrate: "false"
spec:
  schedulerName: autoscale-scheduler
  enableSSH: true
  guest:
    cpus: { min: 0.25, use: 0.25, max: 0.25 }
    memorySlotSize: 1Gi
    memorySlots: { min: 1, use: 1, max: 1 }
    rootDisk:
      image: pg16-disk-test:dev
      size: 1Gi
    ports:
      - port: 5432 # postgres
      - port: 9100 # metrics
      - port: 10301 # monitor

root@iZbp19lce9chqq1glegm26Z:~/serverless/neon/autoscaling# kubectl get neonvm
NAME                   CPUS   MEMORY   POD                          EXTRAIP   STATUS    RESTARTS   AGE
postgres16-disk-test                   postgres16-disk-test-b88qv             Pending              5h10m

root@iZbp19lce9chqq1glegm26Z:~/serverless/neon/autoscaling# kubectl get pod postgres16-disk-test-b88qv -ojson -ojson
...
    "status": {
        "conditions": [
            {
                "lastProbeTime": null,
                "lastTransitionTime": "2024-04-17T02:08:05Z",
                "message": "0/3 nodes are available: 1 node(s) had untolerated taint {node-role.kubernetes.io/control-plane: }, 2 Insufficient neonvm/kvm.",
                "reason": "Unschedulable",
                "status": "False",
                "type": "PodScheduled"
            }
        ],
        "phase": "Pending",
        "qosClass": "Burstable"
    }
}

root@iZbp19lce9chqq1glegm26Z:~/serverless/neon/autoscaling# kubectl get node
NAME                        STATUS   ROLES           AGE   VERSION
neonvm-root-control-plane   Ready    control-plane   23h   v1.25.11
neonvm-root-worker          Ready    <none>          23h   v1.25.11
neonvm-root-worker2         Ready    <none>          23h   v1.25.11

root@iZbp19lce9chqq1glegm26Z:~/serverless/neon/autoscaling# kubectl describe node neonvm-root-worker
Name:               neonvm-root-worker
...
Allocated resources:
  (Total limits may be over 100 percent, i.e., overcommitted.)
  Resource           Requests      Limits
  --------           --------      ------
  cpu                5560m (34%)   18360m (114%)
  memory             3118Mi (10%)  6030Mi (19%)
  ephemeral-storage  0 (0%)        0 (0%)
  hugepages-1Gi      0 (0%)        0 (0%)
  hugepages-2Mi      0 (0%)        0 (0%)
  neonvm/kvm         0             0
  neonvm/vhost-net   0             0
Events:              <none>

How can I make postgres16-disk-test scheduling successful?
I'm a beginner, thank you very much for your help.
In addition, which service of neon can postgres16-disk-test be compared to?  Is there a way to simulate scaling testing?

Running pgbench
root@iZbp19lce9chqq1glegm26Z:~/serverless/neon/autoscaling# scripts/run-bench.sh
If you don't see a command prompt, try pressing enter.
fetch https://dl-cdn.alpinelinux.org/alpine/v3.19/community/x86_64/APKINDEX.tar.gz
(1/8) Installing postgresql-common (1.2-r1)
Executing postgresql-common-1.2-r1.pre-install
(2/8) Installing lz4-libs (1.9.4-r5)
(3/8) Installing libpq (16.2-r0)
(4/8) Installing ncurses-terminfo-base (6.4_p20231125-r0)
(5/8) Installing libncursesw (6.4_p20231125-r0)
(6/8) Installing readline (8.2.1-r2)
(7/8) Installing zstd-libs (1.5.5-r8)
(8/8) Installing postgresql16-client (16.2-r0)
Executing busybox-1.36.1-r15.trigger
Executing postgresql-common-1.2-r1.trigger
* Setting postgresql16 as the default version
OK: 12 MiB in 23 packages
Running pgbench. Query:
   select length(factorial(length(factorial(1223)::text)/2)::text);
pgbench: error: too many command-line arguments (first is "postgres")
pgbench: hint: Try "pgbench --help" for more information.
pod "pgbench-postgres16-disk-test" deleted
pod default/pgbench-postgres16-disk-test terminated (Error)

root@iZbp19lce9chqq1glegm26Z:~# kubectl get pod -w
NAME                         READY   STATUS    RESTARTS   AGE
postgres16-disk-test-b88qv   0/2     Pending   0          14m

pgbench-postgres16-disk-test   0/1     Pending   0          0s
pgbench-postgres16-disk-test   0/1     Pending   0          0s
pgbench-postgres16-disk-test   0/1     ContainerCreating   0          0s
pgbench-postgres16-disk-test   0/1     ContainerCreating   0          1s
pgbench-postgres16-disk-test   1/1     Running             0          16s
pgbench-postgres16-disk-test   0/1     Error               0          18s
pgbench-postgres16-disk-test   0/1     Error               0          20s
pgbench-postgres16-disk-test   0/1     Terminating         0          20s
pgbench-postgres16-disk-test   0/1     Terminating         0          20s

During Running pgbench, there were no neonvm resources, and an error occurred and exited.
root@iZbp19lce9chqq1glegm26Z:~# kubectl get neonvm
NAME                   CPUS   MEMORY   POD                          EXTRAIP   STATUS    RESTARTS   AGE
postgres16-disk-test                   postgres16-disk-test-b88qv             Pending              17m

neonvm-controller error :
{"level":"info","ts":"2024-04-17T07:57:34.045Z","msg":"Adding Finalizer for VirtualMachine","controller":"virtualmachine","controllerGroup":"vm.neon.tech","controllerKind":"VirtualMachine","VirtualMachine":{"name":"postgres16-disk-test","namespace":"default"},"namespace":"default","name":"postgres16-disk-test","reconcileID":"5bccee1b-3cf1-431e-96f7-10782877d6aa"}
{"level":"error","ts":"2024-04-17T07:57:34.059Z","msg":"Failed to update VirtualMachine status after reconcile loop","controller":"virtualmachine","controllerGroup":"vm.neon.tech","controllerKind":"VirtualMachine","VirtualMachine":{"name":"postgres16-disk-test","namespace":"default"},"namespace":"default","name":"postgres16-disk-test","reconcileID":"9bb70b2e-30b8-4e22-8b79-a9fea7f8e50c","virtualmachine":"postgres16-disk-test","error":"Operation cannot be fulfilled on virtualmachines.vm.neon.tech \"postgres16-disk-test\": the object has been modified; please apply your changes to the latest version and try again"}
{"level":"error","ts":"2024-04-17T07:57:34.059Z","msg":"Reconciler error","controller":"virtualmachine","controllerGroup":"vm.neon.tech","controllerKind":"VirtualMachine","VirtualMachine":{"name":"postgres16-disk-test","namespace":"default"},"namespace":"default","name":"postgres16-disk-test","reconcileID":"9bb70b2e-30b8-4e22-8b79-a9fea7f8e50c","error":"Operation cannot be fulfilled on virtualmachines.vm.neon.tech \"postgres16-disk-test\": the object has been modified; please apply your changes to the latest version and try again"}
{"level":"info","ts":"2024-04-17T07:57:34.059Z","msg":"Creating a new SSH Secret","controller":"virtualmachine","controllerGroup":"vm.neon.tech","controllerKind":"VirtualMachine","VirtualMachine":{"name":"postgres16-disk-test","namespace":"default"},"namespace":"default","name":"postgres16-disk-test","reconcileID":"ff6962c5-068c-48ef-b080-ae5c9b3ec155","Secret.Namespace":"default","Secret.Name":"ssh-neonvm-postgres16-disk-test"}
{"level":"info","ts":"2024-04-17T07:57:34.061Z","msg":"SSH Secret was created","controller":"virtualmachine","controllerGroup":"vm.neon.tech","controllerKind":"VirtualMachine","VirtualMachine":{"name":"postgres16-disk-test","namespace":"default"},"namespace":"default","name":"postgres16-disk-test","reconcileID":"ff6962c5-068c-48ef-b080-ae5c9b3ec155","Secret.Namespace":"default","Secret.Name":"ssh-neonvm-postgres16-disk-test"}
{"level":"info","ts":"2024-04-17T07:57:34.061Z","msg":"Creating a new Pod","controller":"virtualmachine","controllerGroup":"vm.neon.tech","controllerKind":"VirtualMachine","VirtualMachine":{"name":"postgres16-disk-test","namespace":"default"},"namespace":"default","name":"postgres16-disk-test","reconcileID":"ff6962c5-068c-48ef-b080-ae5c9b3ec155","Pod.Namespace":"default","Pod.Name":"postgres16-disk-test-cgf8w"}
{"level":"info","ts":"2024-04-17T07:57:34.066Z","msg":"Runner Pod was created","controller":"virtualmachine","controllerGroup":"vm.neon.tech","controllerKind":"VirtualMachine","VirtualMachine":{"name":"postgres16-disk-test","namespace":"default"},"namespace":"default","name":"postgres16-disk-test","reconcileID":"ff6962c5-068c-48ef-b080-ae5c9b3ec155","Pod.Namespace":"default","Pod.Name":"postgres16-disk-test-cgf8w"}

Hi @william-lbn!
The important part is 2 Insufficient neonvm/kvm
I think you probably don't have /dev/kvm on the node. Try enabling kvm on the node where you are running this or setting enableAcceleration: false in the vm-deploy.yaml if you are fine running without hardware virtualization.

In addition, which service of neon can postgres16-disk-test be compared to?

Our autoscaling runs computes, which are modified postgreses able to operate on top of the neon storage.
postgres16-disk-test is a vanilla postgres though, so that we can test it without setting up neon storage. You can check how it is constructed in the vm-builder spec

Is there a way to simulate scaling testing?

You can look at our autoscaling test and do the same steps by hand outside of kuttl.

What is the latest version？

neonvm-controller operates on VirtualMachine CRD object. So, in this context, the version is the CRD object version. Small rate of transient reconciling failures is normal, neonvm-controller should auto-retry the reconcilliation.

Hi @Omrigan
Thank you very much for your reply.

Is the construction method of postgres image the same as postgres16-disk-test? Can the image built by compute in neon be used directly?

There are relatively few neon documents, especially for building a complete set of documents on k8s (neon+autoscaling). I haven't deployed a complete environment yet, and without a deep understanding, I'm afraid it will be difficult to make very valuable suggestions. But I'm familiar with serverless faas.
Neon has announced that it can scale to zero, but the goal of autoscaling is to dynamically change the amount of CPU and memory of a running postgres instance without interrupting the TCP connection with postgres. Is this contradictory to scaling to zero?
compute (postgres) is a stateless service, so it scales to zero and only connects and disconnects to the database at startup and end (first access requested). Did neon take special circumstances into consideration here?

The autoscaling environment has been deployed, and neon can be quickly deployed through docker compose. I would like to ask, can neon and autoscaling be combined to see the entire scaling process? I am very interested in the field of database scaling, and think it is a difficult part of the resource optimization and scaling process, and I very much hope to participate in this project.
Finally thank you again for your help.

Hi @Omrigan
Thank you very much for your reply.

Is the construction method of postgres image the same as postgres16-disk-test? Can the image built by compute in neon be used directly?

The main compute image is constructed in the same way as postgres16-disk-test. Here is the vm-builder spec: https://github.com/neondatabase/neon/blob/0353a72a00887173f802ba044d169a4c278ea8f8/vm-image-spec.yaml#L4

There are relatively few neon documents, especially for building a complete set of documents on k8s (neon+autoscaling). I haven't deployed a complete environment yet, and without a deep understanding, I'm afraid it will be difficult to make very valuable suggestions. But I'm familiar with serverless faas.
Neon has announced that it can scale to zero, but the goal of autoscaling is to dynamically change the amount of CPU and memory of a running postgres instance without interrupting the TCP connection with postgres. Is this contradictory to scaling to zero?

Yes, scaling while the VM is running and scaling-to-zero are different things. In the current "autoscaling" repo we don't handle scale-to-zero, it is handled external by control plane.

compute (postgres) is a stateless service, so it scales to zero and only connects and disconnects to the database at startup and end (first access requested). Did neon take special circumstances into consideration here?

What kind of special circumstances are you asking about?

The autoscaling environment has been deployed, and neon can be quickly deployed through docker compose. I would like to ask, can neon and autoscaling be combined to see the entire scaling process? I am very interested in the field of database scaling, and think it is a difficult part of the resource optimization and scaling process, and I very much hope to participate in this project.

They sure can be combined, that's how we run it in production. Unfortunately, the full scale integration depends on control plane presence, which is not open source at the moment. So you'd have to write your own control plane to integrate everything.

Finally thank you again for your help.

You're welcome!

@william-lbn Will close this, feel free to reopen if more questions come up.


tau failure and service reject send failure fix

After TAU, if we get S1 release, we fail saying the UE ctxt and procedure ctxt enb_s1ap_ue_idx don't match. This is because we don't store updated enb_s1ap_ue_idx in ue_ctxt in TAU. this cause s1_release procedure to fail and thus cause local deletion of UE ctxt at MME.

Added fix to store enb_s1ap_id in ue ctxt during tau procedure.

If Service Request MAC check fails, we send Service reject but the message fails to be sent because fo enb_fd being wrong.

Added fix to store enb_fd received during service request in the ue ctxt.

retest this please

retest this please

retest this please


:wrench: Added spring-configuration-metadata.json for easy configuration

I'm really confused what problem you faced, before opening this PR. Can you explain please?

project：https://github.com/xuxiaowei-cloud/xuxiaowei-cloud-kubernetes
branch：xuxiaowei
In the "bootstrap. yml" file, you cannot quickly locate it in the source code of the "discovery-server-url" configuration.
But other configurations can.

I see. Once you know the code-base, this is not really that needed, imho.
I don't know what to say about this :) Of course, I'll need Ryan's wisdom here.


StoreKeyConverter returned map can now have null values...

...tools changed to accept these.  Squash commit version of https://github.com/linkedin/ambry/pull/963/

Codecov Report

Merging #975 into master will decrease coverage by 0.03%.
The diff coverage is 0%.

@@             Coverage Diff              @@
##             master     #975      +/-   ##
============================================
- Coverage     67.74%   67.71%   -0.04%
- Complexity     4495     4500       +5
============================================
  Files           371      371
  Lines         29093    29118      +25
  Branches       3685     3688       +3
============================================
+ Hits          19708    19716       +8
- Misses         8360     8377      +17
  Partials       1025     1025

Impacted Files
Coverage Δ
Complexity Δ

...com.github.ambry/store/ConsistencyCheckerTool.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

.../main/java/com.github.ambry/store/StoreCopier.java
57.57% <0%> (-3.07%)
9 <0> (ø)

...ain/java/com.github.ambry/store/DumpIndexTool.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

...in/java/com.github.ambry.clustermap/Partition.java
84.81% <0%> (-3.8%)
25% <0%> (-1%)

...java/com.github.ambry.store/CompactionManager.java
86.75% <0%> (-2.65%)
19% <0%> (ø)

...b.ambry.network/BlockingChannelConnectionPool.java
63.47% <0%> (-2.18%)
8% <0%> (ø)

...ain/java/com.github.ambry.router/PutOperation.java
90.01% <0%> (+0.39%)
82% <0%> (ø)
:arrow_down:

...in/java/com.github.ambry.network/SocketServer.java
83.19% <0%> (+0.4%)
13% <0%> (ø)
:arrow_down:

...src/main/java/com.github.ambry.commons/BlobId.java
84.53% <0%> (+0.51%)
54% <0%> (+1%)
:arrow_up:

...ava/com.github.ambry.store/BlobStoreCompactor.java
94.23% <0%> (+1.02%)
130% <0%> (+3%)
:arrow_up:

... and 2 more

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 11b037f...b2ff0f8. Read the comment docs.


Support for custom rendered toolbar?

Thanks for the great work with roosterjs and roosterjs-react!
I was wondering if you're planning on supporting custom-rendered toolbars (or if there is a way to do so currently).
For example, I want to create a toolbar that looks like this:

I would like to create the toolbar/ribbon myself using Office UI Fabric to get the exact look that I want, and attach the button events perform the actions when pressed/highlight right buttons when a format is selected.
In other words, I need to do more than `buttonRenderer' because I want to change the control that is rendered, not just the icon.
I tried to derive from RoosterCommandBarPlugin, but the FocusOutShell seems to expect a RoosterCommandBarPlugin class, not an interface.
If you could point me in the right direction, I would greatly appreciate it.

@hugoabernier have you tried overriding the buttons?
https://github.com/Microsoft/roosterjs-react/blob/f7fa48e7de9a66a3d7dd7a8191cff8adb208ff86/packages/roosterjs-react-command-bar/lib/schema/RoosterCommandBarSchema.ts#L17
Here it is used in the sample code: https://github.com/Microsoft/roosterjs-react/blob/f7fa48e7de9a66a3d7dd7a8191cff8adb208ff86/sample/script/FocusOutShellSample.tsx#L181
RE creating your own command bar, you don't need to use FocusOutShell to hold the editor and command bar, unless you want to keep the feature where the command bar is hidden unless either the editor or its command bar is focused. If you do use FocusOutShell, just implement your command to use the given calloutClassName value if you have a Callout (such as that heading selection menu, which is inside a Callout.

@adrian thanks I'll try what you suggested. I do want to hide the toolbar when the editor or command bar is not focused, and I'm not sure I understand what you mean with "implement your command to use the given calloutClassName value", but I'll dig a bit deeper. Thanks!

They way FocusOutShell works is that if you're focused on elements inside it, the editor and toolbars are "active". When you create a toolbar, you might have a context menu or even a dialog, those live outside of FocusOutShell. If you end up creating your own toolbar, make sure your context menu, dialog, etc. use the calloutClassName given.

This repo is archived now. For react wrapper of roosterjs, please refer to roosterjs-react package in roosterjs repo. Thanks.


Use docker version manager

We currently need to match versions with the base OS to avoid a conflict, use docker version manager to dynamically get the correct version of the client binary.

Commit 7915eae addresses this issue. The new container with several improvements will be available once the code has been merged


[Bug] aws-crt-swift package modulemap not found

What happened?
I am running this pod file:
target 'TestApp' do
 platform :ios, '13.0'

 spm_pkg "aws-crt-swift",
  :git => "https://github.com/awslabs/aws-crt-swift.git",
  :branch => "0.30.0",
  :products => [
    "AwsCommonRuntimeKit"
     ]
end

Pod install command is running fine. But when building the actual project, I am getting this error:
/Users/zeeshansheikh/Documents/GitHub/AmazonLocationiOSAuthTest/AmazonLocationiOSAuthTestApp/Pods/Target Support Files/Pods-AmazonLocationiOSAuthTestApp/Pods-AmazonLocationiOSAuthTestApp-dummy.m module map file '/Users/zeeshansheikh/Library/Developer/Xcode/DerivedData/AmazonLocationiOSAuthTestApp-djdgfoosokhnpmgxmjfddepnxwvz/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator/AwsCPlatformConfig.modulemap' not found

It is not generating all the modulemap files. Specifically the moduel inside aws-common-runtime folder of the SPM package. This is happening with this spm package only. Am I missing something here?
CocoaPods environment
Stack
   CocoaPods : 1.15.2
        Ruby : ruby 3.3.3 (2024-06-12 revision f1c7b6f435) [arm64-darwin23]
    RubyGems : 3.5.14
        Host : macOS 14.5 (23F79)
       Xcode : 15.4 (15F31d)
         Git : git version 2.45.2
Ruby lib dir : /opt/homebrew/Cellar/ruby/3.3.3/lib
Repositories : trunk - CDN - https://cdn.cocoapods.org/

Installation Source
Executable Path: /opt/homebrew/lib/ruby/gems/3.3.0/bin/pod

Plugins
cocoapods-deintegrate : 1.0.5
cocoapods-plugins     : 1.0.0
cocoapods-pod-linkage : 0.0.1
cocoapods-search      : 1.0.1
cocoapods-spm         : 0.1.4
cocoapods-trunk       : 1.6.0
cocoapods-try         : 1.2.0

Podfile
target 'AmazonLocationiOSAuthTestApp' do
 platform :ios, '13.0'

 spm_pkg "aws-crt-swift",
  :git => "https://github.com/awslabs/aws-crt-swift.git",
  :branch => "0.30.0",
  :products => [
    "AwsCommonRuntimeKit"
     ]
end

Anything else?
No response

Hi @trinhngocthuyen any advice on this?

Hi there, sorry for the very late response.
I took a look at this issue, and it turned out to be an issue in headers/modulemap detection.
I've made the fix in #109.
Thank you!

Thank you for the fix

Sorry for commenting on a closed issue but I think it's not enough to file a new one. I also use aws-crt-swift in my project, the defining line of the aws-crt-swift just like your Podfile, when I run the pod install, everything works fine but I come back to my Xcode and there is an error said that aws-crt-swift cannot resolve because the package is not found at the git url. After I manually resetting spm the aws-crt-swift is pulled without any issue. How can I fix this? @trinhngocthuyen @zeeshanmakeen

@Linkadi98 Hey there. It would be best if we had more info like:

Any logs or screenshots of the issue
Does it happen all the time, or intermittently?
...

I get this error all the time when I run pod install

Also, I get another error when trying to compile the flutter app ios with aws-crt-swift dependency from your plugin

This is so weird because I build the flutter app never work, but when I switch to build natively (by Xcode) everything works smoothly

this is my Podfile
`ruby
Uncomment this line to define a global platform for your project
platform :ios, '12.0'
CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
project 'Runner', {
'Debug' => :debug,
'Profile' => :release,
'Release' => :release,
}
def flutter_root
generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), FILE)
unless File.exist?(generated_xcode_build_settings_path)
raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first"
end
File.foreach(generated_xcode_build_settings_path) do |line|
matches = line.match(/FLUTTER_ROOT=(.*)/)
return matches[1].strip if matches
end
raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"
end
require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)
plugin "cocoapods-spm"
flutter_ios_podfile_setup
target 'Runner' do
use_frameworks!
use_modular_headers!
spm_pkg "AmplifyUILiveness",
:url => "https://github.com/aws-amplify/amplify-ui-swift-liveness.git",
:branch => "main",
:products => ["FaceLiveness"]
spm_pkg "aws-crt-swift",
:git => "https://github.com/awslabs/aws-crt-swift.git",
:branch => "main",
:products => ["AwsCommonRuntimeKit"]
flutter_install_all_ios_pods File.dirname(File.realpath(FILE))
target 'RunnerTests' do
inherit! :search_paths
end
end
post_install do |installer|
installer.pods_project.targets.each do |target|
flutter_additional_ios_build_settings(target)
target.build_configurations.each do |config|
  config.build_settings['HEADER_SEARCH_PATHS'] ||= ['$(inherited)']
  config.build_settings['HEADER_SEARCH_PATHS'] << "$(SOURCE_PACKAGE_CHECKOUT_DIR)/aws-crt-swift/aws-c-auth/include"
end

end
end
`

@trinhngocthuyen any idea on this? It's very hard to use spm with cocoapods but the tool has done alot of works. Maybe the issue comes from flutter ios build tool but I'm not sure about this.

@Linkadi98 Let's track this in a separate issue. Shall we?

@trinhngocthuyen I created a new track issue #122


translate hmac (sha256) to bedrock2 (functest & unittest pass)

This PR translates the silicon creator hmac.c into bedrock2, and adds a script that pretty-prints the bedrock2 code to C, inserts it in opentitan, and runs the functional as well as unit tests. It requires a recent opentitan checkout (the opentitan submodule of silveroak is too old). I also added a script that runs the uart functest & unittest. Previously, only the uart functest could be run. The trick to also get the unittest to run is to not pretty-print abs_mmio_write32/abs_mmio_read32 but use the existing opentitan versions of them, which also makes more sense from a verification point of view, because the only thing these functions do is one MMIO, and MMIO is modeled differently in bedrock2 and C: in bedrock2, MMIOs are external function calls, whereas in C, MMIO actually looks like accessing the memory.
In order to run the unit tests and functional tests, make a fresh clone of the opentitan repo, cd into it, and from there, invoke /path/to/silveroak/investigations/bedrock2/run_hmac_in_opentitan.sh, after following the instructions at the top of that script.
@dayeol could you please review the files AbsMMIO.v, MMIOLabels.v, UartToC.v, run_uart_in_opentitan.sh and tell me if you're ok with them because they concern the UART part?

Also, if I understand correctly this will fix https://github.com/project-oak/silveroak/issues/816.

LGTM! Thanks for writing uart script!


Skyline/SkylineNightly - added retry logic to re-download data sets o…

…n test failure, and retry the test if the file is shown to be different from what was already on disk. This means that the nightly tests no longer have to delete+download existing tutorial data sets, which should improve throughput as well as making us more tolerant of transitory test data server failures.

I tested this manually by:
deleting the local zip file for MethodEditTutorial
damaging the local zip file for MethodEditTutorial
dmaging the local zip file for MethodEditTutorial and simulating a download failure for its replacement

OK, download retry behavior now happens only when requested by commandline
arg to TestRunner. SkylineNightly uses this new commandline argument, which
is off by default.
On Wed, Dec 11, 2019 at 12:55 PM Brendan MacLean<EMAIL_ADDRESS>wrote:

@brendanx67 requested changes on this pull request.
The download logic should only happen during nightly tests. Otherwise, we
should just fail as usual. Downloading takes time, especially when off-site
(in a hotel, or on a plane). It is far more common during actual
development that I just broke something and don't need a download to tell
me the ZIP file hasn't changed.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ProteoWizard/pwiz/pull/790?email_source=notifications&email_token=AAJFE6L3XSN4HLBXWLCJPCLQYFHVVA5CNFSM4JZUYLFKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCO4CWNI#pullrequestreview-330836789,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJFE6K237EF4KLZDEYEYM3QYFHVVANCNFSM4JZUYLFA
.


Pretty much everything changed

Change list:

Organized .java files into folders for model, controller, and activity classes. Renamed many files to be better named. This is where the bulk of the changes comes from.

DatabaseController refactored to use Listening List. Class is much smaller now. Data is stored differently in FireStore now, as QRCode has been updated. Every activity which uses DatabaseController has been updated with the new methods, so pretty much every activity has changed

QRCode model class has changed. It now directly stores it's comments, and it's locations, along with it's scanners, in a list.

Removed MyStatsActivity. The stuff in this activity has been placed in ViewProfileActivity. More stuff in one place.

Updated UI of HubActivity. Now has a scollable list of photos and a scrollable list of buttons to direct to the other activities. Still need to store photos to database and fetch them so the hub doesn't use the temporary image. Ideally this activity should fetch the 5~ish most recently taken photos from the database and display them to the user.

With so many files changed I wouldn't recommend going through each of the changed files. Most of the changes are just a result of organizing the files into folders and renaming them anyways.

Oops this pull request is going into main, not staging. Reopening a new one.


Optimize Tests

Integration tests are running VERY slow. Currently about 154 tests with 409 assertions take over 2 minutes and 14 seconds to run.
If you are interested in helping out, please submit a PR with suggested improvements.

Possible solution:

Migrate and seed database initially, prior to setUp() method, into a base SQLite file.
In the setup method delete the testing SQLite file, then copy the base SQLite file as a fresh testing SQLite file.

This should reduce about 0.8 to 0.9 second per test method. Eliminating about 130 theoretical seconds from 134 total runtime should do the trick.

Will have solution implemented soon, work is in progress. Got total test execution time down to 5 seconds.

Done!


Improve MMM contribution plots

Address https://github.com/pymc-labs/pymc-marketing/issues/259
Here we are more precise about the contribution plots and distinguish between direct and global contributions. The MMM notebook has been updated.

:books: Documentation preview :books:: https://pymc-marketing--291.org.readthedocs.build/en/291/

LGTM, there are some warnings from arviz on the notebook, can those be avoided?

I think I could just hide all warnings ...

LGTM, there are some warnings from arviz on the notebook, can those be avoided?

I think I could just hide all warnings ...

It seems the warning would be avoided if you don't extract and pass (chains, draws) ?
https://python.arviz.org/en/stable/_modules/arviz/stats/stats.html#hdi

Thanks, @ricardoV94 ! I agree with you regarding the docstrings! I will probably rebase / create a new one after merging https://github.com/pymc-labs/pymc-marketing/pull/295 as this one is easier to adapt.

I will close this one in favor of a new PR which includes the model builder PR.


Testing Hydra 64HD , 32HD and new Prime lights

AI have released an update to their range of lights. Because of how their API works, I'm hopeful these will just work but I need to test them, to validate.
If anyone has one and is willing to help, that would be great!

I've had one report that the 32HD lights now only have bluetooth as an option, so this library won't work with them, without some major changes. Unfortunate.


Feature/cplp 1881 api apps provided cleanup

cleanup of stuff I'd had commented on in PR https://github.com/catenax-ng/tx-portal-backend/pull/29, if I'd done the review

incorrect target repo


pull request for e2e test at 02/04/2017 11:45:08

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Can't figure out how to make style/url work

I have the following loader config
{ test: /\.css$/, loader: 'style/url!file!css' }

Then in my entry file I do
import './styles/main.css';

My main.css file looks like this
  h1 {
    font-family: Helvetica;
  }

I do get the proper tag injected on my html which looks like
   <link rel="stylesheet" type="text/css" href="http://localhost:3000/builde6aa93ab802d489a90b8a2d0cd65ce39.css">

However if I go to that url the contents are not what I would expect. I would expect a plain CSS file and instead I got a javascript code to push the styles
exports = module.exports = require("./../../node_modules/css-loader/lib/css-base.js")();
// imports

// module
exports.push([module.id, "h1 {\n  font-family: Helvetica;\n}\n", ""]);

// exports

If I don't use /url the CSS gets inlined on my HTML just fine, but I would prefer to have it linked instead
What am I doing/getting wrong?

@holden-caulfield The style/url loader does not work with css-loader as you have in { test: /\.css$/, loader: 'style/url!file!css' }. You could replace the css-loader with stylus-loader ({ test: /\.css$/, loader: 'style/url!file!stylus' }) and it would work. This is because the css-loader outputs javascript. The stylus-loader outputs css.
So your configuration ({ test: /\.css$/, loader: 'style/url!file!css' }) parses the css into javascript (normally allowing it to parse url and @import to include those files) outputs that js to a file (instead of letting webpack parse the js and identifying requires to files to include) and returns a small javascript returning the path to the output file for style/url to add a link to in the document <head>.
Using style/url you can build the css with any css preprocessor loader but you won't be able to refer to files from url calls (normally handled by the css-loader). Either a way exists or one could be done, to do this with webpack, but I don't know it personally.
Webpack's gitter should be a good place to look for help too. https://gitter.im/webpack/webpack

@holden-caulfield I haven't used it but looks like https://github.com/webpack/extract-text-webpack-plugin may do thing I didn't know how to do in the last comment.

@mzgoddard Thanks a lot man! That was exactly it, I was actually planning on using stylus so it was a win-win for me.
I didn't realize how the css loader works and actually it seems I don't need it on my pipeline
Thanks again, you rock!


Release 1.2.0

Add capability to apply developer discount in purchase flow

Add capability to apply developer discount in the purchase flow


[zh]Update content/zh/docs/concepts/workloads/controllers/job.md

please squash commits into one

/approve

related issues: #33476 concepts-5

/lgtm


[Feature Request] Arrow key shortcut for cycling through image feed

Would it be possible to add arrow key shortcut to cycle left and right through image feed images? It's pretty standard for this type of image galleries and I think it would be useful small QOL add. Thanks

Thanks @DrJKL for implementing this
https://github.com/pythongosssss/ComfyUI-Custom-Scripts/pull/112


Change Env HEDERA_NETWORK to Hiero

The examples assume an environment variable that is named HEDERA_NETWORK. We should change that to HIERO_NETWORK.

Currently the network is still technically with Hedera nodes in the addressbook definitions. Should be worked on when hosted nodes shift to Hiero.


Load responses as part of each Language

Same as commands, responses should be bound to each Language. This way, we remove the Responses and command/response is more uniform.

done


"panic: can't find endpoint region" with Minio

I try to use this library with Minio and I get panic: can't find endpoint region
My code:
	s3Client := s3gof3r.New(s.Config.Endpoint, s3gof3r.Keys{
		AccessKey: "my-access-key",
		SecretKey: "my-secret-key",
	})
	bucket := s3Client.Bucket("test")
	w, err := bucket.PutWriter(s3Path, nil, &s3gof3r.Config{
		Client: s3gof3r.ClientWithTimeout(5 * time.Second),
		Concurrency: 10,
		PartSize:    5 * 1024 * 1024,
		NTry:        3,
		Scheme:      "http",
		PathStyle:   "minio:9000",
	})

How can I set region for my custom endpoint?

Any news on this ?
I am having the same issue
echo test | ./gof3r put -k obj -b dump --endpoint=xxxxx:9000
panic: can't find endpoint region
goroutine 1 [running]:
github.com/rlmcpherson/s3gof3r.(*S3).Region(0xc82004e400, 0x0, 0x0)
/Users/rm/src/github.com/rlmcpherson/s3gof3r/s3gof3r.go:39 +0x1ce
github.com/rlmcpherson/s3gof3r.(*Bucket).Sign(0xc820010920, 0xc8200ce000)
/Users/rm/src/github.com/rlmcpherson/s3gof3r/sign.go:56 +0x164
github.com/rlmcpherson/s3gof3r.(*putter).retryRequest(0xc820001080, 0x7fca00, 0x4, 0xc820013d70, 0x26, 0x0, 0x0, 0xc820013d10, 0x0, 0x0, ...)
/Users/rm/src/github.com/rlmcpherson/s3gof3r/putter.go:382 +0x37e
github.com/rlmcpherson/s3gof3r.newPutter(0x7fe8d8, 0x5, 0x0, 0x0, 0x0, 0xc820010900, 0x12, 0xc82000ff20, 0x4, 0x0, ...)
/Users/rm/src/github.com/rlmcpherson/s3gof3r/putter.go:88 +0x349
github.com/rlmcpherson/s3gof3r.(*Bucket).PutWriter(0xc82003d9e0, 0x7ffef5ff9d67, 0x3, 0xc820013d10, 0xc82003da90, 0x0, 0x0, 0x0, 0x0)
/Users/rm/src/github.com/rlmcpherson/s3gof3r/s3gof3r.go:135 +0x126
main.(*putOpts).Execute(0x9d5a00, 0xc820018240, 0x0, 0x6, 0x7f4c660b2590, 0xc820013d40)
/Users/rm/src/github.com/rlmcpherson/s3gof3r/gof3r/put.go:53 +0x65f
github.com/jessevdk/go-flags.(*Parser).ParseArgs(0xc820014500, 0xc82000a1d0, 0x6, 0x6, 0x0, 0x0, 0x0, 0x0, 0x0)
/Users/rm/src/github.com/jessevdk/go-flags/parser.go:301 +0xa16
github.com/jessevdk/go-flags.(*Parser).Parse(0xc820014500, 0x0, 0x0, 0x0, 0x0, 0x0)
/Users/rm/src/github.com/jessevdk/go-flags/parser.go:175 +0x9b
main.main()
/Users/rm/src/github.com/rlmcpherson/s3gof3r/gof3r/main.go:61 +0x191


Allow override of VCTargetsPath property.

@olgaark look right?
Fixes #1384

Leave a comment

VCTargetsPath looks good, but #1384 is also about MSBuildProgramFiles32 not being set and thus VCTargetsPath14 and some other properties not defined correctly.
Is it possible to define MSBuildProgramFiles32 there as well somehow?

@olgaark You're right. It was used below but in the fallback search paths is evaluated when that property exists. I added an intrinsic function and use that rather than the property.
Now does it look ok?

Looks great. Thanks!


API - Add Signature Queries to V2

Summary
Add the Golang V3 Signature Queries to V2.
Background
Add the Golang V3 signatures to the V2 swagger specification and ACS CLI configuration.
Tasks

[x] Review the v1 Swagger specification related to Signatures (see references below)
[x] Add V2 Swagger Specifications - reuse data models
[x] Add ACS CLI definitions for endpoints

Acceptance Criteria
The "done" criteria when this feature or problem is resolved. Such as:

Unit Tests added and running in CI
Functional Tests updated to cover feature, if applicable
Demonstrate the set of capabilities to the product team while the code is running in the STAGING environment.

References

Signature API by ID
Signature API by ID again
Signature API by Project ID
Siganture API by Project and Company
Signature API by Company
Signature API by User
Signature API by Employee
Signature GH Org WL

Pull Request: https://github.com/communitybridge/easycla/pull/831

Testing In Progress
Test Plan Link https://confluence.linuxfoundation.org/display/PROD/CLA+Singatures+V2

Queries are completed for v2. Closing ticket.


Incorrect Arm Templates for Azure Defender Integrated Scanner

After some tests with customers, noticed that resource types for Integrated Vulnerability Scanners for Azure Defender are incorrect.
The object provisioned from Azure Defender recommendation is from type Microsoft.HybridCompute/machines/providers/serverVulnerabilityAssessments

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

ID: 19f0c79d-b4b8-980b-be33-016254370b6f
Version Independent ID: 14141ed3-daad-d85f-0d2c-8d7e68373ca4
Content: Enable VM extension using Azure Resource Manager template - Azure Arc
Content Source: articles/azure-arc/servers/manage-vm-extensions-template.md
Service: azure-arc
Sub-service: azure-arc-servers
GitHub Login: @MGoedtel
Microsoft Alias: magoedte

Thanks for the feedback and bringing this to our notice . At this time we are reviewing the feedback and will update the document as appropriate .

@davi-cruz - Thanks for bringing this to our attention.  I'll create a work item for this and see about updating the article before the week is over.  #please-close


xenvm: Add support for using GICv3

Currently xenvm board/soc is configured to use GICv2 and there
is no clean way(without modifying the source code) to alter this
configuration to use GICv3.
Due to the increasing number of users wishing to use GICv3, add
a new configuration called xenvm_gicv3 that enables GICv3.
Add a config XENVM_USE_GIC_V3 that, if set, will cause
SOC_XENVM to select GICv3 instead of GICv2.
Update documentation accordingly.
Signed-off-by: Michal Orzel<EMAIL_ADDRESS>

When pushing the new revision can you also fix these warnings?
node '/hypervisor@38000000' compatible 'xen,xen-4.15' has unknown vendor prefix 'xen'
node '/hypervisor@38000000' compatible 'xen,xen' has unknown vendor prefix 'xen'
node '/hvc' compatible 'xen,uart_hvc' has unknown vendor prefix 'xen'
...
Warning (ranges_format): /soc:ranges: empty "ranges" property but its #address-cells (1) differs from / (2)
Warning (ranges_format): /soc:ranges: empty "ranges" property but its #size-cells (1) differs from / (2)

When pushing the new revision can you also fix these warnings?
node '/hypervisor@38000000' compatible 'xen,xen-4.15' has unknown vendor prefix 'xen'
node '/hypervisor@38000000' compatible 'xen,xen' has unknown vendor prefix 'xen'
node '/hvc' compatible 'xen,uart_hvc' has unknown vendor prefix 'xen'
...
Warning (ranges_format): /soc:ranges: empty "ranges" property but its #address-cells (1) differs from / (2)
Warning (ranges_format): /soc:ranges: empty "ranges" property but its #size-cells (1) differs from / (2)

The last two warnings I can fix by removing the following line from xenvm.dts as it introduces empty ranges property:
#include <arm64/armv8-a.dtsi>
xenvm is not like any other board becuase its device tree is only to be used by Zephyr. It is not used when running Zephyr as a Xen guest. That is why we do not need soc node at all. This is what I can do to fix these warnings.
However when it comes to the first three warnings, things are more complicated. The only way to suppress them would be to add a new vendor "xen". This is not done in any of the projects including Linux which is used as a reference for Zephyr (FWIK Zephyr shares the same vendor list as Linux). Also such change would go out of the frame for this change.

However when it comes to the first three warnings, things are more complicated. The only way to suppress them would be to add a new vendor "xen".

Indeed. Add that to dts/bindings/vendor-prefixes.txt

However when it comes to the first three warnings, things are more complicated. The only way to suppress them would be to add a new vendor "xen".

Indeed. Add that to dts/bindings/vendor-prefixes.txt

You think that such change shall be done in this patch?

You think that such change shall be done in this patch?

It's unrelated but it's fine to have that in a different commit in this PR.

Ok, so I will update this PR soon and all the changes related to suppressing the dtc warnings will be pushed in a separate commit.

Indeed. Add that to dts/bindings/vendor-prefixes.txt

IMO Linux seems to be in the wrong here. They should probably have added xen to the list of compatibles here:
https://github.com/torvalds/linux/blob/917bbdb107f8767cb78f24e7d6725a2f93b9effe/Documentation/devicetree/bindings/vendor-prefixes.yaml#L17
I don't know why that didn't get done. But IMO we should solve this in edtlib like this:
diff --git a/scripts/dts/python-devicetree/src/devicetree/edtlib.py b/scripts/dts/python-devicetree/src/devicetree/edtlib.py
index 8fa3679278..579b14e3b1 100644
--- a/scripts/dts/python-devicetree/src/devicetree/edtlib.py
+++ b/scripts/dts/python-devicetree/src/devicetree/edtlib.py
@@ -2984,13 +2984,18 @@ _DEFAULT_PROP_SPECS = {
     for name in _DEFAULT_PROP_TYPES
 }

-# A set of vendor prefixes which are grandfathered in by Linux,
-# and therefore by us as well.
 _VENDOR_PREFIX_ALLOWED = set([
+    # A set of vendor prefixes which are grandfathered in by Linux,
+    # and therefore by us as well.
     "at25", "bm", "devbus", "dmacap", "dsa",
     "exynos", "fsia", "fsib", "gpio-fan", "gpio-key", "gpio", "gpmc",
     "hdmi", "i2c-gpio", "keypad", "m25p", "max8952", "max8997",
     "max8998", "mpmc", "pinctrl-single", "#pinctrl-single", "PowerPC",
     "pl022", "pxa-mmc", "rcar_sound", "rotary-encoder", "s5m8767",
     "sdhci", "simple-audio-card", "st-plgpio", "st-spics", "ts",
+
+    # Additional prefixes that are not vendors, but followed the pattern,
+    # and are grandfathered in by Zephyr. Do not extend this list without
+    # asking the Zephyr DT maintainers first.
+    "xen",
 ])

Any ideas?

If no one knows what's going on with xen as a vendor prefix in Linux, I will ask on the devicetree mailing list.

I was about to update this PR but I can see that device tree subject is still under discussion.
IMO this needs some more clarification so I would like to update only this commit without adding a change to fix the dt warnings for now. All in all this is not what this PR is about. Do you agree?

Do you agree?

Yes, go ahead.

Apparently XENVM_USE_GIC_V3 cannot be define in a Kconfig.defconfig as it triggers a failure in compliance check.
It's weird because XEN_INITIAL_DOMAIN is define in the same way and has been merged.
Anyway, I will have to create a Kconfig file under xenvm/ to store XENVM_USE_GIC_V3

Can we get another reviewer to approve this change?


Build fails with missing artifact registry-metadata:jar:3.69-SNAPSHOT

I'm trying to build the latest master (7a0a277e0ddd21dc2a4bdb4244c3fa68ce769d83) but it fails with the error below. Maven version 3.8.4.
% mvn -U -DskipTests
[INFO] Scanning for projects...
[INFO]
[INFO] ----------------------------< org.gbif:ipt >----------------------------
[INFO] Building IPT 2.5.2-SNAPSHOT
[INFO] --------------------------------[ war ]---------------------------------
[INFO]
[INFO] >>> jetty-maven-plugin:9.4.7.v20170914:run (default-cli) > test-compile @ ipt >>>
Downloading from gbif-all: https://repository.gbif.org/content/groups/gbif/org/gbif/registry/registry-metadata/3.69-SNAPSHOT/maven-metadata.xml
Downloading from gbif-thirdparty: https://repository.gbif.org/content/repositories/thirdparty/org/gbif/registry/registry-metadata/3.69-SNAPSHOT/maven-metadata.xml
Downloading from gbif-all: https://repository.gbif.org/content/groups/gbif/org/gbif/registry/registry-metadata/3.69-SNAPSHOT/registry-metadata-3.69-SNAPSHOT.pom
Downloading from gbif-thirdparty: https://repository.gbif.org/content/repositories/thirdparty/org/gbif/registry/registry-metadata/3.69-SNAPSHOT/registry-metadata-3.69-SNAPSHOT.pom
[WARNING] The POM for org.gbif.registry:registry-metadata:jar:3.69-SNAPSHOT is missing, no dependency information available
[WARNING] The artifact bouncycastle:bctsp-jdk14:jar:138 has been relocated to org.bouncycastle:bctsp-jdk14:jar:1.38
Downloading from gbif-all: https://repository.gbif.org/content/groups/gbif/org/gbif/registry/registry-metadata/3.69-SNAPSHOT/registry-metadata-3.69-SNAPSHOT.jar
Downloading from gbif-thirdparty: https://repository.gbif.org/content/repositories/thirdparty/org/gbif/registry/registry-metadata/3.69-SNAPSHOT/registry-metadata-3.69-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  1.582 s
[INFO] Finished at: 2021-11-25T17:11:11+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project ipt: Could not resolve dependencies for project org.gbif:ipt:war:2.5.2-SNAPSHOT: Could not find artifact org.gbif.registry:registry-metadata:jar:3.69-SNAPSHOT in gbif-all (https://repository.gbif.org/content/groups/gbif) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

@pieterprovoost Thanks, I've committed the release version for the registry

https://github.com/gbif/ipt/commit/465ae9b9e3cfb09baabcd9fa3aa83c2ff5f6f03a


Error loading workspace folders with gopls

With 325fb3f1635b4ed5b3ae37eb423eab53fe805b2e
This happens with gopls:

LSP[gopls] Error loading workspace folders (expected 1, got 0)
failed to load view for file:///home/user/GitHub/invaders: failed to get workspace configuration from client (file:///home/user/GitHub/invaders): MethodNotFound

This is the result of :LspInfo:
Available servers:
	jdtls, gopls, sumneko_lua

Clients attached to this buffer: 1

Client: 1
	name: gopls
	root: /home/user/GitHub/invaders
	filetypes: go, gomod
	cmd: gopls serve

Total active clients: 1

Client: 1
	name: gopls
	root: /home/user/GitHub/invaders
	filetypes: go, gomod
	cmd: gopls serve

Clients that match the current buffer filetype:

Config: gopls
	cmd: gopls serve
	cmd is executable: True
	identified root: /home/user/GitHub/invaders
	custom handlers: client/registerCapability

Can be reproduced with this minimal config:
init.vim
set runtimepath^=~/.local/share/nvim/site/pack/packer/opt/nvim-lspconfig

lua << EOF
local capabilities = vim.lsp.protocol.make_client_capabilities()
capabilities.textDocument.completion.completionItem.snippetSupport = true

require'lspconfig'.gopls.setup{
	on_attach = on_attach_vim,
	capabilities = capabilities,
	cmd = {"gopls", "serve"},
	settings = {
		gopls = {
			analyses = {
				unusedparams = true,
			},
			staticcheck = true,
		},
	},
}
EOF

then open a go project.

Did you update your nightly?

Did you update your nightly?

Thanks, solved it.

Thanks, solved it.

I thought 2 weeks was a large enough window 😢

I thought 2 weeks was a large enough window 😢

Be prepared to update your nightly in another two weeks because I'm deprecating another handler ;)

Be prepared to update your nightly in another two weeks because I'm deprecating another handler ;)

Merged another change requiring the latest nightly. I think this should be the last (major) one.

Merged another change requiring the latest nightly. I think this should be the last (major) one.


fix fd leak

hi,
Our project uses the java-profiler code, and the Java process has a Too many open files error. After using strace -k -e trace=openat -f java-pid, I feel that I may have found the reason. After I modified it slightly, I have verified that the problem can be solved. I don't know if I can contribute a little code to java-profiler.
[WARN] perf_event_open for TID 30704 failed: Too many open files
ulimit -n
256
lsof -p 30499|grep '/proc/30499/task'|wc -l
202
lsof -p 30499|grep '/proc/30499/task'|head
java    30499 root   23r      DIR                0,3         0 61771716 /proc/30499/task
java    30499 root   24r      DIR                0,3         0 61771716 /proc/30499/task
java    30499 root   51r      DIR                0,3         0 61771716 /proc/30499/task
java    30499 root   52r      DIR                0,3         0 61771716 /proc/30499/task
java    30499 root   53r      DIR                0,3         0 61771716 /proc/30499/task
java    30499 root   54r      DIR                0,3         0 61771716 /proc/30499/task
java    30499 root   55r      DIR                0,3         0 61771716 /proc/30499/task
java    30499 root   56r      DIR                0,3         0 61771716 /proc/30499/task
java    30499 root   57r      DIR                0,3         0 61771716 /proc/30499/task
java    30499 root   58r      DIR                0,3         0 61771716 /proc/30499/task

Hi @yanglong1010 it's interesting that you're running the wallclock profiler without the tracer-guided thread filter - we were considering removing the fallback mode. Are you running the profiler without dd-java-agent, or are you setting -Ddd.profiling.ddprof.wall.context.filter=false?

@yanglong1010 Thank you so much for this patch. This is a public mirror of a repository we do new work in internally, so I can't merge your patch here, but I will apply your commit manually and sync it here later.
Further patches are very welcome, and if you ever want to discuss features or give feedback, please email me at richard [dot] startin [at] datadoghq.com

@yanglong1010 your commit was merged here https://github.com/DataDog/java-profiler/commit/6f95dc4f732f5c908c56e27b40e5a9d168ce76dd


fix(metrics): add rwx-volume-fast-failover to upgrade responder colle…

…ction
Which issue(s) this PR fixes:

https://github.com/longhorn/longhorn/issues/9347
What this PR does / why we need it:
Add setting rwx-volume-fast-failover to the list collected for upgrade responder, so we can assess its adoption.
Special notes for your reviewer:
Additional documentation or context

@mergify backport v1.7.x

We also need to update this file https://github.com/longhorn/longhorn/blob/master/deploy/upgrade_responder_server/chart-values.yaml . Could you please help @james-munson ?

We also need to update this file https://github.com/longhorn/longhorn/blob/master/deploy/upgrade_responder_server/chart-values.yaml . Could you please help @james-munson ?
In longhorn PR https://github.com/longhorn/longhorn/pull/9376


Add filterSeries and updateAnnotations

filterSeries: Allow filtering the series by passing a callback which receives the current series and returning the series you'd like the chart to use
updateAnnotations: passes the current annotations to a callback function allowing user to return annotations they wish to keep displayed. Currently if you have more than one type of annotation and want to remove only one, it's impossible.

Can we get these features added? It barely changes anything and it would be very useful for your users.

Closing due to inactivity.
Also, updateAnnotations will require more cleanup, hence removing and adding again is safest for now.


setting all stroke/fill colors to currentColor

I want to be able to edit the color (both fill and stroke) of all of my Icons with css.
From what I can tell replaceAttrValues can only select by attribute value but not by attribute name so is there a way to replace all stroke='#WHATEVER' with stroke='currentColor'? Alternatively is there a better way to handle colors in svg?

In the past, I've exported my SVG fills and strokes as #000 which then allows you to replace it with the replaceAttrValues.
I'm sure there would be a way to do it by writing a custom template though. Here's their TS example from the docs

You can do it by creating a wrapper for icons. Then you could use css to style stoke and fill. SVGR couldn't help you here.

@gregberge I'm not sure I understand correctly. SVGR is able to replace the height/width value to be 1em, isn't that the same as setting the stroke/fill value to currentColor?

No, it is more complex because stroke and fill can be defined on multiple tags. If we do it, some user would like to choose which one is transformed and which one is not. Anyway, you can easily do it by creating a Babel plugin. You have lots of examples in the repo!


Move site from Chris' Google account to workforce.midsouth

WTF?
PS C:\Users\chris\Documents\Github\shelby-co-employment-screener> gcloud app deploy
ERROR: (gcloud.app.deploy) Permissions error fetching application [apps/shelby-co-screener]. Please make sure that you have permission to view applications on the project and that<EMAIL_ADDRESS>has the App Engine Deployer (roles/appengine.deployer) role.
PS C:\Users\chris\Documents\Github\shelby-co-employment-screener> gcloud projects list
PROJECT_ID             NAME                PROJECT_NUMBER
arboreal-stone-323314  shelby-co-screener<PHONE_NUMBER>19
disco-catcher-321815   My First Project<PHONE_NUMBER>37

Not work?

Adding<EMAIL_ADDRESS>to project didn't work.

Uninstalling / reinstalling GCP SDK did the trick.


Fix error in LZ4-compressed Zarr writing demo

closes #484
There was a mistake with double else statement. The intent was to restrict to uint8 or uint16 dtype as needed by the LZ4 compressor.

Codecov Report

:exclamation: No coverage uploaded for pull request base (branch-23.04@90d021e). Click here to learn what that means.
Patch has no changes to coverable lines.

Additional details and impacted files
@@               Coverage Diff               @@
##             branch-23.04     #506   +/-   ##
===============================================
  Coverage                ?   92.89%
===============================================
  Files                   ?      131
  Lines                   ?     9905
  Branches                ?        0
===============================================
  Hits                    ?     9201
  Misses                  ?      704
  Partials                ?        0

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.

Would it make sense to do this conversion once up top?

Yes, thanks John. I have applied the suggestions

/merge

Thanks Greg! 🙏


Add a switch for the git job for branch

Point to dev for now

let's not do that. we can switch to dev manually when we need to.
if we make it dev, it's too many things to rememeber to set back to main at the end.


Handle the case of supporting multiple services when buy token

Describe the task
If there are many services, users will choose them themselves

Version test: https://file.cdmteck.com/s/DB9JLAnjJczopcC/download?path=%2F&files=SubWalletMobile-build-223-1064-merge-2023-10-09T04-32-27.ipa
Device test: IP 11

[ ] Do not show sevice selected

https://github.com/Koniverse/SubWallet-Mobile/assets/117999489/8314aa4e-1fc7-4de8-9dc5-6f67c6f47f38

Version test: https://file.cdmteck.com/s/DB9JLAnjJczopcC/download?path=%2F&files=SubWalletMobile-build-223-1064-merge-2023-10-12T05-09-08.ipa
Device test: IP 11
Validation passed.


[Event Request] codeunit 5407 Prod. Order Status Management - Function OnRun

Dear ALAppExtensions Team,
We would like to request the following event publisher in codeunit 5407 function OnRun
    ChangeStatusForm.Set(Rec);
    if ChangeStatusForm.RunModal = ACTION::Yes then begin
        OnRunOnAfterChangeStatusFormRun(Rec);
        ChangeStatusForm.ReturnPostingInfo(NewStatus, NewPostingDate, NewUpdateUnitCost);
        // DINNL <<
        IsHandled := false;
        OnRunOnBeforeChangeStatusOnProdOrder(Rec, NewStatus, NewPostingDate, NewUpdateUnitCost, IsHandled);
        if IsHandled then
            exit;
        // DINNL >>
        ChangeProdOrderStatus(Rec, NewStatus, NewPostingDate, NewUpdateUnitCost);
        Commit();
        ShowStatusMessage(Rec);

[IntegrationEvent(false, false)]
local procedure OnRunOnBeforeChangeProdOrderStatus(ProductionOrder: Record "Production Order"; NewStatus: Enum "Production Order Status"; NewPostingDate: Date; NewUpdateUnitCost: Boolean; var IsHandled: Boolean)
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


use python built in methods and add exception

eliminate the usage of wget & tar for manual install for systems that doesn't have them preinstalled.
works with Python 2 and 3
fix minor typo

Thanks for the pull request! The tarfile stuff looks good, but I don't understand the preferences window change in 821705c. I tried opening the preferences window when it's already opened once, but I did not see the error message. How do I test that code path?

I think the preferences window is pretty useless after I did an extensive testing.
You can see the error raised whenever you are trying to open preferences window when it's already opened (from clicking the program icon and not launching it from terminal).
Since I just realized there is an attempt to move this application to GTK 3, I think the preferences change won't really matter (it might be not an issue at all).


Add Missing Product Pictures For Wonkystuff Modules

The product pictures of the following Wonkystuff modules are missing

kæstle
kæstle drum
qvca
bd55
hh110
rs55

fixed with latest commit #e707859


relations showing up in wrong relations group

in edit view relations appeared in several tables, also wrong ones (eg Person-Person relation also in Person-Institution)
error appeared in nomansland instance

example https://discworld.acdh-ch-dev.oeaw.ac.at/sample_project.person/14

another problem: when we created person-place relations from person, the reverse relation wasnt shown in the place instance


Experimenting with Flutter

How do you try out new layouts in Flutter?
In HTML/JS/CSS land, it was a lot easier. I could modify the DOM directly and see what happened in the browser. That would allow me to test many UI changes quickly. However, for Flutter, that is not possible.
Thus, I currently modify my app. This can be troublesome since it takes a while to get my app into the right state to see my changes. Creating a dummy app is hard too, since some layouts are quite complex.
I mainly am seeking advice on how to best experiment with my app's layout.
Related to this is the idea for a Flutter playground #327

If your app has routes, you can use flutter listen and pass it the route name of the page whose layout you're testing. Assuming you have good startup performance, that gives you an edit-save-look cycle on the order of one second.

Thanks for the feedback! We're taking a look at improving our edit/refresh times. I'm going to close this issue, and redirect over to https://github.com/flutter/flutter/issues/3377,  but definitely please continue sending us feedback.
cc @devoncarew


Italian translation

I'm starting working on the Italian translation, thanks @NathanLovato for sharing this amazing presentation!

I saw that there is a PR for the German translation. I'll just wait for that to be landed before starting working on mine, just to avoid merge conflicts.

All good, you can get going now!


Announce snackbar on iOS

Description
Create a custom render semantics which will perform an announcement of the combined semantic label on iOS platforms.
Fixes https://github.com/flutter/flutter/issues/41427

Correct, there is no live region concept on iOS, which ties our hands here a bit. The updates frequently trait does not trigger any announcements as far as I can tell, it only changes how the accessibility system reads/polls for the label

Couldn't we do the same thing in the iOS accessibility bridge, though in a more general case: If a node has the live region flag we compare its label/value with the old one and if it has changed, we announce it from there?  Basically implement the concept of live regions in the iOS bridge instead of hacking it into individual widgets on the framework side?

Yeah that's a good point. I'll take a look at wiring something up


Remove outdated hosts

I would like to request an update on this list.
Some of the items no longer offer free tier: Heroku is one of them for example

@ribafs consege ver aqui?


can you explain me process to make my own model using custom images please

i have 10 images with different quality and would like to create my own model to train so i can use this assessment for my test and learning

Hi, have you followed the steps in our documentation on how to create a dataset and train a model?


Unpersist existing Crafting Entry REs

Now storing entry data on the parent item RE rather than the actor.

Conflicts! Also, please run migration.

Merged and run

Ah woops, caught it in the migration, forgot it there


GitHub comment visibility

          hey @atticusrussell  commented on your PR

Originally posted by @grassjelly in https://github.com/linorobot/linorobot2_hardware/issues/37#issuecomment-1645641395
I can't see any new comments in PR #34, so wanted to make this issue to discuss that problem and get to the root of it. Unsure what might cause this.

I now see the comment, I think I misunderstood the tense of the statement. No issue with comments.


Simple example fails

This is taken straight from the documentation and it appears that map is not a valid method on a request, which seems silly, but there it is!  Maybe it has to do with how I compiled the project (See https://github.com/finagle/featherbed/issues/33)?
val client = featherbed.Client(new URL("http://localhost:8888/"))
// client: featherbed.Client = featherbed.Client@4a02fb3c

val req = client.get("")
// req: client.GetRequest[shapeless.:+:[String("*/*"),shapeless.CNil]] = GetRequest(http://localhost:8888/,List(),UTF-8)

val result = Await.result { req map { r => r.contentString } }
// <console>:15: error: value map is not a member of client.GetRequest[shapeless.:+:[String("*/*"),shapeless.CNil]]
//        val result = Await.result { req map { r => r.contentString } }
//                                        ^

I see now I was working with a newer version than the published docs are.  The docs in the repo != docs on the web, and they do have a working example.

@wulftone seems now everything is ok, can we close this?


Test MANY-to-one dataset test case

Create a test case where a single dataset is connected to 2500 parent (direct ancestor) datasets, test the reindex of this single dataset.

Create a new Donor b835cb1865b044aac1220181ff19e2e5 (HBM344.GLSM.884) via Ingest Portal on DEV
Create an organ f066e9ae118f0d3cf1fc8c77b8533fb9 (HBM873.FDBJ.735) from this Donor via Ingest Portal on DEV
Create new dataset from the organ for 2500 times, in a script using curl
Tried with 2000, 1500, 1000, 500 parent_ids, still timeout

Finally 400 parent_ids went through uuid-api and got new id created, then entity-api still returned 504. But the backend Neo4j went through eventually and created 9dc2de0838a4fd3e960b35424788950d Dataset with 400 direct ancestors.
https://ingest.dev.hubmapconsortium.org/dataset/9dc2de0838a4fd3e960b35424788950d
Two issues will need to be addresses first:

https://github.com/x-atlas-consortia/uuid-api/issues/152
https://github.com/hubmapconsortium/entity-api/issues/680

Timeout issue with the provenance call is addressed.

7/11/2024
With the uuid-api improvements that @kburke did, I was able to create a new set of ids using the 2500 parent IDs in 7.5 seconds on DEV.
{
    "uuid": "0a00ec1ded41e861ef869387fedc7106",
    "hm_uuid": "0a00ec1ded41e861ef869387fedc7106",
    "hubmap_base_id": "777RVBL484",
    "hubmap_id": "HBM777.RVBL.484"
}

7/17/2024, with the validation improvement made in entity-api via https://github.com/hubmapconsortium/entity-api/pull/700, @kburke was able to create a new dataset on DEV with 100 parents. It still took 24 seconds...

Should easily tip past AWS Gateway timeout for a few more, which I believe is attributable to the Activity relationship creation loops we just discussed.


SLS-28-added-styles

What/Why/How?
Added styles to Redocly based on the design here.
Most style updates were made from the instructions here, but other updates had to be made from the a main.css as the theming config has a lot of limitations.
Reference
SLS-48
Testing
Tested that styles looked right at various screen sizes.
Screenshots (optional)

Check yourself

[x] Code is linted
[x] Tested
[x] All new/updated code is covered with tests

Security

[x] Security impact of change has been considered
[x] Code follows company security practices and guidelines

sounds good to me


Add cases for Venn diagram to deal with disjoint h1 and h2 error sets and total intersection

Add logical cases to deal with totally disjoint error sets of h1 and h2, as well as total inclusion of the errors of h1 int he errors of h2 or the other way around.
Also added a small fix to reset the state of the bar chart selection when it receives new props.

This also fixes #73


Multiple validation schemes

I'm not sure I have a issue but I'm not sure how to approach these problems and I hope you guys can point me to the right direction.
The first problem is related to the [Required] and [BindRequired] DataAnnotations. Seems to me a bit hacky to make my Id property nullable so I can use the Required parameter. I tried [BindRequired] parameter instead, and it doesn't make a difference, I get a valid model state no matter what.
    public class Category
    {
        [Required]
        public virtual int? Id { get; set; }
        public virtual string Name { get; set; }
    }

    [HttpPost]
    public IActionResult Post([FromBody]Category category)
    {
    }

    public class ModelStateValidationFilter : ActionFilterAttribute
    {
        public override void OnActionExecuting(ActionExecutingContext context)
        {
            if (context.ModelState.IsValid == false)
            {
                var errors = context.ModelState
                    .SelectMany(x => x.Value.Errors, (y, z) => z.Exception == null ? z.ErrorMessage : z.Exception.Message);
                context.Result = new ObjectResult(new { type = "model", errors }) { StatusCode = 422 };
            }
            base.OnActionExecuting(context);
        }
    }

Currently, I use the following code so I can get different validation schemes for different http verbs. It looks extremely ugly to me. Is there a native more elegant way to achieve this considering I use a catch all errors filter?
    public class Category
    {
        public virtual int? Id { get; set; }
        public virtual string Name { get; set; }
        public virtual Permission Permission { get; set; }
    }

    public class CategoryCreate : Category
    {
        [Required]
        public override string Name { get; set; }
    }

    public class CategoryUserCreate : Category
    {
        [Required]
        public override int? Id { get; set; }
        [Required]
        public override Permission Permission { get; set; }
    }

    [HttpPost]
    public IActionResult Post1([FromBody]CategoryCreate category)
    {
    }

    [HttpPost]
    public IActionResult Post2([FromBody]CategoryUserCreate category)
    {
    }

Nice work, thank you all.

@Eilon

This issue was moved to aspnet/Mvc#7498


Toast creation issue

If a Toast is created and attempts to show...
toast?.translatesAutoresizingMaskIntoConstraints = false
toast?.alpha = 0

guard let controller = navigationController, // Nav Controller is nil
            let containerView = controller.visibleViewController?.view,
            let toast = toast else {
// Goes into the else block... The toast needs to be nil
                print("Navigate \(#function) Error!")
                print("Issue trying to dismiss presentingViewController")
                print("Error: Could not unwrap navigationController")
                return
}

The toast is created and cannot be used again if the timeToLive = nil

Current workaround is to just destroy the toast before presenting another one.
Navigate.shared.destroyToast()
// Show Toast