Problem with combine/compress assets with CDN link

Im customize Jquery Asset Bundle in config/main.php like manual said:
assetManager' => [
            'bundles' => [
                'yii\web\JqueryAsset' => [
                    'sourcePath' => null,   // do not publish the bundle
                    'js' => [
                        '//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js',
                    ]

But after combine and compress by "php yii assets..." cli command, in combine js file i see code from jquery lib.
If Im add "custom Jquery Asset Bundle" section from  config/main.php in asset template config, and run asset combine command, i see this:
Collecting source bundles information...
Creating output bundle 'webmasters\assets\AllAssets':
  Compressing JavaScript files...
PHP Warning 'yii\base\ErrorException' with message 'file_get_contents(///ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js): failed to open stream: No such file or directory'

How use Jquery CDN and did not receive second jquery in common js file all-{hash}.js ?

Issue resolved by commit 94f702f


Version 4 docs broken

Description

Foundation version 4 documentation is located at https://foundation.zurb.com/sites/docs/v/4.3.2/index.html. If you go there you'll see it it completely broken, it is just a wall of text only, none of the styles/scripts work.
...
Possible Solution

Please update the v4 docs page to reflect correct location of js and css assets?
Checklist

[X] I have read and follow the CONTRIBUTING.md document.
[X] here are no other issues similar to this one.
[X] The issue title and template are correctly filled.

Hi @xamount,
we are aware of this. So far there are only working Docsets for Zeal, Dash (by Kapeli) and so on.
Also see https://github.com/zurb/foundation-sites/issues/9512


New Events logs are missing in Patient consultation

Describe the bug
the patient consultation page is not showing any newly created events log in the frontend.
To Reproduce
Steps to reproduce the behavior:

Go to any patient consultation page
create a new log update
go to the consultation page and events log tab
See error

Expected behavior
the newly created events log should be visible on the frontend
Screenshots

the issue is fixed in https://github.com/ohcnetwork/care/pull/2501


zstd_safe::decompress: it is not documented, that you need to have enough capacity

I tried to pass a vector as a first argument to zstd_safe::decompress. And it turned out I should have enough capacity to store all decompressed data. Please, document this

Indeed, as documented it's a very thin wrapper around ZSTD_decompress, and all the same caveats and requirements apply. I added a paragraph to describe this particular point.


Floats in GD Extension aren't working properly.

Godot version
4.0.dev d04aa9a114811e27c672e9874c262e91299216f0
System information
Any
Issue description
Calling back into Godot from a GD Extension plugin doesn't work when float parameters are used. Doubles work fine.
Steps to reproduce
Create a GD extension plugin that uses an object within Godot that either has float parameters or returns a float. It will either send or return an incorrect value.
For instance, in my XR plugin I have the following code:
XRServer *xr_server = XRServer::get_singleton();
float world_scale = xr_server->get_world_scale();

This should set world_scale to 1.0 but it gets the value 0.0

Note that I've since changed this function to return a double.

Minimal reproduction project
No response

I believe this was fixed a long time ago.


When installed to home screen (via Chrome on Android), it launches in landscape mode

Should not be frozen to landscape mode, and rotate with the device.

@championswimmer
Anyone working on this issue?
would like to work.

@championswimmer unable to reproduce on my android phone.
Either this is resolved or I/m unable to understand exactly what you are trying to say.

has been resolved


no frame received

librealsense
2.50.0 RELEASE

OS
Windows

Name
Intel RealSense D435I

Serial Number
112322076662

Firmware Version
<IP_ADDRESS>

Advanced Mode
YES

Camera Locked
YES

Usb Type Descriptor
2.1

Product Line
D400

Asic Serial Number
108223052418

Firmware Update Id
108223052418

Please provide a description of the problem

Hi @hayrettin46  Could you provide more information about your problem please, including any warning / error messages.
Which stream type (RGB, Depth or Motion Module) is the No Frames Received message displayed on?
Also, are you enabling all three stream types (RGB, Depth or Motion Module) at the same time?

Hi
I installed sdk on 2 different laptops, in one of them the pyrealsense2
module is deactivated, but images can be taken from the realsense viewer.
The other laptop has usb 2.0 and I can't get a frame. I haven't tried all 3
mods at the same time. Thanks
12 Ara 2021 Pzr 14:59 tarihinde MartyG-RealSense @.***>
şunu yazdı:

Hi @hayrettin46 https://github.com/hayrettin46 Could you provide more
information about your problem please, including any warning / error
messages.
Which stream type (RGB, Depth or Motion Module) is the No Frames Received
message displayed on?
Also, are you enabling all three stream types (RGB, Depth or Motion
Module) at the same time?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/IntelRealSense/librealsense/issues/10048#issuecomment-991884829,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APWPG7IB7UVFR7AU3PG2U5DUQSFBRANCNFSM5J4DSQ6Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

I asked whether you had all three stream types enabled at the same time because when this is done, the enabling of the Motion Module can cause Frames Not Received to be displayed in the RealSense Viewer.  So if you are not enabling three streams including the Motion Module then that is fine.
On a USB 2.0 connection a 400 Series camera has only a limited number of resolution and FPS settings available compared to when the camera is used on USB 3.  This is described in the documentation in the link below.
https://www.intelrealsense.com/usb2-support-for-intel-realsense-technology/
You should be able to achieve a depth stream of 640x480 resolution at 30 FPS on a USB 2 connection on D435i though, as demonstrated in the image below from my own D435i.

Can you confirm whether you are using the official 1 meter USB cable supplied with the camera or a longer USB cable of your own choice, please?

Hi @hayrettin46  Do you require further assistance with this case, please?  Thanks!

Case closed due to no further comments received.


UI: sticker/link back to flat-viewer github repo

I think this is worth considering 😃
UI/homepage leaves lots of space for a sticker, and repo gives a lot of helpful context about the tool which the UI/homepage doesn't (being nice and concise themselves)

great idea to add more info! I added a link to the writeup, which walks through the background and links to all of the things


WIP: Validation webhook troubleshooting: add a step by step guide

This was copied from https://hackmd.io/@maelvls/debug-cert-manager-webhook.

🚧 See it for yourself: https://deploy-preview-1002--cert-manager-website.netlify.app/docs/faq/webhook/ 🚧

The "friction log" work showed us that the "compatibilty" page is very confusing as-is. Since 99% of people first try to install and then look on Google for the error message that they get, I propose not to group the caveats per Cloud. Instead, they are associated to the error message that you will see when trying to use that Cloud.
I think that we should still show a compatibility table with all the possible Kubernetes distributions/providers, and link the caveats to this new guide page.
I also propose to eliminate the concepts page for webhooks. The only purpose of knowing about the webhook arises when debugging it; otherwise, people won't naturally read that page. If this page was meant for new contributors, then that page should be under the contributor menu. For now, I propose to move the "webhook concepts" page to this new guide page.
I aim at not breaking any HTML anchors nor links that people may have already shared about the three pages I changed. I don't know how to not break anyone's anchors in URLs.

@wallrj Hi, I tried fixing the issues you raised, except for the "Error 7" comment for which I wasn't able to provide a fix. Please take another look when you can! Thank you.

Ah, there are a couple remaining spelling errors:
 +++ Running spell check
    content/docs/troubleshooting/webhook.md
      606 | the all-cathing "context deadline exceeded" e
      737 | instead a ClientHello packet.

I will now add an entry to the changelog in https://cert-manager.io/docs/contributing/google-season-of-docs/2022/improve-navigation-and-structure/.

Phew, the section "Error 1: connect: connection refused" isn't great at all for now. I tested it and it feels confusing.


Black&White mode not working as intended.

When changing Image -> Attributes -> Colors -> Black & White
A few things don't work correctly.
Namely the patterns don't draw the same way they did in the original paint, appear to work more like brushes. A single click with the paint tool produces the expected pattern, but clicking and dragging 'smears' the pattern.
Same issue applies with the line tool.
Rectangle appears to draw the border correctly, but is unable to fill.
Polygon does not draw the border correctly and cannot fill.
Same issues apply for ellipse and rounded rectangle.
The paint bucket/fill does not appear to work with the black & white patterns either.
Seeing as how airbrush works just fine with the black & white patterns I don't believe it would be too difficult to add that functionality to the paint tool.

Most of this stuff, along with #7 and #6, should be easy, but it's all complicated by trying to make everything anti-anti-aliased. Antialiasing is the default and only option (except when scaling images) in the Canvas API, but aliasing, aside from being retro, has the practical benefit that the fill tool naturally avoids leaving ugly seams along the edges of shapes, without having to have a tolerance setting.
I've been looking into using pixi.js for rendering shapes. It's not perfect: it doesn't support using an even-odd winding rule like mspaint uses, and 1px strokes on shapes don't work quite right... but it should definitely be a step up!
I don't see the failure-to-fill problem in Chrome, Firefox, or Edge.
But I'll be working on this soon (adding pixi) and whatever problem it is it probably won't be relevant. 😄

The brush and line tools currently use a cached offscreen canvas because of some slow aliased circle drawing code, so the pattern is applied only when rendering said canvas.

The eraser, airbrush, and rectangle tools, and currently also the rounded rectangle and ellipse tools use fillRect. They all work with patterns as far as I can tell.

The curve and polygon tools don't yet support anti-anti-aliasing (AAA) so they just use the canvas API normally which means they work with patterns. The polygon actually tries to do AAA for the preview, for no particularly good reason, so it looks smeared like the line tool until it's finalized.

The fill tool uses an algorithm that replaces pixels in-place in an ImageData object, and I see a couple options for making it work with patterns:

rewrite it to keep track of the pixels it's affecting / has visited in a separate ImageData object, and then use that to draw the fill, as a mask for the selected pattern.
access the pattern data during the fill algorithm; there's no direct way to access a Pattern object's data, width or height, so it would need to be stored elsewhere.

I've made some progress on this.
The line, curve, polygon, rectangle, rounded rectangle, and ellipse tools all now support patterns and aliasing.
Remaining are the fill, brush, and pencil tools, as well as the eraser tool when used with right click to replace colors.

This is done. I think I finished this up last year for the Winter Update (the Winter theme has candy cane patterns in the palette :barber: :art: )


Error help

I train the model in windows, but there are problems with nccl:
Traceback (most recent call last):
File "scripts/train.py", line 74, in main
trainer.fit(model_module, datamodule=data_module, ckpt_path=ckpt_path)
File "D:\anaconda3\lib\site-packages\pytorch_lightning\trainer\trainer.py", line 770, in fit
self._call_and_handle_interrupt(
File "D:\anaconda3\lib\site-packages\pytorch_lightning\trainer\trainer.py", line 721, in _call_and_handle_interrupt
return self.strategy.launcher.launch(trainer_fn, *args, trainer=self, **kwargs)
File "D:\anaconda3\lib\site-packages\pytorch_lightning\strategies\launchers\subprocess_script.py", line 93, in launch
return function(*args, **kwargs)
File "D:\anaconda3\lib\site-packages\pytorch_lightning\trainer\trainer.py", line 811, in _fit_impl
results = self._run(model, ckpt_path=self.ckpt_path)
File "D:\anaconda3\lib\site-packages\pytorch_lightning\trainer\trainer.py", line 1171, in _run
self.strategy.setup_environment()
File "D:\anaconda3\lib\site-packages\pytorch_lightning\strategies\ddp.py", line 152, in setup_environment
self.setup_distributed()
File "D:\anaconda3\lib\site-packages\pytorch_lightning\strategies\ddp.py", line 205, in setup_distributed
init_dist_connection(self.cluster_environment, self._process_group_backend)
File "D:\anaconda3\lib\site-packages\pytorch_lightning\utilities\distributed.py", line 355, in init_dist_connection
torch.distributed.init_process_group(torch_distributed_backend, rank=global_rank, world_size=world_size, **kwargs)
File "D:\anaconda3\lib\site-packages\torch\distributed\distributed_c10d.py", line 537, in init_process_group
default_pg = _new_process_group_helper(
File "D:\anaconda3\lib\site-packages\torch\distributed\distributed_c10d.py", line 639, in _new_process_group_helper
raise RuntimeError("Distributed package doesn't have NCCL "
RuntimeError: Distributed package doesn't have NCCL built in
Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.
I know that running on windows does not support nccl. So how should I modify it so that I can train normally?

From https://pytorch.org/docs/stable/distributed.html it looks like there are some other backends - gloo and mpi, maybe try passing those for the distributed backend.


CSS to choose

Need to be discussed first.
The final app should have less than 5 pages I think:

account for login, register, forgot password (only for the Cloud version)
Spring Boot generator
maybe one day Quarkus generator
Micronaut generator
etc

Several options here:

build our own CSS, and embedded in the app -> most simplest
use an existing CSS (but we won't use all elements, so maybe it's overkill?)

bootstrap
material
etc

I'm open to discuss about it.
My thoughts is that we shouldnt use bootstrap or materialize as they are too complex for our small needs. However, Tailwind could be great.
I would like to mention @nonomoho and @seraphinandrieux here 🎨

@Franceq34 I'm glad to see you have thought to me for this subject ^^
On my side, i'm not an expert at all about CSS subjects. I only had the opportunity to use a custom Pattern Library.
However I agree on the idea to go to the simplest option for now.
Maybe Later we will have to refactoring this part...

After thinking about this, it took too much time to start from scratch.
So the idea would be to use an existing CSS.
I tried quasar and I'm really happy with this, so I think we should go in this direction

It was hard to write unit tests with Quasar, so the current choice is to choose simple bootstrap. We use it since several years with generator-jhipster, it's simple, it works well.
So I'm fine to use it

I used tailwind and like it very much, but I guess bootstrap is the best choice as it is used widely troughout the industry and can be custimized very well if desired for the use case.

yes we choose bootstrap
I'm waiting @sabrinapayet to submit some pull requests to improve this part
Then, we'll be able to add more button/api to generate all the features

I think it was done!
Thanks @sabrinapayet for your work!

Bug bounty claim : https://opencollective.com/generator-jhipster/expenses/73694

@sabrinapayet : approved


Bump JRuby to <IP_ADDRESS>

This PR bumps JRuby to the latest version for the 1.5.x branch.
We might not need it anymore, but if we come into the situation that we do another release we should have the latest version of JRuby.

Close this for now.
Anybody running AsciidoctorJ 1.5.x with Java 8 should be able to use JRuby 9.2.x.0.
I don't want to create a release for this anymore because.


KAFKA-4643: Improve test coverage of StreamsKafkaClient

The commit brings improved test coverage for StreamsKafkaClientTest.java

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.11/6708/
Test PASSed (JDK 7 and Scala 2.11).

Thanks for the PR. We want to replace StreamsKafkaClient with the AdminClient introduced in <IP_ADDRESS>, so not sure if it's worth it to add more tests. Not sure if this was explained in the JIRA. Sorry, if not. cc @enothereska @guozhangwang

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/6693/
Test PASSed (JDK 8 and Scala 2.12).

We do want to replace with AdminClient at some time, but it's not sure if we will have time in the next 1.0.0 release. So I think this PR is still valuable. @dguy could you take a look at this one?

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.11/6730/
Test PASSed (JDK 7 and Scala 2.11).

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/6715/
Test PASSed (JDK 8 and Scala 2.12).

Looks like there is something up with this PR. There are a bunch of files that shouldn't be here, i.e, the documentation

@dguy sorry, I will reopen it against the latest master.

@dguy reopened #3663


Add a membership management using the discovery

about #133
Summary
One socket is created which connects the nodes using unicast and elects a master node.
Only the master fires the trigger. If the master node dies, elects another master.
Advantage

We can build redanduncy with n. (Currently, only two)
Dependency with redis can be removed.
No external health check manager is required.

Configuration

DISCOVER_DESTINATIONS

Environment variable that turns this pr on/off.
If there is no value in this environment variable, the socket does not created, and the trigger execution logic functions as it did in the past(activehost===host).
Input the addresses of the nodes separated by a comma.
ex) DISCOVER_DESTINATIONS=host0.alarm.io,host1.alarm.io,host2.alarm.io

DISCOVER_ADDRESS ,DISCOVER_PORT

The ip address and port where the socket is created.

DISCOVER_MASTER_TIMEOUT , DISCOVER_NODE_TIMEOUT , DISCOVER_CHECK_INTERVAL, DISCOVER_HELLO_INTERVAL

It is configuration for health check interval and timeout.
The following conditions must be met:
DISCOVER_MASTER_TIMEOUT  >= DISCOVER_NODE_TIMEOUT  >= DISCOVER_CHECK_INTERVAL > DISCOVER_HELLO_INTERVAL

Compatibility
If this option is turned off, it can still be used as it was.

This sounds really cool. Wish I had known about this node-discovery package before.  I will take a look at your PR.  Thanks so much for your work on this.

@KeonHee have you signed an Apache CLA?  You need to do this to contribute code.  https://github.com/apache/incubator-openwhisk/blob/master/CONTRIBUTING.md

@KeonHee - I tried this out by putting in two different addresses for DISCOVER_DESTINATIONS.  However, both are starting up as masters.  They do not seem to be aware of one another.

@KeonHee - I think the issue I am having has to do with the fact that this requires udp for the discovery.  We use tcp and not sure if we can even use udp across our networks.  I am having issues when trying.

@dgrove-oss - will this udp discovery work for kubernetes?  I know we will be moving to kubernetes soon.  Sounds like it works well for docker-swarm according to @KeonHee.

@rabbah, @dubee , @csantanapr - someone with commit rights (which I do not have) will need to review this PR.

I think on kubernetes we would do this differently.  More like how we are deploying the controllers.  I do not think we would need to use a discovery service.
We would deploy the alarm provider as a StatefulSet  with the number of replicas desired for redundancy.  We would define a Kubernetes service to provide a stable way for clients of the alarm packge to talk to its instances.  If the instances needed to communicate with each other for their own internal reasons (for example like the AKKA clustering we do with the controller), they would use logical names like alarmservice-0.alarmservice.openwhisk, alarmservice-1.alarmservice.openwhisk, etc.  Kubernetes will automatically updates its internal DNS tables to map from these names to the actual ip addresses for the currently running containers.


Add authorization to contacts application

Authorization
This pull request adds authorization middleware to the contacts application. In order to authorize traffic without getting DENY on every request, the authorization service must be deployed. Deploying the authorization service requires access to internal GitHub repositories, so I've added a command-line flag that makes it easy to switch authorization on/off. By default, the contacts application will not authorize requests.
Here's a brief summary of the changes I've made:

Add authorization middleware inside the gRPC server's main.go
Create application PARGs. These determine access roles, permissions, etc. at the policy level.
Small changes to the Makefile and manifest that allow the example application to be runnable in a Kubernetes environment (Kubernetes needs fully-qualified image names).

Good to merge this?


Adding terms in binding constraints doesn't work

Description
Provide a clear and concise description of the issue.
Steps to Reproduce

Open a study (version 8.6)
Add a binding constraint
Add a term in the binding constraint.

Actual Behavior

If the constraint is of type "thermal", we get the following error message

Cluster 'pologne.Thermique' does not exist in binding constraint 'bc1'

If it is of "link" type, the user cannot select the areas that define the term (not in the list)
Describe what actually happened.

Expected Behavior
The user should ba able to add terms to a binding constraint
Describe what you expected to happen.
Screenshots

Possible Solution
Fix bug ?
If you have a solution in mind, describe it here.
Environment

[X] Production
[?] Staging

Additional Information
Add any other context about the problem here.

If applicable, provide the study ID that this issue relates to: c6360b7d-5bff-47a3-9d1d-6753c59be5f6
The date and time when the issue occurred:
Browser and version: Firefox 121.0
Operating System: Ubuntu 20.04

Contournement possible : nommer les zones de sorte que name == id, donc minuscules, pas d'espaces, caractères spéciaux


SPI struct implements both SpiBus and SpiDevice

Currently our Spidev wrapper struct implements both SpiBus and SpiDevice from embedded-hal. I think this is likely to lead to some confusion, especially since the SpiBus methods will still actually be using a shared SPI bus, toggling CS, and multiplexing with any other spidev devices on the same bus.
We discussed this a bit in #87 and while the main problem there is resolved by the new embedded-hal design, I think the split suggested is still worth considering. The proposal is to have two wrapper structs, SpidevBus and SpidevDevice perhaps, where:

SpidevBus implements just the SpiBus trait

we configure spidev to not drive the associated CS pin
we explain in the documentation that when this struct is used, it must be the only active spidev device on that bus
we encourage users to give it a CS pin that is not connected to anything, since whatever pin is assigned to it in the device tree can't be re-used as GPIO (and therefore can't be used as a CS)
this struct can then be used with any of the bus-multiplexing crates (like embedded-hal-bus) to generate lots of SpiDevice objects, using generic GPIO for CS control, or used when dedicated bus access is required (eg to generate smart LED waveforms)
we are basically lying to the kernel about it being a single device, because there's no way to request exclusive bus access with spidev

SpidevDevice implements just the SpiDevice trait

it's already a perfect fit for SpiDevice, the kernel handles sharing and CS for us, even with other programs
it will work just as users expect
but their device tree has to be set up to create the device and use the right CS

I'm happy to implement this as a PR if it sounds good to people, but it'd be great to get some feedback first or any suggestions on how it might be better done, especially if there's any clever spidev-related tricks that might be useful.

Sounds great to me!


⚠ Node - 54360d94.yalaso.top has degraded performance

In 2cd29e1, Node - 54360d94.yalaso.top (http://54360d94.yalaso.top/api/v1/ping) experienced degraded performance:

HTTP code: 200
Response time: 5130 ms

Resolved: Node - 54360d94.yalaso.top performance has improved in 56741c2.


Anonymous class help

Can anyone explain how and when we should be using anonymous class definitions? Having a hard time trying to see in what situations one should use anon class functions.
Thanks

typically when an abstract class is defined with incomplete methods and each anon class has a different way to write these methods
An example is recitation 7 2a) where u have an abstract Func class that has an apply method that is incomplete and using anon classes u define how the apply method should work for the 2 functions that they give, so that each function object has its own implementation of apply without creating an entire class that inherits from Func just to create that one function object

this is how the recitation guide creates a anon class by defining the method inside curly brackets after initialising the Func object

another example is joining functional interfaces like 2 predicates together
new Predicate() {
public boolean test(T t) {
return p1.test(t) && p2.test(t):
}
}
but you could just use lambdas too

use anonymous classes when that are of one time use such as a producer object with a specific function

Anonymous inner classes are useful when u need to capture a variable, just like how u do in lambdas

Use anonymous classes when you need to create a quick, one-off implementation of an interface or subclass a type without explicitly declaring a new named class.
They are often used in scenarios where the implementation is simple and used only in a single location, making the code more concise. If an interface implementation or subclass is needed only once throughout your application, using an anonymous class can be less verbose than declaring a separate named class.


Implement HoodieSQLStreamer to pull from source Hoodie Dataset, transform and upsert into a target Hoodie dataset

When Joins need not be spilled on to disk - we can incrementally pull, transform and upsert in one DAG.
This utility will show case that.

DeltaStreamer now does this!! yaay!


How to clear interrupt with peripheral handle

Few weeks ago I started to learn Rust Embedded.
Now I'm stuck, and I would like to ask you for help. So..
I wanted to use TIM3 in my code to change variable (in future peripheral state) and clear (unpend?) interrupt via registers inside ISR.
In C I did something like this inside ISR:
void TIM3_IRQHandler(void)
{
  if (TIM3->SR & TIM_SR_UIF)
  {
    TIM3->SR &= ~(TIM_SR_UIF);
  }
}

..and now I'm stuck to do this in Rust.
At first I show what I've done so far.
#![no_std]
#![no_main]

use panic_halt as _;

use cortex_m_rt::entry;

use core::{cell::RefCell};
use core::ops::DerefMut;
use cortex_m::interrupt::{self, Mutex};
use stm32g0::stm32g071::{self, Interrupt, NVIC, TIM3};

static G_TIM: Mutex<RefCell<Option<stm32g071::TIM3>>> =
    Mutex::new(RefCell::new(None));

#[entry]
fn main() -> ! {
    let p = stm32g071::Peripherals::take().unwrap();

    let rcc_r = &p.RCC;

    let timer_r = &p.TIM3;

    let tim3 = p.TIM3;

    unsafe {
        NVIC::unmask(Interrupt::TIM3);
    };

    rcc_r.apbenr1.write(|w| w.tim3en().set_bit());

    prepare_timer3(timer_r);

    interrupt::free(|cs| {
        G_TIM.borrow(cs).replace(Some(tim3))
    });

    loop {
    }
}

fn prepare_timer3(tim3_r_handle: &TIM3) {
    tim3_r_handle.cr1.write(|w| w.cen().clear_bit());
    tim3_r_handle.psc.write(|w| unsafe { w.psc().bits(16000) });
    tim3_r_handle.arr.write(|w| unsafe { w.arr_l().bits(100) });
    tim3_r_handle.egr.write(|w| w.ug().set_bit());
    tim3_r_handle.dier.write(|w| w.uie().set_bit());
    tim3_r_handle.cr1.write(|w| w.cen().set_bit());
}

#[interrupt]
fn TIM3() {
    interrupt::free(|cs| {
        if let Some(ref mut tim3) =  G_TIM.borrow(cs).borrow_mut().deref_mut() {
            tim3.sr.write(|w| w.uif().clear_bit());
        }
    })
}

And I get this compilation error:
error: cannot find attribute `interrupt` in this scope
  --> src/main.rs:51:3
   |
51 | #[interrupt]
   |   ^^^^^^^^^
   |
   = note: consider importing one of these items:
           cortex_m_rt::interrupt
           crate::stm32g071::interrupt
           stm32g0::stm32g071::interrupt
note: `interrupt` is imported here, but it is a module, not an attribute
  --> src/main.rs:10:27
   |
10 | use cortex_m::interrupt::{self, Mutex};
   |                           ^^^^

error: could not compile `blink-nucleo-g0` due to previous error

I have problem how to resolve those dependency problem.
Could you tell me also that what I did with this Mutex G_TIM is fine?
I mean I did this after read this article: https://docs.rust-embedded.org/book/concurrency/#sharing-peripherals
I also read this https://users.rust-lang.org/t/rust-embedded-stm32f303-timer-interrupt-hanging/40323 but I don't want to use hal crates.
I also asked at Stackoverflow: how-to-clear-interrupt-with-perpiheral-handle-embedded-rust
... and Rust forum: https://users.rust-lang.org/t/how-to-clear-interrupt-with-peripheral-handle/67214

I think the current problem is that you overwrite the interrupt with your local assignment of the module here use cortex_m::interrupt::{self, Mutex};.
Maybe just removing the self there and using cortex_m::interrupt::free at the bottom will solver your problem already.

I changed to:
use cortex_m::interrupt::free;
use cortex_m::interrupt::Mutex;
use stm32g0::stm32g071::{self, Interrupt, NVIC, TIM3, interrupt};

and usage of interrupt::free to free.
#[interrupt]
fn TIM3() {
    free(|cs| {
        if let Some(ref mut tim3) =  G_TIM.borrow(cs).borrow_mut().deref_mut() {
            if tim3.sr.read().uif().bit_is_set() == true {
                tim3.sr.write(|w| w.uif().clear_bit());
            }
        }
    });
}

I think that my ISR is invkoing in loop. How to clear this interrupt properly?

Perhaps the problem is the interrupt fires before you call replace on the G_TIM Option, so it's None at that point. You could try making the critical section in main cover the entire timer setup and storing it in the option instead, like:
    rcc_r.apbenr1.write(|w| w.tim3en().set_bit());
    interrupt::free(|cs| {
        prepare_timer3(timer_r);
        G_TIM.borrow(cs).replace(Some(tim3))
    });

@adamgreig I think you are right, thank you. I show my whole code, maybe someone will need it in future.
#![no_std]
#![no_main]

use panic_halt as _;

use core::cell::RefCell;
use core::ops::DerefMut;
use cortex_m::interrupt::free;
use cortex_m::interrupt::Mutex;
use cortex_m_rt::entry;
use stm32g0::stm32g071::{self, interrupt, Interrupt, NVIC};

static G_TIM: Mutex<RefCell<Option<stm32g071::TIM2>>> = Mutex::new(RefCell::new(None));
static G_GPIOA: Mutex<RefCell<Option<stm32g071::GPIOA>>> = Mutex::new(RefCell::new(None));

#[entry]
fn main() -> ! {
    let p = stm32g071::Peripherals::take().unwrap();

    let gpioa = &p.GPIOA;
    let rcc_r = &p.RCC;

    // enable Clock for GPIOA
    rcc_r.iopenr.modify(|_, w| w.iopaen().set_bit());

    let tim2 = p.TIM2;

    // Nucleo G071RB LED so need to set as output
    gpioa.moder.modify(|_, w| unsafe { w.moder5().bits(0b01) });

    rcc_r.apbenr1.write(|w| w.tim2en().set_bit());
    free(|cs| {
        tim2.cr1.write(|w| w.cen().clear_bit());
        tim2.psc.write(|w| unsafe { w.psc().bits(16000) });
        tim2.arr.write(|w| unsafe { w.arr_l().bits(1000) });
        tim2.egr.write(|w| w.ug().set_bit());
        tim2.dier.write(|w| w.uie().set_bit());
        tim2.cr1.write(|w| w.cen().set_bit());
        G_TIM.borrow(cs).replace(Some(tim2));
    });

    // NVIC unmask interrupt
    unsafe {
        NVIC::unmask(Interrupt::TIM2);
    };

    let gpioa = p.GPIOA;
    free(|cs| {
        G_GPIOA.borrow(cs).replace(Some(gpioa));
    });

    let mut increment = 0;
    loop {
        increment += 1;
        if increment > 1000 {
            increment = 0;
        }
    }
}

#[interrupt]
fn TIM2() {
    free(|cs| {
        if let Some(ref mut tim2) = G_TIM.borrow(cs).borrow_mut().deref_mut() {
            tim2.sr.write(|w| w.uif().clear_bit());
        }
    });

    free(|cs| {
        if let Some(ref mut gpioa) = G_GPIOA.borrow(cs).borrow_mut().deref_mut() {
            if gpioa.odr.read().odr5().bit_is_set() {
                gpioa.odr.modify(|_, w| w.odr5().clear_bit());
            } else {
                gpioa.odr.modify(|_, w| w.odr5().set_bit());
            }
        }
    });
}

I have to read more about how Mutex works.


Compilation failure: Source option 5 is no longer supported. Use 6 or later. Target option 1.5 is no longer supported. Use 1.6 or later.

Hi,
I tried compiling the maven project via Sonarqube using the command:
mvn clean complie sonar:sonar -Dsonar.host.url=<mylocalhost> -Dsonar.login=<logintoken>
However, the compile failed with errors of
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project my-app: Compilation failure: Compilation failure:
[ERROR] Source option 5 is no longer supported. Use 6 or later.
[ERROR] Target option 1.5 is no longer supported. Use 1.6 or later.
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project my-app: Compilation failure

I assume something is outdated and maven doesn't support old version of it

I have one issue as well,
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] Source option 5 is no longer supported. Use 6 or later.
[ERROR] Target option 1.5 is no longer supported. Use 1.6 or later.
[INFO] 2 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  7.620 s
[INFO] Finished at: 2020-10-26T05:50:56-07:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project my-app: Compilation failure: Compilation failure:
[ERROR] Source option 5 is no longer supported. Use 6 or later.
[ERROR] Target option 1.5 is no longer supported. Use 1.6 or later.
[ERROR] -> [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/MojoFailureException
Build step 'Invoke top-level Maven targets' marked build as failure
Finished: FAILURE

Fixed in #264


Refactor Vortex compressor

The current compressor implements a single strategy based on sampling. But it's a bit of a hammer. Encodings have to decide themselves, in isolation, whether they should or shouldn't be included in the search space.
Instead, I think we want these broader compression strategies to be aware of the codecs they can run over. We could explicitly implement BtrBlocks, using their chosen set of encodings. Or we could implement a configurable statistical strategy, or anything else.
As part of this, we should pull the strategy implementations into a trait. The API for encodings to implement could be stripped down, or even removed entirely and left up to the strategy.

with #422 we can start building alternative compression strategy

relatedly #128


Chrome Multi-Window Tag Dragging Locks FancyZones in Overlay

Environment
Microsoft Windows [Version 10.0.18362.418]
Google Chrome Version 78.0.3904.87 (Official Build) (64-bit)
3840x1080 display with 100% (Recommended) scaling
FancyZones w/ PowerToys version 0.11.0
Setup

Set up Fancy zones with at least two zones (I use 3, with a 1920x1080 zone in the middle and a 960x1080 zone to the left and right.
Open two Google Chrome windows and populate them with several tabs (the contents of the tabs do not matter)
Although you can successfully drag the full windows, if you attempt to click and drag a tab out of a window and into another window (i.e. drag it from the tab menu at the top to the second window tab menu) you will find the overlay for FancyZones does not dismiss after the tab joins the new window. It seems to not detect the mouse up event under these circumstances and the result is that FancyZones stops working. Dragging new windows does not resolve the issue, nor does re-initiating a drag of the original tab. Alt-Tabbing still works, but the overlay stays behind whatever windows are on top.

Workarounds

Sometimes dragging slowly can prevent the issue, but not always
Restarting PowerToys resolves the issue until the scenario occurs again
Dragging the tab out but not into the new window, quickly, then dragging it into the new window, seems to occasionally avoid the issue

Hi @kevroy314
thank you for reporting the issue.
We fixed this yesterday https://github.com/microsoft/PowerToys/commit/96aa6ae3efd9609b9c7983b595ac2653da8aad16
The fix will be available in the next release.
Thank you.
Adding a reference to the original issue https://github.com/microsoft/PowerToys/issues/534

closing since it is being tracked in #534


Add baseUrl to script path for ember-cli-live-reload.js

Path to the dynamic script returned via a script request for /ember-cli-live-reload.js needed to use the baseURL set in the ember-cli application's config/environment (default is '/'). So support is needed to include the baseURL in the live-reload (dynamic) script like so: /path-to-your-ember-app-base-url/ember-cli-live-reload.js
Given a custom url using ENV.baseURL like /mydirectory/ (or the default '/')
When running the development server on port 4200
Then the dynamic live-reload script should be served from the baseUrl + ember-cli-live-reload.js
[Fixes #15]

Thank you!

@rwjblue version bump to v1.3.1 ?

Done!


Updated data sources based on changes in GDP v12

Tested changes locally.  No breaking changes. Valid JSON.

Signed-off-by: Joshua D Klahn<EMAIL_ADDRESS>


[#3] Add custom font extention

close #3
What happened
Add custom helper class.
Insight
Use custom helper class for custom font size in the placeholder screen.
Proof Of Work
https://user-images.githubusercontent.com/6356137/140684504-7592e96e-dcdb-4bf1-ac4e-c4f76dd54fe5.mp4

3 Warnings
⚠	CustomDynamicFont/Sources/Presentation/Navigator/Navigator.swift#L19 - CustomDynamicFont/Sources/Presentation/Navigator/Navigator.swift#L19: Will never be executed
⚠	CustomDynamicFont/Sources/Presentation/Navigator/Navigator.swift#L26 - CustomDynamicFont/Sources/Presentation/Navigator/Navigator.swift#L26: Will never be executed
⚠	CustomDynamicFontTests/Sources/Mocks/Sourcery/AutoMockable.generated.swift#L41 - CustomDynamicFontTests/Sources/Mocks/Sourcery/AutoMockable.generated.swift#L41: Will never be executed
Current coverage for CustomDynamicFont is 39.10%
Files changed	-	-
RequestConfiguration.swift	0.00%	💀
Navigator.swift	0.00%	💀
Color+Application.swift	0.00%	💀
NetworkAPI.swift	0.00%	💀
NetworkAPIProtocol.swift	0.00%	💀
UIView+Subviews.swift	0.00%	💀
UIFont+CustomFont.swift	85.71%	✅
HomeViewController.swift	100.00%	✅
Optional+Unwrap.swift	100.00%	✅
AppDelegate.swift	100.00%	✅
ZenOldMincho.swift	100.00%	✅

Powered by xcov

Generated by 🚫 Danger

Can we manage to clear these warnings please? 🙏

3 Warnings
⚠	CustomDynamicFont/Sources/Presentation/Navigator/Navigator.swift#L19 - CustomDynamicFont/Sources/Presentation/Navigator/Navigator.swift#L19: Will never be executed
⚠	CustomDynamicFont/Sources/Presentation/Navigator/Navigator.swift#L26 - CustomDynamicFont/Sources/Presentation/Navigator/Navigator.swift#L26: Will never be executed
⚠	CustomDynamicFontTests/Sources/Mocks/Sourcery/AutoMockable.generated.swift#L41 - CustomDynamicFontTests/Sources/Mocks/Sourcery/AutoMockable.generated.swift#L41: Will never be executed
Current coverage for CustomDynamicFont is 39.10%
Files changed	-	-
RequestConfiguration.swift	0.00%	💀
Navigator.swift	0.00%	💀
Color+Application.swift	0.00%	💀
NetworkAPI.swift	0.00%	💀
NetworkAPIProtocol.swift	0.00%	💀
UIView+Subviews.swift	0.00%	💀
UIFont+CustomFont.swift	85.71%	✅
HomeViewController.swift	100.00%	✅
Optional+Unwrap.swift	100.00%	✅
AppDelegate.swift	100.00%	✅
ZenOldMincho.swift	100.00%	✅

Powered by xcov

Generated by 🚫 Danger

Can we manage to clear these warnings please? 🙏

These will be fix in #6


MultiAttemptRetryWithErrorOutputParser

Feature request
Like RetryWithErrorOutputParser, but gives the LLM multiple attempt to succeed.
Motivation
I have had not negligable success in some output parsing cases by merely giving the LLM a non-zero temperature (1.0 in my case) and more chances.
Your contribution
Implemented MultiAttemptRetryWithErrorOutputParser
Details in PR

https://twitter.com/JacobFValdez

https://twitter.com/JacobFValdez


feat: add Publish command

Is your feature request related to a problem? Please describe.
As a user I would like a Publish command so I could deploy statically generated sites to Lagoon from command line.
Describe the solution you'd like
Add a Publish command.
The publish command should:

Publish the current or provided directory to a linked project
Provide a wizard to link the codebase to a project if no existing ID is found

Describe alternatives you've considered
Build the static site on Lagoon
Additional context
The Netlify CLI is a good example.

I'm not quite sure how we could make this work, Lagoon projects are very much tied to git repositories. So you essentially have to push the code, then trigger a deployment.

The way the Netlify CLI works is the contents of a build directory are sent into netlify, based on an application ID. If the application is set to require review, it will return a preview URL, otherwise the content will be deployed.
In the case of Lagoon, I would see something like this being an option:

Files sent somewhere against application
Deployment, that is tied to a repository, is triggered
Build step injects files into container

In the case of Lagoon, I would see something like this being an option:

Files sent somewhere against application
Deployment, that is tied to a repository, is triggered
Build step injects files into container

Lagoon doesn't have a files staging area to send files to though, the only thing that comes close is if the environment that is deployed has a persistent volume attached, then you can sync the files into that persistent volume (as pod restarts do not impact a persistent volume).
Triggering a build on the environment could then be done, but really there is no way for a Lagoon build to reach into that persistent volume except in pre or post rollout tasks as these are run within a running pod.
Where this comes unstuck is at the actual container image build phase, as it has no way to pull files from a persistent volume, it just isn't designed for this.
So really, you'd be better off with an nginx deployed with a persistent volume that has the root as the persistent volume, and then you just rsync your static file assets into the persistent volume. No reason to do a deployment at all then?
If I've completely misunderstood the actual feature request though, let me know.

I opened this issue as requested in Slack as an aside, it's not something I'm invested in because it's not something I would do.
The main reason I wouldn't do it is because it's already incredibly easy to use the Netlify CLI tool to create and deploy a statically generated site, and it's free to do so.
Lagoon isn't really meant for that workflow. But that doesn't mean it isn't possible to improve support for SSG based deployments.


Set up a flask web server

Describe the solution you'd like
Set up a basic flask app with a single route.
Additional context
No need to set up any HTML, CSS for this. Only Making the routes will do

Hey @Codehackerone, you have some arguments to pass so that would take more time to write a flask app. Will you be okay if I create a Gradio app which will also provide you with a GUI(HTML, CSS) on the frontend with minimal effort?

Well, very interesting proposal. Can you please provide a quick walkthrough of how you are gonna do it?

Here we are taking just one field as input but for your arguments we can add multiple fields and then pass on those values to your backend code which will then run rest of the code involving ocr.

Okay, makes sense. What about deployment? How easy is that?

Ok, I tried to create the gradio app but was not able to pass the arguments to the function containing the OCR code.

Here's the code if you want to check it out.
Now if you want a flask app then you need to decide what things you are sending on the backend(and how) to create routes.

Okay! I'll have a look

Lets leave this for now. Create a Flask server, with 2 routes.
Dont have to do anything else.

I have created a fastapi app as it's much simpler and better for deployment.
code for the app
Here's the documentation for Fastapi. The main reason to use this is that you can directly check the routes that you have created without the need to download software like Postman or creating (HTML,CSS).
To check the created routes, start the server and go to localhost/docs
Now in our case if we go to this above mentioned route we will get the swagger interface like

We just need to add

image full path
east file full path

Then the rest of the code will be executed as before. This code will save the text detected image in the same folder where the app file is running.

Great work. I'll have a thorough look and merge your pr.

After you're done just let me know; I'll open a pr to merge the 2 new files:

app.py
requirements.txt


There is no error when inserting a document not containing the value of partition key for SQL accounts

Platform/OS Version: Mac/Windows 10
Architecture: x64
Node.js: 8.9.3
Extension Build:: 20181106.2
Repro Steps:

Create a SQL Collection with Partition Key 'state/city'.
Try to insert a document not containing partition key.(Press Enter directly).
Check whether an error occurs or not.

Expect:
There occurs an error.
Actual:
No error occurs.

Fixed size collections do not need a partition key. Supporting this was part of 0.9.0 release. See #872


Import Sloan legacy spectroscopic data

With the integration of nested-*, import, on epyc, in LSDB/hipscat, Sloan Legacy spectroscopic data (https://classic.sdss.org/legacy/)

Waiting for HATS 0.4 version.

Doug has imported SDSS DR7 (https://data.lsdb.io/hats/sdss_dr7_spectra/).

Reopened to add column(s) specifying wavelength, as suggested by @hombit


Add event for raw IRC messages

I think just @event('irc.raw') will work for now. Two params: command, and line. Code indicates the RPL code, while message is the message received (minus the code).
This way you can quickly check if the code is applicable to your plugin.

2016-02-13 16:36:31,264 - plugins.test.plugin - INFO - [330] :celadon.darkscience.net 330 Cardinal|dev whoami whoami :is logged in as

The bit in brackets is an example of a command, while the bit after it is the line parameter.

import logging

from cardinal.decorators import event

class TestPlugin(object):
    def __init__(self, cardinal):
        self.cardinal = cardinal
        self.logger = logging.getLogger(__name__)

    @event('irc.raw')
    def _raw(self, cardinal, command, line):
        self.logger.info("[%s] %s", command, line)

def setup(cardinal):
    return TestPlugin(cardinal)


Skills inside Containers are not found by On-the-Fly rolls

On the fly skill rolls (i.e. of the format [S:Acting]) give the error "No skill or spell named ____ found" when the Skill is in a collapsible container.

Yeah... the introduction of contains screw up the search for skills (and spells).   Thanks for finding this.   I am fixing it right now.

Yeah... the introduction of contains screw up the search for skills (and spells).   Thanks for finding this.   I am fixing it right now.


Hex Tray

@RJSong01 add another axle end to the tray for stability

https://github.com/sta-titansrobotics/19446-CENTERSTAGE/assets/10250018/13770025-22f2-4197-8bfd-0ac6ed4a769d


[release-2.5] Manual cherry-pick of #375

Cherry-pick workflow updates from:

#374

Related to https://github.com/stolostron/backlog/issues/26086


Add method to filter segments with a path policy

This method pre-filters a list of segments with a given path policy.
Note that filtering with sequences is not easily possible since we do not know where a segment would fit into the sequence (up, core, down).
A possibility to add sequence filtering for segments would be to split the sequence into up, core, and down parts.
Fixes #2820

This change is

As pointed out in the review this approach will not work as intended. Until we have a better solution I will close this PR.

We still want to do the filtering for core segments.


I cannot find a clear way to reopen the H2 database after Linux server shutdown

I'm doing some test on a server and it was shutdown without gracefully stopping Nexus. As a result, the H2 database got closed and I'm not able to make it work again. Here's a part of the log:
Error querying database.  Cause: org.h2.jdbc.JdbcSQLNonTransientConnectionException: The database has been closed [90098-224]
The error may exist in org/sonatype/nexus/internal/node/datastore/NodeIdDAO.xml
The error may involve defaultParameterMap
The error occurred while setting parameters
SQL: SELECT node_id FROM node_id WHERE id = 1;

Please your help.

Hi @yasser583,
Which version of pest-nexus module are you using ?
What is your Nexus version ?
This repository is intended for installing a Nexus instance.
For issues related to Nexus itself, I recommend reporting them directly on the Sonatype community at https://community.sonatype.com/ or https://github.com/sonatype/nexus-public
You'll find more specific help and experts who can better address your questions there.
Regards

Hello @PiR-B, I'm using 4.1.0 which is the latest for Nexus version 3.71.0 which is also the latest. So far everything is going well with pest-nexus.
I'll check the provided links, but if you hear something about the H2 database I'd really appreciate it.
Thanks again.


Why reaper process high memory consumption

version:pipelinedb-0.9.9u3
top
PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
31646 pipeline  25   5 18.7g 6.6g 6.6g D  1.0 21.0   0:17.57 pipelinedb
31645 pipeline  25   5 18.7g 6.6g 6.6g S  2.0 21.0   0:17.59 pipelinedb
31643 pipeline  25   5 18.7g 6.6g 6.6g S  1.3 21.0   0:17.46 pipelinedb
31644 pipeline  25   5 18.7g 6.6g 6.6g S  1.3 21.0   0:17.33 pipelinedb
31648 pipeline  25   5 19.8g 3.9g 2.9g R 46.2 12.4   2:05.77 pipelinedb

ps
pipeline 31643 31621  3 00:51 ?        00:00:18 pipelinedb: bgworker: reaper3 [postgres]
pipeline 31644 31621  3 00:51 ?        00:00:18 pipelinedb: bgworker: reaper2 [postgres]
pipeline 31645 31621  3 00:51 ?        00:00:18 pipelinedb: bgworker: reaper1 [postgres]
pipeline 31646 31621  3 00:51 ?        00:00:18 pipelinedb: bgworker: reaper0 [postgres]

continuous_query_ttl_expiration_batch_size  & continuous_query_ttl_expiration_threshold is default.
WHY?

Hi @sangli00,
You may not have an index on your ttl_column, which leads to expensive sequential scans of the matrel when looking for rows to expire.
Try creating an index on whatever ttl_column you're using so that an index scan is used, which will be much more memory and CPU efficient.

@sangli00 did this reduce memory consumption for you?


Cart sync not working

Is this compatible with new versions of VSF and magento 2.3? I did this setup in December, now I'm not able to work it out anymore.
What's the best approach here for above-mentioned setup? I see the instructions are a bit "old" as they are the same instructions I read before when I set it up.
I appreciate any help here.

The module should be compatible. Have you tried using it with https://github.com/Vendic/vsf-external-checkout?

The module should be compatible. Have you tried using it with https://github.com/Vendic/vsf-external-checkout?

After playing around it worked.
    "externalCheckout": {
      "cmsUrl" : "https://cms.logima.io/checkout"
    },

In the module you made on magento:

Before my cms URL on config was with the handle "vue/cart/sync". This seems to not apply in my case anymore.
This is with (what I assume is - downloaded it a week ago) VSF 1.8 and Magento 2.3.
Love your work!


HuggingFace does not cache downloaded files aggressively/early enough

Describe the bug
I wrote the following script:
import datasets

dataset = datasets.load.load_dataset("wikipedia", "20220301.en", split="train[:10000]")

I ran it and spent 90 minutes downloading a 20GB file. Then I saw:
Downloading: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 20.3G/20.3G [1:30:29<00:00, 3.73MB/s]
Traceback (most recent call last):
  File "/home/jack/Code/Projects/Transformers/Codebase/main.py", line 5, in <module>
    dataset = datasets.load.load_dataset("wikipedia", "20220301.en", split="train[:10000]")
  File "/home/jack/.local/lib/python3.10/site-packages/datasets/load.py", line 1782, in load_dataset
    builder_instance.download_and_prepare(
  File "/home/jack/.local/lib/python3.10/site-packages/datasets/builder.py", line 883, in download_and_prepare
    self._save_info()
  File "/home/jack/.local/lib/python3.10/site-packages/datasets/builder.py", line 2037, in _save_info
    import apache_beam as beam
ModuleNotFoundError: No module named 'apache_beam'

And the 20GB of data was seemingly instantly gone forever, because when I ran the script again, it had to do the download again.
Steps to reproduce the bug
See above
Expected behavior
See above
Environment info
datasets 2.10.1
Python 3.10

I also faced this. Any update?

We've dropped the apache-beam dependency in https://huggingface.co/datasets/wikipedia/discussions/19, so you should no longer get this error.


[Q&A] Why Deepspeed Ulysses could support long sequence length?

Sorry to post the question here.
According to the paper, after all_to_all, every device will hold 1/P part of heads, and the it will be sent to perform local attention computing.
I am doubt that it means Query still has shape [N, d/P], which will still occur $$O(N^2)$$ mem consumption in naive attention computing. Still huge.
Why could this work?
@samadejacobs

in my opinion, Ulysses is another form of TP

@Momo-Tori , yes, Ulysses is a form of TP in the sense that attention block is head parallel. In general, Ulysses is sequence parallelism + head parallelism. It starts out as sequence parallel then transforms to head parallel with all2all function and then back to sequence parallel after attention block. @foreverlms, yes, dense attention computation is O(N^2), we leverage/integrate system optimization like Flash Attention (1 and 2) and ZeRO and algorithmic innovations in sparse attention to scale to extreme long context (1M+) LLMs.


Client Gateway Docs and Swagger not found

Describe the bug
The Client Gateway Docs link in the README file points to a page that does not exist.
Same happens with the Swagger link.
The links should be fixed or removed

Hey @germartinez 👋
You are correct. However for the Swagger link it's only a 404 because the root path / is not mapped to Swagger (which will be fixed soon – it was like this due to the rollout of the new NestJS instance).
Besides that this repo is going to be archived and we will stop maintaining it while focusing our efforts to https://github.com/safe-global/safe-client-gateway-nest

I will transfer this ticket to the new repository. The Swagger link should work now correctly https://safe-client.safe.global/
But https://safe.global/safe-client-gateway/ is still an open issue.


Inference engines not available on macOS

When testing FP on macOS, it was observed that none of the inference engines were available.
I believe both TF and OpenVINO used to work before.
It would be great if at least OpenVINO worked, such that most models could be deployed for macOS users.
I would prioritize OpenVINO over TF, as most models will be converted to ONNX.

Fixed in the latest release: https://github.com/AICAN-Research/FAST-Pathology/releases/tag/v1.1.0


Button position issue on phone screen

Describe the bug
button postion issue on phone-sized screen
To Reproduce
Steps to reproduce the behavior:

Go to 'sample test on sidebar'
Click on 'sample test button'
See error

Expected behavior
place the button in the correct postion
Screenshots

Desktop (please complete the following information):

OS: [windows]
Browser [chrome]
Version [129.0.6668.101]

@Jacobjeevan i would like to correct this

Combined with #8975


Slicing: compute chunk size dynamically during filtering

When slicing, we currently send a fixed number of rows each "chunk" to the ML worker.
We can add logic that better computes a number to send so that we reduce the number of chunks sent. One option could be to find the dataset's size and number of rows, find the average rows' size and go from there

Outdated


Using postgres binary connector and doing a pg_restore

Gives me the error pg_restore: [archiver] input file does not appear to be a valid archive this happens if you've set the flag -z when using the binary connector. It shouldn't be possible to shoot yourself in the foot like this.
Also related to: #213

Looks like I had forgotten to specify the -z flag when restoring.


[Bug] Trakt lists isn't synced with their "watched" status

Go to one of the Trakt lists, Movies or TV shows ("My Collection" for example)
The content there isn't synced with the "watched" status from Trakt.
They are all shown as unwatched except few.
It was ok in 0.1.67
Clear Trakt cache didn't help here.
Kodi debug log:
https://paste.ubuntu.com/p/vNnPDpbvQg/

Elementum 0.1.68
Kodi 17.6
Win10

EDIT: It seems that it's ok now.
Maybe there was a temporary problem with Trakt server or Elementum had a delay with the sync, or even my local network.
What makes me confuse it that Trakt lists still show their content from ELementum local db I guess.
It relates by the way to this issue I opened:
https://github.com/elgatito/plugin.video.elementum/issues/680

@elgatito
Edit 2: It seems that something isn't stable with the sync of the 'watched' status.
So take a look of the log and tell me if you see anything there.
Thanks.

There were no changes with Trakt in latest versions.

@elgatito
I found the relevant setting, I changed this one "library_update_delay" to high value.
By the way, the minimum for this setting is 10, can it be set also to be zero? (Which means immediately when Elementum start)

@burekas7
as i can see in the code sync with trakt is done:

on plugin start, after library_update_delay (in order not to stress system much right after kodi start) seconds (default=300). so 10 seconds delay seems to be ok i think.

in a background, every trakt_sync_frequency_min minutes (default=5). It gets last activities (see https://trakt.docs.apiary.io/#reference/sync/last-activities/get-last-activity) from trakt and update things correspondingly.
maybe you set this value to some big value. or there were some trakt server issues.

it works fine for me, but sure, it can be improved by also checking if list was updated right before we render list (currently, as i mentioned, check is done only in a backgrounds with interval).

@elgatito
Regarding version 0.1.76
It seems there is a problem with the sync of Trakt -> Movies Collection.
Some movies that have been watched recently are still marked as unwatached in Elementum.
Even after using the "Clear Trakt cache".
Here one of them:

Do you need any log here?

probably unconnected to this issue but just curious
was it watched via elementum?
what is value for Percents of playback to mark as watched option?

@antonsoroko
No,
It seems that if you update Trakt from other source or addon Elementum doesn't know about it (In this case I toggle watched by using the Trakt Context menu and as I show in Trakt it does marked as watched),
So this is what I mentioned in my last comment here, it seems that Elementum doesn't sync the watched status of Trakt Movies Collection (Maybe also with other lists such as TV Shows but I didn't check it yet)

@burekas7
i do not use collections but i just checked how it works and it works fine for me:

i added a 1st movie
restarted kodi, opened my collection - 1st movie is there and marked as unwatched
i marked 1st movie as watched in trakt
waited 5m (update interval in settings) - 1st is there and marked as watched
i added new movie, waited 5m (update interval in settings) - 2nd movie is there and marked as unwatched
i marked 2nd movie as watched in trakt
waited 5m (update interval in settings) - 2nd is there and marked as watched (with 1st movie of course)
i marked 2nd movie as unwatched in trakt
waited 5m (update interval in settings) - 2nd is there and marked as unwatched

in log file you should see the following:

when you add movie

2021-05-19 14:30:20.391 T:1276950 WARNING <general>: [plugin.video.elementum] INFO  library      ▶ RefreshTrakt     Running Trakt sync
2021-05-19 14:30:22.552 T:1276950 WARNING <general>: [plugin.video.elementum] NOTI  library      ▶ SyncMoviesList   Movies list (collection) added
2021-05-19 14:30:22.568 T:1276950 WARNING <general>: [plugin.video.elementum] DEBU  library      ▶ func1            Trakt sync movies collection finished in 1.470575041s

this is triggered by movies.collected_at field from https://trakt.docs.apiary.io/#reference/sync/last-activities/get-last-activity

when you mark movie as watched/unwatched

2021-05-19 14:35:20.392 T:1276950 WARNING <general>: [plugin.video.elementum] INFO  library      ▶ RefreshTrakt     Running Trakt sync
2021-05-19 14:35:22.061 T:1276950 WARNING <general>: [plugin.video.elementum] DEBU  library      ▶ func1            Trakt sync watched for '0' finished in 989.959206ms

(0 is type for movie)
this is triggered by movies.watched_at  field from https://trakt.docs.apiary.io/#reference/sync/last-activities/get-last-activity
could you please do the same steps as i did and check your log for the messages i posted above?
also when you do "Clear Trakt cache" it definitely should get the new info from scratch.

there is a chance that you hit some rare situation that leads to failure of sync, but i am afraid current logging is not able to show the reason (if there is a reason).
could you please try to check your use case on some fresh environment (e.g. fresh kodi and elementum)?
if it still reproduces, then we can try add some additional logging and give you a debug build of elementum to collect extra info/logs.

@antonsoroko
Where did you add and mark as watched, inside the addon or in the Trakt site?
I marked and rated in other machine (Android box) and as you can see it set it ok in Trakt site.
But in my other maching (Laptop) the addon doesn't sync the correct wathced status from Trakt.
Also after the "Clear Trakt cache" and I tried also "Update Trakt" from Trakt tab.

@burekas7

i marked 1st movie as watched in trakt

here and after i meant website.

@burekas7

could you please do the same steps as i did and check your log for the messages i posted above?

do this on your laptop plz. maybe kodi/elementum there is broken somehow.

also, do you have anything not standard about your collection?

apart from "rated" which should not affect synchronization.

could you please try to check your use case on some fresh environment (e.g. fresh kodi and elementum)?

In the past I had similar issue with TV Shows the @elgatito fixed.
But I will try.

i mean, generally speaking, without 100% reproducible steps nobody will be able to fix issue (if issue exists).

i mean, generally speaking, without 100% reproducible steps nobody will be able to fix issue (if issue exists).
i was not able to reproduce the issue you described, for example.
i also have dev PC with linux and android tv box. both of them received changes from trakt website.

@burekas7 any luck?

@antonsoroko
I haven't tested it yet with a different setup,
but with the last realease 0.1.78 it's the same.
Watched statuses aren't sync with their status in Trakt site (For those that was marked manually and in a another machine)
These are the only lines I found in the log after "Clear Trakt cache" and go into Trakt->My Collection (Movies)
00:18:48.968 T:2828   DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.video.elementum/movies/trakt/collection)
00:18:48.968 T:2828   DEBUG:   ParentPath = [plugin://plugin.video.elementum/movies/]
00:18:48.982 T:21104   DEBUG: CAddonDatabase::SetLastUsed[plugin.video.elementum] took 15 ms
00:18:48.983 T:27644   DEBUG: XFILE::CPluginDirectory::StartScript - calling plugin Elementum('plugin://plugin.video.elementum/movies/trakt/collection','20','')
00:18:48.985 T:21076   DEBUG: Thread LanguageInvoker start, auto delete: false
00:18:48.986 T:21076    INFO: initializing python engine.
00:18:48.986 T:21076   DEBUG: CPythonInvoker(55, C:\Users\aUser\AppData\Roaming\Kodi\addons\plugin.video.elementum\navigation.py): start processing
00:18:49.110 T:21076   DEBUG: -->Python Interpreter Initialized<--
00:18:49.110 T:21076   DEBUG: CPythonInvoker(55, C:\Users\aUser\AppData\Roaming\Kodi\addons\plugin.video.elementum\navigation.py): the source file to load is "C:\Users\aUser\AppData\Roaming\Kodi\addons\plugin.video.elementum\navigation.py"
00:18:49.111 T:21076   DEBUG: CPythonInvoker(55, C:\Users\aUser\AppData\Roaming\Kodi\addons\plugin.video.elementum\navigation.py): setting the Python path to C:\Users\aUser\AppData\Roaming\Kodi\addons\plugin.video.elementum;C:\Users\aUser\AppData\Roaming\Kodi\addons\script.module.kodi-six\libs;C:\Program Files (x86)\Kodi\system\python\DLLs;C:\Program Files (x86)\Kodi\system\python\Lib;C:\Program Files (x86)\Kodi\python27.zip;C:\Program Files (x86)\Kodi\system\python\lib\plat-win;C:\Program Files (x86)\Kodi\system\python\lib\lib-tk;C:\Program Files (x86)\Kodi;C:\Program Files (x86)\Kodi\system\python;C:\Program Files (x86)\Kodi\system\python\lib\site-packages
00:18:49.111 T:21076   DEBUG: CPythonInvoker(55, C:\Users\aUser\AppData\Roaming\Kodi\addons\plugin.video.elementum\navigation.py): entering source directory C:\Users\aUser\AppData\Roaming\Kodi\addons\plugin.video.elementum
00:18:49.112 T:21076   DEBUG: CPythonInvoker(55, C:\Users\aUser\AppData\Roaming\Kodi\addons\plugin.video.elementum\navigation.py): instantiating addon using automatically obtained id of "plugin.video.elementum" dependent on version 0.0.0 of the xbmc.python api
00:18:49.470 T:2828   DEBUG: ------ Window Init (DialogBusy.xml) ------
00:18:49.864 T:21076   DEBUG: [plugin.video.elementum] Requesting http://<IP_ADDRESS>:65220/movies/trakt/collection from ['plugin://plugin.video.elementum/movies/trakt/collection', '20', '']
00:18:53.994 T:2828   DEBUG: ------ Window Deinit (Pointer.xml) ------
00:19:01.313 T:7320  NOTICE: [plugin.video.elementum] [GIN] 2021/06/06 - 00:19:01 | 200 |   11.4012208s |       <IP_ADDRESS> | GET      "/movies/trakt/collection"
00:19:02.293 T:21076    INFO: CPythonInvoker(55, C:\Users\aUser\AppData\Roaming\Kodi\addons\plugin.video.elementum\navigation.py): script successfully run
00:19:02.348 T:2828   DEBUG: Saving fileitems [plugin://plugin.video.elementum/movies/trakt/collection]
00:19:02.356 T:2828   DEBUG:   -- items: 167, sort method: 0, ascending: false
00:19:02.384 T:2828   DEBUG: CVideoDatabase::RunQuery took 8 ms for 212 items query: SELECT  files.strFilename, files.playCount,  bookmark.timeInSeconds, bookmark.totalTimeInSeconds FROM files  LEFT JOIN bookmark ON    files.idFile = bookmark.idFile AND bookmark.type = 1  WHERE files.idPath=1539
00:19:02.454 T:28428   DEBUG: Thread BackgroundLoader start, auto delete: false
00:19:02.528 T:21076    INFO: Python script stopped
00:19:02.528 T:21076   DEBUG: Thread LanguageInvoker 21076 terminating

unfortunately this info does not give anything for debug purposes.
so we will wait for answers for questions described here https://github.com/elgatito/plugin.video.elementum/issues/694#issuecomment-846629702
btw, for future - do you have "debug" log level in elementum settings as well? (last tab)

@burekas7 i have a good guess - i can see in your log file that you have not enabled LibrarySyncEnabled and LibrarySyncPlaybackEnabled. enable them ant try again plz. you don't need to set up library in kodi, just enable these option in elementum:
"Enable Kodi library synchronization"
"Enable synchronization while playback"

@burekas7 did it help?

@antonsoroko
Still the same.
Maybe something else is making the sync to be failed or something.

My Kodi library btw that sync also by Trakt is working well.
I also tried with another addon and it show My Trakt Movie Collection watched status synced correctly.
So it must be something with how Elementum make the sync.

Btw I mention the Movies Collection but maybe it happens also with the TV Shows Colleciton.

I can't imagine why it happens.
It works for me. I still suggest to try with clean environment - it might give us some new insights about this issue.


object ("[object Decimal]") cannot be serialized as JSON

Bug description
Hello. I have a model City in my prisma schema with coordinates (latitude and longitude fields):
model City {
  id              Int               @id @default(autoincrement())
  slug            String            @unique
  country         Country           @relation(fields: [countryCode], references: [code])
  countryCode     String            @db.Char(2)
  code            String            @unique @db.Char(3)
  latitute        Decimal?          @db.Decimal(9, 6)
  longitude       Decimal?          @db.Decimal(9, 6)
  name            String
  timezone        String?
  CityTranslation CityTranslation[]
  CityCase        CityCase[]
}

But when I'm trying to acces this data using Prisma I get the following error:
SerializableError: Error serializing `.popularDirections.originCity.latitute` returned from `getServerSideProps` in "/".
Reason: `object` ("[object Decimal]") cannot be serialized as JSON. Please only return JSON serializable data types.

This is pretty strange because I thought Prisma would convert DECIMAL type to JavaScript's float automatically.
How to reproduce

Expected behavior
No response
Prisma information
model City {
  id              Int               @id @default(autoincrement())
  slug            String            @unique
  country         Country           @relation(fields: [countryCode], references: [code])
  countryCode     String            @db.Char(2)
  code            String            @unique @db.Char(3)
  latitute        Decimal?          @db.Decimal(9, 6)
  longitude       Decimal?          @db.Decimal(9, 6)
  name            String
  timezone        String?
  CityTranslation CityTranslation[]
  CityCase        CityCase[]
}

Environment & setup

OS: Windows 10 WSL2 Ubuntu 20.04
Database: PlanetScale MySQL
Node.js version: 12.22.1

Prisma Version
prisma               : 2.29.1
@prisma/client       : 2.29.1
Current platform     : debian-openssl-1.1.x
Query Engine         : query-engine 1be4cd60b89afa04b192acb1ef47758a39810f3a (at<EMAIL_ADDRESS>Migration Engine     : migration-engine-cli 1be4cd60b89afa04b192acb1ef47758a39810f3a (at<EMAIL_ADDRESS>Introspection Engine : introspection-core 1be4cd60b89afa04b192acb1ef47758a39810f3a (at<EMAIL_ADDRESS>Format Binary        : prisma-fmt 1be4cd60b89afa04b192acb1ef47758a39810f3a (at<EMAIL_ADDRESS>Default Engines Hash : 1be4cd60b89afa04b192acb1ef47758a39810f3a
Studio               : 0.419.0
Preview Features     : planetScaleMode, nApi

This is pretty strange because I thought Prisma would convert DECIMAL type to JavaScript's float automatically.

The Decimal type is turned into a special Decimal type on the Javascript side, to not lose any data and precision there. Related issue: https://github.com/prisma/prisma/issues/6049
Do we have better documentation about the Decimal.js things we do @matthewmueller?

This is not a Prisma issue technically. JSON.stringify doesn't support serialization of many types like BigInts, Date etc.
People generally use the superjson(https://github.com/blitz-js/superjson#using-with-nextjs) but for Decimals, they also don't have a mapping(https://github.com/blitz-js/superjson/issues/152).

Similar issue from examples with a workaround: https://github.com/prisma/prisma-examples/issues/3047

Does that makes sense to include a serialization tool into Prisma?

Any update?

My meager attempt at a  generic conversion
 const makeJSSafe = (/** @type {any} */ obj) => {
  Object.keys(obj).map( key => {
    if (Object.getPrototypeOf(obj[key]).toStringTag == '[object Decimal]') obj[key] = obj[key].toNumber();
  });
}

// prices Model has  id: String, price: Decimal
const myData = await prisma.prices.findMany({
});

myData.map(obj => makeJSSafe(obj));


Unable to load SSDLite MobileDet on ARTPEC-7

Please do not disclose security vulnerabilities as issues. See our security policy for responsible disclosures.

Describe the bug
I want to run the SSDLite MobileDet model for EdgeTPU, gotten from https://coral.ai/models/object-detection/, on my M3067-P axis cam. Instead, I'm getting the error shown in the logs below.
To reproduce
Steps to reproduce the behavior:

Download the object detection example
Modify manifest.json.edgetpu with "runOptions": "/usr/local/packages/object_detection/model/converted_model.tflite 320 320 80 1920 1080 50 /usr/local/packages/object_detection/label/labels.txt -c axis-a7-gpu-tflite",
Download the SSDLite MobileDet model and labels from the website https://coral.ai/models/object-detection/
Modify the Dockerfile to copy those into the image instead of downloading each time (rename the files to converted_model.tflite and labels.txt on copy)
docker build --build-arg ARCH=armv7hf --build-arg CHIP=edgetpu --tag obj_detect:1.0 . && docker cp $(docker create obj_detect:1.0):/opt/app/object_detection_edgetpu_1_0_0_armv7hf.eap ./build
Go to camera site, apps, allow unsigned apps, upload and start the model
Note the error in the logs

Environment

Axis device model: M3067-P
Axis OS: 11.11.73
Logs from starting the app:

2024-12-30T14:29:59.041-05:00 axis-b8a44f4ba9eb [ INFO    ] object_detection[31464]: Finding best resolution to use as model input
2024-12-30T14:29:59.180-05:00 axis-b8a44f4ba9eb [ INFO    ] object_detection[31464]: chooseStreamResolution: We select stream w/h=320 x 320 based on VDO channel info.
2024-12-30T14:29:59.181-05:00 axis-b8a44f4ba9eb [ INFO    ] object_detection[31464]: 'buffer.strategy': <uint32 3>
2024-12-30T14:29:59.181-05:00 axis-b8a44f4ba9eb [ INFO    ] object_detection[31464]: 'channel'--------: <uint32 1>
2024-12-30T14:29:59.181-05:00 axis-b8a44f4ba9eb [ INFO    ] object_detection[31464]: 'format'---------: <uint32 3>
2024-12-30T14:29:59.181-05:00 axis-b8a44f4ba9eb [ INFO    ] object_detection[31464]: 'height'---------: <uint32 320>
2024-12-30T14:29:59.181-05:00 axis-b8a44f4ba9eb [ INFO    ] object_detection[31464]: 'width'----------: <uint32 320>
2024-12-30T14:29:59.181-05:00 axis-b8a44f4ba9eb [ INFO    ] object_detection[31464]: Creating VDO image provider and creating stream 320 x 320
2024-12-30T14:29:59.181-05:00 axis-b8a44f4ba9eb [ INFO    ] object_detection[31464]: Dump of vdo stream settings map =====
2024-12-30T14:29:59.309-05:00 axis-b8a44f4ba9eb [ INFO    ] object_detection[31464]: Find the best resolution to save the high resolution image
2024-12-30T14:29:59.389-05:00 axis-b8a44f4ba9eb [ INFO    ] object_detection[31464]: 'buffer.strategy': <uint32 3>
2024-12-30T14:29:59.389-05:00 axis-b8a44f4ba9eb [ INFO    ] object_detection[31464]: 'channel'--------: <uint32 1>
2024-12-30T14:29:59.389-05:00 axis-b8a44f4ba9eb [ INFO    ] object_detection[31464]: 'format'---------: <uint32 3>
2024-12-30T14:29:59.389-05:00 axis-b8a44f4ba9eb [ INFO    ] object_detection[31464]: 'height'---------: <uint32 1920>
2024-12-30T14:29:59.389-05:00 axis-b8a44f4ba9eb [ INFO    ] object_detection[31464]: 'width'----------: <uint32 1920>
2024-12-30T14:29:59.389-05:00 axis-b8a44f4ba9eb [ INFO    ] object_detection[31464]: chooseStreamResolution: We select stream w/h=1920 x 1920 based on VDO channel info.
2024-12-30T14:29:59.390-05:00 axis-b8a44f4ba9eb [ INFO    ] object_detection[31464]: Creating VDO High resolution image provider and stream 1920 x 1920
2024-12-30T14:29:59.390-05:00 axis-b8a44f4ba9eb [ INFO    ] object_detection[31464]: Dump of vdo stream settings map =====
2024-12-30T14:29:59.684-05:00 axis-b8a44f4ba9eb [ INFO    ] object_detection[31464]: Calculate crop image
2024-12-30T14:29:59.684-05:00 axis-b8a44f4ba9eb [ INFO    ] object_detection[31464]: Create larod models
2024-12-30T14:29:59.684-05:00 axis-b8a44f4ba9eb [ INFO    ] object_detection[31464]: Create preprocessing maps
2024-12-30T14:29:59.684-05:00 axis-b8a44f4ba9eb [ INFO    ] object_detection[31464]: Crop VDO image X=0 Y=0 (320 x 320)
2024-12-30T14:29:59.685-05:00 axis-b8a44f4ba9eb [ INFO    ] object_detection[31464]: Setting up larod connection with chip axis-a7-gpu-tflite, model /usr/local/packages/object_detection/model/converted_model.tflite and label file /usr/local/packages/object_detection/label/labels.txt
2024-12-30T14:29:59.951-05:00 axis-b8a44f4ba9eb [ INFO    ] object_detection[31464]: Available chip IDs:
2024-12-30T14:29:59.952-05:00 axis-b8a44f4ba9eb [ INFO    ] object_detection[31464]: Chip: axis-a7-gpu-proc
2024-12-30T14:29:59.952-05:00 axis-b8a44f4ba9eb [ INFO    ] object_detection[31464]: Chip: axis-a7-gpu-tflite
2024-12-30T14:29:59.952-05:00 axis-b8a44f4ba9eb [ INFO    ] object_detection[31464]: Chip: axis-ace-proc
2024-12-30T14:29:59.952-05:00 axis-b8a44f4ba9eb [ INFO    ] object_detection[31464]: Chip: cpu-proc
2024-12-30T14:29:59.952-05:00 axis-b8a44f4ba9eb [ INFO    ] object_detection[31464]: Chip: cpu-tflite
2024-12-30T14:30:00.138-05:00 axis-b8a44f4ba9eb [ ERR     ] object_detection[31464]: setupLarod: Unable to load model: Could not load model: Could not allocate tensors
2024-12-30T14:30:00.181-05:00 axis-b8a44f4ba9eb [ ERR     ] object_detection[31464]: Code: -2

Version: Docker version 27.4.1, build b9d17ea (for building the image)

I guess maybe I'm confused. I assumed all ARTPEC-7 axis cameras had an edgeTPU, but then shouldn't that appear on the list of available chips? I couldn't find any info on the website https://www.axis.com/products/axis-m3067-p/support that stated whether it had a DLPU or not. All I saw was that it had ARTPEC-7, which from https://developer.axis.com/computer-vision/computer-vision-on-device/recommended-model-architecture I took to mean it had a DLPU built-in


No Demos of BGFX Load on Mac using Metal

OpenGL works, but when selecting Metal, all the demos load as blank screen.

Please add this line at the beginning of your program:
System.setProperty("org.lwjgl.util.Debug","true"):
If any output shows up then, respond with it.

There's indeed something wrong with the Metal backend. I'm seeing a different problem with the latest snapshot (on a macbook pro, early 2015): there's no vsync and the window flickers like crazy. It's not blank though, there's definitely rendering going on.
I spent a few hours yesterday trying to identify the issue, but had no luck. The native bgfx demos seem to work fine on Metal. I tried both BGFX_CONFIG_MULTITHREADED=0 and =1. It looks like either a threading issue or a bad interaction with GLFW.

It looks like BGFX_RESET_VSYNC is ignored in the Metal backend. Adding a Thread.sleep(16) fixes the flickering issue for me.
I also tried using correct multithreaded rendering and didn't see a difference. All backends work fine, except Metal. Since the Metal backend is considered a WIP in bgfx, I'll revisit this in the future.


QUESTION

Do  you an example of how to save json data from lil-gui to mysql database?

I don't, but it should be the same as saving any other json to mysql.


Strict blocking issue

I'm not sure if it is a bug, but as I recall main frame shouldn't be blocked.
Anyway, even if it's not a bug than the rule shouldn't be marked as an unknown.
By the way, I have language set to English in AdGuard`s settings, but strict blocking notice is in Polish.

Steps to reproduce

Enable NoCoin Filter List or add this rule to user filter:
/^((?!(^https?):\/\/((www\.)?(blabla\.com))\/).)*$/$subdocument,domain=szukajka.tv
Go here - http://szukajka.tv/
Click on logo

Expected behavior

Website shouldn't be blocked.
Actual behavior

Website is blocked and rule is marked as unknown.
Screenshot:

Your environment

AdGuard for Windows 7.1.2484 (CL 1.4.78)

Weird, but I cannot reproduce this.

It was firstly reported here - https://github.com/AdguardTeam/AdguardFilters/issues/35861 and I can reproduce it also with stable build.

@AdamWr what about nightly build?

Okay, I've managed to repro with the NoCoin filter list:)

@sfionov here's why: https://uploads.adguard.com/up04_w3tbk_Windows_7_Enterprise_1.png

core/pull-requests/1398


iOS loadBlob from file input

I'm currently calling waveform.loadBlob with a blob created from a file upload input.
On chrome this works perfectly and the waveform is rendered.
On Safari (mac and iOS) the waveform isn't rendered. In the following:
window.offlineAc.decodeAudioData(arraybuffer,
     function(data) {
         return callback(data);
    },
     e => {
        errback();
     }
);

The e variable is null and provides no information regarding the error.
Thanks

make sure you create a AudioContext in response to a user gesture on iOS. wavesurfer.backend.ac.state should not be suspended. If it is, call resume on that ac.

Thanks @thijstriemstra - window.offlineAc.state = suspended. Is this an issue too?

Here's a simple example: https://codepen.io/anon/pen/bZBNdz
To reproduce:

Select an audio file from local device using the file input
Click "Load Blob"

On Chrome this works fine. On Safari it dosen't. The AudioContext is begin created on the click of #btn

Sorry, to slightly change this. mp3 files work, but I'm trying to get an mp4 video to work. This works in chrome but not safari.

window.offlineAc.state = suspended. Is this an issue too?

yep.

Thanks @thijstriemstra - I have the codepen working with mp3 files now. Any idea on why it's not working with mp4?
The solution i'm looking for is for iOS users to be able to upload video files as there's no options to upload sound recordings.

Video demo here: https://codepen.io/anon/pen/OqbVgM
To reproduce:

Click "load blob" and it will load the wave form from the video element.
Choose a video file via the input and the video file will be rendered int he  element.
Click "load blob" and the wave form is rendered.

Works everywhere but safari macOS and iOS

okay, mp4s work but not movs. And video uploads in iOS and movs.

I have the codepen working with mp3 files now.

Good to hear.


offsetsForTimes - Is this supported in sarama ?

Versions
Please specify real version numbers or git SHAs, not just "Latest" since that changes fairly regularly.
Sarama Version:<IP_ADDRESS>
Kafka Version:<IP_ADDRESS>
Go Version:1.6
the latest version of kafka supports retrieving offsets by timestamp. Is this supported by sarama.
Also does sarama support storing time stamp as supported in new kafka java client .
https://kafka.apache.org/0101/javadoc/org/apache/kafka/clients/consumer/KafkaConsumer.html#offsetsForTimes(java.util.Map)
Configuration
What configuration values are you using for Sarama and Kafka?
Logs
When filing an issue please provide logs from Sarama and Kafka if at all
possible. You can set sarama.Logger to a log.Logger to capture Sarama debug
output.
Problem Description

the latest version of kafka supports retrieving offsets by timestamp. Is this supported by sarama.

Starting in Sarama v1.11.0, the method Client.GetOffset() will automatically use the new precise timestamp fetching if your Config.Version is at least kafka version 0.10.1.

Also does sarama support storing time stamp as supported in new kafka java client .

Yes, this works as of Sarama v1.10.0, though there are some bugs in that version when using timestamps with compression. v1.11.0 should work in all cases.

thanks for your reply. Just one more question.
Say for suppose if messages are published and the current offset is 10.
But consumption is done till 5th offset which is the latest consumed offset.
Suppose i want to reply the subscriber from offset 2 . how can i do that in sarama ?
Sarama config was supporting only the latestoffset and oldestoffset. How do i reset to a particular offset and start from there. Is there a way i can do that ?

It's not clear if you're referring to the Consumer or the OffsetManager. With the consumer, all you have to do is close the existing PartitionConsumer and then call ConsumePartition again: the third parameter to that method accepts specific offsets.
The offset manager does not support replaying at this time (see https://github.com/Shopify/sarama/issues/554)


Test bench components with more values

Currently the benchmarks are executed in test mode with the lowest and highest value of each component. This lead to some cases in the past where the cargo test passed but the cargo run did not.
For example the range 0 .. 10 is tested with the values [0, 10].
This MR changes it to six values in total, so it becomes [0, 2, 4, 6, 8, 10].

Can you add an environment variable, and keep this as the default

bot merge


Cleanup zip files that are left + block zip downloading

Is it possible to be able to clean up the temporary zip files that are created when an user downloads a zip file?
One other thing, is it possible to disable zip downloads on certain folders? For me I have parent directories that have TB's of data behind them and it is probably not a great idea to have users try to zip and download them.

This capability is not currently possible. What suggestion do you have for making these configuration options available?

That is a very good question, maybe set a max size.


Various Godot C++ errors on exit (ObjectDB instances leaked, Resources / MemoryPool allocs in use)

Lorien version: 0.5.0

OS/device including version: Linux (Fedora 35)

Issue description:

On exit, I get the following messages which appear to be related to godot-cpp:
WARNING: ObjectDB instances leaked at exit (run with --verbose for details).
     at: cleanup (core/object.cpp:2064)
ERROR: Resources still in use at exit (run with --verbose for details).
   at: clear (core/resource.cpp:417)
ERROR: There are still MemoryPool allocs in use at exit!
   at: cleanup (core/pool_vector.cpp:63)

Here is a zip of the verbose log + the file I used to test lorien-issue-135-log.zip
Steps to reproduce:

Start Lorien with a blank session
Open more than 1 file (no errors if only 1 file is opened)
Exit Lorien

Alternatively:

Start Lorien with 1 or more files opened, either by passing the filenames or by opening them in a previous session.
Close 1 or more files
Exit Lorien

Thanks for the report! I fixed that at one point, but it's been a while and don't look at the logs often or start it from the command line.


[Bug]: marketplace.getAllListings() is cripplingly slow.

Prerequisites

[x] I have checked that @thirdweb-dev/sdk is on the latest stable version and the bug still exists.
[x] I have checked existing issues and I was unable to find a duplicate of this.

Optional

[ ] I am willing to contribute a PR that fixes the problem with some guidance.

Describe the bug
I have a marketplace contract created with ThirdWeb. I have 2 direct listings on my marketplace. When i retrieve listings from the marketplace with the ThirdWeb SDK, it takes up to 10 seconds, even when using Alchemy provider. This results in page loads up to 10 seconds, which is simply unacceptable from an end-users perspective.
Expected behavior
Getting marketplace listings should be a fast operation, so that user's don't need to wait ages for listings to load.
Screenshots
If applicable, add screenshots to help explain your problem.
Package versions (please complete the following information):

@thirdweb-dev/sdk: [^2.3.11]
node: [v16.13.0]
typescript (if applicable): [~4.6.2]
Any other build tools (react, next, angular, vue, etc.): [vite]

Reproduction link
If you have a reproducible project on CodeSandbox, Replit, or GitHub, link it here. (This will make it much easier for us to reproduce and fix your issue.)
Additional context
Add any other context about the problem here.

Hey @skoshx ! Sorry for the late reply on this. There's a few things that we fetch for each listing: the info from the marketplace contract, the info from the listed NFT (including the metadata from ipfs) and the info from the ERC20 currency if any. All of that happens in parallel so it should be pretty decent performance.
One thing we could do is provide a minimal getAll call that only retrieves the raw information from the marketplace contract, and let the user fetch additional information lazily. Would that help in your case?

@joaquim-verges Hello, sorry for my cripplingly slow answer, I have been really busy! Anyways, yeah I think either another function that only gets raw information like you mentioned or add an option of something like includeMetadata to the filter object of marketplace.getAllListings().


The indicator for loading Contributors is located in the upper left corner

Idea Description
The indicator for loading Contributors is located in the upper left corner.
I think it would be better if it were placed in the center of the screen.
Reference images and links

Now
I think it would be better

Good catch

Can i get this issue?

OK! Good luck!


need help to translate doc

Concent doc [https://concentjs.github.io/concent-doc/] need to be translated to other languages, can any one help me, I will greatly appreciate it.

hope learn some Chinese

hope learn some Chinese

are u Japanese developer?


[GAL-3614] Show post in Feed

Changes

Show post in the feed & profile activity
Add universal NFT detail page
encapsulation the admire/post to support both Post and Event

TODO

[x] Click username on feed
[x] bottom sheets
[x] Universal NFT detail
[x] Profile activity
[x] FeatureFlag

[x] wait for https://github.com/gallery-so/go-gallery/pull/1092

[x] New post on feed
[x] Double check the renderItem issue / ProfileViewActivityTab
[x] Fix relay admire when modal imported
[x] Fix relay error

[x] comment works but not admire (bottom sheet)

[x] (blocker) wait for feedPostById
[x] Double check the post
[x] sticky header
[x] update placeholder like web
[x] first admire clickable
[x] community post clickable

Demo
Post
https://github.com/gallery-so/gallery/assets/4480258/a69db875-33aa-4656-8dd0-6fd8382f53f3
Delete post
https://github.com/gallery-so/gallery/assets/4480258/b33943db-5b6b-4c7f-acc1-399b743b0049
Follow/Unfollow user, share and view nft detail
https://github.com/gallery-so/gallery/assets/4480258/d8b407ed-a493-46af-9d56-a194930d9cce

LFG!!!!!!!! nice one @jakzaizzat
love the optimistic update for the post
looking great, had some comments but nothing super major!

@kaitoo1 Updated the PR and fixed the relay stuff too! Should be good to test


Fix some warnings and errors

Uniquify IDs that are computed from toctree caption.
Inconsistent indentation caused some spaces to be included in filenames.

Superseded by #282


Get tagView index

How can I get every tagView index in tagListView?

You should keep tracking your data or values by using a list (e.g. array).


make pylustrator toggle-able

make use of the pylustrator window optional with a flag in the configuration file

Removed pylustrator for now... move to molSim 2.0


Baseline Model

I know this is not an ML course, but would adding a dummy regressor to our report be reasonable?

sure!


Remove version: Ryujinx.Ryujinx.Ava version 1.1.1154

part of #179207
All InstallerUrls returned 404 Not Found

https://github.com/Ryujinx/release-channel-master/releases/download/1.1.1154/test-ava-ryujinx-1.1.1154-win_x64.zip

Microsoft Reviewers: Open in CodeFlow

URL: https://github.com/Ryujinx/release-channel-master/releases/download/1.1.1154/test-ava-ryujinx-1.1.1154-win_x64.zip
Response status code does not indicate success: 404 (Not Found).
(Automated message - build 896)


Upgrade comms-kafka-serialisation, circe, cats

This means we are now using circe to deserialise JSON-encoded Avro messages
(are you sensing a pattern?)

This PR was successfully deployed to production by CircleCI build 152 at 2017-01-27 11:30 GMT.


Add mcirosoft 'edge' support to SeLion

Selenium 2.47.1 introduces some support for Microsoft Edge.
SeLion does not have it as a BrowserFlavor -- https://github.com/paypal/SeLion/blob/19b037cf1130675f32a74a9b7b8301701493f5ea/client/src/main/java/com/paypal/selion/platform/grid/BrowserFlavors.java
SeLion should be enhanced to support it.

[x] add support in 'client'
[x] add support in 'server'
* support for .msi file in automatic download feature
* add to download.json
[x] add test cases for 'edge'
[x] update documentation on site, if/where applicable

closed with #240, #242, and #212


B2C?

Does the powershell command apply to B2C tenants?  (should it/could it?)

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

ID: 195c79a3-ccc5-8c6a-233e-95e344a9b4df
Version Independent ID: 401c7557-5817-bbd3-5bd8-8c97ef5a28cc
Content: Customize Azure AD tenant app claims (PowerShell) - Microsoft identity platform
Content Source: articles/active-directory/develop/active-directory-claims-mapping.md
Service: active-directory
Sub-service: develop
GitHub Login: @rwike77
Microsoft Alias: ryanwi

@RedBlue1776 Thank you for your feedback . We will investigate this and update the thread.

@RedBlue1776
Apologies for the delayed response. We tried the Powershell cmdlets on Azure AD B2C. PowerShell cmdlets are not yet available for all functions of Azure AD B2C. However via PowerShell, we support managing custom policies only as documented here: https://docs.microsoft.com/en-us/azure/active-directory-b2c/manage-custom-policies-powershell
Let us know if this helps out. We will be closing this thread now. Do let us know if you need further help.


Jsign gt

Added right sampling of element in G_T (remember that if this solution will fly it is going to be vital to check that element are in the right G_T group
Added random sampling of an big integer to the Fr group (not 1024 element)
Added ExpGLV usage (This speeds up exponentiation considerably)

I do not like how currently the Big integer are done mod the curve order but yeah it's just a poc

@asanso, I'll merge this PR as is.
Later I'll create another PR to switch back to Fr and clean up a bit other things.
Thanks!


Add ES6 module output.

PR for #55.
Adds in a prepublish script (which fails to publish if the underlying code has changed) and related pieces.
Let me know if you'd like this to look any different.

Updated, happy to squash, pushed as a separate commit to make it easier to identify changes.

Updated for all but includes because of my opinions here.
Sorely tempted to set up a linter on this project. But I wouldn't know how to configure it. 😜


Locatin UIBackgroundMode should not be required

It is incorrect that the location UIBackgroundMode is required in order to handle goefence updates in the background. By setting locationManager.allowsBackgroundLocationUpdates = false, this plugin crashes when running on an iOS app without the background mode.

Can you expand a bit more on this?

By setting locationManager.allowsBackgroundLocationUpdates = false, this plugin crashes when running on an iOS app without the background mode.

This is WAI. The Apple documentation states: Setting the value to true but omitting the UIBackgroundModes key and location value in your app’s Info.plist file is a fatal error that terminates the app.

I've arrived at the conclusion that UIBackgroundMode.location is required after reading this article. Is that not the case?
If so, would you consider creating a PR that removes this line and UIBackgroundMode.location from the example app and test that combination in an emulator?

I've arrived at the conclusion that UIBackgroundMode.location is required after reading this article. Is that not the case?

It is not the case. Apple's documentation in this area leaves a lot to be desired—I have been unable to find explicit documentation stating that the background mode is not required for geofencing, however I have also not found anything stating that it is. My testing shows that it works just fine without it, and this StackOverflow question supports that.
I have opened a PR.

Thanks for the StackOverflow reference!
I've tested this as well, in foreground, background, screen off, post-restart, etc. and it is working well on iOS 18.1.
I've published version 1.0.3 which removes the dependency on UIBackgroundModes.location.
Please feel free to upgrade and let me know if you run into any issues in production!