video not downloading

Checklist

[x] I'm reporting a broken site support issue
[x] I've verified that I'm running youtube-dl version 2021.12.17
[x]  I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar bug reports including closed ones
[x] I've read bugs section in FAQ

[debug] Command-line config: ['-v', 'https://www.youtube.com/watch?v=BaW_jenozKc', '--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out UTF-8, error UTF-8, screen UTF-8
[debug] yt-dlp version<EMAIL_ADDRESS>[b532a3481] (zip)
[debug] Python 3.7.11 (CPython x86_64 64bit) - Linux-3.10.0-1160.83.1.el7.x86_64-x86_64-with-centos-7.9.2009-Core (OpenSSL 1.0.2k-fips  26 Jan 2017, glibc 2.17)
[debug] exe versions: ffmpeg 5.1.1-static (setts), ffprobe 5.1.1-static
[debug] Optional libraries: none
[debug] Proxy map: {}
[debug] Loaded 1855 extractors
[youtube] Extracting URL: https://www.youtube.com/watch?v=BaW_jenozKc
[youtube] BaW_jenozKc: Downloading webpage
[youtube] BaW_jenozKc: Downloading ios player API JSON
WARNING: [youtube] Skipping player response from ios client (got player response for video "M5t4UHllkUM" instead of "BaW_jenozKc"); please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
[youtube] BaW_jenozKc: Downloading android player API JSON
WARNING: [youtube] Skipping player response from android client (got player response for video "M5t4UHllkUM" instead of "BaW_jenozKc"); please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
WARNING: [youtube] Skipping player response from web client (got player response for video "M5t4UHllkUM" instead of "BaW_jenozKc"); please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
WARNING: Only images are available for download. use --list-formats to see them
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec:vp9.2, channels, acodec, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), channels, acodec, lang, proto, size, br, asr, vext, aext, hasaud, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] BaW_jenozKc: Downloading 1 format(s): sb0
[debug] Invoking mhtml downloader on "https://i.ytimg.com/sb/M5t4UHllkUM/storyboard3_L2/M$M.jpg?sqp=-oaymwENSDfyq4qpAwVwAcABBqLzl_8DBgi867OjBg==&sigh=rs$AOn4CLD6zz6wUMPtwBuO9zjkyt-TR6iF_g"
[download] Video Not Available [BaW_jenozKc].mhtml has already been downloaded
[download] 100% of   20.07KiB

Description
Hello, when I want to download a video, I'm facing this problem, it's been like this for the last 2 weeks, the video is not downloading.

try again with yt-dlp -f mp4 "https://www.youtube.com/watch?v=BaW_jenozKc"
and see if you can get the video.

[debug] yt-dlp version<EMAIL_ADDRESS>[b532a3481] (zip)

#30839 !


Add a macro to collect outputs of a yielding method to an array

Just having some fun reducing code duplication.
Obviously this can be improved and documented, I'm just curious about initial feedback.

I like the idea, but I don't think this should be a global macro, also as #collect is a somewhat common name, which could end up confusing users. Maybe Array would be a good place, considering it "returns" an array?
Array.collect each_byte looks clearer to me than a mere collect each_byte

Yeah I had a thought like that but assumed it wouldn't work (that macros can be only used unqualified or something)

Ideally this would be something like Iterator#to_a I think, that is we would have an iterator for everything and can just call to_a on it. Meanwhile I'm not sure I'm a big fan of the collect name, maybe just Array.from or Array.of or so.

Well sure, having an iterator for every yielding method would be amazing, but that topic has been neglected, and manually implementing those iterators is no fun.
Disagree on your naming ideas.

Method is great, and Array.collect looks like a right name for it, but it will surely confuse people coming from Ruby (where collect is a synonym to map).

I'd suggest to add an option to define the generic type of the array directly instead of inferring it as a union of the yielded types:
macro collect(type, expr)
    %arr = [] of {{type}}
    {{expr}} do |x|
      %arr << x
    end
    %arr
  end

This makes it more clear what array type is returned and allows fine grained control over it. Sometimes you don't want an array of unioned subtypes (or "plus type") but rather explicitly an array of a parent type.
I'd even argue that this might be preferred as default variant. Inferring is nice but stating the type directly is more expressive. This ensures the array type to be independent of the yielded values.

My previous implementation of this idea had the name "gather" but that's not what it means. It also was more opinionated and wrapped the function instead, so less flexibility, especially for docs. But I can't think of a way to specify the type explicitly like I did there, in a way that doesn't look goofy.

Wonder if it would be possible to get the type from Array(T).collect

@konovod I think the name collect is perfectly fine and descriptive. And even in Ruby, one never writes Array.collect, so it shouldn't be confusing either.
@straight-shoota No idea honestly how common it would be that people would want to use a different type. Still, that explicit-type version is much nicer to read, and seeing what kind of Array will be returned is also nice. So 👍 from me.

I'm not sure I can like this. Creating an empty array, iterating and pushing values to it is boring and repetitive, but it's descriptive as to what's happening. This solution may look interesting but it's complex to understand and confusing.
I prefer alternative methods that return an interator that implements #to_a, just like Array does:
[1, 2, 3].cycle(2).to_a
[1, 2, 3, 4, 5].each_cons(3).to_a

The dream solution is automatically implementing Iterators based on yielding methods.
What you're suggesting is writing a ton of boilerplate for every yielding method.

Maybe it'd be easier to understand if you'd have to create the array manually but have a shortcut for adding yielded elements: Array(Int32).new.collect { each } where #collect would call the method in the block, adding all yielded values to self, and return self.
But I don't know if this could be implemented somehow.

I agree with @ysbaddaden.  We already have Iterator#to_a , not sure why we need another style...unless this is providing something different?
Personally, I'm not a fan of top-level (or nearly top-level) functions over methods on objects... reminds me of Python's built-in functions, which I don't really like (len(ary) as opposed to ary.len)

The reason is that not every method with a block has a corresponding iterator. And even if they do, not all those iterators are the same speed as their block-based counterparts.

Collecting with blocks should always be faster than Iterator#to_a because there is no need to initialize an Iterator instance.

The reason is that not every method with a block has a corresponding iterator.

Ah ok, I think what threw me is that nearly every change in this PR is on methods that already return an iterator (cycle, glob, each_slice, etc).  The only one in these changes that doesn't return an iterator is the downcase method.

it's failed on Travis CI and has merge conflicts.

Quoting @oprypin:

Wonder if it would be possible to get the type from Array(T).collect(expr)
EDIT: Nope

Maybe related to #5023

Even though I like this, and I'm glad it's possible to do, I'm not sure this should go into the std. I'd like to have general iterators related to yield but it's super hard. Maybe collecting with x = [] of T; x << elem is not that bad for now.

(closing because of the above comment)


bindsym $mod+Shift+number doesn't work

When I press $mod+Shift+3, I'd expect the current window to get moved to workspace 3. Instead, sway doesn't capture the keybinding, and it goes through to the program underneath. Keybindings like $mod+Shift+r or $mod+3 work correctly.

The binding does work if I bind to $mod+Shift+sterling instead of $mod+Shift+3. This is rather keyboard-layout specific, though


Is it possible to input and output multiple files?

I am moving over to rollup from gulp.
I was wondering if it might be possible to get two or more separate input .scss files to output to two or more separate .css files?
file1.scss -> file1.css
file2.scss -> file2.css
Thanks in advance.

Really wish this was a thing too... Made an issue without reading/looking to see if there already was one. Regardless. It would be nice to have this feature!

Yeah this is something im currently looking for? is there any update to this?


feat(app, app-shell): add file upload progress to robot update

Overview
This PR adds upload file progress to the progress bar during a robot update.

Test Plan

Start a robot update, whether via zip file or a download banner (requires building the app via make -C app-shell package and then running the dist). Note in the console that there is a wall of Redux actions, robotUpdate:FILE_UPLOAD_PROGRESS - the progress bar will start filling earlier than in previous alphas.
The update should proceed as normal.

Changelog

Added upload file progress to robot update flows.

Risk assessment
lowish. There are some very bizzare errors that can occur due to event listeners, but I believe I've stamped them out.

The changes look good to me. Followed the test plan and the app worked as expected. I just left one comment.

Thank you for the quick review!


Pre-trained model (imagenet)?

Hello and thank you for the repository!
The model training on Imagenet dataset will take a lot of time. Could someone upload a pre-trained model?

+1

+1

+1

+1
Thanks !


Update developers.list

hello!

Hi @chripo
Welcome! Would you like to describe a bit about the open source projects you want to contribute and the environment you need? Currently the default OS is Ubuntu 20.04 or 21.10. Please point it out if you need any specific software or configs.

i'm working on a kind of application / OS framework (https://kosmonum.space/, its already in production but not released yet) which will provide a small and hopefully maintainable abstraction layer, a kind of tiny rootfs2go. at the moment it targets debian 10 / amd64, next todo is to 'port' / make it work on ubuntu/amd64 and get more tests written and running.
the main goal is to hot replace it with gentoo on amd64 and of course with first tier riscv.
there is a long way to go.
i'm owning one D1 for lokal development but access to more hardware would be very nice.
at the moment are no special software / configurations required, but i'm still exploring the space.
thank`s a lot!

thank you!
@lazyparser no effort ubuntu is fine!

I've allocated one HiFive Unmatched, which can be accessed using:
cat >> ~/.ssh/config <<"EOT"
Host unmatched013
        HostName <IP_ADDRESS>
        Port 13013
        User #your-github-id
        ProxyCommand ssh rvlab -W %h:%p

Host rvlab
    HostName lab.rvperf.org
    Port 22
    User #your-github-id
"EOT"

ssh unmatched013

Feel free to contact me if you need restart the machine.


Add advance math class

Issue Title
Please add a library like math.net to. Net core
Be as descriptive as you can with your title.
General
Provide details on the problem you are experiencing including the .NET Core version, operating system version and anything else that is relevant.
Please provide a code sample for your issue if it is relevant, either inline, link to a gist (or similar) or add it as a zipped attachment.
For some issues, you will get a quicker and better response if you file it at a more specific .NET repo. For example, if the problem is with ASP.NET Core, you are encouraged to use the aspnet/home repo.

Issue moved to dotnet/corefx #30671 via ZenHub


[Feat] Adding signup of users

Description
This feature introduces a Signup functionality that allows users to create accounts by providing their email, name, password, and mobile number. The user data will be securely stored in the database, with the password hashed for safety. Upon successful signup, users can log in via NextAuth using their credentials. This will enhance user onboarding and session management.
Screenshots
No response
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I'm a GSSoC'24-Extd contributor
[X] I'm a Hacktoberfest'24 contributor
[X] I am willing to work on this issue (optional)

I want to work on this issue, please assign it to me under GSSoC'24 - Extd!
Also add gssoc-ext and level label.


How to register module as installed in database

I am making admin module for laravel 5 with this package and at this moment i need to make some type of modules administration page, so admin can install/unistall, enable/disable & update his modules.
So i need to get list and status of all modules without doing some mess running throw folders and reading files one by one. My idea consists in creating database model like "Module" and setting his data on module install/update.
I need to know now to run this events: onInstall, onUnistall. Update events will be hadled by model.
Enyone think that my idea is viable, or I need to resolve this struggle in other form?
Thanks and sorry for my bad english.

You can use "Module::getOrdered()" to get modules entities list, run throw it and add version controll in config. No need to registrate it on install.


[Issue-2790] Integrate asset online

Related issue(s)

#2790

Is your feature request related to a problem(s)? Please describe.

Add feature update asset map and asset ref map online

Describe the solution you'd like

Add feature update asset map and asset ref map online

Describe alternatives you've considered

No

Additional context

No

🚀 Deployed on https://pr-2794--sw-web-runner.netlify.app


Mirror Destorys Scene object is if it the player object

Describe the bug
When a scene object is added as the player object it is destoryed when the owner disconnects, it should instead be unspawned like other scene objects.
[IMPORTANT] How can we reproduce the issue, step by step:

Add sceneObject as player object
Disconnect connection
see that scene object is destroyed instead of reset

Expected behavior
Scene Object should be Unspawned without calling Object.Destroy even if it is the player object
Version

Mirror version: v78.3.0

so...needs a SceneID check to unspawn instead of destroy?


shell script consistency - part 1

Just some basic formatting changes to the shell scripts to make them more consistent and easier to maintain:

functions are alphabetized
file comment blocks are a little more consistent (and smaller)

Added:

.editorconfig and CONTRIBUTING.md style guide
minor updates to the README to link to the current repo
formatted property lists with plutil

Reviewed - looks good!


Missing Azure AD and B2C samples in docs.microsoft.com/samples

Link to article:
https://docs.microsoft.com/en-us/samples/browse/
Problem:
A lot of the Azure AD samples here:
https://docs.microsoft.com/en-us/azure/active-directory/develop/authentication-flows-app-scenarios
aren't included.
These B2C custom policies articles aren't included:
https://github.com/azure-ad-b2c/samples
There are some missing B2C samples here:
https://docs.microsoft.com/en-us/azure/active-directory-b2c/code-samples
MSAL samples (V2) are included but ADAL samples (V1) are missing:
https://docs.microsoft.com/en-us/azure/active-directory/develop/sample-v1-code

Thank you for the feedback, @rbrayb - we’ll get this addressed.


Update migrations-POSTGRES-asd4.mdx

fix spelling mistake

 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.


Inaccurate memory stats

Reported memory stats seem to be inaccurate because it depends on whether GC has occurred in the benchmarked function.
Here is the program I'm trying to benchmark.
{- cabal:
build-depends: base, pcre2, tasty-bench, text
-}
import qualified Data.Text as T
import qualified Text.Regex.Pcre2 as Pcre2

import Test.Tasty.Bench

main :: IO ()
main = defaultMain
  [ bench "gsub" $ whnf gsub t
  ]
  where
    !t = T.replicate 10000 (T.singleton 'a')

gsub :: T.Text -> T.Text
gsub t = Pcre2.gsub (T.singleton 'a') (T.singleton 'b') t
{-# NOINLINE gsub #-}

On my system with +RTS -T, the result is almost always
  gsub:       OK
    938  μs ±  87 μs,   0 B  allocated,   0 B  copied, 7.0 MB peak memory

though gsub allocates of course.
If I instead benchmark
gsubWithGC :: T.Text -> T.Text
gsubWithGC t = unsafePerformIO $ do
  let !t' = Pcre2.gsub (T.singleton 'a') (T.singleton 'b') t
  performMinorGC
  pure t'
{-# NOINLINE gsubWithGC #-}

I get correct stats.
  gsubWithGC: OK
    914  μs ±  47 μs,  40 KB allocated, 179 B  copied, 6.0 MB peak memory

Perhaps tasty-bench should trigger a GC before collecting memory stats?

Could you make a PR please to make it clearer what you mean?

Maybe I didn't explain myself well enough.
Consider this program.
{- cabal:
build-depends: base, primitive
-}
import GHC.Stats
import Data.Primitive.ByteArray

main :: IO ()
main = do
  before <- getRTSStats
  a <- newByteArray 100000
  after <- getRTSStats
  putStrLn $ "allocated_bytes=" <> show (allocated_bytes after - allocated_bytes before)

The output is
allocated_bytes=0

This is because the RTS stats are updated when there is a GC, and there will likely not be any between before and after.
tasty-bench's code is similar.
https://github.com/Bodigrim/tasty-bench/blob/2786e990d37e0823df3d661a7149ee9faeb9cf06/src/Test/Tasty/Bench.hs#L1105-L1108
It is quite likely that running act n will perform some GCs, but it's not guaranteed. This is what I ran into with the pcre2 benchmark above.
If we update the before/after program to perform a GC, we get
@@ -3,4 +3,5 @@
 -}
 import GHC.Stats
+import System.Mem
 import Data.Primitive.ByteArray

@@ -9,4 +10,5 @@
   before <- getRTSStats
   a <- newByteArray 100000
+  performMinorGC
   after <- getRTSStats
   putStrLn $ "allocated_bytes=" <> show (allocated_bytes after - allocated_bytes before)

allocated_bytes=103064

(Though I don't know what all of those extra 3064 bytes are)
Similarly we could add a performMinorGC before https://github.com/Bodigrim/tasty-bench/blob/2786e990d37e0823df3d661a7149ee9faeb9cf06/src/Test/Tasty/Bench.hs#L1108
Does that seem reasonable? If yes, I can make the PR.

Yes, please make a PR.

(Though I don't know what all of those extra 3064 bytes are)

My program was flawed. It also needs a GC right before before. With that, I get
allocated_bytes=101112

16 bytes overhead for the ByteArray#
1096 bytes for the before RTSStats object

An RTSStats object is this large because, surprisingly, all the fields are boxed. I can file a GHC issue later suggesting they be unboxed.


Unable to retrieve child resources

Preflight Checklist

[X] I have installed the latest version of Storage Explorer.
[X] I have checked existing resources, including the troubleshooting guide and the release notes.
[X] I have searched for similar issues.

Storage Explorer Version
1.34.0
Regression From
No response
Architecture
x64
Storage Explorer Build Number
20240523.2
Platform
Windows
OS Version
Windows 11
Bug Description
Unable to retrieve child resources
ProducerError:{
"name": "Electron Net Error",
"message": "net::ERR_CONNECTION_TIMED_OUT",
"stack": "Error: net::ERR_CONNECTION_TIMED_OUT\n    at SimpleURLLoaderWrapper. (node:electron/js2c/browser_init:2:109791)\n    at SimpleURLLoaderWrapper.emit (node:events:514:28)",
"cause": {}
}
Steps to Reproduce
Expand files shares
Actual Experience
Unable to retrieve child resources
ProducerError:{
"name": "Electron Net Error",
"message": "net::ERR_CONNECTION_TIMED_OUT",
"stack": "Error: net::ERR_CONNECTION_TIMED_OUT\n    at SimpleURLLoaderWrapper. (node:electron/js2c/browser_init:2:109791)\n    at SimpleURLLoaderWrapper.emit (node:events:514:28)",
"cause": {}
}
Expected Experience
No response
Additional Context
No response

@rveasey0630 Can you provide more details about the steps you followed? Did you sign in, or are you connecting using a key or a SAS? Are you attempting to connect through a proxy?

Closing due to inactivity. If you are still encountering an issue, please respond with additional information, and we can revisit.


App crashed in function calculateStatusBarAreaAvgLuminance

calculateStatusBarAreaAvgLuminance throw error Thread 8: EXC_BAD_ACCESS (code=1, address=0x20) at line 74
layer.render(in: context)
but I checked both layer and context and they are not nil.
I have a view covers the full screen, including the status bar, I guess that's might be the reason.

calculateStatusBarAreaAvgLuminance throw error Thread 8: EXC_BAD_ACCESS (code=1, address=0x20) at line 74
layer.render(in: context)
but I checked both layer and context and they are not nil.
I have a view covers the full screen, including the status bar, I guess that's might be the reason.

I also encountered this problem， but i don't have a full screen view, my log display: Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Modifications to the layout engine must not be performed from a background thread after it has been accessed from the main thread.'


Get image extensions when not present in --img-name-col column

The column used to write the filename may not have a file extension. A user might prefer to have images saved with extensions present in the filenames.
Another optional Boolean flag could be used to give the user the chance to specify something like:
  -e, --infer-extension  Infer the appropriate file extension if one is not present in the --img-name-col (default: False)

If this is switched on, some options mentioned in the discussion for #1 for doing this could be:
First, double check that there isn't a valid image extension in the --img-name-col to avoid writing a file with something like image.png.png (if there's an extension present and the user says -e, I can't imagine why they would have done so intentionally).
To detect an extension:

Use e.g. filetype to detect the appropriate extension based on the data itself and use that when writing the filename.
or
Use the URL column to check for an extension and/or Content-Disposition header

Another option would be response.headers['Content-Type']. For an image, this should return something along the lines of img/png, in which case a simple .split("/")[1] would give us the proper filetype.

That sounds like a good first place to look. For MIME type image/jpeg, we might want the extension to instead be .jpg? Otherwise of all the image types, I think we can be pretty sure that .split("/")[1] will work to get a good extension.
Is response.headers['Content-Type'] guaranteed to always be there though? Probably rare, but might want a backup check in case it's absent.

Another way servers convey the appropriate filename is via content disposition:
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Disposition#as_a_response_header_for_the_main_body


Update reset-network-interface.md

Since classic VM is deprecated, removing the contents of classic VM
Pull request guidance
Thank you for submitting your contribution to our support content! Our team works closely with subject matter experts in CSS and PMs in the product group to review all content requests to ensure technical accuracy and the best customer experience. This process can sometimes take one or more days, so we greatly appreciate your patience.
We also need your help in order to process your request as soon as possible:

We won't act on your pull request (PR) until you type "#sign-off" in a new comment in your pull request (PR) to indicate that your changes are complete.

After you sign off in your PR, the article will be tech reviewed by the PM or SME if it has more than minor changes. Once the article is approved, it will undergo a final editing pass before being merged.

@microsoft-github-policy-service agree company="Microsoft"

@microsoft-github-policy-service agree company="Microsoft"


Could not get babel-root-import to work

I would like to import modules as I was traversing from root directory so I don't need to do ../../../../../mymodule but without success.
This is my .babelrc file. Did I miss something?
// .babelrc
{
  "presets": [
    "next/babel"
  ],
  "plugins": [
    ["babel-root-import"]
  ]
}

This is working pretty well. You need to use tidle(~) as the root when importing your module.
Like: import Counter from '~/components/Counter'
You need to use our beta version. Use ^2.0.0-beta in the package.json for the "next".
If this doesn't fix your issue, send us a way to reproduce with the error you got.

Thanks a lot! It is working now. Usually when you are using webpack root resolve you don't need to use ~


Remove .length stream property

It's not used by any module.

I'm merging this branch without Travis CI finishing the second build since they seem to be having issues atm.


Possible caching fix

Assigned to @sohkai so he can take a look and merge

Thanks @jtremback! Sorely needed :).


Reflect State Mutability

Disable value when non-payable, etc.

Better yet, let people override but add a warning.


(new) copying between databases?

hey there!
I use usql a lot in testing environments and for personal projects. I wonder if we can't have something similar to ingestr(ingestr is a CLI tool to copy data between any databases with a single command seamlessly) in a simple way. I'm going to transcribe what I read from the documentation, and then ask something technical that I didn't find and that I consider important to ask.

"Copying Between Databases
usql provides a \copy command that reads data from a source database DSN and writes to a destination database DSN:
(not connected)=> \cset PGDSN postgres://user:pass@localhost
(not connected)=> \cset MYDSN mysql://user:pass@localhost
(not connected)=> \copy PGDSN MYDSN 'select book_id, author_id from books' 'books(id, author_id)'
As demonstrated above, the \copy command does not require being connected to a database, and will not modify or change the current open database connection or state.

Why do I need to type so many sql commands when I could simply copy the database from one location to another if I just had to add their url or single command seamlessly? are pull requests about this welcome? would something similar to this be good for usql?
usql \copy
    --source-uri 'postgresql://admin:admin@localhost:8837/web?sslmode=disable' \
    --source-table 'public.some_data' \
    --dest-uri 'bigquery://<your-project-name>?credentials_path=/path/to/service/account.json' \
    --dest-table 'usql-copy.some_data'

regards,

@stokebreakup we would be interested in a more robust/better implementation. Please feel free to make a PR and we'll consider it.


Using grav on heroku.

I want to host my website on heroku, and I'm referring to this article.
https://learn.getgrav.org/16/webservers-hosting/paas/heroku
But I guess there is a problem with this approach.
Local storage on heroku dyno will be deleted when container process is stopped.
So, changed files such as page content will be also lost when same time.
Is there a way for me to run grav on heroku (or any other PaaS service) with persistent volume?

I am investigating two possibilities. Actually saving page content to a database each time an edit is made having page content generated each time the dyno restarts.
Or saving page content to a separate git repository and pushing to this repository each time an edit is made. Pull from this repository each time the dyno restarts. I'm assuming that I can push from Heroku to an external git repo.


Standalone scrollbar

Is it possible to configure a scrollbar as a standalone object that controls the scrolling of a different element?

Anything is possible :). You could add a "callbacks" option to an ng-scrollbar config and as it scrolls you could use Angular's emit and broadcast to send events to other elements. When I get some free time I'll see if I can come up with a demo, maybe with two synchronized scroll bars.
Could you describe your use case a bit more? Why would you want to do this?

I have a design spec which tells me that I need to place a scroll bar away
from the div that it controls, not onto it. :D
So I looked into the callbacks functionality of mCustomScrollbar, but the
problem is that the callbacks (like whileScrolling) don't provide the pixel
or percentage offset of the bar.
According to the mCustomScrollbar documentation, you can get these values
from "this.mcs.topPct" and "this.mcs.draggerTop" but not sure how to get at
these from your directive... any ideas?
On Fri, Jan 15, 2016 at 12:03 AM Minh Nguyen<EMAIL_ADDRESS>wrote:

Anything is possible :). You could add a "callbacks"
http://manos.malihu.gr/jquery-custom-content-scroller/#callbacks-section
option to an ng-scrollbar config and as it scrolls you could use Angular's
emit and broadcast to send events to other elements. When I get some free
time I'll see if I can come up with a demo, maybe with two synchronized
scroll bars.
Could you describe your use case a bit more? Why would you want to do this?
—
Reply to this email directly or view it on GitHub
https://github.com/iominh/ng-scrollbars/issues/18#issuecomment-171872780
.

Ah gotcha. Hmm, those fields should be available in the callback. If not it might be because of the context (this), which may involve updating the ng-scrollbars directive source (feel free to modify, it's just a wrapper really). Or it could be that ng scrollbars is on an older version of Malihu that doesn't have those fields?
I'm a bit tied up today but will see if I can take a closer look over this weekend

Thank you, much appreciated.
On Fri, Jan 15, 2016 at 7:38 AM Minh Nguyen<EMAIL_ADDRESS>wrote:

Ah gotcha. Hmm, those fields should be available in the callback. If not
it might be because of the context (this), which may involve updating the
ng-scrollbars directive source (feel free to modify, it's just a wrapper
really). Or it could be that ng scrollbars is on an older version of Malihu
that doesn't have those fields?
I'm a bit tied up today but will see if I can take a closer look over this
weekend
—
Reply to this email directly or view it on GitHub
https://github.com/iominh/ng-scrollbars/issues/18#issuecomment-171950240
.

Hopefully this demo helps: http://iominh.github.io/ng-scrollbars/18_update_scrollbars.html.
Unfortunately I had to update the ng-scrollbars library, so you'll have to pull in the latest version (0.0.6).
Please let me know if you have any issues or questions, good luck!

This is great. Thank you very much for the update.


docs(v2): typo in i18n docs

Fixing a typo of word sentence  in i18n documentation
Have you read the Contributing Guidelines on pull requests?
Yes

@ayonious thanks!

@ayonious thanks!


Expose monitoring configuration for Cilium

How to categorize this PR?

/kind enhancement
/priority normal
/area monitoring
/area networking
What this PR does / why we need it:
This PR exposes metrics and dashboards for Cilium Agent / Hubble and Cilium Operator.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note:

Monitoring is now enabled by default which would expose metrics/dashboards for the agent/hubble and operator components.

/invite @wyb1

@wyb1 can you PTAL?

@zanetworker I will take a look tomorrow

@wyb1 I tried incorporating your most of your comments into the dashboards. PTAL.


fix assert import

Description
"assert" not "node:assert" even if they're likely equivalent?
Risk
None
Deploy Plan

deploy front

PMRR


chore: prune unreferenced dependencies

Ran npx depcheck and left the following, because they were still referened in strings:

jest-junit
markdownlint-cli2
ts-jest
ts-node (add back, needed by ts-jest)

@jeffwilcox not sure if you prefer that I split this one up a bit


Fixes getDefaultProps warning

Thanks for submitting a pull request! Please provide enough information so that others can review your pull request:

Unless you are a React Native release maintainer and cherry-picking an existing commit into a current release, ensure your pull request is targeting the master React Native branch.

Explain the motivation for making this change. What existing problem does the pull request solve?
Prefer small pull requests. These are much easier to review and more likely to get merged. Make sure the PR does only one thing, otherwise please split it.
Test plan (required)
Demonstrate the code is solid. Example: The exact commands you ran and their output, screenshots / videos if the pull request changes UI.
Make sure tests pass on both Travis and Circle CI.
Code formatting
Look around. Match the style of the rest of the codebase. See also the simple style guide.
For more info, see the "Pull Requests" section of our "Contributing" guidelines.
Resolves the "Warning: getDefaultProps was defined on MyScene, a plain JavaScript class."

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

Can you open a PR against the master branch instead?

Sorry @hramos, not entirely sure I understand. I made an update to documentation. Why master?

@wadewegner do you have any updates for this pull request? It's been a while since the last update so wanted to check in and see if you've looked at the requested changes.

@wadewegner the doc site is built from master with every new release. If the fix is only made on a release branch, then the fix will not be reflected in the next release.
Once the fix is in master, if it's necessary we can cherry pick the commit into the current release branch to make sure the doc fix is visible before the next release is cut.

It looks like this is abandoned so I'm going to close this pull request. It would be nice to get rid of more warnings here though - if you are indeed still working on this then please feel free to reopen.


feat: created half of student ambassador page for the website

Issue #19
Section Completed

hero section
Criteria section
Benefits section

This is how the website looks in normal mode
1/3

2/3

3/3

This is how the website looks in inspect mode
1/2

2/3

3/3

Things left

Application section
Student ambassadors gallery
FAQs

Please also mention the issue number, like this issue will close which issue.
Although LGTM 👍

Will review by EOD
thank you for the contribution

There is typo i  the title Benifits
learnings is not aligned properly below Private Discord

Will rectify that
@AvineshTripathi

@mayankkuamr001 any updates?

Hey @mayankkuamr001 we are with shortage of time for the completion of the website do you want some help regarding the same

Hey @AvineshTripathi , I was waiting for the students ambassador component which I think is done by Bhavya once she had the list of ambassador. If you want I can make a PR for whole Kubesimply Ambassador page (beside ambassador component) by tomorrow.

You don't have to wait for a PR for your PR so please complete and do a PR

Fixed https://github.com/kubesimplify/website/pull/41#issuecomment-1122817854
Now website looks like

LGTM
cc @verma-kunal

Yep! This looks good for now. We can add the student ambassador component later as well :)


FIx runtime error of debloat-gui on 3.13

tkinterdnd2 on PyPI refers to https://github.com/Eliav2/tkinterdnd2, which will not run on 3.13. Until I can assume ownership of the package on PyPI, please use my fork: https://github.com/clin1234/tkinterdnd2

I appreciate the heads up that it will not run on 3.13. Do you use debloat-gui? Or did you find my project another way?
Why do you think you will take ownership of the PyPI package? It looks like your only improvements to tkinterdnd2 were yesterday with no prior history of commits or pull requests to the other tkinterdnd2 repositories.

I appreciate the heads up that it will not run on 3.13. Do you use debloat-gui? Or did you find my project another way?
Why do you think you will take ownership of the PyPI package? It looks like your only improvements to tkinterdnd2 were yesterday with no prior history of commits or pull requests to the other tkinterdnd2 repositories.

I do use debloat-gui. Also, the source repository that tkinterdnd2 refers to has seen no activity over the past year.

Awesome, as far as I knew, no one actually used debloat-gui, so it is good to know. (I figured folk may just use the CLI or the built binaries.)
You are right, tkinterdnd2 really hasn't been maintained at all in the last 4 years. I looked a fair bit at the history of issues and pull requests without any comments.
No offense to you, but I may fork tkinterdnd2 and use my fork. I also opened an issue on Eliav2's fork regarding maintenance.
In regards to your fork, in my opinion, Tix/ Tk.tix needs to be entirely removed. (Tix itself has not been maintained in 10+ years.) Your changes so far only appear to be a small way to get around the issues.
Do you use tkinterdnd2 in your own projects? I couldn't find out for sure from looking at your public repositories. If not, in my opinion, it may make more sense for me to maintain it since I use it with debloat and other projects.

Go ahead; my fork is only used to get debloat-gui running on 3.13

I submitted a fix to Eliav2 for TkinterDnD2 last week. I'm going to give him a week or so more before I try harder to implement an alternative solution, such as making a new PyPI package, or simply including the required files. So while it is on my radar as something that needs fixed soon, it is my understanding that 3.13 is planned to be in full release October 01, 2024 so for most users, I have a little wiggle room before needing to have it fully implemented.
Is it safe to assume you have a temporary work around to run it locally? If not, I can prioritize getting the fix out sooner, but my perception is that you've already made a work around for now.

I submitted a fix to Eliav2 for TkinterDnD2 last week. I'm going to give him a week or so more before I try harder to implement an alternative solution, such as making a new PyPI package, or simply including the required files. So while it is on my radar as something that needs fixed soon, it is my understanding that 3.13 is planned to be in full release October 01, 2024 so for most users, I have a little wiggle room before needing to have it fully implemented.
Is it safe to assume you have a temporary work around to run it locally? If not, I can prioritize getting the fix out sooner, but my perception is that you've already made a work around for now.

I do have a workaround locally

I am now a maintainer of tkinterdnd2.
tkinterdnd2, as of 0.4.0 now works properly with python3.13.
I confirmed that debloat-gui worked as expected on Linux and Mac with the new tkinterdnd2.
Thanks again for raising the issue, feel free to open additional issues regarding tkinterdnd2 or debloat.


[WIP] Experiment/fan05

PR TODO list:

[ ] Fixes from this branch as PR

[ ] Visualization code as PR

[ ] Script/fan05 as PR

[ ] PR uses the likelihood model TrackingLikelihoodModel

[ ] PR under this scheme but with a mixture model as the foreground model

[ ] PR trains the likelihood model with EM


change to lib layout

This resolves #1, and should be okay if the primary intent of used is as a CLI tool.

Thanks. I came up with the fix in https://github.com/sqs/used/commit/c5a513e39809172352e3b83a250da07b7ef1601f.


⚠ Samsung has degraded performance

In d676cda, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2189 ms

Resolved: Samsung performance has improved in 059b463.


Don't validate multi commands

Fixes #4875
We tried to prevent users from doing something like running a multi
command "foo; bar" where foo is valid but bar is invalid so that we
wouldn't run foo only to discover bar was an invalid key. It isn't
possible to know in general if any command other than the first command
in a multi command is valid because it might update the state and add
the initially invalid command.
The validation caused the intellij plugin to not work with 1.3.0-RC3.

GitHub is now updating, but the CI jobs were good:
https://travis-ci.org/sbt/sbt/builds/560281695
https://ci.appveyor.com/project/sbt/sbt/builds/26062812


Improve RouteColorAndTextInsufficientContrastNotice

Is your feature request related to a problem? Please describe.
At present, the value stored in field constrastRatio of RouteColorAndTextInsufficientContrastNotice is a String. Since it represents a number, it should be stored as a number.

Closing, outdated with v2 architecture

Closing, outdated with v2 architecture


Make sure proof canonicalization is reproducible.

Reminiscent of https://github.com/digitalbazaar/vc/issues/138, the use of the object composition syntax in canonizeProof results in existing @context property values taking precedence over the data-integrity context.
This means that this context is only added if no context is present at this point.
When using the DataIntegrityProof with jsonld-signatures, a @context property is likely not present when issuing a proof, but will be present during verification due to the implementation of ProofSet._getProofs.
As a consequence, signing will typically take place with the @context property value https://w3id.org/security/data-integrity/v1 on the proof while during verification this value is either set to the document's context, or, if none exists, with the jsonld-signatures default https://w3id.org/security/v2.
While this difference may be overlooked by linked data based canonicalisation as long as definitions in the contexts used during signing and verification are equivalent, this will break for jcs based proof schemes (see digitalbazaar/jsonld-signatures#176).
The proposed change will make sure that any existing @context values are overwritten with https://w3id.org/security/data-integrity/v1 for the purpose of canonicalisation, resulting in identical input to the cryptosuite's canonize() function on proof issuance and verification.
In case forcing the proof context to the data integrity context is not desired, I'd recommend aligning with the behaviour of jsonld-signatures by setting the proof context to the document's context, and if not present, defaulting to the data integrity context instead.

So we shouldn't overwrite the context, but we should append the data integrity context if it either isn't present or if another well-known context that has the DI term mappings in it (like VC v2 context) isn't present. That should address this issue. This approach would also follow text that is expected to be in the DI spec shortly.

So we shouldn't overwrite the context, but we should append the data integrity context if it either isn't present or if another well-known context that has the DI term mappings in it (like VC v2 context) isn't present. That should address this issue. This approach would also follow text that is expected to be in the DI spec shortly.

This won't address the issue, the signing and verification input would still differ. If you sign the following document:
{
  '@context': [
    'https://www.w3.org/ns/credentials/v2',
    'https://www.w3.org/2018/credentials/examples/v1'
  ],
  id: 'http://example.edu/credentials/1872',
  type: [ 'VerifiableCredential', 'AlumniCredential' ],
  issuer: 'https://example.edu/issuers/565049',
  issuanceDate: '2010-01-01T19:23:24Z',
  credentialSubject: {
    id: 'https://example.edu/students/alice',
    alumniOf: 'Example University'
  }
}

the input to the cryptosuite's canonize function will look like this during issuance
{
  '@context': 'https://w3id.org/security/data-integrity/v1',
  type: 'DataIntegrityProof',
  created: '2023-08-02T10:05:35Z',
  verificationMethod: 'test-controller#key-1',
  cryptosuite: 'jcs-eddsa-2022',
  proofPurpose: 'assertionMethod'
}

and like this during verification
{
  '@context': [
    'https://www.w3.org/ns/credentials/v2',
    'https://www.w3.org/2018/credentials/examples/v1'
  ],
  type: 'DataIntegrityProof',
  created: '2023-08-02T10:05:35Z',
  verificationMethod: 'test-controller#key-1',
  cryptosuite: 'jcs-eddsa-2022',
  proofPurpose: 'assertionMethod'
}

What would address it though is if in canonizeProof we would set the @context property to concat(document['@context'], proof['@context']) and append the data integrity context if necessary. Would that be better?

@rflechtner,

What would address it though is if in canonizeProof we would set the @context property to concat(document['@context'], proof['@context']) and append the data integrity context if necessary. Would that be better?

Ah, yes, sorry that's what I meant. By "the context" -- I meant "the context of the document" (not the proof). I should have been more clear.
If the proof does not have its own context, it should get the context from the document -- and, then, if the resulting context on the proof does not have the data integrity context or another well-known context that has the DI term mappings in it (like VC v2 context) the data integrity context should be added. The document to which the proof will be attached will similarly have the data integrity context added to it if also doesn't meet this rule.
This should enable consistent behavior during signing and verification. The only way for inconsistent behavior to occur would be for an implementation to specifically add a context (like the DI context) to the proof -- whereas the VC v2 context is used on the document. This won't be a problem for RDF-based canonicalization as the term definitions will be the same, but it would trip up a JCS implementation. However, implementations just shouldn't do that -- certainly not in the JCS case -- and all will be well. Intentionally providing a different a context for the proof vs. the document is highly unusual and likely a bug anyway.

If the proof does not have its own context, it should get the context from the document -- and, then, if the resulting context on the proof does not have the data integrity context or another well-known context that has the DI term mappings in it (like VC v2 context) the data integrity context should be added. The document to which the proof will be attached will similarly have the data integrity context added to it if also doesn't meet this rule.

This should indeed also address the specific issue we were having with using the suite in jsonld-signatures. By adding the document context when the proof object does not have one we'll make sure to sign the same data as we'll get passed down from jsonld-signatures during verification.
My understanding is that canonizeProof would then:

Check for the presence of a @context property and, if none exists, add the document's context.
Call ensureSuiteContext on the proof object to add the data integrity proof if needed.

I'm happy to propose an implementation in this PR if what I described fits the expected behaviour!

Thanks! I think this looks right. We'll try to get it into our release pipeline.

Amazing! Thanks for working with me on this 😊


boostrap4 nav-fill + scrolling-tabs

If you make a full-width tab through nav-fill, then immediately a scroll :(

Are you using Bootstrap 4, I assume?
I was able to prevent that immediate scroll with a few small changes to how the plugin is typically initialized. Here's a plunk showing it working:
http://plnkr.co/edit/pvVvy21u9pqzN08OqUxs
It's a fork of the "HTML-Defined Tabs" plunk with some small changes to st-demo.css and st-demo.js (and, of course, index.html to use Bootstrap 4 and nav-fill).
Because Bootstrap 4 uses flexbox for the tabs, instead of defaulting .nav-tabs to display: none in st-demo.css, I default them to visibility: hidden. Then in st-demo.js, in the ready.scrtabs event handler, instead of using .show() to show them (which would set them to display: block), I set their visibility to visible.


Detect cases when type system objects from multiple contexts are used…

… in combination. This is done via asserts around comparison operators which should be sufficient.

@dotnet-bot test Windows_NT Release

@dotnet-bot test Windows_NT Debug

@MichalStrehovsky PTAL

LGTM

@dotnet-bot test OSX Debug


The number of firing and resolved is so different

What did you do?
I uploaded the Dashboard for AlertManager on the Grafana.
What did you expect to see?
I wanted to see the number of firing received and resolved received.

Number of firing received
sum(alertmanager_alerts_received_total{status="firing"})
Number of resolved received  3
sum(alertmanager_alerts_received_total{status="resolved"})

What did you see instead? Under which circumstances?

The number of firing and resolved is so different. What's the reason?
Environment

System information:
Kubernetes v2.1.0

Alertmanager version: 0.19.0

Prometheus version: 2.30.1
insert output of prometheus --version here (repeat for each prometheus
version in your cluster, if relevant to the issue)

Alertmanager configuration file:

 config.yml: |-
    global:
    templates:
    - '/etc/alertmanager-templates/*.tmpl'
    route:
     group_by:
     - namespace
     group_wait: 10s
     receiver: slack_demo
     repeat_interval: 10s
     routes:
     - match:
        severity: fatal
       receiver: slack_demo
     - match:
        severity: critical
       receiver: slack_demo
     - match:
        severity: warning
       receiver: slack_demo
     - match:
        severity: info
       receiver: slack_demo

    receivers:
    - name: slack_demo
      slack_configs:
      - api_url: SLACK-WEEBHOOK-URL
        send_resolved: true
        channel: '#alertmanager'
        title: '[{{ .Status | toUpper }}{{ if eq .Status "firing" }}:{{ .Alerts.Firing | len }}{{ end }}] Monitoring Event Notification'
        text: >-
         {{ range .Alerts -}}
         *Alert:* {{ .Annotations.title }}{{ if .Labels.severity }} - `{{ .Labels.severity }}`{{ end }}

         *Description:* {{ .Annotations.description }}

         *Graph:* <{{ .GeneratorURL }}|:chart_with_upwards_trend:>

         *Details:*
          {{ range .Labels.SortedPairs }} • *{{ .Name }}:* `{{ .Value }}`

         {{ end }}
         {{ end }}

Prometheus configuration file:

prometheus.rules: |-
    groups:
    - name: container memory alert
      rules:
      - alert: container memory usage rate is very high( > 80%)
        expr: sum(container_memory_working_set_bytes{pod!="", name=""})/ sum (kube_node_status_allocatable_memory_bytes) * 100 > 80
        for: 1m
        labels:
          severity: fatal
        annotations:
          summary: High Memory Usage on
          identifier: ""
          description: " Memory Usage: "
    - name: container CPU alert
      rules:
      - alert: container CPU usage rate is very high( > 60%)
        expr: sum (rate (container_cpu_usage_seconds_total{pod!=""}[1m])) / sum (machine_cpu_cores) * 100 > 60
        for: 1m
        labels:
          severity: fatal
        annotations:
          summary: High Cpu Usage
         .
         .
         .
         .
 prometheus.yml: |-
    global:
      scrape_interval: 5s
      evaluation_interval: 5s
    rule_files:
      - /etc/prometheus/prometheus.rules
    alerting:
      alertmanagers:
      - scheme: http
        static_configs:
        - targets:
          - "alertmanager.monitoring.svc:9093"

I'm also facing this :(


Move buildbot to separate repo

Fixes #210.
Fixes #32.

FYI, the README still mentions a buildbot/ directory.


MJX V3.1.6 Python 3.8 Compatibility

Hi,
I believe that there may be an issue with MJX V3.1.6 when using Python 3.8. When importing mjx the following error occurs:
Python 3.8.10 (default, Nov 14 2022, 12:59:47)
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from mujoco import mjx
/usr/lib/python3/dist-packages/requests/__init__.py:89: RequestsDependencyWarning: urllib3 (2.2.1) or chardet (3.0.4) doesn't match a supported version!
  warnings.warn("urllib3 ({}) or chardet ({}) doesn't match a supported "
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.8/dist-packages/mujoco/mjx/__init__.py", line 18, in <module>
    from mujoco.mjx._src.collision_driver import collision
  File "/usr/local/lib/python3.8/dist-packages/mujoco/mjx/_src/collision_driver.py", line 48, in <module>
    from mujoco.mjx._src.collision_convex import box_box
  File "/usr/local/lib/python3.8/dist-packages/mujoco/mjx/_src/collision_convex.py", line 1053, in <module>
    collider_fn: Callable[[_GeomInfo, _GeomInfo], Collision],
TypeError: 'ABCMeta' object is not subscriptable

Adding the import from typing import Callable to collision_convex.py fixes the issue. However, from collections.abc import Callable is already imported. Their functionality is slightly different, so I wanted to confirm this fix.
This issue is mentioned here, but I created a new issue for visibility.
Thanks!

Good catch!  Yes, MJX should work on 3.8.  Pushing a fix shortly.


Decouple MeasurementPlugin.lvclass from the V1 service implementation

[x] This contribution adheres to CONTRIBUTING.md.

What does this Pull Request accomplish?
This change decouples MeasurementPlugin.lvclass from MeasurementService.lvclass.

The customer's MeasurementPlugin class used to inherit from the V1 MeasurementService class. This change severs that inheritance.
The customer's MeasurementPlugin class now inherits only from a MeasurementPlugin class that contains some shared, version independent logic. All of the typedef controls in MeasurementPlugin.lvclass that were V1 controls have been replaced with versionless controls.
An IMeasurementService interface and a MeasurementServiceV1 class that implements the interface were created. MeasurementServiceV1 contains a reference to the V1 service (the output of grpc-labview) and forwards calls to the V1 service. There are 6 methods that must be overridden to add support for a new service interface. Most of the shared logic has been added to the IMeasurementService interface so the 6 overrides will typically be trivial to implement.
The RunService.vi was refactored to allow handling any number of measurement services. All you have to do to add a new measurement service is to implement the IMeasurementService interface and drop the new class on the RunService.vi block diagram. I explored dynamically loading the concrete classes but there were several issues with built exes (they are solvable issues, but require additional changes).

This PR will be difficult to review with only screenshots. I would recommend pulling the changes and reviewing them that way. I would start with RunService.vi.
Why should this Pull Request be merged?
This is the first step to support both V1 and V2 measurement services in LabVIEW. Decoupling the customer's measurement from the V1 measurement is a requirement to allow easy upgrading to V2.
What testing has been done?
I ran the shipping examples to make sure they still work. I copied the new library to an existing machine with an existing V1 service and made sure it wasn't broken and still worked.

@pbirkhol-ni I don't see a facility yet to support streaming or writing multiple outputs. Is that ability to support both streaming and regular measurements another PR? Or did I miss something?

Consider adding banner text like 'IMeas' to these VIs.

Similar for the V1 service VIs

Consider adding banner text like 'IMeas' to these VIs.
Similar for the V1 service VIs

Done.


Add access_facet values

Closes #1202

Perhaps @mzelesky or @kevinreiss could take a look at this one

@christinach @kevinreiss temp access hathi. Ready for re-review.


Card Order Reset

Time Tracking: MA-174
From a user: I changed the order of the cards but when I reopened the app the cards order was changed back. Same thing for busyness, I put the gym one to the front but the next time I used the app, the order just changed back to default. This happened regardless of me logging in my account or not.

[x] Pull from upstream to get the latest code
[x] Checkout the feature branch
[x] Compile and run the code
[x] Reproduce the bug: https://ucsdcollab.atlassian.net/wiki/x/fAD4N

[x] Document steps to reproduce the issue as a Visitor
[x] Document steps to reproduce the issue as a Logged-In user

[x] Fix the bug
[x] Test locally on a device
[x] Create Pull Request

Updated the doc for clearer instructions and documentation


Onboarding control buttons (back/next etc) should be behind skip backup modal dialog

Description
Onboarding control buttons (back/next etc) should be behind skip backup modal dialog - which would make them appear faded on the screen and inaccessible when the modal is open
Bug was introduced when removing fixed positioning from dialog, which was done to allow us to display dialogs correctly in the storybook

Closed via https://github.com/LN-Zap/zap-desktop/pull/3123


Support Node.js v0.10.36

I'll answer https://github.com/fluct/fluct/issues/44.

Update to Babel 6

Add .baberc and babel-preset-es2015

Move bin/fluct is executable file to src/fluct.js

ES2015ize
Some gulp processes for this

Add import 'babel-polyfill' after shebang
Babelize
Create bin/fluct

@r7kamura: Please give me chocolate and write access.

@aycabta OK, now you are a member of administrators on this repo/org :+1:

BIG LOVE HAS COME


DNM: Rewrite non-constant non-objc partial applies.

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

@swift-ci please test

@swift-ci please test source compatibility

@swift-ci please benchmark

@swift-ci please test source compatibility debug

Build failed before running benchmark.

Build failed
Swift Test Linux Platform
Git Sha - d0f4cb18e332e5e3d01767101e241b8f8df587c6

Build failed
Swift Test OS X Platform
Git Sha - d0f4cb18e332e5e3d01767101e241b8f8df587c6


Use x.y.0 versions of the Go Toolchain only

How to categorize this PR?

/area dev-productivity
/kind enhancement
What this PR does / why we need it:
There were several cases where tests in pipelines failed because not every test images had the most recent patch level of golang.
go: go.mod requires go >= 1.22.2 (running go 1.22.0; GOTOOLCHAIN=local)

In these cases logs similar to the line above could be found.
Relevant issue we would like to have fixed are usually in golang itself and not in its toolchain, so this PR pins it to 1.22.0 and disables patch updates for the go directive in go.mod.
golang images are still updated.
Other projects like kubernetes and controller-runtime are using the same approach.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note:

NONE

/lgtm
/approve

I'm curious about two alternatives:

If we only specify the minor go version in go.mod we would instruct go to use a compatible toolchain version, so that CI images will need to be on the same minor version but patch version differences won't matter.

There have been some issues with that like for dependabot (ref).
Afaik, go x.y breaks forward compatibility (ref) starting with Go 1.21.0 too, because Go is not able to identify the toolchain in this case. Since Go 1.21 the toolchain name changed from go1.20 to go1.21.0 (ref).

If we specify GOTOOLCHAIN=auto or something like GOTOOLCHAIN=go1.22.0 in CI jobs, go will automatically use the right toolchain version.

We are setting the GOTOOLCHAIN=auto in golang-test image (ref). This works (most of the time) as expected 😄
However, according to our experiences the last weeks there are so many repositories using Gardener with so many pipelines that there are always cases where something breaks.
In practice checking the pipelines and updating the Go versions was often an additional burden to the person who updated the gardener/gardener dependency.

/cherry-pick release-v1.91


Can't use navigation keys (arrow keys, enter etc.)

Hey folks,
I am currently trying to integrate ninja-keys into my solidjs-app and tried to do so via the solid-wrapper as well as by using ninja-keys as standalone library. However
All basic navigation shortcuts on the modal don't seem to work for me (arrow keys, enter, esc etc.)
Any idea what I could be doing wrong?
// index.tsx
import { render } from 'solid-js/web'
import { Router } from '@solidjs/router'
import App from './App'
import './index.css'
import { hydrateStoresFromPersistence } from 'stores/hydrateStoresFromPersistence'
import CommandPalette from 'App/CommandPalette'

hydrateStoresFromPersistence()

render(
    () => (
        <Router>
            <App />
            <CommandPalette />
        </Router>
    ),
    document.getElementById('root') as HTMLElement
)

// CommandPalette
import { NinjaKeys } from 'solid-ninja-keys'

function CommandPalette() {
    return (
        <NinjaKeys
            hotkeys={[
                {
                    id: 'Overview',
                    title: 'Open Overview',
                    hotkey: 'cmd+o',
                    handler: () => {
                        console.log('navigation to overview')
                    },
                },
                {
                    id: 'Settings',
                    title: 'Open Settings',
                    hotkey: 'cmd+s',
                    handler: () => {
                        console.log('navigation to settings')
                    },
                },
            ]}
        />
    )
}

export default CommandPalette

Thanks in advance :)

seems to be an issue deep inside my code - not an issue with this lib

Hi @on3iro, just came across your issue too. Worked out that, at least for me, it was due to solidjs event delegation modifying the event target, which made the default hotkeys filter filter out events when focused on the command palette input.
I hope you found a workaround, but for anyone else that may have this issue, until (if) the fix gets merged, some possible workarounds include:

disable event delegation (globally)
put ninja-keys at the root of your app and before the rest of your app is loaded, so that it runs before any other components with keys event handlers are run - this makes it hotkeys-js hook up it's event listener on document before solid does.
set the hotkeys filter to be a function that returns true


Added an option to retrieve the CosmosAsyncClient used by the connector internally

Description
This PR adds an API com.azure.cosmos.spark.udf.CosmosAsyncClientCache.getCosmosClientFromCache(Map[String, String]).getClient . This Api allows Spark applications to reuse the same instance of CosmosAsyncClient used by the connector internally.
All SDK Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[x] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[x] Pull request includes test coverage for the included changes.

/azp run java - cosmos - spark

/azp run java - cosmos - spark

/azp run java - cosmos - spark

/azp run java - cosmos - spark

/azp run java - cosmos - spark


build: add kokoro configs for presubmit tests

Fixes #2294

Followup PRs will work towards getting the test passing

Added #2296 for tracking


Does vue-facing-decorator work with vue3-jest?

So far we've been using Vue 3 with "vue-class-component": "8.0.0-rc.1" and "vue-property-decorator": "10.0.0-rc.3". Now I was considering to update to vue-facing-decorator, but most of formerly working tests with vue3-jest fail now. Are there any experiences how to make them work together? Are there still compatibility issues?

I don't understand why to migrate to that project if is dead like vue-class-component

Is there an alternative?


Image assets are not generated if path is passed from loader

What version of Remix are you using?
1.1.1
What version of Node are you using? Minimum supported version is 14.
14.18.2
Steps to Reproduce
import { LoaderFunction, useLoaderData } from "remix";

import imageSrc from "./image.jpg";

export const loader: LoaderFunction = () => {
  return imageSrc;
};

export default function Index() {
  // This does not work
  // const imageSrc = useLoaderData<string>();
  // return ;

  // This works
  return ;
}

NOTE: Clear /public/build/, restart server, and Ctrl+F5 to force refresh.

Expected Behavior
Should generate image assets both times
Actual Behavior
String paths are generated both cases. When using loader to pass the path no assets are generated.

Seems to be working on 1.11.1 👍🏼


x86 stack overflow and test case improvements

Fixes two problems on x86:

User mode stack overflows were not being reported as such
Stack corruption could cause a kernel crash while unwinding it

The associated test case has been improved to test this scenario.
ARM and ARC also have the first issue, I filed #13342 and #13341

Codecov Report

Merging #13343 into master will decrease coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #13343      +/-   ##
==========================================
- Coverage   48.64%   48.63%   -0.01%
==========================================
  Files         319      319
  Lines       46537    46524      -13
  Branches    10756    10753       -3
==========================================
- Hits        22637    22628       -9
  Misses      19313    19313
+ Partials     4587     4583       -4

Impacted Files
Coverage Δ

arch/posix/core/fatal.c
0% <0%> (-20.69%)
:arrow_down:

kernel/include/kernel_structs.h
90% <0%> (-0.91%)
:arrow_down:

kernel/include/kswap.h
100% <0%> (ø)
:arrow_up:

arch/posix/core/posix_core.c
91.91% <0%> (+1.01%)
:arrow_up:

kernel/thread.c
87.24% <0%> (+2.63%)
:arrow_up:

Continue to review full report at Codecov.

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


Rancher K3S exit status 1 across multiple OS

All I am just placing this here to note that the current docker image fails with the same error and reasons across multiple OS: MacOS (16G RAM, 8CPU), AlmaLinux 8.5 & 9.X, Ubuntu 22.04 Server
This does not appear to be related to a docker version issue. Have run rancher about 6 months ago with no issues.
Error:
Status: Downloaded newer image for rancher/rancher:latest
2022/06/05 22:32:19 [INFO] Rancher version v2.6.5 (c4d59fa88) is starting
2022/06/05 22:32:19 [INFO] Rancher arguments {ACMEDomains:[] AddLocal:true Embedded:false BindHost: HTTPListenPort:80 HTTPSListenPort:443 K8sMode:auto Debug:false Trace:false NoCACerts:false AuditLogPath:/var/log/auditlog/rancher-api-audit.log AuditLogMaxage:10 AuditLogMaxsize:100 AuditLogMaxbackup:10 AuditLevel:0 Features: ClusterRegistry:}
2022/06/05 22:32:19 [INFO] Listening on /tmp/log.sock
2022/06/05 22:32:19 [INFO] Waiting for k3s to start
2022/06/05 22:32:20 [INFO] Waiting for server to become available: an error on the server ("apiserver not ready") has prevented the request from succeeding
2022/06/05 22:32:22 [INFO] Waiting for server to become available: an error on the server ("apiserver not ready") has prevented the request from succeeding
2022/06/05 22:32:24 [INFO] Waiting for server to become available: an error on the server ("apiserver not ready") has prevented the request from succeeding
2022/06/05 22:32:26 [INFO] Running in single server mode, will not peer connections
2022/06/05 22:32:27 [INFO] Applying CRD features.management.cattle.io
2022/06/05 22:32:27 [INFO] Waiting for CRD features.management.cattle.io to become available
2022/06/05 22:32:27 [INFO] Done waiting for CRD features.management.cattle.io to become available
2022/06/05 22:32:28 [ERROR] unable to create feature harvester in initialize features: Post "https://<IP_ADDRESS>:6443/apis/management.cattle.io/v3/features": unexpected EOF
2022/06/05 22:32:28 [FATAL] k3s exited with: exit status 1
On MacOS this is a fast fail, on the Linux variants it results in the same K3s exit
Results are the same from AlmaLinux (both versions 8.5 & 9) and Ubuntu 22.04 Server
INFO: Running k3s server --cluster-init --cluster-reset
2022/06/05 22:26:14 [INFO] Rancher version v2.6.5 (c4d59fa88) is starting
2022/06/05 22:26:14 [INFO] Rancher arguments {ACMEDomains:[] AddLocal:true Embedded:false BindHost: HTTPListenPort:80 HTTPSListenPort:443 K8sMode:auto Debug:false Trace:false NoCACerts:false AuditLogPath:/var/log/auditlog/rancher-api-audit.log AuditLogMaxage:10 AuditLogMaxsize:100 AuditLogMaxbackup:10 AuditLevel:0 Features: ClusterRegistry:}
2022/06/05 22:26:14 [INFO] Listening on /tmp/log.sock
2022/06/05 22:26:14 [INFO] Waiting for server to become available: Get "https://<IP_ADDRESS>:6444/version?timeout=15m0s": dial tcp <IP_ADDRESS>:6444: connect: connection refused
2022/06/05 22:26:16 [INFO] Waiting for server to become available: Get "https://<IP_ADDRESS>:6444/version?timeout=15m0s": dial tcp <IP_ADDRESS>:6444: connect: connection refused
2022/06/05 22:26:18 [INFO] Waiting for server to become available: Get "https://<IP_ADDRESS>:6444/version?timeout=15m0s": dial tcp <IP_ADDRESS>:6444: connect: connection refused
2022/06/05 22:26:20 [INFO] Waiting for server to become available: Get "https://<IP_ADDRESS>:6444/version?timeout=15m0s": dial tcp <IP_ADDRESS>:6444: connect: connection refused
2022/06/05 22:26:22 [INFO] Waiting for server to become available: Get "https://<IP_ADDRESS>:6444/version?timeout=15m0s": dial tcp <IP_ADDRESS>:6444: connect: connection refused
2022/06/05 22:26:24 [INFO] Waiting for server to become available: Get "https://<IP_ADDRESS>:6444/version?timeout=15m0s": dial tcp <IP_ADDRESS>:6444: connect: connection refused
2022/06/05 22:26:32 [INFO] Running in single server mode, will not peer connections
2022/06/05 22:26:32 [FATAL] k3s exited with: exit status 1
VMs for Linux are 2vcpu 8GRAM 80G NVME
This is perplexing as this error has been seen throughout 2021 and 2022 across the Rancher forum and here in GitHub among other forums.
Thoughts where to look?
Thanks

This seems to work, it's noted in the issues log but I think further investigation and mitigation in an official rancher container needs to be released, verified, certified.
docker run --privileged --rm -p 80:80 -p 443:443 oats87/rancher:v2.6.3-cgv2

That doesn't work for me. They should remove the docker way to run it as it appears it has never worked? At least in the past couple years from what I am reading.
docker run --privileged --rm -p 80:80 -p 443:443 oats87/rancher:v2.6.3-cgv2
[2022-06-09T22:31:17+00:00] [CgroupV2 Fix] Evacuating Root Cgroup ...
[2022-06-09T22:31:18+00:00] [CgroupV2 Fix] Done
2022/06/09 22:31:20 [INFO] Rancher version v2.6.3 (3c1d5fac3) is starting
2022/06/09 22:31:20 [INFO] Rancher arguments {ACMEDomains:[] AddLocal:true Embedded:false BindHost: HTTPListenPort:80 HTTPSListenPort:443 K8sMode:auto Debug:false Trace:false NoCACerts:false AuditLogPath:/var/log/auditlog/rancher-api-audit.log AuditLogMaxage:10 AuditLogMaxsize:100 AuditLogMaxbackup:10 AuditLevel:0 Features: ClusterRegistry:}
2022/06/09 22:31:20 [INFO] Listening on /tmp/log.sock
2022/06/09 22:31:20 [INFO] Waiting for k3s to start
time="2022-06-09T22:31:20Z" level=info msg="Acquiring lock file /var/lib/rancher/k3s/data/.lock"
time="2022-06-09T22:31:20Z" level=info msg="Preparing data dir /var/lib/rancher/k3s/data/e61cd97f31a54dbcd9893f8325b7133cfdfd0229ff3bfae5a4f845780a93e84c"
2022/06/09 22:31:21 [INFO] Waiting for k3s to start
2022/06/09 22:31:22 [INFO] Waiting for k3s to start
2022/06/09 22:31:23 [INFO] Waiting for k3s to start
2022/06/09 22:31:24 [INFO] Waiting for k3s to start
2022/06/09 22:31:25 [INFO] Waiting for k3s to start
2022/06/09 22:31:26 [INFO] Waiting for k3s to start
2022/06/09 22:31:27 [INFO] Waiting for k3s to start
2022/06/09 22:31:28 [INFO] Waiting for server to become available: an error on the server ("apiserver not ready") has prevented the request from succeeding
2022/06/09 22:31:30 [INFO] Waiting for server to become available: an error on the server ("apiserver not ready") has prevented the request from succeeding
2022/06/09 22:31:32 [INFO] Waiting for server to become available: an error on the server ("apiserver not ready") has prevented the request from succeeding
2022/06/09 22:31:39 [FATAL] k3s exited with: exit status 1


Can it be used normally? I want to use onedrive to upload files.

Can it be used normally? I want to use onedrive to upload files.

I dont really understand what you mean. Can you explain that further?
The service is used to back up your cloud files to some server.

I dont really understand what you mean. Can you explain that further?
The service is used to back up your cloud files to some server. So it just downloads all your cloud files like once a day and keeps the last 10 versions of your whole cloud.

I want to use net core to call onedrive to upload files to realize my own business backup scheme. It hasn't been found.

Do I understand you correctly that you want to upload files to OneDrive using .NET Core oder was?
This application only downloads your files.

I'm gonna close this issue. If you still have questions contact me again.

I'm gonna close this issue. If you still have questions contact me again.

I will use net core to upload files to onedrive.


Make hpack micro bm client initial metadata more representative

Make :path element not indexed as it is the current status
Add two binary headers (not indexed)
Fixed label printing

This will make the micro-benchmarks take longer.
On my workstation, encoding 215ns --> 455ns, decoding 186ns --> 761ns.

[trickle] No significant performance differences

[trickle] No significant performance differences

[trickle] No significant performance differences

[microbenchmarks] Performance differences noted:
Benchmark                          cpu_time    real_time
---------------------------------  ----------  -----------
BM_ErrorGetIntFromNoError          +7%         +7%
BM_ErrorGetStatusCode<ErrorNone>   +5%         +5%
BM_ErrorHttpError<ErrorCancelled>  +7%         +7%
BM_ErrorHttpError<ErrorNone>       +6%         +6%
BM_MetadataRefUnrefStatic          -4%         -4%

[microbenchmarks] Performance differences noted:
Benchmark                                    cpu_time    real_time
-------------------------------------------  ----------  -----------
BM_ErrorGetIntFromNoError                    +4%         +4%
BM_ErrorGetStatus<ErrorWithGrpcStatus>       +8%         +8%
BM_ErrorGetStatus<ErrorWithHttpError>        +5%         +5%
BM_MetadataRefUnrefExternal                  +5%         +5%
BM_MetadataRefUnrefStatic                    -16%        -16%
BM_PumpStreamServerToClient<InProcess>/256k  -5%         -5%

Flakes: #10763 #12618 #12510

This will be merged to #12946. Closing.


Node GUID is not set for VFs by SR-IOV Network Operator

The latest SR-IOV Network operator doesn't configure Node GUID for VFs. It means that rdma_cm functionality is broken on SR-IOV.
I’m testing ConnectX-6 and get such issue with VFs:
Server-side:
# ib_write_bw -d mlx5_0 -F -R --report_gbits
Client-side:
# ib_write_bw -d mlx5_0 -F -R --report_gbits <IP_ADDRESS>
Segmentation fault (core dumped)

dmesg has  following error:
[ 6587.951447] ib_write_bw[46826]: segfault at 0 ip 00007f3c957ef3b0 sp 00007fff4e973b10 error 4 in librdmacm.so.<IP_ADDRESS>[7f3c957e9000+15000]
ibstat output:
...
CA 'mlx5_8'
        CA type: MT4126
        Number of ports: 1
        Firmware version: xx.xx.xxxx
        Hardware version: 0
        Node GUID: 0x0000000000000000
        System image GUID: 0x0c42a10300c6cf52
        Port 1:
                State: Down
                Physical state: Disabled
                Rate: 25
                Base lid: 0
                LMC: 0
                SM lid: 0
                Capability mask: 0x00010000
                Port GUID: 0x983854fffeb4df3e
                Link layer: Ethernet
...

Everything works without rdma_cm  (-R flag for ib_write_bw). Issue is reproducible both with ConnectX-6 NIC.
Environment details:
SR-IOV Network Operator: master
OS: Ubuntu 20.04
Kernel: 5.4.0-100-generic
mlx5_core driver from kernel
ib_write_bw version: Version: 6.04

#268

Fixed by PR #326


Deploy Previews - Netlify

Is your feature request related to a problem? Please describe.
I remember in Denis's stream, Him mentioning that in many PRs that frontend seems to be altered or something he didn't want to be added or changed.
It would be a tedious procedure to go through the entire code to know if something in the frontend has changed and how it affects the overall application
Describe the solution you'd like
It would be great to have Netlify Deploy Previews, Previews will be created for every PR made, so you can easily visualize the changes that have been made, As it gets deployed and a URL is provided
Describe alternatives you've considered
An alternative would be to use Github Pages, but it's tedious as compared to Netlify, as it's just an App and you have to integrate it with the repo, while for the Github Pages you'd have to create an Action
Add additional instructions and considerations for the assignee
Reading material
Information/Instruction

Thanks for posting the issue. This sounds like a cool idea!

I think this has been added using Vercel, We can close this issue :)

We are using vercel.


Directive: v-link-delegate

An example for delegating v-link-delegate:

aVar is a HTML variable that contains inner links, e.g.

go to foo

We can't add v-link directive to this link since it is in a variable. My solution is adding a v-link-delegate directive to listen for link redirection.
page.js can handle the links very well since it captures every link redirection.
I am not sure whether it should be added to vue-router.

Sounds like a decent solution. I'd take a pull request.

@yyx990803 It seems we can merge v-link and v-link-delegate together.

v-link on div is a delegate obviously.

@lepture hmm, good idea!

I'm going to implement it.

:+1:

@yyx990803 Not sure how to implement the test case. The click function seems not working properly.

You can manually dispatch a fake click event:
function trigger (el, event) {
  var e = document.createEvent('HTMLEvents')
  e.initEvent(event, true, true)
  el.dispatchEvent(e)
}


Order of Building, Flashing, Running the Program

I kind of skipped the flashing part, does it make sense to talk about what flashing is, that it happens as part of running it out of VS Code, but leave out the command, for simplicity?

yes! there were several points of confusion where people weren't sure if the code was running on the board or what was happening.


Create property to manage cloud run attachments

TL;DR
gcloud run deploy offers add remove set and clear-cloudsql-instances flags. It seems that this should be a first class property like secrets and env's for this action.
Detailed design
This could be improved
      - name: 🚀 Deploy to Cloud Run
        id: deploy
        uses: google-github-actions/deploy-cloudrun@v0
        with:
          service: api
          image: gcr.io/...
          flags: |
            --set-cloudsql-instances=project:region:db
          env_vars: |
            A=B
          secrets: |
            /secrets/thing=thing:latest

to something like this
      - name: 🚀 Deploy to Cloud Run
        id: deploy
        uses: google-github-actions/deploy-cloudrun@v0
        with:
          service: api
          image: gcr.io/...
          env_vars: |
            A=B
          secrets: |
            /secrets/thing=thing:latest
          cloudsql: |
            project:region:db

Additional information
Then the correct flag could be generated based on the existing conventions for env_vars and secrets

Hi @steveoh - we're focused on supporting the most common fields. For more advanced use cases, please use the flags argument to specify extra gcloud flags for more advanced options.


[Fixes #3753] Change error message of Bundler/OrderedGems

To mention Alphabetize Gems.
Original error message:
Gem `rspec` should appear before `rubocop` in their gem group.

New error message:
Alphabetize gems: Gem `rspec` should appear before `rubocop` in their gem group.

Fixes #3753
Before submitting the PR make sure the following are checked:

[x] Wrote good commit messages.
[x] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Used the same coding conventions as the rest of the project.
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Added an entry to the Changelog if the new code introduces user-observable changes. See changelog entry format.
[x] All tests are passing.
[x] The new code doesn't generate RuboCop offenses.
[x] The PR relates to only one subject with a clear title
and description in grammatically correct, complete sentences.
[ ] Updated cop documentation with rake generate_cops_documentation (required only when you've added a new cop or changed the configuration/documentation of an existing cop).

@bbatsov Fixed as per your comment.

Fixed.


switch button scroll problem on android

I reproduced the issue #419 . Scroll problem with switch occurs in cordova application or in standard android browser,  when switch is in absolute positioned div with overflow auto/scroll.
Code: http://codepen.io/anon/pen/aDGbl

We are no currently planning on supporting the android browser the next release, and just going to focus on Chrome for Android.


Hello World In Qbasic

Haven't seen any QBASIC folder up there, I ant to add it.
Hey, maintainers can you please assign this issue to me so I can contribute !

please assign this issue to me. I will do it

please assign this issue to me. I will do it

It already exists , you can choose another weird language ❤


[BUG] C comment /**/ has trailing */

Describe the bug
When the TODOs are in the following form:
/* TODO: xxx */

The issue generated by todobot is titled as:
 xxx */

instead of xxx
To Reproduce
Steps to reproduce the behavior:

Go to anywhere in the source file
Add comment /* TODO */
Commit and push
See the generated issue in the corresponding repo

Expected behavior
todobot generates the issue titled xxx without trailing */
`
Screenshots

I understand that there are many ways to avoid this problem such as modifying the one-line comment to multi-line comment, or like changing the settings of todobot. But I believe as long as todobot supports C, it should handle this thing without bothering changing the source code. I almost know nothing about building Github bot or javascript, so I'd really appreciate it if anyone can help fix this!

Hey @tjysdsg - thanks for opening this. Frankly, there's not a lot that can be done here without targeting these cases very specifically.
todo parses the diff as a string, not as a language AST - this is to be language agnostic. That means that it has no concept of comments: where they start or end. So, we can certainly say "if the title ends with */, remove it" - but that may break other use cases where that's intentional and used in a different language. I'm open to discussing it, or just adding a trimFromEnd config or something.

Got it, I'll just change my config for now.

I'm going to close this for now @tjysdsg because there is nothing actionable, but if you're still interested in talking about a trimFromEnd config feel free to open another issue!


updated README.md of 3_MPU

Here are some improvements in the README.md

Added better gif
Made some parts like gyroscope more elaborative
Complimentary filter explained

Please reopen PR with simply the readme commits, this one seems filled with others.


Access User Input Media Stream

UserMedia.open( stream => _stream = stream )
Currently UserMedia marks the stream as private _stream. Ideally, I would like to capture the stream, create a mediaStreamSource and connect it to an Analyzer. This is to visualize and or assess the input coming in.
Maybe you have something that does this is already?
I have accessed it by typescript using stream['_stream'];
https://github.com/Tonejs/Tone.js/blob/dev/Tone/source/UserMedia.ts

Wrapping the media stream into a mediaStreamSource is exactly what the class currently does. Could you connect the UserMedia directly to an Analyser? something like this:
const um = new UserMedia();
const analyser = new Analyser();
um.connect(analyser);
await um.open()


Verifypeer Vulnerability

https://github.com/Beanstream/beanstream-php/blob/master/src/Beanstream/communications/HttpConnector.php#L76
See http://www.publicsafety.gc.ca/cnt/rsrcs/cybr-ctr/2011/in11-003-eng.aspx

Resolved via https://github.com/Beanstream/beanstream-php/commit/204b68284755f1d46fe8c943721fbb692af09566

Thx.

@grantpalin can you take a release for packagist?

Bump This still needs a tagged release; not everyone runs dev-master.


Models completed

Finished sight city restaurant and suer models

OMg thank you so much

I worked hard on that!!!


Scott encoding laziness tests

Do we have tests verifying the laziness of zero arg constructors, like PNothing? If not, we should add them.

Nope!


can mix 2 type of Auido

Hi thanks for developing this amazing Library , great but can use this for mixing 2 type of song like mp3 and AAC ?
tnx in advanced

pls answer , i have same problem


unable to start cmder on directory

i can't launch cmder terminal on directory or file.
"launcher.terminal": {
"description": "Cmder (item)",
"parameters": "/start %item_path%",
"executable": "E:\cmder\Cmder.exe"
} (not work)
"launcher.terminal": {
"description": "Cmder (workspace)",
"parameters": "/start %workspace%",
"executable": "E:\cmder\Cmder.exe"
} (not work)
"launcher.terminal": {
"description": "Cmder (workspace)",
"parameters": "/start",
"executable": "E:\cmder\Cmder.exe",
"startIn":"%item_path%"
} (not work)
how can i solve this problem ?

An executable should be full executable path with an extension. Take a look to #2.


Any document for migrating bot in nodejs from v3 to v4?

This does not currently exist but it is something we are looking to add in the future.

Any update on this ?


Outdating Containers

I try to start some containers and get the issue that the container image is over 90 days old.
Then I remove these containers with
docker stop NAME
and
docker rm NAME
and
docker rmi IMAGE ID
If I try to start the containers, the images will be downloaded again, but i receive the same issue again: "The container is over 90 days old".
How can I fix that?

microsoft/dynamics-nav   2018-cu12-fi-ltsc2016   ef54871df619        3 months ago        18.1GB
microsoft/dynamics-nav   2016-cu12-de-ltsc2016   869db40c22bb        3 months ago        16.5GB

Use mcr.microsoft.com/dynamicsnav:tag
Få Outlook til iOShttps://aka.ms/o0ukef

Fra: elweilando<EMAIL_ADDRESS>Sendt: Tuesday, June 11, 2019 8:17:06 AM
Til: microsoft/nav-docker
Cc: Subscribed
Emne: Re: [microsoft/nav-docker] Outdating Containers (#378)
microsoft/dynamics-nav 2018-cu12-fi-ltsc2016 ef54871df619 3 months ago 18.1GB
microsoft/dynamics-nav 2016-cu12-de-ltsc2016 869db40c22bb 3 months ago 16.5GB
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fnav-docker%2Fissues%2F378%3Femail_source%3Dnotifications%26email_token%3DACSGUA5IRQ4FBVOC67H4VVLPZ47OFA5CNFSM4HW2YEXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXMB3JA%23issuecomment-500702628&data=02|01|freddy.kristiansen%40microsoft.com|956e23e846fc484e5a0e08d6ee346dc6|72f988bf86f141af91ab2d7cd011db47|1|0|636958306287527099&sdata=QIkGh%2FpLeTQxYJAn8Y%2FtWKw%2BXFkCefSuq%2FEz0kwN1G8%3D&reserved=0, or mute the threadhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FACSGUAY6BLQ76CC62QNVQALPZ47OFANCNFSM4HW2YEXA&data=02|01|freddy.kristiansen%40microsoft.com|956e23e846fc484e5a0e08d6ee346dc6|72f988bf86f141af91ab2d7cd011db47|1|0|636958306287527099&sdata=FYwKXdWIiuX9TOutxgM%2BnDWQ2AP%2FxCxyc56Rm1a17OM%3D&reserved=0.

Sorry, wrong reply. In order to run old containers you need to specify -accept_outdated -
Få Outlook til iOShttps://aka.ms/o0ukef

Fra: Freddy Kristiansen
Sendt: Tuesday, June 11, 2019 10:12:08 AM
Til: microsoft/nav-docker; microsoft/nav-docker
Cc: Subscribed
Emne: Re: [microsoft/nav-docker] Outdating Containers (#378)
Use mcr.microsoft.com/dynamicsnav:tag
Få Outlook til iOShttps://aka.ms/o0ukef

Fra: elweilando<EMAIL_ADDRESS>Sendt: Tuesday, June 11, 2019 8:17:06 AM
Til: microsoft/nav-docker
Cc: Subscribed
Emne: Re: [microsoft/nav-docker] Outdating Containers (#378)
microsoft/dynamics-nav 2018-cu12-fi-ltsc2016 ef54871df619 3 months ago 18.1GB
microsoft/dynamics-nav 2016-cu12-de-ltsc2016 869db40c22bb 3 months ago 16.5GB
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fnav-docker%2Fissues%2F378%3Femail_source%3Dnotifications%26email_token%3DACSGUA5IRQ4FBVOC67H4VVLPZ47OFA5CNFSM4HW2YEXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXMB3JA%23issuecomment-500702628&data=02|01|freddy.kristiansen%40microsoft.com|956e23e846fc484e5a0e08d6ee346dc6|72f988bf86f141af91ab2d7cd011db47|1|0|636958306287527099&sdata=QIkGh%2FpLeTQxYJAn8Y%2FtWKw%2BXFkCefSuq%2FEz0kwN1G8%3D&reserved=0, or mute the threadhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FACSGUAY6BLQ76CC62QNVQALPZ47OFANCNFSM4HW2YEXA&data=02|01|freddy.kristiansen%40microsoft.com|956e23e846fc484e5a0e08d6ee346dc6|72f988bf86f141af91ab2d7cd011db47|1|0|636958306287527099&sdata=FYwKXdWIiuX9TOutxgM%2BnDWQ2AP%2FxCxyc56Rm1a17OM%3D&reserved=0.

Thank you, that works.
But why is this container outdated? I removed the images bevor from my local machine. Comes the outdated from the microsoft docker repository or are there still come caches on my local machine?

We do not rebuild all 10000 images every month.
I typically rebuild the generic image every 1-2 months and all images are using the latest generic image.
In fact we will likely not rebuild "old" images again - meaning that they will run on old versions of ServerCore - if you want to force a new servercore you will need to use -usegenericimage to specify a generic image to replatform to.
New versions of supported NAV or Business Central will be build on new generic images.


android:sharedUserId is deprecated

From the Andoid docs:

This constant was deprecated in API level 29.
Shared user IDs cause non-deterministic behavior within the package manager. As such, its use is strongly discouraged and may be removed in a future version of Android. Instead, apps should use proper communication mechanisms, such as services and content providers, to facilitate interoperability between shared components.

https://developer.android.com/guide/topics/manifest/manifest-element#uid
Is there an alternative way of providing shared data across applications that we can use?
Perhaps the README should be updated to warn that this feature might go away in a future Android release.

Hey @szh
Thanks for let it me know, actually there are other ways of providing share data across applications, we can mention AIDL to implement a IPC, more info here: https://developer.android.com/guide/components/aidl
Right now there is no plan to implement it on this plugin but a PR is more than welcome.
Leaving this issue open for visibility.


replace gulp-util dependency

Hi,
This PR replaces deprecated dependency gulp-util
See:

https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
https://github.com/gulpjs/gulp-util/issues/143

Dear @demurgos,
Would you mind please merging this PR ?
Many thanks

Thanks all. This may be pre-existing bug.
It appears the sync/async tests are not terminating, due to newer behavior in Mocha: https://boneskull.com/mocha-v4-nears-release/#mochawontforceexit
We're seeing the new mocha due to upgraded Node. It's possible that older node/mocha combos also exhibit this behavior if --no-exit is passed in. This is worth testing to confirm.
See https://gist.github.com/boneskull/7fe75b63d613fa940db7ec990a5f5843
We can change npm test to force exit.
Or we can find what the underlying issue is:
Type: PROCESSWRAP
Error
    at AsyncHook.init (tmp/async-dump.js:12:62)
    at Process.emitInitNative (async_hooks.js:472:43)
    at new ChildProcess (internal/child_process.js:171:18)
    at Object.exports.spawn (child_process.js:498:15)
    at PassThrough.stream._transform (index.js:38:20)
    at PassThrough.Transform._read (_stream_transform.js:186:10)
    at PassThrough.Transform._write (_stream_transform.js:174:12)
    at doWrite (_stream_writable.js:387:12)
    at writeOrBuffer (_stream_writable.js:373:5)
    at PassThrough.Writable.write (_stream_writable.js:290:11)
    at Context.<anonymous> (tests/streamSync.js:77:11)

Type: PIPEWRAP
Error
    at AsyncHook.init (tmp/async-dump.js:12:62)
    at Pipe.emitInitNative (async_hooks.js:472:43)
    at internal/child_process.js:848:20
    at Array.reduce (<anonymous>)
    at _validateStdio (internal/child_process.js:825:17)
    at ChildProcess.spawn (internal/child_process.js:270:11)
    at Object.exports.spawn (child_process.js:502:9)
    at PassThrough.stream._transform (index.js:38:20)
    at PassThrough.Transform._read (_stream_transform.js:186:10)
    at PassThrough.Transform._write (_stream_transform.js:174:12)
    at doWrite (_stream_writable.js:387:12)
    at writeOrBuffer (_stream_writable.js:373:5)
    at PassThrough.Writable.write (_stream_writable.js:290:11)
    at Context.<anonymous> (tests/streamSync.js:77:11)

@hparra
Thanks for merging and looking into this issue.
By the way, if you look for maintainers you may be interested by the Gulp community organization. Repositories in this organization are still owned by the original authors (code style, license, npm publication) while granting access to members of the Gulp team to help with maintenance.


How do I change the icon on every step?

Currently it is set once in the config, is there anyway I can choose which icon shows for which step

Sorry @mattg1995 there is no way to do that currently, but i will add it to my to-do list.


Add missing return to stop plugin in case of empty input

What does the code in this PR do / what does it improve?
This PR fixes a problem with empty input chunks to the PMTResponseAndDAQ plugin. Before this fix, the iteration for empty chunks was not properly stoped leading to data not continuous problems.
Can you briefly describe how it works?
I added the missing return to the empty input case of the PMTResponseAndDAQ plugin.
Please include the following if applicable:

[x] Bump plugin version(s)
[ ] Tests to check the (new) code is working as desired.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

1 of 2 (50.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.02%) to 71.482%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

fuse/plugins/pmt_and_daq/pmt_response_and_daq.py
1
2
50.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.02%

Covered Lines:
2108

Relevant Lines:
2949

💛  - Coveralls


Sleeping Dogs Definitive Edition crashes when loading new game

The game boots to menu but crashes almost immediately upon starting a new game or running the benchmark.
Software information
Sleeping Dogs Definitive Edition
Medium preset and lowest
System information

GPU: GTX 960
Driver: 396.24.0
Wine version: Patched Wine 3.8
DXVK version:  3b70e23

Apitrace file(s)

https://drive.google.com/open?id=1M4wOl8sJnlo3niYSkcLOIO8975j5FIzW

Log files

sdhdship_d3d11.log
sdhdship_dxgi.log

Thanks for providing the trace, fc8573891e1532489c7ed98825af200c1060f3a9 should fix the issue. Please let me know if there are still issues.

@doitsujin

Please let me know if there are still issues.

Randomly crashing, no errors in logs and dumps, I spent entire hour with validation layers enabled (~5fps) and had no luck to catch it. Now with the second try I finally caught it, but this is the only information I have. Hope it will be helpful.
vulkanlog.txt

@pchome that issue is unrelated. Seems like something's wrong with queries, but i'm unable to reproduce it with the apitrace and I have no idea why this might happen.

@doitsujin how to fix that problem with that vertex attribute

i got the same problem, how to fix?

Please open a new issue. Whatever was the problem here was fixed almost 4 years ago.


type connection

Hi ,
I don't see in the menu the possibility to use different type connection (jdbc,odbc and jndi).

This dialog is actually resizable. You can resize it by drag&drop the bottom right corner of the dialog.

Yes . is no a bug is only a tip .It's sometimes complicated to resizable the window ...

I agree. It is difficult to know if it is resizable or not.
This dialog only has a close button, but not a maximize button. It'd be better to have one.


chore: rename uBOND to stakingShare

Resolves #495

CI/CD must pass before we can fully review!
Ackwnoledge!