Use "virtiofs" instead of "virtio_fs" for the virtio-fs module

Description of problem
In the early stages of virtio-fs development, its module was called "virtio_fs". However, it's changed to "virtiofs" and that's the name used upstream.
Whenever we're trying to use a new enogh kernel, we'd look for virtio_fs instead of "virtiofs" causing a failure to load the module.
Expected result
Work with the new enough kernels.
Actual result
Doesn't work with new enough kernels.
NOTE: It's important to note that I'm not exactly familiar with the kata project with regards to when the kernel used by the project would / should be updated in order to reflect the changes I'm asking for in this bug report.

/cc @dagrh

I think this is the right way to go. My only question for @grahamwhaley is whether we need to step the kernel version kata is using for ci firs/at the same time.

@dagrh good point about the CIs. This is 'host kernel', yes? @chavafg - I'm going to guess we don't have control over all the CI host kernel versions...
How about we search for the new/real name first (virtiofs), and if that fails, then we search for the old name as a backup (virtio_fs) - gives us both a safety net for the CI systems, and also should allow any current or future users with older kernels to continue working?
/cc @devimc

No, this is guest kernel.

Even if it's the guest kernel, I think you should, at least for a transition period, be ready for both.

The last commit that refers to virtio_fs seems to be this one:
https://github.com/torvalds/linux/commit/112e72373d1f60f1e4558d0a7f0de5da39a1224d
Dated October 11, 2019. I think it's safe to proceed as if there is only virtiofs to consider now, given that there was a really short window where virtio_fs was useful, and it always required some sort of bleeding edge kernel and qemu to make it work.

So, I'd personally prefer to:

Have a 1.11.0 release at some point soon;
From 1.12.0 onwards, require 5.4 kernel.

If we really have to deal with compatibility with both virtiofs and virtio_fs, we may end up having to adapt the code in several different places with no much gain.
Does the suggestion make sense?

@fidencio We had been on the 4.19 longterm kernel for a while, and recently updated to LTS kernel version of 5.14.15. Related PR :https://github.com/kata-containers/runtime/pull/2422
However, we had started off with using  different kernel in our CI  for virtiofs when experimental support for virtiofs was first added as seen here:
https://github.com/kata-containers/runtime/blob/master/versions.yaml#L111
I believe that particular kernel is based on version 5.3. We havent yet switched to using the 5.14.15 kernel yet for virtiofs as the 5.4 version is missing certain DAX patches:
https://github.com/kata-containers/runtime/pull/2422#issuecomment-585103897
We should probably update the virtiofs kernel under https://gitlab.com/virtio-fs/linux.git to be based on 5.4 kernel with any extra patches required for virtiofs dax support.

Hi @amshinde @grahamwhaley , as kata will choose kernel 5.4 as LTS, what about applying the missing patch for virtiofs to 5.4 kernel and forget virtiofs-0.3. so we can maintain a single kernel to avoid those out of order issue.


Feature/csharp text splitter doc

Description: Just docs related to csharp code splitter

Issue: It's related to a request made by @baskaryan in a comment on my previous PR #10350

Dependencies: None

Twitter handle: @ather19

thanks @Ather23!


Change profile image component

In this PR:

Change and upload a profile image
Upload image to storage
implement a progress bar that communicates with storage
retrieve URL of image and add it to current user's firestore document
add snapshot listening to profile menu component and current profile page component to update image when changed (not the best for scaling but good for now and for current and future scale of website)
add validation for files uploaded

Thanks!

I am going to close this PR until I have the ability to complete unit tests. Once that logic is merged I will be able to add unit tests for this very easily.

Once the Unit Test logic is merged I will be able to add unit tests for this very easily - I am going to wait until then.


@conda-forge-admin, please rerender

Additional comment:
No response

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I rerendered the recipe in conda-forge/spooles-feedstock#5.


CustomObjectTranslation - metadata read doesn't return data for objects from package

Hi!
I can successfully read using the Metadata API CustomObjectTranslation objects for standard and custom objects. However, only fullName is returned for objects installed with a package.
The following works:
connection.metadata.read("CustomObjectTranslation", [ "Lead-en_US" ]);

And the following works:
connection.metadata.read("CustomObjectTranslation", [ "MyObject__c-en_US" ]);

This example doesn't return any data (I've verified the data exist within salesforce; the data is also returned via retrieve method). The read method fails:
connection.metadata.read("CustomObjectTranslation", [ "PKG__MyObjectFromPackage__c-en_US" ]);

Any recommendation what I'm doing wrong? Thank you!

Same issue for CPQ package with jsforce v.1.9.1

per API docs:

The full names must match one or more full names returned by the listMetadata() call, which includes namespace prefixes. If you obtain the fullName from a package manifest file, and the component has a namespace prefix, prepend the namespace prefix to the fullName

https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_readMetadata.htm?q=readMetadata
if anyone still experience this, can you share what connection.metadata.list returns for that type?


[🐞] Have computed$() generate values in a lazy fashion.

Which component is affected?
Qwik Runtime
Describe the bug
It is more of a performance improvement.
component$(() => {
  const user = useStore({first: 'Misko', last: 'Hevery'});
  const lastNameFirstPreference = useSignal(true);
  const lastNameFirst = useComputed$(() => user.last + ', ' + user.first);
  const firstNameFirst = useComputed$(() => user.first + ' ' + user.last);

  return (

    {lastNameFirstPreference.value ?
      () => {lastNameFirst.value} :
      () => {firstNameFirst.value}

  );
})

In the above example, both lastNameFirst and firstNameFirst will eagerly compute the value even though only one of the values is being used. For the above example, it does not matter because the computation function is inexpensive but imagine an expensive function.
For this reason, I think useComputed$ should lazily evaluate the function on read-only. A change in user should invalidate the computed signals and it should start fetching the QRL function, but the computation should be delayed to when the value getter on the signal is invoked.
Reproduction
none
Steps to reproduce
n/a
System Info
n/a

Additional Information
No response

I was looking for this when comparing to Vue 🙏

Hi, I believe I have run into a related issue here #4271.

In addition to the default Lazy, supporting the equals option is more important


chore: use git shallow clone

Use git shallow clone to save disk space and clone time.

@theflockers the change looks good. But can you add at least a brief explanation to the commit message? Like:

This will make the clone much smaller and the clone is only used for creating a MR/PR, so history is not needed.

Otherwise it LGTM.


[CI:DOCS] Docs revamp.

Rewrote the Home and Introduction pages.
Created a dedicated Search page
Rewrote the Tutorials page to have native links in RTD/Shpinx
Added iframe to Reference page to display API reference docs inline

Signed-off-by: Scott McCarty<EMAIL_ADDRESS>

The Dev site for this PR can be looked at here: https://libpod.readthedocs.io/en/latest/index.html
The Reference page will appear to be broken in Dev because of CORS authentication problems, but will work correctly in Prod.

@fatherlinux You seem to be in rebase hell.
git rebase -i origin
Remove any merges.
Any PR's you actually wrote squash them together
git push --force


Repo sync for protected CLA branch

The pull request is created from master637522922219422054 to master to fix git push error for protected CLA branch

@Taojunshen : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Update stdlib for go1.14

chore: drop stdlib for go1.12
chore: generate stdlib for go1.14
chore: update CI configuration.

Fixes #511

Now that is impressively fast! Go 1.14 was release almost simultaneously with this PR.


onLeave() not being called on application error

If an error happens on the application end (duringonJoin() method), the client is being disconnected, but onLeave() is not being called for that client.
Example:
onJoin (client) {
  console.log("onJoin", client.sessionId);
  throw new Error("boom!");
}

onLeave (client) {
  // this method should be called right after the error is thrown.
  console.log("onLeave", client.sessionId);
}

Fixed on https://github.com/gamestdio/colyseus/pull/135


[auto3dseg] add num_works and cache_rate in config

Signed-off-by: dongy<EMAIL_ADDRESS>

@dongyang0122 Should we unify warmup_epochs and num_warmup_epochs?
https://github.com/Project-MONAI/MONAI/pull/5763#discussion_r1051201961


Add LLVM based MinGW targets

Continuation of https://github.com/rust-lang/cc-rs/pull/669

Thanks!


Unlock async test and expectation APIs

This patch unlocks expectation APIs (only for cooperative executor) and async test APIs (for both cooperative and JS event loop executor).
Expectation APIs around XCTestExpectation are designed to be blocking operations, and in single thread environment, it requires full control of event loop to process tasks while waiting.
Cooperative executor can process tasks until the expectations are fulfilled by donating the current thread (swift_task_donateThreadToGlobalExecutorUntil).
However, JS event loop executor can't control the event loop itself, so it cannot process tasks while waiting and it blocks JS event loop. Asyncify can pause the execution while waiting, and resume in next event loop. So we can provide expectation APIs with JS event loop executor in theory, but it brings a lot of complexity and requires AOT binary transformation by wasm-opt.
Also async style test can replace most use of expectation APIs, so this patch doesn't support them on JS event loop executor.

  func testQueueMicrotask() async {
    let _: () = await withUnsafeContinuation { continuation in
      _ = JSObject.global.queueMicrotask!(JSOneshotClosure { _ in
        continuation.resume(returning: ())
        return .undefined
      })
    }
  }

Yeah, this is just a patchwork, so it can't be simply upstreamed for now. We need to figure out a better way before upstreaming. (The upstream XCTest doesn't care about cooperative executor at all 😓 )


Fix support for SAADC on nRF9160

nRF9160 has ADC0..7 on pins 13 through 20.
The ADC returns a signed value.
The Actinius Icarus puts battery voltage on A0 (P0_13)
You need the fields of SaadcConfig to be public, otherwise no-one can change them...

I haven't verified whether the pin/channel mapping for non-9160 devices is correct - I just left that as-is.

Any thoughts on this one?

LGTM. Thanks for your contribution :)


Support AUTOINCREMENT directive in SQLite

At the moment sqlite dialect ignores bun:",autoincrement" tag, relying on the default ROWID behaviour instead.
However, AUTOINCREMENT keyword is a separate instruction in SQLite that creates a dedicated sequence and changes how the unique IDs for the table are generated.
Related issue: #929
This PR adds support for AUTOINCREMENT keyword for fields which have the autoincrement tag. See the docs for sqlitedialect.Dialect.AppendSequence for more details.
I also noticed that each dialect has different keywords for creating generated columns, so I also pushed this logic to the dialects' via new AppendSequence method.

@bevzzz looks good with few notes :+1:


prettier errors

Fixes #15296
This PR is the result of running lint:fix to prevent prettier errors.

Since we're here can we get rid of Avoid having conditionals in tests for our Playwright tests?

Since we're here can we get rid of Avoid having conditionals in tests for our Playwright tests?

see https://github.com/CDCgov/prime-reportstream/pull/15299


Feature/node upgrade

Originally trying to fix the npm econreset and cypress install issue on Travis.  Ended up:

Upgrading to the current node js LTS (v8.9.4) which updated npm to 5.6.0 to hopefully fix the npm econreset
Upgrade Cypress to the latest 1.4.1 because I encounter difficulties installing otherwise
Downgrade flexbox 2.0.0-beta.12 to 2.0.0-beta.9 because everything higher is supposed to require angular 5 (which I don't want go down that rabbit hole at this time)
removed npm-shrinkwrap in favor of package-lock.json because it's the general recommended one.  It also auto updates upon new npm package installs. https://www.reddit.com/r/javascript/comments/6dgnnq/npm_v500_released_save_by_default_lockfile_better/di3mjuk/  The dev deps are also in the lock file which is why it's larger than the old one.  Install the different type of deps with npm i --prod, npm i --dev, and npm i.  The lock file's packages will be used for whichever one is about to be installed.

Notes

Can't solve angular-tag-cloud-module 1.4.0 requiring an old angular version because the next angular-tag-cloud-module is 2.0.0 which jumps straight to requiring angular 5.
https://github.com/npm/npm/issues/17979#issuecomment-332701215 shows how the new shrinkwrap works.  In short, when prod or other devs checkout the branch where package.json and package-lock.json are "compatible",  npm i will install the exact version of the packages listed in the lock file.  If they are not compatible, npm will install what's listed in the package.json and then update the lock file.
I had to run npm dedupe to modify the lock file again otherwise a bunch of deps of deps will conflict with each other
npm install --prod and npm install yields a slightly different package-lock.json due to angular/cli not liking being placed in deps instead of devDeps.  Using the package-lock.json from npm install --prod instead.  Can't move cli to devDeps because we need ng commands during production.  Can't install it outside of npm install --prod because it would still require an angular-cli in the package.json to link to things like the compiler-cli etc.

As discussed, we'll discuss this as a group at the demo and hopefully decide between yarn and npm5

As discussed, we'll move ahead with NPM5


Using Imaging Source Camera (IC4) for experiments with Python

Hello!
I have been using Imaging Source camera with IC Capture for my microscopy experiments for a while now. However, now I want to automate a few things and save the new API of IC4 in Python. I will explain a few things what I want to achieve. It would be great if you could nudge me in the right directions with the examples and the documentation. I have a basic knowledge in Python. So here it goes,

I want to use the Imaging Source camera to display the live video in a window. I know I could use cv2 to show the webcam of my laptop live. What function/class should I look into to display the live video of the Imaging Source Camera on window.

In addition to point 2, I want to save this live video into a folder just as I can do in the IC Capture application. I would like to set the format, fps etc

In addition to point 2 and 3, I would like to snap an image after a set time and save it to a particular folder. Is it possible to use time.sleep() and not disrupt the live video display and saving? Because I know this is a problem when I want to use it with cv2 and the webcam.

If doing all this 3 steps in one python function is not possible, please let me know that too. This is a general description of my project but if you want more details I will give more explanation happily.

The qt6-first-steps example shows how to display live video: https://github.com/TheImagingSource/ic4-examples/tree/master/python/qt6/qt6-first-steps
The demoapp example expands on this to manually allow saving single images and video files: https://github.com/TheImagingSource/ic4-examples/tree/master/python/qt6/demoapp
The documentation contains a section explaining how to programmatically configure camera parameters like resolution and exposure time: https://www.theimagingsource.com/en-us/documentation/ic4python/guide-configuring-device.html (frame rate is not shown there, but setting ic4.PropId.ACQUISITION_FRAME_RATE will do the trick.
The easiest way to build some regular/timed image capture is probably to extend one of the Qt examples with a Qt timer. sleep will block the UI thread and make the program unresponsive.

Hello Tim,
Thank you for your quick response. I will look into these examples.
The easiest way to build some regular/timed image capture is probably to extend one of the Qt examples with a Qt timer. sleep will block the UI thread and make the program unresponsive.
Will this stop showing the live video and stop saving the video in the folder as well?

Yes, rendering using ic4.pyside6.DisplayWidget requires main thread interaction. If you do time.sleep on the main thread, live display will halt.

No, just set up a timer: https://doc.qt.io/qtforpython-6/PySide6/QtCore/QTimer.html
In the connected callback, do what you want to do after the time has elapsed, like capture the next image. No need to create threads.

No, that will just register a function to be called later. The program continues on doing whatever it does.

On a side note, if we use the Imaging Source Camera as a webcam, will there a problem like jumping frames amongst many others? Or you think it will work smoothly?

What do you mean by "use as a webcam"?
Please direct questions unrelated to ic4 to our normal support channel: https://www.theimagingsource.com/en-de/company/contact/

Hi, i want to know how to set white balance auto as off in python

The Documentation explains in detail how to configure device settings.
The constant for auto white balance is ic4.PropId.BALANCE_WHITE_AUTO. To disable auto white balance, set it to "Off".

Rencently i come across some problems, i want to take photos from two devices at the same time, the method i tried is:
grabber = ic4.Grabber()
grabber1 = ic4.Grabber()
first_device_info = ic4.DeviceEnum.devices()[0]
second_device_info = ic4.DeviceEnum.devices()[1]
grabber.device_open(first_device_info)
grabber1.device_open(second_device_info)

grabber.device_property_map.set_value(ic4.PropId.EXPOSURE_AUTO, "Off")
grabber1.device_property_map.set_value(ic4.PropId.EXPOSURE_AUTO, "Off")
grabber.device_property_map.set_value(ic4.PropId.EXPOSURE_TIME, 55555)
grabber1.device_property_map.set_value(ic4.PropId.EXPOSURE_TIME, 55555)
grabber.device_property_map.set_value(ic4.PropId.GAIN_AUTO, "Off")
grabber1.device_property_map.set_value(ic4.PropId.GAIN_AUTO, "Off")
grabber.device_property_map.set_value(ic4.PropId.GAIN, 3)
grabber1.device_property_map.set_value(ic4.PropId.GAIN, 3)
grabber.device_property_map.set_value(ic4.PropId.BALANCE_WHITE_AUTO,"Off")
grabber1.device_property_map.set_value(ic4.PropId.BALANCE_WHITE_AUTO,"Off")
grabber.device_property_map.set_value(ic4.PropId.ACQUISITION_FRAME_RATE,1.5)
grabber1.device_property_map.set_value(ic4.PropId.ACQUISITION_FRAME_RATE,1.5)
grabber.device_property_map.set_value(ic4.PropId.WIDTH, 3072)
grabber1.device_property_map.set_value(ic4.PropId.WIDTH, 3072)
grabber.device_property_map.set_value(ic4.PropId.HEIGHT, 2048)
grabber1.device_property_map.set_value(ic4.PropId.HEIGHT, 2048)

sink = ic4.SnapSink()
sink1 = ic4.SnapSink()
grabber.stream_setup(sink, setup_option=ic4.StreamSetupOption.ACQUISITION_START)
grabber1.stream_setup(sink1, setup_option=ic4.StreamSetupOption.ACQUISITION_START)

buffer = sink.snap_single(1000)
buffer.save_as_bmp("./images/L_" + str(1) + ".png")
buffer1 = sink1.snap_single(1000)
buffer1.save_as_bmp("./images/R_" + str(1) + ".png")

But it didn‘t save image and show this:
Traceback (most recent call last):
  File "E:\Project\Xeryon_motor_control\ploy_fit.py", line 63, in <module>
    buffer = sink.snap_single(1000)
  File "E:\Anaconda\envs\py38\lib\site-packages\imagingcontrol4\snapsink.py", line 164, in snap_single
    IC4Exception.raise_exception_from_last_error()
  File "E:\Anaconda\envs\py38\lib\site-packages\imagingcontrol4\ic4exception.py", line 46, in raise_exception_from_last_error
    raise IC4Exception(err, message.value.decode("utf-8"))
imagingcontrol4.ic4exception.IC4Exception: (<ErrorCode.Timeout: 27>, 'ic4_snapsink_snap_single: Timeout elapsed')

Can you give me some recommendations, thank you.

Are you sure that TriggerMode is Off for both devices?

Sorry i'm not set TriggerMode and i set TriggerMode like that:
grabber.device_property_map.set_value(ic4.PropId.TRIGGER_MODE,"Off")
grabber1.device_property_map.set_value(ic4.PropId.TRIGGER_MODE,"Off")

the running result has no change, is there any problems.

If your cameras are connected to USB3, you could also increase the frame rate to make everything go faster.

Hi Tim，I tried to show capture video through opencv, the mothod is:
import imagingcontrol4 as ic4
import cv2
def example_imagebuffer_numpy_opencv_snap():
    device_list = ic4.DeviceEnum.devices()
    for i, dev in enumerate(device_list):
        print(f"[{i}] {dev.model_name} ({dev.serial}) [{dev.interface.display_name}]")
    print(f"Select device [0..{len(device_list) - 1}]: ", end="")
    selected_index = int(input())
    dev_info = device_list[selected_index]

    grabber = ic4.Grabber()
    grabber.device_open(dev_info)

    cv2.namedWindow("display")

    sink = ic4.SnapSink()
    # sink = ic4.QueueSink(accepted_pixel_formats=ic4.native.IC4_PIXEL_FORMAT.IC4_PIXEL_FORMAT_BayerGB8,max_output_buffers=1,listener=QueueSinkListener)
    grabber.stream_setup(sink)

    while True:

        buffer = sink.snap_single(1000)
        np = buffer.numpy_wrap()
        np_1=cv2.resize(np,(np.shape[1]//3,np.shape[0]//3), interpolation=cv2.INTER_LINEAR)
        cv2.imshow("display", np_1)
        cv2.waitKey(1)

    grabber.stream_stop()

if __name__ == "__main__":
    ic4.Library.init(api_log_level=ic4.LogLevel.INFO, log_targets=ic4.LogTarget.STDERR)

    try:
        example_imagebuffer_numpy_opencv_snap()
    finally:
        ic4.Library.exit()

but video is grayscale, can i set it as RGB video and how can i increase its frame rate, the device i used is DFM 37UX178-ML.

If you create your sink with an accepted_pixel_formats parameter, you can force an automatic buffer format conversion to RGB:
sink = ic4.SnapSink(accepted_pixel_formats=[ic4.PixelFormat.BGR8])

buffer will then contain RGB data (3 bytes per pixel; you may or may not have to adjust your OpenCV to match that.


Ideas for additional functions

Only some ideas that came into my mind
geom3d - additional functions:

palne2 = transformPlane3d(plane, trans)

meshes3d - additional functions:

[meshAbove, meshInside, meshBelow] = cutMeshByPlane(mesh, plane)
I could provide a function for this one

What do you think?
Kind regards
oqilipo

Hi,
yes, good ideas!
for the cutMeshByPlane,  I think I have a starting implementation somewhere. I'll check.
regards,
David

Me, too, I only would have to add some comments and parsing.
My function outputs the three mesh parts with the faces above, inside and below the plane.
My function does NOT provide a sharp cut with a calculation of new edges, which meight be more time consuming. That could be an additional feature.
Kind regards
oqilipo

Hi,
I tyhink we can close the issue, as this is now implemented!
I agree with you, computing new edges would be time consuming... this would however better correspond to a "clipping". It's on the TODO list for a while...

Hi
just a comment: I've migrating the repository to a new "organization" called mattools, in order to make the library little bit more visible. The new adress will be: https://github.com/mattools/matGeom
Regards!


Add ci for HAS

Why?
We got to dogfood our current tekton service and while doing so "dry run" what app studio would be creating for users' projects.
What
On push to any branch in the https://github.com/redhat-appstudio/application-service repo, a new tekton build would be triggered in the staging cluster itself. An image tagged with the git sha would be pushed to Quay. This wouldn't conflict with the existing tags/tag format.
How

Emulated what App Studio would do: Pull a pipeline definition from the catalog into one's own namespace: components/has/.tekton/pipeline.yaml .  This would be same for every component.

Created the "webhook" related objects.

dependencies
For this to work,

I would be creating the image push secret on the cluster and linking the same from the pipeline sa. I've created a robot account in Quay for the same.
To do the above, we need the https://github.com/redhat-appstudio/infra-deployments/pull/21 role.
This only builds the controller image, nothing OLM yet.

Self-approving because this is non-interfering change.


Support embedding API

Updating the API as it returns a list of Embedding. Not really following the standard CRUD.


updates dropdown spaces

This pull request fixes the following issues:

BEFORE
AFTER

judging by the diff it seems that before and after switched

but codewise :+1:


Demo app keeps hanging at 99%

The demo app keeps hanging at 99%.   I've tried restarting the demo app and launcher and the problem still persists.    Which just compounds this issue.
https://github.com/maidsafe/safe_examples/issues/95
I keep spending puts but not getting access to any data.

No amount of waiting allows the transfer (private file) to complete. Upon exiting and restarting sometimes you find file has uploaded and is available, but mostly the put is spent and no file. The ratio seemed to be 1 completed put to 8 misses.

I was using Win 7 for most of my uploads and Fedora Linux for a few others.   Same result.   Again Test Network 6.   In my case it was all public files.

It's being addressed - https://forum.safenetwork.io/t/safe-network-test-6/10291/292

This should be resolved in the version 0.4.0


ratbag error: Can't talk to the mouse: 'Broken pipe' (-32)

Information

ratbagd version (ratbagd --version): 0.17
Distribution: Manjaro Linux
Kernel version (ex. uname -srmo): Linux 6.3.2-arch1-1-g14 x86_64 GNU/Linux

Describe the bug
When I try to use ratbagctl with my strix impact, ratbag can't comunicate with the device with a broken pipe
The mouse should be supported here
Logs
Please start the daemon with verbosity and reproduce the issue.
First make sure it isn't running already.
$ ratbagd --verbose=raw
Initializing libratbag
ratbag debug: New device: ASUSTek Computer Inc. N-KEY Device
ratbag debug: Using data directory '/usr/share/libratbag'
ratbag debug: No data file found for 0b05:19b6
ratbag debug: New device: ASUS ROG STRIX IMPACT
ratbag debug: Using data directory '/usr/share/libratbag'
ratbag debug: device assigned driver asus
ratbag debug: hidraw info: bus 0x03 vendor 0xb05 product 0x1847
ratbag debug: ASUS ROG STRIX IMPACT is device '/dev/hidraw8'.
ratbag debug: Parsing HID report descriptor
ratbag debug: Parsing HID report descriptor
ratbag raw: output report: 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag error: Can't talk to the mouse: 'Broken pipe' (-32)
ratbag debug: New device: ASUS ROG STRIX IMPACT
ratbag debug: Using data directory '/usr/share/libratbag'
ratbag debug: device assigned driver asus
ratbag debug: hidraw info: bus 0x03 vendor 0xb05 product 0x1847
ratbag debug: ASUS ROG STRIX IMPACT is device '/dev/hidraw9'.
ratbag debug: Parsing HID report descriptor
ratbag debug: Parsing HID report descriptor
ratbag debug: - HID report ID 01
ratbag debug: - HID report ID 02
ratbag raw: output report: 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag error: Can't talk to the mouse: 'Broken pipe' (-32)
ratbag debug: New device: ASUS ROG STRIX IMPACT
ratbag debug: Using data directory '/usr/share/libratbag'
ratbag debug: device assigned driver asus
ratbag debug: hidraw info: bus 0x03 vendor 0xb05 product 0x1847
ratbag debug: ASUS ROG STRIX IMPACT is device '/dev/hidraw10'.
ratbag debug: Parsing HID report descriptor
ratbag debug: Parsing HID report descriptor
ratbag raw: output report: 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: input report:  12 00 00 00 00 01 10 03 01 04 01 01 0e 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag debug: Initial profile is 1
ratbag debug: Primary version 00.00.01
ratbag debug: Secondary version 10.01.00
ratbag debug: Switching to profile 0
ratbag raw: output report: 50 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag raw: input report:  ff aa 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ratbag error: libratbag bug: ASUS ROG STRIX IMPACT: no profile set as active profile
ratbag debug: New device: ASUE120A:00 04F3:319B
ratbag debug: Using data directory '/usr/share/libratbag'
ratbag debug: No data file found for 04f3:319b
DBus server ready

output lsusb -vd 0b05:1847
Bus 003 Device 005: ID 0b05:1847 ASUSTek Computer, Inc. ROG STRIX IMPACT
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x0b05 ASUSTek Computer, Inc.
  idProduct          0x1847
  bcdDevice            1.10
  iManufacturer           1 ASUS
  iProduct                2 ROG STRIX IMPACT
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x005b
    bNumInterfaces          3
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower               98mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      1 Boot Interface Subclass
      bInterfaceProtocol      2 Mouse
      iInterface              0
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.11
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      76
         Report Descriptors:
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0
      bInterfaceProtocol      0
      iInterface              0
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.11
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      90
         Report Descriptors:
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0009  1x 9 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0
      bInterfaceProtocol      0
      iInterface              0
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.11
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      25
         Report Descriptors:
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               2
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x04  EP 4 OUT
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               2
Device Status:     0x0000
  (Bus Powered)

cc @kyokenn :)

I guess #1490 is the fix for this. If you use AUR, you can install libratbag-git and piper-git for now.
(by the way, if you have an account on AUR, please, ask piper-git's maintainer to drop the libibus dependency - it's not actually needed and it's been bugging be for a while; I can't report it myself as I don't want to make an account for own reasons).


Auto generate/v0.22.11

Codecov Report

Merging #124 (5d62e9c) into master (5dce13b) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 5d62e9c differs from pull request most recent head ad6bc98.  As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@           Coverage Diff           @@
##           master     #124   +/-   ##
=======================================
  Coverage   21.87%   21.87%
=======================================
  Files           1        1
  Lines          64       64
=======================================
  Hits           14       14
  Misses         44       44
  Partials        6        6

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


Is anyone working on this project a Uni student?

@petut - any chance you or any of your contributors are Uni students?
If so, I would love to see a Migen<->AXI/Zynq intergration proposal as part of the Google Summer of Code (were Google funds students to work on open source projects over their summer break).
The TimVideos, FOSSi Foundation and/or Apertus orgs would all probably be interested in accepting a project around this space if a good student applied!

Otherwise would you be interested in mentoring a student to work on this project?
Happy to answer questions - email me at<EMAIL_ADDRESS>

@mithro it's the FOSS part of what I'm working on currently (simulator of a processing module, using a ZedBoard). I'm employed by Space Research & Planetary Sciences (WP)  as a technician.


(AzureCXP) MicrosoftDocs/architecture-center#1832

Updating Dynamic data masking to "Yes" for SQL Data Warehouse
As per Git Issue #1832

@KalyanChanumolu-MSFT : Thanks for your contribution! The author(s) have been notified to review your proposed change. @zoinerTejada

@ZoinerTejada Please review the change


What method is needed to drop fps to increase video length?

Or can the video only last for 2 seconds? As i've tried 12 fps and 24 fps, both times it's the same duration.

2 ways to extend the length of the video:
a) reduce the fps parameter in videocombine node
b) use frame interpolation to increase the number of frames  in the video
both of these methods slow down the motion.

Ah ok,  so model is strictly intended for 2 second videos? can't do half fps to last twice as long for instance?

Ah ok, so model is strictly intended for 2 second videos? can't do half fps to last twice as long for instance?

I don't think there is a way to do that. But you can use the last frame in the video to generate another video and then concatenate them together.

Ah ok, so model is strictly intended for 2 second videos? can't do half fps to last twice as long for instance?

I don't think there is a way to do that. But you can use the last frame in the video to generate another video and then concatenate them together.

True. I need to see if it will result like animatediff models where last frame of the first video with the same seed will result in a X amount of second "still image video" lol

Don't use the same seed. It works as cheezecrisp said. I have 1 minute and 39 secs so far with a fluid anime sequence. I told you the process in the other thread. It just needs a bit of color correction between the segments.

i2v.json
Here is the workflow. With no surprise it is the basic workflow with a bit of help of Flowrense-2.
I can't post the whole sequence here cause the github limit is 10MB. Give me a few moments to  cut 2 characteristic raw low-res un-enchanched unedited sequences (not properly edited in a professional film direction manner).

https://github.com/user-attachments/assets/782b6ef4-dbca-4601-8ee2-34957744681e
Here's an Enki-bilal dystopian style shot unedited. It is 22 secs and that's 4 clips of cogvideo, not 22. It is static camera following the woman, cause well, thats enki bilal.
Give me a few moments to cut a dynamic movement one.

Uploading warrior_00079_thm2_apo8_iris3_iris2.mp4…
Here's a more dramatic one. 17secs
Of course you can't present these on festivals as they are. You have to edit the momentum and change the RGB properties. I use Premiere Pro. But as you can see the transitions are fluid.
The ugly faces, the upscaling, the enchancement, blurriness, sharpness etc. are easily dealt with Topaz Video AI. They can be converted to crystal clear 8K resolution videos with all distortions fixed in under 2 minutes of 4090 process I think.

FYI by default both the video and the img2vid are 6 sec default so if yours are 2 sec then the basic settings are off.
on the output node there is a FPS setting and essentially without touching anything else (the frame interpol works as well but you need math tog et it right) by increasing the fps here you will SHORTEN the video to 4 sec (8fps = 6 sec, 10fps = 4 sec, and 6fps will make 8 sec yada yada) but then you are dealing with a slow fps video, and need topazai or adobe premiere to "fix" the entire thing.
My videos are too big for github here, but you might have seen me posting large ones around certain discord model ai channels already. I leave my settings at 8fps and then post process after.
This is a RAW example - default 6 sec to show you.
https://github.com/user-attachments/assets/c15d2c1c-a9aa-400e-b60b-3286559fbd3b

I just tested with a fresh install on one of my new servers and can confirm that yes, 6 sec default on clean!
https://github.com/user-attachments/assets/5271b6aa-42d6-4056-8f7d-09e393054825


Venue request link to venue

The venue request forum page should have a link to the venue so you can easily navigate between the PC console and the venue request page.

The links are available in the first comment which is posted when the venue is deployed.


Run time error python gradio_new.py

Has anyone had this problem?
When I try to run the  python gradio_new.py command the following error occurs:

sys.argv:
['gradio_new.py']
Instantiating LatentDiffusion...
Loading model from 105000.ckpt
Global Step: 105000
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.53 M params.
Keeping EMAs of 688.
making attention of type 'vanilla' with 512 in_channels
Working with z of shape (1, 4, 32, 32) = 4096 dimensions.
making attention of type 'vanilla' with 512 in_channels
Instantiating Carvekit HiInterface...
Instantiating StableDiffusionSafetyChecker...
Instantiating AutoFeatureExtractor...
/root/zero123/zero123/gradio_new.py:568: GradioDeprecationWarning: The `style` method is deprecated. Please set these arguments in the constructor instead.
  gen_output.style(grid=2)
/root/zero123/zero123/gradio_new.py:568: GradioDeprecationWarning: The 'grid' parameter will be deprecated. Please use 'grid_cols' in the constructor instead.
  gen_output.style(grid=2)
/root/anaconda3/envs/zero123/lib/python3.9/site-packages/gradio/routes.py:663: DeprecationWarning:
        on_event is deprecated, use lifespan event handlers instead.

        Read more about it in the
        [[FastAPI docs for Lifespan Events](https://fastapi.tiangolo.com/advanced/events/)](https://fastapi.tiangolo.com/advanced/events/).

  @app.on_event("startup")
/root/anaconda3/envs/zero123/lib/python3.9/site-packages/fastapi/applications.py:4495: DeprecationWarning:
        on_event is deprecated, use lifespan event handlers instead.

        Read more about it in the
        [[FastAPI docs for Lifespan Events](https://fastapi.tiangolo.com/advanced/events/)](https://fastapi.tiangolo.com/advanced/events/).

  return self.router.on_event(event_type)
/root/zero123/zero123/gradio_new.py:657: GradioDeprecationWarning: The `enable_queue` parameter has been deprecated. Please use the `.queue()` method instead.
  demo.launch(enable_queue=True, share=True)
/root/anaconda3/envs/zero123/lib/python3.9/site-packages/gradio/routes.py:663: DeprecationWarning:
        on_event is deprecated, use lifespan event handlers instead.

        Read more about it in the
        [[FastAPI docs for Lifespan Events](https://fastapi.tiangolo.com/advanced/events/)](https://fastapi.tiangolo.com/advanced/events/).

  @app.on_event("startup")
/root/anaconda3/envs/zero123/lib/python3.9/site-packages/fastapi/applications.py:4495: DeprecationWarning:
        on_event is deprecated, use lifespan event handlers instead.

        Read more about it in the
        [[FastAPI docs for Lifespan Events](https://fastapi.tiangolo.com/advanced/events/)](https://fastapi.tiangolo.com/advanced/events/).

  return self.router.on_event(event_type)
/root/anaconda3/envs/zero123/lib/python3.9/site-packages/gradio/routes.py:663: DeprecationWarning:
        on_event is deprecated, use lifespan event handlers instead.

        Read more about it in the
        [[FastAPI docs for Lifespan Events](https://fastapi.tiangolo.com/advanced/events/)](https://fastapi.tiangolo.com/advanced/events/).

  @app.on_event("startup")
/root/anaconda3/envs/zero123/lib/python3.9/site-packages/fastapi/applications.py:4495: DeprecationWarning:
        on_event is deprecated, use lifespan event handlers instead.

        Read more about it in the
        [[FastAPI docs for Lifespan Events](https://fastapi.tiangolo.com/advanced/events/)](https://fastapi.tiangolo.com/advanced/events/).

  return self.router.on_event(event_type)
/root/anaconda3/envs/zero123/lib/python3.9/site-packages/gradio/analytics.py:97: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
  if StrictVersion(latest_pkg_version) > StrictVersion(current_pkg_version):
/root/anaconda3/envs/zero123/lib/python3.9/site-packages/gradio/analytics.py:97: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
  if StrictVersion(latest_pkg_version) > StrictVersion(current_pkg_version):

I tried updating gradio or changing versions, but not work.

Same questions here.

Same questions.


Include 3rd-party dependencies in repository

Installing into a fresh IDE fails due to a missing dependency on com.google.gson:
Cannot complete the install because one or more required items could not be found.
  Software being installed: Google Cloud Platform for Eclipse 4.5 <IP_ADDRESS>604220204 (com.google.cloud.tools.eclipse.suite.e45.feature.feature.group <IP_ADDRESS>604220204)
  Missing requirement: GCloud for Eclipse App Engine Local Server <IP_ADDRESS>604220204 (com.google.cloud.tools.eclipse.appengine.localserver <IP_ADDRESS>604220204) requires 'bundle com.google.gson 2.2.4' but it could not be found
  Cannot satisfy dependency:
    From: Google Cloud Platform for Eclipse 4.5 <IP_ADDRESS>604220204 (com.google.cloud.tools.eclipse.suite.e45.feature.feature.group <IP_ADDRESS>604220204)
    To: com.google.cloud.tools.eclipse.appengine.localserver [<IP_ADDRESS>604220204]

http://mvnrepository.com/artifact/com.google.code.gson/gson

p2 doesn't check Maven Central.  I suppose we could add a reference to Orbit, but I'll just gather up these 3rd party bundles into a new feature.

I'm trying to understand where the jars are coming from. We're getting everything from orbit? So what do we do if we want to use a library that's not in orbit? It looks like the version of guava they have is several major versions behind, though that probably doesn't matter for us yet.

Yeah, we're pulling dependencies from Orbit as it simplifies our target platform setup. PDE/p2 doesn't know how to pull references from Maven Central. And some Maven artifacts aren't bundles (dunno about c.g.gson).
Providing c.g.gson is a bundle, I wonder if m2e and Tycho might work in a hybrid mode here. I'll experiment.

Update: we can pull in artifacts directly from Maven Central providing they have OSGi metadata (like com.google.gson). But it requires some hackery to get them into an Eclipse TP, which doesn't know how to fetch from MC.

Pointed to the p2-maven-plugin which may help address the TP problem.

Fixed with #220, #235, and #238


Make azure-deploy exit if parameters are missing

Normally Azure CLI waits for the user to enter any missing parameters.
However, that doesn't work in unattended environments or when using
subshells. Instead, we close stdin and rely on an empty response to tell
us something went wrong.

 Surface missing parameters in azure-deploy script


Save Settings/Configuration

I created my setup to give it a go and thought I noticed a bug, so I opened the URL in another browser and noticed that I was on, what looked to be, a new instance with none of my settings saved.
I don't know if you want to create a single user setup that stores settings in a database of some variety, but I think people will want their settings to save across browsers.
I came to this when I toggled night mode and then refreshed the page and it didn't save my night mode setting.

Currently, the site does not store any information, so everyone could use the public URL as their browser's homepage. The website stores the user config in what's called the localstorage, no databases are used. Simply cookies and localstorage.

I think people will want their settings to save across browsers.
That's why I made the download/upload config feature! You can download your config in the settings menu and upload it by sliding the file anywhere on the site.

I came to this when I toggled night mode and then refreshed the page and it didn't save my night mode setting.
I think this is because you used a different browser or because the cookie expired. The night mode value is saved as a cookie

I think this is because you used a different browser or because the cookie expired. The night mode value is saved as a cookie

Same browser, but I've got a lot of tracking stuff blocked/disabled so that might have been my problem.

Oh okay. I'll keep the issue open in case someone else has this problem.

I would really like to see an option to auto sync between browsers, or at least automatically backup password-protected backups to my server.

I would really like to see an option to auto sync between browsers, or at least automatically backup password-protected backups to my server.

I might look into having a per-server config for the moment. That would mean that I'd have to rework the whole project tho so it might take a while.
The orignal plan was to only be a homepage with no backend integration, at the time I didn't know that you can't send http requests from https source, transitioning to self-hosted will require work


prometheus dont support use labels of rule in annotations?

I create a prometheus alerting rule as following:
alert: cluster_cpu_alarm
expr: cluster_cpu_utilization  > 0.90
for: 1m
labels:
  severity: Medium
  cluster: dev
annotations:
  summary: the cpu utilization of cluster {{ $labels.cluster }} is more than 90%, now {{ $value }}.

When the alert is triggered to alertmanager, the {{ $labels.cluster }} in annotations.summary is empty, and {{ $value }} is a real cpu utilization.
Prometheus donot support use labels of alertingrule in annotations?
@brancz

If you define the label in the alert definition, why can't you use it in the annotation?
Generally speaking though for what you're trying to achieve here, I'd suggest to add an external label to your Prometheus server configured with cluster: dev, then the firing alerts will have that label and you can use it in the annotation.

That means prometheus dont support use labels in annotations like {{ $labels.cluster }}?
the labels are different for different application, I can not put them on expr. So I want to define many labels in alertingrules, and use it in annotations. I think it is a general usage.

If you define the label in the alert definition, why can't you use it in the annotation?
Generally speaking though for what you're trying to achieve here, I'd suggest to add an external label to your Prometheus server configured with cluster: dev, then the firing alerts will have that label and you can use it in the annotation.

This issue relates to Prometheus, not Alermanager. It is also a dupe of https://github.com/prometheus/prometheus/issues/5405

Hi @szediktam,
I've got the same issues as yours, would you mind sharing some information about this? Did you solve it by some configurations, or whatever?


[Bug]: Shadow Dash endShadowDash isn't properly removed

Before You Report

[X] My mods and Everest install are up to date.
[X] I have recreated the bug with a minimum number of mods installed.

What platform are you playing on?
Core
Bug Description
From what me and my stream chat could gather, its because of this line:
https://github.com/aridai-shi/CherryHelper/blob/d9734704de6308652b7548543416d4a4e4680235/Code/Entities/ShadowDashRefill.cs#L215C17-L215C55
The order of operations that I think is happening here:

1st shadow dash has ended, attaches ShadowEndDelay coroutine to Player
3f later
2nd shadow dash is started, sets CherryHelper.Session.ShadowDashActive = true
2nd shadow dash tries to remove the ShadowEndDelay coroutine, but the removal can only take place at the end of the frame
1st shadow dash's ShadowEndDelay coroutine runs and sets CherryHelper.Session.ShadowDashActive = false
At the end of the frame, the coroutine is removed, but it doesn't matter anymore because it already ran

Steps to Reproduce
Setup:

Have a shadow dash and dash into another shadow dash refill
Dash exactly 3 frames after the first shadow dash ends (the frame that you have 22.5 downwards speed if the first dash was horizontal and you start falling after the dash ends)
You will not gain invincibility and die to stuff
If you want to see me figuring this out on stream look here https://www.twitch.tv/videos/2087110397?t=0h52m51s i was so stumped lmao

Log Output
No response

Thanks for the report! I probably would not have attempted this without the steps you took to reproduce lol. PR is here.


Support for end-point liveness on a per service basis

Currently, liveness health check is based on global monitor flag of kube-loxilb. It should be better to have it on per-service basis.

The following liveness annotation will enable active liveness check for Lb services via loxilb
apiVersion: v1
kind: Service
metadata:
  name: nginx-lb1
  annotations:
   loxilb.io/liveness : "yes"
spec:
  loadBalancerClass: loxilb.io/loxilb
  selector:
    what: nginx-test
  ports:
    - port: 55002
      targetPort: 80
  type: LoadBalancer
---
apiVersion: v1
kind: Pod
metadata:
  name: nginx-test
  labels:
    what: nginx-test
spec:
  containers:
    - name: nginx-test
      image: nginx:stable
      ports:
        - containerPort: 80


Tags not displaying in tools traces

Hello.
Tell me, the tags are not displayed in the tool trace. Is this how it works, or is there a bug in my code?
git repo: https://github.com/ShoggothAI/motleycrew/tree/cached_calls_lunary

adding tags: motleycrew/tracking/callbacks.py

Hi @BespalovSergey,
Could you please send me a sample of the code you're using to make this trace?

The code that adds the trace: https://github.com/ShoggothAI/motleycrew/blob/cached_calls_lunary/motleycrew/tracking/callbacks.py
A tag is added to this line:  https://github.com/ShoggothAI/motleycrew/blob/cached_calls_lunary/motleycrew/tracking/callbacks.py#L39

Actually, it was a problem on our end because we were displaying tags only for LLM calls. It's been fixed in the latest version 🙂


Show nslistener pid for ps command

We need to display nslistener pid for ps command to make docker top
work with runv container
Signed-off-by: Zhang Wei<EMAIL_ADDRESS>

To address https://github.com/hyperhq/runv/pull/478#discussion_r123867345
With this, we can run docker top on a runv container now:
$ docker top 8a96dc690c35
UID                 PID                 PPID                C                   STIME               TTY                 TIME                CMD
root                28007               27977               0                   16:12               ?                   00:00:00            containerd-nslistener
$ ps -ef | grep 28007
root     28007 27977  0 16:12 ?        00:00:00 containerd-nslistener
zhangwei 29812 27165  0 16:28 pts/11   00:00:00 grep --color=auto 28007

@WeiZhang555 do we need update this PR after #537 merged?


[CARBONDATA-3527] Fix 'String length cannot exceed 32000 characters' issue when load data with 'GLOBAL_SORT' from csv files which include big complex type data

Problem:
When complex type data is used more than 32000 characters to indicate in csv file, and load data with 'GLOBAL_SORT' from these csv files, it will throw 'String length cannot exceed 32000 characters' exception.
Cause:
Use 'GLOBAL_SORT' to load data from csv files, it reads files and firstly store data in StringArrayRow, the type of all data are string, when call 'CarbonScalaUtil.getString' in 'NewRddIterator.next', it will check the length of all data and throw 'String length cannot exceed 32000 characters' exception even if it's complex type data which store as more than 32000 characters in csv files.
Solution:
In 'FieldConverter.objectToString' (called in 'CarbonScalaUtil.getString'), if the data type of field is complex type, don't check the length.
Be sure to do all of the following checklist to help us incorporate
your contribution quickly and easily:

[ ] Any interfaces changed?  No

[ ] Any backward compatibility impacted?  No

[ ] Document update required?  No

[x] Testing done
Please provide details on
- Whether new unit test cases have been added or why no new tests are required?
- How it is tested? Please attach test report.
- Is it a performance related change? Please attach the performance test report.
- Any additional information to help reviewers in testing this change.

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.1/570/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.2/571/

Build Success with Spark 2.3.2, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/575/

@jackylk @QiangCai please help to review

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.1/578/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.1/580/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.2/583/

Build Success with Spark 2.3.2, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/585/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.2/581/

Build Success with Spark 2.3.2, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/583/

@jackylk This pr is ready, please review, thanks.

LGTM


Update devfile/api dependency and message with info about failures

What does this PR do?
Update the devfile/api dependency to latest 283b0c54946e9fea9872c25e1e086c303688f0e8, including a fix for the new package path (see: https://github.com/devfile/api/pull/280)
Add support for propagating status info to devworkspace status, reusing the message field, now that ideUrl has been removed from printColumns:
❯ kc get dw
NAME           WORKSPACE ID                PHASE     INFO
theia          workspace5eacae28f63149c4   Running   http://workspace5eacae28f63149c4-theia-3<IP_ADDRESS>.2.nip.io
web-terminal   workspace548b4c42f1394436   Failed    Failed to install network objects required for devworkspace

What issues does this PR fix or reference?
Closes https://github.com/devfile/devworkspace-operator/issues/232
Is it tested? How?
Test usual flows, functionality should not be changed except for messages

cc: @metlos I suspect you will also have to update your code to adapt to https://github.com/devfile/api/pull/280

/test v5-devworkspaces-operator-e2e

Updated the status message to show what the startup process is waiting on, as suggested by Serhii:

/test v5-devworkspaces-operator-e2e

Added support for Stopping/Stopped and also the message Cleaning up resources for deletion when a workspace is deleted and we're finalizing.

/test v5-devworkspaces-operator-e2e


docs: better links at end of Quickstart page

Suggested by Trent

Codecov Report

Merging #1201 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1201   +/-   ##
=======================================
  Coverage   96.92%   96.92%
=======================================
  Files          49       49
  Lines        2279     2279
=======================================
  Hits         2209     2209
  Misses         70       70

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 72bef66...96e7600. Read the comment docs.

Trent gave me some more feedback (verbally), and as a result, I:

removed the choice of installing RethinkDB or MongoDB. (It's a Quickstart page, not an exhaustive exploration of all the options and how to use them.) Now the page just tells them to install MongoDB and gives MongoDB-specific instructions.
made it so there's only one obvious "next step" link at the end of the page.


Overriding #toast-container > div

What is the best way to override #toast-container > div css properties?
Our designer wants to use the bootstrap alert colors.
In our Startup.cs file I set the configuration to:
services.AddToaster(config =>
{
config.PositionClass = Defaults.Classes.Position.TopRight;
config.IconClasses.Error = "alert-danger";
}
This changes the background-color to the color specified in bootsrap's alert-danger class, but the color of the text is still what is defined by #toast-container > div (color: #ffffff;) and not what is defined by alert-danger (color: #622938;).
I'm not sure how we are supposed to be changing css properties the blazor way.
Thanks

I ended up solving this by copying toastr.css and adding it to my project and making the changes I needed directly in the file and then changing the link to it from this

to

I hope someday Blazor does Componentized style sheets like angular does. Makes things so neat and  easy to deal with.

You answered while I was writing my best attempt to change the toaster css to match the boostrap colors. :smile: (and I'm a terrible designer so I would be interested in your changes)

I'm not a big fan of the changes, but I'm not a "Designer", I just make things work.. Honestly I like the toastr colors better. Been using those for years.

Ok, I will make a new branch and PR it prob today.
I also figured out how to do HTML in the Title and Message. It's built into
Toastr. I will create another branch and PR to add the escapeHtml option.
On Thu, Dec 19, 2019 at 5:46 PM Alessandro Ghidini<EMAIL_ADDRESS>wrote:

You answered while I was writing my best attempt to change the toaster css
to match the boostrap colors. 😄 (and I'm a terrible designer so I would
be interested in your changes)
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/sotsera/sotsera.blazor.toaster/issues/34?email_source=notifications&email_token=AAYBMMNMERVCKMQVG2QCEZTQZP2VNA5CNFSM4J5OGMQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHLJL7Y#issuecomment-567711231,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAYBMMPW252IJCRTV6PC7OTQZP2VNANCNFSM4J5OGMQQ
.


WIP: Implement Task timed method

Fixes https://github.com/monix/monix/issues/714

@alexandru are you ok with an implementation using for comprehension or do you prefer a flatMap based impl ? I know that the desugaring of the for comprehension is not that great.

TBH I don't know what that desugars into. It's probably OK like this.

Actually, it's your decision. If you think it adds overhead, then desugar it.

I'm not a big fan of for comprehension, so I prefer the desugared version.

I find for version more readable: it's obvious what the steps are and how dependent they are on each other. And as a local expert on for comprehension, I can assure that it desugars into plain map/flatmap calls, so there's no win 😄

And as a local expert on for comprehension, I can assure that it desugars into plain map/flatmap calls, so there's no win

😄
Ok. Thanks you :)

@oleg-py rollbacked to the for version ;)

If you have more ideas for cool utility functions then keep them coming even if you don't have the time to implement. :D

Ok =)


08/01/2018 02:09 : Create Pull Request for branch master -> prTesting1_2018080102

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestRef1.md
:white_check_mark:Succeeded

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.


Does shm-auto-insert-bangs do anything?

I have shm-auto-insert-bangs set to the default value of t, yet I never have bangs inserted.
When I look through the code, it doesn't seem to actually be used (or indeed mentioned anywhere except the defcustom declaration).

I think it didn't work so well so the code was removed but the customization remained.

Any particular reason for keeping the customisation option there?  Or was it just an oversight?


Constructor of innerclass is not executed

I just noticed that constructors of inner-classes are not executed.
My parent class has the following code
private List list;
....and the inner class
public class ABC{
public ABC(){
//some code here which is not executed
}
}
Using random-beans the list property is populated as well as the properties of the innerclass ABC. However the constructor of ABC is never executed which blocks me because some important initialisation is there....

I'm not sure I fully understand what are you expecting.
If the list is populated and the properties of ABC are also populated, then random beans has done its work right? Are you expecting RB to call the constructor of ABC?
it would be great If you can provide a test with what is expected. Many thanks upfront

Yes i'm expecting that RB calls the constructor of ABC, which is not happening.

Can you try making ABC as static and let me know if it works fro you?

@axelsegers Have you got a chance to test this?
I'm re-reading this thread and based on the previous comments, I believe RB can't do anything in this case. If making the class static works for you, then this is the way to work around the issue. If it is not possible to change the class (may be legacy type you can't change), then I will close the issue and add a note about it in the know limitations section.
Looking forward for your feedback. Thank you upfront.

Summing up on this. For inner classes, Class.getDeclaredConstructor() throws an exception. For static nested classes, it does not throw this exception. Here is an example:
import org.objenesis.Objenesis;
import org.objenesis.ObjenesisStd;

import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;

public class TestInnerClass {

    public class ABC {
        public ABC() {
            System.out.println("ABC.ABC");
        }
    }

    public static class DEF {
        public DEF() {
            System.out.println("DEF.DEF");
        }
    }

    public static void main(String[] args) {
        try {
            Constructor<ABC> constructor = ABC.class.getDeclaredConstructor();
            constructor.newInstance();
        } catch (NoSuchMethodException | IllegalAccessException | InstantiationException | InvocationTargetException e) {
            e.printStackTrace();
            System.err.println("falling back to objenesis for ABC");
            Objenesis objenesis = new ObjenesisStd();
            objenesis.newInstance(ABC.class);
        }

        System.out.println("#####");

        try {
            Constructor<DEF> constructor = DEF.class.getDeclaredConstructor();
            constructor.newInstance();
        } catch (NoSuchMethodException | IllegalAccessException | InstantiationException | InvocationTargetException e) {
            e.printStackTrace();
            System.err.println("falling back to objenesis for DEF");
            Objenesis objenesis = new ObjenesisStd();
            objenesis.newInstance(DEF.class);
        }
    }
}

Which prints:
java.lang.NoSuchMethodException: io.github.benas.randombeans.beans.TestInnerClass$ABC.<init>()
	at java.base/java.lang.Class.getConstructor0(Class.java:3350)
	at java.base/java.lang.Class.getDeclaredConstructor(Class.java:2554)
	at io.github.benas.randombeans.beans.TestInnerClass.main(TestInnerClass.java:48)
falling back to objenesis for ABC
#####
DEF.DEF

Yes i'm expecting that RB calls the constructor of ABC, which is not happening.

For inner classes, Random Beans will fall back to using Objenesis (mostly as shown in the previous example) which will create the instance without calling the constructor (See Javadoc of Objenesis#newInstance(Class). And that's why the constructor of the inner class is not called.
As said previously, I'm not sure RB can do something to overcome this, So I added a section about this limitation in the known limitations page.
@axelsegers Thank you anyway for opening this issue!


[User Info page] AABEDev I update my user API key in Postman

Description:
We want users to be able to update their openai API key that we store on file as part of their user in dynamo.
Validation:
Screenshot in postman sending post request to the updateUser endpoint with field apiKey. Recieve a 200 response.

Note for future:
need to have authoriser on this endpoint
need to have integration test once we add cloudfront.


Case-sensitive variable names in Playground

The following code gives Unknown variable 'appraised' in the Playground
derive [
  Appraised=1000
]
select [
  appraised
]

Saving this as a file using the VScode extension sometimes causes the latter "appraised" to be converted to "Appraised" (removing the error) before saving the file.
Are all variable names case-sensitive in PRQL?

Update: I believe the two items mentioned in #1117 are both symptoms of this single test case:

Are variable names case-sensitive? Sometimes it seems they are, although I didn't write down an example.

Sometimes VSCode extension declared that a variable was not defined when I had clearly used it earlier. How does it know?

Saving this as a file using the VScode extension sometimes causes the latter "appraised" to be converted to "Appraised" (removing the error) before saving the file.

WDYM that sometimes VSCode converts it? As in, VSCode changes your PRQL text?
I wasn't aware we had an auto-formatter. Are we confident this is the PRQL extension — does it do this without the extension installed?
Re case sensitivity — yes, PRQL is case-sensitive. To the extent that's not in the book, that would be a helpful addition!

Yes, I seem to remember the VScode extension changing case (like a pretty-printer that patches up the code on Save...) But it doesn't always do it.

And now I cannot create a reproducible case. It sounds as if I should report it if I can find one.

I don't know all the things that the VScode extension is doing. It tends to "do the right thing", so it's very comfortable to use. But I don't think it auto-formats.

Case-sensitivy - a few random neurons are firing. I'll write them up separately.

OK thanks — let's reopen when we can repro


remove redundant warning regarding power user and dir

What happened:
when I run syft power-user I see the below message:

it is specified that dir is not supported which is not true
What you expected to happen:
remove this message
Steps to reproduce the issue:
run syft power-user
Anything else we need to know?:
Environment:

Output of syft version: 0.84.1
OS (e.g: cat /etc/os-release or similar): macOS

NOTE: this is in the help text.


updated writeConcern description, allow value of 10

allow value of 10 for writeConcern - minor change.
(devel already covered by another pr)

Devel included here: https://github.com/arangodb/arangodb/pull/10700

http://jenkins01.arangodb.biz:8080/view/PR/job/arangodb-matrix-pr/7712/

Tests blue.


Migrate README and CHANGES from .rst to .md

.md is the defacto markup for Github files like a README. is there some compelling reason to be using .rst?

yep, I was careful choosing the format. I envision maintaining a real read-the-docs site generating it out of the repository using Spinx (www.sphinx-doc.org). Spinx is the standard in documenting python projects and Spinx is .rst. So let's keep the README in sync with the other documentation.
For the future, I think we should have a shorter README (now it looks more like a manual, which is good, because there is no other manual, but when we have, we should move all that to the manual). I hope you agree.

Ok, that works for me, and I've now at least figured out why my markdown wasn't working in the README :P


Concentrated solar power should be included in hourly production of solar PV chart

The chart "Hourly production of solar PV" offers the selection between Solar PV (stacked), Buildings, Households and Solar PV plants:

I would expect that concentrated solar power plants are included in the "Solar PV plants" category. The underlying query energy_power_solar_pv_electricity_output_curve however shows that this is not the case:

I think that concentrated solar power should be included in this chart, either as part of "Solar PV plants" or as a separate category. What do you think @marliekeverweij and @michieldenhaan?

I think the reason it's excluded in this chart is because CSP is a form of solar thermal, not PV. We could of course generalise the chart to show all solar power production, but given that CSP plays a relatively minor role in the ETM I would prefer to focus on other issues.

I think the reason it's excluded in this chart is because CSP is a form of solar thermal, not PV.

Solid argument, I implicitly assumed the chart showed solar production, even though it says production of solar PV in the name.


feature add the aggregation function 'array_agg'

This function requires one arguments just as ARRAY_AGG(col) and col means the column whose values you want to aggregate. This function Aggregates the values including NULL in a column into an array and returns a value of the ARRAY data type.
Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 47.14 seconds
stream load tsv:          552 seconds loaded<PHONE_NUMBER>9 Bytes, about 129 MB/s
stream load json:         21 seconds loaded<PHONE_NUMBER> Bytes, about 107 MB/s
stream load orc:          64 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
insert into select:          29.5 seconds inserted 10000000 Rows, about 338K ops/s
storage size:<PHONE_NUMBER>0 Bytes

run buildall

run buildall

run buildall

run buildall


Feat: Create Patterns to contributing in repository

Create a pattern ESLINT
Create a CONTRIBUTING.md

At the moment it doesn't make sense for the project


resolving material conflicts is not yet reliable

materials need to be managed three times when opening the quikc guide model...
investigate and fix

one thing to consider: rounding of flaots


Upload command exits without error, but keyboard does not get new config

Initially I was getting hit by #50
I was able to workaround it by any of these two methods:

Using v1.2.4 on Windows
Compiling myself including #69 (this I tried on Linux to see if the problem was my Windows)

In both cases, when executing the upload command, it seems to be doing something (because the command takes a few seconds to finish) but at the end of the day it does nothing. They keyboard does not actually emit the keys.

config.yaml
orientation: normal

rows: 2
columns: 3
knobs: 1

layers:
  - buttons:
      - ["a", "ctrl-a", "b"]
      - ["e", "f", "g"]
    knobs:
      - ccw: "wheelup"
        press: "click"
        cw: "wheeldown"

  - buttons:
      - ["a", "ctrl-a", "b"]
      - ["e", "f", "g"]
    knobs:
      - ccw: "wheelup"
        press: "click"
        cw: "wheeldown"

  - buttons:
      - ["a", "ctrl-a", "b"]
      - ["e", "f", "g"]
    knobs:
      - ccw: "wheelup"
        press: "click"
        cw: "wheeldown"

I had to use the --endpoint-address 2 flag (to be honest, I do not know what that is, I am just following the advice in #69), because otherwise I get this:
Error: single interrupt endpoint is expected, got:
EndpointDescriptor {
    bLength: 7,
    bDescriptorType: 5,
    bEndpointAddress: 130,
    bmAttributes: 3,
    wMaxPacketSize: 8,
    bInterval: 10,
}
EndpointDescriptor {
    bLength: 7,
    bDescriptorType: 5,
    bEndpointAddress: 2,
    bmAttributes: 3,
    wMaxPacketSize: 8,
    bInterval: 10,
}

You may try to choose one using --endpoint-address

I tried with the endpoint 130, but then I get a Windows popup saying a device is not recognized or something like that.
I also find it interesting that after disconnecting/connecting the keyboard, if I turn the knob it will launch this:

By the way, they keyboard I have has 6 keys and 1 knob. Bought it on Temu but won't paste the link to it unless needed. This was the image in the listing:

I just realized that when I connect the keyboard it shows as CH552. So now I am not sure if that's why it does not work properly (the repo being for ch57x)

Please check version 1.4.4


Add seed corpus entry

This change should improve fuzing coverage by providing a good starting point for mutation. i.e. a script that covers the majority of the api surface.

The build failures don't seem to be related to this change.

This should help fill gaps in the code coverage like this one https://storage.googleapis.com/oss-fuzz-coverage/rhai/reports/20231227/linux/src/rhai/src/packages/string_more.rs.html#L171

Not that I understand any of this, but merge away!


Add support for handle on 'Value' setter in ReactiveProperty.

I love mutable!

Why does this not exist anymore? Any chance you can include it back? I need it so badly! 🙏


Migrate React Query to v4

Changes

Migrate React Query to v4

Context

Since v4 belongs to the @tankstack/ scope, Renovate wasn't aware of the new version. I've migrated it manually.
Some advantages of v4:

 Optimized for modern browsers (which also means smaller package size)
Support for React v18
Offline support

Tests

I've checked my work by:

[ ] Adding new tests or adjusting existing tests
[X] Testing manually

Since v4 belongs to the @tankstack/ scope, Renovate wasn't aware of the new version. I've migrated it manually.

Thanks for telling me. I'm fixing this problem upstream at the renovatebot/renovate repository. Can you check my issue, and check if I'm getting the correct upgrade path?

https://github.com/renovatebot/renovate/issues/17161

Our "repository search bar" on the Vercel preview still works. I guess that means this PR is good to go?

Yeah, basically! Happo caught a problem where the spinner was always displayed, but I fixed it by using isFetching instead of isLoading. Everything else keeps working the same way.


⚠ ClamAV has degraded performance

In e0b63b1, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 566 ms

Resolved: ClamAV performance has improved in d684f07.


WIP: bluetooth: sensor data notifications

This adds bluetooth notifications for new (or archived) sensor data.

Sensor notifications are working. I am having some connectivity issues on android specifically, but I think it is a permissions issue on the android side. Will need to investigate further in the future.
Notification log on pyrrha device

Received notification on mobile testing app

Also, it is correctly sending out archived records first when it pushes a successful notification. Once all archived records are sent and cleared from internal storage, it will start sending only new data. I did not test sending a large number of notifications through this interface, but it worked fine sending the small amounts I tested (10-20)


nixpkgs-fmt: fix erroneous debug output

Prior to this, when used in conjunction with e.g. format-all-mode,
garbage like
node: NODE_STRING@[8934; 9139), indent: IndentLevel { level: 3, alignment: 0 }

would be written to the file.

Motivation for this change
Things done

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

[ ] NixOS
[ ] macOS
[x] other Linux distributions

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

While personally I reverted back to 0.7.0 perhaps it might be worth checking if upstream would be willing to cut a new release? Without this patch 0.8.0 was rendered pretty much unusable…

Done here: https://github.com/nix-community/nixpkgs-fmt/issues/201#issuecomment-621333061.

sorry about the breaking changes. Another release is coming tomorrow with all the fixes.

All good. I'll leave this open until then (so people can stumble across it), if that works for you. Feel free to close this after the update :)

@ofborg eval
(testing a deploy)

we hit another issue which will probably be fixed tomorrow

looks like it's going to take longer


POL for DAO Fund

Would like Governance / community members to be able to call the following methods on DAO Fund. This is just a starting point, let's discuss further needs:
balnEarnings

Internal database that is increased when BALN is claimed from Rewards AND from Network Fees

@external claimRewards

calls the "claim" method on rewards
increases internal database balnEarnings by amount of BALN claimed

@external claimNetworkFees

calls the "claim" method on dividends
adds newly claimed sICX and bnUSD to DAO Fund balances
adds newly claimed BALN tokens to balnEarnings database

@external lockBALN

lockAmount = getBalnEarnings
lock the lockAmount for 4 years
balnEarnings = 0 (reset balnEarnings to 0 after locking)

@governanceOnly depositToDex

parameters (tokenAddressOne, amountOne, tokenAddressTwo, amountTwo)
MUST deposit two tokens to the DEX and must supply amounts for each one

@external supplyLiquidity

After the governance vote is accomplished, this calls the "add" (I think?) method to actually SUPPLY the liquidity. I forget which method is to make initial deposits and which is to commit to the pool. This external method is to commit to the pool

@governanceOnly withdrawLiquidity

parameters (poolID, amount)
amount = amount of LP tokens we want to burn/withdraw for a given poolID
withdrawn amounts are added to the DAO Fund holdings

balnEarnings could potentially be omitted and just locked automatically when claimed.
depositToDex and supplyLiquidity  could have have a "upper function" doing both, making us able to do both in a vote easily

True, good point. One thing that just crossed my mind though is that getBalnEarnings could be used as a statistic tracking API to see how much BALN the DAO has taken off the market via POL. It's actually an interesting way to track DAO cost savings, since liquidity incentives are similar to marketing spend / customer acquisition cost.

So balnEarnings should not be reset as mentioned as above then but rather just keep increasing and storing all the baln rewards we get.

Updated from original suggestion:
balnEarnings

Internal database that is increased when BALN is claimed from Rewards

feeEarnings

Internal database that is increased when network fees are claimed from Dividends
multi-levelDB that stores both a token address and the fees associated with it

@external claimRewards

calls the "claim" method on rewards
creates claimedAmount as a temp variable to store the amount of BALN receives
calls lockBALN(claimedAmount) to lock the newly claim BALN for 4 years
calls balnEarnings.add(claimedAmount) for stat-tracking purposes

@external claimNetworkFees

calls the "claim" method on dividends
creates claimedAmount as a temp variable to store the amount of BALN receives
adds newly claimed tokens to DAO Fund balances
calls feeEarnings.add(token, claimedAmount) for each token received as fees (BALN, bnUSD)

@governanceOnly supplyLiquidity

parameters (tokenAddressOne, amountOne, tokenAddressTwo, amountTwo)
MUST deposit two tokens to the DEX and must supply amounts for each one
Adds both tokens to the DEX and commits them as liquidity

@governanceOnly withdrawLiquidity

parameters (poolID, amount)
amount = amount of LP tokens we want to burn/withdraw for a given poolID
withdrawn amounts are added to the DAO Fund holdings

Do we want to track in the daofund the pools we are in or just leave that to the frontend?
Also if we where to use karma they would give us LP tokens right? Then we would need a function that stakes in a pool. Could be a function callable by any1.
Something like @external StakeLP(BigInteger poolId) which just stakes it all. Or do we ever just wanna hold lp tokens?


Add new flag for variants with discrepant frequencies

Julia has been hard at work generating combined frequencies across the exomes and genomes/running statistical tests on these freqs. We would like to add a flag to variants with very discrepant frequencies between the two data types (as flagged by the Cochran–Mantel–Haenszel test) as part of the v4.1 release. The flag likely should have a hover-over that includes the actual statistic and p-value.
Tagging @jkgoodrich in case I've mixed up the messaging and/or to provide more details

Table for demo: gs://gnomad-tmp/release/4.1/ht/joint/gnomad.joint.v4.1.faf.filtered.ht; also see thread.
Could you flag variants with values less than 10e-4 in this field: freq_comparison_stats.cochran_mantel_haenszel_test.p_value?
Also, in the flag hover-over text, could you include the actual value of this field (p-value) and the odds ratio (freq_comparison_stats.cochran_mantel_haenszel_test.odds_ratio)? Mark requested displaying the actual values, and I'd like to get feedback from him/others as to whether they find this information helpful to include


Metadata contract

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #113
Which docs this PR relation:
Ref #
Which toolchain this PR adaption:
No Breaking Change
Special notes for your reviewer:

Codecov Report

Merging #126 (2e2cf48) into main (782acfc) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #126   +/-   ##
=======================================
  Coverage   38.02%   38.02%
=======================================
  Files          77       77
  Lines        5254     5254
=======================================
  Hits         1998     1998
  Misses       3256     3256


No Qt platform plugin could be initialized - Docker

I am following the instructions under 'Reproducing Results' in a docker container.
`$ python -m tetranerf.scripts.process_blender --transforms /data/blender/ficus/transforms_train.json --output /data/blender/ficus
Images copied to /tmp/tmp7q1swz2m/images
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.
 This is related:
https://github.com/NVlabs/instant-ngp/discussions/300
https://github.com/NVlabs/instant-ngp/issues/329
https://github.com/nerfstudio-project/nerfstudio/issues/524

I am building a new image with COLMAP built from source.  I hope it will resolve the issue.

Ok, I have updated the dockerfile and the image. Can you please test it now?

The latest image has resolved the issue! Thank you very much for all that you have done :)


Duplicate HTML element when running test

What is your Test Scenario?

Open a pop up to upload a document with a form data
What is the Current behavior?

I open the pop-up window and get duplicated elements.

What is the Expected behavior?

Should be only one element with Save, Cancel and Help button
If i reproduce it manually I don't get duplicated elements.

What is your web application and your TestCafe test code?

Your website URL (or attach your complete example):

Your Environment details:

testcafe version:                   1.2.0
node.js version:                    v10.15.3
command-line arguments:
browser name and version:  Chrome 75
platform and version:           Windows
other:

I apologize for the late response.
This issue is unclear since the TestCafe code should not duplicate any DOM elements. I see some error in your browser console. Probably, this error somehow affects the rendering.
I see the site url in your screenshots. However, I cannot get access to it since it requires authentication. Could you please create a user for testing purposes and share their credentials with us?
I would also appreciate it if you provide us with your testing code.


fix: bump sc4s/splunk versions

:tada: This PR is included in version 1.8.26 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


pull request for e2e test at 12/02/2016 02:56: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.


[FacultyStatistics] Added optional chaining to function roundValue

Added optional chaining to function roundValue

After a long and thorough review, this PR is now FD approved. :medal_sports: