Update Rust to 1.58.1

Tool name
Rust
Tool license
dual-licensed under Apache 2.0 and MIT
Add or update?

[ ] Add
[X] Update

Desired version
1.58.1 stable
Approximate size
No response
Brief description of tool
No response
URL for tool's homepage
No response
Provide a basic test case to validate the tool's functionality.
No response
Virtual environments affected

[ ] Ubuntu 18.04
[ ] Ubuntu 20.04
[ ] macOS 10.15
[ ] macOS 11
[ ] Windows Server 2016
[ ] Windows Server 2019
[ ] Windows Server 2022

Can this tool be installed during the build?
No response
Tool installation time in runtime
No response
Are you willing to submit a PR?
No response

Rust 1.58.1 fixes a race condition in the std::fs::remove_dir_all standard library function. This security vulnerability is tracked as CVE-2022-21658.

Hello @wrenger!
Newer rust version will be fetched in this week as we are installing the latest version by default.

@wrenger we have not deployed windows 2022 this week, so the update is not yet fully done.

Now done.


Update vtkjs version to latest release

This PR updates the version of vtkjs to fix #428
@floryst I hope this will do the trick.
Cheers
Rem

I've tested it locally and can confirm it works properly


HPCC-28684 SparkHadoop should patch Spark3.x with commons 1.10

Replaced commons-text-1.9.jar with commons-text-1.10.0.jar

Signed-off-by: James McMullan<EMAIL_ADDRESS>

@ghalliday please either merge into master, or push branch into repo


Rename maxResults to pageSize

This fixes #740

Looks good. Feel free to merge.
A follow up question though. I ran grep on all .java files that we have in the library. We are still using MAX_RESULTS enum in our Rpc.Option classes. While this is an constant for "maxResults" selector, would it be better to rename this one as well, i.e., to have PAGE_SIZE("maxResults")? If we do this, constructs such as
return new BucketListOption(StorageRpc.Option.MAX_RESULTS, pageSize);

will become
return new BucketListOption(StorageRpc.Option.PAGE_SIZE, pageSize);

I do not have a clear opinion, however, the latter seems a nicer to me. The name switch from "page size" and to "max results" has to happen somewhere and I would probably try to push it as close to the call itself as possible.
/cc @ajkannan @aozarov

The name MAX_RESULTS remained the StorageRpc.Option enum because of the actual name of the parameter that is expected by the JSON API. StorageRpc.Option is not exposed to the user so I think we should stick to this naming as it's a better remainder of the actual param name.

Ok, fine with me.


Some calendar date events are failing with server error

Hello, there. Found a set of events where the Orthocal API doesn't work (returns server error).
List of API calls that don't work (there might probably be more):

https://orthocal.info/api/julian/2024/4/8/
https://orthocal.info/api/julian/2024/4/
https://orthocal.info/api/gregorian/2024/3/26/
https://orthocal.info/api/gregorian/2024/3/
https://orthocal.info/api/julian/2025/4/
https://orthocal.info/api/julian/2025/4/8/

Some notes (added it in case it's helpful with finding the reason for the bug):

Though julian/2025/4/8/ fails, gregorian/2025/3/26/ works fine.
Also julian/2024/4/ seems to have failed because there's an error in calculation of julian/2024/4/8/ i.e. month calculation seems to fail because one day of the sequence cannot be calculated.

Hope the issue can be resolved soon!
Also, could you please give me some information on when you are planning to look into this issue? I'm working on a personal project using this API and would like to know if I could continue soon or should postpone it for a bit.

Hey @brianglass
Any thoughts/updates on this?

@denshu-arte, thank you for the bug report. I just deployed a fix for these this afternoon. Please try again and let me know if it is resolved. The error occurs if there is a Leave-taking of Annunciation that occurs on a non-liturgy day. You can review the commit here: https://github.com/brianglass/orthocal-python/commit/abedc58e13dd03eb182322eb4a0e6599289b32c2

@brianglass yes, it works now. Thank you for the fix. I'll be closing the issue now.


Prevent double click on cell button

In some circumstances MGSwipeButton get more than one targets, for example when from tappedButtonAtIndex navigate to another controller and back. As result next tappedButtonAtIndex called twice and more.
The fix is just check targets count, before add new target to button.

Thats for the Pull Request. I prefer to ccheck if self exists in allTargets rather than using count. Fixed in 353902c. It will be available in 1.5.2 release


Add support to limit the what gets downstreamed in v0

The merge tool always pulls the master branch from all the staging repos.
This is a problem if one of the dependencies has been updated to a version
of something that is incompatible with the base repository, and the base
repository still references an older dependency.
For instance: operator-lifecycle-manager may reference older verisons
of operator-framework/api and operator-framework/operator-registry.
If one of those dependencies is updated to a more recent version of say,
k8s, but OLM hasn't pulled it in, that will cause merge problems.
What should happen is upstream OLM should integrate with those newer
dependencies before they're pulled downstream. Until then, the dependencies
should remain at the versions listed in OLM's depdencies, as specified in
go.mod.
This is done by looking at the latest OLM and seeing what versions
of api and operator-registry should be referenced.
In addition to the above:
Remove the go mod commands run in staging, those commands are not
necessary as upstream should be running them and keeping their go.*
files maintained.
Add logic to handle commits that have been downstreamed after the
tagged version that OLM expects. This is mostly for the transision
period to limiting downstreaming by tag.

@stevekuznetsov this should fix all your concerns

So, based on @everettraven comment, and my response, I need to rethink the integration.

I think I figured out a way to get the versions of api and operator-registry that need to sync with operator-lifecycle-manager, without having to sync/merge OLM commits first... this will be easier to implement, and keep things inline with the current logic and operation.

I added logic to better handle the new api & operator-registry versions that OLM wants, and this occurs before any commits are cherry-picked.
I also added logic to handle the transition to label-based vs latest downstreaming by not erroring out when we've already downstreamed "too much" (which is the current status)
Finally, removed the go mod commands within the staging directory, as it's upstream's responsibility to make sure they are keeping go.mod tidy (and with @grokspawn latest operator-registry commit, they are tidy)

Just to make sure I have the correct understanding now of the flow, we essentially:

Fetch o-f/olm master
"Checkout" the master branch (FETCH_HEAD) into a temporary directory
Run dependency version analysis in the temp directory
Clean up the temp directory
Pull all the refs

If, at a high-level, I have a correct understanding of the flow this LGTM

Just to make sure I have the correct understanding now of the flow, we essentially:

Fetch o-f/olm master
"Checkout" the master branch (FETCH_HEAD) into a temporary directory
Run dependency version analysis in the temp directory
Clean up the temp directory
Pull all the refs

If, at a high-level, I have a correct understanding of the flow this LGTM

Yes.

Running this code in your local repo will cause the remote reference to be created that you may not want.
git reflog expire --expire-unreachable=now --all
git gc --prune=now

will clean up any of the fetched remotes.

Running this code in your local repo will cause remote references to be created that you may not want.
git reflog expire --expire-unreachable=now --all
git gc --prune=now
go worktree prune

will clean up any cruft. This doesn't matter so much when run by the job in a container.

Can we document this somewhere more concrete with this change? Maybe the README?

Maybe the README?

Just noticed this repo doesn't have a README 🤦 - might be worth adding

Maybe the README?

Just noticed this repo doesn't have a README 🤦 - might be worth adding. I'm okay with that being a follow up though

Yup, but that's probably better for another PR.

Readme: #25

ping?

/approve

/approve

@tmshort for the comment in https://github.com/openshift/operator-framework-tooling/pull/19#discussion_r1469849388 ... why did we end up re-implementing logic that already existed in v1?

@tmshort for the comment in #19 (comment) ... why did we end up re-implementing logic that already existed in v1?

The logic is very close but not exact. Also, I did not want to disrupt v1, as at the time it was working. I didn't want to add risk.

@tmshort can you explain how the logic is different? It is quite literally identical behavior in parsing go.mod ...


Update TFLite getting started webdoc

Follow the iree-tools-tflite wheel importer changes.

Tensorflow webdoc already has these lines https://github.com/openxla/iree/blob/c7b29123f8bd80c1346d2a9e6c5227b372b75616/docs/website/docs/getting-started/tensorflow.md?plain=1#L12-L17


Fix for -mt settings for Rar 3.60 -> Rar 4.11

Fix the update that was made for 4.20 but which broke 3.60

@srrDB @hrxcodes @itzoke Why has this not been merged yet?

I see no reason not to merge this.


petsc: 3.17.0 -> 3.17.3

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/petsc/versions.
meta.description for petsc is: "Portable Extensible Toolkit for Scientific computation"
meta.homepage for petsc is: "https://www.mcs.anl.gov/petsc/index.html"
meta.changelog for petsc is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 3.17.3 with grep in /nix/store/rn4l9kv6isgcdhd94n0y7ls2img1qs7d-petsc-3.17.3
found 3.17.3 in filename of file in /nix/store/rn4l9kv6isgcdhd94n0y7ls2img1qs7d-petsc-3.17.3

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath
getdp
petsc

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/rn4l9kv6isgcdhd94n0y7ls2img1qs7d-petsc-3.17.3 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A petsc https://github.com/r-ryantm/nixpkgs/archive/861c5d51b58ca676cf6b57a96a3a57c335d6f8b7.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/rn4l9kv6isgcdhd94n0y7ls2img1qs7d-petsc-3.17.3
ls -la /nix/store/rn4l9kv6isgcdhd94n0y7ls2img1qs7d-petsc-3.17.3/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages built:

getdp
petsc

Maintainer pings
cc @cburstedde for testing.

@ofborg eval


Getting API Error 400: Invalid request

The plugin used to work fine for me, but I now get errors whenever I try to pass a prompt. Here is what I get using the llm python API to pass a prompt to Claude:
Traceback (most recent call last):
  File "myscript.py", line 40, in gen_longsum
    initial_response = response.text()
                      ^^^^^^^^^^^^^^^
  File "\venv\Lib\site-packages\llm\models.py", line 112, in text
    self._force()
  File "\venv\Lib\site-packages\llm\models.py", line 106, in _force
    list(self)
  File "\venv\Lib\site-packages\llm\models.py", line 91, in __iter__
    for chunk in self.model.execute(
  File "\venv\Lib\site-packages\llm_claude\__init__.py", line 54, in execute
    completion = anthropic.completions.create(
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "\venv\Lib\site-packages\anthropic\_utils\_utils.py", line 250, in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "\venv\Lib\site-packages\anthropic\resources\completions.py", line 223, in create
    return self._post(
           ^^^^^^^^^^^
  File "\venv\Lib\site-packages\anthropic\_base_client.py", line 949, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "\venv\Lib\site-packages\anthropic\_base_client.py", line 748, in request
    return self._request(
           ^^^^^^^^^^^^^^
  File "\venv\Lib\site-packages\anthropic\_base_client.py", line 785, in _request
    raise self._make_status_error_from_response(request, err.response) from None
anthropic.BadRequestError: <title>Error 400 (Bad Request)!!1</title>

Note that I get the same error if I use llm in the command line like so:
llm -m claude "Compare and contrast the leadership styles of Abraham Lincoln and Boris Johnson."
I get this output:
Error: <title>Error 400 (Bad Request)!!1</title>
Anthropic's official documentation describes Error 400 as:
Invalid request: there was an issue with the format or content of your request.
Was there a breaking change in the past month that required updating the plugin to pass prompts in the right format, or is there somehow an issue on my end?

I'm on holiday for the next two weeks, but happy to review pull requests. Would you like to try updating the anthropic library please.

I did some troubleshooting and it turns out that my API key hadn't been properly stored. It works now. My bad!

Ok no worries, thank you for letting me know
On Thu, 5 Oct 2023, 4:03 pm 9j7axvsLuF, @.***> wrote:

I did some troubleshooting and it turns out that my API key hadn't been
properly stored. It works now. My bad!
—
Reply to this email directly, view it on GitHub
https://github.com/tomviner/llm-claude/issues/5#issuecomment-1748328089,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABI3F6DGGLAU74MM6GHMXLX5ZSV5AVCNFSM6AAAAAA5SK6LNWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBYGMZDQMBYHE
.
You are receiving this because you commented.Message ID:
@.***>


Fix poetry version on Docker

Description
Please include a summary of the changes and the related issue.
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes.
Checklist:

[ ] I have commented my code, particularly in hard-to-understand areas
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works

#86  👈
develop

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @akotadi and the rest of your teammates on  Graphite

Merge activity

Oct 10, 11:03 PM EDT: A user started a stack merge that includes this pull request via Graphite.


Java programming support

Already I love Atom for Web Development
But I am also a strong Java Developer. I would like to see more mutual support for Java Programming such as:

Exporting Jars
Adding Libraries/Archives

I currently use Eclipse but I love Atom, I'd even be willing to give up more storage to have this feature part of my Atom Application
Side note: I run on Ubuntu 14.04 and I am using the .deb package version

@TeksWolf This would probably be something for a (large) extension or set of such extensions.

I imagine it would be, although I'm sure if they teamed up with the Eclipse team they could produce a "universal" IDE to cover more than just Web Development and Java Development.
With Atom's sleek and new ui thats hackable to the core, and their support for all languages, they could integrate Eclipse's level of knowledge and support to produce an OpenSource IDE while still maintaining the original beliefs behind each project.
Although I imagine it would come default with just Web Development features and have full size add ons much like Atom does with packages available to download Instead of swamping the origin with heaps of data

This sounds like a great idea for a community package. Check out the Atom Flight Manual for some tips on getting started with package development.
Perhaps starting a thread on Discuss would be a good way to get the ball rolling on the community effort.


Android Doze Mode kills audio in player

Describe the Bug
Since Android 12, on certain devices, the audio playback just stops on android devices after about 5 or 10 minutes when the device puts the app into doze mode.
Steps To Reproduce
Build an app, deploy to android, play long audios.
Code To Reproduce
This is a systematic / config question therefore I don't think code samples are relevant.
Replicable on Example App?
Can you replicate this bug in the React Native Track Player Example App?
Not sure - will work on this and report back.
Environment Info:
Paste the results of npx react-native info
Paste the exact react-native-track-player version you are using
Real device? Or simulator?
What OS are you running?
info Fetching system and libraries information...
System:
OS: macOS 14.0
CPU: (16) x64 Intel(R) Core(TM) i7-10700K CPU @ 3.80GHz
Memory: 67.90 GB / 128.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 18.12.0 - ~/.asdf/installs/nodejs/18.12.0/bin/node
Yarn: 1.22.19 - ~/IdeaProjects/tmi-nx-stack/node_modules/.bin/yarn
npm: 8.19.2 - ~/.asdf/plugins/nodejs/shims/npm
Watchman: 2<IP_ADDRESS> - /usr/local/bin/watchman
Managers:
CocoaPods: 1.13.0 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 23.0, iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0
Android SDK: Not Found
IDEs:
Android Studio: 2022.3 AI-223.8836.35.2231.10811636
Xcode: 15.0.1/15A507 - /usr/bin/xcodebuild
Languages:
Java: 17.0.9 - /usr/bin/javac
npmPackages:
@react-native-community/cli: 10.2.2 => 10.2.2
react: 18.2.0 => 18.2.0
react-native: 0.71.8 => 0.71.8
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
This only happens on real devices as far as we have seen, can't get it to happen on a simulator., and it seems to have variable performance across different devices, maybe due to battery life or settings per device
We are on 3.2.0
How I can Help
What can you do to help resolve this?
If this is a real issue and other people are experiencing it, we might be able to fix and do a pull request.
Have you investigated the underlying JS or Swift/Android code causing this bug?
Yes, but it is just about background mode - basically, when you hit play on an audio you should probably put the system in a 'partial wake lock' - at least that is the workaround we are considering.
Can you create a Pull Request with a fix?
Maybe, but just trying to make sure that this isn't just a config setting I'm missing.

Is this happening to you during a track change? And during that track change are you loading new audio?

No - this happens about 5 to 10 minutes into a track (some of our tracks are over an hour) on Android only when the phone is in background mode.  We also have downloads, and it doesn't happen on downloads.  From what we can tell, it relates to the Doze mode - https://developer.android.com/training/monitoring-device-state/doze-standby - where part of Doze is that it cuts the internet connection.  I'm wondering if this is something you guys haven't run into because maybe if people are primarily working with shorter tracks and when they change track, it 'wakes' the app up for a second, so doze mode doesn't occur.
I would assume you guys have some way of stopping the app from going offline from streaming audio - or that music apps in general (spotify) handle this somehow - I guess I'm just wondering if this is something you have handled and our version or our setup just needs to be tweaked somehow, or if this is something you aren't seeing and we need to do our own partial-wake solution.  Also, if we do that, should we do it as part of your library, or just in our app (i.e. when someone hits play we put them in partial wake mode, when they hit stop we remove it)

you might be experiencing a version of https://github.com/doublesymmetry/react-native-track-player/issues/2159
android battery optimization has been a problem for the longest time.
I personally use a Samsung S21 and just never saw my app killed; it won't even kill itself on app close, with AppKilledPlaybackBehavior set to stop and remove notif and battery optmization on. which is... weird but works.
I'm assuming setting AppKilledPlaybackBehavior to continue playback won't magically work for you, and realistically everyone else has been just asking users to disable battery optimization of their apps, i'm afraid your options might also be limited to that?

We're running into this with our app as well. I would set AppKilledPlaybackBehavior to ContinuePlayback but I also have a periodic API request that is called via the PlaybackProgressUpdated event, and that event obviously isn't called once the app is killed.
It would be great if RNTP included a way to periodically call native code when the PlaybackProgressUpdated event is called (or at some other interval), in order to work around that issue.

Appkilledbehavior.continueplayback only keeps the musicService to be alive
(ie not killed), I do believe the event still emits but nothing is
receiving it if your RNactivity is dead. Same goes for any of the remote
events. Imo RNTP is severely limited when the activity is killed (not rntps
fault, but a limitation to RN) You prob need to customize storing your
business logic passed to native, or better yet just ditch RN all together
On Tue, Nov 21, 2023, 8:17 AM Benjamin Uzelac @.***>
wrote:

We're running into this with our app as well. I would set
AppKilledPlaybackBehavior to ContinuePlayback but I also have a periodic
API request that is called via the PlaybackProgressUpdated event, and
that event obviously isn't called once the app is killed.
It would be great if RNTP included a way to periodically call native
code when the PlaybackProgressUpdated event is called (or at some other
interval), in order to work around that issue.
—
Reply to this email directly, view it on GitHub
https://github.com/doublesymmetry/react-native-track-player/issues/2198#issuecomment-1821235773,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZMOVVS7QVIBAYE7LRKF363YFTHYZAVCNFSM6AAAAAA7FDQZLWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRRGIZTKNZXGM
.
You are receiving this because you commented.Message ID:
@.***
com>

Hey @justinhandley - I'm wondering if you found a way around this issue?  We are considering switching to RNTP (from expo-av) but we also have long audio tracks and this issue is giving us pause.  Thanks for any insight you can provide.

OK, @ALamm  - we did get this working.  One of my main questions is, can this be built into RNTP or is it a hack every single person has to apply to their app - I don't know that much about android / kotlin / permissions when they live in plugins - I guess maybe it is something that could be at least provided in the readme / install docs if it can't actually be built it.
In the same folder as your MainApplication.java make a NetworkService.kt (obviously replace all com.yourpackagename with your package name
`package com.yourpackagename;
import android.app.Service
import android.content.Intent
import androidx.core.content.ContextCompat
import android.os.IBinder
import android.app.Notification
import android.app.NotificationChannel
import android.app.NotificationManager
import android.os.Build
import android.app.PendingIntent
import android.content.Context
import com.yourpackagename.R
class NetworkService : Service() {
private val channelId = "network_service_channel"

override fun onCreate() {
    super.onCreate()
    createNotificationChannel()
}

override fun onStartCommand(intent: Intent, flags: Int, startId: Int): Int {
    val notification = createNotification()
    startForeground(1, notification)
    // Add your network handling code here
    return START_STICKY
}

private fun createNotification(): Notification {
    val notificationIntent = Intent(this, com.yourpackagename.MainActivity::class.java)
    val pendingIntent = PendingIntent.getActivity(this, 0, notificationIntent, PendingIntent.FLAG_IMMUTABLE)

    return Notification.Builder(this, channelId)
            .setContentTitle("Network Service")
            .setContentText("Running...")
            .setSmallIcon(R.drawable.ic_notification) // Replace with your icon
            .setContentIntent(pendingIntent)
            .build()
}

private fun createNotificationChannel() {
    if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
        val serviceChannel = NotificationChannel(
            channelId,
            "Network Service Channel",
            NotificationManager.IMPORTANCE_DEFAULT
        )
        val manager = getSystemService(NotificationManager::class.java)
        manager.createNotificationChannel(serviceChannel)
    }
}

override fun onBind(intent: Intent): IBinder? {
    return null
}

}`
and a NetworkWakeLockModule.kt
`package com.yourpackagename // replace with your actual package name
import android.content.Intent
import androidx.core.content.ContextCompat
import android.content.Context
import android.os.PowerManager
import com.facebook.react.bridge.ReactApplicationContext
import com.facebook.react.bridge.ReactContextBaseJavaModule
import com.facebook.react.bridge.ReactMethod
import com.facebook.react.ReactPackage
import com.facebook.react.bridge.NativeModule
import com.facebook.react.uimanager.ViewManager
import com.yourpackagename.NetworkService
class NetworkWakeLockPackage : ReactPackage {
override fun createNativeModules(reactContext: ReactApplicationContext): List<NativeModule> {
    return listOf(NetworkWakeLockModule(reactContext))
}

override fun createViewManagers(reactContext: ReactApplicationContext): List<ViewManager<*, *>> {
    return emptyList() // If you are not adding any view managers
}

}
class NetworkWakeLockModule(reactContext: ReactApplicationContext) : ReactContextBaseJavaModule(reactContext) {
private var wakeLock: PowerManager.WakeLock? = null
override fun getName(): String {
    return "NetworkWakeLockModule"
}

@ReactMethod
fun acquireWakeLock(tag: String) {
    val powerManager = reactApplicationContext.getSystemService(Context.POWER_SERVICE) as PowerManager
    if (wakeLock == null) {
        wakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, tag)
        wakeLock?.acquire()
    }
}

@ReactMethod
fun releaseWakeLock() {
    if (wakeLock?.isHeld == true) {
        wakeLock?.release()
        wakeLock = null
    }
}

@ReactMethod
fun startNetworkService() {
    val serviceIntent = Intent(reactApplicationContext, NetworkService::class.java)
    ContextCompat.startForegroundService(reactApplicationContext, serviceIntent)
}

@ReactMethod
fun stopNetworkService() {
    val serviceIntent = Intent(reactApplicationContext, NetworkService::class.java)
    reactApplicationContext.stopService(serviceIntent)
}

}`
in your app/build.gradle add
apply plugin: 'kotlin-android'
in your AndroidManifest.xml
 <service         android:name="com.yourpackagename.NetworkService"         android:exported="false">       </service>
in your MainApplication.java
import com.yourpackagename.NetworkWakeLockPackage;
and before 'return packages' add
packages.add(new NetworkWakeLockPackage());
I THINK that is everything - if that doesn't work for you let me know - the commit with that change had some other stuff in it that I believe is irrelevant and I don't want to dump unnecessary changes on your app.
Essentially, when you play an audio file, we are applying a 'wake lock' on the phone that stops it from cutting off the apps internet connection, etc.  This feature is still in beta and not in the wild in our app, but so far all testing seems to point to that it works without asking people to change their battery settings.
Oh, also I think you need to add an icon where it says put your icon...  I'd love to know if this works for you, and if it doesn't I'm happy to help figure out what is missing until it does, and ideally we can get this boiled down into a nice replicatable set of steps (or even better the rntp folks can understand this and incorporate it in their project.


Cache roms

Needing to load ROMs from the filesystem every time is really annoying. We can easily cache them in localStorage or something.
Also the load cart UI should be rethought to allow for "included ROMs", "saved ROMs", or "load from FOO"

It might not be too bad as is. I'd expect most people to have a common directory, and localstorage space is pretty limited.


Configuration file for ethereum adapter settings

Make polling_interval (and ancestor_count?) configurable by end user.

Old issue and out of context now, closing.


The C# client running longpolling transport closes if the server does not send any messages for 100+ secs

Looks like the default HttpClient.Timeout for http request is 100 secs. The HttpClient will then cancel the request. The default timeout for poll requests is 110 seconds. As a result the client cannot be idle for more than 100 seconds otherwise HttpClient timeout kicks in and cancels the request which then will stop the transport and as a result the  client.
We should:

re-poll on the client if HttpClient timeout occurs instead of stopping the transport
set the HttpClient timeout to be greater than the default timeout for poll requests on the server side (e.g. 120 seconds) to make the server close poll requests cleanly

@muratg @davidfowl  I think we should fix this in alpha1

Seems like a straightforward fix.

We may want to send the poll timeout value from the server in the response to the OPTIONS request and set the HttpClient.Timeout based on that. We would have to pass this value to the TransportFactory.

@moozzyk do you want to file a separate bug for that?

I filed #830


Restore pulling in wrong version of EF

I have two projects in my solution - Web and BLL.
BLL references Entity Framework 6.1.3 and Web references BLL. This is fine, but when I do a restore on Web, it pulls in BLL with Entity Framework 7.0.0-beta4. I get that the version you specify in the project.json file is a minimum version, but should we really be going up major versions? The 6.1.3 and 7.0.0-beta4 are incompatible with each other.
Is there a way around this or am I possibly doing something wrong? Also, if there's a better place for this issue, let me know.
BLL:

Web:

Why is the version being pulled up to 7.0.0-beta4? What other package in your dependency graph depends on EF? BTW we're working on making this experience better in tooling so we show why a version was selected.

Ahh, the "Microsoft.Framework.CodeGenerators.Mvc" package has a couple dependencies that use 7.0.0-beta4. Removed it, and it worked just fine. Now, if we're pulling in dependency A's version of EF, and I can't update dependency B's version of EF, what's the recommended solution for that issue? I see that version ranges might be introduced per the dependency resolution docs. Will there ever be the ability to support two packages using their own, separate versions of the same dependency?

This issue is being closed because it has not been updated in 3 months.
We apologize if this causes any inconvenience. We ask that if you are still encountering this issue, please log a new issue with updated information and we will investigate.


No test available in compiled exe

I'm working on tests for this project: https://github.com/wqweto/VbYoga/tree/master/test
Testing works very well in VBIDE but once compiled the classes are recognized with no methods and show (0 Tests)

Is there something simple I am missing?
Could it be SimplyVBUnit runtime versions mismatch as 5.0 setup went to C:\Program Files (x86)\SimplyVBUnit 4.1 for some reason?

I'm also interested in running from a compiled .exe... Were your changes a possible solution to this, @wqweto? Ultimately, what I'd love to do is run all the tests in a command-line mode with reasonable output for an automated build system, @kellyethridge.

I did not attempt generic solution but had to implement ITestFixture_GetTestCases which is the supported way by the framework.
The most inconvenient part is that although the codegen is automated it has to be triggered manually and the generated code just has to copy/pasted manually too when new tests are added.

Just as a comment for the running the test in a CI environment.
It is possible to create a console Testrunner with the provided libraries in this project.
I need to request our company if we can provide our solution for the OpenSource Community, but the very basic approach is creating a Testcollector in VB6 as part of the COM Library containing the tests and make this interface as static as possible and than build a console application with e.g. .NET and consume this interface and executes the test like the frmtestrunner does, just hand over the collected test classes.
You may need to have your VB6 libraries to be project  compatible to previously created and shared library with the test runner. (Some COM magic required to make things work).
To make things work better with newer cintooling, you can export the test results into other formats like nunit or junit by parsing the testresult and coverting it into your format of choice.
Well this approach need to adopted per project, but I guess its even possible to make things more generic, if you know COM better than me ;-)


Store events

Now that the message store allows storing of events, we must store them when we get them in the worker.

Ready for review.

:+1:


Hide a container when its indicator is hidden

Hi !
Is there a way to hide a scrollbar container when its indicator is not visible because there is not enough content to have a scrollbar ?
I use custom scrollbars with a border on the container (track), but I don't want to see the track when the indicator is hidden.
I don't see any particular class on the container when the indicator is hidden ...

I was faced with the same problem as I had applied some styles to the container and these would still be visible even when the indicator was hidden (due to the size of the container being greater than the size of the scrollable content).
Looking through the iScroll code (version 5.1.3) I came across a method which returns true if the area is scrollable: hasVerticalScroll (in my case I was using vertical scrolling). In fact this method is used by iScroll to show or hide the indicator on refresh. So, although undocumented, you can use the same method to check whether the area is scrollable and then show or hide the container.
So, in my case:
var myScroll = new IScroll('#wrapper');
And then when checking if the area is scrollable you can either apply or remove a class ('inactive') which hides the container ('.iScrollVerticalScrollbar'):
if (myScroll.hasVerticalScroll) {
$('.iScrollVerticalScrollbar').removeClass('inactive');
}
else {
$('.iScrollVerticalScrollbar').addClass('inactive');
}


Bug: Charge curve Power cut off in Polestar 2 MY24+

In the Polestar 2, the maximum DC charging power has been increased to above 200kW. The charge curve is currently capped at 160kW. This should be dynamic to also allow for higher values for other cars.

Done with b31281c.


Allow create & delete for managedclusterviews

Related issue: https://github.com/open-cluster-management/backlog/issues/11243

/assign @tpouyer

/approve
/lgtm
@ckandag Can review?

/assign @nathanweatherly

@zlayne @jlpadilla  : I approved but in the issue it said this used to work before, I went back and looked at the history and it dint have create/delete even in release 2.0 or 2.1. ??
Probably best if someone in server foundation team also  takes a look at this . @qiujian16 .

Is there a reason this couldn't wait until someone on installer looked at it before merging?
And did anyone pull and test this code before merging?

I did my approval because we were (supposedly) waiting on this fix to build 2.2.2 RC3, it had already been approved by one user, and nobody was taking any action.


Add PUGIXML as prefix to CMake options

Added PUGIXML as prefix to all CMake options to avoid naming collisions
with downstream projects.
Removed the cached variable BUILD_DEFINES, since it was unused.

This is a PR relating to suggestion #374

This is a PR relating to suggestion #374

FWIW the fact that BUILD_DEFINES is unused is a bug, see #413

@zeux Do you wish that I amend my pull request by including the re-introduction of the handling of generic build defines via the BUILD_DEFINES variable?

@zeux I have added a prefixed version of the BUILD_DEFINES functionality. However, the need for these types of custom defines may not be needed in the future. The PR #388 is probably the preferred way of handling options available in the library.

Thanks! I agree that for PUGIXML_WCHAR_MODE it's better to expose dedicated CMake settings, but for some more arcane options a generic build defines is useful to reduce the configuration space.

Thanks!


service/locations: hooked expression evaluator to location specifiers

Location specifiers starting with '*' can be followed by any
expression supported by the evaluator.
The expression should evaluate to either an integer (which will be
interpreted as an address) or to a function pointer (which will be
dereferenced to get the function's entry point).

Issue with OSX fixed.

LGTM


library/ceph_volume: look for error messages in stderr (bp #5262)

This is a manual backport of pull request #5262 done by Mergify

Mergify commands and options

More conditions and actions can be found in the documentation.
You can also trigger Mergify actions by commenting on this pull request:

@Mergifyio refresh will re-evaluate the rules
@Mergifyio rebase will rebase this PR on its base branch
@Mergifyio update will merge the base branch into this PR
@Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

look at your merge queues
generate the Mergify configuration with the simulator.

Finally, you can contact us on https://mergify.io/

jenkins test playbook syntax


Running all cameras when post-processing

When post-processing, you will usually edit only one camera. However, the run_optical_flow command does not have an option to select a specific camera (-c #). Adding this option would reduce waiting time.

I did not include -c for the command run_optical_flow because it fetch every FlowQueue that is not completed, and runs optical flow regardless of which camera is being used.
The bug here is that it renders new overlayed video even when optical flow is not performed. It should be fixed: 4ee1c41


burpsuite: 2<IP_ADDRESS> -> 2<IP_ADDRESS>

Description of changes
Based on https://github.com/NixOS/nixpkgs/pull/276325, updated to latest version.
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Sigh.


BaseSettings evaluates default_factory on class definition

Checks

[x] I added a descriptive title to this issue
[x] I have searched (google, github) for similar issues and couldn't find anything
[x] I have read and followed the docs and still think this is a bug

Similar to #1670 but this applies to BaseSettings, not BaseModel.
Example File
from pydantic import BaseModel, BaseSettings, Field

def _gen() -> str:
    print("Called")
    return "x"

print("Pre Settings definition")

class Settings(BaseSettings):
    val: str = Field(default_factory=_gen)

print("Post Settings definition")
Settings()
print("Post instantiation")

Expected Behaviour
_gen should not be called during the definition of the Settings class (as per #1670 ).
Actual behaviour
It is called. This raises NameError as my factory function (the real one, not the example) is referencing things that aren't yet defined (though I can reorder my code).
If I swap BaseSettings for BaseModel, it is not called (matches expected behaviour).
Version
>>> print(pydantic.utils.version_info())
             pydantic version: 1.8.2
            pydantic compiled: False
                 install path: ...\.venv\Lib\site-packages\pydantic
               python version: 3.10.0b3 (tags/v3.10.0b3:865714a, Jun 17 2021, 20:39:25) [MSC v.1929 64 bit (AMD64)]
                     platform: Windows-10-10.0.19042-SP0
     optional deps. installed: ['dotenv', 'typing-extensions']

Hi @ShadowLNC
A fix #2566 has already been done and merged for this.
It will be available in next version 1.9.
In the meantime feel free to either:

wait for v1.9
install pydantic from git with this PR
$ pip install git+git://github.com/samuelcolvin/pydantic.git@31c4efb7f05d9c45e187591af7bf331e72719b71
use your own fork
Cheers

Apologies - obviously I missed this one when searching. Thanks for the info 😃

When I have time, probably September.


Fix parsing of decimals

The tests require parse_decimal_literals_as_double=true since the driver doesn't properly handle decimals (at least inside of arrays). This session property should be removed (it defaults to false) so that the default behavior of parsing decimal literals as decimals occurs, which how most people will use Presto. In general, the type conversion tests need to be more comprehensive.

Since https://github.com/trinodb/trino-go-client/pull/90 we no longer use/require parse_decimal_literals_as_double.


doc site is down

https://material.angular.io/
This site can’t be reached

site is running now

https://downforeveryoneorjustme.com/material.angular.io

visit https://material.angular.io, it is running

Same issue

As downforeveryoneorjustme.com sites mention that it's just me
But issue is issue

After visit https://material.angular.io/index.php
then it works now in chrome

There is sometimes a service worker issue that causes some ressources not to load. If you unregister the service worker in the dev-tools Application tab, they load again.

This happens to me on a daily basis and the way I fix it every time is I go into my dev tool and go to the application tab and click on "Clear site data". The problem is with the Angular service worker (PWA) module.


Add options to skip building the Qt designer plugins

Not sure if you'd like to integrate this - but there are chances that nobody ever used Qt Designer plugins.
I had issues building MITK inside a specific environment because two Qt Designer plugin classes would produce compiler errors that I was unable to correct. Consequently, I introduced two changes with this patch:

disable CTK Qt Designer plugins by providing CTK_BUILD_QTDESIGNER_PLUGINS:BOOL=OFF
add a default-off option named QWT_BUILD_DESIGNER_PLUGIN to CMakeExternals/QwtCMakeLists.txt

Why not. 😃 Thanks! Merged into releases/2018-04.

@maleike : can you remember what went wrong on your side?

Yes, I can. The specific environment was compilation of MITK in a Docker (for Windows) environment based on a Windows server image Qt's moc was behaving wrongly in this environment for a specific Q..INTERFACE / PLUGIN macro that appeared in the designer plugin code. "Behaving wrongly" means: moc was called by msbuild with the exact same parameter files, no strange build paths - however the call was working on a native Windows desktop system and failing without an error or result file inside the Docker environment.
By now I think that the problem should not appear anymore. I changed the build to another Docker base image, namely a Windows Desktop base image when I hit the same problem again on a file that I could not exclude from compilation.

Thanks. I remember we sometimes used to encounter strange problems like this on Linux/Docker as well, but it seems to be fixed in more recent docker / Qt combinations:
https://stackoverflow.com/questions/56319830/error-when-building-qt-app-in-a-recent-docker
https://bugreports.qt.io/browse/QTBUG-65625
https://bugs.launchpad.net/ubuntu/+source/docker.io/+bug/1755250
Anyway we will then probably restore the previous default and if you need an option to turn plugins off this should be added as a CMake option on superbuild level.


Additional shell supported

This is a PR for review. It contains multiple commits, so don't just merge it in.

ksh support
zsh support

See #7 for details.
If you want to merge, please let me know so I will rebase.
Close #7

I want to merge these PRs (#3, #4, #5, #7) separately.

Do you want to merge this PR first? I'm thinking of rebasing this PR later as it will definitely conflict with those (#3, #4, #5).

I'm thinking of rebasing this PR later as it will definitely conflict with those.

OK. Dont worry.
I'm planning to merge the PRs (#3, #4, #5) separately, then merge this PR.
It's going to take some time to decide to merge this PR.

I will change this PR to ksh support only. (See #14)

This pull request may allow the tetris to run the Solaris OS.

Could you please rebase it?

I have created a new PR (#20).


QBitNinjaException : Invalid base58 string on GetBalance

Hello!
The following code throws an AuthenticationException: QBitNinjaException
Message:
    QBitNinja.Client.Models.QBitNinjaException : Invalid base58 string
  Stack Trace:
    QBitNinjaClient.Send[T](HttpMethod method, Object body, String relativePath, Object[] parameters)
    ...
    --- End of stack trace from previous location where exception was thrown ---

The code itself:
var network = Network.TestNet;
var client = new QBitNinjaClient(network);
var destination = BitcoinAddress
                .Create("mkUbdYtNTs9Vds3YuBAGwirb2dkW3rC8Ph", network);
var balance = await client
                .GetBalance(destination, true)
                .ConfigureAwait(false);

The address is valid:
https://btc.com/mkUbdYtNTs9Vds3YuBAGwirb2dkW3rC8Ph
I've updated NBitcoin dependency to the latest one 5.0.39 but it didn't help.
Any ideas?
Thank you in advance!

The same for addresses (TestNet):
n4Dnbi6Vc3MfrcWNbb33byenxyqKU2LvHi
mg2Ep2JVBNuTfWFqNJQDtxoYqwtLNsSKLE

if you use testnet, you need to use http://tapi.qbit.ninja


Spring Boot integration

Love Cfg4j. I would personally love this enhancement. I am trying to bind values via Spring: for example:
@Value('${purgeOldRecords.sleep}')
    private int sleepTime

@Scheduled(fixedDelayString = '${purgeOldRecords.sleep}', initialDelayString = '${purgeOldRecords.initialDelay}')
public void main() {
 }

And I would like to see the values updated when a file is changed. Currently the only way I can get new value is to do a get from ConfigurationProvider. Automating the value change without an explicit get would be a huge help.
Thank you for this library.

Hey Ravi. I'll be looking into integrating with Spring (or at least adding annotation support) in the following two weeks.
Have you tried using the interface bind mechanism for auto-reloading? It's described here:
http://www.cfg4j.org/#usage   ("Accessing configuration" -> "Utilize object binding")
There's also a sample app using this mechanism:
https://github.com/cfg4j/cfg4j-sample-apps/tree/master/git-bind

Hey Norbert,
Thank you for such a quick reply. It's good to know you are so active on this.
Yes, tried the interface bind mechanism and it's fantastic. However my issue is primarily with this:
@Scheduled(fixedDelayString = '${purgeOldRecords.sleep}', initialDelayString = '${purgeOldRecords.initialDelay}')
public void main() {
 }

I want my code to sleep according to the set time in properties. Other than that I can use the interface binding. But above is what I need the most.
P.S: Awesome library. Great work! I love what cfg4j can do. If it is able to do automated update of properties in spring boot scheduled classes, it would be everything I need for my project.


cordova.plugin.firebase not exist

Hello!
I have a problem with your plugIn on iOS:
I use Phonegap build.
this my config.xml:

and my Js code:

When i tried on my iphone, they return alert (pas de cordova.plugins.firebase); ( not cordova.plugin.firebase)
so, my code dont continue ...
Can you help me?
Thanks!!
PS: Sorry for my English ^^

excuse me, but why your close this issue while is not resolved?


sequence shouldn't be mandatory for ComplexType

The sequence attribute shouldn't be mandatory for ComplexType. The definition below should be enough
>>> class Whatever(ComplexType):
            def __init__(self, whatever):
                self.whatever = whatever
>>> whatever = Whatever('this is it')
>>> print(whatever)
<whatever xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <whatever>this is it</whatever>
</whatever>

:+1:


Inconsistency in connection with setting both clipnorm and global_clipnorm attibute for an optimizer

System information.

Have I written custom code (as opposed to using a stock example script provided in Keras): no
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): irrelevant, but Linux Ubuntu 20.04
TensorFlow installed from (source or binary): irrelevant, but binary
TensorFlow version (use command below): 2.10.0
Python version: irrelevant, but 3.10
Bazel version (if compiling from source):
GPU model and memory: irrelevant, but RTX 3060
Exact command to reproduce: yes

Describe the problem.
It is possible to set both the clipnorm and the global_clipnorm attributes for an optimizer. A model configured with this optimizer can be saved, but loading fails with a ValueError.
Describe the current behavior.
It is not possible to instantiate a Keras optimizer with both clipnorm and global_clipnorm kwargs set, since that produces a value error, e.g.
adam_opt = tf.keras.optimizers.Adam(learning_rate=0.001, clipnorm=1, global_clipnorm=0.5)

ValueError: Cannot accept both `clipnorm` and `global_clipnorm`. Received: `clipnorm`=1, `global_clipnorm`=0.5.

However, it is possible to first instantiate the optimizer with just one of the two settings, and then, likely by accident, set the other via the optimizer's corresponding attribute:
adam_opt = tf.keras.optimizers.Adam(learning_rate=0.001, clipnorm=1)
adam_opt.global_clipnorm = 0.5

This does not raise any exceptions. An optimizer with both clipnorm and global_clipnorm set can be set as the optimizer for a Keras model, and the model trains with this optimizer without any problems. The Keras model can also be saved along with this optimizer without any warning or error raised. However, when attempting to load a Keras model with such an optimizer, the same ValueError as mentioned above is raised as the saved optimizer is instantiated.
Describe the expected behavior.
One possible solution would be to have the already existing @clipnorm.setter method check whether self._global_clipnorm is already set and delete the latter setting if it is, while outputting a warning. Same for @global_clipnorm.setter and checking self._clipnorm.
However, I believe that the best solution would be to just replace this error with a warning. I don't quite understand what the point of raising this exception is in the first place, and why a similar exception is not raised when e.g. you try to assign a value to clipvalue when clipnorm is also set or vice versa. I think this is just inconsistent. As far as I can tell, the only place these attributes are used is in OptimizerV2._transform_gradients(), which makes the value of self._clipnorm override self._clipvalue and then self._global_clipnorm override both of these. So setting more than one of these appears to be harmless. It warrants a warning, but not an error.
As a matter of fact, it would be nice if the Keras documentation mentioned this overriding behavior explicitly. I mean, the way the documentation puts it is technically correct, but not terribly transparent: "If clipvalue (float) is set, the gradient of each weight is clipped to be no higher than this value. If clipnorm (float) is set, the gradient of each weight is individually clipped so that its norm is no higher than this value. If global_clipnorm (float) is set the gradient of all weights is clipped so that their global norm is no higher than this value."
Contributing.

Do you want to contribute a PR? (yes/no): not necessarily
If yes, please read this page for instructions
Briefly describe your candidate solution(if contributing): see above

Standalone code to reproduce the issue.
import tensorflow as tf

mnist = tf.keras.datasets.mnist

(x_train, y_train),(x_test, y_test) = mnist.load_data()
x_train, x_test = x_train / 255.0, x_test / 255.0

adam_opt = tf.keras.optimizers.Adam(learning_rate=0.001, clipnorm=1)
adam_opt.global_clipnorm = 0.5

def create_model():
  return tf.keras.models.Sequential([
    tf.keras.layers.Flatten(input_shape=(28, 28)),
    tf.keras.layers.Dense(128, activation='relu'),
    tf.keras.layers.Dense(10, activation='softmax')
  ])

model = create_model()
model.compile(optimizer=adam_opt, loss='sparse_categorical_crossentropy')

print(f"{model.optimizer.clipnorm=}, {model.optimizer.global_clipnorm=}")
model.save('mnist_model.tf')

saved_model = tf.keras.models.load_model('mnist_model.tf')

Source code / logs.
This is the output if you try to run the above code:
model.optimizer.clipnorm=1, model.optimizer.global_clipnorm=0.5
INFO:tensorflow:Assets written to: mnist_model.tf/assets

---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
Input In [34], in <cell line: 24>()
     21 print(f"{model.optimizer.clipnorm=}, {model.optimizer.global_clipnorm=}")
     22 model.save('mnist_model.tf')
---> 24 saved_model = tf.keras.models.load_model('mnist_model.tf')

File ~/anaconda3/envs/tf2/lib/python3.10/site-packages/keras/utils/traceback_utils.py:70, in filter_traceback.<locals>.error_handler(*args, **kwargs)
     67     filtered_tb = _process_traceback_frames(e.__traceback__)
     68     # To get the full stack trace, call:
     69     # `tf.debugging.disable_traceback_filtering()`
---> 70     raise e.with_traceback(filtered_tb) from None
     71 finally:
     72     del filtered_tb

File ~/anaconda3/envs/tf2/lib/python3.10/site-packages/keras/optimizers/optimizer_v2/optimizer_v2.py:427, in OptimizerV2.__init__(self, name, gradient_aggregator, gradient_transformers, **kwargs)
    425 self.global_clipnorm = kwargs.pop("global_clipnorm", None)
    426 if self.clipnorm is not None and self.global_clipnorm is not None:
--> 427     raise ValueError(
    428         "Cannot accept both `clipnorm` and `global_clipnorm`. "
    429         "Received: `clipnorm`={}, `global_clipnorm`={}.".format(
    430             self.clipnorm, self.global_clipnorm
    431         )
    432     )
    433 self.clipvalue = kwargs.pop("clipvalue", None)

ValueError: Cannot accept both `clipnorm` and `global_clipnorm`. Received: `clipnorm`=1, `global_clipnorm`=0.5.

@gpetho,
I ran the code and face a different error, please find the gist here and share all dependencies to replicate the issue or share a colab gist with the reported error. Thank you!


instancetype: Add one final check for conflicts before creating CRs

/area instancetype
/cc @akrejcir
/cc @davidvossel
What this PR does / why we need it:
Even after moving the creation of the instancetype CRs earlier in the
reconcile loop of the virt-controller there remained a small window
where updates to an instancetype after the VM had been accepted by the
API could result in undetected conflicts with the VM later at runtime.
This change seeks to remove this window entirely by preforming one final
check for conflicts using the copy of the instancetype that will be
stored in the CR.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
This is a follow up from https://github.com/kubevirt/kubevirt/pull/8346 and will be a draft until that PR is merged.
Release note:

NONE

/retest

/retest

/lgtm


Mobs without AI don't move when using the walk command

http://mcmonkey.org/paste/18297#27
as seen in the debug the input was correct, however the entitiy remains motionless.

dev-build:301, I just tested this and they do walk. As far as I can tell they must be touching the ground. Making bunnies unable to walk, because they hop.

I'm on 302

Corrected, either way that command has worked from 274 on my scripts. Do you have more information, debug, or trouble shooting you can do?

What version of citizens are you on?

Well it would seam it is a bug with NPCs than, because I don't have Citizens.

It's not with NPC's but it could still be citizens related perhaps, i am still using it on regular non-npc AI-less zombies

The debug is there, you can see i filled in everytihng correctly, here's me doing it in practice: http://i.gyazo.com/f11e7e392b4dd9511a38d2a4273e350f.gif

Updated to build 1248, and it stopped working. Probably a Citizen problem than.

Oh,,, this is fixed in the latest dev build


URLAllowlist documentation is missing protocol handling

URLAllowlist is capable to whitelist more than just regular URLs.
e.g.:
"ms-excel://"
"msteams://"
[...]
"receiver://*" for citrix
Can't find this information in the current documentation.

Cleaning up old issues.  Policy documentation for URLAllowlist now does include URL pattern information https://docs.microsoft.com/en-us/deployedge/microsoft-edge-policies#urlallowlist


Mail with image couldn't be parsed successfully

The parsing of the attached .eml file (zip compressed so I could upload it) failed ... it seems to have something to do with the "Content-Type: image/png; charset=binary; name="logo.png"
Test.eml.zip
My source code for parsing the .eml file
$rawMessage = file_get_contents($pathToFile . 'Test.eml');
$mailParser = new MailMimeParser();
$message = $mailParser->parse($rawMessage);
$attachments = $message->getAllAttachmentParts();
foreach ($attachments AS $attachment) {
    /**
      * @var \ZBateson\MailMimeParser\Message\Part\MimePart $attachment
      */
    $content = $attachment->getContent(); // error occurs
    // a lot more unimportant lines of code for what to do with the parsed attachment ...
}

Hi @markusramsak
I was considering the existence of a "charset" attribute on a content-type header to be indicative that the content is not binary.  I've added to that condition so a charset of "binary" is considered binary, but my guess is there may be other instances of this in the wild with other weird choices for charset.
Anyway, I'll release that for you.  Thanks for reporting :)

Released in 1.1.7

Thank you for your quick reply, but I still get the same error ... :(
iconv_strlen(): Unknown error (22) [ROOT/vendor/zbateson/mb-wrapper/src/MbWrapper.php, line 397]

Hi @markusramsak
Thanks for letting me know -- I've pushed a commit that should resolve this now, sorry about the back-and-forth there was a second part I missed.
I'll wait for you to confirm it first before releasing if you can.
Thanks

With this change, it seems to work. Would you so kind as to release a new version, so I can use this improved version of your excellent parser. Thanks!!

Excellent, re-released in 1.1.8.  I'll close again, but feel free to comment/reopen if still an issue!


Fix typo in my name

This is a simple string change for my name :)

@slorber @lex111 @Josh-Cena Sorry for the ping. Is there anything else needed to be done?


Karoldeland/remove infra reference

In progress. I didn't see that you already have started the same work.
One thing remaining would be to remove completely the reference but StructureMap requires it to find the assembly in local folder. Is there another way to workaround this?

My recommended approach if you really want to remove all references to Infra from Web is to use reflection to load the Infra assembly (from Startup.cs) and use a post-build step to copy the output from Infra to Web's bin folder (since without a reference this will not happen on its own).
See here: https://ardalis.com/avoid-referencing-infrastructure-in-visual-studio-solutions which shows how to do it in a non-Core solution.
I'm not sure I necessarily want the main version of this template to use this approach, though. I think it would be better to document the steps to achieve it, or to have it in its own branch. But I suspect most developers using this as a starting point would be happier with standard project references.

Interesting. Actually, reflection is not required since structureMap abstract that for us (it use reflection internally). So the post-build step should do the trick.
So you want to keep your template as is because you use it to teach to others ? I was thinking of it mostly as a reference. Good to know.

Yes, I'll leave this out for now. Also, planning on moving from StructureMap to a more support container like Autofac in a future release, I think (just FYI). Closing this as it's now conflicted with more recent updates.


Standardizing Testimonial Card Heights

Description

Standardizing testimonial card heights to improve layout consistency and enhance user experience. This will create a cleaner, more organized appearance, making customer feedback easier to read.

Related Issues

Closes #341

Screenshots / videos (if applicable)

@mdazfar2 please review and merge and assign labels

Hey @meghanakn473, please check your changes again; they are not correct and may be problematic. I have sent the screenshot; please see it below. Please don't be discouraged, but I cannot merge this pull request. Thank you!


Monitor Random Beacon sortition pool status: join pool and update pool

Depends on #3070
Closes #3006
Closes #3007
MonitorPool periodically checks the status of the operator in the sortition pool. If the operator is supposed to be in the sortition pool but is not there yet, the function attempts to add the operator to the pool. If the operator is already in the pool and its status is no longer up to date, the function attempts to update the operator's status in the pool.

All changes pushed, I am undrafting this PR @lukasz-zimnoch


Update PF dependencies

Need to update PF dependencies tobe able to add it to ansible-ui without running npm install --force. In the near future tower-analytics-frontend should also have PF deps updated to be in line with chart-builder.

@brumik Could you please trigger the release?


How to crop out an object in a pretrained 3d gaussian model

Thanks for you brilliant work. I was wondering if this method could clip the object out of a 3d gaussian point clouds? For example. If I want to get a clean object and remove all its backgrounds from a pretrained gaussian model, is it able to extract the gaussian splats which belongs to the object, and remove all splats that belong to its background?

Hello! Thanks for your interest! This has been realized in the gaussian_model.py. Please check the segment() function.


Update README.md

https://github.com/juanjoDiaz/json2csv/issues/52

Good catch!
Thanks for the contribution!

There was a problem with the main branch that I had to revert (my bad) and the PR didn't fix all the error in the readmes (there were more occurrences). So, I've pushed the fix directly to main while fixing everything.


Cannot launch the script

I get this error when launching my js script after installation
(function (exports, require, module, __filename, __dirname) { import {
^^^^^^
SyntaxError: Unexpected token import
at createScript (vm.js:56:10)
at Object.runInThisContext (vm.js:97:10)
at Module._compile (module.js:542:28)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.runMain (module.js:604:10)
at run (bootstrap_node.js:393:7)
at startup (bootstrap_node.js:150:9)

Hi @bitbreakr ,
It seems that you are not using babel for ES2015 modules, so you need to replace the import scripts with nodejs require.
for example, change from
import { MessengerClient } from 'messaging-api-messenger';

to
const { MessengerClient } = require('messaging-api-messenger');

Sorry for not mentioning this in the documents.

Using require instead of import should resolve this issue, so I am going to close this. If it doesn't work, please reopen this again.


Replace literal with constant

Fixes #12839 (or rather corrects the fix for it)
This patch will be properly-addressed by #12847 after the October release.

Pull Request Test Coverage Report for Build 296884548

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 39.854%

Totals

Change from base Build 296810265:
0.0%

Covered Lines:
20089

Relevant Lines:
46184

💛  - Coveralls


[Feature Request] Show full URLs for links

Please show full URLs when hovering over the links. There are multiple ways:

appended text (like now but with full URL)
a tooltip
browser statusbar (used to be a thing back in the day)

For a page that is broken without this, see:
gemini://tilde.team/~ew0k/astrobotany-garden-report.gmi
(scroll down to These are Also at 0% section).

I agree that a Safari-style visible-on-hover URL in the bottom of the window would be nice.

gemini://tilde.team/~ew0k/astrobotany-garden-report.gmi

IMO that is questionable gemtext formatting and essentially bug in AstroBotany. The user-visible label of the links should include all the relevant information.


Genesis release time

Hello:
So happy to see such great work!
When will Genesis be released?
Is it possible in the first half of 2024?
Thanks again!

Yes it will be released before summer for sure, and we are striving to make
it earlier than that.
On Thu, Jan 18, 2024 at 10:21 PM TOLL97 @.***> wrote:

Hello:
So happy to see such great work!
When will Genesis be released?
Is it possible in the first half of 2024?
Thanks again!
—
Reply to this email directly, view it on GitHub
https://github.com/Genesis-Embodied-AI/RoboGen/issues/19, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEV4V6IUQH6H3SBMFG3KCRLYPIGGRAVCNFSM6AAAAABCBN5FLGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGA4DSNRZGMYTSNI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


[demo] Improve layout on mobile

[x] Footer background does not stretch
[ ] Tables (refund, reward, deployment info) are not visible

Hi @juharris
Are you asking for responsiveness over mobile?
I think this is frontend work , could you direct me to the file and changes I have to do?

Responsiveness is good. There might also be issues with tables in model.js being too wide to display.

Can you attach screenshot of present layout on mobile and what exactly you want as a layout change .  I would try to improve that.

I could send a picture but you'll have to run the demo/client to see how your change will look in any case. You can tell you browser to display a page how it would display on a mobile device. Usually you can open the DevTools (F12) and then click on the phone/tablet icon around the top left. Setup instructions: https://github.com/microsoft/0xDeCA10B/tree/main/demo#setup

I could send a picture but you'll have to run the demo/client to see how your change will look in any case. You can tell you browser to display a page how it would display on a mobile device. Usually you can open the DevTools (F12) and then click on the phone/tablet icon around the top left. Setup instructions: https://github.com/microsoft/0xDeCA10B/tree/main/demo#setup

please assign me this issue as well ! will keep you updated over this

Hey! , actually i wanted ti work over this do let me now when to start !

@juharris I am interested in solving this issue. But I am currently facing an issue while setting up the project on my local machine. I followed the REEADME.md file but still faced trouble while running the project. Following are the commands I ran in order to set up the project.

yarn install

sudo apt install build-essential

./setup.sh

yarn start

Kindly help me out ☹

Thanks for your interest in the project. The steps in README.md are correct please run them in the order shown from the demo folder (because that's the folder with README.md) and make sure each one is successful before moving on to the next.
The error from yarn install isn't show but I believe the troubleshooting steps in README.md will help.


Windows explorer does not restart/recover after install finishes

Microsoft PowerToys version
0.51.1
Running as admin

[ ] Yes

Area(s) with issue?
Installer
Steps to reproduce
Install over old one
✔ Expected Behavior
To go back to what I was doing
❌ Actual Behavior
When windows explorer is stopped I loose the task bar and it does not recover so I am forced to log out then back in.
Other Software
n/a
PowerToysReport_2021-12-03-13-16-56.zip

I'm sorry that you encounter this bug.
But you can also start explorer again with following these steps:

Open task manager with Ctrl+Shift+ESC (or any other method)
On the top right corner click on File and then on Run new Task
Type explorer in the text field
Click OK

I also had this issue when upgrading from 0.49.1 to 0.51.0 on my work laptop running Windows 11

I'm sorry that you encounter this bug.
But you can also start explorer again with following these steps:
1. Open task manager with Ctrl+Shift+ESC (or any other method)

2. On the top right corner click on `File` and then on `Run new Task`

3. Type `explorer` in the text field

4. Click OK

I will write this down and thank you for those instructions but the point is, I shouldn't need to do this I would think.

Can you confirm this issue is still relevant in v0.73? /needinfo


[FEATURE] [MR] Support to spill large amounts of shuffle data

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Search before asking

[X] I have searched in the issues and found no similar issues.

Describe the feature
https://github.com/apache/incubator-uniffle/commit/8683254720974c7254f9c5c2fd902743ae0ab273 disable write data to MR's OnDiskMapOutput. So it means we can not support the large shuffle data which is over mapreduce.reduce.shuffle.memory.limit.percent * memoryLimit.
In this issue, will enable this function.
Here's the key point:
RssFetcher will fetch compressed data(compressed by uiffle), then decompressed to the parameter 'buffer'.
But when MergeManagerImpl merge the temporary shuffle data, will use hadoop compression code.

For now, both MergeManagerImpl and RssRemoteMergeManagerImpl can not handle large amounts of shuffle data. In this issue, we only consider MergeManagerImpl.

Motivation
No response
Describe the solution
No response
Additional context
No response
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Upper picture show the data format change. In brief, we have three data format:
Format B: the raw format. It is a sequence of keylen, valuelen, key, value, ending with two -1.
Format A: Format b is compressed according to uniffle encoding.
Format C: Add checksum to format b (IFile format) and compress it according to hadoop encoding.

The yellow is component of Map. Blue is shuffle server. Green is component of Reduce.

What's the key of the promblem which is described by<PHONE_NUMBER>974c7254f9c5c2fd902743ae0ab273?
We write the format B to OnDiskMapOutput, so MergeManagerImpl can not parse it.

Maybe we won't the similar situation. According the logic of data send, we won't produce too large data.

Maybe we won't the similar situation. According the logic of data send, we won't produce too large data.

Emm. If we use default parameter, won't produce large data. If we increase read buffer size, maybe produce the large shuffle.
And In my test, I decrease mapreduce.reduce.shuffle.memory.limit.percent, then produce this.
If you think so, I will close https://github.com/apache/incubator-uniffle/pull/1263. But It's better to set some limits that read buffer will never be over than single memory limit.

Maybe we won't the similar situation. According the logic of data send, we won't produce too large data.

Emm. If we use default parameter, won't produce large data. If we increase read buffer size, maybe produce the large shuffle.
And In my test, I decrease mapreduce.reduce.shuffle.memory.limit.percent, then produce this.
If you think so, I will close #1263. But It's better to set some limits that read buffer will never be over than single memory limit.

It's ok for you to raise a pr. I just state the reason why we don't support this feature at first.

This process mainly occurs during the fetch block. If the number of bytes obtained exceeds the threshold (the default is 0.25 bytes of reduce memory), the data will be stored directly on the disk. In fact, we can precisely control the size of readbuffersize, the default is 14M. We should avoid this process through parameters, rather than support this process. What's more, if the readbuffersize is not adjusted large enough, this process will not happen. So close this PR.


Unzip gzipped response

I am new to Refit and was trying to get the JSON for the stack overflow api which comes back gzipped and the deserialization fails. Is there a way to automatically decompress the response before deserializing?
I currently get an exception:
   public class Owner
    {
        public int reputation { get; set; }
        public int user_id { get; set; }
        public string user_type { get; set; }
        public string profile_image { get; set; }
        public string display_name { get; set; }
        public string link { get; set; }
    }

    public class Question
    {
        public List<string> tags { get; set; }
        public Owner owner { get; set; }
        public bool is_answered { get; set; }
        public int view_count { get; set; }
        public int answer_count { get; set; }
        public int score { get; set; }
        public int last_activity_date { get; set; }
        public int creation_date { get; set; }
        public int question_id { get; set; }
        public string link { get; set; }
        public string title { get; set; }
    }

    public class QueryResult
    {
        public List<Question> items { get; set; }
        public bool has_more { get; set; }
        public int quota_max { get; set; }
        public int quota_remaining { get; set; }
    }

    public interface ISOApi
    {
        [Get("/questions")]
        Task<QueryResult> GetQuestions(string order = "desc", string sort = "activity", string site = "stackoverflow");
    }

    class Program
    {
        static void Main(string[] args)
        {
            MainAsync().GetAwaiter().GetResult();
        }

        public static async Task MainAsync()
        {
            var soApi = RestService.For<ISOApi>("http://api.stackexchange.com/2.2/");
            var questions = await soApi.GetQuestions();
        }
}

This is something you need to tell your HttpClientHandler to do. If you are using ModernHttpClient it does that transparently. If you are using the default one, you need to tell it explicitly to do that.

If you haven't figured this out yet, all you need to do is something like this:
// Make sure you have these
using System.Net;
using System.Net.Http;

// Then, in MainAsync()
var handler = new HttpClientHandler
{
	AutomaticDecompression = DecompressionMethods.GZip
};
var client = new HttpClient(handler)
{
	BaseAddress = new Uri("http://api.stackexchange.com/2.2/")
};
var soApi = RestService.For<ISOApi>(client);
var questions = await soApi.GetQuestions();

Great, that fixed my problem. Thanks for the help. Is it worth adding this to the documentation?

Note that #174 and #173 are relevant to this.


Bake prettier formatting inside the Language Server (instead of the VS Code extension)

There's a significant difference in what the browser accepts and what desktop accepts for prettier:

Run Prettier in the browser using its standalone version. This version doesn’t depend on Node.js. It only formats the code and has no support for config files, ignore files, CLI usage, or automatic loading of plugins.

I'm considering closing this and only leaving that behaviour in the VS Code extension. IDK how I'd resolve that kind of dependency injection.


[chore] Minor Readme updates

Now that I notice, this is unexpected:

We separated the repo to avoid having the CLA checks here, @ChrisSfanos , can you check what's going on here?

I will see if it can be filtered at the repo and not organization level

https://github.com/microsoft/.github/blob/main/policies/cla.yml
You can configure the CLA via the cla.yml file (example from MSFT)

Do we have documentation about all the possible options?
@baywet do you mind having a look yourself or someone in your team?

The least desirable option is to remove the CLA check from the checks required to merge in this repo.

@andreaTP I'm not familiar with that infrastructure, this is owned by a dedicated team internally.
But I believe this line is what makes it ignore some repos. https://github.com/microsoft/.github/blob/adf09b6d51b8fe39df9fca126e8d45c6a0e59820/policies/cla.yml#L7

Yep, that did it, see those

https://github.com/std-uritemplate/.github/pull/5
https://github.com/std-uritemplate/std-uritemplate-csharp/pull/5
https://github.com/std-uritemplate/std-uritemplate/pull/180

Thanks @baywet :tada: appreciated!


use locust as a library ,but how to do config ?

In the beginning, I want to package the locust app with my own code , this is my code like this
import sys
if __name__ == "__main__":
    import os
    args = ' '.join(sys.argv[1:])
    os.system("locust %s" %(args))

so I can execute it  with the command 'python main.py -f xxx.py ', then I use the pyinstaller to package my code.
I use the command 'pyinstaller main.py', but it doesn't work, then I  use the locust as lib to do my work  , I can use the
pyinstaller  to package my code properly,  but I don't know how to do the setting about the locust, the locust.conf is not
working anymore. I try use the environment variable , but is still not working.
I just want to config the locust  when I use the locust as a lib.
os.environ["LOCUST_USERS"] = "2"
os.environ["LOCUST_HOST"] = "http://localhost:8888"
env = Environment(user_classes=[NativeApp,Test],events=events)
# runner = env.create_local_runner()
runner = env.create_master_runner("*",5557)

I find a another way to do it ,like below . In this way , I can use the locust.conf to do some setting. but some config is working ,some is not working .
parse = locust.argument_parser.get_parser()
p = parse.parse_args()
env = Environment(user_classes=[NativeApp,Test],parsed_options=p,events=events)

locust.conf:
host = https://<IP_ADDRESS>
users = 5
spawn-rate = 1
csv = result
class-picker = true
The bold  text is working ,another is not working .
I am a little bit confusing .

Hi, I did that exactly here in this article
https://www.redline13.com/blog/2022/12/load-testing-with-locust-and-jmeter/
Follow the steps.

Hi, I did that exactly here in this article
https://www.redline13.com/blog/2022/12/load-testing-with-locust-and-jmeter/
Follow the steps.

That's good.
Thank you for your help.


cleaned gitignore

replaced all separate __pycache__ and .DS_Store ignores with single ones to make .gitignore cleaner

thank you for your contribution

it's a pleasure~~


Some fixes

I did some bug fixes and an enhancement. Maybe there is a better way to do them, but I tested them extensively and they worked.

When searching for songs, the result layout could be a bit different while the images weren't fully loaded. Example: http://i.imgur.com/q5thZSu.png
Socket.IO was connecting to the default port (80 or 443) regardless of the port used by the server.
Fixed the video volume reset to a very low one when Lifeboat is muted and the video changes.
Added support for enter key to the login/sign up form.

Tested and working! Thanks a lot!


Add django 2.0 and 2.1 support

Coverage decreased (-0.2%) to 78.388% when pulling 0df6bc020135e9657e098dc40314ba40404f5771 on toffi9:feature/add-djang20-21-support into 175a1a444de8ca1ba4742196cb83150d45b5c505 on divio:master.


[stable/traefik] support a fine-grained level of prometheus metrics bucket

What this PR does / why we need it:
Currently, if we config the buckets with values have 2 decimal, it will be truncated by the format string and cause an error. This PR is going to remove this restriction which provides a better flexibility for setting bucket intervals.
Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped

/assign @jbdoumenjou

/assign viglesiasce

/assign @viglesiasce


🐈 Concatenate list fields when extending project frontmatter

Background
We added the ability to compose yaml files when constructing your myst.yml file: https://github.com/jupyter-book/mystmd/pull/1215. This allows shared config, reducing duplication (and errors) across articles and just making authors' lives easier.
However, the original behavior was for fields to replace previous values. So if you define keywords in your myst.yml, any keywords defined in configuration files that the myst.yml extends are lost. Since then, we realized this meant options were not composed, so an option in your myst.yml could replace an inherited, totally unrelated option. This was fixed here: https://github.com/jupyter-book/mystmd/pull/1309. There were also some cases where contributors could be lost, addressed here: https://github.com/jupyter-book/mystmd/pull/1390.
These led to a further issue where we discussed allowing users to prescribe inheritance pattern for specific fields: https://github.com/jupyter-book/mystmd/issues/1312.
PR Description
Recently, another issue came up (whoops, there's not actually an issue 😬): Inheriting one export from a shared config while also defining another export in your myst.yml. The new export would just clobber the shared export. This PR addresses this by extending list fields when composing project configurations, rather than replacing.
Affected fields include:

tags
reviewers
editors
keywords
bibliography
requirements
resources
funding
exports
downloads

exports and downloads are deduplicated by id so you may replace an entry from an inherited config by redefining an entry with the same id. All the other fields just combine inherited and new values.
Note: When page frontmatter inherits project frontmatter, the old behavior remains; lists are not extended.
Discussion
Overall, I think this behavior makes more sense and improves on the current behavior. For example:

a shared config may define a few keywords. Then, if you have additional keywords, you do not need to rewrite the entire list
a shared config may come bundled with bibliography/requirements/resources files. If you are providing additional files in these categories, you do not need to re-list the others.
etc!

This also encourages authors to ensure shared config files actually contain content that "should" be shared (and on the flip side, discourages authors from inheriting just some other random myst.yml and accidentally pulling in unwanted data).
However, there is still an argument that this behavior is too prescriptive, e.g. if I inherit a config with any keywords, I cannot get rid of those keywords. In that specific case, we are saying, "No, if you don't want those keywords, do not inherit that config!" The other option is giving the author control over inheritance; this is the same discussion we are already having in #1312.

In writing up this PR, I realized I should also update the docs... 😅📚

@fwkoch this just needs docs updates before merging?

Ah, yes, if y'all are happy with it. I can update docs on this and #1396 this afternoon so we can get them in.


🚀 Feature: On share page, next to download button - copy direct link button

🔖 Feature description
On share page, next to the download button/icon - it would be really nice to have a - copy direct link to file button/icon.
You should be able to wget/curl the file in question for anywhere.
🎤 Pitch
It would be very useful to get a direct link to the file you want to download.
That's useful when you open the link on a browser, but want to download the file on a remote computer via curl/wget etc.

See #21 why it isn't possible. If you have an idea how to solve this let me know :)

I already use this is a way, when I click download and it starts downloading I stop it and from firebug/dev tools I get the full link that I can then curl/wget on my server.
Also if you do a curl/wget you would normally always want a single file anyway, so not really an issue I think. As for the view count - each download can be counted as a view, also a warning can be displayed that any person with the direct link can download the file, no sign-in needed - kind of like google docs does it.

@infestdead The problem is that the link is only valid for 15minutes. Would that be enough for you?

That would work great for me, and I really think it's a useful addition. It could be a toggle in the options (Enable direct links to files) or something along those lines.

I want to extent a little bit on this. 15 minutes should be enough

I thought about an option like "allow direct downloads" that can be enabled or not. If enabled you can't use any security features. What do you guys think?

What do you mean by "any security features"? If it's the Password protection and Max Views - I think it's a good compromise.

Yeah I think too, the security features that would be disabled are password and max views

Added in v0.9.0 :) A direct file link can only be used if the share hasn't a password.

Tested, works great, thanks a lot :+1:


Side bar drop-down menu

Hello,,,i have a problem about this template.
In sidebar my drop-down menu won't run, can you help me?
thanks :D

Hi,
Please provide more information about your issue such as the code you are using and a screen shot of the issue. We'll try our best to help.


crunchyroll error

Hi, I am getting an error while downloading a subtitle from crunchyroll,I am using the latest verison of your application i.e, youtube-dl-2017.01.05 and here is error:
HTtp Error 503: webpage unavailable

Duplicate of #11572

I am not using login credentials I just want to download subtitles for free


ERROR: Failed to resolve: com.apollographql.apollo:apollo-normalized-cache:1.4.4

How can I download normalized-cache?

apollo-normalized-cache is a fairly new addition and shouldn't be needed in the 1.4.x branch. You'll only need it from version 2.0.0+.
The docs in master are a bit ahead of time. You can use apollo-android-support for the time being. More details there: https://github.com/apollographql/apollo-android/blob/7fcf620cca20bc26f93ac523bc4b10a3e8f703c6/docs/source/essentials/caching.md

Sorry for early update on the docs. Will close this for now since we are close to be releasing 2.0


Adding other os pkg syscalls

This PR adds the following syscalls:

Link()
Pipe()
Setenv()
Unsetenv()
Lookupenv()
Getenv()

godoc: https://golang.org/pkg/os/
This PR is GPG-signed: D76A3A3A8D7D63F9
Signed-off-by: Simarpreet Singh<EMAIL_ADDRESS>

Currently needs the following fixes:
➜  afero git:(os-pkg) go test -v ./...
# github.com/simar7/afero
./memmap.go:35: cannot use MemMapFs literal (type *MemMapFs) as type Fs in return argument:
        *MemMapFs does not implement Fs (missing Getenv method)
./memmap.go:346: impossible type assertion:
        *MemMapFs does not implement Fs (missing Getenv method)
./readonlyfs.go:14: cannot use ReadOnlyFs literal (type *ReadOnlyFs) as type Fs in return argument:
        *ReadOnlyFs does not implement Fs (missing Getenv method)
./regexpfs.go:20: cannot use RegexpFs literal (type *RegexpFs) as type Fs in return argument:
        *RegexpFs does not implement Fs (missing Getenv method)
./afero_test.go:32: cannot use MemMapFs literal (type *MemMapFs) as type Fs in array or slice literal:
        *MemMapFs does not implement Fs (missing Getenv method)
./afero_test.go:170: cannot use new(MemMapFs) (type *MemMapFs) as type Fs in argument to tmpFile:
        *MemMapFs does not implement Fs (missing Getenv method)
./basepath_test.go:13: cannot use baseFs (type *MemMapFs) as type Fs in argument to NewBasePathFs:
        *MemMapFs does not implement Fs (missing Getenv method)
./basepath_test.go:28: cannot use baseFs (type *MemMapFs) as type Fs in argument to NewBasePathFs:
        *MemMapFs does not implement Fs (missing Getenv method)
./composite_test.go:52: cannot use base (type *MemMapFs) as type Fs in field value:
        *MemMapFs does not implement Fs (missing Getenv method)
./composite_test.go:54: cannot use MemMapFs literal (type *MemMapFs) as type Fs in argument to NewCopyOnWriteFs:
        *MemMapFs does not implement Fs (missing Getenv method)
./composite_test.go:54: too many errors
FAIL    github.com/simar7/afero [build failed]
?       github.com/simar7/afero/mem     [no test files]
?       github.com/simar7/afero/sftp    [no test files]


Update virus-and-threat-protection.png

Updated the old pic with a new one.
Problem: https://github.com/MicrosoftDocs/windows-itpro-docs/issues/1742

@greg-lindsay - PR is ready for final review based on issue #1742.
Thank you.


Copying Stdout Copies Cell Contents Instead

Issue Type: Feature Request
When trying to copy error messages in the stdout of a Jupyter notebook, the extention automatically copies the cell content instead. This is very annoying while trying to debug error messages.
Extension version: 2021.8.1013163132
VS Code version: Code 1.58.2 (Universal) (c3f126316369cd610563c75b1b1725e0679adfb3, 2021-07-14T22:09:06.581Z)
OS version: Darwin x64 20.5.0
Restricted Mode: No

@appleplectic sorry for reaching out late, can you check if you can still reproduce this issue with latest VS Code?


Help Me: Where we can host it free of cost for 24×7

Any free platform where we can run it free of cost (24×7)

Sounds like a question for Google, not me!


Add Ray Ellipsoid In IntersectionTests

Fulfill in #896 in order to make screen space for cesium unreal

has been merged to main


Component for enabling custom geoJSON upload

Signed-off-by: Shivam Dhar<EMAIL_ADDRESS>Description

Enables users to upload custom GeoJSON files
Adds UI elements, API layer and backend connectivity code with OpenSearch cluster and geospatial plugin

Issues Resolved
https://github.com/opensearch-project/OpenSearch-Dashboards/issues/1408
Task - Allow users to upload custom vector map
Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Thank you all for your time to review this PR, please reach out to me if you have more suggestions on improving the code structure/quality. For now I'll be merging the PR.


Error reading salt for b64 encoded encrypted value exceeding certain size

Observed in version: OpenSSL 3.0.2 15 Mar 2022 (Library: OpenSSL 3.0.2 15 Mar 2022)
Description
When attempting to round-trip encryption using the following commands, an error occurs seemingly related to the decoding of the base64 encoding.
In the following example, I'm using Python 3 to create a repeating string of 735 a characters. This works as expected and successfully encrypts, then decrypts the content.
$ echo $(python -c 'print("a"*735,end="")' | openssl aes-256-cbc -a -md sha512 -pbkdf2 -salt -pass pass:test) | openssl aes-256-cbc -d -a -md sha512 -pbkdf2 -pass pass:test
aaaaaaa[..snip..]aaaaa

Note: each character is a single byte in size.
$ python -c 'print("a"*735,end="")' | wc -c
735

Unexpected Behavior
While 735 bytes works fine, at 736 bytes, the error error reading input file is returned.
$ echo $(python -c 'print("a"*736,end="")' | openssl aes-256-cbc -a -md sha512 -pbkdf2 -salt -pass pass:test) | openssl aes-256-cbc -d -a -md sha512 -pbkdf2 -pass pass:test
error reading input file

Further, at 784 bytes, the error bad magic number is returned.
$ echo $(python -c 'print("a"*784,end="")' | openssl aes-256-cbc -a -md sha512 -pbkdf2 -salt -pass pass:test) | openssl aes-256-cbc -d -a -md sha512 -pbkdf2 -pass pass:test
bad magic number

Potential Culprits
Cursory investigation points to apps/enc.c as the source of the messages
https://github.com/openssl/openssl/blob/55e2dd8c3162d7313d9408cb20fca8a4fe6e6f5a/apps/enc.c#L515-L529
This then seems to lead to the b64_read function in crypto/evp/bio_b64.c. I was unable to determine the exact cause.
https://github.com/openssl/openssl/blob/55e2dd8c3162d7313d9408cb20fca8a4fe6e6f5a/crypto/evp/bio_b64.c#L106
Workaround
The issue can be worked around by disabling wrapping on the base64 encoding with the -A flag. As such the following works
$ echo $(python -c 'print("a"*784,end="")' | openssl aes-256-cbc -a -A -md sha512 -pbkdf2 -salt -pass pass:test) | openssl aes-256-cbc -d -a -A -md sha512 -pbkdf2 -pass pass:test
aaaaaaa[..snip..]aaaaa

This is due to a limitation of the default behaviour of the underlying Base64 BIO that is used to process this. It is limited to reading a maximum of 1024 bytes in one go as documented on this page:
https://www.openssl.org/docs/man3.0/man3/BIO_f_base64.html
When you encrypt 735 bytes of data, and base64 encode the output it ends up using less than 1024 bytes. But when you encrypt 736 bytes it goes over that limit. Therefore when you read it in again it fails. The "-A" flag works because it changes the default base64 decode behaviour to expect all the input on one line with no newlines - this mode can handle arbitrary input lengths (at the cost of not supporting newlines in the input at all). So, in fact, adding "-A" do your decrypt command line is a correct solution.
If we were to fix this then we would have to modify the standard base64 decoder to be able to handle unlimited length data in all cases. I'm not sure if we actually would want to do that since it is a change from documented behaviour - although I admit it is a bit odd that we cannot roundtrip this kind of data.
Potentially the fix here is just to document the behaviour more clearly on the enc man page.

Thanks @mattcaswell. I understand the concern for backward compatibility and the -A flag does present a suitable alternative.
I think there are two issues here:

It seems less-than-robust to simply discard part of the input stream if it's malformed. IMHO, the input should be rejected in its entirety if we reach the max buffer size before seeing a newline.
If the decoder expects no more than 1024 bytes before the first newline, then the encoder should be properly inserting the new lines so they can be read round-trip.

This seems like a bug as the documentation states:

For writing, output is by default divided to lines of length 64 characters and there is always a newline at the end of output.

I can investigate the latter, as it seems like a legitimate issue. The former is perhaps something that can be addressed with documentation. I'm sure there's legacy code out there somewhere relying on this quirk, and I don't want to be the host of the angry pitchfork-wielding mob that may arise as a result.


[checkstyle] optimize java code checkstyle for AvoidStarImport rule

Be sure to do all of the following checklist to help us incorporate
your contribution quickly and easily:

[x] Any interfaces changed? NO

[x] Any backward compatibility impacted? NO

[x] Document update required? NO

[x] Testing done YES
Please provide details on
- Whether new unit test cases have been added or why no new tests are required?
- How it is tested? Please attach test report.
- Is it a performance related change? Please attach the performance test report.
- Any additional information to help reviewers in testing this change.

[x] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.  NO

Optimize java code checkstyle for AvoidStarImport rule

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.1/1052/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.2/1061/

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

LGTM


feature request : debug mode

Hi,
I'm a big fan of your library! It would be even better if there was a way to completely bypass wandb when I'm debugging. More specifically, sometimes I'm trying stuff that I know I will not want to upload later. If there was a way to avoid the wandb overhead by essentially doing as if I had commented out all wandb lines, that would be great! Hope this makes sense.
Thanks,
Lucas

Thanks! Does the command wandb off or equivalently setting WANDB_MODE=dryrun not work for you?

so wandb off works well! The issue is if I say ctrl-c my current debugging session, instead of the program terminating directly, wandb takes some extra time to terminate (to save some results and gracefully exit I assume), which is annoying when you are repeatedly running and cancelling jobs.
This is a very "diva" request, as the added overhead is ~3 sec . But it would be even better if there was no overhead at all

Hey @pclucas14 wandb off still syncs all metrics locally.  In the next release we're going to have wandb disabled which will completely disable wandb which sounds more like what you would want here.

Great! looking forward to it :)