Add payment methods and refactor payment intents for SCA

In order to test new SCA changes I updated current solution in few places:

Added support for payment methods
Added  finalize for invoices https://stripe.com/docs/api/invoices/finalize
I didn't like determine payment intent status by charge amount so I changed that to use credit card number according to: https://stripe.com/docs/payments/cards/testing#regulatory-cards
I added missing client_secret for payment_intent and also automatic_confirm_payment_intent to simulate Stripe automatic confirmation on the client side: https://stripe.com/docs/payments/payment-intents/migration/automatic-confirmation
Added creating payment intent during creating subscritpion. I need to write test for that part.

Thank you good sir!

great work, @lukasz-horonziak. what needs to be finished up to get this merged? I can help.

@typeoneerror I think it's ready as it is. My team is currently using this version for testing SCA flow and it works fine.
I think we should probably work on SetupIntent but it's another topic and it can be done in separate PR.

I think we should probably work on SetupIntent but it's another topic and it can be done in separate PR.

The SetupIntent API is already mostly correctly implemented in #630. I have successfully used this to test our implementation

I am a developer and my company depends on this gem heavily to test Stripe APIs. Currently, we are working on Stripe-SCA integration and we have our own fork which has majority of the SCA related objects integrated and it's working well.
I would like to become a contributor and help get this gem up-to-date. Please let me know how can I help in getting all the pending PRs merged.

@lukasz-horonziak @typeoneerror @vishnun anybody please rebase master or close this PR

@lukasz-horonziak do you need help with resolving the conflicts?
If you give me access, i can help with that.

@vishnun @alexmamonchik Thanks! I was looking at it and there is a lot of work. Cause Alex merged payment methods from other PR. I will look at it again tomorrow.

any news on this PR?

any news on this PR?

I think most of the changes that were added here have been added in other PRs. PaymentMethods, PaymentIntents and SetupIntents are supported.

@klaustopher is generating stripe intent id from JS supported? I don't see any way of doing that flow now, before I would use the generate_card_token helper. Or perhaps I need to change my test behaviour.


[HMR] Cannot check for update (Full reload needed) after angular error

I am getting the following warning when an error is made in the angular code. Obviously the second error is useful and is telling me that I have used a html element that angular does not understand however the first line seems incorrect and the HMR is broken from this point on wards (i.e. the code does not auto reload when I correct the angular error)

I am not sure when this started happening however I can reproduce it with the latest AspNetCore2.0 angular template and I can replicate it on a solution I have based on an older AspNetCore1.1 template from several months ago. I am certain that the code did not formally behave like this and that in this situation the screen would have been greyed out with a list of errors on the screen (as well as in the console error). Once the errors were fixed the HMR would have continued to operate and the code would have been rebuilt and the site continue to work.
I have a feeling that this may have broken for me in the last few days because I have only noticed it yesterday but I could have just not noticed it. Any ideas as to what this problem is?

Some kinds of errors effectively kill the HMR system, which means you need to fix those errors and manually reload the page in the browser to get back to a working state where HMR operates normally again. It looks like this is one of those cases.


Wrong graph descriptions

Probably just a minor issue, but the numbers reported in NewRelic are way too high.
I get something like 5000 req/s, I guess that should read 5000 req/min
Bests

+1
@yvasiyarov any news on this one? Is the scale right in the NewRelic graph? Thanks!

@yvasiyarov I changed the code to display the correct units in minutes. Problem is, changes in newrelic plugin dashboard are needed now.
Are you still available to maintain this plugin? I would volunteer to be a contributor and improve the graphs, add more metrics, better documentation and clean the issues. We've been working with https://tools.sphinxsearch.com too and we use sphinx & newrelic quite intensive in our company. If not, we will have to fork your project to fix all the problems.


simplifyRollFormula function sets the internal terms variable of a roll

The encapsulation of the Roll class is being broken by the simplifyRollFormula function which sets the roll.terms at several points.
This function seems to be manipulating the internals of the Roll, which appears to be counter to the concept of having a Roll class.
Perhaps the simplification code should actually be part of the class?

Roll#terms is a public property.

Yes. My point exactly.


Build failure with MSYS2 when using SCons from MSYS2

Godot version:
31d0f8ad8d5cf50a310ee7e8ada4dcdb4510690b "3.2.3-stable"
OS/device including version:
Windows 10 1909, x64, Intel Graphics that don't support Vulkan but that's a different issue, MSYS2 with Scons and GCC/G++ installed via it
Issue description:
Scons could not build Godot. It had an especially weird warning before compilation (command scons target=release_debug use_mingw=yes p=windows bits=64 -j4)-
Package x11 was not found in the pkg-config search path.
Perhaps you should add the directory containing `x11.pc'
to the PKG_CONFIG_PATH environment variable
No package 'x11' found

which I think is more of a Linux thing. I don't know if it mattered or not, but I got this error not very far into compilation-
[  2%] build_res_file(["platform/windows/godot_res.windows.opt.tools.64.o"], ["platform/windows/godot_res.rc"])
[  4%] Compiling ==> main/tests/test_ordered_hash_map.cpp
[  4%] Compiling ==> main/tests/test_physics.cpp
[  4%] scons: *** [platform/windows/godot_res.windows.opt.tools.64.o] Error 1
Compiling ==> main/tests/test_physics_2d.cpp
scons: building terminated because of errors.

Steps to reproduce:
Clone Godot with git clone www.github.com/godotengine/godot.git
cd godot
git switch --detach 3.2.3-stable
scons target=release_debug use_mingw=yes p=windows bits=64 -j4

on Windows with MYSY2, MinGW, and Scons as a MSYS package, NOT a pypi package.
Minimal reproduction project:
https://github.com/godotengine/godot/tree/3.2.3-stable

This is an issue with the MSYS2 SCons, most likely because MSYS has not updated their SCons package to 4.0.1. I built successfully with 4.0.1 SCons. I am keeping this issue open for reference. Maybe someone will care someday.

I think MSYS2's SCons package has been updated, and they now even package Godot. Can you try again?

No answer, closing.


Config file

Is it possible to change words used to search and the amount 9,12 etc if so how?
Thanks

No

No

The program must use a set word base? Would changing this mean compiling again?
Nowhere to change the amount of words to chose?


ADS Adsizes do not work for banner

smart_banner is the only one that it work !!

Please try out the latest version see if this is fixed.


No link previews - essential for evaluating links

There are no link previews in the keybase client, which is essential for quickly evaluating links (especially articles) for usefulness in group chats. Additionally, these are useful for figuring out the purpose of certain websites, without another user having to describe the website in their own words.

You talking about "Unfurling links" as its called in slack? https://api.slack.com/docs/message-link-unfurling


[VL] Can't run spark.plugins=io.glutenproject.GlutenPlugin with release jar

Backend
VL (Velox)
Bug description
bin/spark-shell
--conf spark.plugins=io.glutenproject.GlutenPlugin
--conf spark.memory.offHeap.enabled=true
--conf spark.memory.offHeap.size=20g
--conf spark.shuffle.manager=org.apache.spark.shuffle.sort.ColumnarShuffleManager
--jars /home/user/gluten-velox-bundle-spark3.3_2.12-1.1.0.jar
Output:
24/06/23 05:27:23 WARN NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Setting default log level to "WARN".
To adjust logging level use sc.setLogLevel(newLevel). For SparkR, use setLogLevel(newLevel).
OpenJDK 64-Bit Server VM warning: You have loaded library /tmp/gluten-78747346-ee81-43e9-80b1-ccc58bfa49bf/jni/5c51cec7-2a1d-4dd0-a8f9-406f8dc104ed/gluten-4920012601861087064/libvelox.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGILL (0x4) at pc=0x00007f0f88d19753, pid=769118, tid=0x00007f100970a700
#
# JRE version: OpenJDK Runtime Environment (8.0_412-b08) (build 1.8.0_412-b08)
# Java VM: OpenJDK 64-Bit Server VM (25.412-b08 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libgluten.so+0x30c753]  gluten::Runtime::registerFactory(std::string const&, std::function<gluten::Runtime* (std::unordered_map<std::string, std::string, std::hash<std::string>, std::equal_to<std::string>, std::allocator<std::pair<std::string const, std::string> > > const&)>)+0x23
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/user/spark/hs_err_pid769118.log
#
# If you would like to submit a bug report, please visit:
#   https://github.com/adoptium/adoptium-support/issues
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
bin/spark-shell: line 47: 769118 Aborted                 "${SPARK_HOME}"/bin/spark-submit --class org.apache.spark.repl.Main --name "Spark shell" "$@"

Spark version
Spark-3.3.x
Spark configurations
No response
System information
No response
Relevant logs
No response

Using release available here: https://github.com/apache/incubator-gluten/releases

Also reported https://github.com/apache/incubator-gluten/issues/5327 and https://github.com/apache/incubator-gluten/issues/6088

use "--conf spark.plugins=org.apache.gluten.GlutenPlugin" to have a try?

same here,Isn't this compatible with centos7？

https://github.com/apache/incubator-gluten/issues/5327#issuecomment-2223383863


Disable changing web address when flushbars are shown

On web, when a flush bar is shown it forcibly changes the web route to /flushbarRoute. Once the flushbar is dismissed the address reverts to what it was previously.
This is problematic because if the user refreshes the page while the flush bar is active (or takes any other navigation action dependent on the web address), then the page the user was on is lost.
The ideal solution would be to optionally disable the flushbars from changing the web address.

Hello, there's any solution to this problem?

hello, is there any workaround for this issue?

The original package can be modified to remove the FLUSHBAR_ROUTE changing when the flushbar is shown - not even sure why it's in there in the first place!

if you have the modified original package, kindly share the same, it would help me, thanks in advance


Correlate positive and negative mode alpha vectors

Not sure how to visualize it (?), but it would be a cool picture for the manuscript if we see any of the combinations that I passed on earlier showing up - and perhaps some novel ones?

Justin said low priority, nice to have but maybe don't bother if no time.

Whatever it is, seems like we're not doing it.


Fix typo

Fix docs typo

Would you like to merge this with #1030 so there's a single PR for them?


Improved README regarding readFromRoute feature

Added a note and link that ngRoute is required.
Explicitly state that only routes with templateUrl are tracked
Highlighted the properties added by angular-google-analytics

Sorry I didn't think of this sooner.

Thanks for spotting the typo.

Done.


TCP sendto removal + error when UDP for hostnames

UDP inet_pton(remote_ip)'s result is not checked -> the server ends up sending packets to the null address when a hostname is given instead of a IPv4 address. A error is now raised

TCP is using sendto() instead of send(). We can thus remove a useless inet_pton() call (which moreover differs from the gethostbyaddr used in setup_port() - possible issues when using hostnames)

Before the change:
$ mavsdk_server udpout://localhost:12345
[09:09:33|Info ] MAVSDK version: v2.12.2-108-g2328ed69 (mavsdk_impl.cpp:28)
[09:09:33|Info ] Waiting to discover system on udpout://localhost:12345... (connection_initiator.h:20)
Sits there quietly

After:
$ mavsdk_server udpout://localhost:12345
[09:10:33|Info ] MAVSDK version: v2.12.2-108-g2328ed69 (mavsdk_impl.cpp:28)
[09:10:33|Info ] Waiting to discover system on udpout://localhost:12345... (connection_initiator.h:20)
[09:10:33|Error] inet_pton failure for address: localhost (udp_connection.cpp:136)
[09:10:33|Error] Sending message failed (mavsdk_impl.cpp:480)
[09:10:34|Error] inet_pton failure for address: localhost (udp_connection.cpp:136)
[09:10:34|Error] Sending message failed (mavsdk_impl.cpp:480)
[09:10:35|Error] inet_pton failure for address: localhost (udp_connection.cpp:136)
[09:10:35|Error] Sending message failed (mavsdk_impl.cpp:480)

Investigating error on macos:
https://github.com/unjambonakap/MAVSDK/blob/c27f2cba1e3b7e1289f71dcb4c7863e23a7182a7/src/mavsdk/core/udp_connection.cpp#L228
F inet_ntoa on FreeBSD - not threadsafe (https://opensource.apple.com/source/Libc/Libc-391/net/FreeBSD/inet_ntoa.c.auto.html)
inet_ntop should be used

Feel free to make another PR :)


Make packages generate and expose their type declaration files

To do:

[ ] Figure out why some packages (helper-is-last-char, helper-only-numbers, is-valid-email) expose their types as declare module "index" instead of e.g. declare module "is-valid-email" (I couldn't find much about this error other than this issue https://github.com/Microsoft/TypeScript/issues/18311)

This fixes #37.

Hello @vhfmag.
We'll address this issue in the following proposal #36

@vhfmag thx for your PR.
We have a proposal at #36 that also fixes this bug.
I think we can merge this until we don't finish a new project structure.
What do you think @hyanmandian @lucassveloso

Thx @vhfmag for your awesome work!


Enable configuration of the editor command shortcuts

It would be interesting if the StackEdit editor comand bar is configurable and customizable.
There are a lot of commands there that I don't use, and at the same time there are some that is very important for me, like image uploading through Google Photos, which simply isn't available when using StackEdit on an smartphone due to the command hide order.

You could always install the 'hackers keyboard' app, which gives you a fully functional keypad (I believe the Gboard keyboard app does as well) and then have your tried using the keyboard shortcuts?
You can find and edit them by going to settings menu from main menu, then tap over to "Default Settings" and copy that entire box of text, tap over to the tab beside which says "Custom Settings" - paste your copied text in there and from custom tab scroll almost halfway down you should see the keyboard shortcuts with also a URL explaining how to configure etc.  Hopefully this workaround can workout for you?


Sample Request: How can I get hosts' vim.HostSystem instance when connected to vCenter

For method of vim.DiagnosticManager:
QueryDescriptions(host)'s Args:
host (vim.HostSystem, optional):
Specifies the host. If not specified, then it defaults to the server itself. For example, if called on VirtualCenter, then the value defaults to VirtualCenter logs. When called on an ESX server host, the host should not be specified.
How can I get the vim.HostSystem instance? When I connect to a host, how can I know whether it is vCenter or ESX?
I get confused when reading the docs and programmer guide. I can get ESX's logs easily when I connect to ESX directly, but cannot get it when I connect to vCenter.
Thanks!

I have already connected to the hosts using view. But I still cannot distinguish vCenter and ESX... They seem the same when I connect them using Smartconnect.

@GarfyPKU you might want to look at this https://github.com/pathcl/pyvmomi-community-samples/blob/get_datacenter/samples/get_datacenter.py

When you connect to a ServiceInstance, you can figure out if you are connected to vCenter or ESXi by accessing the [AboutInfo] (http://pubs.vmware.com/vsphere-60/index.jsp?topic=%2Fcom.vmware.wssdk.apiref.doc%2Fvim.AboutInfo.html).
For example,
# Getting AboutInfo from vCenter host
>>> si_vc = pyVim.connect.SmartConnect(host="<IP_ADDRESS>"<EMAIL_ADDRESS>pwd=vc_password)
>>> si_vc.content.about
(vim.AboutInfo) {
   dynamicType = <unset>,
   dynamicProperty = (vmodl.DynamicProperty) [],
   name = 'VMware vCenter Server',
   fullName = 'VMware vCenter Server 6.0.0 build-2656761',
   vendor = 'VMware, Inc.',
   version = '6.0.0',
   build = '2656761',
   localeVersion = 'INTL',
   localeBuild = '000',
   osType = 'linux-x64',
   productLineId = 'vpx',
   apiType = 'VirtualCenter',
   apiVersion = '6.0',
   instanceUuid = '0b1b10bb-c1ce-4cad-af0f-0e38d54b50a7',
   licenseProductName = 'VMware VirtualCenter Server',
   licenseProductVersion = '6.0'
}
>>>

# Getting AboutInfo from ESXi host
>>> si_esx = pyVim.connect.SmartConnect(host="<IP_ADDRESS>", user="root", pwd=esx_password)
>>> si_esx.content.about
(vim.AboutInfo) {
   dynamicType = <unset>,
   dynamicProperty = (vmodl.DynamicProperty) [],
   name = 'VMware ESXi',
   fullName = 'VMware ESXi 6.0.0 build-2715440',
   vendor = 'VMware, Inc.',
   version = '6.0.0',
   build = '2715440',
   localeVersion = 'INTL',
   localeBuild = '000',
   osType = 'vmnix-x86',
   productLineId = 'embeddedEsx',
   apiType = 'HostAgent',
   apiVersion = '6.0',
   instanceUuid = <unset>,
   licenseProductName = 'VMware ESX Server',
   licenseProductVersion = '6.0'
}
>>>

If you are connected to ESXi host, there will only be 1 HostSystem object.  If connected to vCenter, you will have zero or more HostSystem objects.  get_datacenter.py shows how to enumerate the HostSystem in both cases.


issues on noetic_devel_ekf_clean

Hello the team :
1/ when using gazebo + rviz on roslaunch quad_utils quad_gazebo.launch,
spirit_description, a1_description and ylo2_description added to ~/.bashrc
Spirit and A1 play correctly on rviz+gazebo
Ylo2 plays ok on rviz, but not under gazebo. Do I miss anything ?
spirit:

a1:

ylo2:

2/ under rviz, foot contacts are not same position on Ylo2 : Where should i investigate ?
steps modified for ylo2 robot : (following tuto)

4 Implement Custom NMPC Controller Files,
5 Update Local Planner,
6 Robot Driver.

spirit:

a1:

ylo2:

3/ should I need to change this too ?
https://github.com/robomechanics/quad-sdk/blob/9973ff94a6b28e74fd69b6b51f561b2515f9c59d/nmpc_controller/include/nmpc_controller/quad_nlp.h#L280-L289
not written on tuto : Adding-a-New-Type-of-Robot-to-Quad-SDK

Hi @elpimous,
Any updates? Quad-SDK's default estimator is still the comp filter. You can specify EKF by either directly changing it in the launch file, or feeding it in as an argument during launch.
Best,
David Ologan

Hello @ologandavid
Happy to here from you
Could you tell me what is the correct branch to use, for a Noetic real robot test, with ekf filtrer ?!
Noetic devel ekf clean didn't work a mont ago, on real (worked on sim)
Take care of you my friend
Vincent

Hi @elpimous,
Did it at least work for your robot in sim? There are a couple of things you would have to change to get it working on a real robot. First, you would need to input your robot's start configuration, (standing) to initialize the filter, and some tuning is probably required to see the desired results. You should also stop publishing the imu data from rviz, and instead use your robot's imu. I can push some more changes to that branch to make this process a little easier.
Best,
David Ologan

Yeah.
It worked nicely on sim with ylo2.
Oh, I anderstand now why it didn't work as expected on real.
Perhaps could you push a readme_for_real_usage.md ?!
Sure, modifying files could be cool for me, but some of my friend, like me, need to anderstand and test.. (and our brain isn't as accurate as your lol).
I'm really happy to see you taking care of your users..
So, the story continues.... Lol

Hi @elpimous,
Yeah, I can make some changes to the setup to help streamline it and add a readme in estimators.
Best,
David Ologan

@ologandavid
Please, perhaps could you informed us, here, when you'll make changes on devel ekf clean.
we'll test and report our progresse here, if you want.
We will be patient, for sure.

@ologandavid  Hi,
noetic_devel_ekf_clean, on SIMULATION working on ylo2

Questions :
1/ you need to input your robot's start configuration, (standing) to initialize the filter

Actually I changed sit_joint_angles stand_joint_angles sit_kp sit_kd from quad_util/config/ylo2.yaml
Is it what you were saying ?!

2/You should also stop publishing the imu data from rviz, and instead use your robot's imu

When using is_hardware=true in quad_spawn.launch,  the controller runs robot_driver/ylo2_interface
the variable last_imu_msg_ is feeded with my real IMU. (tested with a simple cout, into Ylo2Interface::recv function
It should be enough, correct ?

3/ Anything else to modify ?
THANKS

Hi @elpimous,
Sorry I haven't quite gotten to this yet.

When I say input the robot's start configuration, I mean directly in robot_driver's update_state function. In sim, I grab the robot's start state for the estimation from gazebo (estimated_state = last_robot_state_msg). For hardware, you need to do the same, but instead you need to initialize the robot on the starting stand state of your robot.

Regarding the IMU, I modified Spirit's urdf to publish to the imu topic in sim, but if you're using your already grabbing it from your robot you don't need to worry about this part.

Best,
David

Hi @ologandavid ...
Any help ?

Hey @ologandavid
Small up ?

@ologandavid
Hello, did you have Time to modify /devel code, for Real usage ?
What are the needed nodes, for Real ?
Merry Christmas all.
Vincent

Hi Vincent,
Thanks for all your patience.
I'm making some changes to the code to make this process a little easier for you. I don't think you should need any additional nodes outside of robot_driver to get estimation working. If you'd like we could schedule a formal meeting to work out some of the issues you've been having.
Happy Holidays,
David Ologan

Hi, cool. Could you tell me when it will be done.
About meeting, my english on visio? Would be erratic 😁.
I emailed you. Take your Time , and i Hope you'll not forget me. 😅🥳


How to continuously read data (maximum duration = infinity)

Hi,
I want to be able to stream data from Kafka, and have the transformation running continuously without ever stopping. How would I achieve that?  From what I understand the transformation will stop after 'maximum duration'

Hi,
Normally transformation wouldn't stop unless "consumer.timeout.ms" parameter is set, or "stop on empty topic" is enabled. Can you verify that?
Thanks!

Thanks!
Will do once I get this working

Closed due to inactivity.


json problem

I have this in mapping properties
'extra_info' => [
            'type' => 'object',
 ],

and after that
return Model::searchByQuery($query, null, null, static::OFFSET, $offset, $sortQuery)
            ->paginate(static::OFFSET);

I get this error:
json_decode() expects parameter 1 to be string, array given
ps. I was trying to make ajax request.
The thing is that I don't need this field, but if I set enabled=false, or index=no, or store=false(type=string) the index doesn't even generate AT ALL.
Any help? I'm stuck here (( how to not store this field?

What browser are you using? Can you see any information in the "Network" tab inside "Inspect Element" (for Google Chrome) or a similar tool with the web browser that you are using?

Model:

protected $casts = [
    'extra_info' => 'json',
];

protected $mappingProperties = [
    'id' => [
        'type' => 'long',
    ],
    'first_name' => [
        'type' => 'string',
        'index' => 'not_analyzed',
    ],
    'last_name' => [
        'type' => 'string',
        'index' => 'not_analyzed',
    ],
    'full_name' => [
        'type' => 'string',
        'fields' => [
            'raw' => [
                'type' => 'string',
                'index' => 'not_analyzed'
            ]
        ]
    ],
    'location' => [
        'type' => 'string',
    ],
    'extra_info' => [
        'type' => 'object',
    ],
    ......
]

Index:
....
"extra_info": {
    "connections": "244+",
    "skills": [
      "Devolved directional product",
      "Open-architected full-range collaboration",
      "Profound motivating encoding"
    ],
    "persons_in_common": [
      "Einar Mertz",
      "Jamaal Lueilwitz",
      "Deborah Kuhlman",
      "Chad Koepp"
    ],
    "languages": [
      "English",
      "Japanese"
    ],
    "interests": [
      "Finance",
      "Strategy",
      "Luxury"
    ],
    "im": "Skype: margarette.kertzmann",
    "git_followers": 4103,
    "summary": "Footman, 'and that for the baby, it was too much of a tree. By the time when she noticed a curious dream, dear, certainly: but now run in to your tea; it's getting late.' So Alice began to feel very uneasy: to be no doubt that it led into a small passage, not much surprised at this, but at last it unfolded its arms, took the regular course.' 'What was that?' inquired Alice. 'Reeling and Writhing, of course, Alice could not help bursting out laughing: and when she first saw the White Rabbit, jumping up in her hands, and was going to turn round on its axis--' 'Talking of axes,' said the Cat, 'a dog's not mad. You grant that?' 'I suppose so,'.",
    "username": "stracke.grayce",
    "website": "cole.com",
    "join_date": "03-07-2016",
    "twitter": "sunny05"
  },
  "user_id": 1,
  ......

This is how i made it :
Model::deleteIndex();
Model::createIndex();
Model::with(['company', 'emails', 'tags'])->chunk(500, function ($models){
    $models->addToIndex();
    $this->total += $models->count();
    $this->info("{$this->total} $models added to index...");
});

error:
https://jsfiddle.net/moren/ad9s29pj/
No error if json cast removed

Hi i would like ask you, if this is fix? i have same problem, when i have in my model column, that is json, whne i getting data from ES i have getting this error : json_decode() expects parameter 1 to be string, array given. Index is ok, in index the column params is array/object, that is right, but during hydration is problem. I suppose that reason for that is, that params are allready in array, because ES index, where params are already converted. Pls give me a tip. Thank you.


IR signal doesn't always turn device on.

I'm noticing that sometimes the IR signal won't work and i'll have to ask siri or turn the switch on and off 2-3 times before it actually works?  I have the latest build.  How do I debug this?

You should see messages that says sendHex whenever the IR is actually being sent.
On 30 Apr 2017, 6:50 PM +1000, JT<EMAIL_ADDRESS>wrote:

I'm noticing that sometimes the IR signal won't work and i'll have to ask siri or turn the switch on and off 2-3 times before it actually works? I have the latest build. How do I debug this?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub (https://github.com/lprhodes/homebridge-broadlink-rm/issues/71), or mute the thread (https://github.com/notifications/unsubscribe-auth/AAJ8re_yzEQGcDEF_9j58132sPRy45yGks5r1EtCgaJpZM4NMgt9).

Closing - feel free to reopen if you need more help


Ensure CSS can be consumed modularly

Hi PF Next 👋 😸
I am really excited about the work taking place here and looking forward to starting to consume some of the components being developed. One thing I have noticed downstream and that has been raised in some recent UXD Dev discussions w/ @cliffpyles @dgutride @dmiller9911 @jeff-phillips-18  is the ability to load component/layout/pattern CSS individually along w/ a JS module. We are beginning to look at modularizing the JS bundles to reduce the page weight and improve performance downstream. It would be great to do the same w/ CSS.
So I'd like to open this issue as an initial request/discussion issue and request guidance on how best to load the CSS for PF Next modules. Some things that would be really nice after initial discussion:

guidance on what sass includes (utilities/mixins/global variables/component/pattern sass) are needed for each component/layout/pattern
guidance on component/pattern structuring and terminology from a JS standpoint
guidance on bundling strategy to reduce the page weight as much as possible

This should further enable adoption sooner downstream (as modular consumption becomes available and can be targeted in our apps).
@cliffpyles @dgutride @dmiller9911 @jeff-phillips-18 - thanks for your support and discussions on this so far.

hey @priley86 I think this issue has been addressed so I am going to close it. If you fee like you'd like to have further discussion feel free to re-open.


Cannot publish migration

When I run php artisan entrust:migration, it throws the exception.
Tables: roles, role_user, permissions, permission_role
A migration that creates 'roles', 'role_user', 'permissions', 'permission_role' tables will be created in database/migrations directory

 Proceed with the migration creation? [Yes|no] (yes/no) [yes]:
 >

Creating migration...

  [Symfony\Component\Debug\Exception\FatalThrowableError]
  Class name must be a valid object or a string

Solved by using branch laravel-5

it does not work for me, I have the same error

Try below package.
https://github.com/klaravel/ntrust

@klaravel this is also an issue in your package

@kinosang how were you able to solve it? Do explain more...

@fbownz change dev-master to branch dev-laravel-5. But I suggest to use santigarcor/laratrust for role-based permissions.

@kinosang Thanks for this, I wasn't able to use dev-laravel-5 branch but the good news is I was able to get santigarcor/laratrust to work.


rancher-desktop: Could not find a valid Docker environment. Please see logs and check configuration

DockerClientProviderStrategy.java is unable to locate the docker environment when using rancher-desktop.
Any suggestions on how this can be fixed? or does it require an enhancement?

Last time we checked, Rancher Desktop did not expose Docker API. To run Testcontainers, you need to have Docker API available, either with Docker or alternatives to it (such as Podman).
There is nothing to fix in Testcontainers. Once/if Rancher Desktop adds support for Docker API, you should be able to point Testcontainers to it.
Also see https://www.atomicjar.com/2021/10/docker-on-windows-and-macos/

There is Rancher Desktop section that has been added about how to set up Testcontainers.


build(property-proxy): use node16 module resolution

Semi-automatic PR to switch to node16 module resolution

clsoing in favor of https://github.com/microsoft/FluidFramework/pull/20313


Add option to enable vSphere toplogy in rancher-vsphere RKE1/RKE2 charts

Is your feature request related to a problem? Please describe.
Captured in https://github.com/rancher/rke2/issues/3468, the feature is enabled via flags which are not currently exposed as a helm value.
Describe the solution you'd like
Helm value to enable the topology plugin for the vSphere CSI
Checklist for items that need completed

[x] Update Image-mirror repo
[x] Update manifests in rancher/vsphere-charts
[x] Verify Slack hook notified about chart "release" in relevant channels
[x] Update chart in rancher/charts
[ ] Update chart in rancher/rke2-charts (RKE2 team)
[ ] Updated RKE2 to consume new chart (RKE2 team)

SURE-5967

https://github.com/rancher/rancher/issues/40783 was closed because it's already being tracked in this issue.

Will resume work on this issue post rancher 2.7.x release and will bundle the vSphere topology update with the next round of image bumps.

synched up @sergey and decided to move all vsphere issues to Q3.

This has been moved to Q2 because it will be fixed as part of the latest CSI updates. When testing the chart on rke today, I will add a custom helm value for topology and ensure that deploys successfully.

@dkeightley Could you enlighten me as to how you tested this? I asked here as well :) https://github.com/rancher/vsphere-charts/pull/42#pullrequestreview-1324406190 I'm testing this feature on an rke cluster and am not seeing the TopologyKey labels get set on the csinodes despite them being passed into the chart.

Test plan
Test steps

Run rancher instance of v2.7-head on a vsphere node
Provision a 1 cp/etcd,2 worker rke vsphere node driver cluster via the UI.
Install the CSI chart with the topology plugin and test values for k8s region and zone. Verify the chart yaml and labels set on the csinodes to ensure the plugin is functioning properly

test file
vCenter:
  host: "<host>"
  port: <port>
  insecureFlag: true
  clusterId: "ablender-test-cluster-id"
  datacenters: "<datacenter>"
  username: "<username>"
  password: "<password>"

# labels for regions and zones
labels:
  region: k8s-region-test
  zone: k8s-zone-test

topology:
  enabled: true

Installed CSI
helm install -f values.yaml --kubeconfig ~/Downloads/ablender-126.yaml csi ./charts/rancher-vsphere-csi

Chart deployed successfully and pods are healthy, and based on the VMware topology docs, I verified that topology was enabled:true in the chart yaml.
However, cis nodes did not have the TopologyKeys labels on the cisnodes.
kubectl get csinodes -o jsonpath='{range .items[*]}{.metadata.name} {.spec}{"\n"}{end}' --kubeconfig ~/Downloads/ablender-126.yaml
ablender-126-cp-etcd1 {"drivers":[{"allocatable":{"count":59},"name":"csi.vsphere.vmware.com","nodeID":"4208d0e8-3e5f-214b-054c-b4c65f5e7cba","topologyKeys":null}]}
ablender-126-worker1 {"drivers":[{"allocatable":{"count":59},"name":"csi.vsphere.vmware.com","nodeID":"4208d41a-b9d7-fb66-4499-26831ac22cb1","topologyKeys":null}]}
ablender-126-worker2 {"drivers":[{"allocatable":{"count":59},"name":"csi.vsphere.vmware.com","nodeID":"42081a1c-9385-20ab-1fd6-03368b219d78","topologyKeys":null}]}

The values are being passed to the chart but the TopologyKeys label is not getting set on the nodes somehow. Could you enlighten me as to how you tested this? I asked here as well :) https://github.com/rancher/vsphere-charts/pull/42#pullrequestreview-1324406190

Will poke around to see if I can create categories/tags in the vsphere backend infra so QA can test functionality.

I believe it is on the end user to set the topology keys themselves by creating tags on the vSphere datacenter and server resources, as per the upstream docs. The vsphere configuration file for the Kubernetes cluster must then list the tags that hold the region and zone values, in the topology-categories value of the Labels section. I'm not sure if any of these tags are set in our vSphere environment?

@brandond I've setup the categories/tags on our backend vsphere infra and followed the instructions from the vmWare docs to set zoning on the downstream cluster nodes. I haven't been able to see TopologyKeys get set on the nodes so far, so I'm assuming it's not working? vmWare also doesn't make it clear whether these labels are required for functionality of the plugin.
vsphere categories

vsphere Tags
-coming-
I reprovisioned my rke cluster with a node template that included a tag for k8s region-1 / zone-A

I installed CSI again
helm install -f values.yaml --kubeconfig ~/Downloads/ablender-126.yaml csi ./charts/rancher-vsphere-csi

No TopologyKeys were set like before
ablender-126-cp-etcd1 {"drivers":[{"allocatable":{"count":59},"name":"csi.vsphere.vmware.com","nodeID":"4208d0e8-3e5f-214b-054c-b4c65f5e7cba","topologyKeys":null}]}
ablender-126-worker1 {"drivers":[{"allocatable":{"count":59},"name":"csi.vsphere.vmware.com","nodeID":"4208d41a-b9d7-fb66-4499-26831ac22cb1","topologyKeys":null}]}
ablender-126-worker2 {"drivers":[{"allocatable":{"count":59},"name":"csi.vsphere.vmware.com","nodeID":"42081a1c-9385-20ab-1fd6-03368b219d78","topologyKeys":null}]}

The tags need to be placed on the datacenter and cluster in vsphere, not on the VM nodes.

@brandond So does this feature only work for imported clusters? I have VMs setup in vsphere but no clusters are listed so I can't tag them. Do you mean tag the host or cp node?

I investigated, and discovered we currently only have a Datacenter and EXSi hosts setup which Rancher can deploy cluster nodes onto. We don't have any clusters setup in vsphere to tag. We'll want to get that infra setup at some point, but for now we can just verify the chart deploys without error.
@thaneunsoo Please test this using test plan and verify the CSI chart deploys and runs successfully with topology enabled. The TopologyKeys on csinodes will be null for now until the infra is setup.

@a-blender

Test steps

Run rancher instance of v2.7-head on a vsphere node
Provision a 1 cp/etcd,2 worker rke vsphere node driver cluster via the UI.
Install the CSI chart with the topology plugin and test values for k8s region and zone. Verify the chart yaml and labels set on the csinodes to ensure the plugin is functioning properly.

Interested into this feature, having a multi DC vSphere setup currently running Rancher Prime 2.7.3 where this feature is not yet available.
Trying to follow the steps above:
In step 2, creating the downstream cluster, we have the option to configure vSphere or Default or External cloud provider. If we leave the Default, the default cloud provider is used but step3 fails because the port used by vSphere provider is already used by the default rancher provider. Any suggestion?

@bsctl Please reach out to @jiaqiluo with Rancher Prime questions or create a new GH issue. Thanks!

@jiaqiluo RKE2

If using RKE2, you should chose the vsphere cloud provider when provisioning the cluster. The May releases will include topology support. If you use the default but then try to install the chart later from Rancher Apps, you will run into port conflicts due to running multiple cloud provider implementations.

@brandond yep that’s my issue. So the resolution is to update RKE2? Please advice. Thanks

Yes, once you update to the may release, you should be able to configure the vsphere charts bundled with rke2 to enable topology support. Note that the releases are currently in QA and not yet available.

@brandond any chance to get it working by using current RKE2 version?
v1.25.9+rke2r1", GitCommit:"a1a87a0a2bcd605820920c6b0e618a8ab7d117d4", GitTreeState:"clean", BuildDate:"2023-04-12T19:05:26Z"
And manually hack the deployment as described in official vSphere doc?  We're tring to do it but withous success, so just asking to avoid wasting time. Thanks.

There is no way to enable it in the version of the chart currently bundled with RKE2, which means you can't enable it at cluster creation time. You'd need to disable the rancher-vsphere-csi chart and deploy the newer version manually.

@brandond how to disable the cloud provider at creation time? I do not want to use UI, I'm using the terraform module
resource "rancher2_cluster_v2" "main" {
  name                  = var.cluster_name
  kubernetes_version    = var.rke2_version
  enable_network_policy = false

  default_pod_security_policy_template_name = ""

  rke_config {
    chart_values = <<-EOT
      rke2-calico:
        installation:
          calicoNetwork:
            bgp: Enabled
            ipPools:
              - blockSize: 26
                cidr: <IP_ADDRESS>/16
                encapsulation: IPIPCrossSubnet
      EOT
  }
}

with the config above, the RKE2 cluster is provisioned with Default RKE2 Embedded cloud provider. I do not want enable any cloud provider at creation time, so I can install the vsphere provider by my own.

I'm not sure how to do that from the teraform provider. You would need to disable the built-in cloud provider, and then specify additional manifests to deploy the rancher-vsphere-cpi and rancher-vsphere-csi charts. It's probably going to be a fair bit of work, when you could just wait a couple days for the new releases to be out.


Virtualized svg for displaying timings makes navigation harder

The virtualization helps to improve performance and keep the size of SVG stable. However, the names of the modules that are not in the SVG viewport are not in DOM. So, browser search in page does not work. It is hard to find a module of interest.

will improve navigation/search feature.


How i can upload multi Images and upload pdf

see this video pull form dev
https://www.youtube.com/watch?v=T5X2-F9hBZk&index=15&list=PLYp_Kd32XvcrdYfidiS1_vnHtUMa96VI2

give me screen shot of from you build to check some thing


Don't use libkb.G in bind or keybase/main

nevermind, this fails....will have to do the big ticket.

Fails because KBFS uses G?

no, because libkb.G isn't configured and the stragglers crash.

(the service)

I thought this would be a quick win.


Azure Devops Preview Plugin doesn't work with visualstudio.com domains

Suggested new feature or improvement
Looks like Current Azure Devops plugin only works with devops.azure.com domains but not with older visualstudio.com domains. I try with my admin account and i am keep getting. I am surely authorized and admin on the repo i try. Please improve this.

Scenario
Enable visualstudio.com repos
Additional details
No response

I'm using .visualstudio.com and I don't have problem with it. I even have whitespace in URL (%20).

Problem might be that my email is try to login is admin on 2 organisations 1 with visualstudio.com domain other with azuredevops. It only pulls the azuredevops. Not sure how to get other one.

@dkbennett @jamespik @ssparach any idea what might be happening here? Or logs that would be useful to debug?

We definitely support visualstudio.com host names, and we support multiple accounts. For the pull request widgets there is a drop-down for you to choose the account. I can't tell from the screenshot whether the correct account is being specified. If you don't specify an account in the drop-down it will guess the one you want, but may guess incorrectly. Please ensure you are specifying the account in the drop-down selection that you want.

PR widget only has dropdown for email address but not for Repository to choose and when I manually enter the repo url, it says i am not the owner although i am the owner. "Add Repository" widget also only displays repos from Azudevops. You should maybe make a test someone being both devops and Vs domain owner and try to get both accounts on the widget .

PR widget only has dropdown for email address but not for Repository to choose and when I manually enter the repo url, it says i am not the owner although i am the owner.

The repository is chosen by providing a URL to the repository, and the associated account you select in the dropdown to use with that repository. The account is listed by login (which is usually email address). The account has to be added in the settings -> accounts.
I have been unable to reproduce this issue. I also do not understand why being an owner of the repository would matter. You don't need to be an owner, only to have authorized access. Can you please confirm if you have added the account that has access to that repository and are selecting it in the dropdown menu when configuring the widget?

"Add Repository" widget also only displays repos from Azudevops. You should maybe make a test someone being both devops and Vs domain owner and try to get both accounts on the widget .

@dhoehna for this. There is no add repository widget but I think they mean the Clone Repository tools, which do have an "Add Repository" button.

Is this still happening? I have been unable to reproduce this issue using same devops or visualstudio.com addresses for the same repository. The Uri parsing handles both equivalently and accurately per the tests that validate this and personal testing I have done with it.


Discrepancy between integration Power and Midea app power

Hi.
I've found a discrepancy between AC power consumption in the Midea app and HA Integration:

Overall home power consumption sensor shows that the app is correct.

Probably due to https://github.com/mill1000/midea-msmart/issues/154

Can you provide debug logs for your device?

Here they are:
MideaDebugLogs.zip

Thanks. Yeah looks like this is the same.
The alternate decode puts the power at approx. 249 W

This is closer to be true, yes

Ok thanks. I haven't decided how I want to handle this yet.
I don't know if anyone has confirmed the current power number as valid yet on their device.

Using a Midea PortaSplit here.
I can confirm power and energy I see in HomeAssistant are 1. different to values in the SmartHome app and 2. different to values measured by a Shelly PlusPlugS.
Even worse: the energy curves in HomeAssistant jump backwards which makes them completely useless in the HA Energy Dashboard.

Even worse: the energy curves in HomeAssistant jump backwards which makes them completely useless in the HA Energy Dashboard.

This could be due to improper parsing of the data.
Can you provide debug logs from your device along with a snapshot of the energy usages from the SmartHome app and/or Shelly.

Even worse: the energy curves in HomeAssistant jump backwards which makes them completely useless in the HA Energy Dashboard.

This could be due to improper parsing of the data.
Can you provide debug logs from your device along with a snapshot of the energy usages from the SmartHome app and/or Shelly.

Here you go, hope that helps: midea (1).zip

Thanks. Here's two possible interpretations
Existing BCD decoding
BCD Energy Total 4.31, Current 0.33, Power 97.5

Binary decoding
Bin Energy Total 971, Current 51, Power 2415

Power should be divided by 10 to get Watts.
It would be really interesting to get a debug log when the total energy jump backwards.

It would be really interesting to get a debug log when the total energy jump backwards.

There are two types of backward jumps.
First happens roughly every hour if the device is on, looks like small sawtooths in the graph, jumping back around 0.05 kWh each time.
Second type is that big jump, which does happen roughly once a day, jumping back around 0.65 kWh.  I attach the debug log and screenshot from yesterday including such a jump between 14:15 and 14:25 (CEST).  Note: The total value is also wrong.  While in HA it is at 6.46 kWh it is at 12.07 kWh in the SmartHome app.
Hope you find it in the logs, quite big this time.
2024-08-27.zip

Hi, I am also experiencing this issue. Is there a way to switch over to Binary encoding yet? I installed the feature/alternate_energy branch and enabled the alternate energy feature, but the reported energy is still not correct

Branch hasn't been tested yet, so probably just a bug

Power looks good now. 🥳
Total Energy is still wrong, and current energy probably wrong too.  Shall we create a new ticket for that?

Power also looks good now on my installation, energy seems to be off by factor 10 (A/C was running for an hour with ~320 W power, but reports 3.2 kWh for this period)

Total Energy is still wrong, and current energy probably wrong too. Shall we create a new ticket for that?

Sure lets track that separately. What does the energy look like now and what do you expect instead?

Thanks for the fix @mill1000
I was about to open an issue, but I found this fix and it worked perfectly after updating to 2024.9.0


Debug panic in packet assembler

In debug mode I got a panic if the packet assembler is overwhelmed for long time with 1 byte sends and probably misses to reject it due to an overflow or similar? (Even though I have no idea how the sender got into sending only single bytes – maybe it isn't related to the panic and it works with multiple of bytes, too. Edit: Ah, the silly window syndrome.).
TRACE 2018-08-29T22:15:48Z: smoltcp::socket::tcp: #13:<IP_ADDRESS>:8080:<IP_ADDRESS>:56349: assembler: [ (446) 283 (295) 103 (626) 737 (497510) ]
TRACE 2018-08-29T22:15:48Z: smoltcp::socket::tcp: #13:<IP_ADDRESS>:8080:<IP_ADDRESS>:56349: ACKing incoming segment
TRACE 2018-08-29T22:15:48Z: smoltcp::socket::tcp: #13:<IP_ADDRESS>:8080:<IP_ADDRESS>:56349: rx buffer: receiving 1 octets at offset 2490
TRACE 2018-08-29T22:15:48Z: smoltcp::socket::tcp: #13:<IP_ADDRESS>:8080:<IP_ADDRESS>:56349: assembler: [ (446) 283 (295) 103 (626) 738 (497509) ]
TRACE 2018-08-29T22:15:48Z: smoltcp::socket::tcp: #13:<IP_ADDRESS>:8080:<IP_ADDRESS>:56349: ACKing incoming segment
TRACE 2018-08-29T22:15:48Z: smoltcp::socket::tcp: #13:<IP_ADDRESS>:8080:<IP_ADDRESS>:56349: rx buffer: receiving 1 octets at offset 2491
TRACE 2018-08-29T22:15:48Z: smoltcp::socket::tcp: #13:<IP_ADDRESS>:8080:<IP_ADDRESS>:56349: assembler: [ (446) 283 (295) 103 (626) 739 (497508) ]
TRACE 2018-08-29T22:15:48Z: smoltcp::socket::tcp: #13:<IP_ADDRESS>:8080:<IP_ADDRESS>:56349: ACKing incoming segment
TRACE 2018-08-29T22:15:48Z: smoltcp::socket::tcp: #13:<IP_ADDRESS>:8080:<IP_ADDRESS>:56349: rx buffer: receiving 1 octets at offset 2492
TRACE 2018-08-29T22:15:48Z: smoltcp::socket::tcp: #13:<IP_ADDRESS>:8080:<IP_ADDRESS>:56349: assembler: [ (446) 283 (295) 103 (626) 740 (497507) ]
TRACE 2018-08-29T22:15:48Z: smoltcp::socket::tcp: #13:<IP_ADDRESS>:8080:<IP_ADDRESS>:56349: ACKing incoming segment
DEBUG 2018-08-29T22:15:48Z: smoltcp::socket::tcp: #13:<IP_ADDRESS>:8080:<IP_ADDRESS>:56349: assembler: too many holes to add 1 octets at offset 2836
[… many more]
DEBUG 2018-08-29T22:15:48Z: smoltcp::socket::tcp: #13:<IP_ADDRESS>:8080:<IP_ADDRESS>:56349: assembler: too many holes to add 1 octets at offset 4074
[…]
DEBUG 2018-08-29T22:15:48Z: smoltcp::socket::tcp: #13:<IP_ADDRESS>:8080:<IP_ADDRESS>:56349: assembler: too many holes to add 1 octets at offset 4075
DEBUG 2018-08-29T22:15:48Z: smoltcp::iface::ethernet: cannot process ingress packet: dropped by socket
DEBUG 2018-08-29T22:15:48Z: smoltcp::iface::ethernet: packet dump follows:
EthernetII src=aa-bb-cc-dd-ee-02 dst=aa-bb-cc-dd-ee-07 type=IPv4
\ IPv4 src=<IP_ADDRESS> dst=<IP_ADDRESS> proto=TCP
 \ TCP src=56349 dst=8080 seq=505333 ack=1 win=62500 len=1
poll result: Dropped
panicked at 'assertion failed: size == 0', ./smoltcp/src/storage/assembler.rs:201:9
stack backtrace:
   0:     0x563f39a3d57e - std::sys::unix::backtrace::tracing::imp::unwind_backtrace::h1410ee01a7694834
                               at libstd/sys/unix/backtrace/tracing/gcc_s.rs:49
   1:     0x563f39a2ad96 - std::sys_common::backtrace::print::h1962f4c30d928b1d
                               at libstd/sys_common/backtrace.rs:71
                               at libstd/sys_common/backtrace.rs:59
   2:     0x563f39a2915d - std::panicking::default_hook::{{closure}}::h66071f1a30ddacaa
                               at libstd/panicking.rs:211
   3:     0x563f39a28ed0 - std::panicking::default_hook::h8288f681d56575d2
                               at libstd/panicking.rs:227
   4:     0x563f39a297cc - std::panicking::rust_panic_with_hook::h46fa5def146c1328
                               at libstd/panicking.rs:475
   5:     0x563f39a24caf - std::panicking::begin_panic::hafaf759661cad18b
                               at /checkout/src/libstd/panicking.rs:409
   6:     0x563f399f4d2b - smoltcp::storage::assembler::Assembler::add::h18d6fa689dd019ad
                               at ./smoltcp/src/storage/assembler.rs:201
   7:     0x563f399af4b8 - smoltcp::socket::tcp::TcpSocket::process::h0e8c82c6a50e097b
                               at ./smoltcp/src/socket/tcp.rs:1249
   8:     0x563f399ddf13 - smoltcp::iface::ethernet::InterfaceInner::process_tcp::h60c7cba9920864db
                               at ./smoltcp/src/iface/ethernet.rs:1308
   9:     0x563f395965ee - smoltcp::iface::ethernet::InterfaceInner::process_ipv4::hb008add919e7d7ad
                               at ./smoltcp/src/iface/ethernet.rs:936
  10:     0x563f3959732e - smoltcp::iface::ethernet::InterfaceInner::process_ethernet::haa742a5de2d6922e
                               at ./smoltcp/src/iface/ethernet.rs:736
  11:     0x563f3957dfbb - <smoltcp::iface::ethernet::Interface<'b, 'c, 'e, DeviceT>>::socket_ingress::{{closure}}::h3e90c5c09cd413d2
                               at ./smoltcp/src/iface/ethernet.rs:505
  12:     0x563f3951f600 - <RxToken as smoltcp::phy::RxToken>::consume::hf259c7e3ae4dbad1
                               at …
  13:     0x563f3957db96 - <smoltcp::iface::ethernet::Interface<'b, 'c, 'e, DeviceT>>::socket_ingress::hc1d013d9d870336a
                               at ./smoltcp/src/iface/ethernet.rs:504
  14:     0x563f3958012e - <smoltcp::iface::ethernet::Interface<'b, 'c, 'e, DeviceT>>::poll::hce442aff8bb9beff
                               at ./smoltcp/src/iface/ethernet.rs:441
[…]

This is interesting. The logic in Assembler::add is not trivial. Do you think you could record a trace under rr so that I can step back through it?

I have no idea, but probably data loss--this assert is there for a good reason. We actually might want to elevate it to assert!.

The while loop can be left if index == self.contigs.len(). What should be the result in this case?

I don't actually know! I wrote this code a while ago and I don't remember the exact rationale for that condition. How about adding a fuzzer-based test that generates and feeds the assembler random data ranges and sees what happens? That should discover a reduced test case for the crash very rapidly.

I'm new to reading it as well and reported this here in case others also observe it. By reading quickly, I'm very suspicious about this part because it can explain why suddenlty the 1-length packet was not dropped anymore:
                self.contigs[index].shrink_hole_by(offset + size);
                let inserted = self.add_contig_at(index)?;

The ? in add_contig_at was responsible for rejecting the packet with the "too many holes" error. But the line before changed the contig state even if this line will reject the packet.

Excellent catch! Can you write a testcase?

I'll have to dive into it a bit more, then yes ;)


Can't log in 'as sysdba' for any sysdba user other than SYS

Which version and edition of Flyway are you using?
6.4.2
If this is not the latest version, can you reproduce the issue with the latest one as well?
(Many bugs are fixed in newer releases and upgrading will often resolve the issue)
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)
Gradle
Which database are you using (type & version)?
Oracle 19c 19.2
Which operating system are you using?
Linux OEL 7.8
What did you do?
(Please include the content causing the issue, any relevant configuration settings, the SQL statement that failed (if relevant) and the command you ran.)
We don't want to use the default SYS user so we cloned it and created FLYWAY_USER with exactly the same roles and privileges as SYS. The intention is to reduce the privileges to the bare minimum in the future.
Gradle plugin works fine when user is SYS e.g.
flyway {
user = 'SYS as SYSDBA'
}
but when we set
flyway {
user = FLYWAY_USER as SYSDBA'
}
it fails to connect. We can connect as FLYWAY_USER as SYSDBA via sqlplus and sqldeveloper with no issues.
Does Flyway only support using the SYS user?
What did you expect to see?
We would expect the FLYWAY_USER to connect and perform the migration just like the SYS user.
What did you see instead?
Flyway fails to connect to the database to start the migration. We get the following error:
Error occurred while executing flywayClean
Unable to obtain connection from database (jdbc:oracle:thin:@//xxx.com:1521/service.com) for user 'FLYWAY_USER as SYSDBA': ORA-01017: invalid username/password; logon denied

There's nothing special in Flyway about the SYS user. It appears to be a property of the Oracle JDBC driver: see https://stackoverflow.com/questions/10101517/how-to-connect-in-java-as-sys-to-oracle
"If you want to connect your database with user other than "sys" as "sysdba" then you have to change the driver from "thin" to "oci" to make the successful connection."

That would explain it.
We've worked around it by creating the non sysdba user with a role that has all the required grants with admin options set.


add missing state for both Window and Door open

working on implementation of binary sensor for each door to detect window/door opened/closed and noticed we are missing state where both door and window is opened (state=4)

Lgtm, but wonder what we use DoorWindowState for. If we use lower_snake_case, it would fit HA translations better

we are using just key from DoorWindowState, not the string, but maybe we can remove DoorWindowState and keep only CarWindowDoorStates?

Yes, agree. Feel free to mark it as deprecated, removal in v1.0.0

ok, will update tests accordingly to use

Yes, agree. Feel free to mark it as deprecated, removal in v1.0.0
According to semver, we only make breaking changes in major versions. Removal of a class is breaking.
No idea yet when v1.0.0 will happen, not in 2024😄

Even if the class is used just internally in one private method? I have removed CarWindowDoorStates because its not used anywhere, only by private _extract_window_door_state_list_from_url() and changed the DoorWindowState from StrEnum to IntEnum... We are not using those classes anywhere in the code yet (just DoorWindowState in tests)

If it is not exposed in any way, there is no problem indeed


highlight function in outline from editor

If you click a function/method in the outline view, the editor automatically jums to it. But it would be nice to step on a function in the editor, and get that method highlighted in the outline

I'm curious about the difference between this request and the existing "Follow Cursor" feature.

@Lemmingh there's no difference, that's exacly what I was looking for. It would be interesting to know why is an option and not default behavior

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


[SPARK-23416][SS] handle streaming interrupts in ThreadUtils.awaitResult()

What changes were proposed in this pull request?
StreamExecution.isInterruptedByStop() implements a whitelist of exceptions which indicate a benign stop() call. The DataSourceV2 write path introduces a new kind of exception, SparkException caused by InterruptedException, which must be added to this whitelist. (This exception comes from an interrupt in ThreadUtils.awaitResult().)
How was this patch tested?
Existing unit tests. Unfortunately, the underlying flakiness is reasonably rare, so I don't have a good idea for how to test that this resolves it.

/cc @dongjoon-hyun @mgaido91 @tdas @zsxwing

Can one of the admins verify this patch?

Test build #87421 has started for PR 20602 at commit 24a621e.

Test build #87421 has finished for PR 20602 at commit 24a621e.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/87421/
Test FAILed.

Can we just fix WriteToDataSourceV2Exec instead?

Can you clarify? I don't think that WriteToDataSourceV2Exec is doing anything wrong here.

@jose-torres it wraps all Throwables with SparkException. I would prefer to throw fatal errors directly.

Test build #87423 has finished for PR 20602 at commit f620083.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/87423/
Test PASSed.


[Feature Request]: I should be able to choose the color for the bl-badge used in the bl-tab

Describe the problem or use case

When I use badge in a tab as in the image, I can only decide on the text inside the badge.  I should be able to choose different colors (like: #FFEEEB, ...) or types (like: Approved, Warning, Denied) for the badge.
Proposed solution
<bl-tab name="test-1" slot="tabs" badge="New">Tab 1</bl-tab>
New attribute can be added: badge-color:"xxx" or badge-type: "xxx"
Alternatives considered
No response
Additional technical context
No response

Hi @sametkabay, Thank you for bringing up this point. We understand that you're looking to customize the color of the badge within a tab component. You can indeed achieve this customization by using the current capabilities of Baklava, without the need for additional attributes.
Here's how you can customize the badge color within a tab component:
<style>
  .wrapper {
    --bl-badge-bg-color: red;
    --bl-badge-color: white;
  }
</style>

<bl-tab-group>
  <bl-tab class="wrapper" name="test-1" slot="tabs" badge="New">Tab 1</bl-tab>
  <bl-tab name="test-2" slot="tabs">Tab 2</bl-tab>
  <bl-tab name="test-3" slot="tabs" disabled badge="New">Tab 3</bl-tab>
</bl-tab-group>

By defining a wrapper class and applying CSS custom properties, you can influence the appearance of the badge while respecting the boundaries set by the design system.
We appreciate your understanding that, in order to maintain the consistency and principles of Baklava, we currently have no plans to introduce additional attributes for direct customization of badge colors or types within the framework. However, we hope this solution meets your needs while staying within the design constraints of Baklava.
Please don't hesitate to reach out if you have further questions or need additional guidance.

Hi @leventozen, your suggestion sounds good. I can use it this way, thank you.


Does pre-commit.ci run twice?

Just thought that the checks on my PRs look slightly weird. There is the main.yaml workflow in .github/workflows running first and then there is a second step where it directly runs pre-commit.ci? We should look into this.

I've been getting pre-commit.ci notifications for other repositories that I haven't added an Action to, so I suspect that you don't need to have both.

OK, db0aff6 should fix this.


Switch order of Mono search paths

When resolving assemblies using simpleResolution on Mono, the /4.5-api/ folder is used instead of the /4.5/ folder. This folder contains facade assemblies only.
✔ ~/src/fsharp/FSharp.Compiler.Service [master ↓·6|✚ 1…2⚑ 2]
15:01 $ fsharpi

F# Interactive for F# 4.1
Freely distributed under the Apache 2.0 Open Source License

For help type #help;;

> #r "System.Xml";;

--> Referenced '/Library/Frameworks/Mono.framework/Versions/4.8.0/lib/mono/4.5-api/System.Xml.dll' (file may be locked by F# Interactive process)

>
- Interrupt

Not sure if this PR has any knock on effects.

Could you also submit to https://github.com/fsharp/fsharp please?  Thanks


FEAT - Add 6963 support to injected wallets module

Description
This PR adds 6963 support to injected wallets module
PLEASE NOTE- Checklist must be complete prior to review.
Checklist

[x] Increment the version field in package.json of the package you have made changes in following semantic versioning and using alpha release tagging
[x] Check the box that allows repo maintainers to update this PR
[x] Test locally to make sure this feature/fix works
[x] Run yarn check-all to confirm there are not any associated errors
[x] Confirm this PR passes Circle CI checks
[x] Add or update relevant information in the documentation

Docs Checklist

[x] Include a screenshot of any changes (see docs README on running locally)
[x] Add/update the appropriate package README (if applicable)
[x] Add/update the related module in the docs demo (if applicable)
[x] Add/update the related package in the docs/package.json file (if applicable)

@SocketSecurity ignore<EMAIL_ADDRESS>@SocketSecurity ignore<EMAIL_ADDRESS>@SocketSecurity ignore<EMAIL_ADDRESS>@SocketSecurity ignore<EMAIL_ADDRESS>@SocketSecurity ignore<EMAIL_ADDRESS>@SocketSecurity ignore<EMAIL_ADDRESS>


Random question

Is it possible that the questions could be randomized?

Hi it's not supported now, but yeah I'll add the option in v.0.2, thanks for the suggestion!


Error in google-translate-api: BAD_REQUEST code in index.js

I encountered an error while using the google-translate-api package. The error message indicates a "BAD_REQUEST" code in the index.js file of the package. Here are the details:
Error
at C:...\words\words-back\node_modules\google-translate-api\index.js:105:17
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
code: 'BAD_REQUEST'
}

Same problem, looks like google disabled this.

same problem

{
host: 'translate.google.com',
hostname: 'translate.google.com',
method: 'GET',
path: '/translate_a/single?client=t&sl=auto&tl=en&hl=en&dt=at&dt=bd&dt=ex&dt=l
d&dt=md&dt=qca&dt=rw&dt=rm&dt=ss&dt=t&ie=UTF-8&oe=UTF-8&otf=1&ssel=0&tsel=0&kc=7
&q=Ik%20spreek%20Engels&tk=617611.617611',
statusCode: 403,
statusMessage: 'Forbidden'
}

Same problem :pensive:

also same problem

This repo has long been no longer supported.
If you're here because you're seeing a failing with this error, you can use my API generated from Google Translate. Here are the documents.

This repo has long been no longer supported. If you're here because you're seeing a failing with this error, you can use my API generated from Google Translate. Here are the documents.

nice :)


Entering Defendants into Military Affidavit Fields

Defendant names need to populate the textboxes with their corresponding status
Checkboxes need to be work

all checkboxes are checking and defendants are populating

reopening; 2nd defendants are still missing from the form.


24 value converter

Closes #

Please check if the PR fulfills these requirements

[ ] The commit message follows our guidelines
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)
[ ] CHANGELOG have been updated (for bug fixes / features / docs)

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

What is the current behavior? (You can also link to an open issue here)

What is the new behavior (if this is a feature change)?

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

Other information:

ToDo:
Use conversion context in function

PiXtendBaseServer::readValue
PiXtendBaseServer::writeValue
PiXtendBaseServer::receiveMonotoredItemStart (In lambda and at the end)


Space shooter example crashes on startup

https://github.com/marekmaskarinec/tophat/issues/10#issuecomment-821971293

It runs perfectly fine for me. Does it have some kind of output? I added a new umka library, so make sure, you don't have old version of umkalibs.h.

This is actually not a new problem. It's again about packaging. copy doesn't copy folders recursively. I have to use xcopy instead:
set /p Name=Target:

mkdir %Name%-windows
mkdir %Name%-windows\tophat.dat
xcopy /Y /s /e %Name% %Name%-windows\tophat.dat
copy /Y bin\tophat-win.exe %Name%-windows
rename %Name%-windows\tophat-win.exe %Name%.exe

mkdir %Name%-linux
mkdir %Name%-linux\tophat.dat
xcopy /Y /s /e %Name% %Name%-linux\tophat.dat
copy /Y bin\tophat-linux %Name%-linux
rename %Name%-linux\tophat-linux %Name%

Now the space shooter seems to be working.

Fixed. Btw, you can run games without packaging them using run.bat in the game directory.

Looks like you fixed it in cmd, but not in the archives.

It is fixed in the archive.

Also the /s and /e keys are missing in xcopy. So it doesn't work.

Sorry, I will fix it later today. Windows is hard.

Try it now.

OK


Added google fonts to bassets

Moved google fonts to bassets 🙌

A new inspection was created.

The inspection completed: No new issues


Fix: typos

Fix: typos

We synchronized https://github.com/privacy-scaling-explorations/zkevm-specs/pull/402 from the upstream. Thanks.


First call of autodetect should be synchronous

Signed-off-by: Ruben Vargas<EMAIL_ADDRESS>Which problem is this PR solving?

Other initialization routines relies on platform value to do certain detection, in this particular case the oauth image was not detected correctly.

Short description of the changes

We need to make sure to detect the platform before doing any other initialization. In order to do that I made the first call of auto-detect synchronous (other calls will happens as usual, each 5 sec) . I think we should not have problems with this, but if this is a problem we can at least change the platform detection to be sync on the first call.

@pavolloffay Could you please review? it is a little bit hard to reach the coverage. Let me know if this is an issue I can try to fix it.


Improve a few unit tests and classes

Description

Formatting of SampleComparator and FieldSampleComparator
Moved TestDNSCacheManager to Spock
Formatted and refactored some parts of DNSCacheManager
Added more tests for FieldSampleComparatorSpec

How Has This Been Tested?
ant clean test-headless -Drmi_force_localhost=true

Codecov Report

:exclamation: No coverage uploaded for pull request base (trunk@be3271f). Click here to learn what that means.
The diff coverage is 83.1%.

@@           Coverage Diff            @@
##             trunk     #451   +/-   ##
========================================
  Coverage         ?   58.71%
  Complexity       ?    10818
========================================
  Files            ?     1209
  Lines            ?    77304
  Branches         ?     7466
========================================
  Hits             ?    45389
  Misses           ?    29373
  Partials         ?     2542

Impacted Files
Coverage Δ
Complexity Δ

.../report/processor/FieldSampleComparatorSpec.groovy
100% <100%> (ø)
4 <3> (?)

...jmeter/report/processor/FieldSampleComparator.java
100% <100%> (ø)
3 <1> (?)

.../jmeter/protocol/http/control/DNSCacheManager.java
74.05% <60%> (ø)
37 <6> (?)

...r/protocol/http/control/DNSCacheManagerSpec.groovy
91.35% <91.35%> (ø)
13 <13> (?)

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 be3271f...7faa6f2. Read the comment docs.


assetPrefix affects main content but not sidebar URLs when running local dev

Please select the area your bug applies to. (Multiple selections are Possible. You can leave blank if you're not sure.)

[ ] Workspace.  VSCode workspace, vaults, Intellisense/autocomplete, Dendron settings
[ ] Lookup.  Dendron's Lookup Command
[ ] Views.  Dendron Preview, Tree View, Side Panels in the UI
[ ] Schema.  Dendron Schemas
[ ] Pod.  Data import from / export to Dendron
[X] Publish.  External Site Publish / local dev
[ ] Markdown.  Markdown features, such as syntax support and features

Describe the bug
Dendron vault is located as a sub-directory in another site, so I use assetPrefix to enable that directory to reference links and assets correctly when published.
However when using local dev testing via dendron publish dev that āssetPrefix is assigned within the URLs of the main frame content, but not in the sidebar. Seeing as local dev testing goes from the root of localhost this breaks the links from the main frame content.
To Reproduce
Steps to reproduce the behavior:

Alter assetPrefix within dendron.yml
npx dendron publish dev
Navigate to localhost:3000
Check difference in URLs between sidebar and main pane

Expected behavior
Both sidebar and main content should reflect same resources.
Screenshots

https://www.youtube.com/watch?v=FOkpmiHOpv8 (44secs)

Desktop (please complete the following information)

OS: Windows 11
Browser: Any (Vivaldi)
Versions (all that apply to bug):

Dendron Extension: 0.95.1
VS Code version: 1.68.0-insider (user setup)
Dendron CLI: 0.95.0

Additional context
n/a
Dendron Log file
{"level":30,"time":1652918769344,"pid":9548,"hostname":"Flippy-Turd","name":"dendron","ctx":"_activate","stage":"prod","isDebug":false,"logLevel":"info","logPath":"c:\\Users\\ashsi\\AppData\\Roaming\\Code - Insiders\\logs\\20220519T093602\\exthost1\\dendron.dendron","extensionPath":"c:\\Users\\ashsi\\.vscode-insiders\\extensions\\dendron.dendron-0.95.1","extensionUri":"c:\\Users\\ashsi\\.vscode-insiders\\extensions\\dendron.dendron-0.95.1","workspaceFile":"c:\\Github\\space-03-astro_01\\dendron\\dendron.code-workspace","workspaceFolders":["c:\\Github\\space-03-astro_01\\dendron\\vault"]}
{"level":30,"time":1652918769558,"pid":9548,"hostname":"Flippy-Turd","name":"SegmentClient","msg":"No cache path for Segment specified. Failed event uploads will not be retried."}
{"level":30,"time":1652918769561,"pid":9548,"hostname":"Flippy-Turd","name":"SegmentClient","msg":"user telemetry setting: enabled by cli default"}
{"level":30,"time":1652918769563,"pid":9548,"hostname":"Flippy-Turd","name":"SegmentClient","msg":"telemetry initializing"}
{"level":30,"time":1652918769563,"pid":9548,"hostname":"Flippy-Turd","name":"SegmentClient","msg":"using existing id"}
{"level":30,"time":1652918769565,"pid":9548,"hostname":"Flippy-Turd","name":"SegmentClient","msg":"anonymous id","anonymousId":"5qn3p8m27ttx68u5326a9tc"}
{"level":30,"time":1652918769608,"pid":9548,"hostname":"Flippy-Turd","name":"dendron","ctx":"DendronExtension","msg":"initialized"}
{"level":30,"time":1652918770143,"pid":9548,"hostname":"Flippy-Turd","name":"dendron","ctx":"_activate","msg":"initializeWorkspace","wsType":"CODE","currentVersion":"0.95.1","previousGlobalVersion":"0.95.1","extensionInstallStatus":"NO_CHANGE"}
{"level":30,"time":1652918770177,"pid":9548,"hostname":"Flippy-Turd","name":"SegmentClient","msg":"user telemetry setting: enabled by cli default"}
{"level":30,"time":1652918770179,"pid":9548,"hostname":"Flippy-Turd","name":"SegmentClient","msg":"telemetry initializing"}
{"level":30,"time":1652918770179,"pid":9548,"hostname":"Flippy-Turd","name":"SegmentClient","msg":"using existing id"}
{"level":30,"time":1652918770180,"pid":9548,"hostname":"Flippy-Turd","name":"SegmentClient","msg":"anonymous id","anonymousId":"5qn3p8m27ttx68u5326a9tc"}
{"level":30,"time":1652918770180,"pid":9548,"hostname":"Flippy-Turd","name":"dendron","msg":"Telemetry is disabled? false"}
{"level":30,"time":1652918770181,"pid":9548,"hostname":"Flippy-Turd","name":"dendron","msg":"Segment Residual Cache Path is at c:\\Users\\ashsi\\AppData\\Roaming\\Code - Insiders\\User\\globalStorage\\dendron.dendron\\segmentresidualcache.log"}
{"level":30,"time":1652918770182,"pid":9548,"hostname":"Flippy-Turd","name":"SegmentClient","msg":"Attempting to flush residual segment data from file."}
{"level":30,"time":1652918770206,"pid":9548,"hostname":"Flippy-Turd","name":"migration","migrations":[]}
{"level":30,"time":1652918770209,"pid":9548,"hostname":"Flippy-Turd","name":"dendron","ctx":"runMigrationsIfNecessary","changes":[],"workspaceInstallStatus":"UPGRADED"}
{"level":30,"time":1652918770234,"pid":9548,"hostname":"Flippy-Turd","name":"dendron","ctx":"_activate","platform":"win32","extensions":[{"id":"dendron.dendron","version":"0.95.1","active":true},{"id":"dendron.dendron-paste-image","version":"1.1.0","active":false},{"id":"dendron.dendron-markdown-shortcuts","version":"0.12.1","active":true},{"id":"redhat.vscode-yaml","version":"1.7.0","active":false}],"vaults":[{"fsPath":"vault"}]}
{"level":30,"time":1652918770245,"pid":9548,"hostname":"Flippy-Turd","name":"execServer","state":"enter"}
{"level":30,"time":1652918770281,"pid":9548,"hostname":"Flippy-Turd","name":"execServer","state":"post:exec.node"}
{"level":30,"time":1652918771304,"pid":9548,"hostname":"Flippy-Turd","name":"dendron","msg":"Segment Residual Cache flush attempted. {\"successCount\":0,\"nonRetryableErrorCount\":0,\"retryableErrorCount\":0}"}
{"level":30,"time":1652918773139,"pid":17228,"hostname":"Flippy-Turd","name":"SegmentClient","msg":"No cache path for Segment specified. Failed event uploads will not be retried."}
{"level":30,"time":1652918773142,"pid":17228,"hostname":"Flippy-Turd","name":"SegmentClient","msg":"user telemetry setting: enabled by cli default"}
{"level":30,"time":1652918773144,"pid":17228,"hostname":"Flippy-Turd","name":"SegmentClient","msg":"telemetry initializing"}
{"level":30,"time":1652918773144,"pid":17228,"hostname":"Flippy-Turd","name":"SegmentClient","msg":"using existing id"}
{"level":30,"time":1652918773147,"pid":17228,"hostname":"Flippy-Turd","name":"SegmentClient","msg":"anonymous id","anonymousId":"5qn3p8m27ttx68u5326a9tc"}
{"level":30,"time":1652918773356,"pid":9548,"hostname":"Flippy-Turd","name":"execServer","state":"message","message":"50674"}
{"level":30,"time":1652918773357,"pid":9548,"hostname":"Flippy-Turd","name":"dendron","ctx":"WSUtils.handleServerProcess","msg":"subprocess running","pid":17228}
{"level":30,"time":1652918773358,"pid":9548,"hostname":"Flippy-Turd","name":"dendron","ctx":"startServerProcess","msg":"post-start-server","port":50674,"durationStartServer":3211}
{"level":30,"time":1652918773404,"pid":9548,"hostname":"Flippy-Turd","name":"logger","ctx":"FileStorageV2","wsRoot":"c:\\Github\\space-03-astro_01\\dendron","vaults":[{"fsPath":"vault"}],"level":"info"}
{"level":30,"time":1652918773415,"pid":9548,"hostname":"Flippy-Turd","name":"dendron","ctx":"TreeView:getChildren","msg":"reconstructing tree: enter"}
{"level":30,"time":1652918773416,"pid":9548,"hostname":"Flippy-Turd","name":"dendron","ctx":"TreeView:getChildren","msg":"reconstructing tree: exit"}
{"level":30,"time":1652918774231,"pid":9548,"hostname":"Flippy-Turd","name":"dendron","ctx":"dendron.reloadIndex:run","msg":"pre-execute"}
{"level":30,"time":1652918774232,"pid":9548,"hostname":"Flippy-Turd","name":"dendron","ctx":"ReloadIndex.execute","msg":"enter"}
{"level":30,"time":1652918775003,"pid":17228,"hostname":"Flippy-Turd","name":"logger","ctx":"parsingSchemas","fname":"root","root":{"fsPath":"vault"},"imports":[]}
{"level":30,"time":1652918775766,"pid":17228,"hostname":"Flippy-Turd","name":"LinkUtils.getLinks","ctx":"getLinks","dlinksLength":0,"noteRefsLength":0,"wikiLinksLength":0}
{"level":30,"time":1652918775898,"pid":17228,"hostname":"Flippy-Turd","name":"LinkUtils.getLinks","ctx":"getLinks","dlinksLength":0,"noteRefsLength":0,"wikiLinksLength":0}
{"level":30,"time":1652918776688,"pid":9548,"hostname":"Flippy-Turd","name":"dendron","ctx":"ReloadIndex.execute","durationEngineInit":2366}
{"level":30,"time":1652918776689,"pid":9548,"hostname":"Flippy-Turd","name":"dendron","ctx":"ReloadIndex.execute","msg":"exit"}
{"level":30,"time":1652918776689,"pid":9548,"hostname":"Flippy-Turd","name":"dendron","ctx":"dendron.reloadIndex:run","msg":"post-execute"}
{"level":30,"time":1652918776726,"pid":9548,"hostname":"Flippy-Turd","name":"dendron","ctx":"reloadWorkspace","msg":"post-ws.reloadWorkspace"}
{"level":30,"time":1652918776733,"pid":9548,"hostname":"Flippy-Turd","name":"dendron","ctx":"reloadWorkspace","msg":"exit"}
{"level":30,"time":1652918776771,"pid":9548,"hostname":"Flippy-Turd","name":"dendron","ctx":"postReloadWorkspace","msg":"same wsVersion"}
{"level":30,"time":1652918776772,"pid":9548,"hostname":"Flippy-Turd","name":"dendron","ctx":"postReloadWorkspace","msg":"exit"}
{"level":30,"time":1652918776773,"pid":9548,"hostname":"Flippy-Turd","name":"dendron","ctx":"setupViews","msg":"init:treeViewV2"}
{"level":30,"time":1652918776778,"pid":9548,"hostname":"Flippy-Turd","name":"dendron","ctx":"setupBacklinkTreeView","msg":"init:backlinks"}
{"level":30,"time":1652918777715,"pid":9548,"hostname":"Flippy-Turd","name":"dendron","ctx":"activateWorkspace","stage":"prod","msg":"enter"}
{"level":30,"time":1652918777760,"pid":9548,"hostname":"Flippy-Turd","name":"dendron","ctx":"togglePluginActiveContext","state":"togglePluginActiveContext: true"}
{"level":30,"time":1652918777761,"pid":9548,"hostname":"Flippy-Turd","name":"dendron","ctx":"_activate","msg":"fin startClient","durationReloadWorkspace":6648}
{"level":30,"time":1652918777763,"pid":9548,"hostname":"Flippy-Turd","name":"dendron","ctx":"showWelcomeOrWhatsNew","version":"0.95.1","previousExtensionVersion":"0.0.0"}
{"level":30,"time":1652918778294,"pid":9548,"hostname":"Flippy-Turd","name":"dendron","ctx":"updateDecorations","payload":{"error":null,"decorationsLength":30,"diagnosticsLength":0}}
{"level":30,"time":1652918778390,"pid":9548,"hostname":"Flippy-Turd","name":"dendron","ctx":"updateDecorations","payload":{"error":null,"decorationsLength":2,"diagnosticsLength":0}}
{"level":30,"time":1652918792502,"pid":9548,"hostname":"Flippy-Turd","name":"dendron","msg":"sendSavedAnalytics"}
{"level":30,"time":1652918792503,"pid":9548,"hostname":"Flippy-Turd","name":"dendron","ctx":"AnalyticsUtils.sendSavedAnalytics","message":"start"}
{"level":40,"time":1652918792504,"pid":9548,"hostname":"Flippy-Turd","name":"dendron","ctx":"AnalyticsUtils.sendSavedAnalytics","msg":"failed to read the saved telemetry dir","telemetryDir":"C:\\Users\\ashsi\\.dendron\\saved-telemetry"}
{"level":30,"time":1652918879969,"pid":9548,"hostname":"Flippy-Turd","name":"dendron","ctx":"WindowWatcher:onDidChangeVisibleTextEditors","editorPaths":["c:\\Github\\space-03-astro_01\\dendron\\vault\\organisations.consortium-for-execution-of-rendezvous-and-servicing-operations.md"]}
{"level":30,"time":1652918879970,"pid":9548,"hostname":"Flippy-Turd","name":"dendron","ctx":"refreshBacklinksChangeActiveTextEditor"}
{"level":30,"time":1652918880125,"pid":9548,"hostname":"Flippy-Turd","name":"dendron","ctx":"WindowWatcher:onDidChangeVisibleTextEditors","editorPaths":["c:\\Github\\space-03-astro_01\\dendron\\vault\\organisations.consortium-for-execution-of-rendezvous-and-servicing-operations.md","c:\\Github\\space-03-astro_01\\dendron\\dendron.yml"]}
{"level":30,"time":1652918880125,"pid":9548,"hostname":"Flippy-Turd","name":"dendron","ctx":"refreshBacklinksChangeActiveTextEditor"}
{"level":30,"time":1652918880128,"pid":9548,"hostname":"Flippy-Turd","name":"dendron","ctx":"WorkspaceWatcher:onFirstOpen","msg":"enter","fname":"dendron.yml"}
{"level":30,"time":1652918881542,"pid":9548,"hostname":"Flippy-Turd","name":"dendron","ctx":"updateDecorations","payload":{"error":null,"decorationsLength":2,"diagnosticsLength":0}}
{"level":30,"time":1652920163957,"pid":9548,"hostname":"Flippy-Turd","name":"dendron","ctx":"WindowWatcher:onDidChangeVisibleTextEditors","editorPaths":["c:\\Github\\space-03-astro_01\\dendron\\vault\\organisations.consortium-for-execution-of-rendezvous-and-servicing-operations.md"]}
{"level":30,"time":1652920163957,"pid":9548,"hostname":"Flippy-Turd","name":"dendron","ctx":"refreshBacklinksChangeActiveTextEditor"}
{"level":30,"time":1652920195068,"pid":9548,"hostname":"Flippy-Turd","name":"dendron","ctx":"WindowWatcher:onDidChangeVisibleTextEditors","editorPaths":["c:\\Github\\space-03-astro_01\\dendron\\vault\\organisations.consortium-for-execution-of-rendezvous-and-servicing-operations.md","c:\\Github\\space-03-astro_01\\dendron\\dendron.yml"]}
{"level":30,"time":1652920195068,"pid":9548,"hostname":"Flippy-Turd","name":"dendron","ctx":"refreshBacklinksChangeActiveTextEditor"}
{"level":30,"time":1652920196338,"pid":9548,"hostname":"Flippy-Turd","name":"dendron","ctx":"WindowWatcher:onDidChangeVisibleTextEditors","editorPaths":["c:\\Github\\space-03-astro_01\\dendron\\vault\\organisations.consortium-for-execution-of-rendezvous-and-servicing-operations.md"]}
{"level":30,"time":1652920196338,"pid":9548,"hostname":"Flippy-Turd","name":"dendron","ctx":"refreshBacklinksChangeActiveTextEditor"}
{"level":30,"time":1652920196424,"pid":9548,"hostname":"Flippy-Turd","name":"dendron","ctx":"WindowWatcher:onDidChangeVisibleTextEditors","editorPaths":["c:\\Github\\space-03-astro_01\\dendron\\vault\\organisations.consortium-for-execution-of-rendezvous-and-servicing-operations.md","c:\\Github\\space-03-astro_01\\dendron\\vault\\stuff.level-of-confidence-ratings.md"]}
{"level":30,"time":1652920196425,"pid":9548,"hostname":"Flippy-Turd","name":"dendron","ctx":"refreshBacklinksChangeActiveTextEditor"}
{"level":30,"time":1652920196426,"pid":9548,"hostname":"Flippy-Turd","name":"dendron","ctx":"WindowWatcher:onDidChangeActiveTextEditor","editor":"c:\\Github\\space-03-astro_01\\dendron\\vault\\stuff.level-of-confidence-ratings.md"}
{"level":30,"time":1652920196428,"pid":9548,"hostname":"Flippy-Turd","name":"dendron","ctx":"WorkspaceWatcher:onFirstOpen","msg":"enter","fname":"stuff.level-of-confidence-ratings"}
{"level":30,"time":1652920196471,"pid":9548,"hostname":"Flippy-Turd","name":"dendron","ctx":"WorkspaceWatcher:onFirstOpen","msg":"exit","fname":"stuff.level-of-confidence-ratings"}
{"level":30,"time":1652920196502,"pid":9548,"hostname":"Flippy-Turd","name":"dendron","ctx":"updateDecorations","payload":{"error":null,"decorationsLength":2,"diagnosticsLength":0}}
{"level":30,"time":1652920205072,"pid":9548,"hostname":"Flippy-Turd","name":"dendron","ctx":"dendron.dev.openLogs:run","msg":"pre-execute"}
{"level":30,"time":1652920205072,"pid":9548,"hostname":"Flippy-Turd","name":"dendron","ctx":"execute","opts":{}}
{"level":30,"time":1652920205081,"pid":9548,"hostname":"Flippy-Turd","name":"dendron","ctx":"dendron.dev.openLogs:run","msg":"post-execute"}
{"level":30,"time":1652920205160,"pid":9548,"hostname":"Flippy-Turd","name":"dendron","ctx":"WindowWatcher:onDidChangeVisibleTextEditors","editorPaths":["c:\\Github\\space-03-astro_01\\dendron\\vault\\organisations.consortium-for-execution-of-rendezvous-and-servicing-operations.md"]}
{"level":30,"time":1652920205160,"pid":9548,"hostname":"Flippy-Turd","name":"dendron","ctx":"refreshBacklinksChangeActiveTextEditor"}
{"level":30,"time":1652920205161,"pid":9548,"hostname":"Flippy-Turd","name":"dendron","ctx":"WindowWatcher:onDidChangeVisibleTextEditors","editorPaths":["c:\\Github\\space-03-astro_01\\dendron\\vault\\organisations.consortium-for-execution-of-rendezvous-and-servicing-operations.md","c:\\Users\\ashsi\\AppData\\Roaming\\Code - Insiders\\logs\\20220519T093602\\exthost1\\dendron.dendron\\dendron.log"]}
{"level":30,"time":1652920205161,"pid":9548,"hostname":"Flippy-Turd","name":"dendron","ctx":"refreshBacklinksChangeActiveTextEditor"}```

@AshSimmonds Thank you for the report. I can reproduce this.
We'll let you know when a fix gets pushed for this. 🙏🏼


Doesn't work in browser environment

It doesn't work in browser environment. Or at least explain how to deploy it in a browser env. In your docs you write:

So it is pretty natural to assume that in a browser it should be the same, since you do not provide any other info about how to run it in a browser:
const Cookies = require('cookies-js')(window);
window.Cookies = Cookies;

But the result is
Cookies === undefined.

How does it work in a browser?

Hey @wzup - you've highlighted another confusing aspect of the documentation that makes me feel rather silly, seeing it now!
Right now the export for Cookies.js is different depending on if you're in a browser environment that has a global window object, or not. This difference is something that has bothered me for a while and I'd like to change eventually. In a non-browser environment, it's necessary to pass in some object to act as the window object, since it doesn't exist. However, this requirement is unnecessary when in the browser.
As a result, if you're in a browser, and you're not using any script loader (you're not using AMD or CommonJS), then Cookies.js will create a global Cookies object ready to go (you can immediately start calling things like Cookies.get and Cookies.set).
If you are using a script loader, then simply requiring the library is enough to start using it. For example, for CommonJS, simply do:
var Cookies = require('cookies-js');

Apologies for the confusion! This is something I'd like to make more consistent in the future. In the mean time, I should absolutely update the readme with more helpful usage instructions.
Thanks for checking out the library!


Add support for multiple styles within a single Figma TextNode

Is your feature request related to a problem? Please describe.
Currently, Bricks can only support a uniform styling of text within a TextNode. However in Figma, you can apply different styles to different sections of the TextNodes. Therefore, we should add support for having multiple styles within a single Figma TextNode
Styles to support:

[ ] CSS:

[x] fontSize
[x] fontName
[x] fontWeight
[x] textDecoration
[x] textCase
[ ] lineHeight
[x] letterSpacing
[x] fills
[ ] textStyleId
[ ] fillStyleId
[x] listOptions
[x] indentation
[x] hyperlink

[ ] Tailwind CSS

[x] fontSize
[x] fontName
[x] fontWeight
[x] textDecoration
[x] textCase
[ ] lineHeight
[x] letterSpacing
[x] fills
[ ] textStyleId
[ ] fillStyleId
[x] listOptions
[x] indentation
[x] hyperlink

Default styles map
If there are multiple text styles within a text node, here are the default styles to use for the outermost <div>:

fontSize: font-size: <the font size with the longest length>;
fontName: font-family: <the font with the longest length>;
fontWeight: font-weight: "normal"; (i.e. Regular font)
textDecoration: font-style: "normal";
textCase: text-transform: "none";
lineHeight: line-height: normal;
letterSpacing: letter-spacing: normal;
fills: most common blended solid color
textStyleId: ?
fillStyleId: ?
listOptions: ?
indentation: ?
hyperlink: ?

Inside the <div>, for each different segment of text style, we wrap it in a <span> with the overriding styles.
Todos

Modify getCssAttributes() in core/src/design/adapter/figma/adapter.ts so that it generates default styles if style === figma.mixed. For example:

// font size
if (figmaNode.fontSize !== figma.mixed) {
  attributes["font-size"] = `${figmaNode.fontSize}px`;
} else {
  // add default font size here according to the default styles map above
}

Modify getTextProp() in core/src/code/generator/html/generator.ts so that we generate nested <span>s for each overriding style.

Pausing on implementing mixed textStyleId and fillStlyeId, as those haven't been implemented yet.
Created https://github.com/bricks-cloud/bricks/issues/77 and https://github.com/bricks-cloud/bricks/issues/76 for textStyleId and fillStlyeId respectively.


Handle nil fields in response from describe API output - readOne and readMany

Description of changes:
Currently, we create a copy for the current resource state in sdkFind and merge the output of describe output if it is non-nil. This doesn't work for fields that can toggle between nil and non-nil. The latest resource should match the output from AWS service. This PR addresses this issue
Testing
Only with sagemaker controller aws-controllers-k8s/sagemaker-controller#7
Notes to the reviewer
Change is not implemented for the ko.Status.ACKResourceMetadata field because the only case I see where it can toggle is if the user changes the name of resource they created in which case sdkFind will throw an ackerr.NotFound error and sdkCreate should overwrite the ARN.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@jaypipes ready to merge. Please check notes to the reviewer in the description

@surajkota looks good to me. I'd like @vijtrip2 to review this first, though, and just have an extra set of eyes on this part of the generated codebase. Vijay, please double-check that by setting Spac and Status fields to nil for empty fields in a Output shape, we would not be overriding any important or defaulted values...

Looks good to me.

I double checked that We are only updating spec fields for ReadOne, ReadMany and not Create. This was the existing behavior and still being preserved. :+1:
And In my knowledge of AWS APIs, the ReadOne/ReadMany/CreateOutput result are consistent with CreateInput. If field is being present in CreateInput, it is reflected similarly in ReadOne/CreateOutput. So I am not concerned about overriding default values.

Great! thanks folks


R packaging comments

Hi there. This is really interesting work.
I notice some aspects of this repo as an R package are non-standard.
Some (hopefully helpful) comments:

The repo has a different name to the package. This will confuse inexperienced R users.

Your package is called BETS. However there is already a package called BETS on CRAN. See here. Hence when users update thier package after yours is installed, using say update.packages(), the CRAN BETS package will replace your package because that has a higher version number than yours. Your best approach here is to rename your package to a name not used on CRAN. A convenient way to check available package names is to use
available::available("your-proposed-pkg-name")

Have you run R CMD check a.k.a. devtools::check() on this package? Currently running devtools::check() returns
0 errors v | 2 warnings x | 3 notes x
Error: R CMD check found WARNINGs
Execution halted

Exited with status 1.

The rest of that output flags some of the non-standard issues:

Simple typo: in covid19_data there is a mismatch between Cases in the docs and the Case variable in the rda file.
The bayesian folder should not be at the top level. You need to exclude this from the package build in a .Rbuildignore file or move this folder to an appropriate subdirectory.

There are some other issues listed in the devtools::check() output. If you would like a PR fixing some of those, I am happy to try.
Best wishes
Tom

Dear Tom,
Thanks. Much of this is work in progress and not organized in a package-ready way, as you correctly pointed out. I will get to the issues you raised asap.
Best wishes,
Qingyuan

Dear Tom,
Thanks again for the great suggestions. I have now moved everything to a new repository and fixed all the errors/warnings/notes. I am closing this issue now.
Best wishes,
Qingyuan


Add description or percentage visualization to the UI for pipeline submission

We need to surface a indicator to the user with information about where their pipeline is in terms of submission and run status

Adding more detail and clarification:

we want to let the user know where their pipeline is in terms of submission to the runtime itself. e.g. progress in uploading local depndencies/artifacts to cos....which step of the pipeline is being uploaded etc.
the end status from the runtime api regarding the status of the pipeline itself regarding submission

we want to let the user know where their pipeline is in terms of submission to the runtime itself. e.g. progress in uploading local depndencies/artifacts to cos....which step of the pipeline is being uploaded etc.
This first portion is within our control and it may be a bit of an oversimplification, is just outputting portions of elyras debug log into a dialog box while the pipeline is in submission.

The second portion is still in progress since the kfp api still does not support querying run status . See https://www.kubeflow.org/docs/components/pipelines/reference/api/kubeflow-pipeline-api-spec/

One option is to, at least, provide status os what options are done (e.g. n bullets, like harvest dependencies, upload blah, submit foo) and then mark these as completed... or something like this...


modules: minor styling fixes

During testing I notice some styling issue with the luci-theme-openwrt-2020.
Due missing of the btn class in form.js the button in xintd looks strange. I have added to all cbi-button css class the btn css class in from.js. We have already discussed the topic in other issues. I don't know the btn css class. But it looks like it's necessary.
Before change:

After the change:

Before change:
Due using div for instead of table element the wlan channel analysis looks strange.

After the change:

The loading animation here too.

@jow By changing the html element from input to button in form.js all buttons are fixed. Please try this out.

@jow- I have now called a module that is not rendered by javascript but by lua.
There we have everywhere when adding anonymous section the html input field element with the css class btn set.
I wonder what is right now!
The Javascript doesn't care if it is a button or an input. So that the CSS does not become even more complicated, we should make it uniform. For lua we have to take the input otherwise the form doesn't work anymore?

I have pushed the channel-analysis changes to openwrt-21.02 and master because this was ACK by @jow-
For the other issue I will open a separate P/R


Don't parse Certificates in Pkcs12 until requested

This avoids having any C structures in Pkcs12 which makes life easier in rust-native-tls land
Also makes parsing of structures more tolerant, previously if certificate parsing failed the whole structure parse was abandoned. Now we just ignore certs we cannot parse.

bors r+