Reorganization of Extrusions

WORK IN PROGRESS. DO NOT MERGE.
This pull request adds the extrusion functions as a seperate module. The goals are:

Convert to V2 math
Standardize API; names, parameter passing, error checks, etc.
Full test coverage

Extrusions:
extrudeFromSlices (renamed soldFromSlices)

[X] code complete
[X] tests complete, 93.33% coverage
[ ] reveiw complete

Fixes #67
extrudeLinear

[X] code complete
[X] tests complete, 80.00% (92.00% geom2) coverage
[ ] reveiw complete

extrudeRectangular

[X] code complete
[X] tests complete, 81.82% (95.24% geom2, 92.86% path2) coverage
[ ] reveiw complete

Fixes OpenJSCAD.org #404
extrudeRotate

[X] code complete
[ ] tests complete, 79.63% coverage
[ ] reveiw complete

Fixes #118

HUGE REWRITE OF EXTRUSIONS
@fischman @kaosat-dev please clone and checkout this branch. there are major changes which need to be discussed.
@fischman see extrudeWalls.js for those cool functions. :)
@kaosat-dev you will probably HATE 'slice' so review solidFromSlices.js for how slice is used. i'm flexible and would like a better solution as well.
FYI, the basic premise of extrusions is that the given points are ORDERED. The ordering of points allows the creation of the side polygons, by creating triangular polygons between points A and B.

@z3dev sorry I haven't done any CAD in a long time, and have no opinions on this PR. My #111 was about adding a feature, but this PR (and #172, which I guess this is split off of?) are just about reorganizing/refactoring scaffolding without adding the feature I needed (and sent #111 to implement). I don't see myself doing anything with jscad v2 in the foreseeable future.

My main headscratch atm is with the 'slices' data structure, I understand what you where shooting for, but some of it seems very close to geom2, so much so that it makes me wonder if we should not be using 3d coordinates for our 2d stuff ( Z set to 0 by default), this way they could exist in 3d space with no transformation ?)

Yeah. I did some head scratching too. There's a huge red spot on the top of my head now.
I'm thinking of another possibility as well, based on poly3. poly3 implies ordered points, but how to represent 'holes'?

I'm thinking of another possibility as well, based on poly3. poly3 implies ordered points, but how to represent 'holes'?

Wait wait , does this mean that the 2d data is NOT currently ordered ??

Performance comparisons.
node --expose_gc --always_compact ./performanceV1.js
extrudeLinear(10x10circle),10,1000,0.001651682999999999,32
extrudeLinear(100x100circle),100,1000,0.086001338,6662
extrudeRectangular(10arc),10,1000,0.007269305999999992,31
extrudeRectangular(100arc),100,1000,0.08777639199999995,2690
extrudeRectangular(200arc),200,1000,0.24901723800000006,6870
extrudeRotate(10x10circle),10,1000,0.004467113999999998,49
extrudeRotate(100x100circle),100,1000,0.7617194799999996,4694

node --expose_gc --always_compact ./performanceV2.js
extrudeLinear(10x10circle),10,1000,0.0003879930000000003,16
extrudeLinear(100x100circle),100,1000,0.03169874600000003,7308
extrudeRectangular(10arc),10,1000,0.0009789999999999998,19
extrudeRectangular(100arc),100,1000,0.04147691900000001,1244
extrudeRectangular(200arc),200,1000,0.1947529439999998,4894
extrudeRotate(10x10circle),10,1000,0.00010015300000000016,1
extrudeRotate(100x100circle),100,1000,0.021659216000000037,2867

super changes !! Thanks ! :)
is 'lower the better' for the benchmarks ? if that is the case V2 perf is better ?

super changes !! Thanks ! :)
is 'lower the better' for the benchmarks ? if that is the case V2 perf is better ?

Yup. V2 is faster. But these numbers are with normal arrays, not Float32Array.

The last change was completed, changing extrudeLinear() to use ‘height’.
@kaosat-dev please review and merge.


Fix - Correction in concepts

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Congrats @MattLack on your first pull request (PR)! 🎉
Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 📝


Fastlane fails to build app through Azure Devops

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description
I have set up a fastlane pipeline to build an iOS app. It works fine when remoting to the build agent via SSH and executing with bundle exec fastlane ci
When I run it through the Azure DevOps build agent (same user), however, it fails with
▸ Running script '[CP] Check Pods Manifest.lock'
▸ Running script 'Run Script'
** ARCHIVE FAILED **

The following build commands failed:
	PhaseScriptExecution Run\ Script /Users/tfsservice/Library/Developer/Xcode/DerivedData/Runner-gxldmbqzkabqmlbxazaxctiiltel/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/Runner.build/Release-iphoneos/Runner.build/Script-9740EEB61CF901F6004384FC.sh (in target 'Runner' from project 'Runner')
(1 failure)
ERROR [2022-01-14 10:22:57.27]: Exit status: 65

The script is a wrapper for flutter_tools/bin/xcode_backend.sh which executes dart xcode_backend.dart build
Azure DevOps
I run the following script:
echo Unlocking keychain
security unlock-keychain -p $(BuildagentPassword) /Users/tfsservice/Library/Keychains/login.keychain-db
echo Moving to project directory
cd './Source/attendance_app/App'
echo Building iOS app
../../../../../_tool/Flutter/2.8.1-stable/macos/flutter/bin/flutter build ios --release --no-codesign
echo Fastlane
cd ios
bundle exec fastlane env
bundle exec fastlane ci --verbose

After this fails, I can run the last line by hand in the build agent work directory via SSH and get a successful result.
Command executed

bundle exec fastlane ci
Complete output when running fastlane, including the stack trace and command used

This is just the last part of the output. The full log is too large to post here.
   ▸ Compiling Pods-Runner-dummy.m
▸ Compiling Pods-Runner-dummy.m
▸ Compiling Pods_Runner_vers.c
▸ Compiling Pods_Runner_vers.c
▸ Touching Pods_Runner.framework (in target 'Pods-Runner' from project 'Pods')
▸ Running script '[CP] Check Pods Manifest.lock'
▸ Running script 'Run Script'
** ARCHIVE FAILED **
The following build commands failed:
PhaseScriptExecution Run\ Script /Users/tfsservice/Library/Developer/Xcode/DerivedData/Runner-gxldmbqzkabqmlbxazaxctiiltel/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/Runner.build/Release-iphoneos/Runner.build/Script-9740EEB61CF901F6004384FC.sh (in target 'Runner' from project 'Runner')
(1 failure)
ERROR [2022-01-14 10:22:57.27]: Exit status: 65
+---------------+-------------------------+
|            Build environment            |
+---------------+-------------------------+
| xcode_path    | /Applications/Xcode.app |
| gym_version   | 2.200.0                 |
| export_method | app-store               |
| sdk           | iPhoneOS15.2.sdk        |
+---------------+-------------------------+
INFO [2022-01-14 10:22:57.50]: ▸     export variant=normal
INFO [2022-01-14 10:22:57.50]: ▸     /bin/sh -c /Users/tfsservice/Library/Developer/Xcode/DerivedData/Runner-gxldmbqzkabqmlbxazaxctiiltel/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/Runner.build/Release-iphoneos/Runner.build/Script-9740EEB61CF901F6004384FC.sh
INFO [2022-01-14 10:22:57.50]: ▸ Failed to package /Users/tfsservice/buildagent/_work/3/s/Source/attendance_app/App.
INFO [2022-01-14 10:22:57.50]: ▸ Command PhaseScriptExecution failed with a nonzero exit code
INFO [2022-01-14 10:22:57.50]:
ERROR [2022-01-14 10:22:57.50]: ⬆  Check out the few lines of raw xcodebuild output above for potential hints on how to solve this error
WARN [2022-01-14 10:22:57.50]: 📋  For the complete and more detailed error log, check the full log at:
WARN [2022-01-14 10:22:57.50]: 📋  /Users/tfsservice/Library/Logs/gym/Runner-Runner.log
INFO [2022-01-14 10:22:57.50]:
ERROR [2022-01-14 10:22:57.50]: Looks like fastlane ran into a build/archive error with your project
ERROR [2022-01-14 10:22:57.50]: It's hard to tell what's causing the error, so we wrote some guides on how
ERROR [2022-01-14 10:22:57.50]: to troubleshoot build and signing issues: https://docs.fastlane.tools/codesigning/getting-started/
ERROR [2022-01-14 10:22:57.50]: Before submitting an issue on GitHub, please follow the guide above and make
ERROR [2022-01-14 10:22:57.50]: sure your project is set up correctly.
ERROR [2022-01-14 10:22:57.50]: fastlane uses xcodebuild commands to generate your binary, you can see the
ERROR [2022-01-14 10:22:57.50]: the full commands printed out in yellow in the above log.
ERROR [2022-01-14 10:22:57.50]: Make sure to inspect the output above, as usually you'll find more error information there
INFO [2022-01-14 10:22:57.50]:
WARN [2022-01-14 10:22:57.52]: Lane Context:
INFO [2022-01-14 10:22:57.52]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios ci", :CERT_FILE_PATH=>"/Users/tfsservice/buildagent/_work/3/s/Source/attendance_app/App/ios/JWGST88AH6.cer", :CERT_CERTIFICATE_ID=>"JWGST88AH6", :SIGH_PROFILE_PATH=>"/Users/tfsservice/buildagent/_work/3/s/Source/attendance_app/App/ios/AppStore_dk.schultz.attendance.mobileprovision", :SIGH_PROFILE_PATHS=>["/Users/tfsservice/buildagent/_work/3/s/Source/attendance_app/App/ios/AppStore_dk.schultz.attendance.mobileprovision"], :SIGH_UDID=>"9e1e4056-6891-4ea0-a48d-653a091e3e79", :SIGH_UUID=>"9e1e4056-6891-4ea0-a48d-653a091e3e79", :SIGH_NAME=>"dk.schultz.attendance AppStore", :SIGH_PROFILE_TYPE=>"app-store"}
ERROR [2022-01-14 10:22:57.52]: Error building the application - see the log above
INFO [2022-01-14 10:22:57.55]: Successfully generated documentation at path '/Users/tfsservice/buildagent/_work/3/s/Source/attendance_app/App/ios/fastlane/README.md'

Environment

Stack

Key
Value

OS
11.6

Ruby
2.6.3

Bundler?
true

Git
git version 2.32.0 (Apple Git-132)

Installation Source
/usr/local/bin/fastlane

Host
macOS 11.6 (20G165)

Ruby Lib Dir
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib

OpenSSL Version
LibreSSL 2.8.3

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
13.2

Swift Version
5.5.2

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL
en_US.UTF-8
✅

LANGUAGE

fastlane files:
`./fastlane/Fastfile`
# This file contains the fastlane.tools configuration
# You can find the documentation at https://docs.fastlane.tools
#
# For a list of all available actions, check out
#
#     https://docs.fastlane.tools/actions
#
# For a list of all available plugins, check out
#
#     https://docs.fastlane.tools/plugins/available-plugins
#

# Uncomment the line if you want fastlane to automatically update itself
# update_fastlane

default_platform(:ios)

platform :ios do
  desc "CI build"
  lane :ci do
    get_certificates
    get_provisioning_profile
    build_app(workspace: "Runner.xcworkspace", scheme: "Runner")
  end
  desc "Push a new beta build to TestFlight"
  lane :beta do
    get_certificates
    get_provisioning_profile
    increment_version_number(bump_type: "patch")
    build_app(workspace: "Runner.xcworkspace", scheme: "Runner")
    build_ios_app(export_method: "app-store")
    upload_to_testflight
  end
  desc "Push a new release build to App Store"
  lane :release do
    get_certificates
    get_provisioning_profile
    increment_version_number(bump_type: "minor")
    build_app(workspace: "Runner.xcworkspace", scheme: "Runner")
    build_ios_app(export_method: "app-store")
    upload_to_app_store
  end
end

`./fastlane/Appfile`
app_identifier("[redacted]") # The bundle identifier of your app
apple_id("[redacted]") # Your Apple email address

itc_team_id("[redacted]") # App Store Connect Team ID
team_id("[redacted]") # Developer Portal Team ID

# For more information about the Appfile, see:
#     https://docs.fastlane.tools/advanced/#appfile

fastlane gems

Gem
Version
Update-Status

fastlane
2.200.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.3.0

bundler
2.3.4

rake
13.0.6

rexml
3.2.5

CFPropertyList
3.0.5

public_suffix
4.0.6

addressable
2.8.0

artifactory
3.0.15

atomos
0.1.3

aws-eventstream
1.2.0

aws-partitions
1.547.0

aws-sigv4
1.4.0

jmespath
1.5.0

aws-sdk-core
3.125.2

aws-sdk-kms
1.53.0

aws-sdk-s3
1.111.1

babosa
1.0.4

claide
1.0.3

colored
1.2

colored2
3.1.2

highline
2.0.3

commander
4.6.0

declarative
0.0.20

digest-crc
0.6.4

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20190701

dotenv
2.7.6

emoji_regex
3.2.3

excon
0.89.0

faraday-em_http
1.0.0

faraday-em_synchrony
1.0.0

faraday-excon
1.1.0

faraday-httpclient
1.0.1

multipart-post
2.0.0

faraday-multipart
1.0.3

faraday-net_http
1.0.1

faraday-net_http_persistent
1.2.0

faraday-patron
1.0.0

faraday-rack
1.0.0

faraday-retry
1.0.3

ruby2_keywords
0.0.5

faraday
1.9.3

http-cookie
1.0.3

faraday-cookie_jar
0.0.7

faraday_middleware
1.2.0

fastimage
2.2.6

gh_inspector
1.1.3

jwt
2.3.0

memoist
0.16.2

multi_json
1.15.0

os
1.1.4

signet
0.16.0

googleauth
1.1.0

httpclient
2.8.3

mini_mime
1.1.2

trailblazer-option
0.1.2

uber
0.1.0

representable
3.1.1

retriable
3.1.2

webrick
1.7.0

google-apis-core
0.4.1

google-apis-androidpublisher_v3
0.15.0

google-apis-playcustomapp_v1
0.7.0

google-apis-iamcredentials_v1
0.10.0

google-apis-storage_v1
0.11.0

google-cloud-env
1.5.0

google-cloud-errors
1.2.0

google-cloud-core
1.6.0

google-cloud-storage
1.35.0

json
2.1.0

mini_magick
4.11.0

naturally
2.2.1

optparse
0.1.1

plist
3.6.0

rubyzip
2.3.2

security
0.1.3

simctl
1.6.8

terminal-notifier
2.0.0

unicode-display_width
1.8.0

terminal-table
1.8.0

tty-screen
0.8.1

tty-cursor
0.7.1

tty-spinner
0.9.3

word_wrap
1.0.0

nanaimo
0.3.0

xcodeproj
1.21.0

rouge
2.0.7

xcpretty
0.3.0

xcpretty-travis-formatter
1.0.1

generated on: 2022-01-14

This appears to be caused by a custom keychain being created (by Xcode?). Removing it allowed the build to complete.

Hi,
I'm having this same issue.
Could you please elaborate how did you fix it please?
Thanks

There were two issues:

The password wasn't passed properly in from variables. I'm unsure what exactly went wrong, but simply hardcoding the password instead of $(BuildagentPassword) worked. It might be a solution to set the password as an environment variable and reference it from there in the script.
In Keychain on the Mac, I found a custom keychain with the same name as my Apple Development certificate.
Find the exact path of this keychain with security list-keychains and delete it with security delete-keychain path/to/keychain


WebView not working

trying to do this:
<Modal style={[styles.modal, styles.modal4]} position={"bottom"} ref={"modal6"} swipeArea={20}>
      <WebView
        source={{uri: 'https://google.com'}}
      />
</Modal>

The modal view is just blank... what am I doing wrong?

@rostyys Have you tried setting a height on the WebView?
<WebView style={{ height: 400 }}/>


💡[Feature]: NetFlix Stock Price Prediction System

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
Predicting stock prices is an important application of machine learning in finance. we will use machine learning algorithms to predict the stock prices of Netflix, one of the leading companies in the entertainment industry.
We will use historical stock price data for Netflix to train and test machine learning models. The data consists of the following columns:
Date: The date of the stock price
Open: The opening price of the stock on that day
High: The highest price of the stock on that day
Low: The lowest price of the stock on that day
Close: The closing price of the stock on that day
Use Case
Investment Strategies: Investors can use the prediction system to develop and refine their investment strategies. By anticipating future stock price movements, they can make more informed decisions about when to buy or sell Netflix shares.
Risk Management: Financial analysts and portfolio managers can utilize the system to assess the risk associated with holding Netflix stock. Accurate predictions can help in diversifying portfolios and mitigating potential losses.
Benefits
No response
Add ScreenShots
No response
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

hey @sanjay-kv please assign this issue to me i have experience with predictive analytics and time series data

@CodeSage4 I'm already doing

okay if you need any help ask me!


Add Volume and VolumeMount support for runners

Feature Description
Currently Volumes and VolumeMounts are set depending on the script configuration, which doesn't cover scenarios where we would want to fetch the script from other sources or bringing other artifacts. Adding option to customise the Volume and VolumeMounts to runners would solve this issue.
Suggested Solution (optional)
No response
Already existing or connected issues / PRs (optional)
https://github.com/grafana/k6-operator/pull/249

Hi @andrei-trandafir! Thanks for opening the issue and the PR.
Looking at your PR, it seems like the main use case here is to have a place to store the script (or achive) downloaded by init container specifically while custom volumes in runners are more a way to reach that goal. Is this understanding correct or are there other cases which can be solved by defining custom volumes in runners?
I'd like to clarify this point because there are some overlaps between this issue and functionality developed in the PR https://github.com/grafana/k6-operator/pull/239 :sweat_smile: Over there, the implementation is very specific for init container case and certain type of test.

Hey @yorugac , thanks for the quick response.
You're understanding is correct, we're using volumes in order to move data from the init container to the main container of the runner pod. This data would be either:

a k6 script
a k6 archive
input data for test, in our scenarios this could range from images, CSVs or other forms of data
For the moment at least, we would only need to create a Volume of type EmptyDir.

It might also be important to note that we output our real-time metrics to Datadog, rather than k6 cloud.
Is this something the that PR you mentioned adds as functionality and what are the timelines of the functionality being made available?

Love this! It's quite common to mount a script from a configMap to a volume for use in initContainers. @yorugac can it get merged today? 😉


SvgIcon fontSizeMedium CSS rule name

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Summary 💡

https://next.material-ui.com/api/svg-icon/#css: include a rule for fontSizeMedium, so we can define three sizes of icon.
Examples 🌈

I want to be able to define three icon sizes like this:
MuiSvgIcon: {
      styleOverrides: {
        fontSizeSmall: {
          fontSize: '0.75rem',
        },
        fontSizeMedium: {
          fontSize: '1rem',
        },
        fontSizeLarge: {
          fontSize: '1.5rem',
        },
      },
    },

Motivation 🔦

I am building a website based off Figmas with 3 icon sizes, the default 'medium' icon is 16px. I have worked my way around this issue with the following code:
MuiSvgIcon: {
      defaultProps: {
        fontSize: 'inherit',
      },
      styleOverrides: {
        fontSizeSmall: {
          fontSize: '0.75rem',
        },
        fontSizeInherit: {
          fontSize: '1rem',
        },
        fontSizeLarge: {
          fontSize: '1.5rem',
        },
      },
    },

However it feels a bit hacky to me? Perhaps a fontSizeMedium rule could be added, or if it can't, perhaps an explanation could be provided for the reasoning behind not including it. Thanks :)

The medium is a default value. You can provide the override under the root class key. Something like:
    MuiSvgIcon: {
      styleOverrides: {
        root: {
          fontSize: '1rem',
        },
        fontSizeSmall: {
          fontSize: '0.75rem',
        },
        fontSizeLarge: {
          fontSize: '1.5rem',
        },
      },
    },

We don't provide classes for the default values unless it is necessary. Note that you can also use the variants key and then define any combination of props you may need.

Thank you for the clarification!


Triggered Kotsadm version update 2021.10.17-nightly

Automated changes by the auto-kotsadm-update GitHub action

 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.


Yarn start error

Can u help me pls?

I'm sorry, this looks too generic for me to have any ideas

I cannot help, sorry

Cannot help, sorry


Add TextBox::text_position

This returns the offset in the text fields frame where
the text is actually drawn; I need this for the hacky
EditableLabel widget in Runebender.

Good question. I think maybe just allowing you to specify a 'style' for the textbox for different states?


To support flutter test which require quiver ^0.24.0

Upgrading Flutter from /Users/mbikyaw/flutter/flutter...
Already up-to-date.

Upgrading engine...
Already up-to-date.

Flutter • channel alpha • https://github.com/flutter/flutter.git
Framework • revision 1c372c6803 (4 days ago) • 2017-08-31 15:54:45 -0700
Engine • revision f9e00a7c72
Tools • Dart 1.25.0-dev.11.0

Running "flutter packages upgrade" in sugar-mobile...
Incompatible version constraints on quiver:
- flutter_test 0.0.12 depends on version ^0.24.0
- sentry 0.0.1 depends on version >=0.25.0 <2.0.0
pub upgrade failed (1)

@yjbanov Can you see if this change makes sense and if so land it? Thanks.

Flutter has been upgraded to quiver 0.26.0. This should no longer be necessary.


first show: remove unnecessary code

What is the purpose of the pull request
remove unnecessary code
Brief change log

remove unnecessary code from NettyRemotingServer.java

Who can help to review this PR which is a simple PR and can go through quickly

Codecov Report

Merging #2968 into dev will decrease coverage by 0.19%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##                dev    #2968      +/-   ##
============================================
- Coverage     39.30%   39.11%   -0.20%
+ Complexity     2689     2678      -11
============================================
  Files           435      435
  Lines         20120    20119       -1
  Branches       2455     2454       -1
============================================
- Hits           7909     7870      -39
- Misses        11473    11514      +41
+ Partials        738      735       -3

Impacted Files
Coverage Δ
Complexity Δ

...e/dolphinscheduler/remote/NettyRemotingServer.java
77.41% <100.00%> (+1.22%)
7.00 <0.00> (ø)

...he/dolphinscheduler/common/enums/SqoopJobType.java
0.00% <0.00%> (-88.89%)
0.00% <0.00%> (-3.00%)

.../server/worker/processor/TaskExecuteProcessor.java
10.16% <0.00%> (-27.12%)
1.00% <0.00%> (-2.00%)

...nscheduler/server/entity/TaskExecutionContext.java
89.10% <0.00%> (-9.91%)
61.00% <0.00%> (-5.00%)

...he/dolphinscheduler/common/thread/ThreadUtils.java
68.25% <0.00%> (-6.35%)
13.00% <0.00%> (-1.00%)

...inscheduler/common/task/sqoop/SqoopParameters.java
74.00% <0.00%> (-2.00%)
25.00% <0.00%> (ø%)

Continue to review full report at Codecov.

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


SUBMARINE-500. Add metric, param instance to the submarine-server rest

What is this PR for?
Add  metric, param instance from submarine/store/database/models.py  to the submarine-server rest api
A few sentences describing the overall goals of the pull request's commits.
First time? Check out the contributing guide - https://submarine.apache.org/contribution/contributions.html
What type of PR is it?
Feature
Todos

[x] - metric rest api
[x] - param rest api
[x] - database

What is the Jira issue?
https://issues.apache.org/jira/projects/SUBMARINE/issues/SUBMARINE-500
How should this be tested?
https://travis-ci.org/github/JohnTing/submarine/builds/698241108
Screenshots (if appropriate)

Questions:

Does the licenses files need update? No
Is there breaking changes for older versions? No
Does this needs documentation? Yes/No

hi @JohnTing , Have you completed all the changes?

hi @JohnTing , Have you completed all the changes?

Yes, all the changes are completed.


[BUG] Adding to much media to a channel breaks scrolling and saving.

Contact Details
No response
What happened?
Adding to much media to a channel breaks scrolling and saving.
OS: UnRaid 6.11.5
docker: binhex-plexpass:latest
docker: tunarr:edge-nvidia
1462 programs 25 days

If I scroll error is thrown.

If I save,

Error saving programs. Zodios: Invalid Body parameter 'body'

Version
0.2.0
What browser did you experience the the problem on?
Firefox (128.0)
What operating system are you using?
Windows (NT 10.0)
Relevant log output
BYe@http://<IP_ADDRESS>:8000/web/assets/index-52391a51.js:384:74848
xA@http://<IP_ADDRESS>:8000/web/assets/index-52391a51.js:62:19550
CU@http://<IP_ADDRESS>:8000/web/assets/index-52391a51.js:64:44101
SU@http://<IP_ADDRESS>:8000/web/assets/index-52391a51.js:64:39821
Ite@http://<IP_ADDRESS>:8000/web/assets/index-52391a51.js:64:39747
Rb@http://<IP_ADDRESS>:8000/web/assets/index-52391a51.js:64:39596
eR@http://<IP_ADDRESS>:8000/web/assets/index-52391a51.js:64:35959
yU@http://<IP_ADDRESS>:8000/web/assets/index-52391a51.js:64:34906
T@http://<IP_ADDRESS>:8000/web/assets/index-52391a51.js:49:1546
M@http://<IP_ADDRESS>:8000/web/assets/index-52391a51.js:49:1909

Looks like we have 2 errors here: both definitely related to some metadata that Tunarr expects (possibly erroneously).
We've seen the error on submission a bunch of times. That request never hits the server because it doesn't pass schema validation. If you open up your browser developer tools there should be more details about the error which will help us diagnose which field(s) are causing the issue.
As for the scrolling: there might be more context in the browser log as well. I haven't seen that one before, but it's almost definitely either missing or malformed metadata from the programs you're adding which we should be able to handle gracefully.

Added some context to https://github.com/chrisbenincasa/tunarr/issues/511#issuecomment-2254245561

This should be fixed now. LMK if it's still an issue for you!


Add option to set listening address family

Describe the feature
This allows to stop listening on IPv6 as requested in #1385
Prototype:
# whether to use IPv4, IPv6 or both.
addressFamily: any|ipv4|ipv6

@pikachu937 in the end i didn't add an option, but hacked the server in order to listen on IPv4 only when listen IP is <IP_ADDRESS>. This is the only one problematic IP, while in every other case the server listen only on the address family of the listen IP.

i checked and this work only if set in config file ip address and port - <IP_ADDRESS>:55544
rtspDisable: no
protocols: [udp, tcp]
encryption: "no"
rtspAddress: <IP_ADDRESS>:55544
rtpAddress: <IP_ADDRESS>:22222
rtcpAddress: <IP_ADDRESS>:22223

but, this is does not work if set in config file only port :55544(by default in config file)
rtspDisable: no
protocols: [udp, tcp]
encryption: "no"
rtspAddress: :55544
rtpAddress: :22222
rtcpAddress: :22223

can you make it automatically detect and not have to set a separate IP address?

@pikachu937 that's exactly as intended. When a user wants to listen on IPv4 only, he can set the listen IP to <IP_ADDRESS>, if he wants to listen on IPv6 only he can set the listen IP to [::1], otherwise the server listens on all IP families. This is more versatile than checking the OS setting (that is something OS-dependent that may not be possible to implement on all supported platforms), since it allows to disable listening on IPv6 even when IPv6 is enabled on the OS.

added in v0.22.1

Hi I add option "addressFamily" but it's not working (v0.23.8 armv7)

I'm listening hls address via vpn localhost:8888 -> <IP_ADDRESS>:8888. but when I using localhost it's work, vpn return 404

@ftvdexcz as written above, the "addressFamily" parameter was not added but instead the server was edited in order to listen on IPv4 when a listening address contains an IPv4 IP.
Open a dedicated issue if you have problems and describe how to replicate them.

@aler9 Thanks you for quick response! I'm struggling when connect via vpn. Issue describe in #2175


Sample code for creating Bigtable Instance

Sample code for creating Bigtable Instance

In BigtableSession.createChannelPool() method, creating prefix interceptor
there is this line of code
final ClientInterceptor prefixInterceptor =
new
GoogleCloudResourcePrefixInterceptor(options.getInstanceName().toString());
It requires instance name.
On Mon, Apr 30, 2018 at 9:16 PM, Solomon Duskis<EMAIL_ADDRESS>wrote:

@sduskis commented on this pull request.
In java/create-instance/src/main/java/com/example/cloud/
bigtable/createinstance/CreateInstanceMain.java
https://github.com/GoogleCloudPlatform/cloud-bigtable-examples/pull/289#discussion_r185026414
:

CreateInstanceMain main = new CreateInstanceMain();

main.execute();
}

private void execute() throws IOException {
init();
createInstance();
listInstances();
}

private void init() throws IOException  {
options = BigtableOptionsFactoryCreateInstance

   .fromConfiguration(new Configuration());

//Create GRPC client.
instanceClient =

interesting point. Perhaps we need a new method: BigtableSession.createInstanceClient(String
projectId). For now, is it possible to use BigtableSession.
createChannelPool() instead of the createChannelPool you use here?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/GoogleCloudPlatform/cloud-bigtable-examples/pull/289#discussion_r185026414,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AiYn9ztOLNfnCsfM0SW3Cbf-Kq7wWg3Mks5ttzHzgaJpZM4Tr2Ra
.

All the review comments are incorporated.

Sorry.. Not yet.  One change is still pending.
On Wed, May 2, 2018, 9:24 PM Solomon Duskis<EMAIL_ADDRESS>wrote:

@sduskis requested changes on this pull request.
In
java/create-instance/src/main/java/com/example/cloud/bigtable/createinstance/CreateInstanceMain.java
https://github.com/GoogleCloudPlatform/cloud-bigtable-examples/pull/289#discussion_r185546782
:

using Bigtable APIs.

*/
+public class CreateInstanceMain{
/** Constant LOG. */
protected static final Logger LOG = new Logger(CreateInstanceMain.class);

private static final String DEFAULT_HOST = "bigtableadmin.googleapis.com";

private static BigtableInstanceGrpcClient instanceClient;
private static String projectId;
private static String instanceId;
private static String location;
private static String displayName;
private static String clusterName;
private static String instanceType;
private static String LOCATION_FORMAT;

camelCase means that LOCATION_FORMAT should be locationFormat
In
java/create-instance/src/main/java/com/example/cloud/bigtable/createinstance/CreateInstanceMain.java
https://github.com/GoogleCloudPlatform/cloud-bigtable-examples/pull/289#discussion_r185546837
:

private static final String DEFAULT_HOST = "bigtableadmin.googleapis.com";

private static BigtableInstanceGrpcClient instanceClient;
private static String projectId;
private static String instanceId;
private static String location;
private static String displayName;
private static String clusterName;
private static String instanceType;
private static String LOCATION_FORMAT;
private static String PARENT_FORMAT;

public static void main(String[] args) throws Exception {
//Project Id under which instance will be created.
projectId = args[0];

I don't see System.getProperty() anywhere.
In
java/create-instance/src/main/java/com/example/cloud/bigtable/createinstance/CreateInstanceMain.java
https://github.com/GoogleCloudPlatform/cloud-bigtable-examples/pull/289#discussion_r185546928
:

LOCATION_FORMAT = "projects/" + projectId + "/locations/" + location;

PARENT_FORMAT = "projects/" + projectId;

CreateInstanceMain main = new CreateInstanceMain();
main.execute();
}

private void execute() throws Exception {
init();
createInstance();
listInstances();
}

private void init() throws Exception  {
BigtableOptions options = new BigtableOptions.Builder().build();
ChannelPool channelPool = BigtableSession.createChannelPool(DEFAULT_HOST, options);

I don't see it...
In
java/create-instance/src/main/java/com/example/cloud/bigtable/createinstance/CreateInstanceMain.java
https://github.com/GoogleCloudPlatform/cloud-bigtable-examples/pull/289#discussion_r185547191
:

CreateInstanceMain main = new CreateInstanceMain();

main.execute();
}

private void execute() throws IOException {
init();
createInstance();
listInstances();
}

private void init() throws IOException  {
options = BigtableOptionsFactoryCreateInstance

   .fromConfiguration(new Configuration());

//Create GRPC client.
instanceClient =

I created a new version of the client. Please use 1.3.1-SNAPSHOT and use
BigtableSession. createInstanceClient(options)
In
java/create-instance/src/main/java/com/example/cloud/bigtable/createinstance/CreateInstanceMain.java
https://github.com/GoogleCloudPlatform/cloud-bigtable-examples/pull/289#discussion_r185547306
:

   .setName(clusterName)

   .setLocation(LOCATION_FORMAT)

   .build();

CreateInstanceRequest request = CreateInstanceRequest.newBuilder()

   .setInstanceId(instanceId)

   .setParent(PARENT_FORMAT)

   .setInstance(instance)

   .putClusters("cluster1", cluster)

   .build();

instanceClient.createInstance(request);
}

private void listInstances() {
ListInstancesRequest.Builder request = ListInstancesRequest.newBuilder();

I think I'm missing something. Did you not submit your changes?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/GoogleCloudPlatform/cloud-bigtable-examples/pull/289#pullrequestreview-116958022,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AiYn9w3TIlegvKDQYbfBjZAbewGI4gx9ks5tuda7gaJpZM4Tr2Ra
.

Please check it now, just pushed the changes.

Here's the way that Node.js does it: https://github.com/googleapis/nodejs-bigtable/issues/107


[EUWE] [FINE] Add support for file share volumes to SCVMM

This adds support for file share volumes on the SCVMM provider.
This is a "backport" of https://github.com/ManageIQ/manageiq-providers-scvmm/pull/2 and https://github.com/ManageIQ/manageiq-providers-scvmm/pull/7 for the Euwe branch. A separate PR was required not only because of the repository split, but also because the underlying powershell script was heavily altered between 5.7 and 5.8.
Addresses this BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1454963

@djberg96 Please fix the PR title and/or the target branch (something is wrong...it can't be both Fine and Euwe 😄  )

@djberg96 Also, where is the fine/yes label for the original PRs?  I'd expect if we are bringing back to euwe we would also bring back to fine elsewhere.

Oops, submitted PR against wrong branch. Closing.


Expression indexes

Fixes #11423.

I am working on a follow up PR today. Thanks for the reviews all!


Prompt playground

Allows to load traces from tracked Burr application with OpenLLMetry traces.
You can load previous chat interactions and try new prompts with multiple LLM providers via LiteLLM.

To launch the app
OPENAI_API_KEY=sk-... ANTHROPIC_API_KEY=sk-ant-... streamlit run burr/integrations/playground/app.py
Features:

3 providers at once
load interactions directly from local Burr tracking
load a specific interaction via the URL params
the playground interactions themselves are logged using Burr under burr-playground

Limitations:

streamlit makes it very inconvenient to call LLMs asynchronously
currently no streamlined way to support generic API key input

OK, looking good. A few minor UI points after playing around:

Model not selected doesn't run it -- maybe we should be able to schose an arbitrary number of them? Or just grey it out if it's not selected?
Launch button is ina. weird place, I think it should be below the provider/model selection
Selecting a model resets everything -- it shouldn't reset the other ones -- we shoud have a reset button
We should have a progress button if it's running
The third one never seems to work for me...
Tab to link to the burr UI (iframe?)
See what I'm working with:


Is dotted or dashed separator supported?

I need something like this, is this achievable?

hello, did you manage to solve it? if you did, can you share the solution please.

I need something like this, is this achievable?

I have same Issue , did you find a solution ?

no sollution yet ?

I have same Issue , did you find a solution ?

you can use https://github.com/RBrNx/react-native-dashed-line#readme and
<View style={styles.container} onLayout={useCallback((event) => {
const {height} = event.nativeEvent.layout;
console.log('height of view', height)
},[])}>
that's all, then you can see the result, something like this


Stack issue when using Flashlist component

Hi , first of all thanks for this awesome library.
I am facing an issue where the Flashlist is not showing when using the Flashlist component from shopify( we are using for our purpose as refactor) , although Flatlist works fine. as per that library, there is a issue which can be solved using flex: 1 in the parent (in this case Stack ) https://shopify.github.io/flash-list/docs/known-issues/#1-flashlists-rendered-size-is-not-usable-warning .
If I use View from react-native that works but I need Stack for the spacing .
Code simplified(not working):
<Stack space={4} padding={4}>
     <AnotherComponent />
      <FlashList
        data={vehicles}
        renderItem={({ item }) => (
          <MultiVehicleSelectionCard
            vehicle={item}
            onChange={handleChange}
          />
        )}
        keyExtractor={item => item.value}
        estimatedItemSize={100}
      />
     <AnotherComponent />
  </Stack>

I found a solution : To wrap with


Goals

Standard library

#6

#3

Lambdas

Structs

Immutable by default, mut keyword

First class tests, framework, assertions, #7

Block expressions

Enums

#9

#10

JSON support

#14

#8

RegEx

#2

#15

#4

Destructuring

#5

#11

#12

#13

https://blog.cloudflare.com/building-fast-interpreters-in-rust/
https://github.com/vkazanov/bytecode-interpreters-post


Blueprint lines align with in-game blocks

Make it so the lines would perfectly align the blocks

I've thought of doing something similar to that, by just having two numeric textboxes which can shift the image by up to 8 pixels in any direction manually. I think making an automatic version wouldn't be possible, because the program wouldn't know which lines to use to align the image out of the hundreds or thousands on a blueprint.

I've thought of doing something similar to that, by just having two numeric textboxes which can shift the image by up to 8 pixels in any direction manually. I think making an automatic version wouldn't be possible, because the program wouldn't know which lines to use to align the image out of the hundreds or thousands on a blueprint.

late response but maybe you can implement that? if not it's perfectly fine.


Scroll of file list when uploading fix

Some entries in the file list can get bigger when there's an error in an upload. (the file already exists or the file type is not accepted)
In that case, the scrolling shifts with the current uploading files.
I use here a script found on github to scroll smoothly to show the next file in the list when one is completed.

The second commit add the computation of the sha1 checksum on the client if possible and accelerate the detection of duplicates.

Hey @karlak, thanks for the PR.

In that case, the scrolling shifts with the current uploading files.

We should fix that, but I think it's possible to do this without using jquery.scrollIntoView.min.js. I created an issue for it: #507

The second commit add the computation of the sha1 checksum on the client if possible to accelerate the detection of duplicates.

A nice addition, but I don't feel like it's necessary to do this. The server does a good job. Adding sha1.js, lib-typedarrays-min.js and more just adds complexity. That's not worth it. Sorry.


Add new partial for animations

This PR pulls animations out of component files and puts them in one file.

Awesome work.


No Sound After Update

Hi,
Having some issues after I update the raspberry pi 4.
raspotify.service - Raspotify (Spotify Connect Client)
   Loaded: loaded (/lib/systemd/system/raspotify.service; enabled; vendor preset: enabled)
   Active: active (running) since Mon 2021-12-06 14:53:21 AST; 17s ago
     Docs: https://github.com/dtcooper/raspotify
           https://github.com/librespot-org/librespot
           https://github.com/dtcooper/raspotify/wiki
           https://github.com/librespot-org/librespot/wiki/Options
 Main PID: 24413 (librespot)
    Tasks: 2 (limit: 4915)
   CGroup: /system.slice/raspotify.service
           └─24413 /usr/bin/librespot --name xDv2 --device-type speaker --backend alsa --bitrate 320 --disable-audio-cache --enable-volume-normalisation --volume-ctrl linear --initial-volume 100 --username usercleard

Dec 06 14:53:22 raspberrypi librespot[24413]: [2021-12-06T18:53:22Z INFO  librespot_core::session] Connecting to AP "guc3-accesspoint-a-fwl0.ap.spotify.com:4070"
Dec 06 14:53:22 raspberrypi librespot[24413]: [2021-12-06T18:53:22Z INFO  librespot_core::session] Authenticated as "<user cleared>" !
Dec 06 14:53:22 raspberrypi librespot[24413]: [2021-12-06T18:53:22Z INFO  librespot_playback::mixer::softmixer] Mixing with softvol and volume control: Linear
Dec 06 14:53:22 raspberrypi librespot[24413]: [2021-12-06T18:53:22Z INFO  librespot_playback::convert] Converting with ditherer: tpdf
Dec 06 14:53:22 raspberrypi librespot[24413]: [2021-12-06T18:53:22Z INFO  librespot_playback::audio_backend::alsa] Using AlsaSink with format: S16
Dec 06 14:53:22 raspberrypi librespot[24413]: [2021-12-06T18:53:22Z INFO  librespot_core::session] Country: "DO"
Dec 06 14:53:34 raspberrypi librespot[24413]: [2021-12-06T18:53:34Z INFO  librespot_playback::player] Loading <Sunset Lover> with Spotify URI <spotify:track:0hNduWmlWmEmuwEFcYvRu1>
Dec 06 14:53:36 raspberrypi librespot[24413]: [2021-12-06T18:53:36Z INFO  librespot_playback::player] <Sunset Lover> (237792 ms) loaded
Dec 06 14:53:36 raspberrypi librespot[24413]: Failed to get home directory.
Dec 06 14:53:36 raspberrypi librespot[24413]: E: [pulseaudio] caps.c: Assertion 'setresuid(uid, uid, uid) >= 0' failed at daemon/caps.c:57, function pa_drop_root(). Aborting.

Updated what? Just Raspotify? Your OS?
It looks you're using PulseAudio which isn't supported and I'm not really sure where Failed to get home directory. is coming from since it doesn't appear to coming from librespot since it doesn't have the [2021-12-06T18:53:36Z INFO  in front of it. It looks like you're getting error leaking in from PulseAudio though the alsa bindings.

And please wrap terminal output in back-ticks. Otherwise github can end up doing strange things like referencing issues if you don't wrap #6 for example.
https://docs.github.com/en/github/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax

Updated what? Just Raspotify? Your OS?
It looks you're using PulseAudio which isn't supported and I'm not really sure where Failed to get home directory. is coming from since it doesn't appear to coming from librespot since it doesn't have the [2021-12-06T18:53:36Z INFO  in front of it. It looks like you're getting errors leaking in from PulseAudio though the alsa bindings.

Sorry, after update raspberry OS.
Then already tried purging and re-installing Raspotify with no luck.
Should I remove PulseAudio, because everything was working perfectly until the update.
Thanks.

I would start by backing up your config and then doing sudo apt purge raspotify and then sudo apt install raspotify. At that point Raspotify should be like a fresh install. Then you can reconfigure it with your backed up config.
That's still not going to help you run Raspotify with Pulseaudio though. You'll have to figure that part out on your own. Others have done it. You may ask @kirenida how they have Raspotify and PulseAudio configured to play well together, and if you manage to get it working by all means please update the wiki but it's not something that officially supported.

Should I remove PulseAudio, because everything was working perfectly until the update.

As I said @kirenida verified that it is possible for Raspotify and PulseAudio to play well together you'll have to ask them.
As far as if you should remove PulseAudio that really depends on what else you have installed that depends on PulseAudio. If you're running the desktop version of Raspoberry Pi OS then uninstalling PulseAudio will probably break a lot of things. On the other hand if you're using your Pi headlessly and nothing else needs PulseAudio there's no reason to have in installed.
Generally if you NEED PulseAudio you'd be better off with Spotifyd if you're a novice.

@ljacobo this looks like a system configuration issue, I don't think I've ever encountered something like this. Did you ceck if anybody has a similar issue on the RaspberryOS forums?
Have you tried checking if the pulse and pi users are in the audio and / or pulse-access groups?
@JasonLG1979 I'll try to get the pulseaudio + raspotify "guide" up on the wiki soon, life got in my way.

@JasonLG1979 I'll try to get the pulseaudio + raspotify "guide" up on the wiki soon, life got in my way.

Awesome thanks!!! Although it's ofc not supported out of the box it will be nice to have a documented way to do it as it seems to be a really popular question.


Linux leg timing out on EventHubs tests

For a number of recent runs:
https://dev.azure.com/azure-sdk/public/_build/results?buildId=173892&view=results
https://dev.azure.com/azure-sdk/public/_build/results?buildId=161855&view=results
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=168850&view=logs&s=6884a131-87da-5381-61f3-d7acc3b91d76
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=160314&view=logs&j=ad07b744-5a1a-5d54-7693-fcb02e666633
It looks like at least some set of tests are ran but the process seems to hang after reporting results. I don't know if this is an issue with dotnet or something in the eventhubs test code on linux.

Is it a dup of https://github.com/Azure/azure-sdk-for-net/issues/7634?

I can't say for sure, but I strongly suspect that the root cause is some bit of non-determinism in the load balancing area of the Event Processor tests; we're working to track that down as time allows but it has proven difficult to reproduce.  I've never seen it outside of Linux, but I have seen it once or twice locally when running tests in a tight loop.
That said, we're also doing almost a complete rewrite of that area under a new design so I don't want to spend much resource time on dead code. Please bear with things as we push over the next couple of weeks. I expect anything Event Hubs related to be fixed before GA.

Assigning this and #7634 to you @jsquire for follow up.  If the redesign makes these go away, please close.

Closed #7634 as a duplicate, as both are believe to be referring to the same issue and same suspected root cause.    Will evaluate this once the implementation of the recent changes have been completed.

I believe that the recent redesign and refactoring will have resolved this, if it was a code problem.  I have not seen it manifest in the last 30-60 days and we've reviewed and ensured that all tests are using a timed cancellation token to guard against hangs.
Closing this out; please reopen if you see the issue occur again.


[DRAFT] support filtering and basic search

Finally added a good foundation for filtering and searching within the UI! The search is really naive at the moment, I can't implement a full text search until Prisma supports it for SQLite, but I think for the time being this is more than enough. It also doesn't look great on mobile ATM, but OK for now.

Build upon existing filter system I started in the server
Started age restriction support, most of the work left for this will be adding the config options when creating a user and tightening up some of the query conditions
Quickly added support for markdown descriptions (#67)
Updated docs accordingly

Screenshots

Also to note, I forgot about sorting 🙈 the server supports it but I got so wrapped up in filtering that sorting slipped my mind. I'll make a follow-up PR sometime in the coming weeks to quickly add that in.

Also also, found this and love it so will adopt it (maybe) https://gitmoji.dev/


ng update on yarn workspace with migrations

🚀 Feature request
Command (mark with an x)

[ ] new
[ ] build
[ ] serve
[ ] test
[ ] e2e
[ ] generate
[ ] add
[x] update
[ ] lint
[ ] xi18n
[ ] run
[ ] config
[ ] help
[ ] version
[ ] doc

Description
 Migrations work great for libraries hosted in an npm repository. In a monorepo that uses yarn workspaces, there doesn't seem to be a great way to leverage them. If a shared library provides migrations but that library is consumed via yarn workspaces, that library never shows up in `ng update`. However, migrations can still be run `ng update my-shared-lib --from=1.0.0 --to=2.0.0 --migrate-only`. This is helpful for running shared migrations, but currently requires each migration run in this manner to be manually documented somewhere. If I were to run that in a given workspace, and then someone else later wanted to verify that the migration had been run, there wouldn't be any direct evidence of it. Additionally, when the next version of the shared library is "released" (in this case, version bumped as a result of new migrations being added), there isn't a good way to know what the next --from value should be unless someone else had previously documented the last --to value they used.
Describe the solution you'd like
 For libraries consumed via yarn workspaces, or possibly for any library whose migrations are run via `--from=x.x.x --to=y.y.y --migrate-only`, it would be great if the most recent --to value was persisted in some manner and then compared against the latest version available. In the scenario above, after running `ng update my-shared-lib --from=1.0.0 --to=2.0.0 --migrate-only` and then updating my-shared-lib to 3.0.0, the result of a subsequent `ng update` might look like:
We analyzed your package.json, there are some packages to update:

  Name                               Version                  Command to update
 --------------------------------------------------------------------------------
  my-shared-lib                      2.0.0 -> 3.0.0           ng update my-shared-lib --from=2.0.0 --to=3.0.0 --migrate-only

Hi, this has the same root cause as https://github.com/angular/angular-cli/issues/14841
Let’s keep tracking it over there.


Set target_include_directories and modify Cmake export

Nope, does not work:
CMake Error: INSTALL(EXPORT) given unknown export "daqpCmake"

The following works for me:
install(TARGETS daqpstat EXPORT  ${PROJECT_NAME}Config
  ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}"
  LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}"
  RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}")
install(TARGETS daqp EXPORT  ${PROJECT_NAME}Config
  ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}"
  LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}"
  RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}")
install(FILES ${daqp_headers} ${daqp_codegen_headers} DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/daqp")

install(EXPORT ${PROJECT_NAME}Config DESTINATION cmake)

It should be ${PROJECT_NAME}Config, not ${PROJECT_NAME}Cmake, and
the install lines also need ${PROJECT_NAME}Config instead of ${PROJECT_NAME}.

(The target_include_directories part works. It is only the above snippet that needs the 2 aforementioned fixes.)

(The target_include_directories part works. It is only the above snippet that needs the 2 aforementioned fixes.)

Ok, thank you for the feedback! (the Cmake instead of Config was a typo...)
Now I think it should work as expected?

Yes, now it works as expected, fixes both #51 and #52, thanks!


Feature/high taxes carbonated drinks

get top 10 countries with high tax on carbonated drinks
write test cases for function

get top 10 countries with high tax on carbonated drinks


Fingertip Estimation is success(I think)!

Thanks for helping me. 🙇♂
+) I'll open annotation iOS app repository for my own annotated dataset.

Next generation interface for mobile vision application?.. I don't know exactly but It could be something interesting :)


fix: warn when mdx plugin is after the plugin

Closes #81

LGTM. Although maybe I'd even throw Error() since AFAICT we're confident it won't work?

Oups didn't saw it was 1 minute ago.
Yeah that's a good point


Saturation image detection

Several improvements are required to the method for detecting saturated images
Related issue #54

Pull Request Test Coverage Report for Build 364

2 of 6 (33.33%)  changed or added relevant lines in 1 file are covered.
7 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-0.1%) to 53.257%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

goodman_pipeline/images/image_processor.py
2
6
33.33%

Files with Coverage Reduction
New Missed Lines
%

goodman_pipeline/images/image_processor.py
1
5.49%

goodman_pipeline/core/tests/test_check_version.py
2
90.48%

goodman_pipeline/core/check_version.py
4
95.83%

Totals

Change from base Build 363:
-0.1%

Covered Lines:
2064

Relevant Lines:
3530

💛  - Coveralls


Fix typos

What kind of change does this PR introduce?
Found few misspellings.
Did you add tests for your changes?
No.
Does this PR introduce a breaking change?
No.

Files containing This file was automatically generated. were exclude.
I do not know how to proceed. Please help me.

Glad to contribute.


Orbit upgrade

This PR updates orbit-db from v0.28.0 to v0.29.0. This fixes an issue where database entries were not being propagate across the network.
This is a much bigger change than a single dependency. This update converted the code base from CommonJS to ESM, and allows us to use newer versions of ipfs-http-client library. I was also able to remove ipfs-coord in favor of the newer ipfs-coord-esm library.

:tada: This PR is included in version 4.1.0 :tada:
Your semantic-release bot :package::rocket:


Make some dependencies optional

Thanks for putting this library together!
Currently there seems to be quite a few dependencies listed here:
https://github.com/eoda-dev/py-maplibregl/blob/e0ae2961052a9a224dea4266d68df8ff73660246/pyproject.toml#L13-L20
But it looks like some of them may not be necessary in some situations. For example JupyterLab users may not need the dependency on shiny.
So maybe it would be possible to move some of these to an extras group?

As a side-effect, this could help allow running maplibre in a WebAssembly environment like JupyterLite, which could then also enable some nice use cases such as hosting example notebooks on GitHub Pages, with everything running in the browser.
However it does not seem possible to install maplibre in JupyterLite at the moment when testing on https://jupyterlite.github.io/demo/lab/index.html, due to these extra dependencies:
import micropip
await micropip.install('maplibre', keep_going=True)

@jtpio Yes you are right.
Initially maplibre was developed as a addon for Shiny for Python and I only added the ipywidget as a side effect. Therefor, we have the Shiny dependency. But not I believe more people use the ipywidget. I have to check if I can just can make the Shiny dependenxy optional. Another solution I already thought about was to split the package in an ipywidget and a shiny part.
Nevertheless if you need a working Web Assembly, you can use the one from ShinyLive, which is based on pyodide and contains all the needed libraries.

#118

Thanks for the reply and the extra context!

Initially maplibre was developed as a addon for Shiny for Python and I only added the ipywidget as a side effect. Therefore, we have the Shiny dependency. But now I believe more people use the ipywidget. I have to check if I can just make the Shiny dependency optional. Another solution I already thought about was to split the package in an ipywidget and a shiny part.

Yes that makes sense, sometimes it's easier and faster to make opinionated choices when getting started. A split of packages sounds like it would allow for greatly flexibility :+1:

if you need a working Web Assembly

Thanks, I think the main motivation was to use it in a notebook with JupyterLite specifically, which would require installing the maplibre package in a WebAssembly environment. But if there is a dedicated ipywidget package then it should be much easier normally (especially with anywidget used under the hood).


Issue when watching a file whose modified date doesnt get changed [Windows]

When using some specific software, the watches never get triggered for changes:
It works with notepad, sublime_text, ...
If I open the folder that contain those files, I can see that the modified Date doesn't change, but the size of the file does change.
I'm using the 1.x release, but the "misbehaviour" is also happening on 0.12.6.
Here's my code:
options=
  ignored:@ignoredFun
  persistent:true

watcher = chokidar.watch(path)

watcher
  .on('add', callbackAdded)
  .on('change', callbackAdded)
  .on('unlink', (path) ->console.info('File', path, 'has been removed');)
  .on('error', (error)-> console.error('Error happened', error))
  .on 'ready',()->console.log('watching files ...')

I've also tried to use:
  interval:1000
  binaryInterval:1000
  depth:5
  usePolling:true
  ignoreInitial:false

but this didn't help solve this issue.
I'm taking a guess that the polling option uses the modification date under the hood. Is they maybe an option to watch for filesize instead of modification date ? Or how would you tackle this issue ?

I'm taking the guess that the code responsible for the modification date test is here:
https://github.com/paulmillr/chokidar/blob/e2f8fb9bef8e05a837ad41a4a8516bb1fffdb405/lib/nodefs-handler.js#L170-L171
Is that right ?

Chokidar doesn't implement the actual polling mechanism - it comes from the node core method fs.watchFile. So basing the comparison on file size would not be an option here.
Polling is not the default behavior - on windows it would be to rely on fs.watch, which is built upon the ReadDirectoryChangesW native API.
The lines of code you pointed to only apply in polling mode, but yes they would filter out events for files whose mtime hasn't changed. If chokidar didn't do that, change events might be emitted every time the file is accessed.
You haven't indicated which software you're finding problematic, only some examples of ones that do work. If you want to get help in resolving your issue, you need to describe a way to reproduce the behavior you're observing.
You may also want to try listening to the raw event emitted by chokidar to get a better idea of what's happening under the hood, or perhaps it's something you can actually leverage to solve the problem you're experiencing in your environment.

Ok, I get it, I was indeed using polling mode at the end to find a way to solve this issue. I've created a pull request (#249) to add the size change. If it's not ok for you to merge it, I'm going to use raw events.

#249 merged


Commnad maestral not found on Fedora 34

Sam,
I just switched to Fedora 34 and maestral doesn't work.
I installed with pip3 install maestral[gui].
The installation is successful but neither the commands maestral nor maestral_qt exists.
Under ~/.local/share/applications/maestral.desktop contains:
[Desktop Entry]
Version = {version}
Type = Application
Name = Maestral
Icon = maestral
GenericName=File Synchroniser
Comment = Sync your files with Dropbox
TryExec = maestral_qt
Exec = maestral_qt
Hidden = false
Terminal = false
Categories = Network;FileTransfer;

As you can see the version is a placeholder and typing maestral_qt in the terminal gives command not found. Of course clicking on Maestral from the application Overview does nothing

I have tried to start Maestral as a module and got the following error. Not sure if this is another bug:
$ python3 -m maestral start
Starting Maestral...        [OK]
! Cannot load keyring keyring.backends.SecretService.Keyring. Please relink Maestral to get a new access token.

Any luck in getting your environment to work again?

Sam,
I will try again in the weekend and report back.
Thank you for the support !

Sam,
had been very busy with work.
It's working now, and I can see the icon in the task bar after installing the Top Icons extension.
Thanks!

No worries, I'm glad its working now :)


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-source-version-target/pull/4 is merged into live branch.
Auto archive content to https://github.com/VSC-Service-Account/docs-archive-test-source-version-target.git

Docs Build status updates of commit 1975d69:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.redirection.json
:white_check_mark:Succeeded

versioningArchiveSourceFolder/TOC.yml
:white_check_mark:Succeeded
View (sql-server-2014 || azuresqldb-current || azuresqldb-mi-current || azure-sqldw-latest || >= aps-pdw-2016 || >= sql-server-2016 || >= sql-server-linux-2017 || sql-server-previousversions || sqlallproducts-allversions)

versioningArchiveSourceFolder/docfx.json
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Supporting capabilities (such as push notification) without headache

There are some features you can only use in your apps once you enable from XCode's "capabilities" tab. This includes push notification, iCloude, Apple Pay, In app purchase, etc. Here's what it looks like in XCode:

Currently we have two features that requires turning on capabilities--Map and Push Notifications. For maps, turning it on doesn't make a huge difference.
However for most other capabilities--including push notifications--it's not that simple. When you turn on a push notification feature, it adds an "entitlements" file to the project. But that's not all. I think there are more things going on behind the scenes than just this entitlements file.
As an example, see this part (where it says "In your developer account, the Push Notifications service will appear as Configurable (not Enabled) until you create a client SSL certificate."):

If I'm interpreting this correctly, we can't just turn on these capabilities in the master branch and distribute it as open source because turning it on in XCode is not just a matter of adding a new file or setting a config, but it actually changes the things on the Apple developer account backend side.
What's wrong with just distributing without turning these capabilities on?
We could just keep these turned off and let people turn them on only if they want to implement them. And I think that's totally a fine approach. For example, have push notifications turned off by default, and let people enable them through XCode.
The problem is, even with the capabilities are off there's still push related code in there (such as registering for notification and acquiring device token etc.), so when you submit to the appstore, Apple gives you an error saying that you need to either:

turn on the push notification capability
or delete your push related code altogether.

This is confusing for users https://github.com/Jasonette/JASONETTE-iOS/issues/25#issuecomment-259703253 and I think we need to fix this before merging to master.
Ideas?
I've been researching this and asking around but couldn't find a clean solution. Maybe there's a way to conditionally compile/build code depending on which capabilities to support, so the push related code will not be included in the final build if people don't implement push? Anyone know how to deal with this type of problem?

I'm speculating here, but perhaps automating the build process with something like https://fastlane.tools/ can help… This does add more requirements (the fastlane ruby gem), but I think we can get around this by augmenting the Setup script.
I'm no expert in iOS development, so bear with me. 😄
Here's a few links from the Fastlane project that might add to this discussion:

https://github.com/fastlane/fastlane/issues/4548
https://github.com/fastlane/fastlane/issues/5778
https://docs.fastlane.tools/actions/

@gtramontina wow fastlane looks very complete.  I've been working with testflight in the past and it's great.  I think I'll give that one a try!

The problem is, even with the capabilities are off there's still push related code in there

This highlights very clearly the problem we are trying to solve with https://github.com/Jasonette/JASONETTE-iOS/issues/26
This not only leads to the problems you already outlined, but bloat as well from having several unused components and actions in the package.

@frostymarvelous well yes.  At some time during app development one has to decide about the core feature set.   You can't add binary code after the fact in iOS AFAIK, so if you want to provide a core which users are able to install and then -- after installation -- allow them to eventually use feature X, you're forced to add in feature X to the core.  So IMHO there's no chance that we'll have "plug-ins" or something like that.  It's all or nothing.  Or am I missing something?

Plugins in the sense of cocoapods you import before you compile and deploy your application.
I'm not talking about runtime resolution.
Currently, irrespective of if you use Geo, Push etc, you still get that bundled with the app. Leading to an app bloated with unused code.
These are extra features that don't need to be in the core.

@frostymarvelous Ok, sure -- I misunderstood you.  Cocoapods for compile-time feature selection is for sure very important.

@frostymarvelous Look at #34 for some proof-of-concept code wrt plug-ins.  It's cocoapods packaged and loosely coupled using notifications.  So no pre-sharing of header files needed.

@gtramontina I've put fastlane to good use in my private fork of Jasonette -- it's great!  Automate all the things!  Thanks for the link!

I think we are progressing nicely with the module approach. I just tested out the cocoapods-based extension management scheme created by @seletz and happy to say it works well!
Anyway, I tried to come up with a way to conditionally compile the push notification code using the same approach, but found out that there are a lot of complexities involved in this case, since this is not a matter of writing an isolated class but has to be tightly integrated with rest of the project.
So... at least for now, I've decided to use #define to conditionally include push related code, so Apple doesn't complain--it's turned off by default. See this commit for details: https://github.com/Jasonette/JASONETTE-iOS/commit/debb04ab9544f70703a3f75fa7b0008d7b3b75b2
If anyone finds something wrong with this approach please feel free to point out. But otherwise I think we're ready to finally merge develop with master soon, which I haven't been able to do for a while because of this problem.


Change endpoint logging

JIRA link (if applicable)
https://tools.hmcts.net/jira/browse/EM-4666
Change description
Change endpoint logging
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[x] No

done with   #1011


Consider allowing Flame Dart spell as alternative prereq to Dagger in some cases

Definitely Brutus, and possibly Kobold as well (though perhaps only in combination with Dazzle)

Implemented as customization flag in v1.1.0


Can't start photoshop after install

Photoshop version
CC2021
Describe the bug
Photoshop doesn't start
To Reproduce
Steps to reproduce the behavior:

do "sudo dnf install wine zenity tar wget curl"
download photoshop2021install.sh from latest releases
do "sh ./photoshop2021install.sh ~/"
Start photoshop from app menu
Photoshop not start

Expected behavior
Photoshop work
System informations

Distro : Fedora Linux 36
GPU : Nvidia RTX 3060 Ti

Additional context
If run photoshop from Adobe-Photoshop/drive_c/launcher.sh get this output https://pastebin.com/TJygM8Kw

That's because you use wine-staging.

I use wine from "wine" fedora package? Is it contain wine-stagging?

Well in the logs you've sent it's mentioned wine-staging...

mb try the AUR wine-stable package since it actually installs the stable version of wine and NOT the development version of it, official repos contain the wine dev as standart wine package, this doesnt make sense why wouldnt they just separate the wine to wine-stable and wine-dev?that would make more sense, want a stable expirience? use the wine-stable, feeling wanting to try something cutting edge and unstable? use wine-dev.

i dont reccomend to use yay for this since it makes the pkgbuild to fail so you have to clone it manually then
cd into it then
makepkg -si
and wait for it to compile

@fislysandi
He is on Fedora, not arch linux ;)
@Lekrixsss
You should try this (I have no fedora under the hand so...I can't check but it should be fine)
sudo dnf remove 'wine*'
sudo dnf -y install dnf-plugins-core
sudo dnf config-manager --add-repo https://dl.winehq.org/wine-builds/fedora/36/winehq.repo
sudo dnf -y install wine-stable vulkan vulkan-info vulkan-tools
git clone https://github.com/MiMillieuh/Photoshop-CC2022-Linux
sh photoshop2022install.sh

@fislysandi
He is on Fedora, not arch linux ;)
@Lekrixsss
You should try this (I have no fedora under the hand so...I can't check but it should be fine)
sudo dnf remove 'wine*'
sudo dnf -y install dnf-plugins-core
sudo dnf config-manager --add-repo https://dl.winehq.org/wine-builds/fedora/36/winehq.repo
sudo dnf -y install wine-stable vulkan vulkan-info vulkan-tools
git clone https://github.com/MiMillieuh/Photoshop-CC2022-Linux
sh photoshop2022install.sh

That should be working.  However I would recommend to use the scripts in release instead of the master tree...
Also be aware that 2022 isn't as functional and stable as 2021.

The default installer on main branch install the 2021 :p
https://github.com/MiMillieuh/Photoshop-CC2022-Linux/blob/f2daea7b83beb1eb6f4fdb7d58a11e89d1bbf194/installer.sh#L22

Without further information,  I assume it's fixed.


fix: add parameters table to parse-build-deploy-script

Wouldn't these lines be replaced once your newer PR gets merged?
sure, how can I tell which param is optional and their default values?
@ernesgonzalez33

Wouldn't these lines be replaced once your newer PR gets merged?
sure, how can I tell which param is optional and their default values?
@ernesgonzalez33

You are totally right. Forget it.
Check the parameters in the task. If there are no default values, it means is not optional


Make it possible to enable/disable FGD files

We can add several FGDs in Settings, it could be useful to choose which you want to enable or disable after adding them. So you can have a list of working FGDs to easily switch between them, instead of adding/deleting.

duplicate of #10


Add ability to tell plugins whether a module is resolved in worker in dev mode

Description
Current resolveId / transform plugin hooks don't have a parameter to tell plugin developers whether a module is requested from worker. Therefore there's no way to do worker-only transformation to shared modules between main thread and worker thread.
For example,
// common.ts
// could also be some third-party node module
sideEffectDontWantToRunInWorker()

// shared-dep.ts
import './common'
export x = function(){ ... }

// main-thread-index.ts
import { x } from './shared-dep'
new Worker(new URL('./worker-thread-index.ts', import.meta.url), {
    type: 'module',
    name: 'vite-worker',
})
x()

// worker-thread-index.ts
import { x } from './shared-dep';
x()

I want to write a vite plugin to exclude importing './common' in worker, there's no way of doing it.
Suggested solution
add additional param to plugin resolveId resolveId / transform hooks
transform(code, id, options, /* isFromWorker */) { ... }
resolveId(source, importer, options,  /* isFromWorker */)  { ... }

Alternative
No response
Additional context
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 request the same feature to avoid creating a duplicate.

You can get that information from the configResolved hook, where the resolved config has the isWorker property. Vite plugins are also separated between main and worker, e.g. config.plugins and config.worker.plugins

Both #configResolved config.isWorker and config.worker.plugins are only effective in production build, what I am referring to is worker in Dev mode.

I don't quite understand. It should work in dev too? Is something not working there?

I see now. I didn't notice there's a different path for workers in dev. Looks like it will be hard to provide this information to plugins, but will re-open for now.


Include uboot bits in installer image

Fixes #4288
They already are added to the installer ESP, but the installer itself did not have access to them, and thus would not install them on the target disk.
The source is pkg/u-boot.
This PR adds the contents of that pkg to installer.yml as a volume, and then mounts it into the installer container, which makes it available to make-raw as /parts/boot, which then knows what to do with.
There is a bit of duplication here, but this is cleaner than alternatives.
At some point we should eliminate the installer/boot directory and make it all use what is in the installer.tar. That needs some changes to rootfs.tar, which would be beyond scope of this PR.
cc @rene

pull rate limits...


Issue #80 - Auto increment color suffix number on color duplication

Summary
Implement code in ColorPaletteSection to increment the suffix on an added color if it has been used before.  This simply maps the existing colors, performs a regex match, and analyses if matched to determine the max. suffix value.
Description
ColorPaletteSection component EditColorModal onClose method was updated to check passed in color name against each existing color.  Existing colors were iterated (using .map) and each color was tested using a regex match.  The third part of the regex match is effectively the suffix if there a color has been added multiple times with the same name.  This was tracked to determine if it was the largest increment, and if so, this is added to the color name as a suffix.

This makes sense to me, will QA tomorrow but thanks for opening the PR! @prichter

QA-ed! Merging!


Map Mouse Clicks Require 2 Clicks for Symbol to Show up (instead of 1)

Chem light only appears on second click instead of first
My environment: RHEL 6.4, Qt 4.8.5 64-bit
Run Vehicle Commander Qt. Click a chem light button. Click the map, and a chem light doesn't appear. Click the map again, and now the chem light appears. I think the chem light should appear on the first click.

Retiring Vehicle Commander Qt


[liblzma] Build error on arm64-linux

Package<EMAIL_ADDRESS>Host Environment

Host: arm64-linux
Compiler: GNU 11.3.0
vcpkg-tool version: 2999-12-31-unknownhash
vcpkg-scripts version: ce1916404 2024-03-30 (18 hours ago)

To Reproduce
vcpkg install
Failure logs
-- Downloading https://github.com/tukaani-project/xz/archive/v5.4.4.tar.gz -> tukaani-project-xz-v5.4.4.tar.gz...
[DEBUG] To include the environment variables in debug output, pass --debug-env
[DEBUG] Trying to load bundleconfig from /media/psf/Source/test/vcpkg/vcpkg-bundle.json
[DEBUG] Failed to open: /media/psf/Source/test/vcpkg/vcpkg-bundle.json
[DEBUG] Bundle config: readonly=false, usegitregistry=false, embeddedsha=nullopt, deployment=Git, vsversion=nullopt
[DEBUG] Metrics enabled.
[DEBUG] Feature flag 'binarycaching' unset
[DEBUG] Feature flag 'compilertracking' unset
[DEBUG] Feature flag 'registries' unset
[DEBUG] Feature flag 'versions' unset
[DEBUG] Feature flag 'dependencygraph' unset
[DEBUG] 1000: execute_process(curl --fail -L https://github.com/tukaani-project/xz/archive/v5.4.4.tar.gz --create-dirs --output /media/psf/Source/test/vcpkg/downloads/tukaani-project-xz-v5.4.4.tar.gz.87099.part)
[DEBUG] 1000: cmd_execute_and_stream_data() returned 0 after   763816 us
[DEBUG] Trying to hash /media/psf/Source/test/vcpkg/downloads/tukaani-project-xz-v5.4.4.tar.gz.87099.part
[DEBUG] /media/psf/Source/test/vcpkg/downloads/tukaani-project-xz-v5.4.4.tar.gz.87099.part has hash 30958e5083aeeec62aba72628ce089b3edf9a2ec7ebfd44315aa1b113122966098abf53809016bc29760a31675e2cf2abfa4b8a2348fe873e4b717ad79a36f56
error: Failed to download from mirror set
error: File does not have the expected hash:
url: https://github.com/tukaani-project/xz/archive/v5.4.4.tar.gz
File: /media/psf/Source/test/vcpkg/downloads/tukaani-project-xz-v5.4.4.tar.gz.87099.part
Expected hash: c28461123562564e030f3f733f078bc4c840e87598d9f4b718d4bca639120d8133f969c45d7bdc62f33f081d789ec0f14a1791fb7da18515682bfe3c0c7362e0
Actual hash: 30958e5083aeeec62aba72628ce089b3edf9a2ec7ebfd44315aa1b113122966098abf53809016bc29760a31675e2cf2abfa4b8a2348fe873e4b717ad79a36f56
[DEBUG] /media/psf/Source/test/vcpkg/buildtrees/_vcpkg/src/vcpkg-tool-2024-03-14/src/vcpkg/base/downloads.cpp(1031):
[DEBUG] Time in subprocesses: 763816us
[DEBUG] Time in parsing JSON: 3us
[DEBUG] Time in JSON reader: 0us
[DEBUG] Time in filesystem: 229us
[DEBUG] Time in loading ports: 0us
[DEBUG] Exiting after 768 ms (767407us)

CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:32 (message):

      Failed to download file with error: 1
      If you are using a proxy, please check your proxy setting. Possible causes are:

      1. You are actually using an HTTP proxy, but setting HTTPS_PROXY variable
         to `https://address:port`. This is not correct, because `https://` prefix
         claims the proxy is an HTTPS proxy, while your proxy (v2ray, shadowsocksr
         , etc..) is an HTTP proxy. Try setting `http://address:port` to both
         HTTP_PROXY and HTTPS_PROXY instead.

      2. If you are using Windows, vcpkg will automatically use your Windows IE Proxy Settings
         set by your proxy software. See https://github.com/microsoft/vcpkg-tool/pull/77
         The value set by your proxy might be wrong, or have same `https://` prefix issue.

      3. Your proxy's remote server is out of service.

      If you've tried directly download the link, and believe this is not a temporary
      download server failure, please submit an issue at https://github.com/Microsoft/vcpkg/issues
      to report this upstream download server failure.

Call Stack (most recent call first):
  scripts/cmake/vcpkg_download_distfile.cmake:270 (z_vcpkg_download_distfile_show_proxy_and_fail)
  scripts/cmake/vcpkg_from_github.cmake:106 (vcpkg_download_distfile)
  buildtrees/versioning_/versions/liblzma/f285b7c4ffa2cc065c7c6fec4b61006f7fa2714e/portfile.cmake:1 (vcpkg_from_github)
  scripts/ports.cmake:175 (include)

Additional context
vcpkg.json
{
  "name": "example",
  "version-string": "0.0.1",
  "dependencies": [
    {
      "name": "gtest",
      "version>=": "1.11.0"
    },
    {
      "name": "opencv",
      "version>=": "4.5.5"
    },
    {
      "name": "pcl",
      "version>=": "1.14.0"
    },
    {
      "name": "eigen3",
      "version>=": "3.4.0#4"
    },
    {
      "name": "opencascade",
      "version>=": "7.8.0"
    },
    {
      "name": "libuvc",
      "version>=": "0.0.7"
    }
  ],
  "builtin-baseline": "ce1916404fc6f2b645f419a6d47b7ebafe686582"
}

https://github.com/microsoft/vcpkg/issues/37839

Duplicate #37839


The message from the remote peer silently drops if the mailbox is full.

There was an issue #95 I've moved to the discussion https://github.com/ergo-services/ergo/discussions/95 by mistake (misunderstood the real problem).
There should be a way to handle the situation of overflowing the mailbox during the message delivery from the remote peer. Current implementation just silently drops the message (master branch: https://github.com/ergo-services/ergo/blob/master/node/network.go#L346 and in the current development branch https://github.com/ergo-services/ergo/blob/v210/proto/dist/proto.go#L760)
Thanks to @jiait for pointing to this issue.

Very Good!  Expect ergo to get better and better, Erlang Observer can't link Ergo, if it can also be fixed, it will be better for Erlang developers

Very Good!  Expect ergo to get better and better, Erlang Observer can't link Ergo, if it can also be fixed, it will be better for Erlang developers

Is there a good solution? This is a serious bug!!

I still don't have any solution for that. At the same time, I couldn't agree with the erlang approach - overflowing the process mailbox. This way leads to the killing of this node by OOM. It means any external process could flood the node, so it is a DOS attack.
I see a few ways to solve it

drop the connection with the source of the flood (not sure if it's going to be a good solution)
send a notification message to the sender if the mailbox is getting filled more than a half
send this message back to the sender but wrapped as a notification message

I would appreciate it if you share better ideas.
PS: the next release will include a new feature - proxy. It means we shouldn't allow any outside actor to have the ability to flood the node.

Mailbox needs an appropriate number of concurrent requests, for example: The length of mailbox expands to 1000.
The processes created by the Supervisor do not carry the Mailbox parameter and can follow the Supervisor process parameter by default
When the Mailbox is full, it must notify the application layer so that the application layer can take other measures to resolve the problem

I think it's a great idea to notify the parent (supervisor) or the group leader (application). But the problem is they don't have callback methods to handle this message.
Supervisor has Init method only https://github.com/ergo-services/ergo/blob/master/gen/supervisor.go#L12
Application has Load and Start methods only https://github.com/ergo-services/ergo/blob/master/gen/application.go#L35
I also can extend ApplicationChildSpec https://github.com/ergo-services/ergo/blob/master/gen/application.go#L54 and SupervisorChildSpec https://github.com/ergo-services/ergo/blob/master/gen/supervisor.go#L86 by adding field ProcessOptions to adjust the Mailbox length and other options

There may be a solution by adding a new option like ProcessOptions.FallbackProcess where messages should be sent if the process can't handle coming messages?

When receiving mailbox messages in batches, the application layer can create message queues to store unprocessed messages and solve problems selectively, which is much more feasible than discarking messages in Mailbox

I believe, introducing FallbackProcess in ProcessOptions solves this issue. This process could start another child's process and send this message there or handle it by itself. There should be a good idea to send a notification message to the sender If the mailbox of FallbackProcess overflows with dropping message and printing warning to the stdout.

Looking forward to version update,and issue #92 #93

Looking forward to version update!!

你的邮件已查收，谢谢！！！       ------waterlemon

Looking forward to version update!!

The next release is planned for March

fixed in 2.1.0


DEV-837

update error handling in join_project_existing_user method (adapter-deterlab)

Chunwang, please leave comment here if you change anything, don't need to verbally explain to me. Christ always leave his comments here

I didn't merge 2 functions. Previously there were 2 function names, join_project_logged_on and join_project_existing_user. Join_project_logged_on didn't do anything, it just simply calls join_project_existing_user. So i just removed it.
"???" is the error message I need you to find out. That's why I want to talk to you this morning.
Please be clear of what messages are shown to the users and what messages are just for passing info to the SIO. You should keep the messages passing between adapter and SIO as short, standard and consistent as possible. If possible, can just return "ok" to sio.

In both situation when existing user re-apply for approved or non-approved team, the return output is "You are already a member"

Good enough to merge, but need to run local tests to test the 4 if-else branches :)


[Event Hubs Client] Ignore Diagnostics Tests

Summary
The focus of these changes is to ignore the diagnostics tests which have been intermittently failing during CI.  These will be investigated and fixed in a
pending PR.
Last Upstream Rebase
Friday, March 27, 9:48am (EDT)

Closing this in favor of #10893, which addresses the root cause.


Cannot get latest version: module contains a go.mod file, so module path should be github.com/giongto35/cloud-game/v2

Background
The github.com/giongto35/cloud-game uses Go modules and the current release stream version is v2. It must comply with the specification of "Releasing Modules for v2 or higher" available in the Modules documentation and enforced since the most recent versions of Go. Quoting the specification:

A package that has opted in to modules must include the major version in the import path to import any v2+ modules
To preserve import compatibility, the go command requires that modules with major version v2 or later use a module path with that major version as the final element. For example, version v2.0.0 of example.com/m must instead use module path example.com/m/v2.
https://github.com/golang/go/wiki/Modules#releasing-modules-v2-or-higher

Using go get (under go1.13 and go1.14) does not work for github.com/giongto35/cloud-game@v2+.
I consider this a pretty high severity issue since not doing so prevents any other Go project also using Go Modules to properly require giongto35/cloud-game on versions v2+ as a dependency, resulting in errors like:
invalid version: module contains a go.mod file, so major version must be compatible: should be v0 or v1, not v2

SO anyone using Go modules will not be able to easily use any newer version of giongto35/cloud-game
Steps to Reproduce

Under a project making use of Go modules, run go get targeting any version >= v2.0.0 of the giongto35/cloud-game:

$ go get<EMAIL_ADDRESS>go: finding github.com/giongto35/cloud-game v2.2.0
go: finding github.com/giongto35/cloud-game v2.2.0
go get<EMAIL_ADDRESS><EMAIL_ADDRESS>invalid version: module contains a go.mod file, so major version must be compatible: should be v0 or v1, not v2

Solution
Kill the go.mod files.
This would push them back to not being managed by Go modules (instead of incorrectly using Go modules). Importing specific versions would work, but they'd receive the +incompatible prefix and would need to be manually upgraded.
Probably best option short-term -- better to not use Go modules than use it incorrectly.
Also, best option for older branches/versions that aren't maintained.
Make breaking changes
Patch the go.mod file to declare the module as github.com/giongto35/cloud-game/v2 as per the specs. AND adjust all internal imports.
This would probably only be acceptable on the v2 line, since it'd break any consumers.
Two methods can be use:

a new branch in the same repo
use the folders structure on mainline branch (see Major Subdirectory structure on the Modules page).

Then development would take place in the new branch/repository, with the existing only updated with tags and/or with new things to forward.
Major version bump / repository change
Leave v2 as a dead version and bump to v3 with the path changes.
References

https://github.com/golang/go/wiki/Modules#semantic-import-versioning
https://golang.org/cmd/go/#hdr-Module_compatibility_and_semantic_versioning
https://github.com/golang/go/wiki/Modules#releasing-modules-v2-or-higher

@sergystepanov  @giongto35

Oh . Thank you very much. I was not aware of this Go Mod Issue. I will fix it ASAP. Thank you so much for the proposed solution as well : D

Thank you for your contribution ! ^_^

There will be a lot of these spam bots in the future.
I wonder why they are doing this (:? Do they hope to hot fix their (golang) garbage language design until not everyone get used to use it as it's convenient for people now?
Also I wonder, why they did this before Go2 release.
Anyway, my opinion that we might do this: add /v3 postfix when we are ready for v3 release in the future but this' not critical at all.

And, @KateGo520, could you elaborate a bit more on your motivation behind these carpet sendings? If you're not a bot ofc. (: (in other case I must to fill an abuse report to Github (: )

I am a Ph.D. student and my research topic is developing an effective technique to help open-source developers manage their Golang dependencies. I just provided the detection results of my detection tool and try to find a better way to help Go projects to adapt to module management mechanism. This is a non-trivial task. Guaranteeing the quality of our open-source community is our common goal. Thank for your support and understanding.

Best regards,
Kate

Right, thank you for clarifying. I won't bother you with further discussion, it'll be better to leave it as is for the sake of the research. (:
Thank you for your contribution and wish you luck with Ph.D!


Why is there a big difference between the color of mesh and the color of render?

Wonderful job !!!
But when I use sample_image_to_3d.ipynb，I get .ply file same with sample_text_to_3d.ipynb and get novel images using nerf or stf. there is a big color gap during the two methods. Please see the pictures below.
1.input image

2.mesh (in .ply files)
in blender

in meshlab

3.render by nerf

4.render bt stf

I would be grateful for any help from you !

https://api.paxful.com/paxful/v1/transactions/all

https://api.paxful.com/paxful/v1/transactions/all

thanks for your reply !
but this link looks a bit wrong


update eslint and rules

📝 Description
following Tuesday meeting, here are some eslint patches

Bump versions
add "no-nested-ternary": "error", rule cc @pcbailey
@yaacov @metalice , adding "@typescript-eslint/no-explicit-any" is problematic, how do we deal with Errors being any type? Example

@glekner @yaacov @metalice @pcbailey @upalatucci @hstastna @vojtechszocs
maybe we should try to enforce it when reviewing the PRs and try to avoid using any as a type, wdyt?

@glekner @yaacov @metalice @pcbailey @upalatucci @hstastna @vojtechszocs
now that we have a utils directory with no SDK component, we can re-add unit testing + jdoc rules to the utils directory, this may make the utils less dangerous to use.

added jsdoc to existing functions/hooks under shared utils and a nested eslintrc file for enforcing jsdoc in that directory

/lgtm


last validation batch has nan loss

dataset:  data/hemi/12_micron_cube/masked_val

Loss masking might zero out all edges, therefore normalizing the mean loss would be a division by 0.

Fixed in 4c6e0708c44357c1936af44ce063c9e8ec8ac786


Fixed offset calculation algorithm

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

Project coverage is 45.50%. Comparing base (483d271) to head (677ce54).

Additional details and impacted files
@@            Coverage Diff             @@
##             main       #9      +/-   ##
==========================================
+ Coverage   45.38%   45.50%   +0.12%
==========================================
  Files          53       53
  Lines        1800     1804       +4
==========================================
+ Hits          817      821       +4
  Misses        970      970
  Partials       13       13

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


run docker  problem

when i run "./run_docker.sh", the terminator shows "access control disabled, clients can connect from any host
024c762facf2c1bf78c431c297a7d3c4275692d290fb17e6d48ff2668cda55ba"

Try to run this command in your terminal
xhost root:local

thanks a lot，the command“xhost +local:root" works


You need update GPU usage, please

What is wrong?
Brain JS use old version of GPU.js with  gpu_js class, now gpu library has only GPU class, not gpu_js.
Need only overwrite all gpu_js.* to GPU.* and gpu_js.GPU to GPU and  all will be work, now GPU mode not work.
Thanks!

this is correct, i managed to work around this by adding this  in my own script tag (before my js code)
`

<script>
    gpu_js = GPU;
    gpu_js.GPU = GPU;
</script>

`

Is this still an issue for anyone? As of beta v23, I am able to successfully train and run inference with the NeuralNetworkGPU() class, in both Firefox and Chromium.


bump: [#4550] Add Node 18 and 20 support

Fixes #4550
Fixes #4709

[!IMPORTANT]
Node 14 and 16 versions have been removed from the testing pipeline execution due to packages that require newer versions of Node and don't support them.

Description
This PR updates @microsoft/orchestrator-core  from 4.14.4 to 4.15.1 that was preventing Node 18+ installations due to non-existing binaries available for them.
Additionally, it adds support for Node 18 and 20 versions to allow installation of newer versions of packages like Azure Identity and MSAL that have Node 18+ limitation.
We updated all pipelines to target the latest LTS Node version, and for the testing one we also included Node 18 and above.
Specific Changes

Pipelines updated to run against Node 18 and 20.
Added bf-cli package installation as global dependency in the test:schemas pipeline due to having the Orchestrator-Core limitation yet.
Updated @microsoft/orchestrator-core from 4.14.4 to 4.15.1 that support newer versions of node.
Updated @azure/msal-node to latest 2.13.0 version.
Updated @azure/identity to latest 4.4.1 version. Fixing CVE-2024-35255.
Added validation checks for newer versions of TypeScript, 4.3 and 4.4 were removed from this validation since they aren't working in Node 18 and 20.
Replaced browserify with tsup in botframework-connector.
Fixed multiple tests due to Node version changes.

Testing
The following images show the new botframework-connector browser compilation, the MultiTenant, SingleTenant, Certificate, and MSI type of authentications working.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>0
Details

15 of 16 (93.75%)  changed or added relevant lines in 9 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.01%) to 84.048%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

libraries/botbuilder-ai/src/globals.ts
2
3
66.67%

Totals

Change from base Build<PHONE_NUMBER>4:
-0.01%

Covered Lines:
20351

Relevant Lines:
22912

💛  - Coveralls


Custom checkout options are getting reset after a deployment

Describe the bug
Custom checkout options are getting reset after a deployment. For example, a custom logo and custom accent colors is set back to the default options.
To Reproduce
Steps to reproduce the behavior:

Customize the checkout via Settings > Checkout in the Shopify admin
run command 'theme deploy --env=production --allow-live
Checkout custom checkout settings and see they are all set back to default

Expected behavior
We expect that custom settings are kept in tact.
Environment

OS , macOS Catalina
Themekit version 1.1.4
Editor Sublime
ignore_files:

node_modules/
parts/
components/
base/

Hi @lamalamaMark
This is likely because some entries in your local config in config/settings_data.json are overwriting settings made in Admin.
There are two ways around this:

You can choose to add this file to the ignore_files in the Theme Kit config.yml.
You can download the settings before deploying with theme download config/settings_data.json.

Awesome, definitely was causing the situation.

Ok, good to hear. I've opened #877 to see we can make this clearer.


lossless TryFrom<f{32,64}> implementations for f16 and bf16

Would it be possible to introduce lossless TryFrom implementations for bf16 and f16 types from Rust primitive f32 and f64 types so that for example f16::try_from(value).map(f16::to_f32) is either Err or Ok(value2) with value == value2 for all possible values?
This means that if TryFrom is Ok the conversion was lossless and it is possible to fully recover the f32 or f64 value later on if no mutations happen in between. If TryFrom yields Err then it is not possible to losslessly convert the particular f32 or f64 value. No rounding shall take place.
I actually need this if this can be implemented efficiently. :)

@Robbepop not sure if there's still interest but I implemented this and would gladly make a PR here. It's not too complicated or inefficient, but it does need special handling of denormals and overflow.
It will roundtrip for anything besides signaling NaNs, which will be returned as a NaN (either quiet or signaling depending on context), and it's not much less efficient or is as efficient compared to the software conversion functions.