Html pages don't work

This problem seems to hold for all theorems in the database, below I show an example with bezout.
From https://us.metamath.org/mpeuni/bezout.html
I click structured version on the top right.
This links to http://metamath.tirix.org/bezout.html
Which shows a 404. Some days ago it worked fine, since I showed it as example in the mailing list. So maybe now it doesn't work because of the transition to https instead of http?

Oh, I'm sorry I should have mentioned it.
It's not because of the transition to https instead of http, but sadly because I had to make space on the server.
These html files were generated not with metamath-web, but with metamath-exe, with code from the PR  https://github.com/metamath/metamath-exe/pull/9.
[That PR was providing the capability to generate "structured typesetting" HTML files using metamath-exe, but a major refactoring of metamath-exe's code was started just before I was allowed to merge. I then unfortunately kind of gave up on trying to keep up with the changes done in the main branch.]
Unlike with metamath-web, the files were pre-rendered and stored on the server.
One problem with those files is that they are more than an order of magnitude larger than the normal unicode version, because every formula is expanded in SVG (it was a request at that time that there is no waiting time until the MathML is rendered, so I pre-rendered server-side all formulas).
The result is that the directory took up 12Gb of space on the server, and there was simply no space left for compiling and running metamath-web.
The simplest way to fix this would be to have the "structured version" links link to the new version (just adding mpeuni in the URL), rather than the previous version.
If the page layout is an issue, I could probably find a way to revert the templates in metamath-web to the original tables, fonts, and colors.
Otherwise I would need to upgrade the server behind metamath.tirix.org...
Of course ideally (in my point of view) the PR would be merged, that is, the functionality would be added to metamath-exe, and everything would be rendered on the official server - but that only shifts the space problem to someone else :-)

Now that the old STS pages have been replaced, and considering that https://github.com/metamath/metamath-exe/pull/9 will probably not be merged, what's your direction for the future? These are the scenarios that came up in my mind:

Give up on the old pages and focus metamath-web.

Integrate some features of the old STS pages in metamath-web, such as the ability to collapse/expand proofs or display axiom dependencies and list of uses.

Reworking the old STS pages without metamath-exe and merging them in the official website. There would still be the problem of 12GB of space. Would the new 400x faster generation eliminate the need to pre-render pages?

If the page layout is an issue, I could probably find a way to revert the templates in metamath-web to the original tables, fonts, and colors.

I think the layouts of both metamath-web and the STS pages are aesthetically pleasing, so I personally don't have strong opinions on that.

Thanks to https://github.com/metamath/set.mm/pull/3611, I could update the pages to the latest version of set.mm.
I've setup a cron to launch this update every day, I'll check that it works correctly tomorrow.

Thanks to https://github.com/metamath/set.mm/pull/3611, I could update the pages to the latest version of set.mm.
I've setup a cron to launch this update every day, I'll check that it works correctly tomorrow.

Nice! I think once it's confirmed that it's working properly, this issue can be closed.

It looks good on my end, the script was run every day and the latest set.mm was pulled and is displayed.
There is a downtime of a few seconds for parsing the database, so I think I could even update a few times a day without this downtime being much noticeable.

There is a downtime of a few seconds for parsing the database, so I think I could even update a few times a day without this downtime being much noticeable.

Once a day or a few times a day are both fine for me, feel free to do what you think it's best.


fix: error throwing when apply patch to empty string

This is related to issue https://github.com/kpdecker/jsdiff/issues/77
if previsousOperation doesn't exists, just continue.
also add two more test about this.

Thanks!

Released in 2.1.3

:+1: :+1:


Refactor dataset download into the tool

It should be possible to download some example datasets from within the loglead package.

I guess you mean this file that is outside pip put in tests folder
https://github.com/EvoTestOps/LogLead/blob/main/tests/download_data.py


[Get started]: WSL install instructions

Suggested by @gavinbarron https://github.com/microsoftgraph/msgraph-developer-proxy/issues/71#issuecomment-1349707497
We currently provide install instructions for Windows and macOS in the Get started section.
We should also provide instructions for WSL (Windows Subsystem for Linux).

Am curious about the WSL implementation. I would love to have this in WSL because that is where I do 90%+ of my development. I installed the proxy on my host Windows OS and that is successfully intercepting traffic from solutions running in Linux (as well as Windows.)  I get a message that I need to restart WSL each time I turn the Windows proxy on/off. If I install and run the proxy in WSL, it says I need to configure my OS.

Thanks for the feedback @DonKirkham, I had noticed the WSL message when running the proxy in Visual Studio, I suspect that this is a Windows thing telling you that your network settings have changed and so not sure what we can do about that from the proxy side, but it's great to hear that it works OOTB with WSL when running proxy on the Windows OS.
When running the proxy in WSL, you need to configure the proxy manually in the same way that macOS users currently have to so (see https://github.com/microsoft/m365-developer-proxy/wiki/Using-the-proxy-for-the-first-time#1-start-the-proxy) so the message you are seeing is expected behaviour.

It sounds like an OS-thing, rather than a proxy-thing that we could control. We've got two options: use the proxy on the host, with the caveat that you need to restart WSL or run it inside WSL and configure like on macOS. It would be good to document the two options in our manual.


No Attachments

Hi,
After using this, attachments are not sending via mail. However, in the vanilla flavor of laravel mail, it is.

Hi, sorry for this long delay. Were you able to figure out attachments?


Edit > Transformations menu on Mac

Issue Type: Feature Request
On the Mac it'd be good if the Edit > Transformations menu was available when editing a query.  That is how I (and I am guessing a lot of other Mac users) expect to Make Upper/Lowercase whilst text editing.  I know it's available in the command pallete, but I think the Standard Mac way should exist as well if it's a simple job to hook up.
Azure Data Studio version: azuredatastudio 1.16.1 (16801c522df68e63218b39ccb5b4a7431f9bf667, 2020-03-23T22:06:16.901Z)
OS version: Darwin x64 19.4.0

For the core editing behaviors we typically follow the UX established by vscode team.  Ideally this change would be made their and we would pick it up from them in a subsequent source code refresh.


Fix typo

Devops -> DevOps

@changeworld - in this case 'Devops' is correct as is. The destination site spells it that way .  Only use 'DevOps' as part of 'Azure DevOps Services' or 'Azure DevOps Server'


Invoke-RestMethod: No connection could be made because the target machine actively refused it.

https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/invoke-restmethod?view=powershell-7.1
Invoke-RestMethod -Uri https://blogs.msdn.microsoft.com/powershell/feed/
Invoke-RestMethod: No connection could be made because the target machine actively refused it.
pwsh.exe Invoke-RestMethod always fails. but powershell.exe works.

It works in my environment.
 $ (Invoke-RestMethod -Uri https://blogs.msdn.microsoft.com/powershell/feed/).Title
Optimizing your $Profile
Announcing the preview of PSArm
SecretManagement and SecretStore are Generally Available
SecretStore Release Candidate 3
Updating help for the PSReadLine module in Windows PowerShell 5.1
Announcing PSReadLine 2.2-beta.2 with Dynamic help
SecretManagement and SecretStore Release Candidate 2
PowerShell Team 2021 Investments
PowerShell for Visual Studio Code Updates – February 2021
Announcing PowerShell Community Blog

$  $Host.Version.ToString(); $IsLinux
7.1.3
True

It works for me too, and I'm running on Windows
PS:91> Invoke-RestMethod -Uri https://blogs.msdn.microsoft.com/powershell/feed/

title       : Optimizing your $Profile
link        : https://devblogs.microsoft.com/powershell/optimizing-your-profile/
comments    : {https://devblogs.microsoft.com/powershell/optimizing-your-profile/#comments, 6}
creator     : creator
pubDate     : Tue, 06 Apr 2021 18:55:09 +0000
category    : category
guid        : guid
description : description
encoded     : encoded
commentRss  : https://devblogs.microsoft.com/powershell/optimizing-your-profile/feed/
...

@HppZ Since we cannot reproduce the issue, I will close the issue for now.

I faced the same issue, in my case was environmet variable called 'HTTP_PROXY'. You can solve that removing this key or passing a -NoProxy parameter.


If you switch to another widget while dragging PageController on UIKitView, PageController will not work.

Steps to Reproduce
Correspondence in translation. Sorry if it is poorly done.

Sample app for reproducing this issue:
(source: https://github.com/KojiHonjoh/Verification/blob/master/flutter_app_page_controller/lib/main.dart#L92 )

Build and execute the app.
Transition to the second page of PageController.
Drag gradually to the right until the second page widget changes to the red background.
Stop dragging after the switch to the red background

Expected results: paging will be done automatically.
Actual results: no paging will take place and the buttons on PageController will not work.
Check in iOS 14.1
Reproduce only in UIKitView and not in AndroidView.
It also doesn't happen if you switch pages with a button or if you switch from one UIKitView to another while dragging a regular widget.

Logs
No logs are output during reproducing this issue...
flutter doctor -v
[✓] Flutter (Channel stable, 1.22.4, on Mac OS X 10.15.7 19H2 darwin-x64, locale ja-JP)
    • Flutter version 1.22.4 at /Users/honjo/flutter
    • Framework revision 1aafb3a8b9 (2 weeks ago), 2020-11-13 09:59:28 -0800
    • Engine revision 2c956a31c0
    • Dart version 2.10.4

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/honjo/Library/Android/sdk
    • Platform android-30, build-tools 29.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_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.6)
    • Xcode at /Applications/Xcode11.6.app/Contents/Developer
    • Xcode 11.6, Build version 11E708
    • CocoaPods version 1.10.0

[✓] Android Studio (version 3.5)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 44.0.1
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

• No issues found!

@KojiHonjoh
Tried your code sample on iOS simulator (14.0) in master and latest stable and didn't see the issue you mentioned. I was able to drag back and forth properly.
71444.mov.zip

flutter doctor -v

[✓] Flutter (Channel master, 1.24.0-8.0.pre.374, on Mac OS X 10.15.4 19E2269
    darwin-x64, locale en-IN)
    • Flutter version 1.24.0-8.0.pre.374 at
      /Users/dhs/documents/Fluttersdk/flutter
    • Framework revision 183f0e797a (5 days ago), 2020-11-26 19:12:28 +0100
    • Engine revision 20caf54969
    • Dart version 2.12.0 (build 2.12.0-76.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
    • Android SDK at /Users/dhs/Library/Android/sdk
    • Platform android-30, build-tools 30.0.0
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.0.1, Build version 12A7300
    • CocoaPods version 1.9.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 46.0.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

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

[✓] Connected device (5 available)
    • sdk gphone x86 arm (mobile)         • emulator-5554
      • android-x86    • Android 11 (API 30) (emulator)
    • iPhone SE (2nd generation) (mobile) • 6C85835D-FBFD-4AB3-8DE8-B4FAD35E5367
      • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-0 (simulator)
    • macOS (desktop)                     • macos
      • darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Web Server (web)                    • web-server
      • web-javascript • Flutter Tools
    • Chrome (web)                        • chrome
      • web-javascript • Google Chrome 87.0.4280.67

• No issues found!

[✓] Flutter (Channel stable, 1.22.4, on Mac OS X 10.15.4 19E2269 darwin-x64,
    locale en-IN)
    • Flutter version 1.22.4 at /Users/dhs/documents/Fluttersdk/flutter
    • Framework revision 1aafb3a8b9 (3 weeks ago), 2020-11-13 09:59:28 -0800
    • Engine revision 2c956a31c0
    • Dart version 2.10.4

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
    • Android SDK at /Users/dhs/Library/Android/sdk
    • Platform android-30, build-tools 30.0.0
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.0.1, Build version 12A7300
    • CocoaPods version 1.9.3

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 46.0.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

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

[✓] Connected device (2 available)
    • sdk gphone x86 arm (mobile)         • emulator-5554
      • android-x86 • Android 11 (API 30) (emulator)
    • iPhone SE (2nd generation) (mobile) • 6C85835D-FBFD-4AB3-8DE8-B4FAD35E5367
      • ios         • com.apple.CoreSimulator.SimRuntime.iOS-14-0 (simulator)

• No issues found!

Are you seeing this specific to iOS 14.1 ? Can you try on anyother iOS device / simulator and see if issue persists ?

@darshankawar
Thanks for the confirmation.
It looks like we are not able to run the Sample app correctly.
The capture you submitted does not show the UIKitView.
The problem occurs while dragging on the UIKitView.
The UIKitView has a green background.
class UIKitView: NSObject, FlutterPlatformView {
  let _view = UIView()

  init(frame: CGRect) {
    super.init()
    _view.frame = frame
    _view.backgroundColor = .green
  }

  func view() -> UIView {
    return _view
  }
}

I'm sorry if it's an oversight, but could you please run flutter pub upgrade and then check again?

download Sample Project
flutter pub upgrade
confirm reproduction

iPhone8/simulator/OS 13.1
iPhoneSE 2ndGen/simulator/OS 14.2
iPhone12 mini/Device/OS 14.1
All have not been resolved.

Verified and issue replicable on latest stable.
71444.mov 2.zip

flutter doctor -v

[✓] Flutter (Channel stable, 1.22.4, on Mac OS X 10.15.4 19E2269 darwin-x64,
    locale en-IN)
    • Flutter version 1.22.4 at /Users/dhs/documents/Fluttersdk/flutter
    • Framework revision 1aafb3a8b9 (3 weeks ago), 2020-11-13 09:59:28 -0800
    • Engine revision 2c956a31c0
    • Dart version 2.10.4

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
    • Android SDK at /Users/dhs/Library/Android/sdk
    • Platform android-30, build-tools 30.0.0
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.0.1, Build version 12A7300
    • CocoaPods version 1.9.3

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 46.0.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

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

[✓] Connected device (2 available)
    • sdk gphone x86 arm (mobile)         • emulator-5554
      • android-x86 • Android 11 (API 30) (emulator)
    • iPhone SE (2nd generation) (mobile) • 6C85835D-FBFD-4AB3-8DE8-B4FAD35E5367
      • ios         • com.apple.CoreSimulator.SimRuntime.iOS-14-0 (simulator)

• No issues found!

Hi @KojiHonjoh, I verified on the latest master channel and I am unable to reproduce the issue. I believe this issue has been fixed. Closing this issue, Incase you still encounter the issue feel free to comment on this issue and we will reopen it.
https://user-images.githubusercontent.com/31410839/205222245-3fc36522-fad3-4aed-94e1-9753ac5d4608.mov

flutter doctor -v (mac)
[✓] Flutter (Channel master, 3.6.0-6.0.pre.33, on macOS 12.6 21G115 darwin-arm64,
    locale en-IN)
    • Flutter version 3.6.0-6.0.pre.33 on channel master at
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision a9858ec524 (72 minutes ago), 2022-11-21 10:58:11 -0500
    • Engine revision 46a6b54295
    • Dart version 2.19.0 (build 2.19.0-406.0.dev)
    • DevTools version 2.19.0
    • If those were intentional, you can disregard the above warnings; however it is
      recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc4)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0-rc4
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14A400
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 61.2.4
    • Dart plugin version 212.5080.8

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

[✓] Connected device (3 available)
    • iPhone 12 Pro (mobile) • 026D5789-9E78-4AD5-B1B2-3F8D4E7F65E4 • ios
      • com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64
      • macOS 12.6 21G115 darwin-arm64
    • Chrome (web)           • chrome                               • web-javascript
      • Google Chrome 107.0.5304.110

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

[✓] Flutter (Channel stable, 3.3.9, on macOS 12.6 21G115 darwin-arm, locale en-IN)
    • Flutter version 3.3.9 on channel stable at /Users/mahesh/Development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b8f7f1f986 (24 hours ago), 2022-11-23 06:43:51 +0900
    • Engine revision 8f2221fbef
    • Dart version 2.18.5
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc4)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0-rc4
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14A400
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 61.2.4
    • Dart plugin version 212.5080.8

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

[✓] Connected device (3 available)
    • iPhone 12 Pro (mobile) • 026D5789-9E78-4AD5-B1B2-3F8D4E7F65E4 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 12.6 21G115 darwin-arm
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 107.0.5304.110

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Thank you.


nevent links are broken

A user of yana has included this link in their note:
nostr:nevent1qqswrqr63ddwk8l3zfqrgdxh2lxh2jlcxl36k3h33g25gtchzchx8agpp4mhxue69uhkummn9ekx7mqpz3mhxue69uhhyetvv9ujuerpd46hxtnfduq3yamnwvaz7tm0venxx6rpd9hzuur4vgpyqdmyxs6rzdmyx4jxvdpnx4snjdmz8pnr2dtr8pnryefhv5ex2e34xvek2v3nxuckxef4v5ckxenxvs6njdtrxymnjcfnv4skvvekvs6qfe99uy
This link's 'author' field is not 32 binary bytes of a pubkey, but 64 bytes (presumably of the hex-encoded pubkey).
I've updated my client to tolerate this, but I thought you might want to fix it.

Thanks mike for reporting, fix is in 0.14.2 release


docs: add architecture overview diagram

Tried to draw an overview of the Elemental architecture.
While it is incomplete and not that great it may be of some use in following the architecture description.
Made with excalidraw, added the source file for easier modifications.

awesome, love the fonts, seems much nicer than the usual diagrams!
The only issue I can see is that there are no numbers, so its a bit confusing what comes first and second, i.e. the workflow, which is what thisis trying to represent no? Are we gonna add numbers and then explain in the docs the workflow associated with those number or is this a big picture diagram in which we only show the pieces and interaction and dont go deeper?

On hold: let's first migrate to docusaurus, then will rework the PR on that.

docs have been migrated to rancher/elemental-docs.
The text changed in this PR has been already added in current docs.
The architecture diagram will be worked on in https://github.com/rancher/elemental-docs/pull/37.


element-{desktop,web}: 1.11.36 -> 1.11.37

Description of changes

https://github.com/vector-im/element-desktop/releases/tag/v1.11.37
https://github.com/vector-im/element-web/releases/tag/v1.11.37

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 246606 run on x86_64-linux 1

3 packages built:

element-desktop
element-desktop-wayland
element-web (element-web-unwrapped)

desktop in xorg working as expected!


[9.x] Add auto discovery controller to API Resource Routes

This PR allows users to add the API Resource Routes inside the Controller Route Groups without adding the controller.
E.g.
Route::controller(GoalsController::class)->group(function () {
    Route::apiResource('/goals')->only('index');
});

This is usefull when you want to add a different route name for an api resource method, but keeping inside the controller group.
Tests added

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


Add "max 5 commits in PR" to GH actions

What does this PR do?
Adds workflow item that counts the number of commits in the current branch, if it is > 5 compared to master, the build will fail.
This is to ensure users squash their commits and we won't break our source syncs accidentally.
I verified this by adding 6 commits to this PR and it indeed fails.
Currently this PR contains 3 commits, and the output is:
+ diff=4
+ ((  4 > 6 ))

As I add in a comment in the build file, the diff is one too big, so this check is correct.

I wonder if there's a nice guide online we can link to, that showcases git rebase -i

Yes I was thinking the same, I've added a subsection to contributing.md and linked to it in the error message.

Actually I'm not sure this is correct -- if commit-count was merged off of a older version of master (which is quite likely) then $((eval-base)) will be smaller than it should be.
Maybe something like git rev-list origin/master...commit-count works?

Fixed it.

I'd also like a review from @froystig and @jakevdp as they may want to incorporate this into JAX as well. (and then curious to see if we should share a single rebase tutorial, and if so, where)

I'd also like a review from @froystig and @jakevdp as they may want to incorporate this into JAX as well. (and then curious to see if we should share a single rebase tutorial, and if so, where)

Yes I was planning to discuss this during our next sync, but doing the discussion here makes sense as well!

I added some comments. The doc looks GTM.

I like this idea – we'll probably adapt the same check and language for JAX. On the question of combining developer docs: that seems like it would be a win, although there are some repo-specific differences in our workflows (e.g. JAX doesn't use codecov because we need multiple runs to cover X32 & X64 code paths, so the coverage number from a single run is not particularly accurate).

@marcvanzee @avital - just curious what's up with this PR - is there a reason we never merged it?

Oops, totally forgot about this one, I'll take a look at it this week. Thanks for reminding me @levskaya!

@avital I finally took a look at this PR again, PTAL!

Assuming you've tested this, it LGTM! (But just to make sure, did you test the following:

Check out an old version of main locally
branch off of that local (old) version of main
Add 4 commits, make a PR, see if it passes
Add 2 more commits, make a PR, see that it fails.

That is -- I see that you force pushed this change: "marcvanzee force-pushed the max-commits branch from [9b950c4 ]", so I'm not sure you tested the common case where people fork from an old version. (which is what my comment above was about)

Assuming you've tested this, it LGTM! (But just to make sure, did you test the following:

Check out an old version of main locally
branch off of that local (old) version of main
Add 4 commits, make a PR, see if it passes
Add 2 more commits, make a PR, see that it fails.

That is -- I see that you force pushed this change: "marcvanzee force-pushed the max-commits branch from [9b950c4 ]", so I'm not sure you tested the common case where people fork from an old version. (which is what my comment above was about)

I'm not sure if you noticed, but I did actually implement the change you suggested in your comment!
I tested it as you suggested here https://github.com/google/flax/pull/1973, and indeed it works. Up to 5 commits passes but after that it starts failing: https://github.com/google/flax/runs/5468078293?check_suite_focus=true


Swap Bintray URLs with GitHub URLs

Bintray is discontinued as of 1 May 2021. I updated the release scripts and documentation accordingly.
Resolves #1434

Should GitHub be the main repository and sourceforge the alternate one?

Perhaps it is still possible to access the data from account controls for migration purposes? I don’t have access to Bintray, so I cannot check.

Alas, everything is gone, without any prior email warning…
I can only upload from my local archives the dSYMs for versions 3.6.0 onward.


TypeReferenceRefactor does not properly handle fully qualified names in Javadoc links

A TypeReferenceRefactor from org.alfasoftware.astra.exampleTypes.A to org.alfasoftware.astra.exampleTypes.B should update all references. Currently, only simple type name references in Javadoc @link tags are updated. It should also cover fully qualified references, as in this example:

Before
After

/**
 * {@link org.alfasoftware.astra.exampleTypes.A}
 */
public class Example {
}

/**
 * {@link org.alfasoftware.astra.exampleTypes.B}
 */
public class Example {
}

A fully qualified import like this should be added to TypeReferenceExample and TypeReferenceExampleAfter, the examples used for TestTypeReferenceRefactor#testChangeTypes.
It's likely that there is a mistake in the TypeReferenceRefactor at around line 117, debugging at this point while running the test will likely show why we don't reach this block.

link in issue leads to line 177, not 117 which is an empty line. Will assume this refers to line 177.

Fixed by @10wonga in #57.


Add postcss-color-short

Add postcss-color-short to plugin list

Just switched to postcss-plugins which already includes postcss-color-short.
Thanks for the PR though, very much appreciated!

Cool, thanks


[FR] [default: ] vs. (default: )

What's the problem this feature will solve?
Is there a reason why the command line help text sometimes displays default values of user options inside brackets [] (13 occurrences):
https://github.com/pypa/setuptools/blob/8aa9855fcdb605f216d3fb868e41b4aaea0a8f3b/setuptools/_distutils/text_file.py#L59
and sometimes inside parentheses () (10 occurrences):
https://github.com/pypa/setuptools/blob/8aa9855fcdb605f216d3fb868e41b4aaea0a8f3b/setuptools/_distutils/command/clean.py#L17
Describe the solution you'd like
How about standardizing the help text syntax?
Alternative Solutions
No response
Additional context
See also:

https://github.com/pypa/wheel/issues/616
https://github.com/pypa/distutils/issues/251

Code of Conduct

[X] I agree to follow the PSF Code of Conduct

I don't think there is a particular reason for that. These things tend to happen if we don't have a tool that automatically enforces one option.
Also having the code maintained in different repositories helps with the problem.
I believe that in the future the development of bdist_wheel will be done in the setuptools repository. But it is very likely that pypa/distutils will be kept separated (at least until the oldest Python supported is 3.12).


Add checks for MISRA C:2012

Start point:
https://cppcheck.sourceforge.io/misra.php

Added check for MISRA. Now we need to resolve and suppress what is needed :grin:


Display traits for NFTs (ERC721 and ERC1155) retrieved from OpenSea #3741

Closes #3741

@oa-s this good for review?

@oa-s this good for review?

not yet

Sometimes an empty "Attributes" header show up. Could we remove those when it's empty? :

Looks good. But still seeing "Attributes" appearing with no attribute pairs for "The Holy Fool 172" (screenshot in earlier comment). Can we fix that?
Merge when you are ready

thanks a lot, missed to update it for erc1155


Make test custom roles expire from system.

Codecov Report

Merging #234 into develop will increase coverage by 0.02%.
The diff coverage is 100%.

@@              Coverage Diff              @@
##             develop     #234      +/-   ##
=============================================
+ Coverage      88.46%   88.48%   +0.02%
- Complexity      1899     1904       +5
=============================================
  Files            118      118
  Lines           6786     6799      +13
  Branches        1078     1081       +3
=============================================
+ Hits            6003     6016      +13
  Misses           718      718
  Partials          65       65


Reconcile v3 -> v4 branches

The v3 branch (currently main) and v4 branches diverged, where features were added to v3 and not to v4 and vice versa. However, simply cherry-picking feature and fix commits across to v4 is not feasible because of v4 breaking changes. A previous PR attempted to fix this by rebasing all of v4 onto v3 and resolving conflicts, however this introduced a huge number of new commits owing to re-committing all previous commits.
This branch was constructed by cherry-picking non-duplicate v4 branch commits, cleaning up as needed. The result is that this branch should become the canonical v4 branch, where all features work in both SDK v3/v4 versions.
Note that this branch should not be merged to main until it is decided to drop support of v3.

Nice!

Since the number of customers left on v3 is 2, we can probably reach out to each of them individually and notify them of this change, then merge the branch. What do you think @magicwave ?

Since the number of customers left on v3 is 2, we can probably reach out to each of them individually and notify them of this change, then merge the branch. They would need to change their dependency target in their iOS app to the v3 branch or v3 < 4.0.0 in their Package.resolved. What do you think @magicwave ?

Let me try the v3 package setting. I think I remember having trouble getting it to resolve when I first started digging into it. AFIK, only Alaska is still on v3 due to the New Relic/PLCrashReporter issue. If a tagged commit doesn't work for v3 we should probably be able to create a tag on a known working v3 commit and let that be the official v3 support.

Great!

Sounds like we can merge this if we reach out to alaska and let them know, right?

Closed in favor of v4.4.0 branch merged to main


Info on AWS market share + growth

Summarize this chart (ideally do a clearer graphic) and cite.
https://www.srgresearch.com/articles/aws-remains-dominant-despite-microsoft-and-google-growth-surges

This is the most common source I've seen. Any other sources?

I can take this on. Have all stats


I want that the Snap Layouts in Fancyzone "acts as a screen"

Description of the new feature / enhancement
I use the Snap Layout to divide my desktop into 4 parts.  In one part I have an Excel-sheet running.  But when I get context menus, Excel exceeds the boundaries of the Snap Layouts, the context menu goes from one part also to another part of my screen.
As an excel teacher, I have to record lessons for my students. So I only capture one part of my desktop, the one with the excel sheet in it.
I want that the context menus stay in the "own application window/part"
I've tried several things, also installing PowerToys and tested "Fancyzones", but it has the same behaviour.

Scenario when this would be used?
To define a screen area to record that part of the screen to create lesson movies
Supporting information
NA

This proprietary software might help you with this in the mean time
https://www.ishadow.com/product/vdm/


cdf2pdf helper function

Often I must convert continuous density functions to probability density functions. While it is not too hard to code this up, it would be convenient to have this function in scipy. stats.py seemed like the right place to put this, but I am open to suggestions. If there is interest, I can add documentation changes and error checking to this PR.

This is not specific to stats, it's just a way of doing central differences approximation to a derivative with one-sided estimates at the edge points.
I can see how this can be useful as a part of a project sets of utility functions, maybe a personal toolbox. However I don't believe this is worth having as a library function really.


502s (again)

probably related https://github.com/robinuniverse/TwitFix/issues/30
Clicking a fxtwitter link results in a 502, embeds are working properly though

Twitter seems to have revoked my API access. Trying my best to see if it's salvagable.


Missing gettxoutproof

Would be nice to support this rpc command

This issue was moved to btcsuite/btcd#1002


feat: add need_reload flags to model constructors

This PR adds possibility to set need_reload flags in model constructors.

I know it's just a flag settings but I wonder if we can add some basic integration test to verify amount of reloads here


Fix/issue 23: Decimal condition assignment weights allowed with a checkbox to assign equal weights to all conditions

Below is the screenshot for the UI change:

Experiment need to be added again.

@mfugate1 this PR is going to make a DB schema change (condition weight type from int to float)
We are not merging it now as we have not tested the data migration piece. This commit is modifying the type of an existing column, rather than adding a new column. @VivekFitkariwala do you know how the existing migration script will behave in this case? Maybe all of the ints get cast as floats...

@msandbothe can we merge this one?

@nirmalpatel or another Playpower dev Can you give a comment on whether we can or cannot merge this? It's unclear whether this change will function properly with migration.

@msandbothe We shouldn't merge this PR as of now due NOT NULL constraint on the field and migration would generate NULL values. We can merge it when we deploy fresh DB on production.


Why the session is flushed after modification ?

Hello  when I develop and make a change in my project webpack updates the bundles and my express session is flushed, do you how I can make it persist after modifiying my files? Thanks
Here is the code in api.js where I use the session middleware :
app.use(session({
  secret: 'react and redux rule!!!!',
  resave: true,
  saveUninitialized: false,
  cookie: { maxAge: 600000000 }
}));

Oh I think I need to use another session store to make it persistent, like mysql or cookie.

Finally yes I was using express-session which stores in the memory, now I use cookie-session and my session persists :)


Add draft HTML and dropdown menu to page 1

Adding code here in case push request didn't work:

Dropdown

Link 1
Link 2
Link 3


Update EdgeInvocation.java

remove unnecessary semicolon

Coverage decreased (-0.007%) to 86.439% when pulling 6a1f67d9460df0ae79fb8701add6cc4477cd1f18 on zengweiming420:patch-1 into 4642127f98301a9f758ce5e9b6617624c15d24b0 on ServiceComb:master.

Thanks for this good catch :)


Del xcode xcuserdatad, add set iOS team to none and add xcuserdata/ to gitignore

Description
Make this project more teamable.
Motivation and Context
Let us work happy.
How Has This Been Tested?
Yes.
Checklist:

Did you complete the CLA?  I don't have a record of it being submitted.  Also, in the future, please do not edit the .swift-version file.  It's part of our CI build system and expects a specific format...  Thanks for the PR.

@billabt I saw CLA just now.

please do not edit the .swift-version file

ok.

This PR was closed due to lack of a signed CLA. If you wish to reopen it, please forward a signed CLA when reopening. Thanks.

ok


Added C# and Visual Basic project system packages

We need to start to refer to localized strings in the project factory registeration which requires a package.

tag @dotnet/roslyn-analysis


Allow downloading Apple silicon Mac builds

The inverse of #1289, enabling actual Macs to download actual (future) binaries enabled by #1339

3.26.0 has been released with an experimental darwin/arm64 binary, and I tested this script on an m1 macbook air.
Installing Version: v3.26.0
Destination: /Users/jh/.buildkite-agent
Downloading https://github.com/buildkite/agent/releases/download/v3.26.0/buildkite-agent-darwin-arm64-3.26.0.tar.gz

A default buildkite-agent.cfg has been created for you in /Users/jh/.buildkite-agent

Successfully installed to /Users/jh/.buildkite-agent

You can now start the agent!

  /Users/jh/.buildkite-agent/bin/buildkite-agent start

For docs, help and support:

  https://buildkite.com/docs/agent/v3

Happy building! <3

jh@Jamess-Air Downloads % /Users/jh/.buildkite-agent/bin/buildkite-agent start

   _           _ _     _ _    _ _                                _
  | |         (_) |   | | |  (_) |                              | |
  | |__  _   _ _| | __| | | ___| |_ ___    __ _  __ _  ___ _ __ | |_
  | '_ \| | | | | |/ _` | |/ / | __/ _ \  / _` |/ _` |/ _ \ '_ \| __|
  | |_) | |_| | | | (_| |   <| | ||  __/ | (_| | (_| |  __/ | | | |_
  |_.__/ \__,_|_|_|\__,_|_|\_\_|\__\___|  \__,_|\__, |\___|_| |_|\__|
                                                 __/ |
 https://buildkite.com/agent                    |___/

2020-12-03 17:01:37 NOTICE Starting buildkite-agent v3.26.0 with PID: 3559
2020-12-03 17:01:37 NOTICE The agent source code can be found here: https://github.com/buildkite/agent/v3
2020-12-03 17:01:37 NOTICE For questions and support, email us at<EMAIL_ADDRESS>2020-12-03 17:01:37 INFO   Configuration loaded path=$HOME/.buildkite-agent/buildkite-agent.cfg
2020-12-03 17:01:37 INFO   Registering agent with Buildkite...
2020-12-03 17:01:38 INFO   Successfully registered agent "Jamess-Air.localdomain-1" with tags []
2020-12-03 17:01:38 INFO   Starting 1 Agent(s)
2020-12-03 17:01:38 INFO   You can press Ctrl-C to stop the agents
2020-12-03 17:01:38 INFO   Jamess-Air.localdomain-1 Connecting to Buildkite...
2020-12-03 17:01:39 INFO   Jamess-Air.localdomain-1 Waiting for work...

It registered with a user agent like this:

Nice!!!


Output mismatch in convolution layer with version 0.14

Environment
lscpu:
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                4
On-line CPU(s) list:   0-3
Thread(s) per core:    1
Core(s) per socket:    1
Socket(s):             4
NUMA node(s):          1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 85
Model name:            Intel(R) Xeon(R) Gold 6140 CPU @ 2.30GHz
Stepping:              4
CPU MHz:               2299.998
BogoMIPS:              4599.99
Virtualization:        VT-x
Hypervisor vendor:     KVM
Virtualization type:   full
L1d cache:             32K
L1i cache:             32K
L2 cache:              4096K
L3 cache:              16384K
NUMA node0 CPU(s):     0-3
Flags:                 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch tpr_shadow vnmi flexpriority ept fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx avx512f rdseed adx smap avx512cd xsaveopt xsavec xgetbv1 xsaves arat
uname -a:
Linux hari 4.9.0-4-amd64 #1 SMP Debian 4.9.65-3tmwu1 (2018-07-12) x86_64 GNU/Linux
gcc --version:
gcc (Debian 6.3.0-18) 6.3.0 20170516
Problem Description
I have implemented the convolution layer using MKLDNN version 0.14. I have observed incorrect outputs in the machine with above configuration. Same implementation gives correct results with MKLDNN version 0.18.
Could you please let me know, why MKLDNN with version 0.14 produces the wrong results (or) any fix in the version 0.18 had resolved this issue ?
Reproduction steps
I have attached the stand alone convolution layer setup to reproduce this issue in version 0.14 with above mentioned machine configuration for your reference.
Thanks,
Hari

The issue for the shape in question is reproducible with benchdnn in v0.14, so I can confirm that this is a bug.
MKLDNN_VERBOSE=1 ./benchdnn mb1_g1ic3oc32_ih224oh112kh3sh2dh0ph0_iw224ow112kw3sw2dw0pw0
mkldnn_verbose,exec,reorder,simple:any,undef,in:f32_nchw out:f32_nchw,num:1,1x3x224x224,1.60205
mkldnn_verbose,exec,reorder,jit:uni,undef,in:f32_goihw out:f32_gOhwi16o,num:1,1x32x3x3x3,0.463867
mkldnn_verbose,exec,reorder,jit:uni,undef,in:f32_nchw out:f32_nChw16c,num:1,1x32x112x112,1.47998
mkldnn_verbose,exec,reorder,simple:any,undef,in:f32_x out:f32_x,num:1,32,0.484131
mkldnn_verbose,exec,convolution,jit:avx512_common,forward_inference,fsrc:nchw fwei:gOhwi16o fbia:x fdst:nChw16c,alg:convolution_direct,mb1_g1ic3oc32_ih224oh112kh3sh2dh0ph0_iw224ow112kw3sw2dw0pw0,0.229004
mkldnn_verbose,exec,reorder,jit:uni,undef,in:f32_nChw16c out:f32_nchw,num:1,1x32x112x112,0.943848
mkldnn_verbose,exec,reorder,jit:uni,undef,in:f32_nChw16c out:f32_nchw,num:1,1x32x112x112,0.127197
[  84][DST][0,0,0,0,0,84] fp:   -1307 fp0:   -1307 dt:       0 diff:    1307 rdiff:       1
[  85][DST][0,0,0,0,0,85] fp:    2932 fp0:    2932 dt:       0 diff:    2932 rdiff:       1
[  86][DST][0,0,0,0,0,86] fp:   -2153 fp0:   -2153 dt:     -56 diff:    2097 rdiff: 0.97399
[  87][DST][0,0,0,0,0,87] fp:    -982 fp0:    -982 dt:     -39 diff:     943 rdiff:0.960285
[  88][DST][0,0,0,0,0,88] fp:    -122 fp0:    -122 dt:     -22 diff:     100 rdiff:0.819672
[  89][DST][0,0,0,0,0,89] fp:   -4734 fp0:   -4734 dt:       0 diff:    4734 rdiff:       1
[  90][DST][0,0,0,0,0,90] fp:    4012 fp0:    4012 dt:       0 diff:    4012 rdiff:       1
[  91][DST][0,0,0,0,0,91] fp:     885 fp0:     885 dt:       0 diff:     885 rdiff:       1
[  92][DST][0,0,0,0,0,92] fp:     965 fp0:     965 dt:       0 diff:     965 rdiff:       1
@@@ [DST] final: diff: l0(``941``) l1:(7.62781e+08,5.72471e+08,1.92965e+08,``0.252975``) l2:(1.55931e+06,1.34898e+06,780410,``0.500483``) l8:(8933,8933,8982,``1.00549``)
@@@ error [int conv::doit(const conv::prb_t*, res_t*):568]: 'compare_dst(p, dst, dst_fp, r, true)' -> 1
0:FAILED (errors:103117 total:401408) __REPRO: mb1ic3ih224oc32oh112kh3sh2n"wip"
tests:1 passed:0 skipped:0 mistrusted:0 unimplemented:0 failed:1

Pinpointing when it was fixed exactly is not a trivial task, as there's almost a year of development between v0.14 and v0.18. Is there a reason why you cannot update the library version to the latest one?

The issue is in v0.15 and is resolved in v0.16. Looking at the change log I see a bunch of bug fixes related to Intel AVX512 convolution implementation, so it is addressed by one of these.

Closing due to the lack of activity. Feel free to reopen with additional information.

Thanks for your response @vpirogov. Previously we have created an application that uses v0.14. We can migrate mkldnn version to the v0.18 to make it work.


[Feature request] Reports duration show in hours and minutes

In the reports tab, duration is rounded to whole hours
When a stop or trip duration is longer than 30-45 minutes its rounded to 1 hour, or when its in between hours its always rounded.
Keep minutes after the hour
Don't round to whole hours but instead show 5 hours and 40 minutes for example.

It's already done in https://github.com/traccar/traccar-web/commit/32302e6bc54a65b9594d4cde4ff4c8983f97dacc.

OW wow, AMAzING

Thans alot!
Sorry did not notice it!


React Wiki - TypeError: EngineClass is not a constructor

Description
I am following the React Wiki @ vidoejs-record/wiki/React and was able to compile and run on localhost:3000 to test. When clicking on the record button an error is thrown. I tried running with prior versions of videojs-record (2.3.0 and 2.3.1) but the same error was output.
This is related to Issue 249.
Steps to reproduce
Follow all the steps in the React Wiki (link above), execute npm start, go to localhost:3000, and click on the record button. The only step I modified I modified (per the instructions) the index.html file in the 'public' directory. NOTE: The Wiki instructions "Edit src/index.html:" should read "Edit public/index.html:". All other steps were followed exactly.
Results
Expected
I expect to record video with audio when clicking the record button.
Actual
In the browser console an error is output.
Error output
TypeError: EngineClass is not a constructor at Record.onDeviceReady (videojs.record.js:2214)
__stack_frame_overlay_proxy_console__ @ index.js:2178
onDeviceReady @ videojs.record.js:2216
Promise.then (async)
getDevice @ videojs.record.js:2123
handleClick @ videojs.record.js:488
bound @ video.cjs.js:2070
data.dispatcher @ video.cjs.js:1717
Additional Information
Excerpt from webpack.config.dev.js file:
    // for React Native Web.
    extensions: ['.web.js', '.mjs', '.js', '.json', '.web.jsx', '.jsx'],
    alias: {
      // Per @ https://github.com/collab-project/videojs-record/wiki/React
      videojs: 'video.js',
      WaveSurfer: 'wavesurfer.js',
      // Support React Native Web
      // https://www.smashingmagazine.com/2016/08/a-glimpse-into-the-future-with-react-native-for-web/
      'react-native': 'react-native-web',
    },

and from the plugins array at the bottom of the webpack.config.dev.js file:
    // Added per @ https://github.com/collab-project/videojs-record/wiki/React
    new webpack.ProvidePlugin({
      videojs: 'video.js/dist/video.cjs.js',
      RecordRTC: 'recordrtc'
    }),

From the comment at the bottom of Issue 249 I tried changing the webpack.config.dev.js file line videojs: 'video.js/dist/video.cjs.js' to videojs: 'video.js/dist/video.umd.js'. But when I did the app would not compile and threw this error:
Failed to compile.

./node_modules/videojs-record/dist/videojs.record.js
Module not found: Can't resolve 'video.js/dist/video.umd.js' in '/Users/john.blakey/gitref/JB/react-audio-recording/my-app/node_modules/videojs-record/dist'

From the package.json file dependencies section:
    "videojs-record": "^2.3.2",

versions
videojs-record
2.3.2
video.js
7.1.0
recordrtc
5.4.7
browsers
Chrome Version 67.0.3396.99
OSes
macOS High Sierra Version 10.13.6

@johnblakey what does the video.js config look like?

@thijstriemstra Thank you for the quick response - are you referring to the videoJsOptions in the index.js file? If so it looks like this:
const videoJsOptions = {
    controls: true,
    width: 320,
    height: 240,
    fluid: false,
    plugins: {
        record: {
            audio: true,
            video: true,
            maxLength: 10,
            debug: true
        }
    }
};

Or is there a video.js config that is located somewhere else?

NOTE: The Wiki instructions "Edit src/index.html:" should read "Edit public/index.html:". All other steps were followed exactly.

Updated the path on the wiki page.

Able to reproduce it, will take a look when I have time.

what's weird it references 'video.es.js' and not 'video.js/dist/video.cjs.js' like we specified in the webpack config..

@johnblakey I managed to solve the issue, check #264 and let me know how it goes..

@thijstriemstra I didn't modify any of the source files related to the Wiki and tried installing the videojs-record npm package from my cloned copy of your vidoejs-record repo by switching to your react-import-263 branch and doing an npm install <path to base directory of react-import-263>. It failed to compile with the following error:
Failed to compile.

./src/App.js
Module not found: Can't resolve 'recordrtc' in '/Users/john.blakey/gitref/JB/react-audio-recording/my-app/src'

Should I modify the App.js file? Or am I not installing videojs-record from your branch correctly? My Googling leads me to believe I didn't install your experimental npm package correctly. I tried installing directly from the GitHub url but was unsuccessful.

@thijstriemstra I overwrote the node_modules/videojs-record/dist directory with the zip above. It compiled but I got the same error as before when trying to record:
index.js:2178 TypeError: EngineClass is not a constructor at Record.onDeviceReady (videojs.record.js:2214)

thanks for your feedback, I'll release this fix asap.


Issues #271 #333 #402

Made invitation email title same as sharing email title - related to #271
Changed guidance tooltip - Closes #333
Default ordering for Phase, Question becomes .number - closes #402

all changes look sensible to me


Replace functions for RadioButton and RadioMenuItem

Closes https://github.com/gtk-rs/gtk/issues/488
Using tests:
https://github.com/EPashkin/gtk-rs-runtime-tests/blob/radiobutton/tests/radio_button.rs
https://github.com/EPashkin/gtk-rs-runtime-tests/blob/radiobutton/tests/radio_menu_item.rs
cc @GuillaumeGomez, @sdroege

@GuillaumeGomez, @sdroege please check it.

Seems good for me, however I never used the radio groups so I'd prefer to rely on @sdroege on this.

I never used the radio groups API either, at least not in the last 10 years, and don't really work with GTK
This looks good to me and should work fine, however it seems potentially confusing to users as the normal constructors now don't provide a way to define a group and you have to use the ones with _widget instead. Maybe implement that ones with the GSList group manually, so that the actual GSList is passed there and not a NULL pointer?

Problem with GSList changed on every g_slist_prepend so it almost impossible make it actual when it changed in C side

I was thinking of just getting the GSList* from one of the buttons in the list (the first I guess?), probably making sure that all of the buttons in the list are in the same group (or maybe not?), and then passing it to the constructor.

Then we need ensure that user don't use list after it, or we again have wrong list (need change to consume group parameter).
I don't see it really more usable
let rd1 = new_with_label(None, "a");
let gr = rd1.get_group();
let rd2 = new_with_label(gr, "b");
let gr = rd2.get_group();
let rd3 = new_with_label(gr, "c");

that realized in this PR
let rd1 = new_with_label("a");
let rd2 = new_with_label("b");
let rd3 = new_with_label("c");
rd2.join_group(&rd1);
rd3.join_group(&rd1);

I was thinking of never passing the GSList* to the user, but using it internally in the constructor, e.g.
    pub fn new(group: &[RadioMenuItem]) -> RadioMenuItem {
        assert_initialized_main_thread!();
        unsafe {
            let c_group = ffi::gtk_radio_menu_item_get_group(to_glib_none(group[0])); // check if there is actually group[0] or if it's empty
            // possibly: check if all in group have the same group, or make it so
            Widget::from_glib_none(ffi::gtk_radio_menu_item_new(c_group)).downcast_unchecked()
        }
    }

But I missed the join_group API, I guess it's sufficient like that then :)

Hm. this way also doable (but need some checks for empty list). I add it to issue.

@sdroege You agree to merge PR as is?
IMHO arrayed version while doable, confuses the user: usage &[] for first member, need collect members to array or use &[firstmember] to adding.

Ping

Fine with me, yes

Good for me too. Thanks!


Initial dedicated load balancer info

Some of these updates go into detail on shared vs dedicated nodes. Does the user need to upgrade to v1.5 in order to use dedicated mode? @sarjeet2013
If so, we can remove the first two edits in the PR.
The last two edits LGTM


Not written in rust

Its all unsafe, its worthless, Cve++ has been deprecated for rust, please use it.

Interesting advice coming from someone else who has only C++/C-Based languages on their repo-history! LOL!

Its all unsafe, its worthless, Cve++ has been deprecated for rust, please use it.

Cry about it

Its all unsafe, its worthless, Cve++ has been deprecated for rust, please use it.


Gracefully handle Bitcoin Core shutdown

When I quit Bitcoin Core server.py crashes:
    repr(exc))
electrumpersonalserver.jsonrpc.JsonRpcConnectionError: JSON-RPC connection failed. Err:ConnectionRefusedError(61, 'Connection refused')

It would be nice if instead it just turned off the Electrum server. That way the Electrum wallet would just show a red dot indicating it can't connect, which should be enough to remind me to start Bitcoin Core (though passing a more specific message to the wallet frontend would be nice too).
The other way around does work: if Bitcoin Core isn't running yet, the script starts and as soon as it can reach the RPC it boots up the server.

Implemented by https://github.com/chris-belcher/electrum-personal-server/commit/dce6bff4768756c4ac2b0856d29ff9fe08348a15


Changing CustomAsync to MustAsync

I'm facing some issue while changing CustomAsync to MustAsync. Below is my method
private static async Task<ValidationFailure> CheckIdNumberAlreadyExist(SaveProxyCommand command)
      {
          if (command.Id > 0)
              return null;

          using (IDbConnection connection = new SqlConnection(ConnectionSettings.LicensingConnectionString))
          {
              var param = new DynamicParameters();
              param.Add("@idnumber", command.IdNumber);

              var vehicle = await connection.QueryFirstOrDefaultAsync<dynamic>("new_checkDuplicateProxyIdNumber", param, commandType: CommandType.StoredProcedure);

              return vehicle != null
                  ? new ValidationFailure("IdNumber", "Id Number Already Exist")
                  : null;
          }
       }

I'm calling my method like below
RuleFor(o => o).MustAsync(o => {
            return  CheckIdNumberAlreadyExist(o)
          });

Your method signature is wrong - Must takes a delegate that returns a true/false indicating success. Your method returns a ValidationFailure. You need to change it to return a boolean.

yes i tried that as well, i changed as below

private static async Task CheckIdNumberAlreadyExist(SaveProxyCommand command)
{
if (command.Id > 0)
return true;
        using (IDbConnection connection = new SqlConnection(ConnectionSettings.LicensingConnectionString))
        {
            var param = new DynamicParameters();
            param.Add("@idnumber", command.IdNumber);

            var vehicle = await connection.QueryFirstOrDefaultAsync<dynamic>("new_checkDuplicateProxyIdNumber", param, commandType: CommandType.StoredProcedure);

            return vehicle == null;
        }
    }

        RuleFor(x => x).MustAsync(x =>
        {
              CheckIdNumberAlreadyExist(x)
        }).OverridePropertyName("PropertyThatIsNotInTheModel").WithMessage("Custom error message");

You're going to need to provide more details of what's not working....

@Jeremy seems i'm doing something wrong on calling MustAsync. I have attached my screenshot

@jeremy, is the return statement must be there?

Your method call to MustAsync is wrong. Please look at the method signature - in intellisense. It's Func<TProperty, CancellationToken, Task<bool>> - async methods need a cancellation token.
RuleFor(x => x).MustAsync((x, cancellation) => {
  return CheckIdNumberAlreadyExist(x);
}).OverridePropertyName("PropertyThatIsNotInTheModel").WithMessage("Custom error message");

@jeremy, it works perfect. I used like below
 RuleFor(x => x).MustAsync((x, cancellation) => CheckIdNumberAlreadyExist(x))
                .OverridePropertyName("IdNumber")
                .WithMessage("Custom error message");


bcic_iv_2a_cropped.py giving error for 'deep' model

Hi! When I am running "bcic_iv_2a_cropped.py" with 'shallow' model it's working but when I change the model to 'deep' it's giving following error. can you please help.
`
File "", line 1, in
runfile('/home/umar/pyproj/braindecode-master/examples/bcic_iv_2a_cropped.py', wdir='/home/umar/pyproj/braindecode-master/examples')
File "/home/umar/anaconda2/envs/pytorch3/lib/python3.6/site-packages/spyder_kernels/customize/spydercustomize.py", line 668, in runfile
execfile(filename, namespace)
File "/home/umar/anaconda2/envs/pytorch3/lib/python3.6/site-packages/spyder_kernels/customize/spydercustomize.py", line 108, in execfile
exec(compile(f.read(), filename, 'exec'), namespace)
File "/home/umar/pyproj/braindecode-master/examples/bcic_iv_2a_cropped.py", line 162, in
exp = run_exp(data_folder, subject_id, low_cut_hz, model, cuda)
File "/home/umar/pyproj/braindecode-master/examples/bcic_iv_2a_cropped.py", line 150, in run_exp
exp.run()
File "/home/umar/anaconda2/envs/pytorch3/lib/python3.6/site-packages/braindecode/experiments/experiment.py", line 207, in run
self.run_until_first_stop()
File "/home/umar/anaconda2/envs/pytorch3/lib/python3.6/site-packages/braindecode/experiments/experiment.py", line 247, in run_until_first_stop
self.run_until_stop(self.datasets, remember_best=self.do_early_stop)
File "/home/umar/anaconda2/envs/pytorch3/lib/python3.6/site-packages/braindecode/experiments/experiment.py", line 278, in run_until_stop
self.monitor_epoch(datasets)
File "/home/umar/anaconda2/envs/pytorch3/lib/python3.6/site-packages/braindecode/experiments/experiment.py", line 414, in monitor_epoch
dataset)
File "/home/umar/anaconda2/envs/pytorch3/lib/python3.6/site-packages/braindecode/experiments/monitors.py", line 202, in monitor_set
all_preds, self.input_time_length, dataset.X)
File "/home/umar/anaconda2/envs/pytorch3/lib/python3.6/site-packages/braindecode/experiments/monitors.py", line 271, in compute_trial_labels_from_crop_preds
all_preds, input_time_length, X)
File "/home/umar/anaconda2/envs/pytorch3/lib/python3.6/site-packages/braindecode/experiments/monitors.py", line 303, in compute_preds_per_trial_from_crops
all_preds, n_preds_per_trial)
File "/home/umar/anaconda2/envs/pytorch3/lib/python3.6/site-packages/braindecode/experiments/monitors.py", line 340, in compute_preds_per_trial_from_n_preds_per_trial
-n_needed_preds:]
IndexError: index 3910 is out of bounds for axis 0 with size 3910`

Very strange, for me it runs fine. What version of braindecode do you have?


Ensembles of different graphs

Our implementation supports ensembling of multiple models trained on the same graph. However, in general, ensembling can be done in the same way on different architectures.
The input to the ensemble mechanism is only the distribution over vocabulary which can be obtained in many ways.
Below, I list a random stream of thoughts:

replace number of sessions with a Dict[Graph, int] which would say how many times a graph is in the session.
introduce some graph assigning method in the config
OR do it independentlty on the configuration altogether, maybe with a special binary neuralmonkey-ensemble which would take multiple configuration files (and pointers to the distribution tensors)

We should be able to run ensembles with more config files in order to prevent the user from creating an ensemble config, which would be like five times longer (with five different architectures ensembled).
@varisd said he would be interested in doing this. Let's discuss about how it should be used from the user point of view first, then we can agree on the implementation.

Just on the sidenote:
I think that the option for config importing should be done first, otherwise the ensemble configs will easily get large (and confusing).
Basically, simply replacing the current List[str] with List[(Runner, str)] 'variable_files' option in config should be fine, however, since each runner can have (and should have during ensembling of different architectures) different underlying graph, each graph structure must be defined in the config file.
There's a chance that I missed something, otherwise, it shouldn't be very difficult to implement (putting the config importing aside).


feat: Disable video controls on explore cards

👇 __ Let's make a quick check before the contribution.
PR Type

[ ] Bugfix
[x] Feature
[ ] Refactoring

Context

[x] Closes #8022

Did your issue had any of the "$" label on it?

[x] Fill up your DOT address: Payout

Community participation

[x] Are you at KodaDot Discord?

Screenshot 📸

[x] My fix has changed something on UI;

Copilot Summary

🤖 Generated by Copilot at 7549d0c
This pull request adds a new prop hideVideoControls to several components related to NFT media previews. This prop allows hiding the video controls for NFT videos, improving the user experience and the gallery design.

🤖 Generated by Copilot at 7549d0c

Oh we are the coders of the NFT sea
And we like to make our previews tidy
We added a prop to hideVideoControls
So pull up the sail and let the wind roll

If its intended that the only place we have video controls is inside gallery item, then it works
the only collection bugging me is this one: https://deploy-preview-8055--koda-canary.netlify.app/ahk/gallery/249-5 , but i guess its a problem with the collection itself and not with PR
I'm assembling a list of testing resources:
https://github.com/kodadot/nft-gallery/issues/7826#issuecomment-1810221500

😍 Perfect, I’ve sent the payout
💵 $30 @ 5.45 USD/DOT ~ 5.505 $DOT
🧗 13QUj3pZyFNfYj4AM336hRdyLQbevj5H3sR4PKmLEXLdwZhh
🔗 0x78d0abf138f41773b43be6ca5301699b4c8a74471f4fd8a46ab9bd213fc3a554
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues


"Not" query with string does not return rows with null values

Bug description
When a table is filtered by excluding values of a specific string in a column, the query does not return values that are null in that column either.
How to reproduce

Create a table with a nullable string column
Add two rows, one with a value of null and one with a value of "string" to the table
Filter table by not "string"
No rows are returned

Expected behavior
The row with the value of null is to be returned.
Prisma information
model exampleTable {
  value String? @db.VarChar(255)
}

prismaClient.exampleTable.findMany({
  where: {
    value: {
      not: "string"
    }
  }
})

Currently having to work around this by using the query
prismaClient.exampleTable.findMany({
  where: {
    OR: [
      {
        value: {
          not: "string",
        },
      },
      {
        value: {
          equals: null,
        },
      },
    ],
  }
})

Environment & setup

OS: Windows
Database: PostgreSQL
Node.js version: 16.15.0

Prisma Version
prisma                  : 3.14.0
@prisma/client          : 3.14.0
Current platform        : windows
Query Engine (Node-API) : libquery-engine 2b0c12756921c891fec4f68d9444e18c7d5d4a6a (at ..\..\.yarn\unplugged\<EMAIL_ADDRESS>Migration Engine        : migration-engine-cli 2b0c12756921c891fec4f68d9444e18c7d5d4a6a (at ..\..\.yarn\unplugged\<EMAIL_ADDRESS>Introspection Engine    : introspection-core 2b0c12756921c891fec4f68d9444e18c7d5d4a6a (at ..\..\.yarn\unplugged\<EMAIL_ADDRESS>Format Binary           : prisma-fmt 2b0c12756921c891fec4f68d9444e18c7d5d4a6a (at ..\..\.yarn\unplugged\<EMAIL_ADDRESS>Default Engines Hash    : 2b0c12756921c891fec4f68d9444e18c7d5d4a6a
Studio                  : 0.460.0
Preview Features        : interactiveTransactions

Hey @jdpowell1,
While I understand your confusion, this is not a bug. It works the same way Postgres works. NULL is not considered a value. If you try the same query in Postgres (WHERE NOT value = 'string') you won't get null values either. This is also why you have to use IS instead of = with NULL.
The OR operator is the expected way of grabbing null values here.
I'm closing this issue, thanks for reporting 🙏


base option not support fully url at dev mode

Describe the bug
from #833, the last comment.
In my case, use base like this:
import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";
export default defineConfig({
    plugins: [
        vue({
            template: {
                compilerOptions: {
                    isCustomElement: function(tag) {
                        return tag.includes("fl-") || tag.includes("sl-");
                    }
                }
            }
        })
    ],
    base: "http://localhost:3003/",
    root: "/Users/zhouyiming/Project/frameless-pc/src/pages/demo1"
});

But when i visit the http://localhost:3003/, the assets is not be rewrited

if this page is nested in a "main" page, this request will be 404

Reproduction
https://stackblitz.com/edit/vitejs-vite-ofxh2y?file=vite.config.js&terminal=dev
System Info
System:
    OS: macOS 12.3.1
    CPU: (8) arm64 Apple M1
    Memory: 97.41 MB / 16.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 18.0.0 - /opt/homebrew/bin/node
    npm: 8.6.0 - /opt/homebrew/bin/npm
  Browsers:
    Chrome: 102.0.5005.115
    Safari: 15.4
  npmPackages:
    vite: ^2.9.9 => 2.9.9

Used Package Manager
pnpm
Logs
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

The full URL is supported in prod only (which can probably be better documented). Absolute urls in dev doesn't make sense as you're already serving the files via the url the vite dev server is on, e.g. localhost:3000.
I'm assuming you want to serve "assets" only via a different host, maybe #8450 fits your needs?

you're already serving the files via the url the vite dev server is on, e.g. localhost:3000.

actually, there are two servers is running,

the main server run in port 10000
the page server run in port 3000

that look like Single-SPA, if developer visit 3000, all be fine. but some assets will be 404 when they visit 10000.
if the url not change, any other config just helpless.

One of the reasons that #8450 adds the options at build is to allow to do the same in the future for dev.advancedDevOptions. But the path there may be a bit long, and it is unclear to me at this point if the flexibility justifies the complexity at dev time. @Yiniau did you check https://vitejs.dev/config/#server-origin, this is what some backend integrations are using right now

@patak-dev dose enable full url public path while developing make any hidden trouble?

the main server run in port 10000
the page server run in port 3000

@Yiniau What is your setup? Are you using iframes? Is there a server in front of Vite?

the main server run in port 10000
the page server run in port 3000

@Yiniau How is this set up? Are you using iframes? Is there a server in front of Vite?
basicly, that's a new way to provide micro-frontends with a light runtime dep, you can checkout https://native-spa-route.vercel.app/ to get simple demo.

the 10000 is a complete service, 3000 is a complete service too.
They are related by agreement, 3000 output page content, 10000 output application framework content.
The pseudo-code:
// 10000 main.html
// all in html
<app>
  <header/>
  <side-menu/>
  <page-1 render-js-function-source="http://localhost:3001/src/main.ts" />
  <page-2 render-js-function-source="http://localhost:3002/src/main.ts" />
  <page-3 render-js-function-source="http://localhost:3003/src/main.ts" />
</app>

so, if not a deveper time's public path, some static source will 404.

I see.
To support full URL base during dev, Vite will need to rewrite every url to full URL and I suppose that will make Vite slow.
For a workaround,  doing the following might work:

replace http://localhost:300\d with http://localhost:10000/300\d
proxy http://localhost:10000/300\d to http://localhost:300\d/300\d
set base as /300\d/ for each http://localhost:300\d

I see. To support full URL base during dev, Vite will need to rewrite every url to full URL and I suppose that will make Vite slow.
For a workaround, doing the following might work:

replace http://localhost:300\d with http://localhost:10000/300\d
proxy http://localhost:10000/300\d to http://localhost:300\d/300\d
set base as /300\d/ for each http://localhost:300\d

Actually, only 'some' resource like image will 404, this sounds to work for me,  THANKS


disabled sha256 check in photo-supreme-single-user as upstream packag…

…e is updated in-place

Thank you for the contribution. It was merged directly as bc58e596f4999cb943837b084174aaddc350436c to keep commit history cleaner. Your contribution is still credited to you.


2nd-order Heun's method for ODE sampling

as mentioned here
https://openreview.net/forum?id=zNA7u7wtIN&noteId=aiIagkNqgq
https://openreview.net/attachment?id=Ymg8GZvGds&name=pdf
you have a take on this and would it be easy to implement and try?

Will try it, if you have any resources for it lmk.

I have to say that i have close to no experience with this kind of math.
maybe this has some inspiration (searched heun's method on github)
https://github.com/matplotlib/matplotlib/blob/9618fc6322745834dd098cadecf8e05a0917d498/lib/matplotlib/streamplot.py#L514C17-L514C19
https://github.com/openai/shap-e/blob/50131012ee11c9d2617f3886c10f000d3c7a3b43/shap_e/diffusion/k_diffusion.py#L273


feat: use std io to read file

Which issue does this PR close?
Closes #20
Rationale for this change

What changes are included in this PR?

Replace tokio io with std io

Are there any user-facing changes?
No

How does this change test
CI

Good job. I'll review it tomorrow


Foreign keys not supported by IMPORT?

I have two CSV files, states and counties, which look like (respectively):
# id, state_name
0,Alabama
1,Alaska
3,Arizona
4,Arkansas
5,California
6,Colorado
7,Connecticut
...

# id, county_name, state_id (FK)
0,ABBEVILLE,46
1,ACADIA,20
2,ACCOMACK,56
3,ADA,14
4,ADAIR,17
5,ADAIR,19
6,ADAIR,28
...

As you can imagine I want IMPORT to create a state ID foreign key in counties.
However, it rudely refuses to do so! :-)
AFAICT the limitation is not documented anywhere though (I read the Known Limitations section of the IMPORT page and searched for "foreign", but maybe I missed it, or maybe it's somewhere else).
For reference the SQL I'm trying to run is the following, which fails:
IMPORT TABLE states (
  id INT PRIMARY KEY,
  name VARCHAR
) CSV DATA ('https://logicgrimoire.files.wordpress.com/2018/05/states3.xls') WITH comment = "#";

IMPORT TABLE counties (
  id INT PRIMARY KEY,
  name VARCHAR,
  state INT REFERENCES states (id)
) CSV DATA ('https://logicgrimoire.files.wordpress.com/2018/05/counties2.xls') WITH comment = "#";

The error is:
ERROR:  foreign keys not supported: FOREIGN KEY (state) REFERENCES states (id)

Looks like the workaround we should document is adding the foreign key constraint with CASCADE?
... time passes ...
OK, it appears to work (see below), but the code is almost 2x the size and now has extraneous index and FK bookkeeping and is more error-prone (IMO).  As a user I don't like to type boilerplate index and FK creation commands when a computer should be generating that fiddly stuff for me.  There may already be an issue on cockroach to do something about this, though!  I'll check over there and file one if not.
IMPORT TABLE counties (
  id INT PRIMARY KEY,
  name VARCHAR,
  state INT
) CSV DATA ('https://logicgrimoire.files.wordpress.com/2018/05/counties3.xls') WITH comment = "#";

CREATE INDEX ON counties (state);

ALTER TABLE counties ADD CONSTRAINT state_fk FOREIGN KEY (state) REFERENCES states (id) ON DELETE CASCADE;

IMPORT TABLE capitals (
  id INT PRIMARY KEY,
  name VARCHAR,
  county INT
) CSV DATA ('https://logicgrimoire.files.wordpress.com/2018/05/capitals2.xls') WITH comment = "#";

CREATE INDEX ON capitals (county);

ALTER TABLE capitals ADD CONSTRAINT county_fk FOREIGN KEY (county) REFERENCES counties (id) ON DELETE CASCADE;

related to https://github.com/cockroachdb/cockroach/issues/18638 ?

Interesting, thanks for the pointer @vivekmenezes!
Re: IMPORT and foreign keys, according to this comment:

that's an unrelated limitation: IMPORT prepares all the data in bulk and then just slurps it in -- it doesn't read existing data during that process, so it can't check a foreign key to existing data.

@dt - based on your comment from the other issue above, do you think this should be added to the Known Limitations section of the IMPORT docs?

Assigning the issue to myself to handle it in conjunction with https://github.com/cockroachdb/docs/issues/3469

@Amruta-Ranade, was this completed with the issue you linked to above?

@jseldess Yes. Forgot to close this issue - doing it now.


Invalid authorization value in HTTP header

Hi Art,
Can you help me this issue's?
Fatal error: Uncaught exception 'GuzzleHttp\Exception\ClientException' with message 'Client error: POST https://content.dropboxapi.com/2/files/upload resulted in a 400 Bad Request response: Error in call to API function "files/upload": Invalid authorization value in HTTP header "Authorization": "Bearer 163{" (truncated...) ' in C:\xampp\htdocs\dropbox-v2-php\vendor\guzzlehttp\guzzle\src\Exception\RequestException.php:113 Stack trace: #0 C:\xampp\htdocs\dropbox-v2-php\vendor\guzzlehttp\guzzle\src\Middleware.php(65): GuzzleHttp\Exception\RequestException::create(Object(GuzzleHttp\Psr7\Request), Object(GuzzleHttp\Psr7\Response)) #1 C:\xampp\htdocs\dropbox-v2-php\vendor\guzzlehttp\promises\src\Promise.php(203): GuzzleHttp\Middleware::GuzzleHttp{closure}(Object(GuzzleHttp\Psr7\Response)) #2 C:\xampp\htdocs\dropbox-v2-php\vendor\guzzlehttp\promises\src\Promise.php(156): GuzzleHttp\Promise\Promise::callHandler(1, Object(GuzzleHttp\Psr7\Response), Array) #3 C:\xampp\htdocs\dropbox-v2-php\vendor\guzzlehttp\promises\src\TaskQ in C:\xampp\htdocs\dropbox-v2-php\vendor\guzzlehttp\guzzle\src\Exception\RequestException.php on line 113

You need to set the Dropbox API access token before you can make API calls. You can either do this for every class manually, or globally as described in the readme.

Hi Art,
Yes I've been solve the issue's do you have an example upload large files like folder,zip etc.

Then I've been using Upload.md guide but the images files successfully uploaded but the result was like this

https://github.com/Alorel/dropbox-v2-php/blob/master/examples/Raw/Files/UploadSession.md

Yeah I've been using that thanks Arl :)

Hi Art,
Can you help me I've been using UploadSession function it's working fine in my localhost nothing issue's but during testing in live server i found an issue "HTTP ERROR 500". I've been already check all libraries so far it's working but  this process
// Keep appending until we're at the last segment
while (!$finished) {
$cursor->setOffset($offset);
$data = \GuzzleHttp\Psr7\stream_for($fh->read($buffer));
$offset += $buffer;
                    if ($data->getSize() == $buffer || $offset < $filesize) {
                        // Haven't scanned the entire file
                        $append->raw($data, $cursor);
                    } else {
                        //Send the last segment
                        $finished = true;
                        $commit = new CommitInfo($destinationPath);
                        (new Finish())->raw($data,$cursor,$commit);
                    }
                }

i got an error.
Thanks,
Anuar

Hi Arl,
I'll review my code i found out this line "(new Finish())->raw($data,$cursor,$commit);" causes an error "HTTP ERROR 500" during testing in linux live server. Can you help me?
Thanks,
Anuar


I would like an easy way to trigger a recurring background operation from M-Files Admin

Would be nice to have a button in the dashboard that I can click to trigger the operation...but without having to code each individual background operation into the dashboard.

Really nice idea.  Approach from @aaron-hardin's pull request has been pulled into the https://github.com/M-Files/VAF.Extensions.Community/tree/show-run-command-on-dashboard branch.
Pre-release 1.2.4-background-tasks-on-schedule and higher includes this functionality.
Documentation to be updated in that branch.

Example of using the ShowRunCommandOnDashboard attribute has been added to this sample: https://github.com/M-Files/VAF.Extensions.Community/tree/show-run-command-on-dashboard/MFiles.VAF.Extensions/MultiServerMode/TaskQueueBackgroundOperationManager#allowing-the-user-to-run-the-background-operation-via-the-dashboard
public class VaultApplication
	: MFiles.VAF.Extensions.ConfigurableVaultApplicationBase<Configuration>
{
	/// <summary>
	/// The background operation that can be run on demand.
	/// The ShowRunCommandOnDashboard attribute adds the "Run now" button next to the
	/// background operation in the list on the dashboard.  No other changes are required.
	/// </summary>
	[ShowRunCommandOnDashboard]
	protected TaskQueueBackgroundOperation MyBackgroundOperation { get; private set; }

	/// <inheritdoc />
	protected override void StartApplication()
	{
		try
		{
			// Create a background operation that can be run on demand.
			this.MyBackgroundOperation = this.TaskQueueBackgroundOperationManager.CreateBackgroundOperation
			(
				"My on-demand background operation",
				(job) =>
				{
					SysUtils.ReportInfoToEventLog("I have been run on demand.");
				}
			);
		}
		catch(Exception e)
		{
			SysUtils.ReportErrorToEventLog("Exception starting background operations", e);
		}
	}

}


feat: add stmik kuwera (SOTN)

https://stmikku.ac.id

@KagChi I have to close this request without merging, because you requested to add a non-existent domain to this repository: Host mhs.stmikku.ac.id not found: 3(NXDOMAIN) Please ensure that you are familiar with this repository rules located at the bottom of this page and submit a new request with the correct information. Thank you for your understanding!


Highlight Important Text

I highlighted the List Items for better understanding

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


Partial Credit isn't working

I have $50 credit on my account, when I choose to apply credit to my cart, then choose partial payment, I chose $10, when I submitted that, it doesn't apply it. So something is wrong with this feature.

If you choose to use the full amount, it works. Just not partial.

I'll check into this.

I am unable to duplicate this issue. Are you not seeing the credit applied in the order summary or is it no accepting the partial at all?

it doesn’t accept partial at all.
Which store is this again and I’ll test again.
Jenn Rawlings
Graphic Designer / Miva, Inc.
www.miva.comhttp://www.miva.com/
Twitterhttp://www.miva.com/social/twitter | Facebookhttp://www.miva.com/social/facebook | Instagramhttp://www.miva.com/social/instagram | LinkedInhttp://www.miva.com/social/linkedin | Bloghttp://www.miva.com/blog
[http://www.miva.com/images/new-images/miva-email-sig.gif]http://www.miva.com/
On Dec 20, 2017, at 9:09 AM, Matt Zimmermann <notifications<EMAIL_ADDRESS>wrote:
I am unable to duplicate this issue. Are you not seeing the credit applied in the order summary or is it no accepting the partial at all?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/mivaecommerce/readytheme-shadows/issues/3#issuecomment-353123677, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AK6vGXpKaYF7NEGdXnU9pBnOc-QULByiks5tCT9RgaJpZM4Q92CG.

This would be for the Shadows store. I'm not sure if you saw this issue on your own installation of it or on the demo site [ http://shadows.mivareadythemes.com/ ].


[Cherry-pick] [Enhancement] Optimize FQDN-related code(#11492)

What type of PR is this：

[ ] BugFix
[ ] Feature
[x] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #11325
Problem Summary(Required) ：

Optimize the logic of getting FQDN addr
Delete config enable_fqdn_func
Make new clusters start with IP by default

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] I have added user document for my new feature or new function

run starrocks_tscancode


Support reader conditionals.

I assume that because this just landed in xsc/rewrite-clj that this doesn't exist here. Required by https://github.com/weavejester/cljfmt/issues/59. My hope is that this is just a merge or copy-and-paste into this repository.

Should be fixed now. Mostly a copy paste fix yeah.

Oh and 0.4.2 released on clojars. ping @weavejester

Oh and 0.4.2 released on clojars.

Awesome! Thanks for the quick turnaround!


Tooltips block clicks

Issue Type: Bug
If I move my mouse over a line of code and click on it, sometimes a tooltip appears just as I'm clicking, blocking the click. The tooltips are actually slightly overlapping the top of the current line. Tooltips also like to appear if I move my mouse too slowly, completely blocking whatever I was trying to click on. These are super annoying and make it difficult to work in VSCode, because I'm constantly having to close popups just to get to my code.
I think there are 2 fixes necessary here:

Position tooltips higher so they don't overlap the current line at all
Greatly increase the tooltip appearance delay.  If I want more information about something, I think a delay of at least 1 second is more appropriate before showing popups.

 In 1.63 a bug means the actual delay is only half what you set, but that should be resolved when 1.64 ships next week.

Thanks, I am aware the delay is configurable, but the default is pretty obnoxious, so I still think this needs to be fixed.  The tooltip positioning is still an issue too.

Please retest after 1.64 ships.

@distinctdan Can you please try out our insiders build which can be installed side-by-side and contains the fix?

I'm sorry, I'm not willing to go through installing the insiders version at this time. Regarding the tooltip delay, really this is just feedback for you guys that the default is way too low.
Regarding the overlap, it doesn't sound like that's on the radar at the moment?


Subscribe form not working

there is a 405 error in the subscribe form which i want to solve. The subscribe button will firstly verify that weather the email is valid or not and after that send a subscription email to the particular mail, which would be added in the database.
@SahityaRoy

You can start working on it @gulshan23


bug: checkly login produces error

Node.js version
18.16.0
NPM version
9.7.1
@checkly/cli version
0.0.7
Steps to reproduce
When I run npx checkly login or yarn checkly login I get an error.
What is expected?
I'm authenticated with Checkly.
What is actually happening?
❯ npx checkly login
      ┏━━━━━━━━━━━━━━━━━━━━━━━┓
      ┃                       ┃
      ┃                       ┃
      ┃      checkly cli      ┃
      ┃                       ┃
      ┃                       ┃
      ┗━━━━━━━━━━━━━━━━━━━━━━━┛
/Users/geoff/commonlit/commonlit/node_modules/glob/sync.js:28
    throw new Error('must provide pattern')
          ^

Error: must provide pattern
    at new GlobSync (/Users/geoff/commonlit/commonlit/node_modules/glob/sync.js:28:11)
    at Function.globSync [as sync] (/Users/geoff/commonlit/commonlit/node_modules/glob/sync.js:23:10)
    at getFiles (file:///Users/geoff/commonlit/commonlit/node_modules/checkly-cli/src/check-definitions.js:11:28)
    at getCheckGroupDefinitions (file:///Users/geoff/commonlit/commonlit/node_modules/checkly-cli/src/check-definitions.js:50:17)
    at main (file:///Users/geoff/commonlit/commonlit/node_modules/checkly-cli/src/index.js:48:32)
    at file:///Users/geoff/commonlit/commonlit/node_modules/checkly-cli/bin/index.js:5:1
    at ModuleJob.run (node:internal/modules/esm/module_job:194:25)

Node.js v18.16.0

Any additional comments?
This also happens if I run checkly test or anything that's not checkly --version

@geoffharcourt seems like you are running quite an old version 😅. Can you upgrade to our latest & greatest?
We are at 4.1.0 now and the package name is now just "checkly" not the namespaced "@checkly/cli"
https://www.npmjs.com/package/checkly
You should have the login working after that.


page navigation bug

when some selector adds two or more rules the page number is invalid. the page2 have data

i will fix it


Add a lakeFS-native atomic OutputCommitter

What
Add an OutputCommitter that uses existing lakeFS operations for atomic commits that are efficient and safely concurrent.
Why
Clearly correct by construction
Rather than rely on per-file atomic operations and carefully tailoring operations to Spark retry mechanisms, directly use lakeFS.
FAST
Don't copy any data, ideally pay only the price of creating a new commit.
Data lineage and beautiful semantics
Spark commits should be, well, commits.  The history of a Spark job should appear right there in lakeFS history.  Data lineage should appear in the commit metadata.
Bypass tricky semantics
HDFS and S3A have different semantics.  Existing committers try to bridge these semantics, and in so doing overlay very specific but undocumented semantics on FileSystems, in particular on the mkdirs and rename operations.  A new committer would have our semantics; it will work only with a LakeFSFileSystem and so can use entirely new operations createBranch and mergeBranch.
How
To start a commit, branch out from the desired output lakeFS branch with a unique name.  (Ideally we will have some nice name for the output committer to use; at the very least it might include the Spark task ID.)  Because the name is unique, this branching out might occur only when the first file is written, allowing the committer to be stateless.
The committer writes all files to its branch.  When the time comes to commit, merge the working branch back to the output branch.  Include all available metadata.
Never retry on lakeFS conflicts: if it failed once, it will always fail.
Why use lakeFS merges not (just) commits?
Multiple OutputCommitters may run concurrently, but share the same staging area.  Branch-per-OutputCommitter separates these staging areas.  Using a shared staging area and commits directly to the branch would require a new commit-certain-paths-only operation, which introduces new issues (and needs basically identical semantics to merges).  The branch per output committer model here is easier to get right, no server-side changes needed.
We may have a branchless OutputCommitter... later.
Notes
Need to figure (at least) these out:

Parquet requires its committers to be ParquetOutputCommitters (of course it does), see e.g. Cloudera's explanation.  It's not intended to be derived from, and cannot easily use another OutputCommitter.  However there's a BindingParquetOutputCommitter in Spark (not in Hadoop, not in Parquet-MR, in Spark) that claims to transform the selected output committer into a ParquetOutputCommitter.
Committer definition is per output format.  Can the FileSystem intervene?  If not, our OutputCommitter will ideally gracefully degrade to the "otherwise configured OutputCommitter" when not running on lakeFS.
Is there a single initialization for a committer across the entire cluster?  Otherwise the unique name needs to include a hash of enough values to be deterministic and unique.
Do we need to handle conflicts when the same file is created twice concurrently by different committers?

OutputCommitter behaviour is described in more detail in the Hadoop manual here.


React Native map crashes only with apk

Bug
I am developing a react native app with several screens. It has a screen that loads react native map. It's working perfectly on debug when I run react-native run-android. But when I create the signed apk and install it on a device other screens work fine, but when I navigate to the screen with map, the app crashes. This happened only with apk. So, I can't find a reason as well. This is how I implemented map.
/app/build.gradle/
`dependencies {
    implementation project(':react-native-linear-gradient')
   implementation project(':react-native-orientation')
   implementation project(':@react-native-community_geolocation')
   implementation(project(':react-native-maps')){
        exclude group: 'com.google.android.gms', module: 'play-services-base'
        exclude group: 'com.google.android.gms', module: 'play-services-maps'
   }
  implementation 'com.google.android.gms:play-services-base:12.0.0'
  implementation 'com.google.android.gms:play-services-maps:12.0.0'
  implementation fileTree(dir: "libs", include: ["*.jar"])
  implementation "com.facebook.react:react-native:+"  // From node_modules
 implementation project(':react-native-vector-icons')
    if (enableHermes) {
       def hermesPath = "../../node_modules/hermes-engine/android/";
       debugImplementation files(hermesPath + "hermes-debug.aar")
      releaseImplementation files(hermesPath + "hermes-release.aar")
 } else {
      implementation jscFlavor
 }
}`

android/build.gradle
buildscript {           ext {             buildToolsVersion = "28.0.3"             minSdkVersion = 16             compileSdkVersion = 28             targetSdkVersion = 28             supportLibVersion = "28.0.0"         }         repositories {             google()             jcenter()          }           dependencies {             classpath("com.android.tools.build:gradle:3.4.2")           }       }
Code
`<View>
      <MapView
          style={{ height: 500 }}
          initialRegion={{
            latitude: 37.78825,
            longitude: -122.4324,
            latitudeDelta: 0.0922,
            longitudeDelta: 0.0421,
          }}
          provider={PROVIDER_GOOGLE}
          showsUserLocation={true}
          toolbarEnabled={true}
          loadingEnabled={true}
          mapType="standard"
        />
      </View>`

I have added internet permission and API key to manifest XML file. I checked this on android only. But the map crashes only in release.
Is there anyone who faced the same situation? How did you solve it?

also faced this issue too did you got any solution ? @BSThisarasinghe

+1

I had the same issue. Fixed it by adding the googleMaps-api-key under android in app.json
"config": {
"googleMaps": { "apiKey":  }
}
More detailed explanation was found here: https://medium.com/nycdev/create-a-react-native-app-with-google-map-using-expo-io-68041252023d

I solved this problem by change def enableSeparateBuildPerCPUArchitecture = false  on true in app\build.gradle.
I used cd android && .\gradlew clean && .\gradlew assembleRelease and then tried to install all apks in android\app\build\outputs\apk\release. Two of them worked as should.


chore: Add registerAppWithKey to BeneficiarySuperApp

Description
Adds support to deploy BeneficiarySuperApp to mainnet.
https://github.com/superfluid-finance/protocol-monorepo/issues/1177
Checklist:

[x] My commit message follows the Conventional Commits specification
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have tested my code
[x] My changes generate no new warnings
[x] My PR is rebased off the most recent main or appropriate feature branch
[x] My PR is opened against the main or appropriate feature branch

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 98.479%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
614

Relevant Lines:
617

💛  - Coveralls


fix: Use suggested behaviour when provided an empty string as seperator

Closes #7

If we're gonna change this, we need to change https://github.com/sindresorhus/split-on-first/pull/8/files#diff-168726dbe96b3ce427e7fedce31bb0bcR14 too. I'm suddenly not so sure...

@sindresorhus imo, we should probably just be unbiased and follow the spec.

How about ignoring the special '' case, but follow .split() otherwise?
So:
splitOnFirst('abc', '');
//=> ['abc']

By following the spec, do you mean 'abc'.split('') //=> ['a', 'bc'], because that still doesn't make sense here to me.

Either we keep it as-is and better document it, or we make 'foo'.split('abc') also return an empty array.

@sindresorhus
In vanilla javascript, 'abc'.split('') splits at every character to make:
['a', 'b', 'c']
Since in this library it only splits at the first character, it would be:
['a', 'bc']

Yes, but the special behavior only makes sense as it's meant as a shortcut to transform a string into an array, and that's not something you can do with this library anyway.

@sindresorhus In that case, I'll make splitOnFirst('foo', 'abc') also return an empty array.