Modify Todo App project #1001

Related Issue

Modify Todo App project #1001

Closes: #1001
Describe the changes you've made

Completely changed project with new one.
Make todo list stored in local storage.
Make project responsive.
Add pending task feature.
Add clear all feature.

Describe if there is any unusual behaviour of your code
NA
Checklist:

[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation.
[x] New and existing unit tests pass locally with my changes.

Screenshots

@urvashi-code1255 Please review this.

Can you please increase level to 2. It took too much time to modify, add local storage and other feature. We can now also remove old local storage project which is having many bugs. Also will fix many issues such as #942 and #761

Thanks for this awesome contribution. 🤩
Keep Contributing.

Hey @Vedant-Rahane how do you make gif? It is small in size.
Any software or compression ?
Do tell need to recommend others to do the same.

@991rajat
I use Free Cam for video recording. And to convert it into gif I use an online tool EZGIF.
We can select the area we want to capture in the video recording app. Also after converting into gif there is an option of cropping in the online tool.


Styles not loading

I am using an ubuntu20.04 image and i installed all the packages which are need to run. I successfully installed and running it but styles are not applied on application.
Am i missing some packages? if yes please let me know.
Its just plaiin html without css

Check your app url


chore/update: update to collenchyma 0.0.6

@homu r+

:pushpin: Commit 587ca57 has been approved by hobofan

:zap: Test exempted - status


CI improvements

This is my attempt to fix the CI errors, however it needs work.
I've renamed \PHPUnit_Framework_TestCase to \PHPUnit\Framework\TestCase, as CI is using PHPUnit 5.7.21 and this has been renamed in v5.4.3.
Same with PHPUnit_Framework_Error_Warning as per this commit and this documentation page.
I've also removed PHP version which are no longer supported by PHPUnit.
This PR needs probably manual testing and some further work, but most likely I won't be able to continue on this. These are the improvements to tests files which are broken anyway.

merged

thank yoy


fast.fonts.net

Hi, please consider adding fast.fonts.net to the whitelist.
It is used to deliver webfonts.
It is blocked by https://v.firebog.net/hosts/static/w3kbl.txt

It is maintained by @WaLLy3K, can you look into it?

Thanks for bringing it to my attention @anudeepND, that entry's been removed.


[feature] Add dummy py file

Create new .py file

Topic: py-file
Relative-branch: parth/dev

#
head
base
diff
date
summary

0
89e94445
a7576a12
diff
Apr 22 13:47 PM
1 file changed, 1 insertion(+)

Reviews in this chain:
└https://github.com/parth-emancro/revup-tutorial/pull/7 [feature] Add dummy py file
　└https://github.com/parth-emancro/revup-tutorial/pull/8 [feature] Add requirements file


error: No message system available

title.
followed all steps indicated for installation, tried the AppImage and I get the same error:
"running using x11 video driver
dpi scaling: 1.000000
error: No message system available"
I'm running endeavouros with kernel zen1 6.2.12. all required dependencies are installed and up to date

CI?
i also tried to compile it myself, same error

what DE are you using? have you installed xenity?

KDE, and no i havent, what is it?

KDE, and no i havent, what is it?

a modal system

just checked, zenity was already installed

just checked, zenity was already installed

is kdialog installed as well?

it solved it, i was missing kdialog, thanks!


Updated Install Documentation

Hello,
I am looking to upgrade from v2 to the latest version v4? However, looking at https://suma-project.github.io/Suma/installation/ it seems like the directories have changed a bit. Just wanted to make sure I am going down the right path.
/var/www/htdocs/sumaserver/      =>  /var/www/app/suma/service/web/
/var/www/htdocs/suma/client/        =>  /var/www/app/suma/web/
/var/www/htdocs/suma/analysis/   =>  /var/www/app/suma/analysis/
[suma-repo]/analysis => /var/www/htdocs/suma/analysis/
[suma-repo]/service/web => /var/www/htdocs/sumaserver/
Now do I use [suma-repo]/web or [suma-repo]/web-sourceode/public for => /var/www/htdocs/suma/client/ ?
Are there directions on building the vue.js or angular interface?
Thanks!

Hi,
You should use [suma-repo]/web . The interfaces are built already. If you are doing any development on the new vue.js client, there are instructions here for development: https://github.com/suma-project/Suma/tree/master/web-sourcecode
Let me know if there's anything else!

I was able to upgrade in place for v4 from v2. I think it's working as expected but will have our users go and test.


Lifetime constraint synonyms with friendlier syntax

Language newcomers may be confused by the : in lifetime constraints, looking rather foreign, or coming from other languages that have Inheritance.
Even after reading lots of library code, I sometimes forgot whether 'a : 'b means 'a outlives 'b or 'b outlives `'a'.
This proposal allows for an additional syntax, by allowing for >= in addition to : (for backward compatibility), and be equivalent to it.

'a >= 'b would be equivalent to 'a : 'b
T >= 'a would be equivalent to T : 'a
T: Trait + (>= 'a) would be equivalent to T: Trait + 'a
T >= 'a + 'b would be equivalent to T: 'a + 'b

I agree that >= conveys better intrinsic understanding in this case.
I'm concerned the cost of supporting two syntaxes is nontrivial, and will specifically hurt newcomers.
T: Trait + (>= 'a) seems the odd one out. It proposes not only to replace extends, but add a marker specific to lifetimes.
A note for me is that colloquially extends can be read as T is this or something more. In this context, it had already conveyed mostly what this RFC tries to do. But I frequently observe "think 'a: 'b as 'a outlives 'b" on IRC. So this is far from universal IMO.

I'd like to echo @udoprog's sentiments. We could move to a new syntax with an epoch, but since lifetimes are so fundamental to Rust I doubt the change is worth the migration cost.
On a tangent, I've always felt that the phrasing "'a outlives 'b" is misleading. That seems to suggest a total ordering 'a > 'b (so 'a > 'a never holds since total orderings are not reflexive relations) while in fact it is a partial ordering 'a >= 'b as you state. I believe we should use a different formulation instead but I can't think of one that fully captures the meaning of 'a: 'b.

Felt ( >= was a bit contrived when I wrote it. May as well allow for T >= Trait + 'a. Also + may be confusing too as it may indicate to that it operates on 'Trait' somehow, but in this case it just means T : Trait && T : 'a.
And I think too that 'outlives' is somewhat inexact, I kinda forced my brain to use it over 'is not exceed by', or 'includes' or 'contains'.

Consider lifetimes as a special traits. Then 'a: 'b will mean the same thing as TraitA: TraitB, namely that B bounds on A (and not vice versa). Then the T: Trait + 'a entry becomes intuitive:
fn foo<'a, T: Trait + 'a>() {}
//     '-''-' '--------'
//      |  |   trait bounds
//      | generic type name
//    lifetime "trait" name

And then the &'a T is in a sense a special trait-object, which also looks good :)

Ping from triage: @da-x can we close this or do you want to pursue this further?


Remove defaults channel

My current knowledge is that using Anaconda defaults channel for commercial applications is not compliant with their ToS: https://www.anaconda.com/blog/anaconda-commercial-edition-faq
Also: Typer is available in conda-forge

this looks like a duplicate of #64. can we close it?


Update README.rst

Readme isn't up-to-date, examples should be updated to work with the recent V8.

lgtm, thanks!


Full bleed implementation

New option added for full bleed.
<script>
	$('video').mediaelementplayer({
		fullbleed: true
	});
</script>

Demo: http://dev.cartelle.nl/labs/mediaelement-fullbleed/demo/mediaelementplayer-fullbleed.html

This feature is already existing in the plugin under the feature stretching. Can you close this issue please?


overview tagged devices

Environment

Python version:   2.7.13
NetBox version:  v2.4.6

Proposed Functionality
If one goes to devices -> device types  you can click the number in the column instances to see all devices of that type.
I'd like the same for the column instances at the page organization -> tags so we can get a page with all devices bearing that tag.

Use Case
We are gonna use tags in our network automation, beginning with specifying when and how often a backup is taken from each device. It will be very useful to be able to see  which devices have the same tag.

Database Changes
None expected

External Dependencies
None expected

The number of devices assigned to each tag is included in the tags list on the devices list view (Devices > Devices). You can also view the total number of objects assigned to each tag under Organization > Tags.


lazyvim setup?

Could you provide instructions for lazyvim support?
{   "typed-rocks/ts-worksheet-neovim",   config = function()     local tsws = require('ts-worksheet')     tsws.setup()   end, }
I'm guessing something like this but where should I put the cli?

There is an open PR. I will review it today and merge it 👍

@BBennettChiba The PR was just merged, so you can now use it with lazy.nvim. Thanks to @heilgar


Rework delete_lines resource to use file sub-resource

Also extends the API to support passing regular expressions.
Similar rationale to #74
I think there's fewer direct bugs fixed in this PR (as opposed to #74), but I extended the API to support passing regexps directly instead of coercing a string to a regexp in the provider.

This change is

this is built on top of #74 to reduce merge conflicts and will make more sense after that PR is merged.

          1 Error

:no_entry_sign:
Please add labels to this Pull Request

  Generated by :no_entry_sign: Danger


python bag api writer: time rewrite handling does not work with MCAP plugin

I use the rosbag API to re-order timestamps in a ros2 bag mcap  file. In the original bag, the messages are not ordered according to their timestamps. I use the header timestamp to rewrite the writer timestamp and thereby reorder the messages in the bag using the APIs mentioned here: https://mcap.dev/docs/python/ros2_example.html
This works as intended when I use sqlite3 as the output format. Messages receive a  new order.
When I use mcap as the output format, the messages keep their original order and are not sorted by the new timestamp.
My workaround for now is to first convert the bag to sqlite3 with new timestamps and then convert again to mcap without changing the timestamps.

Could you please share the code you're using to do the conversion?

The timestamp is piped into the mcap file here: https://github.com/ros-tooling/rosbag2_storage_mcap/blob/b7b37693d7f423c9c1508fc869432f74fb1c273d/rosbag2_storage_mcap/src/mcap_storage.cpp#L519

I added a gist of the script https://gist.github.com/fnobis/03790b7b6f69b63a2b04d7b13a4fab4a
In the example, the header timestamp is not changed. The header timestamps of both the camera and the camera_markers topics are the same. I would like to order them in the bag so that the camera_markers message is always logged to disk 1ms later than the image. I set the new "bag timestamp" (not sure if that is the logTime?) by adding a Duration to the original  timestamp manually in the writer, this works with the sqlite3 option. With mcap the ordering is not changed.

And how do you know the order is not changed in the new bag? How are you testing the order?

For testing,  I open the converted bag again with the ros bag reader api and print the topic names.
For the mcap bag, I get the same output as the original bag:
camera
camera_markers
camera_markers
camera

for the sqlite3 bag the output is: as intended
camera
camera_markers
camera
camera_markers

rosbag2_storage_mcap always plays back messages in the order they are written in the file, whereas the sqlite plugin will play back in timestamp order. We are planning to fix this, but there was no ticket so I created on here.
FYI @emersonknapp

Thanks for clarifying and opening that ticket!

@fnobis fyi @james-rms implemented https://github.com/ros-tooling/rosbag2_storage_mcap/issues/50 today, so in the next release of rosbag2_storage_mcap (or if you build from source) you should be able to play back in log_time order.
As I mentioned, in the meantime you can also work around this by changing the order which messages are written to the file.
I'm going to close this issue now, but please let us know if there is still an issue you are having.

The test packages are not part of the rosbag2 metapackage - they are not intended to be part of runtime distributions. Manually installing dependencies is not generally recommended, you can use rosdep install --from-paths src/ --ignore-src -y for example as a way to install dependencies for your given source tree.
That said, the dependency you’re looking for is ros-DISTRO-rosbag2-test-common


options.depth ignorred

The depths in options is ignorred
JsonRefs.resolveRefs(json,{depth:1}, function (err, resolved,meta) {
Here an example
https://cdn.rawgit.com/robotnic/json-refs/master/browser/tester.html
Expected behaviour
Mechanism to reduce $ref resolve after some steps.

Can you explain it to me a little more as I'm not seeing the problem with your example.  I apologize.

Any update on this?  Tests show depth is still being used and I can't see the problem in your example.

Without more feedback, I cannot help.  Feel free to reopen.


2 up view in UV

Sandy was asking how--pretty sure this was something we could do in UV, but I can't figure out how. Is it disabled?

You only get 2-up if the scanned resource is marked as paged.

OK. That might be something to add to the METS ingest script. Probably for everything except TightBoundManuscript and RTLTightBoundManuscript

Looks like this was done in 477bbfae53d1305152cb213cdea3d16dd8dc257b


Calculate payload fragment sizes without include record overheads

Resolved issues:
resolves #1776
Description of changes:

Previously fragment sizes are calculated with record heads (IV, AEAD,
padding) subtracted from maximum fragment limits. This leads to double
accounting and reduced efficiencies using a smaller payload size than
allowed by specification in each record

Call-outs:
N.A
Testing:
ests testing previous assumptions have been updated. I've also test locally using  --allow-mfl on the s2nd server and  -maxfraglen with s_client. No "ssl3_get_record:data length too long" were encountered.
How is this change tested (unit tests, fuzz tests, etc.)? Are there any testing steps to be verified by the reviewer?
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #2122 into master will increase coverage by 5.46%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #2122      +/-   ##
==========================================
+ Coverage   81.06%   86.52%   +5.46%
==========================================
  Files         247      161      -86
  Lines       18385    12505    -5880
==========================================
- Hits        14903    10820    -4083
+ Misses       3482     1685    -1797


Add manifest

Based on https://github.com/tikv/agatedb/pull/60 and https://github.com/dgraph-io/badger/blob/45bca18f24ef5cc04701a1e17448ddfce9372da0/manifest.go.

We already have a complete implementation at develop branch 🤪
https://github.com/tikv/agatedb/blob/develop/src/manifest.rs

We already have a complete implementation at develop branch 🤪
https://github.com/tikv/agatedb/blob/develop/src/manifest.rs

Indeed. @GanZiheng why not use that directly?
@skyzh do you have any suggestions on how to merge code from develop branch to master?

At first glance, the code seems quite similar to develop branch. I’ll do a review and try recalling what I’ve written years ago. 😪😇


Roll Flutter from 99fb2d36e807 to eed80afe2c64 (19 revisions)

https://github.com/flutter/flutter/compare/99fb2d36e807...eed80afe2c64
2022-10-01<EMAIL_ADDRESS>Roll Flutter Engine from 8324240b87ec to 0b6ffa1d8421 (1 revision) (flutter/flutter#112752)
2022-10-01<EMAIL_ADDRESS>Roll Flutter Engine from 2a58774add03 to 8324240b87ec (1 revision) (flutter/flutter#112748)
2022-10-01<EMAIL_ADDRESS>Roll Flutter Engine from 8916ced81560 to 2a58774add03 (1 revision) (flutter/flutter#112742)
2022-10-01<EMAIL_ADDRESS>Roll Flutter Engine from e67d0cae6057 to 8916ced81560 (1 revision) (flutter/flutter#112740)
2022-10-01<EMAIL_ADDRESS>Roll Flutter Engine from<PHONE_NUMBER>f7 to e67d0cae6057 (2 revisions) (flutter/flutter#112739)
2022-10-01<EMAIL_ADDRESS>Roll Flutter Engine from 70fca36c698a to<PHONE_NUMBER>f7 (2 revisions) (flutter/flutter#112737)
2022-10-01<EMAIL_ADDRESS>Roll Flutter Engine from c1b05ec9e15f to 70fca36c698a (1 revision) (flutter/flutter#112734)
2022-10-01<EMAIL_ADDRESS>URI-decode asset paths before writing them to the asset manifest (flutter/flutter#112415)
2022-10-01<EMAIL_ADDRESS>Roll Flutter Engine from c0629be446f8 to c1b05ec9e15f (1 revision) (flutter/flutter#112732)
2022-09-30<EMAIL_ADDRESS>Roll Flutter Engine from ad4250f8cb27 to c0629be446f8 (1 revision) (flutter/flutter#112731)
2022-09-30<EMAIL_ADDRESS>Roll Flutter Engine from e32a4bf86d69 to ad4250f8cb27 (6 revisions) (flutter/flutter#112730)
2022-09-30<EMAIL_ADDRESS>Roll Flutter Engine from 03acfc5cc6b1 to e32a4bf86d69 (1 revision) (flutter/flutter#112729)
2022-09-30<EMAIL_ADDRESS>Roll Flutter Engine from f7000edeec07 to 03acfc5cc6b1 (1 revision) (flutter/flutter#112724)
2022-09-30<EMAIL_ADDRESS>Collect metrics - load balancing tests (flutter/flutter#108752)
2022-09-30<EMAIL_ADDRESS>Add button semantics in list tile (flutter/flutter#112593)
2022-09-30<EMAIL_ADDRESS>Roll Flutter Engine from 9e42e3a6ad18 to f7000edeec07 (1 revision) (flutter/flutter#112721)
2022-09-30<EMAIL_ADDRESS>Roll Flutter Engine from 3c4af1da0c3e to 9e42e3a6ad18 (5 revisions) (flutter/flutter#112720)
2022-09-30<EMAIL_ADDRESS>Roll Plugins from d73b921da095 to dc5f1855cb62 (6 revisions) (flutter/flutter#112719)
2022-09-30<EMAIL_ADDRESS>Fix menu_anchor_test.dart's state leak (flutter/flutter#112718)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-plugins
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Plugins: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Weird formatting of linq chain

Input:
var something_________________________________________ = x.Answers
    .Select(y => (DateTime?)y.CreatedAt)
    .Min();

Output:
var something_________________________________________ = x.Answers.Select(y =>
    (DateTime?)y.CreatedAt
)
    .Min();

Expected behavior:
var something_________________________________________ = x.Answers
    .Select(y => (DateTime?)y.CreatedAt)
    .Min();

// or
var something_________________________________________ = x
    .Answers.Select(y => (DateTime?)y.CreatedAt)
    .Min();

// or
var something_________________________________________ = x
    .Answers
    .Select(y => (DateTime?)y.CreatedAt)
    .Min();

I think this is the same issue as #1079

This seems related to #1079, but this particular case did work quite a ways back. I was having a bit of trouble tracking down how exactly the regression was introduced so went back quite a few versions.
This appeared in 0.26.7 and I was able I track down the source of the problem.  The changes in https://github.com/belav/csharpier/pull/967 were somewhat dependant on this single line I reverted in https://github.com/belav/csharpier/pull/1074. I still need to find a solution that makes all of the updated test cases happy.
Side note - running multiple versions of the playground would be nice to track down regressions like this.
Or maybe a utility that uses docker to show the changes over versions for some code. But I don't know that this comes up often enough to be worth the effort.

Side note - running multiple versions of the playground would be nice to track down regressions like this.
Or maybe a utility that uses docker to show the changes over versions for some code. But I don't know that this comes up often enough to be worth the effort.

I think git bisect is what you're after:
https://git-scm.com/docs/git-bisect
Especially since you can write a trivial test and a script to repro it, you can even have it run/find the commit automatically:
https://git-scm.com/docs/git-bisect#_bisect_run

@shocklateboy92 thanks for the link, that would have helped make what I did a bit easier!
@jods4 I happened to make changes that I believe take care of your second example.
When the initial identifier is <= 4 characters, there was logic to keep the first group of the chain on the same line.
Its main goal was to prevent formatting like this from occurring.
x
    .CallMethod____________________________________________________________()
    .CallMethod____________________________________________________________();

That logic is tweaked a bit, and results in your example like so.
// Formatted with 0.27.1
var AlternateKeys =
    entityType.Keys.Count > 0
        ? entityType
            .Keys.Select(k => new KeyTemplate
            {
                Name = k.DisplayName.GetDisplayName(),
                ClassName = AddSuffix(k.DisplayName.GetFriendlyName("<missing key name>"), "Key"),
                Fields = k
                    .KeyAttributes.Select(f => new KeyValuePair<string, PropertyTemplate>(
                        f,
                        Properties.SingleOrDefault(x => x.LogicalName == f)
                    ))
                    .ToList(),
            })
            .ToList()
        : null;

Looks good to me!
@belav Aside: entityType.Keys.Count > 0 is not kept on the same line as var AlternateKeys = because of the Rectangle Rule?
I feel like Conditionals are one more instance where it would just look better if we broke it.
IMHO it creates 2 almost empty lines, increases indentation and doesn't really improve readability.


duration in either 'HH,MM,SS' or 'd,h,m,s'

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like this: [x])
Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2019.02.08. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[ ] I've verified and I assure that I'm running youtube-dl 2019.02.08

Before submitting an issue make sure you have:

[x] At least skimmed through the README, most notably the FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones
[x] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

[ ] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[x] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2019.02.08
[debug] Python version 2.7.11 - Windows-2003Server-5.2.3790-SP2
[debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4
[debug] Proxy map: {}
...
<end of log>

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Single video: https://www.youtube.com/watch?v=BaW_jenozKc
Single video: https://youtu.be/BaW_jenozKc
Playlist: https://www.youtube.com/playlist?list=PL4lCao7KL_QFVb7Iudeipvc2BCavECqzc

Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.

Description of your issue, suggested solution and other information
Explanation of your issue in arbitrary form goes here. Please make sure the description is worded well enough to be understood. Provide as much context and examples as possible.
If work on your issue requires account credentials please provide them or explain how one can obtain them.

Greetings!
I'd been IT/sw field for years (Proficient in Most variations of BASIC, fortran, Pascal, LISP, C, C++, java, ...  ) and totally saturated with them. And I can not think of further programming, even a tiny one. So, I looked for Video Downloaders and "YouTube-DL" seems BEST for me. I have an issue: the output template works Fine;
When I download a video file for instance, has something similar to this: "...%(title)s(u%(upload_date)s; %(duration)s; %(height)sp)YT '%(uploader)s'.%(ext)s" )<video_URL>, since, durations in sec. and height seems more accurate than 'format'(No examples for format). My humble suggestion is, 'Can you device 'duration-HMS' and 'duration-dHMS' separated with commas as Windows will NOT allow ':' in between.
 Hope that, I made it clear, probably!
ATB! Regards,

Dear Mr. Sergey M,
Greetings!
This the 1st time after a long time, I'm in a Forum or a Blog. I didn't
check 'all' points including check points. This one, is "A Wish" or
"Suggestion"! Personally, I feel be replied an answer or Feeling of a
senior person of Comfort.
ATB! Keep (s)mailing...
Regards,
Rangarajan S. (India, the Greatest Nation!)
On Thu, Feb 14, 2019 at 6:16 PM Sergey M<EMAIL_ADDRESS>wrote:

Closed #19225 https://github.com/rg3/youtube-dl/issues/19225.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/rg3/youtube-dl/issues/19225#event-2139573258, or mute
the thread
https://github.com/notifications/unsubscribe-auth/As16WNgjAW34CxVeZUFUKQtQ_IbnpF8gks5vNVqMgaJpZM4a7gwm
.


Implement an optimization that does CSE of the apply-witnessmethod-open_existential trio

@swift-ci Please test

@swift-ci Please test

@nadavrot Your pull request includes a bunch of irrelevant commits. Can you update the branch you are diff'ing against to ensure that your final merge only includes your patch and nothing else?

@swift-ci Please test

@slavapestov sure thing!


Problem with trailing semicolon

Hi all,
I'm having problems with the trailing semicolon rule, because it is just linting ok when it is the last line of a block. For example:
body {
    display: block;
    background: red
}

Would break.
But:
body {
    display: block
    background: red;
}

Would not.
Do you have any fixes on this?
I don't know if this should be here, or in sass-lint repo, so sorry if it is the wrong place.
Thanks in advance.

Hey @OBellon could you add it to the sass-lint repo please. The grunt plugin just consumes sass-lint.
Thanks!


Broken in browserify

This commit broke node-resolve being able to be used with browserify. process.versions is an empty object when this code runs in the browser, and the node key does not exist.
Running npm start in this project can be used to reproduce the error.

Thanks, good catch! I'll fix and release an update today in both the v1.2 and v1.3 lines.

v1.2.1 and v1.3.2 published.


Issue with qtbase build on darwin-aarch64

Steps To Reproduce
Steps to reproduce the behavior:

Get an computer with M1 or M1 Pro processor running macOS 12.1 (21C52).
Clone and checkout nixpkgs repo to commit 9cc292055888b2f8eb75f99b70cf17c3334b33a6: git clone https://github.com/NixOS/nixpkgs.git && cd nixpkgs && git checkout 9cc292055888b2f8eb75f99b70cf17c3334b33a6
Try to build qt515.qtbase: nix-build . -A qt515.qtbase

Build log
$ nix-build . -A qt515.qtbase
...
Info: creating stash file /private/tmp/nix-build-qtbase-5.15.5.drv-0/qtbase-aa0c6db/.qmake.stash

This is the Qt Open Source Edition.

You have already accepted the terms of the Open Source license.

Running configuration tests...
Checking for valid makespec...
+ cd /private/tmp/nix-build-qtbase-5.15.5.drv-0/qtbase-aa0c6db/config.tests/verifyspec && /private/tmp/nix-build-qtbase-5.15.5.drv-0/qtbase-aa0c6db/bin/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared warn_off console single_arch" 'QMAKE_LIBDIR += /nix/store/2vqnznl1g1rqyd8ykn8wi8fr0gnf3zbd-icu4c-71.1/lib /nix/store/ss4w663d9hbwgpzmahjqnlbb4gx4g9ki-zlib-1.2.12/lib /nix/store/6151a7yq7y1kjbx51393x4az8zgcarr5-libjpeg-turbo-2.1.3/lib /nix/store/hj61dny1m2jgx6jghkkzxrbkyfqiyaxg-harfbuzz-5.0.1/lib /nix/store/f6rqri950vqprx12r5hjaygl2v1rkcfb-openssl-1.1.1q/lib' 'INCLUDEPATH += /nix/store/nrin3fyjzkmcla564fyz3h34g6whiyda-icu4c-71.1-dev/include /nix/store/bcdz80y5yq07iqsryl13b1gcln2lx520-zlib-1.2.12-dev/include /nix/store/q32812kghzf12fiffj6f86ah5b3a1l1i-libjpeg-turbo-2.1.3-dev/include /nix/store/q624s85krnd94j8whrf58gz4k0hix30g-harfbuzz-5.0.1-dev/include /nix/store/d22k3pcix4js8hs5zg4qdpn3dg36psql-openssl-1.1.1q-dev/include' /private/tmp/nix-build-qtbase-5.15.5.drv-0/qtbase-aa0c6db/config.tests/verifyspec
> Info: creating stash file /private/tmp/nix-build-qtbase-5.15.5.drv-0/qtbase-aa0c6db/config.tests/.qmake.stash
+ cd /private/tmp/nix-build-qtbase-5.15.5.drv-0/qtbase-aa0c6db/config.tests/verifyspec && MAKEFLAGS= /nix/store/da86m71jmmjw31xflgn53pqszhr4zxl8-gnumake-4.3/bin/make
> The macosx platform SDK has been changed from version  to version 12.1.
> This requires a fresh build of your project. Please wipe the build directory
> including the qmake cache in /private/tmp/nix-build-qtbase-5.15.5.drv-0/qtbase-aa0c6db/config.tests/.qmake.stash
> /private/tmp/nix-build-qtbase-5.15.5.drv-0/qtbase-aa0c6db/mkspecs/features/mac/sdk.mk:24: *** ^.  Stop.
Note: -docdir is not a subdirectory of -prefix.
Note: -plugindir is not a subdirectory of -prefix.
Note: -qmldir is not a subdirectory of -prefix.

ERROR: Cannot compile a minimal program. The toolchain or QMakeSpec is broken.

Additional context
It seems that 9cc292055888b2f8eb75f99b70cf17c3334b33a6 broke build (at least for me). The main issue is that in this commit we remove from 0001-qtbase-mkspecs-mac.patch mkspecs/features/mac/sdk.mk file removal. But I don't understand why it builds for some people and didn't for others.
Notify maintainers
@veprbl
Metadata
[zaripov-kamil@zaripov-kamil-x:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"aarch64-darwin"`
 - host os: `Darwin 21.2.0, macOS 12.1`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.10.3`
 - channels(root): `"nixpkgs"`
 - channels(zaripov-kamil): `"darwin"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixpkgs`

After reverting https://github.com/NixOS/nixpkgs/commit/9cc292055888b2f8eb75f99b70cf17c3334b33a6 and fixing patch like this:
diff --git a/pkgs/development/libraries/qt-5/5.15/qtbase.patch.d/0001-qtbase-mkspecs-mac.patch b/pkgs/development/libraries/qt-5/5.15/qtbase.patch.d/0001-qtbase-mkspecs-mac.patch
index c0b78a67cac..d3869803add 100644
--- a/pkgs/development/libraries/qt-5/5.15/qtbase.patch.d/0001-qtbase-mkspecs-mac.patch
+++ b/pkgs/development/libraries/qt-5/5.15/qtbase.patch.d/0001-qtbase-mkspecs-mac.patch
@@ -311,7 +311,7 @@ index e3534561a5..3b01424e67 100644
 diff --git a/mkspecs/features/mac/sdk.mk b/mkspecs/features/mac/sdk.mk
 --- a/mkspecs/features/mac/sdk.mk
 +++ b/mkspecs/features/mac/sdk.mk
-@@ -1,25 +0,0 @@
+@@ -1,27 +0,0 @@
 -
 -ifeq ($(QT_MAC_SDK_NO_VERSION_CHECK),)
 -    CHECK_SDK_COMMAND = /usr/bin/xcrun --sdk $(EXPORT_QMAKE_MAC_SDK) -show-sdk-version 2>/dev/null

qtbase builds on my computer.

@veprbl  it is also possible to fix issue with following patch:
diff --git a/pkgs/development/libraries/qt-5/5.15/qtbase.patch.d/0001-qtbase-mkspecs-mac.patch b/pkgs/development/libraries/qt-5/5.15/qtbase.patch.d/0001-qtbase-mkspecs-mac.patch
index b5091375361..faf0b643fdb 100644
--- a/pkgs/development/libraries/qt-5/5.15/qtbase.patch.d/0001-qtbase-mkspecs-mac.patch
+++ b/pkgs/development/libraries/qt-5/5.15/qtbase.patch.d/0001-qtbase-mkspecs-mac.patch
@@ -355,6 +355,37 @@ index e3534561a5..3b01424e67 100644
 -xcode_copy_phase_strip_setting.name = COPY_PHASE_STRIP
 -xcode_copy_phase_strip_setting.value = NO
 -QMAKE_MAC_XCODE_SETTINGS += xcode_copy_phase_strip_setting
+diff --git a/mkspecs/features/mac/sdk.mk b/mkspecs/features/mac/sdk.mk
+--- a/mkspecs/features/mac/sdk.mk
++++ b/mkspecs/features/mac/sdk.mk
+@@ -1,27 +0,0 @@
+-
+-ifeq ($(QT_MAC_SDK_NO_VERSION_CHECK),)
+-    CHECK_SDK_COMMAND = /usr/bin/xcrun --sdk $(EXPORT_QMAKE_MAC_SDK) -show-sdk-version 2>/dev/null
+-    CURRENT_MAC_SDK_VERSION := $(shell DEVELOPER_DIR=$(EXPORT_QMAKE_XCODE_DEVELOPER_PATH) $(CHECK_SDK_COMMAND))
+-    ifneq ($(CURRENT_MAC_SDK_VERSION),$(EXPORT_QMAKE_MAC_SDK_VERSION))
+-        # We don't want to complain about out of date SDK unless the target needs to be remade.
+-        # This covers use-cases such as running 'make check' after moving the build to a
+-        # computer without Xcode or with a different Xcode version.
+-        TARGET_UP_TO_DATE := $(shell QT_MAC_SDK_NO_VERSION_CHECK=1 $(MAKE) --question $(QMAKE_TARGET) && echo 1 || echo 0)
+-        ifeq ($(TARGET_UP_TO_DATE),0)
+-            ifneq ($(findstring missing DEVELOPER_DIR path,$(CURRENT_MAC_SDK_VERSION)),)
+-                $(info The developer dir $(EXPORT_QMAKE_XCODE_DEVELOPER_PATH) is no longer valid.)
+-            else ifneq ($(findstring SDK "$(EXPORT_QMAKE_MAC_SDK)" cannot be located,$(CURRENT_MAC_SDK_VERSION)),)
+-                $(info The developer dir $(EXPORT_QMAKE_XCODE_DEVELOPER_PATH) no longer contains the $(EXPORT_QMAKE_MAC_SDK_VERSION) platform SDK.)
+-            else ifneq ($(CURRENT_MAC_SDK_VERSION),)
+-                $(info The $(EXPORT_QMAKE_MAC_SDK) platform SDK has been changed from version $(EXPORT_QMAKE_MAC_SDK_VERSION) to version $(CURRENT_MAC_SDK_VERSION).)
+-            else
+-                $(info Unknown error resolving current platform SDK version.)
+-            endif
+-            $(info This requires a fresh build of your project. Please wipe the build directory)
+-            ifneq ($(EXPORT__QMAKE_STASH_),)
+-                $(info including the qmake cache in $(EXPORT__QMAKE_STASH_))
+-            endif
+-            $(error ^)
+-        endif
+-    endif
+-endif
 diff --git a/mkspecs/features/mac/sdk.prf b/mkspecs/features/mac/sdk.prf
 deleted file mode 100644
 index 3a9c2778bb..0000000000

without reverting your commit. Are you OK with it?

@tanshihaj My apologies for the breakage, I think I saw that we removed import of that file, so it would not matter if we've patched it. A partial revert is fine by me. Could you please prepare a PR with your tested changes?


kubectl images are not valid in k3s/k3d

What steps did you take and what happened?
Steps
I have set up a k3d cluster as a testing environment.
And installed the helm chart with the command:
helm install rancher-turtles turtles/rancher-turtles --version 0.3.0 -n rancher-turtles-system --dependency-update --create-namespace
What happened
The image for the rancher-mutatingwebhook-cleanup and rancher-validatingwebhook-cleanup can not be pulled.
Part of kubectl describe:
Events:
  Type     Reason         Age                    From     Message
  ----     ------         ----                   ----     -------
  Warning  InspectFailed  5m1s (x742 over 165m)  kubelet  Failed to apply default image tag "rancher/kubectl:v1.27.4+k3s1": couldn't parse image reference "rancher/kubectl:v1.27.4+k3s1": invalid reference format

Explanation
The image tag, that is used is: {{ .Capabilities.KubeVersion }}
This works fine for most kubernetes environments, but not all
What did you expect to happen?
a valid image tag for the jobs should be used
How to reproduce it?
install turtles in a k3d/k3d cluster
Rancher Turtles version
0.3.0
Anything else you would like to add?
I would also like to create a pull request myself to fix the bug.
But I'm not sure how this can / should be improved.
It is of course possible to specify the version of the image in the values file next to .Values.rancherTurtles.features.rancher-webhook.kubectlImage, but that would have to be maintained in the future as well
Label(s) to be applied
/kind bug

Hey @Flou21, thanks for taking the time to report this.
We'd love to have you contributing to the project with a fix. Please refer to the contributing guide for PR submission details and how to setup a development environment .
As you described, the rancher/kubectl image must have a tag matching the Kubernetes version of the cluster where Rancher Turtles is deployed. We could have a version of the image in the values file for scenarios like k3s but this tag should be populated automatically so that user experience is not affected by this. It should be transparent for those that don't want to modify any values.
If you need help, please don't hesitate to ask!

I have created a pr
I hope the type of solution fits, if not I will gladly change it again


The Graph integration improvements

Tasks (to be completed by @r-marques ):

[ ] Reduce the number of network requests. 200k daily (via infura)
[ ] Audit the requests done by the graph node (if they are needed or can be improved the process)
[ ] separate the client code from the subgraph code
[ ] use the contract version in the name of the subgraph eg neverminedio/v2.0.0/DIDRegistry
[ ] upgrade the tooling from the client code generation
[ ] add websocket support to the clients
[ ] documentation
[ ] look at the graph hosted solution
[ ] improve/upgrade the code generation tools
[x] #30

Nice to have:

[ ] look at deploying in the decentralized network
[ ] aave dynamic templates
[ ] instead of npm scripts have a proper CLI

Checking the alchemy logs, it seems the graph-node runs eth_getTransactionReceipt over all the txs from the network (not just the nevermined related tx). We should check if there is some optimization possible over this (like filtering txs with dest equals to nevermined contracts, or subscribing to particular events).


Forward-merge 22.09 hotfix for unpinned RAFT version

Admin-merging; previously approved for 22.09.


SFC useAttrs can't get events except click

Version
3.2.24
Reproduction link
sfc.vuejs.org/
What is expected?
Can get the close event via an useAttrs in Button.vue
What is actually happening?
If I use @close in App.vue and declare close as emit's name in Button.vue it can't get close property via useAttrs. But if I declare onClose as emit's name in Button.vue it can get onClose property via useAttrs, but the emit doesn't work.

Duplicate of https://github.com/vuejs/vue-next/issues/4736

Please search existing issues before opening new ones and 🙏


Implement #2848: Update bootstrap-select to v1.13.3

The CSS file is versioned because it would otherwise cause problems with custom themes. Now custom themes should automatically fall back on the main CSS file, unless they provide a versioned override. (This has been discussed with Ad.)
Tested with the main opnsense theme and the rebellion theme.

@MichaelDeciso small issue on some pages...

MVC generated stuff looks ok though:

and another one https://github.com/opnsense/core/commit/371430212


Fixed generated types for getters and setters

While working on #4201, I had the idea to test how wasm bindgen handles getter-setter pairs with different types. Not well was the answer.
This PR completely changes how the type definitions for getters and setters are generated and fixes several bugs:

Static getters/setters with the same name as instance getters/setters would interfere with each other and only result in one generated property. Whether this property was static depended on the order in which the getters/setters were declared in Rust.
Getters and setters with different types only produced one property with one of the types. Which type the property had depended on the order in which the getter and setter were declared in Rust.
(minor bug) Write-only properties (setter but no getter) produced incorrect type definition that allowed reading the property.

There were also some minor issues:

Fields were sorted by name and not written in the order in which they were declared like everything else.
Doc comments weren't indented properly.

This PR fixes all of those issues and adds a test to verify correctness.
Fixing these issues is a requirement for #4188 and #4201.

No worries. I'm glad you're feeling better!
And thanks for the review!


OOM , What are the memory requirements to run 768 quality

i have 24 GB vram (rtx 3090)
also i use cpu_offloading = True
[INFO] Starting text-to-video generation...
 19%|███████████████████████▊                                                                                | 3/16 [01:37<07:00, 32.34s/it]
[ERROR] Error during text-to-video generation: CUDA out of memory. Tried to allocate 9.07 GiB. GPU 0 has a total capacty of 23.68 GiB of which 7.80 GiB is free. Process 1566591 has 15.87 GiB memory in use. Of the allocated memory 5.67 GiB is allocated by PyTorch, and 9.89 GiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting max_split_size_mb to avoid fragmentation.  See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF
Traceback (most recent call last):
  File "/root/anaconda3/envs/pyramid/lib/python3.8/site-packages/gradio/queueing.py", line 536, in process_events
    response = await route_utils.call_process_api(
  File "/root/anaconda3/envs/pyramid/lib/python3.8/site-packages/gradio/route_utils.py", line 322, in call_process_api
    output = await app.get_blocks().process_api(
  File "/root/anaconda3/envs/pyramid/lib/python3.8/site-packages/gradio/blocks.py", line 1945, in process_api
    data = await self.postprocess_data(block_fn, result["prediction"], state)
  File "/root/anaconda3/envs/pyramid/lib/python3.8/site-packages/gradio/blocks.py", line 1770, in postprocess_data
    outputs_cached = await processing_utils.async_move_files_to_cache(
  File "/root/anaconda3/envs/pyramid/lib/python3.8/site-packages/gradio/processing_utils.py", line 485, in async_move_files_to_cache
    return await client_utils.async_traverse(
  File "/root/anaconda3/envs/pyramid/lib/python3.8/site-packages/gradio_client/utils.py", line 1003, in async_traverse
    new_obj[key] = await async_traverse(value, func, is_root)
  File "/root/anaconda3/envs/pyramid/lib/python3.8/site-packages/gradio_client/utils.py", line 999, in async_traverse
    return await func(json_obj)
  File "/root/anaconda3/envs/pyramid/lib/python3.8/site-packages/gradio/processing_utils.py", line 447, in _move_to_cache
    elif utils.is_static_file(payload):
  File "/root/anaconda3/envs/pyramid/lib/python3.8/site-packages/gradio/utils.py", line 1136, in is_static_file
    return _is_static_file(file_path, _StaticFiles.all_paths)
  File "/root/anaconda3/envs/pyramid/lib/python3.8/site-packages/gradio/utils.py", line 1149, in _is_static_file
    if not file_path.exists():
  File "/root/anaconda3/envs/pyramid/lib/python3.8/pathlib.py", line 1407, in exists
    self.stat()
  File "/root/anaconda3/envs/pyramid/lib/python3.8/pathlib.py", line 1198, in stat
    return self._accessor.stat(self)
OSError: [Errno 36] File name too long: 'Error during video generation: CUDA out of memory. Tried to allocate 9.07 GiB. GPU 0 has a total capacty of 23.68 GiB of which 7.80 GiB is free. Process 1566591 has 15.87 GiB memory in use. Of the allocated memory 5.67 GiB is allocated by PyTorch, and 9.89 GiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting max_split_size_mb to avoid fragmentation.  See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF'
[DEBUG] generate_text_to_video called.

We have not extensively tested the use of the new model on Gradio, could you try the Jupyter notebook instead?

yes its  Jupyter notebook i use it with Gradio

I have a 4090 and it's eating up the entire 24G VRAM.
In my case it doesn't crash, but obviously since it exceeds the upper bound it takes very long to generate with the 768p model (around 18 minutes). I get 116.60s/it.
For the record, the 384p model works just fine, using just 6~8G VRAM.

我有一台 4090，它占用了整个 24G VRAM。
在我的情况下它不会崩溃，但显然由于它超出了上限，使用 768p 模型生成需要很长时间（大约 18 分钟）。我得到 116.60s/it。
记录显示，384p 型号运行良好，仅使用 6~8G VRAM。

Why does it only take me a few minutes to use the SD3 model 768P's? I have a 3090/24 video card and I haven't tried the 768P for the FX model yet, it's hard to imagine the difference being that big.

Got the OOM error in the gradio app on a L4 24gb, 384p works, 720p gives the OOM errors. also got the error on the jupyter script:
6%|▋         | 1/16 [00:42<10:34, 42.32s/it]
OutOfMemoryError                          Traceback (most recent call last)
Cell In[6], line 15
12 # Noting that, for the 384p version, only supports maximum 5s generation (temp = 16)
14 with torch.no_grad(), torch.cuda.amp.autocast(enabled=True if model_dtype != 'fp32' else False, dtype=torch_dtype):
---> 15     frames = model.generate(
16         prompt=prompt,
17         num_inference_steps=[20, 20, 20],
18         video_num_inference_steps=[10, 10, 10],
19         height=height,
20         width=width,
21         temp=temp,
22         guidance_scale=7.0,         # The guidance for the first frame, set it to 7 for 384p variant
23         video_guidance_scale=5.0,   # The guidance for the other video latent
24         output_type="pil",
25         save_memory=True,           # If you have enough GPU memory, set it to False to improve vae decoding speed
26     )
28 export_to_video(frames, "./text_to_video_sample.mp4", fps=24)
29 show_video(None, "./text_to_video_sample.mp4", "70%")
File /home/zeus/miniconda3/envs/cloudspace/lib/python3.10/site-packages/torch/utils/_contextlib.py:115, in context_decorator..decorate_context(*args, **kwargs)
112 @functools.wraps(func)
113 def decorate_context(*args, **kwargs):
114     with ctx_factory():
--> 115         return func(*args, **kwargs)
...
365 )
366 stage_hidden_states = stage_hidden_states.transpose(1, 2).flatten(2, 3)   # [bs, tot_seq, dim]
368 output_encoder_hidden_list.append(stage_hidden_states[:, :encoder_length])
OutOfMemoryError: CUDA out of memory. Tried to allocate 6.81 GiB. GPU 0 has a total capacty of 22.17 GiB of which 6.54 GiB is free. Process 655789 has 15.62 GiB memory in use. Of the allocated memory 14.83 GiB is allocated by PyTorch, and 576.29 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting max_split_size_mb to avoid fragmentation.

在 L4 24gb 上的 gradio 应用程序中出现 OOM 错误，384p 可以运行，720p 会出现 OOM 错误。jupyter 脚本也出现错误：
6%|▋ | 1/16 [00:42<10:34, 42.32s/it]
OutOfMemoryError Traceback（最近一次调用最后一次） Cell In[6]，第 15 行 12 # 请注意，对于 384p 版本，仅支持最大 5s 生成（temp = 16） 14 with torch.no_grad(), torch.cuda.amp.autocast(enabled=True if model_dtype != 'fp32' else False, dtype=torch_dtype): ---> 15 frames = model.generate( 16 prompt=prompt, 17 num_inference_steps=[20, 20, 20], 18 video_num_inference_steps=[10, 10, 10], 19 height=height, 20 width=width, 21 temp=temp, 22 guide_scale=7.0, # 第一帧的指导，对于 384p 变体将其设置为 7 23 video_guidance_scale=5.0, # 其他视频潜在的指导 24 output_type="pil", 25 save_memory=True, # 如果您有足够的 GPU 内存，请将其设置为False以提高 vae 解码速度 26 ) 28 export_to_video(frames, "./text_to_video_sample.mp4", fps=24) 29 show_video(None, "./text_to_video_sample.mp4", "70%")
文件 /home/zeus/miniconda3/envs/cloudspace/lib/python3.10/site-packages/torch/utils/_contextlib.py:115，在 context_decorator..decorate_context(*args, **kwargs) 中 112 @functools.wraps(func) 113 def decorate_context(*args, **kwargs): 114 使用 ctx_factory(): --> 115 return func(*args, **kwargs) ... 365 ) 366 stage_hidden_states = stage_hidden_states.transpose(1, 2).flatten(2, 3) # [bs, tot_seq, dim] 368 output_encoder_hidden_list.append(stage_hidden_states[:, :encoder_length])
OutOfMemoryError：CUDA 内存不足。尝试分配 6.81 GiB。GPU 0 的总容量为 22.17 GiB，其中 6.54 GiB 是空闲的。进程 655789 使用了 15.62 GiB 内存。在分配的内存中，14.83 GiB 由 PyTorch 分配，576.29 MiB 由 PyTorch 保留但未分配。如果保留但未分配的内存很大，请尝试设置 max_split_size_mb 以避免碎片化。
My 3090/24GB can run what about your prompt of insufficient GPU memory, although my 24GB RAM can run but I also get a system reboot due to insufficient GPU power.

I was running out of memory on my 4090 as well and found a solution on another issue that mentioned upgrading Python and PyTorch: https://github.com/jy0205/Pyramid-Flow/issues/86#issuecomment-2444515385
I was using Python 3.8.10 as recommended from the install instructions, and the requirements.txt only installs PyTorch 2.1.2. Switching to Python 3.10.12 didn't solve the problem but updating my PyTorch to 2.5.1 did solve the problem for me. I'm even able to generate 10 second with fp32 without running out of memory now.

I have a 10GB RTX3080 original, PyramidFlow runs in Pinokio (VM). 768p is no problem, it's just runs a bit slower.


Update Chefs' Photos and Gather Real Testimonials for Testimonials Section

Currently, there are Problems in the chefs section and the testimonials section on the website. In the chefs section, all the photos displayed are the same, which does not accurately represent the different chefs working with us. Additionally, the testimonials section contains dummy testimonials instead of real feedback from satisfied customers. To improve the website's credibility and showcase our talented chefs and customer satisfaction, it is necessary to address these issues.
Expected Behavior:

The chefs section should display relevant and distinct photos of each chef, providing a visual representation of their unique skills and specialties.
The testimonials section should feature authentic testimonials from real customers, demonstrating their positive experiences and satisfaction with our services.

Steps to Reproduce:

Visit the chefs section on the website.
Observe that all the photos displayed are identical.
Scroll down to the testimonials section.
Note that the testimonials provided are dummy placeholders.

Current Behavior:

In the chefs section, all the photos displayed are the same, providing an inaccurate representation of our talented chefs.
The testimonials section contains dummy testimonials, which do not reflect real customer feedback.

Proposed Solution:
To resolve these issues, the following steps can be taken:

Collect relevant and high-quality photos of each chef .
Update the chefs section by replacing the current identical photo with the respective chef's photo.
Reach out to our satisfied customers and kindly request their testimonials through a dedicated form or direct communication.
Once received, review and select authentic testimonials that highlight the positive experiences of our customers.
Update the testimonials section with the real testimonials, providing social proof and enhancing the website's credibility.
Periodically review and update the testimonials section to ensure it reflects current and recent customer feedback.

please assign me this issue,I will create a pull request resolving this issue

Chef section images chnages and more testimonial be added . Please assign me under this issue.

@karantec I am already working this issue


SC3 OnAdminCommand event seems to be not triggered after typing custom made commands

Just like title says, example code:
function OnAdminCommand(Player: TActivePlayer; Command: string): boolean;
begin
	if Command = '/test' then
		Player.Team := 2;

Result := False;
end;

begin
	Game.OnAdminCommand := @OnAdminCommand;
end.

Turns out it's working but you need to remove "/" from command('test' instead of '/test'), breaking backwards compatibility as 1.7.1 version supported "/" prefix


Add Digital Rebar to LF-Edge lanscape

Add logo and metadata for Digital Rebar

See https://github.com/lf-edge-landscape/lfedge-landscape/pull/218


Add ML algorithms on diamond price prediction model

Applying ML algorithms to the model will increase its performance .

Please let me work on this issue.


Configure travis-ci build matrix

fixed tests failing on linux (such as prometheus collector exporting extra metrics or tests involving subprocess leave zabbix_exporter running)
fix various flake8 issues
add codecov coverage collection

Current coverage is 71.20% (diff: 33.33%)

Diff Coverage
File Path

••         23%
zabbix_exporter/prometheus.py

••••••     66%
zabbix_exporter/commands.py

•••••••••• 100%
zabbix_exporter/core.py

•••••••••• 100%
zabbix_exporter/compat.py

No coverage report found for master at 93b8b2f.

Powered by Codecov. Last update 93b8b2f...8e3781b


Incorrect Answer

What are the benefits of using the Amazon Relational Database Service? (Choose TWO)
A. Lower administrative burden.
B. Complete control over the underlying host.
C. Resizable compute capacity.
D. Scales automatically to larger or smaller instance types.
E. Supports the document and key-value data structure.
Should be  A and D
Option C (Resizable compute capacity) is incorrect because while Amazon RDS allows users to resize their database instances, it does not specifically provide resizable compute capacity. Instead, users select predefined instance types with specific compute and memory configurations.
Question 35
https://github.com/kananinirav/AWS-Certified-Cloud-Practitioner-Notes/blob/master/practice-exam/practice-exam-3.md

RDS doesn't automatically scale to larger or smaller instance types. You would have to create some custom logic for that.

@kalel552 💯

@mametur Correct answer is A and C


Fix a bad proc param test

Another Broken Test test that didn't actually work in BYOND. Also changed the obj to a datum for no particular reason.
Original:

This PR:

Not in this context. That involves shenanigans with proc overrides, like I told you on discord the other day.

Not in this context. That involves shenanigans with proc overrides, like I told you on discord the other day.

I'm fairly sure using null as the name of an argument in any context would have that become the new null. This was probably fixed in newer versions of BYOND.


struct.error: unpack requires a buffer of 12 bytes

There is a error about struct.error. Would you like tell me how to solve this error?thank you

I thint it my beacause you use original COLMAP instead of our version's COLMAP. Please refer to #2

thank you
---Original---
From: "Yi @.>
Date: Sat, Sep 25, 2021 19:48 PM
To: @.>;
Cc<EMAIL_ADDRESS>Subject: Re: [weiyithu/NerfingMVS] struct.error: unpack requires a buffer of 12 bytes (#9)
I thint it my beacause you use original COLMAP instead of our version's COLMAP. Please refer to #2
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.


Update croniter version

The croniter version (0.3.26) in requirements.txt is no longer available from pypi. See
https://pypi.org/project/croniter/
Updating the dependency to the new version 0.3.29
cc @mahendra

Closing in favor of https://github.com/apache/incubator-superset/pull/7132


Fix extension icon

The SlicerLiver extension icon currently did not appear in the Extensions Manager because the URL was not valid.

Thank you very much, @lassoan. We hadn't notice this.


fix(button): correct link button line-height

fix #663

背景描述
链接按钮文字显示不正确
主要改动
修正链接按钮行高
需要注意
无

Codecov Report

Merging #665 into dev will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              dev     #665   +/-   ##
=======================================
  Coverage   84.53%   84.53%
=======================================
  Files          98       98
  Lines        2793     2793
  Branches      539      539
=======================================
  Hits         2361     2361
  Misses        287      287
  Partials      145      145

Impacted Files
Coverage Δ

components/button/index.vue
100.00% <ø> (ø)

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 dd269b7...eff2bb5. Read the comment docs.


[Bug]: Looks like Explorer Heartbeat data is wonky

What happened?
All Validators heartbeat info is ~1750 blocks ago.
URL
https://explorer.helium.com/validators/1125ovREGMNQ6ZEVw1QGenh1ChTKds6sD5wUGFLUuMp2iVj6iNhy
What browsers are you seeing the problem on?
Chrome, Firefox, Microsoft Edge
Do you see the issue on Mobile or Desktop?
Desktop
Relevant log output
No response

Reports of the Penalty scores being off as well from @whosawfish on discord.

should be fixed now.


Include tut docs to enable Microsites integration

We should include all docs with tut so we can use Microsites (https://github.com/47deg/microsites) to generate a nice site documentation for LambdaTest like we are doing with all other OS stuff. Ex. http://47deg.github.io/fetch/
https://github.com/47deg/fetch/tree/master/docs/src/tut

done


Messages

How to identify exactly the message that was sent to the bot?

Did you read the documentation?
https://github.com/DoctorMcKay/node-steam-user#id-events

But how to handle message for example: "/me"?

You get only the raw message, if you want to handle commands you should implement that.
For example
if (message === '/me') {
    doSomething();
}

I don't think that this is the point of this lib. The lib provides the basic, you should implement the rest.
I recomment the reading of this post, it's a little bit outdated but, I believe that this can help you a little
https://firepowered.org/developer/create-a-steam-trade-bot-with-nodejs-iojs-updated-for-node-steam-v1-0/
PS.: sorry about the bad english

ty

But I saw a bot with if (message.infexOf === ''')

Well, that depends, you can implement that several different ways.
As for me, my preferred way is using regular expressions, like in the tutorial.
But you can do it using indexOf, tokenizing the string and parsing the grammar.
In my opinion, the easiest way to implement that if using regex.
PS.: if you need commands with arguments, indexOf and regex are your best shot.
If simple commands (like just /me, using just comparison works good as well)


docs/ add examples for expr explore yaml

Using visual code editor has a reference to the documentation but no example or reference of "expr:", adding it to YAML


Overriding nonWordCharacters is unwieldy

Prerequisites

[x] Are you running the latest version of Atom?
[x] Did you check the FAQs on Discuss?
[x] Are you reporting to the correct repository?
[x] Did you perform a cursory search to see if your bug or enhancement is already reported?

(Some pre-reqs have been omitted because they don't apply)
Description
Paraphrasing from my comment over at https://github.com/atom/bracket-matcher/pull/249#issuecomment-264072613...
There's no way to respect the user's setting when overriding nonWordCharacters in a scope-specific setting since nonWordCharacters is a single string.  That means it's an all-or-nothing change, rather than being able to add or remove characters as necessary.
For example, $ is a valid identifier for many languages. However the default nonWordCharacters includes $, which means attempting to double-click to select a variable with $ in it will only select part of it. The best way to fix this currently is to override nonWordCharacters in the language settings by copying/pasting the default value and removing the $. However, this totally disregards any customizations the user may have made.
Possible solutions:

The best one I could think of is adding some type of new setting that takes scenarios like these into account.

Steps to Reproduce
N/A - this is an API limitation.
Versions
Atom    : 1.14.0-dev-d3d06fb
Electron: 1.4.7
Chrome  : 53.0.2785.143
Node    : 6.5.0

on Windows 10 x64.
/cc @nathansobo

@50Wliu I was hoping you or someone else might brainstorm some designs that would solve this problem.

Somewhat related: https://github.com/atom/language-php/issues/92
$ is supposed to not be considered a nonWordCharacter for php which does work correctly but the incorrect value is displayed in the settings-view which shows $ as a nonWordCharacter with an unscoped default.


[WB-8243] Add captions to Molecules

Fixes WB-8243
Description
Add the ability to set captions on wandb.Molecule objects.
Testing
How was this PR tested?
Checklist

Name PR "[WB-NNNN][WB-MMMM] Add support for..." similar to entries in CHANGELOG.md
Include reference to internal ticket "Fixes WB-NNNN" (and github issue "Fixes #NNNN" if applicable)

@tssweeney: @captain-pool tested this and it's actually broken :)


#3 added dummy content and fixed some issues

I have added some dummy content also alert functionality on contact button

look like it is working. thanks


ol.source.Vector with spatial index and ol.Collection for features is broken

I got a simple map that request geojson features dynamically based on extent of the map from a WFS (geoserver).
For some reason, I need to only load the features on the extent. So after map pan (map.on('moveend')) I clear a ol.Collection and repopulate the Collection with the new requested features.
The problem happen on the first clear (move the map). I get the error message:
Cannot read property 'forEach' of undefined

The error seams to come from the event propagation of the pop event and append in the function
ol.source.Vector.prototype.removeFeatureInternal

Here is a sample code and the jsbin of the reproductible error
var myCollection = new ol.Collection();

var myLayer = new ol.layer.Vector({
    source: new ol.source.Vector({
        features: myCollection
    })
})

function myUpdateFunction() {
    // var url = 'https://raw.githubusercontent.com/johan/world.geo.json/master/countries/USA/WY.geo.json'
    var url = "https://raw.githubusercontent.com/johan/world.geo.json/master/countries.geo.json";
    $.get(url).then(function(result) {
        var format = new ol.format.GeoJSON({
            defaultDataProjection: "EPSG:4326",
            featureProjection: "EPSG:3857"
        });
        var features = format.readFeatures(result);

        myCollection.clear();
        myCollection.extend(features);
    });
}

var map = new ol.Map({
    layers: [
        new ol.layer.Tile({source: new ol.source.OSM()}),
        myLayer
    ],
    target: 'map',
    controls: ol.control.defaults({
        attributionOptions:({collapsible: false})
    }),
    view: new ol.View({center: [0, 0],zoom: 2})
});

map.on('moveend', function(e) {
    myUpdateFunction();
});

https://jsbin.com/tivezamufi/1/edit?html,js,console,output

You have found a bug. It looks like using a vector source with spatial index and a collection of features is broken. You can configure your source with useSpatialIndex: false to work around the bug.
However, what you are doing here is very inefficient. Instead of using a collection with the source, you could use an array, and simply call myLayer.getSource().clear() and myLayer.getSource().addFeatures(features). Or, even better, look into using an ol.strategy.bbox with your vector source.

@ahocevar : Is this a bug? Or bad documentation? I always thought it was supposed to be that way.

It's a bug. The source should work with both spatial index and a collection of features (although it is super inefficient).

options.useSpatialIndex ... When set to false, the features will be maintained in an ol.Collection ...

and

getFeaturesCollection ... Will be null unless the source was configured with useSpatialIndex set to false ...

made me think otherwise.

@tchandelle The documentation for #getFeaturesCollection() is indeed misleading.

We have the same bug with interaction Select. Clearing collection ol.interaction.Select.getFeatures() triggers the bug randomly:
var selectedFeatures;
        map.getInteractions().forEach(function (interaction) {
            if (interaction instanceof ol.interaction.Select) {
                selectedFeatures = interaction.getFeatures();
                selectedFeatures.clear(); //error if there are many features selected
            }
        });

This bug happens if you add more than one feature with the same ID to the layer.

This bug happens if you add more than one feature with the same ID to the layer.

Good find @labbitroma. We only make sure that a feature with the same id is not added again when using a spatial index, but not when using a collection.
So if someone wants to fix that, a pull request would be welcome.

When will this bugfix be released? i am currently having the same problems


add University of Opole

@kefaoremus I am sorry, the domain uni.opole.pl is removed from our trusted domains list because it was abused in the past. If you are the student of this school, please enroll to GitHub Student Developer Program. Then apply for JetBrains educational subscription with your GitHub account (GitHub tab at https://www.jetbrains.com/shop/eform/students).


Merge to Live - Pending master before approve!

Let this build complete and review before merging.:

Docs Build status updates of commit c7cb739:
:warning: Validation status: warnings

File
Status
Preview URL
Details

api/overview/azure/messaging.eventhubs.processor-readme.md
:warning:Warning
View
Details

api/overview/azure/search.md
:white_check_mark:Succeeded
View

docs-ref-toc/top_level_toc.yml
:white_check_mark:Succeeded

xml/AspNetCore/Areas_MicrosoftIdentity_Pages_Account_AccessDenied.xml
:white_check_mark:Succeeded

xml/AspNetCore/Areas_MicrosoftIdentity_Pages_Account_Error.xml
:white_check_mark:Succeeded

xml/AspNetCore/Areas_MicrosoftIdentity_Pages_Account_SignedOut.xml
:white_check_mark:Succeeded

xml/AspNetCore/Areas_MicrosoftIdentity_Pages__ViewStart.xml
:white_check_mark:Succeeded

xml/Azure.AI.FormRecognizer.Models/RecognizeContentOperation.xml
:white_check_mark:Succeeded

xml/Azure.AI.FormRecognizer.Models/RecognizeCustomFormsOperation.xml
:white_check_mark:Succeeded

xml/Azure.AI.FormRecognizer.Models/RecognizeReceiptsOperation.xml
:white_check_mark:Succeeded

xml/Azure.AI.FormRecognizer.Training/CopyModelOperation.xml
:white_check_mark:Succeeded

xml/Azure.AI.FormRecognizer.Training/FormTrainingClient.xml
:white_check_mark:Succeeded

xml/Azure.AI.FormRecognizer.Training/TrainingOperation.xml
:white_check_mark:Succeeded

xml/Azure.AI.FormRecognizer/FormRecognizerClient.xml
:white_check_mark:Succeeded

xml/Azure.AI.FormRecognizer/OperationExtensions.xml
:white_check_mark:Succeeded

xml/Azure.AI.TextAnalytics/EntityCategory.xml
:white_check_mark:Succeeded

xml/Azure.AI.TextAnalytics/TextAnalyticsClient.xml
:white_check_mark:Succeeded

xml/Azure.AI.TextAnalytics/TextAnalyticsErrorCode.xml
:white_check_mark:Succeeded

xml/Azure.AI.TextAnalytics/TextAnalyticsModelFactory.xml
:white_check_mark:Succeeded

xml/Azure.AI.TextAnalytics/TextAnalyticsWarningCode.xml
:white_check_mark:Succeeded

xml/Azure.ApplicationModel.Configuration/ConfigurationClient.xml
:white_check_mark:Succeeded

xml/Azure.ApplicationModel.Configuration/ConfigurationClientModelFactory.xml
:white_check_mark:Succeeded

xml/Azure.ApplicationModel.Configuration/ConfigurationSetting.xml
:white_check_mark:Succeeded

xml/Azure.ApplicationModel.Configuration/SettingBatch.xml
:white_check_mark:Succeeded

xml/Azure.ApplicationModel.Configuration/SettingFields.xml
:white_check_mark:Succeeded

xml/Azure.ApplicationModel.Configuration/SettingSelector.xml
:white_check_mark:Succeeded

xml/Azure.Core.Cryptography/IKeyEncryptionKey.xml
:white_check_mark:Succeeded

xml/Azure.Core.Cryptography/IKeyEncryptionKeyResolver.xml
:white_check_mark:Succeeded

xml/Azure.Core.Pipeline/BearerTokenAuthenticationPolicy.xml
:white_check_mark:Succeeded

xml/Azure.Core.Pipeline/HttpPipeline.xml
:white_check_mark:Succeeded

xml/Azure.Core.Pipeline/HttpPipelineBuilder.xml
:white_check_mark:Succeeded

xml/Azure.Core.Pipeline/HttpPipelinePolicy.xml
:white_check_mark:Succeeded

xml/Azure.Core.Pipeline/HttpPipelineSynchronousPolicy.xml
:white_check_mark:Succeeded

xml/Azure.Core.Spatial/CollectionGeometry.xml
:white_check_mark:Succeeded

xml/Azure.Core.Spatial/Geometry.xml
:white_check_mark:Succeeded

xml/Azure.Core.Spatial/LineGeometry.xml
:white_check_mark:Succeeded

xml/Azure.Core.Spatial/MultiLineGeometry.xml
:white_check_mark:Succeeded

xml/Azure.Core.Spatial/MultiPointGeometry.xml
:white_check_mark:Succeeded

xml/Azure.Core.Spatial/MultiPolygonGeometry.xml
:white_check_mark:Succeeded

xml/Azure.Core.Spatial/PointGeometry.xml
:white_check_mark:Succeeded

xml/Azure.Core.Spatial/PolygonGeometry.xml
:white_check_mark:Succeeded

xml/Azure.Core/BinaryData.xml
:white_check_mark:Succeeded

xml/Azure.Core/ClientOptions.xml
:white_check_mark:Succeeded

xml/Azure.Core/DiagnosticsOptions.xml
:white_check_mark:Succeeded

xml/Azure.Core/DynamicJson.xml
:white_check_mark:Succeeded

xml/Azure.Core/HttpMessage.xml
:white_check_mark:Succeeded

xml/Azure.Core/JsonObjectSerializer.xml
:white_check_mark:Succeeded

xml/Azure.Core/ObjectSerializer.xml
:white_check_mark:Succeeded

xml/Azure.Core/Request.xml
:white_check_mark:Succeeded

xml/Azure.Core/RequestContent.xml
:white_check_mark:Succeeded

This comment lists only the first 50 files in the pull request.

api/overview/azure/messaging.eventhubs.processor-readme.md

[Warning-DuplicateUids] Uid(azure.net.sdk.landingPage.services.EventHub.Client) has already been defined in api/overview/azure/EventHubs/V4.yml.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


outer_space-Loewe111

I created a simple image of a planet with some stars in the background. I tried making overlapping 'islands' combine, but couldnt figure it out, but i think they dont look back when they overlap. I already have some experience in JS so the coding itself was nothing new, altough drawing something in JS is, and it was surprisingly fun.

@Loewe111 Congrats this definitely earns a Blot. You can order it here.


UnhandledPromiseRejectionWarning: TimeoutError: Navigation timeout of 30000 ms exceeded

Checking login...  (node:712401) UnhandledPromiseRejectionWarning: TimeoutError: Navigation timeout of 30000 ms exceeded
at /home/zahary/Documents/ValorantWatcher/Valorant-watcher/node_modules/puppeteer/lib/LifecycleWatcher.js:142:21
-- ASYNC --
at Frame. (/home/zahary/Documents/ValorantWatcher/Valorant-watcher/node_modules/puppeteer/lib/helper.js:111:15)
at Page.goto (/home/zahary/Documents/ValorantWatcher/Valorant-watcher/node_modules/puppeteer/lib/Page.js:672:49)
at Page. (/home/zahary/Documents/ValorantWatcher/Valorant-watcher/node_modules/puppeteer/lib/helper.js:112:23)
at checkLogin (/home/zahary/Documents/ValorantWatcher/Valorant-watcher/app.js:163:16)
at /home/zahary/Documents/ValorantWatcher/Valorant-watcher/app.js:38:9
at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:712401) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:712401) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

I also got this problem, and real problem is node doesn't exit process correctly after this error and just be suspended. So I'm running this program on docker-compose with setting restart: always but program never exit therefore it never restarts.

I fixed it by starting node with this argument "--unandled-rejections=none"

I fixed it by starting node with this argument "--unandled-rejections=none"

sry to bother but exactly what command did you run? is it npm start --unhandled-rejections=none ?


How to run two Apollos on one machine？

Hello team, I am working on Apollo recently, and i need to run 2 apollos parallely, but when i run the second apollo then the first will stop, is there any method to run two apollos parallely?

It does not seem to be supported at present, which will cause some problems, such as hardware sharing.

It does not seem to be supported at present, which will cause some problems, such as hardware sharing.

Can i modify the host of Apollo docker and then run them parallely?

It does not seem to be supported at present, which will cause some problems, such as hardware sharing.

As @daohu527 said, it may cause problems if you need to access hardware of the host machine. If hardware access if not needed at all, you can twist dev_start.sh and dev_into.sh to run two copies of Apollo Dev containers by 1) specifying each a unique APOLLO_DEV value. 2) You may also need to replace all docker_restart_volume with  reuse_or_start_volume.
To better separate the two containers,  and allow Bazel to build simultaneously, you'd better have two copies of Apollo source code on your host.
A CyberRT (cyber_start.sh & cyber_into.sh)  container and a Dev container can run in parallel on the same HOST directory.
Please note that all the stuffs I mentioned are  experimental and undocumented, use it at your own risk.

Closed due to inactivity. If the problem persists, pls feel free to reopen it or create a new one and refer to it.


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


is not Compatibled with mongodb 3.0+

pecl mongodb 1.6+
mongodb 3.0+
zf 1.26+
is not Compatibled

This library has been retired. No further updates will be made to this library


Add support for "MEMORY USAGE key [SAMPLES count]"

Add support for "MEMORY USAGE key [SAMPLES count]"
for issue #853

@mp911de I am sorry to forget this....I will try to add a new PR before 20181027.

No need to hurry 😸 This is a new feature and so it will be included in Lettuce 5.2.

@mp911de Thank you for telling me these.😀

I updated the PR, Please take a look again.

Great work. Care to rebase your pull request to resolve merge conflicts?

Thanks a lot. I'll review and merge the PR during this week.

Thanks a lot. I squashed the commits and polished your contribution. That's merged now.


invalid xsd:dateTime

The term sterilization by irradiation has a dcterms:date annotation with value "Irradiation"^^xsd:dateTime. This is pretty upsetting to certain RDF parsers. :-)

Argh!  Fixed in FoodOn draft.  Will be a release this week.


chat/layout.html referenced in tutorial is missing

I have been trying to complete the Tutorial, but ran into an issue in Part 2.
The templates reference:
{% extends "chat/layout.html" %}

But I see no reference to where chat/layout.html is created? Was this file missing? Was this referencing something made in an older version of the Channels Tutorial? I even went back to the Channels v3 Tutorial and couldn't find a reference to it.
The DCRF Tutorial says that this should be the project structure:
mysite/
    manage.py
    mysite/
        __init__.py
        asgi.py
        settings.py
        urls.py
        wsgi.py
    chat/
        __init__.py
        consumers.py
        models.py
        serializers.py
        routing.py
        templates/
            chat/
                index.html
                room.html
        tests.py
        urls.py
        views.py

Running to current tutorial and navigating to http://localhost:8000/chat/ causes error:
TemplateDoesNotExist at /chat/
chat/layout.html

Good find, I think this was intended to point back to the older changes tutorial but yep seems to not be there.

@hishnash What I found odd was I went back and used ReadTheDocs to look at older versions of the channels docs (even back to 2.0) but couldn't find a reference to it.
I do think having a complete tutorial would be a great help to new users of this library.

@hishnash I'd be happy to beta test/edit a finished/updated tutorial if you find time to fill in the gaps of missing files.

Is this going to be fixed?

There's a bug here, no f, not a f-string

@cyx2000 Nice find. I opened a PR to fix this

#198


Fix Rust driver examples and documentation, add to drivers list

Fixes #5560.

Update secure driver instructions to point to https://crates.io/crates/postgres-openssl/.
Update secure basic samples for latest version of driver for v2.1-v20.1.
Update secure txn samples for latest version of driver for v2.1-v20.1.
Update insecure basic samples for latest version of driver for v2.1-v20.1.
Update insecure txn samples for latest version of driver for v2.1-v20.1.
Add Rust driver to Postgres Client listing page

This change is

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/0cff80113c854c1decd7455c8d18855a260c863a/
Edited pages:

v19.2/build-a-rust-app-with-cockroachdb.md
v19.2/install-client-drivers.md
v20.1/build-a-rust-app-with-cockroachdb.md
v20.1/install-client-drivers.md


Can't find interface-file declaration for variable id

HIE stops many times.
hie-8.6.3: hie-8.6.3: panic! (the 'impossible' happened)
  (GHC version 8.6.3 for x86_64-unknown-linux):
	lookupGlobal

Can't find interface-file declaration for variable id
  Probable cause: bug in .hi-boot file, or inconsistent .hi file
  Use -ddump-if-trace to get an idea of which file caused the error
Call stack:
    CallStack (from HasCallStack):
      callStackDoc, called at compiler/utils/Outputable.hs:1160:37 in ghc:Outputable
      pprPanic, called at compiler/typecheck/TcEnv.hs:132:32 in ghc:TcEnv

This looks like a ghc bug?
Did you try it on other projects as well?
Also, what OS are you on and can you build the project via stack or cabal? Did you try cleaning the caches?

Not sure but looks like a bug of HIE. I've seem some errors (the other errors are not reported yet) in writing code to import modules with https://github.com/falsandtru/haskell-examples on Ubuntu 18.04.

On the linked project, HIE works.
Did you try cleaning all .stack-work folders, as well as dist and new-dist?
Also, what is your stack --version output?
It doesnt really look like an error by HIE.

Close the issue for a time.

@falsandtru, are you still seeing this error, or did you find a solution?
I get this error and hie crashes every ~10 minutes or so.
Tried removing .stack-work, didn't help.
MacOS 10.14 / Stack 1.9.3 / lts-13.7 / GHC 8.6.3 / Using vscode plugin

This error may be fixed after I resolved #1102 but anyway HIE throws a similar error when I'm touching the unresolved dependent packages.

@falsandtru thanks for the reply. I've updated to the latest version of hie. it seems to still be happening, but a lot less frequently it seems (just once in the past day)

Yes. HIE still has a lot of bugs. We have to restart our editor to clear incorrect errors.

Whenever you upgrade a stack ghc version, I recommend a stack clean.
Does the project build via stack build?

@fendor Thanks for your comment, I had run stack clean and rm -rf .stack-work many times since the upgrade, but I've just tried rm -rf $(find . -name .stack-work) just in case. I didn't get get the error since then, I'll report back if I do.

Just happened again:
Can't find interface-file declaration for type constructor or class Day
  Probable cause: bug in .hi-boot file, or inconsistent .hi file
  Use -ddump-if-trace to get an idea of which file caused the error
Call stack:
    CallStack (from HasCallStack):
      callStackDoc, called at compiler/utils/Outputable.hs:1160:37 in ghc:Outputable
      pprPanic, called at compiler/typecheck/TcEnv.hs:132:32 in ghc:TcEnv

Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

Maybe it's relevant; this happened shortly after adding hashable-time to the dependencies in the project .cabal, note how the error message involves Day.


Added parenthesis for accurate calculation of frequencies w when fs is default value (fs=2*pi)

Reference issue
Closes #19273
What does this implement/fix?

Added parenthesis for accurate calculation of frequencies w when fs is default value (fs=2*pi)
Additional information

Thanks @nihilisticneuralnet for your PR.

Your welcome.


Forever.restart, .restartAll methods

Programmatic restart/restartAll would be nice. It doesn't seem to exist based on the current README.

Any info on this?

@indexzero is this doable?

Yup, and already implemented :smile: https://github.com/foreverjs/forever/blob/master/lib/forever.js#L560-L567

It should probably be added to the README.md then.


Upgrade to ES 5.0.0-alpha1

What kind an issue is this?

[ ] Bug report. If you’ve found a bug, please provide a code snippet or test to reproduce it below.
The easier it is to track down the bug, the faster it is solved.
[x ] Feature Request. Start by telling us what problem you’re trying to solve.
Often a solution already exists! Don’t send pull requests to implement new features without
first getting our support. Sometimes we leave features out on purpose to keep the project small.

Feature description
Master should move to ES 5.0.0-alpha. Dropping support for ES 1.x can be a possibility.

Available in master.


Goal priorities: First principles versus userland precedent

A common dilemma that has been recurring in #2, #3, #4, and #5 is which is more important in design:

First principles? (E.g., “Once-side-effect functions should be idempotent on multiple calls.” https://github.com/tc39-transfer/proposal-function-once/issues/2#issuecomment-1083418305)
Userland precedent? (E.g., “Because [insert library here] does this behavior, precedent blesses it, and changing it will make it more difficult for developers to adopt the native.” https://github.com/tc39-transfer/proposal-function-once/issues/2#issuecomment-1083345080, https://github.com/tc39-transfer/proposal-function-once/issues/5#issuecomment-1083346561)

@ljharb, @jridgewell

I think that in language design, we should always come up with our most ideal solution first - and then, compare/contrast it to what other languages, and userland, are doing. That doesn't mean we should ignore precedent, but it does mean every sacrifice made to match precedent should be done intentionally and carefully.


make language and theme toggles stay in place when adjacent menu is activated in mobile view

old behaviour:

patch:

Seems great, will check the minor issue after having dinner.


right to left DatePicker

What steps will reproduce this issue?
just add new right to left DatePicker
Write problem description here
when I make the datepicker flow direction right to left the the control image get flipped too
http://i.imgur.com/XU2o2Sm.png
Expected outcome
Write expected outcome here
http://i.imgur.com/RBl7Fss.png
Environment

MahApps.Metro v?.?.?
<IP_ADDRESS>
Windows ??
windows 10
Visual Studio __
2015 com update 2
.NET Framework ?.?
4.0

@ahmedflix25 I fixed it in 721548b5b0eb55d7de6fe000b06f3d9bdaf08cfd


Provide Pull Request icons for Closed

Similar to how "issues" has the closed icon with the checkmark, there should be a non-colour based way to differentiate open/closed pull requests.
This would improve the accessibility for those that have trouble differentiating colours https://www.w3.org/TR/UNDERSTANDING-WCAG20/visual-audio-contrast-without-color.html
/cc @muan for the accessibility opinion

Thanks @ashygee! maybe if this is the better repo, https://github.com/primer/octicons/issues/376 should get transferred as well

I was working on a few versions and I think that what will work in this case is having the checkmark in the bottom right side of the icon, as the top left will cover the arrow, which is fundamental to understand PR.
This also opens the door to using an "X" version in case we need a rejected or failed version.

Maybe a pencil for the Draft icon in the other issue would work in the same spot.
My only concern with the check/cross is if people would confuse them with CI status of the PR

Yes, we were also worried about this. What do you think @ashygee @colebemis ?

Latest feedback regarding this issue: https://github.com/github/accessibility/issues/28

@auareyou sorry it looks like that repo is private :(

Ooops! Sorry. I'm linking the ticket with the feedback directly here then, is that ok? https://github.zendesk.com/agent/tickets/605458

Yes! Sorry about that. We'll just keep it linked as a reference. Thank you!

I wonder if you looked at a diagonal line through the PR icon, like you've done in the new "mute" icon


Traffic Portal GenISO links break with HA

When generating an ISO from traffic portal, the link that's returned is to the older traffic ops result.  With a single TO instance this works, but if you have multiple behind a load balancer this won't work reliably.

POST /api/$version/isos should return the file rather than a link to the file...but that would be technically breaking the API response....
....soo either the API needs to be rolled....or another API created....or maybe a query parameter sent (i.e. ?download=true). i kinda like the last idea...

Query param is still a new feature, and will break new clients hitting old servers with the "same" version. I'd vote adding the query param, but requests to /api/1.2/ and older need to ignore it.
Which should be fine. So we change anything in TC to hit /api/1.3/, and AFAIK we never promised older versions of TO would work with load balancers, so keeping the old functionality for <=1.2 should be fine.
And 1.3 is fine, because we haven't done an official release of TC since 1.3 was created, right?
Also, we should definitely document that this endpoint causes issues with load balancers with the 1.2 API and/or older versions of TO/TC.

@rob05c - nope, we haven't done a TC release since API 1.3 was created and you're right, rather than:
POST /api/1.2/isos?download=true (or whatever the query param is) (which is new/non-breaking behavior)
it would have to be:
POST /api/1.3/isos?download=true

@rivasj will be looking at this from the API perspective


social media hover

the social media icons hove effectr is  a single colour and not good   I will arrange them with their original hover assign me @vishanurag

@somyadipghosh please assign this issue to me


Optimize Groups data structure

Groups are basically stored as ConcurrentDictionary<string, ConcurrentDictionary<string, HubConnectionContext>> (groups by name, containing connections by ID)
ConcurrentDictionary uses a lot of memory. Optimize how groups are stored to use a more light-weight data structure on the server to increase scalability.

I'm going to close this. We'll always continue evaluating performance and can consider this as a possible improvement when we get there.


Breakout Contact/Team Table columns in detail views.

…d Teams Tables respectively

Closes #5187
What's Changed

Screenshots

TODO

[ ] Explanation of Change(s)
[ ] Added change log fragment(s) (for more information see the documentation)
[ ] Attached Screenshots, Payload Example
[ ] Unit, Integration Tests
[ ] Documentation Updates (when adding/changing features)
[ ] Example Plugin Updates (when adding/changing features)
[ ] Outline Remaining Work, Constraints from Design

Is there a need to add these tests

AssociatedContactsTable now includes type and contact and not contact_or_team
Assign Team/Contact submit button text has been replaced with Assign and Assign and Add New

Or its okay to skip adding these tests?

Is there a need to add these tests
1. `AssociatedContactsTable` now includes `type` and `contact` and not `contact_or_team`

2. Assign Team/Contact submit button text has been replaced with `Assign` and `Assign and Add New`

Or its okay to skip adding these tests?

I don't think we need tests specifically to test for these two behaviors, no.

Let's make the verbose_name of that first column simply Type.

Can you wrap the contacts table (nautobot/core/templates/generic/object_retrieve.html line 175) in a <div class="table-responsive"> so the table doesn't overflow its panel?

We also need this on nautobot/dcim/templates/dcim/device.html. Sorry!


Enhanced Create Contacts Page

Fixes: #157
Describe the changes you've made
Enhanced the page with css and bootstrap.
Type of change

[x] New feature (non-breaking change which adds functionality)
[ ] Code style update (formatting, local variables)

Checklist:

[] My code follows the code style of this project.
[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generate no new warnings.

Screenshots

Original
Updated

original screenshot
updated screenshot

Please Check it .
Thanks

@mansijain980 Resolve the conflicts.

@mansijain980 There are some bugs and errors, please rebase the code to master and commit again.

Sorry sir , but please have a look .

There r no conflicts from my side .

@mansijain980 Resolve the conflicts.

@mansijain980 Resolve the conflicts.

Done sir.

@mansijain980 Resolve the conflicts.

@mansijain980 You have opened two PR regarding this issue, kindly close one issue in order to get your PR merged.

@swapnilsparsh please close this PR . I have requested a new pr.


fix return wrong error variable

Ⅰ. Describe what this PR did
fix return wrong error variable
Ⅱ. Does this pull request fix one issue?
Ⅲ. Why don't you add test cases (unit test/integration test)?
Yes
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

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

@yuzhiquan thanks for sending this pr. We are thinking that both IsUnpack and Unpack actions are retrying. If those actions fails, we only report the warning message and still return the original error created by Prepare.

@yuzhiquan thanks for sending this pr. We are thinking that both IsUnpack and Unpack actions are retrying. If those actions fails, we only report the warning message and still return the original error created by Prepare.

ok, that's explain it.


Always unset ctx_var in EnvServlet.

Merge activity

May 8, 10:38 AM EDT: @rohinb2 started a stack merge that includes this pull request via Graphite.


feat(infotips): Added Infotips in Planner

Previous work which is merged: https://github.com/fabric8-ui/fabric8-planner/pull/2551.
Due to some architectural concerns raised in this issue https://github.com/fabric8-services/fabric8-wit/issues/2032 we are moving from backend support for infotip to frontend.
The changes introduced by this PR -

Added service for infotip which calls the docs API - https://docs.openshift.io/json/infotips.json.
Created store, actions, reducers and effects for infotip json data.
Every infotip now gets the infotipText from the store based on its corresponding elements UUID.

Ike Plugins (test-keeper)
Thank you @divyanshiGupta for this contribution!

It appears that no tests have been added or updated in this PR.
Automated tests give us confidence in shipping reliable software. Please add some as part of this change.
If you are an admin or the reviewer of this PR and you are sure that no test is needed then you can use the command /ok-without-tests as a comment to make the status green.
For more information please head over to official documentation. You can find there how to configure the plugin - for example exclude certain file types so if PR contains only them it won't be checked.

@divyanshiGupta fabric8/fabric8-ui:SNAPSHOT-PR-2595-2 is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-2595-fabric8-planner.badger.fabric8.io

@rgarg1 Updated PR description.

[test]

@divyanshiGupta Your image is available in the registry. Run docker pull registry.devshift.net/fabric8-ui/fabric8-planner:SNAPSHOT-PR-2595 && docker run -it -p 5000:8080 registry.devshift.net/fabric8-ui/fabric8-planner:SNAPSHOT-PR-2595 and visit http://localhost:5000 to access it.

@Raunak1203 is the issue that you are pointing at is that infotips don't get closed on outside click or it displays uuids instead of infotip text?

@divyanshiGupta It display UUID instead of text

@Raunak1203 this issue will be fixed once the CORS pr is in prod.

https://github.com/fabric8io/fabric8-online-docs/pull/314

@rgarg the width is fixed, the height will be adjusted according to the size of the content.

The CORS PR is ready so lets see the end result once before we close this PR.


chore: removed unsupport vision product search samples

go/cloud-ai-2021-snippet-cleanup
Devsite update: cl/362969424

This looks ok but I'm curious why we are completely removing all samples for Vision Product Search?

We're currently planning on using Google Cloud Vision API Product Search with PHP, so I am also curious about this matter, what does it mean by unsupported here? does the PHP client SDK doesn't support product search or something else?
Btw, the README still has examples for the product_search.php commands, this is confusing :(.


Use alpine as the runtime container since Go binaries are self-contained

This cuts the final Docker image size down by 90% from 390MB (v1.1.0) to 36.5MB.
Same thing as https://github.com/keep-network/keep-core/pull/1811/files.

Works good!


keyboard interrupt keymap

Discussed in https://github.com/microsoft/vscode-jupyter/discussions/10767

Originally posted by Guseyn013 July 11, 2022
In jupyter notebook there is a keyboard shortcut to interrupt kernel by pressing "I" button twice in command mode. Adding that feature to the VS Code extension would be very useful.

@rebornix This would be added in our keymapping file I assume and is Jupyter specific, so assigning myself.

There's a PR for this: https://github.com/microsoft/vscode-jupyter-keymap/pull/10

Thank you for filing this issue, given the fact that we haven't had sufficient upvotes on this issue I'm closing this as not planned.


clear list of instances

It would be nice to remove entries from the displayed list, especially failed once or instances that are not running anymore.

This is also being worked on by Enis and Marcus. This too should happen in parallel with the other issue.

This was added in: https://github.com/galaxyproject/cloudlaunch-ui/pull/19
but I guess we forgot to update this issue.


Building the project for iOS seems to be creating an entitlements file directly under Resources for some reason.

I don't know why it's creating the entitlements in the Resources folder instead of adding them to the entitlements file that is already present at the root of my project.
I am not sure if this is the new place for entitlements under XCode because I have trouble navigating Apple's documentation 😄.
But I can tell you that it's a big problem if you have 2 entitlements files, the one under Resources takes priority when deploying and everything that is not in it will simply not work.

It's my build settings that were pointing to 2 different paths. That this addon created an additional entitlement file and didn't care about the old one.

Hi @epetre, I'm seeing the same issue you mentioned above. Can you please tell we how did you fix it? I'm confused.


x933-'Add Identical Tissue'  feature required only in Original sample registration page

Can move to waiting release - Katy 16/9/22


Update New-MigrationBatch.md

Issue #8197

Docs Build status updates of commit bf3b4b0:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/New-MigrationBatch.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 932da1b:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/New-MigrationBatch.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel