Remove with-vorbis and with-tremor features

As discussed in #648, recently put forward by @sashahilton00 in #734 and helpful in #727.
This may ruffle some feathers. As far as I know, LibreELEC compiles with-vorbis [1] and Spotifyd with-tremor [2]. On both accounts I don't see why. For LibreELEC I asked @heitbaum over at #681:

I just checked and compiling with-vorbis only saves 167 kB. Likewise the slight boost in performance will be neglible. At the same time, the bindings are unmaintained and only pass integer samples instead of the floats they were originally in, causing quantization error and lower sound quality. Finally, there is no Rust-unsafe code in lewton. So there's a lot to say about moving to lewton and nothing of significance for keeping libvorbis as I can see.

As for lewton, the lowest-performance hardware that librespot targets has recently been set to be Raspberry Pi Zero. Which has hard float support and so has no need for tremor. In fact even the original RPi v1 had hard float support so I can't imagine which hardware is targeted here.
Please chime in if you think this would be a bad idea.
[1] https://github.com/LibreELEC/LibreELEC.tv/blob/master/packages/addons/service/librespot/package.mk
[2] https://github.com/Spotifyd/spotifyd/blob/master/Cargo.toml

For reference: https://github.com/Spotifyd/spotifyd/issues/37#issuecomment-278672761. But I don't think this applies nowadays.

Yes if the sole reason was to workaround a bug in lewton back in 2017, then obviously that has been fixed since then.

Failing on apresolve::test::test_apresolve_port_443 is a new one. Probably transitive? Will go ahead with merging if the others pass.

Seems like a dns error

the lowest-performance hardware that librespot targets has recently been set to be Raspberry Pi Zero. Which has hard float support and so has no need for tremor. In fact even the original RPi v1 had hard float support so I can't imagine which hardware is targeted here.

I think I added tremor in order to support some MIPS devices that did not have hardware floating point. I'm not at all saying it should be kept, just wanted to add some context.

This may ruffle some feathers. As far as I know, LibreELEC compiles with-vorbis [1] and Spotifyd with-tremor [2]. On both accounts I don't see why. For LibreELEC I asked @heitbaum over at #681:

I have just raised the PR for LIbreELEC for 0.3.1 - just asked our forum for someone to test. All updated with your vorbis cleanups 👍 https://github.com/LibreELEC/LibreELEC.tv/pull/5891 and https://github.com/LibreELEC/LibreELEC.tv/pull/5892


Set keychain key on iOS, access on Apple Watch (watchOS 2)?

Is it possible to set a keychain key on iOS and get it on Apple Watch? would iCloud keychain need to be set in the settings.

Looking through your Readme i found this:
let keychain = Keychain(service: "com.example.github-token")
do {
try keychain
.synchronizable(true)
.set("01234567-89ab-cdef-0123-456789abcdef", key: "kishikawakatsumi")
} catch let error {
print("error: (error)")
}
What is service:
All I want to do is set a key on iOS and retrieve it on Apple Watch.

Also whats the difference between:

let token = keychain["kishikawakatsumi"]

let token = keychain[string: "kishikawakatsumi"]

let token = try? keychain.get("kishikawakatsumi")

let token = try? keychain.getString("kishikawakatsumi")

1 and 2 are same, just syntax sugar. 3 and 4 also same.
1, 2 and 3, 4 almost same other than try?. Return value of 3, 4 is String?? since you use try?. I don't recommend.

Well my key is a string and value back is a string. but I'm not sure if its nil. Which method do I use. I tried
    keychainRemoveAdsString  = try? keychain.get(removeAdsKey)

but its forcing me to wrap it like this:
keychainRemoveAdsString  = try? keychain.get(removeAdsKey)!
then it crashes because key is empty.

if let keychainRemoveAdsString  = keychain[removeAdsKey] {

}

Can’t do that I need my variable elsewhere in the code.

On Oct 20, 2015, at 1:14 AM, kishikawa katsumi<EMAIL_ADDRESS>wrote:
if let keychainRemoveAdsString  = keychain[removeAdsKey] {
}

What do you mean? I cannot understand what you want to do.
Or you can use guard syntax.
guard let keychainRemoveAdsString = keychain[removeAdsKey] else {
    return
}

print(keychainRemoveAdsString)

I don't want to define my variable at that point. I'm defining keychainRemoveAdsString on a class scale. So at that point I want to SET my variable and its ok if its nil but your try? causes a crash

Ah funny that just doing keychainRemoveAdsString  = keychain[removeAdsKey] works without crash

I don't think this issue is closed. We got side-tracked by other issues but I still can NOT set a key on iOS (iPhone) and retrieve it on Apple Watch. Can we detail the exact steps required?
Here is my snippet:
On iOS:
let keychain = Keychain(service: "AG.Chronic")
// Set KeyChain Value
do {
try keychain
.accessibility(.Always)
.synchronizable(true)
.set(proVersionKeyValue, key: proVersionKey)
} catch let error {
print("error: (error)")
}
on watchOS:
let keychain = Keychain(service: "AG.Chronic")
keychainProVersionString = keychain[proVersionKey]
not sure if its not working because of simulator not having iCloud keychain functionality or I'm missing something. Do we need keychain sharing capability to be on with WatchOS 2?

Apple wrote "No iCloud Keychain" in the Presentation Slides of "WatchKit In-Depth, Part 2 - WWDC 2015 - Session 208 - watchOS".

Ah this is so frustrating. So how does one successful recognize in-app purchases on Apple Watch. Currently I'm saving a key to keychain and on iOS 9 using updateApplicationContext to tell Apple Watch to save the same key on its keychain. This doesn't work for iOS 8, any suggestions?

@acegreen Using watchOS 2 w/ iOS 8 is not supported by Apple.
Latest Apple's document that updated after release of watchOS 2 says:

To use your Apple Watch, you need to pair it with an iPhone 5 or later running iOS 9 or later.

It needs WatchKit 1 app to supporting Apple Watch on iOS 8.

Oh that changes things. So technically my app updates with the new watch kit structure are then only available to users on WatchOS2 and therefore iOS9?
Thats GREAT news!!!
Thanks for the heads up

On Oct 21, 2015, at 8:57 AM, Norio Nomura<EMAIL_ADDRESS>wrote:
@acegreen https://github.com/acegreen Using watchOS 2 w/ iOS 8 is not supported by Apple.
Latest Apple's document https://support.apple.com/en-us/HT204505 that updated after release of watchOS 2 says:
To use your Apple Watch, you need to pair it with an iPhone 5 or later running iOS 9 or later.
It needs WatchKit 1 app to supporting Apple Watch on iOS 8.
—
Reply to this email directly or view it on GitHub https://github.com/kishikawakatsumi/KeychainAccess/issues/151#issuecomment-149886324.

iCloud keychain seems to be supported by watchOS now, does that mean this framework will work without having to transfer the info through watch connectivity and restore it on the watch side?

I was attempting to do the same thing. However the part that needs to work is the iCloud Synchronizing for it move the data like we are wanting.
According to the current Apple Docs, in the notes under the Storing Data Securely in the Keychain

NOTE
The kSecAttrSynchronizable key is not available in watchOS.

Without that, the WatchOS can't get the keychain data you've stored over on the iOS side.
So I don't believe that's possible at this time.


Create Simulation with Prints to Show CRC Working (Presentation for Dr. K)

I can provide print statements, however, without that bug being resolved it doesn't show much other than the CRC register pretty much 'copying' the input data.


Provide an alternative to detachedConfiguration

Context
Detached configurations are often used to resolve dependencies in a particular, transient, context. For example, a task may need to download dependencies for its own use and pass them to the execution context (JavaExec or whatever):
        project.tasks.register("javaExecGreeting", JavaExec) {
            def groovyRuntime = project.configurations.detachedConfiguration(
                    dependency(project, "org.codehaus.groovy:groovy:2.5.6"),
                    dependency(project, "com.acme:groovy-ext-module:1.0")
            )
            it.classpath(groovyRuntime, new File(GreetingPlugin.protectionDomain.codeSource.location.toURI()))
            it.main = "com.acme.plugin.GroovyShellAction"
            it.args("Hello, Groovy")
        }

This works, but only because we're relying on the fallback behavior of dependency resolution, that is to say resolving to the default target configurations of the components.
Instead, we should have a more meaningful, semantic wise, method, like:
project.configurations.javaRuntimeDetachedConfiguration(...)

which would set the appropriate attributes for the classic "runtime" usage. It would also be nice if such a method actually also allowed to provide a name for the detached configuration.

Still relevant in 6.8.2 :-)

Would I please ask that every API that creates a detached configuration must have as a mandatory parameter for configuration name or description?
It is really sad to see root project > Resolve dependencies of detachedConfiguration18 in 2021.
See https://github.com/gradle/gradle/issues/17095

The whole topic of detached configuration needs a thorough analysis to understand use cases before proposing a better alternative.
Closing this as for now there is no concrete plan in that direction.


The move from @objc public protocol to @swift public protocol

So far I've noticed almost all the cocoapod libraries I use are migrating fully to Swift 3.
With these migrations, most of the maintainers have changed their delegates and enums.
From
@objc public protocol EPPickerDelegate { // NOTICE THE @objc
    optional    func epContactPicker(_: EPContactsPicker, didContactFetchFailed error: NSError)
    optional    func epContactPicker(_: EPContactsPicker, didCancel error: NSError)
    optional    func epContactPicker(_: EPContactsPicker, didSelectContact contact: EPContact)
    optional    func epContactPicker(_: EPContactsPicker, didSelectMultipleContacts contacts: [EPContact])
}

To
public protocol EPPickerDelegate { // NOTICE THE MISSING @objc
    optional    func epContactPicker(_: EPContactsPicker, didContactFetchFailed error: NSError)
    optional    func epContactPicker(_: EPContactsPicker, didCancel error: NSError)
    optional    func epContactPicker(_: EPContactsPicker, didSelectContact contact: EPContact)
    optional    func epContactPicker(_: EPContactsPicker, didSelectMultipleContacts contacts: [EPContact])
}

The result of this is that the ios-runtime completely ignores the EPPickerDelegate and throws undefined when trying to do anything with it.
Are there plans to remedy this in the future or do we need to egg on the maintainers to support legacy code?

@roblav96 Your best solution is to wrap the Swift APIs in Objective-C classes which are visible by the iOS Runtime and consume them from JavaScript.
Currently, we haven't planned to invest any effort on implementing JavaScript to Swift bridge, but we are open to discuss the idea with the community. It would be helpful if more people are involved in the discussion and share their opinion.

@ivanbuhov How does one go about wrapping these API's in objc? Does it require the original author to maintain these wrappers or is this something I can merge in a headers file of some sort?

The most future-proof projects are ones written in Swift. In the past two years, Swift usage has expanded to being utilized for a third of all open source Cocoa projects. In the next four years, at that pace, it will be equal to Objective-C. Also the majority of all new tutorials and blogs are being written in Swift already.
ultimate-guide-choosing-objective-c-or-swift - Apr 19, 2016

It's a bit alarming to hear that there are no plans to remedy future-proofing API's written in swift.

I edited my previous answer

@roblav96 After releasing Swift the same problem exists for Objective-C developers - how to consume Swift APIs from Objective-C code. To make Swift APIs visible by the Objective-C runtime you have to mark them with @objc attribute or to derive from Objective-C interface. You can read more here. All APIs consumable from Objective-C are automatically consumable by NativeScript. However, there are Swift libraries exporting APIs not consumable from Objective C (respectively not consumable from NativeScript) like the EPPickerDelegate protocol.
To consume these APIs I suppose creating and maintaining a native Swift library which links against the original one and serves the purpose of proxy library. This library should expose to the Objective-C runtime the missing APIs. It is not needed to wrap the whole library but only the APIs used by the application. In some cases even may be easier to write a part of the application logic in Swift and expose a single function to be called from JavaScript.

@ivanbuhov I see what you're saying. It sounds like it would be difficult to keep up with the maintainers swift code if I need to change my wrappers everything they make an update.
I ended up going through the swift libraries and modifying classes, enums, and delegates with @objc.
I also noticed that in order to get some classes to work with @objc and Swift3 I had to add NSObject to the classes inheritants. @NathanWalker for helping with the quirks and such 👍
https://github.com/ipraba/EPContactsPicker/pull/33/files


Portfolio Deployment

Added Link in readme file in Portfolio Project

@Ibizugbe
May be I need more clarification on this required changes because if you see well on this blanch on the read me file I have added
live demo in line 57 and it is working.
if possible you can check it again

Hello @manzitresor 👋👋 Very sorry about the inconviniences, I actually didn't see it initially🥲. I suggest you kindly follow the template and add it to the live demo section of your readme file to make it more visible👍.

@Ibizugbe ok thanks for clarification now I have made those changes .
thank you!!

Hi @manzitresor  ,
Congratulations! 🎉
Your project is complete!
It's time to merge it :trophy:
Optional suggestions

[ ] Use descriptive commit messages for your coming projects, as it helps to keep your work well documented and it can help when using git commands such as git bisect
[ ] Make your Pull Request description more detailed to explain what the reviewer should expect for this review summarizing the work done

Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


Unable to download SBT from official website (India)

(See the guidelines for contributing, linked above)
steps

Go to http://www.scala-sbt.org/download.html
Click on any download link.
Wait for the file to download completely (100%) - which it fails to. It stops after about 10-15 MB of the 55 MB download and throws a "Network Error" message.

problem
I am facing this issue from Pune, India. It's frustrating. I am not able to download the SBT from the official website. After about 25% download completion, it fails due to a "Network error". My internet is working perfectly fine, I've tried different browsers. My friend is facing the same problem from a different machine / ISP in Bangalore. Something is definitely wrong with the website download link.
I have tried downloading the MSI and the ZIP, latest and prior versions. I am setting this up on my Windows 10 system. All links behave in the same erroneous way. Downloads from other websites work perfectly.
expectation
Download from official website to a Windows 10 system should complete fine on either Chrome or Firefox.
notes
sbt version: insert sbt version

I could finally download a really old version thanks to the links on this post: https://github.com/sbt/sbt/issues/3108
Link: https://downloads.typesafe.com/sbt/0.13.15/sbt-0.13.15.msi
But now after installing, the launch at command line fails. Error message:
            [SUCCESSFUL ] org.scala-sbt#template-resolver;0.1!template-resolver.jar (1045ms)

:: problems summary ::
:::: WARNINGS
[FAILED     ] org.scala-lang#scala-library;2.10.6!scala-library.jar: Downloaded file size doesn't match expected Content Length for https://repo1.maven.org/maven2/org/scala-lang/scala-library/2.10.6/scala-library-2.10.6.jar. Please retry. (438444ms)
            [FAILED     ] org.scala-lang#scala-library;2.10.6!scala-library.jar: Downloaded file size doesn't match expected Content Length for https://repo1.maven.org/maven2/org/scala-lang/scala-library/2.10.6/scala-library-2.10.6.jar. Please retry. (438444ms)

    ==== Maven Central: tried

      https://repo1.maven.org/maven2/org/scala-lang/scala-library/2.10.6/scala-library-2.10.6.jar

            ::::::::::::::::::::::::::::::::::::::::::::::

            ::              FAILED DOWNLOADS            ::

            :: ^ see resolution messages for details  ^ ::

            ::::::::::::::::::::::::::::::::::::::::::::::

            :: org.scala-lang#scala-library;2.10.6!scala-library.jar

            ::::::::::::::::::::::::::::::::::::::::::::::

:: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
download failed: org.scala-lang#scala-library;2.10.6!scala-library.jar
Error during sbt execution: Error retrieving required libraries
(see C:\Users\shrutijalali.sbt\boot\update.log for complete log)
Error: Could not retrieve sbt 0.13.15
D:\scala projects\Filesearcher>


query beginning/ trying out three.js

adds junit dependencey to pom.xml
includes new html webpage showing rotating cube in three.js

deployed!


Admin Browser (broken link) and related question

Broken Link
I think the wrong URL has been given for the admin browser on the Update Your Profile page. The route given is http://yoursite.com/adminbrowser/index?path= instead of http://yoursite.com/admin/browser/index?path=

In the vendor.js file, I basically replaced every place that has
this.prefix + "browser/..."

with
this.prefix + "/browser/..."

And everything works fine now.

@dqfan2012 So to clarify, what link exactly is not working right now on the Update Profile page?

When you click the button for uploading your resume. Look at the console log. It'll display the error.

Aha perfect. Thanks, that is something we can resolve shortly.
@talvbansal Since we utilize the Media Manager on the Update Profile page, could you make the update to support the latest release?

Hi all!
Sorry for the late reply - I've had a look into this and whilst there is another issue that's occurred in the latest update it seems to me that this part is fine?
I've just pushed up a new branch to the easel repo and am going to give it another look over tomorrow before submitting a PR.
Thanks

PR Submitted


Regex module and pattern

Thanks for this handy tool! I was searching for something like that for my own markdown-workflows and it seems to work like a charm. 👍
While looking at the code (branch: py3) I got to the point, where the regex for links is compiled.
I failed at understanding this line:
r'(?i)\b((?:https?://|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}/)(?:[^\s()<>]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:\'".,<>?«»“”‘’]))'

I don't know if this pattern is highly optimized or just overly complex for my eyes but I searched for alternative approaches and I found this (https://stackoverflow.com/questions/25109307/how-can-i-find-all-markdown-links-using-regular-expressions):
(?|(?<txt>(?<url>(?:ht|f)tps?://\S+(?<=\P{P})))|\(([^)]+)\)\[(\g<url>)\])

This one can only be used with the regex module (https://pypi.python.org/pypi/regex) and its functionality is shown here: https://regex101.com/r/mL3hA8/1
Does this lead to the same output or are there links dropped which the current implementation is handling?

hey @pwab thanks for the heads up!
parsing urls on texts were very hard for me, so i've tried that one because i was just simply tired of looking for a answers of my own.
The one you are showing looks really nice and simple and i would definitely try it. I will let you know how did it go.

Thanks for the quick response.
I just want to add that I tested it online with these links (GitLabs GFM test links):

https://www.google.com
https://google.com/
ftp://ftp.us.debian.org/debian/
smb://foo/bar/baz
irc://irc.freenode.net/gitlab
http://localhost:3000

And smb:// and irc:// are not recognized but I don't know if this is a major drawback.
Fair enough: Even GitHubs GFM does not. And ftp:// neither.  :sweat_smile:


Terraform end to end cognito stack

Description of your changes:

Creates a VPC, EKS cluster, cognito user pool, Kubeflow platform subdomain (optional or use your own)
Deploys Kubeflow with the cognito configuration

Testing:

Manual testing
All pods running, was able to login using the platform domain and run a pipeline

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Thanks, last comment, lets change the action to run make now


[push_to_git_remote] Add optional upstream reference when pushing to remote

Feature Request
Motivation Behind Feature
I'm trying to automate my dev workflow as much as possible. So when designing it, I thought about adding a lane that bumps the version and build number, then creates a release/vVERSION branch, commits the bump, and finally pushes the new branch to the remote (which should trigger CI). Digging around the docs I see that there's no option to set the -u flag for the push_to_git_remote action.
Feature Description
The request basically entails adding a single parameter to the command:
# optionally add the set-upstream component
command << '--set-upstream' if params[:upstream]

Alternatives or Workarounds
Right now the alternative is to do everything in the lane and when it's done simply push manually.
Unrelated
I recently discovered fastlane and just wanted to say thanks. It's incredibly useful, well done, and documented. Great work guys!

Thanks 💐

Your suggestions sounds good, but I use Sourcetree as a git GUI because I can never remember and parameters, so 🤷♀ Could you maybe explain the use case a bit? Why do you want to set the upstream?

The --set-upstream flag is needed when the branch doesn't exist in the remote, i.e. it's new. It's so the remote knows how to relate the two branches. If you try to simply push a new brand it'll complain:
fatal: The current branch feature/test has no upstream branch.
To push the current branch and set the remote as upstream, use

git push --set-upstream origin feature/test

So in the suggested workflow, the branch would need to be set upstream on the remote because it's a new one.
I see you added the "you can do this" label. I've never written Ruby but the change seems easy enough, I'll give it a try and run the tests. Thanks for your response!

@janpio I had some time after work so gave it a shot. PR #14496.


Retrieve equities as DataFrame with 'Security Name' column. Fixes #8

Include full company name in retrieved list. DataFrame seems best data structure for this purpose.

LGTM


Paramiko: Handle closed session

When the connection is dropped (for instance if the target host is
restarted between tests), paramiko raises
"paramiko.ssh_exception.SSHException: SSH session not active". In this
case we try to reconnect (once).

I can confirm, that it fixes the issue addressed in #66


CMake options in cmake-ide--run-cmake-impl

It may be a useful enhancement to allow users to have a variable to set options to cmake in  cmake-ide--run-cmake-impl. One use case is a Android CMake project (android-cmake) which requires specifying the Android toolchain as a -D option which cannot be placed in the CMakeLists.txt file eg:
cmake -DCMAKE_TOOLCHAIN_FILE=../android-cmake/android.toolchain.cmake -DANDROID_NDK=/opt/android-ndk-r10e  -DCMAKE_BUILD_TYPE=Release -DANDROID_ABI="armeabi-v7a with NEON"  -DANDROID_NATIVE_API_LEVEL="android-21" ..
The rest of the flags other than CMAKE_TOOLCHAIN_FILE can probably be specified in the CMakeLists.txt file, but CMAKE_TOOLCHAIN_FILE must be specified as a cmake option.
As a workaround its obviously easy to edit cmake-ide--run-cmake-impl.

The way I went about this is to require the user to specify the flags they need the first time.


arch: arm: mpu: nxp: disable mpu before reprogramming

This is needed, because an interrupt can happen after the main/static
MPU region is disabled and before it is re-enabled.
This region gets implicitly disabled inside the _region_init call, when
its configuration registers changes:
  SYSMPU->WORD[index][0] = region_base;
  SYSMPU->WORD[index][1] = region_end;
  SYSMPU->WORD[index][2] = region_attr;
  SYSMPU->WORD[index][3] = SYSMPU_WORD_VLD_MASK;

The TRM says this about the WORD0, WORD1 and WORD2 registers:

Writes to this register clear the region descriptor’s valid bit
(RGDn_WORD3[VLD]).

And thus if an interrupt happens after writing to WORD0 and before
writing VLD to WORD3 again, the code executes with enabled and yet
misconfigured MPU.
Fixes #13482
Signed-off-by: Tomasz Gorochowik<EMAIL_ADDRESS>

@MaureenHelm @agross-linaro , pls, take a quick look, as well.

Pushed a typo fix in the commit message.

Codecov Report

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

@@           Coverage Diff           @@
##           master   #13520   +/-   ##
=======================================
  Coverage    52.5%    52.5%
=======================================
  Files         318      318
  Lines       46527    46527
  Branches    10755    10755
=======================================
  Hits        24429    24429
  Misses      17199    17199
  Partials     4899     4899

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 406dc2c...2e25b64. Read the comment docs.

(force-pushed without changes because CI seems to be stuck)


GSD Request

--- GSD JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from v3.2 to before v5.10.85",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=fd734c6f25aea4b2b44b045e489aec67b388577e",
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=923f4dc5df679f678e121c20bf2fd70f7bf3e288"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "fd734c6f25aea4b2b44b045e489aec67b388577e",
      "note": "introduced"
    },
    {
      "type": "commit",
      "value": "923f4dc5df679f678e121c20bf2fd70f7bf3e288",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "can: sja1000: fix use after free in ems_pcmcia_add_card()\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v5.10.85 by commit 923f4dc5df679f678e121c20bf2fd70f7bf3e288, it was introduced in version v3.2 by commit fd734c6f25aea4b2b44b045e489aec67b388577e. For more details please see the references link."
}
--- GSD JSON ---

This issue has been assigned GSD-2021-1002503


Update app-service-web-tutorial-custom-domain-uiex.md

Adds instructions for debugging DNS configuration issues.

Hey @cephalin, could you take a look at this MR? Happy to change anything if needed.

#sign-off

@ruurtjan I've signed off. However this is an experiment file. I've added the corresponding change to app-service-web-tutorial-custom-domain.md

@Jak-MS : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@ruurtjan - this change has already been made by @cephalin in the private repo.  I didn't notice that before I made my tweak above. The change should show up in the live doc after the next publish (in a couple of hours). Thanks!

@Jak-MS : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Thanks @Jak-MS and @cephalin!


Add flutter to devicons2

https://flutter.dev/

Take look at https://github.com/tupadr3/font-icon-generator. This is the src which generated the sprites for this project. You're welcome to add a new source for sprites which contains a flutter icon

@ofw Version 2.3.0 contains the latest devicons2. The flutter icon is now available.


Error on spaced arguments within 2D math array

Description
The following expression gives an error:
$mat(; ,)$

error: expected array, found content
  ┌─ ../../tmp/a.typ:1:6
  │
1 │ $mat(; ,)$
  │       ^

I'd expect it to work just like if there was no space.
It would be useful for this kind of thing:
$ mat(
    1, , ;
     ,1, ;
     , ,1;
  ) $

Reproduction URL
No response
Operating system
No response
Typst version

[X] I am using the latest version of Typst

A quick fix could be to try using empty strings? $mat(""; "",)$. Empty content, #[] shouod also work but is more characters to type.

Tbh, it might be nice to allow math mode to default to having empty content for arguments (but not code mode).

Tbh, it might be nice to allow math mode to default to having empty content for arguments (but not code mode).

I think you misunderstand; empty arguments are already allowed.
What is not allowed is a semicolon, followed by whitespace, followed by a comma. That's what this issue is about.


Error 500 + python error

Description
Hello,
I'm on a raspberry PI zéro W2 with the rasbian legacy lite installed.
I've ma,age to install mariner + samba for my Saturn S.
My main problem 👍
When loading my Ip:5000 it's working unless I try to go tot the files section or to upload a file.
Then I got an error message and an endless charging.
the msg :
Something went wrong
The server replied with a 500 HTTP status code.
i've also lauch the command line to check if the service is working and there is a weird last line with an error.
pi@SaturnMariner:~ $ sudo systemctl status mariner3d
● mariner3d.service - mariner3d Printer Controller
Loaded: loaded (/lib/systemd/system/mariner3d.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2022-03-05 03:05:38 CET; 2 days ago
Main PID: 332 (mariner)
Tasks: 6 (limit: 871)
CGroup: /system.slice/mariner3d.service
└─332 /opt/venvs/mariner3d/bin/python /usr/bin/mariner
Mar 07 20:27:22 SaturnMariner mariner[332]:     FILES_DIRECTORY / selected_file
Mar 07 20:27:22 SaturnMariner mariner[332]:   File "/opt/venvs/mariner3d/lib/python3.7/site-packages/flask_caching/init.py", line 952, in decorated_function
Mar 07 20:27:22 SaturnMariner mariner[332]:     rv = f(*args, **kwargs)
Mar 07 20:27:22 SaturnMariner mariner[332]:   File "/opt/venvs/mariner3d/lib/python3.7/site-packages/mariner/server/utils.py", line 20, in read_cached_sliced_model_file
Mar 07 20:27:22 SaturnMariner mariner[332]:     return file_format.read(FILES_DIRECTORY / filename)
Mar 07 20:27:22 SaturnMariner mariner[332]:   File "/opt/venvs/mariner3d/lib/python3.7/site-packages/mariner/file_formats/ctb.py", line 135, in read
Mar 07 20:27:22 SaturnMariner mariner[332]:     ctb_slicer = CTBSlicer.unpack(file.read(CTBSlicer.get_size()))
Mar 07 20:27:22 SaturnMariner mariner[332]:   File "/opt/venvs/mariner3d/lib/python3.7/site-packages/typedstruct.py", line 89, in unpack
Mar 07 20:27:22 SaturnMariner mariner[332]:     return cls(*unpack(cls.get_format(), buffer))
Mar 07 20:27:22 SaturnMariner mariner[332]: struct.error: unpack requires a buffer of 76 bytes
pi@SaturnMariner:~ $
In the positive side : I can print files form the Pi without problem when using the printer's screen.

I have your exact setup but Mariner web interface is not working for me
I can load prints to pi via smba network and manually start the print from the Saturn S.
Running mariner3d_0.2.0-1_armhf.deb
When I start the web interface I get
Traceback (most recent call last):
File "/opt/venvs/mariner3d/lib/python3.7/site-packages/flask/app.py", line 1950, in full_dispatch_request
rv = self.dispatch_request()
File "/opt/venvs/mariner3d/lib/python3.7/site-packages/flask/app.py", line 1936, in dispatch_request
return self.view_functionsrule.endpoint
File "/opt/venvs/mariner3d/lib/python3.7/site-packages/mariner/server/api.py", line 46, in print_status
selected_file = elegoo_mars.get_selected_file()
File "/opt/venvs/mariner3d/lib/python3.7/site-packages/mariner/mars.py", line 102, in get_selected_file
self._extract_response_with_regex("ok '([^']+)'\r\n", data).group(1)
File "/opt/venvs/mariner3d/lib/python3.7/site-packages/mariner/mars.py", line 39, in _extract_response_with_regex
raise UnexpectedPrinterResponse(data)
mariner.exceptions.UnexpectedPrinterResponse
and if I go to the file section of web interface I get
The server replied with a 500 HTTP status code.
Not trying to hijack your thread I just could not figure out how to start my own and I saw you have similar things going on.  How did you get the web interface to load without errors?

To follow up, I have this as well "Mar 07 20:27:22 SaturnMariner mariner[332]: struct.error: unpack requires a buffer of 76 bytes"  I am not a programmer or coder but from what little research I could look up on the web.  It appears Mariner is not completely loading due to lack of access to a Root Buffer.  If I am correct this is the cause of both of our issues.

Same here on Mars3. I compiled python 3.7.4 on a RPi4 and copied the files to the Pi Zero 2 W to speed up things. I'm able to start mariner3d. When accessing the Web GUI i only can upload files. I can't see any other menu or information. After uploading i get the Error 500 message. I can't see or remove the files on the Pi Zero virtual USB drive. The files are there. I can delete them by hand in /mnt/usb_share via ssh or WinSCP. The GUI is broken.

same here wonder if anyone has sorted it


Hang request ?

Hello,
I'm currently looking for all my options before trying to implement one.
I'd like to start using yours but there's one question remaining: is it able to hang requests instead of serving a loading page ?
Something similar to https://acouvreur.github.io/sablier/#/strategies?id=blocking-strategy
I'm asking this because I access some of my apps through Android apps so serving an html page while loading wouldn't help. Is that working automatically somehow ? Is it configurable ?
Thanks a lot for the project it looks great !

Sadly delaying responses isn't supported currently, I'm pretty sure it wouldn't be that hard to implement actually and a good idea.
The only problem one would have to consider is that if there is a docker container which takes a long time to become ready, the client (or even another reverse proxy in front of ContainerNursery) could run into timeouts.
Anyways, I sadly currently don't have the bandwidth for this issue. But I would accept a PR for this if anyone wants to give it a shot.


Support for AMD FSR 2.0

What problem does this solve or what need does it fill?
Great way to increase FPS, especially in 4k res or above. Open source and supports all gpus.
What solution would you like?
Implementing FSR 2.0 in a way that is simple to use and configure.
What alternative(s) have you considered?
Simple upscaling, however it is much worse in terms of quality.
Additional context
I suspect everyone is familiar with what FSR 2.0 is and how good it is.

I suspect everyone is familiar with what FSR 2.0 is and how good it is.

I'm not! Do you have a good link to read?

I don't think everyone is aware of what FSR is. FSR is an upscalling technology developed by AMD. It's very lightweight yet it results in really good quality image.

Looks like it indeed requires motion vectors. The source repo seems to be https://github.com/GPUOpen-Effects/FidelityFX-FSR2 which is under the MIT license.

The shading language requirements are potentially possible to use with wgpu/naga. Not sure how much deeper the integration needs to go, or if we need to have speciifc native hardware access to support this.

Shader Model 6 (cs__6_0) has some wave-related functions, which was a sticking point when I was investigating building a LBVH on compute shaders in wgpu (LBVH requires a radix sort, which requires a prefix sum, which uses a decoupled lookback algorithm which AFAIK wgpu currently can't support: https://raphlinus.github.io/gpu/2021/11/17/prefix-sum-portable.html (although the prefix sum doesn't have to use decoupled lookback, it's just faster)). There could be a similar issue here.
After a brief lookover of FSR 2.0, I don't immediately see anything like that. FSR 2.0 is super cool and I would love to get something like that in-engine.

I'm also super intrigued by FSR2. Quality wise- it seems to be in the same rough order as DLSS, while actually open-source and available to people like us.

@nicopap From what I hear FSR1 is very easy to implement

Would it be at all worth someone (possibly me) trying to implement this in bevy, just to see how it integrates into the pipeline? Even if we don't have all the requirements (motion vectors, etc) yet, it could still be useful in the interim.

@FraserLee No idea how difficult it is in practice. I meant by "easy to implement" that everything FRS1 requires is already available in bevy. A first step would  be evaluating https://github.com/GPUOpen-Effects/FidelityFX-FSR and the godot implementation, and see if it's in the ballpark of what you can do.
I personally wouldn't feel confident implementing it.

Thanks for the leads, I think I’ll give it a shot.
On Tue, Aug 2, 2022 at 01:20 Nicola Papale @.***> wrote:

@FraserLee https://github.com/FraserLee No idea how difficult it is in
practice. I meant by "easy to implement" that everything FRS1 requires is
already available in bevy. A first step would be evaluating
https://github.com/GPUOpen-Effects/FidelityFX-FSR and the godot
implementation, and see if it's in the ballpark of what you can do.
I personally wouldn't feel confident implementing it.
—
Reply to this email directly, view it on GitHub
https://github.com/bevyengine/bevy/issues/5232#issuecomment-1202029341,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHIIGGPISDLI5BKGFO5H25LVXCV3VANCNFSM522QBNZA
.
You are receiving this because you were mentioned.Message ID:
@.***>

I have a semi-working crate that hooks into wgpu's vulkan backend to run FSR 2.1 https://github.com/JMS55/fsr2_wgpu, along with a branch of bevy setup to use it https://github.com/JMS55/bevy/tree/fsr2.
I'm currently trying to debug validation errors and fix them. Once that's done, I'll update to FSR 2.2, which was just released today, and then fill in the additional features like reactivity masks.

DLSS wasn't working for some reason. I couldn't get FSR working either last time I tried, but I have some new ideas. I'm going to give this another go soon.


Using useSeoMeta in middleware throws internal error

Environment
Nuxt project info:

------------------------------
- Operating System: Linux
- Node Version:     v18.20.3
- Nuxt Version:     3.14.1592
- CLI Version:      3.16.0
- Nitro Version:    2.10.4
- Package Manager<EMAIL_ADDRESS>- Builder:          -
- User Config:      default
- Runtime Modules:  -
- Build Modules:    -
------------------------------

Reproduction
https://stackblitz.com/edit/github-ksd6ujrj?file=middleware%2Ftest.global.ts
Describe the bug
I am trying to create a middleware that enables me to automatically map routes to SEO meta and have the middleware setup the actual data automatically. On startup of the dev server and also on page reload, the following error is thrown (seems coming from internal nuxt and unhead plugin):
ERROR  [nitro] [uncaughtException] [nuxt] A composable that requires access to the Nuxt instance was called outside of a plugin, Nuxt hook, Nuxt middleware, or Vue setup function. This is probably not a Nuxt bug. Find out more at https://nuxt.com/docs/guide/concepts/auto-imports#vue-and-nuxt-composables.

  at Module.useNuxtApp (node_modules/nuxt/dist/app/nuxt.js:251:13)
  at eval (node_modules/nuxt/dist/head/runtime/plugins/unhead.js:18:35)
  at Module.injectHead (node_modules/@unhead/vue/dist/shared/vue.f49591ad.mjs:76:30)
  at Module.useHead (node_modules/@unhead/vue/dist/shared/vue.8fc199ce.mjs:7:54)
  at Module.useSeoMeta (node_modules/@unhead/vue/dist/index.mjs:101:32)
  at Timeout.eval (middleware/test.global.ts:11:29)
  at <anonymous> (node:internal/timers:246:4692)

Additional context
ℹ Compiled plugins.server.mjs in 641.37ms                                                                                22:36:25
ℹ Compiled plugins.client.mjs in 659.84ms                                                                                22:36:25
ℹ Compiled types/plugins.d.ts in 675.57ms                                                                                22:36:25
✔ Vite client built in 465ms                                                                                22:36:26
✔ Vite server built in 1274ms                                                                                22:36:28
✔ Nuxt Nitro server built in 1767 ms                                                                                nitro 22:36:30
ℹ Vite client warmed up in 1ms                                                                                22:36:30
ℹ Vite server warmed up in 1217ms                                                                                22:36:31
setting meta tags in middleware
ERROR  [nitro] [uncaughtException] [nuxt] A composable that requires access to the Nuxt instance was called outside of a plugin, Nuxt hook, Nuxt middleware, or Vue setup function. This is probably not a Nuxt bug. Find out more at https://nuxt.com/docs/guide/concepts/auto-imports#vue-and-nuxt-composables.
at Module.useNuxtApp (node_modules/nuxt/dist/app/nuxt.js:251:13)
at eval (node_modules/nuxt/dist/head/runtime/plugins/unhead.js:18:35)
at Module.injectHead (node_modules/@unhead/vue/dist/shared/vue.f49591ad.mjs:76:30)
at Module.useHead (node_modules/@unhead/vue/dist/shared/vue.8fc199ce.mjs:7:54)
at Module.useSeoMeta (node_modules/@unhead/vue/dist/index.mjs:101:32)
at Timeout.eval (middleware/test.global.ts:11:29)
at  (node:internal/timers:246:4692)
Logs

I found that the problem is the nextTick and setTimeout function calls inside the middleware. Closing for now sorry for inconvenience.


Support Accept=application/json that returns the JSON-LD without the context.

Be very careful with this. There is no guarantee on stable structure of such JSON. Better use OSLC/JSON if you really really must.


update EtcdKVImpl get&delete request builder

lgtm

@xiang90 I am considering whether we should re-use PutOp etc in EtcdKVImpl.java , now there are some duplicated code in Op.java and EtcdKVImpl.java.


Unresolved symbol with dynamic linking (dylib crate-type)

The complete error:
error LNK2019: unresolved external symbol igTextUnformatted referenced in function_ZN5imgui6widget4text27_$LT$impl$u20$imgui..Ui$GT$4text17h2046f112a25bb173E

To Reproduce
Window::new(im_str!("Hello world"))
  .build(ui, ||
  {
    ui.text("Hello");
  });

Expected behavior
It should compile and work as intended.
Please describe your environment

imgui-rs version 0.70
Windows 10 20H2

Other information
It seems like the library is not linking with cimgui correctly. This only happens if a library is a dylib, but both the executable and library depend on imgui-rs.
Also, are there any plans to switch to the docking branch?

HMM. I have absolutely no idea! Can you tell us more about your dylib?
Also the docking branch is a larger conversation, but please comment on https://github.com/imgui-rs/imgui-rs/issues/435 to help us get in a state where we can have multiple branches

I have a dylib crate that depends on imgui-rs, and reexports it for users. It handles all the backend stuff. When I link it with an executable, and access the reexported functions, the cimgui functions don't link. However, even if I link the executable crate directly with imgui-rs, the undefined symbols still don't go away.

I think this happens with Linux+gcc+ld also
We have a similar sounding setup - basically an application composed of various crates, multiple of which use imgui
I tried making one of the crates by a dylib (to see if it has much impact on development build times, by reducing the amount of things to be statically linked into the main application),
[lib]
crate-type = ["dylib"]

but this results in a screen full of errors along the line of undefined reference to 'igBeginPopup'

I'll try and put together a complete reproduction-example for this, but I think it should just be:

crate_util which uses imgui-rs, and sets crate-type = ["dylib"]
crate_main which uses imgui-rs and crate_util

I also get undefined reference errors such as undefined reference to igButton with crate-type = ["dylib"]. Would be really cool if this worked.


Map in application

add

Using Maps

Installing react-native-maps

Enabling Map API

Using the API Key

Displaying the map

Displaying marker on map

Customizing the marker

Simulating coordinates on the emulator map

Displaying more than one bookmark

Adjusting the map to display markers

Drawing the line on the map

feature implement


feat(COD-1317): make the action compatible with macOS

I tried running the GitHub action on macOS and noticed that the code was using a different and incompatible version of yq and Linux and on macOS.
Example of failed run: https://github.com/lacework/rainbow/actions/runs/5694656409/job/15436245644#step:7:181

Did you get to the bottom of the failure that led this to being reverted last time?

Did you get to the bottom of the failure that led this to being reverted last time?

No, I did not look into it yet. It seems that SCA is non-deterministically failing on macOS. What I can do is to merge this and just keep the PR enabling the integration tests on macOS open until we understand what the root cause is.


Graphql Subscriptions

Hi,
I am trying to implement subscriptions with lighthouse, but the problem is that for some kind of reason the communication between lighthouse and Laravel Websockets is not happening, I've found something on a issue that i've tested and it looks like it works but i am wondering if there is a official way of resolving this problem...
I've tested the connection using a custom event and it works, but with graphql no

Related to https://github.com/beyondcode/laravel-websockets/issues/111 ?


Change props initialize function to getStaticProps()

:tada: This PR is included in version 2.3.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


[WIP] Fail edpm_network_config when there are schema errors

Currently when there are schema errors in os-net-config, the logs are updated and no failure happens.
Updating this behaviour so that user can fix errors and re-run role

@karthiksundaravel / @Jaganathancse , updated this PR for better tracking. This PR will have fix only for the no-auto-default. Will created a new PR for "--exit-on-validation-error"


Vonr issue in samsung mobile

Hi @herlesupreeth
we tested 5G Voice call in Samsung mobile successfully but issue is we are able to see volte icon in display over vonr which is  not showing in display.  we saw sim status voice call in 5G  SA . kindly find the attached log and images
vonr.zip
vonr1.zip

Thanks for trying out the calling. Looks like Samsung is not picky about having a dedicated bearer for IMS call. Regarding VoLTE icon seen rather than VoNR, its upto the device settings. From the IMS perspective in that pcap attached I see a successful registration.
Also, the only identifier to know the RAT type is P-Access-Network-Info sent by UE and its sent as follows. IMS does not have any RAT type info unless UE sends it.

Thankyou for response. i need to know whether EPS fall back happened while making a call in 5G SA mode ?

i need to know whether EPS fall back happened while making a call in 5G SA mode ?

I dont think its doing EPS fallback since I dont see any NGAP packets when a IMS call is initiated. But honestly, there shouldn't be any difference between a IMS call over 4G or 5G.

Thankyou herlesupreeth. S1ap packets right or ngap packets.
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: Supreeth Herle @.>
Sent: Sunday, November 26, 2023 4:20:17 pm
To: herlesupreeth/docker_open5gs @.>
Cc: Sivanesh Kumar K @.>; Author @.>
Subject: [EXTERNAL]  Re: [herlesupreeth/docker_open5gs] Vonr issue in samsung mobile (Issue #259)
CAUTION ON EXTERNAL e-MAIL: This message has originated from an external source. Use proper judgment and caution when opening such attachments, clicking links, or responding to this email. Report this mail (using the applicable "Report Mail" buttons) if you believe it includes malicious content or is a phishing attempt and not sure of it's source.
i need to know whether EPS fall back happened while making a call in 5G SA mode ?
I dont think its doing EPS fallback since I dont see any NGAP packets when a IMS call is initiated. But honestly, there shouldn't be any difference between a IMS call over 4G or 5G.
—
Reply to this email directly, view it on GitHubhttps://github.com/herlesupreeth/docker_open5gs/issues/259#issuecomment-1826749948, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AW4XLCT3VQ4MUXAD5Y7VF7LYGMNGHAVCNFSM6AAAAAA7XGNFGSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRWG42DSOJUHA.
You are receiving this because you authored the thread.Message ID: @.***>
Mobiveil INC., CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain proprietary confidential or privileged information or otherwise be protected by law. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please notify the sender and destroy all copies and the original message.

No NGAP since you are attempting the call over 5G network and there are no 4G elements. So the only point of contact for gNB is AMF to which it talks NGAP.

Thankyou herlesupreeth
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: Supreeth Herle @.>
Sent: Sunday, November 26, 2023 4:52:55 PM
To: herlesupreeth/docker_open5gs @.>
Cc: Sivanesh Kumar K @.>; Author @.>
Subject: [EXTERNAL] Re: [herlesupreeth/docker_open5gs] Vonr issue in samsung mobile (Issue #259)
CAUTION ON EXTERNAL e-MAIL: This message has originated from an external source. Use proper judgment and caution when opening such attachments, clicking links, or responding to this email. Report this mail (using the applicable "Report Mail" buttons) if you believe it includes malicious content or is a phishing attempt and not sure of it's source.
No NGAP since you are attempting the call over 5G network and there are no 4G elements. So the only point of contact for gNB is AMF to which it talks NGAP.
—
Reply to this email directly, view it on GitHubhttps://github.com/herlesupreeth/docker_open5gs/issues/259#issuecomment-1826756867, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AW4XLCSGPK2CKFDN64PF5ETYGMRA7AVCNFSM6AAAAAA7XGNFGSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRWG42TMOBWG4.
You are receiving this because you authored the thread.Message ID: @.***>
Mobiveil INC., CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain proprietary confidential or privileged information or otherwise be protected by law. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please notify the sender and destroy all copies and the original message.

hi @herlesupreeth  we try with one plus mobile to one plus mobile voice call is not establish but one plus to samsumg mobile working . please give some idea

Hey, I havent had time to take a look at the traces. But as I mentioned earlier the calling should not have worked because there is way to enforce QoS for the VoNR call i.e dedicated bearer is not created for the call due to lack of N5 interface.
The reaso call between Samsung devices worked because i guess it was not picky about having a dedicated bearer for the call. And the call went over default bearer which doesnt guarantee QoS

hi @herlesupreeth  as we analysis the wireshark log getting the precondition failure.When we see inside the we find out the media bearer loss.Can you please help us to Know the root cause for the issue.

1+to1+_call_failure_log.zip
We have some Queries:
1.We are enabling the developer mode for establishing the call.Will vonr will support ?
2.For Oneplus 9 we are using for Android 13(Latest update).Will it support it ?
3.Can we capture the logs when  enabling developer mode through wireshark ?
Thank you,

When we see inside the we find out the media bearer loss.Can you please help us to Know the root cause for the issue.

This is what I mentioned earlier :) Its not the issue of the phone rather kamailio IMS does not support N5 interface in order to provision bearers for VoNR call. The registration works because it does not require dedicated bearers to be setup like its needed for VoNR call. This cant be supported in kamailio IMS easily and involves some effort

1.We are enabling the developer mode for establishing the call.Will vonr will support ?

I think it should support. As long as UE is registering with IMS (i.e. sending SIP REGISTER) then it does support VoNR

2.For Oneplus 9 we are using for Android 13(Latest update).Will it support it ?

It depends completely on the settings on the phone

3.Can we capture the logs when enabling developer mode through wireshark ?

Depends on the chipset in the phone. If its a Qualcomm based chipset then you can capture IP traffic (not the radio packet such as L1, L2 logs) using QCSuper (github repo) or scat (github repo). But if you want L1, L2 logs then it wont be in wireshark format rather in the form of QXDM logs which is proprietary format and need to buy tools form Qualcomm to decode.
If its Mediatek chipset then you can capture logs but not sure what format its in

HI @herlesupreeth sorry to disturb you.

In samsung device i am able to make voice call in 5G SA that means N5 interface established correct . Please correct my understanding is wrong .

In samsung device i am able to make voice call in 5G SA that means N5 interface established correct . Please correct my understanding is wrong .

N5 interface is a control plane interface between kamailio P-CSCF and PCF. open5gs PCF supports this interface but kamailio P-CSCF does not. So it was never established even in the case of Samsung device. Its just that Samsung phones did not case whether a dedicated/media bearer was created or not for VoNR call whereas OnePlus phone cares about it. Setting a media bearer is only way to guarantee QoS for VoNR call

Hi @herlesupreeth  thank you for detailed information.
Please give some idea or reference link or any document  to change in the code so that we will try to implement  code  for establishing VoNR call.

Hi @herlesupreeth
As you suggested earlier to change in the config file and need to see the sbi messages.I have seen in the
specification for sbi message:
https://www.etsi.org/deliver/etsi_ts/123500_123599/123502/15.02.00_60/ts_123502v150200p.pdf
https://www.etsi.org/deliver/etsi_ts/129500_129599/129513/16.05.00_60/ts_129513v160500p.pdf-this is to know communication between p-cscf and pcf.
https://www.etsi.org/deliver/etsi_ts/129500_129599/129514/15.04.00_60/ts_129514v150400p.pdf-for the communication between af and pcf.
I have some queries:
1.I have seen that in docker file that cloning is happening but i am not able to see the c file inside that.Is there anything we need to change in docker file so that we can see those files.
2.How IMS  is connected to 5G Core?
3.Can you give some information about nginx ?
As I am new to this project.Please correct me if  I am wrong.
Thank you in Advance.

Hey @VAyushgupta

I have seen that in docker file that cloning is happening but i am not able to see the c file inside that.Is there anything we need to change in docker file so that we can see those files.

Docker file is cloning the repo which has C code. So you would have to fork the kamailio repo and add your features and modify the github URL in the docker file to your forked repo.

How IMS is connected to 5G Core?

Through the docker networking. I am not sure whether I answered your question. If not please elaborate.

Can you give some information about nginx ?

Rather than using nginx you can follow as mentioned below by the maintainer of kamailio
If it is about a HTTP2 server, I added microhttpd module:

https://www.kamailio.org/docs/modules/devel/modules/microhttpd.html

which uses libmicrohttpd and I expect it supports HTTP2, but for the moment, I haven't tested it.

An alternative would be to use embedded Python3 (via KEMI plus evrexec module to instantiate a HTTP server using python library.
For http client, there are http_client and http_async_client modules, the use libcurl, which should support http2, not sure if the modules set some restriction on it, but if they do, I guess it can be changed. Also for http client, the KEMI with embedded Python can be a variant.
Overall, I think Kamailio has the needed components, maybe some tuning is still required.

Thank you for the response @herlesupreeth .
I have some more queries:
1.I have not seen any message between the AF and PCF inside the code. Should we need to implement the api for the message between them.
I am referring spec:
https://www.etsi.org/deliver/etsi_ts/129500_129599/129514/16.05.00_60/ts_129514v160500p.pdf
2.Can you explain about how the message between P-CSCF and PCF is happening.Should we need to implement any specific api for the message between them.
Please correct me if I am wrong.

1.I have not seen any message between the AF and PCF inside the code. Should we need to implement the api for the message between them.
I am referring spec:

I am not sure which code you are referring here. The AF needs to send request for Policy Authorization and PCF needs to reply. The replying part of PCF has been implemented in open5gs as far as I know.

Thank you for the response @herlesupreeth.
For Ques.2: Should we are using any IWF for communication between IMS(Kamailio) and 5G-Core ?if you have any info please let us know.

Hi @herlesupreeth,
Sorry i have misinterpretation earlier. As per my understanding we just need to change only in the p-cscf cfg file for vonr as you mention : open5gs PCF supports this interface(N5) but kamailio P-CSCF does not. Correct me if I am wrong.
Or any other changes we require for establishing the vonr call ?
Thank you in Advance.

open5gs PCF supports this interface(N5) but kamailio P-CSCF does not.

This is correct.

As per my understanding we just need to change only in the p-cscf cfg file for vonr as you mention

This I dont know whether its enough or not to just modify p-cscf cfg file. You may need to put your hands into the kamailio C code

Thank you for the response @herlesupreeth.

Hi @herlesupreeth @Sivanesh1992
Case 1: We have test Samsung to Samsung Call  with commit 795d8ba4297ee375c1760b2be4c274c720392448 (HEAD -> open5gs_hss_cx, origin/open5gs_hss_cx) call is established for both volte and VoNR.But with your latest commit on open5gs_hss_cx branch call is not established.Can you give some input for it.
Case2: We have test Samsung to Oneplus with your latest commit on open5gs_hss_cx branch the precondition issue is resolved but we are getting some other issue regarding delay(408 Request timeout in wireshark).Can you please provide some fix for it.
Wireshark logs:
log_vonr (1).zip
Thank you in advance.

For Samsung to Samsung, can modify the below parameter in kamailio_pcscf.cfg and give me the pcap of reg+call?
modparam("ims_registrar_pcscf", "is_registered_fallback2ip", 2)

Thank you for the response @herlesupreeth
As you suggested We have changed in the kamailio_pcscf.cfg but stil  Call is not established . As we saw in wireshark logs getting some error indication when UE inital message.
Please  look into the kamailio_pcscf.cfg and Wireshark log:
kamailio_pcscf.zip
vonr_samsung_samsung_after_change.zip

In the above attached pcap, the phone did not even attempt to register with IMS i.e. no SIP REGISTER sent by UE

Hi @herlesupreeth
Thank you for info. if i am using commit 795d8ba for voice call and sms both working in  two samsung mobile but new commit its not working.
so from my understanding it's not a issue in UE side only code we need to check .  please correct me if i am wrong .

ya right.Thank you for let us know @herlesupreeth.
Any suggestion or code change  for the issue why ue is not attempting to register with ims network ?

@Sivanesh1992 can you please post the pcap of voice call when using the latest commits?

Any suggestion or code change for the issue why ue is not attempting to register with ims network ?

@VAyushgupta this is completely upto UE settings

.


Feature Request: HDMI out resolution settings

Before submitting your issue or feature request.  DO NOT REQUEST ASSISTANce FOR PRELOADED IMAGES.  I do not support or condone the use of preloaded ArkOS images.  Preloaded meaning images that come with copyrighted roms preincluded.  Look for support from the creator or supplier of those preloaded images, not from here!  If a ticket is submitted for assistance for such images or if there's an indiciation that a preloaded image is what the support request is for, the issue ticket will be closed with no further response.

This is not the Stock OS that comes with your device, AmberElec, JelOS, or UnOfficialOS.  ArkOS is a different distribution from those systems and will have differing features.  The only somewhat similarity is that they both use EmulationStation as a frontend.  Even with that, the versions of EmulationStation that's used in between ArkOS and these other distributions is different with different capabilities.  If there are features you prefer with the other available distributions, just use those distributions instead.  The choice is yours.

Have you reviewed the Frequently Asked Questions section available for your supported device in the wiki?

If your issue is related to being able to run certain emulators or ports, have you reviewed the Emulators and Ports section available at https://github.com/christianhaitian/arkos/wiki/ArkOS-Emulators-and-Ports-information for needed bios files and supported rom extensions?

Have you reviewed the known issues section available at https://github.com/christianhaitian/arkos/wiki/Known-issues ?

Describe the Issue (If applicable)
A clear and concise description of what the bug is.
When connecting an HDMI out, it seems the device defaults to 1080p. And then I'm not clear what happens, but several games don't launch in this mode. For outputting to CRTs and just to have more flexibility it would be great to be able to set the output resolution to 640 x 480 or even 320 x 240.
How can the issue be reproduced? (If applicable)
Connect the device to an hdmi out.
What device are you using? (Only the Gameforce Chi, RK2020, OGA 1.0, OGA 1.1, RG351MP, RG351V, RGB10, R35s, RG353V/VS, RG353M, RG503, RGB30, and RK2023 units are officially supported)
PowKiddy RGB30
What version of ArkOS are you on?

You can find this during the initial boot process right before the Emulationstation loading screen
03302024

Anything else you'd like to include that may help to review this issue or feature request?
An options menu would be great, but even a FAQ on how to edit the appropriate config file would be greatly appreciated!

The default is 720p and to change the output, this has to be done my modifying the /boot/extlinux/extlinux.conf file and changing the end of the line from 1280x720 to 640x480.  Then the unit has to be rebooted.  I don't know if any other resolution besides 1280x720 will work though so good luck.

thank you!!!


Reject JPEGs with unexpectedly large coefficient values.

Large coefficient values usually imply that pixel values will be
clipped, so we will be trying to optimize a suboptimal representation of
the image. Also, handling of very large coefficient values is rife with
problems (overflows when handling unwuantized values, inability to
encode at some quantization levels, etc.).
Fixes oss-fuzz/970 and oss-fuzz/971.

PTAL.

BTW, clipping of pixel values is useful and can improve quality: https://kornel.ski/deringing/

Thanks for the correction: the commit message is wrong, but it's too late to change it now. There are clipped representations that are more efficient than ones that avoid clipping and there can also be such that are much worse. Guetzli doesn't understand how to use clipping -- when faced with a JPEG input it will try to preserve most coefficients. Thus it will perform well on an original representation with well chosen clipping, and poorly on an input with badly chosen clipping.
This change doesn't reject JPEGs that have any clipping, only JPEGs that have such abnormally high coefficients that virtually certainly there's lots of clipping going on. The main reason for this change is to avoid problems with dealing with coefficients close to overflow (e.g. ones that cannot be represented at quantization level 1 at all).
Do you expect that this change might affect files with optimized clipping?

I'm not sure what maximum magnitude the deringing trick can produce. It limits values of pixels in YUV space (allows overshoot from 255-272 IIRC), but doesn't do anything for ACs. libjpeg-turbo had to add extra check in their 16-bit SIMD-optimized code to prevent overflows, but that's not necessarily due to individual AC's exceeding that.
So I don't know. Probably not?


chore(main): release 2.0.7

:robot: I have created a release beep boop
2.0.7 (2024-06-27)
Miscellaneous

typing: improve type annotations (7719979)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v2.0.7
:sunflower:


fix: Add extensions to relative exports in declaration files

Bumps @tanstack/config to 0.3.0

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (997a7c1) 87.78% compared to head (5e1cf6e) 87.78%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #585   +/-   ##
=======================================
  Coverage   87.78%   87.78%
=======================================
  Files          31       31
  Lines         819      819
  Branches      184      184
=======================================
  Hits          719      719
  Misses         95       95
  Partials        5        5

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


bug: CI Docker publish failures

Meltano Version
2.9.0
Python Version
3.9
Bug scope
Other
Operating System
N/A
Description
Original failure: https://github.com/meltano/meltano/actions/runs/3453870776/jobs/5764798793
Failed on rerun: https://github.com/meltano/meltano/actions/runs/3453870776/jobs/5781142708
Code
No response

Failing for all Docker publish jobs for Meltano 2.10.0: https://github.com/meltano/meltano/actions/runs/3477343986
Seems to be caused by there being multiple tags. The old trick to add newlines to GitHub job outputs no longer works now that ::set-output is deprecated. Bumping up to high urgency since it's blocking the release of new Docker images.


Transaction fixes

This makes the transactions generate and work with the basic SCC implementation.

Merged! Just did it manually in https://github.com/JSKitty/scc-js/commit/34edf7cdee4d8ccfe3edb4eeb4d4b94f67cdbaf6 due to a bunch of conflict errors here, yuhu!


Boost Beast does not parse http-version when it has extra spaces

Hey,
I have created an http server using boost beast. I can successfully send http-messages to it over the internet (also using boost beast). Now there is a 3rd party http-client that sends also messages to the server but i get a "Read: bad version" error.
I managed to capture the packages of the 3rd party client using wireshark and tcpdump. I figured the error must be in the version part of the message. The packages seem normal at first, until i noticed a subtle difference. Instead of "[POST / HTTP/1.1\r\n]" it says "[POST /  HTTP/1.1\r\n]". There are two spaces before "HTTP".
Now my question: is this a bug in boost beast that it cannot parse this or is it a malformed http message from this 3rd party app, according to the http-protocol?
Greetings,
Jan

https://tools.ietf.org/html/rfc7230#section-3.1.1
request-line   = method SP request-target SP HTTP-version CRLF

RFC7230 is clear on this, there is exactly one space between the request-target and HTTP-version. Beast's HTTP parser is strict.


feat: Upsert comment

Background
A long-lived Pull Request will create a lot of comments from this action.
This can cause a situation that valuable comments are hidden.
Description
This pull pequest resolves to create many comments by updating comment.

Find own comment from issue/pull request comments
If the comment is found, updateComment
Else createComment

Inspired from: https://github.com/aki77/actions-replace-comment
Example:

https://github.com/mtgto/example-simple-coverage-diff-action/pull/1

Thanks!


chore: remove Go checks

Related PRs:

https://github.com/aquasecurity/trivy-checks/pull/271

Will be ready for review after the release of Trivy v0.57


Block numbers in FSV

It would be useful to have the block number showing somewhere in "File System Block Layout" view (Superblock = 0, Inode Bitmap = 1, etc.). This would help identify where each block pointer in an inode is actually pointing.

Just added. This will be available in the next alpha release.


Cmake configuration success but Build error in MITK latest source code

Hello, I tried to build the MITK2013.12 source code, but it asked Qt 5.12, I need to build MITK on QT6.7.1 so i downloaded the latest Github code of MITK, in that Qt6 is supporting.
However i tried to Build this using Custom Build with VS 2022 x64.The ALLBUILD in debug mode is completed but the INSTALL building gives error as  some lib not found in release folder error. i tried so many times by cleaning and rebuilding , changed the directory, didnt used external ITK or VTK , still same error: This is my cmake configuration. Do i need to add or remove any modules?
My specifications are:
Visual Studio version  : Microsoft Visual Studio 2022 Community Edition (x64)
OS - windows  :10
Qt version      : 6.7.1 (evaluation version)
I am attaching the cmake config for reference:

Hi, installing and packaging only works in Release configuration.
As a side note, are you sure you want to build INSTALL instead of PACKAGE, since the latter gives you a quite a lot more flexibility by generating a redistributable ZIP archive?

Oh thank you, I will build PACKAGE then, however i have my doubts.
I am trying to build an application on QT using MITK so whille developing the application i need to execute in Debug mode and for final deployment i can use Release mode .   since the libraries for debug and release will be different in MITK, if i install PACKAGE can i run my application in Debug mode of QT?
Instead of setting MITK_BUILD_CONFIGURATION as Custom do i need to modify to other type?

Usually you build both Debug and Release and you run and debug the build tree from within Visual Studio. When you are done you PACKAGE in Release configuration.


Ctrl+C terminates the shell instead of the command running

Environment
OS: Ubuntu 1804
Lens Version: 3.4.0
Installation Method: snap edge
Description
The bug has existed since I started playing with this great tool. And it has becoming a major annoyance whilst using it as my daily driver.
Whenever I use lens to open a shell, be it a pod shell or other shell, whenever I hit Ctrl+C, to terminate the running command, it terminates the entire shell instead, and often leaves a stale process running on the pod that I have to later clean up.
This is currently 100% reproducible, and whenever I hit Ctrl+C, I get the following prompt and the shell is dead.

Terminal will auto-close in 15 seconds ...

To Reproduce
Launch a pod shell, hit CTRL+C
Expected Behavior
CTRL+C should act like other shells to terminate the running command within the shell instead of killing the shell itself.

Cannot reproduce this in 5.5.4 on either macOS or linux. Closing.


No way to get jobject of activity on Android

Operating system or device, Godot version, GPU Model and driver (if graphics related):
godot 3.0 master branch
Issue description:
I want to integrate some native sdk for android through custom module (because at this moment it is easier than use GDNative). To initialize sdk I need JNIEnv* (as I understand, I can get it using ThreadAndroid) and jobject of native activity.
I didn't find in sources the way to get it, so it should be done some way. This can be needed for many native sdk for Android.

Feature and improvement proposals for the Godot Engine are now being discussed and reviewed in a dedicated Godot Improvement Proposals (GIP) (godotengine/godot-proposals) issue tracker. The GIP tracker has a detailed issue template designed so that proposals include all the relevant information to start a productive discussion and help the community assess the validity of the proposal for the engine.
The main (godotengine/godot) tracker is now solely dedicated to bug reports and Pull Requests, enabling contributors to have a better focus on bug fixing work. Therefore, we are now closing all older feature proposals on the main issue tracker.
If you are interested in this feature proposal, please open a new proposal on the GIP tracker following the given issue template (after checking that it doesn't exist already). Be sure to reference this closed issue if it includes any relevant discussion (which you are also encouraged to summarize in the new proposal). Thanks in advance!


remove getLastError() function that is later overwritten

The getLastError() function in antimony_bindings.jl is overwritten in RoadRunner.jl. This makes RoadRunner throw a Warning message every time it is loaded.

@ltatka  I get the same warning when loading the package. I feel like it would be nice if we could keep the functions in both modules as each returns errors related to their own library. Renaming the functions sounds a better idea, but I wonder if there is a way in Julia to handle functions with the same name in different modules?

That's not what is happening though. When you build RoadRunner.jl, it overwrites the function defined in antimony_bindings.jl.
Saying include("antimony_bindings.jl") is the equivalent of just copy/pasting the entire antimony_bindings.jl file in RoadRunner.jl. So if you define getLastError() in both, RoadRunner.jl will overwrite it. That's why it's throwing the warning

@ltatka You are right that the functions are overwritten as we include a Julia script in another one. I feel like there should be a way to avoid that as it is a common case when we include a script in our Julia code, and we shouldn't be worried about having functions with the same name. In any case, renaming the functions and giving them a distinct name always works as our last resort here.
PS: I believe the functions are not identical, as one of them returns the errors related to calling functions in roadrunner library and the other one returns the errors related to calling functions in antimony library

I understand that the intention is that one returns errors in RR and other in antimony, but that is not what is happening.
As I said, "include" just copies/pasts the whole script, so what you essentially have here is
  antimony_getLastError()
When any function returns an error condition, a longer description of the problem is
stored in memory, and is obtainable with this function.
"""
function getLastError()
  return unsafe_string(ccall(dlsym(antlib, :getLastError), cdecl, Ptr{UInt8}, ()))
end

"""
    RoadRunner_getLastError()
Retrieve the current error string. Example, str = getLastError (void)
"""
function getLastError()
  char_pointer = ccall(dlsym(rrlib, :getLastError), cdecl, Ptr{UInt8}, ())
  julia_str = unsafe_string(char_pointer)
  #freeText(char_pointer) #Why does not work? break?
  return julia_str
end

The functions have the same name, same arguments, and are written identically. With this set up you are not ever going to get the errors from the antimony script.

Here is how to solve the problem and achieve what you want:

Turn antimony_bindings.jl into a module
Export all the functions that you might need to use elsewhere.
Do NOT export the getLastError function.
When you want to use any of the exported functions form the antimony_bindings.jl, put "using antimony_bindings" instead of "include("antinmony_bindings")

Minimal example:
module A
export f
function f()
    return error()
end

function error()
     println("This is error() from module A")
 end
 end # module

module B
export f2
function f2()
    return error()
end

function error()
     println("This is error() from module B")
 end
 end # module

 using .A, .B
 # Now you can get an error message for either function

But if you export error() from both, then you will have a conflict.

@ltatka So, what I see here in your example is that you are using two different names, f1 and f2, to wrap around the function that has the same name in both modules. To me, that seems much like renaming the functions (except for the fact that you are not touching the function itself, but wrap it into a function with has a distinctive name).
I would say, if there isn't a straightforward way to handle the functions with the same name in different modules, let's just give the 'getLastError' functions a distinctive name in each Julia script.


8 fix remaining failed tests

Fixed failing tests, made some tests faster, and fixed a line or two.

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@dbe3654). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main       #9   +/-   ##
=======================================
  Coverage        ?   54.94%
=======================================
  Files           ?       13
  Lines           ?      728
  Branches        ?        0
=======================================
  Hits            ?      400
  Misses          ?      328
  Partials        ?        0

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


change defaults

fix: set minify to false by default - according to Alfred community guildlines 🚀
fix: align run-node asset to use just Node.js alias, change docs image

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

Reason
According to Official Alfred community, it is a best-practice to not minify the code by default.
Also, changed the docs & Node.js runtime to just call node

DEMO


from lib import activations

when I run your code, there is an error:
ImportError                               Traceback (most recent call last)
 in ()
5
6 from theano.sandbox.cuda.dnn import dnn_conv
----> 7 from lib import activations
8 from lib import inits
9 from lib.ops import batchnorm, deconv
ImportError: cannot import name activations
what can I do to solve this? sorry to bother you with such a simple question but I am a new one, coud you please help me ?

As is noted in 'dcgan_autoencoder_notebook.ipynb', lib is a folder from the original dcgan project. So all you should need to do is take the folder named 'lib' from https://github.com/Newmu/dcgan_code, and place it in the same directory as the piece of code you're running.
Hopefully that solves your problem


Call the right cargo binary

For some reason it calls the wrong cargo binary, resulting in this error:
error: no such subcommand: `+nightly`

+toolchain is only available when using cargo installed with rustup.
rustup cargo
$ cargo --help
Rust's package manager

USAGE:
    cargo [+toolchain] [OPTIONS] [SUBCOMMAND]
...

standalone cargo
$ /opt/homebrew/bin/cargo --help
Rust's package manager

USAGE:
    cargo [OPTIONS] [SUBCOMMAND]
...

$ /opt/homebrew/bin/cargo +nightly list
error: no such subcommand: `+nightly`

That's the weird thing - I have it installed correctly and it works fine in powershell. It just doesn't work when invoked from Rust using Command.

Is there some PATH trickery going on which means that standalone cargo has ended up ahead of the rustup installed one when the command is being executed?

Is there some PATH trickery going on which means that standalone cargo has ended up ahead of the rustup installed one when the command is being executed?

I think it would be interesting to dbg!(std::env::var("PATH")); from the xtask binary to see whether this differs from what PowerShell is using.

Is there some PATH trickery going on which means that standalone cargo has ended up ahead of the rustup installed one when the command is being executed?

I think it would be interesting to dbg!(std::env::var("PATH")); from the xtask binary to see whether this differs from what PowerShell is using.

In this case that would be:
C:\\Users\\bruno\\Rust\\pyo3\\target\\debug\\deps;
C:\\Users\\bruno\\Rust\\pyo3\\target\\debug;
C:\\Users\\bruno\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib;
C:\\Users\\bruno\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\bin;
C:\\Program Files\\WindowsApps\\Microsoft.PowerShell_<IP_ADDRESS>_x64__8wekyb3d8bbwe;
C:\\Users\\bruno\\.cargo\\bin;
C:\\Windows\\system32;
C:\\Windows;
C:\\Windows\\System32\\Wbem;
C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;
C:\\Windows\\System32\\OpenSSH\\;
C:\\Program Files\\NVIDIA Corporation\\NVIDIA NvDLISR;
C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;
C:\\Program Files\\Git\\cmd;
C:\\Program Files\\LLVM\\bin;
C:\\WINDOWS\\system32;
C:\\WINDOWS;
C:\\WINDOWS\\System32\\Wbem;
C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;
C:\\WINDOWS\\System32\\OpenSSH\\;
C:\\Users\\bruno\\AppData\\Local\\Programs\\Python\\Python310\\Scripts\\;
C:\\Users\\bruno\\AppData\\Local\\Programs\\Python\\Python310\\;
C:\\Users\\bruno\\AppData\\Local\\Microsoft\\WindowsApps;
C:\\Users\\bruno\\AppData\\Local\\Programs\\Microsoft VS Code\\bin"

But $env:PATH gives:
C:\Program Files\WindowsApps\Microsoft.PowerShell_<IP_ADDRESS>_x64__8wekyb3d8bbwe;
C:\Users\bruno\.cargo\bin;
C:\Windows\system32;
C:\Windows;
C:\Windows\System32\Wbem;
C:\Windows\System32\WindowsPowerShell\v1.0\;
C:\Windows\System32\OpenSSH\;
C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;
C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;
C:\Program Files\Git\cmd;
C:\Program Files\LLVM\bin;
C:\WINDOWS\system32;
C:\WINDOWS;
C:\WINDOWS\System32\Wbem;
C:\WINDOWS\System32\WindowsPowerShell\v1.0\;
C:\WINDOWS\System32\OpenSSH\;
C:\Users\bruno\AppData\Local\Programs\Python\Python310\Scripts\;
C:\Users\bruno\AppData\Local\Programs\Python\Python310\;
C:\Users\bruno\AppData\Local\Microsoft\WindowsApps;
C:\Users\bruno\AppData\Local\Programs\Microsoft VS Code\bin

Ugh...

Do any of the first four entries or the working directory contain a "standalone" cargo which would cause the error?

So I guess the conclusion is that rustup's own tooling (?) is adding a PATH entry which means the future +nightly argument fails. I think in that case this patch makes sense 👍


Switch all DSR responses to appending instead of prepending

This fixes an issue where two CPRs could end up corrupted in the input
buffer. An application that sent two CPRs back-to-back could
end up reading the first few characters of the first prepended CPR
before handing us another CPR. We would dutifully prepend it to the
buffer, causing them to overlap.
^[^[2;2R[1;1R
^^      ^^^^^ First CPR
  ^^^^^^ Second CPR

The end result of this corruption is that a requesting application
would receive an unbidden R on stdin; for vim, this would trigger
replace mode immediately on startup.
Response prepending was implemented in !997738 without much comment.
There's very little in the way of audit trail as to why we switched.
Michael believes that we wanted to make sure that applications got DSR
responses immediately. It had the unfortunate side effect of causing
subsequence CPRs across cursor moves to come out in the wrong order.
I discussed our options with him, and he suggested that we could
implement a priority queue in InputBuffer and make sure that "response"
input was dispatched to a client application before any application- or
user-generated input. This was deemed to be too much work.
We decided that DSR responses getting top billing was likely to be a
stronger guarantee than most terminals are capable of giving, and that
we should be fine if we just switch it back to append.
Thanks to @k-takata, @tekki and @brammool for the investigation on the
vim side.
Fixes #1637.

I know @zadjii-msft is on leave, but he's been floating around and may be peripherally interested in this. :smile:

@msftbot merge this in 1 hour

Great work!
BTW, how soon will there be a fixed release? The milestone page says there would be a bug-fixed release "Push to Microsoft Store at end of week 3". 3rd week monthly? so I guess it's around Sep 19?

Thank you so much for this, you guys are the best ! ❤

For those of you who are still following along at home, this fix was too late for Windows 10. Windows Server 2022 and Windows 11 both have the fix and the SSH server will operate properly.
We're looking at our options for making these kinds of fixes available to all versions of Windows in the future. 🙂


ci(repo): update pipelines

simplify master pipeline; and ensure that we add the correct remote (use
env var)
add dependency audit check

[ch8743]

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


WIP: Enable gem package listing

This commit adds changes to snippets.yml and base.yml to
collect the metadata of gem modules. Scripts are added
to base.yml to list the version, license, proj_url.
This PR is work towards #609.
Signed-off-by: abhaykatheria<EMAIL_ADDRESS>

I have tested these changes on rails:latest image from docker hub. Here the result from the last layer

	Layer: 07032e5274:
		info: Instruction Line: RUN gem install rails --version "$RAILS_VERSION"
		info: Layer created by commands: /bin/sh -c gem install rails --version "$RAILS_VERSION"
		info: Retrieved by invoking listing in command_lib/base.yml
licenses:
	in container:
	pkgs=`gem list 2> /dev/null | awk '{print $1}'`
	for pkg in $pkgs;do gem info $pkg 2>/dev/null |grep -n 'License:'| awk '{print $3}'; done

proj_urls:
	in container:
	pkgs=`gem list 2> /dev/null | awk '{print $1}'`
	for pkg in $pkgs;do gem info $pkg 2>/dev/null |grep -n 'Homepage:'| awk '{print $3}'; done

versions:
	in container:
	gem list 2> /dev/null | awk '{print $2}' | awk -F'[()]' '{print $2}'

names:
	in container:
	gem list 2> /dev/null | awk '{print $1}'

	Invoking commands from command_lib/base.yml:
		warning: No listing for key srcs. Consider adding this listing to command_lib/base.yml.
No listing for key copyrights. Consider adding this listing to command_lib/base.yml.

	File licenses found in Layer:  None
	Packages found in Layer:  bigdecimal-default:, bundler-1.13.7, did_you_mean-1.0.0, io-console-default:, json-default:, minitest-5.8.5, net-telnet-0.1.1, power_assert-0.2.6, psych-default:, rake-10.4.2, rdoc-default:, rubygems-update-2.6.8, test-unit-3.1.5
	Licenses found in Layer:  None
------------------------------------------------

Thanks for opening this @abhaykatheria! I took this commit and modified some of it to display the proper package version, license and proj_url information. I opened a new PR here: https://github.com/tern-tools/tern/pull/663
Thanks again for getting the ball rolling on this!

@abhaykatheria @rnjudge closing this as I have merged the other PR.


[Snyk] Fix for 1 vulnerabilities

Snyk has created this PR to fix 1 vulnerabilities in the npm dependencies of this project.
Snyk changed the following file(s):

sdk/servicebus/perf-tests/service-bus/package.json

Vulnerabilities that will be fixed with an upgrade:

Issue
Score

Missing Release of Resource after Effective Lifetime SNYK-JS-INFLIGHT-6095116
  131

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

:tada: Snyk checks have passed. No issues have been found so far.
:white_check_mark: security/snyk check is complete. No issues have been found. (View Details)
:white_check_mark: license/snyk check is complete. No issues have been found. (View Details)


fix(iostreams): use colorable stdout to print colors on Windows

Fixes #621
Verification
Set up this project on a Windows machine, check out and run this PR from Command Prompt
OR
Check these screenshots.
Powershell

Cmd

It's a lot of hassle to verify this, so I've added screenshots to help.

Do we need this one before Summit?

Do we need this one before Summit?

It depends - the output looks poor and does not give a good impression to Windows users.
It does not block functionality but you get something like this:
You are now logged in as "kafka-german-pilsner"

A new version of rhoas is available: 0.23.1
https://github.com/redhat-developer/app-services-cli/releases/tag/0.23.1

Aha -thanks for providing the for - I wasn't sure if it was just to enable colours on Windows!
Yes, then we should do this.


Feature/android resources crash old devices

Fixes an issue on old Android devices (< Android 6.0) where we observed apps crashing on startup. This was happening because the various gradle "_resources" (app_resources, google_api_resources, database_resources etc) sub-projects' output dex files were being cached under the same file name in the C++ layer.
This was causing a race condition amongst the threads handling each resources and the stack traces were inconsistent between runs.
Separating each resource project's output into a non-conflicting file name fixes the problem.

Good point. Remote config and other products do not suffer from this directly because they do not have a separate "_resources" sub project building anything. I think Remote Config was broken because app/auth was broken.


LRFinder w/ Gradient Accumulation

Great package! Thank you for sharing :)

I was wondering if you plan on adding gradient accumulation support for using LRFinder with a larger batch size.
Will you be adding mixed precision support?

As of right now, I'm not planning on developing the package further. But I'll gladly review PR's

Hi, @rsomani95 , I've implement a version of LRFinder with gradient accumulation (see also PR #9 ).
Before the PR is merged, you can clone that version of implementation from my forked repository to do any test you want.
$ git clone -b grad_acc_amp --single-branch https://github.com/NaleRaphael/pytorch-lr-finder
$ cd pytorch-lr-finder
$ pip install .

And please feel free to let me know if there is anything need to be improved!

@NaleRaphael this looks great! Give me a few days to get back to you with some feedback.

Hi, @rsomani95 !
apex has been integrated for mixed precision training, and thanks for the new version of apex APIs, there is nothing have to be changed while calling LRFinder.
To use LRFinder for mixed precision training, we just need to setup things by amp.initialize(...).
Examples for the usage is added in examples/lrfinder_mnist_amp.ipynb.
However, I ran into a little problem about this: the time of mixed precision training takes longer than training in FP32.
After searching some articles and github issues, I found this post: NVIDIA/apex - Mixed precision training slower than FP32 training.
It seems likely that it is the cause. Because I'm using a GTX 1660ti, and there is no tensor cores in it...
I'll try to validate it in the next few days. ;)

I've run more tests on my machine. And I found that we can set the flag torch.backends.cudnn.benchmark to True to improve the performance.
But it still takes a bit longer time to trained in mixed precision (opt_level = "O1") than trained in pure FP32. And it seems likely it's the limit of GTX 1660ti.
And I wrote a script for testing the performance of LRFinder with apex.amp:
https://gist.github.com/NaleRaphael/eda9d3f90aa57cf1f6b2ccdfe4217814
Here is the table of the result after I run that script with different conditions:

case
time (seconds)
time (seconds; with torch.backends.cudnn.benchmark = True)

normal (FP32)
3.6152
3.5799

amp (FP16, opt_level="O1")
18.7100
4.0301

amp (FP16, opt_level="O2")
18.0375
3.2404

Besides, I've create a notebook in colab. But the GPU used by colab is K80, and there is no tensor cores in it. Although the performance is not benefited by tensor cores, it seems that LRFinder is still stable enough to run with apex.amp.
https://colab.research.google.com/drive/1BhWYtLFOa24wisNckt9i6rQhBKurVWWV

Hello @NaleRaphael.
This is great work!! Thank you for sharing it.
AccumulationLRFinder works smoothly, does what its supposed to do. I appreciate how easy it is to do with your PR
In my experiments, I took used an RTX 2080 Ti, so I expected performance gains with FP16 (opt_level="01").
With FP32, it took ~18:47, whereas with FP16, it took ~15:00.
Strangely, setting torch.backends.cudnn.benchmark = True was detrimental to performance, ETA was ~25:00 (I didn't see this through, for obvious reasons).
Thank you again for your time and effort!
@davidtvs In my opinion, I think this PR should be merged (if not, I will be using @NaleRaphael's fork anyways)

Hi @rsomani95 .
Many thanks for your help and feedback, and I'm glad that these implementation helped!
And it's quite weird that it takes longer time to run when torch.backends.cudnn.benchmark = True. As far as I know, that flag should accelerate training speed when input size is fixed in each iteration.
However, it seems to me that it's not harmful to pend the issue about torch.backends.cudnn.benchmark currently. Because it's not related to LRFinder directly and the use of it depends on user. Though, I'll keep it in mind!
Besides, it seems that apex is going to be integrated as a builtin component of PyTorch in the future. (nvidai/apex#659) I will keep tracking this, too.
@davidtvs Before merging this PR, I would like to add some code to make users able to install apex optionally. I'll leave a comment here when it's done.
Thanks you, guys!

Sounds good, I'll wait for your changes and then merge. Thanks

Hi @davidtvs .
Changes for installation scripts are done, and I've tested it by the following command on both Ubuntu and Windows, all worked fine!
$ git clone -b grad_acc_amp --single-branch https://github.com/NaleRaphael/pytorch-lr-finder
$ cd pytorch-lr-finder
$ pip install -v --global-option="amp" ./

After the latest version of this package is updated on PyPI, the command pip install torch-lr-finder -v --global-option="amp" should work too.
Thanks a lot for your review!

The PR from @NaleRaphael is merged. Thanks @rsomani95 for raising the issue.

I'm considering changing the API for gradient accumulation, please have a look at PR #13 and give your feedback


Why not make an SDK?

I've been looking for this for a long time, I want to implement it on GTA Roleplay servers, but because it's made for Unity I don't know how complicated it can be to use it in a development environment

That is something I've been thinking about as well. Right now it's pretty simple. The entry into the program is the AuctionHouse class. I think you would want to control your own agents and input how much each agent makes or what not. Right now I'm still working on getting the core simulation working, which means it's very sensitive to what each agent does.
I think there are LLM driven agent based Econ sim you could look into. This project is very rudimentary at the individual level and is more geared towards country level management/government actions. Check out QoLSimpleAgent.cs to see what I mean by simple.


Example program not working

I'm getting no blinking LED from the example program.
I installed Arduino 2.1.1. Installed the Riotee boards 0.1.0. Copied the example program into the Arduino IDE editor:
void setup() {
  pinMode(LED_BUILTIN, OUTPUT);
}

void loop() {
  riotee_wait_cap_charged();
  digitalWrite(LED_BUILTIN, HIGH);
  delay(1);
  digitalWrite(LED_BUILTIN, LOW);
}

The program compiled and uploaded to the Riotee board. Switched both DIP switches on the solar board to ON. Put the board under some lights, the Vin measured over 0.25V. The LED on the board didn't blink. I'll try the board in the sun tomorrow (it's night now). But from what I've read the LED should have blinked powered by my indoor lights.
Kind of disappointing to get a new toy and not get it to work. Have I missed something?

Thanks for the reply. I was watching the wrong LED (the green one on the Riotee board). I now see the red LED on the Riotee module lighting up. I suggest you update the Get Started page to clearly specify the correct LED. And update the Riotee board and module hardware pages to identify the LEDs and other main components.

Great! And thanks for the suggestions, I'll update the docs accordingly.


[11.x] Add @delete directive

This pull request adds a new directive to Blade called @delete. With this directive, we can now set the method of a form to delete without having to write @method('delete'). This makes it simpler and more convenient to use.
<form action="" method="POST">
       @csrf
       @delete

        ......
</form>

Thanks for your pull request to Laravel!
Unfortunately, I'm going to delay merging this code for now. To preserve our ability to adequately maintain the framework, we need to be very careful regarding the amount of code we include.
If possible, please consider releasing your code as a package so that the community can still take advantage of your contributions!
If you feel absolutely certain that this code corrects a bug in the framework, please "@" mention me in a follow-up comment with further explanation so that GitHub will send me a notification of your response.