updated to work with current version of radare2.

file is no longer a member of r2core. io->desc->name should replace it.

Actually I jumped the gun, this will enable it to compile but will result in segfault. Not sure how r2 gives file path now.

relevant commit that removed file https://github.com/radareorg/radare2/commit/a74ca8f07b463444323d8933c3cd3e4f48a2fd73


setup controllers (pole target issue?)

When check "setup controller" rig changes position from original one so elbows pointing pole target wrongly.
Blender 3.6
https://www.youtube.com/watch?v=BXdCzULJlEc

Try manually tweaking the "pole angle", that should fix it. You will find it inside the 'Bone constraint properties' tab after selecting R_ullna bone in Pose Mode (you need to right mouse click -> unhide and reselect the bone first for it to show up, it's bugged)
Not a whole lot I can do about it in the plugin. It's quite difficult (if not impossible) to automatically set up an IK that perfectly matches the imported animation, I have some ideas to improve it (but it is low priority for now).

Ok, but if only it's not reseting ik modifier params on each anim's import...  Btw great tool, really enjoy it, hope you'll not abandon it. Cheers.


update readme file

update readme file

Hey @AnushaHiremath,
Just a small suggestion related to your GitHub profile: It would be better if you don't make your contributions as private as it's open source (so the activity should be visible to all).


[Bug] Network Images not loading in Flutter Web

Problem
Network Images don't load when using Widgebook or Playground through Flutter Web. This may be caused by a CORS issue.
Solution
This used to be solved by adding --web-renderer html but it looks like the latest Flutter versions prefer CanvasKit or other. We will have to investigate potential CORS issues and find a solution.

You mean about placeholder displayed ? Maybe it's this code.
To explain myself, when I've implemented golden tests for FlexProductCard, the FlexImage widget caused some trouble.
Cached_Network_image uses an http client and in test env, it automatically returns a 400 error (and the test fails)
It's a known issue , Nicolas wrote an article about it : https://medium.com/flutter-community/golden-testing-using-cachednetworkimage-1b488c653af3
But his solution no longer works because of a package update.
So I just used this Placeholder since it's on web and test only, and for now we're not using flutter web , but yes I'm agree we need to figured it out to solve this issue.


Tag reference documentation missing images

We used to get wiki image thumbnails in the tag reference documentation lookup and now we don't.
This looks to be an upstream issue with taginfo, tracking here: https://github.com/joto/taginfo/issues/167

Closing, seems fixed now.


Mozilla always crash after clicking to "Create Sprite"

Bug description
Steps to reproduce the bug

go to piskelapp.com
Click on Create Sprite

Environment details

operating system: Linux Mint
browser : Mozilla Firefox

2 days ago, I tried Piskelapp.org for the first time, all was working, without loading gifs from other users. Today I can't even create a Sprite. I tried it 4 times, but Mozilla crashed.

Hi @StrangeArtist, could you try following the documentation from Mozilla on what to do when you have a crash?  It has advice on getting the crash logs as well as some preliminary checks like making sure it's not a plugin, or a outdated version.

@StrangeArtist I haven't had any specific issue with Firefox. Do you know which version of Firefox you are using? Can you try with a clean profile https://support.mozilla.org/en-US/kb/profile-manager-create-and-remove-firefox-profiles

No feedback, please reopen if this still occurs.


Ensure Kilo user_variables are present for upgrade

New user_variables introduced for Kilo will not be present at time of
upgrade due to the upstream (os-ansible-deployment) run-upgrade.sh
script's processing flow. Applying them to the pre-upgraded
user_variables ensures they are available as upstream upgrade runs
playbooks.
Related to #310

:+1:

@sigmavirus24 pointed out an issue where existing overrides could be replaced by new values.
Updated patch.

:+1: for me. Merging.


Testing reusable modules and repeatable Rego generation

The intent of this PR was to look at trying to DRY out the rego code a little more, add some reusable components, and just keep an eye toward making the lives easier of people that are going to find themselves writing this stuff. There's a couple things contained:

lula tools regogen creates a rego template, optionally passing it a resource kind will template with that structure (e.g., lula tools regogen Deployment - The hope was to create a kind of framework that ensures outputs are common and certain reusable functionality (like exemptions) can be re-used. This skeleton also hopefully indicates a few places for a user to change to meet logic ("** Change this **"). Obviously we have a really small sample set right now so this template may not cover all cases and perhaps there's different flavor templates for different types of controls.
Shared modules in the code - as an addendum to the above statement, the reusable scripts have to actually be accessible. I thought about putting it in our codebase, but it seems like transparency is key so ended up adding a type of backmatter to hold those modules. This ended up touching quite a bit of code but really just a proof of concept for what it could look like. This part was tested out with Istio-common.yaml which is on the istio-common branch of compliance-artifacts.

First pass - I certainly believe there is value in the shared modules.
Implementation looks great - we'll likely want to think more about how we handle some of these commons functions - Known use-cases such as how we can combine modules across component files as we aggregate into a larger assessment-plan, how we handle for more domains than Kubernetes, and what implementation looks like without shared modules.
What I really like is exploring more of the rego extensibility that you showed (maybe as a byproduct) for capturing Passing and Failed.
We need a concrete structure (which has been validate to ultimately decide satisfied vs not-satisfied but honestly if we kept the resultMap as map[string]interface{} then we could port over a lot of generic capability that we can expose in the assessment-result as evidence - enabling people to create their own evidence collection objects. This feels like a great immediate add vs other functionality that might require some more refinement - let me know if you need me to explain further as it is probably a pretty small feature set that wouldn't need any additional testing or functionality.

#265 created to capture the transient data vision for generic information that could be extended from Rego key/value results.

Since this was a prototype and much of the code has changed, this PR is really no longer applicable. If a future use case supports adding re-usable Rego functions this may be good to reference.


Write manual test xases for "FloridaPage".

Please write a manual test case for the following pages manual test which involves breaking down the functionality of the webpage into specific steps that can be tested.
FloridaPage: https://prayersconnect.com/mosques/search/Boca%2520Raton%252C%2520Florida%252C%2520United%2520States/26.3683064%2C-80.1289321/26.3683064%2C-80.1289321
Please use this Google doc for your test cases.
https://docs.google.com/spreadsheets/d/1O1NJRmobfNfk6cGgc5BWHCMhRSjF6vJK3C-AljYxgHo/edit?usp=sharing

Florida Page Test case link:
https://docs.google.com/spreadsheets/d/1O1NJRmobfNfk6cGgc5BWHCMhRSjF6vJK3C-AljYxgHo/edit?usp=sharing

Thank you.


Remove renewals with errors not working

Filter option "5. Remove renewals with errors" not working.  When selecting this menu option, nothing happens. Seems like you are just thrown back one step up in the menu selection.
To Reproduce

Run WACS
Select "A" (Manage renewals)
Select "F" (Apply filter)
Select "5" (Remove renewals with errors)

Expected behaviour
Some type of selection confirmation an then possibility to remove erroneous renewals
Log

Platform:

OS: [e.g. Windows 2012 R2, English]
Version:  <IP_ADDRESS>8 (release, pluggable, standalone, 64-bit)

Additional context

I have clarified the text in the 2.1.16 release, thanks for the input!


Fix version conflict in Python dependencies of analyst image

Here's the relevant error:
https://github.com/nasa/isaac/actions/runs/7835253902/job/21380266683
We can unblock getting PRs to pass CI again once #135 is merged (temp disables the analyst build as part of the PR testing). This ticket is for a permanent fix that allows the image to be built again.
Note: Solving this issue is not as urgent as some others because the analyst notebook is not needed for ISS ops!

[ ] Remember to re-enable analyst image build in CI before merging this fix


Flatten geometries of super-relations

Super-relations like relation/1268955 don't have geometries in the traditional sense; they are used to express concepts. Right now, toGeometry() created a recursive GEOMETRYCOLLECTION:
GEOMETRYCOLLECTION (GEOMETRYCOLLECTION (POINT (114501405 762733414), POINT (114501740 762732702)), GEOMETRYCOLLECTION (POINT (114511323 762746639), POINT (114510645 762747135)))
This is legal, but not very useful, and causes issues with JTS like #19. Better approach would be to flatten any points, lines and polygons into a single GEOMETRYCOLLECTION.

Related: #46

A collection of multi-polygons is different from a multi-polygon composed of all individual polygons. In the former, separate (multi-)polygons may overlap with other (multi-)polygons or have collinear edges; in the latter, this would make the single multi-polygon invalid.


Changing image position

Changing the position of image to the center. Assign this to me!!

also with moving the slider to centre  make it somewhat bigger ...

sure!


[Feature] Allow consumer to pass in an IHttpClient in [#85]

As per discussion on #85

BTW - on IHttpClient.... there is a typo on the method name...
SendASync should be SendAsync
I can rename and commit as part of this if you want...

It's quite possibly down to my lack of git experience.... and it's 02:30 AM :)
This is the same issue I had before... github thinks I'm still 1 commit behind the upstream/master ( the commit where you put in the report feature)
I've pulled upstream/master and merged/resolved any issues....
but it still thinks I'm 1 commit behind..... I'm obviously doing something wrong....
In the morning I'll trash my branch and do it again....  and create a new pull request....

No worries. You may have to rebase against origin/master and then force push your branch back up. But either way works

OK - I did what you said.... force pushed the branch back up... that sorted it... thanks.
Different subject - the services all have private IHttpClient and IAuthenticator in the concrete classes, which are passed down to the methods at the abstract level.... but the abstract level also has private IHttpClient.... which references the same underlying object as the private IHttpClient in the concrete class - so it's unnecessary duplication.
Are you open to me cleaning this up - it removes quite a bit of clutter and clarifies whats going on - the Service constructors should just pass the IHttpClient and IAuthenticator directly to the base constructor
If so... I'll do a separate Pull Request tonight for that.

@chrisw000 i will take care of it. thanks for pointing it out!


Add new "muxpack" command for packing chains of $mux cells

Derived from shregmap
~TODO: Packing chains of $pmux cells~

LGTM


Always capture the file name for artifact transforms

as an input. See #19408 for the reasons why we want to make this change.
This is a follow up to #19988.

@bot-gradle test and merge

Your PR is queued. See the queue page for details.

OK, I've already triggered a build for you.

Pre-tested commit build failed.

@bot-gradle test and merge

OK, I've already triggered a build for you.


Monitor chromecast for media playback (from any receiver?)

I have a raspberry pi that is capable of asserting/removing a 12v trigger signal connected to my home stereo equipment. In the past I have successfully had it monitoring my Sonos Connect device, allowing it to turn on the external amp when the Sonos begins playback, and turn off the external amp shortly after the Sonos stops playback.
I'm hoping to achieve the same thing with a Chromecast (being used exclusively for audio, via an HDMI->toslink separator). Basically, I need to have something running on the rpi that can detect when there's something running on the Chromecast, and when it's idle.
In a perfect world, it would be able to reliably sense whether the current app on the Chromecast -- receiver, if I understand correctly -- is actively playing music / making noise, but I'm not sure if there's a reliable and general way to do that.
Probably sufficient is to just detect whether anything is running on the Chromecast at all, or if it has reverted to its default state, and toggle the trigger signal then.
Does this sound like something that's possible to achieve at all with Chromecast? And, if so, am I looking in the right place? Most documentation of various projects seems (understandably) to be focused on writing a custom receiver and interacting with it, while I'm just trying to monitor the Chromecast / watch for broadcast messages about its state.
Thanks for any help or thoughts you have!

You'll be able to monitor when apps are launched or stopped with this :
client.on('status', function(status) {
  console.log(status);
});

When an app implementing the urn:x-cast:com.google.cast.media protocol is launched (the implemented protocols are in the status message logged above) you'll have to join the app session and monitor its status updates on the media protocol channel. These status updates are implemented in the DefaultMediaReceiver as status events. This would go something like this :
client.getSessions(function(err, sessions) {
   var session = sessions[0]; // For now only one app runs at once, so using the first session should be ok
   client.join(session, DefaultMediaReceiver, function(err, app) {
      app.on('status', function(status) {
         console.log(status);
      });
   });
});

Here I'm using the DefaultMediaReceiver as it can be used as a generic app to control media playback, as long as the target app uses the standard media protocol.
This code above is totally untested but I'm quite confident you'll be able to achieve what you want by doing something along these lines.
Let me know if you encounter problems or bugs, I'll try to help you.

Thanks so much for your help. I'm sorry I was so slow in responding, but with your examples I was able to get things working.

@ipeters this is a great solution and something I've been searching for recently.  I would like to get the same system working for my amplifiers attached to Chromecast Audio devices at home.  Would you be willing to share your example code / modifications in a repository?

@DrSurround absolutely. I'll pull what I've got off my rpi, clean it up a tad and put it up soon as I can.

Indeed this would probably be very useful to many Chromecast (audio) owners ...
I can easily see how this could be extracted as a module that connects to a Chromecast and emits events when the device starts / stops media apps.
If you need any help with this I'll be happy to help

Thank you both, I look foward to seeing what can come together. I know I'm not alone in searching for a solution! :+1:

hi @ipeters and @thibauts  -- is this something you guys were ever able to get working?  I'm looking to do something nearly identical to what @DrSurround is shooting for.  would love to be able to trigger a harmony activity when i start streaming to a connected Chromecast Audio...

Bump -
Would be very interested if anyone was able to get this operational


Missing episodes on seasons with long episodes lists

Bug report
Your Environment

Netflix add-on version: 1.12.4 and 1.16.0
Operating system version/name: Windows / LibreELEC
Device model:

Used Operating system:

[ ] Android
[ ] iOS
[x] Linux
[ ] OSX
[ ] Raspberry-Pi
[x] Windows

Describe the bug

In tvshow's with long list of episodes only the first ~44 are shown
Expected behavior

Actual behavior

Steps to reproduce the behavior

Open "La reina del flow" tvshow
Open season 1
See missing episodes

Possible fix

need some investigation to see if it is not a problem of current implementation
or need to do new changes
Debug log

The debug log can be found here:

Tested by myself
issue reported by a forum user:
https://forum.kodi.tv/showthread.php?tid=329767&pid=3043766#pid3043766
Additional context or screenshots (if appropriate)
Other information

Screenshots

This was a very old problem in 0.13.XX versions I used to fix it with a workaround by replacing 40 with 200 here.
https://github.com/asciidisco/plugin.video.netflix/blob/master/resources/lib/NetflixSession.py#L1607
"caphm" fixed it here.
https://github.com/CastagnaIT/plugin.video.netflix/commit/25cc155f05495cef5af51a700b12a962c90902de
https://github.com/CastagnaIT/plugin.video.netflix/commit/98b8897db8911d465c7d0fa175bb2462bb9fbed0
This problem is now in Leia too, most likely it caused by changes from Netflix.

the "perpetual" requests is already implemented (derived and improved from caphm work)
but it is not the right way make a single requests for 200 objects or more,
easily will exceed the data limit set by netflix shakti API
the problem must be analysed in current code to understand where the obstacle is

I know that replacing 40 with 200 is not the right thing to do, I just was trying to inform you that this is an old problem lasted for a long time and we had to use a workaround to fix it, until "caphm" fixed it, I posted the old commits from "caphm" so you might find in them something useful for the origin of this problem.

can you give a try to see if works?
plugin.video.netflix_1.16.0+matrix.1_20210618_t1.zip
this affect not only season episodes but also submenus lists of:

try to see if there are all titles listed on some of these

I tested with "Fullmetal alchemist" it has 51 episodes and "Pablo Escobar el patrón del mal" has 72 episodes and all the episodes are available, and all the movies and TV shows seems to be available in the submenus lists as they are in Netflix site using Firefox.

very fast thank you


Difference between with/without fused_add_norm

Hi @Unrealluver,
I saw you fused the add and norm operations in the Block class. I'm unsure of the difference between fused_add_norm=True and fused_addn_norm=False.  More specifically, can I simply treat fused_add_norm_fn as a integration of following codes?
https://github.com/hustvl/Vim/blob/06c50090534d7a9e18142af4d57bb635a3085edf/vim/models_mamba.py#L75-L83
By the way, have you tried to use LN -> Mixer -> Add like a standard block does? Will it be different compared with Add -> LN -> Mixer in accuracy or speed?

Hi Jiarun,
For the first question, you can regard fused_add_norm as a fast version of your displayed code.
We also use the LN -> Mixer -> Add for the second question for each block.


ui: do not use pushd bashism

skip go-fmt
skip unit-tests
skip compile-tests
skip functional-tests-backend-elasticsearch
skip functional-tests-backend-orientdb
skip scale-tests
skip cdd-overview-tests
skip k8s-tests

run create-docker-image


Remove zone related logic and bring back the nav bar from fidesui

Is your feature request related to a specific problem?
As part of open sourcing the datamap ui and merging it into the admin ui, we should remove the complicated zone logic since we don't need it anymore. We should also bring the nav config back from fidesui.
Describe the solution you'd like

remove zone logic and make sure all navigation still works okay
bring the nav-config and tests back from their short stint in fidesui

Describe alternatives you've considered, if any
A description of any alternative solutions or features you've considered.
Additional context
Relies on https://github.com/ethyca/fides/issues/2975 and https://github.com/ethyca/fides/issues/2976

Closed by https://github.com/ethyca/fides/pull/2990

moving to done


fixes small omission in one of the examples

The last example was missing the full require path for loading all contrib extensions

Nice catch. Thanks for contributing!


Storage for images

It would be nice to have a small storage available for images we might use in the flows instead of having to upload them somewhere else.

+1. In the CMS would be nice. Seems there is a type parameter on a CMS object. image could be good here.


Wrong links

Hello!
I found your project on pypi: https://pypi.org/project/python-strtobool/
And there are incorrect links to the homepage and repository.

Thanks! I just fixed it in https://github.com/sassanh/python-strtobool/commit/ac90023218680a7c455d441805df197736d46a58


Bluealsa with Google Pixel 8 Android Version 14 (Call sounds like a robot)

Hello Bluealsa development team!
I have an issue that I would like to seek your opinions on, hoping that you can help me resolve this concern.
I am using Bluealsa version 3.1.0 and have enabled the MSBC audio codec for handling calls. When connecting to other devices like the iPhone, I find that Bluealsa produces excellent results.
However, when connecting to a Google Pixel 8 phone running Android Version 14, I notice an issue where the PhoneUp and PhoneDown signals sound like a robot.
Based on my speculation, it seems that some SCO packets may have been lost during transmission over Bluetooth. My Bluetooth chip uses the UART protocol with an MTU size of 64 Bytes.
I have tried connecting the phone to other headphones like AirPods and Bose, and everything works fine. However, when connecting the phone to a device running the Bluealsa application, I encounter this issue.
Attached is a file containing a recording of the downlink call quality:
Record_Call_GooglePixel8.wav
Is the issue likely related to the Google Pixel 8, or is there some underlying problem from the Bluealsa side that I cannot determine? I hope you can help shed some light on this issue. Thank you.

However, when connecting the phone to a device running the Bluealsa application, I encounter this issue.

First of all can you provide some logs with debug enabled (BlueALSA compiled with --enable-debug). Then, in these logs, there should be information whether the mSBC is indeed used and whether there are some packets dropped. Also, when investigating some issues, please use the latest release (v4.1.1) or master if possible.

Thank you. I've enabled debugging and found that mSCO Decode was initialized when the call came in.
bluealsa: D: ../../src/sco.c:112: New incoming SCO link: F8:C3:CC:92:08:6A: 46
bluealsa: D: ../../src/hci.c:133: SCO link socket MTU: 46: 64
bluealsa: D: ../../src/ba-transport.c:1180: Starting transport: HFP Hands-Free (mSBC)
bluealsa: D: ../../src/ba-transport.c:297: Created BT socket duplicate: [46]: 48
bluealsa: D: ../../src/codec-msbc.c:82: Initializing mSBC codec
bluealsa: D: ../../src/sco.c:375: IO loop: START: sco_msbc_enc_thread: HFP Hands-Free (mSBC)
bluealsa: D: ../../src/ba-transport.c:441: PCM clients check keep-alive: 0 ms
bluealsa: D: ../../src/at.c:162: AT message: RESP: command:, value:OK
bluealsa: D: ../../src/ba-transport.c:1507: Created new IO thread [ba-sco-enc]: HFP Hands-Free (mSBC)
bluealsa: D: ../../src/ba-transport.c:297: Created BT socket duplicate: [46]: 49
bluealsa: D: ../../src/codec-msbc.c:82: Initializing mSBC codec
bluealsa: D: ../../src/sco.c:457: IO loop: START: sco_msbc_dec_thread: HFP Hands-Free (mSBC)
bluealsa: D: ../../src/ba-transport.c:1507: Created new IO thread [ba-sco-dec]: HFP Hands-Free (mSBC)
bluealsa: D: ../../src/at.c:162: AT message: RESP: command:, value:OK
D: ../../../src/asound/bluealsa-pcm.c:1309: Getting BlueALSA PCM: CAPTURE 00:00:00:00:00:00 sco

Just as you said, I did receive the following debug messages regarding the loss of the SCO data packet:
bluealsa: W: ../../src/codec-msbc.c:182: Missing mSBC packets (3 != 2): 1
bluealsa: W: ../../src/codec-msbc.c:182: Missing mSBC packets (1 != 0): 1
bluealsa: W: ../../src/codec-msbc.c:182: Missing mSBC packets (0 != 3): 1
bluealsa: W: ../../src/codec-msbc.c:182: Missing mSBC packets (3 != 2): 1
bluealsa: W: ../../src/codec-msbc.c:182: Missing mSBC packets (1 != 0): 1
bluealsa: W: ../../src/codec-msbc.c:182: Missing mSBC packets (2 != 1): 1
bluealsa: W: ../../src/codec-msbc.c:182: Missing mSBC packets (0 != 3): 1

Is there any way to handle this without needing to update the bluealsa version? I am using bluez version 5.46, and it seems that bluealsa version 4.1.1 requires bluez 5.51.

Just as you said, I did receive the following debug messages regarding the loss of the SCO data packet:

There is one trick in current master branch which might help you a little bit - the real time priority for IO threads. See the --io-rt-priority= in the bluealsa manual. Other things to consider is the environment (too noisy in 2.4GHz), used BT chip (e.g. BT dongle)...

Hum. I just received information from my friend. He uses a Google Pixel Pro 7 phone and Android version 13. The same happened with his phone. Is the cause something different between Google Pixel phones? Up to this point I have tested a lot with Iphone and Samsung and everything works very smoothly.

Will this cause the call quality to decrease?

No, these log messages are for information only. The +BSIR RESP command is merely an indication from the phone to the hands-free device that the phone will send an in-band ringtone. The hands-free device does not (must not) send a reply to this command.  BlueALSA does not care whether the incoming audio is ringtone or actual voice, it treats it all just the same, as audio to be made available to a connected capture client.

Hum. After a while of struggling with this Bug, I still cannot verify the reason why Google Pixel Phone cannot work with Bluealsa.
I use linux kernel 4.14 and Bluez 5.46. After examining some articles on Google, I found that I can conclude that the cause of the voice sounding like a robot could be due to the overlapping of wifi bands. or the wibe band between the bluetooth driver from my device is not in sync with the wibe band of the bluetooth on Google Pixel. Leading to SCO Frames being nested crosswise.
I have searched for some articles about this problem but haven't really found the exact cause or how to solve this problem.
I hope to find some clue about this issue here. because the Google Phone 8 Pro still works well with other cars. Below I also found some similar articles about this issue:
galaxy-a53-bluetooth-issue-in-car
Signal-Android

Hello bluealsa team. I think there's something wrong with the hardware here. I just changed to another bluetooth adapter (CSR8510 A10) and I no longer hear the robotic sound. As for capturing, I found everything worked very well and the sound quality was extremely good. I have a problem with the setup so that bluealsa can playback the signal through hci and reach the bluetooth adapter.
But I can't playback the sound even though I tried many different MTU values like 24, 48, 64, 60.
Below is a snippet of my hcidump log. I just find something a bit strange that even though I set the MTU value to 48 bytes, hci only always reads 24 bytes. The remaining write value is correct but still cannot hear anything when making calls.
> SCO data: handle 63 flags 0x00 dlen 24
> SCO data: handle 63 flags 0x00 dlen 24
> SCO data: handle 63 flags 0x00 dlen 24
> SCO data: handle 63 flags 0x00 dlen 24
< SCO data: handle 63 flags 0x00 dlen 48
< SCO data: handle 63 flags 0x00 dlen 48
< SCO data: handle 63 flags 0x00 dlen 48
< SCO data: handle 63 flags 0x00 dlen 48
> SCO data: handle 63 flags 0x00 dlen 24
> SCO data: handle 63 flags 0x00 dlen 24
> SCO data: handle 63 flags 0x00 dlen 24
> SCO data: handle 63 flags 0x00 dlen 24
< SCO data: handle 63 flags 0x00 dlen 48
> SCO data: handle 63 flags 0x00 dlen 24
> SCO data: handle 63 flags 0x00 dlen 24
> SCO data: handle 63 flags 0x00 dlen 24
> SCO data: handle 63 flags 0x00 dlen 24
> SCO data: handle 63 flags 0x00 dlen 24
> SCO data: handle 63 flags 0x00 dlen 24
> SCO data: handle 63 flags 0x00 dlen 24
> SCO data: handle 63 flags 0x00 dlen 24
> SCO data: handle 63 flags 0x00 dlen 24
> SCO data: handle 63 flags 0x00 dlen 24
< SCO data: handle 63 flags 0x00 dlen 48
< SCO data: handle 63 flags 0x00 dlen 48
< SCO data: handle 63 flags 0x00 dlen 48
< SCO data: handle 63 flags 0x00 dlen 48

Do you know what the cause for this could be?

You can't choose the MTU from user space, it is always set by driver for the HCI Bus (in your case USB,using the btusb driver). The MTU values for read and write must be the same, and for mSBC codec the correct value for your USB device is 24. For CVSD the correct value is 48. It appears that you have tried to force the write size to be 48, and that definitely will cause problems for the USB driver. The value is especially critical for USB adapters to obtain the correct data rate, because they use an isochronous link which transfers fixed sized packets in fixed intervals.
I think the real problem here is that you are using an old kernel and a old version of bluez. SCO audio has had many issues with linux over many releases (see for example issue #400). This specific adapter you are using, CSR8510 A10, is known to cause issues, and not just for SCO audio - see for example https://forums.linuxmint.com/viewtopic.php?t=350117
So the simplest solution is probably to use a different adapter. I think there is nothing that BlueALSA can do to fix issues in the firmware or driver code.

@bmt1596 Have you made any progress with this issue? In particular, have you tried the suggestions made in the comments, for example:

have you tried a more recent version of bluealsa ?
have you tried the --io-rt-priority= option ?
have you tried a different bluetooth adapter ?
have you tried a more recent linux kernel ?

closing due to lack of activity


Include the summary field in the MinimalVulnerabilitySerializer

I would like to get the summary value from the nested results without having to call each vulnerabilities URL to get it.

Fixed via https://github.com/nexB/vulnerablecode/pull/479


DCOS-21752 docs(mediator api): describes the mediator api

Presents an example of the mediator API and some documentation.
An implementation of the Settings > Package Repository page using this api is on the go here.
This documentation will be merged into data-layer. And once we are ok with all the pieces we will merge this integration in master

@DanielMSchmidt the milestone for the data-layer is a consistent API + reference implementation + documentation. Those things need to come together in pieces first, and then we can have something for master.
One way to see it as the data-service being a package, there is no PR to updated the version of the package on master, until there is a release of the package. The feature branch is that v0.1 release in progress. We don't wanna have to repos at this point for velocity reasons.

@DanielMSchmidt. I corrected the mistakes and added the second example. I also changed the renderComponents to the recompose version we are using. Please feel free to review again and challenge if you think it is not good or if you are still confused.

@DanielMSchmidt is there still any doubt, or any comment to address here?

@juliangieseke I had a session with julian and I made some comments on his very valid questions.
I provided also a better working example now :D. And at this point in time removed everything about mutations. We will have then once I work on the api (this week yet). But they are are scoped also in a different ticket.

Can you look again @juliangieseke and @DanielMSchmidt.

Also, this can't fail right? :D

Did you rebase this lately? Its an integration test which failed three times 🤷♂

it is just a README file, CI is broken, I would be in favor to get a second approve and merge even with CI failing.


Create some VMs at same time, some of vmi cannot be set to correct phase and no virt-launcher pod

What happened:
When I use Kubevirt, I create lots VMs at same time, such as 20 VMs. All VMs are using cdi for OS image importing. The creation of each VM looks good, but after cdi import OS image successfully, some VMs do not have virt-launcher pod come out, vmi is keeping on PENDING phase, and in VMIs, they are showing provisioning. If I restart problem VMs, VMs will run normally.   After, I test such creation for many times, I notice about 1/3 VMs will have the "no virt launcher" problem.
What you expected to happen:
I expected all created vm should run, after cdi import.
How to reproduce it (as minimally and precisely as possible):
Create many VMs, such as 10 VMs, at the same time with cdi import OS image.
Additional context:
An VM example
apiVersion: kubevirt.io/v1
kind: VirtualMachine
metadata:
  annotations:
    kubevirt.io/latest-observed-api-version: v1
    kubevirt.io/storage-observed-api-version: v1alpha3
  name: pvc-test-vm-1
spec:
  dataVolumeTemplates:
    - metadata:
        name: pvc-test-system-disk-1
      spec:
        pvc:
          accessModes:
            - ReadWriteOnce
          resources:
            requests:
              storage: 20Gi
          storageClassName: hostpath
        source:
          http:
            url: http://<IP_ADDRESS>:18080/system.qcow2
    - metadata:
        creationTimestamp: null
        name: pvc-test-data-disk-60g-1
      spec:
        pvc:
          accessModes:
            - ReadWriteOnce
          resources:
            requests:
              storage: 60Gi
          storageClassName: hostpath-sata
        source:
          blank: {}
  running: true
  template:
    metadata:
      creationTimestamp: null
    spec:
      domain:
        devices:
          disks:
            - disk:
                bus: virtio
              name: pvc-test-system-disk-1
            - disk:
                bus: virtio
              name: pvc-test-data-disk-60g-1
            - disk:
                bus: virtio
              name: cloudinitdisk
          interfaces:
            - bridge: {}
              model: virtio
              name: default
        machine:
          type: q35
        memory:
          guest: 4Gi
        resources:
          limits:
            memory: 4Gi
            cpu: "1"
          requests:
            memory: 4Gi
            cpu: "1"
      networks:
        - name: default
          pod: {}
      nodeSelector:
        kubernetes.io/hostname: mgt01
      terminationGracePeriodSeconds: 0
      volumes:
        - dataVolume:
            name: pvc-test-system-disk-1
          name: pvc-test-system-disk-1
        - dataVolume:
            name: pvc-test-data-disk-60g-1
          name: pvc-test-data-disk-60g-1
        - cloudInitNoCloud:
            userData: |
              #!/bin/bash
                echo "fedora" |passwd fedora --stdin
                dhclient eth1
          name: cloudinitdisk

result:
root@mgt01:~# kubectl get vmi
NAME            AGE     PHASE     IP                          NODENAME
pvc-test-vm-1   2m10s   Pending
pvc-test-vm-2   2m10s   Running   <IP_ADDRESS>             mgt02
pvc-test-vm-3   2m9s    Running   fe80::7c4c:b5ff:fe8d:ab60   mgt03
pvc-test-vm-4   2m8s    Pending
pvc-test-vm-5   2m6s    Running   <IP_ADDRESS>             mgt02
pvc-test-vm-6   2m5s    Running   fe80::24e0:46ff:fe70:b14    mgt03
pvc-test-vm-7   2m4s    Pending
pvc-test-vm-8   2m3s    Running   <IP_ADDRESS>             mgt02
pvc-test-vm-9   2m2s    Running   fe80::1889:9eff:fe7c:689d   mgt03

root@mgt01:~# kubectl get pod
NAME                                READY   STATUS    RESTARTS   AGE
virt-launcher-pvc-test-vm-2-tct5v   1/1     Running   0          58s
virt-launcher-pvc-test-vm-3-hwcj7   1/1     Running   0          98s
virt-launcher-pvc-test-vm-5-qljdq   1/1     Running   0          25s
virt-launcher-pvc-test-vm-6-6flw7   1/1     Running   0          82s
virt-launcher-pvc-test-vm-8-j6m9m   1/1     Running   0          28s
virt-launcher-pvc-test-vm-9-tjhgf   1/1     Running   0          79s

root@mgt01:~# kubectl get vm
NAME            AGE   VOLUME
pvc-test-vm-1   90m
pvc-test-vm-2   90m
pvc-test-vm-3   90m
pvc-test-vm-4   90m
pvc-test-vm-5   90m
pvc-test-vm-6   90m
pvc-test-vm-7   90m
pvc-test-vm-8   90m
pvc-test-vm-9   90m

kubectl get dv
NAME                       PHASE       PROGRESS   RESTARTS   AGE
pvc-test-data-disk-60g-1   Succeeded   100.0%                91m
pvc-test-data-disk-60g-2   Succeeded   100.0%                91m
pvc-test-data-disk-60g-3   Succeeded   100.0%                91m
pvc-test-data-disk-60g-4   Succeeded   100.0%                91m
pvc-test-data-disk-60g-5   Succeeded   100.0%                91m
pvc-test-data-disk-60g-6   Succeeded   100.0%                91m
pvc-test-data-disk-60g-7   Succeeded   100.0%                91m
pvc-test-data-disk-60g-8   Succeeded   100.0%                91m
pvc-test-data-disk-60g-9   Succeeded   100.0%                91m
pvc-test-system-disk-1     Succeeded   100.0%                91m
pvc-test-system-disk-2     Succeeded   100.0%                91m
pvc-test-system-disk-3     Succeeded   100.0%                91m
pvc-test-system-disk-4     Succeeded   100.0%                91m
pvc-test-system-disk-5     Succeeded   100.0%                91m
pvc-test-system-disk-6     Succeeded   100.0%                91m
pvc-test-system-disk-7     Succeeded   100.0%                91m
pvc-test-system-disk-8     Succeeded   100.0%                91m
pvc-test-system-disk-9     Succeeded   100.0%                91m

Environment:

KubeVirt version (use virtctl version): 0.41.0
Kubernetes version (use kubectl version): 1.20.13
VM or VMI specifications: N/A
Cloud provider or hardware configuration: N/A
OS (e.g. from /etc/os-release): Ubuntu 18.04.6
Kernel (e.g. uname -a): 5.4.61-050461
Install tools: N/A
Others: N/A

Can you run kubectl describe vm pvc-test-vm-7 and kubectl describe vmi pvc-test-vm-7 on either that, or another pending instance and share the status output?
I also see the example scheduling to node mgt01 can you validate that there is no disk, memory, or cpu pressure on this node and that Kubernetes recognizes it has capacity?

Can you run kubectl describe vm pvc-test-vm-7 and kubectl describe vmi pvc-test-vm-7 on either that, or another pending instance and share the status output?
I also see the example scheduling to node mgt01 can you validate that there is no disk, memory, or cpu pressure on this node and that Kubernetes recognizes it has capacity?

Thank you for your reply. The actual situation is the pending vmis are randomly distributed on different nodes, my example is a special case which is all pending vmis on same node. All nodes have enough resources for VM creation.  An example of pending vmi description is provided.
kubectl describe  vmi pvc-test-vm-4
Name:         pvc-test-vm-4
Namespace:    default
Labels:       <none>
Annotations:  kubevirt.io/latest-observed-api-version: v1
              kubevirt.io/storage-observed-api-version: v1alpha3
API Version:  kubevirt.io/v1
Kind:         VirtualMachineInstance
Metadata:
  Creation Timestamp:  2022-08-14T14:44:59Z
  Finalizers:
    foregroundDeleteVirtualMachine
  Generation:  2
  Owner References:
    API Version:           kubevirt.io/v1
    Block Owner Deletion:  true
    Controller:            true
    Kind:                  VirtualMachine
    Name:                  pvc-test-vm-4
    UID:                   6a585ed1-1070-48fc-89e4-e666266b09e1
  Resource Version:        203317073
  Self Link:               /apis/kubevirt.io/v1/namespaces/default/virtualmachineinstances/pvc-test-vm-4
  UID:                     814eacb7-93d7-4785-a75e-bd26f760d80c
Spec:
  Domain:
    Cpu:
      Cores:    1
      Sockets:  1
      Threads:  1
    Devices:
      Disks:
        Disk:
          Bus:  virtio
        Name:   pvc-test-system-disk-4
        Disk:
          Bus:  virtio
        Name:   pvc-test-data-disk-60g-4
        Disk:
          Bus:  virtio
        Name:   cloudinitdisk
      Interfaces:
        Bridge:
        Model:  virtio
        Name:   default
    Features:
      Acpi:
        Enabled:  true
    Firmware:
      Uuid:  987e8d66-a4a5-5e21-8185-9307bc533326
    Machine:
      Type:  q35
    Memory:
      Guest:  4Gi
    Resources:
      Limits:
        Cpu:     1
        Memory:  4Gi
      Requests:
        Cpu:     1
        Memory:  4Gi
  Networks:
    Name:  default
    Pod:
  Node Selector:
    kubernetes.io/hostname:          mgt01
  Termination Grace Period Seconds:  10
  Volumes:
    Data Volume:
      Name:  pvc-test-system-disk-4
    Name:    pvc-test-system-disk-4
    Data Volume:
      Name:  pvc-test-data-disk-60g-4
    Name:    pvc-test-data-disk-60g-4
    Cloud Init No Cloud:
      User Data:  #!/bin/bash
  echo "fedora" |passwd fedora --stdin
  dhclient eth1

    Name:  cloudinitdisk
Status:
  Conditions:
    Last Probe Time:       <nil>
    Last Transition Time:  <nil>
    Status:                True
    Type:                  Provisioning
  Guest OS Info:
  Phase:  Pending
Events:
  Type    Reason            Age   From                       Message
  ----    ------            ----  ----                       -------
  Normal  SuccessfulCreate  18m   virtualmachine-controller  Created virtual machine pod virt-launcher-pvc-test-vm-4-jlrrh
  Normal  SuccessfulDelete  18m   virtualmachine-controller  Deleted WaitForFirstConsumer temporary pod virt-launcher-pvc-test-vm-7-bx67h
  Normal  SuccessfulDelete  18m   virtualmachine-controller  Deleted WaitForFirstConsumer temporary pod virt-launcher-pvc-test-vm-4-jlrrh
  Normal  SuccessfulDelete  18m   virtualmachine-controller  Deleted WaitForFirstConsumer temporary pod virt-launcher-pvc-test-vm-6-sn52q
  Normal  SuccessfulDelete  18m   virtualmachine-controller  Deleted WaitForFirstConsumer temporary pod virt-launcher-pvc-test-vm-2-mf9jd
  Normal  SuccessfulDelete  18m   virtualmachine-controller  Deleted WaitForFirstConsumer temporary pod virt-launcher-pvc-test-vm-3-v9tmz

Hi @xpivarc,
I cannot resolve the issue, I checked most related logs and compare with normal VMs, I cannot found difference. I can fix this temporarily by restarting cmd or reconstructing VMI (by delete VMI).

/reopen
Hi @m14815 , Were you able to resolve your issue? Could it be that you are using local storage?

Could you give me some reasons? Why you think using local storage may cause this issue?


Fabfile settings should be updated to replace 'syncdb' with 'makemigrations.

syncdb is already removed from the fabfile in development
makemigratons is a development task, not a deployment task (presumably you're thinking of migrate, which is in the fabfile)

If you're unclear, please try the mailing list before opening an issue.

I thought Syncdb is a deprecated feature of django in 1.9
Sent from my iPhone

On Feb 26, 2016, at 4:09 PM, Stephen McDonald<EMAIL_ADDRESS>wrote:

syncdb is already removed from the fabfile in development
makemigratons is a development task, not a deployment task (presumably you're thinking of migrate, which is in the fabfile)

If you're unclear, please try the mailing list before opening an issue.
—
Reply to this email directly or view it on GitHub.

I thought Syncdb is a deprecated feature of django in 1.9

That's right.

thanks - was hoping you could help give me a quick tip - would the dev
workflow be to make updates local, then deploy to my server using fab
deploy?
have a good weekend.
Best regards,
Todd Kovalsky
917-601-4103
On Fri, Feb 26, 2016 at 6:03 PM, Stephen McDonald<EMAIL_ADDRESS>wrote:

I thought Syncdb is a deprecated feature of django in 1.9
That's right.
—
Reply to this email directly or view it on GitHub
https://github.com/stephenmcd/mezzanine/issues/1546#issuecomment-189519322
.


Define a one-dimensional (spectral fit) statistical model suitable for low/high energy

Several searches use 1D spectral fits, binned or unbinned.
They use sometimes functional forms for background/signals, and sometimes templates.
It would be great to make a general class for these searches!
Such a class should:

Allow the definition of binned or unbinned likelihoods
Allow the definition of sources as:

Functional forms (in particular ease of putting in flat+gammas)
Templates (using inference interface)
with rate uncertainties and ancillary constraints as in the blueice class.
With or without applying an efficiency curve + convolution either in  true energy (standard convolution) or in reconstructed energy (as in the lowER search)

Allow combined fits of several 1D fits
Allow useful goodness of fit tests?

This class could be defined inside alea, or perhaps in another package depending on alea?
The most important point will be that it is on the same form as the other statistical model classes, allowing you to move between just fitting and full Neyman constructions relatively easily.

@cecilia-ferrari @hammannr since we chatted.

Also @matteoguida might be interested

@kdund, @hammannr, I'll try to contribute to developing this class, though it might not be in the immediate future.

Yeah that'll be cool! In SR0 LowER search, I had to define different classes for each of them -- flat, gaussian, skew-guassian, and template-based. One additional thing to add on top of your list of requirements -- allow to change the region of interest, for example in the case of blinding or just the need to optimize.

Ciao!
Based on the code @GiovanniVolta  developed for Nucleon Decay disappearance studies, we built a tool for 1D CES fit. It is currently called he_er but as shown at the end of this example notebook can also perform analysis in the low er ROI. Also in this case, depending on the nature of the background component (peak, theoretical spectrum or G4 generated one) the model is implemented with a specific class.
As discussed in the pull request thread, some features still need improvements.


@RouteParam is not parsed on get requests

@RouteParam is not parsed on get requests.
Expected behavior
If a case class with @RouteParam field used for request, the value is extracted from the URI into the request case class instance.
Actual behavior
Field is not populated
Steps to reproduce the behavior
Finatra 18.2.0
case class AccessCursorRequest(@RouteParam id: String)

class ProbeController @Inject()(
  facade: ProbeFacade
) extends Controller
  with Logging {

get("/cursor/:id/read") { request: AccessCursorRequest =>
    logger.info(s"Value: '{request.id}'")
  }

}

And then:
$ curl "http://localhost:8888/cursor/foobar/read"

In logs:
finagle/netty4-1 INFO  n.a.c.ProbeController - Value: ''

@cacoco that's just a typo when I was transferring code from my project into the issue. I simplified it a bit. My code does access the field properly. Also, if that was the case we would see
finagle/netty4-1 INFO  n.a.c.ProbeController - Value: '{request.id}'

rather than
finagle/netty4-1 INFO  n.a.c.ProbeController - Value: ''

in logs.
Please re-open the issue.

@Ashald thanks for more info. Can you update the code in the steps to reproduce? I think there's still a simple issue with the tick (') marks. Can you try printing with the correct $ prefix an no ' tick marks? We obviously have a ton of test in this area which are working properly so I am inclined to believe it a simple issue of printing.
Thanks!

Ah, I know the problem. See: https://twitter.github.io/finatra/user-guide/http/requests.html#custom-request-case-class
Specifically:
Custom “request” case classes can be used for declarative parsing of requests with a content-type of application/json with support for type conversions, default values, and validations.

You need to pass an "application/json" accept header in your curl command.

Supplying content-type on GET requests is cumbersome, especially if you expect that users will try API in browsers. So this ticket probably should be treated more like a question: do you think we can make an option re lift the requirement for specific content-type for this to work?

@Ashald I think this is difference of intent. For this case, you are somewhat misusing the functionality and I would not suggest using a case class and an @RouteParam. You can simply parse the value from the incoming request param map. Using a case class here does nothing but add the burden of the needing to specify a content-type header.
Eg.,
import com.twitter.finagle.http.Request

class ProbeController @Inject()(
  facade: ProbeFacade
) extends Controller
  with Logging {

get("/cursor/:id/read") { request: Request =>
    logger.info(s"Value: `${request.getParam("id")}`")
  }
}

would be the expected way to do this. See here for more examples.
As I mentioned the intent of using a case class is generally to parse an incoming request body that is assumed to be JSON into the case class object. The @RouteParam is a convenience be able to also pull params from the path when doing so (same with @QueryParam for query parameters and @FormParam for form parameters). Using them alone in a case class buys you almost nothing and incurs the setting of the content-type cost.
Thanks!

Well, it feels like the fact that there is a way to mix route params with "body"/"query" params is some sort of abstraction leak according to the  intended usage you mentioned. My expectation was that using case classes would help with type coercion and validation.
Anyway, from my personal point of view it's a huge disappointment that I cannot use pattern matching with Request case classes in order to extract parameters from the request. But if it's not how it was indented to use then there is nothing we can do within this issue so I'm going to close it.


gitlab: 12.4.2 -> 12.4.3

Motivation for this change
Things done

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

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

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

Notify maintainers
cc @talyz @fpletz @globin @krav

cc @flokli

backported to 19.09 in 105e5282b20.

Hm, it seems 12.5 was also released on Nov 22: https://about.gitlab.com/blog/2019/11/22/gitlab-12-5-released/
Anybody already on it? :laughing:

Oh, I'll get on it today :)


[Feature Request]: Add fitbot ( a personal trainer chatbot)

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
FitBot is an innovative personal trainer chatbot designed to enhance your fitness journey on FitFlex. Acting as your virtual fitness coach, FitBot provides real-time guidance, motivation, and support tailored to your individual needs. Whether you're looking to lose weight, build muscle, or improve your overall fitness, FitBot offers personalized workout suggestions, nutritional advice, and progress tracking.

Nutrition Guidance: Receive tailored meal plans and nutritional tips to complement your fitness routine and help you achieve your weight loss or muscle gain objectives.
Progress Tracking: Easily log your workouts, monitor your progress, and receive feedback to keep you motivated.
24/7 Support: FitBot is available around the clock to answer your questions, provide encouragement, and help you overcome any challenges you may face in your fitness journey.
Interactive Chat Experience: Engage in friendly, conversational interactions that make working out feel more enjoyable and less daunting.
Benefits
With FitBot by your side, achieving your fitness goals becomes a fun and interactive experience.
Add ScreenShots
No response
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC-EXT contributor
[X] I'm a HACKTOBERFEST contributor
[X] I have starred the repository

@amanver45 Someone is working on that; I will let you know if further help is required to him.

Can you mention issue that work on fitbot  because #37 is closed

@jeevan10017 PLS REPLY

@jeevan10017 he close the issue


Revert "Stop depending on libtensorflow_framework.so just for InitMain()."

Reverts apple/swift#20898 because it broke all builds. There was no indication that it passed any tests before being merged.

@swift-ci please clean test tensorflow


build: fix pd rebuild on testnet dir

Fixes build caching for pd. Follow up to #2292. Ensures that the testnet directory referenced by the pd build script is a fullpath, rather than a dirname. The dirname didn't resolve to a valid relpath from the perspective of the build, so cargo was always rebuilding pd, even when no code had changed.
For reference, the command I used to identify the always-marked-dirty dir build dep was:
CARGO_LOG=cargo::core::compiler::fingerprint=info cargo build --release --bin pd
The speedup on hot builds of pd is ~100x, 30s -> 0.3s on my machine. Benchmarks from local runs:
On main:
❯ hyperfine --warmup 2 --runs 5 'cargo build --release --bin pd'
Benchmark 1: cargo build --release --bin pd
  Time (mean ± σ):     32.689 s ±  0.244 s    [User: 143.447 s, System: 3.406 s]
  Range (min … max):   32.394 s … 33.009 s    5 runs

On this feature branch:
❯ hyperfine --warmup 2 --runs 5 'cargo build --release --bin pd'
Benchmark 1: cargo build --release --bin pd
  Time (mean ± σ):     305.5 ms ±   2.2 ms    [User: 236.6 ms, System: 67.0 ms]
  Range (min … max):   302.5 ms … 307.3 ms    5 runs

I tacked on one more commit so that a general cargo build --release rebuild is speedy now, too.


xxHash: <IP_ADDRESS>71018 -> <IP_ADDRESS>71222

Motivation for this change
Updated version of xxHash features a library target that may be useful
for some packages.
Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build xxHash

Success on x86_64-darwin (full log)
Attempted: xxHash
Partial log (click to expand)
Installing man pages
xxhash installation completed
post-installation fixup
gzipping man pages under /nix/store/v5yiyv82h9y6214vir3c5igsrh62xi41-xxHash-<IP_ADDRESS>71222/share/man/
strip is /nix/store/kdff2gim6417493yha769kh00n63lnrw-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/v5yiyv82h9y6214vir3c5igsrh62xi41-xxHash-<IP_ADDRESS>71222/lib  /nix/store/v5yiyv82h9y6214vir3c5igsrh62xi41-xxHash-<IP_ADDRESS>71222/bin
patching script interpreter paths in /nix/store/v5yiyv82h9y6214vir3c5igsrh62xi41-xxHash-<IP_ADDRESS>71222
strip is /nix/store/kdff2gim6417493yha769kh00n63lnrw-cctools-binutils-darwin/bin/strip
patching script interpreter paths in /nix/store/9b4v0g0mk5q33c19y42z6zndrpas323q-xxHash-<IP_ADDRESS>71222-dev
/nix/store/v5yiyv82h9y6214vir3c5igsrh62xi41-xxHash-<IP_ADDRESS>71222

Success on x86_64-linux (full log)
Attempted: xxHash
Partial log (click to expand)
gzipping man pages under /nix/store/83brbp498pmhcbf88yw2w85c7bicgcn2-xxHash-<IP_ADDRESS>71222/share/man/
strip is /nix/store/j75dgadrff2d1fyc4fczmcgqkid2imdx-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/83brbp498pmhcbf88yw2w85c7bicgcn2-xxHash-<IP_ADDRESS>71222/lib  /nix/store/83brbp498pmhcbf88yw2w85c7bicgcn2-xxHash-<IP_ADDRESS>71222/bin
patching script interpreter paths in /nix/store/83brbp498pmhcbf88yw2w85c7bicgcn2-xxHash-<IP_ADDRESS>71222
checking for references to /build in /nix/store/83brbp498pmhcbf88yw2w85c7bicgcn2-xxHash-<IP_ADDRESS>71222...
shrinking RPATHs of ELF executables and libraries in /nix/store/k742j5ia83f8cypms6q7i2bvr062pf5p-xxHash-<IP_ADDRESS>71222-dev
strip is /nix/store/j75dgadrff2d1fyc4fczmcgqkid2imdx-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/k742j5ia83f8cypms6q7i2bvr062pf5p-xxHash-<IP_ADDRESS>71222-dev
checking for references to /build in /nix/store/k742j5ia83f8cypms6q7i2bvr062pf5p-xxHash-<IP_ADDRESS>71222-dev...
/nix/store/83brbp498pmhcbf88yw2w85c7bicgcn2-xxHash-<IP_ADDRESS>71222

Success on aarch64-linux (full log)
Attempted: xxHash
Partial log (click to expand)
gzipping man pages under /nix/store/ymf6mwad16dq0i6qdkgw4d5671yv3slm-xxHash-<IP_ADDRESS>71222/share/man/
strip is /nix/store/j7d4mr0ikv974ig7yzhknpsq288js4bs-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/ymf6mwad16dq0i6qdkgw4d5671yv3slm-xxHash-<IP_ADDRESS>71222/lib  /nix/store/ymf6mwad16dq0i6qdkgw4d5671yv3slm-xxHash-<IP_ADDRESS>71222/bin
patching script interpreter paths in /nix/store/ymf6mwad16dq0i6qdkgw4d5671yv3slm-xxHash-<IP_ADDRESS>71222
checking for references to /build in /nix/store/ymf6mwad16dq0i6qdkgw4d5671yv3slm-xxHash-<IP_ADDRESS>71222...
shrinking RPATHs of ELF executables and libraries in /nix/store/3pg0zydxwai5zdff6avlgdik7w09v2si-xxHash-<IP_ADDRESS>71222-dev
strip is /nix/store/j7d4mr0ikv974ig7yzhknpsq288js4bs-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/3pg0zydxwai5zdff6avlgdik7w09v2si-xxHash-<IP_ADDRESS>71222-dev
checking for references to /build in /nix/store/3pg0zydxwai5zdff6avlgdik7w09v2si-xxHash-<IP_ADDRESS>71222-dev...
/nix/store/ymf6mwad16dq0i6qdkgw4d5671yv3slm-xxHash-<IP_ADDRESS>71222

@GrahamcOfBorg build root haskellPackages.xxhash-ffi

Failure on x86_64-darwin (full log)
Attempted: root, haskellPackages.xxhash-ffi
Partial log (click to expand)
[ 75%] Building CXX object io/io/CMakeFiles/RIOObjs.dir/src/TMakeProject.cxx.o
[ 75%] Building CXX object io/io/CMakeFiles/RIOObjs.dir/src/TMapFile.cxx.o
[ 75%] Building CXX object io/io/CMakeFiles/RIOObjs.dir/src/TMemFile.cxx.o
[ 75%] Building CXX object io/io/CMakeFiles/RIOObjs.dir/src/TStreamerInfo.cxx.o
[ 75%] Building CXX object io/io/CMakeFiles/RIOObjs.dir/src/TStreamerInfoActions.cxx.o
[ 75%] Building CXX object io/io/CMakeFiles/RIOObjs.dir/src/TStreamerInfoReadBuffer.cxx.o
[ 75%] Building CXX object io/io/CMakeFiles/RIOObjs.dir/src/TStreamerInfoWriteBuffer.cxx.o
[ 75%] Building CXX object io/io/CMakeFiles/RIOObjs.dir/src/TZIPFile.cxx.o
building of '/nix/store/0yals5ysnfj3zzvwicd58x482lii9q53-root-6.12.06.drv' timed out after 1800 seconds
error: build of '/nix/store/0yals5ysnfj3zzvwicd58x482lii9q53-root-6.12.06.drv' failed

Success on x86_64-linux (full log)
Attempted: root, haskellPackages.xxhash-ffi
Partial log (click to expand)
/nix/store/8cy515vlxlpxhdvz11fjn78ys945zi4r-root-6.12.06/bin/rootdrawtree: interpreter directive changed from "/usr/bin/env python" to "/nix/store/l9j2jsc9flrbmpf799nw9wdq59gpwms8-python-2.7.14/bin/python"
/nix/store/8cy515vlxlpxhdvz11fjn78ys945zi4r-root-6.12.06/bin/rooteventselector: interpreter directive changed from "/usr/bin/env python" to "/nix/store/l9j2jsc9flrbmpf799nw9wdq59gpwms8-python-2.7.14/bin/python"
/nix/store/8cy515vlxlpxhdvz11fjn78ys945zi4r-root-6.12.06/bin/rootls: interpreter directive changed from "/usr/bin/env python" to "/nix/store/l9j2jsc9flrbmpf799nw9wdq59gpwms8-python-2.7.14/bin/python"
/nix/store/8cy515vlxlpxhdvz11fjn78ys945zi4r-root-6.12.06/bin/rootmkdir: interpreter directive changed from "/usr/bin/env python" to "/nix/store/l9j2jsc9flrbmpf799nw9wdq59gpwms8-python-2.7.14/bin/python"
/nix/store/8cy515vlxlpxhdvz11fjn78ys945zi4r-root-6.12.06/bin/rootmv: interpreter directive changed from "/usr/bin/env python" to "/nix/store/l9j2jsc9flrbmpf799nw9wdq59gpwms8-python-2.7.14/bin/python"
/nix/store/8cy515vlxlpxhdvz11fjn78ys945zi4r-root-6.12.06/bin/rootprint: interpreter directive changed from "/usr/bin/env python" to "/nix/store/l9j2jsc9flrbmpf799nw9wdq59gpwms8-python-2.7.14/bin/python"
/nix/store/8cy515vlxlpxhdvz11fjn78ys945zi4r-root-6.12.06/bin/rootrm: interpreter directive changed from "/usr/bin/env python" to "/nix/store/l9j2jsc9flrbmpf799nw9wdq59gpwms8-python-2.7.14/bin/python"
/nix/store/8cy515vlxlpxhdvz11fjn78ys945zi4r-root-6.12.06/bin/rootslimtree: interpreter directive changed from "/usr/bin/env python" to "/nix/store/l9j2jsc9flrbmpf799nw9wdq59gpwms8-python-2.7.14/bin/python"
/nix/store/8cy515vlxlpxhdvz11fjn78ys945zi4r-root-6.12.06/bin/prepareHistFactory: interpreter directive changed from "/bin/sh" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh"
checking for references to /build in /nix/store/8cy515vlxlpxhdvz11fjn78ys945zi4r-root-6.12.06...

Failure on aarch64-linux (full log)
Attempted: root
The following builds were skipped because they don't evaluate on aarch64-linux: haskellPackages.xxhash-ffi
Partial log (click to expand)
[ 76%] Building CXX object hist/hist/CMakeFiles/Hist.dir/src/TAxis.cxx.o
[ 76%] Building CXX object hist/hist/CMakeFiles/Hist.dir/src/TAxisModLab.cxx.o
[ 76%] Building CXX object hist/hist/CMakeFiles/Hist.dir/src/Haxis.cxx.o
[ 76%] Building CXX object hist/hist/CMakeFiles/Hist.dir/src/HFitInterface.cxx.o
[ 76%] Building CXX object tree/tree/CMakeFiles/Tree.dir/src/TSelectorScalar.cxx.o
[ 76%] Building CXX object tree/tree/CMakeFiles/Tree.dir/src/TSelectorList.cxx.o
[ 76%] Building CXX object tree/tree/CMakeFiles/Tree.dir/src/TSelector.cxx.o
[ 76%] Building CXX object tree/tree/CMakeFiles/Tree.dir/src/TQueryResult.cxx.o
building of '/nix/store/j9wnxz34iq55lksiyi07flr291kcs6gn-root-6.12.06.drv' timed out after 3600 seconds
error: build of '/nix/store/j9wnxz34iq55lksiyi07flr291kcs6gn-root-6.12.06.drv' failed


warn only for missing fields when required in context

In some tasks there some properties are only required when other properties have a specific value. In a practical example the task IISWebAppManagementOnMachineGroup could be used. e. g. if IISDeploymentType is set to IISWebApplication the propterty AppPoolNameForWebsite is not required. So as a developer I have to ignore those hints, wich may be helpfull in other cases.
- task: IISWebAppManagementOnMachineGroup@0
  displayName: 'modify wep app '
  inputs:
    IISDeploymentType: 'IISWebApplication'
    ParentWebsiteNameForApplication: '$(WebsiteName)'
    AppPoolNameForApplication: '$(AppPoolName)'
    VirtualPathForApplication: "/api/"
    PhysicalPathForApplication: '$(wwwRootPath)/api/'

Hi @efinder2 thanks for the suggestion! We're working on higher priority issues now, but we'll get back to this one soon.


[HOTFIX] Fix wrong License header

Why is this PR needed?
Two test files in pycarbon module has wrong license header.
As pycarbon depends on open source Apache license uber's petastrom project.
These two testcase files were imported from that project has this error.
What changes were proposed in this PR?
Fix the license header same as other files.
Does this PR introduce any user interface change?

No

Is any new testcase added?

No

@kunal642 please check

Build Success with Spark 2.4.5, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbon_PR_Builder_2.4.5/1650/

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

LGTM


Get bounds of a container?

Is there a way to get the bounds of an element? For example, if I want to set an element to fill available space, but then I want to know how big that element actually ended up being, is there a way to query that? If not, I guess this is a feature request for that.
Also, it would be nice to know the x,y position of an element so you could translate mouse events from iced_native::subscription::events() into the relative coordinates of the element.
For example, Elm provides that functionality in Browser.Dom

I am also wondering this. I am trying to get relative pixel locations of an image by querying the cursor position over a displayed image.

@QuinnFreedman
It sounds like you are looking for something like getElement from elm. That is not yet implemented in iced

@davidclevenger
You will need to use a canvas for that. The game of life example uses a canvas to track mouse inputs

I have just opened #1193, which implements a Responsive widget that may suit some of the use cases described here. Let me know!

@hecrj I believe this should work for my use case. I am trying to create a photo editor so I need to track mouse location inside the Image widget to mark pixel locations. I will update here with any successes or difficulties. Thanks for adding!


Right Joycon not registering

Hi, I'm having a problem where my right Joycon isn't registering properly in JoyMapperSilicon. I've disconnected and reconnected several times but it will only come up as a left Joycon with left buttons with no way to change it. I'm not very code savvy – is there a fix for this? Thanks in advance

It has been happening to me, too. Mine is not a genuine joycon from an unknown company. It works okay with a genuine joycon.
Note: Enjoyable does not have the issue but it does not allow key inputs with modifier.


RUMM-1654 Fix the crash in nightly tests for NetworkInterceptor

What does this PR do?
A brief description of the change being made with this pull request.
Motivation
What inspired you to submit this pull request?
Additional Notes
Anything else we should know when reviewing?
Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] Make sure you discussed the feature or bugfix with the maintaining team in an Issue
[ ] Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)

Codecov Report

Merging #713 (ebeb33e) into master (7d68fc8) will increase coverage by 0.11%.
The diff coverage is n/a.


yang loading failing for 'anydata' statement,   if any of its susbstatments coexist with 'descrition' substatement

Refer to below exmaple:
If only 'description' susbstatment present under anydata, yang loading is succesfull
if only 'when' substatment is present under anydata, yang loading is succesful.
if both 'description' and 'when' substatements are present under anydata, then yang loading is failing.
No other substatements are being able to be co-exist alomg with 'description'
module anydataTest {
	namespace urn:x;
	prefix x;
	revision 2023-01-01;
	leaf leaf-node {
		type string;
	}
	container Test {
		anydata dump {
			when "../../leaf-node";
			description "Dump data";
		}
	}
}

fixes


add interrupt button to spark progress

an "x" aligned right that interrupts the job on the cluster.

how about a "bkg" button that allows the cell to finish even though it is still running.
as if you had run it with %%async?

yes the bkg button is a good idea.  it should be labeled with "&".  it should be to the left of the "x".
tooltip for "x" should be "interrupt spark job".  tooltip for "&" should be "put spark job in the background, let it complete asynchronously".


Move keyless signing out of experimental

Related to https://github.com/sigstore/cosign/issues/116, just opening this for tracking.

I believe this is fixed by https://github.com/sigstore/cosign/pull/2459


Account summary quad boxes jumps

with My Active Markets partially filled when the user expands other quad boxes jump.

that shouldn't be an issue anymore when the account layouot is updated https://github.com/AugurProject/augur/issues/1521

ok, I put the other tix is blocking this one. when #1521 is fixed move this tix along with it.

looks better - closing


Does this work at all?

I've tried 2 of the examples so far, both come back with errors. Normal looking spreadsheet http://cl.ly/image/1n0g420f3q1N
My code
GoogleSpreadsheets({
		    key: "MYKEY"
		}, function(err, spreadsheet) {
		    spreadsheet.worksheets[0].cells({
		        range: "A1R1:A1CR2"
		    }, function(err, result) {
		    	console.log(result);
		    });
		});

Which gives me
spreadsheet.worksheets[0].cells({
							           ^
TypeError: Cannot read property 'worksheets' of null

And if I try one of the direct methods I get
node_modules/google-spreadsheets/lib/spreadsheets.js:238
    if(typeof data.entry !== "undefined" && data.entry !== null) {
                  ^
TypeError: Cannot read property 'entry' of undefined

And yes I've my spreadsheet public for unauthed testing.  Thoughts?

I've also tried without the range

@optikalefx I just ran the tests for the project (which load a test spreadsheet from real Google API) and it all seems to be working. Can you debug a little further and come up with a reproducible test case I can play with?

So I ran your test, and it worked fine. I replaced just your key with my key and got the following.
err [TypeError: Cannot read property 'title' of undefined]

Where this is the response from your API. So I guess it's reading it, but can't read my data set? The screenshot above of my sheet. Here is an open google doc of a copy of the spreadsheet so you could test it.  >>>>> https://docs.google.com/spreadsheets/d/1ZSYZYnk60MmPp-JPGKIhN3M8-WUMtCsWXTLakYE9-cA/edit#gid=0

What's odd is that when I go to the URL you're forming directly https://spreadsheets.google.com/feeds/worksheets/1ZSYZYnk60MmPp-JPGKIhN3M8-WUMtCsWXTLakYE9-cA/public/values?alt=json
Google says this is not public.  But it definitely is public. http://cl.ly/image/032g3o402h11

@optikalefx I think I know what the problem is now.
Take a look at the Anonymous Requests section of the README. It's not enough to simply make your spreadsheet public, you also have to make it "published".
You do this by clicking File -> Publish to the Web... from the spreadsheet editor.
When I do that for the spreadsheet that works in tests, I see something like this:

That was it. Thanks! You should update the readme.


[Fix #1591] Don't check #[] parameters in MultilineOperationIndentation

Those parameters aren't the operators that this cop should check.

:+1:


[FR] - in SimpleView some prometheus metrics are missing

External
Summary
in SimpleView some prometheus metrics are missing
Steps to reproduce
Configure the node in SimpleView mode
Expected behavior
I expect to have these prometheus metrics :

cardano_node_Forge_metrics_operationalCertificateExpiryKESPeriod_int
cardano_node_Forge_metrics_currentKESPeriod_int
cardano_node_Forge_metrics_remainingKESPeriods_int
cardano_node_metrics_Forge_forged_int
cardano_node_metrics_Forge_adopted_int

They are missing. It's the metrics I use. I guess other KES & Forge related metrics are missing too...
System info (please complete the following information):

OS: Ubuntu
Version 18.04
Node version cardano-cli 1.13.0 - linux-x86_64 - ghc-8.6 git rev 9925ef37dccbe7f423f3ceb81a5e1da3d924393b

Hi Proxiweb , this is Viktor at IOHK Tech Support. Thank you for submitting this feature request. We have added it to our backlog and we`ll allocate it to one of our future development sprints. We appreciate your participation and support for the Cardano project!


Template param

Builds on top of #8

Linux is good, osx is backlogged.

Coverage increased (+1.7%) to 83.142% when pulling 84ab93ada964be3c0cb3cfb51772bc44e0140a63 on template-param into 21aaf158ff3ae70713af28b05fdefd31532e0e33 on master.


Need to add field parsing to server

The server does no computation on the received messages, only routing. Need to rethink this and also do some routing based on fields present for received objects.
Parsing JSON to go maps for field names for reference

Have a functioning prototype of field parsing for json and yaml. However order matters, which causes the test to fail when I do a per-value comparison of the return and actual values for json parsing. Yaml parsing works. The parsing fails sporatically, as an example, nothing changed between test runs:
C:\Users\micha\go\src\github.com\michael-golfi\rules\server\http\inference\json>go test . -v
=== RUN   TestInferJsonStructure
--- FAIL: TestInferJsonStructure (0.00s)
        Error Trace:    infer_test.go:55
        Error:          Not equal: []inference.Field{inference.Field{Name:"id", Type:"string", SubObject:[]inference.Field(nil)}, inference.Field{Name:"type", Type:"string", SubObject:[]inference.Field(nil)}, inference.Field{Name:"ppu", Type:"double", SubObject:[]inference.Field(nil)}, inference.Field{Name:"batters", Type:"object", SubObject:[]inference.Field{inference.Field{Name:"batter", Type:"array", SubObject:[]inference.Field{inference.Field{Name:"0", Type:"object", SubObject:[]inference.Field{inference.Field{Name:"id", Type:"string", SubObject:[]inference.Field(nil)}, inference.Field{Name:"type", Type:"string", SubObject:[]inference.Field(nil)}}}, inference.Field{Name:"1", Type:"object", SubObject:[]inference.Field{inference.Field{Name:"id", Type:"string", SubObject:[]inference.Field(nil)}, inference.Field{Name:"type", Type:"string", SubObject:[]inference.Field(nil)}}}}}}}, inference.Field{Name:"topping", Type:"array", SubObject:[]inference.Field{inference.Field{Name:"0", Type:"object", SubObject:[]inference.Field{inference.Field{Name:"id", Type:"string", SubObject:[]inference.Field(nil)}, inference.Field{Name:"type", Type:"string", SubObject:[]inference.Field(nil)}}}}}} (expected)
                                != []inference.Field{inference.Field{Name:"topping", Type:"array", SubObject:[]inference.Field{inference.Field{Name:"0", Type:"object", SubObject:[]inference.Field{inference.Field{Name:"id", Type:"string", SubObject:[]inference.Field(nil)}, inference.Field{Name:"type", Type:"string", SubObject:[]inference.Field(nil)}}}}}, inference.Field{Name:"id", Type:"string", SubObject:[]inference.Field(nil)}, inference.Field{Name:"type", Type:"string", SubObject:[]inference.Field(nil)}, inference.Field{Name:"ppu", Type:"double", SubObject:[]inference.Field(nil)}, inference.Field{Name:"batters", Type:"object", SubObject:[]inference.Field{inference.Field{Name:"batter", Type:"array", SubObject:[]inference.Field{inference.Field{Name:"0", Type:"object", SubObject:[]inference.Field{inference.Field{Name:"id", Type:"string", SubObject:[]inference.Field(nil)}, inference.Field{Name:"type", Type:"string", SubObject:[]inference.Field(nil)}}}, inference.Field{Name:"1", Type:"object", SubObject:[]inference.Field{inference.Field{Name:"id", Type:"string", SubObject:[]inference.Field(nil)}, inference.Field{Name:"type", Type:"string", SubObject:[]inference.Field(nil)}}}}}}}} (actual)

FAIL
exit status 1
FAIL    github.com/michael-golfi/rules/server/http/inference/json       0.094s

C:\Users\micha\go\src\github.com\michael-golfi\rules\server\http\inference\json>go test . -v
=== RUN   TestInferJsonStructure
--- PASS: TestInferJsonStructure (0.00s)
PASS
ok      github.com/michael-golfi/rules/server/http/inference/json       0.075s```

45f66b15cd83a42f234cf3037e1568d42e4e5e7e - Fixed the json parsing test to be reliable.


[FRONTEND][TFLITE] Add support for TFLite_Detection_PostProcess

This adds support for the custom operator TFLite_Detection_PostProcess which is commonly used in object detection networks such as SSD Mobilenet. It only adds support for when use_regular_nms = False.
This implementation makes use of the existing multibox_transform_loc and non_max_suppression operators. Their design is closely coupled to the mxnet version of this custom operator, so a number of transformations have to be added before and after to get them to accept the tflite format for this operator.
This PR depends on the fix in https://github.com/apache/incubator-tvm/pull/4541.

@yongwww

@mbarrett97 please update as per review comment, @FrozenGene please https://docs.tvm.ai/contribute/code_review.html#approve-and-request-changes-explicitly

@mbarrett97 please rebase, @FrozenGene please followup :)

All changes have been done ? Anything left to merge this in  ?

@FrozenGene please https://docs.tvm.ai/contribute/code_review.html#approve-and-request-changes-explicitly

Thanks everyone , merged now


feat: Making notices more general

Summary of Changes
Added wildcard functionality to notices (ie if we wanted to add a notice to every table in the shadow schema, could do that with ..shadow.*) and dynamic HTML messages (ie if we wanted to have each of those notices have a different message depending on which table it was)
Why
Part of the follow up work for the Notices feature detailed on the RFC: https://github.com/amundsen-io/rfcs/blob/master/rfcs/029-resource-notices.md#future-possibilities
Mentioned on the original PR: https://github.com/amundsen-io/amundsenfrontendlibrary/pull/957#issuecomment-802943900
Tests
Added notices tests to test the functionality of the wildcard and the dynamic message.

/ptal @itstemo @Golodhros #persistence-dev

remade pr here: https://github.com/amundsen-io/amundsen/pull/1280


[MM-14593] Add password type for Interactive Dialogs

Add textarea SUB-TYPE to interactive dialogs

https://github.com/mattermost/mattermost-webapp/pull/3057

@aaronrothschild Can you help finish this doc?

Sorry Amy, this is an old branch and I updated the docs through one of my "squished" updates for 5.14 I think.  All of Hanzei's comments were incorporated into: https://github.com/mattermost/docs/blob/master/source/developer/interactive-dialogs.rst

@aaronrothschild Password for dialogs are only available from v5.16 onward. Would you please fix this?


Force encoding to be consistent.

Loading binary data through http.rb in jruby returns a utf-8 encoded string right now, which then errors if invalid utf-8 sequences are included.
Not sure if this is the right solution, but it fixes my problem and makes the encodings of returned data consistent across ruby versions.

Closed via 1ab394f06da8b0ce5b9e26b21e07460351677277

Thanks!


AmplitudeEstimation question

I'm trying to apply QAE to this circuit but I don't know how to get an actual value out of it, it just outputs this statement. Am I missing a parameter? Also, is num_eval the number of qubits in the circuit?

You could check out one of the finance tutorials that use amplitude estimation: https://github.com/Qiskit/qiskit-finance/blob/main/docs/tutorials/03_european_call_option_pricing.ipynb.
All the algorithms take algorithmic specifications (like the number of evaluation/QFT qubits, that determine the accuracy of AE) in the initializer, and then have a method to execute the algorithm which takes the problem specifications (like the state preparation). For example, if you're A-operator is just an RY-rotation
from qiskit import QuantumCircuit, Aer
from qiskit.algorithms import AmplitudeEstimation, EstimationProblem

circuit = QuantumCircuit(1)
circuit.ry(0.12, 0)

# the EstimationProblem takes the state preparation circuit (or A-operator)
# and which qubits you want to be |1> to mark a good state
problem = EstimationProblem(state_preparation=circuit, objective_qubits=[0])

# the algorithm itself takes algorithmic specifications concerning the
# accuracy or the simulator
sim = Aer.get_backend('statevector_simulator')
ae = AmplitudeEstimation(num_eval_qubits=3, quantum_instance=sim)

# then you can call the estimate method to execute the algorithm
result = ae.estimate(problem)

print(result)

The number of evaluation qubits, num_eval_qubits, specifies how many auxiliary qubits the phase estimation circuit uses and determines the accuracy of the algorithm (have a look at the original AE paper https://arxiv.org/abs/quant-ph/0005055 to see how it affects the accuracy). So the total number of qubits is the number of evaluation qubits plus the number of qubits in your A-operator.

Thanks this is really helpful. Just one more question. I see an array of values; what are these values of?

The result contains a bunch of information, see https://qiskit.org/documentation/stubs/qiskit.algorithms.AmplitudeEstimationResult.html?highlight=amplitudeestimation#qiskit.algorithms.AmplitudeEstimationResult for the documentation.
Is there an attribute in particular you have a question about?

If I say result.estimation, does that give me the actual amplitude that QAE is calculating?


Forms submit when they are empty

The forms shouldn't submit when they are empty. I would be working on form validation

Can I help you with the form, also let me do the validation

I would like to work on this issue.

Whoever wants to work, Create a PR.


Array associations

The functional change here allows for Array associations that do not use the ID.
Uses for this would be if (for example) the source entity exposes a list of encoded IDs.
The only requirement to enable this is to pass a closure for the associated entity to expose the reference.
Since this is a slow moving repo, I revisited the example project and linter rules.
The example now uses codable Raw Data instead of JSON.

Codecov Report

Merging #37 (29c03a2) into main (720319b) will decrease coverage by 0.25%.
The diff coverage is 89.02%.

@@            Coverage Diff             @@
##             main      #37      +/-   ##
==========================================
- Coverage   90.83%   90.58%   -0.26%
==========================================
  Files          30       30
  Lines        4901     4884      -17
==========================================
- Hits         4452     4424      -28
- Misses        449      460      +11

Impacted Files
Coverage Δ

...s/Sources/Requests/PaginatingFetchDefinition.swift
91.66% <ø> (ø)

...ibleSectionsFetchedResultsControllerTestCase.swift
99.13% <ø> (-0.03%)
:arrow_down:

...Controllers/FetchedResultsControllerTestCase.swift
100.00% <ø> (ø)

FetchRequests/Tests/TestObject+Associations.swift
73.39% <ø> (ø)

FetchRequests/Tests/TestObject.swift
89.47% <ø> (ø)

.../Controller/FetchedResultsControllerProtocol.swift
81.31% <33.33%> (ø)

.../Sources/Controller/FetchedResultsController.swift
79.85% <55.55%> (-1.30%)
:arrow_down:

.../CollapsibleSectionsFetchedResultsController.swift
86.85% <75.00%> (-0.41%)
:arrow_down:

...tchRequests/Sources/SwiftUI/FetchableRequest.swift
88.05% <83.33%> (ø)

...Sources/Associations/FetchRequestAssociation.swift
76.44% <97.14%> (+0.93%)
:arrow_up:

... and 7 more

Continue to review full report at Codecov.

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


Fixes

All occurrences of the “openid profile” scope have been replaced with
“openid name email”.

Like https://github.com/auth0/Lock.iOS-OSX/pull/190, we shouldn't change the value of a constant to avoid introducing breaking changes unnecessary. We'll add a deprecation warning to the constant to warn the lib user to avoid it/

@hzalaz I think regardless of what we do on lock, we should definitely do this on samples.


add typohero filter

similar to typogruby etc, but faster and better

@ddfreyne Sure thx!

And it’s released!
There’s some work to be done on granting everyone access to all nanoc-related gems, but that’s a separate issue.


cannot print environments when variable has single quotes

https://github.com/tonnytg/42_minishell/tree/main/srcs/quotes


Improve text readability in parentheses highlighting

The text is barely readable while the matching parentheses are highlighted. This applies to all varients, event thought the images only shows this in the Mocha.
Before

After

thank you)


Speed up compilation

We want fast dev/debug compilation to make the feedback loop as short as possible. Especially for the frontend code.
Current incremental frontend compilation speed of two projects based on MoonZoon on my dev machine (Kubuntu, i7-9700K, 39GB RAM) without any special optimizations:

Project A with ~33k lines of Rust frontend code: ~37s
Project B with ~10k lines of Rust frontend code: ~11s

Options:

Add into Cargo.toml:[profile.dev]
debug = false

This reduces the time more than three times - Project A ~11s, Project B ~3s (with disabled Rust Analyzer in VS Code).
Perhaps we should disable debug by default. Users still be able to compile the project with debug information in profiling mode. (?)

Rust Analyzer calls cargo check on the file save in VS Code to get info about your code. However, it blocks MZ auto-reload because the Rust compilation is blocked by that cargo check. The difference is cca 15s vs 11s for the Project A. I'm not sure whether it's possible to run them in parallel or resolve this slowdown another way. Ideas?
Switch to alternative codegen backend like https://github.com/bjorn3/rustc_codegen_cranelift. Unfortunately, Cranelift doesn't support Wasm yet, see related issues:

https://github.com/bytecodealliance/wasmtime/issues/2566
https://github.com/bjorn3/rustc_codegen_cranelift/issues/1217
https://github.com/bjorn3/rustc_codegen_cranelift/issues/1334
Also I've tried to compile the Project A with the command RUSTFLAGS=-Ztime-passes env $(cat ../env/development.env) cargo +nightly build --target wasm32-unknown-unknown in the frontend crate and these are the slowest steps (the total time is ~15s):time:   1.184; rss:  620MB ->  773MB ( +154MB)  item_types_checking
time:   1.378; rss:  595MB ->  778MB ( +183MB)  type_check_crate
time:   3.090; rss:  873MB -> 1190MB ( +317MB)  monomorphization_collector_graph_walk
time:   1.255; rss: 1369MB -> 1955MB ( +586MB)  codegen_to_LLVM_IR
time:   5.263; rss:  872MB -> 1955MB (+1084MB)  codegen_crate
time:   2.329; rss: 1497MB -> 1545MB (  +47MB)  LLVM_passes
time:   1.344; rss: 2088MB -> 1421MB ( -667MB)  finish_ongoing_codegen
time:   2.179; rss: 2088MB ->  715MB (-1374MB)  link

So from my understanding a faster codegen could help significantly.

Switch to alternative linker like https://github.com/rui314/mold. I wasn't able to make it work and I don't know whether it's Wasm-compatible.
Add a line like  println!("cargo:rerun-if-changed=src/chat.proto"); to your build.rs file. This potential improvement heavily depends on your build.rs code. No apparent compilation speed improvements in the Project A. Project B doesn't have build.rs.
Try to reduce the amount of LLVM IR. We can reduce it, for instance, by writing less generic functions or make them shorter or use other similar "hacks", see  https://nnethercote.github.io/perf-book/compile-times.html#llvm-ir.

I've compiled both projects with the command like env $(cat ../env/development.env) cargo llvm-lines --target wasm32-unknown-unknown | head -20 in their frontend crate and the result looks like this for the Project A:  Lines                  Copies                Function name
  -----                  ------                -------------
  3060641                217285                (TOTAL)
  151567 (5.0%,  5.0%)    5197 (2.4%,  2.4%)  core::option::Option<T>::map
  105943 (3.5%,  8.4%)    3727 (1.7%,  4.1%)  core::task::poll::Poll<T>::map
      60325 (2.0%, 10.4%)     796 (0.4%,  4.5%)  <futures_util::stream::stream::for_each::ForEach<St,Fut,F> as core::future::future::Future>::poll
      54395 (1.8%, 12.2%)     673 (0.3%,  4.8%)  <futures_signals::future::CancelableFuture<A,B> as core::future::future::Future>::poll
      49887 (1.6%, 13.8%)    1103 (0.5%,  5.3%)  std::sync::poison::map_result
      49283 (1.6%, 15.4%)     221 (0.1%,  5.4%)  alloc::raw_vec::RawVec<T,A>::grow_amortized
      41459 (1.4%, 16.8%)    1266 (0.6%,  6.0%)  core::option::Option<T>::as_pin_mut
      38677 (1.3%, 18.0%)    2957 (1.4%,  7.3%)  futures_signals::signal::signal::_::<impl futures_signals::signal::signal::Map<A,B>>::project
      36646 (1.2%, 19.2%)    2957 (1.4%,  8.7%)  <futures_signals::signal::signal::Map<A,B> as futures_signals::signal::signal::Signal>::poll_change
      34086 (1.1%, 20.3%)     494 (0.2%,  8.9%)  alloc::vec::Vec<T,A>::retain_mut::process_loop
      34005 (1.1%, 21.4%)     440 (0.2%,  9.1%)  futures_signals::signal::broadcaster::BroadcasterInnerState<A>::poll_signal
      32580 (1.1%, 22.5%)    8139 (3.7%, 12.9%)  core::pin::Pin<&mut T>::get_unchecked_mut
      30874 (1.0%, 23.5%)     848 (0.4%, 13.3%)  alloc::alloc::box_free
      29612 (1.0%, 24.5%)     673 (0.3%, 13.6%)  futures_signals::future::cancelable_future
      29364 (1.0%, 25.4%)    1160 (0.5%, 14.1%)  core::result::Result<T,E>::unwrap
      29020 (0.9%, 26.4%)    7255 (3.3%, 17.4%)  core::pin::Pin<P>::new_unchecked
      28992 (0.9%, 27.3%)    2957 (1.4%, 18.8%)  <futures_signals::signal::signal::Map<A,B> as futures_signals::signal::signal::Signal>::poll_change::{{closure}}::{{closure}}

I'm not really sure how/if we can improve the compilation speed based on the found data. Ideas?

We can split the code into multiple crates. It sounds like a too annoying/invasive way to decrease the compilation speed but perhaps the trade-off would be worth it. I haven't tried it.
Also don't forget to regularly update your Rust and MoonZoon versions. Rust update often helps quite a lot.

Some related/interesting links:

https://fasterthanli.me/articles/why-is-my-rust-build-so-slow
https://nnethercote.github.io/perf-book/compile-times.html
https://github.com/dtolnay/cargo-llvm-lines/
https://github.com/rui314/mold
https://github.com/bjorn3/rustc_codegen_cranelift
https://doc.rust-lang.org/cargo/reference/timings.html
https://www.reddit.com/r/rust/comments/xna9mb/why_are_rust_programs_slow_to_compile/

Do you have other ideas?

Updates:

... Perhaps we should disable debug by default ...

A PR with debug = false in the dev profile will be created soon.

.. I'm not sure whether it's possible to run them in parallel or resolve this slowdown another way. Ideas?

.vscode/settings.json:
{
    "rust-analyzer.cargo.extraEnv": {
        "CARGO_PROFILE_RUST_ANALYZER_INHERITS": "dev"
    },
    "rust-analyzer.cargo.extraArgs": [
        "--profile",
        "rust-analyzer"
    ]
}

Perhaps also other arguments like --target-dir would work similarly.

I was also checking differences between cargo build and cargo rustc and between bin package and cdylib => no observable differences regarding the compilation speed or the binary size.

The compilation is faster (almost 2x) on my Kubuntu than Windows. Don't know whether the reason is a different OS or a different SSD (Windows is installed on the older and slower one).


Integer overflow in music item

While fetching music media one of the fields has overflow int32.

Thanks !


fix: #1060

搜索增加 snippets 匹配

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Data Generator: bump Iceberg version, improve documentation

This will bump iceberg to the newest version 1.4.2 for data generator and improve the documentation for running the iceberg data generator.
At a later stage it might be considered to run this in a docker container this saves the developer the "hassle" of setting up java, scala, python3 and pyspark.

Hey @DPGrev sorry for the wait, and thanks for the PR! looks good!