Render the website's contents under the urlbar and tab bar like macOS' Safari

Very awesome appearance!
My only question is - is it possible to achieve behaviour similar to Safari on Mac OS?
E.g. title bar blures site's content behind it instead of desktop's content.

I'm not really sure if you can achieve this by just using CSS. But I think this is better/more beautiful than rendering the desktop. Yeah, this is a nice suggestion/question but I don't know how to implement this. Patches welcome, of course.

So it turns out that you can do this by just using CSS:

Change the #nav-bar to
toolbar#nav-bar {
	background: var(--bf-navbar-bg) !important;
	padding: var(--bf-navbar-padding) !important;
	position: absolute !important;
	z-index: 99999 !important;
	margin-bottom: -50px !important;
	backdrop-filter: blur(20px) !important;

	/* Remove horizontal line on navbar */
	box-shadow: none !important;
	border-top: none !important;
}

The problem with this is that if the website has navigation bar, firefox' navbar will hide it.

@manilarome
Sorry, can't confirm it working because I'm still trying to make whole thing work on Mac :))
But looks very promising on your screenshots!

As for Safari - on Reddit navbar is always showing under the panel, like this:

But I guess it won't tell you a lot.
What I found more interesting, is how it's handled on Ukrainian site called Olx - there we have auto-hiding navbar, and in Safari it goes completely under the panel when hidden:

I'm still trying to make whole thing work on Mac :))

Sorry about the lack of mac support. Good luck!
How safari handle the navbars are interesting. I'll look more into it. Maybe we can find a hack/way to implement this.

I think this is a better implementation:
#navigator-toolbox {
	position: absolute !important;;
	overflow: visible !important;
	z-index: 99999;
	backdrop-filter: blur(6px) !important;
}

#browser {
	margin-top: -100px !important;
}

Anyway, please consider requesting a PR if you are able to make this theme work on macOS.

@manilarome
Just tried that on Linux - yeah, look very cool!
But still overlapping navbar :(

I think this is a better implementation:
#navigator-toolbox {
	position: absolute !important;;
	overflow: visible !important;
	z-index: 99999;
	backdrop-filter: blur(6px) !important;
}

#browser {
	margin-top: -100px !important;
}

Anyway, please consider requesting a PR if you are able to make this theme work on macOS.

If you manually add transform: translate(0px, 100px); to the body in inspector, it partially solves the issue with overlapping.
But then, navbar scroll away with page content

@manilarome
Ah, I mean, website's body :)

@manilarome
Not sure about that - Apple more likely will not rely on developers of all of the websites, and probably prefer to find a way to handle it in the browser.

@manilarome
Please try to add this line to userContent.css file:
 body { transform: translate(0px, 100px); }

Ah, I mean, website's body :)

Oof, my bad.

Apple more likely will not rely on developers of all of the websites, and probably preferred to find a way to handle it in the browser itself.

Yeah, they're a billion dollar company after all.

Please try to add this line to userContent.css file:

It works! Now if we only have a way to alter the properties of the current webpage's navigation bar to make it sticky or something we could probably implement this right now.

@manilarome
Yeah :)
I've experimented a little with adding this line to userContent.css:
header {
        position: sticky !important; /* Set the navbar to fixed position */
    }

And it kind of works - with issues, and only for StackOverflow....

I've experimented a little with adding this line to userContent.css:
header {
position: sticky !important; /* Set the navbar to fixed position */
}

Nice! Your fast, eh? Haha.

with issues, and only for StackOverflow....

No problem. I'll also check my most visited websites so I can add them to userContent.

One more thing. I noticed that the sidebar is also under the firefox's navbar. Not a big problem tho.

@manilarome
I guess it can be moved with css downside by 100 px, so not a big issue.
Honestly I found scrolled navbars issue more disturbing :)

Honestly, I found scrolled navbars issue more disturbing :)

Yeah. If we only have the source code of safari. lol. Anyway do you know the layer below the body of a webpage called? Unscrolled webpage has this gray background and it renders the blur on the firefox's navigation bar useless.

Honestly, I found scrolled navbars issue more disturbing :)

Yeah. If we only have the source code of safari. lol. Anyway do you know the layer below the body of a webpage called? Unscrolled webpage has this gray background and it renders the blur on the firefox's navigation bar useless.

Hmm, I actually liked this appearance :)
Not sure. Maybe this can help?

Not sure. Maybe this can help?

I'm already using this to test the theme real-time. The problem is the gray background seems like a part of the web page. The inspector can't select it. Anyway, we really need to address the issues(nav-bars, headers, etc.) before implementing this.

Anyway, we really need to address the issues(nav-bars, headers, etc.) before implementing this.

Sure! But I'm glad it seems to be at least possible - only need to solve issues :)

I'll just leave this issue open. I don't really have an idea on how to support all the websites' navbar/header. We also need to fix the gray background.

Yeah, same.
I've also noticed some layout issues with web apps because of translation of the body.
Maybe it'll be great idea to ask on Reddit about this? Somebody may help.

I have spent a few hours looking into this, and I wanted to share what I found.
I believe the way Safari does it is that it sets the overflow of the brower object itself to visible. This allows the page to render normally, as it still stays in the same sized and positioned window, but the scrolled content can appear under the navbar. However, userChrome.css does not seem to have access to the direct parent of the :root element. Setting the overflow to visible or adding padding to the browser element, which should show the content inside, does not display the page content. I believe there is some disconnect between the browser element and the :root element, and we do not have access to it. Or, the browser element just doesn't support displaying the overflow.
What could work is somehow moving all the content down 100px (with :root{ padding-top: 100px}), and keeping position:sticky and position:fixed elements 100px away from the top. Maybe a script that takes all elements with a position of sticky or fixed and if they don't have a bottom attribute moving the top down 100px. However, I can't find a way to do this without something like a browser extension.

I have spent a few hours looking into this, and I wanted to share what I found.
I believe the way Safari does it is that it sets the overflow of the brower object itself to visible. This allows the page to render normally, as it still stays in the same sized and positioned window, but the scrolled content can appear under the navbar. However, userChrome.css does not seem to have access to the direct parent of the :root element. Setting the overflow to visible or adding padding to the browser element, which should show the content inside, does not display the page content. I believe there is some disconnect between the browser element and the :root element, and we do not have access to it. Or, the browser element just doesn't support displaying the overflow.
What could work is somehow moving all the content down 100px (with :root{ padding-top: 100px}), and keeping position:sticky and position:fixed elements 100px away from the top. Maybe a script that takes all elements with a position of sticky or fixed and if they don't have a bottom attribute moving the top down 100px. However, I can't find a way to do this without something like a browser extension.

I believe how Safari does it is that they have the contents of the window ABOVE the top showing under the urlbar. That means the things on top is not actually visible at the current scroll

I believe how Safari does it is that they have the contents of the window ABOVE the top showing under the urlbar. That means the things on top is not actually visible at the current scroll


Behind Proxy Can't install Kubeflow

Hi,
I followed the instruction on Kubeflow page to install Kubeflow with Microk8s in ubuntu machine. The machine is behind a enterprise proxy. I used cntlm to create a local proxy that requires no authentification. (<IP_ADDRESS>:3128).
The snap is set properly to use the proxy, and also followed https://microk8s.io/docs/install-proxy to set up the proxy.
Also I read from the previous bugs and try to set up export KUBEFLOW_NO_PROXY=localhost,<IP_ADDRESS>,<IP_ADDRESS> ,<IP_ADDRESS>/24,<IP_ADDRESS>/24
I am not quite sure I correctly isolate the right IP to no proxy. But I am still getting following error.
Enabling dns...
Enabling storage...
Enabling rbac...
Enabling dashboard...
Enabling ingress...
Enabling metallb:<IP_ADDRESS>-<IP_ADDRESS>...
Deploying Kubeflow...
Kubeflow could not be enabled:
Creating Juju controller "uk8s" on microk8s/localhost
Creating k8s resources for controller "controller-uk8s"
Starting controller pod
Bootstrap agent now started
Contacting Juju controller at <IP_ADDRESS> to verify accessibility...
ERROR unable to contact api server after 1 attempts: read tcp <IP_ADDRESS>:42054-><IP_ADDRESS>:3128: i/o timeout

Command '('microk8s-juju.wrapper', 'bootstrap', 'microk8s', 'uk8s')' returned non-zero exit status 1
Failed to enable kubeflow

Here is the inspect:
nspecting services
  Service snap.microk8s.daemon-cluster-agent is running
  Service snap.microk8s.daemon-flanneld is running
  Service snap.microk8s.daemon-containerd is running
  Service snap.microk8s.daemon-apiserver is running
  Service snap.microk8s.daemon-apiserver-kicker is running
  Service snap.microk8s.daemon-proxy is running
  Service snap.microk8s.daemon-kubelet is running
  Service snap.microk8s.daemon-scheduler is running
  Service snap.microk8s.daemon-controller-manager is running
  Service snap.microk8s.daemon-etcd is running
  Copy service arguments to the final report tarball
Inspecting AppArmor configuration
Gathering system information
  Copy processes list to the final report tarball
  Copy snap list to the final report tarball
  Copy VM name (or none) to the final report tarball
  Copy disk usage information to the final report tarball
  Copy memory usage information to the final report tarball
  Copy server uptime to the final report tarball
  Copy current linux distribution to the final report tarball
  Copy openSSL information to the final report tarball
  Copy network configuration to the final report tarball

Inspecting kubernetes cluster
  Inspect kubernetes cluster

Building the report tarball
  Report tarball is at /var/snap/microk8s/1293/inspection-report-20200331_225320.tar.gz

inspection-report-20200331_225320.tar.gz
Thanks for the help

@wallyworld: Do you know what the no proxy option should be set to?

@rickyking: Can you say a little bit more about your proxy setup? It sounds like you're running cntlm locally, which proxies off to an enterprise proxy sitting somewhere on the local network. Are you then using network manager to route HTTP traffic to cntlm?

@knkski : Thanks for your reply. Yes I have setup a local cantle which take care of the credential to enterprise proxy. There is no network manager to route HTTP traffic. But environment variable, such as http_proxy and https_proxy in bash. For snap, I set this:
$ sudo snap set system proxy.http="http://<proxy_addr>:<proxy_port>"
$ sudo snap set system proxy.https="http://<proxy_addr>:<proxy_port>"

Also the enterprise SSL CA certificate is properly configured at system-level (ubuntu).
If you need any other information, don't hesitate.

As far as I am aware, Juju needs to have the juju-no-proxy model config set, and also when using the CLI, NO_PROXY needs to be set. So any KUBEFLOW_NO_PROXY value would need to be propagated through to those Juju settings. I think that should be sufficient.

As far as I am aware, Juju needs to have the juju-no-proxy model config set, and also when using the CLI, NO_PROXY needs to be set. So any KUBEFLOW_NO_PROXY value would need to be propagated through to those Juju settings. I think that should be sufficient.

I have set up the KUBEFLOW_NO_PROXY as specified above. The error shows the <IP_ADDRESS> is trying to connect proxy. I am confused...


Drop support for JDK 1.6

The MyBatis 3.5.0 will support JDK 7+.
Tasks

[ ] Drop on Travis build
[ ] Drop build definition in pom.xml
[ ] Update version for dependecy artifacts in pom.xml
[ ] etc ...

Does JDK 7 actually benefit anyone?  Maybe we should jump to 8.

Can jump to JDK 8 as support policy of MyBatis core? If it is OK, I agree with @jeffgbutler 's opinion.

It's more like to support users who are using (or want to use) MyBatis in Java 7 projects that are not easily upgraded to newer versions for various reasons.
Or, maybe the world has become a better place and everybody is using Java 8+?

I am trapped in the JDK7 world too, unfortunately.  My point is that I don't think there is enough difference between JDK6 and JDK7 to make it worth it.  What would we actually change in the code for JDK7?  Switch to diamond syntax? Yawn.  I freely admit that I may be missing something cool we could do in JDK7 - so please let me know if there is something like that.
For my commercial projects, version 3.4.6 has everything I need and more.  I would support version 3.5.0 going to JDK8 and stating clearly that 3.4.6 is the version we support on JDK6 and JDK7.

Good point. +1 to requiring Java 8 then.
We can release 3.4.7 for Java 6, 7 users if it's really necessary.

We had this discussion on the dev list I believe.
I'm would definitely support @jeffgbutler's idea though. The sooner we move to JDK 8 the better


Questions - Run locally

Hi there,
absolute love your project, since it helps me with a good start for my project.
I wanted to know how to run/test it?
I was able to run your docker-image and wanted to test a bit for my project. But i dont want to build a docker image every time i change something, so my question is, what do i need to do?
Also does it requires to have the Ultimate Version?

Would love if you may get into contact with me for my PhD work<EMAIL_ADDRESS>

Hi!
Plugin can be used with normal Community version of Intellij IDEA, no need for Ultimate. To run locally you will need to first package it into zip by running
./gradlew buildPlugin

Then unzip formatter-plugin-1.0-SNAPSHOT.zip from build/distributions/ to plugins directory of your IDEA. Then close IDEA and after that you can run plugin from cli:
./idea.sh formatter <args>

For example:
./idea.sh formatter --style CodeStyle.xml --dry --recursive src


Fix AudioEffectRecord messing up the effect stack by not writing to dst_frames

As reported by user botOnFire on Discord.
It is possible to do it with just one for loop before the if statement, but that way might be a teeny-tiny bit slower.

Thanks!

Removing cherrypick label, this code is exclusive to the master branch.

My bad, was in the wrong branch.
Cherry-picked for 3.1.2.


How to return the saved path

Hi, How to get the saved file path after saving a video which is saved using gallery_saver library?

I have the same need ... ... but cannot find a way.

I have the same need ... ... but cannot find a way.

Same need. Any way to do this?

You can edit "saveFile" function in SwiftGallerySaverPlugin.swift like this to return saved path for IOS :


Not able to generate iOS release build

Context
This issue is related to #20564, but in that issue, I assumed it was a problem with the project, but now I tested a fresh project getting the same result. So this is why I'm opening a new thread.
I was working before in an old MacBook Pro, using macOS Sierra. I then migrated to one of the new MacBook Pro (15-inch 2018) with High Sierra and the system stopped generating releases archives. I don't know if it is related but it is the only changed piece.
Now I am able to create a project, run in an emulator, run it in a real device and generate the release version for iOS if there is no extra dependency in the pubspec.yaml. If I add any flutter dependency, Xcode keeps giving the device_info/DeviceInfoPlugin.h file not found error.
I know it is probably something related to my setup, but I tested with other machines with the same configuration, resulting in the same result.
I am not able to generate any release since a month ago. My business is suffering because of this. Please, I beg to anyone point me in the right direction to fix this. I am truly desperate.
Steps to Reproduce

Install everything from scratch, following the guide: https://flutter.io/setup-macos/
Create a hello-world-project using the wizard of IntelliJ IDEA
Run the project in the iOS emulator (runs ok)
Run flutter build ios --release
Open Xcode, set Product -> Scheme -> Runner and Product -> Destination -> Generic iOS Device
Genearte release archive with Product -> Archive

Success, a new build is generated. But there is more.

Add any flutter dependency to the pubspec.yaml, let say this one
Run flutter packages get
Double check and run pod install inside the ios directory.
Run flutter build ios --release
Open Xcode, and try to genearte release archive with Product -> Archive

I get an error device_info/DeviceInfoPlugin.h file not found
And thats it.
I did the workflow before with both IntelliJ IDEA CE and Ultimate, and both kotlin-swift and ObjectiveC-Java combinations.
Also try using beta, dev, and master channels.
And with cocoapods 1.4.0, 1.5.0 and 1.5.3
[✓] Flutter (Channel dev, v0.7.0, on Mac OS X 10.13.6 17G2208, locale en-ES)
    • Flutter version 0.7.0 at /Users/miguelcatalan/Projects/Flutter/flutter
    • Framework revision 09fe34708f (5 days ago), 2018-08-22 10:20:51 -0700
    • Engine revision 4b271b2e02
    • Dart version 2.1.0-dev.1.0.flutter-69fce633b7

[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
    • Android SDK at /Users/miguelcatalan/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-27, build-tools 27.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 9.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 9.4.1, Build version 9F2000
    • ios-deploy 1.9.2
    • CocoaPods version 1.5.0

[✓] IntelliJ IDEA Ultimate Edition (version 2018.2.2)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 27.1.3
    • Dart plugin version 182.4129.13

[✓] IntelliJ IDEA Community Edition (version 2017.3.5)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 26.0.1
    • Dart plugin version 173.4700

https://github.com/flutter/flutter/issues/18305
check this one, seems like you have the same problem with this issue

@MiguelCatalan could you try using fastlane for a test? Here the relevant part from my Fastfile:
lane :beta do
  system '(cd ../../ && flutter build ios --release --no-codesign)'
  build_app(
    workspace: "Runner.xcworkspace",
    scheme: "Runner",
    export_method: 'app-store',
    configuration: 'Release'
  )
end

@chengenzhao you are the man. Indeed was related and the solution worked.
But I think that issue should not be closed because I presume it is a bug the tools doesn't generate that file by itself.

@ened Thanks man, your snippet helps me a lot.
flutter build ios --release --no-codesign

Using the latest master branch 'flutter doctor -v',
KyleWongdeMacBook-Pro:flutter_issue_21073 kylewong$ flutter doctor -v
[✓] Flutter (Channel master, v1.2.2-pre.19, on Mac OS X 10.14.4 18E184e, locale en-CN)
    • Flutter version 1.2.2-pre.19 at /Users/kylewong/Codes/Flutter/alibaba-flutter/flutter
    • Framework revision 20d9de58d0 (6 hours ago), 2019-02-15 18:43:36 -0800
    • Engine revision 033f2072c3
    • Dart version 2.1.2 (build 2.1.2-dev.0.0 0a7dcf17eb)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/kylewong/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)
    • All Android licenses accepted.

[!] iOS toolchain - develop for iOS devices (Xcode 10.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.1, Build version 10B61
    ✗ Verify that all connected devices have been paired with this computer in Xcode.
      If all devices have been paired, libimobiledevice and ideviceinstaller may require updating.
      To update with Brew, run:
        brew update
        brew uninstall --ignore-dependencies libimobiledevice
        brew uninstall --ignore-dependencies usbmuxd
        brew install --HEAD usbmuxd
        brew unlink usbmuxd
        brew link usbmuxd
        brew install --HEAD libimobiledevice
        brew install ideviceinstaller
    • ios-deploy 1.9.4
    • CocoaPods version 1.6.0

[✓] Android Studio (version 3.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 32.0.1
    • Dart plugin version 182.5215
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)

[✓] VS Code (version 1.31.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 2.23.0

I failed to reproduce this issue using steps described in this issue:

Steps to Reproduce

Install everything from scratch, following the guide: https://flutter.io/setup-macos/
Create a hello-world-project using the wizard of IntelliJ IDEA
Run the project in the iOS emulator (runs ok)
Run flutter build ios --release
Open Xcode, set Product -> Scheme -> Runner and Product -> Destination -> Generic iOS Device
Genearte release archive with Product -> Archive

Success, a new build is generated. But there is more.

Add any flutter dependency to the pubspec.yaml, let say this one
Run flutter packages get
Double check and run pod install inside the ios directory.
Run flutter build ios --release
Open Xcode, and try to genearte release archive with Product -> Archive

I get an error device_info/DeviceInfoPlugin.h file not found
And thats it.
I did the workflow before with both IntelliJ IDEA CE and Ultimate, and both kotlin-swift and ObjectiveC-Java combinations.
Also try using beta, dev, and master channels.
And with cocoapods 1.4.0, 1.5.0 and 1.5.3
[✓] Flutter (Channel dev, v0.7.0, on Mac OS X 10.13.6 17G2208, locale en-ES)
    • Flutter version 0.7.0 at /Users/miguelcatalan/Projects/Flutter/flutter
    • Framework revision 09fe34708f (5 days ago), 2018-08-22 10:20:51 -0700
    • Engine revision 4b271b2e02
    • Dart version 2.1.0-dev.1.0.flutter-69fce633b7

[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
    • Android SDK at /Users/miguelcatalan/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-27, build-tools 27.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 9.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 9.4.1, Build version 9F2000
    • ios-deploy 1.9.2
    • CocoaPods version 1.5.0

[✓] IntelliJ IDEA Ultimate Edition (version 2018.2.2)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 27.1.3
    • Dart plugin version 182.4129.13

[✓] IntelliJ IDEA Community Edition (version 2017.3.5)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 26.0.1
    • Dart plugin version 173.4700

I'm closing this issue now. Feel free to comment below if anyone can reproduce it using the latest master.

I figured out the problem, all of the deployment targets need to be the same. That is, in the project file, the target, and the pods project as well.

I figured out the problem, all of the deployment targets need to be the same. That is, in the project file, the target, and the pods project as well.

How to check this deployment targets?

Any update on this?
I'm also facing the same problem.
Release Build works, but Archive fails with the following error.

'xxx/xxxPlugin.h' file not found

I can not release it to AppStore.

For more reference:
Make sure to choose Generic iOS device in xcode


Paket 6.0.0 cannot download any packages from Azure feed

Description
Paket 6.0.0 cannot download any package from Azure DevOps feed
Repro steps
I can only guess:

Windows 10 machine
.NET Framework 4.8 installed and several .NET Core versions (But not 5 or 6)

Expected behavior
As with version 5.x.x download should go smoothly.
Actual behavior
Seems its missing System.Memory, Version=<IP_ADDRESS> ?
Download has this stack trace:
Downloading XYZ.Dialog 29.14.44
Possible Performance degradation, V3 was not working: One or more errors occurred.
Source 'https://xyz.pkgs.visualstudio.com/_packaging/Xyz.Commons/nuget/v3/index.json' exception: System.Exception: Could not retrieve data from 'https://xyz.pkgs.visualstudio.com/_packaging/Xyz.Commons/nuget/v2/FindPackagesById()?semVerLevel=2.0.0&id='SettingsXmlFiles'' ---> System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.IO.FileNotFoundException: Could not load file or assembly 'System.Memory, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
   at System.Net.Http.WinHttpResponseParser.GetReasonPhrase(HttpStatusCode statusCode, Char[] buffer, Int32 bufferLength)
   at System.Net.Http.WinHttpResponseParser.CreateResponseMessage(WinHttpRequestState state, DecompressionMethods manuallyProcessedDecompressionMethods)
   at System.Net.Http.WinHttpHandler.<StartRequestAsync>d__109.MoveNext()
   --- End of inner exception stack trace ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Paket.NetUtils.catchHandler@1-1[a](AuthProvider auth, FSharpFunc`2 doRequest, Exception _arg1)
   at Paket.NetUtils.resolveAuth@482-3.Invoke(Exception edi)
   at Microsoft.FSharp.Control.AsyncPrimitives.CallFilterThenInvoke[T](AsyncActivation`1 ctxt, FSharpFunc`2 catchFilter, ExceptionDispatchInfo edi)
   at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction)
   --- End of inner exception stack trace ---
   at Paket.NetUtils.catchHandler@1-3(String url, Exception _arg3)
   at Paket.NetUtils.getFromUrl@534-3.Invoke(Exception edi)
   at Microsoft.FSharp.Control.AsyncPrimitives.CallFilterThenInvoke[T](AsyncActivation`1 ctxt, FSharpFunc`2 catchFilter, ExceptionDispatchInfo edi)
   at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction)

Known workarounds
None

@baronfel @smoothdeveloper any ideas what this is?

Seems I even have .NET 5.0 installed. My list shows .NET SDK 5.0.302

Seems to be an issue since rc006 (rc005 works fine).

@baronfel is this related to your recent ILRepack changes?

Here's the comparison between those two versions for those following along at home.
Here's the diff in the ILRepack changes specifically, System.Memory wasn't in that list before. It's possible that System.Memory is a required dependency of the new Nuget.Packaging dependency, but I don't see that in the paket.lock for that package, that package's dependencies, or in the nuget gallery dependency listings.
It's also not been removed from any of the .net framework app.configs....

Hi, is there someway to pin paket to specific version?
Thanks

you can use a parameter for paket.bootstrapper
paket.bootstrapper.exe 5.258.1

@wahmedswl yep! check out the docs on the bootstrapper for information on how to choose a specific version.
the simplest way is to have a version section in your paket.dependencies in my opinion.

yup, got it
set PAKET_VERSION=6.0.0-rc005
.paket\paket.bootstrapper.exe

Thanks

did an ilspy investigation into the merged paket.exe from the latest commit, and it does just look like a missing DLL issue. the built-but-not-merged paket folder contains System.Memory, but the merged dll doesn't have any of the types in it.  That means the quick resolution would be ot add System.Memory to the ILRepack list.
➜  bin git:(master) ✗ pwd
/Users/chethusk/oss/Paket/bin
➜  bin git:(master) ✗ monop -r net461/System.Memory.dll

Assembly Information:
System.Memory
Version=<IP_ADDRESS>
Culture=neutral
PublicKeyToken=cc7b13ffcd2ddd51

System.Buffers.Binary.BinaryPrimitives
System.Buffers.BuffersExtensions
System.Buffers.IBufferWriter`1
System.Buffers.IMemoryOwner`1
System.Buffers.IPinnable
System.Buffers.MemoryHandle
System.Buffers.MemoryManager`1
System.Buffers.MemoryPool`1
System.Buffers.OperationStatus
System.Buffers.ReadOnlySequence`1
System.Buffers.ReadOnlySequence`1+Enumerator
System.Buffers.ReadOnlySequenceSegment`1
System.Buffers.StandardFormat
System.Buffers.Text.Base64
System.Buffers.Text.Utf8Formatter
System.Buffers.Text.Utf8Parser
System.Memory`1
System.MemoryExtensions
System.ReadOnlyMemory`1
System.ReadOnlySpan`1
System.ReadOnlySpan`1+Enumerator
System.Runtime.InteropServices.MemoryMarshal
System.Runtime.InteropServices.SequenceMarshal
System.SequencePosition
System.Span`1
System.Span`1+Enumerator

Total: 26 types.
➜  bin git:(master) ✗ monop -r merged/paket.exe | grep System.Memory
➜  bin git:(master) ✗

What I'm not certain about is if there are other dependencies that should also be added at this time. Here's the full listing of the 'normal' paket directory:
➜  bin git:(master) ✗ ls net461
Argu.dll                        Paket.Core.xml                                  System.Dynamic.Runtime.dll           System.Net.WebSockets.dll                              System.Security.SecureString.dll
Argu.pdb                        paket.exe                                       System.Globalization.Calendars.dll   System.Numerics.Vectors.dll                            System.Text.Encoding.dll
Chessie.dll                     paket.exe.config                                System.Globalization.dll             System.ObjectModel.dll                                 System.Text.Encoding.Extensions.dll
Chessie.pdb                     paket.pdb                                       System.Globalization.Extensions.dll  System.Reflection.dll                                  System.Text.RegularExpressions.dll
cs                              pl                                              System.IO.Compression.dll            System.Reflection.Extensions.dll                       System.Threading.dll
de                              pt-BR                                           System.IO.Compression.ZipFile.dll    System.Reflection.Primitives.dll                       System.Threading.Overlapped.dll
es                              ru                                              System.IO.dll                        System.Resources.Reader.dll                            System.Threading.Tasks.dll
fr                              System.AppContext.dll                           System.IO.FileSystem.dll             System.Resources.ResourceManager.dll                   System.Threading.Tasks.Extensions.dll
FSharp.Core.dll                 System.Buffers.dll                              System.IO.FileSystem.DriveInfo.dll   System.Resources.Writer.dll                            System.Threading.Tasks.Parallel.dll
it                              System.Collections.Concurrent.dll               System.IO.FileSystem.Primitives.dll  System.Runtime.CompilerServices.Unsafe.dll             System.Threading.Thread.dll
ja                              System.Collections.dll                          System.IO.FileSystem.Watcher.dll     System.Runtime.CompilerServices.VisualC.dll            System.Threading.ThreadPool.dll
ko                              System.Collections.NonGeneric.dll               System.IO.IsolatedStorage.dll        System.Runtime.dll                                     System.Threading.Timer.dll
Microsoft.Win32.Primitives.dll  System.Collections.Specialized.dll              System.IO.MemoryMappedFiles.dll      System.Runtime.Extensions.dll                          System.ValueTuple.dll
Mono.Cecil.dll                  System.ComponentModel.dll                       System.IO.Pipes.dll                  System.Runtime.Handles.dll                             System.Xml.ReaderWriter.dll
Mono.Cecil.Mdb.dll              System.ComponentModel.EventBasedAsync.dll       System.IO.UnmanagedMemoryStream.dll  System.Runtime.InteropServices.dll                     System.Xml.XDocument.dll
Mono.Cecil.Mdb.pdb              System.ComponentModel.Primitives.dll            System.Linq.dll                      System.Runtime.InteropServices.RuntimeInformation.dll  System.Xml.XmlDocument.dll
Mono.Cecil.pdb                  System.ComponentModel.TypeConverter.dll         System.Linq.Expressions.dll          System.Runtime.Numerics.dll                            System.Xml.XmlSerializer.dll
Mono.Cecil.Pdb.dll              System.Configuration.ConfigurationManager.dll   System.Linq.Parallel.dll             System.Runtime.Serialization.Formatters.dll            System.Xml.XPath.dll
Mono.Cecil.Pdb.pdb              System.Console.dll                              System.Linq.Queryable.dll            System.Runtime.Serialization.Json.dll                  System.Xml.XPath.XDocument.dll
Mono.Cecil.Rocks.dll            System.Data.Common.dll                          System.Memory.dll                    System.Runtime.Serialization.Primitives.dll            tr
Mono.Cecil.Rocks.pdb            System.Diagnostics.Contracts.dll                System.Net.Http.dll                  System.Runtime.Serialization.Xml.dll                   zh-Hans
netstandard.dll                 System.Diagnostics.Debug.dll                    System.Net.Http.WinHttpHandler.dll   System.Security.Claims.dll                             zh-Hant
Newtonsoft.Json.dll             System.Diagnostics.DiagnosticSource.dll         System.Net.NameResolution.dll        System.Security.Cryptography.Algorithms.dll
NuGet.Common.dll                System.Diagnostics.FileVersionInfo.dll          System.Net.NetworkInformation.dll    System.Security.Cryptography.Cng.dll
NuGet.Configuration.dll         System.Diagnostics.Process.dll                  System.Net.Ping.dll                  System.Security.Cryptography.Csp.dll
NuGet.Frameworks.dll            System.Diagnostics.StackTrace.dll               System.Net.Primitives.dll            System.Security.Cryptography.Encoding.dll
NuGet.Packaging.dll             System.Diagnostics.TextWriterTraceListener.dll  System.Net.Requests.dll              System.Security.Cryptography.Pkcs.dll
NuGet.Versioning.dll            System.Diagnostics.Tools.dll                    System.Net.Security.dll              System.Security.Cryptography.Primitives.dll
Paket.Core.dll                  System.Diagnostics.TraceSource.dll              System.Net.Sockets.dll               System.Security.Cryptography.ProtectedData.dll
Paket.Core.dll.config           System.Diagnostics.Tracing.dll                  System.Net.WebHeaderCollection.dll   System.Security.Cryptography.X509Certificates.dll
Paket.Core.pdb                  System.Drawing.Primitives.dll                   System.Net.WebSockets.Client.dll     System.Security.Principal.dll

Of these dlls, I'm unsure what subset need to be merged in order to be successful on .net framework.

@Flohack74 or anyone else on this thread: do you have a sample paket.dependencies file that could be used for testing?

@baronfel yes but it needs to be cleaned from our internal dependencies :) - should I send it to you somehow?

@Flohack74 if it's been purged of internal dependencies then pasting it here should be fine. If that's not doable/acceptable please let me know and we can work out something over email.

Ok here we are.

Turns out there was only one more remaining dependency. PR up for that one now.

thanks!!! Paket 6.0.3 is released. Can anyone confirm that it works?

thanks!!! Paket 6.0.3 is released. Can anyone confirm that it works?

Looks good to me, at least on my own machine 👍

Also works just fine, thanks!

@baronfel for MVP!

that's the secret: gotta leave little nuggets like this so I can swoop in and save the day.

I am off work already today and can only test tomorrow. However kudos for the quick fix!


instancetype: Introduce PreferredTerminationGracePeriodSeconds

/hold
/area instancetype
What this PR does / why we need it:
This change introduces a simple preferred preference attribute for the
VirtualMachineInstance TerminationGracePeriodSeconds attribute. This is
often increased for Windows VirtualMachines thus it would be useful if
users could set this from a given Windows based preference.
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:
Based on https://github.com/kubevirt/kubevirt/pull/9575
Release note:

Allow to define the preferred termination grace period in VirtualMachine{Preferences,ClusterPreferences}

/approve

/lgtm
/retest-required

/lgtm


Visual Network - Input Size

How to change the input size of visual network  to 112x112 (square) as an example?

I solved the problem by changing this line
net = slim.repeat(net, 1, slim.conv2d, 256, [1, 2, 5], padding='VALID', scope='fc5')
to this
net = slim.repeat(net, 1, slim.conv2d, 256, [1, 5, 5], padding='VALID', scope='fc5')

@nooshin85 Ok sounds good ... Please make sure to adjust the network architecture regarding your input size.


import io.agora.rtc.ss.ScreenShare

import io.agora.rtc.ss.ScreenShare class not found

i believe it's in here https://github.com/AgoraIO/Advanced-Video/blob/master/Screensharing/Agora-Screen-Sharing-Android/screensharemodule/src/main/java/io/agora/rtc/ss/ScreenShare.java


On WebGPU flip the image for drawDepthTexture

Without this the depth buffer is rendered upside down. See WebGPU for https://playcanvas.github.io/#/graphics/ground-fog
This was the best way I found to fix it, making changes to drawTexture to fix it for depth textures makes other textures wrong instead that are already correct.
I confirm I have read the contributing guidelines and signed the Contributor License Agreement.

A good fix, but I'd prefer this instead, which matches the way the texture is sampled by the user in that example as well.
https://github.com/playcanvas/engine/pull/5930


[trusted state] replace version with waypoint

Motivation
This PR fix the problem that we don't verify latest ledger info with the
same version as local.
Now the latest ledger info has to be consistent with local verified
state or carry valid signatures to be trusted.
Have you read the Contributing Guidelines on pull requests?
Y
Test Plan
Existing tests.
Related PRs
(If this PR adds or changes functionality, please take some time to update the docs at https://github.com/libra/website, and link to your PR here.)

hmm.. let Waypoint wrap a Checkpoint will please me, not sure about others :D

@davidiw for waypoint access, it's https://developers.libra.org/testnet_waypoint.txt and release oncall will create PR and let eric merge it

:umbrella: The latest upstream changes (presumably 9be583172ea6b7eefe8a331c39cb159036eb5a56) made this pull request unmergeable. Please resolve the merge conflicts.

How do we generate a waypoint? Is this going to use config-builder for the near future? How would I generate one without config-builder?

Let's consider adding to the config/README.md how to generate a waypoint
@bors-libra delegate+

:v: @zekun000 can now approve this pull request

@bors-libra r=davidiw

:pushpin: Commit 4c4dfab has been approved by davidiw

:hourglass: Testing commit 4c4dfab640f2ac14d53ca95ae52ef44e07410f5e with merge 5b66d7e70adee59ef7f1772e1bca17f1fbbb7532...

@bors-libra r=davidiw

:pushpin: Commit cbe8b75 has been approved by davidiw

:hourglass: Testing commit cbe8b75d6e1ebb0bca98749ff07811cf5ac4bf61 with merge ca8904e02a3c56814b71d848017638e06d6c8d56...

:sunny: Test successful - checks-actions_land_blocking_test, checks-circle_commit_workflow
Approved by: davidiw
Pushing ca8904e02a3c56814b71d848017638e06d6c8d56 to master...


GUI FIX

Fixed text color of item of running labs list, now on light/dark mode is always black
Add a title bar to professor view, to disambiguate professor view from student view

I like it, only thing I believe that the title in this way takes too much space, considering that probably in the future will add other things to the dashboard. I would add something to the header, another icon or change the 'user' icon based on the status: if the user is a prof show the MUI 'School' icon

Bug Fix:

Lab Instance List was the same in professor view and student view. Error was in body, same function to retrive the list was passed both in admin and in student view


ledger2beancount: 2.1 -> 2.5

Also, move to fetch src off the official beancount github org and update
dependencies. I've run this on my ledger file and it seems to work without issue.

Motivation for this change
Things done

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

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[X] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[X] Determined the impact on package closure size (by running nix path-info -S before and after)
[X] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 113255 at e0fedb74 run on aarch64-linux 1

2 packages failed to build:

ledger
ledger-autosync

1 package built:

ledger2beancount

1 suggestion:

warning: missing-phase-hooks
installPhase should probably contain runHook preInstall and runHook postInstall.
Near pkgs/tools/text/ledger2beancount/default.nix:41:3:
   |
41 |   installPhase = ''
   |   ^

Result of nixpkgs-review pr 113255 at e0fedb74 run on x86_64-linux 1

2 packages failed to build:

ledger
ledger-autosync

1 package built:

ledger2beancount

1 suggestion:

warning: missing-phase-hooks
installPhase should probably contain runHook preInstall and runHook postInstall.
Near pkgs/tools/text/ledger2beancount/default.nix:41:3:
   |
41 |   installPhase = ''
   |   ^


pressing the spacebar expands/collapses and "pages down" in the browser

thanks for the great library!
I encountered a small issue -- when pressing the spacebar, this code will expand/collapse nodes - which is a great behavior
however, since the event is not cancelled at that point, it bubbles further up and the browser will also "page down", which is not super great :-)
see video below.
contributed fix here.

Thank you! Merged your PR and released v1.3.1.


Crash when closing the application

Describe the bug
When the application's window is closed on MacOS, a LayoutPass is called that causes the application to crash since there is no longer an opened window.
Stacktrace:
System.NullReferenceException: Object reference not set to an instance of an object.
   at Avalonia.Native.WindowBaseImpl.Resize(Size clientSize, PlatformResizeReason reason) in /_/src/Avalonia.Native/WindowImplBase.cs:line 326
   at Avalonia.Controls.Window.ArrangeSetBounds(Size size) in /_/src/Avalonia.Controls/Window.cs:line 934
   at Avalonia.Controls.WindowBase.ArrangeCore(Rect finalRect) in /_/src/Avalonia.Controls/WindowBase.cs:line 254
   at Avalonia.Layout.Layoutable.Arrange(Rect rect) in /_/src/Avalonia.Layout/Layoutable.cs:line 396
   at Avalonia.Layout.LayoutManager.Arrange(ILayoutable control) in /_/src/Avalonia.Layout/LayoutManager.cs:line 298
   at Avalonia.Layout.LayoutManager.Arrange(ILayoutable control) in /_/src/Avalonia.Layout/LayoutManager.cs:line 298
   at Avalonia.Layout.LayoutManager.Arrange(ILayoutable control) in /_/src/Avalonia.Layout/LayoutManager.cs:line 298
   at Avalonia.Layout.LayoutManager.Arrange(ILayoutable control) in /_/src/Avalonia.Layout/LayoutManager.cs:line 298
   at Avalonia.Layout.LayoutManager.Arrange(ILayoutable control) in /_/src/Avalonia.Layout/LayoutManager.cs:line 298
   at Avalonia.Layout.LayoutManager.Arrange(ILayoutable control) in /_/src/Avalonia.Layout/LayoutManager.cs:line 298
   at Avalonia.Layout.LayoutManager.Arrange(ILayoutable control) in /_/src/Avalonia.Layout/LayoutManager.cs:line 298
   at Avalonia.Layout.LayoutManager.Arrange(ILayoutable control) in /_/src/Avalonia.Layout/LayoutManager.cs:line 298
   at Avalonia.Layout.LayoutManager.Arrange(ILayoutable control) in /_/src/Avalonia.Layout/LayoutManager.cs:line 298
   at Avalonia.Layout.LayoutManager.Arrange(ILayoutable control) in /_/src/Avalonia.Layout/LayoutManager.cs:line 298
   at Avalonia.Layout.LayoutManager.Arrange(ILayoutable control) in /_/src/Avalonia.Layout/LayoutManager.cs:line 298
   at Avalonia.Layout.LayoutManager.Arrange(ILayoutable control) in /_/src/Avalonia.Layout/LayoutManager.cs:line 298
   at Avalonia.Layout.LayoutManager.Arrange(ILayoutable control) in /_/src/Avalonia.Layout/LayoutManager.cs:line 298
   at Avalonia.Layout.LayoutManager.Arrange(ILayoutable control) in /_/src/Avalonia.Layout/LayoutManager.cs:line 298
   at Avalonia.Layout.LayoutManager.ExecuteArrangePass() in /_/src/Avalonia.Layout/LayoutManager.cs:line 264
   at Avalonia.Layout.LayoutManager.InnerLayoutPass() in /_/src/Avalonia.Layout/LayoutManager.cs:line 234
   at Avalonia.Layout.LayoutManager.ExecuteLayoutPass() in /_/src/Avalonia.Layout/LayoutManager.cs:line 135
   at Avalonia.Threading.JobRunner.RunJobs(Nullable`1 priority) in /_/src/Avalonia.Base/Threading/JobRunner.cs:line 37
   at Avalonia.Native.PlatformThreadingInterface.SignaledCallback.Signaled(Int32 priority, Int32 priorityContainsMeaningfulValue) in /_/src/Avalonia.Native/PlatformThreadingInterface.cs:line 39
   at Avalonia.Native.Interop.Impl.__MicroComIAvnSignaledCallbackVTable.Signaled(IntPtr this, Int32 priority, Int32 priorityContainsMeaningfulValue) in /_/src/Avalonia.Native/Interop.Generated.cs:line 3702
--- End of stack trace from previous location ---
   at Avalonia.Native.PlatformThreadingInterface.RunLoop(CancellationToken cancellationToken) in /_/src/Avalonia.Native/PlatformThreadingInterface.cs:line 90
   at Avalonia.Threading.Dispatcher.MainLoop(CancellationToken cancellationToken) in /_/src/Avalonia.Base/Threading/Dispatcher.cs:line 61
   at Avalonia.Controls.ApplicationLifetimes.ClassicDesktopStyleApplicationLifetime.Start(String[] args) in /_/src/Avalonia.Controls/ApplicationLifetimes/ClassicDesktopStyleApplicationLifetime.cs:line 126
   at ServiceStudio.Hybrid.Program.Start(String[] args, Boolean showSplash)
   at ServiceStudio.Hybrid.Program.Main(String[] args)

To Reproduce
Unfortunately, these are reports from our users and I didn't manage to replicate it
Expected behavior
There should be no crash, ignoring any event after the window is closed.
Desktop (please complete the following information):

OS: Mac 10.14 or newer
Version 0.10.7-cibuild0015649-beta

Additional context
I found this issue that has a similar behavior and was fixed on Feb 2020: https://github.com/AvaloniaUI/Avalonia/issues/3544

Looks like the the job queue is pumped during window close, causing a layout to be run when the window is actually closed.


Direct dependencies not recognized when yarn.lock

The direct dependencies are righ when I use npm install (package-lock.json)
There are many more direct dependencies in bom.json when I use yarn install (yarn.lock)
Maybe the same question as this issue Dependency Tree failing for yarn.lock files

@jc911, could you triage a bit more and let me know the correct list of direct dependencies for yarn. May be there is some yarn command that we can try and mimic?

Thanks for your response!
For example:
https://github.com/yarnpkg/website
The direct dependencies I think should be devDependencies and dependencies in the package.json
"devDependencies": {
    "algolia-sitemap": "^2.1.1",
    "babel-core": "^6.26.3",
    "babel-loader": "^7.1.4",
    "babel-plugin-transform-react-constant-elements": "^6.23.0",
    "babel-plugin-transform-react-inline-elements": "^6.22.0",
    "babel-preset-env": "1.7.0",
    "babel-preset-react": "^6.24.1",
    "babel-preset-stage-2": "^6.24.1",
    "happypack": "^4.0.1",
    "lint-staged": "9.0.0",
    "pre-commit": "^1.2.2",
    "prettier": "^1.13.4",
    "webpack": "^3.5.5",
    "webpack-bundle-analyzer": "^3.3.2",
    "webpack-manifest-plugin": "^1.3.1"
  },

"dependencies": {
    "@haroenv/react-sparklines": "^1.7.1",
    "algoliasearch": "^3.27.1",
    "bootstrap": "^4.0.0-alpha.5",
    "bytes": "^3.0.0",
    "date-fns": "^2.0.0-alpha.7",
    "docsearch.js": "^2.5.2",
    "jquery": "^3.4.0",
    "marked": "^0.4.0",
    "popper.js": "^1.14.3",
    "prop-types": "^15.6.1",
    "qs": "^6.5.2",
    "react": "^16.4.0",
    "react-dom": "^16.4.2",
    "react-instantsearch-dom": "^5.2.0-beta.2",
    "react-transition-group": "^1.2.1",
    "unescape-html": "^1.0.0",
    "unfetch": "^3.0.0",
    "xss": "^1.0.3"
  },

But in the bom.json there are a lot
{
      "ref"<EMAIL_ADDRESS>      "dependsOn": [
        "pkg:npm/<EMAIL_ADDRESS>        "pkg:npm/<EMAIL_ADDRESS>        "pkg:npm/<EMAIL_ADDRESS>        "pkg:npm/<EMAIL_ADDRESS>        "pkg:npm/<EMAIL_ADDRESS>        "pkg:npm/<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>        ......
        ......
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>      ]
    },

@jc911 Thank you. Below is the link that needs to be improved to match this behaviour. It is currently matching yarn list command. Would you be interested in contributing a PR?
https://github.com/CycloneDX/cdxgen/blob/e5d205426d36d419225baceab70a6ae3c34c938c/index.js#L2374

I tested cdxgen with the output of yarn list --depth=0 and found the results to be matching. Closing this bug, since this is not an issue (although I agree that yarn is over-reporting the first level dependencies). You can always feel free to use --required-only and other filters to limit the components in the SBOM.


Directory glob does not work with manual SCM

Verify canary release

[X] I verified that the issue exists in the latest Turborepo canary release.

Link to code that reproduces this issue
https://github.com/cjquines/turborepo-manual-scm
Which canary version will you have in your reproduction?
turbo 2.3.4-canary.2
Enviroment information
turbo 2.3.4-canary.2

CLI:
   Version: 2.3.4-canary.2
   Path to executable<EMAIL_ADDRESS>   Daemon status: Running
   Package manager: pnpm

Platform:
   Architecture: aarch64
   Operating system: macos
   WSL: false
   Available memory (MB): 10932
   Available CPU cores: 12

Environment:
   CI: None
   Terminal (TERM): xterm-kitty
   Terminal program (TERM_PROGRAM): unknown
   Terminal program version (TERM_PROGRAM_VERSION): unknown
   Shell (SHELL): /bin/zsh
   stdin: false

Expected behavior
The task app-a#build has the input src, and per file glob specification, should include all the files in its src as part of its input.
Actual behavior
With the manual SCM, the src is not part of the input.
To Reproduce
Clone the repo, then switch to manual SCM (via e.g. mv .git _git).
Run turbo build --summarize; observe that the task app-a#build does not have src in its inputs.
Additional context
No response

Can you describe what you mean by "manual SCM"? I can't say I've ever heard of this, and searching the web for it didn't yield me anything that looked like mv .git _git. I'm interested to learn more.
Off-hand, this sounds like something that isn't supported per our Support Policy so it's possible that this ambiguous behavior is expected.

ah, yeah, i was referring to the fact that there was different input hashing behavior for the same set of files with and without git. i think per policy this is expected behavior then

ah sorry, "manual SCM" is what the verbose logs refer to the scenario without git.
the support policy mentions that it supports "repositories that don't have version control at all". the mv .git _git is simply to make the repository not have any version control; you'll get identical results if you simply copy the files out.

I just saw that for some reason we're going through a different codepath that skips "fixing" globs when manual hashing is used. Right now if you pass src as an input glob and src is a directory then we'll change it to src/** as that's what most users want. This transformation isn't happening in git-less repos for some reason.
Current workaround is to change the input glob from src to src/** and you'll see the src/input.txt as an input in the summary:
 185   │       "taskId": "pkg-a#build",
 186   │       "task": "build",
 187   │       "package": "pkg-a",
 188   │       "hash": "21648956089cb500",
 189   │       "inputs": {
 190   │         "package.json": "1d60de1da4eee8f13adc8fe28bff8a69413c1eb3",
 191   │         "src/input.txt": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391"
 192   │       },

(In your reproduction repository app-a doesn't have a src folder) but pkg-a/pkg-b so I'm looking at those)

yeah, the workaround i went with was just doing a git init and making a commit. that's probably marginally faster but we have a lot of globs that we'd have to fix lol


build: bump dependencies to avoid vulnerabilities

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


[SPARK-5681][Streaming] Use a lock to eliminate the race condition when stopping receivers and registering receivers happen at the same time

This is an alternative way to fix SPARK-5681. It minimizes the changes.
Closes #4467

@viirya could you take a look?
cc @tdas

Merged build triggered.

Merged build started.

Test build #33170 has started for   PR 6294 at commit d5a1767.

Test build #33170 has finished for   PR 6294 at commit d5a1767.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/33170/
Test FAILed.

Do you need explicit locking? Wouldn't synchronized start, register, stop etc be enough?

Merged build triggered.

Merged build started.

Test build #33172 has started for   PR 6294 at commit fff63f9.

Do you need explicit locking? Wouldn't synchronized start, register, stop etc be enough?

Using this will block the registerReceiver method when stopping because stop is synchronized. Then when graceful is true, it's a dead lock.

Test build #33172 has finished for   PR 6294 at commit fff63f9.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/33172/
Test PASSed.

Merged build finished. Test PASSed.

Looks good.

Merged build triggered.

Merged build started.

Test build #33286 has started for   PR 6294 at commit 15ed4a1.

Test build #33286 has finished for   PR 6294 at commit 15ed4a1.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/33286/
Test PASSed.

Merged build finished. Test PASSed.

Build triggered.

Build started.

Test build #33351 has started for   PR 6294 at commit 7b1d9af.

Merge conflicts in this PR.

Merged build triggered.

Merged build started.

Test build #33353 has started for   PR 6294 at commit a8120c0.

Merge conflicts in this PR.

Fixed

Test build #33351 has finished for   PR 6294 at commit 7b1d9af.

This patch fails MiMa tests.
This patch does not merge cleanly.
This patch adds no public classes.

Build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/33351/
Test FAILed.

Merged build triggered.

Merged build started.

@tdas updated as per our discussion offline.

Test build #33359 has started for   PR 6294 at commit c41ee94.

Test build #33353 has finished for   PR 6294 at commit a8120c0.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/33353/
Test PASSed.

Test build #33359 has finished for   PR 6294 at commit c41ee94.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/33359/
Test PASSed.

Merged build triggered.

Merged build started.

Test build #33465 has started for   PR 6294 at commit b4c29e7.

Test build #33465 has finished for   PR 6294 at commit b4c29e7.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/33465/
Test PASSed.

Merged build finished. Test PASSed.

@zsxwing @tdas the hanging issue seems like one that would be good to fix. Any updates on this patch?

Yes, but @zsxwing does this affect the receiver management stuff you are
designing?
On Mon, Jun 29, 2015 at 2:07 PM, andrewor14<EMAIL_ADDRESS>wrote:

@zsxwing https://github.com/zsxwing @tdas https://github.com/tdas the
hanging issue seems like one that would be good to fix. Any updates on this
patch?
—
Reply to this email directly or view it on GitHub
https://github.com/apache/spark/pull/6294#issuecomment-116846507.

Yes, but @zsxwing does this affect the receiver management stuff you are
designing?

Right. Let's wait until we finalize the receiver management design.

Merged build triggered.

I think this is not needed any more. We should merge this changes into #7276 as that touches this significantly. Please update the title in that PR to include this JIRA and then close this PR. Thanks :)

Merged build triggered.

Merged build started.

Test build #37482 has started for   PR 6294 at commit b4c29e7.

Test build #37482 has finished for   PR 6294 at commit b4c29e7.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Merged build triggered.

Merged build started.

@tdas moved stopReceivers to the event loop according to our discussion offline. And we don't need the extra trackerStateLock any more.

Test build #37496 has started for   PR 6294 at commit a178d37.

Test build #37496 has finished for   PR 6294 at commit a178d37.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

@zsxwing Could you post a bit more detail on the offline discussion please? The last update from @tdas suggests that this is no longer required - so some context would be useful.

@harishreedharan Yeah, my bad. I had a offline discussion with @zsxwing about this. Our initial attempt to merge this PR into the receiver scheduling PR #7276 made that PR very complex and hard to reason about with a lot of locks. So we decided to split the PR back, and solve each one separately. So the plan is that we are first going to solve this PR without adding any locks. Then it will be easier to reason about when #7276 is applied, hopefully without introducing locks as well.

Thanks! Makes sense

Merged build triggered.

Merged build started.

Merged build finished. Test FAILed.

retest this please

Merged build triggered.

Merged build started.

Test build #37579 has started for   PR 6294 at commit e103e8a.

Merged build triggered.

Merged build started.

Test build #30 has started for   PR 6294 at commit e103e8a.

Test build #37579 has finished for   PR 6294 at commit e103e8a.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test build #30 has finished for   PR 6294 at commit e103e8a.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Merged build triggered.

Merged build started.

Test build #37628 has started for   PR 6294 at commit 709ac1f.

Test build #37628 has finished for   PR 6294 at commit 709ac1f.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

LGTM. Merging this to master. Thanks!

Hi @tdas and @zsxwing , is it feasible to back port this patch to branch 1.4? This patch fixes a restart issue here by updating the state before calling receiver.onStart().
if (onReceiverStart()) {
  logInfo("Starting receiver")
  receiverState = Started
  receiver.onStart()
  logInfo("Called receiver onStart")

Previously this state is updated after calling recevier.onStart(), still will introduce annoying bug in SocketReceiver when restart() is called.

I think patch should apply cleanly on branch-1.4. But this is a non-trivial patch, as it changes the state changes in the ReceiverTracker. So it is slightly scary. What do you think @zsxwing?


Use tabwriter in commands help section

Before:
Commands:
	add adds something
	list	lists some things
	remove	removes something
	set sets the thing

After
Commands:
	add     adds something
	list    lists some things
	remove  removes something
	set     sets the thing

cc @ammario since I don't have perms to request a review

I love this change.


Error traversing Access Policy'd link

EdgeDB Version: 2.4+9f3da78 (also affects nightly 3.0-dev.6990+794090f)
OS Version: macOS 12.6

Steps to Reproduce:

Create two linked object types, link destination object with Access Policies in terms of itself and link source object with Access Policies in terms of destination object
Query from source object to destination object

$ edgedb
EdgeDB 2.4+9f3da78 (repl 2.0.5+53f9c9b)
Type \help for help, \quit to quit.
edgedb> select DocumentVersion {};
{}
edgedb> select DocumentVersion {id, parentDocument};
edgedb error: InternalServerError: None
  Hint: This is most likely a bug in EdgeDB. Please consider opening an issue ticket at https://github.com/edgedb/edgedb/issues/new?template=bug_report.md
  Server traceback:
      Traceback (most recent call last):
        File "/Users/jack/Library/Application Support/edgedb/portable/2.4/lib/python3.10/site-packages/edb/pgsql/compiler/__init__.py", line 120, in compile_ir_to_sql_tree
          qtree = dispatch.compile(ir_expr, ctx=ctx)
        File "/Users/jack/Library/Application Support/edgedb/portable/2.4/lib/python3.10/functools.py", line 889, in wrapper
          return dispatch(args[0].__class__)(*args, **kw)
        File "/Users/jack/Library/Application Support/edgedb/portable/2.4/lib/python3.10/site-packages/edb/pgsql/compiler/expr.py", line 60, in compile_Set
          _compile_set_impl(ir_set, ctx=ctx)
        File "/Users/jack/Library/Application Support/edgedb/portable/2.4/lib/python3.10/site-packages/edb/pgsql/compiler/expr.py", line 114, in _compile_set_impl
          _compile_set(ir_set, ctx=ctx)
  ...

Schema:
module default {
    global current_user -> uuid;

    type Document {
        required link author -> User;
        access policy author_has_full_access
            allow all
            using (global current_user ?= .author.id);
    }

    type User {}

    type DocumentVersion {
        required link parentDocument -> Document;
        access policy author_has_full_access
            allow all
            using (global current_user ?= .parentDocument.author.id);
    }

}

Fixed yesterday in #4555, it seems!


docs/ts/latest/guide/displaying-data 404 error

When going through the tutorial part 1 it has a note in the Show our Hero section that states "Learn more about interpolation in the Displaying Data chapter." with a link to https://angular.io/docs/ts/latest/guide/displaying-data that then gives a 404 error.

This should already be fixed in master here ~ https://github.com/angular/angular.io/pull/375
@wardbell has this commit been deployed already?

Yes


More white space fixes

remove tabs and trailing white space
add missing files to MANIFEST
don't rely on MANIFEST for the white space test

The test failure is caused by a bad unittest in std.random that is bound to fail with some probability.

The test failure is caused by a bad unittest in std.random that is bound to fail with some probability.

You can trigger a re-run of the failing test by going onto the run's page and clicking the 'deprecate' link.

You can trigger a re-run of the failing test by going onto the run's page and clicking the 'deprecate' link.

Thanks, that helped.

@rainers All test suite heisenbugs should be submitted to bugzilla so they get fixed.

@rainers All test suite heisenbugs should be submitted to bugzilla so they get fixed.

It is already reported: https://issues.dlang.org/show_bug.cgi?id=13853

@rainers thank you!

LGTM

Auto-merge toggled on

Seems no one has complaint with this PR.


YouTube Video for Product Images

Is there a way to use YouTube video in the product image gallery? Here is an example of the effect:
https://www.beardbrand.com/collections/utility-balm/products/tree-ranger-utility-beard-balm
Thank you.

No, this is not baked into Timber. It looks like that shop uses the code for embedding an iframe as the thumbnail's alt text then uses JS to insert it. Definitely a cool effect for product pages


Convert Full Dataset: FP Behavior

This PR adds support to iterate through all the FP behavior sessions of the dataset and convert with behavior interface.
Missing medpc files are converted via MEDPC_RawFilesbyDate folder to the extent possible.

There seem to be a lot of exceptions to handle.

Yes, see latest email to the lerner lab, which follows up on the missing MSNs, problematic sessions and missing csv sessions. --> Will need to take care of those in a follow-up PR.


The installation module is missing the most critical casbin.lua In Ubuntu 20.04

Description
When I test the installation of lua-casbin, this situation occasionally occurs: the most critical casbin.lua is less than one of the dependencies installed.
Env:

OS: Ubuntu 20.04
lua: 5.1 5.2 5.3 5.4
luarocks: v3.3.1

Normal installation：

Missing installation

As you can see from the picture, casbin.lua was not successfully installed locally, and the lack of it caused my reference to not find the casbin module
Proposal

Is it possible to change ["casbin"] = "src/main/Enforcer.lua" to ["casbin"] = "casbin.lua"? Display the specified casbin.lua file.

@rushitote

I tried installing it by these two commands and it works well:
sudo luarocks install casbin
sudo luarocks show casbin

@rushitote
I found this problem in github actions where the installation fails occasionally.
You need to try more times in CI, and this problem should be repeated.

@conghuhu Could you please link which CI is failing randomly?

@conghuhu Could you please link which CI is failing randomly?

I found it when I was developing luasql adapter
CI link

@conghuhu seems to be private 😅

@conghuhu seems to be private 😅

Sorry，you can try again.

Hmm, seems to happen when building the .rock file. Not sure, but I think this is a problem with LuaRocks than us if this happens randomly.

OK, then I will run CI more times until it passes

@conghuhu Does it fail randomly even when installing by luarocks install casbin (installing latest version)?

@rushitote Yes, I have tried build, install, and make, but the casbin.lua file is randomly missing and not installed


USE_PWNEDPASSWORDS=${USE_PWNEDPASSWORDS:-false}

avoids error message

superseded by current version - this parameter has been included by Tiredofit.... Thank you!


Add ability to access group stats in plot_args_func

Backwards-compatibly add a 'all stats in group' parameter to the python API version
Add several more available values to --plot_args_func in sinter plot
Bump gtest version to 1.12.1 to fix a warning (error via -Werror) that appeared in newer compilers
Add diagram comparison test data to stim_test bazel build target
Add bazel testing to CI to keep it fixed
Show decoder in sinter progress output, and compress dictionary strings in progress output

Obsoleted by shenanigans to get CI passing again on main


Android Basics: Load and display images from the Internet

name: Android Basics Unit 4 issue
about: Report problems with the Android Basics Unit 4 codelabs
title: 'Android Basics Unit 4 issue:'
labels: ''
assignees: ''

URL of codelab
https://developer.android.com/codelabs/basic-android-kotlin-training-internet-images?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-kotlin-unit-4-pathway-2%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-training-internet-images#2
In which task and step of the codelab can this issue be found?
Create a binding adapter and use Coil
Describe the problem
If you create fun bindImage(imgView: ImageView, imgUrl: String?)  without  @JvmStatic annotation and than after compile and run app on android emulator you will get an error type: "is not static and requires an object to use, retrieved from the DataBindingComponent". And I found BindingAdapters needs be object except class.
Versions
Android Studio version: 4.2.1
API version of the emulator: Name: Pixel_3a_API_29
CPU/ABI: Google Play Intel Atom (x86)
(API level 29)
Additional information
Include screenshots if they would be useful in clarifying the problem.

I ran into the same issue. Not sure if it's operator error on my part. Based on @MxWild suggestion, I was able to get the example working with this code for BindingAdapters.kt:
package com.example.android.marsphotos

import android.widget.ImageView
import androidx.core.net.toUri
import androidx.databinding.BindingAdapter
import coil.load

object BindingAdapters {
    @BindingAdapter("imageUrl")
    @JvmStatic
    fun bindImage(imgView: ImageView, imgUrl: String?) {
        imgUrl?.let {
            val imgUri = imgUrl.toUri().buildUpon().scheme("https").build()
            imgView.load(imgUri)
        }
    }
}

Actually, BindingAdapters.kt is not a class or object, it should simply contain the function:
package com.example.android.marsphotos

import android.widget.ImageView
import androidx.core.net.toUri
import androidx.databinding.BindingAdapter
import coil.load

@BindingAdapter("imageUrl")
fun bindImage(imgView: ImageView, imgUrl: String?) {
    imgUrl?.let {
        val imgUri = imgUrl.toUri().buildUpon().scheme("https").build()
        imgView.load(imgUri)
    }
}


Improve documentation for bosh deployment.

Is your feature request related to a problem? Please describe.
I'm trying to follow along with https://github.com/concourse/concourse-bosh-deployment/blob/master/cluster/README.md
To deploy concourse in my homelab.
It's been forever since I've used this deployment repo, and I can't recall what the versions.yml is used for.
Adding this issue as I might have a go at adding some more documentation.  Also the examples should be to run the bosh deploy outside of this repo like bosh-deployment does.
Describe the solution you'd like
as above
Describe alternatives you've considered
No response
Additional context
No response

We should also state that we require the jammy stemcell as a prerequisite


Add assertion to Reducer.optional

This was spurred after a bunch discussions today: #152, #153, #154, #155.
Right now, optional reducers will happily toss actions they like to process into the void. This can lead to very subtle bugs where we are sending actions to the reducer and expecting things to happen, but because some sub-state is nil nothing happens at all.
Adding this assertion even revealed a "bug" in our TicTacToe logic, where we handle niling out LoginState upon login before letting the loginReducer handle its own action. If loginReducer were instrumented with some analytics, we'd be losing those. So I think this (or something like it) would be helpful in the future.
(cc @peterkovacs)

Example error:

Fatal error: ".loginResponse(.success)" was received by an optional reducer when its state was "nil". This can happen for a few reasons:

The optional reducer was combined with another reducer that ran and set "LoginState" to "nil" when it handled the same action. Combine the optional reducer before this reducer to ensure the optional reducer can handle its case.

This action was sent to the store while state was "nil". Make sure that actions for this reducer can only be sent to a view store when state is non-"nil".

An effect returned this action while state was "nil". Make sure that effects for this optional reducer are canceled when optional state is set to "nil".


[Installation]: pip install vllm-0.6.2.zip err:setuptools-scm was unable to detect version for /tmp/pip-req-build-7ptioibj

Your current environment
pip install auto_gptq modelscope xformers==0.0.27.post2 torchvision==0.19 torchaudio torch==2.4.0 torchtext numpy wheel
pip install setuptools>=74.1.1 setuptools_scm==8.1.0 pyportfolioopt
pip install "pillow==10.*" -U
pip install sentencepiece charset_normalizer cpm_kernels tiktoken -U
pip install matplotlib scikit-learn tqdm tensorboard -U
pip install datasets huggingface-hub transformers==4.45.0 -U
pip install accelerate transformers_stream_generator -U
pip install pydantic==1.7.4 typer==0.3.0
pip install fastrlock cupy-cuda11x==12.1.0
pip install vllm-flash-attn==2.6.1 datamodel_code_generator

How you are installing vllm
pip install vllm-0.6.2.zip

Before submitting a new issue...

[X] Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

err:
Processing vllm-0.6.2.zip
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [26 lines of output]
/tmp/pip-build-env-nr7os5qd/overlay/lib/python3.10/site-packages/torch/_subclasses/functional_tensor.py:258: UserWarning: Failed to initialize NumPy: No module named 'numpy' (Triggered internally at ../torch/csrc/utils/tensor_numpy.cpp:84.)
cpu = _conversion_method_template(device=torch.device("cpu"))
Traceback (most recent call last):
File "/home/wangrenzhong/anaconda3/envs/py310/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in
main()
File "/home/wangrenzhong/anaconda3/envs/py310/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/home/wangrenzhong/anaconda3/envs/py310/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
File "/tmp/pip-build-env-nr7os5qd/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 332, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
File "/tmp/pip-build-env-nr7os5qd/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 302, in _get_build_requires
self.run_setup()
File "/tmp/pip-build-env-nr7os5qd/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 318, in run_setup
exec(code, locals())
File "", line 485, in
File "", line 357, in get_vllm_version
File "/tmp/pip-build-env-nr7os5qd/overlay/lib/python3.10/site-packages/setuptools_scm/_get_version_impl.py", line 158, in get_version
_version_missing(config)
File "/tmp/pip-build-env-nr7os5qd/overlay/lib/python3.10/site-packages/setuptools_scm/_get_version_impl.py", line 112, in _version_missing
raise LookupError(
LookupError: setuptools-scm was unable to detect version for /tmp/pip-req-build-caovnllw.
  Make sure you're either building from a fully intact git repository or PyPI tarballs. Most other sources (such as GitHub's tarballs, a git checkout without the .git folder) don't contain the necessary metadata and will not work.

  For example, if you're using pip, instead of https://github.com/user/proj/archive/master.zip use git+https://github.com/user/proj.git#egg=proj
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

cc @dtrifiro

Are you trying to build from source? If so, the error is telling you what's wrong:
  Make sure you're either building from a fully intact git repository or PyPI tarballs. Most other sources (such as GitHub's tarballs, a git checkout without the .git folder) don't contain the necessary metadata and will not work.

  For example, if you're using pip, instead of https://github.com/user/proj/archive/master.zip use git+https://github.com/user/proj.git#egg=proj
  [end of output]

Which can be solved by installing from a git+https ref:
pip install<EMAIL_ADDRESS>
If you're not trying to build from source, I recommend installing the prebuilt wheel

Hmm can we still make this workflow work? I would imagine there are folks trying to vendor vLLM without git.

@simon-mo
The right way to provide a tarball, is building a source distribution:
python setup.py sdist
# or, if using modern tools:
python -m build --sdist

this will create a tar archive which can be built. It will look something like this: vllm-0.6.3.dev146+g9b064faa6.d20241010.tar.gz
Another approach would be hacking setup.py to ignore the LookupError:
    try:
        version = get_version(
        write_to="vllm/_version.py",  # TODO: move this to pyproject.toml
    )
    except LookupError:
        version = "0.0.0"

Although this is not ideal:

this is hacky
we lose any kind of versioning information
this would only work temporarily: I'm not sure if this can be done when moving this definition to pyproject.toml
I'm sure there's plenty of ways this could backfire

We do provide the tarball on PyPI

@dtrifiro This issue exsited in 0.6.3 docker image.
16T06:22:59.319607711Z /usr/local/lib/python3.12/dist-packages/vllm/connections.py:8: RuntimeWarning: Failed to read commit hash:

16T06:22:59.319678095Z No module named 'vllm._version'

16T06:22:59.319688347Z   from vllm.version import __version__ as VLLM_VERSION


Able to specify archive URL (tar, zip, tar.gz, ...) for extraDirectories

This has been brought up a few times, and recently, I wished I could specify an archive URL for extraDirectories when I tried migrating microservices-demo to use Jib. Optionally being able to specify a checksum as gradle-download-task does.
However, probably extraDirectories will need #1581 to be able to specify an unpack destination for this to be useful. Also, I realized often you want some filtering to be able to selectively copy only what you want.
That brings us back into our previous debates where Jib wants to implement functionalities (i.e., re-invent the wheel) that are already well supported by Gradle or other popular plugins (e.g., downloading/copying/unpacking resources into extraDirectories).

I think this is outside the scope of this plugin.  Instead let this happen elsewhere in the maven build, requiring the programmer to specify extracting the contents under target/ and then let jib include that instead.

I think it will be usefull. This weekend e need simular issue than you @chanseokoh .. But I don't know how many job time and changes will be necessary.

It really would be a nice feature.


Changes Version of 'active_model_serializers' Dependency

At present, spree_wombat depends on the 0.9.x branch of active_model_serializers. Development along this branch appears to be defunct, with the rails-api team opting to work on an 0.10.x branch based off the 0.8.x branch. Phew, confusing!
Given the roadmap for AMS, I propose that it makes more sense to depend on the 0.8.x branch than the 0.9.x branch. This PR changes the version of active_model_serializers on which spree_wombat depends, and small changes to the serializers to keep the test suite green.
The PR targets the master branch now, but can be back-ported pretty easily into other branches.

Thanks


Update README.md

This file was changed in my local, will be push next version, but thanks your PR!


Land for sale not loading on iOS app distributed through TestFlight despite it working on simulator

@marcelomorgado Any ideas on a next step for debugging this?

Hmmm not really. There is some way to get access to some kind of debug log?

@marcelomorgado Yeah, I’ll look into our best options for that. There are a few things I have done in the past to debug production builds.
In the meantime, can you see if this loads for you and works on Android in the Expo app? https://expo.io/@tasit/tasit-decentraland

@marcelomorgado Yeah, I’ll look into our best options for that. There are a few things I have done in the past to debug production builds.
In the meantime, can you see if this loads for you and works on Android in the Expo app? https://expo.io/@tasit/tasit-decentraland

Not working here.

In that case, I wonder if it has something to do with the production settings / or config variables when I published the js assets. Feel free to try publishing with the tasit Expo credentials from your machine to see if that changes anything.

Sorry, but which app we should publish right now? From develop branch or from no-blockchain branch?

I was publishing from develop based on our discussion here https://github.com/tasitlabs/tasit/issues/64#issuecomment-473355679

@marcelomorgado Niiice, it's workin now as of build 0.0.2!


Unexpexted output when providing randomly sampled latents

Whenever I try to provide my own randomly sampled latent codes as source latent, I get images like this:

The sampling was done with:
torch.randn(1, 512, device=device)
Do you have any idea why the image generation fails?
Kind regards!

I found the mistake: the statement above generates the z-code for the mapping network. I had to set "input_is_latent=false" otherwise it would not be fed to the mapper. The issue can be closed!


Changing config on a brand new local cache results in errors

I had a local cache already on disk.
I used the cruiz wizard to register it.
Then I tried enabling revisions and print run commands, and got this error on the console
Traceback (most recent call last):
  File "/Users/mark.final/dev/conan/library_venv310/lib/python3.10/site-packages/cruiz/manage_local_cache/managelocalcachesdialog.py", line 728, in _config_toggle_revisions
    self._config_toggle(checked, ConanConfigBoolean.REVISIONS)
  File "/Users/mark.final/dev/conan/library_venv310/lib/python3.10/site-packages/cruiz/manage_local_cache/managelocalcachesdialog.py", line 715, in _config_toggle
    del self._modifications["Config"][config]
KeyError: 'Config'

cruiz v1.4.0a4

Have tried this on an existing local cache, and a brand new local cache, and the error did not occur. Closing.


Security and Access

The tool should meet cybersecurity concerns:

[ ] #111

[ ] #113

[ ] #114

[ ] #115

I have asked for a copy of D's new law on this.


Make table and body elements collapsible

Is your feature request related to a problem? Please describe.
The API at startup does not need to show as much detail
Describe the solution you'd like
2 options (HTML)
1 - Inject javascript to add this feature
2 - Add a static javascript file that can be downloaded along with the main file
At Markdown I can't think how
Describe alternatives you've considered
None
Additional context
None

Added collacsible for table of content in HTML version

I would like to help you with this @itsalb3rt


Unable to change allowance

Hi,
I want to liquidate my DAI, but OasisDEX isn't granting me allowance.
I've entered an allowance, signed the transaction via metamask with substantial gas, waited a half hour with no results. (When I bought my DAI I was able to update an allowance within a minute or two.)
I'm using OasisDEX via metamask 4.5.5 in chrome 65.0.3325.181 on OSX 10.11.6.
Is there anything you'd suggest I try?

Its the same for me... I am for one week trying Unwrap 1ETH from Oasisdex to my etherwallet of Metamask, or also trying buy 0.5 Maker with this ETH and is not possible. Whats happen really? I am paying more fees but the transation doesn´t work from one week ago, and before it worked perfetly and fastly. Please help me, thanks


GIF running slower than expected

Description
I'm developping my first application with Xamarin.Forms and I use FFImageLoading to handle all my images. I wanted to add some loading GIF to my application, but the result is an animated image that ran slower than on my computer or in a web browser (this one, for instance).
I checked the source code to find out why, and it seems like the problem is this line :
https://github.com/luberda-molinet/FFImageLoading/blob/4e6dfd61ab855f01b859343780642242aae8a20c/source/FFImageLoading.Common/Helpers/GifHelperBase.cs#L551
I edited the source code to replace it with this line :
delay = ReadShort() * 10; // delay in milliseconds
And it seems to work without any problem.
Is there a reason for using Max when parsing GIF metadata ?
Steps to Reproduce
Changing this line :
https://github.com/luberda-molinet/FFImageLoading/blob/4e6dfd61ab855f01b859343780642242aae8a20c/samples/ImageLoading.Forms.Sample/Shared/Pages/SimpleGifPageModel.cs#L10
With :
            ImageUrl = "https://loading.io/spinners/coolors/lg.palette-rotating-ring-loader.gif";
And running the project FFImageLoading.Forms.Sample.Droid
Expected Behavior
The animation to run at it's defined framerate.
Actual Behavior
The animation is running with a Delay of 100ms between each frame (instead of 30ms I think).
Basic Information

Version with issue: 2.3.4

Yes, it's set for performance reasons. Most of mobile (and even some desktop too) browsers have that limit set to 10ms.
However you found a bug, mistakenly it was set to 100ms instead 10ms, fixing it now. Thanks!


coursier.ResolutionException  when run build/sbt package

I encountered this exception when I clone this project and run command 'build/sbt package'.
sbt:1.5.5
jdk: AdoptOpenJDK Java 14.0.2.
detail error:
Using /Library/Java/JavaVirtualMachines/adoptopenjdk-14.jdk/Contents/Home/ as default JAVA_HOME.
Note, this will be overridden by -java-home if it is set.
[info] welcome to sbt 1.5.5 (AdoptOpenJDK Java 14.0.2)
[info] loading global plugins from /Users/chyun/.sbt/1.0/plugins
[info] loading settings for project delta-build-build from plugins.sbt ...
[info] loading project definition from /Users/chyun/workspace/delta/project/project
[info] loading settings for project delta-build from plugins.sbt ...
[info] loading project definition from /Users/chyun/workspace/delta/project
[info] Updating delta-build
[info] Resolved delta-build dependencies
[error] coursier.ResolutionException: Encountered 1 error(s) in dependency resolution:
[error]     org.scala-sbt:global-plugins;sbtVersion=1.0;scalaVersion=2.12:0.0:
[error]         not found:
[error]             https://repo1.maven.org/maven2/org/scala-sbt/global-plugins_2.12_1.0/0.0/global-plugins-0.0.pom
[error]             /Users/chyun/.ivy2/local/org.scala-sbt/global-plugins/scala_2.12/sbt_1.0/0.0/ivys/ivy.xml
[error]             https://maven.aliyun.com/nexus/content/groups/public/org/scala-sbt/global-plugins_2.12_1.0/0.0/global-plugins-0.0.pom
[error]             https://oss.sonatype.org/service/local/repositories/releases/content/org/scala-sbt/global-plugins_2.12_1.0/0.0/global-plugins-0.0.pom
[error]             https://oss.sonatype.org/content/repositories/snapshots/org/scala-sbt/global-plugins_2.12_1.0/0.0/global-plugins-0.0.pom
[error]             https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/org.scala-sbt/global-plugins/scala_2.12/sbt_1.0/0.0/ivys/ivy.xml
[error] (coursierResolutions) coursier.ResolutionException: Encountered 1 error(s) in dependency resolution:
[error]     org.scala-sbt:global-plugins;sbtVersion=1.0;scalaVersion=2.12:0.0:
[error]         not found:
[error]             https://repo1.maven.org/maven2/org/scala-sbt/global-plugins_2.12_1.0/0.0/global-plugins-0.0.pom
[error]             /Users/chyun/.ivy2/local/org.scala-sbt/global-plugins/scala_2.12/sbt_1.0/0.0/ivys/ivy.xml
[error]             https://maven.aliyun.com/nexus/content/groups/public/org/scala-sbt/global-plugins_2.12_1.0/0.0/global-plugins-0.0.pom
[error]             https://oss.sonatype.org/service/local/repositories/releases/content/org/scala-sbt/global-plugins_2.12_1.0/0.0/global-plugins-0.0.pom
[error]             https://oss.sonatype.org/content/repositories/snapshots/org/scala-sbt/global-plugins_2.12_1.0/0.0/global-plugins-0.0.pom
[error]             https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/org.scala-sbt/global-plugins/scala_2.12/sbt_1.0/0.0/ivys/ivy.xml
[warn] Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore? (default: r)

It seems like a sbt-coursier's bug, see https://github.com/coursier/coursier/issues/1064
I changed the version of sbt-coursier to 1.1.0-M12, it did worked.

Thanks, @chyun - as you noted, this appears to be an issue related to sbt-coursier.  As this issue appears to be resolved within coursier, do you have any concerns to close this issue?  Thanks!

I hit this issue today. My workaround is removing the ~/.sbt/* to fix the broken state.


Prepend ctl to database table names

Closes #978
Code Changes

[x] update sqlmodels.py to prepend all tables with ctl
[x] create an alembic migration
[x] update past migrations that get broken by the new change

Steps to Confirm

[ ] automated tests pass

Pre-Merge Checklist

[x] All CI Pipelines Succeeded
Documentation Updated:

[x] documentation complete, or draft/outline provided (tag docs-team to complete/review on this branch)
[ ] documentation issue created (tag docs-team to complete issue separately)

[x] Issue Requirements are Met
[ ] Relevant Follow-Up Issues Created
[x] Update CHANGELOG.md

Description Of Changes
(Relatively) Straightforward PR to avoid name collisions with ops

everything looking good, last piece is to update the migration to also rename the indexes


mnist_tfrecord question

@athundt , I'm confused with this example. I have read issues referred "how to use tfrecord in keras", but it makes more confused. As this url (https://github.com/indraforyou/keras_tfrecord) shown, when loading mnist dataset, it first convert the ndarray data to tfrecord by "data_to_tfrecord", then get a tfrecord file, when training by keras, using "read_and_decode" to read tfrecord. But in the final example, these two function are discarded, but I also don't find the tfrecord read function in it. This example seems just using tensorflow mnist dataset not keras, it makes me confused.

Yeah, exactly. Just like you, I think I can find the way of combing TFRecord with Keras seamlessly. However there is no reading from TFRecords actually happening.

Okay, Happy Chinese New Year~


Mobile version of nav not working a all in latest release (chrome)

go to: http://materializecss.com/navbar.html
shrink window. the nav items at the top disappear in all the examples,  but no mobile version of it is available. Occurs on my local static html too (with one top nav). worked in prior version of materialize

Not a bug  they have show on medium and down class which goes them on smaller screens

yes, your right. I see it works on your page.
On my page, when I changed  to menu, the menu appears. Not sure why  used to work, now it does not.

The icons have changed in one of the more recent versions.


issue-276: define BOOST_SYSTEM_NO_DEPRECATED

#267: It is fixing build of test binaries.

We have this option from the beginning: https://github.com/yandex/ClickHouse/commit/d605bfdc9daf388be29940710d057d7c359bd56f
Doesn't it works, and if not, do you know why?

Ok, I understand, that it is because it is used in headers.
Please, also remove this option inside contrib/libboost/CMakeLists.txt to avoid duplication.

Ok, thanks!


[type:BUG] DocParameter example IllegalStateException(#5467)

Fixes #5467

Make sure that:

[x] You have read the contribution guidelines.
[x] You submit test cases (unit or integration tests) that back your changes.
[x] Your local test passed ./mvnw clean install -Dmaven.javadoc.skip=true.

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

Project coverage is 60.95%. Comparing base (890e5cc) to head (bef4c66).
Report is 2 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #5470      +/-   ##
============================================
- Coverage     61.04%   60.95%   -0.09%
- Complexity     8667     8690      +23
============================================
  Files          1263     1265       +2
  Lines         38576    38636      +60
  Branches       3685     3688       +3
============================================
+ Hits          23547    23552       +5
- Misses        12912    12962      +50
- Partials       2117     2122       +5

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

pls add my wechat: yijia1949


Collect logos for promoting companies

Part of https://github.com/gratipay/inside.gratipay.com/issues/1160.

[x] fix vertical spacing
[x] store image files in .insert—maybe share code w/ Team.save_image?
[ ] process upload in homepage.py (make sure it's optional)
[x] serve images, I guess at /browse/payments/%uuid/logo?

3a864977d53b3569318494f74621bd83cdf02868

Right! So ... I have this working manually, now working on adding it to the ttw and py tests.

Rebased, was 218eb575bfb65d23950f7d2944dd13da00bb60af.

Rebased, was 45c517fc250d8d586861851bfbf6f8f221be7ea0.

The line ∆ is huge because of fixture changes. :-/

Yay green! @dmk246 started looking at this today but we ran out of time. If anyone else has time before tomorrow, go for it! :D
cc: @JessaWitzel @mattbk @rohitpaulk @kaguillera @dowski et al.

Rebased onto #4671, was 223248d6202345d4f4398de8f529e24394bb1982.

PNG uploading is working for me.
GIF is not uploading (as expected).

Cropping works.

Looks good to me.

Planning to merge per @mattbk's approval.

Merge approval because @mattbk is traveling: slack.

Rebased, was f86b304edd1a10c3b637bde6781e474931f2257a.

Dropping back to $10,000 in 10 days for prelaunch campaign.

If we can't raise $10,000 in 10 days from our biggest fans then we're deluded.


Telemetry: Privacy Policy

@axemclion, @nikhilkh  to review

http://imgur.com/FSDAifF

What it looks like: http://imgur.com/FSDAifF

Thanks, comments addressed.