Dock throws exception while verifying VC

Hi @SamHellawell
below is the exception from dock https://certs.dock.io/credentials/verify
"A DID document lookup was successful, but the DID in question does not exist. This is different from a network error"
below is the VC
{
"@context": [
"https://www.w3.org/2018/credentials/v1",
"https://www.w3.org/2018/credentials/examples/v1"
],
"type": [
"UniversityDegreeCredential",
"VerifiableCredential"
],
"issuer": "did:sov:danube:8ZU1hh1zD9VQSWfhHPajaA",
"issuanceDate": "2019-06-16T18:56:59Z",
"expirationDate": "2023-06-17T18:56:59Z",
"credentialSubject": {
"degree": {
"name": "Bachelor of Science and Arts",
"type": "BachelorDegree"
}
},
"proof": {
"type": "Ed25519Signature2018",
"created": "2022-09-28T05:12:46Z",
"proofPurpose": "assertionMethod",
"verificationMethod": "did:sov:danube:8ZU1hh1zD9VQSWfhHPajaA#key-1",
"jws": "eyJiNjQiOmZhbHNlLCJjcml0IjpbImI2NCJdLCJhbGciOiJFZERTQSJ9..TznhWGfjwDc_0wiiR9rTCiGKjEciz_BYXb4aAJY8PEKXzTBDP-F-0c-LtipLGpheOeLwTVpahIHfbhfideF_Dg"
}
}
below is the did document prepared in godiddy
{
"@context": [
"https://www.w3.org/ns/did/v1",
"https://w3id.org/security/suites/ed25519-2018/v1",
"https://w3id.org/security/suites/x25519-2019/v1"
],
"id": "did:sov:danube:8ZU1hh1zD9VQSWfhHPajaA",
"verificationMethod": [
{
"type": "Ed25519VerificationKey2018",
"id": "did:sov:danube:8ZU1hh1zD9VQSWfhHPajaA#key-1",
"controller": "did:sov:danube:8ZU1hh1zD9VQSWfhHPajaA",
"publicKeyBase58": "57ymRkRYAFRuNzCDwW8H7wavyETAHydStJkmcFDpeQR3"
},
{
"type": "X25519KeyAgreementKey2019",
"id": "did:sov:danube:8ZU1hh1zD9VQSWfhHPajaA#key-agreement-1",
"controller": "did:sov:danube:8ZU1hh1zD9VQSWfhHPajaA",
"publicKeyBase58": "C6qjDgZpWWNENh42jcAywSHzpWL8dgmhzVDWNvkCahkv"
}
],
"authentication": [
"did:sov:danube:8ZU1hh1zD9VQSWfhHPajaA#key-1"
],
"assertionMethod": [
"did:sov:danube:8ZU1hh1zD9VQSWfhHPajaA#key-1"
],
"keyAgreement": [
"did:sov:danube:8ZU1hh1zD9VQSWfhHPajaA#key-agreement-1"
],
"service": []
}

can you post the code you are using to verify the credential - more specifically how you set up resolvers. that is a valid did, but the dock blockchain doesnt know about it so you'd have to use a universal resolver

Closing as duplicate of https://github.com/docknetwork/vcdm-verifier/issues/35


Small item idea dump

Boots that let you slide over a decent distance, uncontrollable/cancelable. While sliding, they can be used again to perform a powerful skillshot.

Holy hand grenade: Consumable bombs that can be thrown at heroes or creeps, for varying effect.

A caster item that allows any skill to be used while moving

these are gold. the only problem i can think of is #3 because part of the "soul" of the hero is their individual casting times and casting points which would break with this item and no amount of balance would correct this. Good items though. Love them all, especially the holy hand grenade!

Love them all, especially the holy hand grenade!

I smell a boss item called: The holy hand grenade of Antioch with a countdown of 1,2,5,3 :).

I'm sure #3 isn't impossible, there'd have to be a workaround. Maybe not worth it. I was thinking more along the lines of getting rid of channeling time, though only a few heroes would benefit from it. But just imagine that Crystal Maiden come sliding in with her ult up, lobbing hand grenades.


A11y_AzureDataStudioStayHealthy_Notebook_Toolbar_ColorContrast: The separator color contrasts is below 3:1

"Check out Accessibility Insights! - Identify accessibility bugs before check-in and make bug fixing faster and easier.”
GitHubTags:#A11y_AzureDataStudioStayHealthy;#A11yTCS;#A11yWCAG2.1;#Benchmark;#DesktopApp;#MAS1.4.11;#SQL Azure Data Studio;#FTP;#ColorContrast;#A11ySev2;#Acc123;#Win32;
Environment Details:
Application Name: Azure Data Studio
Version: 1.20.0-insider (system setup)
Commit: fd29e35
Date: 2020-07-02T05:40:02.292Z
VS Code: 1.46.0
Electron: 7.3.2
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.18363
Additional Details:
MAS References:MAS1.4.11
Tool: Accessibility insights for desktop
Repro Steps:
1.Launch Azure Data Studio Insiders application.
2. Connect to server.
3. Right-click connection and click New Notebook
4. Click on cell and select code cell navigate to toggle more and open it .
5. Launch Accessibility insights for desktop and select third tab contrast.
Actual:
When the color contrast of the separator under toggle more button is checked the ratio is 1.557:1
Expected:
The color contrast of the separator should be 3:1 or greater
User Impact:
Low vision users will face difficulty in viewing the separate sections in the lsit .
Attachment link for Reference:

I've reached out to the accessibility team internally. I see the same behavior in a number of other apps:

VS Code
Edge (Chromium)
Teams
Notepad++

Waiting on a definitive answer from the desktop app accessibility SME, but this is the information I've been given so far:
"Electron does things a bit differently and because of the Chromium engine there are just things we can’t fix in the Electron framework that we can in other frameworks."

We chatted about this in accessibility office hours, and decided the following:

This is because there is more space between items that have the separator (rather than items that don't have the separator).

Closing the bug as per the above comment and logging the same bug as a usability bug

As per above comment, closing the bug.
GithubTags:#Closed;


Enhancement: Share common code on multiple robots

Reason: We have two swerve robots.  It may be helpful to have them share same code.  Otherwise, the non-production robot loses a lot of its usefulness going forward.
Possible approach: The WPILib already gives us ability to identify the RoboRIO serial number.  Subsystems that don't exist on a robot can be stubbed or not instantiated.  Also, deploy/**/*.json files seem to be read at runtime.  Different deploy config can be read at init time.  E.g. by adding a serial-number folder into the deploy directory.  Note: I don't like duplication of deploy config.  I would prefer to make all of these files be symlinks unless a change is necessary.  In this case, though, I'd bite the bullet and copy whole folders because I'm not sure if the Windows/VSCode combination will botch symlinks.  Yes NTFS and Git both fully support symlinks, but most Windows applications are oblivious.

Here's some Java code example for getting RoboRIO serial number.  It's just the tip of the iceberg for making two robots share code.  At minimum, we'll have to instantiate SwerveSubsystem and climberSubsystem selectively.  Those may need to be moved into the RobotContainer constructor.
diff --git a/src/main/java/frc/robot/RobotContainer.java b/src/main/java/frc/robot/RobotContainer.java
index b136e03..1a001b4 100644
--- a/src/main/java/frc/robot/RobotContainer.java
+++ b/src/main/java/frc/robot/RobotContainer.java
@@ -7,6 +7,7 @@ package frc.robot;
 import edu.wpi.first.math.MathUtil;
 import edu.wpi.first.wpilibj.Filesystem;
 import edu.wpi.first.wpilibj.RobotBase;
+import edu.wpi.first.wpilibj.RobotController;
 import edu.wpi.first.wpilibj.XboxController;
 import edu.wpi.first.wpilibj.smartdashboard.SendableChooser;
 import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;
@@ -93,6 +94,13 @@ public class RobotContainer
     autoChooser = AutoBuilder.buildAutoChooser(); //default auto will be "Commands.non()"
     SmartDashboard.putData("Auto Chooser", autoChooser);

+    String serial_number;
+    if( RobotBase.isReal() ) {
+      serial_number = RobotController.getSerialNumber();
+    } else {
+      serial_number = "simulation";
+    }
+    System.out.println("Serial Number: " + serial_number);
   }


[directories] path doesn't exist: d1

Problem
The generated config/fingerprint.ini from version 1.0.4 uses the path format from 1.0.1 instead of the new format found in the README.md
Changing d1 = C:\path\to\library to a user-defined path like d1 = C:\Users\test\Videos presents this error:
[directories] path doesn't exist: d1
Solution
1.0.4 requires the path to be listed as the following:
C:\path\to\library = C:\path\to\library
or in my case
C:\Users\test\Videos = C:\Users\test\Videos
Thank you for this amazing tool!

Oh, thanks for pointing that out! I guess I forgot to change the default generated version


SharedPreferencesPlugin.h fatal error: 'Flutter/Flutter.h' file not found

Steps to Reproduce

Enter command: flutter create -i swift hello
Enter command: cd hello
Add shared_preferences ^0.4.1 to pubspec.yaml
Enter command: flutter packages get
Enter command: flutter run

Logs
Launching lib/main.dart on iPhone X in debug mode...
Running pod install...                                       0.9s
Running Xcode clean...                                       0.8s
Starting Xcode build...
Xcode build done                                             0.9s
Failed to build iOS app
Error output from Xcode build:
↳
    ** BUILD FAILED **

Xcode's output:
↳
    === BUILD TARGET shared_preferences OF PROJECT Pods WITH CONFIGURATION Debug ===
    In file included from /Users/jvanderen11/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.4.1/ios/Classes/SharedPreferencesPlugin.m:5:
    /Users/jvanderen11/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.4.1/ios/Classes/SharedPreferencesPlugin.h:5:9: fatal error: 'Flutter/Flutter.h' file not found
    #import <Flutter/Flutter.h>
            ^~~~~~~~~~~~~~~~~~~
    1 error generated.
Could not build the application for the simulator.
Error launching application on iPhone X.

Note: In an attempt to resolve the issue, I followed up with issue #15099, however, SharedPreferencesPlugin.h has the correct Target Membership:

Flutter Doctor
[✓] Flutter (Channel beta, v0.2.8, on Mac OS X 10.13.4 17E199, locale en-US)
• Flutter version 0.2.8 at /Users/jvanderen11/flutter
• Framework revision b397406561 (10 days ago), 2018-04-02 13:53:20 -0700
• Engine revision c903c217a1
• Dart version 2.0.0-dev.43.0.flutter-52afcba357
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
• Android SDK at /Users/jvanderen11/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-27, build-tools 27.0.3
• Java binary at: /Applications/Developer Tools/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
• All Android licenses accepted.
[✓] iOS toolchain - develop for iOS devices (Xcode 9.3)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 9.3, Build version 9E145
• ios-deploy 1.9.2
• CocoaPods version 1.5.0
[✓] Android Studio (version 3.1)
• Android Studio at /Applications/Developer Tools/Android Studio.app/Contents
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
[✓] IntelliJ IDEA Ultimate Edition (version 2018.1.1)
• IntelliJ at /Users/jvanderen11/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate.app
• Flutter plugin version 23.1.3
• Dart plugin version 181.4203.498
[✓] Connected devices (1 available)
• iPhone X • 8098B98C-0E07-4441-9F17-50A738A52A85 • ios • iOS 11.3 (simulator)
• No issues found!

I have this same issue!

Same here!

There was a fix for pod support 1.5.0, it may still be trickling down to the channels : https://github.com/flutter/flutter/pull/16273

I have same issue, 'shared_preferences/SharedPreferencesPlugin.h' file not found

this is the best solution
https://github.com/flutter/flutter/issues/24428

https://www.darrenblog.cn/#/detail/5cd27f277bb725236692b6bf


Organize Feature: Close all To Right

So they align better with the features of the scene viewer/edit tabs, it would be a good right-click option to have, that closed all tabs to the right based on the position of the tab selected. I often need to clear a few, rather than all, scripts out to help track what I'm doing.

A Close Tabs to the Left and Close Tabs to the Right is a good idea. I'm not sure if we can enhance the default Context Menu of the TabContainer in Godot - need to be checked. If easy, we can simply add those two options there.

Hopefully so, but maybe it can be finagled into another menu if not.


Spin up a WS Server, Bonus Safari Edition

Add the --vm-version dev-varnish option to Sauce Connect, to spin up an instance capable of doing WebSocket traffic.
Worked around problem Safari has sending localhost traffic through Sauce Connect by adding explicit hostnames.  The WEBSOCKET_HOST environment variable will be replaced (with Envify) with the value of os.hostname do it should JustWork locally without hosts file wunkery.
Added a hostname entry for travis.dev on TravisCI.
This assists with https://github.com/angular/zone.js/pull/104.

@DylanLacey Thank you so much again for the great support. The remaining issue is a "real" bug caught  by youe updates. Could you please squash the commits and force push ?
@btford @IgorMinar seems like the bot is not checking the CLA, any setup to do on our side ?

Aye, sure thing.


ci: Workaround disk space issues in release job

Signed-off-by: Ryan Northey<EMAIL_ADDRESS>
Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

Out of curiosity, what's the long-term solution here?

not sure - i dont think we have control over the build image that is used (@lizan ?) - so we either need to be more conservative in our build or workaround i think
previously some deps were updated (iirc wasm-related) or similar that reduced the build size - but it happens for different reasons and with different problems (ie output binary size increases <> build env increase)

https://dev.azure.com/cncf/envoy/_build/results?buildId=124933&view=logs&j=8c169225-0ae8-53bd-947f-07cb81846cb5&t=6b0ace90-28b2-51d9-2951-b1fd35e67dec&l=592


inactiveSlideScale not working on android

I set inactiveSlideScale={0.9}, working well on iOS but not working on android. Please help me!
<Carousel
                                ref={c => { this.carousel = c; } }
                                data={this.state.data}
                                renderItem={this._renderItemWithParallax}
                                sliderWidth={Metrics.screenWidth}
                                sliderHeight={itemHeight}
                                itemWidth={itemWidth}
                                activeSlideAlignment={'center'}
                                firstItem={1}
                                autoplay={true}
                                scrollEndDragDebounceValue={20}
                                containerCustomStyle={Styles.slider}
                                inactiveSlideScale={0.9}
                                contentContainerCustomStyle={[Styles.sliderContentContainer]}
                                removeClippedSubviews={true}
                                hasParallaxImages={true}
                                onSelectItem = { (item) => {}}
                            />

  _renderItemWithParallax ({item, index}, parallaxProps) {
         return (
             <View style={Styles.item}>
                 <TouchableHighlight style={{flex: 1, zIndex: 2}} underlayColor={Colors.clear}
                     onPress={ () => parallaxProps['carouselRef'].props.onSelectItem(item)} >
                        <Image  source={{ uri: item.thumbnails.medium.url}} style={[Styles.image]} />
                 </TouchableHighlight>
             </View>
         );
     }

Style:
slider: {
        margin: 0,
        backgroundColor: Colors.clear,
    },

    sliderContentContainer: {
        backgroundColor: Colors.clear,
    },

    item: {
        width: itemWidth,
        height: itemHeight,
    },

    imageContainer: {
        width: itemWidth,
        height: itemHeight,
        backgroundColor: Colors.clear,
        borderRadius: 10,
    },

    image: {
        borderRadius: 5,
        resizeMode: 'contain',
        width: '100%',
        height: '100%'
    }

Hi @SnowDang,
I don't see any reason why it wouldn't work, unless there is something very specific with how <TouchableHighlight /> is rendered.
Also, which version of the plugin and which version of React Native are you using?
Finally, can you try the provided example and find out if it works properly for you? If it does, you should build up from here, one prop/feature at a time until you discover which one is responsible for the issue.

Version info:
"react": "16.0.0-alpha.6",
"react-native": "0.44.3",
"react-native-snap-carousel": "^3.3.2",
I made an example use the latest version of react & react-native. It works ok. I think it not working with version react & react-native in my app. But have some plugin use in my app not support the latest version of react & react-native, so I can upgrade react & react-native to the latest version.

@SnowDang In version 3.2.0, a new mechanism for slide animation has been added. It relies on Animated.event and this API might be a bit broken in RN 0.44.x.
At this point, I'm afraid that you only have two options:

to upgrade your RN version
to use version 3.1.0 of the plugin.


Validate user input according to discovery doc schema

Background: To make a request the user may provide parameters and/or a resource. Some parameters are required in that they are path parameters, and don't go into the querystring. If a user misspelled a parameter key, or forgets to nest request body data under the resource parameter, then google-api-nodejs-client doesn't help. It doesn't throw or otherwise notify the user. The API itself may return an error if requirements were not met, but it may also result in unexpected and confusing behavior.
This issue is a proposal to add schema validation to the user's request input, as described by each API's discovery doc. Validate key names, make sure the user didn't forget a required parameter, misspell a parameter key or put it in the wrong place.
A number of issues have been opened that seem to be rooted in the current lack of validation, so this feature should make this library more user friendly.

So good news / bad news.  The good news is that... the library is already doing this sorta.  For parameters, the discovery doc format lets you know which fields are required.  We parse that, and check to make sure all required parameters have a value before making the request.
Sadly, as far as I know, we can do no such thing for the request body in the case of a POST/PUT.  The discovery schema will tell you when there's a potential request body, and tell you the potential fields.  However, it will not tell you if the request body is required or not, and it doesn't tell you if individual fields in the body object are required or not 😦
I think we've done all we can do here with the data available to us.  If you can think of another way to get this information....  I'd love to add more validation.


sigfault on Aws::InitAPI(Aws::SDKOptions const&) with clang36

Following code works with icc 16 and gcc 5.4 but cores with clang36
Aws::SDKOptions m_options;
m_options.loggingOptions.logLevel = Aws::Utils::Logging::LogLevel::Info;
Aws::InitAPI(m_options);
Core dump is:
#0  0x0000000000000000 in ?? ()
#1  0x00007fffe0fa9f23 in Aws::InitAPI(Aws::SDKOptions const&) () from  (...)/aws-sdk-cpp/1.0.5/lib/libaws-cpp-sdk-core.so
...
Help appreciated
p m_options
$3 = {loggingOptions = {logLevel = Aws::Utils::Logging::LogLevel::Info, defaultLogPrefix = 0x7fffe4e4841b "aws_sdk_",
logger_create_fn = {<std::__1::__function::__maybe_derive_from_unary_function<std::__1::shared_ptrAws::Utils::Logging::LogSystemInterface ()>> = {}, <std::__1::__function::__maybe_derive_from_binary_function<std::__1::shared_ptrAws::Utils::Logging::LogSystemInterface ()>> = {}, _buf = {
__lx = '\000' <repeats 23 times>}, _f = 0x0}}, memoryManagementOptions = {memoryManager = 0x0}, httpOptions = {
httpClientFactory_create_fn = {<std::__1::__function::__maybe_derive_from_unary_function<std::__1::shared_ptrAws::Http::HttpClientFactory ()>> = {}, <std::__1::__function::__maybe_derive_from_binary_function<std::__1::shared_ptrAws::Http::HttpClientFactory ()>> = {}, _buf = {
__lx = '\000' <repeats 23 times>}, _f = 0x0}, initAndCleanupCurl = true}, cryptoOptions = {
md5Factory_create_fn = {<std::__1::__function::__maybe_derive_from_unary_function<std::__1::shared_ptrAws::Utils::Crypto::HashFactory ()>> = {}, <std::__1::__function::__maybe_derive_from_binary_function<std::__1::shared_ptrAws::Utils::Crypto::HashFactory ()>> = {}, _buf = {
__lx = "\006=\241د*\301\354`\211R\001\000\000\000\000Њb\002\000\000\000"}, _f = 0x0},
sha256Factory_create_fn = {<std::__1::__function::__maybe_derive_from_unary_function<std::__1::shared_ptrAws::Utils::Crypto::HashFactory ()>> = {}, <std::__1::__function::__maybe_derive_from_binary_function<std::__1::shared_ptrAws::Utils::Crypto::HashFactory ()>> = {}, _buf = {
_lx = "h\263\327!\023\353.\020^\230\001\000\000\000\000\210\064w\002\000\000\000"}, _f = 0x0},
sha256HMACFactory_create_fn = {<std::__1::__function::__maybe_derive_from_unary_function<std::__1::shared_ptrAws::Utils::Crypto::HMACFactory ()>> = {}, <std::__1::__function::__maybe_derive_from_binary_function<std::__1::shared_ptrAws::Utils::Crypto::HMACFactory ()>> = {}, _buf = {
__lx = '\000' <repeats 23 times>}, _f = 0x0},
aes_CBCFactory_create_fn = {<std::__1::__function::__maybe_derive_from_unary_function<std::__1::shared_ptrAws::Utils::Crypto::SymmetricCipherFactory ()>> = {}, <std::__1::__function::__maybe_derive_from_binary_function<std::__1::shared_ptrAws::Utils::Crypto::SymmetricCipherFactory ()>> = {}, _buf = {
__lx = '\000' <repeats 23 times>}, _f = 0x0},
aes_CTRFactory_create_fn = {<std::__1::__function::__maybe_derive_from_unary_function<std::__1::shared_ptrAws::Utils::Crypto::SymmetricCipherFactory ()>> = {}, <std::__1::__function::__maybe_derive_from_binary_function<std::__1::shared_ptrAws::Utils::Crypto::SymmetricCipherFactory ()>> = {}, _buf = {
__lx = '\000' <repeats 23 times>}, _f = 0x0},
aes_GCMFactory_create_fn = {<std::__1::__function::__maybe_derive_from_unary_function<std::__1::shared_ptrAws::Utils::Crypto::SymmetricCipherFactory ()>> = {}, <std::__1::__function::__maybe_derive_from_binary_function<std::__1::shared_ptrAws::Utils::Crypto::SymmetricCipherFactory ()>> = {}, _buf = {
__lx = '\000' <repeats 23 times>}, _f = 0x0},
aes_KeyWrapFactory_create_fn = {<std::__1::__function::__maybe_derive_from_unary_function<std::__1::shared_ptrAws::Utils::Crypto::SymmetricCipherFactory ()>> = {}, <std::__1::__function::__maybe_derive_from_binary_function<std::__1::shared_ptrAws::Utils::Crypto::SymmetricCipherFactory ()>> = {},
_buf = {__lx = '\000' <repeats 23 times>}, _f = 0x0},
secureRandomFactory_create_fn = {<std::__1::__function::__maybe_derive_from_unary_function<std::__1::shared_ptrAws::Utils::Crypto::SecureRandomFactory ()>> = {}, <std::__1::__function::__maybe_derive_from_binary_function<std::__1::shared_ptrAws::Utils::Crypto::SecureRandomFactory ()>> = {}, _buf = {
__lx = '\000' <repeats 23 times>}, _f = 0x0}, initAndCleanupOpenSSL = true}

I suspect that problem is following:

library was compiled with gcc
binary was compiled with clang.
clang stl is not compartible with gcc in above use.

That seems a likely suspect. We have similar problems building for android. Best to keep everything to the same toolchain for the time being.
Sent from my iPhone

On Oct 13, 2016, at 10:00 AM, vsakharuk<EMAIL_ADDRESS>wrote:
I suspect that problem is following:

library was compiled with gcc
binary was compiled with clang.
clang stl is not compartible with gcc in above use.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Closing for now.  Feel free to reopen if you encounter additional issues.


implement tls

for tls, https, we need to authenticate certificate
if this stack over flow doesnt work, we can mirgrate to using gin gonic, becuase it might make stuff easier, and also makes it less verbose ( a con OR pro whatever you see it as ). also at this stage it will be easy to migrate.
https://stackoverflow.com/questions/63213638/using-tls-ssl-client-authentication-for-specific-hosts

prints error if tls keys are not found


Rheostat handle renders off slide track when min value is greater than zero

I'm currently using Rheostat with the following code:
<Rheostat min={5} max={50} />

When the slider renders, the slide handle is not shown on the slide track. I've been trying to figure it out but haven't had any luck.
From a bit of testing it seems that whenever the min value is greater than zero, the handle initially positions itself off the slide track. Am I perhaps doing something incorrect?

I've done some hacking and figured out that in the linear algorithm, this could change:
    function getPosition(value, min, max) {
      const position = (value - min) / (max - min) * 100;
      return position < 0 ? 0 : position;
    }

Probably not the most elegant solution but this is where I've locked down the issue to.

algorithms example
this may help

Thanks


⚠ Bofrost.be has degraded performance

In e80f5bc, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1871 ms

Resolved: Bofrost.be performance has improved in 65f6478.


Update Composer dependencies (2021-10-10-00-06)

Visual regression test passed!
View the visual regression test report


Web API Dependency Injection with Unity error - No public constructor is available for type System.Web.Http.Dispatcher.IHttpControllerActivator

I am trying to implement the dependency injection in ASP.Net web API with unity container and have implemented the exactly with below 2 articles:

https://stackoverflow.com/a/38770689/3698716
https://docs.microsoft.com/en-us/aspnet/web-api/overview/advanced/dependency-injection

Both are related to each other with some minor change but implementation for both are the same.
After implementing I am getting an error in the method GetService in UnityResolver.cs class:
"Resolution failed with error: No public constructor is available for type System.Web.Http.Dispatcher.IHttpControllerActivator."

tagging @devtrends for help.


[Bugbash] fix pre-masks inherit

Description
Split from pr #4423
e.g., if we set fine-grained pre-masks to a channel-wise pruner, then the generated masks will be channel-wise masks and may not inherit the fine-grained pre-masks. This pr is for inheriting the pre-maks.

for the second point, it might be better to also print warning message

Hi @QuanluZhang , this is the pr split from #4423 point 2nd.
What warning message should we add for users?


Fix Heroku Caching

This backports the script from #2851 that fixes Heroku caching by keeping the build path stable. It doesn't include any upgrades to Gatsby and its plugins, since there seems to be a lot of weirdness with sharp version mismatches.
Even with nothing else, this should speed up caching (after the first run) with very little drawbacks. #2851 is coming as well, but it'll need some babysitting as some existing Gatsby 2 apps break and need their cache turned off to re-add the new one.
It also adds a retry option to DEPLOY_OPTIONS that allows us to disable the "clear-and-retry" attempt which helps with debugging cache issues rapidly.

I think you meant to reply on #2851, I got a little confused when I didn't see the issue here but found it when I checked there.
Great catch! I'll get on that.

I think you meant to reply on #2851, I got a little confused when I didn't see the issue here but found it when I checked there.

Yep 😅


latest upstream merge

Brings the latest upstream changes and fix our prml modules "generic asset" and "attestation" to compile and test correctly.

is it necessary to remove the codec trait bound? I guess it will cause problems for runtime modules which use this trait e.g. cennzx
https://github.com/plugblockchain/plug-blockchain/pull/179/files#diff-4006b49434d54edb0558ad94b80bd27bdb6a7d738e3c8026be60e48013690cf8L25-L50
apart from that looks good

Yes it was necessary. The way it was before, MultiCurrencyAccounting had types bound to codec. Then in the generic implementation of it for the generic-asset module, the module's associated types would be assigned to those of MultiCurrencyAccounting. It was while the module's types had less bounds and weren't bound to codec. That was the reason the latest stable Rust was unhappy when compiling that it.  I tried to restrict the implementation by introducing a where clause to solve it. However, I couldn't get it working perhaps due to the fact in our case there are several layers of traits in the hierarchy. For example, the type AccountId coming down from the frame_system::Config to primal_generic_asset::Config and then would be referenced in the implementation of MultiCurrencyAccounting for primal_generic_asset::Module. Setting a where clause to restrict AccountId there wasn't an easy job for the compiler.

Ok I recommend trying to build this cennzx with this branch to see if it causes any issues, otherwise we're good

Ok I recommend trying to build cennzx with this branch to see if it causes any issues, otherwise we're good

@holygits I could successfully and easily build cennzx by using this branch. The only change that I had to make was:

Then replacing BalanceOf with T::Balance everywhere in that code. IMO the resulting change makes the code read better by avoiding BalanceOf.


[BEAM-1579] Add a Dataflow-specific primitive for creating a view

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[ ] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[ ] Make sure tests pass via mvn clean verify. (Even better, enable
Travis-CI on your fork and ensure the whole test matrix passes).
[ ] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.
[ ] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

Allows overrides of CreatePCollectionView to work with the batch
override API.

LGTM

Coverage increased (+0.007%) to 70.341% when pulling 1fc6db171eafad63b4ef26a49d2c7db4c42b5bae on tgroh:create_dataflow_view into 7057d1e2249c0bc78bd3ca8cec513b31dd6c9423 on apache:master.

Run Dataflow RunnableOnService

Run Dataflow ValidatesRunner

Coverage increased (+0.01%) to 70.334% when pulling 1fa1379163fa75a792e0ccf94a3ab2a1931cfa09 on tgroh:create_dataflow_view into 62473ae4bdd2cdbbebf47f9ca8a893e84e1732ce on apache:master.

Coverage increased (+0.009%) to 70.331% when pulling 1fa1379163fa75a792e0ccf94a3ab2a1931cfa09 on tgroh:create_dataflow_view into 62473ae4bdd2cdbbebf47f9ca8a893e84e1732ce on apache:master.

retest this please

Coverage increased (+0.007%) to 70.329% when pulling 1fa1379163fa75a792e0ccf94a3ab2a1931cfa09 on tgroh:create_dataflow_view into 62473ae4bdd2cdbbebf47f9ca8a893e84e1732ce on apache:master.

R: @dhalperi
Still LGTM, please self-merge when ready.


DVC-8633: feat: add overrides update

WIP, tested happy path without flags
need to test headless mode and without some flags
need to test when user id is not set
improve the output to be user relevant info only

Current dependencies on/for this PR:

main

PR #277   👈

This comment was auto-generated by Graphite.


Fix command line build for macOS

When try to build in command line on macOS (cmake without generating Xcode project then make), the build will fail with some errors.
Errors in this repo
This pull request fixes an error in the examples.
Erros in the contribs
There are also two errors in one of the dependencies:
/s2client-api/contrib/civetweb/src/civetweb.c:141:34: error: unknown warning group '-Wno-reserved-id-macro', ignored [-Werror,-Wunknown-warning-option]
#pragma clang diagnostic ignored "-Wno-reserved-id-macro"
                                 ^
/s2client-api/contrib/civetweb/src/civetweb.c:142:34: error: unknown warning group '-Wno-keyword-macro', ignored [-Werror,-Wunknown-warning-option]
#pragma clang diagnostic ignored "-Wno-keyword-macro"
                                 ^

When I try to build KevinCalderone/civetweb separately, these two errors appear as warnings, not sure why they are errors when build in s2client-api. Any ideas?

When I get a chance I will test this on mac today.

I can look into that error. If it is a legit issue, we should probably add a separate issue for it.

Tested it and they are appearing as warnings to me.
What compiler version are you using? Can you post the command line options it is using?

I'm using Xcode 9 beta 5 (9M202q):
$ cc -v
Apple LLVM version 9.0.0 (clang-9<IP_ADDRESS>)
Target: x86_64-apple-darwin17.0.0
Thread model: posix
InstalledDir: /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

Here is the compiling output of make VERBOSE=1:
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -DMAX_REQUEST_SIZE=16384 -DUSE_STACK_SIZE=102400 -DUSE_WEBSOCKET -I/s2client-api/contrib/civetweb/include  -std=c11 -Wall -Wextra -Wshadow -Wconversion -Wmissing-prototypes -Weverything -Wno-padded -Wno-unused-macros -Wno-format-nonliteral -Wparentheses -pedantic-errors -fvisibility=hidden   -o CMakeFiles/c-library.dir/civetweb.c.o   -c /s2client-api/contrib/civetweb/src/civetweb.c

Yeah, when I try to compile with Xcode 8.3.3 (8E3004b), those errors are appearing as warnings. 🤔

Interesting. You also said the behavior was different when you cloned/build the civetweb repo directly. What command line in that case for Xcode 8.3.3 vs Xcode 9? Are they any different?

Xcode 8.3.3:
cc -c -Wall -Wextra -Wshadow -Wformat-security -Winit-self -Wmissing-prototypes -DOSX -Iinclude  -DUSE_STACK_SIZE=102400 -O2 -DNDEBUG src/civetweb.c -o out/src/civetweb.o
src/civetweb.c:141:34: warning: unknown warning group '-Wno-reserved-id-macro', ignored [-Wunknown-pragmas]
#pragma clang diagnostic ignored "-Wno-reserved-id-macro"
                                 ^
src/civetweb.c:142:34: warning: unknown warning group '-Wno-keyword-macro', ignored [-Wunknown-pragmas]
#pragma clang diagnostic ignored "-Wno-keyword-macro"
                                 ^
2 warnings generated.

Xcode 9:
cc -c -Wall -Wextra -Wshadow -Wformat-security -Winit-self -Wmissing-prototypes -DOSX -Iinclude  -DUSE_STACK_SIZE=102400 -O2 -DNDEBUG src/civetweb.c -o out/src/civetweb.o
src/civetweb.c:141:34: warning: unknown warning group '-Wno-reserved-id-macro', ignored [-Wunknown-warning-option]
#pragma clang diagnostic ignored "-Wno-reserved-id-macro"
                                 ^
src/civetweb.c:142:34: warning: unknown warning group '-Wno-keyword-macro', ignored [-Wunknown-warning-option]
#pragma clang diagnostic ignored "-Wno-keyword-macro"
                                 ^
2 warnings generated.

Interesting. The flag that triggers these warnings seems to be different in Xcode 8.3.3 (-Wunknown-pragmas) and Xcode 9 (-Wunknown-warning-option).

Yeah when just comparing Xcode 9 between the api and civetweb repo, the arguments you posted are different. There must be something about those flags that is causing a difference in behavior.
I don't see -Werror in these options, so I am confused why it is showing up as an error. Maybe one of the other flags is indirectly turning errors on for that warning type?
From what you posted:
Civetweb repo
cc -c -Wall -Wextra -Wshadow -Wformat-security -Winit-self -Wmissing-prototypes -DOSX -Iinclude  -DUSE_STACK_SIZE=102400 -O2 -DNDEBUG src/civetweb.c -o out/src/civetweb.o
-> Warning
API repo
cc -DMAX_REQUEST_SIZE=16384 -DUSE_STACK_SIZE=102400 -DUSE_WEBSOCKET -I/s2client-api/contrib/civetweb/include  -std=c11 -Wall -Wextra -Wshadow -Wconversion -Wmissing-prototypes -Weverything -Wno-padded -Wno-unused-macros -Wno-format-nonliteral -Wparentheses -pedantic-errors -fvisibility=hidden   -o CMakeFiles/c-library.dir/civetweb.c.o   -c /s2client-api/contrib/civetweb/src/civetweb.c
-> Error

You are correct! The -pedantic-errors causes those warnings to be treated as errors.
You can try compile the civetweb.c with the -pedantic-errors flag:
$ cc -c -Wall -Wextra -Wshadow -Wformat-security -Winit-self -Wmissing-prototypes -pedantic-errors -DOSX -Iinclude -DUSE_STACK_SIZE=102400 -O2 -DNDEBUG src/civetweb.c -o out/src/civetweb.o

src/civetweb.c:141:34: error: unknown warning group '-Wno-reserved-id-macro', ignored [-Werror,-Wunknown-warning-option]
#pragma clang diagnostic ignored "-Wno-reserved-id-macro"
                                 ^
src/civetweb.c:142:34: error: unknown warning group '-Wno-keyword-macro', ignored [-Werror,-Wunknown-warning-option]
#pragma clang diagnostic ignored "-Wno-keyword-macro"

2 errors generated.

It's coming from the CMakeLists.txt of civetweb.
This explains why make was fine, because this flag will only be there if we use CMake.

Also, since these two warning options don't exist (at least for the clang versions we are using), can we remove them so there will be no warnings in the first place?

These two problematic lines are also inside of civetweb:
https://github.com/civetweb/civetweb/commit/62c81826b2f02a651ec8bf282c3965a99b090d49
As you pointed out, it looks like this is an issue with how their CMake target is setup. I can reproduce the same issue in the latest of their master branch. I see their Travis CI jobs are only testing Xcode8, so they may not be aware of the issue.
I think we should file an issue in their repository. Do you want to help summarize our findings here submit that?
In the interim, you can work around by compiling with 8.3.3. If the problem still persists after Xcode 9 is officially released, we can try to find a workaround. Thanks for all the help investigating this!

Sure, I will file an issue in their repo. Thanks for your help!

@KevinCalderone Hello, issue civetweb/civetweb#503 has been fixed, can we update the dependency to pull the fix in? Thanks!

Thanks for following up on that!
I'm not sure how stable their latest master branch is, but I can at least pull that one fix into our civetweb fork.

Sounds great, thanks!

Ok I have updated the submodule. The warning seems to be gone for me. Can you retest it please?

Yeah, tested with Xcode 9, and it builds fine.
Thanks!


Clarifying comment

You wrote in the code:
# pyarrow only supports 64-bit ints right now, so turn everything into int64's
# This is obviously inefficient across a number of dimensions...
# TODO: PR to pyarrow to support narrower ints

Could you clarify what you mean?

Wes, I was unable to write a table containing int32, int16, etc. last time I tried was quite some versions ago, perhaps support has changed?
I'll try to replicate in a smaller example this weekend.

It's possible it's been fixed already, but wanted to see on what code path that was happening so I can have a look myself

Hi Wes, see below for code path.  Looks like it has indeed been fixed, with the addition of the type converesion/casts. I added a couple possible improvements for pure-python implementations like spectrify's.
import pyarrow as pa
from pyarrow import parquet as pq
ints = [1,2,3,4]

# Succeeds
col64 = pa.array(ints, pa.int64())
col = col64.cast(pa.int16())

# Would be nice (bug?)
#col = pa.array(ints, pa.int16())
# >>> ArrowNotImplementedError: No type converter implemented for int16

# Succeeds
table = pa.Table.from_arrays([col], ['int16'])
writer = pq.ParquetWriter('test.parq', table.schema)
writer.write_table(table)
writer.close()

# Would be nice
#with pq.ParquetWriter('test.parq', table.schema) as writer:
#    writer.write_table(table)
# >>> AttributeError: __exit__

table1 = pq.read_table('test.parq')
table1.to_pydict()
# >>> OrderedDict([('int16', [1, 2, 3, 4])])

This works in master now:
In [1]: import pyarrow as pa

In [2]: paste
ints = [1,2,3,4]

In [3]: pa.array(ints, type='int16')
Out[3]:
<pyarrow.lib.Int16Array object at 0x7f80e284f1d8>
[
  1,
  2,
  3,
  4
]

This will land in pyarrow 0.8.0, but you can also try the nightlies with conda install pyarrow -c twosigma

Awesome! Thanks for taking a look, Wes.


Update sha256 and version; Enable windows

Upstream Repo
Jira issue
accelerate -> diffusers

Enabled building for Windows/OSX with pytorch 2.0.1
Updated dependency pinnings.

Linter check found the following problems:
The following problems have been found:
WARNING: /tmp/abs_fe3epxne6m/clone/recipe/meta.yaml:32: python_build_tool_in_run: The python build tool setuptools is in run depends
WARNING: /tmp/abs_fe3epxne6m/clone/recipe/meta.yaml:34: python_build_tool_in_run: The python build tool packaging is in run depends
Warnings were found

Linter check found the following problems:
The following problems have been found:
WARNING: /tmp/abs_503h3mkco7/clone/recipe/meta.yaml:32: python_build_tool_in_run: The python build tool setuptools is in run depends
WARNING: /tmp/abs_503h3mkco7/clone/recipe/meta.yaml:34: python_build_tool_in_run: The python build tool packaging is in run depends
Warnings were found

Linter check found the following problems:
The following problems have been found:
WARNING: /tmp/abs_cacu4prd81/clone/recipe/meta.yaml:32: python_build_tool_in_run: The python build tool setuptools is in run depends
WARNING: /tmp/abs_cacu4prd81/clone/recipe/meta.yaml:34: python_build_tool_in_run: The python build tool packaging is in run depends
Warnings were found


fix(select): selected option not being highlighted when options are added asynchronously

Fixes the select component not highlighting the model value when the options get added after initialization.
Fixes #2497.

Thanks for the feedback @kara, it's addressed.

@crisbeto Can you rebase?  When you're done, apply the merge label so we know it's ready :)


fix(Picker): Watch for skin property changes

Currently changes of properties, especially the skin prop, are not reactive.
Meaning you have to close and reload the picker if you change the prop.
So this watches on the prop so that you can modify it and the picker will react (e.g. we want to have the skin tone selector next to the search). Which works and looks like this for us:
https://github.com/serebrov/emoji-mart-vue/assets/1855448/ca8350f4-df24-4c6c-84f1-d4ab6ae2be34

@susnux Thanks for the PR!
Could you explain the problem a bit more? Checking in the demo app, the skin tone changes applied instantly:
https://github.com/serebrov/emoji-mart-vue/assets/597640/34136dfb-9c1d-4931-849a-58cb2e4e1db5
The skin selector is in the separate component, Preview and it calls the onSkinChange() that also updates the activeSkin property. So I feel like the actual problem is not that properties are not reactive, but that skin goes out of sync with activeSkin.
Either way, the solution to watch for skin change and call onSkinChange automatically seems appropriate and I will merge the PR and release a new version.

I released version 15.0.1 with this fix.

Could you explain the problem a bit more? Checking in the demo app, the skin tone changes applied instantly:

Because in the default picker the skin selector is provided the onSkinChange function directly which then reacts to the skin change.
But if you have an external skin change by prop then it is not reactive (before this change here).

I released version 15.0.1 with this fix.

Thank you very much :rocket:


cfitsio: 3.41 -> 3.43

Motivation for this change
Version update.
Things done

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

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

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

Additional notes
I tried nix-shell -p nox --run "nox-review wip" but it failed building dcraw with what looked to me a completely-unrelated issue: there were a lot of warnings from gcc-7.3.0 about misleading indentation and other recently-added warnings, with the error apparently being (there was a long trace-back and I didn't investigate thoroughly):
dcraw.cc:9245:25: error: call of overloaded 'abs(unsigned int&)' is ambiguous
       if (abs(i) < abs(c)) {

The cfitsio library now has (as of version 3.42) support for using the curl library to support file access via the https protocol. I did try adding a flag to build this, but it wasn't clear to me if I had truly succeeded due to what appears to be https://github.com/NixOS/nix/issues/598 - namely I couldn't flip the flag from its default value (I am a nix neophyte).
The cfitsio library also has optional support for bzip-encoded files, which suffered a similar fate.
The cfitsio library has a simple test-suite - build a program against the library, run it and it produces screen output, and then compare this output to the expected value. Is it worth adding a test suite for this?

@GrahamcOfBorg build cfitsio

Failure on x86_64-darwin (full log)
Partial log (click to expand)
Package ‘cfitsio-3.43’ in /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-ndnd/pkgs/development/libraries/cfitsio/default.nix:18 is not supported on ‘x86_64-darwin’, refusing to evaluate.

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

Success on aarch64-linux (full log)
Partial log (click to expand)
cp fitsio.h fitsio2.h longnam.h drvrsmem.h /nix/store/6q00ardpyjk0kycxpm9k6dhdyqxjmdxc-cfitsio-3.43/include
cp cfitsio.pc /nix/store/6q00ardpyjk0kycxpm9k6dhdyqxjmdxc-cfitsio-3.43/lib/pkgconfig
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/6q00ardpyjk0kycxpm9k6dhdyqxjmdxc-cfitsio-3.43
shrinking /nix/store/6q00ardpyjk0kycxpm9k6dhdyqxjmdxc-cfitsio-3.43/lib/libcfitsio.so.5.3.43
strip is /nix/store/lvx1acn1ig1j2km8jds5x3ggh3f2wa8v-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/6q00ardpyjk0kycxpm9k6dhdyqxjmdxc-cfitsio-3.43/lib
patching script interpreter paths in /nix/store/6q00ardpyjk0kycxpm9k6dhdyqxjmdxc-cfitsio-3.43
checking for references to /build in /nix/store/6q00ardpyjk0kycxpm9k6dhdyqxjmdxc-cfitsio-3.43...
/nix/store/6q00ardpyjk0kycxpm9k6dhdyqxjmdxc-cfitsio-3.43

Success on x86_64-linux (full log)
Partial log (click to expand)
cp fitsio.h fitsio2.h longnam.h drvrsmem.h /nix/store/p02lpr2jb4vxnypdx4m5956h9pb0pg2s-cfitsio-3.43/include
cp cfitsio.pc /nix/store/p02lpr2jb4vxnypdx4m5956h9pb0pg2s-cfitsio-3.43/lib/pkgconfig
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/p02lpr2jb4vxnypdx4m5956h9pb0pg2s-cfitsio-3.43
shrinking /nix/store/p02lpr2jb4vxnypdx4m5956h9pb0pg2s-cfitsio-3.43/lib/libcfitsio.so.5.3.43
strip is /nix/store/b0zlxla7dmy1iwc3g459rjznx59797xy-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/p02lpr2jb4vxnypdx4m5956h9pb0pg2s-cfitsio-3.43/lib
patching script interpreter paths in /nix/store/p02lpr2jb4vxnypdx4m5956h9pb0pg2s-cfitsio-3.43
checking for references to /tmp/nix-build-cfitsio-3.43.drv-0 in /nix/store/p02lpr2jb4vxnypdx4m5956h9pb0pg2s-cfitsio-3.43...
/nix/store/p02lpr2jb4vxnypdx4m5956h9pb0pg2s-cfitsio-3.43

Thank you :)


target_link_directories in src/solvers/eiquadprog/CMakeLists.txt breaks compatibility with older CMake versions

This currently breaks our nightly builds on Ubuntu 18.04. According to https://cmake.org/cmake/help/latest/command/target_link_directories.html it "should be avoided where there are other choices."
@dmronga @pierrewillenbrockdfki

18.04 only provides cmake 3.10, target_link_directories is available since cmake 3.13. so, that is not the way to go. making the eiquadprog known inside wbc as an IMPORTED_TARGET does work, once the pkg-config file of eiquadprog has been fixed.

Either https://github.com/ARC-OPT/wbc/pull/36 or (better) https://github.com/ARC-OPT/wbc/pull/37 fix this, both require eiquadprog to be patched in a different way: https://github.com/ARC-OPT/package_set/pull/2


Head node doesn't actually point to first node

Noticed this when working on indexed access to the list.
When a node is appended into the list; if previously empty, the tail is populated with the data but the head is left blank and only pointing to the new node ( the new tail ).
It looks like when the list is initialized, a node will be created where the head and tail will point to the same thing.
When new nodes are appended the tail is moved but the head remains pointing to a node with no data.
This should probably change to on initialization, head and tail are set to nil. Then when the first node is populated the head and tail point there. Then the behavior already implemented takes over.

This came up while implementing the indexed access, where if you access the 0th element, it should return the head, but that is always blank.

I'm happy to make the pull request for this, on your approval. :)

Can be closed.


Add TeachingTip Control

Is your feature request related to a problem? Please describe.
Maybe provide an implementation of the TeachingTip control just like UWP
MSDN (https://learn.microsoft.com/en-us/windows/apps/design/controls/dialogs-and-flyouts/teaching-tip)

FluentAvalonia has

This is a very Specialized control so I am not sure we want to have it in the main repo. I can assume that this one can go into Avalonia.Labs in the first place or be something of the Pro-Package. I will move this convertion to the idea 💡 section as this is where it should be discussed first.


visualize

Could someone tell me how to visualize the results?

visualize the predicted bbox?

Yeah

Okay, we will provide a visualization script soon.

Thanks

@afterthat97 Hi! Could you please also provide a visualization script for Figure 6 in the paper?

@Debrove Okay.

You should be able to visualize the predictions and sampling points now.

Thanks a lot!!!!


Propagating annotations for fuzzy query [WIP]

It is a continuation of work regarding fuzzy operator (see https://github.com/vespa-engine/vespa/pull/21689)
This PR introduces two parameters (annotations) to the fuzzy operator:

maxEditDistance which is an inclusive upper bound of an edit distance that informs whether there is a match between the query and the document terms
prefixLength the size of the prefix of a term that is considered non-fuzzy, i.e frozen, it is somewhat similar to the parameter with the same name in the elasticsearch fuzzy query

In system-test repo I put a PR to more thoroughly test the logic of how these parameters should behave:
https://github.com/vespa-engine/system-test/pull/2272
In order to make prefix matching work for other cases but fast-search I was needed manually implement prefix match within the FuzzyMatcher, so the logic there was altered a bit.
I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.

@bratseth @geirst Addressed your comments in a separate commit. Thanks for the review!


Open ulp file in binary mode instead of text mode

Avoid rising "unicode exception" when running from mp1.24, see issue #99

Sorry for closing this. Will reopen and merge

@pidou46 Thanks for fixing.


⚠ Bofrost.fr has degraded performance

In 5dba0f3, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1192 ms

Resolved: Bofrost.fr performance has improved in 6d73bf1 after 23 minutes.


docs: fix timestamps for linked articles

(One of them is my article 😊)

Oops sorry about that, thanks for correcting!


IoT Hub trigger is missing in supported binding table

Even though the trigger is named, in the portal, IoT Hub (Event Hub), it seems like it would be helpful to list it separately from Event Hubs in the table above for people who aren't familiar with the relationship between the two services.

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

ID: 7d575e82-637b-32de-e64d-75adf4b6d976
Version Independent ID: e346a973-fcb9-0c10-c1ed-17acd806ced9
Content: Triggers and bindings in Azure Functions
Content Source: articles/azure-functions/functions-triggers-bindings.md
Service: azure-functions
GitHub Login: @craigshoemaker
Microsoft Alias: cshoe

This should also be added in the How-to guides -> Develop -> Developer Guide table.

Hi @theangellmethod Thank you for your feedback! We will review and update as appropriate.

@theangellmethod You are right. Apart from the templates available, I believe there isn't any documentation for IoT Hub (mostly because they just use the Event Hub triggers due to their relationship)
We have assigned this issue to the content author to review and enhance the documentation accordingly as required.

@ggailey777 - Would it make sense to you to add a line item for IoT and provide the same links as in the Event Hubs row?

We now have an IoT-specific binding reference: Azure IoT Hub bindings for Azure Functions. I'll add links to this article to the table.

The article is now updated with IoT links.
#please-close


Xamarin.Forms Build fails after installing Pharmacist NuGets

Describe the bug
Build fails after installing Pharmacist
Steps To Reproduce

Install Phamacist nuget into shared project  (.Net Standard 2.0)

<PackageReference Include="Pharmacist.MsBuild" Version="1.*" PrivateAssets="all" />
<PackageReference Include="Pharmacist.Common" Version="1.*" />

Try to build application
See screenshot

Expected behavior
Build succeeds and all events are available as observables
Screenshots

Environment

OS:       Windows 10
Device:   Desktop i9 with 64GB ram
Version:   1.9.1
Working Version: n/a
Dev Env: VS2019 16.7.5 connected to MacBook Pro 10.15.7

Additional context

Seems to be only with a namespace of Xamarin.MacDev and the Shiny Geofence SetState method override.  Do I need to exclude these?  Or is there some other way to remove these build issues?

Also experiencing the same types of issue after installing Pharmacist 2.0.6 as described, all errors are in a file called Pharmacist.Nuget.g.cs, see screenshots. Any ideas on how to fix?:

Uninstalling Pharmacist resolves the issue.

Also experiencing the same types of issue after installing Pharmacist 2.0.6 as described, all errors are in a file called Pharmacist.Nuget.g.cs, see screenshots. Any ideas on how to fix?:

Uninstalling Pharmacist resolves the issue.

Can you give me a list of the NuGet packages installed?
Seems just some language features are missing and probably worth updating to support them.

Can you give me a list of the NuGet packages installed?
Seems just some language features are missing and probably worth updating to support them.

 Won't be til tomorrow.
Also if you're using Pharmacist you won't need ReactiveUI.Events.XamForms but that's not what's causing this issue.

Thanks, I'll have a look at what SyncFusion is doing special since that is the one that seems to be causing an issue. Won't be til tomorrow.
Also if you're using Pharmacist you won't need ReactiveUI.Events.XamForms but that's not what's causing this issue.

Thanks for the the assistance and additional information.

Thanks for the the assistance and additional information.

See https://www.nuget.org/packages/ReactiveMarbles.ObservableEvents.SourceGenerator/ and https://github.com/reactivemarbles/ObservableEventsSourceGenerator
This will handle these cases.


Question about predict

Firstly,I want to thank you for answering my stupid questions.There is another question:
I used the weights that I trained last night  to predict the raccoon, but on the test image ,there is only a boundingbox without label name .Is this right? And how can I get the label name?

This is my config.json,I do add the label name .

The label is just out of the image.

OK，Thankyou ！

@experiencor How to adjust the font sizes of labels??


KUULARA PAAPA WILLIAMS Module 1

WS2_M1E1_Submission.docx

Thank you for your successful submission to the practice exercise! Please be sure to fill out the post-Module survey.


Add autocorrect to Style/FormatString cop

Add autocorrect to Style/FormatString cop.

Before submitting the PR make sure the following are checked:

[x] Wrote good commit messages.
[ ] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Used the same coding conventions as the rest of the project.
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Added an entry to the Changelog if the new code introduces user-observable changes. See changelog entry format.
[x] All tests are passing.
[x] The new code doesn't generate RuboCop offenses.
[x] The PR relates to only one subject with a clear title
and description in grammatically correct, complete sentences.
[x] Updated cop documentation with rake generate_cops_documentation (required only when you've added a new cop or changed the configuration/documentation of an existing cop).

You should also rebase on top of the current master.

Thank you. I rebased and squashed. 64c5162

👍

thank you! 🌠


toolkit-highlight-current-month style conflicts with new YNAB themes

The toolkit-highlight-current-month style on the budget page causes the date banner to keep the "legacy" ynab theme of dark blue background.
This conflicts with the new "default" theme styling in which the background should be an off grey color.
Proper styling:

Bug:

Same issue with Striped Budget Rows with new themes. I only mention it in this issue because it will likely be a very similar fix.

closing in favor of #2012  this will be in our next release.


Large response bodies can exceed Cloud Run's response limit

Cloud Run has a hard response body limit of 32MiB. If this limit is reached, the response is blocked and a 500 error is thrown. On the frontend, this can display as a "500 OK" error. Should investigate alternative ways of delivering large solutions or at least throwing a more helpful error to the frontend.

To get around that limit, we'd have to use HTTP2 and potentially do some work on the backend to chunk/stream the response.
Configuring Cloud Run to use HTTP2 is trivial, but when I tried I got "too many redirects" errors after the Google Account sign in. So there's probably more to do in there with Load Balancer/IAP/etc. to enable HTTP2 through the request path.


v4.0.0

Adds lib/browsers.json - contains UA and exact header information
Adds lib/headers.js - loads a random UA from lib/browsers.json
Replaces all occurrences of var with either const or let
Tiny regex modification to slightly improve document.getElementById
Adds optional support for Brotli and headers are adapted depending on whether or not it's available
Adds lib/brotli.js for the optional support (node's or user installed version)
Makes both request and brotli peer dependencies which must be installed by the user.

If a user attempts to run cloudscraper without first installing request, they will receive the following error message:
###
### The "request" library is not installed automatically anymore.
### But is a dependency of "request-promise".
### Please install it with:
### npm install request --save
###

{ Error: Cannot find module 'request'
<snipped>

The error message is automatically produced by request-promise.

@codemanki This is a WIP, I just realized that I forgot to mark which ones we're mobile and adjust the UA accordingly. Feedback is still welcome ofc.
@Venomous I'd appreciate your thoughts if whenever you get the chance as well. I sent you a copy of the data already.

There is support for Brotli in the latest version of node but since we're supporting node>=6 we'd have to add something like https://npmjs.com/package/brotli which is 1.6 MiB in size... So maybe we shouldn't use chrome UA's at all?

So, if using these headers are the only way to keep the users of this library from hitting CAPTCHA every time they turn around then I say, let's add brotli. Use node's version if it's available and drop the dependency when/if brotli gets backported far enough.

Hey @pro-src,
Something went wrong with the build.
TravisCI finished with status errored, which means the build failed because of something unrelated to the tests, such as a problem with a dependency or the build process itself.
View build log
TravisBuddy Request Identifier: 99770e70-5e72-11e9-b5c0-e1325c5e1c10

@codemanki I'll try to get around to adding some new functional tests for these changes. Besides the present tests, I've tested each of the possible headers to ensure that challenges are not defeated by Cloudflare's header filtering.
LGTM™ :+1:

I've just added support for solving CAPTCHA so lets hold off on merging this.


python310Packages.paddle2onnx: init at 1.0.6

Description of changes
module used in paddleocr
using the wheel as the source is giving me trouble with protobuf path
Things done

Built on platform(s)

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

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

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

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

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

[ ] Fits CONTRIBUTING.md.

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

2 packages failed to build:

python311Packages.paddle2onnx
python311Packages.paddle2onnx.dist

2 packages built:

python310Packages.paddle2onnx
python310Packages.paddle2onnx.dist


Ad budget controller

PR to add budgets controller, views and specs:

add budgets controller
add optional: true to budget model - Rails 5 requires foreign_key on create otherwise
add views and partials for budgets new, index, show and edit
add budgets translations to en.yml
add controller and feature specs for budget
Looking for feedback on all aspects of this PR.
Thank you for looking at this for me!
https://trello.com/c/RvhuKycX/
https://trello.com/c/scsPqMMd/
https://trello.com/c/yItDaBNj
https://trello.com/c/HlyEQUtP
https://trello.com/c/TWs6pQ2W

All changes implemented, thanks for the feedback @elle, some really cool stuff in this!

Merging now, thank you again for the great feedback @elle!


Why can I only export partial highlighting?

Why can I only export partial highlighting?

Hey
The app seems to be working with you, isn't it?

Hey
The app seems to be working with you, isn't it?

Not yet. After inputting my Remarkable code and submitting the code. Still stuck at the code entry page, no further page jumps. I don't know what the wrong is.
Additionally, am I limited to uploading the 4MB document above?

As far as I know, @AndrewBestbier, the owner of this app, couldn't manage to fix the code due to the API changes.


Help with IPromptController tests

Hello,
I was wondering if someone (@aboimpinto 😄) could help me giving some guidance on how I can create tests to the PromptWalletController.
I had to solve a conflict due to another push (mine), and I had to test it manually, because I don't have tests to the prompt controller, only for the wallet class.
Thanks

Can you be more specific. What is the problem that you are facing? Let's talk in Discord about the issues that you have and then update this thread.

You need to create the Prompt object, and do the call Execute

Hello!
The trick is to use the logger class!
Here is an example:
[TestMethod]
       public void Start_PeerIsNotAllowed_WarningLoggedAndPeerDisconnected()
       {
           // Arrange
           var networkAcl = new NetworkAcl(NetworkAclType.Blacklist, new[] { new NetworkAcl.Entry("localhost") } );

           var networkAclLoaderMock = this.AutoMockContainer.GetMock<INetworkAclLoader>();
           networkAclLoaderMock
               .Setup(x => x.Load(It.IsAny<NetworkAclConfig>()))
               .Returns(networkAcl);

           var loggerMock = this.AutoMockContainer.GetMock<ILogger<Server>>();

           var peerMock = AutoMockContainer.GetMock<IPeer>();
           peerMock
               .SetupGet(x => x.EndPoint)
               .Returns(_peerEndPoint);

           var peer = peerMock.Object;
           var peerFactoryMock = AutoMockContainer.GetMock<IPeerFactory>();

           peerFactoryMock
               .Setup(x => x.ConnectTo(_peerEndPoint))
               .Returns(Task.FromResult(peer));

           var server = AutoMockContainer.Create<Server>();

           // Act
           server.Start();

           // Assert
           loggerMock.Verify(x => x.LogWarning(It.Is<string>(s => s.StartsWith("Something went wrong with "))), Times.Once);
           peerMock.Verify(x => x.Disconnect(), Times.Once);
       }


Run this on a local machine?

you need an existing subnet ID for ARM instance creation.
Problem is in my region, it says, Out of capacity for shape VM.Standard.E2.1.Micro
Is there way to run this script on my local ubuntu machine and configure the subnet id in environment?

yes that's very simple to do , you should comment out lines 299 to 301 and configure your subnet in oci_subnet_id. Here is the link to the specific section of the script: GitHub - main.py.
let me know if you encounter any issues. I also should make a to-do list soon with list of features.


Possible fix for #773. My app no longer crashes.

323 specifications (659 requirements), 0 failures, 0 errors

Awesome. Not sure how that slipped through.


Add Dimensions

Add instructions of dimensions.

I wonder how to add the new dimension, I still don't understand. The Fabric Wiki gives few information about new dimensions. Is it very difficult to create a new dimensions?

I have to read the Fabric code and think about what they are talking about...

Archived because I do not want to maintain 1.20.4 any longer.


meltano schedule run exits with status 0 even when meltano elt fails

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/2540
Originally created by @DouweM on 2021-01-25 23:21:49

View 2 previous comments from the original issue on GitLab


undefined: skill.PaladinTree

Hey,
Was checking the new main branch and noticed:
internal\character\paladin_leveling.go:24:15: undefined: skill.PaladinTree
Took a peek at d2go repo and it seems to be missing too.

Should be fixed in main branch now


Can't update profile

When profile is being updated, unexpected error is being thrown

Fixed in #40


Issue 288: Add log messages

Description
It adds log messages to be able to trace activity when executing such as the following:
spark_data.write.format("qbeast")
            .mode("append")
            .options(**qbeast_options)
            .save(output_path)

The code at the moment is very scarce on log messages, in factr, I couldn't find any in the part of the code I was inspecting. It is going to take multiple PRs to populate the code base with logging messages appropriately.
Fixes #288
Type of change
It is adding log messages using the spark internal logging trait. As such, we have to add a line to specific classes to have them using org.apache.spark.internal.Logging.
In the log messages I added so far, I have prefixed it with Qbeast:  to make it easier to locate the messages among all INFO messages that Spark generated. That's not ideal, and I'd much rather have the logs printing the fully-qualified class name. We might want to change it before merging.
Checklist:
Here is the list of things you should do before submitting this pull request:

[x] Your branch is updated to the main branch (dependent changes have been merged).

How Has This Been Tested? (Optional)
I have validated locally with spark-shell that the messages are printing.
Test Configuration:

Spark Version: 3.5.0
Hadoop Version:
Cluster or local? Local

With the recent commit, the output looks like this:
24/03/26 12:29:53 INFO QbeastDataSource: Getting Qbeast table /path/nyc-qbeast-table
24/03/26 12:29:53 TRACE QbeastDataSource: Start: Create Qbeast relation /path/nyc-qbeast-table
24/03/26 12:29:53 TRACE IndexedTableImpl: Start: save table /path/nyc-qbeast-table
24/03/26 12:29:53 TRACE IndexedTableImpl: Begin: Writing data to table /path/nyc-qbeast-table
24/03/26 12:29:53 DEBUG IndexedTableImpl: Writing data to table /path/nyc-qbeast-table, with revision 0
24/03/26 12:29:53 TRACE IndexedTableImpl: Begin: Writing data to table /path/nyc-qbeast-table
24/03/26 12:29:53 TRACE SparkOTreeManager: Begin: index with revision Revision(0,1711452593440,/path/nyc-qbeast-table,50000,Vector(LinearTransformer(fare_amount,io.qbeast.core.model.DoubleDataType$@6821f91b), LinearTransformer(trip_distance,io.qbeast.core.model.DoubleDataType$@6821f91b), LinearTransformer(passenger_count,io.qbeast.core.model.LongDataType$@1a4589e9)),Vector())
24/03/26 12:29:53 TRACE DoublePassOTreeDataAnalyzer: Begin: analyze for index Revision(0,1711452593440,/path/nyc-qbeast-table,50000,Vector(LinearTransformer(fare_amount,io.qbeast.core.model.DoubleDataType$@6821f91b), LinearTransformer(trip_distance,io.qbeast.core.model.DoubleDataType$@6821f91b), LinearTransformer(passenger_count,io.qbeast.core.model.LongDataType$@1a4589e9)),Vector())
24/03/26 12:29:54 DEBUG DoublePassOTreeDataAnalyzer: Computing partition-level cube domains for index Revision(0,1711452593440,/path/nyc-qbeast-table,50000,Vector(LinearTransformer(fare_amount,io.qbeast.core.model.DoubleDataType$@6821f91b), LinearTransformer(trip_distance,io.qbeast.core.model.DoubleDataType$@6821f91b), LinearTransformer(passenger_count,io.qbeast.core.model.LongDataType$@1a4589e9)),Vector()), Revision(1,1711452594393,/path/nyc-qbeast-table,50000,Vector(LinearTransformer(fare_amount,io.qbeast.core.model.DoubleDataType$@6821f91b), LinearTransformer(trip_distance,io.qbeast.core.model.DoubleDataType$@6821f91b), LinearTransformer(passenger_count,io.qbeast.core.model.LongDataType$@1a4589e9)),Vector(LinearTransformation(-750.0,386983.63,198550.18258925626,io.qbeast.core.model.DoubleDataType$@6821f91b), LinearTransformation(0.0,185250.45,46861.16844627305,io.qbeast.core.model.DoubleDataType$@6821f91b), LinearTransformation(0,9,7,io.qbeast.core.model.LongDataType$@1a4589e9))), false
24/03/26 12:29:54 DEBUG DoublePassOTreeDataAnalyzer: Computing global cube domains for index Revision(0,1711452593440,/path/nyc-qbeast-table,50000,Vector(LinearTransformer(fare_amount,io.qbeast.core.model.DoubleDataType$@6821f91b), LinearTransformer(trip_distance,io.qbeast.core.model.DoubleDataType$@6821f91b), LinearTransformer(passenger_count,io.qbeast.core.model.LongDataType$@1a4589e9)),Vector())
24/03/26 12:30:05 DEBUG DoublePassOTreeDataAnalyzer: Merging global cube domains for index Revision(0,1711452593440,/path/nyc-qbeast-table,50000,Vector(LinearTransformer(fare_amount,io.qbeast.core.model.DoubleDataType$@6821f91b), LinearTransformer(trip_distance,io.qbeast.core.model.DoubleDataType$@6821f91b), LinearTransformer(passenger_count,io.qbeast.core.model.LongDataType$@1a4589e9)),Vector())
24/03/26 12:30:05 DEBUG DoublePassOTreeDataAnalyzer: Estimating cube weights for index Revision(0,1711452593440,/path/nyc-qbeast-table,50000,Vector(LinearTransformer(fare_amount,io.qbeast.core.model.DoubleDataType$@6821f91b), LinearTransformer(trip_distance,io.qbeast.core.model.DoubleDataType$@6821f91b), LinearTransformer(passenger_count,io.qbeast.core.model.LongDataType$@1a4589e9)),Vector()), false
24/03/26 12:30:05 TRACE DoublePassOTreeDataAnalyzer: End: analyze for index Revision(0,1711452593440,/path/nyc-qbeast-table,50000,Vector(LinearTransformer(fare_amount,io.qbeast.core.model.DoubleDataType$@6821f91b), LinearTransformer(trip_distance,io.qbeast.core.model.DoubleDataType$@6821f91b), LinearTransformer(passenger_count,io.qbeast.core.model.LongDataType$@1a4589e9)),Vector())
24/03/26 12:30:05 TRACE SparkOTreeManager: End: index with revision Revision(0,1711452593440,/path/nyc-qbeast-table,50000,Vector(LinearTransformer(fare_amount,io.qbeast.core.model.DoubleDataType$@6821f91b), LinearTransformer(trip_distance,io.qbeast.core.model.DoubleDataType$@6821f91b), LinearTransformer(passenger_count,io.qbeast.core.model.LongDataType$@1a4589e9)),Vector())
24/03/26 12:30:20 WARN SparkStringUtils: Truncated the string representation of a plan since it was too large. This behavior can be adjusted by setting 'spark.sql.debug.maxToStringFields'.
24/03/26 12:30:21 TRACE IndexedTableImpl: End: Writing data to table /path/nyc-qbeast-table
24/03/26 12:30:21 TRACE IndexedTableImpl: End: Done writing data to table /path/nyc-qbeast-table
24/03/26 12:30:21 TRACE IndexedTableImpl: Done: save table /path/nyc-qbeast-table
24/03/26 12:30:21 TRACE QbeastDataSource: End: Create Qbeast relation /path/nyc-qbeast-table

Note that I have configured log4j to only output Qbeast log messages with severity level TRACE, the severity level for Spark remains as WARN.

On the questions you asked earlier:

I want to understand a bit more the criteria to print the message in INFO, DEBUG or TRACE.

Roughly how I use them:

WARN level is supposed to be critical and actionable. If the user sees a WARN, then something bad happened and it might require user intervention.
INFO level provides information about the execution, but not necessarily actionable and it avoids being verbose. It is not uncommon to see INFO level on in production, so it is expected to be lightweight with respect to the volume of messages generated.
DEBUG provides debug level info when debugging the code. It can be verbose as it is not expected to be on in production.
TRACE provides further detail to DEBUG on execution paths, and in particular, it indicates critical the methods that been executed. I like the idea of having begin and end messages so that we see when a  method begins and ends.

We should consider having more formal definitions with examples as part of contribution guidelines.

Should the logging be tested?

It is a good point. If the code path where the log message lies is being executed, then the corresponding log method (logDebug, logInfo) is also being executed. But, it is accurate that a test case is not necessarily going to spot whether a message is not useful for a human being or even some automation software that processes logs. If there are downstream systems consuming such logs, then we could consider having integration tests to validate the messages.

On the questions you asked earlier:

I want to understand a bit more the criteria to print the message in INFO, DEBUG or TRACE.

Roughly how I use them:

WARN level is supposed to be critical and actionable. If the user sees a WARN, then something bad happened and it might require user intervention.
INFO level provides information about the execution, but not necessarily actionable and it avoids being verbose. It is not uncommon to see INFO level on in production, so it is expected to be lightweight with respect to the volume of messages generated.
DEBUG provides debug level info when debugging the code. It can be verbose as it is not expected to be on in production.
TRACE provides further detail to DEBUG on execution paths, and in particular, it indicates critical the methods that been executed. I like the idea of having begin and end messages so that we see when a  method begins and ends.

We should consider having more formal definitions with examples as part of contribution guidelines.

Should the logging be tested?

It is a good point. If the code path where the log message lies is being executed, then the corresponding log method (logDebug, logInfo) is also being executed. But, it is accurate that a test case is not necessarily going to spot whether a message is not useful for a human being or even some automation software that processes logs. If there are downstream systems consuming such logs, then we could consider having integration tests to validate the messages.

Got it! Let me write the first point into an issue.
The test reasoning seems good to me. But now seems like Codecov is not executing those lines... I don't know what is the problem exactly, I am not able to detect a pattern (if it's not printing trace or debug...) and the other parts of the code are being tested as well. Do you know what can be?

Aside from Codecov complains, the PR LGTM 🙌

@osopardo1 here is a sample output:
24/04/04 13:24:32 INFO QbeastDataSource: Getting Qbeast table /Users/fpj/tmp/test-data/nyc-qbeast-table-2nd-batch
24/04/04 13:24:32 DEBUG QbeastDataSource: Table /Users/fpj/tmp/test-data/nyc-qbeast-table-2nd-batch properties: Map(cubeSize -> 50000, path -> /Users/fpj/tmp/test-data/nyc-qbeast-table-2nd-batch, columnsToIndex -> fare_amount,trip_distance,passenger_count)
24/04/04 13:24:32 TRACE QbeastDataSource: Begin: Create Qbeast relation /Users/fpj/tmp/test-data/nyc-qbeast-table-2nd-batch
24/04/04 13:24:32 TRACE IndexedTableImpl: Begin: save table /Users/fpj/tmp/test-data/nyc-qbeast-table-2nd-batch
24/04/04 13:24:32 DEBUG IndexedTableImpl: Appending data to table /Users/fpj/tmp/test-data/nyc-qbeast-table-2nd-batch with revision=4
24/04/04 13:24:32 DEBUG IndexedTableImpl: Loading latest revision for table /Users/fpj/tmp/test-data/nyc-qbeast-table-2nd-batch with revision=4
24/04/04 13:24:33 TRACE IndexedTableImpl: Begin: Writing data to table /Users/fpj/tmp/test-data/nyc-qbeast-table-2nd-batch
24/04/04 13:24:33 DEBUG IndexedTableImpl: Writing data to table /Users/fpj/tmp/test-data/nyc-qbeast-table-2nd-batch with revision 4
24/04/04 13:24:33 TRACE IndexedTableImpl: Begin: Writing data to table /Users/fpj/tmp/test-data/nyc-qbeast-table-2nd-batch
24/04/04 13:24:33 TRACE SparkOTreeManager: Begin: index with revision Revision(4,1711452971649,/Users/fpj/tmp/test-data/nyc-qbeast-table-2nd-batch,50000,List(LinearTransformer(fare_amount,io.qbeast.core.model.DoubleDataType$@6f5866ec), LinearTransformer(trip_distance,io.qbeast.core.model.DoubleDataType$@6f5866ec), LinearTransformer(passenger_count,io.qbeast.core.model.LongDataType$@39262d61)),List(LinearTransformation(-1.33391414E8,401092.32,-8.769787799728292E7,io.qbeast.core.model.DoubleDataType$@6f5866ec), LinearTransformation(0.0,389678.46,56776.69812021143,io.qbeast.core.model.DoubleDataType$@6f5866ec), LinearTransformation(0,9,7,io.qbeast.core.model.LongDataType$@39262d61)))
24/04/04 13:24:33 TRACE DoublePassOTreeDataAnalyzer: Begin: analyze for index with revision=Revision(4,1711452971649,/Users/fpj/tmp/test-data/nyc-qbeast-table-2nd-batch,50000,List(LinearTransformer(fare_amount,io.qbeast.core.model.DoubleDataType$@6f5866ec), LinearTransformer(trip_distance,io.qbeast.core.model.DoubleDataType$@6f5866ec), LinearTransformer(passenger_count,io.qbeast.core.model.LongDataType$@39262d61)),List(LinearTransformation(-1.33391414E8,401092.32,-8.769787799728292E7,io.qbeast.core.model.DoubleDataType$@6f5866ec), LinearTransformation(0.0,389678.46,56776.69812021143,io.qbeast.core.model.DoubleDataType$@6f5866ec), LinearTransformation(0,9,7,io.qbeast.core.model.LongDataType$@39262d61))) and isReplication=false
24/04/04 13:24:33 DEBUG DoublePassOTreeDataAnalyzer: newRevision=Revision(4,1711452971649,/Users/fpj/tmp/test-data/nyc-qbeast-table-2nd-batch,50000,List(LinearTransformer(fare_amount,io.qbeast.core.model.DoubleDataType$@6f5866ec), LinearTransformer(trip_distance,io.qbeast.core.model.DoubleDataType$@6f5866ec), LinearTransformer(passenger_count,io.qbeast.core.model.LongDataType$@39262d61)),List(LinearTransformation(-1.33391414E8,401092.32,-8.769787799728292E7,io.qbeast.core.model.DoubleDataType$@6f5866ec), LinearTransformation(0.0,389678.46,56776.69812021143,io.qbeast.core.model.DoubleDataType$@6f5866ec), LinearTransformation(0,9,7,io.qbeast.core.model.LongDataType$@39262d61)))
24/04/04 13:24:33 DEBUG DoublePassOTreeDataAnalyzer: Computing global cube domains for index revision Revision(4,1711452971649,/Users/fpj/tmp/test-data/nyc-qbeast-table-2nd-batch,50000,List(LinearTransformer(fare_amount,io.qbeast.core.model.DoubleDataType$@6f5866ec), LinearTransformer(trip_distance,io.qbeast.core.model.DoubleDataType$@6f5866ec), LinearTransformer(passenger_count,io.qbeast.core.model.LongDataType$@39262d61)),List(LinearTransformation(-1.33391414E8,401092.32,-8.769787799728292E7,io.qbeast.core.model.DoubleDataType$@6f5866ec), LinearTransformation(0.0,389678.46,56776.69812021143,io.qbeast.core.model.DoubleDataType$@6f5866ec), LinearTransformation(0,9,7,io.qbeast.core.model.LongDataType$@39262d61)))
24/04/04 13:24:33 WARN DAGScheduler: Broadcasting large task binary with size 1505.5 KiB
24/04/04 13:25:05 WARN DAGScheduler: Broadcasting large task binary with size 1521.6 KiB
24/04/04 13:25:05 DEBUG DoublePassOTreeDataAnalyzer: Merging global cube domains for index revision Revision(4,1711452971649,/Users/fpj/tmp/test-data/nyc-qbeast-table-2nd-batch,50000,List(LinearTransformer(fare_amount,io.qbeast.core.model.DoubleDataType$@6f5866ec), LinearTransformer(trip_distance,io.qbeast.core.model.DoubleDataType$@6f5866ec), LinearTransformer(passenger_count,io.qbeast.core.model.LongDataType$@39262d61)),List(LinearTransformation(-1.33391414E8,401092.32,-8.769787799728292E7,io.qbeast.core.model.DoubleDataType$@6f5866ec), LinearTransformation(0.0,389678.46,56776.69812021143,io.qbeast.core.model.DoubleDataType$@6f5866ec), LinearTransformation(0,9,7,io.qbeast.core.model.LongDataType$@39262d61)))
24/04/04 13:25:05 DEBUG DoublePassOTreeDataAnalyzer: Estimating cube weights for index revision Revision(4,1711452971649,/Users/fpj/tmp/test-data/nyc-qbeast-table-2nd-batch,50000,List(LinearTransformer(fare_amount,io.qbeast.core.model.DoubleDataType$@6f5866ec), LinearTransformer(trip_distance,io.qbeast.core.model.DoubleDataType$@6f5866ec), LinearTransformer(passenger_count,io.qbeast.core.model.LongDataType$@39262d61)),List(LinearTransformation(-1.33391414E8,401092.32,-8.769787799728292E7,io.qbeast.core.model.DoubleDataType$@6f5866ec), LinearTransformation(0.0,389678.46,56776.69812021143,io.qbeast.core.model.DoubleDataType$@6f5866ec), LinearTransformation(0,9,7,io.qbeast.core.model.LongDataType$@39262d61)))
24/04/04 13:25:05 TRACE DoublePassOTreeDataAnalyzer: End: analyze for index with revision Revision(4,1711452971649,/Users/fpj/tmp/test-data/nyc-qbeast-table-2nd-batch,50000,List(LinearTransformer(fare_amount,io.qbeast.core.model.DoubleDataType$@6f5866ec), LinearTransformer(trip_distance,io.qbeast.core.model.DoubleDataType$@6f5866ec), LinearTransformer(passenger_count,io.qbeast.core.model.LongDataType$@39262d61)),List(LinearTransformation(-1.33391414E8,401092.32,-8.769787799728292E7,io.qbeast.core.model.DoubleDataType$@6f5866ec), LinearTransformation(0.0,389678.46,56776.69812021143,io.qbeast.core.model.DoubleDataType$@6f5866ec), LinearTransformation(0,9,7,io.qbeast.core.model.LongDataType$@39262d61)))
24/04/04 13:25:05 TRACE SparkOTreeManager: End: index with revision Revision(4,1711452971649,/Users/fpj/tmp/test-data/nyc-qbeast-table-2nd-batch,50000,List(LinearTransformer(fare_amount,io.qbeast.core.model.DoubleDataType$@6f5866ec), LinearTransformer(trip_distance,io.qbeast.core.model.DoubleDataType$@6f5866ec), LinearTransformer(passenger_count,io.qbeast.core.model.LongDataType$@39262d61)),List(LinearTransformation(-1.33391414E8,401092.32,-8.769787799728292E7,io.qbeast.core.model.DoubleDataType$@6f5866ec), LinearTransformation(0.0,389678.46,56776.69812021143,io.qbeast.core.model.DoubleDataType$@6f5866ec), LinearTransformation(0,9,7,io.qbeast.core.model.LongDataType$@39262d61)))
24/04/04 13:25:41 TRACE IndexedTableImpl: End: Writing data to table /Users/fpj/tmp/test-data/nyc-qbeast-table-2nd-batch
24/04/04 13:25:41 TRACE IndexedTableImpl: End: Done writing data to table /Users/fpj/tmp/test-data/nyc-qbeast-table-2nd-batch
24/04/04 13:25:41 TRACE IndexedTableImpl: End: save table /Users/fpj/tmp/test-data/nyc-qbeast-table-2nd-batch
24/04/04 13:25:41 TRACE QbeastDataSource: End: Create Qbeast relation /Users/fpj/tmp/test-data/nyc-qbeast-table-2nd-batch

For this command:
dfCasted.write.format("qbeast").mode("append").
                                        option("columnsToIndex", "fare_amount,trip_distance,passenger_count").
                                        option("cubeSize", "50000").
                                        save("/path/nyc-qbeast-table")


Use javascript in hx:vals

Hi, is there a way to use javascript in hx:vals?
I need to do something like this:
 hx:vals="${ {stageIndex: stageIndex, stepCount: document.querySelectorAll('.taskStep').length} }"

so my use case is to create a json using thymeleaf variables and using javascript at the same time
when I try this, I get this exception:
[nio-8080-exec-8] o.a.c.c.C.[.[.[/].[dispatcherServlet]    : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed: org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource [templates/partials/....html]")] with root cause

org.springframework.expression.spel.SpelEvaluationException: EL1011E: Method call: Attempted to call method querySelectorAll(java.lang.String) on null context object

Hello, we tried to solve the issue.
This is what we did:
Updated the HtmxAttributeProcessor class to allow JavaScript expressions in the hx:vals attribute. This change enables the use of both Thymeleaf variables and JavaScript expressions in the same hx:vals attribute.
You can review changes in this commit: https://github.com/jacks-sam1010/wimdeblauwe-htmx-spring-boot-160/commit/a989e5b0b23164d28882f92d6fb6d84b60033d18.

[!CAUTION]
Disclaimer: The concept of solution was created by AI and you should never copy paste this code before you check the correctness of generated code. Solution might not be complete, you should use this code as an inspiration only.

Latta AI seeks to solve problems in open source projects as part of its mission to support developers around the world. Learn more about our mission at https://latta.ai/ourmission . If you no longer want Latta AI to attempt solving issues on your repository, you can block this account.

Can you include what you would expect the rendered HTML to look like? I'm having trouble understanding the request.
I typically would solve something like this as a hidden field and avoid the Javascript approach:
<input type="hidden" name="stepCount" th:value="${steps.size}">

I wanted to send these information to the Spring controller so based on it I can determine the properties of new fragment that I wanted to render.
After doing some search, I found that I can use the javascript event to get what I need:
hx-vals='js:{stageIndex: event.target.closest(".taskStage").getAttribute("stageIndex"), stepCount: event.target.closest(".taskStage").querySelectorAll(".taskStep").length}'

maybe there is a better solution for this in thymeleaf that I am not aware of it as this is the first project to use thymeleaf and htmx
what I am working on is a form that adds new empty input fields (stages and steps of the stages) when I click add stage or add step in a stage, so I don't want to make the button to submit the whole form when I click it, so I use htmx to send a request to the spring boot controller with the values needed so the controller returns a fragment with the correct input attributes


fix: relative base code generation (previously generated as ./)

fix a bug in #7644

Would you explain what is the bug? The best would be to add a test case that this PR is fixing.

I see, thanks for the fix! Apply it only that line in the PR.


if others copy my code, can they deploy to cloud with same appName directly?

If a group of engineers do same project, how the user verification control?
I am freetrial user, but I do research for company production, we are make decision to use azure function or not; please give quick answer; thanks!

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

ID: e656bde5-b5d8-8d80-b7b3-ab430e57613e
Version Independent ID: 329eb12f-7302-4ecf-c1bf-a50ba3f34bdf
Content: Create your first function in Azure with Java and Maven
Content Source: articles/azure-functions/functions-create-first-java-maven.md
Service: azure-functions
GitHub Login: @rloutlaw
Microsoft Alias: routlaw, glenga

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

Hi @juanren Apologies for late response. If you'd like to prevent group of engineers from overwriting each others work when they deploy to same Azure Function App, it might be best to setup & establish CI/CD flow:

Continuous deployment for Azure Functions
Build and deploy Java to Azure Functions

@juanren Since we haven't heard back, we will now proceed to close this thread for now. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


Bookings: Instructions for adding a non-bookable admin do not work on the new Bookings experience

The method described on this page (to add an Administrator who is not shown as bookable to clients) only works on the legacy Bookings experience. If you switch to the new Bookings Experience when logged in as such a user, all settings screens become read-only.

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

ID: 4fcbd22b-e14b-fe97-7b7f-eb672e84d382
Version Independent ID: f9a024d7-6600-4922-02b5-2c8ceeae13ab
Content: Add staff to Bookings
Content Source: microsoft-365/bookings/add-staff.md
Service: bookings
GitHub Login: @kwekuako
Microsoft Alias: kwekua

@synesthesia Thank you for your feedback. We have added a note stating the same while the product team fixes the new bookings experience. The changes can be tracked via PR#https://github.com/MicrosoftDocs/microsoft-365-docs/pull/6550
Thanks
Sri


enable version bumping for collaboration

@petehunt this borrows heavily from your work on https://github.com/petehunt/excalidraw/commit/57ac7b7d3ca30a2f5ae77ff68b313aa3df9f5a73
This can be tested here: https://excalidraw-test.now.sh/#room=828c67e1019d89ed1bf2,s3Zb_ph9F-2PACFl0r1eBw
Basically, it adds version bumping and does some lossy reconciliation so users can edit different elements at the same time. It doesn't address simultaneous creation and deletion of elements but it's an improvement.

😍

i can't repro the bug that appeared in my branch, but you might want to look at all the places where new elements are created based on old ones (i.e. all the changeProperty() calls, ctrl-f for mutateElement() and mutateTextElement() in my branch https://github.com/excalidraw/excalidraw/compare/master...petehunt:firebase-2#diff-8ee8fe8d993f3e01be9420cf862f7bd1R50). i think you might be changing the element data without bumping the version which is bad


Align joiner functionality on ncs example with other platforms

Problem
Example lock-app for the nrfconnect platform does not support Thread Joiner role.
Summary of Changes
Add a Thread Joiner to an example. The Joiner is activated by pressing button 3 on nRF52 DK board.
New behavior is described in README file.

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


HWY-167: Add citable_panorama to State struct.

This PR lays some groundwork that can be used when writing unit tests. Does not return LNC-compliant panoramas for our units yets.

bors r+


standard_init_linux.go:185: exec user process caused "no such file or directory"

I'm submitting a ...
[x] bug report

Action taken (what you did)
https://gekko.wizb.it/docs/installation/installing_gekko_using_docker.html
$ docker-compose build
$ docker-compose up -d

Expected result (what you hoped would happen)
localhost:3000 to show the UI

Actual result (unexpected outcome)
after viewing logs: docker logs -f gekko_gekko_1
I see  lot of these messages, and container keeps restarting
standard_init_linux.go:185: exec user process caused "no such file or directory"

Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to Docker version 17.09.1 (on macos sierra)

Where could I search for a sollution?
Thank you!

This issue will occurred if you're running on windows. Git automatically converted docker-entrypoint.sh to windows-styled line ending.
The proper way to fix this issue is convert docker-entrypoint.sh back to Unix-styled line ending by run this command on your cmd:
dos2unix.exe docker-entrypoint.sh
Then rebuild your docker images by:
docker-compose build --force-rm
Enjoy!


Cannot get this plugin to work on iOS 11.0.3, Cordova 7.1.0 and Phonegap 7.1.1

Hello,
Installed your plugin alongside cordova-plugin-device but window.device.name is always undefined on iOS. Wondered what could be wrong?
Also forked cordova-plugin-device and according to this StackOverflow answer, I made changes to add device.name back in. However, it does not work either.
Also finding window.cordova.plugins is undefined.
Can you help?

Solved: I had forgotten to re-add my cordova platforms after adding the new plugin.


[vcpkg] Passing --dgml should suppress warnings (on stdout)

Describe the bug
Generated dgml files are invalid

Environment

OS: Windows

To Reproduce
Steps to reproduce the behavior:

./vcpkg depend-info boost --dgml > boost.dgml
Open generated file with MSVC

Expected behavior
MSVC can show the graph
Additional context
The generated files looks currently like:
warning: Starting with the September 2023 release, the default triplet for vcpkg libraries will change from x86-windows to the detected host triplet (x64-windows). To resolve this message, add --triplet x86-windows to keep the same behavior.
<?xml version="1.0" encoding="utf-8"?><DirectedGraph xmlns="http://schemas.microsoft.com/vs/2009/dgml">...</DirectedGraph>

So the issue should exists since https://github.com/microsoft/vcpkg-tool/pull/881
Possible solutions

Print warnings on stderr instead of  stdout, as it is currently not possible to redirect just the xml file
Change the parameter --dgml to require a file name (not sure if there is an use case to pipe the output directly to an tool)
Suppress all warnings when passing --dgml and just print them in case the command itself failed

Related #33444

Fixed in microsoft/vcpkg-tool#1175.