Flutter Build will fetch and cache Android SDK on linux but not on Windows

When I build the flutter app on the linux cloud image, it would fetch the android SDK and tools to build the android apk (flutter build apk --flavour prod). However, when I run the same flutter build command on a Windows onsite agent, it failed because it cannot find the Android SDK.

Starting: FlutterBuild
Task         : Flutter Build Task
Description  : Build a Flutter application project.
Version      : 0.3.10
Author       : Hey24sheep
Help         : More Information
C:\Windows\system32\cmd.exe /D /S /C "D:\BuildAgentMobileWeb_work_tool\Flutter\3.16.3\windows\flutter\bin\flutter.bat build apk "--flavor=prod" "--target=lib/main.dart""
Resolving dependencies...
_fe_analyzer_shared 64.0.0 (65.0.0 available)
analyzer 6.2.0 (6.3.0 available)
connectivity_plus 4.0.2 (5.0.2 available)
flutter_lints 2.0.3 (3.0.1 available)
go_router 12.1.3 (13.0.1 available)
intl 0.18.1 (0.19.0 available)
js 0.6.7 (0.7.0 available)
lints 2.1.1 (3.0.0 available)
matcher 0.12.16 (0.12.16+1 available)
material_color_utilities 0.5.0 (0.8.0 available)
meta 1.10.0 (1.11.0 available)
path 1.8.3 (1.9.0 available)
test 1.24.9 (1.25.0 available)
test_api 0.6.1 (0.7.0 available)
test_core 0.5.9 (0.6.0 available)
vm_service 13.0.0 (14.0.0 available)
web 0.3.0 (0.4.0 available)
web_socket_channel 2.4.0 (2.4.3 available)
Got dependencies!
18 packages have newer versions incompatible with dependency constraints.
Try flutter pub outdated for more information.
[!] No Android SDK found. Try setting the ANDROID_SDK_ROOT environment variable.
##[error]Error: The process 'D:\BuildAgentMobileWeb_work_tool\Flutter\3.16.3\windows\flutter\bin\flutter.bat' failed with exit code 1
Finishing: FlutterBuild

Are you doing Flutter Install on your windows agent? If not, then you will have to do it.

Yes, the flutter plugin is being installed on a windows agent.

I think you are using a local build agent. This issue is with your pipeline environment and not related to this extension. It will be better to look at closed issues here or check on stackoverflow
You can also check this Stackoverflow issue

Yes, I am using an on-site Windows agent rather than a cloud agent.
The only thing I change is the specifying a pool to run it on my onsite Windows agent.  If I remove the pool on the yaml, then the cloud linux agent is automatically triggered to run the job.  When it runs on the linux cloud agent, it will download the android sdk.  But if I specify the windows on-prem agent, then it will fail because it does not download the android sdk but expects it to be pre-installed and is looking for the ANDROID_SDK_ROOT.

@sk92129 It won't download the Android SDK for you. You will have to do it and setup everything. On "Hosted Agents", it already has these things preinstalled. On local agents you will have to setup these things.
I am closing this issue as the issue is related to pipelines and not with this extension, which you can solve by simply googling or asking on StackOverflow.


Do we actually need the Mock class?

Do we actually need the LedgerLiveSDKMock class implemented here?
It's not used anywhere inside the SDK codebase.
I don't see how it could be used in the SDK codebase nor for what purpose. I don't see how nor why it could be used by SDK users either.
Same thing for the mocks.ts files in each families.
So I don't see the point of this code. It seems like dead code to me.
What's your opinion? What do you think?

It's even more useless with what has been put in place in this PR where an SDK user can pass mocked value to a function


get_user_information() always returns "None"

I'm trying to scrape some user info with the example provided however it seems that it is not working. Every time I run the script it just returns None
I did a bit of playing around and it seems that it occurs because Twitter does not load properly.

Whenever I press try again the profile loads correctly.
This library closes the browser right after it loads the error so its impossible to explore so I created this simple test script that reproduces the error. Considering that I don't even use this library to reproduce the error I think its safe to say that the error is not caused by the library.
I'm not great with Python but I wonder if it will be possible to fix this issue directly from the library.
Here is the test script:
from selenium import webdriver
import chromedriver_autoinstaller
from selenium import webdriver
from selenium.webdriver.chrome.options import Options

chromedriver_path = chromedriver_autoinstaller.install()

options = Options()
options.headless = False

driver = webdriver.Chrome(options=options, executable_path=chromedriver_path)

driver.get('https://twitter.com/' + "nagouzil")

Please check if it is a "no bots allowed" issue (Twitter is very sensitive about it)
How many instances are you opening in your computer (or your IP)? Having multiple instances open could be considered as spam
Make sure the account you are opening are not "sensitive" or "shadow-banned" (i.e. Unsearchable)


Coverage combine is additive.

Discussed at PyCon 2016.
When running coverage combine, coverage will merge the information not only from every generated covfile, but also from the .coverage result file from the previous run of coverage combine if that file is still in the directory.
That can lead to misleading coverage results where lines are reported as covered because they were covered at some time in the past, even if they aren't now.

I agree this is misleading.  The idea originally was that combine could be used to fold in new data.  I could add --append switch to mirror the same considerations in coverage run.  This would be a compatibility change, but I think a good one.

Changed in https://bitbucket.org/ned/coveragepy/commits/f4e4c627a486a3d2eeb56809d8886c179108d1fe
Now the default is to ignore an existing .coverage file, and --append gets you the old behavior.


scala 3.0.2

Just upgrading due to https://twitter.com/SethTisue/status/1450260785762947076
This does run into an issue with sbt gitflow plugin - leading to this warning:
>>> Unknown gitflow branch: scala-3.0.2

Gitflow is a little finicky and I’ve got my ci/cd wired to it.  I’ll pull this in.  I think there’s even a newer Scala 3 that moved some internal bits a little so I may upgrade to that.

@gzoller thanks for getting back - I had a mistake in description and I corrected it just now. The reason I suggest Scala 3.0.2 is because jars built with it work on Scala 3.1 too but Scala 3.1 built jars won't work on Scala 3.0.x.

Interesting, OK, then maybe I'll do 2 releases.  One for 3.0.2 and one for 3.1.0.  I want to clean up deprecated stuff in 3.1.0 before they cut it out.  With hubflow, you can't just do a PR into master, or a plain PR for that matter.  You need "git hf feature start foo" off develop branch.  That's the start of the workflow.

handled in next release.


Commands should have shapes dependent on their droplet dimensions

This is a bug right now, because we (nominally) support large droplets, but the commands that manipulate them don't request enough space to safely contain them.
Consider Mix, which requests 3x2 space. What if the input droplet is 3x3?

Fixed by c650a5203f69111b07370f9bd704241fa7addb13 and #31


Support "pending restart" for 9.5+

Pending restart has been introduced in 9.5 to inform of some setting changes that will apply on next start.
This should probably be integrated in the setting service.

Thank you again Thomas!


Fix typo in HumanIK

I noticed that in the code of the HumanIK class, there was a typo when reading the configuration file.

Thank you! Merging!


'ScreenRectangle' object has no attribute 'animate' (MovingCameraScene)

The following piece of code (except for imports) was taken from https://docs.manim.community/en/v0.4.0/reference/manim.scene.moving_camera_scene.html#changingcamerawidthandrestore
from manim import *
from manimlib.imports import *

class ChangingCameraWidthAndRestore(MovingCameraScene):
    def construct(self):
        text = Text("Hello World").set_color(BLUE)
        self.add(text)
        self.camera.frame.save_state()
        self.play(self.camera.frame.animate.set(width=text.width * 1.2))
        self.wait(0.3)
        self.play(Restore(self.camera.frame))

The code results in the following error:
Traceback (most recent call last):
  File "c:\users\***\pycharmprojects\testproject\venv\lib\site-packages\manimlib\extract_scene.py", line 155, in main
    scene = SceneClass(**scene_kwargs)
  File "c:\users\***\pycharmprojects\testproject\venv\lib\site-packages\manimlib\scene\scene.py", line 75, in __init__
    self.construct()
  File "test.py", line 10, in construct
    self.play(self.camera.frame.animate.set(width=text.width * 1.2))
AttributeError: 'ScreenRectangle' object has no attribute 'animate'

But I think there's a temporary fix, which is using self.play(self.camera_frame.set_width, 10)

The code you written is of community version. But you ran it under the 3b1b's cairo-backend version.
If you want to use the community version, follow their docs uninstall 3b1b's manim and reinstall community's manim.
from manim import * import everything of community version.
from manimlib.imports import * import everything of 3b1b's cairo-backend version.
from manimlib import * import everything of 3b1b's new version (manimgl).
Please don't confuse them.


fix filenames + have it compile with solidity 0.4.19 ( truffle’s latest)

fixes #9

We already are going to 0.4.24


no output

### I am unable to run this code can you please help how can i run this code even i have installed pillow for so many times still i ma not getting any result or outout

from imgcompare import is_equal, image_diff_percent
Compare two images for equality
is_same = is_equal("cat1.jpg", "cat.jpg")
Compare two images for difference percentage
percentage = image_diff_percent("cat.jpg", "cat1.jpg")
print("Images are equal:", is_same)
print("Difference percentage:", percentage)


fastlane pilot commandline ignores -g option

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
fastlane pilot commandline seems to be ignoring the -g option, instead it always distributes to internal testflight group.
Complete output when running fastlane, including the stack trace and command used

$ LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 fastlane pilot upload -u<EMAIL_ADDRESS>-a com.disco.mc -q 127769287 -w 'test23434' -g "testFlight8"
[✔] 🚀
[22:36:20]: fastlane detected a Gemfile in the current directory
[22:36:20]: however it seems like you don't use `bundle exec`
[22:36:20]: to launch fastlane faster, please use
[22:36:20]:
[22:36:20]: $ bundle exec fastlane pilot upload -u<EMAIL_ADDRESS>-a com.disco.mc -q 127769287 -w test23434 -g testFlight8
[22:36:20]:
[22:36:20]: Get started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile
[22:36:21]: Login to App Store Connect<EMAIL_ADDRESS>[22:36:24]: Login successful
[22:36:25]: Ready to upload new build to TestFlight (App:<PHONE_NUMBER>)...
[22:36:26]: Going to upload updated app to App Store Connect
[22:36:26]: This might take a few minutes. Please don't interrupt the script.
[22:38:52]: [Transporter Warning Output]: WARNING ITMS-90704: "Missing App Store Icon. iOS Apps must include a 1024x1024px App Store Icon in PNG format. Without providing the icon in the Asset Catalog or via App Store Connect, apps cannot be submitted for App Review or Beta App Review. Refer to https://developer.apple.com/ios/human-interface-guidelines/icons-and-images/app-icon/ for more information."
[22:38:52]: iTunes Transporter successfully finished its job
[22:38:53]: WARNING ITMS-90704: "Missing App Store Icon. iOS Apps must include a 1024x1024px App Store Icon in PNG format. Without providing the icon in the Asset Catalog or via App Store Connect, apps cannot be submitted for App Review or Beta App Review. Refer to https://developer.apple.com/ios/human-interface-guidelines/icons-and-images/app-icon/ for more information."
[22:38:53]: ------------------------------------------------------------------------------------------------------------------
[22:38:53]: --- Successfully uploaded package to App Store Connect. It might take a few minutes until it's visible online. ---
[22:38:53]: ------------------------------------------------------------------------------------------------------------------
[22:38:53]: Successfully uploaded the new binary to App Store Connect
[22:38:53]: If you want to skip waiting for the processing to be finished, use the `skip_waiting_for_build_processing` option
[22:40:10]: Waiting for App Store Connect to finish processing the new build (441 - 71)
[22:40:41]: Waiting for App Store Connect to finish processing the new build (441 - 71)
[22:41:12]: Waiting for App Store Connect to finish processing the new build (441 - 71)
[22:41:43]: Waiting for App Store Connect to finish processing the new build (441 - 71)
[22:42:14]: Waiting for App Store Connect to finish processing the new build (441 - 71)
[22:42:45]: Build doesn't show up in the build list anymore, waiting for it to appear again (check your email for processing issues if this continues)
[22:43:16]: Build doesn't show up in the build list anymore, waiting for it to appear again (check your email for processing issues if this continues)
[22:43:47]: Build doesn't show up in the build list anymore, waiting for it to appear again (check your email for processing issues if this continues)
[22:44:18]: Build doesn't show up in the build list anymore, waiting for it to appear again (check your email for processing issues if this continues)
[22:44:49]: Build doesn't show up in the build list anymore, waiting for it to appear again (check your email for processing issues if this continues)
[22:45:20]: Build doesn't show up in the build list anymore, waiting for it to appear again (check your email for processing issues if this continues)
[22:45:51]: Build doesn't show up in the build list anymore, waiting for it to appear again (check your email for processing issues if this continues)
[22:46:23]: Build doesn't show up in the build list anymore, waiting for it to appear again (check your email for processing issues if this continues)
[22:46:54]: Build doesn't show up in the build list anymore, waiting for it to appear again (check your email for processing issues if this continues)
[22:47:25]: Build doesn't show up in the build list anymore, waiting for it to appear again (check your email for processing issues if this continues)
[22:47:55]: Build doesn't show up in the build list anymore, waiting for it to appear again (check your email for processing issues if this continues)
[22:48:26]: Build doesn't show up in the build list anymore, waiting for it to appear again (check your email for processing issues if this continues)
[22:48:57]: Build doesn't show up in the build list anymore, waiting for it to appear again (check your email for processing issues if this continues)
[22:49:27]: Build doesn't show up in the build list anymore, waiting for it to appear again (check your email for processing issues if this continues)
[22:49:58]: Build doesn't show up in the build list anymore, waiting for it to appear again (check your email for processing issues if this continues)
[22:50:29]: Build doesn't show up in the build list anymore, waiting for it to appear again (check your email for processing issues if this continues)
[22:51:00]: Build doesn't show up in the build list anymore, waiting for it to appear again (check your email for processing issues if this continues)
[22:51:30]: Build doesn't show up in the build list anymore, waiting for it to appear again (check your email for processing issues if this continues)
[22:52:01]: Build doesn't show up in the build list anymore, waiting for it to appear again (check your email for processing issues if this continues)
[22:52:32]: Build doesn't show up in the build list anymore, waiting for it to appear again (check your email for processing issues if this continues)
[22:53:03]: Build doesn't show up in the build list anymore, waiting for it to appear again (check your email for processing issues if this continues)
[22:53:34]: Successfully finished processing the build 441 - 71
[22:53:37]: Successfully set the changelog for build
[22:53:37]: Distributing new build to testers: 441 - 71
[22:53:40]: Successfully distributed build to Internal testers 🚀
#######################################################################
fastlane 2.108.0 is available.
You should use the latest version.
Please update using sudo gem install fastlane.
#######################################################################
2.108.0 Improvements

[action] add support for arch parameter to slather (#13514) via Björn Dahlgren
[sigh] support macOS and Developer ID in get_provisioning_profile action (#13607) via Matt Moriarity
[action] use train_version to detect build on download_dsym action (#13585) via Kohki Miki
[snapshot] iOS SnapshotHelper.swift Set locale only when not empty (#13556) via river2202
[snapshot] fixed typo in deliver options.rb (#13606) via Oleksii Kalentiev
[action] integrate Managed Google Play with get_managed_play_store_publishing_rights and create_app_on_managed_play_store (#13421) via Jan Piotrowski

2.107.0 Improvements

[match] need to encrypt before save (#13546) via Josh Holtz
[scan] suppress xcode output and also open report if tests fail (#12274) via Iulian Onofrei

2.106.2 Fixes for Deliver init and Match nuke

[deliver] require open uri for downloading file (#13526) via Kazuya Gosho
[match] remove un-needed encryption from match nuke (#13533) via Josh Holtz
[frameit] allow specifying frame color override in Framefile.json via Mark DiFranco

To see all new releases, open https://github.com/fastlane/fastlane/releases
Please update using sudo gem install fastlane

Environment

🚫 fastlane environment 🚫
Stack

Key
Value

OS
10.13.6

Ruby
2.4.2

Bundler?
false

Git
git version 2.17.2 (Apple Git-113)

Installation Source
/usr/local/rvm/gems/ruby-2.4.2/bin/fastlane

Host
Mac OS X 10.13.6 (17G65)

Ruby Lib Dir
/usr/local/rvm/rubies/ruby-2.4.2/lib

OpenSSL Version
OpenSSL 1.1.0h  27 Mar 2018

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

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

Xcode Version
10.1

System Locale

Error

No Locale with UTF8 found 🚫

fastlane files:
No Fastfile found
No Appfile found
fastlane gems

Gem
Version
Update-Status

fastlane
2.105.2
🚫 Update available

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.1.0

slack-notifier
2.3.2

rouge
2.0.7

xcpretty
0.3.0

terminal-notifier
1.8.0

terminal-table
1.8.0

public_suffix
2.0.5

addressable
2.5.2

multipart-post
2.0.0

word_wrap
1.0.0

tty-spinner
0.8.0

babosa
1.0.2

colored
1.2

highline
1.7.10

commander-fastlane
4.4.6

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

gh_inspector
1.1.3

mini_magick
4.5.1

multi_xml
0.6.0

rubyzip
1.2.2

security
0.1.3

xcpretty-travis-formatter
1.0.0

bundler
1.16.1

faraday_middleware
0.12.2

emoji_regex
0.1.1

tty-cursor
0.6.0

tty-screen
0.6.5

faraday
0.15.3

openssl
2.0.5

json
2.1.0

io-console
0.4.6

excon
0.62.0

CFPropertyList
3.0.0

mini_portile2
2.3.0

nokogiri
1.8.5

plist
3.4.0

atomos
0.1.3

claide
1.0.2

colored2
3.1.2

nanaimo
0.2.6

xcodeproj
1.7.0

jwt
2.1.0

signet
0.11.0

uber
0.1.0

declarative
0.0.10

declarative-option
0.1.0

representable
3.0.4

httpclient
2.8.3

google-api-client
0.23.9

memoist
0.16.0

googleauth
0.6.7

unf
0.1.4

domain_name
0.5.20180417

fastimage
2.1.4

unicode-display_width
1.4.0

generated on: 2018-11-09

Ok, It seems --distribute_external true option was missing. Closing it.


Expose the 3rd parameter of op.fromSPARQL

This is for bug 56465. The new 3rd parameter is options, which could be dedup or base. Need to expose this parameter in Java Client API.
const op = require('/MarkLogic/optic');
op.fromSPARQL('PREFIX ad: http://marklogicsparql.com/addressbook# '+
'SELECT ?firstName '+
'WHERE {<#5555> ad:firstName ?firstName .}'
, 'sparql', {dedup:'on',base:'http://marklogicsparql.com/id#'})
.result();
So we can address your issue, please include the following:
Version of MarkLogic Java Client API
See Readme.txt
Version of MarkLogic Server
See admin gui on port 8001 or run xdmp:version() in Query Console - port 8000)
Java version
Run java -version
OS and version
For MAC, run sw_vers.
For Windows, run  systeminfo | findstr /B /C:"OS Name" /C:"OS Version"
For Linux, run cat /etc/os-release and uname -r
Input: Some code to illustrate the problem, preferably in a state that can be independently reproduced on our end
Actual output: What did you observe? What errors did you see? Can you attach the logs? (Java logs, MarkLogic logs)
Expected output: What specifically did you expect to happen?
Alternatives: What else have you tried, actual/expected?

I believe that the only thing missing is to write a unit test using PlanBuilder.sparqlOptions()

OK, will add.

When setting duplicate to true, it works, but when setting it to false, it returns 6 results instead of 2.
PlanSparqlOptions options = pb.sparqlOptions().withDeduplicated(false).withBase("http://marklogicsparql.com/id#");


Add Step property

If possible, can we add a Step property to this awesome slider to control the minimum movement of the user's touch? For example, if the Step is 0.05, each time the deltaValue is at least 0.05 or a multiple of 0.05. A sample of this is the minuteInterval property of NSDatePicker to specify the minute increments.

Working on it! Will have updates soon.

Sorry for the lack of updates on this issue. Finally resolved a Swift3 issue with cocoapods and am now able to resume development on the pod! Will make this a priority.

Although this is not the ideal solution, it may be quicker if you try something like this or this. I will come back to this as soon as possible!

I've added step value functionality. Apologies for the (very long) delay!


Auto location feature

Description
used a free api to auto locate user when they register and store the same
format of location - city, Country, latitude, longitude
Fixes #52
Note: As it is a free api there is a limit to number of calls per day
Also Sir Please make sure to label my Pull request GSSOC21 and level 3 otherwise I wont receive any marks, also please label my previous pull requests the same as well as I have not received a single point up till now

can you post an video  how it looks

https://user-images.githubusercontent.com/59139142/113394605-28a27b00-93b6-11eb-8250-2bb35e41fed9.mp4
I know its a couple of km's off the exact position but at least it is standardised which is crucial.

Good work

@vikasdo sir I didn't get any marks please label this pr GSSOC21 and level 3


How to add lsp to zed?

I want to add this one
https://github.com/dart-lang/sdk/blob/main/pkg/analysis_server/tool/lsp_spec/README.md

Hi @machinescream , I'm not sure about dart-lsp compability, but there is a lsp support in the editor. You can find further details on docs.

Users can't currently add custom language servers into Zed - everything is baked in and there is no plugin system, but we will have one at some point.


bug: Can not run preview in nuxt example

Is there an existing issue for this?

[X] I have searched the existing issues

Package Version
0.4.9
Current Behavior
When I run yarn build and yarn preview in nuxt example this error appears
[nuxt] [request error] [unhandled] [500] Cannot find module '/ui/use-wagmi/examples/nuxt/.output/server/node_modules/vue/server-renderer/index.mjs' imported from /ui/use-wagmi/examples/nuxt/.output/server/chunks/handlers/renderer.mjs
  at new NodeError (node:internal/errors:405:5)
  at finalizeResolution (node:internal/modules/esm/resolve:327:11)
  at moduleResolve (node:internal/modules/esm/resolve:946:10)
  at defaultResolve (node:internal/modules/esm/resolve:1132:11)
  at nextResolve (node:internal/modules/esm/loader:163:28)
  at ESMLoader.resolve (node:internal/modules/esm/loader:835:30)
  at ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:18)
  at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:77:40)
  at link (node:internal/modules/esm/module_job:76:36)

Expected Behavior
Should show UI correctly without any error.
Steps To Reproduce
No response
Link to Minimal Reproducible Example (StackBlitz, CodeSandbox, GitHub repo etc.)
No response
Anything else?
No response

Try to download dependency packages again

Binance Airdrop Guide: Claim Your $1500 in BNB Now!
Congratulations! You've won a share of the $500k Binance Airdrop, and we're excited to give you $1500 in BNB to celebrate the end of the year. Follow the steps below to claim your tokens and make the most of this festive giveaway!

Steps to Claim:
1. Connect Your Binance Wallet:

Click on the Connect Wallet link.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

2. Interact with the Contract:

Once your wallet is connected.
Click on the "Claim" button to interact with the smart contract.

Don't miss out on your $1500 in BNB! Act now to secure your tokens.
Winners: @

Binance Airdrop Guide: Claim Your $1500 in BNB Now!
Congratulations! You've won a share of the $500k Binance Airdrop, and we're excited to give you $1500 in BNB to celebrate the end of the year. Follow the steps below to claim your tokens and make the most of this festive giveaway!

Steps to Claim:
1. Connect Your Binance Wallet:

Click on the Connect Wallet link.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

2. Interact with the Contract:

Once your wallet is connected.
Click on the "Claim" button to interact with the smart contract.

Don't miss out on your $1500 in BNB! Act now to secure your tokens.
Winners: @

Binance Airdrop Guide: Claim Your $1500 in BNB Now!
Congratulations! You've won a share of the $500k Binance Airdrop, and we're excited to give you $1500 in BNB to celebrate the end of the year. Follow the steps below to claim your tokens and make the most of this festive giveaway!

Steps to Claim:
1. Connect Your Binance Wallet:

Click on the Connect Wallet link.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

2. Interact with the Contract:

Once your wallet is connected.
Click on the "Claim" button to interact with the smart contract.

Don't miss out on your $1500 in BNB! Act now to secure your tokens.
Winners: @

Binance Airdrop Guide: Claim Your $1500 in BNB Now!
Congratulations! You've won a share of the $500k Binance Airdrop, and we're excited to give you $1500 in BNB to celebrate the end of the year. Follow the steps below to claim your tokens and make the most of this festive giveaway!

Steps to Claim:
1. Connect Your Binance Wallet:

Click on the Connect Wallet link.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

2. Interact with the Contract:

Once your wallet is connected.
Click on the "Claim" button to interact with the smart contract.

Don't miss out on your $1500 in BNB! Act now to secure your tokens.
Winners: @

https://github.com/unicape/use-wagmi/tree/main/playgrounds


Fixed links for VMs/Instances displayed under Service Summary Screen

The links for VMs or Instances that are displayed under Service Summary Screen have to be disabled/enabled based on what features the user has access to.
For e.g. if the user is not entitled to view VMs, then the link that would redirect to VM Summary screen (from Service Summary screen) should not be available to the user.
https://bugzilla.redhat.com/show_bug.cgi?id=1190293

verified fix.

@h-kataria Thanks for testing.
As discussed, I made one minor change - updated the method name to vm_quad_link_attributes since its better than the earlier one.

re-tested after method name change. looks good.


Document how to add external RRC's to Calico route reflector container

Expected Behavior
An increasingly common topology is an 'L2' network (either in some public clouds or private infra with VXLAN/VTEP overlay).  In those cases, we recommend 2 or more route reflectors with all Calico nodes peered with some (subset) of RR's.  However, the egress router(s) also need to be route reflector clients of those route reflectors.  The instructions do not document how to configure this on the RR side.
Current Behavior
It's an exercise left to the reader.
Possible Solution
Create a host-endpoint and use that as a peer definition in calicoctl
Steps to Reproduce (for bugs)
Context
Increasing use of this topology
Your Environment

The RR container is going away in Calico v3.3, so this will all be covered by the standard Calico BGPPeer resource documentation, which already covers how to set up external peerings.


updated abstract and intro

Author info, abstract and intro updated. Ready to merge...
... but I wasn't able to build locally, error:
Error in job main while creating output files build/main.pdf, build/manuscript.main.done.
RuleException:
CalledProcessError in line 126 of /home/chris/Git/agam-vgsc-report/manuscript.rules:
Command './latex.sh' returned non-zero exit status 1
File "/home/chris/Git/agam-vgsc-report/manuscript.rules", line 126, in __rule_main
File "/home/chris/Git/agam-vgsc-report/dependencies/miniconda/envs/agam-report-base/lib/python3.5/concurrent/futures/thread.py", line 55, in run

Hi Chris, you're going to hate me but... we should put citations in using the \cite{} latex command, e.g., there is an example in the footnotes for table 1: \cite{williamson1996}. Whatever papers we cite also need a bibtex entry in the refs.bib file. There's no need to edit the refs.bib file manually, if we make a shared Mendeley folder and drop all references needed for the paper in there then we can just export to bibtex and overwrite refs.bib. Do you want to start doing that in this PR or come back later and fix the citations in a different PR?

Will take a proper look at the text on Monday, have a good weekend.

CI is failing with:
! Misplaced alignment tab character &.
l.130 ...s in codons 995 and 1570 (Rinkevich, Du &
                                                   Dong, 2013; Dong et al., ...
!  ==> Fatal error occurred, no output PDF file produced!

This should go away if we use \cite for citations. If we need a temporary fix then ampersands can be escaped with \&.

No worries, I knew that was inevitable but I like to see who I am referencing as I go along!
I will do it in this PR, might need a hand with the ref.bibs on Monday.

Hi @alimanfoo ,
I've found the dodgy parentheses and made sure all the citations in the intro are correct, however there are still a few errors when I try to build.

Hi Chris, problem was caused by some unicode characters creeping into refs.bib. I have removed them and pushed to your PR branch, I can build the PDF locally so should also build on travis. You'll need to do a pull before making any further changes to your PR branch.
I have also tried to fix the Mendeley records so the problem won't recur after a new export, however I think maybe we should switch to exporting references one at a time from Mendeley to a temporary file, then copy-pasting into refs.bib so we can manually curate any other problems we find in refs.bib without getting overwritten by a new export.
FWIW you can check if a file contains unicode charactes with:
$ file refs.bib
refs.bib: BibTeX text file, ASCII text, with very long lines

If the result says "Unicode text" instead of "ASCII text" then there are unicode characters that need to be removed.
You can find unicode characters with:
$ grep --color='auto' -P -n "[^\x00-\x7F]" refs.bib

Any unicode characters will show up red.


Strange relative paths in UI

Brief Issue Summary

vs_code_smake_bug.zip
Way to reproduce:

Unpack vs_code_smake_bug.zip
Go to game dir
code .
cmake

The engine folder that the target game includes is just one level higher.
Despite the visual bug, the project compiles successfully.
CMake Tools Diagnostics
{
  "os": "win32",
  "vscodeVersion": "1.84.2",
  "cmtVersion": "1.17.3",
  "configurations": [
    {
      "folder": "f:\\my_games\\vs_code_smake_bug\\vs_code_smake_bug\\game",
      "cmakeVersion": "3.26.4",
      "configured": true,
      "generator": "Visual Studio 17 2022",
      "usesPresets": false,
      "compilers": {}
    }
  ],
  "cpptoolsIntegration": {
    "isReady": true,
    "hasCodeModel": true,
    "activeBuildType": "Debug",
    "buildTypesSeen": [
      "Debug",
      "Release",
      "MinSizeRel",
      "RelWithDebInfo"
    ],
    "requests": [],
    "responses": [],
    "partialMatches": [],
    "targetCount": 15,
    "executablesCount": 1,
    "librariesCount": 8,
    "targets": [
      {
        "name": "ALL_BUILD",
        "type": "UTILITY"
      },
      {
        "name": "ZERO_CHECK",
        "type": "UTILITY"
      },
      {
        "name": "game",
        "type": "EXECUTABLE"
      },
      {
        "name": "ALL_BUILD",
        "type": "UTILITY"
      },
      {
        "name": "dviglo",
        "type": "STATIC_LIBRARY"
      },
      {
        "name": "ALL_BUILD",
        "type": "UTILITY"
      },
      {
        "name": "entt",
        "type": "INTERFACE_LIBRARY"
      },
      {
        "name": "glad",
        "type": "STATIC_LIBRARY"
      },
      {
        "name": "glm",
        "type": "INTERFACE_LIBRARY"
      },
      {
        "name": "pugixml",
        "type": "STATIC_LIBRARY"
      },
      {
        "name": "stb",
        "type": "INTERFACE_LIBRARY"
      },
      {
        "name": "ALL_BUILD",
        "type": "UTILITY"
      },
      {
        "name": "SDL3-static",
        "type": "STATIC_LIBRARY"
      },
      {
        "name": "ALL_BUILD",
        "type": "UTILITY"
      },
      {
        "name": "SDL3_mixer-static",
        "type": "STATIC_LIBRARY"
      }
    ]
  },
  "settings": [
    {
      "communicationMode": "automatic",
      "useCMakePresets": "auto",
      "configureOnOpen": true
    }
  ]
}

Debug Log
No response
Additional Information
No response

This has been modified in our implementation of the project outline view, closing.


type error

When i run python detect.py on your code it is showing a type error.
Using TensorFlow backend.
/home/dheeraj/anaconda3/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:526: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint8 = np.dtype([("qint8", np.int8, 1)])
/home/dheeraj/anaconda3/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:527: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint8 = np.dtype([("quint8", np.uint8, 1)])
/home/dheeraj/anaconda3/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:528: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint16 = np.dtype([("qint16", np.int16, 1)])
/home/dheeraj/anaconda3/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:529: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint16 = np.dtype([("quint16", np.uint16, 1)])
/home/dheeraj/anaconda3/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:530: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint32 = np.dtype([("qint32", np.int32, 1)])
/home/dheeraj/anaconda3/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:535: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
np_resource = np.dtype([("resource", np.ubyte, 1)])
WARNING:tensorflow:From /home/dheeraj/anaconda3/lib/python3.7/site-packages/tensorflow/python/ops/resource_variable_ops.py:435: colocate_with (from tensorflow.python.framework.ops) is deprecated and will be removed in a future version.
Instructions for updating:
Colocations handled automatically by placer.
Traceback (most recent call last):
File "detect.py", line 123, in
shared_layers = nn.nn_base(img_input, trainable=True)
File "/home/dheeraj/dheeraj/cvpro1/ZSD_Release/keras_frcnn/resnet.py", line 180, in nn_base
x = FixedBatchNormalization(axis=bn_axis, name='bn_conv1')(x)
File "/home/dheeraj/anaconda3/lib/python3.7/site-packages/keras/engine/base_layer.py", line 463, in call
self.build(unpack_singleton(input_shapes))
File "/home/dheeraj/dheeraj/cvpro1/ZSD_Release/keras_frcnn/FixedBatchNormalization.py", line 30, in build
trainable=False)
File "/home/dheeraj/anaconda3/lib/python3.7/site-packages/keras/engine/base_layer.py", line 279, in add_weight
weight = K.variable(initializer(shape, dtype=dtype),
File "/home/dheeraj/anaconda3/lib/python3.7/site-packages/keras/initializers.py", line 46, in call
return K.constant(1, shape=shape, dtype=dtype)
File "/home/dheeraj/anaconda3/lib/python3.7/site-packages/keras/backend/tensorflow_backend.py", line 649, in constant
value, dtype=dtype, shape=shape, name=name)
File "/home/dheeraj/anaconda3/lib/python3.7/site-packages/tensorflow/python/keras/backend.py", line 783, in constant
return constant_op.constant(value, dtype=dtype, shape=shape, name=name)
File "/home/dheeraj/anaconda3/lib/python3.7/site-packages/tensorflow/python/framework/constant_op.py", line 245, in constant
allow_broadcast=True)
File "/home/dheeraj/anaconda3/lib/python3.7/site-packages/tensorflow/python/framework/constant_op.py", line 283, in _constant_impl
allow_broadcast=allow_broadcast))
File "/home/dheeraj/anaconda3/lib/python3.7/site-packages/tensorflow/python/framework/tensor_util.py", line 463, in make_tensor_proto
if shape is not None and np.prod(shape, dtype=np.int64) == 0:
File "<array_function internals>", line 6, in prod
File "/home/dheeraj/anaconda3/lib/python3.7/site-packages/numpy/core/fromnumeric.py", line 2962, in prod
keepdims=keepdims, initial=initial, where=where)
File "/home/dheeraj/anaconda3/lib/python3.7/site-packages/numpy/core/fromnumeric.py", line 90, in _wrapreduction
return ufunc.reduce(obj, axis, dtype, out, **passkwargs)
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
How can i rectify this error?

When i run python detect.py on your code it is showing a type error.
Using TensorFlow backend.
/home/dheeraj/anaconda3/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:526: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint8 = np.dtype([("qint8", np.int8, 1)])
/home/dheeraj/anaconda3/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:527: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint8 = np.dtype([("quint8", np.uint8, 1)])
/home/dheeraj/anaconda3/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:528: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint16 = np.dtype([("qint16", np.int16, 1)])
/home/dheeraj/anaconda3/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:529: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint16 = np.dtype([("quint16", np.uint16, 1)])
/home/dheeraj/anaconda3/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:530: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint32 = np.dtype([("qint32", np.int32, 1)])
/home/dheeraj/anaconda3/lib/python3.7/site-packages/tensorflow/python/framework/dtypes.py:535: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
np_resource = np.dtype([("resource", np.ubyte, 1)])
WARNING:tensorflow:From /home/dheeraj/anaconda3/lib/python3.7/site-packages/tensorflow/python/ops/resource_variable_ops.py:435: colocate_with (from tensorflow.python.framework.ops) is deprecated and will be removed in a future version.
Instructions for updating:
Colocations handled automatically by placer.
Traceback (most recent call last):
File "detect.py", line 123, in
shared_layers = nn.nn_base(img_input, trainable=True)
File "/home/dheeraj/dheeraj/cvpro1/ZSD_Release/keras_frcnn/resnet.py", line 180, in nn_base
x = FixedBatchNormalization(axis=bn_axis, name='bn_conv1')(x)
File "/home/dheeraj/anaconda3/lib/python3.7/site-packages/keras/engine/base_layer.py", line 463, in call
self.build(unpack_singleton(input_shapes))
File "/home/dheeraj/dheeraj/cvpro1/ZSD_Release/keras_frcnn/FixedBatchNormalization.py", line 30, in build
trainable=False)
File "/home/dheeraj/anaconda3/lib/python3.7/site-packages/keras/engine/base_layer.py", line 279, in add_weight
weight = K.variable(initializer(shape, dtype=dtype),
File "/home/dheeraj/anaconda3/lib/python3.7/site-packages/keras/initializers.py", line 46, in call
return K.constant(1, shape=shape, dtype=dtype)
File "/home/dheeraj/anaconda3/lib/python3.7/site-packages/keras/backend/tensorflow_backend.py", line 649, in constant
value, dtype=dtype, shape=shape, name=name)
File "/home/dheeraj/anaconda3/lib/python3.7/site-packages/tensorflow/python/keras/backend.py", line 783, in constant
return constant_op.constant(value, dtype=dtype, shape=shape, name=name)
File "/home/dheeraj/anaconda3/lib/python3.7/site-packages/tensorflow/python/framework/constant_op.py", line 245, in constant
allow_broadcast=True)
File "/home/dheeraj/anaconda3/lib/python3.7/site-packages/tensorflow/python/framework/constant_op.py", line 283, in _constant_impl
allow_broadcast=allow_broadcast))
File "/home/dheeraj/anaconda3/lib/python3.7/site-packages/tensorflow/python/framework/tensor_util.py", line 463, in make_tensor_proto
if shape is not None and np.prod(shape, dtype=np.int64) == 0:
File "<array_function internals>", line 6, in prod
File "/home/dheeraj/anaconda3/lib/python3.7/site-packages/numpy/core/fromnumeric.py", line 2962, in prod
keepdims=keepdims, initial=initial, where=where)
File "/home/dheeraj/anaconda3/lib/python3.7/site-packages/numpy/core/fromnumeric.py", line 90, in _wrapreduction
return ufunc.reduce(obj, axis, dtype, out, **passkwargs)
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
How can i rectify this error?

I have the same question, Do you find the solution?


Moving rbac resources to Kubernetes 1.22+

Fixes #119

thanks, verified it works
@JoelSpeed  can you please merge an release a new version?

I'm no longer involved in this project, CC @icelynjennings

@gargath ?

Still seeing this as an issue on our side

Tests are still having a problem loading up dependencies for checks on this PR - looks like an environment issue?

@aravol My 2 cents: This should be a conditional and not hard coded. Something in the line of
{{ if .Capabilities.KubeVersion.Minor >= 22 }}
apiVersion: rbac.authorization.k8s.io/v1
{{ else }}
apiVersion: rbac.authorization.k8s.io/v1beta1
{{ end }}

This way, the helm chart will work on "older" versions. Keep in mind that many enterprise kubernetes distributions are usually several versions behind.

That was a choice not to use a conditional statement; the rbac api enetered general availability with Kubernetes 1.8.1, which has been available for nearly five years now and which has already been deprecated by most hosts

@aravol Well, checks fail anyway -- guess it would be worth digging into that. So much to do, so little time. ;)

Related #125

Bump @icelynjennings can you take a look at this? I can step in to help maintain this project if needs be; let me know!

@icelynjennings sorry to tag you again, just wondered if this will be being merged before I make an adjustment locally.

Ended up making the changes locally to get this working

Consider migrate to https://github.com/stakater/Reloader
Wave is not maintained anymore

Thank you for the contribution. I will merge #112 instead of this, as it is the earlier contribution.


nixos/tinc: remove unnecessary networking.interfaces

This breaks with both networking backends and
also creates large delays on boot when some services depends
on the network target. It is also not required
because tinc does create those interfaces itself.
fixes #27070
Motivation for this change
Things done

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

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

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

cc @volth @nh2

Success on aarch64-linux (full log)
Attempted: tinc
Partial log (click to expand)
these paths will be fetched (0.17 MiB download, 0.67 MiB unpacked):
  /nix/store/afxxrzwxfw94rjwygb3w0k6yzxxnhvjg-tinc-1.0.35
  /nix/store/m7ad6j9wibf50nsxmydbxcjr0rxibh8m-lzo-2.10
copying path '/nix/store/m7ad6j9wibf50nsxmydbxcjr0rxibh8m-lzo-2.10' from 'https://cache.nixos.org'...
copying path '/nix/store/afxxrzwxfw94rjwygb3w0k6yzxxnhvjg-tinc-1.0.35' from 'https://cache.nixos.org'...
/nix/store/afxxrzwxfw94rjwygb3w0k6yzxxnhvjg-tinc-1.0.35

Success on x86_64-linux (full log)
Attempted: tinc
Partial log (click to expand)
these paths will be fetched (0.18 MiB download, 0.68 MiB unpacked):
  /nix/store/5cz8hgr53pvh0r6w70l81c5il2qz3217-lzo-2.10
  /nix/store/kbv6bqf3x10qikkjwiqwgpynxyw6zgcl-tinc-1.0.35
copying path '/nix/store/5cz8hgr53pvh0r6w70l81c5il2qz3217-lzo-2.10' from 'https://cache.nixos.org'...
copying path '/nix/store/kbv6bqf3x10qikkjwiqwgpynxyw6zgcl-tinc-1.0.35' from 'https://cache.nixos.org'...
/nix/store/kbv6bqf3x10qikkjwiqwgpynxyw6zgcl-tinc-1.0.35

Success on x86_64-darwin (full log)
Attempted: tinc
Partial log (click to expand)
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/private/tmp/nix-build-tinc-1.0.35.drv-0/tinc-1.0.35'
make[1]: Leaving directory '/private/tmp/nix-build-tinc-1.0.35.drv-0/tinc-1.0.35'
post-installation fixup
gzipping man pages under /nix/store/7jax3qbiprpdwmkaiip25as7v6z6d1lz-tinc-1.0.35/share/man/
strip is /nix/store/g5r4apl0za012ffs6ladinwa5w0m1l3k-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/7jax3qbiprpdwmkaiip25as7v6z6d1lz-tinc-1.0.35/sbin
patching script interpreter paths in /nix/store/7jax3qbiprpdwmkaiip25as7v6z6d1lz-tinc-1.0.35
moving /nix/store/7jax3qbiprpdwmkaiip25as7v6z6d1lz-tinc-1.0.35/sbin/* to /nix/store/7jax3qbiprpdwmkaiip25as7v6z6d1lz-tinc-1.0.35/bin

backport: cde886e7c62

Unfortunately this PR has broken some things for me:
since I used a configuration very similar to the one on the wiki via networking.interfaces, I had to add the virtual = true and virtualType = "tun" to the interface, since they were removed in this PR.
I personally prefer the network.interfaces way, since it's clearer than coding and putting the scripts in tinc-up and tinc-down.
I was taken by surprise for the backport, and it could have gotten bad if my server were to be rebooted, since it auto-updates, and I wouldn't be able to access it via the Tinc VPN :-/
One way to make it backwards compatible would be to add an option createInterfaces that defaults to true and add the interface with the virtual and virtualType options in it.

Oops, I didn't see that the backport was reverted, carry on ^^

At least 18.09-small has now the revert. I hope it did not affect to many setups.

The way it works with network.interfaces is very broken at the moment. We definitely need a better solution for this.

This is the setup I use on 4 nodes, which works well: https://github.com/Mic92/dotfiles/blob/de5e97c52f4ce2acd387f5614342b567d9a26870/nixos/vms/modules/retiolum.nix#L66

The could be difference between @Mic92's systemd-networkd and scripted networking of others

The question is should I revert the change on master as well or should I go forward to find a better solution?

I agree that delay is annoying, and perhaps the delay is the only thing what should be fixed.
So, if we boot up a laptop which has no network connection, it will have eth0 anyway without any delay, even if there is no cable. But creating tinc.private causes the delay because underlying network does not work.
It would be desirable to have tinc.private up instantly in some "disconnected" state, like disconnected eth0.
Using tinc-up/tinc-down scripts does not solve it, it just results in no tinc.private at all when underlying network does not work, which is not good, because it might result in routing to eth0 the packets which should go through tinc (it is common when a remote node in tinc network "announce" <IP_ADDRESS>/0 or a network of a service blocked in your geo (like US news sites in EU) thus acting like a "classic VPN").
Supporting of "disconnected state" of tinc interfaces would be a better solution but it might require patching of tinc.

Interestingly it also caused long delays on machines with gigabit ethernet and no dependencies on dns.
I also studied the code a bit and as I understood it, it seems to be the very first thing after creating tun/tap to also run tinc-up no matter if any other peer is connected or not: https://github.com/gsliepen/tinc/blob/228a03aaa707a5fcced9dd5148a4bdb7e5ef025b/src/net_setup.c#L866

I am experiencing the delay only on a laptop, all the servers with tinc boot up quickly. Perhaps it is another bug.

I'm confused by various things here. One is that in

The issue is in Tinc FAQ

the mentioned error is under Platform specific questions and specifically says "on MacOSX or *BSD".


program path should only be utilized for forkExec

Because execvep is unavailable and are using execve, we have to find the program path ourselves when it is not an absolute or relative path. (e.g. command = "sh")
There are 2 options:

Use execvp and replace the fork environment with the environment passed.
Use execve and try all programs with that name available within the PATH environment variable.

I think that replacing the forks environment with what was passed (like how Rust does it) is not a good solution, especially because if the PATH variable is modified, that would effect the exec which would come after swapping out environments.
Seems like the only viable solution is to write a path finder and iterate through them, in the event that there are no directory separators present in the passed command

So, order of operations:

If command contains a directory separator, hit with toFile().absoluteFile.normalize()

Must occur before any chdir occurs

If command does not contain a directory separator, iterate through potential programs found via PATH and try exec until it succeeds.

looks like it's necessary for posix_spawn as well. Either or, all potential programs from the PATH environment variable should be utilized until we get one that works.


Validate manifest installers (MSIX)

What was done?

Added msix and msixbundle manifest validation

Validate package family name.
Validate package version.
Validate Minimum OS Version.

Test

Added test installers (msix and msixbundle) to test the validation functionality
Added manifest installer validation tests
Added installer package fields reader tests

Microsoft Reviewers: Open in CodeFlow

To fix the spelling, you can add .msixbundle type to the excludes.txt under spelling.

/azp run

/azp run


fix: restore chip border color

#471  👈
main

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

Join @davidlj95 and the rest of your teammates on  Graphite


Doesn't work after Lollipop upgrade

It worked fine in my Moto G 2013  until I upgraded to Lollipop. Test notifications are showed but not spoken. I've checked accesibility settings and tested voice synthesis in Android settings, but couldn't fix it.
Could it be an incompatibility with Lollipop or is just me?

It worked after I disable and enable again voice notifications in Android settings. I have rebooted my phone several times since I upgrade to Lollipop, so maybe Voice Notify is starting too soon after boot.
My phone is encrypted, but also was before upgrade and everything worked fine.

@jueves thanks, the workaround worked for me!

Related to #31 and #55.
I was never able to reproduce. However, this was very likely fixed in 682bbb7 by reading notifications through Notification Listener Service instead of Accessibility Service.


WIP - continued cleanup

Removed Acceptor
Use socket_addr::SocketAddr (serialisable) - still unsure of this one as perhaps it make smore sense to always pass endpoints to allow easy addition of more protocols etc.
TODO

Compile
Get tests passing again
Remove callbacks being sent on channels etc.
Agree v1.0.0 API
Implement API
6 Create network wide tests or holepunching, udt etc. test via home pc's digital ocean etc.

Nice
Cut down threads considerably, potentially look at integrating mio as heart of system, possibly look at Andrews mioco (if we can be in stable)

r? @inetic
(maidsafe_highfive has picked a reviewer for you, use r? to override)

r? @canndrew


Sails 0.11 : The hook sails-permissions is taking too long to load.

Hello,
After I have installed sails-permissions and configured it, I can't lift, sails gave me an error :
There is the log :

info: Starting app...
debug: sails-permissions: syncing waterline models
debug: sails-permissions: admin user does not exist; creating...
debug: User.afterCreate.setOwner { '@type': 'd',
'@class': 'user',
username: 'acidspike',
email<EMAIL_ADDRESS>createdBy: null,
owner: null,
createdAt: Thu Apr 30 2015 12:49:34 GMT+0200 (CEST),
updatedAt: Thu Apr 30 2015 12:49:34 GMT+0200 (CEST),
id: '#17:0' }
error: Error: The hook sails-permissions is taking too long to load.
Make sure it is triggering its initialize() callback, or else set `sails.config.sails-permissions._hookTimeout to a higher value (currently 20000)
at tooLong [as _onTimeout] (/usr/local/lib/node_modules/sails/lib/app/private/loadHooks.js:92:21)
at Timer.listOnTimeout (timers.js:110:15)

I am working on Sails 0.11, sails-orientdb adapter 0.10.50 and sails-permissions 1.0.16
I have sought and the problem seems to be in api/models/User.js line 36, at the user update it never goes to the next step.
In my database the user record is updated 6919 times (depending on computer speed).

Sorry it seems to be related with a save problem in sails-orientdb see here : https://github.com/appscot/sails-orientdb/issues/89


Make options mutually exclusive

mutual exclusive options
Is it possible to make an option required if another option is not provided.
e.g.
If I provide --app-id --app-secret then --token is not required.
If I provide --token, then --app-secret and --app-id is not required.

Dont think so. Would be a good feature to have though

would love to see this

@meatballhat I actually begun working on this sometime back but stopped due to all the generated flag changes etc. Do you have any suggestion on what the output of help for a "flag group" would look like. Something like this ? What about defaults, envs etc ?
[ --foo value --bar value ] | --zz value

@dearchap there's certainly a lot to consider! I think the help output with | separating mutually exclusive values works well. Do the displayed text for defaults or env vars need to change? 🤔


new SVA

Please check this paper out. We want to compare the performance of the SVA correction of log-transformed counts (current implementation), and newer methods designed specifically for non-log-transformed RNA-seq raw count data (ComBat-seq, SVA-seq, RUV-seq).
https://academic.oup.com/nargab/article/2/3/lqaa078/5909519

Any suggestion as to what data set I should use for testing/benchmarking?

You would have to generate your own dataset. You can use Monodelphis domestica from my paper but it's more straight forward to use a plant species you study.

I'm looking into the implementation of ComBat-seq now.

In order to use CombatSeq I have to provide a "Batch" vector (I can include other parameters, such as tissues as a "group" parameter.).
What would constitute as the batch in SRA metadata? The Bioproject?

BioProject tends to be the strongest predictor of SVs, so let's try BioProject alone first.

The data set I'm using is Zea mays (my largest dataset bot in terms of individual runs and total transcripts). Matrix size is 147x131585.
This is how SVA in its current form performs (final output):
Runtime for final SVA-adjustment: 139.065 seconds
Zea_mays.3.correlation_cutoff.sva.pdf
Here are some PCAs of CombatSeq Results:
Runtime for single adjustment by CombatSeq: 92.961 seconds.
RAW COUNT PCA

COMBAT SEQ ADJUSTED COUNTS

COMBAT SEQ ADJUSTED COUNTS AND SUBSEQUENT LOG-FPKM TRANSFORMATION

This is how it looks if you run CombatSeq together with iterative outlier removal (adjusted, but untransformed):
Zea_mays.4.correlation_cutoff.cbs.pdf
After applying log-FPKM transform on the adjusted counts, it actually looks like the dataset improved. However,  SVA is  much more powerful in terms of separation.
The big advantage of CombatSeq is, that it preserves the discrete nature of the counts, which some downstream analysis packages need (for example DEseq2).

Thanks! It looks like the program worked correctly, which is nice. We should keep this result for a side-by-side comparison in the eventual publication. Please try SVA-seq next. I hope it outperforms SVA as it should be for RNA-seq data.

Yup, moving on to SVA-seq.
Another note:
I have tried to include other covariates as well (the same ones that SVA is currently adjusting for), but I get the error: "At least one covariate is confounded with batch! Please remove confounded covariates and rerun ComBat-Seq".  I could not determine what this actually means and how to fix it.
Also CombatSeq can not handle cases, where there is only one sample (i.e. run) for a given batch (i.e. bioproject).

That could mean that two or more covariates happened to be identical combinations or too similar to each other, but let's get SVA-seq done first.

OK, SVA-seq implementation is really easy, since it uses the exact same inputs as SVA, it's just tailored to raw counts instead of transformed ones. Only difference in code is literally just the function name.
Run time of SVA-seq: 131.88 seconds

Separation looks really nice and PC1 already accounts for almost all of the variance, meaning batch effect is almost completely sorted out.
Caveat of this is, that FPKM/TPM transformation will not be possible afterwards, because SVAseq can produce negative values. I also have read that Svaseq applies log transformation as a first step in the algorithm.
Iterative outlier removal looks a bit weird right now, not entirely sure what the issue is, but the above data suggests SVAseq might be a good alternative.
Zea_mays.4.correlation_cutoff.sva.pdf

Hmm... the boxplot looks weird indeed. Did you apply log2 transformation after the SVAseq correction before calculating Pearson's correlation coefficient for the iterative outlier removal? Results may be biased by highly expressed genes if not.

Yeah, that might be the issue here.
I did not perform log transform, since I assumed SVAseq does that itself (it's the first thing mentioned in the manual). However, it looks like it undoes log transformation before returning the data. The parabolic shape of the PCA is an indicator that as well.

RUVseq results:
RUVseq offers different approaches for variation elimination. The one used here is based on calculating empirical control genes first (housekeeping genes, basically), which are then used for RUVseq.
Runtime: 87.496 seconds
This PCA is AFTER FPKM+log transformation of the counts normalized by RUVseq:

Separation looks decent, however, total explained variation is a bit low across the two PCs. Also RUVseq is not compatible with Kallisto data, since Kallisto produces non-integer counts, which RUVseq does not seem to like (I just rounded the counts here to avoid having to make a new dataset, so results are technically falsified slightly).

RUVseq results:
RUVseq offers different approaches for variation elimination. The one used here is based on calculating empirical control genes first (housekeeping genes, basically), which are then used for RUVseq.
Runtime: 87.496 seconds
This PCA is AFTER FPKM+log transformation of the counts normalized by RUVseq:

Separation looks decent, however, total explained variation is a bit low across the two PCs. Also RUVseq is not compatible with Kallisto data, since Kallisto produces non-integer counts, which RUVseq does not seem to like (I just rounded the counts here to avoid having to make a new dataset, so results are technically falsified slightly).

This is RUVseq estimating the factors of unwanted variation using residuals, also after FPKM+log transform:

We get a bit more variation explained this way, but separation doesn't look as strong.

This is RUVseq estimating the factors of unwanted variation using residuals, also after FPKM+log transform:

We get a bit more variation explained this way, but separation doesn't look as strong.

Just for completeness, here is the current SVA implementation:
Runtime 151.142 seconds

Just for completeness, here is the current SVA implementation:
Runtime 151.142 seconds

Thanks! Can you make a quantitative comparison between the methods using the boxplots like this?

Thanks! Can you make a quantitative comparison between the methods using the boxplots like this?

on it!

on it!

So, I'm at a loss here. After calculating pearson's correlation, it turn's out that SVAseq produces massive negative correlations outside of same-tissue areas.
Current SVA:

SVAseq:

All that's white here is negative:

RUVseq, no log, no FPKM:

RUVseq + log:

CombatSeq:

So, I'm at a loss here. After calculating pearson's correlation, it turn's out that SVAseq produces massive negative correlations outside of same-tissue areas.
Current SVA:

SVAseq:

All that's white here is negative:

RUVseq, no log, no FPKM:

RUVseq + log:

CombatSeq:

Are you comparing them in the same unit (i.e., log-FPKM)?

Are you comparing them in the same unit (i.e., log-FPKM)?

SVA and CombatSeq have log-FPKM applied, SVAseq and RUVseq are incompatible with FPKM calculations, so they are only logarithmized.
There are two different RUV packages (different authors as RUVseq), which I haven't tried yet, but are supposedly able to handle log-FPKM as input.

SVA and CombatSeq have log-FPKM applied, SVAseq and RUVseq are incompatible with FPKM calculations, so they are only logarithmized.
There are two different RUV packages (different authors as RUVseq), which I haven't tried yet, but are supposedly able to handle log-FPKM as input.

Could you try to force log-FPKM-ish transformation for SVA-/RUV-seq? We can't compare apples and oranges so the values should be adjusted as much as possible when compared, even though the transformation procedure may not be perfect. I guess a big problem for FPKM would be the presence of negative values after the SVA-/RUV-seq correction. If negative values are seen in a minor fraction of genes (up to several hundred genes in a genome), you can round them to zero to enable an FPKM-like transformation.

Could you try to force log-FPKM-ish transformation for SVA-/RUV-seq? We can't compare apples and oranges so the values should be adjusted as much as possible when compared, even though the transformation procedure may not be perfect. I guess a big problem for FPKM would be the presence of negative values after the SVA-/RUV-seq correction. If negative values are seen in a minor fraction of genes (up to several hundred genes in a genome), you can round them to zero to enable an FPKM-like transformation.

this worked for SVAseq, by setting all negative values to 0:

RUVseq, however, becomes weird. It pretty much equalizes the whole dataset.

this worked for SVAseq, by setting all negative values to 0:

RUVseq, however, becomes weird. It pretty much equalizes the whole dataset.

Thanks! I wounder if the majority of genes are negative in RUV-seq. Anyway, SVA and SVA-seq seem the two best methods so far. Could you compare SVA, SVA-seq, and no-correction side-by-side with the same Y axis?

Thanks! I wounder if the majority of genes are negative in RUV-seq. Anyway, SVA and SVA-seq seem the two best methods so far. Could you compare SVA, SVA-seq, and no-correction side-by-side with the same Y axis?

RUVseq doesn't produce negative values at all. But it might be, that it doesn't handle low expressed genes very well. I only remove unexpressed genes, but I leave lowly expressed ones in. Comparing the raw counts with the normalized ones, it looks like the data was centrized: genes with counts of 2 get bumped up to 30 and genes with counts of 700 go down to 100. If you then apply log-FPKM, everything gets into the range of one order of magnitude.
I suspect this is a combination of low expressed genes and the upper quartile normalization RUVseq applies. I'll try removing low expressed genes as well.

RUVseq doesn't produce negative values at all. But it might be, that it doesn't handle low expressed genes very well. I only remove unexpressed genes, but I leave lowly expressed ones in. Comparing the raw counts with the normalized ones, it looks like the data was centrized: genes with counts of 2 get bumped up to 30 and genes with counts of 700 go down to 100. If you then apply log-FPKM, everything gets into the range of one order of magnitude.
I suspect this is a combination of low expressed genes and the upper quartile normalization RUVseq applies. I'll try removing low expressed genes as well.

Are you still working on it? If not, please close this issue with a brief summary.

Here is another batch correction paper: https://www.nature.com/articles/s41587-022-01440-w

@Hego-CCTB I will take care of it if you don't have time.

I'll keep working on this. Give me a week!

OK. I have implemented svaseq, combatseq and ruvseq. I ran all different batch-effect-removal algorithms (including sva) on 29 different plant species (I'll run the animal set as well this weekend). Short explanation on how these were implemented and the logic behind it.
I'll show a case here, where all algorithms perform well, but this will not be the full picture, of course. All plots you see show log2-FPKM transformed values.
uncorrected values (just log2fpkm transformed)
Prunus_persica.2.correlation_cutoff.pdf
sva
Nothing has changed. This will be the correction everything will be compared against.
Prunus_persica.2.correlation_cutoff.sva.pdf
svaseq
Identical to sva, except it's supposed to take in counts, rather than log-transformed counts. The documentation states that the first thing svaseq does is to apply a log(x +c) transformation, where X is the count matrix and C is a constant (defaults to 1) . So the initial logic was:

apply FPKM
apply temporary log-transformation only for plotting
run iterative outlier removal
apply temprorary log-transformation before every check_within_tissue correlation, since pearson-correlation is made for linear space.
apply log-transformation on the last iteration

These were the results:
Prunus_persica.2.correlation_cutoff.svaseq.pdf
HOWEVER: When I treat svaseq exactly the same way as sva. So log2FPKM BEFORE any calculations start, it performs almost identical to sva, sometimes even slightly outperforms it. I have no explanation as to why this happens.
Prunus_persica.2.correlation_cutoff.svaseq.log_before_sva.pdf
combatseq
combatseq relies on known sources of batch effects. Since from experience the biggest source is almost always bioproject (at least judging from sva output), that's what I tell combatseq to look for.
Additionally, you can supply a covariate which represents the biological signal (curate_group in our case). Combatseq will try to preserve this signal.
Also of note: combatseq can not handle cases, where a batch contains only one sample (i.e. cases where there is only 1 sample for a given bioproject), so I need to remove those bioprojects from the dataset.
The implementation logic is to run combatseq on untransformed raw-counts and apply log2FPKM for check_within_tissue correlation and for every plot. And keep the log2FPKM transformation when the algorithm is done.

no FPKM OR log transformation
apply temporary log2FPKM-transformation only for plotting
run iterative outlier removal
apply temprorary log2FPKM--transformation before every check_within_tissue correlation, since pearson-correlation is made for linear space.
apply log2FPKM-transformation on the last iteration

Prunus_persica.2.correlation_cutoff.combatseq.pdf
RUVseq
RUVseq needs control genes (i.e. genes that don't change expression across conditions/treatments/tissues) to find unwanted variation. There are a lot of different ways to do this:

spiked-in genes. Requires specific experimental design and is thus not useful
Known set of housekeeping genes. We could use BUSCO derived single-copy orthogroup genes, which may be worth checking out.
Taking the genes with the least significant differential expression
the residuals (e.g., deviance residuals) from a first-pass GLM regression of the counts on the covariates of interest

The last one (residuals) is what I went with. The outlier-removal/tissue-correlation logic is the same as in Combatseq:run combatseq on untransformed raw-counts and apply log2FPKM for check_within_tissue correlation and for every plot. And keep the log2FPKM transformation when the algorithm is done.

no FPKM OR log transformation
apply temporary log2FPKM-transformation only for plotting
run iterative outlier removal
apply temprorary log2FPKM--transformation before every check_within_tissue correlation, since pearson-correlation is made for linear space.
apply log2FPKM-transformation on the last iteration

Prunus_persica.2.correlation_cutoff.ruvseq.pdf

Again, I want to stress that this is an ideal use case for these algorithms. Especially Combatseq performed exceptionally.
However, Combat and RUV often struggle in larger datasets:
Oryza sativa
Oryza_sativa.5.correlation_cutoff.pdf
Oryza_sativa.5.correlation_cutoff.ruvseq.pdf
Oryza_sativa.5.correlation_cutoff.sva.pdf
Oryza_sativa.5.correlation_cutoff.svaseq.log_before_sva.pdf
Oryza_sativa.5.correlation_cutoff.combatseq.pdf
Vitis vinifera
Vitis_vinifera.2.correlation_cutoff.svaseq.pdf
Vitis_vinifera.2.correlation_cutoff.combatseq.pdf
Vitis_vinifera.2.correlation_cutoff.pdf
Vitis_vinifera.2.correlation_cutoff.ruvseq.pdf
Vitis_vinifera.2.correlation_cutoff.sva.pdf

Great! CombatSeq seems to be a good choice when single-sample BioProjects can be excluded. We should probably use sva in curate by default and CombatSeq as an option.

Especially Combatseq performed exceptionally.

This would be great to discuss in the amalgkit paper.

Yeah, sva (or svaseq) should remain default. They perform consistently well independent of dataset. What bugs me is why svaseq behaves so well when I feed it the supposedly wrong input (i.e. log-transformed values instead of counts). I feel like I'm missing or misunderstood something.
I haven't had a chance to look at all 29 species yet, but the pattern really seems to be the size of the dataset (i.e. the number of batch variables) that determines how well Combatseq and RUVseq perform.
Combatseq can potentially be improved, as it is possible to add more covariates.
As for RUVseq, I'd like to try out the 'least significant differentially expressed genes' as control genes. Maybe it will improve performance on larger sets. What seems to be happening is over-correction. Maybe the GLM the residuals stem from isn't robust enough to handle many different bioprojects, but that is pure speculation.
This could mean that combatseq may be outperforming sva for private/local fastq projects like my carnivore set. I'll have a look what happens when I run combatseq on that.

Could you expose this functionality as a new option in curate?

The only difference between sva and svaseq appears to be whether the function automatically converts the input expression data with the logn(x+1) transformation.
https://rdrr.io/bioc/sva/src/R/sva.R
https://rdrr.io/bioc/sva/src/R/svaseq.R
amalgkit curate already supports various log transformations via --norm, so the use of svaseq does not make sense. I will remove --batch_effect_alg svaseq.

@Hego-CCTB In https://github.com/kfuku52/amalgkit/issues/12#issuecomment-1508320485, I suspect that the file Oryza_sativa.5.correlation_cutoff.combatseq.pdf does not represent combatseq-corrected data. PRJNA404045 appears in the plot even though it only contains one sample. This sample should have been excluded if combatseq had been correctly applied. This issue may have arisen because the original, uncorrected data was returned when combatseq failed. You can see this at
https://github.com/kfuku52/amalgkit/blob/772c1901f14d2fb7e5571005ab7f940210d74eb2/amalgkit/curate.r#L406-L410
RUVseq might encounter a similar issue. As a temporary measure, I will deactivate it so that amalgkit returns an error when batch correction fails.

I'll investigate this. Something is happening to the matrix, but that could just be the log that's applied before plotting. Also just so we are on the same page: the sample (and BP) removal happens independently and before the batch-effect removal. So if the sample is there, it means something in check_within_curate_group_correlation() went wrong, rather than in .

I would like to be able to discuss, or at least mention that RUV and ComBat are available for amalgkit in the paper, so I'll try to get this issue sorted this week.

Have you had a chance to investigate this issue?

I can definitely say this has nothing to do with sva alternatives, since the project shows up in SVA output as well. Looking at the code for check_within_sample_group_correlation(), where the outlier exlusion happens, I am not convinced that we've implemented a check that removes single-sample bioprojects. And since that sample meets the correlation threshold condition, it doesn't get removed.
Can you remind me what the rationale is to remove such bioprojects? I can push an update to remove single sample projects. In which case, how should we handle a fringe case where that single sample bioproject is also the only sample for a sample group?
I want to get closer to "official" support for the SVA alternatives. To do so, we need to properly evaluate performance. In the paper manuscript we've talked about dPCC as a metric for performance. I'm currently working on implementing the dPCC plot and it will make things easier if I finish that first.

This isn't a rationale but rather your code. I believe CombatSeq doesn't support groups with only a single sample, so you may have needed to remove them.
https://github.com/kfuku52/amalgkit/blame/772c1901f14d2fb7e5571005ab7f940210d74eb2/amalgkit/curate.r#L397-L406

Ah, I was looking in the wrong place! I see what the issue is. The tc table is never properly updated during combatseq. It's an easy fix, it'll be part of the next update.

I fixed this and another issue with combatseq. Here are the plant dataset results to see overall performance:
SVA

combatseq

ruvseq

While all options positively impact delta PCC on the dataset, SVA still performs best. Combatseq output matrices can be used for DEG analysis though, which is nice to have.

I should add that combatseq tends to yield worse results in large sets with many different BPs, but is doing well with low complexity sets:
low-complexity uncorrected

low complexity corrected

high complexity uncorrected

high complexity corrected

I should add that combatseq tends to yield worse results in large sets with many different BPs, but is doing well with low complexity sets

Thanks! This is a good point to discuss in the AMALGKIT paper.


Add ipywidgets to tox -e images

Just adding ipywidgets to images environment in tox :+1:

Oh, now I remember why these tests were passing - because Circle CI does not use tox (yet?) and we didn't add image checking to AppVeyor. Anyway, this is good to go!


Not blocking request from Box ruby client

I have been using Boxr gem for fetching data from BOX Apis.
But somehow Webmock does not seems to be blocking the requests.
Here is the file responsible for making web requests in the Boxr gem.
Getting 401(Always will, if hits the real api) want to mock the response and check if responses are handled correctly.
Any pointers ?

@om-nishu-trantor I don't have enough information to help you.
Can you provide a sample code using boxr gem that reproduces the issue?
What version of WebMock?
Is webmock definitely loaded and enabled?

webmock 1.24.5
before(:all) do
    WebMock.disable_net_connect!(:allow_localhost => true)
  end

I am conditionally blocking web requests in this particular spec.
Yes it is loaded, because I have 2 specs, 1 for gdrive and another for box.
Gdrive spec works fine, but Box hits the real request and says the following :-
Boxr::BoxrError:
       401: Bearer realm="Service", error="invalid_token", error_description="The access token provided is invalid."

Snippets :-
require 'rails_helper'

RSpec.describe MyImportModel, type: :model do

  before(:all) do
    WebMock.disable_net_connect!(:allow_localhost => true)
  end

  after(:all) do
    WebMock.allow_net_connect!
  end
describe '#mymethod' do
  it 'should block check the response manipulation' do
      stub_request(:get, Regexp.new('https://api.box.com/2.0/search')).
        to_return(:status => 200, :body => sample_box_response.to_json)
      expect do
        described_class.box_import(user)
      end.to change {
        MyImportModel.count
      }.by(2)
    end
  end
end

I just had the same issue. It looks like the Boxr::BOX_CLIENT is declared globally before Webmock injects itself: https://github.com/cburnette/boxr/blob/c35eafcd44474e853d0f3cbe108e7e4385afa1d8/lib/boxr.rb#L57
As a quick hack, I just force re-create the client in my spec
before :all do
  Boxr::BOX_CLIENT = HTTPClient.new
end

@skalb this answer just helped me figure out why the VCR gem wasn't creating cassettes for my specs that hit the Box API using Boxr - thanks!

@skalb I was saved. Thanks!


Inquiry about UI Aesthetics and Functionality

Hello
First of all, thank you for developing this helpful Markdown tool. It's been an essential part of my workflow.
I have some questions concerning the UI aesthetics and functionality:
Why does the menu have multiple options for creating a space and a note? Is there a specific reason for the redundancy?
I've noticed that the third icon in the menu appears to be the same as another icon. Could you please clarify the purpose behind this?
These questions aren't necessarily criticisms; I'm genuinely curious about the design choices and want to understand how to use MakeMD most effectively.
Thank you for your time and looking forward to your response.

and about this button i was talking

These are mostly due to the development process which added these features individually through community feedback. The entire backend and UI has been simplified as part of the 0.8 rewrite and will also allow more flexibility in customization
Get Outlook for iOShttps://aka.ms/o0ukef

From: WARFISH @.>
Sent: Sunday, September 17, 2023 12:36:42 PM
To: Make-md/makemd @.>
Cc: Subscribed @.***>
Subject: [Make-md/makemd] Inquiry about UI Aesthetics and Functionality (Issue #194)
Hello
First of all, thank you for developing this helpful Markdown tool. It's been an essential part of my workflow.
I have some questions concerning the UI aesthetics and functionality:
Why does the menu have multiple options for creating a space and a note? Is there a specific reason for the redundancy?
I've noticed that the third icon in the menu appears to be the same as another icon. Could you please clarify the purpose behind this?
These questions aren't necessarily criticisms; I'm genuinely curious about the design choices and want to understand how to use MakeMD most effectively.
Thank you for your time and looking forward to your response.
[image]https://user-images.githubusercontent.com/617020/268515398-3b1cfd05-8fec-47c7-a168-c9f9183518ca.png
[image]https://user-images.githubusercontent.com/617020/268515410-c83223b0-c458-444d-baef-7524748aed4e.png
[image]https://user-images.githubusercontent.com/617020/268515429-80ea8828-1cee-4563-94be-c26aa15cc2ec.png
[image]https://user-images.githubusercontent.com/617020/268515471-646995f4-eb6f-4a41-9c4c-c91106a914c5.png
and about this button i was talking
[image]https://user-images.githubusercontent.com/617020/268515461-6dcfe64b-247b-45f9-87cd-eb4290def2cb.png
—
Reply to this email directly, view it on GitHubhttps://github.com/Make-md/makemd/issues/194, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAFHKNXCPF6FQ4245NK5HPLX24RJVANCNFSM6AAAAAA43W7SVQ.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

Thanks! I'm excited to see the new UI in the 0.8 release. I'm sure it will be more streamlined and user-friendly.


[CT-71] Restore previous behavior when a test depends on a disabled (vs. missing) resource

Prompted by Slack threads here + here
Folks who've newly upgraded to v1.0 are seeing a lot of warn-level (stdout) messages about tests defined on disabled models. This is what our internal analytics project looks like, and I don't think it's an uncommon experience:

(There's many more below that)
It is desirable to warn about tests that have "missed" the correct model, such as due to a typo in a ref or yaml property (e.g. see https://github.com/dbt-labs/dbt-core/issues/4532). It's also a very common pattern to disable unused/irrelevant models in packages, and the result is a quite cluttered terminal. There are some useful warnings in there (missing node for patch), lost as needles in haystack-traces.
What I proposed in one of the threads linked above:

If a test depends on a disabled model, log this as DEBUG-level (shows up in logs/dbt.log)
If a test depends on a missing model, log this as WARN-level (shows up in standard CLI output)

I looked quickly at the code, and turns out this was actually our previous behavior:
https://github.com/dbt-labs/dbt-core/blob/08b2f16e10eb3420ecffee3b4d18ac2f45e601ea/core/dbt/parser/manifest.py#L790-L803
We've since replaced the first of those with a call to the InvalidRefInTestNode event, so this would just look like changing:
https://github.com/dbt-labs/dbt-core/blob/a588607ec6546de441812e215fbbf4e9ff20101b/core/dbt/events/types.py#L1186-L1192
To:
@dataclass
class InvalidRefInTestNode(DebugLevel):
    msg: str
    code: str = "I051"

    def message(self) -> str:
        return self.msg

Voila, just the good stuff:

I think this is a great update -- happy to be a tester if/when you need!

Backport here: #4656


Wrong time initialization and update check for Bladed controllers in ServoDyn

Bug description
ServoDyn initialization does not take the inital time into account. Instead, it assumes 0. as the initial time. This leads to the Bladed interface DLL never to be updated during subsequent calls. The first call displays the warning:
FAST_Solution0:CalcOutputs_And_SolveForInputs:SolveOption2:SrvD_CalcOutput:BladedInterface option was designed for an explicit-loose coupling scheme. Using last calculated values from DLL on all subsequent calls until time is advanced. Warning will not be displayed again.

And then the Bladed controller is never updated.
To Reproduce
Using OpenFAST as a library with a Bladed controller, initialize with t_inital>0. and then call Solution0.
Expected behavior
The first call to the Bladed interface at t = t_initial should trigger a controller computation.
OpenFAST Version
Problem identified with OpenFAST 2.3 (I'm stuck working with it for the time being), but looking at the code it should still be there on the latest release.
 **************************************************************************************************
 OpenFAST

 Copyright (C)  National Renewable Energy Laboratory
 Copyright (C)  Envision Energy USA LTD

 This program is licensed under Apache License Version 2.0 and comes with ABSOLUTELY NO WARRANTY.
 See the "LICENSE" file distributed with this software for details.
 **************************************************************************************************

 OpenFAST--128-NOTFOUND
 Compile Info:
  - Architecture: 64 bit
  - Precision: single
  - Date: Dec 13 2022
  - Time: 13:37:51
 Execution Info:
  - Date: 12/13/2022
  - Time: 13:59:43+0000

System Information (please complete the following information):

OS: Debian 11
Compiler: gfortran 10.2.1
Compiler settings: default (built with CMake)

Additional context
Initialization of the "latest call" to the Bladed interface: Servodyn.f90
This initialization is wrong because the initial time is assumed to be $0.$, which may not be the case.
Check that triggers the warning: Servodyn.f90
This check is not sufficient because when time increases the Bladed inerface is never updated.
A possible fix would be to:

Forward the initial time to the ServoDyn initialization (e.g. through an aditional member of SrvD_InitInputType) and set LastTimeCalled accordingly. This still assumes that the next (first) call will be at $t = t_0 + dt$, but that's probably fine.
Check for $t - dt < ~$ LastTimeCalled rather than $t - dt \neq ~$ LastTimeCalled in SrvD_CalcOutput, and treat $t - dt > ~$ LastTimeCalled with another message.

I think several modules assume that t_initial is 0 (as well as the step counter starting at 0 in the UpdateStates calls). Is there a reason that you need to change t_initial?

Thank you for your answer!
I'm not sure I'll actually need to start at $t_0 \neq 0$, but I'm making an interface for coupling with a CFD solver with prescribed motions in OpenFAST, so I use the routines in FAST_Subs directly and wanted to keep all the features of OpenFAST.
I just think that since the initialization functions of FAST_Subs allow for setting t_initial, it's strange that the rest of the code does not support this. But maybe it's intentional and I just missed this information in the docs (in which case feel free to close the Issue).

The original concept routines for the OpenFAST framework allowed for t_initial to be specified, but we've always used t_initial=0 in the actual code, and some modules just make that assumption, especially on things like the Bladed DLL controller, which have to be accommodated to work with the OpenFAST framework. I agree that the way it is currently written can be a misleading. It would probably read better if we either removed t_initial or sent it to every module at initialization.

Do you mean the Bladed libray itself assumes that the simulation starts at $t = 0$, or just the OpenFAST side (ServoDyn)?
I'm not very familiar with the Bladed interface and couldn't find formal specifications. I guess it may also depend on the library implementation itself (I'm using DTU's Baseline controller). But if that's the case, then indeed it's a lost cause from OpenFAST's perspective.
At the moment I seem to get consistent results when passing t_initial to ServoDyn and correctly initializing LastTimeCalled, but I'm not 100% sure it's OK from the Bladed controller's perpective.
If it's to much work to add support for $t_0 \neq 0$ in all the modules, maybe removing the t_initial parameter in FASTSubs functions is the better solution. Anyway, I just wanted to raise the issue, the design choice is yours!

My comments about the Bladed library are more along the lines that it doesn't allow for predictor-corrector steps, and people can (and do) pretty much code it however they want to. Generally, those DLLs assume they get called at a constant dt; they may or may not initialize before the first time step; and they often contain states that OpenFAST doesn't know about. I would guess most of those DLLs assume t_initial is 0, but it really depends on who wrote the DLL.


[Question] Is there a way to specifiy custom ports

Is there a way to specify custom ports? I tried using ip:port under host but that seems not to work.

ip:port / hostname:port does work. people use it like that.


optimize:modify error message which is global session size more than config.

[x] I have registered the PR changes.

Ⅰ. Describe what this PR did
https://github.com/apache/incubator-seata/issues/6189
Ⅱ. Does this pull request fix one issue?

https://github.com/apache/incubator-seata/issues/6189
Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Codecov Report
Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (ea9c54f) 50.96% compared to head (8604833) 50.98%.

:exclamation: Current head 8604833 differs from pull request most recent head d3f93cc. Consider uploading reports for the commit d3f93cc to get more accurate results

Additional details and impacted files

@@             Coverage Diff              @@
##                2.x    #6259      +/-   ##
============================================
+ Coverage     50.96%   50.98%   +0.01%
+ Complexity     5089     5086       -3
============================================
  Files           917      917
  Lines         32022    32022
  Branches       3862     3862
============================================
+ Hits          16320    16325       +5
+ Misses        14129    14120       -9
- Partials       1573     1577       +4

Files
Coverage Δ

...in/java/io/seata/server/session/GlobalSession.java
72.22% <0.00%> (ø)

... and 4 files with indirect coverage changes


Don't run buildx in CI - Fixes Resource leak in prow cluster that is causing tests to flake

I suspect this is the root cause of
https://github.com/istio/test-infra/issues/1988
For now, we will revert this and see if things improve

@howardjohn: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

gencheck_istio
9b11d184a75454df81ea637595f13d0113131667
link
/test gencheck_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

gencheck_istio
9b11d184a75454df81ea637595f13d0113131667
link
/test gencheck_istio

pilot-multicluster-e2e_istio
9b11d184a75454df81ea637595f13d0113131667
link
/test pilot-multicluster-e2e_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

@howardjohn: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

integ-security-k8s-tests_istio
9b11d184a75454df81ea637595f13d0113131667
link
/test integ-security-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest


bug about imagePreview

Bug report 🐞

occasionally flashing when switching
resulting in page numbers not visible due to height exceeding

Version & Environment
"@varlet/ui": "^2.10.2",
"vue": "^3.2.47"
Expectation
Actual results (or Errors)
When I switch images, occasionally there is a scene where half of the page is blank, and the height of the page exceeds 100%, resulting in the page being scrollable and the top page numbers not being fully visible

Could you please provide a reproduction？

I reproduced your problem. When I swipe very frequently.


XamlParseException thrown when repeatedly opening a control page.

Which version of the app?
WinUI 3 Gallery
Description

Run the current build of WinUI 3 Gallery.
In the navigation menu click "All" to display the grid of all controls.
Click the NavigationView tile to display the NavigationViewPage

Repeat steps 2 and 3 several times (2 to 10 times usually) until a XamlParseException: 'XAML Parsing Failed.' exception is thrown within the generated (NavigationViewPage.g.i.cs) partial class InitializeComponent() method on the last line of this method:
'           global::Microsoft.UI.Xaml.Application.LoadComponent(this, resourceLocator, global::Microsoft.UI.Xaml.Controls.Primitives.ComponentResourceLocation.Application);'
(see screenshot below)
This same XamlParseException has also been observed with the ViewboxPage following the same steps.
This same XamlParseException has also been observed with the ViewboxPage following alternate steps clicking the Viewbox tile to open the ViewboxPage alternating with clicking almost anything else in the navigation menu.  Again it happens after reopening the Viewbox page between 2 to 10 times.
Screenshots

Windows version
Windows 11 22H2 (22621)
Additional context
Edition	Windows 11 Home
Version	22H2
Installed on	1/5/2023
OS build	22621.1265
Experience	Windows Feature Experience Pack 1000.22638.1000.0
Visual Studio 2022 Preview 17.6 preview 1
WindowsAppSDK 1.2.23

@chingucoding Thoughts?

Thanks for filing this bug @MarkBrainfire, I was also able to repro.

No idea why this happens, given that this didn't occur in the WinUI 2/XCG back then, I'm inclined to say this is a WinUI 3 issue. I'm not sure though if this is only happening when a debugger is attached/when we are running in debug or if the store version also exhibits this behavior.


Remnants of syntax highlighting persisting in editor

Please select the area your Bug applys to. (Multiple selections are Possible)

[ ] Onboard. Initial vault setup and import/export pods
[x] Create. Note creation, lookup, snippets and templates
[ ] Retrieve. Backlinks, references, graph view
[ ] Structure. Refactoring, multi-vault and schemas
[ ] Publish. Sharing your repo with the world
[x] Misc (Choose this if your not sure)

Describe the bug
I'm intermittently seeing italicized text in the editor while editing text in a plain paragraph where it normally shouldn't be italicized.
To Reproduce
I am suspecting syntax highlighting for wikilinks is left there after undo or something but I can't seem to reliably reproduce this.
These are a few places I've seen it happen:

After Insert Note Link, remove the brackets to make it not a wikilink.
Undo after Lookup with selection2link modifier
In a new note after lookup with selectionExtract modifier

Expected behavior
Syntax highlighting isn't applied in places where it shouldn't. Syntax highlighting is removed when it is no longer applicable.
Screenshots
Desktop (please complete the following information)

OS: MacOS Big Sur 11.3.1 (Mac mini, M1, 2020)
Version [0.51.2]

VSCode doesn't always regenerate the syntax highlighting, in some cases it just expands or shrinks the existing highlighted regions. I'll see if there's anything we can do in these cases.

I re-checked the API. VSCode has a rangeBehavior that allows us to tell VSCode when the highlighted range should expand (for example, wikilinks don't expand because if you type after the brackets that's outside the wikilink now). There is no way to tell VSCode that it also shouldn't shrink.
We can't really work around this issue in an efficient manner, so I'll place this in our backlog for now. I'll create an issue with VSCode to see if this is something they are planning to fix.

I see. Usually a reload will fix this issue so it's not really bothersome. Thanks for looking into this!

Nevermind that, it had nothing to do with VSCode. The issue was slightly different, it only happens if you have just one valid wikilink and you erase part of it. I have a bug fix for it now!

This has now been fixed in version 0.53.


Lossy information when using LoaderOptionsPlugin

Minimal repro and example is available at: https://github.com/iamdustan/webpack-2-extract-css-modules-repro/commit/4365d958aa0d2d4f284b5f6d6eecb026a78e1879
When using the LoaderOptionsPlugin it appears as though there is some
lossy information in Webpack internals.
Specifically, with the same class name and filename like so:
styles.css -> .container {}
dir/styles.css -> .container {}

We should expect that .container is hashed uniquely and differently from
each other in the output. This is true until we add
LoaderOptionsPlugin specific for a module.
const PostCSS = new Webpack.LoaderOptionsPlugin({
  test: /\.css$/,
  options: {
    postcss: {
      plugins() {
        return [autoprefixer];
      }
    }
  }
});

Adding some logging to loader-utils/index.js url hashing we can see
that content includes the path location without LoaderOptionsPlugin,
but that is lost when using LoaderOptionsPlugin.
$ NODE_ENV=production webpack # without LoaderOptionsUtil
> exports.getHashDigest(styles.css+base, undefined, base64, 5);
> exports.getHashDigest(styles.css+header, undefined, base64, 5);
> exports.getHashDigest(styles.css+paragraph, undefined, base64, 5);
> exports.getHashDigest(dir/styles.css+base, undefined, base64, 5);

$ NODE_ENV=development webpack # with LoaderOptionsUtil
> exports.getHashDigest(styles.css+base, undefined, base64, 5);
> exports.getHashDigest(styles.css+header, undefined, base64, 5);
> exports.getHashDigest(styles.css+paragraph, undefined, base64, 5);
> exports.getHashDigest(styles.css+base, undefined, base64, 5);

Notice that with LoaderOptionsUtil the final styles.css+base should
be dir/styles.css+base

Well shoot. This may be expected.
Adding a context:  value that matches the webpack config fixes the issue while using the postcss-loader with autoprefixer, but does not when using AutoprefixerStylus with the stylus-loader.


Doc Typo

I think the line:
"http://www.example.com/user/1".httpGet().responseObject(User.Deserializer()) { req, res, result

should read
"http://www.example.com/user/1".httpGet().responseObject(User.Deserializer(), { req, res, result ->

Can you send a pull request? you can do it from the UI.

will do :)


Incorrect link to wormhole explorer

The link to the wormhole explorer shows a 404 as it links to https://wormholenetwork.com/en/explorer.  The correct link is https://wormholenetwork.com/explorer

This is also the case on https://docs.wormhole.com/wormhole/