The data sent by send_raw() contains redundant information.

In the following code, I expect to send "10, 11, 12", but the actual output is "110, 116, 82, 97, 119, 0, 10, 11, 12, 0".
#include "webui.hpp"

constexpr const char* HTML = R"(

Hello World!

)";

int main()
{
    webui::window my_window;

    my_window.show(HTML);

    const unsigned char bytes[] = {
        0xA, 0xB, 0xC
    };
    my_window.send_raw("printRaw", bytes, 3);

    webui::wait();
}

My browser environment is Firefox 132.0 on Linux.

Thank you for your help! I have updated the WebUI version, and the issue is now resolved.


Backport of PR #4698 to the 1.0.2

Checklist

[ ] documentation is added or updated
[ ] tests are added or updated

Pushed. As with the master/1.1.0 version I edited the commit message to remove "CLA: trivial". A CLA is on file now anyway, so it is irrelevant.


Look into using a distributed storage system for the key-val store. Possibilities include

etcd
Consul
doozerd
and etc.

Update: Decided on etcd.

Instances are clustered together
Tested w/ a cluster size = 2


custom profile fields: Support editing users' custom profile fields from admin UI

Now that we have an edit-user modal (https://github.com/zulip/zulip/pull/10141#issuecomment-409971452), we should eventually add support for administrators editing a users' custom profile fields on that page.

@zulipbot claim


[PUI] Tab permissions

Hide top-level navigation tabs based on the users permissions.
e.g. if the user does not have the "purchase order" role, the tab will be hidden:

Ref: https://github.com/inventree/InvenTree/discussions/7654

Oops, branched from wrong commit...


Feature request: DSN Support.

More info here.

I am not sure what to do with this. As I understand it, Postfix already supports this feature. There is no information available on any configuration parameters...


[RFE] Allow hauler to pull from a registry for images

Is your feature request related to a problem? Please describe.

Yes, see below

Describe the solution you'd like

For hauler to have the ability to set a registry to automatically prepend to any image

zackbradys@Zacks-MBP ~ % hauler store add image -h
Add an image to the content store

Usage:
  hauler store add image [flags]

Flags:
  -h, --help              help for image
  -k, --key string        (Optional) Path to the key for digital signature verification
  -p, --platform string   (Optional) Specific platform to save. i.e. linux/amd64. Defaults to all if flag is omitted.
  -r, --registry string   (Optional) Specific registry to pull images. Defaults to "docker.io"

Global Flags:
      --cache string       Location of where to store cache data (defaults to $XDG_CACHE_DIR/hauler)
  -l, --log-level string    (default "info")
  -s, --store string       Location to create store at (default "store")

apiVersion: content.hauler.cattle.io/v1alpha1
kind: Images
metadata:
  name: hauler-content-images-example
  platform: linux/amd64
  key: carbide-key.pub
  registry: rgcrprod.azurecr.us
spec:
  images:
    - name: longhornio/longhorn-ui:v1.5.1
      platform: linux/amd64
      key: carbide-key.pub
      registry: rgcrprod.azurecr.us

Describe alternatives you've considered

Manually maintaining separate hauler manifests with the registry set at each image.
Manually ensuring that I have the correct registry, in the image name, with each hauler store add image.

Additional context

N/A

Closed per https://github.com/rancherfederal/hauler/pull/173!


Cannot implement a "ApplicationMessageInterceptor"

Hello,
I'm trying to understand how to implement a "ApplicationMessageInterceptor".
The example in the wiki gives me the error: Cannot convert lambda expression to type 'IMqttServerApplicationMessageInterceptor' because it is not a delegate type
Here the example code:
var options = new MqttServerOptions();
            options.ApplicationMessageInterceptor = context =>
            {
                if (MqttTopicFilterComparer.IsMatch(context.ApplicationMessage.Topic, "/myTopic/WithTimestamp/#"))
                {
                    // Replace the payload with the timestamp. But also extending a JSON
                    // based payload with the timestamp is a suitable use case.
                    context.ApplicationMessage.Payload = Encoding.UTF8.GetBytes(DateTime.Now.ToString("O"));
                }
            };

What am I missing?
I'm using .NET Framework 4.8 with VisualStudio 2019

Hi,
sorry but the Wiki was not updated completely for 3.0.0. I updated the example code.
Let me know if it works now.
Best regards
Christian


Require Network Transform

:tada: This PR is included in version 5.1.8 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


1.18-exp4 stuff

Maps methods used by templates and new ore generation.

bury prob needs javadoc , it's more like a side-effect-ful canGenerate: if it cannot generate, false, and if it can, then increase height by deltaY blocks (and since it is used with negative delta, bury by -deltaY blocks) and return true.
largeCopperOre is true only in dripstone caves.
getLowestCornerSurfaceHeight is just that; get min surface height of 4 corners from heightmap, and return lowest value. "width" and "height" here is deltaX and deltaZ, though I am not sure which one is better. This is used to check if the area (or, the corners) are filled with water in temple generation.

"width" and "height" here is deltaX and deltaZ

Hm, using "height" for Z values is a bit odd. The delta names might be better?


I have no Idea how it was possible but it was hosted on your servers and I want it now lmao 100 player lobby

This is done within MultiplayerExtensions.  This allows you to go past 10 players if you edit their configuration file.
Closing issue.


Swift. The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated

[REQUIRED] Step 2: Describe your environment

Xcode version: 10
Firebase SDK version: 5.10.0
Firebase Component: Core?___ (Auth, Core, Database, Firestore, Messaging, Storage, etc)
Component version: _____

[REQUIRED] Step 3: Describe the problem
With Xcode10, when starting Firebase I get this in the logs. No idea implications this can have.
console log:
`
5.10.0 - [Firebase/Analytics][I-ACS023007] Analytics v.50200000 started
5.10.0 - [Firebase/Analytics][I-ACS023008] To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled (see http://goo.gl/RfcP7r)
Failed to create synchronous remote object proxy: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated.}
Failed to create remote object proxy: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated.}
[NetworkInfo] Descriptors query returned error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated.}
Failed to ping server after delegate was set
Failed to create synchronous remote object proxy: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated.}
[NetworkInfo] Descriptors query returned error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated.}
Failed to create synchronous remote object proxy: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated.}
[NetworkInfo] Descriptors query returned error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated.}
TIC TCP Conn Failed [7:0x600001660f00]: 12:8 Err(-65554)
Task <1B1A5D4C-5BBF-4AD4-A7E3-0ACA74AB8D7F>.<2> HTTP load failed (error code: -1003 [12:8])
Task <1B1A5D4C-5BBF-4AD4-A7E3-0ACA74AB8D7F>.<2> finished with error - code: -1003
`
Steps to reproduce:
Put FirebaseApp.configure() in the App Delegate or with this code also:
if let filePath = Bundle.main.path(forResource: "GoogleService-Info", ofType: "plist") {
    // Init FIRApp passing the file
    if let options = FirebaseOptions.init(contentsOfFile: filePath) {
        FirebaseApp.configure(options: options)
    }
}

My GoogleService-Info.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>AD_UNIT_ID_FOR_BANNER_TEST</key>
	<string>xsomethingx</string>
	<key>AD_UNIT_ID_FOR_INTERSTITIAL_TEST</key>
	<string>xsomethingx</string>
	<key>CLIENT_ID</key>
	<string>xsomethingx</string>
	<key>REVERSED_CLIENT_ID</key>
	<string>xsomethingx</string>
	<key>API_KEY</key>
	<string>xsomethingx</string>
	<key>GCM_SENDER_ID</key>
	<string>xsomethingx</string>
	<key>PLIST_VERSION</key>
	<string>1</string>
	<key>BUNDLE_ID</key>
	<string>xsomethingx</string>
	<key>PROJECT_ID</key>
	<string>xsomethingx</string>
	<key>STORAGE_BUCKET</key>
	<string>xsomethingx</string>
	<key>IS_ADS_ENABLED</key>
	<true/>
	<key>IS_ANALYTICS_ENABLED</key>
	<true/>
	<key>IS_APPINVITE_ENABLED</key>
	<false/>
	<key>IS_GCM_ENABLED</key>
	<true/>
	<key>IS_SIGNIN_ENABLED</key>
	<true/>
	<key>GOOGLE_APP_ID</key>
	<string>xsomethingx</string>
	<key>DATABASE_URL</key>
	<string>xsomethingx</string>
</dict>
</plist>

See https://stackoverflow.com/questions/52455652/xcode-10-seems-to-break-com-apple-commcenter-coretelephony-xpc.
Are you able isolate the issue to a particular pod?
If you're still stuck, please share the Podfile.

I also confirm this only happens in the simulator, glad to know it.
I am not using Cocoapods. I am using Carthage with this Cartfile:
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAnalyticsBinary.json"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseDynamicLinksBinary.json"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseMLVisionBinary.json"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseMLVisionFaceModelBinary.json"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebasePerformanceBinary.json"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseStorageBinary.json"

I didn´t isolate what part is involved in this, but I remember some people talking about Firebase Notifications?. I checked in my Safari history, but I don't find it. I am not using Firebase Notifications, could be a common core dependency.
Some advice from an Apple Engineer at the Apple Developer Forums, I hope the can help:
"I’m not familiar with Unwanted Communication app extensions, so I’m going to respond in a very general sense.  It’s possible that there are aspects of this that are specific to Unwanted Communication app extensions that I’m not aware of )-:
It’s not uncommon for app extensions to run in a tighter sandbox than normal app and I suspect that’s what’s happening here: Your app runs in the standard sandbox, and thus can talk to the backend service used by CTTelephonyNetworkInfo, but your app extension is running in a tighter sandbox that prevents that.
If that theory is correct then you won’t be able to work around it directly.  One possibility indirect solution is to have your app get that info and store it in an app group shared container that it shares with the app extension.  The app extension can then read that info and include it with its requests.
However, it’s possible that the app extension sandbox also prevents read access to shared app groups.  That would be pretty unusual, but it’s technically possible and might even make sense given the privacy-sensitive nature of an Unwanted Communication app extension."

facing the same issue with  ionic project
Podfile
platform :ios, '9.0'
use_frameworks!
target 'BlockShorts' do
pod 'FirebaseMessaging', '~> 2.0.0'
pod 'GoogleToolboxForMac', '~> 2.1'
pod 'Firebase'
pod 'Firebase/Auth'
pod 'Firebase/Core'
pod 'Fabric'
pod 'Crashlytics'
end

not part of this, same with regular ios app using adbanner (kGADAdSizeSmartBannerPortrait) hope this helps if I read right.

I'm not sure if there has been any update on this, but I was able to get it to work in the simulator with this in my Podfile
pod 'FirebaseCore'
pod 'GoogleAnalytics'
pod 'FirebaseAnalytics'
pod 'GoogleTagManager'

How did you get it work?  It started working for a little bit, then the CoreTelephony errors came back. The only way I was able to get them to go away completely was to add a 1 second delay before initializing Firebase. I only do this delay when the simulator is detected.

Running
xcrun simctl spawn booted log config --mode "level:off"  --subsystem com.apple.CoreTelephony
in terminal made it go away for me

I am facing his issue, when I am addding clevertap pod in my firebase project.

Running
xcrun simctl spawn booted log config --mode "level:off" --subsystem com.apple.CoreTelephony
in terminal made it go away for me

Is there a way to make this part of the project or workspace settings so we don't have to run this on every developer's machine no matter which simulator they choose?

I suppose you can add a “run script” stage that does this for you. Don’t think it harms to run it more than once.
Sent by my iPhone

On Apr 30, 2019, at 3:54 PM, Dave Lewanda<EMAIL_ADDRESS>wrote:
Running
xcrun simctl spawn booted log config --mode "level:off" --subsystem com.apple.CoreTelephony
in terminal made it go away for me
Is there a way to make this part of the project or workspace settings so we don't have to run this on every developer's machine no matter which simulator they choose?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Closing this issue since it's not something we plan on fixing in the Firebase SDKs. Feel free to continue discussion here.


Library's data of dependent shared library is incorrect.

This bug report was migrated from our old Bugzilla tracker.
Reported in version: 1.2.12
Reported for operating system, platform: Mac OS X (All), x86_64
Comments on the original bug report:
On 2016-04-13 13:13:53 +0000,  wrote:

The libSDL_image.dylib building with --enable-feature-shared (e.g. --enable-png-shared) has no data of dependent shared library for specify librarys.
It may be correct because there is no shared symbol in libSDL_image.dylib against options.

$ otool -L libSDL_image.dylib
/usr/local/lib/libSDL_image.dylib:
/usr/local/opt/sdl_image/lib/libSDL_image-1.2.0.dylib (compatibility version 9.0.0, current version 9.4.0)
/usr/local/opt/sdl/lib/libSDL-1.2.0.dylib (compatibility version 12.0.0, current version 12.4.0)
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices (compatibility version 1.0.0, current version 48.0.0)
/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa (compatibility version 1.0.0, current version 22.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1226.10.1)
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 1256.14.0)
/System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics (compatibility version 64.0.0, current version 600.0.0)
/System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices (compatibility version 1.0.0, current version 728.6.0)
/System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO (compatibility version 1.0.0, current version 1.0.0)
/usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 228.0.0)

But the library with --enable-feature-shared=no has data against it has no shared symbol.
The following library was built with --enable-jpg-shared=no, --enable-png-shared=no, --enable-tif-shared=no and --enable-webp-shared=no.

$ otool -L /usr/local/Cellar/SDL_image/1.2.12/lib/libSDL_image.dylib
/usr/local/Cellar/SDL_image/1.2.12/lib/libSDL_image.dylib:
/usr/local/Cellar/SDL_image/1.2.12/lib/libSDL_image-1.2.0.dylib (compatibility version 9.0.0, current version 9.4.0)
/usr/local/Cellar/libpng/1.6.21/lib/libpng16.16.dylib (compatibility version 38.0.0, current version 38.0.0)
/usr/local/Cellar/jpeg/9b/lib/libjpeg.9.dylib (compatibility version 12.0.0, current version 12.0.0)
@rpath/libtiff.5.dylib (compatibility version 5.0.0, current version 5.2.4)
/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.5)
/usr/local/Cellar/libwebp/0.5.0/lib/libwebp.6.dylib (compatibility version 7.0.0, current version 7.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1226.10.1)
/usr/local/Cellar/SDL/1.2.15/lib/libSDL-1.2.0.dylib (compatibility version 12.0.0, current version 12.4.0)
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices (compatibility version 1.0.0, current version 48.0.0)
/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa (compatibility version 1.0.0, current version 22.0.0)
/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon (compatibility version 2.0.0, current version 157.0.0)
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 1258.1.0)
/System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics (compatibility version 64.0.0, current version 600.0.0)
/System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices (compatibility version 1.0.0, current version 728.9.0)
/System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO (compatibility version 1.0.0, current version 1.0.0)
/usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 228.0.0)

It is inverse. And There is other strange point about libz.

This is expected, when SDL is dynamically linked against dependencies, it will open them at runtime as needed. Also, SDL_image using ImageIO does not depend on the system versions of libjpeg, libpng, etc.


fix(doc): fix html5 syntax

ref https://github.com/aurelia/templating/pull/647#issuecomment-427989601

@huochunpeng Would you mind rebasing this on the develop branch?

Sure, but isn't doc moved to aurelia/documentation?

The doc file is no more on this repo.


Team Meeting 3

September 26, 2023
Matthew, Sam, Ethan, Kieran
Work on Prob Statement and Dev Plan

Associated Meeting Minutes: https://github.com/SammyG7/Mac-AR/blob/main/docs/MeetingMinutes/MeetingMinutes.pdf


sfdx force:project:create resulting in error

While trying to create a new project with Manifest using sfdx force:project:create, I am getting below error -
'npm' is not recognized as an internal or external command,
operable program or batch file.

Please use the template when submitting issues.  The error you listed indicates that NodeJS is either not installed or not in your path.


Add multiple new Methods for Vec2 and impl VecXZ

This is a PR (currently still a draft) that implements multiple new methods for Vec2 such as rotate, and is aimed to implement a VecXZ type. All this includes conversions between Vec3 <--> Vec2 <--> VecXZ.

I think if you're aiming to do a separate VecXZ class, there should be some shared implementation. Maybe some private static class with methods like addImpl(x1, y1, x2, y2). Or maybe some kind of shared base class, that uses customizable getters and setters for each component. For example you would have getDimension(<0/1>) and setDimension(<0, 1>, value).
Overall idea is to not duplicate too much code (more that I already did unfortunately).

Well, it is very important to recognize that abstracting it further might cause performance problems due to the level of indirection.
And in the end, I dont think that this duplication is really that problematic.
But I do wonder, you mentioned that you think that I am focusing on having 2 seperate classes for both Vec2 and VecXZ. This makes it sounds like you have been thinking about combining them into 2 class, may you expand on that?
Though maybe, there is a way to have this abstraction in Ts but not in Js.. Im here thinking about possibly using macros, or something similar, to some regard?

My implementation of Vec2 accepts both Vector2 and VectorXZ. After that it will perform all operations on X and Y components l. If you convert VectorXZ it will assign Z to Y. There probably should also be option to get VectorXZ back from Vec2 and then we have all functionalities in one class for both interfaces. That was my idea.
As for compilation step to use something like macros, maybe there's an option for inlining pure functions in the esbuild?


AES128-CBC does not correctly working with STM device (NUCLE0-F401RE)

I've tried the code with my Nucleo device, AES onn ECB works correctly, but with AES on CBC mode, i noticed that the encryption process is correct just for a piece of the plain text, the rest is incorrect.
I compared the resulting cipher text with the one generated by an online AES cipher.
The used key and plain-text are the ones contained into the aes.c file

I tested with the test.c File on a STM32F373. Everything workes fine here.
Because CBC is not tested with multipe calls i Editted Line 215
from:
AES_CBC_encrypt_buffer(&ctx, in, 64);
to
    AES_CBC_encrypt_buffer(&ctx, in, 32); AES_CBC_encrypt_buffer(&ctx, in+32, 32);
To enable some cbc chaining in the algorithm.
Everything works fine.

Hi @ZioMorgan
I have had no problems with this code on various STM32 MCUs and lots of other architectures.
CBC involves an IV which is a common source of usage problems. I suggest you ensure that you are encrypting and decrypting with the same key + IV pairs.
Please post the code used or a minimally reproducible example of your problem.

Hi @ZioMorgan
I have had no problems with this code on various STM32 MCUs and lots of other architectures.
CBC involves an IV which is a common source of usage problems. I suggest you ensure that you are encrypting and decrypting with the same key + IV pairs.
Please post the code used or a minimally reproducible example of your problem.

Closing temporarily until OP replies

Closing temporarily until OP replies


Add Enterprise LDAP group links

Closes https://github.com/xanzy/go-gitlab/issues/605

Hi,
When do you think this MR will be merged ?
Thanks a lot,
Benoit

Well it looks like @zoidbergwill has abandoned the PR... I can maybe have a look at tweaking the PR myself, but sure when I'll have some time for that.
It will help if you can answer the last question about some docs or a raw API response that shows that the fields added in this PR are actually there...

There is no docs about this on Gitlab.com, but we use Gitlab EE so I can get the JSON response if you want.
I will start a new PR if you want.

We can use this PR (I can update it), so that's fine... Having a JSON response would  be great 👍

I can update it today. Didn't see this in my email. It's been a long while since I opened it.

Cool, that would be very nice @zoidbergwill. Thanks!

@benoitmenard-richemont I'm no longer on the team that manages GitLab at my company, so would you be able to test whether creating an LDAP Group Link returns the single link? vs a list? and what response deleting a link returns?
Other than that I'm confident with my changes, going with assuming that they return the same things as other API endpoints of the GitLab API.
I guess I could check the GitLab codebase.
Then we can add tests for adding and deleting, and then I'm happy with addressing all the feedback.

@zoidbergwill I'm an admin of my company's GitLab instance so I can help answer the API response questions.  When deleting an LDAP group link there is no content in the response (204).  The response when creating an LDAP group link is:
{
  'cn': 'group_that_was_added',
  'group_access': 40,
  'provider': 'provider_for_group_that_was_added'
}


[Suggestion]  momentarily display progress during --skip-ok

I don't know how onerous it would be to implement this, but it would be convenient to have a key that would show what is being processed by rhash during large "--skip-ok -c " operations. I.e, press the space key and see a single line of output to get an idea of how far along it is.

Why the --percents option is not enough?

I was thinking of something more along the lines of Issue #181, but not a toggle on/off. Just an update of how far along it is overall at the moment of the key press. I thought that constantly calculating & printing to term seems like a waste of resources.

Actually CPU is heavily loaded by calculating a hash. Compared to this, progress calculation is instantaneous, and does not eat resources.
Progress printing is also optimized. RHash prints progress no more then 20 times per second, and only if the percent value have changed. That means:

For small files RHash prints progress only twice per file (0% on start and 100% on finish).
For big files RHash prints progress 101 time per file (0%, 1%, ... 100%).

To summarize, the printing time can also be neglected.
Also processing a key press is not a Unix-way solution, so such suggestion will not be supported.

I can think of any number of *nix programs that enter or exit modes of operation with a single or combo key press, and many more that parse "Q" to exit cleanly. In fact, a project "John the Ripper" implements pretty much exactly what I suggested here, but I'll accept your decision and say no more.


3D plotting not working

Dear all,
I have been trying to plot some orbit in 3D using the examples in this page. The code is very simple
import numpy as np
from poliastro.bodies import Earth, Sun
from poliastro.constants import J2000
from poliastro.examples import churi, iss, molniya
from poliastro.plotting import OrbitPlotter3D
from poliastro.twobody import Orbit
import plotly.io as pio

pio.renderers.default = "plotly_mimetype+notebook_connected"

frame = OrbitPlotter3D()
frame.plot(churi)

But nothing happens once I run the code, even churi.plot(interactive=True, use_3d=True) does not work.
If I try churi.plot() I do get a plot but in 2D.
Is there a way to solve this?
I am using Spyder by the way.
Thanks in advance

Hi @VincentPujau, I think the default Plotly rendering needs Jupyter Notebook to work. However, if you install the static renderer https://github.com/plotly/Kaleido, you should be able to make it work.
I made a quick search and found some old posts, like https://community.plotly.com/t/plotly-for-spyder/10527 however, many things have changed in Plotly and Spyder in the past 4 years, so my recommendation would be for you to register there and open a new question.
If you get any results (positive or negative), please let us know.

The issue was indeed with Plotly. After a lot of research I realized I need to run the code in Jupyter in order to see the plots.
Thanks for your advice!

 Feel free to reach out if we can help in any other way.


Add Remainder Program

Description
I created function that capable of providing the remainder of a division operation. Two numbers are passed as parameters. The first parameter divided by the second parameter will have a remainder.
Issue No.- #151

Type issue number after hash(#)

Checklist

[x] Yes, this task assigned to me.
[x] My code follows the style guidelines(Clean Code) of this project
[x] I have performed a self-review of my own code
[x] My Filename is in camelCase format
[x] I have added Problem statement, Problem link in file.

This issue was assigned to someone else. it's solved and merged. you are creating a Spam PR.


chore(libzkp): upgrade to v0.11.0rc2

Assets: v0.11.0rc2
halo2-gpu: v0.7.5
Missing features:

new l1 fee (still old l1 fee)
45 chunks (still 15)

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

Project coverage is 54.28%. Comparing base (b9682ae) to head (8bcff68).

Additional details and impacted files
@@                            Coverage Diff                            @@
##           feat-rollup-relayer-add-zstd-compression    #1347   +/-   ##
=========================================================================
  Coverage                                     54.28%   54.28%
=========================================================================
  Files                                           156      156
  Lines                                         11859    11859
=========================================================================
  Hits                                           6438     6438
  Misses                                         4928     4928
  Partials                                        493      493

Flag
Coverage Δ

database
42.85% <ø> (ø)

prover
26.55% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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


Offensive name

sorry. I get the joke, but it's a bit offensive. :cry:

I don't want to complain without offering suggestions:

pinocchio (or pynocchio ;)
(looking for more)

@Offirmo Jesus Christ!

I understand you want to make a joke, but "Church as a generator of fake data" is derogatory. You may want to check http://contributor-covenant.org/ (emphasis mine)

a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, gender identity and expression, level of experience,
nationality, personal appearance, race, religion, or sexual identity and
orientation.

Words and how we use them is more serious that you may think. I suggest you see this incident as a learning experience.
You may also want to check http://geekfeminism.wikia.com/wiki/Geek_Feminism_Wiki for an example of struggle for ending harassment about one's specifity.
I'm sure you care about being nice and respectful to everyone. Now is your time to shine ! There are so many naming possibilities...

In case you wonder, it's very easy to rename a git repo. Just go to the "settings" tab.

@Offirmo Some interesting things. If you are offended by the name of this library, just do not use it, okay? I like this library, i will use this library and i will use this name. You can use another library and ignore 'church'. It's so simple.

That's interesting https://www.ashedryden.com/blog/codes-of-conduct-101-faq#cocfaqcensorship

I'll even quote it for you
ISN'T THIS CENSORSHIP? WHAT ABOUT FREE SPEECH?
Free speech laws do not apply to harassment and assault and furthermore don't apply to individuals that are not representing the government. The point at which a person is actively harming another individual is not only not free speech, but it is against the law.
You can read more about the first amendment on Wikipedia.
DOES THIS MEAN I CAN'T SWEAR OR MAKE JOKES?
Whether or not you can swear is entirely up to the individual event. Some events allow the attendance of children, others take place in either more conservative areas or in venues that require a certain level of professionalism. Consult a conference organizer if you are worried about swearing, especially if you intend to do so in a talk.
You are more than welcome to make jokes as long as they don't create a harassing or dangerous atmosphere for other attendees. If a joke you are considering making may violate the code of conduct, perhaps that isn't the type of joke you should be making in public around strangers or potentially at all.

If someone wants to take part in the holy war, then it's time.

See cf "Prayer Gauge Debate" p. 784 http://users.uoa.gr/~mpatin/Modern Science/Gieryn.pdf

I'm religious and I don't find this name offensive at all.

Hello, my name is Elizabeth, and current name of the library is a little bit offensive. 😢

@lk-geimfari
Hi, my wife's name is Elizabeth. I offended the idea that she can tell me the fake data :(
;)

@lk-geimfari ignore trolls?

Don't you think @Offirmo is troll as well?

@lk-gimfari  My brother was killed by a snake, and Python is offensive to me.  Please re-write in an inoffensive language like brainfuck.

Obvious choice for the name is "Trump" btw

Okay, okay guys. We all know that the church is above all. We can insult anyone, but not religious or church.

@Noiwex No, I just wrote new features for @neoascetic .

It's funny, but similar incident has happened again. factory_girl was renamed.


how can i add a default or custom divider?

 ultimateRecyclerView.addItemDecoration(                 new HorizontalDividerItemDecoration.Builder(this).build());
You can use addItemDecoration like this.

thanks,...and how to customize it?

You can add your custom DividerItemDecoration.

I added divider but first item after each sticky header does not have a divider at top.
how can i add that too?

Do you think it will help you if you add a line in your custom sticky header?

I tried it! but notice that the line sticks to the header instead of the first item's top when scrolling down and it is ugly!

Yes,it's ugly.
However add a line under sticky header is some kind strange for a item of recylcerview. I'll tried to find a way to enhance it.It's very grateful if you have some great ideas .


[BUG] Incorrect name of the China session 2

Describe the issue:
China is the first sprint on 2024 calendar
The calendar that fastf1 uses to dowload the information shows:
Session1                                           Practice 1
Session2                                      Sprint Shootout
Session3                                               Sprint
Session4                                           Qualifying
Session5                                                 Race
wheareas on the official webpage the sessions are:
Session1                                           Practice 1
Session2                                      Sprint Qualifying
Session3                                               Sprint
Session4                                           Qualifying
Session5                                                 Race
The name os the session 2 is different, which may cause some errors when downloading the data
Reproduce the code example:
N

Error message:
No response

Ohh thanks for reporting. I already made sure that the changed session order works correctly.  Looks like I missed that they renamed the Sprint Shootout to Sprint Qualifying.
This needs to be fixed/checked in various places including the schedule data backend. I'll see that I get it done before the weekend.

This should be fixed now.
I noticed some minor inconsistencies already in F1's APIs regarding this name change. Let's hope there won't be any more inconsistencies once data becomes available on the weekend. Else, there might still be errors related to this.


refactors validation for custom regex in data-set-compliance-tag

Codecov Report

Merging #1216 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master   #1216   +/-   ##
======================================
  Coverage    8.24%   8.24%
======================================
  Files          60      60
  Lines        2280    2280
  Branches      483     483
======================================
  Hits          188     188
  Misses       2092    2092

Continue to review full report at Codecov.

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

Coverage remained the same at 27.636% when pulling caed823ead901a860a8e9e4cc2ab4bcf25c01413 on theseyi:refac-custom-value-checker into 04a17f851f2be2794421d51b5e63012d878c5f7c on linkedin:master.


Update Traefik ClusterRole

Addmissing permissions for IngressClasses and a relevant API.

@balasu what do you think about this PR?

@balasu what do you think about this PR?

@balasu what do you think about this PR?

Hi yes extended ingress resource roles are required

@balasu what do you think about this PR?

Hi yes extended ingress resource roles are required


Womanium Final Assignment -

PR Description

Some notes

[x] Please make sure that you placed the files in an appropriate folder

[x] And that the files have indicative names.

[x] Please note that Classiq runs automatic code linting, which may minorly alter some files.

[ ] If you're familiar with pre-commit, you may run pre-commit install, and then at each commit, your files will be altered in a similar way

3rd assignment added Womanium Final Assignment -

Well done!
Score: 6/10 - Your boundaries don't satisfy the constraints as in the problem instructions (open boundaries).


omnisharp-vscode 1.12.0 macOS: Missing Roslyn/mcs.exe

Environment data
.NET Command Line Tools (1.0.4)
Product Information:
Version:            1.0.4
Commit SHA-1 hash:  af1e6684fd
Runtime Environment:
OS Name:     Mac OS X
OS Version:  10.12
OS Platform: Darwin
RID:         osx.10.12-x64
Base Path:   /usr/local/share/dotnet/sdk/1.0.4
VS Code version: 1.15.0
C# Extension version: 1.12.0
Steps to reproduce
Upon startup, open a C# file in a C# project. Omnisharp plugin states that some projects have problems loading. The Omnisharp log says this:
    The specified task executable location "/Users/someuser/.vscode/extensions/ms-vscode.csharp-1.12.0/.omnisharp/omnisharp/msbuild/Roslyn/mcs.exe" is invalid.

Navigating to that location shows that there is no mcs.exe installed there. (csc.exe exists)
Expected  behavior
The installation should contain all of the files necessary to run the plugin.
Actual behavior
The installation appears to be missing at least the mcs.exe executable.

Please try updating to the latest stable Mono (5.0.1)

Updated from mono 4.8.0 to mono <IP_ADDRESS>. Problem solved.


[BUG][WEBJS] - Can't start session on Google Cloud Run

Describe the bug
Tried to deploy a few different docker image tags to Google Cloud Run — they either couldn't be deployed (ARM, expected), or the session couldn't be started. Have tried with the chrome version too.
Version
{
  "version": "2024.8.1",
  "engine": "WEBJS",
  "tier": "CORE",
  "browser": "/usr/bin/chromium"
}

for arm you need to use devlikeapro/waha:arm

the session couldn't be started

Is there any logs in the console?
Did it runs on your own laptop or any other VPS, like digitalocean?

Possible related issue, https://github.com/devlikeapro/waha/issues/471
It also stops working on Google Cloud, could a IP detection from WA side.
Try using https://contabo.com/en/ or other service

Works on my M3 mac (using arm version).
Logs were not helpful — just threw errors related to screenshot API call failing

Logs were not helpful

Could you share it here?

chromium browser has a bug on ARM processors
https://issues.chromium.org/issues/40257452

this is into the waha:arm container
root@17d36447ce81:/app# chromium --headless --remote-debugging-port=9222 https://chromium.org Trace/breakpoint trap (core dumped) root@17d36447ce81:/app#

@hassegawa is it the latest version? Could you try devlikeapro/waha:arm-2024.10.6, may be it's latest changes 🤔

Thanks for replying, I updated and it still has the same error


see data quality

'as a user I would like to query the data in a specific area so that I can assess the data quality.'
Once the list of locations have been loaded give the user the ability to view locations based on attribute completeness.
Once the user has uploaded the list of locations generate a report showing a percentage complete for the associated attributes.
Which geographical areas (geonames) have poor data quality?

currently we are using country and continent


Change IBMQ login

Change type check for active_account due to the recent change in IBMQ login logic. In the CI checks of the plugin matrix the token is detected contrary to the CI checks on this page (I don't know why).

Oh got it!

We cannot set it to None because the test would fail.

How come? Could we then return a dummy dictionary in the tests?
I'd think changing the tests would be preferable to changing the logic, especially if we're introducing new behaviour to how Qiskit works.

@antalszava I've made changes in the tests instead of the conditional statement.


Support mysql on arm64 (mac M1) machines, fixes #3002

The Problem/Issue/Bug:

#3002

It's long been a problem that mac M1 users can't use mysql
How this PR Solves The Problem:
Provide at least 5.7 and 8.0 for mac M1 users
Manual Testing Instructions:

Configure mysql for each of the supported versions and take it for a spin.

Automated Testing Overview:

Related Issue Link(s):
Release/Deployment notes:

Apple arm64/M1 artifacts are at https://github.com/drud/ddev/suites/4111351442/artifacts/105008784
All artifacts are at https://github.com/drud/ddev/actions/runs/1364614285
To test,

download and untar the artifacts and put in your $PATH. You may want to brew unlink ddev to get the homebrew version out of the way.
Export your existing database (because you have to switch database types), ddev export-db --file=/path/to/db.sql.gz
ddev stop
ddev delete -Oy your project, or of course you can docker volume rm <project>-mariadb instead
Change the .ddev/config.yaml to use mysql_version: 5.7 or mysql_version: 8.0 depending on your upstream database type. mariadb_version: ""
ddev start and ddev import-db --src=/path/to/db.sql.gz


About PCA

Hello,  I notice you used PCA to get knowledge of what's happening during iterations. So I wonder if it's necessary to do PCA to the data, then use k-means to decode, or just use k-means.

There is no PCA in this repo. In the paper, PCA is only used to visualize.


Remove (what appears to be a) remainder of cut & paste

See title.

Yikes, good catch - thanks for raising a PR! 💚


(WIP) time and value-compressible statStore

\cc @vishh
This statStore can be configured to make tradeoffs between precision and memory consumption though the epsilon and resolution arguments.

yes, please don't nit pick at this time, the code does not compile yet. This PR was opened mostly to initiate discussion. I will remove the (WIP) prefix when it's ready for an actual review

Right, didn't know.

Build finished. No test results found.

Build finished. No test results found.

retest this please

@vishh I think jenkins and travis have broken since the switch from GoogleCloudPlatform/ to kubernetes/.
CC @mikedanese

Build finished. No test results found.

Implementation is finished. Feel free to review as normal.
\cc @vishh @mvdan

Addressed comments. Another commit with further documentation will be added soon.

With @vishh we were just commenting that it would be a good idea to move this into a separate package so that kubelet could use it without having to import all of heapster/store. What do you think?
Otherwise LGTM.

moved to a separate package and added more documentation

rebased, no further changes pending on my part

If you squash and fix Travis, it's fine by me.

LGTM.

retest this please


sriov-network-metrics-exporter fails to deploy

I've enabled the new featureGate for metricsExporter (https://github.com/k8snetworkplumbingwg/sriov-network-operator/pull/655) however I see error in the operator log: DaemonSet in version \"v1\" cannot be handled as a DaemonSet: json: cannot unmarshal bool into Go struct field PodSpec.spec.template.spec.nodeSelector of type string"} - full error:
2024-08-28T00:52:03.971414176Z  ERROR   syncMetricsExporter     controllers/sriovoperatorconfig_controller.go:131       Couldn't sync metrics exporter objects  {"error": "failed to apply object &{map[apiVersion:apps/v1 kind:DaemonSet metadata:map[labels:map[app:sriov-network-metrics-exporter] name:sriov-network-metrics-exporter namespace:sriov-network-operator ownerReferences:[map[apiVersion:sriovnetwork.openshift.io/v1 blockOwnerDeletion:true controller:true kind:SriovOperatorConfig name:default uid:a131844f-34c3-4a41-a739-b1c51ff145d3]]] spec:map[selector:map[matchLabels:map[app:sriov-network-metrics-exporter]] template:map[metadata:map[labels:map[app:sriov-network-metrics-exporter]] spec:map[containers:[map[args:[--web.listen-address=<IP_ADDRESS>:9110 --path.kubecgroup=/sys/fs/cgroup --path.sysbuspci=/host/sys/bus/pci/devices/ --path.sysclassnet=/host/sys/class/net/ --path.cpucheckpoint=/host/cpu_manager_state --path.kubeletsocket=/host/kubelet.sock --collector.kubepoddevice=true --collector.vfstatspriority=netlink,sysfs] image:ghcr.io/k8snetworkplumbingwg/sriov-network-metrics-exporter:v1.1.0 imagePullPolicy:IfNotPresent name:metrics-exporter resources:map[requests:map[cpu:100m memory:100Mi]] securityContext:map[allowPrivilegeEscalation:false capabilities:map[drop:[ALL]] readOnlyRootFilesystem:true] volumeMounts:[map[mountPath:/host/kubelet.sock name:kubeletsocket] map[mountPath:/host/sys/bus/pci/devices name:sysbuspcidevices readOnly:true] map[mountPath:/host/sys/devices name:sysdevices readOnly:true] map[mountPath:/host/sys/class/net name:sysclassnet readOnly:true] map[mountPath:/host/cpu_manager_state name:cpucheckpoint readOnly:true]]] map[args:[--logtostderr --secure-listen-address=[$(HOST_IP)]:9110 --tls-cipher-suites=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_RSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 --upstream=http://<IP_ADDRESS>:9110/ --tls-private-key-file=/etc/metrics/tls.key --tls-cert-file=/etc/metrics/tls.crt] env:[map[name:HOST_IP valueFrom:map[fieldRef:map[fieldPath:status.hostIP]]]] image:gcr.io/kubebuilder/kube-rbac-proxy:v0.15.0 imagePullPolicy:IfNotPresent name:kube-rbac-proxy ports:[map[containerPort:9110 name:https-metrics]] resources:map[requests:map[cpu:10m memory:20Mi]] volumeMounts:[map[mountPath:/etc/metrics name:metrics-certs readOnly:true]]]] hostNetwork:true nodeSelector:map[feature.node.kubernetes.io/network-sriov.capable:true] restartPolicy:Always serviceAccountName:metrics-exporter-sa volumes:[map[hostPath:map[path:/var/lib/kubelet/pod-resources/kubelet.sock type:Socket] name:kubeletsocket] map[hostPath:map[path:/var/lib/kubelet/cpu_manager_state type:File] name:cpucheckpoint] map[hostPath:map[path:/sys/class/net type:Directory] name:sysclassnet] map[hostPath:map[path:/sys/bus/pci/devices type:Directory] name:sysbuspcidevices] map[hostPath:map[path:/sys/devices type:Directory] name:sysdevices] map[name:metrics-certs secret:map[defaultMode:420 secretName:metrics-exporter-cert]]]]]]]} with err: could not create (apps/v1, Kind=DaemonSet) sriov-network-operator/sriov-network-metrics-exporter: DaemonSet in version \"v1\" cannot be handled as a DaemonSet: json: cannot unmarshal bool into Go struct field PodSpec.spec.template.spec.nodeSelector of type string"}

SriovOperatorConfig is:
apiVersion: v1
items:
- apiVersion: sriovnetwork.openshift.io/v1
  kind: SriovOperatorConfig
  metadata:
    annotations:
      meta.helm.sh/release-name: sriov-network-operator
      meta.helm.sh/release-namespace: sriov-network-operator
    creationTimestamp: "2024-08-28T00:48:53Z"
    generation: 2
    labels:
      app.kubernetes.io/managed-by: Helm
    name: default
    namespace: sriov-network-operator
    resourceVersion: "20124753"
    uid: a131844f-34c3-4a41-a739-b1c51ff145d3
  spec:
    configDaemonNodeSelector:
      feature.node.kubernetes.io/network-sriov.capable: "true"
    configurationMode: daemon
    disableDrain: true
    enableInjector: false
    enableOperatorWebhook: false
    featureGates:
      metricsExporter: true
    logLevel: 1
kind: List
metadata:
  resourceVersion: ""

If I modify the node selector so the value is something other than "true" then the error goes away:
configDaemonNodeSelector:
  kubernetes.io/hostname: host1

However, I notice the sriov-network-metrics-exporter pod fails to start with error:
Warning  FailedMount  52s (x11 over 7m3s)  kubelet            MountVolume.SetUp failed for volume "metrics-certs" : secret "metrics-exporter-cert" not found

fyi @zeeke

I realised the error about missing secret metrics-exporter-cert is due to the operator referencing that by default here.
Is it mandatory to supply a certificate in this way? (I don't recall needing to do anything with certs when using the upstream metrics exporter)

Hi @ianb-mp, ATM metrics are exported via a kube-rbac-proxy only through HTTPS. If you are interested in making this optional and having the metrics available through plain HTTP, I can bring this topic to the next community meeting.
Regarding the error:
                            json: cannot unmarshal bool into Go struct field PodSpec.spec.template.spec.nodeSelector of type string"}

I confirm it is a bug, will look for a fix


what is initial_mjstate = env.sim.get_state().flatten()

what is initial_mjstate = env.sim.get_state().flatten()

This is to get the internal simulation state from mujoco. For mj related stuff, you can refer to either deepmind mujoco repo or the robosuite repo for more detailed response.


Extend issue reports

This PR extends the interface for the matrix bot by allowing custom fields.
Additionally, a second matrix room can be configured. The goal is to use one room for important alerts, and the other room as logger (with notifications turned off).
If the person who reported the issue is not a lecturer, it will only send it to the log room. Only once there are two consecutive reports within 10 minutes, it will be also sent to the alert room. Once notified via the alert room, one can look into the log room, to find further information.
I also optimized the design of the admin buttons and modals for mobile use.
Design:

Students will find a small button in the stream icons (warning symbol) where they can send a warning. Lecturers still have the big button in the admin stream actions.

I would like to do some testing on the test server, so this should not get merged yet

Streaming works now, we could do one more run with alerts configured, but I assume this is fine anyways.


Validate TextField with await function on tabkey . how to remain focus in current field

i want to validate textfield on focus change . i have two textfield with two focus node. beofore leave focus how can i call await function. below function working butt i want not to show cursor on next textfield untill its completion
_focusNode.addListener(() async{
if (!_focusNode.hasFocus) {

    await new Future.delayed(new Duration(milliseconds: 1500), ()
    {
      // do some calculation then
      Navigator.of(context).pushNamed("/home");

    });}});

Hi @abdulrehmananwar,
This issue doesn't seem to describe a bug or a feature request. Please see https://flutter.dev/community#community-grid for resources and asking questions like this. You may also get some help if you post it on Stack Overflow with a minimal and complete code sample that clearly describes your problem.
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and we will reopen it.
Thank you


[Feature] kcl support strategic merge for list

Feature Request
Is your feature request related to a problem? Please describe:

Describe the feature you'd like:

k8s supports strategic merge patches whose list elements are dict. This feature is very commonly
used in CRD and other scenarios.
However, kcl's += operator supports adding the specified index to the current list, but does not
support strategic merge patch.
Describe alternatives you've considered:
json merge path or strategic merge patch.
Teachability, Documentation, Adoption, Migration Strategy:

@opsnull Hi, there. Thank you for your feedback ❤. Although KCL does not provide similar features, using KCL's own configuration attribute operators can complete corresponding strategic patch merge or JSON merge functions. For JSON patch, I have completed a PoC (a KCL module called jsonpatch) using KCL. You can use it as a reference, and any additional questions or requirements are welcome to communicate at any time. Here is the jsonpatch module impl link: https://github.com/kcl-lang/artifacthub/pull/59

Here is the jsonpatch module impl link: kcl-lang/artifacthub#59

Furthermore, for the strategic merge patch of the list, we can first traverse the patched object to obtain the expected object index, such as for the configuration of the xth container, and then use path 'spec/containers/x/volumes' to complete the patch of the volumes object.

The Kubernetes Strategy Merge Patch library using KCL: https://artifacthub.io/packages/kcl/kcl-module/strategic_merge_patch
The JSON Merge Patch library using KCL: https://artifacthub.io/packages/kcl/kcl-module/json_merge_patch


Panning with rotated X-AXIS SVG

Hi,
Just a quick question which I didn't found any answer. I'm using the library with Angular 7 and it works well. However, for my need, the SVG I'm working on has a scale(1,-1) transform (equivalent to a rotateX(180deg))
When panning, everything is good on the X-AXIS but the panning behavior is inverted on the Y-AXIS. Is there a way to make it pan the right way ? (maybe intercepting the mouse coordinates and inverting them ?)
Any help appreciated, thanks a lot
Thomas

You should be able to do that by using beforePan callback. You can read more about it on homepage https://github.com/ariutta/svg-pan-zoom .

Thanks for the answer, indeed I managed to get it done altering return values with y: newPan.y - (oldPan.y - newPan.y) however, the drawback is that the panning is not as smooth as it was.
Is there another way to do it ?

Using this callback should not degrade performance of the panning (unless there CPU heavy computations in it, which I suppose there're not). If you can paste a jsfiddle - it may help understand the issue better.
Few other alternatives I can think of:

Before loading your SVG, modify it so to have scale(1, 1). Maybe an easy solution is to wrap everything in another  element with scale(1, -1).
Use customEventsHandler (there're 2 demos on home page) - you'll have to write the behaviour of panning by yourself, but this way you'll have full control
Fork the library, add an option to it to support inverse axis, and compile.

Hopefully it helps

I have a pull request #370 which is correct to add the rotate option to svg pan zoom. Then you can set the rotation. And as far as I know no effect on panning.


CGC: Incremental Run - Higher iteration run

Linked Issue
Closes #5784

Change Description
This PR includes an extended behavior of the incremental CGC run.
The user will be able to provide an iteration to read the Run ID from. That means that if the users want to run an incremental run based on a run ID of the nth CGC run ago, they will provide:
lakefs.gc.incremental.iterations=n
when running CGC.
The default iterations value is obviously 1.
How was this tested?
Manually covering scenarios over S3 and Azure:

Full GC.
Incremental - one Run ID available.
Incremental - 20 Run IDs available - run using the 20th iteration backwards.

I think this is a "predecessor run", or possibly "run incrementally from earlier run", or "run on changes since some previous run".


fixed state transition issue in FirmwareService

When entering UpdateStage::Downloading the update was aborted immediately because neither DownloadStatus::Downloaded nor DownloadStatus::DownloadFailed was present and so the firmwareService loop executes firmware update failed. This resets the state machine and the update never reaches the install stage.

Thank you for this contribution!


Drawer Refactor

For PXBLUE-XXXX

Changes proposed in this Pull Request:

Refactor the Drawer component
Allow Drawer to be built declaratively
Simplify Types and Inheritance
Update docs

[Screenshot of storybook drawer full config]
The chevron prop is not working properly anymore.

Only thing I've noticed so far was a lack of animation when opening/closing nested nav items; was this something that we had before or was this accidently removed?

Looks good to me!  Just see comment above.

Only thing I've noticed so far was a lack of animation when opening/closing nested nav items; was this something that we had before or was this accidently removed?

This is due to a bug in the react-native-collapsible library where the initial height is incorrectly calculated when first rendering the drawer (and trying to open to the current active item).
I posed two options: 1) swap out the collapsible for a regular view (we lose the animation, but the initial expansion works correctly — this is what is currently implemented), or 2) Keep the collapsible, but disable the automatic expanding to the selected item on first load.
I'm happy to switch to number 2 if there is consensus for that approach.

Only thing I've noticed so far was a lack of animation when opening/closing nested nav items; was this something that we had before or was this accidently removed?

This is due to a bug in the react-native-collapsible library where the initial height is incorrectly calculated when first rendering the drawer (and trying to open to the current active item). Part of the tree was getting cut off (including the currently selected item) and you have to collapse and re-expand the panel for it to recalculate the height correctly.
I posed two options: 1) swap out the collapsible for a regular view (we lose the animation, but the initial expansion works correctly — this is what is currently implemented), or 2) Keep the collapsible, but disable the automatic expanding to the selected item on first load.
I'm happy to switch to number 2 if there is consensus for that approach.

Would solution no 2 fix the animation?

Would solution no 2 fix the animation?

Yes, you would get the animated open/close effect, but the drawer would start with all items collapsed (instead of auto-expanding any parents of the active item).


Null for optional boolean field on complex input value throws GraphqlException

In the latest commits there has been a code change here:
graphql.execution.ValuesResolver#coerceValueForInputObjectField
It used to return null when the input was null.
Suppose you have a complex input type object having a boolean field. The boolean field is optional and has a default value of false in the schema.
Sending a mutation with this complex input type object (as required by relay) always results in a exception. The coerce code does not accept any of the primitives to be null at this point (Long, Boolean,...)
When first starting to parse, it parses the main arguments in the mutation request with this logic:
if (inputValue == null && variableDefinition.getDefaultValue() != null) {
return coerceValueAst(type, variableDefinition.getDefaultValue(), null);
}
Which is present here: graphql.execution.ValuesResolver#getVariableValue
However when parsing input object fields other logic is used an no optional values are allowed. Is there any reason for this ? Seems to me the same logic applies there and it should take into account optional fields with default values.

Hi,
could you please create a small example of what you mean? Or maybe past the stacktrace of the exception you mentioned?
This would be really helpful.
Thanks!

Here is the stacktrace:
graphql.GraphQLException
	at graphql.Scalars$5.serialize(Scalars.java:121)
	at graphql.Scalars$5.parseValue(Scalars.java:127)
	at graphql.execution.ValuesResolver.coerceValueForScalar(ValuesResolver.java:92)
	at graphql.execution.ValuesResolver.coerceValue(ValuesResolver.java:68)
	at graphql.execution.ValuesResolver.coerceValueForInputObjectField(ValuesResolver.java:84)
	at graphql.execution.ValuesResolver.coerceValue(ValuesResolver.java:74)
	at graphql.execution.ValuesResolver.coerceValue(ValuesResolver.java:76)
	at graphql.execution.ValuesResolver.coerceValueForInputObjectField(ValuesResolver.java:84)
	at graphql.execution.ValuesResolver.coerceValue(ValuesResolver.java:74)
	at graphql.execution.ValuesResolver.coerceValue(ValuesResolver.java:76)
	at graphql.execution.ValuesResolver.getVariableValue(ValuesResolver.java:59)
	at graphql.execution.ValuesResolver.getVariableValues(ValuesResolver.java:16)
	at graphql.execution.ExecutionContextBuilder.build(ExecutionContextBuilder.java:55)
	at graphql.execution.Execution.execute(Execution.java:32)
	at graphql.GraphQL.execute(GraphQL.java:78)
	at graphql.GraphQL.execute(GraphQL.java:55)

Suppose you have a mutation input object with the following schema:
{
    "kind": "INPUT_OBJECT",
    "name": "AddFriend",
    "description": "The friend mutation input",
    "fields": null,
    "inputFields": [
      {
        "name": "name",
        "description": "The friends name",
        "type": {
          "kind": "SCALAR",
          "name": "String",
          "ofType": null
        },
        "defaultValue": "Jef"
      },
      {
        "name": "isFriend",
        "description": "True if friend, false otherwise",
        "type": {
          "kind": "SCALAR",
          "name": "Boolean",
          "ofType": null
        },
        "defaultValue": "false"
      }
    ],
    "interfaces": null,
    "enumValues": null,
    "possibleTypes": null
}

It has one field name and one field isFriend which is of type boolean. This boolean is optional and has a default value.
However when you do a mutation request like this:
mutation myFriendMutation($input: AddFriend) {
  addFriend(input: $input) {
    clientMutationId
  }
}

And no boolean field in the input object, if e.g. these are the variables:
{
  "input": {
    "name": "Emma"
  }
}

The above will always result in the stacktrace. A string can be optional, as the coerce method checks for null, however this is not the case for booleans and I think it will also fail for long values.
Basically the problem is also if you nest fields inside a input object. The code path when you would do a request without an input object and with a flat set of arguments, will work as that takes the null values into account and performs different logic.  'coerceValueAst(type, variableDefinition.getDefaultValue(), null);
}' like I mentioned above.
I don't see a reason why a field in a complex input object should be treated differently than a field on the top level passed in as a argument ?

Thanks for the explanation ... this makes it clear. After having a quick look I think the  problem is the serialize function of boolean: It should return null and not throwing exceptions. And then
this code: https://github.com/andimarek/graphql-java/blob/master/src/main/java/graphql/execution/ValuesResolver.java#L85 should use the default value.

Indeed. That would fix it.
But also looking at all other types in scalars (Int, Long, Float, ID) they will all suffer from the same problem. They can currently never be optional in a Input object

You are right: This bug affected other scalars too. It should be fixed with this commit: https://github.com/andimarek/graphql-java/commit/43d5f57abe49a16349676aa9c144ce1fa9670187


Handling multiple columns

It seems that dragging is not allowed with multiple columns FlatList.
I thought I had seen somewhere that this behavior is not working on purpose or at least it is known as a fact. But I did not find anything about it so maybe I dreamed it 😅
Anyway my DragList is working perfectly on portrait mode but when I switch to landscape I change numColumns property from 1 to 2 (or more depending on screen size).
I work with<EMAIL_ADDRESS><EMAIL_ADDRESS>and it "bugs" on Android and iOS.
I'll drop more info if you tell me it is supposed to work on multiple columns FlatList 🙂

Update to<EMAIL_ADDRESS>and it is still here

Ah, no, this library isn't meant to support multiple column flatlists -- the logic and UI get way more complex. Thanks for clarifying the issue, though!


contact via email: does not work properly if not all formfields are filled out

If I want to contact a speaker via the contact button and by mistake don't fill out every field I get an error message and I'm redirected to another site which tells me to fill out every field.
I write something in the empty field and click on "send" and I get an empty white site with "ok".
There are three problems with that:

the email is not sent unless the status site said "ok"
why are we redirected to the other site and don't stay on the "normal" email conversation site?
the status site after filling out the missing form fields should not be a seperate site but a flash message

In https://github.com/rubymonsters/speakerinnen_liste/blob/master/app/controllers/contact_controller.rb is a method: reject_spam_bots, that checks if there is an email address in the address input field. And if then it renders for the bots the text "ok".
How come we get to it?

when does the error happen?
when you enter at least the email address and the submit, you get the error message that you have to fill out all form fields.
You fill them in > submit > ok site

I think I have solved it \o/ Lets look at it monday. I stil need to write a test for it.
https://github.com/rubymonsters/speakerinnen_liste/tree/ty_test_profile_contact

thx, @tyranja!


Would it be possible to install under %UserProfile%\AppData instead of directly under %UserProfile% on Windows?

The current installation location makes all the files visible to tools that use the Windows Indexer, spamming it a bit

What Atom version are you using?  Did you install using Chocolate or the new Squirrel installer?  Squirrel installs Atom to %LOCALAPPDATA% by default.

I used the installer from the Download button on http://atom.io
After installation I get a C:\User<username>.atom folder with a bunch of stuff inside

Ah, in that case this is a duplicate of #6345 which has a PR at #6346.


Presence Status

After update Atlas library, AtlasAvatar has by default a dot to show the user presence.
Is there a way to not show the dot at all? I saw in the code that the dot is printed unless PresenceStatus is null, but by default PresenceStatus is INVISIBLE that curiously is not INVISIBLE :-D

mAvatarImageView.setShouldShowPresence(false);

Thanks @poorna204
I wont be able to modify this attribute if I'm using AtlasConversationsRecyclerView right?

There is a Convenience method in the recycler view:
  public AtlasMessagesRecyclerView setShouldShowAvatarPresence(boolean shouldShowAvatarPresence) {
        mAdapter.setShouldShowAvatarPresence(shouldShowAvatarPresence);
        return this;
    }

Submitted a PR https://github.com/layerhq/Atlas-Android/pull/216

PR #216 has been merged


Malformatted URL for API Client

The API endpoint in the docs should not have a slash at the end.
UMAMI_API_CLIENT_ENDPOINT=https://api.umami.is/v1/

should be
UMAMI_API_CLIENT_ENDPOINT=https://api.umami.is/v1

This is related to the API client but should probably be an issue on the actual website repo: https://github.com/umami-software/website.

Thanks, this has been fixed.


add the contributor guide

What does this PR do?
This PR is used to add the contributor guide which is linked to the  CONTRIBUTING.md of Huggingface transformers.
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?

HI @regisss, since we are enable and optimize models for optimum-habana continuously, and I notice that some general issues you have commented many times like code style, so I add a Development section in the Readme.md, in which shows how to contribute, to reduce your works.


Unable to generate 4 strips

Describe the bug
The application currently does not allow users to generate 4 strips from comic pages on the Kindle Paperwhite 4. In previous versions, double-tapping on the screen would successfully split the page into 4 enlarged strips, but this functionality has ceased to work.
To Reproduce
Steps to reproduce the behavior:

Open the comic on kindle.
Double-tap on the screen to attempt to split the page into 4 enlarged strips and see the first strip.
Nothing happens. the previously viewed page remains

Expected behavior
After double-tapping, the page should be divided into 4 enlarged strips, as it was in previous versions of the app.
Screenshots

Desktop (please complete the following information):

OS: Windows 10
Device: Kindle Paperwhite 4, 10th gen
Comic Format: Mobi/AZW3

Additional context
In the app settings, there is no option to select the Kindle Paperwhite 4. I selected "other" and manually set the device resolution.

Do you mean Paperwhite 10th gen? @Maniuz

Do you mean Paperwhite 10th gen? @Maniuz

Yes, exactly that.

@Maniuz
Then use the pw 10 profile.

thank you. It works.
If I can give an opinion as a user of the software, "Kindle PW 7/10" can be confusing because my paperwhite model is the 4 and therefore I was looking for the "Kindle PW 4" profile and not the generation number (10th)

Why do you call it pw4? Amazon refers to things by generation number. https://www.amazon.com/gp/help/customer/display.html?nodeId=GKMQC26VQQMM8XSW
If I called it pw4 it would confuse people looking by generation number.

Why do you call it pw4? Amazon refers to things by generation number. https://www.amazon.com/gp/help/customer/display.html?nodeId=GKMQC26VQQMM8XSW
If I called it pw4 it would confuse people looking by generation number.

Online I often found the number associated with the model and version and the reference to the generation specified as "gen" for example "10th Gen). As reported by Wikipedia https://en.wikipedia.org/wiki/Amazon_Kindle. If what you report is the type of official identification it is good to know it. Perhaps in a sense we are both not wrong.
In any case, thanks for the replies and reflections


Refactor Registration Form and Implement Input Checks

The PR Solves issue #71
Description :
Updated the registration form to match the design using the "react-hook-form" library.
Tasks Completed:

Refactored the whole registration page
Implemented checks for each form field.
Integrated the provided image on the left.
Added the ability to show/hide passwords.
Ensured all required fields are included.
added and used react-form-library (so that we can use it in other forms too)
Tested the form using multiple test cases

Remaining Tasks:

[ ] Make the page responsive.
[ ] Implement dynamic password check (Upper Case, Lower Case, One Number, 8 Characters) - A separate issue can be created for it.
[ ] Although the Privacy Policy section isn't added visually, the check is in place.

Notes:

The page's responsiveness and dynamic password check can be addressed in upcoming updates.
the privacy policy check works fine only the data(terms and conditions) needs to be added

GIF :

Do let me know if you need any changes,
also, If the PR is valid then kindly use IWOC'2024 tag with relevant difficulty tag...

Many modifications need to be done

Font family is a font-weight is 400 and color is rgba(0, 0, 0, 0.85)

"Create New Account" and "Please fill out the form below. All fields are required." texts should be aligned on left and not on center

The input boxes should have a height of "25px" , background of  "#f4f4f4" , border-radius of '12px'

The email address input should have icon

<svg xmlns="http://www.w3.org/2000/svg" width="17.501" height="15.741" viewBox="0 0 17.501 15.741"><g id="Message" transform="translate(-1.25 0.75)"><path id="Path_17585" data-name="Path 17585" d="M15.367,9.061l-3.549,2.857a1.85,1.85,0,0,1-2.285,0L5.954,9.061" transform="translate(-0.664 -4.434)" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path id="Path_17586" data-name="Path 17586" d="M6.067,3.5h7.844A4.124,4.124,0,0,1,16.89,4.823a4.174,4.174,0,0,1,1.1,3.082v5.431a4.174,4.174,0,0,1-1.1,3.082,4.124,4.124,0,0,1-2.979,1.323H6.067A4.133,4.133,0,0,1,2,13.336V7.9A4.133,4.133,0,0,1,6.067,3.5Z" transform="translate(0 -3.5)" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" fill-rule="evenodd"></path></g></svg>

The username input should have icon

<svg xmlns="http://www.w3.org/2000/svg" width="18.317" height="20.916" viewBox="0 0 18.317 20.916"><g id="UI_icon_zap_light" data-name="UI icon/zap/light" transform="translate(-2.841 -1.542)"><path id="Union_Stroke_" data-name="Union (Stroke)" d="M8.365,20.916a3.146,3.146,0,0,1-2.529-1.321,2.889,2.889,0,0,1-.336-2.7L6.67,13.6H3.006A3,3,0,0,1,.8,8.568L7.784.986A2.9,2.9,0,0,1,9.952,0,3.146,3.146,0,0,1,12.48,1.321a2.89,2.89,0,0,1,.337,2.7l-1.17,3.29h3.664a3,3,0,0,1,2.207,5.033L10.533,19.93A2.9,2.9,0,0,1,8.365,20.916Zm1.613-18.9a.965.965,0,0,0-.723.329L2.271,9.923A1,1,0,0,0,3.006,11.6h5.08a1,1,0,0,1,.942,1.335L7.384,17.562a.964.964,0,0,0,.112.9,1.049,1.049,0,0,0,.843.44.965.965,0,0,0,.723-.329l6.985-7.582a1,1,0,0,0-.735-1.678H10.229A1,1,0,0,1,9.288,7.98l1.645-4.626a.963.963,0,0,0-.112-.9A1.049,1.049,0,0,0,9.978,2.013Z" transform="translate(2.842 1.542)" fill="#6f767e"></path></g></svg>

The First and Last Name should have icon

<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><g id="Group_3" data-name="Group 3" transform="translate(8690.5 2086)"><g id="Nav_item" data-name="Nav item" transform="translate(-8704.5 -2100)"><g id="Left" transform="translate(12 12)"><g id="UI_icon_profile_circled_light" data-name="UI icon/profile_circled/light"><g id="Vector" transform="translate(2 2)"><path id="B6568794-B5CC-4FDD-B344-1DE4E5EF7C5A" d="M4,8A4,4,0,1,1,8,4,4,4,0,0,1,4,8ZM4,2A2,2,0,1,0,6,4,2,2,0,0,0,4,2Z" transform="translate(6 4)" fill="#6f767e"></path><path id="_09760FF9-3E89-4DBD-A280-38BEDE6D663F" data-name="09760FF9-3E89-4DBD-A280-38BEDE6D663F" d="M10,20a10,10,0,1,1,6.559-2.451c-.066.057-.131.113-.2.167A10.017,10.017,0,0,1,10,20Zm0-5a4.971,4.971,0,0,0-3.964,1.95A8.009,8.009,0,0,0,9.733,18c.09,0,.168,0,.24,0H10c.078,0,.162,0,.258,0a8,8,0,0,0,3.705-1.045A4.971,4.971,0,0,0,10,15Zm0-2a6.955,6.955,0,0,1,5.563,2.75A8,8,0,1,0,2,10a7.937,7.937,0,0,0,2.438,5.75A6.952,6.952,0,0,1,10,13Z" fill="#6f767e"></path></g></g></g></g></g></svg>

Password should have icon

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="20" viewBox="0 0 16 20"><g id="Search_input" data-name="Search input" transform="translate(-4 -2)"><g id="Left"><g id="UI_icon_lock_light" data-name="UI icon/lock/light"><path id="Union" d="M3,3.732a2,2,0,1,0-2,0V5A1,1,0,0,0,3,5Z" transform="translate(10 12)" fill="#6f767e"></path><path id="Union-2" data-name="Union" d="M13,20H3a3,3,0,0,1-3-3V9A3,3,0,0,1,3,6V5A5,5,0,1,1,13,5V6a3,3,0,0,1,3,3v8A3,3,0,0,1,13,20ZM3,8A1,1,0,0,0,2,9v8a1,1,0,0,0,1,1H13a1,1,0,0,0,1-1V9a1,1,0,0,0-1-1ZM8,2A3,3,0,0,0,5,5V6h6V5A3,3,0,0,0,8,2Z" transform="translate(4 2)" fill="#6f767e"></path></g></g></g></svg>

Remove the text 'Upper Case, Lower Case, One Numbers ,8 characters'

Give color as '#6f767e' to text aside checkbox

@ItsRoy69 got it!

sorry for the inconvenience, actually there was no figma file, the only reference given was the photo and a video so it was a bit difficult to align and things up to mark.

Also initially I kept the text at left but it wasn't looking up to the mark so I aligned it to the center😅

SS :

But no worries I will fix all the issues and will send you a PR ASAP🫡.

also can you kindly clarify this : Font family is a font-weight is 400 and color is rgba(0, 0, 0, 0.85)
I mean should all the text should have the above mentioned font-weight and color?
and the font family should be?

@kirtiraj22 ik .. sorry my bad . And the default font family is ok

@ItsRoy69 got it!

sorry for the inconvenience, actually there was no figma file, the only reference given was the photo and a video so it was a bit difficult to align and things up to mark.
Also initially I kept the text at left but it wasn't looking up to the mark so I aligned it to the center😅
SS :

But no worries I will fix all the issues and will send you a PR ASAP🫡.

Basically you can give more space to the form side

@ItsRoy69 got itt!🫡

@kirtiraj22 once you've fixed the issues, kindly mention me on this PR

hey @ItsRoy69 done with the changes!
I have not changed the height and border radius of the input boxes purposely, because :

Height : The input boxes were looking way to small and were spoiling the UI of the page.

Border radius to 12px: as we are using tailwind css, adding a custom style will make it inconsistent, so I have kept it similar.

Tasks completed :

Added all the icons(maintained a separate file for it)
fixed the alignment of the create new account and
Removed the text 'Upper Case, Lower Case, One Numbers ,8 characters'
changed color of text aside checkbox to :  '#6f767e'
changed color of input boxes to : "#f4f4f4

kindly review the PR and if it is up to the mark then kindly use the IWOC'24 tag
also apologies for the delay!😅

LGTM, thanks for contributing


std.math: Hide IEEE flags and FloatingPointControl for soft-float targets

Instead of the current mix of non-compiling/failing unittests and partially mocked functionality.

I've been going through and checking what works in std.math on ARM soft-float, will submit a pull upstream once that's done. I agree that the mostly overlapping versions are a mess, and need to be cleaned up, but I'm not sure why they were done this way in the first place.

Who is really trying this on hardware without a FPU though? We'd see some pulls by now if that were the case. We should try to clean it up for them, as we're doing, but I don't see any hurry. @rracariu and @klickverbot, any input?
I don't know either if IEEE flags are supposed to work somehow on soft-float (maybe just a typo on your part, but they will work on the soft-fp ABI, as that uses the hardware FPU). I don't know why we have the redundant structs IeeeFlags and FloatingPointControl, that overlap in functionality a lot. The version IeeeFlagsSupport seems pointless if we just set it for every arch before this pull. On the other hand, it basically just becomes an alias for D_HardFloat with this pull.
Compiling and running the std.math tests with ARM softfloat on Android, most pass, except those that deal with IeeeFlags, understandable because those IeeeFlags functions currently do nothing on soft-float. In my pull, I'm just stubbing those tests out with D_HardFloat and if someone ever gets them to work with soft-float, they can change it back.
Anyway, I'll ask these questions when I submit the pull upstream, hopefully we get some answers from Phobos contributors then.

maybe just a typo on your part

Yeah indeed; I find softfp a bad misnomer, soft|softABI|hard would be more appropriate IMO, but then -float-abi would be a misnomer as well, as it doesn't just define the ABI part.
So you don't need to link against a compiler-rt lib with soft? If you find some time, it'd be interesting to know where the software implementations reside and whether they make use of some global state which could be controlled by druntime.

You guys are right: it was simply pulling in the hard-float implementations from the system libc on Android, which is why it mostly worked. Still going to submit a pull upstream for the tests we know won't work on soft-float.

Submitted upstream, see dlang/phobos#6525, think it's a better approach than this pull. If someone tries out soft-float for real, let them submit a PR to get IeeeFlags to work. The only other thing we could add related to this pull is maybe have the soft-float version blocks in FloatingPointControl assert, rather than silently doing nothing now.

I like parts of this pull, ie removing the empty soft-float versions from FloatingPointControl or at least making them assert, but not others, as IeeeFlags could be available on soft-float: presumably that's why they're separate structs. I've merged the two commits upstream that were approved into this ldc branch, can get this pull in if reworked.


[FLINK-6065] Add initClient method to ElasticsearchApiCallBridge

This adds the method initClient to ElasticsearchApiCallBridge in
order to resolve FLINK-6065. This new method takes as argument a
function that can create a TransportClient. This is required in order
to not hardcode the TransportClient in the implementation of
createClient. createClient continues to exist in order to allow
backwards compatibility.
No tests provided because I couldn't find any existing test class that
tests the implementation of ElasticsearchApiCallBridge.

This is my first contribution, I haven't signed the ICLA yet (which I will do next). I didn't provide any tests yet because I had no idea how the functionality should be tested or where a test class should be added. If you would like to see tests for the changes, please tell me.
The change fixes the ticket but maybe you would like to see a different way on how to fix the issue.

The Java7 run failed because my solution uses Java8 features. I guess I have to find another way to fix this issue then.

Answer to some of your other questions:

I don't think the Apache ICLA is strictly required, unless you're invited as a Committer of the project.

The tests should be added under src/test/... directory of the module. I think the already-existing IT tests for the ES sinks already cover the changed functionality here. Since this isn't a very complicated feature, for new tests, at the very most I would suggest perhaps to add unit tests that test the factory is correctly respected during the init flow.

Hi @sschaef! I was wondering if you would like to finish this work? Either way, please let me know :)


Fix serialization of an external message

The serialization now looks the following way
PUSHINT $calling_public_function_id$
PUSHINT 0x80000000
OR
CALL    $Serialize_Unsigned_Impl$

I plan to create a test in the test suite once this patch is merged.


RAN compilation fails for ue_ip

Hi ,
I am trying to dockerize RAN.
I am using docker desktop. I used ubuntu 18.04 image and over that I m trying to compile oai using command ./build_oai -I -w SIMU --eNB --UE.
But compilation of ue_ip module is getting failed.
Below are the logs.
Scanning dependencies of target ue_ip
/openairinterface5g/openair2/NETWORK_DRIVER/UE_IP/netlink.c
make[4]: *** /lib/modules/4.19.76-linuxkit/build: No such file or directory.  Stop.
CMakeFiles/ue_ip.dir/build.make:60: recipe for target 'ue_ip.ko' failed
make[3]: *** [ue_ip.ko] Error 2
CMakeFiles/Makefile2:1670: recipe for target 'CMakeFiles/ue_ip.dir/all' failed
make[2]: *** [CMakeFiles/ue_ip.dir/all] Error 2
CMakeFiles/Makefile2:1677: recipe for target 'CMakeFiles/ue_ip.dir/rule' failed
make[1]: *** [CMakeFiles/ue_ip.dir/rule] Error 2
Makefile:671: recipe for target 'ue_ip' failed
make: *** [ue_ip] Error 2

Hi All,
I have been trying to install OAISIM, but getting ue_ip build have failed screeenshot also attached, below is the log file txt, would be helpful

if someone could someone guide to get through this problem.
/home/user/openairinterface5g/openair2/NETWORK_DRIVER/UE_IP/netlink.c
make[4]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
/home/user/openairinterface5g/openair2/NETWORK_DRIVER/UE_IP/device.c: In function ‘ue_ip_timer’:
/home/user/openairinterface5g/openair2/NETWORK_DRIVER/UE_IP/device.c:114:27: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
(priv_p->timer).function=ue_ip_timer;
^
/home/user/openairinterface5g/openair2/NETWORK_DRIVER/UE_IP/device.c:116:18: error: ‘struct timer_list’ has no member named ‘data’
(priv_p->timer).data=dataP;
^
/home/user/openairinterface5g/openair2/NETWORK_DRIVER/UE_IP/device.c: In function ‘ue_ip_open’:
/home/user/openairinterface5g/openair2/NETWORK_DRIVER/UE_IP/device.c:147:3: error: implicit declaration of function ‘init_timer’ [-Werror=implicit-function-declaration]
init_timer(&priv_p->timer);
^
/home/user/openairinterface5g/openair2/NETWORK_DRIVER/UE_IP/device.c:149:18: error: ‘struct timer_list’ has no member named ‘data’
(priv_p->timer).data      = (unsigned long)priv_p;
^
/home/user/openairinterface5g/openair2/NETWORK_DRIVER/UE_IP/device.c:150:29: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
(priv_p->timer).function  = ue_ip_timer;
^
cc1: some warnings being treated as errors
scripts/Makefile.build:330: recipe for target '/home/user/openairinterface5g/cmake_targets/oaisim_build_oai/build/CMakeFiles/ue_ip/device.o' failed
make[5]: *** [/home/user/openairinterface5g/cmake_targets/oaisim_build_oai/build/CMakeFiles/ue_ip/device.o] Error 1
Makefile:1584: recipe for target 'module/home/user/openairinterface5g/cmake_targets/oaisim_build_oai/build/CMakeFiles/ue_ip' failed
make[4]: *** [module/home/user/openairinterface5g/cmake_targets/oaisim_build_oai/build/CMakeFiles/ue_ip] Error 2
CMakeFiles/ue_ip.dir/build.make:60: recipe for target 'ue_ip.ko' failed
make[3]: *** [ue_ip.ko] Error 2
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/ue_ip.dir/all' failed
make[2]: *** [CMakeFiles/ue_ip.dir/all] Error 2
CMakeFiles/Makefile2:74: recipe for target 'CMakeFiles/ue_ip.dir/rule' failed
make[1]: *** [CMakeFiles/ue_ip.dir/rule] Error 2
Makefile:118: recipe for target 'ue_ip' failed
make: *** [ue_ip] Error 2


proposal: Go 2: Change [] to <> for generics

Author background

Would you consider yourself a novice, intermediate, or experienced Go programmer? Novice
What other languages do you have experience with? Python, TypeScript and Rust

Related proposals

Has this idea, or one like it, been proposed before? No.
Does this affect error handling? No
Is this about generics? Yes, the current design uses the square brackets to define a functional generic; however, I think square brackets are already used by slices and array, so it can reduce readability and there is no reason not to use angular brackets.

Proposal

What is the proposed change?
Square brackets to angular brackets for generics.
Who does this proposal help, and why?
For readability and to not confuse new users, generics can be confused with special slices and arrays for absolute novices like myself.
Please also describe the change informally, as in a class teaching Go.
So normally, people just starting off with Go, may confuse generics with the slice and array definition syntax since slices are defined with square brackets.
Is this change backward compatible? Yes, since Go 1.18 is not released yet.
Is the goal of this change a performance improvement? No.

This was addressed in the type parameters FAQ: https://go.googlesource.com/proposal/+/refs/heads/master/design/43651-type-parameters.md#why-not-use-the-syntax-like-c_and-java

This has been extensively discussed before and decided against.


Fix typo in documentation of 'isHidden' property

Thanks for your contribution!

Haha it's tiny but I guess every small step counts :-)

Of course it does, I really appreciate your help!


Tomahawk variants

Currently I'm working on various tomahawks utilizing materials from vanilla, as well as some other mods. For now, I have created three new tomahawks, using some fairly common metals added by mods.
https://www.dropbox.com/s/24zry1jro2avqei/tomahawks1.zip?dl=0

https://www.dropbox.com/s/v4645pmj37uwkdm/tomahawks2.zip?dl=0
I have now created tomahawks using vanilla materials, plus one using thaumium. I considered manasteel from botania, but, I do not think the current tomahawk textures would match well with it.

Nice! Well I guess Tomahawks are gonna have to wait for a while though.

While Manasteel variants are out of my range for now due to the fact their textures are different compared to other tools from other mods, I will likely create silver and electrum variants. Remind me when tomahawks are going to be used again.

I don't think this ever went anywhere. Closing until we find a use.


fix default_keys example for avoid skipping first key

mfrc522.PICC_ReadCardSerial() inside try_key returns false on first try_key call because there are no auth after mfrc522.PICC_ReadCardSerial() in the loop beginning.

Q
A

Bug fix?
yes

New feature?
no

Doc update?
no

BC breaks?
no

Deprecations?
no

I think the reason why 2 jobs out of 20 failed is here:

dont know what to do with this.


yarn create t3-app crashes my M1 mac.

Describe the bug
When running yarn create t3-app and saying yes to everything my M1 mac eventually crashes while trying to install prisma. This has happened twice in a row now. I include M1 because it might be ARM mac specific.
To Reproduce
M1 Macbook Air
Installed through nvm
node 18.4.0
yarn 3.2.1

Run this '...'

yarn create t3-app
Say yes to everything.
Wait

See error

The terminal hung while installing prisma, eventually crashing my whole laptop. The emergency mac Force Quit Applications modal appeared, spinning beachball I closed the terminal, then everything else while my laptop crawled along, then it restarted itself.
I've included the error details I received on restart.
I'll retry this again tomorrow and record a video on my phone.
panic(cpu 0 caller 0xfffffe002eac3a94): userspace watchdog timeout: no successful checkins from WindowServer in 149 seconds
service: logd, total successful checkins since load (1218 seconds ago): 119, last successful checkin: 0 seconds ago
service: WindowServer, total successful checkins since load (1188 seconds ago): 101, last successful checkin: 149 seconds ago
service: opendirectoryd, total successful checkins since load (1218 seconds ago): 118, last successful checkin: 0 seconds ago

Debugger message: panic
Memory ID: 0xff
OS release type: User
OS version: 21F79
Kernel version: Darwin Kernel Version 21.5.0: Tue Apr 26 21:08:29 PDT 2022; root:xnu-8020.121.3~4/RELEASE_ARM64_T8101
Fileset Kernelcache UUID: 6761FE24D814CDDD6BDA1ADB023146F8
Kernel UUID: B747B891-04EC-3617-95EC-05E037610520
iBoot version: iBoot-7459.121.3
secure boot?: YES
Paniclog version: 13
KernelCache slide: 0x00000000267fc000
KernelCache base:  0xfffffe002d800000
Kernel slide:      0x0000000026fa4000
Kernel text base:  0xfffffe002dfa8000
Kernel text exec slide: 0x000000002708c000
Kernel text exec base:  0xfffffe002e090000
mach_absolute_time: 0x6f651c1f0
Epoch Time:        sec       usec
  Boot    : 0x62b9e73a 0x000c5373
  Sleep   : 0x00000000 0x00000000
  Wake    : 0x00000000 0x00000000
  Calendar: 0x62b9ec13 0x0006859c

Zone info:
  Zone map: 0xfffffe10000b8000 - 0xfffffe30000b8000
  . VM    : 0xfffffe10000b8000 - 0xfffffe14ccd84000
  . RO    : 0xfffffe14ccd84000 - 0xfffffe166671c000
  . GEN0  : 0xfffffe166671c000 - 0xfffffe1b333e8000
  . GEN1  : 0xfffffe1b333e8000 - 0xfffffe20000b4000
  . GEN2  : 0xfffffe20000b4000 - 0xfffffe24ccd80000
  . GEN3  : 0xfffffe24ccd80000 - 0xfffffe2999a4c000
  . DATA  : 0xfffffe2999a4c000 - 0xfffffe30000b8000
  Metadata: 0xfffffe74f7e6c000 - 0xfffffe74ffe6c000
  Bitmaps : 0xfffffe74ffe6c000 - 0xfffffe7502a70000

CORE 0 recently retired instr at 0xfffffe002e2259d4
CORE 1 recently retired instr at 0xfffffe002e226fb0
CORE 2 recently retired instr at 0xfffffe002e226fb0
CORE 3 recently retired instr at 0xfffffe002e226fb0
CORE 4 recently retired instr at 0xfffffe002e226fb4
CORE 5 recently retired instr at 0xfffffe002e226fb4
CORE 6 recently retired instr at 0xfffffe002e226fb4
CORE 7 recently retired instr at 0xfffffe002e226fb4
CORE 0 PVH locks held: None
CORE 1 PVH locks held: None
CORE 2 PVH locks held: None
CORE 3 PVH locks held: None
CORE 4 PVH locks held: None
CORE 5 PVH locks held: None
CORE 6 PVH locks held: None
CORE 7 PVH locks held: None
CORE 0 is the one that panicked. Check the full backtrace for details.
 Can anyone with an M1 mac reproduce and confirm this?

This is very interesting. Well, this might be because of some package we use?
I'll try to look into it

@matt123miller works fine with NPM?

I just did a quick test, and seems fine on my machine.
MacBook Pro (16-inch, 2021)
Apple M1 Max
32 GB
macOS 12.4 (21F79)
yarn --version
1.22.19

Works for me. M1 MacBook Air, MacOS 12.2.1.

I am getting an error. Yarn version 1.22.15.
See here: https://app.warp.dev/block/3HbSoaLA3TdvBtOb5NVupu

I am getting an error. Yarn version 1.22.15. M1 Pro with MacOS 12.4
See here: https://app.warp.dev/block/3HbSoaLA3TdvBtOb5NVupu

That looks like a completely different error to the one from the OP, and I can confirm I also get this when I'm running Node 18.

Ah, something I didn't mention. I got the same error as mentioned in the other issue. I would then run the command again which is when I got the crash.

Can you confirm that yarn is running as an arm process and not on Rosetta? My guess is some weird chaos between yarn in rosetta, old node versions, and prisma's native binaries failing

Ok my node is arm64
❯ node -v && yarn -v && node -p process.arch
v18.4.0
3.2.1
arm64

yarn is just running a big js file for the cli so presumably that's running under arm64 as well.
I'll try again using node 16.15.1 which I also have on my system, also arm64
❯ node -v && yarn -v && node -p process.arch
v16.15.1
3.2.1
arm64

I'll post a new comment shortly with the outcome because if it fails my mac becomes unusable and forces itself to shutdown.

Using npm with following details installed everything correctly, with the site booting up and working as intended.
node -v && npm -v && node -p process.arch
v18.4.0
8.12.1
arm64

I'm happy to use npm, I've only recently started playing with yarn instead because of it's new pnp zero installs approach. Perhaps I've uncovered an incompatibility using yarn, pnp mode, node 18 etc. or maybe I'm just unlucky. Either way I can continue. What happens with the issue and it's investigation is up to maintainers.

Looks like an issue with strict-peer deps inside yarn 3 or something

Had the same issue running with yarn berry v3 yarn create t3-app but on my Manjaro arch system. npx method works fine though, so I'm sticking with it.

This is an issue with yarn and we can't really do anything about it. So closing this now.

Wait the unpin was accidental I thought that was a UI thing on my end

Pin might not be necessary now that https://github.com/t3-oss/create-t3-app/pull/173 is merged?

Yeah, I'll unpin thanks.

Hey, so I found a workaround that lets you use Yarn 3 and fixes this problem so I thought I'd post it here if others need it.
Yarn PnP fails to resolve #ansi-styles
I also don't know if it can cause other problems, so make of this what you will.

Hey, so I found a workaround that lets you use Yarn 3 and fixes this problem so I thought I'd post it here if others need it.

Implemented in #173


JVM Instance Dashboard: Match routes view sort option Total Requests to header Requests

Expected Behavior
Route sort option should match corresponding header title
Actual Behavior
One of the sort options says Total Requests and header title says Requests
Steps to Reproduce the Problem

Navigate to JVM instance dashboard and click on routes view

Specifications

Version: Chrome 61
Platform: macOS High Sierra Version 10.13

fixed in #1134


fixes #88

There are 2 commits, one for each problems.
– 347202a for the dialog problem
– af55855 for the system bars problem. I'm not sure it's the best way to do it, and my code does not try to check if the dropdown is on top or below the spinner, instead it always use the height of the largest system bar (status or navigation). It seems ok to me, but feel free to disagree :)

I will make a new pull request on the dev branche, you can close this one.

Hey I can close it myself :)


The "quake.feed" file is missing in the windows system

Describe the bug
The "quake.feed" file is missing in the windows system
Steps to reproduce (please include code)
quake-windows.exe cmd -i "quake.feed"

Environment

cargo 1.57.0 (b2e52d7ca 2021-10-21)
rustc 1.57.0 (f1edd0429 2021-11-29)
OS: Windows 10

quake.feed is a action, not a file

execute quake init first ,will not have this issue.