Generate functionality to pass all variables to  External CMakes

Preamble
I am having serious problems compiling and running the SuperBuild. I did manage to have something working at some point by modifying and unknown amount of variables in the cmake-gui of ./build and ./build/builds/XXXXXX/build. At some point I managed to screw over it again and could not continue. @rijobro Suggested a better alternative to keep track of changes. To Have a bash script where I go passing variables as I manage to compile parts of it, something like:
mkdir -p build
cd build

cmake ../SIRF-SuperBuild \
-DBUILD_Gadgetron:BOOL=OFF \
 ...

This is great because I can go changing variables and turning on slowly the flags of libraries to build.
Problem
This can not access flags that are not set by the SuperBuild Cmake. If someone wanted to change e.g. BUILD_MATLAB_WRAPPER inside CCPi_Regularisation_Tookit/build, the only way to do it is to go to that particular CMake, and change it. Unfortunately, this means to again, lose track of teh changes. Passing all variables to the main CMake sounds like a tedious and unmaintainable task
Proposed Solution
(by @rijobro )
Make a macro SetExtraArgs.cmake that would parse input flags like: -DCCPi_Regularisation-Toolkit_SET_VAR_BUILD_MATLAB_WRAPPER:BOOL=ON, then parse it (regexp or otherwise, using ${proj}) and extract the part after _SET_VAR_. Make a list and then pass it in the CMAKE_ARGS section of External_CCPi-Regularisation-Toolkit.cmake
Problems with this solution
Mostly that it exposes all variables (but encapsulation is not necessarily what we want here right?) and that we need to modify all the External_* files.
I am happy to take upon this issue and happy to hear other options/solutions.
Or is this something that its "just me" and we do not want it in the SuperBuild?

proposed solution:
set(${proj}_EXTRA_CMAKE_ARGS "" CACHE STRING "Optional extra CMake arguments to be appended to the flags set by the SuperBuild")
mark_as_advanced(${proj}_EXTRA_CMAKE_ARGS)

ExternalProject_Add(
....

  CMAKE_ARGS
 ...
   {proj}_EXTRA_CMAKE_ARGS
)

would then make sense to put the first 2 lines in a separate file defining yet another macro, such that they don't need to be repeated.
I guess we want it to allow overriding SuperBuild args. I'm not sure about prepending vs appending then. easy to try (or read the CMake doc...)
Of course, we could have the same for non-cmake projects (..._EXTRA_CONFIGURE_FLAGS or whatever) but let's only do this when we need it!

@KrisThielemans The "issue" with this way is that the CACHE will enforce past set variables. So once you have done -DSTIR_EXTRA_CMAKE_ARGS:STRING=-Dsomething:BOOL=ON, if you remove it from your CMAKE call, -Dsomething:BOOL=ON will be set forever. This includes also if its a typoed variable. It is not necessarily wrong, but it hides from the user that if a flag is removed from the CMAKE call, it is still set.
I have tried other types of set calls, such as set(${proj}_EXTRA_CMAKE_ARGS "" CACHE INTERNAL STRING "") which I though would remove this issue, but with no positive results.
I read that we can use unset to remove CACHE variables.
I guess my question is: What is the approach we should take? Should I unset and then set the EXTRA_CNAKE_ARGS or should we leave as you proposed, perhaps with some message printing the cached values?


[MB-3635] Proof of Service Document Viewer Integration

Description
This PR makes it possible to load prime uploaded proof of service documents (pdf, jpg, png) associated with a payment request that can be reviewed by the TIO office user.
Changes include:

Modifying the GHC api for the payment request response to include the Proof of Service Docs property
Updating the payment request fetcher and model payloads to query and format the response json and exclude deleted uploads
Updates the PaymentRequestReview component to unpack the uploaded files in the response and load them in the document viewer
Display a file not found placeholder for Payment Requests without a proof of service document
Truncates long filenames in doc viewer menu and titlebar that included path to only display the name itself
Updates e2e test data to populate multiple prime uploads for one of the payment requests.

Reviewer Notes
We had some questions for A-team around if there would really be multiple uploads associated with a proof of service doc model.  The prime api seems to always create a new proof of service doc when adding an upload to a payment request.  In the testdatagen though we can handle this case if it ever occurs.  So that's something where the functionality doesn't match the data models at the moment.
Soft deletes also don't seem to be possible to simulate outside of testdata but we are now excluding those uploads from the database query.
Setup
make db_dev_e2e_populate
make server_run
make office_client_run

Login as the TIO user
Click on the first payment request in the queue
The document viewer should display a test pdf, the first of 3 prime uploads for the payment request.
You should be able to open the document menu and switch to the jpg and png test files as well.
Navigate back to the TIO homepage and select the second payment request in the list
This payment request has no associated uploads so a File Not Found message should be displayed.

Using the Prime API Client:
make run_prime_docker
rm -f bin/prime-api-client && make bin/prime-api-client
prime-api-client --insecure create-upload --filename pkg/testdatagen/testdata/test.png --paymentRequestID a2c34dba-015f-4f96-a38b-0c0b9272e208

Code Review Verification Steps

[ ] Code follows the guidelines for Logging
[ ] The requirements listed in
Querying the Database Safely
have been satisfied.
Any new migrations/schema changes:

[ ] Follow our guidelines for zero-downtime deploys (see Zero-Downtime Deploys)
[ ] Have been communicated to #g-database
[ ] Secure migrations have been tested following the instructions in our docs

[ ] There are no aXe warnings for UI.
[ ] This works in Supported Browsers and their phone views (Chrome, Firefox, IE, Edge).
[ ] Tested in the Experimental environment (for changes to containers, app startup, or connection to data stores)
[ ] User facing changes have been reviewed by design.
[ ] Request review from a member of a different team.
[ ] Have the Jira acceptance criteria been met for this change?

References

Jira story for this change

Screenshots

Warnings

:warning:
Please add the JIRA issue key to the PR title (e.g. MB-123)

  Generated by :no_entry_sign: dangerJS against 5ded2df08a57d543d95864da7d55371657958f0f

This is looking really good! The one thing I noticed though is that on chrome and IE11 the document file name text is rendering when the menu isn't expanded for it. Like so

This isn't happening in firefox, so it's likely some sort of cross browser compatibility thing going on with how that's coming out. Happy to pair and explore that with y'all if help is needed.
Related to that, it looks like the text overflows the bounds in those browsers also (perhaps the two things are related?)

@Ryan-Koch Thanks I had been testing in Firefox exclusively so wasn't seeing this.  I think this is an issue going back to the orders document viewer work.  I'll investigate, I think it's a combination of local files including the full path in the name and then the styling inconsistencies too.

@Ryan-Koch @duncan-truss oh I noticed that the other day also and created a bug ticket for it! https://dp3.atlassian.net/browse/MB-4198

Oh nice, sorry just pushed up changes for setting overflow on the unordered list itself not the text-transform per item.  Could we still show the full filename as title or alt text on hover if we clip with ellipsis?

@Ryan-Koch @duncan-truss oh I noticed that the other day also and created a bug ticket for it! https://dp3.atlassian.net/browse/MB-4198

@suzubara Oh nice, sorry just pushed up changes for setting overflow on the unordered list itself not the text-transform per item. Could we still show the full filename as title or alt text on hover if we clip with ellipsis?

The fix you pushed is fine but won't resolve the bug ticket, so we should still keep that open. There will still be an overflow issue if the filename is one long string without spaces.


Properly place windows with xdg-positioner

Not sure if this needs adjustments for hidpi. Seems to work.
(Based on https://github.com/Cloudef/wlc/commit/09fca20730c0da361e375eebede53a9541af7b7e)

Thanks!


0 Evapotranspiration

Bug Reports

VIC 4.2.c
gcc
linux
The total evaporation is 0 for the days with no precipitation. If a small amolunt of precipitation is added, a constant amount of evaporation happens in the model which does not match with actual scenario.

It is difficult for anyone to help you if you do not provide the input forcings, soil/veg/snowbands parameter files, global parameter file, and any initial state files that you used.

Here are the input files which I have used. I have used VIC-4.2.c.
data_23.25_73.75.txt
flux_23.25_73.75.txt
global_parm_2003.txt
soil_param.txt
veg_lib.txt
veg_param_2003.txt


fix(tcp-log) remove trailing carriage return

Do not add a carriage return anymore to payload
(CR is not needed and can produce an invalid JSON on receiver side)
Fix #4048

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.vito seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Test failed on a timeout.
I have no access write to restart it.


Documentation editing, linting

@DittmannAxel, @vslepakov While working through the repo, sources and documentation I did some editing. If you like the changes feel free to adopt them. Of course, feel also free to contact me for any changes or feedback - it is always very welcome!

@sukidev could you please resolve that merge conflict? Then we should be good to go

@vslepakov Of course, just resolved the conflict. If you need anything else, please let me know.


Spike - Listing Notification Translations

As a user on Doorway signing up for email notifications,
I want to be able to view the email in spanish, chinese, vietnamese, or tagalog
So that I can consume the content in my preferred language
AC:

Users on doorway have a way to receive translated emails

Notes:

I understand that we may not be able to translate emails for folks who have already signed up for notifications. That’s ok for now.
I think there are a few different ways this could be done - as a first step on this ticket, can we outline those (the experience for a user, including a sense of complexity) so we can run past Barry?)

outcome of the spike is to document the options and present the best option.

Timebox to 1 day


arrow-cpp: 0.15.1 -> 0.16.0

Changelog: https://arrow.apache.org/release/0.16.0.html
This switches to explicitly enabling dependency lookups for optional features (they were not picked up before).
It also enables building of the Parquet command line tools.

Motivation for this change
Things done

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

[x] NixOS
[x] 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 nixpkgs-review --run "nixpkgs-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)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build arrow-cpp
@GrahamcOfBorg build pkgsStaic.arrow-cpp
@GrahamcOfBorg build python37Packages.arrow-cpp
@GrahamcOfBorg build python38Packages.arrow-cpp

@GrahamcOfBorg build pkgsStatic.arrow-cpp

@GrahamcOfBorg build python37Packages.pyarrow
@GrahamcOfBorg build python38Packages.pyarrow

Looks like this breaks pyarrow and the jemalloc-disable-shared.patch needs to be updated too.

@GrahamcOfBorg build pkgsStatic.arrow-cpp
@GrahamcOfBorg build python37Packages.pyarrow
@GrahamcOfBorg build python38Packages.pyarrow

@GrahamcOfBorg build arrow-cpp python27Packages.awkward python27Packages.pyarrow python27Packages.pytest-lazy-fixture python27Packages.uproot python27Packages.uproot-methods python37Packages.awkward python37Packages.pyarrow python37Packages.pytest-lazy-fixture python37Packages.uproot python37Packages.uproot-methods python38Packages.awkward python38Packages.pyarrow python38Packages.pytest-lazy-fixture python38Packages.uproot python38Packages.uproot-methods

@GrahamcOfBorg build pkgsStatic.arrow-cpp
@GrahamcOfBorg build python37Packages.pyarrow
@GrahamcOfBorg build python38Packages.pyarrow

@tobim Thank you!


cli: fix windows yarn error

I ran into this yarn issue on windows. https://github.com/project-serum/anchor/issues/1821
This PR fixes the yarn command on windows. I have tested and verified this PR on windows and linux.

Am I understand correctly that difference only?
std::process::Command::new("cmd").arg("/C yarn")

vs
std::process::Command::new("yarn")

Maybe it is worth creating a function and do not use copy-pasted code?
fn new_cmd(cmd: &str) -> std::process::Command {
  if cfg!(target_os = "windows") {
    std::process::Command::new("cmd").arg(format!("/C {}", cmd))
  } else {
    std::process::Command::new(cmd)
  }
}

Yes that is correct. I agree it would be preferable to use a function and will go ahead and update it. Thanks for the feedback.

looks like a simple enough change to the command that is called
tests appear to pass?
makes life better for windows people + there was a comment about this on an issue from sept 15th so it's still an issue for people

Let's merge for now and see how it goes. Again, I'm really not all that familiar with the yarn stuff. It looks safe at least but we don't run github CI on windows machines so who knows 🤷


Avoid TEST_BITQ/test_bit intrinsic for flag enums

BN has recently gotten much better at handling flag enums, but there is one remaining case that bugs me a bit:

The TEST_BITQ intrinsics here are not very helpful as I rarely remember what flag each bit corresponds to, so I have to look that up manually. I wonder if BN could handle this case better?

Related to https://github.com/Vector35/binaryninja-api/issues/4431


(BUG) Error Log Spam

Mod spams error in console.

same for me

I'm guessing this is the error being discussed:
[Error  : Unity Log] NullReferenceException
Stack trace:
SprayPaintItemExt.Update () (at D:/SteamLibrary/steamapps/common/Lethal Company/projects/BetterSprayPaint/src/SprayPaintItemExt.cs:151

https://github.com/taffyko/LCBetterSprayPaint/blob/e0237468545f9ce4e1a5fccdc6ce721006b54077/src/SprayPaintItemExt.cs#L151
This happens because Unity overloads the == operator to handle checking if the object was destroyed.
Source: https://stackoverflow.com/a/72072517/1581233
This can be fixed by removing the null-propagating operator:
--- a/src/SprayPaintItemExt.cs
+++ b/src/SprayPaintItemExt.cs
@@ -148,7 +148,7 @@ public class SprayPaintItemExt: MonoBehaviour {
         var c = net.CurrentColor;
         var factor = (Mathf.Sin(Time.timeSinceLevelLoad * 6f) + 1f) * 0.2f + 0.2f;
         previewFadeFactor = Utils.Lexp(previewFadeFactor, active ? 1f : 0f, 15f * Time.deltaTime);
-        if (previewDecal?.gameObject != null && previewDecal.material != null) {
+        if (previewDecal != null && previewDecal.gameObject != null && previewDecal.material != null) {
             previewDecal.material.color = new Color(
                 Mathf.Lerp(c.r, Math.Min(c.r + 0.35f, 1f), factor),
                 Mathf.Lerp(c.g, Math.Min(c.g + 0.35f, 1f), factor),


Adds storage area callbacks

This PR adds a custom storage area with the necessary callbacks.
The read range callback might be particularly tricky to implement as it doesn't take a size parameter, so the range length is unknown and presumably must be deduced. This might be easy, if DicomElement can find a data element at the head.
Dealing with multiple content types might also be of moderate challenge.
@brianzhouzc could you comment on the default method of storing the files. Is it the first 2 characters of the uuid as the parent directory/path?

The default file structure is based on the first 4 characters of the uuid, like this: /uuid.substr(0,2)/uuid.substr(2,2)


Edge 114 Beta now supports AVIF with "--enable-features=msEdgeAVIF"

Supports animated AVIF too

Not by "default":
https://winaero.com/avif-support-is-now-available-in-microsoft-edge/
My Edge 115 Dev Edition doesn't yet show AVIFs in default setup. But it's good to se it's on its way...

@StigNygaard I forgot I have changed boot option in the shortcut.
I reinstalled Edge Beta.

The stable version doesn't support AVIF even with this flag... Seems to be opted out.


[ModalManager] uses instance (arrow) functions which makes hard to extend

I was trying to extend the ModalManager class to add some additional functionality when add/remove are called. This was a little difficult since the functions inside of ModalManager use instance (arrow) functions. Ideally I would love to do something like:
class CustomModalManager extends ModalManager {
  add() {
    super.add();
    // some additional stuff
  }
  ...
}

But ended up having to do some monkey patching to get it to play nicely. Would you accept a PR to change to normal prototype methods instead of instance methods?

@ianschmitz Do you want to remove the arrow function?

I'm on it


Do you planing open source MFC?

Do you planing open source MFC, source of old application like calendar, calc and etc.?

there's a visual studio useritem here: https://visualstudio.uservoice.com/forums/121579-visual-studio-2015/suggestions/10833846-microsoft-should-make-mfc-open-source. Vote on it if you want the Visual C++ team to hear it.


firebase_auth, always got verifyPhoneNumberError, Invalid token when using phone auth on ios 12.1.2

always got verifyPhoneNumberError, Invalid token when using phone auth on ios 12.1.2(16C104), but the same code works on 12.1(16B91) and Android
Steps to Reproduce

Doing verifyPhoneNumber()

   FirebaseAuth.instance.verifyPhoneNumber(
          phoneNumber: widget.phoneNumber,
          timeout: Duration(seconds: 60),
          verificationCompleted: phoneVerificationCompleted,
          verificationFailed: phoneVerificationFailed,
          codeSent: phoneCodeSent,
          codeAutoRetrievalTimeout: phoneCodeAutoRetrievalTimeout);

Logs
flutter: auth failed, verifyPhoneNumberError, Invalid token.

[✓] Flutter (Channel beta, v1.0.0, on Mac OS X 10.14.2 18C54, locale zh-Hant-TW)
    • Flutter version 1.0.0 at /Users/paulhsu/flutter
    • Framework revision 5391447fae (7 weeks ago), 2018-11-29 19:41:26 -0800
    • Engine revision 7375a0f414
    • Dart version 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297)

[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)
    • Android SDK at /Users/paulhsu/Library/Android/sdk
    • Android NDK at /Users/paulhsu/Library/Android/sdk/ndk-bundle
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.1, Build version 10B61
    • ios-deploy 2.0.0
    • CocoaPods version 1.5.3

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

[✓] IntelliJ IDEA Ultimate Edition (version 2017.1.2)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 23.2.1
    • Dart plugin version 171.4424

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

[✓] Connected device (2 available)
    • PAUL 的 iPhone • 6c0b50169f3f2e205e46f929790d57f495e8929f • ios • iOS 12.1.2
    • iPhone XR     • 22FC19E8-9A1E-46B6-8285-F5EA34DEF730     • ios • iOS 12.1 (simulator)

@paulhsu
The issue at https://github.com/flutter/flutter/issues/26627 has been closed and moved here. Future collaboration on this issue will be done here.

Hi @paulhsu
Did the proposed solution worked for you?
If you are still experiencing this issue
with the latest version of Flutter and FlutterFire plugin
can you please provide your updated  flutter doctor -v
and your and your flutter run --verbose/flutter build --verbose ?
Also, to better address the issue, would be helpful
if you could post a self contained app on github
or the steps to reproduce it.
Thank you

@kroikie  @iapicca  Thanks for your help. I think you can close it, I don't encounter the issue now.

Hi @paulhsu
I'm glad that you solved the issue,
thank you for letting me know

@kroikie how did you fix it?

Could everyone who still has this problem please file a new issue with the exact descriptions what happens, logs and the output of 'flutter doctor -v'  please.
All system setups can be slightly different so it's always better to open new issues and reference related issues.

@iapicca in my case, i forgot to upload APNs key to firebase.

@paulhsu  @iapicca  I am facing the same issue guys, did it solve by adding the .p12 cert? I've uploaded the .p8 cert along with the key id and team id (that's what firebase recommends) - any insights would be appreciated :D


Add debug logging around viam-rust-utils

And also add a lock to retrieving PointerCounter.count

New commit changes the way we use the rust library, don't need locks anymore since we can create/release runtimes as needed @stuqdog @biotinker


shelf.nu

Do you want to add or update the vendor? Adjust the title accordingly!
How to use? Fill the yaml file below!

name: Use the vendors name
base_pricing: Use the vendors cheapest available price suitable for teams/companies. A plan limited to less than 10 users may not be suited for companies.
sso_pricing: Use the vendors cheapest price that includes SSO.
scim_pricing: Use the vendors cheapest price that includes SCIM.
pricing_scheme: How is the pricing? Is it per user per month? Per month?
pricing_sources: Add a link or a note to where you got the pricing from. One per line.
notes: If you need to clarify pricing, please add a note.
free_sso_providers: Do they support free SSO providers like Google, Apple, Github etc.? One per line.
updated_at: yyyy-mm-dd of the day you filed this.
vendor_url: Use the vendors public website

---
base_pricing: Free
currency: USD
name: shelf
notes: Pricing for teams starts at $37/month
pricing_scheme: per month
pricing_sources:
  - https://www.shelf.nu/pricing
scim_pricing: ??
sso_pricing: ??
updated_at: 2007-07-29
vendor_url: https://www.shelf.nu/

Thank you @HappyVlane. I made little adjustments and added it. :-)


Extension causes the TS Server to stop working

Describe the bug
When the exteention is enabled, whenever I open vscode, the Typescript server starts to spin up but it never finishing spinning up. this behaviour makes the code editor unusable. I can't see linting or intellesense, the files don't save, and nothing works.
After disabling the extension, everything returned to normal.
This only started to happen Yesterday, Augest 23rd. before that, the extension was working normally.
Expected behavior
Everything should work normally.

Hey @ma7moud3bas,
pretty-ts-errors shouldn't block the work of the TypeScript server, it just adds more diagnostic messages. Is it consistent and keeps happening in newer versions?
Could you provide some diagnostic files or more information, please?

I don’t know if this is related, but I spent an hour debugging why I couldn’t save this morning, and eventually through a process of elimination managed to get files to save after disabling this extension.
I have some (maybe over complex) types in my code and I think an error in my TS may have caused this to happen?

Not sure if related, but we work in a huge monorepo with seperate tsconfigs per package, and this extension was causing the server to crash as well every 10 or so minutes


Editor: Quick Load option window opens minimised and in wrong location, when 'single window mode' is enabled

Godot version
v4.0.beta.custom_build [cd491c6e4]
System information
Windows 10
Issue description
When 'single window mode' is enabled in the Editor Settings, the Quick Load option in the inspector will open a minimised window at the top left of the screen. Examples where this occurs in the inspector: material_override (GeometryInstance3D), texture (TextureRect).
The window will always appear this way, even after manually resizing it, which is frustrating given how useful Quick Load is to load a resource specific to the property you want to load it in.
This issue doesn't seem to occur when 'single window mode' is disabled. Additionally, if you use Quick Load in a property when it's disabled, the issue will no longer occur for that property after turning 'single window mode' back on.
This is a recent-ish regression, I tried to bisect it but the official [Godot 4.0 beta 6] doesn't have this issue, so it's something between that and v4.0.beta.custom_build [cd491c6e4] .
Steps to reproduce
Click Quick Load in the inspector of a MeshInstance3D, anywhere where a material can go into, while having 'single window mode' enabled.

Minimal reproduction project
quick load bug.zip

can confirm, has happened to me. i just search it and press enter hoping its the right one

This bug is not restricted to Single Window Mode, but also appears in Multi Window Mode in a different form: the windows don't save their previous position.

That isnt a bug, just not a feature.

That isnt a bug, just not a feature.

This is a regression from beta6, this is definitely a bug.

@Sauermann I believe #68369 just isnt in a beta yet.

That isnt a bug, just not a feature.

This is a regression from beta6, this is definitely a bug.

What do you mean? Im talking about the saving resizing thing.

#68369 introduced a method for saving size and position, which works fine, while not other node is selected. As soon as a different node is selected, the above mentioned bug happens.

I believe #68369 just isnt in a beta yet.

Right, but it is in master.

If you built master, and it doesnt work in master, make your own issue, dont hijack somebody elses

@bend-n I have to remind you of our Code of Conduct. The way you're interacting with fellow contributors here doesn't seem conducive to friendly and constructive work.
Also, this issue is about something that works in beta 6 and broke in master:

This is a recent-ish regression, I tried to bisect it but the official [Godot 4.0 beta 6] doesn't have this issue, so it's something between that and v4.0.beta.custom_build [https://github.com/godotengine/godot/commit/cd491c6e47bb41ccf596189676c0c5d4a72226cc] .

Sauermann is providing additional context on the regression, which is likely caused by #68369.


Dev: Remove the config ignore errors.

Description
See #7731
Checklist:

[x] Securely signed commits
[ ] Component(s) with PHPDoc blocks, only if necessary or adds value
[ ] Unit testing, with >80% coverage
[ ] User guide updated
[x] Conforms to style guide

Paul's review looks thorough - skipping but let me know if you need me.


Fallback extractions doesn't work

Laravel Mix Version: 6.0.0.beta-15
Node Version (node -v): 12.19.0
NPM Version (npm -v): 6.14.8
OS: MacOS Big Sur

Description:
mix.extract(
    ["vuex", "axios-mock-adapter", "vue-color"],
    "./application/js/dist/vendor~backend.js"
);
mix.extract({
    to: "./application/js/dist/vendor~frontend.js"
});
mix.extract();

Should result in 3 files as per the doc:
// `vendor~backend.js`
// `vendor~frontend.js`
// `vendor.js` will contain all other used libraries from node_modules

.. but only three files are generated (including the manifest), there's no vendor.js causing the entire app to break.

The last two extract calls are effectively the same with a different filename.
This extracts the rest of the files to vendor~frontend.js:
mix.extract({ to: "./application/js/dist/vendor~frontend.js" })
This extracts the rest of the files to vendor.js:
mix.extract()
Having them both is probably undefined behavior. I would expect the above to result in 3 files vendor~backend.js, vendor~frontend.js, manifest.js. Perhaps you forgot to specify which libraries you wanted to extract for vendor~frontend.js

Having the same issue here as well where no "vendor.js" file is getting created (Laravel Mix v5.0.9). Started with a fresh install of Laravel 8, installed laravel/ui (the "bootstrap --auth" version), ran npm install, and simply added the following 2 lines to the end of webpack.mix.js:
mix.extract(['jquery'], 'public/js/jquery.js');
mix.extract();

Ran npm run dev and got the following ouput:
DONE  Compiled successfully in 11264ms

          Asset      Size        Chunks             Chunk Names
   /css/app.css   139 KiB       /js/app  [emitted]  /js/app
     /js/app.js  1.96 MiB       /js/app  [emitted]  /js/app
  /js/jquery.js   809 KiB    /js/jquery  [emitted]  /js/jquery
/js/manifest.js  6.12 KiB  /js/manifest  [emitted]  /js/manifest

Same result as @3zzy with no vendor.js file being generated. Can anybody spot what we're missing here?

Fallback extractions are a Laravel Mix v6 feature.

Well there you have it! Thank you @thecrypticace !

@thecrypticace Thanks, but I'm still having issues when using fallback extractions. So I have this:
mix.extract(
    [
        "vuex",
        "axios-mock-adapter",
        "vue-color",
        "@popperjs/core",
        "invert-color",
    ],
    "./application/js/dist/vendor~backend.js"
);
mix.extract({
    to: "./application/js/dist/vendor.js",
});

... followed by a few mix.js() calls for Vue SPAs. Most of those works (haven't tested all) but one doesn't work:
[Vue warn]: Unknown custom element: <my-component> - did you register the component correctly? For recursive components, make sure to provide the "name" option.
The component works without issues as soon as I remove the extractions.

I'd need to see a reproduction repo.


Unable to redirect traces to Serilog

Hi,
I use the System.Extensions.Logging.File package to configure the logs in my application.
Unfortunately, some third-party libraries use the System.Diagnostics.Trace class.I said unfortunately because until now, I have been able to see their traces in the Output pane of Visual Studio but never in my logs file.
My appsettings.json file
  "Logging": {
    "PathFormat": "C:/Logs/Logs - {Date}.txt",
    "LogLevel": {
      "Default": "Debug",
      "Microsoft": "Warning"
    }
  }

The code in Startup class
loggerFactory.AddFile(configuration.GetSection("Logging"));
var logger = loggerFactory.CreateLogger<Startup>();
logger.LogInformation("Startup"); => I can see this log

var listener = new global::SerilogTraceListener.SerilogTraceListener();
Trace.Listeners.Add(listener);
System.Diagnostics.Trace.WriteLine("A string written using Trace.WriteLine"); => but this has no effect

What am I doing wrong?
Edit 1 : I tried using the Serilog directly like this but same thing.
 var logger = new LoggerConfiguration()
               .WriteTo.Console()
               .WriteTo.File("log.txt")
               .CreateLogger();
           logger.Information("Hello, Serilog!");
           Log.Logger = logger;

           var listener = new global::SerilogTraceListener.SerilogTraceListener();
           Trace.Listeners.Add(listener);

           System.Diagnostics.Trace.WriteLine("A string written using Trace.WriteLine");

Edit 2 : If I use ConsoleTraceListener, the log appears

Hi! Thanks for your question; running a bit short on time to dig in - but with all of the info above, it looks like a great Q for Stack Overflow, and there are others watching the "serilog" tag there who may have some ideas. HTH!

Done : https://stackoverflow.com/questions/62266901/cant-redirect-trace-writeline-to-serilog-using-serilogtracelistener

As answer in stackoverflow, I just need to set the MinimumLevel to Debug and it works
var logger = new LoggerConfiguration()
               .MinimumLevel.Debug() // <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
               .WriteTo.Console()
               .WriteTo.File("log.txt")
               .CreateLogger();
           logger.Information("Hello, Serilog!");
           Log.Logger = logger;

           var listener = new global::SerilogTraceListener.SerilogTraceListener();
           Trace.Listeners.Add(listener);

           System.Diagnostics.Trace.WriteLine("A string written using Trace.WriteLine");


Project won't build in Xcode even after forking your repo

The project SimpleVm will not build in Xcode 12 as it can not download the files needed from this GitHub repo. Here is my error Log from Xcode 12.
Showing Recent Issues
Submodule 'SwiftSH.binaries' (git@github.com:migueldeicaza/SwiftSH.binaries.git) registered for path 'SwiftSH.binaries'
Cloning into '/Users/jason/Library/Developer/Xcode/DerivedData/SimpleVM-hfkccappywzjzmcpjxktzubynubp/SourcePackages/checkouts/SwiftTerm/SwiftSH.binaries'...
Host key verification failed.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@github.com:migueldeicaza/SwiftSH.binaries.git' into submodule path '/Users/jason/Library/Developer/Xcode/DerivedData/SimpleVM-hfkccappywzjzmcpjxktzubynubp/SourcePackages/checkouts/SwiftTerm/SwiftSH.binaries' failed
Failed to clone 'SwiftSH.binaries'. Retry scheduled
Cloning into '/Users/jason/Library/Developer/Xcode/DerivedData/SimpleVM-hfkccappywzjzmcpjxktzubynubp/SourcePackages/checkouts/SwiftTerm/SwiftSH.binaries'...
Host key verification failed.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@github.com:migueldeicaza/SwiftSH.binaries.git' into submodule path '/Users/jason/Library/Developer/Xcode/DerivedData/SimpleVM-hfkccappywzjzmcpjxktzubynubp/SourcePackages/checkouts/SwiftTerm/SwiftSH.binaries' failed
Failed to clone 'SwiftSH.binaries' a second time, aborting

I had the same problem. It looks like the<EMAIL_ADDRESS>must be changed to https://github.com to permit anonymous checkout, but how to do that in Xcode, I do not know ...


enable context isolation in lyric window

Enable context isolation in lyric window.
P.S Maybe we should start migrating electron remote module to ipc since it will be deprecated soon

sure. I'll create a new issue about remote module deprecation thing


⚠ Samsung has degraded performance

In 1de1509, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2585 ms

Resolved: Samsung performance has improved in 1a1e496.


Why capistrano fails on ssh authentication ?

The detailed of problem has been explained in below link, sorry for explanation mentioned in stackoverflow.
https://stackoverflow.com/questions/45659362/why-capistrano-fails-during-rvm-version-check?noredirect=1#comment78290783_45659362
Thankyou all.

GitHub issues are not for questions of this nature. Please read the CONTRIBUTION guidelines before deleting them.


ensure string literals properly escape characters as needed

At the moment, this means ensuring that double quotes " inside the string literal (eg in a samplegen print statement) get escaped if needed. I encountered this with a config that contained something like this:
- print:
  - "alpha\"beta\"gamma"

which resulted in an incorrect  PHP string literal in the generated sample, "alpha"beta"gamma", instead of the correct "alpha\"beta\"gamma"
This is not a problem in Python, since we use single quotes ' to delimit string literals. But in PHP we aren't escaping the doubles, and it causes an error. Don't know about other languages.
We should ensure the characters in {" ' % \n} are escaped as needed  in each language:

[ ] Python
[ ] Java
[ ] PHP
[ ] NodeJS

@hzyi-google What's the status of this?

Haven't worked on it yet.

Update: we're currently working on this, iterating through the edge cases.

Escaping special characters are covered in #2566.
We still need to make sure they are correctly escaped in defaults though. Leave this issue open for tracking.
Also bump it down since the rest of the work is non-blocking.


deflate_quick questions

These are some questions I have about deflate_quick() that perhaps somebody (@jtkukunas ?) can answer - at least it is good to have it documented.

Why is deflate quick window only 8K? It seems like it would be beneficial for it to be 32K and lead to better compression rates.

Sometimes dist is greater than s->w_size. Is there anything that can be done to prevent it from trying to read at greater distances?

Perhaps this has to do with switching the deflate level mid-stream. If it goes from level 6 (32k window size) to level 1 (8k window size) then it will still be reading 32k distances because window size doesn't change when level is updated in deflateParams.

When switching deflate level, from level 1 (8k window size) to level 6 (32k window size), since the window size never updates (nor the window buffer alloc itself), then compression performance at level 6 suffers because window size is permanently at 8k.

I'm not suggesting the size of the window be reallocated or even updated, but rather that deflate_quick() support 32k window size with more lens and dist codes.

What method/algorithm was used in constructing the quick_len_codes and quick_len_dists?

If we had the algorithm perhaps we could have a makequick.exe that generated these automatically and is part of CI, similar to makefixed, makecrct, or maketrees..

With 32k window size quick deflate is ~9% slower and compresses ~7% better.
sslkeylogfile.log  154,465,349
sslkeylogfile8k.log.gz 96,917,999
sslkeylogfile16k.log.gz 93,809,389
sslkeylogfile32k.log.gz 90,912,856

To generate the quick dist codes where QUICK_MAX_WINDOW is 8192:
/* Generate quick distance codes */
for (dist = 1; dist <= QUICK_MAX_WINDOW; dist++) {
    int32_t code = d_code(dist-1);
    int32_t code_rev = bi_reverse((unsigned)code, 5);
    int32_t extra = (dist-1) - base_dist[code];
    int32_t extra_bits = extra_dbits[code];

    quick_dist_codes[dist-1] = (extra << 13) | (code_rev << 8) | (5 + extra_bits);
}

Pros:

Better compression when switching compression levels

Level 1 with 8K window size -> level 6 with 32k window size (window not resized)

Supports all window sizes up to 32k (still supports 8k window size for speed)

Cons:

Requires 128k byte table for all codes
Slower if using max window size

In my tests, it seems using longest_match with compare258_sse is faster than only using compare258_sse. Perhaps because it gets through the content quicker because s->strstart is increased by match_len. When larger matches are found, it finishes overall compression quicker. However, more testing would need to be done to verify my results.

I think being slower is no option for deflate_quick. Too high memory usage is also bad as not all PCs have a lot of memory, especially when zlib-ng is linked statically and used by several applications at the same time.
As I see it, having better compression ratio doesn't justify all the cons, especially as one is supposed to use the other deflate versions for better compression rate.

After moving compare258 out of deflate_quick we might no longer need deflate_quick. The same speed could be achieved with deflate_fast with 8k window.

I think deflate_quick is still useful when processor has support for SSE4... deflate_fast might be better for processors without SSE4 including non-x86 processors.

I am saying after compare258 is moved out of deflate_quick then there is no special sauce in SSE4 code in deflate_quick.

I am saying compare258 could be used in other deflate versions too, but there isn't any reason to replace it in deflate_quick...

I'm not suggesting replacing it in deflate_quick. I'm saying getting rid of deflate_quick if deflate_fast is capable of the same level of performance using SSE 4.2.

I don't know... For some reason I started writing AVX2 version of compare258 ;)

Even better!

Using the following code it is possible to not use precomputed window:
#define send_literal(s, lc, ltree, bit_buf, bits_valid) \
    send_code(s, lc, ltree, bit_buf, bi_valid)

#define send_match_length(s, lc, dist, ltree, dtree, bit_buf, bits_valid) {\
    uint32_t code = zng_length_code[lc];\
    uint32_t c = code+LITERALS+1;\
    uint32_t len_bits = ((lc - base_length[code]) << ltree[c].Len) | ltree[c].Code; \
    uint32_t len_bits_len = ltree[c].Len + extra_lbits[code]; \
    uint32_t d = (dist-1);\
    code = d_code(d);\
    Assert(code < D_CODES, "bad d_code");\
    uint32_t dist_bits = ((d - base_dist[code]) << dtree[code].Len) | dtree[code].Code; \
    uint32_t dist_bits_len = dtree[code].Len + extra_dbits[code]; \
    send_bits(s, (dist_bits << len_bits_len) | len_bits, dist_bits_len + len_bits_len, bit_buf, bits_valid); \
}

The send_match_length can also be used in compress_block. It will only need to send_bits once, versus 2-4 times in compress_block.


Would this be the recommended way to create transactions ?

In Rust, I used SQLx which has a builtin begin() function to handle transactions and rollback if the transaction hasn't been committed, but I guess I can just do that because of Zig defer and errdefer keywords right ?
const rows_affected = try db_inner.exec("BEGIN", .{});
errdefer _ = db_inner.exec("ROLLBACK", .{}) catch unreachable;
defer _ = db_inner.exec("COMMIT", .{}) catch unreachable;

And it's even better than with SQLx because it makes it hard to forget to commit a transaction.

There is a is a conn.begin/commit/rollback. They just do what you're doing here:
    pub fn begin(self: *Conn) !void {
        self._state = .transaction;
        _ = try self.execOpts("begin", .{}, .{});
    }

    pub fn commit(self: *Conn) !void {
        _ = try self.execOpts("commit", .{}, .{});
    }

    pub fn rollback(self: *Conn) !void {
        _ = try self.execOpts("rollback", .{}, .{});
    }

I assume your db_inner is a *pg.Conn. If it's a pg.Pool, then what you're doing wouldn't work since each exec would execute against its own, potentially different, connection.
I tend to like the callback/closure approach to this, something like:
pg.transaction((tx) => {
  try tx.exec(...)
  try tx.exec(...)
);

But Zig, having no closure, can't really provide that kind of API.

Great !
db_inner is a Pool 😅
I didn't know it already existed because  I didn't see it in the examples nor in the Pool (which is logical for the reasons you just gave me) 😅

Great ! db_inner is a Pool 😅 I didn't know it already existed because I didn't see it in the examples nor in the Pool (which is logical for the reasons you just gave me) 😅
That code is better 😅
var db_inner = try db.new(arena_allocator);

var conn = try db_inner.acquire();
defer conn.release();

const rows_affected = try conn.begin();
errdefer conn.rollback() catch unreachable;
defer conn.commit() catch unreachable;

Little note : This doesn't work because it commits and rollbacks if there is an error

don't defer the commit:
conn.begin()
errdefer conn.rollback()
conn.exec()
conn.exec()
conn.commit()

don't defer the commit:
conn.begin()
errdefer conn.rollback()
conn.exec()
conn.exec()
conn.commit()

Yeah I have just noticed that thanks 💯
My connection on my computer is so bad that I didn't see your answer before editing 😂 (but it works perfectly on my phone which makes no sense)


Is it possible to get html editor back after choosing JS?

I was sketching something in JS so only needed the JS window ("JS Only"), but then wanted to add some html. At this point it seemed too late as there's no option to bring back to the HTML or CSS pane.
Is it possible to offer the option in case the user changes their mind half way through?
For now i've closed the swing and re-opened a new one and pasted the JS back in

If you open up the "CodeSwing" view on the Explorer tab, you can click the plus button to add an "index.html" file. Currently though, the swing layout wouldn't automatically adjust to the new file, and so to workaround that, you could simply change the layout type to the exact same layout.
To make this flow simpler, I'm thinking about displaying a less of "candidate" files, when you add a new file to a swing. That way, you can simply select a file name, without needing to remember what it needs to be called (e.g. index.html, index.pug, etc.).
Additionally, I could watch for new files being added, and then automatically relay out the preview editor. I'll take a look at optimizing this flow this week 👍


Multi-Select with Virtualize component not rendering properly

Bug type
Component
Component name
MudSelect
What happened?
I'm using the MudSelect with MultiSelection but with a huge list of over 1000 elements. The performance is just way to slow to use like this, so then I tried injecting a Virtualize component into it, which works really efficiently and was easy to inject in.
However, now there is a huge space that renders underneath the MudSelect, which pushes the EditForm page buttons into oblivion :(
I've had a quick muck around with the CSS, but even putting a div around it doesn't work, as it squishes up the MultiSelect as well. When I manually change the div element in the DOM, I can remove the height of that div, but when I do it in the actual element or in the code, it also removes the height of the div surrounding the actual MultiSelect itself.
Expected behavior
I'd expect that it should render the element the same as without using a Virtualize component, but with improved performance (without this huge wasted space being rendered underneath).
Reproduction link
https://try.mudblazor.com/snippet/wEQdaRwiQgtMSmnB
Reproduction steps

Run the snippet
See that there is a huge space that pushes the other Text fields right to the bottom
Inspect the DOM and then find the reduceMe div and add a style of height=0 to see that it goes back to normal.
Adding a height=0 into the div in the razor page squishes the MultiSelect as well, not desirable

Relevant log output
No response
Version (bug)
6.2.0
Version (working)
No response
What browsers are you seeing the problem on?
Chrome, Microsoft Edge
On what operating system are you experiencing the issue?
Windows
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

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

Ok, I figured out that the div I create to surround the Virtualize component (I called it "removeMe" so that I could see it easily) actually is created in two spots in the DOM, one to hold the actual Multi Select under the Mud List element, and another just directly under the div of class Content (so need to look for the direct parent of that specific div). Therefore, I created a quick workaround by adding this style that directly targets the div that creates that wasted space, and it at least removes that blocking space:
<style>
    div.content > div#removeMe {
        display: none;
    }
</style>

<div id="removeMe">
    <Virtualize Items="@states" Context="state1">
        <MudSelectItem T="string" Value="@state1">@state1</MudSelectItem>
    </Virtualize>
</div>


Azure Functions as output binding

Describe the proposal
Create a new binding component that will trigger a function in Azure Functions

Can't this be done with an HTTP binding?

Exactly. You'd just use the HTTP binding to call Azure Functions (can have a private API key as query string param).
https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-http-webhook-trigger?tabs=in-process%2Cfunctionsv2&pivots=programming-language-csharp
I do not think this component is necessary.
Thoughts @artursouza ?

What about the different auth solutions for Azure? That would need a component to support those, right?

Also, could we enable the call without requiring a webhook if we use the Azure SDK?

Also, could we enable the call without requiring a webhook if we use the Azure SDK?

You can't invoke functions using an SDK, the HTTP endpoint is the only way, and auth is defined on the endpoint.

At this point, Azure Functions can only be invoked with a Webhook that (when not anonymous) uses auth via a shared secret. I don't believe there's support for AAD auth (unless that gets implemented as part of the Function code by the user).
However, that would be a good thing to ask the Functions team. There's certainly value in exploring stronger auth for Functions.

Closing this issue as there is nothing that can be implemented.

@berndverst releated proposal: https://github.com/dapr/proposals/pull/16


Centering the input data is not equivalent to removing the linear trend beforehand

Dear Niclas,
First of all, thanks a lot for this wonderful package. It's nice to watch it grow, providing more and more functionalities over time :-)
I do have one question/concern about the center parameter in the EOF model.
I would assume that setting center=True is equivalent to removing the linear trend or (in case of no trend) the long-term average beforehand. Such that the following two approaches result in (at least nearly) the same.
import xarray as xr
from xarrayutils import xr_detrend
from xeofs.models import EOF

da = xr.tutorial.load_dataset('air_temperature').air

# 1st approach
m1 = EOF(n_modes=20, standardize=False, center=True)
m1.fit(da, dim=['lon', 'lat'])

# 2nd approach
da = xr_detrend(da, 'time')
# da = da - da.mean('time')
m2 = EOF(n_modes=20, standardize=False, center=False)
m2.fit(da, dim=['lon', 'lat'])

However, this is not the case as can be seen when we look at the different EOFs or explained variance etc.
Or do I misinterpret something here? If so, feel free to correct me :-)
Desktop:
OS: Ubuntu
xeofs version: 1.2.0

Hi Markus! Thanks for the kind words! The center parameter only removes the mean of the data but not the linear trend. Probably the term centering is used differently in some communities, sorry for the confusion.
There is currently no direct function in xeofs for removing global trends in the data.
I don't know if this is relevant for you, but you could try using Extended EOF /Multi-Channel Singular Spectrum Analysis to remove global non-linear trends in your data though :)

Hi Niclas,
Thanks for the quick response!
Ok. After looking more closely at the code again, I guess (in case of S-mode EOF analysis, i.e. EOF or scores = spatial pattern, components = temporal evolution) the routine removes the field average for every single time step (sample_dims) and not the long-term mean, right? Maybe this can be formulated more clearly in the documentation.?
Because I assumed you subtract the long-term mean in every grid cell by setting center=True.

Ahh, perhaps there is a small mix-up here?
Compagnucci & Richman (2007) define for m time steps at n stations (or grid points):

S-mode treats the time series (m times) at each of the n stations (or grid points) as variables in the analysis; the domain is the geographical area.
T-mode treats the spatial field, defined by all the n stations (or grid points), at each of the m times as variables; the domain is time.

And further,

S-mode analysis results in an nxn similarity matrix whereas the T-mode will result in an mxm similarity matrix.

So if the scores are the spatial patterns and the components are the temporal evolution, then it is T-mode.

Because I assumed you subtract the long-term mean in every grid cell by setting center=True.

Yes, this is true for S-mode, but not for T-mode
perhaps it's easiest to sum up like this:

Analysis Mode
dim in xeofs
scores
components
center in xeofs

S-mode
("time")
temporal
spatial
remove temporal mean for every grid point

T-mode
("lon", "lat")
spatial
temporal
remove spatial mean for every time step

Ou, yes, ok, now it makes all sense 😅
I guess, the mix-up arose with the new version I installed of your package.
I used v0.7.0 until recently, in which the Principle Components were called components.
In the new version, you introduced a new nomenclature for the EOFs (eigenvectors; formerly eofs, now components) and the Principle Components (formerly components, now scores).
Apparently, this led to confusion on my side. Thanks for the exchange and the clarification! 👍🏽

Yep, you're right ;) I forgot that the names were different before 1.0 - sorry for the confusion!
Closing but feel free to reopen if something's unclear.


503 error

running as the pulled container, i'm getting a consistent 503 error and i'm not sure why. i've repulled multitple times and all the usual. the logs look find to me. Looking for suggestions on troubleshooting this.
server6:~ # curl --proxy torprox.docker:5566 http://www.google.ca
503 Service Unavailable
No server is available to handle this request.

Aaaaand i think fixed it by deleting the pid files in /var/run/polipo after seeing messages that the pids couldn't be written. not sure if its permanent, but it appears to be working at the moment.

Having the same issue.
I see the following in the logs:
Couldn't create pid file /var/run/polipo/20000.pid: File exists

I guess this TOR network related. Closing this for now. Feel free to re-open if problem persists.

Hi
root@gmk:~# curl --proxy xx.xx.xx.xx:4444 http://api.ipify.org?format=json
503 Service Unavailable
No server is available to handle this request.

Same problem


Candidate rating page: Update Aladin zoom to sensible level

By default the Aladin tool has an all-sky view. This should be changed to something like a 2 arcmin x 2 arcmin zoom.

Completed in #29 - Default zoom is set to 2 arcmin in y-direction in the html template for the Candidate Rating page, x-direction is dependant on the width of the java applet size.


'ComputeInstance' object has no attribute 'add_identity'

When running this code to attempt to add an identity to my compute cluster, I get this as a result:
'ComputeInstance' object has no attribute 'add_identity'

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 2602bce8-83ed-cb02-ad23-943e3a955a43
Version Independent ID: f117372d-7e39-b79b-282f-aded9be4003c
Content: Create compute clusters - Azure Machine Learning
Content Source: articles/machine-learning/how-to-create-attach-compute-cluster.md
Service: machine-learning
Sub-service: core
GitHub Login: @sdgilley
Microsoft Alias: sgilley

@aronchick Thanks for the feedback! We are currently investigating and will update you shortly.

@aronchick Hello David, could you please share which part of the code you are suffering the issue?

@aronchick - the error message indicates that you used this with a compute instance, not a compute cluster.  Compute instances do not yet support managed identity.
Can you give details of the type of compute you used when you got the error?

I added a note to the document to clarify that managed identity works only with compute clusters, not compute instances.  If this isn’t what went wrong for you, please reopen this issue.


App Version Reporting Page

Includes updates for Awesome Font to 4.2 and adds in a reporting page
for app versions as well as an app widget to customize additional
applications.

@bochoven What is holding up this PR?

@gmarnin not sure, I haven't looked at it. @nbalonso had some issues, I could not tell if they were all resolved.

I can't merge it in the current state, I think it's because of the changes to config_default.php.

I was able to test this feature last week and had no issues with this module. The branch will need to be synced before merging.
Clayton Burlison
Sent from my iPhone

On Mar 4, 2015, at 4:12 PM, Arjen van Bochoven<EMAIL_ADDRESS>wrote:
I can't merge it in the current state, I think it's because of the changes to config_default.php.
—
Reply to this email directly or view it on GitHub.

All sync'd on my side. Thank you!


NotBlank = true with Enums throws an Error in Publishing time

Describe the bug
When you set NotBlank = true in an Enum field compiler don't shows any error but when you try to publish the extension, it throws a Could not publish the package to the server error.
To Reproduce
Set NoBlank = true in an Enum field.
Expected behavior
I would like Enums behaves like Options with this property (see my attached example).
Otherwise, compiler should throw an Error in compiling time because the message when you try to publish your extension don't tell you where is the problem.
NotBlankEnumIssue.zip
Screenshots

Versions:

AL Language: 2.0.48254
Business Central: ES Dynamics NAV 13.0 (24630) OnPremise

Please to update to the latest CU.

On List and Card Pages there is the same Bug.
Sorry @esbenk, but in our OnPremises environment we can't update to the latest CU every month...


terraform tries to recreate ci-user twice for different environments

apply-secrets will not work when you already have an existing environment set up because terraform tries to create the ci-user again.
For apply-env, terraform also tries to recreate these policies with the same name and it fails:
eks_list_and_describe_policy ci_user_list_and_describe_policy (https://github.com/commitdev/zero-aws-eks-stack/blob/master/templates/terraform/modules/environment/iam.tf)

I already fixed the secrets part of this in this commit: https://github.com/commitdev/zero-aws-eks-stack/commit/d03b86ad6726d887e0179433403cd79eca1ac128

But yes, you're right, those policies need env-specific names. Thanks!


Use global to provide document for server-side rendering

We're trying to use this library, but our app does server-side rendering.  Since calling require on this library attempts to access the window object, this crashes node on the server-side.
Added the global library to allow for the use of the document object in node as well for server-side rendering.

Coverage decreased (-60.8%) to 9.036% when pulling 606a735c6d69e0b48141f5b4f568791c209c7f45 on scriptoLLC:use-global-document into f60dfd731c7a67e32619dfceb2e9dd715f660a07 on Mango:master.


Investigate unrolling regression: Arc::compare_and_swap

Added tools/bookrunner/configs/books/The Rustonomicon/Concurrency/Atomics/198.props to inject --unwind 0 into:
use std::sync::Arc;
use std::sync::atomic::{AtomicBool, Ordering};

#[kani::proof]
fn main() {
    let lock = Arc::new(AtomicBool::new(false)); // value answers "am I locked?"

    // ... distribute lock to threads somehow ...

    // Try to acquire the lock by setting it to true
    while lock.compare_and_swap(false, true, Ordering::Acquire) { }
    // broke out of the loop, so we successfully acquired the lock!

    // ... scary data accesses ...

    // ok we're done, release the lock
    lock.store(false, Ordering::Release);
}

Previously CBMC would constant-propagate false and everything was fine. It now unrolls indefinitely without the unwind bound. Some change in upstream rustc/MIR generation means CBMC is no longer able to avoid this loop.

Writing a quick note to self down: Running this under cbmc with an unwind bound and --program-only might be a path to debugging why a constant isn't being propagated to that loop.


Assistant API, New GPT-4 models and Files API

This is one of my favorite OpenAI APIs and I'd love for it to have the new Assistant API with support for the Files API and the new models

@Ran-Mewo support for new models has been added in 0.11.0

Yes
On Fri, 8 Dec 2023, 15:36 Ran, @.***> wrote:

Is parallel tool calling also added along with them?
—
Reply to this email directly, view it on GitHub
https://github.com/ai-for-java/openai4j/issues/3#issuecomment-1847290469,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A7R7SDA6LWM7K4WJDHBS5KDYIMQU7AVCNFSM6AAAAAA7A6BR26VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBXGI4TANBWHE
.
You are receiving this because you commented.Message ID:
@.***>


Bump react and react-dom to 16.8.6

Bump react and react-dom to 16.8.6 to support the usage of hooks.

Pull Request Test Coverage Report for Build 2107

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

Totals

Change from base Build 2084:
0.0%

Covered Lines:
1464

Relevant Lines:
4485

💛  - Coveralls


check.map fails if number of properties do not match

This line causes check.map to fails if the predicate object contains more properties than the data object.
https://github.com/philbooth/check-types.js/blob/master/src/check-types.js#L383
Doesn't this break the usage of the check.maybe.xxx(...) modifier?
function map (data, predicates) {
   var result = {}, keys;
   // ...
   keys = Object.keys(predicates);
   assert.length(Object.keys(data), keys.length);
   // ...

Good point, thanks for raising it. I plan to release a new version next weekend and will make sure this gets addressed at the same time.


Errore modulo cloudflare

Noto un problema nel cloudflare bypass praticamente nel config maker la config funziona(config su iptvstreaming.org) rilevo se un account e valido o meno.
Una volta inserita nel runner il blocco cloudflare bypass va in errore.. allego i log su pastebin:
Debug nel config maker:

[03/04/2019 10:50:27] (Info) Stacker - Started the debugger
[03/04/2019 10:50:27] (Info) Stacker - Converting Observables
[03/04/2019 10:50:27] (Info) Stacker - Initializing the request data
[03/04/2019 10:50:27] (Info) Stacker - Setting the first block as the current block
[03/04/2019 10:50:33] (Info) Stacker - Processed BYPASSCF "https://ip [...]
[03/04/2019 10:50:33] (Info) Stacker - Processed REQUEST GET "https:/ [...]
[03/04/2019 10:50:33] (Info) Stacker - Processed PARSE "" LR  [...]
[03/04/2019 10:50:34] (Info) Stacker - Processed #Login REQUEST POST  [...]
[03/04/2019 10:50:34] (Info) Stacker - Processed KEYCHECK BanOnToChec [...]
[03/04/2019 10:50:34] (Info) Stacker - Processed KEYCHECK BanOnToChec [...]
[03/04/2019 10:50:34] (Info) Stacker - Debugger completed

Debug nel runner:

[03/04/2019 10:55:14] (Info) Runner - Set up sound players
[03/04/2019 10:55:14] (Info) Runner - Setting up the background worker
[03/04/2019 10:55:14] (Info) Runner - Started the Master Worker
[03/04/2019 10:55:14] (Info) Runner - Loaded 44343 lines
[03/04/2019 10:55:14] (Info) Runner - Using Proxies: False
[03/04/2019 10:55:14] (Info) Runner - Creating bot 1
[03/04/2019 10:55:14] (Info) Runner - Trying to assign data a.burgio@hotmail.it:artjob
[03/04/2019 10:55:14] (Info) Runner - Assigned data a.burgio@hotmail.it:artjob to bot 1
[03/04/2019 10:55:14] (Info) Runner - [1] started with data a.burgio@hotmail.it:artjob
[03/04/2019 10:55:14] (Info) Runner - Trying to assign data a.buttignon@hotmail.it:ndb060674
[03/04/2019 10:55:24] (Error) Runner - [1] ERROR in block BYPASS CF | Exception: Riferimento a un oggetto non impostato su un'istanza di oggetto.
[03/04/2019 10:55:25] (Info) Runner - [1] Ended with result ERROR
[03/04/2019 10:55:27] (Info) Runner - Sent cancellation request to Master Worker

alche ho provato anche a creare una config solo con il blocco cloudflare e fornisce sempre lo stesso errore ...
spero di essere stato abbastanza chiaro

I will look into it for sure

By the way please write in English nex time thanks.

i tried the lib weeks ago and was getting same error on my projects

Leaf.xNet has this problem currently, until they fix I cannot do much, unless I decide to switch to the other CF bypass library available for C#

hey is there any update ? i have the same problem its working only fine in the debugger... do you think leaf.xnet will fix the problem soon ?
thank you

I switched to another library, this is now fixed.

whats point when on new library still persists the same issue. The same error pops up in different random places, proxy manager, runner etc... So the issue was not the lib at all

@mastercho Those errors are due to the proxy not working, it's not a CF error. Also mind that SOCKS proxies don't work with this library, so use HTTP ones.

I give just example, used HTTP and proxies work same as before, just CF block in 1.1.1 acts same as before so lib does the same thing throws the same exception, just need to find the issue where is and fix and revert to an old lib as does support SOCKS

@mastercho Can you give me a website to test this on? Because it's working fine for me.

nevermind seems fails only on 99rdp.com when CF detects and blocks cookies and need to renew cookies but "Don't use same cookies" is not ticked


feat: refactor prover initialization and configuration

Note: this PR is to merge against staging/2024-11-15 not main branch
This PR does a few things:

Changes the tree structure of /src from a group of files to the following which is more idiomatic:

Old structure:
.
├── analytics.rs
├── config.rs
├── connection.rs
├── generated
│   ├── mod.rs
│   └── nexus.orchestrator.rs
├── prover.rs
├── prover_id_manager.rs
└── websocket.rs

New directory structure which is more idiomatic:
├── config
│   ├── env_config.rs
│   ├── mod.rs
│   └── prover.rs
├── generated
│   ├── mod.rs
│   └── nexus.orchestrator.rs
├── network
│   ├── connection.rs
│   ├── mod.rs
│   └── websocket.rs
├── prover.rs
└── utils
    ├── analytics.rs
    ├── mod.rs
    └── prover_id.rs

Moves the code that initializes the prover from prover.rs to src/config/prover.rs
Adds comments to /src/prover.rs and other files for legibility
There were areas where the imports were types::* which pulled every type in a library. To make things more explicit, the actual types needed were imported.

Example:
Original:
use nexus_core::prover::nova::{
    pp::gen_vm_pp,
    types::*,
};

New version that is explicit about types
use nexus_core::prover::nova::{
    pp::gen_vm_pp,
    types::{seq, PublicParams, C1, C2, G1, G2, RO, SC},
};

this PR is outdated so closing it


IP whitelist auth option

Added an auth option that allows clients to be restricted to a comma separated list of ip addresses.

I'm done with this now. Updated it so whitelisting can be used in addition to regular auth or as the only auth. Whitelisting can be used on a per method basis regardless.

This is spot on, thank you!


[ROX-17704] Remove dackbox indexers and searchers

Checklist

[ ] Investigated and inspected CI test results
[ ] Unit test and regression tests added
[ ] Evaluated and added CHANGELOG entry if required
[ ] Determined and documented upgrade steps
[ ] Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)

If any of these don't apply, please comment below.
Testing Performed

needs a rebase


[DOCFIX] Fix wrong property name reference load to load.type

What changes are proposed in this pull request?
Please outline the changes and how this PR fixes the issue.
Why are the changes needed?
Please clarify why the changes are needed. For instance,

If you propose a new API, clarify the use case for a new API.
If you fix a bug, describe the bug.

Does this PR introduce any user facing changes?
Please list the user-facing changes introduced by your change, including

change in user-facing APIs
addition or removal of property keys
webui

alluxio-bot, merge this please


Streamline file & file contents loading behind a trait + registry

[x] Everything (rrd, images, meshes...) should be loaded through the same trait (a DataLoader, if you will)
[x] Anybody/anything should be able to register DataLoaders from anywhere
[x] That trait should work in any circumstances:

[x] Loading files and directories on native:

[x] CLI
[x] Drag and drop
[x] Open menu

[x] Loading files and directories on web:

[x] CLI
[x] Drag and drop
[x] Open menu

Requires #4494

Fixed at some point in the DataLoader PR series:

#4516
#4517
#4518
#4519
#4520
#4521
#4565
#4566
#4567


Bump mypy pre-commit hook

Codecov Report

Merging #131 (0323eb1) into main (5efbe6c) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main      #131   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            9         9
  Lines          640       640
=========================================
  Hits           640       640

Continue to review full report at Codecov.

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


shortcuts and features suggestions

start/stop record when app already running.
show record icon over render.
show fps over window render.
start/stop audio record.

start/stop record when app already running.

#475 #1032 https://github.com/Genymobile/scrcpy/issues/1186#issuecomment-592386916

show fps over window render.

https://github.com/Genymobile/scrcpy/issues/274#issuecomment-423934442

start/stop audio record.

https://github.com/Genymobile/scrcpy#audio-forwarding
https://blog.rom1v.com/2020/06/audio-forwarding-on-android-10/#integration-in-scrcpy


[AddressLowering] End borrow scopes for begin_apply at coro endpoints.

When a load_borrow is created on behalf of a begin_apply, it's possible that it may have escaping users.  When it does, findInnerTransitiveGuaranteedUses returns false and the uses it finds are incomplete.  As a result the boundary computed in emitEndBorrows will be incomplete.
In fact, this is generally true, so the emitEndBorrows function needs to be eliminated.  This is the second step in that process.

@swift-ci please test


Updated subtree from https://github.com/azure/azure-functions-languag…

…e-worker-protobuf. Tag: v1.5.3

Issue describing the changes in this PR
n/a
Pull request checklist

[x] My changes do not require documentation changes

[ ] Otherwise: Documentation issue linked to PR

[x] My changes should not be added to the release notes for the next release

[ ] Otherwise: I've added my notes to release_notes.md

[x] My changes do not need to be backported to a previous version

[ ] Otherwise: Backport tracked by issue/PR #issue_or_pr

[x] I have added all required tests (Unit tests, E2E tests)

Additional information
Additional PR information

/check-enforcer evaluate


Large file: warn if not wifi (Android)

After #132 is implemented
When sharing a >50MB file and we detect we're on mobile connection (which may incur high costs), first ask "You're about to share a XX MB resource but without a wifi connection. Proceed?"

Related to #139 and #593


api for block

there is not an API for block detail and transaction detail ....

Duplicate of Issue #77


Logging Sample

UPDATE 15/01/2020
The Logging Sample Functionality was extracted to a library here:

https://github.com/SAP/vscode-logging

Original Thread
Hello.
I Hope you are interested in this example on how to implement a logger for vscode extensions
both to Files and to a VSCode outputChannel which also supports dynamic changes to the log level.
I did not include a gif at this time because this is only partially related to visual functionality.
And also because the recording the logging output (path folder name) on this machine would expose personal data.
If you believe the gif is mandatory for this scenario, I will attempt to create one using a different machine...
Cheers.
Shahar.

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

@sandy081 any chance for review / feedback please?
Thanks. 😄

@bd82 Yeah, but I do not think we can recommend this as a sample for logging. Reason being I have not seen extension authors asking any questions related to this. Will consider this if there are extensions looking for such support.

Thanks for replying, I'll find a different place to host this example 😄

This seems like a strange reason. I've never considered that a sample should only be added after people express they had questions or difficulty. Perhaps logging is straightforward enough that most people can just figure it out, but that doesn't mean a sample doesn't have value to facilitate that process.
@bd82 Thanks for your work on this. I will reference this and point people to it who have questions in the Slack or subreddit.

Hi @KamasamaK
I have created an (opinionated) mini logging library for VSCode Extensions.

https://github.com/SAP/vscode-logging

Perhaps you will find it useful. 😄
Feedback is always welcome.
Cheers.

@sandy081 As someone who came here looking for a logging sample I found it odd this decision was made, the PR is exactly what i was searching for. I know the decision has been made not to include this but i wanted to add that a logging example was expected.
If we're not going to change our minds on this is it worth adding a link to https://github.com/SAP/vscode-logging on the readme?

I will reconsider adding an example for output channels.
This sample has too much to add (vscode API only supports output channels and no logging).
https://github.com/microsoft/vscode-extension-samples/issues/334


chore: adaptations for nightly-2024-11-15

We decided to wait until the notation change is not necessary.


Can't generate client for spec with refs in allOf

Describe the bug
I'm attempting to use openapi-python-client to generate a client for the new XPipe API, but it's failing with "Cannot take allOf a non-object".  I've boiled it down to the following minimal reproducer.  I think what the original spec is trying to describe is an auth type that always has the key "type", and then either has one key or the other based on what type it is.
OpenAPI Spec File
openapi: 3.0.1
info:
  title: Example
  version: "1.0"
paths:
  /ping:
    get:
      responses:
        '200':
          description: OK
components:
  schemas:
    AuthMethod:
      type: object
      discriminator:
        propertyName: type
      properties:
        type:
          type: string
      required:
        - type
      oneOf:
        - $ref: '#/components/schemas/FirstType'
        - $ref: '#/components/schemas/SecondType'
    FirstType:
      type: object
      allOf:
        - $ref: '#/components/schemas/AuthMethod'
        - type: object
          properties:
            key_one:
              type: string
              description: KeyOne
          required:
            - key_one
    SecondType:
      type: object
      allOf:
        - $ref: '#/components/schemas/AuthMethod'
        - type: object
          properties:
            key_two:
              type: string
              description: KeyTwo
          required:
            - key_two

Desktop (please complete the following information):

OS: I've tested it both on Windows and Linux
Python Version: Tested on 3.12 (Windows) and 3.10 (Linux)
openapi-python-client version: 0.21.0

Additional context
I'm fairly new to openapi specs, so it's entirely possible I'm misreading the file or that the original spec is doing something hinky that I don't understand.  What am I missing here?

There are a few peculiar things about this document, none of which we’re likely to have an easy solution to:

using both top-level schema and oneOf. I’d need to read some of the jsonschema spec to see if that’s even allowed, and if so how to resolve it.
Reference cycles between all of the types. AuthMethod might be a FirstType which includes all of AuthMethod which might be a SecondType which…
Using a discriminator and not defining the values to discriminate on.  We don’t actually support discriminators yet, but if we did that’d be an error.

So no obvious way to support this schema in this project. Maybe take a look at the openapitools generator and see what they do with it?
Gonna close this since I don’t think it’s a bug.


BBox filters don't work

Filters with BBox don't work already two days in all browsers. Tried to make new filter - the same.

After about one minute waiting in the left panel all last changesets of OSM are shown

@literannn thanks for the report. Since yesterday, we are having some issues on the database. We are working to fix it as soon as possible.

@literannn We are yet having some performance problems with bbox and geometry filters, but it's a bit better now. I believe you'll be able to do that query

No, BBox filters don't work

It seems you're setting both location and bbox filters. I was able to do a query over Moscow.

no, "Moscow" is only name of this filter :) https://osmcha.org/filters?aoi=e53f863a-3d3b-4dd3-937b-81df6efe1223
But i'll try to make Bbox filter again

We finished a maintenance on the database and now I believe all filters are working properly and faster.


#25: Enhance fuzzy matching

Adding more fuzzy matchers:

IgnoreMatcher
NotNullMatcher
PresentMatcher
RegexMatcher

Enhancing fuzzy matchers marking them optional by suffixing them with a ?.

TODO: documentation

Should be ready to be merged.


Use .netstandard2.0 for default extension

We want to use .NET Standard for the extensions if possible so that we
could potentially run them in Visual Studio at some point. The reason
the default extension was not .NET Standard is because the try-convert
stuff uses MSBuild directly and was forcing .NET 5+ to be the TFM. This
change moves try-convert to be its own extension which allows the
default extension to be .NET Standard.

@sunandabalu not that I know of. If it were to update to target .net 6, then we'd need to react to that. The nice thing about the extensions running in their own AssemblyLoadContext is that they are fairly isolated from each other.


Fix cmd background on Windows

This is simply the fix from #112 . I can confirm this fixes the behaviour on Windows 10 in Powershell.

Why is this not merged?

@diamondburned Unfortunately it looks like this repo hasn't been updated since 2018. I'm not that invested with Go any more but if anyone forks or takes over this repo it'd be great to get this merged.
@chzyer Do you have any plans to add other maintainers?

Is there a demo like one for Powershell?


Lunar UI relation?

Description
Hi :) Just found out https://lunarui.dev/ and it looks great.
I'm a little curious however:

Is it a NuxtLabs official product? I find no mention of the team on the website, but clearly see the patterns used on NuxtLabs website.
Is it build by the same team that build Nuxt UI? (I ask because ones could buy it for showing support even they don't absolutely need the product itself)
It does not seem to have any dependency to nuxt UI, since it's compatible with a bare Vue project too. Am I wrong? This means components like this one does not use the Nuxt UI Accordion component, right?
Is it the Nuxt UI "pro" product that has been teased by some of you from the Nuxt Team?

Thanks for the explanations, and all the great work :

Hi @ddahan 😊
Lunar UI is not done by NuxtLabs, I promoted it with Nuxt like other community projects I promote to help the community discover cool products around Nuxt.
Lunar UI is different than Nuxt UI Pro indeed as it does not leverage the Nuxt UI library. Lunar are nice UI/UX components to give a nice effect for your landing page where Nuxt UI Pro are a full set of advanced components to help you ship complete nice-looking websites quicky: Header, Footer, Hero, Cards, Aside, Docs, Sections, etc.
It is nice to see your curiosity about UI Pro and I cannot wait with @benjamincanac to ship it for the community to both create Nuxt websites at a new pace as well as a way to sustain Nuxt development.

Very clear, thanks a lot for explanations :)
Can't wait to see UI Pro too!


Please revert #528 until a replacement for core::simd is actually available.

The core::simd module was recently deleted (#525) in favour of a future SIMD crate.  However, this crate is not available for use, meaning that there is no possible migration for code that was using core::simd.
I understand that nightly features are unstable and subject to change, and that code using nightly features will need to evolve as those features do, but deleting the entire core::simd module in favour of a not-yet-existing alternative seems like unnecessary breakage, especially because there's no path forward for code that was using it.
Couldn't removing core::simd wait until after the replacement is ready for use?

However, this crate is not available for use,

https://github.com/rust-lang-nursery/packed_simd

Yes, but that crate is only available as a git repository, so it cannot actually be used by any other crate on crates.io, which rejects uploads that specify git dependencies.

Yes, but that crate is only available as a git repository, so it cannot actually be used by any other crate on crates.io, which rejects uploads that specify git dependencies.

Yes, but all crates on crates.io that were using core::simd are now broken because of this, so in some sense, it is a feature.
Anyways, the crate is publication ready modulo docs, I can do a 0.1 release on crates.io any time if this is needed, even if the docs aren't complete.

@gnzlbg could packed_simd perhaps have publishes on crates.io for ease of use? It's in general much easier to use deps from crates.io, and although old implementations break over time that's sort of expected with nightly-only crates.

The main blocker was that it has a git dependency on coresimd for some targets. I fixed that by making that an optional dependency, but I haven't experimented which what happens when other crates.io target try to unconditionally enable that feature.
I'll do a release today, but without the git dependency on coresimd YMMV significantly depending on target.

@alexcrichton what happens if @hdevalence enables a packed_simd feature unconditionally that requires a git dependency? Will @hdevalence be able to publish to crates.io without having to make that feature optional?

So I tried to publish it today, but the optional dependency on coresimd was preventing that (good news I guess, i don't know why I thought that was possible, maybe cargo publish dry run allows it?).
There is a published version on crates.io without the coresimd feature: https://crates.io/crates/packed_simd
Which has its own branch in the packed_simd repo: https://github.com/rust-lang-nursery/packed_simd/tree/release_0_0_1
I strongly encourage using the master branch via git = ... in the Cargo.toml.
If for whatever reasons things break, or there are improvements in master that you want to use, please fill an issue in the packed_simd repo, and I'll branch master again, apply the same workaround, and publish a new release.


Posted Config.json throws error.

Hello, I have been trying to get your container to work but the config provided throws an error. Here is the config's I have tried and their errors. Are you able to assist? Thank you!
Default:
{
  "seconds_between_collections": 60,  // time to wait between finished transmission scrapes
  "influxdb": {
    "host_addr": "HIDDEN",
    "host_port": 8086,
    "use_ssl": false,
    "verify_ssl": false,
    "database": "transmission",  // database will be created if it doesn't exist (don't change if using provided grafana dashboard)
    "username": "root",  // if authentication is disabled on influxdb, leave user/pass as-is
    "password": "root"
  },
  "transmission_clients": [  // Specify as many as desired
    {
      "name": "transmission",  // The name used to tag db datapoints with for this transmission daemon. Useful to make unique when you have more than one client
      "rpc_addr": "HIDDEN",
      "rpc_port": 9092,
      "rpc_path": "/transmission/rpc",
      "rpc_user": "admin",
      "rpc_password": "HIDDEN",
      "rpc_verified_tls": false,  // note that unverified ssl/tls (such as with self-signed cert) is not currently supported
      "rpc_timeout": 60,  // how long to allow an RPC request to take before timing out with an error
    }
  ]
}

Output:
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/usr/src/app/transmission_influxdb/main.py", line 41, in <module>
    main()
  File "/usr/src/app/transmission_influxdb/main.py", line 16, in main
    transmission_clients: List[transmission.TransmissionClient] = [transmission.TransmissionClient(x) for x in config.get_torrent_client_configs()]
  File "/usr/src/app/transmission_influxdb/config.py", line 76, in get_torrent_client_configs
    _load_config_if_necessary()
  File "/usr/src/app/transmission_influxdb/config.py", line 11, in _load_config_if_necessary
    config_cache = json.load(f)
  File "/usr/local/lib/python3.8/json/__init__.py", line 293, in load
    return loads(fp.read(),
  File "/usr/local/lib/python3.8/json/__init__.py", line 357, in loads
    return _default_decoder.decode(s)
  File "/usr/local/lib/python3.8/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/local/lib/python3.8/json/decoder.py", line 353, in raw_decode
    obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 2 column 39 (char 40)

Config:
{
  "seconds_between_collections": 60,
  "influxdb": {
    "host_addr": "HIDDEN",
    "host_port": 8086,
    "use_ssl": false,
    "verify_ssl": false,
    "database": "transmission",
    "username": "root",
    "password": "root"
  },
  "transmission_clients": [
    {
      "name": "transmission-radarr",
      "rpc_addr": "HIDDEN",
      "rpc_port": 9092,
      "rpc_path": "/transmission/rpc",
      "rpc_user": "admin",
      "rpc_password": "HIDDEN",
      "rpc_verified_tls": false,
      "rpc_timeout": 60,
    }
  ]
}

Output:
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/usr/src/app/transmission_influxdb/main.py", line 41, in <module>
    main()
  File "/usr/src/app/transmission_influxdb/main.py", line 16, in main
    transmission_clients: List[transmission.TransmissionClient] = [transmission.TransmissionClient(x) for x in config.get_torrent_client_configs()]
  File "/usr/src/app/transmission_influxdb/config.py", line 76, in get_torrent_client_configs
    _load_config_if_necessary()
  File "/usr/src/app/transmission_influxdb/config.py", line 11, in _load_config_if_necessary
    config_cache = json.load(f)
  File "/usr/local/lib/python3.8/json/__init__.py", line 293, in load
    return loads(fp.read(),
  File "/usr/local/lib/python3.8/json/__init__.py", line 357, in loads
    return _default_decoder.decode(s)
  File "/usr/local/lib/python3.8/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/local/lib/python3.8/json/decoder.py", line 353, in raw_decode
    obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 22 column 5 (char 539)

I found the error. There is an extra comma in the last variable for transmission clients. Here is a working one for those reading.
{
  "seconds_between_collections": 60,  // time to wait between finished transmission scrapes
  "influxdb": {
    "host_addr": "HIDDEN",
    "host_port": 8086,
    "use_ssl": false,
    "verify_ssl": false,
    "database": "transmission",  // database will be created if it doesn't exist (don't change if using provided grafana dashboard)
    "username": "root",  // if authentication is disabled on influxdb, leave user/pass as-is
    "password": "root"
  },
  "transmission_clients": [  // Specify as many as desired
    {
      "name": "transmission",  // The name used to tag db datapoints with for this transmission daemon. Useful to make unique when you have more than one client
      "rpc_addr": "HIDDEN",
      "rpc_port": 9092,
      "rpc_path": "/transmission/rpc",
      "rpc_user": "admin",
      "rpc_password": "HIDDEN",
      "rpc_verified_tls": false,  // note that unverified ssl/tls (such as with self-signed cert) is not currently supported
      "rpc_timeout": 60  // how long to allow an RPC request to take before timing out with an error
    }
  ]
}```

The fact that you have to use the Flux query language. Which ultimately stores your data on Amazon, Google or Microsoft servers seems like a big risk when trying to building a torrents dashboard. Why would I want my torrent data stored on someone else's servers and potentially available to others should said service choose to do so.

What? The flux query language has nothing to do with the cloud. It's just the new query language for influxdb.

I understand that and I hope you can help me here but according to the flux setup page they require a token and bucket which is linked to one of the services mentioned above.

Alright. Ignore this. I definitely was using DB 1.8.6. After creating a second db 2.0 container for this I see you make said items in the InfluxDB Dashboard.

I think I understand now. I needed to create a token and bucket using the CLI since this is 1.X and not 2.0.

Hello @cheeseandcereal I am sorry to bother you. I believe I got your container to connect to my Influxdb 1.8.6 instance. However, I cannot get Grafana v8.0.6 to connect to the database.
To my understanding the settings should be something like this:

I have tried with Skip TLS Verify unchecked as well. Thus:
Organization: any string to my understanding
Token: user:pass (I have tried root:root and leaving blank, I have auth disabled)
Default Bucket: transmission (I have tried transmission, transmission/autogen, and leaving it blank)
Thank you for your time. I appreciate it.

Skip TLS verify doesn't disable TLS, it's just skips checking the validity of the certificate for use with self-signing and whatnot. You probably just need to manually specify http since it defaults to https so change the server url to http://<IP_ADDRESS>:8086

Still fails for me

Output Log for transmission_influxdb_exporter container:
INFO:main:Transmission client transmission-sonarr 7 points found for recording
INFO:main:Writing 7 data points to influxdb
INFO:main:Transmission client transmission-sonarr 7 points found for recording
INFO:main:Writing 7 data points to influxdb
INFO:main:Transmission client transmission-sonarr 7 points found for recording
INFO:main:Writing 7 data points to influxdb

Here is the last few lines of my influxdb:
[httpd] <IP_ADDRESS> - root [24/Jul/2021:20:51:05 -0700] "POST /query?db=transmission&q=DROP+MEASUREMENT+%22tracker_storage%22 HTTP/1.1 " 200 58 "-" "python-requests/2.25.1" 8983513e-ecfb-11eb-b4e4-0242ac11000a 995060
[httpd] <IP_ADDRESS> - root [24/Jul/2021:20:51:06 -0700] "POST /write?db=transmission HTTP/1.1 " 204 0 "-" "python-requests/2.25.1" 8a1bb6bb-ecfb-11eb-b4e5-0242ac11000a 62098
[httpd] <IP_ADDRESS> - root [24/Jul/2021:20:51:06 -0700] "POST /write?db=transmission HTTP/1.1 " 204 0 "-" "python-requests/2.25.1" 8a26fc8c-ecfb-11eb-b4e6-0242ac11000a 33657
[httpd] <IP_ADDRESS> - root [24/Jul/2021:20:52:06 -0700] "POST /query?db=transmission&q=DROP+MEASUREMENT+%22tracker_storage%22 HTTP/1.1 " 200 58 "-" "python-requests/2.25.1" adfef05e-ecfb-11eb-b4ea-0242ac11000a 1400363
[httpd] <IP_ADDRESS> - root [24/Jul/2021:20:52:07 -0700] "POST /write?db=transmission HTTP/1.1 " 204 0 "-" "python-requests/2.25.1" aed52dab-ecfb-11eb-b4eb-0242ac11000a 235992
[httpd] <IP_ADDRESS> - root [24/Jul/2021:20:52:08 -0700] "POST /write?db=transmission HTTP/1.1 " 204 0 "-" "python-requests/2.25.1" aefa569b-ecfb-11eb-b4ec-0242ac11000a 66662
[httpd] <IP_ADDRESS> - root [24/Jul/2021:20:53:08 -0700] "POST /query?db=transmission&q=DROP+MEASUREMENT+%22tracker_storage%22 HTTP/1.1 " 200 58 "-" "python-requests/2.25.1" d2d6d889-ecfb-11eb-b4ef-0242ac11000a 661810
[httpd] <IP_ADDRESS> - root [24/Jul/2021:20:53:08 -0700] "POST /write?db=transmission HTTP/1.1 " 204 0 "-" "python-requests/2.25.1" d33c90ac-ecfb-11eb-b4f0-0242ac11000a 107508
[httpd] <IP_ADDRESS> - root [24/Jul/2021:20:53:09 -0700] "POST /write?db=transmission HTTP/1.1 " 204 0 "-" "python-requests/2.25.1" d34e6524-ecfb-11eb-b4f1-0242ac11000a 25254
[httpd] <IP_ADDRESS> - root [24/Jul/2021:20:54:09 -0700] "POST /query?db=transmission&q=DROP+MEASUREMENT+%22tracker_storage%22 HTTP/1.1 " 200 58 "-" "python-requests/2.25.1" f725715e-ecfb-11eb-b4f4-0242ac11000a 2263818
[httpd] <IP_ADDRESS> - root [24/Jul/2021:20:54:11 -0700] "POST /write?db=transmission HTTP/1.1 " 204 0 "-" "python-requests/2.25.1" f87f6090-ecfb-11eb-b4f5-0242ac11000a 106469
[httpd] <IP_ADDRESS> - root [24/Jul/2021:20:54:11 -0700] "POST /write?db=transmission HTTP/1.1 " 204 0 "-" "python-requests/2.25.1" f890b73a-ecfb-11eb-b4f6-0242ac11000a 21506
[httpd] <IP_ADDRESS> - root [24/Jul/2021:20:55:11 -0700] "POST /query?db=transmission&q=DROP+MEASUREMENT+%22tracker_storage%22 HTTP/1.1 " 200 58 "-" "python-requests/2.25.1" 1c65eb76-ecfc-11eb-b4ff-0242ac11000a 1614276
[httpd] <IP_ADDRESS> - root [24/Jul/2021:20:55:13 -0700] "POST /write?db=transmission HTTP/1.1 " 204 0 "-" "python-requests/2.25.1" 1d5d0480-ecfc-11eb-b500-0242ac11000a 93833
[httpd] <IP_ADDRESS> - root [24/Jul/2021:20:55:13 -0700] "POST /write?db=transmission HTTP/1.1 " 204 0 "-" "python-requests/2.25.1" 1d6ccb6b-ecfc-11eb-b501-0242ac11000a 24446
``

@cheeseandcereal I am also having trouble configuring the data source in Grafana. Perhaps you could post a screenshot of your working one? I am not sure how to fill in the InfluxDB details section.

I've posted a picture of my configuration here: https://github.com/cheeseandcereal/transmission_influxdb_exporter/issues/3#issuecomment-1007799033


Fix navber overlap on Getting Started page

Purpose:
There was an issue (#2461) regarding the navigation bar on the Getting Started page in that it overlaps the text/video if you scroll down or resize the window making it too small.
This PR prevents the overlap.
Changes:
The navbar is now affixed to the top and left, and there's a buffer between itself and the text/videos so when you reduce the screen size by enough, the navbar disappears before it overlaps the text/videos.
before:
![image](https://cloud.githubusercontent.com/assets/11323460/7751149/76b3d910-ffa6-11e4-80de-0242b3be53aa.png)
after:
![screen shot 2015-05-21 at 10 49 02 am](https://cloud.githubusercontent.com/assets/11323460/7751423/e0532dc0-ffa7-11e4-958f-711d8d5cb459.png)
Resize
![screen shot 2015-05-21 at 10 58 56 am](https://cloud.githubusercontent.com/assets/11323460/7751685/3632b1c4-ffa9-11e4-868c-7acc21e4b5d8.png)

Good @zik3qe  -- But your referenced Issue# seems to be incorrect -- Can you change/update that? Thanks.

@lbanner Indeed. I switched the '4' and the '6'.
Corrected! Thanks


Update Crass to 0.10.3

Verified that @mattbasta has signed the CLA. Thanks for the pull request!

This is blocked on #6

We have EOL'd Shalam and are closing down the project. Feel free to fork and carry on!


JW Library app structured  links in exported notes

I just discovered this project and am quite excited to work with it! Especially seeing if I can integrate with my Markdown notes.
One thing I noticed from the exported NWT notes is the URL in the link property goes to the online Bible on jw.org. Everyone has their own workflow, of course, so this may be exactly what some are looking for. I like using links that go right to the JW Library app, though, as it requires no internet connection and is where I typically want to read scriptures from anyway. These links are generated from JWL on iOS/iPadOS via Share Menu > Copy. The URL structure is a bit different, though. For example, a link to Isaiah 40:29:
Exported note: https://www.jw.org/finder?wtlocale=0&pub=nwtsty&bible=23040029
Shared note: https://www.jw.org/finder?srcid=jwlshare&wtlocale=E&prefer=lang&bible=23040029&pub=nwtsty
The changes are the addition of srcid and prefer queries, the order of pub in the string, and the value of wtlocale changing from integer to character.
Would having the option for JWL app structured links be something you see a value in adding? Granted I don't know if this link structure is unique to each OS, which would for sure make it more challenging. Thank you for your thoughts and this great tool.

Hi @riggles !
Thank you for your suggestion. I will have a look and see what we can do ;-)

@riggles , can you test the Python script directly or would you need a compiled version for the Mac or Windows?

the value of wtlocale changing from integer to character.

You actually found a bug :-) It should be the letter code. I have fixed it and it should work correctly now.
But I may wait a bit to resolve another issue (at least partially).

@riggles , can you test the Python script directly or would you need a compiled version for the Mac or Windows?

I'm no developer, but if you tell me what's needed, I'm somewhat comfortable running something in Terminal on my Mac.

No worries.
Just as a quick test, just change the wtlocale=0 to wtlocale=E in the link in any of your exported markdown files and see if it opens up in JW Library.

No worries.
Just as a quick test, just change the wtlocale=0 to wtlocale=E in the link in any of your exported markdown files and see if it opens up in JW Library.

Wow, that was it! Changed that one thing, and the link opened in JW Library. Excellent.

Fixed in v6.1.0