Use FutureWarnings instead of DeprecationWarnings

follow-up of #11097
closes #11111

Can you add an entry to the top of the API section saying that from here on we will use FutureWarning instead of DeprecationWarning to signal our API changes? Then we can merge I think

@larsoner changelog added, should be ready for auto-merge.

Marked for auto-merge, thanks in advance @drammock !


Drives into Double yellow lines on a 2 lane highway

Drives into double yellow lanes
2020 Prius Prime XLE, DSU unplugged, Dynamic cruise engaged. While driving on 2 lane US highways US95 in Nevada the car will move into the double yellow lines to the point of trying to straddle the lines.  Happens during darkness, 2 lanes with the no passing lines on the left.  BUT if I turn off cruise and turn on with a 1.5 second or longer it engages standard criuse without radar or long control with open pilot, just lateral control works.  During standard cruise it did not move into the yellow lines.  When in Dynamic cruise with full OP long and lateral  the car again moved into double yellow lines.
In this video "https://my.comma.ai/e4a16227cff292b5/1602985741199/1602992924316#"
time stamped Oct 17  200330 and Oct 17 201645
I expected it to not drive into the center of the road. Happens only with double yellow lines for no passing.

Device: Comma2
Dongle ID: e4a16227cff292b5
Route: https://my.comma.ai/e4a16227cff292b5/1602985741199/1602992924316
Timestamp: Oct 17 200330
Oct 17 201630
Version: open pilot V0.7.9-Release no forks
2020 Toyota Prius Prime XLE
Calibration 0.9 down, 0.1 left

This was a return trip from Phoenix, AZ to Reno.  The first leg was mentioned in openpilot -experience after the original trip to Phoenix with all the same problems happened.  Both happened about 8:00 PM PDT in total darkness on the Oct 12 just before Gold Hill NV on a freshly coated and lined section with double yellow lines.  The return trip for the bug report happened Oct 17 just past Mercury, NV leaving a divided highway to 2 lane US95. Others on Discord also have mentioned double yellow line problems in 2 lane US highways and driving into the lines.  Its a hard pull into the lines using opposite resistance on the steering wheel.
Original problem was in the drive "https://my.comma.ai/e4a16227cff292b5/1602556277800/1602561465865#" and was mentioned on 10/14/2020 on Discord openpilot-experience.

Thanks for the report, the neural network fails to understand how the car is moving because there are no features to track in the image. There are only continuous lines and nothing else of interest. This then messes up calibration and moves the car. We are working on improving the model in this situation.

@patcoghm Thank you for posting this bug. This has been an issue for a long time with multiple users discussing on discord. thank you for posting up the official bug report.
1>) night time
2>) double yellow middle lane line
3>) typically turning right however this may be just a coincidence and doesn't depend on the direction on the road curve.
@HaraldSchafer thank you for looking into it. It makes OP unusable on the same road during the return trip when dark.

https://github.com/commaai/openpilot/issues/2399

I cannot find any fully uploaded routes where this happens. If anyone experiences this again and could have the data upload over wifi and post the route here, that would be very helpful!

@HaraldSchafer I may have found a couple of examples:
46f99988a32768fc|2020-09-30--19-44-50--3
46f99988a32768fc|2020-09-30--19-44-50--6

@patcoghm Thank you for posting this bug. This has been an issue for a long time with multiple users discussing on discord. thank you for posting up the official bug report.
1>) night time
2>) double yellow middle lane line
3>) typically turning left however this may be just a coincidence and doesn't depend on the direction on the road curve.
@HaraldSchafer thank you for looking into it. It makes OP unusable on the same road during the return trip when dark.

I experienced this to the T on my way home on a long road trip double yellow lines, only on curves to the left and night time never had it happen to me before but it seemed like it did it every time on this road was a new asphalt road and pitch black out. Trying to get the clip to load but it's a 6hr clip and no luck so far. This was in a 2020 Hyundai sonata btw.

@illumiN8i Thanks!

I can confirm this is a real issue.  It does seem to be worse at night where I've had it cross almost halfway into the opposite lane!

@brittonx more routes with this happening would be useful!

Here is the most recent segment...
2eacef693c0640f9|2020-10-30--18-44-42--12

Here you go, it's a huge mountain pass full of twisty turns at night and double center lane lines. Sometimes I let the car run over, but we got annoyed and started manually correcting it after a while. This was my return trip, I can share the outbound trip too if you need!
It's probably at least an hour long so lots of examples you can pull out:
2b979b9557651148|2020-10-26--01-37-40

5df6ac6dbf953ed1|2020-11-15--17-08-30--15
Practically not drivable at night when road has double yellow.

Here's my 2020 Prius Prime LE, left turn, same issue I think:
04befd90fd4f041c|2020-11-15--16-50-03--4

Another occurrence of this
https://github.com/commaai/openpilot/issues/2652

I'm making progress on finding a fix for this problem.

Here's another segment. This happened last night on master-ci from 2-3 days ago. (commit d1836caf32747a3c7206b7efb2b32fe7c65cdafe).
Segment: 2ad2b7955c2b304e|2020-12-05--22-20-24--6
I will also echo that this has been an issue for some time. Usually I have to disengage due to traffic but this time I was able to let it run its course. I have thought it was a fluke with this area, but it does it in a similar way each and every time (when dark outside). It does eventually correct itself, specifically after leading it back to the center of the lane after the bad curve in that segment.

This seems to be the underlying cause. We track features in the image to track the motion if the vehicle. However in scenes like the ones in the image it matches points on the laneline to random other points on the laneline. You can see correct matches on the sign on the right. These garbage matches cause the localizer to think it is not turning as much as it is. This messes up the ground truth for the model, which then makes the model predict lanelines too much into the turn in these situations.

I have a fix in the works!

Should be fixed once this PR is merged
https://github.com/commaai/openpilot/pull/19510

Here is the old model failing

and new model on same frame

feel free to open new issues if this still happens with new model


Unsuccessful use of First Steps with Manim notebook

Preliminaries

I have followed the latest version of the
installation instructions.
I have checked the installation FAQ and my problem is either not mentioned there,
or the solution given there does not help.

Description of error
The Notebook does not play the videos when running the first few cells one by one (Edge, Chrome, Chromium). The Notebook halts and the browser indicates it has errored (Chromium).
https://try.manim.community/
Installation logs
There's no Terminal output. See for example the screenshot below

System specifications
System Details

It has shown to be unusable from different browsers

Additional comments
N/A

The link https://try.manim.community/ has absolutely nothing to do with your own local installation of Manim. It uses an online cloud service called Binder, which is sadly running out of resources because of a lack of commercial funding.

Not sure I really understand what happens when you say

The Notebook halts and the browser indicates it has errored (Chromium).

How does the notebook indicate that? Might just have been a hickup of Binder, which is out of our control. I just tried too and got a working notebook.

The link https://try.manim.community/ has absolutely nothing to do with your own local installation of Manim. It uses an online cloud service called Binder, which is sadly running out of resources because of a lack of commercial funding.

Please revise your (as contributor) template for issues.
When it sadly lacks commercial funding, importantly, making it not to work, please consider making a note where the feature is advertised.

Not sure I really understand what happens when you say

The Notebook halts and the browser indicates it has errored (Chromium).

How does the notebook indicate that? Might just have been a hickup of Binder, which is out of our control. I just tried too and got a working notebook.

It is definitely not a single event (cf. listed browsers), I have been trying several days over a week.

Contributor/member were already aware of the issue, >350 issues open -> I assume it won't be fixed, closing.

I don't understand yet whether it is something that is in our control of being fixed. From what I can see on your screenshot, binder seemed to have successfully spawned an instance.
@iglesias, can you please describe in more detail what happens exactly when you visit https://try.manim.community?

@iglesias, can you please describe in more detail what happens exactly when you visit https://try.manim.community?

Hmm, actually, I don't think so because I don't think other details are relevant, in addition to what has been described. On the other hand, what I can do for you is put another screenshot (since I just tried again):

The intention must be that the video plays when pressing the play button, instead of
Can you please let me know if the new screenshot together with the short description clarify?
PS. After some seconds, scrolling down doesn't work.

Details are very relevant: the image you are showing indicates that you do get a running instance assigned to by binder, this does not appear to be an external resource problem. This was not clear from your initial report.
Can you open your browser's development console (usually with the F12-key) and check whether there are any errors or warnings in the "Console"-tab present when the site starts to freeze?
I can't reproduce this behavior on any of my devices, this is why you will need to provide more information if you want us to try and locate a potential error on our side.

Thank you for the explanation.
Did you try with Chromium?
By the way, I have now started using manim locally so this is not blocking me.

I have tried one more time with Edge and it is working now (tried up to the and including the 5th code cell). The failure in the screenshot from today could be related to Chromium (in general or at my end).

I have tested it with Chromium too and could not reproduce the issue either. I'm closing this for now, let us know in case you can provide more information so that we can reproduce the issue (but I suspect that this is, in the end, not a problem caused by Manim).

Thanks for testing it in Chromium, good that it works with it.


Making all validator chainable (isRequired)

@jquense Hello Jason, I miss possibility of .isRequired when creating propType using all helper, so I added it. Could you review and publish please? :) Thanks.

LGTM

Actually, please add a quick test case here.

@taion Added.

LGTM

Released on v0.3.1

Thx


prisma-engines: 4.2.1 -> 4.4.0

Description of changes
Changes: https://github.com/prisma/prisma/releases/tag/4.4.0

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 193230 run on x86_64-linux 1

1 package built:

prisma-engines


stable version

This looks exactly like what I need!
What are some of the tasks needed for a stable release of this?

Well, actually, I created it as a stable version because, at that moment, I was the only user of the library, and I wanted to test it in the battle before setting up the stable version. However, I didn't find any error, so, probably, I should just publish the stable version as is.
I think you can use the beta version and then update it to the stable because I'm not going to introduce any breaking changes.
I'm going to leave this issue open until the stable version is released.

Anything you would like added, that I can contribute, let me know :)

Released version 1.0.0


Error building node JsonSpec: 'path'

Describe the bug
Couldn't make json agent flow work. Path error.
Browser and Version

Browser brave and chrome
Version 1.57.62

To Reproduce
Steps to reproduce the behavior:

Import json agent example.
Pick a json file
Try to run
See error

Screenshots

Additional context
Add any other context about the problem here.

+1 having the same issue


test if onClick is creating new instances of FloatView

thought about using random values for view position

it definetely is, but I think they are all part of the same Service process? Definetely need some extra testing, there must be a way to see which objects are in screen, with ids maybe and the service that started them


Text Analytics Client Library for .NET - April Milestone

For general summary and goals, please see: Language Pillar Commitments for Text Analytics 3.2 (July 2021-March 2022) [#3080].  The work items linked to this issue herein represent the tasks needed to produce the .NET Text Analytics client library for the current milestone.
Design, Review, and Planning

[ ] Create issues and perform resource planning for the next milestone

Implementation

[ ] Placeholder (#00000)

Release and Documentation

[ ] Perform any needed release of the Text Analytics package to NuGet for features in the previous milestone

Label prediction was below confidence level 0.6 for Model:ServiceLabels: 'Cognitive - Text Analytics:0.25158525,Search:0.10609472,Storage:0.073593885'


Response Model are not collected in a project without SpringMvc

1, The version of springfox I used is 2.9.2
2, How does this happen?
I am customizing ApiListingScannerPlugin to collect all my http interfaces info of my customized mvc framework.
I am trying to collect response model info like this:
private Set<ResponseMessage> responseMessages(Method method) {
        Class returnType = method.getReturnType();
        docket.additionalModels(typeResolver.resolve(returnType));
        return Collections.singleton(new ResponseMessageBuilder().code(200)
                .responseModel(new ModelRef(returnType.getSimpleName()))
                .message("")
                .build());
    }

But I found no model info appeared in swagger-ui:

3, My question
I found why this happened in ApiListingScanner#scan .
Map<String, Model> models = new LinkedHashMap<String, Model>();
      List<RequestMappingContext> requestMappings = nullToEmptyList(requestMappingsByResourceGroup.get(resourceGroup));
      for (RequestMappingContext each : sortedByMethods(requestMappings)) {
        models.putAll(apiModelReader.read(each.withKnownModels(models)));
        apiDescriptions.addAll(apiDescriptionReader.read(each));
      }

if no spring mvc RequestMapping info is collected,  method ApiModelReader#read will be missed so no additional models are collected.
Is this a bug?
What would happen if global models are collected outside the foreach cycle?

I meet the same problem, do you solve it now?


feat(ui): display video thumbnail

Description
This PR is about displaying a video thumbnail in Thumbnail component if the uploaded file has mimeType video/*. To avoid performance issue, the video is not played, only the first frame is displayed from a <video> tag, but it can be managed differently (with intersection observer, click handler etc.)
When you manage a large collection of assets/files, it is very difficult to quickly find a video by file name, video preview can help to identify the file by its first frame.
After change :
https://github.com/user-attachments/assets/c43eecbb-8698-4319-85f8-b12e36af2663

[x] I have read and understand the CONTRIBUTING.md document in this repository.

Type of change

[x] New feature (non-breaking change which adds functionality)

Checklist:

[x] Existing test suite passes locally with my changes

Are there any clarifications I can provide or changes that should be made to this?

Revisiting this one. Are you able to resolve merge conflicts @willybrauner ?

@denolfe it's rebased on beta.

Since the failing e2e test is uploads, it's likely either a legitimate failure or the test needs to be updated.
To troubleshoot:

Download the artifact for uploads tests on the github action result

Unzip artifacts

Drop trace.zip into https://trace.playwright.dev/
View failure.

If I had to guess, it's likely looking for a selector that was changed/removed.

@denolfe I have improved the Thumbnail component by mixing Thumbnail & ThumbnailComponent who was shared the same logic.  I just comment the breaking test for now but a second one returns an error now.

For some reason I can't checkout to this PR locally whatsoever...
However, you should comment that test back in because it checks for the existence of the thumbnail.
Your code specifically shows nothing if the filetype is neither an image or a video, instead to keep our backwards compatibility, you should turn this into a ? : render. Render video if the filetype is video and render the thumbnail otherwise. For documents we render an icon for example.
{fileExists && fileType === 'image' && <img alt={alt} src={src} />}

I'm not sure why the test would fail in this case anyhow

@paulpopus nice catch, you're right about the image fallback, I have fixed it in this way.
@denolfe. Thanks for the test usage explanation; I was able to run and trace it locally. The initial error was due to the preload "if else" statement, depending to the mimeType, on the same way than the render function.
I have finally implemented an alternative than the <video> tag in order to keep a simple <img/> rendering. I capture a video frame by drawing it on a canvas. This seems like a better option since many video tags will cause performance issues if a large list of thumbnails needs to be rendered at once.

Seems to be pretty quick with this method
https://github.com/user-attachments/assets/3c76bd10-3ef7-4204-8952-377640d62698

@paulpopus @denolfe is this approach could be a right one for you?

@willybrauner interesting pattern, I don't think we're opposed to it here, though this logic would need to be moved behind an observer since it would likely harm performance when viewing 50-100 thumbnails at once, which some projects using payload do.
We have this intersect hook if you manage to use it https://github.com/payloadcms/payload/blob/beta/packages/ui/src/hooks/useIntersect.ts#L13

@paulpopus I have rebase this branch on the last beta and implemented the observer. One new test failed but strangely, it continue to failed locally when I checkout on the previous commit.

I think that's a flaky test so you can ignore it, now sorry to yoyo you back in this PR but we've had some performance issues with thumbnails in the bulk editor (trying to upload 50+ items at once) and I wonder if we may see the same problem here.
See this PR: https://github.com/payloadcms/payload/pull/8944
So we're sticking to a similar pattern, rendering a thumbnail onto an offscreen canvas but it's done higher up so that it can be handled sequentially so it doesn't block the main UI thread.
Anyway that's to say, we could probably move the thumbnail logic into that new createThumbnail utility and move it higher up in the form manager. Thoughts?

@paulpopus yes sure. Now we have this ˋcreateThumnail` function, the video thumbnail should be generated into it as for images I guess. Let me try to re implement it in the next days.

@paulpopus In last commit, my logic migration inside the createThumbnail function. I refactored the base 64 url generation so that it is common to all types of media.
Some notes:

createThumbnail now takes file and fileSrc as params. We use either one, it depends on where it's called. Inside Thumbnail component, we do not have access to file (isn't it?)
we should replace base64 url image type image/jpg by image/png to cover more upload case I guess. link above

@willybrauner Thanks for the updates

it takes both but File is whats important and used. You could make it a new prop type so file isnt required if fileSrc is provided
Yeah I'm fine with that, and increase maxDimension to 420 by default so its less pixelated in some places
Yep!

I tested this PR as it is so I think we're nearly ready to go, if you make the above changes and fix tests we can merge it!

Hi @paulpopus,

I continue to use fileSrc as createThumbnail second params in some case, because File is not always provided by the parent component. fileSrc is sufficient for generate a new thumbnail according to my tests. Tell me if you find a limitation there.
maxDimension has been set to 420 & mimeType to image/png
If fixed the thumbnail display in FileSidebar and File in order to show the preview before save the media.
need some time for manage new tests, because some of them test a regular src media, not a base64.

Sorry, I couldn't adapt the e2e tests properly. But the feature has been developed and is working.

Thank you for your patience on this one @willybrauner . I still think this would be a good one to get in. We'll come up with a way forward.


Bump version to v1.1.0

Includes https://github.com/chrishunt/git-pissed/pull/15

cc @wadtech @johnjohndoe

:+1:


Unable to start PD from source

Development Task

Please describe your question in detail.
You can use make pd-server to compile PD Server. And this part of the code in the image is the front-end code of the TiDB Dashboard, you can use make dashboard-ui to get it (it will also be executed automatically when you execute make pd-server).
In Goland, because the embedded_assets_handler.go file is too large, it is usually not parsed. You may need to adjust the IDE settings.


Rework Issues workflow

Existing files should not have an open issue.

Copy all information from issue to the existing file

Issues to be reworked:

#1
#2


Add basic phpmyadmin implementation

Motivation for this change
phpmyadmin is useful to quickly do database changes or backups / recoveries.
Things done
Added phpmyadmin package.
Added phpmyadmin module.

[ ] 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

[ ] 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 nixpkgs-review --run "nixpkgs-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.

I'm always shocked to see new modules using httpd instead of nginx - what was your rationale here?

wordpress module is written for httpd and I'm still using httpd. I didn't want to run two webservers. An abstraction layer seems to be really needed but I won't be able to write one. I won't rewrite this but I'm fine if this is not merged.

phpmyadmin security can be questionable and updates are essential to get out on time; what is your plan and commitment level to this package?

I'm watching the phpmyadmin repo and should be able to provide timely updates.

configuring phpmyadmin should usually be pretty customized so can your module adequately satisfy these needs while adding an advantage over the sysadmin installing/configuring phpmyadmin on their own without a module?

I added code to configure phpmyadmins. This has the advantage of NixOS, namely being declarative.

All reasonable answers, thanks. I'll try to get back to reviewing this as soon as I can.

@aanderse I think I addressed everything. I also added extraHttpdConfig to allow users to improve the security a lot. Let me know what you think.

@aanderse Friendly reminder if you're still interested in reviewing again or merging.

Apologies. I'll try to find some time to prioritize this.

@aanderse new year, new luck ;-)


Removed wee-alloc to fix memory leak

I think this closes #305.
https://github.com/rustwasm/wee_alloc/issues/106 is the most likely issue.

bors r+

bors retry


Why is there a warmup in hf_generate.py?

I see there is a warmup in hf_generate.py -
if args.warmup and (not done_warmup):
    print('Warming up...')
    _ = _generate(encoded_inp)
    done_warmup = True

What is the purpose of this?

If you are doing performance benchmarking, you generally don't want to measure the first calls, but do some warmup and then measure the steady state.


View details action button not working in animal sales section

Fixed now
I just found my code commented ;)

HHHH Safi nadya 😹


Refactor variable names of nearby_query.rq (#1334)

Description (required)
Fixes #1334
What changes did you make and why?
All variables were refactored to camelCase
Tests performed (required)
Tested betaDebug on emulator with API level 27.

Codecov Report

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

@@          Coverage Diff           @@
##           master   #2583   +/-   ##
======================================
  Coverage    5.91%   5.91%
======================================
  Files         258     258
  Lines       12324   12324
  Branches     1114    1114
======================================
  Hits          729     729
  Misses      11536   11536
  Partials       59      59

Impacted Files
Coverage Δ

...ree/nrw/commons/nearby/model/NearbyResultItem.java
0% <ø> (ø)
:arrow_up:

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 5038876...77ec961. Read the comment docs.

@nicolas-raoul Is there anything else I ought to do to have my commit merged? Or would the approved commits be merged all together later on?

I don't have a development environment at the moment so we are just waiting for a volunteer to test your pull request, sorry for the delay and thanks for your understanding :-)

Feel free to start working on other issues in the meantime.

I have tested this PR. It seems to work fine.


terminate called after throwing an instance of 'std::system_error'

Hello, I getting this error every time I try to run both handeye_example.launch and handeye_file.launch.
Any Ideas on how to solve it?

Thanks.

@Sofiap91 did you solve the problem? Can you please comment on the issue.

No, sorry, we didn't.


Disable TestNSString#test_FromContentsOfURL as being flaky

https://bugs.swift.org/browse/SR-10505

@swift-ci please test Linux platform

@swift-ci please test and merge

@swift-ci please test and merge

@swift-ci please test

Linux is having really bad day today

@swift-ci please test linux

No patches are mergeable today until we un-flake the tests.

Doesn't this need to be disabled in the list of tests at the top?

Doesn't this need to be disabled in the list of tests at the top?

@spevans - yeah, this wouldn't build on Linux

Good morning.

@swift-ci please clean test

@swift-ci please clean build

@swift-ci please test

@swift-ci please clean test

@swift-ci please test

@swift-ci please test

@shahmishal Linux testing isn't triggering; is something off?

It will trigger soon, the load on Linux is high right now.
https://ci.swift.org/label/linux-pr/load-statistics?type=min

@swift-ci test Linux

This has been done in the separate PR.


[Task]: Setup Basic Tauri Frontend for Cardano DevKit

📝 Task description
The CardanoDevKit requires a basic Tauri app setup to provide a simple platform independent user interface. The goal is to create a minimal UI that demonstrates the potential of a graphical interface for the Cardano DevKit.
Component
ui
Steps to complete
No response
Additional context
No response

Done by merging #18


Code quality fix - Collapsible "if" statements should be merged.

This pull request is focused on resolving occurrences of Sonar rule
squid:S1066 - Collapsible "if" statements should be merged.
You can find more information about the issue here:
https://dev.eclipse.org/sonar/rules/show/squid:S1066
Please let me know if you have any questions.
Faisal Hameed

@friedger Reverted that branch about Android versions.

@faisal-hameed Could you rebase this?

@friedger Rebased.


Update version to 2.1.0

Adding a changelog file based on the format from
http://keepachangelog.com/ for versions 2.0.0 and on

@hunner do you want to add CHANGELOG.md to https://github.com/rodjek/rspec-puppet/pull/272/files#diff-a46b7f51395c243e842aa0f5f755f993R11 ?


Does stylecleanup support imported styles ?

We try stylecleanup on our codebase and it didn't find any unused styles.
We were wondering if stylecleanup is supposed to delete grayText in the example below.
// styles.js
import StyleSheet from 'react-native';

export default StyleSheet.create({
  grayText: {
    color: '#D0D0D0',
  },
  redText: {
    color: '#FF0000'
  },
});

// component.js
{...}
import styles from './styles.js';

class Example extends Component {
  render({
    <View>
      <Text style={styles.redText}>Error: ...</Text>
    </View>
  });
}

it doesn't currently track styles across imports! That would be a great addition though

I second this! Great tool but unusable for me as all my styles in separate files from the component :(

This would be such a great feature!

I think this is a very important feature because most of the project when get big they move the styles to a separate file. Maybe adding a file configuration that check all the relative files due a whitelist like styles.js or styles.js. The idea woud be to compare the styles in those files against the relative index.
/-Button
  |-styles.js // take the styles from here
  |-index.js // compare the styles agains this file

I think this is a very important feature because most of the project when get big they move the styles to a separate file. Maybe adding a file configuration that check all the relative files due a whitelist like styles.js or styles.js. The idea woud be to compare the styles in those files against the relative index.
/-Button
  |-styles.js // take the styles from here
  |-index.js // compare the styles agains this file


Support breakpoints, responsive header, unnecesary elements on screenshot, style changes, maxWidth/maxHeight

breakpoints support (possibility to use them for external packages);
hiding unnecesary elements when user creates screenshot of dashboard through "Save as Image" button;
view-select available only if there are views to switch
style improvement (decreased margin from filters container, responsivity: changed layout from row to col on small screens)
added maxWidth, maxHeight option for dash item

Added custom LoadingCardOverlay (sets opacity to 0.5) while widget is fetching new data from server for smoother UX.

Added custom LoadingCardOverlay (sets opacity to 0.5) while widget is fetching new data from server for smoother UX.

I closed this branch by mistake... but I merged the changes into master

I closed this branch by mistake... but I merged the changes into master


v2 updates

Pull Request
Are you a current Fivetran customer?

Fivetran Employee
What change(s) does this PR introduce?

Added ad level reporting - ad_level_report (shorted to ad_report) and ad_history in light of new discoveries from Ad Reporting V2 discovery
Updated *_using_search_terms variable to default to False to reduce any potential errors
Updated styling
Updated to include the use of identifiers
Removed unnecessary uses of _fivetran_synced
Added *_passthrough_metrics feature
Updated README formatting

Did you update the CHANGELOG?

[ ] Yes
No because this package has not actually been released yet.

Does this PR introduce a breaking change?

[ ] Yes (please provide breaking change details below.)
[x] No  (please provide an explanation as to how the change is non-breaking below.)
No because package has not been released yet.

Did you update the dbt_project.yml files with the version upgrade (please leverage standard semantic versioning)? (In both your main project and integration_tests)

[ ] Yes
[x] No because package has not been released yet.

Is this PR in response to a previously created Bug or Feature Request

[ ] Yes, Issue/Feature [link bug/feature number here]
[x] No

How did you test the PR changes?

[x] CircleCi
[x] Local (please provide additional testing details below)

Select which warehouse(s) were used to test the PR

[x] BigQuery
[x] Redshift
[x] Snowflake
[x] Postgres
[x] Databricks
[ ] Other (provide details below)

Postgres continues to fail. Have tried the below:

Renamed integration test schema names in both integration_tests/dbt_project as well as sample.profiles.
Manually dropped all views & tables corresponding to the integration tests.

Postgres also seems to pass in the modeling package, however, will not pass for source.
Provide an emoji that best describes your current mood

:dancer:
Feedback
We are so excited you decided to contribute to the Fivetran community dbt package! We continue to work to improve the packages and would greatly appreciate your feedback on our existing dbt packages or what you'd like to see next.

Things to do before merge:

Squash commits


Add DynamicEval Detection for Python

Missing a detection rule for Python.  Add a rule to detect the following:
python pattern to add for external proc
Run an external command, block until it completes
def run_command(cmd):
print '***** Running command: %s' % ' '.join(map(str,cmd))
p = subprocess.Popen(cmd)
p.wait()

fixed


Typescript Error when passing css prop to styled component

Bug report
Describe the bug
When wrapping a styled component I'm not able to pass anything into the css prop without typescript giving the following error...
The expected type comes from property 'css' which is declared here on type 'IntrinsicAttributes & Omit<Pick<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof HTMLAttributes<...>> & { ...; }, "css" | "as"> & { ...; } & VariantsCall<...>'
It seems like the type of the css prop is
((string | number | boolean | ComponentSelector | Keyframes | SerializedStyles | ArrayInterpolation<undefined> | ObjectInterpolation<...> | ((theme: any) => Interpolation<...>) | null)
rather than type
InternalCSS
To Reproduce

System information

Version of Stitches: v0.1.0
Version of Node.js: v15.5.1

Additional context
Using Typescript 4.2.3

Related: https://github.com/modulz/stitches/issues/407

Fixed in V1. Please refer to migration guide and changelog


AoC: Show personal position for daystar command

Currently the daystar command only shows the fastest completions for a day and star and not where your personal stats are compared to them. It would be nice to see your personal stats, similar to the way it shows in the leaderboard command.

Agreed, this seem like a useful enhancement. Were you interested in looking to implement this yourself, or shall I mark it as up for grabs for other contributors?


gaugan encoder not training

In the gaugan example. The encoder parameters never get updated

Hi Yoni. I'm busy right now. Will you be able to fix it, if so, please submit a pull request.


Helm pull fails if pulling from a repository that redirects to another domain

Output of helm version:
version.BuildInfo{Version:"v3.5.1", GitCommit:"32c22239423b3b4ba6706d450bd044baffdcf9e6", GitTreeState:"clean", GoVersion:"go1.15.7"}

Output of kubectl version:
Not applicable.
Cloud Provider/Platform (AKS, GKE, Minikube etc.):
Using AWS S3 to host Helm charts.
Background:
I have a Helm registry set up that uses Cloud storage (AWS S3 in this case) to store Helm charts. When the server receives a GET request for a chart, it responds with HTTP temporary redirect (307) with Location in the response header.
This works fine with curl:
$ curl -L https://<IP_ADDRESS>/charts/admin/myrepo/testchartA/testchartA-0.1.0.tgz -u $USER:$PASSWORD -o testchartA-0.1.0.tgz --cacert ca.crt  -v
*   Trying <IP_ADDRESS>...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0* Connected to <IP_ADDRESS> (<IP_ADDRESS>) port 443 (#0)
* found 1 certificates in ca.crt
* found 552 certificates in /etc/ssl/certs
* ALPN, offering http/1.1
* SSL connection using TLS1.2 / ECDHE_ECDSA_AES_256_GCM_SHA384
* 	 server certificate verification OK
* 	 server certificate status verification SKIPPED
* error fetching CN from cert:The requested data were not available.
* 	 common name:  (matched)
* 	 server certificate expiration date OK
* 	 server certificate activation date OK
* 	 certificate public key: EC
* 	 certificate version: #3
* 	 subject: C=US,L=San Francisco,O=Docker,OU=Docker
* 	 start date: Tue, 02 Feb 2021 20:27:11 GMT
* 	 expire date: Wed, 02 Feb 2022 20:27:11 GMT
* 	 issuer: C=US,L=San Francisco,O=Docker,OU=Docker
* 	 compression: NULL
* ALPN, server accepted to use http/1.1
* Server auth using Basic with user 'admin'
> GET /charts/admin/myrepo/testchartA/testchartA-0.1.0.tgz HTTP/1.1
> Host: <IP_ADDRESS>
> Authorization: Basic YWRtaW46cGFzc3dvcmQxMjM0
> User-Agent: curl/7.47.0
> Accept: */*
>
< HTTP/1.1 307 Temporary Redirect
< Server: nginx/1.18.0
< Date: Thu, 04 Feb 2021 00:07:43 GMT
< Content-Type: text/html; charset=utf-8
< Content-Length: 423
< Connection: keep-alive
< Cache-Control: max-age=0, no-cache
< Location: https://s3.ap-south-1.amazonaws.com/msrtest/msr/charts/admin/myrepo/testchartA/testchartA-0.1.0.tgz?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWQUPBQZXRD2WG4UI%2F20210204%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20210204T000743Z&X-Amz-Expires=1200&X-Amz-SignedHeaders=host&X-Amz-Signature=3462325a83301fe14d58b4018e721392ece3c3942038ff0a59d5c3fc7cafacc8
< Strict-Transport-Security: max-age=63072000; includeSubdomains
< X-Frame-Options: SAMEORIGIN
< X-XSS-Protection: 1; mode=block
< X-Content-Type-Options: nosniff
< Content-Security-Policy: default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self'; connect-src 'self'; font-src 'self'; object-src 'none'; media-src 'self'; form-action 'self'; frame-ancestors 'self';
< X-Replica-ID: 5b00d17a80d7
<
* Ignoring the response-body
{ [423 bytes data]
100   423  100   423    0     0   2428      0 --:--:-- --:--:-- --:--:--  2445
* Connection #0 to host <IP_ADDRESS> left intact
* Issue another request to this URL: 'https://s3.ap-south-1.amazonaws.com/msrtest/msr/charts/admin/myrepo/testchartA/testchartA-0.1.0.tgz?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWQUPBQZXRD2WG4UI%2F20210204%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20210204T000743Z&X-Amz-Expires=1200&X-Amz-SignedHeaders=host&X-Amz-Signature=3462325a83301fe14d58b4018e721392ece3c3942038ff0a59d5c3fc7cafacc8'
*   Trying <IP_ADDRESS>...
* Connected to s3.ap-south-1.amazonaws.com (<IP_ADDRESS>) port 443 (#1)
* found 1 certificates in ca.crt
* found 552 certificates in /etc/ssl/certs
* ALPN, offering http/1.1
* SSL connection using TLS1.2 / ECDHE_RSA_AES_128_GCM_SHA256
* 	 server certificate verification OK
* 	 server certificate status verification SKIPPED
* 	 common name: *.s3.ap-south-1.amazonaws.com (matched)
* 	 server certificate expiration date OK
* 	 server certificate activation date OK
* 	 certificate public key: RSA
* 	 certificate version: #3
* 	 subject: C=US,ST=Washington,L=Seattle,O=Amazon.com\, Inc.,CN=*.s3.ap-south-1.amazonaws.com
* 	 start date: Tue, 28 Jan 2020 00:00:00 GMT
* 	 expire date: Wed, 14 Apr 2021 12:00:00 GMT
* 	 issuer: C=US,O=DigiCert Inc,OU=www.digicert.com,CN=DigiCert Baltimore CA-2 G2
* 	 compression: NULL
* ALPN, server did not agree to a protocol
> GET /msrtest/msr/charts/admin/myrepo/testchartA/testchartA-0.1.0.tgz?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWQUPBQZXRD2WG4UI%2F20210204%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20210204T000743Z&X-Amz-Expires=1200&X-Amz-SignedHeaders=host&X-Amz-Signature=3462325a83301fe14d58b4018e721392ece3c3942038ff0a59d5c3fc7cafacc8 HTTP/1.1
> Host: s3.ap-south-1.amazonaws.com
> User-Agent: curl/7.47.0
> Accept: */*
>
< HTTP/1.1 200 OK
< x-amz-id-2: j/5HkfSTjZoHUsZEhOmMr6kWzhNBo2I3JgtDx+1q/ruFw9IKi6ucqE5/LASvwSArefYVO/Lt5Gw=
< x-amz-request-id: 141C6EDCE8E1DDE5
< Date: Thu, 04 Feb 2021 00:07:44 GMT
< Last-Modified: Tue, 02 Feb 2021 22:04:29 GMT
< ETag: "aba1fb259faa7143e33a5cd114331df2"
< Accept-Ranges: bytes
< Content-Type: application/octet-stream
< Content-Length: 3893
< Server: AmazonS3
<
{ [3893 bytes data]
100  3893  100  3893    0     0  15912      0 --:--:-- --:--:-- --:--:-- 15912
* Connection #1 to host s3.ap-south-1.amazonaws.com left intact

The "x509: cannot validate certificate" problem:
However, with helm pull, I receive the following error:
$ helm pull https://<IP_ADDRESS>/charts/admin/myrepo/testchartA/testchartA-0.1.0.tgz --username $USER --password $PASSWORD --ca-file ca.crt
Error: Get "https://s3.ap-south-1.amazonaws.com/msrtest/msr/charts/admin/myrepo/testchartA/testchartA-0.1.0.tgz?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWQUPBQZXRD2WG4UI%2F20210204%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20210204T001553Z&X-Amz-Expires=1200&X-Amz-SignedHeaders=host&X-Amz-Signature=bf14dff595678bba0cb575cb91510feed8977713be124da9146ef47416e400cf": x509: cannot validate certificate for <IP_ADDRESS> because it doesn't contain any IP SANs

After a little digging, the issue seems to be in the following section of HTTPGetter.httpClient() function:
https://github.com/helm/helm/blob/46d80f68c11d8107b688b9c8299fa02bccba312f/pkg/getter/httpgetter.go#L98-L110

tlsConf.ServerName field is being set in line 108, which is used to specify SNI.
What's happening is that since the ServerName field is used to specify SNI, Golang's implementation for TLS uses it to verify cert against. This works fine for the 1st request to my server (<IP_ADDRESS>), but for the subsequent redirect to AWS S3, it still tries to verify the cert against the provided SNI (<IP_ADDRESS>) instead of s3.ap-south-1.amazonaws.com.
By default, Golang's HTTP client sets the SNI itself on a clone of the TLS config using the hostname from the request URL, so the ServerName field should not be set manually here.
tlsConf.BuildNameToCertificate() in line 102 is deprecated, so should be removed.

The "signed by unknown authority " problem:
Once, I made the above changes and built a new helm binary, I received the following error:
$ helm pull https://<IP_ADDRESS>/charts/admin/myrepo/testchartA/testchartA-0.1.0.tgz --username $USER --password $PASSWORD --ca-file ca.crt
Error: Get "https://s3.ap-south-1.amazonaws.com/msrtest/msr/charts/admin/myrepo/testchartA/testchartA-0.1.0.tgz?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWQUPBQZXRD2WG4UI%2F20210204%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20210204T005427Z&X-Amz-Expires=1200&X-Amz-SignedHeaders=host&X-Amz-Signature=03d9c79728f4e37e121cd751bcb3b2991c486fc052b1014309afa2cd12997b52": x509: certificate signed by unknown authority

This is because the system cert pool is not loaded by default in line 59 in CertPoolFromFile func:
https://github.com/helm/helm/blob/46d80f68c11d8107b688b9c8299fa02bccba312f/internal/tlsutil/tls.go#L50-L64
Created PR #9318 for the fix.

Comment to keep it from getting stale


Astropy model fitting

This PR aims to start introducing code in the fitting refactor, first aiming to implement astropy models (discussion started in #81).
A few scripts are included into the fitting module and split into sub-modules. These sub-modules revolve around the models being used to fit data, general objective functions, somewhere for different statistics, and one for optimiser tools.
The thought process behind the modules is:

models: Somewhere to keep all the cool models we want.
statistics: The functions in here should only take in the data and the model arrays that need to be compared (errors eventually, etc). This module could have a bunch of different statistics (e.g., Gaussian, Poissonian, etc.).
objective_functions: these hold the functions that are actually being minimised. they take in the information to evaluate a given model at a bunch of different parameters and pass the model result over to whatever fit statistic you want.
optimizer_tools(should be optimiser_tools really!): Handles the interface between the objective function and whatever fitting routine is used. In the case here, script.minimize.

An example folder is created that includes a very simple example script showing the generation of fake data to be fitted, a dummy instrument response matrix, and the fitting of that fake data using scipy and astropy. The results are also plotted in the script and the result should be the following

Feel free to play around with the code and any feedback is encouraged!
Next steps could include, but are not limited to

dealing with non-square instrument responses
simultaneous fitting

Note: An additional change was implemented in sunkit_spex/legacy/fitting_legacy/fitter.py as numpy has moved their warnings to another model in v2, I think.

Codecov Report
Attention: Patch coverage is 73.80952% with 11 lines in your changes missing coverage. Please review.

Please upload report for BASE (main@3a9a4a4). Learn more about missing BASE report.

Files
Patch %
Lines

sunkit_spex/fitting/models/matrix/matrix.py
57.14%
3 Missing :warning:

...itting/objective_functions/optimising_functions.py
33.33%
2 Missing :warning:

...it_spex/fitting/optimizer_tools/minimizer_tools.py
50.00%
2 Missing :warning:

sunkit_spex/fitting/models/data/gaussian.py
88.88%
1 Missing :warning:

sunkit_spex/fitting/models/physical/gaussian.py
88.88%
1 Missing :warning:

...nkit_spex/fitting/models/physical/straight_line.py
85.71%
1 Missing :warning:

sunkit_spex/fitting/statistics/gaussian.py
66.66%
1 Missing :warning:

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #155   +/-   ##
=======================================
  Coverage        ?   50.17%
=======================================
  Files           ?       32
  Lines           ?     3448
  Branches        ?        0
=======================================
  Hits            ?     1730
  Misses          ?     1718
  Partials        ?        0

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

Quite a few things have been updated. I focussed on addressing the suggestions made by @samaloney which has put the code in a much better spot, I think. I've also added in a number of tests for the stuff I wrote as well.

@hayesla @DanRyanIrish could one of you review so we can maybe get this merged

I don't know where the best place to discuss this is, but I have been working on improving the performance of astropy modelling fitters and implemented a helper function for parallel fitting I would be super interested to hear your thoughts on what would need to be done to make this useful for your use cases.

I think the StraightLineModel and GaussianModel seem like placeholder classes.  Unless they gain more functionality than the astropy versions, they should be removed in the future.  But I don't want to hold this up getting merged.


chore(deps): update common-dev-assets digest to 44dc610

This PR contains the following updates:

Package
Update
Change

common-dev-assets
digest
e9bc459 -> 44dc610

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, click this checkbox. ⚠ Warning: custom changes will be lost.

This PR has been generated by Renovate Bot.

:tada: This PR is included in version 2.1.0 :tada:
The release is available on:

GitHub release
v2.1.0

Your semantic-release bot :package::rocket:


slow performance when loading the game component

Hello there!
I recently forked this game. Well written! thank you for sharing it publicly.
One issue is that it performs slowly on "Loading...." (before rendering the Game component and exactly by the time of opening socket and receiving the data from backend). Any hint or suggestion what might cause this issue?
NOTE: sometimes by refreshing the page it will immediately redirects to the game path and everything is fine. sometimes it doesn't have any problem. But often gets stuck on loading.

Hello ,
If you are talking about the hosted site, the issue is caused by Heroku where I am using the free tier 😅 and it has some issues with web sockets. I have not tried hosting on different cloud platform but doing so may smooth it out.


ToInt macro

Currently the Nat numbers materialization has a runtime cost.
Proposed solution :
1)eliminates run time cost
2)increases compile time performance

Current coverage is 81.51% (diff: 77.77%)

Merging #673 into master will decrease coverage by 0.04%

@@             master       #673   diff @@
==========================================
  Files            69         69
  Lines          2641       2646     +5
  Methods        2375       2380     +5
  Messages          0          0
  Branches         92         92
==========================================
+ Hits           2154       2157     +3
- Misses          487        489     +2
  Partials          0          0

Powered by Codecov. Last update fcc15a6...b2a2bfc

codecov complains on 'toIntSucc'method which is kept only for binary compatibility , marked as deprecated and never supposed to be invoked .
Is it considered safe to keep it uncovered(because covering it will look strange)?

I think you should drop the @deprecated ... no ever explicitly called this method anyway, so about the only thing it's doing is causing trouble here.

yes, right

My sincere apologies for taking so long to review and merge this.
Anyhow, LGTM. Many thanks ... merging :-)

Thanks!!


Add listroles command

About the PR
Adds a listroles command that lists the roles. Expected usage is to call this to see the list of roles, before calling addrole.

add: added listroles command

Like I said on the other PR, the changelog is not for admin/dev facing changes

@Zumorica Yep yep, got it


scaleway-cli: 1.14 -> 1.17

Motivation for this change
Package update
Things done

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

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

[ ] 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 nox --run "nox-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)
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build scaleway-cli

Success on x86_64-linux (full log)
Attempted: scaleway-cli
Partial log (click to expand)
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/yp52d25a8fxb3g6nxn4kca7hiqwbas3f-scaleway-cli-1.17-bin
shrinking /nix/store/yp52d25a8fxb3g6nxn4kca7hiqwbas3f-scaleway-cli-1.17-bin/bin/scw
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/yp52d25a8fxb3g6nxn4kca7hiqwbas3f-scaleway-cli-1.17-bin/bin
patching script interpreter paths in /nix/store/yp52d25a8fxb3g6nxn4kca7hiqwbas3f-scaleway-cli-1.17-bin
checking for references to /build in /nix/store/yp52d25a8fxb3g6nxn4kca7hiqwbas3f-scaleway-cli-1.17-bin...
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
/nix/store/yp52d25a8fxb3g6nxn4kca7hiqwbas3f-scaleway-cli-1.17-bin

Success on x86_64-darwin (full log)
Attempted: scaleway-cli
Partial log (click to expand)
find: '/nix/store/s77lmjvmnlddpkk4d3hfsi1g2csqs7sx-scaleway-cli-1.17': No such file or directory
find: '/nix/store/s77lmjvmnlddpkk4d3hfsi1g2csqs7sx-scaleway-cli-1.17': No such file or directory
find: '/nix/store/s77lmjvmnlddpkk4d3hfsi1g2csqs7sx-scaleway-cli-1.17': No such file or directory
find: '/nix/store/s77lmjvmnlddpkk4d3hfsi1g2csqs7sx-scaleway-cli-1.17': No such file or directory
find: '/nix/store/s77lmjvmnlddpkk4d3hfsi1g2csqs7sx-scaleway-cli-1.17': No such file or directory
find: '/nix/store/s77lmjvmnlddpkk4d3hfsi1g2csqs7sx-scaleway-cli-1.17': No such file or directory
find: '/nix/store/s77lmjvmnlddpkk4d3hfsi1g2csqs7sx-scaleway-cli-1.17': No such file or directory
find: '/nix/store/s77lmjvmnlddpkk4d3hfsi1g2csqs7sx-scaleway-cli-1.17': No such file or directory
find: '/nix/store/s77lmjvmnlddpkk4d3hfsi1g2csqs7sx-scaleway-cli-1.17': No such file or directory
/nix/store/a19594wkxqg8391bwmrmc0293pnl7sph-scaleway-cli-1.17-bin

Success on aarch64-linux (full log)
Attempted: scaleway-cli
Partial log (click to expand)
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/hzcmzw4nivhqynvshklm3s39y57pwylj-scaleway-cli-1.17-bin
shrinking /nix/store/hzcmzw4nivhqynvshklm3s39y57pwylj-scaleway-cli-1.17-bin/bin/scw
strip is /nix/store/y4ymnvgxygpq05h03kyzbj572zmh6zla-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/hzcmzw4nivhqynvshklm3s39y57pwylj-scaleway-cli-1.17-bin/bin
patching script interpreter paths in /nix/store/hzcmzw4nivhqynvshklm3s39y57pwylj-scaleway-cli-1.17-bin
checking for references to /build in /nix/store/hzcmzw4nivhqynvshklm3s39y57pwylj-scaleway-cli-1.17-bin...
strip is /nix/store/y4ymnvgxygpq05h03kyzbj572zmh6zla-binutils-2.30/bin/strip
/nix/store/hzcmzw4nivhqynvshklm3s39y57pwylj-scaleway-cli-1.17-bin

Is a backport to 18.09 required here?

Backport is not required as the unstable channel will be sufficient, but it might be useful anyway. I actually updated the package as the previous version was non functional for me (on macOS), although there didn't appear to be any issues listed in the scaleway-cli project. However the project recommends to make use of the latest version and it consists of various updates anyway.

backport: 9fa6a261fb2

Thanks!


[QUESTION] Multiple videos

What is your question?
Is there a way to run the tool against a playlist or youtube channel?
Additional context
I have used youtube-dl and yt-dlp to batch download the chat logs of a youtube channel, which saves in json format for each video.
Command used:
yt-dlp --no-download --playlist-items 1-10 --part --write-subs --sub-langs live_chat --no-overwrites -o "%(release_date)s_%(id)s.%(ext)s"
The output format saves the filenames as YYYYMMDD_.json. Is there a way to do this with chat-downloader? Your output is much easier to read than the json format.

Although this functionality isn't currently built in to the command-line application, you can use the python library to implement this. As an example:
from chat_downloader import ChatDownloader
from chat_downloader.sites import YouTubeChatDownloader
from chat_downloader.errors import ChatDownloaderError

downloader = ChatDownloader()

playlist_url = 'https://www.youtube.com/playlist?list=PLLGT0cEMIAzcd5XagsMwz22-NFPmToKIP'

youtube = downloader.create_session(YouTubeChatDownloader)
items = youtube.get_playlist_items(playlist_url)

params = {
    # NOTE: max_messages is only here for demonstration purposes
    'max_messages': 100
}
for item in items:
    print(f"Retrieving chat for {item['video_id']}: {item['title']}")

    try:
        chat = downloader.get_chat(
            item['video_id'], **params)  # create a generator
        for message in chat:  # iterate over messages
            chat.print_formatted(message)

    except ChatDownloaderError as e:
        # Skip video if there is an error (e.g., Chat disabled)
        print('ERROR:', e)

    print()

Note: Make sure you are on the latest version of ChatDownloader (>=0.2.1), since I changed the get_playlist_items method


Seemingly missing libcurl.so when building azure-device-update in yocto (zeus)

In the past 2 days I occasionally got the following error when trying to build azure-device-update in yocto (zeus) after applying the patches described in #79:
yocto@5f0b8c0979c2:~/project/build$ bitbake azure-device-update
Loading cache: 100% |########################################################################################################################################################################| Time: 0:00:00
Loaded 3735 entries from dependency cache.
Parsing recipes: 100% |######################################################################################################################################################################| Time: 0:00:01
Parsing of 2569 .bb files complete (2562 cached, 7 parsed). 3741 targets, 134 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION           = "1.44.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "universal"
TARGET_SYS           = "arm-poky-linux-gnueabi"
MACHINE              = "raspberrypi4"
DISTRO               = "poky"
DISTRO_VERSION       = "3.0.4"
TUNE_FEATURES        = "arm vfp cortexa7 neon vfpv4 thumb callconvention-hard"
TARGET_FPU           = "hard"
meta
meta-poky
meta-yocto-bsp       = "zeus:d88d62c20d7d8da85f02edb170dae0280624ad7e"
meta-oe
meta-python
meta-networking
meta-multimedia      = "zeus:2b5dd1eb81cd08bc065bc76125f2856e9383e98b"
meta-raspberrypi     = "HEAD:0e05098853eea77032bff9cf81955679edd2f35d"
meta-filesystems     = "zeus:2b5dd1eb81cd08bc065bc76125f2856e9383e98b"
meta-rust            = "HEAD:7ff669d8cedd83a2d3efb73073a63b0a7efffddc"
meta-virtualization  = "HEAD:7e5219669ff6f8e9c8c33ffd230e95a6b2b025f4"
meta-iotedge         = "zeus:9e2b459177f163aaeeb95d2e3fd3dc6ccfb9da44"
meta-swupdate        = "HEAD:08c05c4e63da3dd71f58d8dc7cd9464790fbceb4"
meta-azure-device-update

Initialising tasks: 100% |###################################################################################################################################################################| Time: 0:00:01
Sstate summary: Wanted 163 Found 157 Missed 6 Current 386 (96% match, 98% complete)
NOTE: Executing Tasks
NOTE: Setscene tasks completed
ERROR: azure-device-update-git-r0 do_compile: Execution of '/home/yocto/project/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/azure-device-update/git-r0/temp/run.do_compile.142569' failed with exit code 1:
ninja: error: '/home/yocto/project/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/azure-iot-sdk-c/git-r0/recipe-sysroot/usr/lib/libcurl.so', needed by 'src/agent/AducIotAgent', missing and no known rule to make it
WARNING: exit code 1 from a shell command.

ERROR: Logfile of failure stored in: /home/yocto/project/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/azure-device-update/git-r0/temp/log.do_compile.142569
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: VERBOSE=1 cmake --build /home/yocto/project/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/azure-device-update/git-r0/build --target all -- -j 16
| ninja: error: '/home/yocto/project/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/azure-iot-sdk-c/git-r0/recipe-sysroot/usr/lib/libcurl.so', needed by 'src/agent/AducIotAgent', missing and no known rule to make it
| WARNING: exit code 1 from a shell command.
| ERROR: Execution of '/home/yocto/project/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/azure-device-update/git-r0/temp/run.do_compile.142569' failed with exit code 1:
| ninja: error: '/home/yocto/project/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/azure-iot-sdk-c/git-r0/recipe-sysroot/usr/lib/libcurl.so', needed by 'src/agent/AducIotAgent', missing and no known rule to make it
| WARNING: exit code 1 from a shell command.
|
ERROR: Task (/home/yocto/project/meta-azure-device-update/recipes-azure-device-update/azure-device-update/azure-device-update_git.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2131 tasks of which 2129 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/yocto/project/meta-azure-device-update/recipes-azure-device-update/azure-device-update/azure-device-update_git.bb:do_compile
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

It mentions a missing library in azure-iot-sdk-c whereby calling bitbake azure-iot-sdk-c runs through without any error.
After a couple of attempts, it often starts working again, but I was not yet able to reproduce it. If someone got an idea or even a solution, I'd be thrilled to hear about it.

@SimonSimCity
I had the same issue. I will run into this whenever there is a change to the bblayer.conf. For example: I changed the name of the layer to match the base layers naming schema.
To fix it reliably, you can run this command:
bitbake -c cleanall meta-azure-device-update azure-device-update azure-iot-sdk-c
But I believe it should be enough to just clean the sdk. That sometimes wasn't enough for me.

Hi @SimonSimCity,
Thank you for raising this issue as well! We will investigate and add a fix in our code.

Hi @SimonSimCity,
I had the same issue, this is due to a polluted cache.
Try to modify your azure-iot-sdk-c_git.bb  file in the function  sysroot_stage_all_append
sysroot_stage_all_append () {
    sysroot_stage_dir ${D}${exec_prefix}/cmake ${SYSROOT_DESTDIR}${exec_prefix}/cmake
    sed -i "s@${WORKDIR}/recipe-sysroot@\${_WORKDIR}/recipe-sysroot@g" ${SYSROOT_DESTDIR}${exec_prefix}/cmake/azure_c_shared_utilityTargets-noconfig.cmake
}

@pierrickcurt Thanks for providing the patch, unfortunately I run into another error when adding the sed line to the function. To be fair, I did this after I encountered the error without cleaning anything. The error I got is:
Loading cache: 100% |##################################################################################################################################################################################################| Time: 0:00:00
Loaded 3345 entries from dependency cache.
Parsing recipes: 100% |################################################################################################################################################################################################| Time: 0:00:01
Parsing of 2281 .bb files complete (2277 cached, 4 parsed). 3355 targets, 125 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION           = "1.42.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "universal"
TARGET_SYS           = "arm-poky-linux-gnueabi"
MACHINE              = "raspberrypi3"
DISTRO               = "poky"
DISTRO_VERSION       = "2.7.4"
TUNE_FEATURES        = "arm vfp cortexa7 neon vfpv4 thumb callconvention-hard"
TARGET_FPU           = "hard"
meta
meta-poky
meta-yocto-bsp       = "warrior:c8c383d958807b991e31d22f612ba2a81a3860a4"
meta-oe
meta-python
meta-networking
meta-multimedia      = "warrior:a24acf94d48d635eca668ea34598c6e5c857e3f8"
meta-raspberrypi     = "warrior:65b95ce742ae973b856a62974d0ec22e2caf03a3"
meta-swupdate        = "warrior:7ebe40f1a9b312476580fc74541231ac202feaa4"
meta-azure-device-update = "warrior:de5a72d48b6e8ad5ffe332a6738df1d6945d8e51"

Initialising tasks: 100% |#############################################################################################################################################################################################| Time: 0:00:01
Sstate summary: Wanted 201 Found 186 Missed 15 Current 1164 (92% match, 98% complete)
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: azure-device-update-1.0+gitAUTOINC+743bb72f5b-r0 do_compile: Function failed: do_compile (log file is located at /home/yocto/project/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/azure-device-update/1.0+gitAUTOINC+743bb72f5b-r0/temp/log.do_compile.38451)
ERROR: Logfile of failure stored in: /home/yocto/project/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/azure-device-update/1.0+gitAUTOINC+743bb72f5b-r0/temp/log.do_compile.38451
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: VERBOSE=1 cmake --build /home/yocto/project/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/azure-device-update/1.0+gitAUTOINC+743bb72f5b-r0/build --target all -- -j 16
| ninja: error: '/home/yocto/project/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/deliveryoptimization-sdk/1.0+gitAUTOINC+006c15f8a8-r0/recipe-sysroot/usr/lib/libboost_filesystem-mt.so', needed by 'src/agent/AducIotAgent', missing and no known rule to make it
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/yocto/project/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/azure-device-update/1.0+gitAUTOINC+743bb72f5b-r0/temp/log.do_compile.38451)
ERROR: Task (/home/yocto/project/meta-azure-device-update/recipes-azure-device-update/azure-device-update/azure-device-update_git.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3928 tasks of which 3901 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/yocto/project/meta-azure-device-update/recipes-azure-device-update/azure-device-update/azure-device-update_git.bb:do_compile
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

Should I've done something specific before applying this line after encountering the error?

This seems to be a much deeper problem ... I fixed mine by fixing all modules to a certain commit on each of the repos - see: https://github.com/SimonSimCity/meta-azure-device-update/commit/fb5cb2720b6ba2a4aa50c21d9e824baa5f9bfce9

The problem comes from  azure-device-update recipe referencing sysroot path in azure-iot-sdk-c paths.
I adapted the solution from @pierrickcurt. I think some path changed since.
You simply need to use the following in the azure-iot-sdk-c recipe
sysroot_stage_all_append () {
    sed -i "s@${WORKDIR}/recipe-sysroot@\${WORKDIR}/recipe-sysroot@g" ${SYSROOT_DESTDIR}/usr/lib/cmake/azure_c_shared_utility/azure_c_shared_utilityTargets.cmake
}

Seems like it doesn't have to do with a particular version, but when the version changes, the sstate-cache of those packages need to be cleaned. With the release of the meta-layer for 0.8.0 there was a new package added which also requires those cleanings. Here is the new command we work with:
bitbake -c cleanall azure-device-update azure-iot-sdk-c azure-sdk-for-cpp

Closing this issue as there has been no activity on this thread. Please feel free to open an issue if needed.
Our Yocto layers published in this repo and will be maintained for our releases: https://github.com/Azure/iot-hub-device-update-yocto


my classifier doesn't detect any object in the training dataset

I changed the true boxes so to get rid of the error due to the variation in the aspect ratio of the truth box. the code is now training the classier. However, the trained classifier did not detect a single box in the whole training dataset consisting of around 100 images.
Any help will be appreciated
Thank you.
PS: those are few images from my training dataset

A HOG based object detector isn't going to be good for dealing with complex rotating objects.  It's basically just a sliding template.  If you can train one where all the whales are oriented the same way then it might work but it's impossible to say.


add compute node to cnv virtual control plane

https://github.com/openshift-metal3/dev-scripts/pull/1172

https://github.com/openstack-k8s-operators/osp-director-dev-tools/pull/18


Optional config property - highlightCurrentDay

Is your feature request related to a problem? Please describe.
I would like to highlight the current day (particularly in month mode, but good to have for week as well) with a different background color as a quick way to find where the current day lives on the calendar. I can currently do this with some vanilla JS work, but it doesn't feel super nice to use vanilla JS in vue.
Describe the solution you'd like
An optional configuration property would be the easiest as a user, but even just a class we could style for the current day would be great.
Additional context
An example of what I've manually created in my project with the 26th being the current date:

Thanks for opening this issue. Agreed, this would be a good feature 👍
Since the month view is going through some changes for the upcoming v3 release, I'd say we could get on this, as soon as those changes are through.

Amazing, thank you!
If I may ask - what changes can we look forward to with the V3 release? I've really been enjoying using Qalendar so I'm excited to hear there's more to come!

Glad to hear you’re enjoying it!
@loicgeek is rebuilding the mobile month view.
@felix-berlin is working on implementing a11y-standards, and will build a dark mode.
And I’m working on making day boundaries flexible, not limiting a Qalendar-day to stick within the limits of a regular day: https://github.com/tomosterlund/qalendar/issues/117

Thanks again for taking the time to open this issue.
Instead of adding a configuration option, I ended up simply adding a highlight for the current day also in month mode. Didn't make sense to me that all modes should highlight the current date except month-mode.
Since I can tell that you've customized the style a fair bit, my tip for you would be to just override .calendar-month__weekday.is-today to your taste 😊 This should be available to you with v3.1.0

@tomosterlund thanks so much Tom! 😊

@jilliandburke just wanted to give you a hint, since it appears from the image above that you've built your own dark mode for the component: you might want to consider pinning your qalendar dependency to 3.1.0, so that you don't receive an automatic update to 3.2.0, where I'll release dark mode as a built in feature. Then you can take your time to see if you want the upgrade

@tomosterlund That's very helpful, thanks again! Very glad to hear a native dark mode is coming as well!


fix(Climbing) Climbing scene changes redone in Unity 5.4

There were the following issues with your Pull Request

Commit: 3519290f02aaa9e37a71a4f4e3d801f8508b0180
Commits must be in the following format: %{type}(%{scope}): %{description}

Guidelines are available at https://github.com/thestonefox/SteamVR_Unity_Toolkit

This message was auto-generated by https://gitcop.com

Superseded by https://github.com/thestonefox/VRTK/pull/933


Some missing options for ship weapon items

Need a option for Tractor Beam Strength maybe with an override for damage number since if you leave blank it shows NaN, One can put in other cargo but it is considered a Weapon and an Attack by the rules
No Persistent field for Plasma Weapons like Romulan Plasma Torpedoes are Persistent 8
Also carrying over from https://github.com/mkscho63/sta/issues/36. Also add the weapon qualities to the chat card for ships.

Looking at the rules for tractor beams, they are describes as weapons, but the rules for them do not roll damage (at least in 2e). As such I would suggest they are in the proper place as items.
I have added persistent to the 1e weapons sheet should go out in issue 1.2.4.
Thanks for the input.


Add docs constraints file

Description
Add compilation of constraints files for docs build. Update workflow to use it.
References

Type of change

[x] Maintenance (changes required to run napari, tests, & CI smoothly)

We need to update the napari/docs workflow too right?

yes


Make struct an iterable mapping and a sequence

Addresses #208 .

As I was writing up corresponding docs, I discovered that struct.make() yields starlarkstruct.Struct instances (provided by Starlark) where struct.encode() yields instances of core.StarlarkStruct.
Looks like we'll need to port over the Make() functionality (i.e. building struct from kwargs).
Also, docs update needs to be finished before merging.
Creating draft PR, in the meantime, to signal someone has started work on this issue.

Now all structs created in ytt are of the custom type: core.StarlarkStruct.


Compatibility with unified v10

Unified 10.x has been released a few weeks ago which seems to have contained a few breaking changes which broke compatibility with rehype-shiki.
Would be great if this package could be upgraded soon. Thanks a ton! 💯

Thanks for reaching out. I’ll get to this soon…

@leafac did you get a chance to take a look at this yet? Seems like this would be useful for quite a lot of folks :)

Fixed on 2.0.1.

Thanks a lot @leafac


Consider parallelizing requests from the same connection

Pros: Better parallelism
Cons:

Multiplexed I/O requires locking so the performance gains will likely not be as good
Quit commands would now need to wait for all other commands to finish before closing connection

This wouldn't work well without using some assumptions that may be invalid, namely that the client is not expecting items back in the exact same order they were sent. Batch gets are already going to be accepted as a group. This will not be a useful endeavor otherwise.


Raw query

Hi,
is possible to search by raw query? Array, json, or by your Query class.
If yes, how i can use that? I cant find any info from documentation.
Thank you & thank you by awesome package!

You can make your own syntax class with whatever query you want. It only needs to follow the same interface as the others!


Add triangular indices functions

Add tril_indices, tril_indices_from, triu_indices, and triu_indices_from
Mirrors the implementation from numpy

Can check off these methods from https://github.com/numba/numba/issues/4074

@EPronovost thanks for implementing and submitting this. I have queued it for an initial review.

FYI: CI errors are probably unrelated.

@EPronovost thanks again for submitting this and welcome to Numba! I have reviewed your submission and it looks really good so far. There are a few things that still need to be addressed and I left some comments inline for your consideration. If anything is unclear or confusing, please don't hesitate to ask.

@EPronovost thanks for making these changes and addressing the comments from the review, I will look at them today. Just a word of warning, I saw that you have force pushed the branch, probably due to a git rebase or similar operation. We have had some bad experiences with GitHub loosing review comments and discussions because it can no longer assign them to the respective source lines so we generally discourage the use of rebase. Instead we generally tend to recommend merging master into feature branches to update the code base and fix conflicts.

@EPronovost FYI: we would like to get this PR in to the next RC. I have tended to this PR and pushed some commits to your branch so that it has a chance of making it into the next release.

Canceled build, will update with new changes shortly.

@stuartarchibald can you give it another quick look? I think it's almost ready for 'waiting on CI'.

It seems the tests are failing for Python 2.7 because inspect.signature is not defined.  Have you dealt with this in other places?

@esc please could you take a look at the Py2.7 issue, there might be something to help in numba.six. Thanks.


How can a function use the external storage?

I wonder whether I can store some data in the CouchDB and use it when invoking the function, like the machine learning tasks?

CouchDB used by OpenWhisk is part of the internal system and not available to the actions. Of course in a custom deployment, you could do that, if you wanted to. You can use any db you want as a service or if you deploy it into your system.
If you're considering using a hosted/vendor provided version of OpenWhisk, there are options which offer integrated storage (e.g., Nimbella, or provision an instance on IBM's Cloud Functions).


Hungerian notation

I get a deja vu when I see this. It reminds me of the Hungarian notation here : https://en.wikipedia.org/wiki/Hungarian_notation
Also Microsoft naming convention disapprove this here : https://docs.microsoft.com/en-us/dotnet/standard/design-guidelines/general-naming-conventions
Issues I have :

are you naming databases like db1 , db2 ? or like db-sales ? Or Salesdb ? I have a database just called Sales pretty clear.
if you implement a region code and you are moving it to another region you have to rename it.
An indentification is meant to be unique and should not change over time.

I am refering to this page : https://docs.microsoft.com/en-us/azure/cloud-adoption-framework/ready/azure-best-practices/resource-abbreviations
Just my two cents

Thanks for reporting - this issue is under review. This is a Microsoft Internal DevOps Bug ID # 486317

@sqlenders - I know this has been a long time since you first report. Thank you for your input. Our apologies for not addressing your question years ago. We have recommended database naming examples on this page: https://learn.microsoft.com/en-us/azure/cloud-adoption-framework/ready/azure-best-practices/resource-naming#example-names-databases
sqldb-<project, app or service>- and if needed you can add a numbering system to the end to differentiate

#please-close


Support specifying ARL for deezer

support for adding your own deezer arl so you can play higher quality & premium tracks

Getting the ARL: https://www.dumpmedia.com/deezplus/deezer-arl.html
The usage - might be useful to check https://github.com/joshbarrass/deezerdl/tree/master


Resize columns

I think this control doesn't have one important feature. It's a resize columns.

Can you explain what you mean about resize columns? Change CSS style?
Because you can do that inside the header values
http://zizzamia.com/ng-tasty/directive/table/custom-sorting
check the javascript code, about the part of
"header": [
    { "key": "name", "name": "Name", "style": {"width": "50%"} },
    { "key": "star", "name": "Star", "style": {"width": "15%"} },
    { "key": "sf-location", "name": "SF Location", "style": {"width": "35%"} }
  ]

No, I know this feature. I mean user resize by grabbing the column borders and drag them.
Like this one http://dobtco.github.io/jquery-resizable-columns

I believe we could implement that just by pure CSS, without extra stuff on ngTasty.
This table it's meant to be really tiny and flexible, so you can implement custom version easily.


QualityCheck : ANF ThroughputMibps can not get

ANF volume throughput appear "0" because Get-aznetappfilesvolume command can not get  ThroughputMibps parameter. If we execute command Get-aznetappfilesvolume , ThroughputMibps parameter become blank.
We have to install previous version of Powershell module Az.Netapp.

Can you please share the output of the Get-AzNetAppFilesVolume and the versions used for PowerShell and the Module?

Powershell module  Az.NetappFiles
version  :  0.13.1  ⇒ NG
0.8.0　⇒ OK

I tried  install old version of Az.NeappFiles module(ver.0.8.0) by overwrite. I can get ThroughputMibps parameter.
We maybe should install module with old version using requiredversion parameter for "Install-Module Az.NetAppFiles -Force" or wait for fixing the output of  the  Get-AzNetAppFilesVolume.

Is the ANF in the same subscription/resource-group as the SAP system or are they running in different subscriptions/resource-group?

It had deployed in the sample subscription/resource-group.

can you please share the HTML output with me directly on<EMAIL_ADDRESS>

Yes. I will send you later.

fixed in version<PHONE_NUMBER>


Dev: Delay in removing 'New' marker After deleting newly sent message

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Open a chat
Send a message
Click on “Mark as unread”
Now delete the message
Notice new marker not removed with message

Expected Result:
New marker should be removed when deleting new sent message
Actual Result:
New marker not removed when deleting new sent message
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: Dev
Reproducible in staging?: Dev
Reproducible in production?: Dev
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/43996225/b1c81dce-2ca6-45d7-a2be-a02c4b36e230
Expensify/Expensify Issue URL:
Issue reported by: @ayazhussain79
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1692306828126859
View all open jobs on GitHub

:wave: Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open StagingDeployCash deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

Identify the pull request that introduced this issue and revert it.
Find someone who can quickly fix the issue.
Fix the issue yourself.

on it now

okay I cannot re-produce this on production. If this issue is present on staging, then this is a deploy blocker.
https://github.com/Expensify/App/assets/98560306/5df20aad-96ba-4adb-b1b6-532619003165

you can reproduce it on DEV

my dev env is not working well, but I gonna ask in #expensify-open-source channel to see if anyone made changes recently that might have caused this regression.

asked here

This PR might be related. Asked in that PR.

not reproducible on staging, so not a deploy blocker. Will be a deploy blocker tomorrow though, so leaving this as an hourly issue @hayata-suenaga

yea that's only on dev. I was wondering if the issue should be deploy blocker if it only exists on dev (main). Thank you for letting me know

this can be fixed by adding aditiional check reportAction.pendingActions !== CONST.RED_BRICK_ROAD_PENDING_ACTION.DELETE) inside ReportActionList while passing shouldDisplayNewMarker or inside ReportActionItem alongside props.shouldDisplayNewMarker && but it's hard to tell why it was working previously since it's a refactor which changed the logic entirely with new approach.

I'm decreasing the priority here

Thanks @gedu! I'm going to put a Weekly label on this in that case, anyone looking for more frequent updates can look to the master issue https://github.com/Expensify/App/issues/23171

Still working in https://github.com/Expensify/App/issues/23171

https://github.com/Expensify/App/issues/23171 still open

Still working in https://github.com/Expensify/App/issues/23171

https://github.com/Expensify/App/issues/23171 still ongoing

Still working in https://github.com/Expensify/App/issues/23171

https://github.com/Expensify/App/issues/23171 still ongoing

Still working in https://github.com/Expensify/App/issues/23171

Still working in https://github.com/Expensify/App/issues/23171

I will review it too

Can not reproduce it.
I'm seeing just an small delay but correspond with the re-render and the list sorting.
https://github.com/Expensify/App/assets/1676818/ca6a73b9-8e3a-4a49-ac04-68ed60ab2d79

compared with the video in the original issue, the problem seems to have been fixed. We can close this. Do we need any payment @stephanieelliott ?

Great! No payment due here as work was done by a Callstack expert contrib.


Django 1.10 - sys.modules issue

When following the installation instructions on pypi and using Gunicorn to run my Django app, my urls.py reference to letsencrypt.urls fails.

Having a look at __init__py, this line seems strange
sys.modules['letsencrypt'] = certbot
I haven't been able to make sense of this. Since certbot is installed as a dependency, the certbot binary is available in the pip context on the command line. So now, letsencrypt and certbot point to the same module as far as sys is concerned.
As a result, it seems that Gunicorn picks up letsencrypt as certbot and can't find a urls module linked to the letsencrypt package. So, it's failing the import.
Why set the letsencrypt sys.module equal to certbot? Wouldn't it be better just to leave it as is and have people access certbot directly?

Hey @kyleobrien91 !
I don't have any line of source code with the word certbot in this project:
https://github.com/urda/django-letsencrypt/search?utf8=✓&q=certbot&type=
Nor does this project depend on certbot at all. It's a simple Django app to serve ACME responses.
Can you offer more details such as a stack trace? This currently looks unrelated to this project.

@urda - aaarg and shooting to the top of one of the more embarrassing things I've done on open source, I messed up some dependency management to do with native letsencrypt and django-letsencrypt.
I should relinquish my open source badge.
Sorry for the confusion!

@kyleobrien91

I should relinquish my open source badge.

Never! I appreciate you opening this issue regardless, as sometimes we don't catch every case!
Let me know if you need anything else.


Throttle requests documenation

I can't seem to find any documentation on how to throttle remote requests. In it's current state the typeahead sends a request on every single key press. Is the lack of documentation due to there being no throttling?
Can anyone please advise? @nickcolley
Thanks

Heya,
We're talking about how to do this over in this thread so hopefully my comment helps you with this:
https://github.com/alphagov/accessible-autocomplete/issues/210#issuecomment-549470423
Feel free to add to that thread if it does not.

Hey @nickcolley Thanks appreciate that. We managed to implement throttling ourselves.


desoxyephedrine can't be created

Description
The wiki recipe for desoxyephedrine does not actually create desoxyephedrine in game, which either means the wiki is outdated or the chemical is unmixable.
Reproduction

Attempt to make desoxyephedrine according to the wiki
Fail
Cry in a corner over not being able to create the funny speed drug

pretty sure it just needs to be heated up. idk if the wiki displays min reactions temps.

pretty sure it just needs to be heated up. idk if the wiki displays min reactions temps.

the chemist I was working with tried microwaving it , didn't work.

how long? it's like 30 seconds total iirc

It works just fine, heat it up.


[FLINK-11160][Kafka Connector]

Summary: raised the confluent version to 4.1, added serialization schemas for confluent and added dependencies
Note: when I run mvn clean verify locally I get
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on project flink-core: ExecutionException: java.lang.RuntimeException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?

and when I try to add Travis CI hook per documentation I get
Note: GitHub Services are being deprecated. Please contact your integrator for more information on how to migrate or replace a service with webhooks or GitHub Apps.

What is the purpose of the change
Added serialization schemas to work with the Confluent Avro format and the Confluent Avro schema registry.
Brief change log

Added a serialization schema to work with the Confluent Avro format and the Confluent Avro schema registry, only for GenericRecord
Added a keyed serialization schema to work with the Confluent Avro format and the Confluent Avro schema registry, only for Scala Pair of GenericRecord

Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: ( don't know)
The runtime per-record code paths (performance sensitive): ( don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper:  no)
The S3 file system connector: ( no)

Documentation

Does this pull request introduce a new feature? (yes)
If yes, how is the feature documented? ( JavaDocs, I think)

it seems there were some formatting errors. can someone tell me how to get the format correct?

@Zhen-hao thank you for your contribution. Maybe you could execute mvn clean validate -Denforcer.skip -T 1C locally to find the format error.

closing due to duplicated JIRA issue


Can't call SOAP wsdl with header parameters in Laravel 5.3

http://stackoverflow.com/questions/40762501/how-to-call-soap-wsdl-with-header-parameters-in-laravel-5-3

Please try out version 0.3.*.


Converting X to sparse matrix fails

Description
The conversion of a dense entry in X, AnnData.layers or AnnData.obsm to a sparse matrix fails:
>>> import numpy as np
>>> from scipy.sparse import csr_matrix
>>>
>>> from anndata import AnnData
>>>
>>> adata = AnnData(np.ones((1, 1)))
>>> adata.X = csr_matrix(adata.X)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/anaconda3/envs/anndata_bug/lib/python3.8/site-packages/anndata/_core/anndata.py", line 655, in X
    or (self.n_vars == 1 and self.n_obs == len(value))
  File "/opt/anaconda3/envs/anndata_bug/lib/python3.8/site-packages/scipy/sparse/base.py", line 295, in __len__
    raise TypeError("sparse matrix length is ambiguous; use getnnz()"
TypeError: sparse matrix length is ambiguous; use getnnz() or shape[0]

I ran the code using both anndata==0.7.4 and anndata==0.7.5.

Huh. That's weird.
Looks like it has something to do with X being having a size of (1, 1). For example, this works:
adata = AnnData(np.ones((10, 10)))
adata.X = csr_matrix(adata.X)

I bet this has to do with old machinery which would have a[1, 1].X return an int.

Huh. That's weird.
Looks like it has something to do with X being having a size of (1, 1). For example, this works:
adata = AnnData(np.ones((10, 10)))
adata.X = csr_matrix(adata.X)

I bet this has to do with old machinery which would have a[1, 1].X return an int.

Hm, yes, your example works. However, the cases
adata = AnnData(np.ones((10, 1)))
adata.X = csr_matrix(adata.X)

and
adata = AnnData(np.ones((1, 10)))
adata.X = csr_matrix(adata.X)

fail with the same error message as before.

Hm, yes, your example works. However, the cases
adata = AnnData(np.ones((10, 1)))
adata.X = csr_matrix(adata.X)

and
adata = AnnData(np.ones((1, 10)))
adata.X = csr_matrix(adata.X)

fail with the same error message as before.

Looks like the issue was us trying to handle cases like a.X = [1, 2, 3], so I've just made it that we check for the shape attribute before trying len.


DUPLO-25492 TF:Support for Modifying ASG Launch Templates

Overview
Implemented launch template resource and data support
Summary of changes

Added duplocloud_aws_launch_template resource
Added duplocloud_aws_launch_template_default_version_resource
Added data source for duplocloud_aws_launch_template
This PR does the following:

Implementation of duplocloud_aws_launch_template resource is used to upgrade the current version based on change related to ami and instance type
Implementation of duplocloud_aws_launch_template resource is used to set default version.
Added example for launch template and launch template default version usage
updated documentation

Testing performed

[ ] Using unit tests
[ ] Manually, on my local system
[ ✔] Manually, on a remote test system

Describe any breaking changes

...

Task linked: DUPLO-25492 TF:Support for Modifying ASG Launch Templates


Setup for monorepo

Is there any way of abstracting common steps definitions into a shared package of a monorepo?
For instance, is the following structure possible?
common package
↳ common steps
UI package
↳ feature file
↳ steps for feature file
Current behavior
It's possible to make the above structure for the UI project but not possible to implement some steps in the common package and use them in UI project.
Desired behavior
Would be great if it's possible to be able to define some common steps in a shared package of monorepo.
Also, in future, can I create a copy UI package and continue with a similar structure?
Versions

Cypress version: 8.5.0
Preprocessor version: 4.3.0
Node version: 16.9.0

Due to personal reasons, the previous maintainers of this package are stepping down and handing the reigns over to me, a long-time contributor to the project and a user of it myself. This is a responsibility I'm very excited about. Furthermore, I'd like to thank @lgandecki ++ for all the work that they've done so far.
Read more about the transfer of ownership here.
The repository has however moved and all outstanding issues are being closed. This is not a reflection of the perceived importance of your reported issue. However, if after upgrading to the new version, you still find there to be an issue, feel free to open up another ticket or comment below. Please make sure to read CONTRIBUTING.md before doing so.


kubevirt: Add patch for CVE-2022-41723

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[x] The toolchain has been rebuilt successfully (or no changes were made to it)
[x] The toolchain/worker package manifests are up-to-date
[x] Any updated packages successfully build (or no packages were changed)
[x] Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
[x] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
[x] All package sources are available
[x] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
[x] LICENSE-MAP files are up-to-date (./SPECS/LICENSES-AND-NOTICES/data/licenses.json, ./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md, ./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON)
[x] All source files have up-to-date hashes in the *.signatures.json files
[x] sudo make go-tidy-all and sudo make go-test-coverage pass
[x] Documentation has been updated to match any changes to the build system
[x] Ready to merge

Summary

What does the PR accomplish, why was it needed?
CVE fix
Change Log

Adds patch

Does this affect the toolchain?

NO
Associated issues

#xxxx

Links to CVEs

https://nvd.nist.gov/vuln/detail/CVE-2022-41723

Test Methodology

Pipeline build id: https://dev.azure.com/mariner-org/mariner/_build/results?buildId=526599&view=results

Checked the ptest results - no regressions, failures are known and unrelated to this change.

Auto cherry-pick results:

main :white_check_mark: -> https://github.com/microsoft/azurelinux/pull/8410

Auto cherry-pick pipeline run -> https://dev.azure.com/mariner-org/mariner/_build/results?buildId=528335&view=results


Reload/Recreate components

Hi, had a question: I've been making progress on an app that displays a list of results. It also has some radio buttons and checkboxes that are intended to allow the user to refine the results set. I've figured out how to manage the search options as they are updated and am using that to generate a new list of things to display.
But I'm running into a problem at that point. I haven't figured out how to "re-display" the results.

SearchComponent

ResultsComponent

ResultComponent1
ResultComponent2

When the SearchComponent is updated I want to generate a new ResultsComponent to display the new search results. Is there some way to do this? I've been through the docs and have done a lot of experimenting but haven't found a way to do it yet. Sorry if the question is a little too vague or naive, I'm sort of new to all of this.
Thanks

From what I understand you need to instantiate these subwidgets on the fly and have trouble doing that, right? You probably have an vbox or something for these resultcomponents to appear in. You can then instantiate them and set parent  to the resultcomponent. Or use something like:
with the_result_component_container:
    ResultComponent()

Thanks Almar!