Dock target pose offset sign

I noticed that when docking backwards (the plug is on the back of the robot, with the detected maker pose of the docking station pointing forward towards the robot), the target pose offset is applied in the wrong direction. Here is the change that solves it for me, but I'm not sure if it's a real bug or a problem with my setup.
diff --git a/opennav_docking/src/docking_server.cpp b/opennav_docking/src/docking_server.cpp
index 75d428e..6146d25 100644
--- a/opennav_docking/src/docking_server.cpp
+++ b/opennav_docking/src/docking_server.cpp
@@ -412,7 +412,8 @@ bool DockingServer::approachDock(Dock * dock, geometry_msgs::msg::PoseStamped &
     // Thus, we backward project the controller's target pose a little bit after the
     // dock so that the robot never gets to the end of the spiral before its in contact
     // with the dock to stop the docking procedure.
-    const double backward_projection = 0.25;
+    float sign = dock_backwards_ ? -1.0 : 1.0;
+    const double backward_projection = 0.25 * sign;
     const double yaw = tf2::getYaw(target_pose.pose.orientation);
     target_pose.pose.position.x += cos(yaw) * backward_projection;
     target_pose.pose.position.y += sin(yaw) * backward_projection;

That seems sensible, please open a PR!

First, I'm not sure we actually support the case where you have the sensor in front and then need to back into the dock. That's what https://github.com/ros-navigation/navigation2/issues/4403 covers the need to add. So I'm wondering a bit if some of the issue you have is w.r.t. that. How are you doing your 180 turn now or is the smooth control law doing the swing around?

Here is the change that solves it for me, but I'm not sure if it's a real but or a problem with my setup.

I think this is pointing to the fact that your dock orientation is incorrect or at least unexpected from the output of your detector (or using non-detection based semantic labels?). If using the simple charging dock, we have some fields that help with applying rotations from the detected-frame to the dock-frame for the Apriltags case by default (https://github.com/open-navigation/opennav_docking/blob/a3b14ff82a5866dc46f068758d5318c287eb1019/nova_carter_docking/params/nova_carter_docking.yaml#L29-L31), but could be used to correct your issue as well. You should be able to visualize these topics in rviz.
Since we're applying the backward projection distance to the pose at the yaw angle, it seems like your main issue is that your yaw angle is converted. That should be an easy 180 fix and I don't think that's a bug in whether you dock forward or backward.

You're right Steve.
All of the motion is handled by the controller (smooth control law). The dock_backwards_ param simply inverts the coordinates (r, phi, delta) inside to generate a curvature that and a velocity that allows the robot to move backwards. But the motion target (in this case, the dock pose) must always point in the direction of the motion, regardless of whether the robot is moving forward or backward.

Don't look the robot, just the orientation of the dock.
In fact, if the pose is reversed (pointing towards the robot), the controller will generate a curvature with a large arc and the robot will probably collide with an obstacle.

TL;DR: Just flip the yaw of your dock pose 180º. ;)

Sounds like we're done here then :-)
Definitely having the setting for "observe forward -> rotate 180 -> dock backward" is a useful feature and discussed in https://github.com/ros-navigation/navigation2/issues/4403 for that reason!

First, I'm not sure we actually support the case where you have the sensor in front and then need to back into the dock.

It's not what I meant. The camera on the robot is facing backwards (in the direction of the docking station and in the direction of movement). The marker pose is pointing forward (from the docking station torwards the robot).

TL;DR: Just flip the yaw of your dock pose 180º. ;)

I have tried this before opening the issue, but for some reason the controller fails to lead the robot to the target pose.
I have recorded the behavior of the robot failing with the intended settings (e.g. detected pose pointing in the direction of movement)...
https://github.com/open-navigation/opennav_docking/assets/60265874/1ff72f55-52e9-42a4-a6a5-aea19cd9edb9
...and also the opposite (with the diff above) which does succeed.
https://github.com/open-navigation/opennav_docking/assets/60265874/800cceda-7a84-486c-9a0f-cc96612cd1ef
(Arrow colors legend: light blue: staging pose, light green: detected pose, orange: dock pose, darker green: actual target pose, which is the dock pose plus 0.25 m offset)
It seems that with the original code the controller always turns the robot right before the goal.

It's not what I meant. The camera on the robot is facing backwards

Ah ok! Then not a problem for you.
Did you set dock_backwards for both?

I checked again and I found the problem.
The equations for the smooth control law weren't originally designed for backward motion. So, we had to 'reverse' them to allow this kind of motion.

But the motion target (in this case, the dock pose) must always point in the direction of the motion, regardless of whether the robot is moving forward or backward.

I said this thinking in the graceful controller, where the backward motion works, as it shown in the picture:

I looked at the code and found where the backwards motion is used:
https://github.com/ros-navigation/navigation2/blob/f837a97cad828b6310b9468b2b663a7986b20a78/nav2_graceful_controller/src/graceful_controller.cpp#L162-L168
And... yes, both the coordinates inside the equations and the motion target are flipped so that the trajectory is generate sin the right way. This flipping behaviour is inside the graceful controller instead of the smooth control law library where I should put it, so that anyone (like the docking server) can use forward and backward motion.
I've found another minor bug in checking this, so give me a few of days to fix it.

OK, sounds good to me! Thanks for the investigation, always good to find and understand root cause so that we know the solution won't mask other more subtle issues.
I look forward to it!

So @ajtudela's fix will probably solve this, but for the sake of being complete I'll answer the questions.

Did you set dock_backwards for both?

Yes, I didn't touch it.

(1) your dock orientation was wrong which you fixed in your second video. But you didn't how the second video without your backward_projection patch.

I guess you could say the orientation was right and I "made it wrong" in the second video. What happens without the "fix" is that the actual target pose is placed closer to the robot, so the dock pose is never reached and the tolerance checker never triggers. Here's a video to show this.
https://github.com/open-navigation/opennav_docking/assets/60265874/2ba85bcd-3b06-4a26-b768-9c2a8a48ee14

What happens without the "fix" is that the actual target pose is placed closer to the robot, so the dock pose is never reached and the tolerance checker never triggers.

That looks familiar - that's the end of the curve (the reason we added that additional 0.25m in the first place to avoid that behavior right up against the dock!). OK looking forward to the PR!
Also, reopening this, I didn't mean to leave it closed and sounds like actions are coming of it that we should track!

Hi @redvinaa
I've fixed the backward motion for the graceful controller here: https://github.com/ros-navigation/navigation2/pull/4527
Because I don't have a robot with sensors in the back, could you try this branch: https://github.com/grupo-avispa/opennav_docking/tree/fix_backward when the PR is merged?
Thanks a lot!

I cherry-picked these to my humble branch, and it works now!

@ajtudela that looks good to me, can you open a PR for that against the 2x repositories? Should be easy for me to merge!

Hi
Checking with you guys, do i only need to get the latest graceful controller fix, will solve the backward docking issue? As my hardware setup is that camera on robot is also facing backward. Any amendment needed to do on docking_server.cpp as per shown in the 1st message ?
diff --git a/opennav_docking/src/docking_server.cpp b/opennav_docking/src/docking_server.cpp
index 75d428e..6146d25 100644
--- a/opennav_docking/src/docking_server.cpp
+++ b/opennav_docking/src/docking_server.cpp
@@ -412,7 +412,8 @@ bool DockingServer::approachDock(Dock * dock, geometry_msgs::msg::PoseStamped &
     // Thus, we backward project the controller's target pose a little bit after the
     // dock so that the robot never gets to the end of the spiral before its in contact
     // with the dock to stop the docking procedure.
-    const double backward_projection = 0.25;
+    float sign = dock_backwards_ ? -1.0 : 1.0;
+    const double backward_projection = 0.25 * sign;
     const double yaw = tf2::getYaw(target_pose.pose.orientation);
     target_pose.pose.position.x += cos(yaw) * backward_projection;
     target_pose.pose.position.y += sin(yaw) * backward_projection;

Best,
Samuel

Hi @HappySamuel
You need the graceful controller fix, and also #51 from here. Also make sure your directions are correct as per ajtudela's comment above.
That diff was a dirty fix that isn't needed.

@HappySamuel please open a PR for backporting #51 to humble here. I checked and I didn't backport the graceful changes to humble yet, so I'll do that now https://github.com/ros-navigation/navigation2/pull/4566. Sorry, juggling the 2 repos with 3 distros left Humble in a state of musical chairs. That should put rolling, jazzy, and humble all back in good states


Deferred dynamic link doesn't work with FirebaseDeepLinkPasteboardRetrievalEnabled set to FALSE

[REQUIRED] Step 1: Describe your environment

Xcode version: Version 13.4.1 (13F100)
Firebase SDK version: 9.0.0
Installation method: Zip file
Firebase Component: DynamicLinks
Target platform(s): iOS

[REQUIRED] Step 2: Describe the problem
Steps to reproduce:

Open a dynamic link on safari
As you don't have the app installed yet you see the preview page
Click on the "open" button which direct you to the store
Install the Xcode build which disable PasteboardRetriaval with FirebaseDeepLinkPasteboardRetrievalEnabled: 0 in Info.plist

Notice that you don't have pasteboard notice.
Notice the request to https://firebasedynamiclinks.googleapi.com/v1 using a proxy tool.

In the body of the request, we can see that no uniqueMatchLinkToCheck is provided (nothing retrieved from the pasteboard)
Here is the response:

{
	"matchMessage": "No pre-install link matched for this device.",
	"requestIpVersion": "IP_V4"
}

Relevant Code:
The code is working perfectly well in case I keep the FirebaseDeepLinkPasteboardRetrievalEnabled set to true (access to pasteboard, linked matched an provided to the app).
While browsing Firebase Dynamic Link code, I notice this comment in the code:
https://github.com/firebase/firebase-ios-sdk/blob/97aff9edf50601bd9ab39ea29c8b1e6e020efe80/FirebaseDynamicLinks/Sources/FIRDLDefaultRetrievalProcessV2.m#L142
Which would suggest that another request should be made using fingerprinting when there is no uniq match (which I believe is the case here).
Does fingerprinting method still work on iOS 15 (was it relying on the IDFA which is not available at first app launch since iOS 14 ?)
Also, I'm trying to find the list of attributes Firebase uses for fingerprinting (request from my DPO to make sure we can rely on this matching method).

Thanks for reaching out, @jc-paris. Does the issue occur every time you open the link? Also, could you confirm if your preview page is enabled?

Hi @rizafran
I confirm this issue occurs every time I open the link. I've never successfully got it working with more than 10 tests on different devices.
The preview page is enabled, I've tried by checking and not checking the copies to clipboard box, nothing changes. Not that I expected any different behaviour as the clipboard won't be used in our case, but just wanted to make sure.
Thanks for having a look at this issue !

Hi @jc-paris, I tried to reproduce the issue using the FDL Quickstart, but my FDL worked as I'm getting a weak match result which is intended based on this comment. To make sure that we're on the same page, could you provide the following details:

Your expected behavior
Confirmation if you're using the simulator or real device
Confirmation if you have received error logs from self-diagnostic tool

Hello @rizafran, thanks for your investigation !

My expected behavior is to receive the link with a weak match. Currently, as shown by the request response I get no match.
I'm using a real device, with an ad-hoc build. My test consist of clicking the dynamic link, opening App Store. Then install my custom build with the FirebaseDeepLinkPasteboardRetrievalEnabled flag disabled.
The self-diagnostic show error about the AppDelegate not implementing application:openURL:options: (which is normal as we now use SceneDelegate.scene(_:openURLContexts:) method).

---- Firebase Dynamic Links diagnostic output start ----
Firebase Dynamic Links framework version 9.0.0
System information: OS iOS, OS version 15.6, model iPhone
Current date 2022-08-02 17:02:01 +0000
Device locale en-FR (raw en_FR), timezone Europe/Paris
ERROR: UIApplication delegate <AppDelegate: 0x283b04200> does not implements selector application:openURL:options:. FDL depends on this implementation to retrieve pending dynamic link.
	Specified custom URL scheme is <obfuscated> and Info.plist contains such scheme in CFBundleURLTypes key.
	AppID Prefix: <obfuscated>, Team ID: <obfuscated>, AppId Prefix equal to Team ID: NO
performDiagnostic detected 1 ERRORS.
---- Firebase Dynamic Links diagnostic output end ----

I was wondering if things like ATT (no IDFA) or any other device / privacy setting may impact the fingerprinting happening without the pasteboard (maybe things like iCloud Private Relay, but it's off on my device ?). Could it also be anything in our project setup which would limit Firebase ability to use fingerprinting for our project?

Hi @rizafran,
I've just tested with the QuickStart Xcode project but using my app project. I get the same behavior.
The HTTP response for firebase server is still
{
	"matchMessage": "No pre-install link matched for this device.",
	"requestIpVersion": "IP_V4"
}

But what is weird is that I get this UI (saying strong match but no URL) 🤔

Thanks for that detailed explanation, @jc-paris. AFAIK, FDL is not affected if IDFA is not accessible. As stated on the doc:

No impact for link-opening functionality. When used with Google Analytics, attribution for link conversion events is unavailable.

Regarding the result of your test, it's weird since I was able to get the URL and the weak match result. It seems like there's something missing in your configuration? But I'll try to reproduce again using the same SDK version and installation method you mentioned to see if I'll get the same behavior.

Hi @jc-paris, I've tried using version 9.0 and installed it via zip file, but I'm still able to get the correct result and its URL. It's possible that there's something missing in your configuration. For us to better figure out what's going on here, could you provide an MCVE that reproduces the issue? Thanks.

What is a MCVE ?

Sorry for the confusion. It means minimal, reproducible app.

Here you go:
dynamiclinks.zip
With the test link: https://testdfdl.page.link/ib87
(not that I used fake value for AppStore ID and Team ID to not share sensitive information about my app. I could in private message if needed. But I'm able to reproduce also with this MCVE, so it should be good).

Here is a video of what I do to test. After the AppStore app opens, I click "build & run" on Xcode:

I appreciate that you shared a sample app, @jc-paris. I'm also trying the scenario shown on the video. Unfortunately, after testing multiple times, I'm still unable to reproduce it using the given MCVE (I just changed the bundle ID and GoogleService-Info.plist). I have a feeling that there's a misconfiguration in your FDL or maybe a project-specific issue. Is the result of your URL always nil every time you run the app?
In addition to that, note that disabling pasteboard access affects the app in the following ways as discussed here:

Deferred deep-linking will not work as reliably. At best, your app receives weak matches for deep-links
App install attribution stats will be less accurate (potentially undercounting app installs)

Hello @rizafran,
What could be misconfigured in my link (the link is public, you can have a look at it to see what could be missing. I didn't see any param related to fingerprinting. Only efr to skip the preview page. Speaking of it, it is still required for fingerprinting or can we omit it as its purpose is to copy the link which will no longer be used ?).
The GoogleService-Info.plist file is also included in the MCVE (which I downloaded from Firebase console), is it missing anything ?
What could be misconfigured in the project (to know where I could look) ? For the MCVE I created a project from scratch so I'm not sure to understand what could be missing..
Can it be anything device related ?
Also, what do you think of this ?

While browsing Firebase Dynamic Link code, I notice this comment in the code:
https://github.com/firebase/firebase-ios-sdk/blob/97aff9edf50601bd9ab39ea29c8b1e6e020efe80/FirebaseDynamicLinks/Sources/FIRDLDefaultRetrievalProcessV2.m#L142) ](https://github.com/firebase/firebase-ios-sdk/blob/97aff9edf50601bd9ab39ea29c8b1e6e020efe80/FirebaseDynamicLinks/Sources/FIRDLDefaultRetrievalProcessV2.m#L142
Which would suggest that another request should be made using fingerprinting when there is no uniq match (which I believe is the case here).

@jc-paris, I forgot to mention that I'm unable to test the MCVE using your GoogleService-Info.plist and bundle ID because I need to run the app in my device (in which I'm getting a provisioning profile issue) as there's an error when opening the link through simulator. Regarding your question on fingerprinting, I'll ask the team first about this.

Hi @jc-paris, you can omit the fingerprinting, but you still need to disable the preview page in the Firebase console or by adding efr=1 in the FDL link.

Why do you mean by "I can omit the fingerprinting" ?

@jc-paris oops sorry for the misunderstanding. Please ignore my answer above. I'll check again with the team.

@jc-paris, I'm still confirming with the team regarding your question. In the meantime, we'd like to confirm if you enabled the "allow tracking" on your device? We suspect that disabling that will cause the SDK to not collect the device heuristics therefore we can't provide a weak match.

Hello,
Are you referring to anything else than Privacy > Tracking > Allow Apps to request to track ? On both device where I do the test, it activated.
Because neither in the sample, or my app, I'm asking for such consent (using App Tracking Transparency) upon launch. So when Firebase make the first install match, it won't have any consent. And as far as I know, such consent only prevent access to IDFA, there is no other system stuff that can't be accessed because it could be denied 🤔

@jc-paris yep, thanks for the update. The team is also unable to reproduce the issue using the quickstart app. To isolate, could you try reproducing it using another FDL domain or Firebase project?

I reproduce the issue with my production app and the project I created specifically for the QuickStart (on which I can invite you if you'd like).
On my end it's the same behavior.
It might be something I'm doing wrong but I don't see what.. 😕

Just want to add if you have tried testing it using different networks?

I've tried at the office, at home (Wi-Fi for both) and in 4G. Issue remain the same...

@jc-paris I'm a Firebaser (but not an FDL expert) working on a SwiftUI version of the quickstart. I found Apple's diagnostic tool to be helpful for debugging. Sorry if I missed it in the thread but have you tried putting your URL into Settings --> Developer --> (Universal Links) Diagnostics on your iPhone?
Note: You shouldn't need to enable the Associated Domains Development toggle beside it unless you're using ?mode=developer on your Associated Domains entitlement and you can still use the Diagnostics tool regardless.

@andrewheard I'm not sure to understand how this relates to my issue.
The dynamic link works well when the app is installed, and also works when app not installed and pasteboard is enabled. But it doesn't work anymore if I disable the pasteboard and try to open the dynamic link (the app doesn't retrieve the link upon launch). Fingerprinting should take over and get me a weak match of the dynamic link. Instead I get no match.
The Universal Links Diagnostic just tell me that the URL is not a universal link for any installed app (which is true before I install the app).  As we don't use the "universal link" mechanism to open the app when not installed I don't see how this is helpful.

Ah, sorry @jc-paris , I misunderstood. The Universal Links Diagnostic tool helped me diagnose an issue with the app not opening after it was installed but I now see the exact flow you followed in your screenshot. Thanks for posting that, I'll see if I run into the same issue.

I have also come across this issue. The weird thing is that it works on some devices and on some it doesn't. Even tested two devices side by side with the same privacy settings, works on one all the time while the match fails all the time on the other.

@baldursson Thanks for that one. That did the trick for me as well. Very peculiar. 😅

@baldursson Thanks for that one, that did the trick for me. Very peculiar. 😅

Should it be set to boolean FALSE, or, as official documentation mentions, to string "NO"?
https://firebase.google.com/docs/dynamic-links/flutter/receive

No. Firebase team don't succeed on reproducing this issue.. I'm still getting it so right now we keep the pasteboard retrieval active.

i also activated FirebaseDeepLinkPasteboardRetrievalEnabled but still not working.

Hi, as per our testing and referring to this integration schemas, it appears that dynamic links over app install will not work without:

the preview page enabled (will not work with disabled, efr=0)
the clipboard retrieval enabled (with not work if disabled: FirebaseDeepLinkPasteboardRetrievalEnabled=0)

Firebase team, please can you confirm that understanding?
If this is not correct, please can you clarify what is the mechanism in place to pass the deep link over to the application?

The Firebase Dynamic Links service will be shutdown on August 25, 2025.  In the meantime, only critical or security issues will be fixed in the SDK.
More at https://firebase.google.com/support/dynamic-links-faq


Add integration of RedProtect

I will try to leave my suggestions here instead of discord 😛
I will also provide my php code to interact with webapi !
GET /region would return a list of all regions {regions:{world1 : {id : region1, oner : uuid}}}
GET /region/world would return a list of all regions in the given worlds {regions : {id : region1, oner : uuid}, {id : region2, owner : uuid}}}
GET /region/world/id would return the detail of a region {region : {<name, id, flags, owner, coords...>}}
POST /region/world/edit/id would update the region with new datas
POST /region/world/create/ would create a protected region with an optionnal owner
Maybe it can be done with a similar code as Nations.

Are region ids unique? Are they unique per world or for the whole server?

Flat storage is done with separated worlds and contain stuff like this :

"ClaimBlocks region bcb59cbe-87a0-4a7c-9ec5-1d1c9c92ed92" {
admins=[]
candelete=true
flags {
allow-effects=false
allow-fly=false
allow-home=false
allow-magiccarpet=false
allow-potions=false
allow-spawner=false
build=false
button=false
can-grow=false
chest=false
door=false
fire=false
flow=false
flow-damage=false
leaves-decay=false
lever=false
minecart=false
mob-loot=false
passives=false
pvp=false
smart-door=false
spawn-animals=false
spawn-monsters=false
teleport=false
use-potions=false
}
lastvisit="25/09/2017"
leaders=[
Keuterio
]
maxX=1089
maxY=61
maxZ=-5379
members=[]
minX=1079
minY=51
minZ=-5389
name="ClaimBlocks region bcb59cbe-87a0-4a7c-9ec5-1d1c9c92ed92"
priority=0
rent=""
tppoint="1079,51,-5389"
value=0
welcome=""
world=biomed
}
test {
admins=[]
candelete=true
flags {
allow-effects=true
allow-fly=true
allow-home=false
allow-magiccarpet=true
allow-potions=true
allow-spawner=false
build=false
button=false
can-grow=true
chest=false
door=false
fire=false
flow=true
flow-damage=false
leaves-decay=false
lever=false
minecart=false
mob-loot=false
passives=false
pvp=false
smart-door=true
spawn-animals=true
spawn-monsters=true
teleport=true
use-potions=true
}
lastvisit="25/09/2017"
leaders=[
"#server#"
]
maxX=1072
maxY=255
maxZ=-5348
members=[]
minX=1057
minY=0
minZ=-5379
name=test
priority=0
rent=""
tppoint=""
value=0
welcome="hide "
world=biomed
}

There can be a test region in an other world as well. So unique id per world.


Add minimap icons for Fire pits from Making Friends with My Arm

See title.

How would this be helpful?

Hi @abextm Can I start working on this?


 I right-clicked the tank with a bucket to get a bucket of liquid XP out. Then I right-clicked it again to put the fluid back into the tank, and both the server and my client immediately crashed. I have only had this problem with OpenBlocks liquid XP.
I've gone into the region file's NBT data and set {paused:1b} on the tank. This has stopped the repeated crashing. But if I then break the tank and place it again, and then I right-click the tank or put the bucket into the top slot of the tank, it continues crashing.
Depositing the fluid indirectly, such as through an AE2 fluid storage bus, works fine.

Duplicate #413


Is blacklist cleaning necessary?

With single-use token flow the blacklist seems like it would grow large pretty quickly
Does this list get cleaned out automatically or will we need to set up a cron or something to do this?
Or does it matter? Just let it grow forever? Not sure how this works.
Thanks.

Hi,
I'm on holiday right now, I'll check how that works exactly when I get back on Wednesday. Until then you may also check out the jwt-auth github page and issues.
Met vriendelijke groeten,
Koen Calliauw
Layer7 BVBA
Op 30 okt. 2015 om 19:19 heeft Ryan Winchester <notifications<EMAIL_ADDRESS>het volgende geschreven:
With single-use token flow the blacklist seems like it would grow large pretty quickly
Does this list get cleaned out automatically or will we need to set up a cron or something to do this?

Reply to this email directly or view it on GitHubhttps://github.com/layer7be/vue-starter/issues/5.

I am also getting following error when I click on Dog menu after logging in,
{"message":"The token has been blacklisted","status_code":401,"debug":{"line":36,"file":"\/Applications
\/MAMP\/htdocs\/experiments\/vue-starter\/backend\/vendor\/tymon\/jwt-auth\/src\/Middleware\/Authenticate
.php" ...

Am I doing something wrong in setup?

@ryanwinchester I dug into the code of JWT a bit and it looks like it's just using the laravel configured cache backend, which by default is set to file based storage. I'm not sure if it would be necessary to clean this out manually. It looks like a TTL is added:
    // in vendor/tymon/jwt-auth/src/Providers/Storage/Illuminate.php

    /**
     * Add a new item into storage
     *
     * @param  string  $key
     * @param  mixed  $value
     * @param  int  $minutes
     *
     * @return void
     */
    public function add($key, $value, $minutes)
    {
        $this->cache()->put($key, $value, $minutes);
    }

@coding-sunshine Are you still experiencing this? I just tested the basic installation instructions and they seem to work for me when installed from scratch. If you are still having issues, please open a new issue.


2584 fix(endpoints): correct agent stack download url

The directions for installing the agent stack from the endpoints view used an old url. Update to the new url.
Fixes https://github.com/portainer/portainer/issues/2584

Thanks @dang3r :+1:


New Illumina FASTQ spec adds metadata to read name line

From http://support.illumina.com/content/dam/illumina-support/help/BaseSpaceHelp_v2/Content/Vault/Informatics/Sequencing_Analysis/BS/swSEQ_mBS_FASTQFiles.htm:
@<instrument>:<run number>:<flowcell ID>:<lane>:<tile>:<x-pos>:<y-pos> <read>:<is filtered>:<control number>:<sample number>

This causes trouble when grouping reads by fragment.

Lovely.


Fix missing builtin abbreviations

Resolve #966

Codecov Report

Merging #967 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master   #967   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          17     17
  Lines         685    691    +6
=====================================
+ Hits          685    691    +6

Impacted Files
Coverage Δ

cookiecutter/config.py
100% <100%> (ø)
:arrow_up:

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 ba5ba8c...d76f7f2. Read the comment docs.


Fix mobile UI

As I can see the mobile UI is broken, I would like to work on it.
@samratghosh291 if you need me to start working in the issue, assign the issue to me with the required labels.
Thank you

Thank You for your Interest.
Happy Coding ❤


cannot link AEM content in ACS

I have AEM linked to ACS and an old email campaign with the legacy components can link with ACS just fine.
When I try and link a new email campaign using these core email components, I'm getting a 'Response is not valid JSON'. From what I can tell, ACS is looking for a response of content/campaigns/brand/master/emails/myemail.campaign.content.json and when I try this request on author (or publish) I get the same error as below. I thought this was because of https://github.com/adobe/aem-core-email-components/blob/main/examples/ui.apps/src/content/jcr_root/apps/core-email-components-examples/config/rewriter/email-link-rewrite/.content.xml but after implementing this for my project, it still wouldn't work. Any tips would be massively helpful. Thanks.
Response is not a valid JSON:

Error during include of component '/apps/wetrain/components/email/page'

Error Message:

java.lang.NullPointerException: no mapping for html

Processing Info:

Page	=	/content/campaigns/wetrain/master/campaign-emails/training-email

Resource Path	=	/content/campaigns/wetrain/master/campaign-emails/training-email/jcr:content

Cell	=	page

Cell Search Path	=	page|basicpage

Component Path	=	/apps/wetrain/components/email/page

Sling Request Progress:

      0 TIMER_START{Request Processing}
      1 COMMENT timer_end format is {<elapsed microseconds>,<timer name>} <optional message>
      4 LOG Method=POST, PathInfo=null
      5 TIMER_START{handleSecurity}
   1358 TIMER_END{1351,handleSecurity} authenticator org.apache.sling.auth.core.impl.SlingAuthenticator@54d6f62f returns true
   1537 TIMER_START{ResourceResolution}
   2486 TIMER_END{947,ResourceResolution} URI=/content/campaigns/wetrain/master/campaign-emails/training-email.campaign.content.json resolves to Resource=JcrNodeResource, type=cq:Page, superType=null, path=/content/campaigns/wetrain/master/campaign-emails/training-email
   2491 LOG Resource Path Info: SlingRequestPathInfo: path='/content/campaigns/wetrain/master/campaign-emails/training-email', selectorString='campaign.content', extension='json', suffix='null'
   2492 TIMER_START{ServletResolution}
   2495 TIMER_START{resolveServlet(/content/campaigns/wetrain/master/campaign-emails/training-email)}
   2504 TIMER_END{8,resolveServlet(/content/campaigns/wetrain/master/campaign-emails/training-email)} Using servlet /libs/cq/Page/campaign/content.json.POST.jsp
   2507 TIMER_END{14,ServletResolution} URI=/content/campaigns/wetrain/master/campaign-emails/training-email.campaign.content.json handled by Servlet=/libs/cq/Page/campaign/content.json.POST.jsp
   2509 LOG Applying Requestfilters

Hi @knennigtri, when you try to debug this error with a post request to your campaign page you have to provide the delivery parameter (for example delivery http://localhost:4502/content/campaigns/wetrain/master/campaign-emails/training-email.campaign.content.json?delivery=DM43. Can you please test this again and check the json output? Thanks!

Hi @knennigtri , were you able to solve this issue.
Hi @bpauli , I used to delivery in my postman call.
I am getting response with html when I use admin credential while testing the postman call.
If I use campaign-remote user to make the same api call I end up in the same error, when I try to connect the email created using these email component I do see same error.
java.lang.NullPointerException: no mapping for htmlProcessing Info:
Thanks
Dev


Add missing import for InvalidRequestException

Sorry, I didn't see this as a PR for some reason, and just added the change myself on the master branch when it was pointed out in an issue. I'll try and merge it in anyway :-)

No problem :-) The fix is in the master branch anyway. Just tying up loose ends and like to give accreditation where I can.


Tags not showing up on the ui

Hi guys, first off, thanks a lot for the awesome project
I noticed that the tags and chain_name columns seem to be the same. Is that correct?. If yes, then maybe the documentation is outdated!. Also, should the chain_name column appear by default? I was having trouble finding the tags column. Thanks!

Hey @codebanesr thanks for the report! Can you post a screenshot of the issue? I'm afraid I don't fully follow.

sure, this is how we initialize openpipe in the codebase, note: chain_name=tag
def get_chat_model(tag: str = "no_tag") -> BaseChatModel:
    if model_name == CHAT_MODELS.gpt_3_5_turbo:
        model = ChatOpenAI(
            model=CHAT_MODELS.gpt_3_5_turbo,
            temperature=0,
            openpipe_kwargs={
                "api_key": llm_consts.openpipe_api_key,
            },
        ).with_tags(chain_name=tag, caller="shanur")

        ...

Screenshot from dashboard, says chain_name

And the screenshot from pypi.org, calls it tags

Ah, I think I see. Unfortunately, we haven't built an explicit integration with the Langchain tagging functionality. I recommend you use our SDK directly if you're planning on using tagging!


WIP Add optional attribute 'driver' to connection details

At the moment as far as I can say there is no way to setup single transaction db connection due to the fact that dialect attribute is also used as a database driver.
For example https://github.com/DATA-DOG/go-txdb relies on wraping and remaping of standard mysql driver to a different driver name of your choice and I think it is not possible to set it up with the current implementation of pop. This would be a very useful feature for isolated database tests.

@0nedark this would actually be really helpful for Cockroach as well... it's had to be kinda hacky without this. Please make the changes so we can merge^^

Replaced by #404 since the PR branch was deleted before I can do the review.


Run the mocks by GG and other key leadership

Reassign to Jenn

Sam is setting up a call with Roland!

We shared with Roland and BWG lead.


replace parser with FLAGS

Can one of the admins verify this patch?

(We prefer argparse in our examples, the flags library is a global singleton pattern which is too easily abused).


Modern CMake approach for tsimd

I've updated the build system of ttk to follow a modern CMake approach, where tsimd is exported as an interface library, i.e. we have nothing to "compile" since it's header only but just set some target properties needed by clients of the code.
I also ported micro-packet over to tsimd on the micro-packet/tsimd branch and ran some comparison benchmarks on my desktop.
CPU: Intel i7-5930k
Compiler: gcc (Ubuntu 6.3.0-12ubuntu2) 6.3.0 20170406
master branch (hand-written intrinsics):
max: 1894ms
min: 1868ms
median: 1878ms
median abs dev: 3ms
mean: 1877ms
std dev: 4ms
# of samples: 64

psimd branch:
max: 3475ms
min: 3375ms
median: 3412ms
median abs dev: 24ms
mean: 3414ms
std dev: 27ms
# of samples: 36

tsimd branch:
max: 2807ms
min: 2697ms
median: 2742ms
median abs dev: 23ms
mean: 2739ms
std dev: 28ms
# of samples: 44

Thanks Will!
Interesting performance results. I'll have a look at the code...I'm not super happy ATM with those numbers, however it's likely that you're using things like trig functions that don't SIMDify well without icc. Regardless, it is a good benchmark to use, especially because you have a hand-written version.


After publishing to AsyncProducer, Successes returned have null timestamps

Versions
Please specify real version numbers or git SHAs, not just "Latest" since that changes fairly regularly.
Sarama Version: 1.17.0
Kafka Version: <IP_ADDRESS>
Go Version: 1.10.3
Configuration
Kafka is all default except for automatic topic creation which has been disabled
Saram config:
config.Producer.RequiredAcks = sarama.WaitForLocal     // Only wait for the leader to ack
config.Producer.Compression = sarama.CompressionSnappy // Compress messages
config.Producer.Flush.Frequency = 1 * time.Millisecond // Flush batches every 500ms
config.Producer.Return.Successes = true
config.Version = sarama.V1_0_0_0
Logs
Problem Description
After adding the version specification, the timestamp started showing up on messages as expected:

bash > kafkacat -b localhost -C -t auto-alert-raw -f "%T\n" -o 0
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
1549984045355
1549984491171
1549984976336
1549985006789
1549985763100
1549985836450
1549985881538
% Reached end of topic auto-alert-raw [0] at offset 21

But logging the result of the returned success shows the timestamp as null.
:   producer.Input() <- &sarama.ProducerMessage{
:   :   Topic: "auto-alert-raw",
:   :   Value: sarama.StringEncoder(data),
:   }
:   select {
:   case success := <-producer.Successes():
:   :   logrus.WithFields(logrus.Fields{
:   :   :   "value":   success,
:   :   }).Trace("New alert published to kafka")
:   }
That gives me:
"Headers": null,
"Key": null,
"Metadata": null,
"Offset": 20,
"Partition": 0,
"Timestamp": "0001-01-01T00:00:00Z",
"Topic": "auto-alert-raw",
"Value": "redacted"
Am I doing something wrong? Is this expected? A bug?

Are you still seeing this?

Yes I am.


Could not compile code with Equatable package import

Here is is a code:
import 'package:equatable/equatable.dart';

class Page extends Equatable {
  const Page({this.data = 0});

  final int data;

  @override
  List<Object> get props => [data];

  @override
  String toString() => 'Page $data';
}

void main() async {
  const page1 = Page(data: 1);
  const page2 = Page(data: 2);
  print(page1.hashCode);
  print(page2.hashCode);
}

Here it is a result
Error compiling to JavaScript:
Info: Compiling with sound null safety.
Error: Couldn't resolve the package 'equatable' in 'package:equatable/equatable.dart'.
lib/main.dart:1:8:
Error: Not found: 'package:equatable/equatable.dart'
import 'package:equatable/equatable.dart';
       ^
lib/main.dart:3:20:
Error: Type 'Equatable' not found.
class Page extends Equatable {
                   ^^^^^^^^^
Error: Compilation failed.

Ggd

This is probably due to me including this as a Flutter only package. Sigh.

Confirmed fixed with the following code:
import 'package:equatable/equatable.dart';

class Person extends Equatable {
  const Person(this.name);

  final String name;

  @override
  List<Object> get props => [name];
}

void main() {
  var bob = Person('Bob');
  print(bob);
}


[9.x] Add createManyQuietly to HasOneOrMany

This method makes it possible to create multiple related models without raising any events to the parent model.

There have been too many of these individual PRs lately. The next PR to add these types of "quietly" methods should just add all remaining corresponding methods in one PR.


Is TabMigrate tool safe enough to download the tableau server files with our credentials

We are trying to download all the twbx files from your open source tool "TabMigrate".But our concetn is that whether the credentials are internal to it or Will it expose or Safe??

Downloading workbooks using the REST API (which TabMigrate uses) will not (cannot) download the embedded credentials.


[BUG] cannot meet the PostgreSQL requirement to clean up etcd

Describe the bug
In the PostgreSQL addon, after adding the etcd service, it is not possible to delete the configuration records in etcd when removing the PostgreSQL addon through methods like preTerminate (deleting them will cause them to be restored). There might need to be a "postTerminate" to perform the deletion after the container has terminated normally.

@leon-inf What are expected behaviors of kubeblocks operator when 'PreTerminate' action fails or timeouts ?

@leon-inf What are expected behaviors of kubeblocks operator when 'PreTerminate' action fails or timeouts ?

It will retry and wait until the action completes successfully.

@Y-Rookie is already working on this requirement.

Current problem：
In the PreTerminate action, we need to stop the PG Patroni process, and currently, this is done by executing the pkill command through kubectl exec to log into the engine pod. However, kubectl depends on RBAC permissions. In the default implementation of PreTerminate, a job was used to perform the action, but the required RBAC configuration for executing the job is not exposed via the API. Additionally, the default service account on the engine pod is deleted by the cluster controller before the PreTerminate action is executed (due to compatibility reasons, it is deleted by the cluster controller instead of the component controller) so we could not use it, resulting in a lack of RBAC permissions which prevents execution.


Added debug statement on properties cleanup.

@mozaidk Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@mozaidk Thank you for signing the Contributor License Agreement!

Can you help us understand what you're trying to achieve before actually submitting code changes?

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.


There is a huge screen tearing when i scroll!

Description
There is a huge screen tearing every time when i want to scroll and i should say i had a screen tearing after installing linux mint but i fixed that and i have no screen tearing out of the brackets editor or except the brackets every things are good or nowhere i can see screen tearing except the brackets editor.
And also i have red dots or red lines between characters or something like little lines with blue or red colours between characters!
Is there any help?
Versions
I'm running linux mint cinnamon 19.1 tessa with a nvidia geforce 960m graphic card.

Thanks for reporting this. The red dots and lines seem like a libfreetype issue. Refer to this and see if it helps. https://github.com/adobe/brackets/issues/14610
As for screen tearing, can you help us with a screenshot, and even some logs.

Go to Debug -> Show Developer Tools
Open Console.
Copy all the logs that occur when the screen tear happens.

Also, do you use Brackets on some other distro? Have you seen this issue elsewhere?
Could be due some issue with CEF on Linux Mint.

Is this exclusive to Brackets? This seems like an issue with the Nvidia drivers and Ubuntu in general.
Found this thread: https://ubuntuforums.org/showthread.php?t=2374405, it might be useful. Although I'd suggest being a bit cautious before using the fix. Read through it properly.

Is this exclusive to Brackets? This seems like an issue with the Nvidia drivers and Ubuntu in general.
Found this thread: https://ubuntuforums.org/showthread.php?t=2374405, it might be useful. Although I'd suggest being a bit cautious before using the fix. Read through it properly.

Thanks this #14610 fixes the libfreetype issue and for the screen tearing you were right it's because of nvidia, i have that screen tearing everywhere like firefox scrolling or draging windows!
but anyway thanks!


Failed get connection with Crate 0.55.2

I load data via Sqoop, and raise this exception from Crate error log:

[2016-08-25 15:44:07,608][DEBUG][action.bulk              ] create 1 pending indices in bulk...
[2016-08-25 15:44:07,623][INFO ][action.admin.indices.create] [crate172] [.partitioned.t_zkp_test_crate5.045j4c1h6omj0dhd60q0] creating index, cause [bulk], templates [.partitioned.t_zkp_test_crate5.], shards [10]/[1], mappings [default]
[2016-08-25 15:44:07,890][INFO ][cluster.routing.allocation] [crate172] Cluster health status changed from [RED] to [YELLOW] (reason: [shards started [[.partitioned.t_zkp_test_crate5.045j4c1h6omj0dhd60q0][9], [.partitioned.t_zkp_test_crate5.045j4c1h6omj0dhd60q0][8]] ...]).
[2016-08-25 15:44:08,154][DEBUG][action.bulk              ] create new coordinator for node Zjy_QolDSzWjVDn6_UpRsw and shard [.partitioned.t_zkp_test_crate5.045j4c1h6omj0dhd60q0][1]
[2016-08-25 15:44:08,156][DEBUG][action.bulk              ] create new coordinator for node JIqOyYxfRDeKNu4S_TWi6g and shard [.partitioned.t_zkp_test_crate5.045j4c1h6omj0dhd60q0][6]
[2016-08-25 15:44:09,812][INFO ][cluster.routing.allocation] [crate172] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.partitioned.t_zkp_test_crate5.045j4c1h6omj0dhd60q0][8]] ...]).

The exception of Sqoop as follows:

16/08/25 15:46:18 INFO client.transport: [crate_client] failed to get node info for {#transport#-1}{<IP_ADDRESS>}{<IP_ADDRESS>:4300}, disconnecting...
ReceiveTimeoutTransportException[[][<IP_ADDRESS>:4300][cluster:monitor/nodes/liveness] request_id [35] timed out after [5000ms]]
at io.crate.shade.org.elasticsearch.transport.TransportService$TimeoutHandler.run(TransportService.java:675)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
16/08/25 16:41:37 INFO mapreduce.Job: map 100% reduce 0%
16/08/25 16:41:38 INFO mapreduce.Job: Job job_1469759210389_165114 failed with state KILLED due to: Kill job job_1469759210389_165114 received from hadoop (auth:SIMPLE) at <IP_ADDRESS>
Job received Kill while in RUNNING state.
16/08/25 16:41:39 INFO mapreduce.Job: Counters: 8
Job Counters
Killed map tasks=10
Launched map tasks=10
Other local map tasks=10
Total time spent by all maps in occupied slots (ms)=207702858
Total time spent by all reduces in occupied slots (ms)=0
Total time spent by all map tasks (ms)=34617143
Total vcore-seconds taken by all map tasks=34617143
Total megabyte-seconds taken by all map tasks=106343863296
16/08/25 16:41:39 WARN mapreduce.Counters: Group FileSystemCounters is deprecated. Use org.apache.hadoop.mapreduce.FileSystemCounter instead
16/08/25 16:41:39 INFO mapreduce.ExportJobBase: Transferred 0 bytes in 3,488.1937 seconds (0 bytes/sec)
16/08/25 16:41:39 WARN mapreduce.Counters: Group org.apache.hadoop.mapred.Task$Counter is deprecated. Use org.apache.hadoop.mapreduce.TaskCounter instead
16/08/25 16:41:39 INFO mapreduce.ExportJobBase: Exported 0 records.
16/08/25 16:41:39 ERROR tool.ExportTool: Error during export: Export job failed!

When raise this exception, the process of Sqoop hang and the log of Crate record nothing. The Sqoop command as follows:
sqoop export -D mapred.job.queue.name=root.common \
--batch --num-mappers 10 \
--connect jdbc:crate://xxx.xxx.xxx.xxx:xxxx \
--driver io.crate.client.jdbc.CrateDriver \
--table t_zkp_test_crate5 \
--export-dir /user/hive/warehouse/temp.db/t_zkp_test_crate/dt=2016-07-04 \
--fields-terminated-by '|' \
--null-non-string '' \
--null-string '' \
--input-null-non-string '\\N' \
--input-null-string '\\N' \
--columns 'etldate,plat,play_cnt'

The maximum of mappers is 15, and beyond 15 will raise above exception.
Version of related software:

Crate: 0.55.2
OS: CentOS release 6.5 (Final)
Disk: SSD
Sqoop: 1.4.5
JDBC: Crate JDBC Driver 1.13

I try to tune thread pool, don't work. Then I try to tune connection parameters, yet I can't find related parameters. How to avoid this problem?
Thanks.
Sincerely,
Robin

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/37268290-failed-get-connection-with-crate-0-55-2?utm_campaign=plugin&utm_content=tracker%2F505659&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F505659&utm_medium=issues&utm_source=github).

@dbarobin I have solved this problem,like https://github.com/crate/crate/issues/3984 i try to explain.


Start using Gitian for builds

We should really be using the Gitian deterministic build system for all the binaries we publish. This is mostly a to-do note to myself for when I have some time to work on it, but anybody is welcome to help if they can :)
https://gitian.org/
https://github.com/devrandom/gitian-builder

I was and still would consider it Gnos1s, however with the new 'depends' toolchain builder, I don't need it to build cross-platform or otherwise.  So going to pass on keeping the files updated or usable for anoncoin, it's too complex a system to setup and hard to get working for any coin other than bitcoin.  If we can figure out how to build with consenses, using the new 'depends' toolchain builder, which is very close to being determinstic, then we can have a wider range of developers added to our list of folks willing to sign off on any paticular build.  Other than that one reason, I'm not interested in making a career out of getting gitian-builder to work and keep it working with the latest anoncoin builds...
GR


python310Packages.aiolifx-themes: 0.2.1 -> 0.3.0

Diff: https://github.com/Djelibeybi/aiolifx-themes/compare/refs/tags/v0.2.1...v0.3.0
Changelog: https://github.com/Djelibeybi/aiolifx-themes/releases/tag/v0.3.0
Description of changes

Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

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

3 packages built:

home-assistant-component-tests.lifx
python310Packages.aiolifx-themes
python39Packages.aiolifx-themes


[proxima-beam-core] add throttling option for DirectBatchUnboundedSource

cc @LesTR
justification - when reading from batch source in streaming pipeline, the batch source tends to overwhelm the streaming pipeline, causing enormous backpressure. This PR adds configuration option that can (per source) limit the throughput through the source and this limit the backpressure.


what if is become cli tool

what if we are building this project as a cli to allow more flexibility to user ... is not urgent but we should keep it in mind

That's the plan.
For v1.0, I want to have this as a CLI application and have every variable customizable by the user.
Everything from the number of cores to use, or device(CPU or GPU) to use, to what to do with the duplicate images and everything else is planned to be decidable by the end user using cli arguments.
I want this to be as modular as possible.
Thanks for the thought :)


feature: --dry-run flag

Running code with --dry-run flag should return all changes that will be applied without applying them, would be helpful to see what will bet updated
deno run -Ar https://deno.land/x/update/mod.ts ./deno.json --dry-run

@Fecony what about naming the flag --readonly?

more like --outputonly xd

@Fecony what about naming the flag --readonly?


fix fix push filter through agg

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


feat: union transfer solidity example

My Experience:
At the beginning, everything was very well explained. I only needed to do a quick search in the Foundry Book to find the command to start "forge init," since I had never used it before.
Then, I followed all the steps in the "Funding the Wallet" section, but I realized that with the resources I had, I couldn't do much without a Premium RPC.
I encountered this error: error code -32000: insufficient funds for gas * price + value: balance<PHONE_NUMBER>00000000, queued cost<PHONE_NUMBER>4142502, tx cost<PHONE_NUMBER>0771570, overshot<PHONE_NUMBER>4914072
I made some unnecessary transactions (rookie mistake), but overall, I think everything was very well explained and easy to follow. Great work!


formula: add deuniversalize_machos method

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew typecheck with your changes locally?
[x] Have you successfully run brew tests with your changes locally?

This method takes an optional array of Pathnamess or Stringss and
extracts the native slice from the specified universal binary. If no
parameter is supplied, this is done on all compatible universal binaries
in a formula's keg.
deuniversalize_machos is a no-op on Linux.
I still need to look into a) error handling, and b) whether using this
method requires codesigning on ARM.
I've also added signatures to the methods in extend/os/linux/formula.

Review period will end on 2021-07-22 at 17:09:53 UTC.

Review period ended.

This should be ready to go as soon as I double check whether we need to do any codesigning on ARM. I'll try to get to this tonight.

Just checked, and this will require codesigning on ARM. I'll look into where I can move Keg#apply_ad_hoc_signature...

This is actually ready for review.


Add more style to inline code in dark mode

I have a feature request for dark mode. In dark mode inline code blends too much into the regular text. I'm used to seeing a bit more styling on inline codes in light mode, however in dark mode only the font changes and there's a barely noticeable border around it and it's not enough to make the code pop out.

Thanks for your feedback! Could you provide some screenshots so that we can better understand the issue?

The this keyword here is using inline code markdown but it's barely distinguishable. I realized that the same problem also exists on the light mode as well. I think they used to be a different color in earlier versions, I may be wrong on this. But I think they should be a different color so they can be easily noticeable.


Fixed code formatting in using statements

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

@ericsundquist : Thanks for your contribution to the Azure documentation! The author, @nitinme, has been notified to review your proposed change.

@ericsundquist - Thanks for your updates. I made the same changes as part of another PR. Marking this to be closed without merging.
#please-close


Crash

When i get permission， open the app permissions setting，turn off this permission，return to the application home page，the crash occurred.
video：
WeChatSight6.mp4.zip

Could you convert mp4 to gif? and post it here?

Looking at your video, this is the expected behaviour, as far as I can tell from the Chinese UI. When you revoke permission to use the camera, then return to the app, the camera view is not showing anymore until the user grants permission again. This is a wontfix as far as I'm concerned, unless I'm missing your point.

@BigKarel as @aurae mentioned the camera behavior from your video is expected(I wanna clarify what the crash occurred. is pointing out though).
But I just found another crash about contact list while I was reproducing the problem. This is a bug of our sample app and it'd be better to fix that.
Anyway thx for your report!

thx


Could json-schema and json hyper-schema be used for the IDL?

I've been doing auite a bit more research on json-schema since the GA4GH 3rd plenary meeting. Previously I understood that json-schema is for validation of json. However, as part of the json-schema project, there is also json hyper-schema, which allows for the defining of APIs.
This blog post explains it probably a lot better than I can: https://brandur.org/elegant-apis
Although on the json-schema site, the support for hyper-schema seems limited, the information is out of date, and there are a number of clients for most langauges.
The biggest potential issue with json-schema and associated tools is the future of the protocol. It has been essentially orphaned by the people who originally worked on it, however they are open to others picking up the work.
It is an IETF draft, currently at draft 4. The plan was to release a draft 5, being the final request for comments, resulting in the final official v1 of the specification.
(I have no experience with IETF associated RTF specification documents, so if anyone else has, that expeirence could be valuable if others are willing to support it!)

@delagoya iirc, you said you had experience with defining specifications. Do you know anyone in your circle of associates who may be interested in this, even if it's not directly for GA4GH?

there is a lot api definition languages such as RAML,Swagger， they do use json schema to define a api instead of avro ,what I learn is that the schema evolution mechanism provided by avro is more promising and it has a mature binary format too.

It was agreed at the last GA4GH plenary meeting that Avro is not fit for purpose, as the libraries in major languages do not work together, amoung other reasons. Individuals were tasked with evaluating the move to Protocol Buffers. I'm adding to my previous json-schema comments that json hyper-schema allows for definitions of API's.

The data access APIs are going to use protocol buffers V3 which includes a JSON wire format encoding.  Protocol Buffers is a subset of what can be encode in JSON and there are already tools to map ProtBuf V2 to JSON schema.


Weird (old ?) volume not supported

The linux version of TrueCrypt has no problem mounting this volume : smaller_password_1234.tar.gz (mind you it's 4GBs once unzipped) but I can't get it to work with tc-play ...
Here's what the volume properties dialog shows if that helps :

Hi! Volume format version 1 and 2 aren't supported by tc-play - I assume this is the message you are getting when trying?
https://github.com/bwalex/tc-play/blob/2d8d597a4879b4344bce4763883833f3489515bd/hdr.c#L140
Although maybe it doesn't even get there if the actual key derivation function for those older versions is different from any supported version.

In fact - yes, you probably won't even get there, considering it's using LRW, which definitely isn't a supported mode.

Thanks for the quick answer !

In fact - yes, you probably won't even get there

Yeah, iirc it just displays that the password is incorrect without more details. Smells like the code trying to deal with an unexpected failure mode.

Volume format version 1 and 2 aren't supported by tc-play

considering it's using LRW, which definitely isn't a supported mode.

For both of these things : by "unsupported" do you mean that it just so happens not be supported by the code in its current state, or that tc-play is not meant to support it ever

Fair question - it's not supported by the code, and I wasn't actually expecting to ever add support for them (although I did at some point briefly consider it, as evidenced by this comment: https://github.com/bwalex/tc-play/blob/2d8d597a4879b4344bce4763883833f3489515bd/tcplay.c#L64
That comment about not supporting LRW in dm-crypt and opencrypto was referring to DragonFly, though, not Linux. I think Linux' dm-crypt does support LRW. You'd still need an LRW implementation for use with gcrypt, though.
I'm definitely not against anyone adding support for these older volume types, as long as it doesn't make a big mess of the existing code. I'm sure that latter part can be worked out, though.


[FEATURE REQ] Visitor to update ClientResult to Azure.Core.Response for Azure plugin

Library name
N/A
Please describe the feature.
Update operation return type from ClientResult to Azure.Core.Response

@live1206, would you please add more context to this feature request?   It looks like a generator plugin feature, but it isn't marked as such.

@live1206, would you please add more context to this feature request? It looks like a generator plugin feature, but it isn't marked as such.

Yes, sorry about the confusion, this is about the generator plugin, think we need a new tag for that  @ArthurMa1978

pending on https://github.com/microsoft/typespec/issues/3693


Fix typo in normalized example

Summary
Noticed this typo while reading your documentation.
Set of changes
N/A

Cheers! 👏


[Event Request] Codeunit 392 "Reminder-Make" - function InsertReminderLine

Dear ALAppExtensions Team,
We would like to request the following event publisher in codeunit 392 - function InsertReminderLine
begin
    // DINNL <<
    IsHandled := false;
    OnBeforeInsertReminderLine(ReminderNo, LineType, Description, NextLineNo, IsHandled);
    if IsHandled then
        exit;
    // DINNL >>
    InitReminderLine(ReminderLine, ReminderNo, LineType, Description, NextLineNo);
    ReminderLine.Insert();
end;

[IntegrationEvent(false, false)]
local procedure OnBeforeInsertReminderLine(ReminderNo: Code[20]; LineType: Integer; Description: Text[100]; var NextLineNo: Integer; var IsHandled: Boolean)
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Cloud Backup flow updation

In the flow below, the third screen “Automated Drive Backup” should be the one that comes (with the correct message) when the user clicks on "Backup on Google Drive". And then the process starts.
https://user-images.githubusercontent.com/68264080/168791717-79ce61e3-8b51-4ccd-930b-8cceb692b035.mp4
The message: "Backup the wallet to easily restore it in case your phone gets damaged or lost"

Verified this issue on dev app v2.0.80(483)


Use only the past dates

I am using it in another way, to select a period of time and show all reports of that period.
So, what I need is enable all past date and disable all future dates.
Further more, would be grat if i would set which period
Is it possible?
i tried something like this, but didn't work:
<HotelDatePicker
    format="DD/MM/YYYY"
    :startDate="startDate"
    :endDate="endDate"
/>

import moment from "moment";

computed: {
    startDate() {
      return moment().subtract(2, "years");
    },
    endDate() {
      return moment();
    }
},

My bad, i wasn't passing a data object.


Keep track of OSM data with no third-party dataset

I think we need a way to keep track of data on OSM that has no third-party datasets. That way, historic OSM data is the authoritative dataset that needs to be conflated with current OSM data. If there is a change in current OSM data, we can either change (revert) the OSM database, or import the current OSM to act as new authoritative data.
I'm somewhat new to OSM Conflator,  so I'm not sure if this function already exist. We would need to have an initial download from overpass using the query variable from the profile.py. The data would be converted into the input json.
Does this agree with your concept of this tool?

Well if you download some data then it makes the data third-party for this tool. So yes, you can get an old OSM extract, write a profile to convert it to a data source, and conflate it with the recent OSM data, checking for changes. Not that I approve of a practice of keeping authoritative data in OSM, but it is possible I guess.

Well if you download some data then it makes the data third-party for this tool. So yes, you can get an old OSM extract, write a profile to convert it to a data source, and conflate it with the recent OSM data, checking for changes. Not that I approve of a practice of keeping authoritative data in OSM, but it is possible I guess.

Not so much authoritative, maybe that was poor wording. It's more like keeping an eye on the data. Thanks for the answer.

Not so much authoritative, maybe that was poor wording. It's more like keeping an eye on the data. Thanks for the answer.


Update to require >= PHP 7.0.0

With Slim 4 requiring support for PHP 7.0.0, it would be good to update the minimum requirement for Slim-Http as well.
Not only will this provide similar benefits here, but it will allow us to integrate the PSR-17 spec properly, which has a minimum requirement as well: https://packagist.org/packages/psr/http-factory

Yes please.
We can improve the type hinting that way too.


Location of cell-level language selector for SoS kernel

@blink1073 from JupyterLab team commented  in jupyterlab/jupyterlab#2815 that cell header would be a good fit for the kernel selector dropdown for SoS. As far as I can tell, cell header is not used and not displayed (css for .jp-CellHeader has height=0) in JupyterLab right now. My understanding is that it is reserved for cell tags (jupyterlab/jupyterlab#2277) and I really do not want to put the language selector on top of each line (like cell toolbar in Jupyter) unless the cell header can collapse automatically.
Actually, not sure if it is doable, but it can be good to make the language selector a hover context menu for the cell input collapser (the blue bar to the left of In). In this way users can hover the cursor over the blue bar and change cell kernel, and there is no visible dropdown box anywhere in the notebook.

Note the example for context menu

The old style language selected has been added. We can always change it to something else later.


Can I install the project only by docker-compose Feature Proposal？

Expected Behavior or Use Case

Service or Ingestion ETL

Possible Implementation

Example Screenshots (if appropriate):
Context

Please visit the slack channel #troubleshooting if you're looking for support :)


Update references to cargobomb with the current crater repo.

Bringing all things 'ecosystem testing' back under the crater name as part of crater/issues/134

Thanks!


how to run a pe using control pipe?

I've tried this using the examples provided.
the PE is in resources
	HANDLE pipe = CreateFileW(L"\\\\.\\pipe\\$77control", GENERIC_READ | GENERIC_WRITE, 0, NULL, OPEN_EXISTING, 0, NULL);
	if (pipe != INVALID_HANDLE_VALUE)
	{
		LPBYTE pe;
		DWORD peSize;
		if (!GetResource(IDR_R72, "EXE", &pe, &peSize)) return 0;

		DWORD controlCode = CONTROL_USER_RUNPE;
		WCHAR shellExecPath[] = L"C:\\Windows\\System32\\notepad.exe";
		// Write control code (DWORD)
		DWORD bytesWritten;
		WriteFile(pipe, &controlCode, sizeof(DWORD), &bytesWritten, NULL);

		// Write the path for ShellExec (unicode string including null terminator)
		WriteFile(pipe, shellExecPath, (lstrlenW(shellExecPath) + 1) * 2, &bytesWritten, NULL);

		// Write arguments for size
		WriteFile(pipe, peSize, sizeof(DWORD), &bytesWritten, NULL);

		// Write arguments for bytes
		WriteFile(pipe, pe, peSize, &bytesWritten, NULL);

		CloseHandle(pipe);
}

but the PE does not execute.

nvm, found the error. Thanks


Add proto field name to validation error

Right now, only go field name present. If this validation error, for instance, is used to construct rpc validation error message (like google.rpc.BadRequest), it will be better to put field name from protofile.

I'd like that a lot! Anyone working on this?

We have started on this at https://github.com/entur/protoc-gen-validate


Cannot handle this data type: (1, 1, 260), |u1

Traceback (most recent call last):
File "C:\Users\suman\OneDrive\Documents\StackGan-2\code\main.py", line 144, in
algo.train()
File "C:\Users\suman\OneDrive\Documents\StackGan-2\code\trainer.py", line 756, in train
save_img_results(self.imgs_tcpu, self.fake_imgs, self.num_Ds,
File "C:\Users\suman\OneDrive\Documents\StackGan-2\code\trainer.py", line 207, in save_img_results
sup_real_img = summary.image('real_img', real_img_set).convert('RGB')
File "C:\Users\suman\AppData\Local\Programs\Python\Python310\lib\site-packages\tensorboardX\summary.py", line 287, in image
image = make_image(tensor, rescale=rescale)
File "C:\Users\suman\AppData\Local\Programs\Python\Python310\lib\site-packages\tensorboardX\summary.py", line 329, in make_image
image = Image.fromarray(tensor)
File "C:\Users\suman\AppData\Local\Programs\Python\Python310\lib\site-packages\PIL\Image.py", line 2955, in fromarray
raise TypeError("Cannot handle this data type: %s, %s" % typekey) from e
TypeError: Cannot handle this data type: (1, 1, 260), |u1
This line is causing the error --> sup_real_img = summary.image('real_img', real_img_set)

do you solve this problem?

Yes
On Fri, 30 Jun, 2023, 20:01 misakicoder, @.***> wrote:

do you solve this problem?
—
Reply to this email directly, view it on GitHub
https://github.com/hanzhanggit/StackGAN-v2/issues/44#issuecomment-1614741105,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A3O6K2IE3IEO257JZPVQYOTXN3PMHANCNFSM6AAAAAAVBPSKLY
.
You are receiving this because you authored the thread.Message ID:
@.***>

real_img_set = vutils.make_grid(real_img).numpy()
real_img_set = np.transpose(real_img_set, (1, 2, 0))
real_img_set = real_img_set * 255
real_img_set = real_img_set.astype(np.uint8)
sup_real_img = summary.image('real_img', real_img_set)
summary_writer.add_summary(sup_real_img, count)
I think something is wrong with this code but I don't know how to fix it, could you recall and tell me how to fix it? thank you.
Could you tell me how to deal with it?

Could you what's app me so that I can check thoroughly
My number is : +91<PHONE_NUMBER>
On Fri, 30 Jun, 2023, 20:13 misakicoder, @.***> wrote:

real_img_set = vutils.make_grid(real_img).numpy()
real_img_set = np.transpose(real_img_set, (1, 2, 0))
real_img_set = real_img_set * 255
real_img_set = real_img_set.astype(np.uint8)
sup_real_img = summary.image('real_img', real_img_set)
summary_writer.add_summary(sup_real_img, count)
I think something is wrong with this code but I don't know how to fix it,
could you recall and tell me how to fix it? thank you.
Could you tell me how to deal with it?
—
Reply to this email directly, view it on GitHub
https://github.com/hanzhanggit/StackGAN-v2/issues/44#issuecomment-1614757080,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A3O6K2INOVMBCX577YCOZM3XN3QZNANCNFSM6AAAAAAVBPSKLY
.
You are receiving this because you authored the thread.Message ID:
@.***>

I have also encountered this error, may I ask how to solve it。Thank you!

What is the error
On Thu, 4 Jan 2024 at 10:35 AM, mjw1997 @.***> wrote:

I have also encountered this error, may I ask how to solve it。Thank you!
—
Reply to this email directly, view it on GitHub
https://github.com/hanzhanggit/StackGAN-v2/issues/44#issuecomment-1876317018,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A3O6K2MGP3TOP3E3OKBCVU3YMY2CVAVCNFSM6AAAAAAVBPSKL2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZWGMYTOMBRHA
.
You are receiving this because you authored the thread.Message ID:
@.***>

TypeError: Cannot handle this data type: (1, 1, 390), |u1,

When I execute the code, report the above error “TypeError: Cannot handle this data type: (1, 1, 390), |u1,”, how to fix it, thank you!
real_img_set = vutils.make_grid(real_img.data).cpu().numpy()
real_img_set = np.transpose(real_img_set, (1, 2, 0))
real_img_set = real_img_set * 255
real_img_set = real_img_set.astype(np.uint8)
sup_real_img = summary.image('real_img', real_img_set)
summary_writer.add_summary(sup_real_img, count)

@misakicoder Can you share how this error was resolved？

I’ll share my code tomorrow.
On Thu, 4 Jan 2024 at 9:05 PM, mjw1997 @.***> wrote:

@misakicoder https://github.com/misakicoder Can you share how this
error was resolved？
—
Reply to this email directly, view it on GitHub
https://github.com/hanzhanggit/StackGAN-v2/issues/44#issuecomment-1877299389,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A3O6K2MOHM4EIT3CWQRF6VLYM3D2TAVCNFSM6AAAAAAVBPSKL2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZXGI4TSMZYHE
.
You are receiving this because you authored the thread.Message ID:
@.***>

复现问题记录 | StackGAN-v2 (in python3)（二）_serialized_pb=_b('\n.tensorboard/compat/proto/reso-CSDN博客 maybe this can help you
李宇2020211216
@.***

------------------ 原始邮件 ------------------
发件人:                                                                                "hanzhanggit/StackGAN-v2"                                                                                @.>;
发送时间: 2024年1月5日(星期五) 凌晨1:32
@.>;
<EMAIL_ADDRESS>主题: Re: [hanzhanggit/StackGAN-v2] Cannot handle this data type: (1, 1, 260), |u1 (Issue #44)
I’ll share my code tomorrow.
On Thu, 4 Jan 2024 at 9:05 PM, mjw1997 @.***> wrote:
> @misakicoder <https://github.com/misakicoder> Can you share how this
> error was resolved？
>
> —
> Reply to this email directly, view it on GitHub
> <https://github.com/hanzhanggit/StackGAN-v2/issues/44#issuecomment-1877299389>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/A3O6K2MOHM4EIT3CWQRF6VLYM3D2TAVCNFSM6AAAAAAVBPSKL2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZXGI4TSMZYHE>
> .
> You are receiving this because you authored the thread.Message ID:
> @.***>
>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

@misakicoder ok!Thank you~


add: utkarsh-1602

Description

Related Issues

Changes Proposed

Checklist

[ ] I have read and followed the Contribution Guidelines.
[ ] All new and existing tests passed.
[ ] I have updated the documentation to reflect the changes I've made.
[ ] My code follows the code style of this project.
[ ] The title of my pull request is a short description of the requested changes.

Screenshots
Note to reviewers

@shyamtawli deleted package-lock.json

@utkarsh-1602 Thank you so much for your contribution! Your efforts are greatly appreciated and will go a long way in improving our project. Please feel free to share it with others and help us grow even further!


Event Time discrepency

The eventtime is being parsed way in the future.  Here's an example:
50135-01-04 16:40:05.000000000 -0800 tag-for-app: {"sourceLine":0,"@timestamp":"2018-03-01T13:49:00.005-0800","level":"INFO","logger":"o.m.a.p.LoggerMessageProcessor","sourceMethod":"<unknown>","sourceClass":"<unknown>","loggerFull":"org.mule.api.processor.LoggerMessageProcessor","thread":"[mule-research-fluentd-scott].get:/fluentd:apiConfig.stage1.02","message":"Hey Fluentd!\n","sourceFile":"<unknown>","host":"[REDACTED]","tag":"tag-for-appt"}

I believe the problem is that we're send the event time in millseconds instead of "second since epoch" here: https://github.com/wywy/log4j-plugin-fluency/blob/master/src/com/wywy/log4j/appender/FluencyAppender.java#L210
This was my workaround in fluentd (1.0) to reconcile the two:
<filter tag-for-app>
  @type parser
  key_name @timestamp
  reserve_time false
  reserve_data true
  <parse>
    @type regexp
    expression /^(?<time>.*)$/
    time_format %Y-%m-%dT%H:%M:%S.%L%z
  </parse>
</filter>

Thanks for the report, i guess this is caused by the new fluentd version. We just tested the plugin against 0.12 but apparently the changes in 0.14+ are causing issues now.
Unfortunately I can't help you with a fix as I currently don't have the resources to support this project.

Ah, that's right.  They changed the time format between the two versions.  Ref. https://www.fluentd.org/blog/fluentd-v0.14.0-has-been-released
Perhaps the best way to move forward would be to introduce a conditional for the EventTime format and default to 0.12 behavior so we don't break existing deployments.


save or access auto_arima trace history?

Hi,
I can't quite see if this exists, seems not.  It would be nice to be able to save or access the output of the auto_arima trace (since it contains BIC, AIC information for other candidate models)...
I.e.  this information:

Fit ARIMA: order=(2, 1, 2) seasonal_order=(1, 0, 1, 52); AIC=4650.194, BIC=4678.269, Fit time=12.474 seconds
Fit ARIMA: order=(0, 1, 0) seasonal_order=(0, 0, 0, 52); AIC=4679.831, BIC=4686.850, Fit time=0.023 seconds
Fit ARIMA: order=(1, 1, 0) seasonal_order=(1, 0, 0, 52); AIC=4671.975, BIC=4686.013, Fit time=0.932 seconds
Fit ARIMA: order=(0, 1, 1) seasonal_order=(0, 0, 1, 52); AIC=4672.122, BIC=4686.160, Fit time=1.123 seconds
Fit ARIMA: order=(2, 1, 2) seasonal_order=(0, 0, 1, 52); AIC=4649.877, BIC=4674.443, Fit time=9.644 seconds
Fit ARIMA: order=(2, 1, 2) seasonal_order=(0, 0, 0, 52); AIC=4659.435, BIC=4680.491, Fit time=0.794 seconds
Fit ARIMA: order=(2, 1, 2) seasonal_order=(0, 0, 2, 52); AIC=nan, BIC=nan, Fit time=nan seconds
Fit ARIMA: order=(2, 1, 2) seasonal_order=(1, 0, 2, 52); AIC=nan, BIC=nan, Fit time=nan seconds
Fit ARIMA: order=(1, 1, 2) seasonal_order=(0, 0, 1, 52); AIC=4650.274, BIC=4671.330, Fit time=10.117 seconds
Fit ARIMA: order=(3, 1, 2) seasonal_order=(0, 0, 1, 52); AIC=nan, BIC=nan, Fit time=nan seconds
Fit ARIMA: order=(2, 1, 1) seasonal_order=(0, 0, 1, 52); AIC=4650.687, BIC=4671.743, Fit time=15.710 seconds
Fit ARIMA: order=(2, 1, 3) seasonal_order=(0, 0, 1, 52); AIC=4652.046, BIC=4680.121, Fit time=23.327 seconds
Fit ARIMA: order=(1, 1, 1) seasonal_order=(0, 0, 1, 52); AIC=4650.386, BIC=4667.933, Fit time=5.807 seconds
Fit ARIMA: order=(3, 1, 3) seasonal_order=(0, 0, 1, 52); AIC=4652.556, BIC=4684.140, Fit time=21.198 seconds
Total fit time: 101.177 seconds

Is this possible?
thanks!
best,

If it's solely the output you want, you could always do something like:
import sys

orig_stdout = sys.stdout
f = open('out.txt', 'w')
sys.stdout = f

# fit your model
model = pm.auto_arima(...)

sys.stdout = orig_stdout
f.close()

However if there are other model attributes you might like to save, you can set return_valid_fits=True and you'll get back a  list of the models from which you can access other stats


Error creating machine: Error in driver during machine creation: Unable to upload on datastore Datacenter due to Error

Full error text:
Error creating machine: Error in driver during machine creation: Unable to upload on datastore <vmwarevsphere-datacenter> due to Error: Put https://<host>/folder/<machine_name>/boot2docker.iso?dcPath=ha-datacenter&dsName=<vmwarevsphere-datastore>: dial tcp <host_ip>:443: getsockopt: connection refused

This the result of this command:
docker-machine create \
  --driver vmwarevsphere \
  --vmwarevsphere-cpu-count 8 \
  --vmwarevsphere-memory-size 16384 \
  --vmwarevsphere-vcenter <vcenter_ip> \
  --vmwarevsphere-datacenter <vmwarevsphere-datacenter> \
  --vmwarevsphere-disk-size 40960 \
  --vmwarevsphere-username <user> \
  --vmwarevsphere-password "<password>" \
  --vmwarevsphere-network <vmwarevsphere-network> \
  --vmwarevsphere-datastore <vmwarevsphere-datastore> \
  --vmwarevsphere-pool <vmwarevsphere-pool> \
  <machine_name>

There are two issues in the above error output:

[...] Unable to upload on datastore <vmwarevsphere-datacenter> due to Error [...]: Here, the name specified for --vmwarevsphere-datacenter is being returned as the datastore name;
[...] Put https://<host>/folder/<machine_name>/boot2docker.iso?dcPath=ha-datacenter&dsName=<vmwarevsphere-datastore> [...]: In the URL parameters being printed here, the specified --vmwarevsphere-datacenter has been replaced by ha-datacenter.

I can't imagine that this is simply broken for everyone who's attempted this, or there would be open issues. In short, are these merely typos, and I need to get up with my VMWare folks, or is this an issue with the vmwarevsphere driver?

cc @frapposelli

@ThatsNinja seems like you don't have access to your vCenter server, you get connection refused when attempting to connect to it.

@frapposelli Thanks for your reply! I'd suspected as much. I've got a ticket open with my VMWare support team to check things on their end. I'll update this issue with the final disposition if the problem is resolved on my end.

@ThatsNinja did you sort this out?

@frapposelli Somewhat, yes. Put simply, the error being reported was correct inasmuch as our DNS configuration was bad, and I was being directed to the wrong IP.
Still, I initially thought this might be a driver issue because the output in the error didn't match my input parameters. Fixing the error output to properly display could help prevent confusion for others in the future.

@ThatsNinja well, connection refused is a pretty straightforward message, also the error message is being rewritten in a more succinct way with the driver rewrite.

Yes, the connection refused error was correct. As for the output I was referring to, please see:

There are two issues in the above error output:

[...] Unable to upload on datastore  due to Error [...]: Here, the name specified for --vmwarevsphere-datacenter is being returned as the datastore name;
[...] Put https:///folder/<machine_name>/boot2docker.iso?dcPath=ha-datacenter&dsName= [...]: In the URL parameters being printed here, the specified --vmwarevsphere-datacenter has been replaced by ha-datacenter.

yes, the error you see is what govc reports, in the vsphere driver rewrite we're using govmomi directly so we can manipulate the message in a better way.

Cheers! Thanks, @frapposelli!


Add a Cryptography Chapter

I want to add a chapter on cryptography.
This is a general overview of what's to come. In the future i want to also write a sub chapter on most of the algorithms and concepts I mentioned here with the occasional code example.

I resolved the merge conflict.

Thanks for the chapter submission! It looks like there is a good amount of text here to review, so give me some time there. As a quick question: will you be adding an initial algorithm with this too?
Also: the redirect is probably not necessary in this case.

Yeah I would gladly add an algorithm as well. I wanted to do a sub chapter for every "group" of algorithm. So one for older ones (i.e. caeser or substitution cipher), one for DES/AES one for blowfish (maybe i'll look into twofish as well) and one for RSA

Ooh, nice. To be clear: those will be additional PR's on top of this one? I can hopefully get to review this on Sunday my time, but if you want to add to the PR, I'll wait.

Depends on what you prefer i think :D If it's to much work to review several PRs I can add everything here. If not I think just for organizational purposes I would do a PR for every sub chapter.

It's the same amount of work to review one PR or multiple ones. I think you are right that multiple PR's are better for organization

@Liikt similar to #346, I am not making chapters a priority, would you mind either:

Helping with this PR
Allowing me to work on this PR either by pushing to it or creating a separate PR entirely

If I don't get a response, I will assume 2

@Liikt similar to #346, I am not making chapters a priority, would you mind either:

Helping with this PR
Allowing me to work on this PR either by pushing to it or creating a separate PR entirely

If I don't get a response, I will assume 2

I don't mind helping. But you can also feel free to push into PR as you see fit.

There are a few small changes here, would you mind if I just committed the changes myself to merge this?

This was finalized in #988


List: onContextMenu  double event /popup

Windows 7
Code 1.14.2
Insiders 8-1
Related/Expanded Issue #23614
Steps to reproduce: (note all operations by keyboard)

open KeyBindings Editor
Tab into key bindings list
Arrow down several lines
Use ContextMenu key (Shift-F10)

-PopUp menu appears and list entry jumps several lines up or  down

Selecting Edit KeyBinding causes a second PopUp menu to appear

If a new key binding is set, it will be applied to the entry after the jump

After doing the above trying to edit again will cause the second pop up again but without list jumping

I would like to post a video if it will make it clearer can someone suggest a screen capture program especially that has good keyword activation ?

After getting some time on this and doing some debugging, I determined this issue lies in the list widget.
The onContextMenu event propagates twice causing a secondary popUp after the first.  Currently
this only appears to affect the keybindings editor.  Adding stopPropagation and preventDefault
to the event chain prevents this bug.

Fixed with PR #38843

@cleidigh Thanks for the investigation and the PR.

Assigning @joaomoreno
This is the same case in SCM view with multiple repositories.

Closing as per https://github.com/joaomoreno/vscode/commit/a20fe8521d8ec7fb0ab7acc4841e6c9a1721e4e4


[BACKLOG-18504] Google Drive VFS Provider

@mdamour1976 @bmorrise Please Sir!

Build Completed
:fire: This pull request has some issues. It would be preferable to fix them in order for it to be just perfect. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
mvn -Dsurefire.runOrder=alphabetical -B -fn -f 'pom.xml' -pl 'plugins' -P '!assemblies' -amd clean install && mvn -B -f 'pom.xml' -pl 'plugins' -P '!assemblies' -amd site

Cleanup Commands
mvn -B -f 'pom.xml' -pl 'plugins' -P '!assemblies' -amd build-helper:remove-project-artifact

Changed files
  assemblies/pdi-ce/pom.xml
  plugins/pom.xml

Unit Test Coverage
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.

:warning: Coverage Changes: -0.1% (click to expand)
org.pentaho.di.trans.steps.salesforceupdate.SalesforceUpdateMeta

Instruction Change: -0.2% :small_red_triangle_down:

org.pentaho.di.trans.steps.salesforceupsert.SalesforceUpsertMeta

Instruction Change: -0.1% :small_red_triangle_down:

:new: org.pentaho.googledrive.lifecycle.GoogleDriveKettleLifecycleListener

Coverage: 0% :exclamation:

:new: org.pentaho.googledrive.lifecycle.GoogleDrivePluginLifecycleListener

Coverage: 0% :exclamation:

:new: org.pentaho.googledrive.vfs.GoogleDriveFileObject

Branch Coverage: 0% :exclamation:
Complexity Coverage: 3.6% :exclamation:
Instruction Coverage: 2.8% :exclamation:
Line Coverage: 2.3% :exclamation:
Method Coverage: 6.7% :exclamation:

:new: org.pentaho.googledrive.vfs.GoogleDriveFileObject.MIME_TYPES

Coverage: 0% :exclamation:

:new: org.pentaho.googledrive.vfs.GoogleDriveFileProvider

Complexity Coverage: 75% :exclamation:
Method Coverage: 75% :exclamation:

:new: org.pentaho.googledrive.vfs.GoogleDriveFileSystem

Complexity Coverage: 50% :exclamation:
Instruction Coverage: 52.4% :exclamation:
Line Coverage: 57.1% :exclamation:
Method Coverage: 50% :exclamation:

:new: org.pentaho.googledrive.vfs.ui.GoogleAuthorizationDialog

Coverage: 0% :exclamation:

:new: org.pentaho.googledrive.vfs.ui.GoogleDriveFileChooserDialog

Coverage: 0% :exclamation:

:new: org.pentaho.googledrive.vfs.util.CustomAuthorizationCodeInstalledApp

Coverage: 0% :exclamation:

:new: org.pentaho.googledrive.vfs.util.CustomDataStoreFactory

Coverage: 0% :exclamation:

:new: org.pentaho.googledrive.vfs.util.CustomDataStoreFactory.CustomDataStore

Coverage: 0% :exclamation:

:new: org.pentaho.googledrive.vfs.util.CustomLocalServerReceiver

Coverage: 0% :exclamation:

:new: org.pentaho.googledrive.vfs.util.CustomLocalServerReceiver.Builder

Coverage: 0% :exclamation:

Note: The list of offending coverage changes extends beyond the presented results and was truncated to prevent reaching the comment size limit.

Please merge before the  8.1 QAT starts (6pm ET). The downstream server assembly PR was already merged and is failing on devci to resolve the plugin: http://devci.pentaho.com/job/8.1-snapshot/job/platform-server-assembly/56/console
14:40:40 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.10:unpack (unpack-plugins) on project pentaho-solutions: Unable to find artifact. Could not find artifact org.pentaho.di.plugins:pentaho-googledrive-vfs-plugin:zip:8.1-SNAPSHOT in pentaho.resolve.repo (http://ivy-nexus.pentaho.org/content/groups/omni)


[Bugfix][Model]Solve the problem of inability to infer on vllm after minicpm training or awq

FILL IN THE PR DESCRIPTION HERE
FIX #4641 (link existing issues this PR will resolve)
BEFORE SUBMITTING, PLEASE READ THE CHECKLIST BELOW AND FILL IN THE DESCRIPTION ABOVE

 PR Checklist (Click to Expand)
[Bugfix][Model] inference on minicpm trained model will error，and minicpm will support awq soon，but awq model don't work on vllm now， This pr will solve this problem

please ask @SUDA-HLT-ywfang for review. @SUDA-HLT-ywfang contributed the minicpm code.

please tell me how to contact him，I am a staff member of openbmb and one of the contributors of minicpm


Extends 'from' statement in authorization model

Hi,
some use cases I have to address in real-world scenarios require the from statement to be extended. Let say I have to following use case in Gherkin :
Given an existing user Test
And user Test is owner of a car SUV
And user Test is member of family Fga
And an existing user Other
When user Other becomes member of family Fga
Then user Other is driver of car SUV

Actually, this simple scenario would require the following authorization model, if I'm not mistaking it:
model
  schema 1.1
type user
type car
  relations
    define owner: [user]
    define driver: owner or [family#member]
type family
  relations
    define member: [user]

Also, I would have to insert the following tuples:

User
Relation
Object

user:Test
owner
car:SUV

user:Test
member
family:Fga

user:Other
member
family:Fga

family:Fga#member
driver
car:SUV

The purpose of this suggestion is to allow to use relations from another object's relations with a statement such as [family#member] from owner. With such an evolution, I would be allowed to have to the previous use case work with the following authorization model:
model
  schema 1.1
type user
type car
  relations
    define owner: [user]
    define driver: owner or [family#member] from owner
type family
  relations
    define member: [user]

And finally, I would only have to insert the following tuples:

User
Relation
Object

user:Test
owner
car:SUV

user:Test
member
family:Fga

user:Other
member
family:Fga

Please let me know if this evolution is realistic, or if you need further comments / explanations about it. Thanks!

Hey @geoffroybraun - The way to do what you are asking is:
model
  schema 1.1
type user
type car
  relations
    define owner: [user]
    define driver: owner or member from owner
type family
  relations
    define member: [user]

unfortunatly, it does not seem to work...

Sorry that was a very hasty distracted reply from my end - it definitely won't work, as the owner isn't the family!
For your case, what we would suggest, is making use of biderectional writes to do this - that means writing tuples to indicate that a user is a member of the family, and writing tuples to indicate that the family is related to the user.
For example:
Model:
model
  schema 1.1
type user
  relations
    define family: [family]
    define family_member: member from family
type car
  relations
    define owner: [user]
    define driver: owner or family_member from owner
type family
  relations
    define member: [user]

Tuples:
[
  {
    "user": "user:Test",
    "relation": "owner",
    "object": "car:SUV"
  }, {
    "user": "user:Test",
    "relation": "member",
    "object": "family:Fga"
  }, {
    "user": "family:Fga",
    "relation": "family",
    "object": "user:Test"
  }, {
    "user": "user:Other",
    "relation": "member",
    "object": "family:Fga"
  }, {
    "user": "family:Fga",
    "relation": "family",
    "object": "user:Other"
  }
]

https://play.fga.dev/stores/create/?id=01GW5Y8A25D0PWJNYRNC2X5KTE

@XVincentX, you are right. You do have a similar use-case.
What do you think about something like the model below?
Model
model
  schema 1.1
type group
  relations
    define member: [employee]
    define sibling: [group]
    define sibling_member: member from sibling
type employee
  relations
    define group: [group]
    define view_employmentInfo: [group] or sibling_member from group

Tuples
[
  {
    "user": "group:engineering",
    "relation": "group",
    "object": "employee:bob"
  },
  {
    "user": "employee:bob",
    "relation": "member",
    "object": "group:engineering"
  }, {
    "user": "group:hr-engineering",
    "relation": "sibling",
    "object": "group:engineering"
  }, {
    "user": "group:engineering",
    "relation": "sibling",
    "object": "group:hr-engineering"
  }, {
    "user": "group:hr-engineering",
    "relation": "group",
    "object": "employee:frank"
  }, {
    "user": "employee:frank",
    "relation": "member",
    "object": "group:hr-engineering"
  }
]

https://play.fga.dev/stores/create/?id=01GW5YV3T476SSGD6V9WJVB05T

Hi @rhamzeh !
Once again, thank you for the reply. The idea of the suggested syntax is to avoid having everything in the user type. The solution you suggested seems to be good, as it is working and we tested that approach before coming to you with this issue, but on a company scale, expecially a large one, I can't imagine how many relations the user could have, making it very confusing and hard to maintain over time...
The idea of the syntax [type#relation] from other_type intends to avoid having to "pollute" the user type, which will be at the very beginning of every question asked to OpenFGA.
Let me know if you need further explanation for that, thanks!

It's not. We are not planning to implement it any time soon. I should have clarified it before closing it.


Failed for synchronous call

I tried to synchronous request and response but failed. How can I change the asynchronous call to synchronous.
Has here any interceptor concept like retrofit, android ??

AFNetworking does not support sync called. Can you post some code?

Correct. AFNetworking does not support synchronous network requests, and there are no plans to add that feature.
If you need support it for, I would recommend looking into Dispatch Groups and wrapping your network calls with them.

I wrapped this up in a category:
https://github.com/paulmelnikow/AFNetworking-Synchronous


First join pickaxe enchants not working properly until item slots switched.

Describe the bug
So, the first join pickaxe enchants arent working untill the pickaxe gets moved to another slot.
To Reproduce
Steps to reproduce the behavior:

Get the first join pickaxe
Try mining (its really slow with the default enchants)
Then move it to another slot in your inventory
Look at the mining speed now

Expected behavior
When moving the pickaxe the speed multiplies and as a result the enchants start working.

it is not a bug I tested it and everything works perfect, please give more details if it still happens.


fix version navigation in release v1.9

In release v1.9, navigating to version v1.10 disappears
modified _config.yml in branch release-1.9
Issue: #8967

CLA Signed!

/assign @chenopis

@harshvkarn Thanks for opening this PR. Supported version strategy is CURRENT+4, so please remove the version block for 1.5 (lines 52-56).
Otherwise LGTM 👍

@zacharysarah I will send a fresh PR

@harshvkarn Sounds good, closing this one.

#9071


docs(readme): rewrite readme

Everyone will like it.
Closes #26

:tada: This PR is included in version 5.0.1 :tada:
The release is available on:

v5.0.1
GitHub release

Your semantic-release bot :package::rocket:


When i click to many times my mouse start to slow down and cant keep up making me lose many games

OS
MacOs ventura 13.2
LinearMouse
v0.8.0
Describe the bug
when i start clicking fast its start to go slow and cant keep up lagging and make me missing me all my shoots/swords
To reproduce
No response
Expected behavior
the next version this to be fixed
Anything else?
No response

Is it possible that you accidentally enabled click debouncing?

where is that?

Is this still reproducible?