Unable to authenticate

I’m using as a platform smart_life
In the field username and password I put what usually do for entering the service.. here it says that password or username is incorrect I retried several times and obtained always the same result.. in the app I enter with no issue.
Thank you for your help

Hello,
I'm sorry to hear this but to be blunt; At least one of the assumptions you make is incorrect. There are no other mentions of this issue. I just verified sign-up on my personal homebridge at that works exactly as expected.
So please double check that you enter your username and password correct and that you are using the SmartLife platform.
The platform you are supposed to enter in your homebridge platform is related to the app that your account is registered at.
Please also make sure that your country code matches and is not prefixed with the + sign.

@mrmillennium have you correctly set  "platform":  correctly? Tuya has many separate companies that use their code.

Yes, I’ve checked many times the information, also the platform i was sure about smart life but just for being sure I’ve changed between tuya and jinvoo.. but I’m receiving the same error code
Does it matter if I’ve registered to the app smart life with Sign In with Apple and then created a login?
Maybe could be that
Thank you
Il 23 giu 2020, 20:44 +0200, milo526/homebridge-tuya-web<EMAIL_ADDRESS>ha scritto:

enter

To register the devices you need an app. To use that app, you need to set up an account. After you have configured all your Tuya based devices in an app, use those credentials in this plugin and you should be good.

Yes, I’ve checked many times the information, also the platform i was sure about smart life but just for being sure I’ve changed between tuya and jinvoo.. but I’m receiving the same error code Does it matter if I’ve registered to the app smart life with Sign In with Apple and then created a login? Maybe could be that Thank you Il 23 giu 2020, 20:44 +0200, milo526/homebridge-tuya-web<EMAIL_ADDRESS>ha scritto:
…

The problem could actually be with the "Sign In with Apple" since Apple will then send a random email adres during the setup progress; you will then need this random email adres to setup this app since Tuya/smartlife/jinvoo don't know your real email only the generated once.

The problem could actually be with the "Sign In with Apple" since Apple will then send a random email adres during the setup progress; you will then need this random email adres to setup this app since Tuya/smartlife/jinvoo don't know your real email only the generated once.

That makes sense. I've avoided using "sign in with Apple" so far so it didn't occur to me. :)

Yes, I’ve checked many times the information, also the platform i was sure about smart life but just for being sure I’ve changed between tuya and jinvoo.. but I’m receiving the same error code Does it matter if I’ve registered to the app smart life with Sign In with Apple and then created a login? Maybe could be that Thank you Il 23 giu 2020, 20:44 +0200, milo526/homebridge-tuya-web<EMAIL_ADDRESS>ha scritto:
…

The problem could actually be with the "Sign In with Apple" since Apple will then send a random email adres during the setup progress; you will then need this random email adres to setup this app since Tuya/smartlife/jinvoo don't know your real email only the generated once.

This happened to me too. After setting up with appleID I realised my mistake and then tried to bind my proper email to the account but the api still wouldn't recognise the credentials. I solved the situation by creating a new Tuya account using a secondary email address where I could receive the Tuya verification codes. Thank you for your work.

Glad it is solved

Yes, I’ve checked many times the information, also the platform i was sure about smart life but just for being sure I’ve changed between tuya and jinvoo.. but I’m receiving the same error code Does it matter if I’ve registered to the app smart life with Sign In with Apple and then created a login? Maybe could be that Thank you Il 23 giu 2020, 20:44 +0200, milo526/homebridge-tuya-web<EMAIL_ADDRESS>ha scritto:
…

The problem could actually be with the "Sign In with Apple" since Apple will then send a random email adres during the setup progress; you will then need this random email adres to setup this app since Tuya/smartlife/jinvoo don't know your real email only the generated once.

This happened to me too. After setting up with appleID I realised my mistake and then tried to bind my proper email to the account but the api still wouldn't recognise the credentials. I solved the situation by creating a new Tuya account using a secondary email address where I could receive the Tuya verification codes. Thank you for your work.

I have an issue with login error after login through apple id
solved by this comment great

Yes, I’ve checked many times the information, also the platform i was sure about smart life but just for being sure I’ve changed between tuya and jinvoo.. but I’m receiving the same error code Does it matter if I’ve registered to the app smart life with Sign In with Apple and then created a login? Maybe could be that Thank you Il 23 giu 2020, 20:44 +0200, milo526/homebridge-tuya-web<EMAIL_ADDRESS>ha scritto:
…

The problem could actually be with the "Sign In with Apple" since Apple will then send a random email adres during the setup progress; you will then need this random email adres to setup this app since Tuya/smartlife/jinvoo don't know your real email only the generated once.

This happened to me too. After setting up with appleID I realised my mistake and then tried to bind my proper email to the account but the api still wouldn't recognise the credentials. I solved the situation by creating a new Tuya account using a secondary email address where I could receive the Tuya verification codes. Thank you for your work.

I have an issue with login error after login through apple id
solved by this comment great


Building URDF issues

Hi all,
I'm having trouble integrating pinocchio into a framework I'm building up. I can set up two different files such that pinocchio works separately from my own framework (which is really just integrating a simulator..), however, I've run into a few issues as soon as I include some of the basic header files.
For reference, my CMakeList is setup like this:
find_package(PkgConfig REQUIRED)
pkg_check_modules(PINOCCHIO pinocchio REQUIRED)
target_compile_definitions(vision60 PRIVATE ${PINOCCHIO_CFLAGS_OTHER})
Currently, one of the issues I'm running into is that I get the error:

CMakeFiles/vision60.dir/vision60.cpp.o: In function pinocchio::ModelTpl<double, 0, pinocchio::JointCollectionDefaultTpl>& pinocchio::urdf::buildModel<double, 0, pinocchio::JointCollectionDefaultTpl>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, pinocchio::ModelTpl<double, 0, pinocchio::JointCollectionDefaultTpl>::JointModel const&, pinocchio::ModelTpl<double, 0, pinocchio::JointCollectionDefaultTpl>&, bool)': vision60.cpp:(.text._ZN9pinocchio4urdf10buildModelIdLi0ENS_25JointCollectionDefaultTplEEERNS_8ModelTplIT_XT0_ET1_EERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS6_10JointModelES7_b[_ZN9pinocchio4urdf10buildModelIdLi0ENS_25JointCollectionDefaultTplEEERNS_8ModelTplIT_XT0_ET1_EERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS6_10JointModelES7_b]+0x40): undefined reference to urdf::parseURDFFile(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)'
collect2: error: ld returned 1 exit status

this is stemming from this line in my .cpp file:
pinocchio::urdf::buildModel(urdf_filename, pinocchio::JointModelFreeFlyer(), vision60);
Which is very basic. This line works when I compile it separately from my framework but not within it (for example if I have a standalone program).
Any ideas on what could be causing this weird issue? It looks like a linker issue, but I'm unsure.
For reference, my framework has a simulator which might be using the standard urdf parser as well, so maybe something to do with this?

You have to link your target to pinocchio.
TARGET_LINK_LIBRARIES(vision60 PUBLIC pinocchio::pinocchio)

Hi @jcarpent ,
You're right, however, for some reason, it's not finding the pinocchio library unless I add the two lines:
include_directories(         ${PINOCCHIO_INCLUDE_DIRS} )
and
link_directories(         ${PINOCCHIO_LIBRARY_DIRS})
Does this sound normal? After adding those two lines, I can link against the library via:
target_link_libraries(vision60     PUBLIC         ${PINOCCHIO_LIBRARIES} )

Oops, I was running into issues because I removed
link_directories(         ${PINOCCHIO_LIBRARY_DIRS} )
so when I included ${PINOCCHIO_LIBRARIES}, it wasn't finding it.


change var merge order to be able to override vars in lower levels

should we do something similar in the Ref Arch and our other examples?

This is already done in the Ref Arch. I just happened to accidentally flip the order here 🤦♂
I don't think we have any other examples of this pattern (in fact, that was the reason why I added this here!) so we are good once we merge this.

Going to go ahead and merge this now!


Disconnection after 10 hours or more

I'm facing a problem after many hours of AOCPP running. The log shows failed DNS and OCPP is disconnected. If I reboot, the firmware runs again normally. There is some way the firmware can reconnect after many failed tries?

Hello in example ArduinoOcpp/examples/SECC
/main.cpp
there are this code
if (scheduleReboot > 0 && millis() - reboot_timestamp >= scheduleReboot) {
        ESP.restart();
    }

setup scheduleReboot and ESP will be rebooting.
it's not very elegant but it will work.

This message means that the DNS resolver can't reach the name server anymore. I can imagine that some network nodes between the ESP and the name server reset the connection and the ESP networking driver does not properly reconnect. This would be a hint of a bug in the Arduino networking libraries. Note that neither the DNS resolver nor the raw WebSocket connection are in the scope of this library.
There's a good chance that you can optimize the robustness by fine-tuning the connection settings in the WebSocket library. To find the best settings, I would advise to run a program with the WS lib only, monitoring how long the connection remains open and then trying different settings. If you get better results with different settings, please share them here, that could help a lot of users!
In any case, the workaround of @maxikys will recover the ESP from its invalid state.
The alternative Mongoose WebSocket adapter is slightly more robust in case exchanging the WS lib is an option for you. Please refer to the OpenEVSE project for a usage example.

Thanks, guys.
@maxikys I was using the code you mentioned, but the problem appear anyway.
@matth-x  I will investigate deeper the problem more and any results I will post here! For now, I used the code below to make sure the reconnection and perhaps it is working.
`void Wifi_disconnected(WiFiEvent_t event, WiFiEventInfo_t info)
{
Serial.println("Disconnected from WIFI");
Serial.print("Connection Lost Reason: ");
Serial.println(info.disconnected.reason);
Serial.println("Reconnecting...");
WiFi.begin(STASSID, STAPSK);
}`

Closing this due to inactivity. Feel free to reopen for follow-up questions.


[$250] Expensify Card transactions incorrectly show the pending pattern and are non-editable in NewDot.

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number:
Reproducible in staging?: n/a
Reproducible in production?: n/a
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @JmillsExpensify
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1723577227107149
Action Performed:

Incur a Expensify card transaction in NewDot

Expected Result:
Should be able to edit the transaction
Actual Result:
Showing the transaction as ``pending` and unable to edit. In the OD it shows as editable
Workaround:
unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~0184fab10bc06f1789
Upwork Job ID:<PHONE_NUMBER>745081337
Last Price Increase: 2024-10-02

Issue OwnerCurrent Issue Owner: @thesahindia

This has been labelled "Needs Reproduction". Follow the steps here: https://stackoverflowteams.com/c/expensify/questions/16989

Commented internally to confirm something. (reference for me)

waiting on proposals

Same

@joekaufmanexpensify curious if we get SWM to help here?

Did they work on this project? I didn't think they worked on the Expensify Card

Ah did they not? Thought they did - my bad. Was it CS?

Yep, just looked, it was CS!

Reassigning as I head to parental leave next week! Thanks Sheena!


Add builder command

Fixes #27
Fixes #31

I think this is ready for a look and to be published.  I'm sure builder will need more love and attention (e.g. it's still including sourcemaps from JSON files which makes bundles bigger than they need to be.. issue with awsdk v2...) but the tsconfig.json itself is fine, which is all anything really uses at the moment.

@adcreare I notice the publish-beta includes .spec.mts files in the output under the src directory.  I'm thinking it shouldn't?

@adcreare I notice the publish-beta includes .spec.mts files in the output under the src directory. I'm thinking it shouldn't?

Agreed, I've done a PR to the action to fix that: https://github.com/checkdigit/github-actions/pull/42

@adcreare maybe this is for a different PR, but I was thinking today.. do we need to generating typing (i.e. .d.ts files) for bundles?  can you think of a use case?  if bundles are run-time only artifacts, seems unnecessary.

created an issue for the bundle/typings thing.  https://github.com/checkdigit/typescript-config/issues/32


A library?

Would it be possible to write this project into a library, that other python devs can use to add discord RPC and rich presence to their programs?

I could make this as an add-on for discord.py
mostly I wrote this example because people didn't stopped asking for a example in python
I'll ask the discord.py owner if I can do a pull request if not i'll just do it as an add-on
we'll see

ok

I've forked and modified the code somewhat to let you do this (It could definitely be improved, my Python skills are a bit rough) https://github.com/DerpyChap/PyDiscordRPC

@lukeoftheaura @DerpyChap I've brought this a step further and made a full library (excluding events, still gotta add those) https://github.com/qwertyquerty/pypresence

i didn't make any updates because i need to wait on danny to switch to python 3.5 in order to start working

@qwertyquerty Nice work, have you added it to PyPI yet? I've just been too busy to find time to make a full library for this, so I'm glad someone else has.


UVI Request

--- UVI JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from v4.11 to before v5.10.46",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=11538d039ac6efcf4f1a6c536e1b87cd3668a9fd",
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=fe0448a3fad365a747283a00a1d1ad5e8d6675b7"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "11538d039ac6efcf4f1a6c536e1b87cd3668a9fd",
      "note": "introduced"
    },
    {
      "type": "commit",
      "value": "fe0448a3fad365a747283a00a1d1ad5e8d6675b7",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "net: bridge: fix vlan tunnel dst null pointer dereference\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v5.10.46 by commit fe0448a3fad365a747283a00a1d1ad5e8d6675b7, it was introduced in version v4.11 by commit 11538d039ac6efcf4f1a6c536e1b87cd3668a9fd. For more details please see the references link."
}
--- UVI JSON ---

This issue has been assigned UVI-2021-1001006


Production Values & Alert Entities not working anymore

Hi there,
i'm kind of new to home-assistant therefore please be kind to me. After the Update Update of 2024.8 (at least that is my assumption) I'm got the following issues:
Value of my 2MTTP Deye in total comsumption does not match.
in the past i always got values between 2-5 kwh. A typical day looks like this:

After the update it looks like this:

Values add 200 kwh to a day ... same goes on the next days:

Value=sensor.deye_total_production

2nd Issue:
The Value: Altert on the Deye Decvice - every 5 secounds the value chances. In my mind i can't remember this behaviour. When i check the micro inverter manually via the ip/statuspage - all looks good.

Maybe someone could help me out - thanks

Hi @aViN-187, I think it's proly the same as https://github.com/davidrapan/ha-solarman/issues/65. I made the fix in: fix: Deye microinverters PV validation to 0.1. And it's already part of pre-release v24.08.10 but you will have to enable beta versions in the HACS under redownload button in the right top corner to see beta (pre-release) versions.

Duplicate of https://github.com/davidrapan/ha-solarman/issues/65

thanks for the quick reply - i activated beta and did the installation. I will report tomorrow. I assume the "wrong" values from the past days will not be corrected by the dashboard?

Sadly no :-/ But you can at least maybe clear them using Developer tools and then STATISTICS page. You can find the Total Production sensor and adjust the data.

Issue resolved:
Data is looking good so far - thanks!

nethertheless Alert Issue is still the same - what can i do to help out?

I'm glad to hear that!

Alert Issue is still the same - what can i do to help out?

I'll look into it and let you know. 😉

@CrazyUs3r? You were doing the changes there. Could you maybe elaborate? Thanks.

@aViN-187 Which inverter do you use with which firmware

hey @CrazyUs3r
Modell: deye sun800g3

The behavior startet 6. August. Before that no changes on the Alert.

After that - see post above

Try definition profile from this commit: feat: Updated Deye 2MPPT and 4MPPT

@davidrapan with mod protocol are you using?

Try definition profile from this commit: feat: Updated Deye 2MPPT and 4MPPT

Not working at all - 9 Duplicate Keys, etc. ... at least for the 2MPPT Version

Oh did I f*cked up something?

i I'll try tomorrow morning since I don't have any sun anymore

Yeah well and be aware that this version already did go trough naming standardization and for example Daily Production sensors changed into Today Production, etc. So migrate your history if you need that under new name using step by step guide from wiki. (But that sensor is not that important anyway as all the data are already in the Total version of that sensor but letting you know so you are not surprised) 😉

Update:
Total Production looks strange ... i got values in the statistics, but not in the energy overview.

Alert Management looks fixed - since i restartet HA with the new 2MPPT file - all goods, thanks!

Look at the entity id of that sensor, didn't it got messed up somehow?

I have no Problem. I night is all offline but total go normal up without 0

Load the firmware 32-D1 again up in inverter

@CrazyUs3r, great!
@aViN-187,

Alert Management looks fixed - since i restartet HA with the new 2MPPT file - all goods, thanks!

Does the "Value" in attributes changes? If so does it appear simply random or some specific values? If so, what values?

and my device status = fault is a problem from the ac wire this i check at the weekend

in the meantime values did appear .. so i assume all good for now.

in regards to the error message - not value at all, but now since no sun in shining the state changes to error.

I assume that behaviour correct? :) Nethertheless big thanks for your work

@aViN-187 That's awesome and you are very welcome! 🥂
Anyway, still suggest you to delete and re-add your device to clear out those nonexistent sensors. 😉


Add react-native-ble-plx

@Cierpliwy hey thanks for doing this! Small favor to ask: can you check if these libraries work with Expo and web and update the JSON object data? thanks :)

Hello! This module is based on native modules for Android and iOS so obviously it won't work on web. Regarding expo I think that I shouldn't mark it as supported. Normal expo apps don't work well with custom native modules without detaching project to ExpoKit, which is basically a conversion to plain react native project. Also user must configure XCode/AndroidStudio project manually to properly setup permissions for Bluetooth.

@Cierpliwy its totally fine that the libraries don't work with Expo :)
I just want an expo: false on the JSON object so everyone can know without having to ask :)

Updated

LGTM :) thank you!

@jimmylee It would be nice if you had a flag that indicated if the app worked with expo or required you to detach the expo app. For example, this library requires you to detach the app.


the-sz.RoyalPro version 1.01

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.4 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

What should I do? Virustotal has a different opinion: https://www.virustotal.com/gui/file/2296f22a89eb094cbdb9893bd945f6c6d75e31fd4b51ef5351c010b12e0bf986

Can you please re-run? Maybe now the signatures are updated?

@wingetbot run


allow pass styles to SwipeRow

Will this be merged soon? Yo quiero. Yo necesito.

Hey @chandlervdw sorry for the delay. I just merged. I have a few issues / PRs to take care of so I'll do a release with this and all the new stuff over the weekend. Until then you can point to master if you like. Thanks!

fixes #39

@jemise111 thanks! Quick question — does this only cover the scenario where you might utilize renderRow and renderHiddenRow inside of <SwipeListView> and not the scenario where you might only have renderRow with a <SwipeRow> inside?

@chandlervdw exactly.
Use the swipeRowStyle prop if you're using renderRow and renderHiddenRow
Use the style prop if you're passing a SwipeRow to renderRow


tar file is closed before further usage

Apparently, when using source upload with --inject the tar file is created from two different directories under /tmp. However, the file is being closed just after the injection step, so that the actual source and the scripts cannot be written.
s2i --loglevel 5 --inject "/home/user/.m2/repository/:/root/.m2/repository/" build . app-builder app:latest produces the following output:
...
I0125 17:12:51.152699 08557 tar.go:255] Adding to tar: /tmp/s2i-323596458/xmlpull/xmlpull/<IP_ADDRESS>/xmlpull-<IP_ADDRESS>.pom.sha1 as xmlpull/xmlpull/<IP_ADDRESS>/xmlpull-<IP_ADDRESS>.pom.sha1
I0125 17:12:51.152778 08557 tar.go:255] Adding to tar: /tmp/s2i-323596458/xpp3/xpp3_min/1.1.4c/_remote.repositories as xpp3/xpp3_min/1.1.4c/_remote.repositories
I0125 17:12:51.152845 08557 tar.go:255] Adding to tar: /tmp/s2i-323596458/xpp3/xpp3_min/1.1.4c/xpp3_min-1.1.4c.jar as xpp3/xpp3_min/1.1.4c/xpp3_min-1.1.4c.jar
I0125 17:12:51.152910 08557 tar.go:255] Adding to tar: /tmp/s2i-323596458/xpp3/xpp3_min/1.1.4c/xpp3_min-1.1.4c.jar.sha1 as xpp3/xpp3_min/1.1.4c/xpp3_min-1.1.4c.jar.sha1
I0125 17:12:51.152961 08557 tar.go:255] Adding to tar: /tmp/s2i-323596458/xpp3/xpp3_min/1.1.4c/xpp3_min-1.1.4c.pom as xpp3/xpp3_min/1.1.4c/xpp3_min-1.1.4c.pom
I0125 17:12:51.153013 08557 tar.go:255] Adding to tar: /tmp/s2i-323596458/xpp3/xpp3_min/1.1.4c/xpp3_min-1.1.4c.pom.sha1 as xpp3/xpp3_min/1.1.4c/xpp3_min-1.1.4c.pom.sha1
E0125 17:12:51.455001 08557 tar.go:210] Error writing header for Chart.Doughnut.js: io: read/write on closed pipe
I0125 17:12:51.455061 08557 tar.go:255] Adding to tar: /tmp/sti168046264/upload/src/app.client/bower_lib/Chart.js/src/Chart.Line.js as src/app.client/bower_lib/Chart.js/src/Chart.Line.js
E0125 17:12:51.455066 08557 tar.go:210] Error writing header for Chart.Line.js: io: read/write on closed pipe
I0125 17:12:51.455088 08557 tar.go:255] Adding to tar: /tmp/sti168046264/upload/src/app.client/bower_lib/Chart.js/src/Chart.PolarArea.js as src/app.client/bower_lib/Chart.js/src/Chart.PolarArea.js
E0125 17:12:51.455091 08557 tar.go:210] Error writing header for Chart.PolarArea.js: io: read/write on closed pipe
I0125 17:12:51.455111 08557 tar.go:255] Adding to tar: /tmp/sti168046264/upload/src/app.client/bower_lib/Chart.js/src/Chart.Radar.js as src/app.client/bower_lib/Chart.js/src/Chart.Radar.js
E0125 17:12:51.455113 08557 tar.go:210] Error writing header for Chart.Radar.js: io: read/write on closed pipe
I0125 17:12:51.455152 08557 tar.go:255] Adding to tar: /tmp/sti168046264/upload/src/app.client/bower_lib/Cookies/.bower.json as src/app.client/bower_lib/Cookies/.bower.json
E0125 17:12:51.455156 08557 tar.go:210] Error writing header for .bower.json: io: read/write on closed pipe
...

(I have no idea where the "Adding to tar" message for Chart.Doughnut.js went, probably another symptom of something weird happening asynchronously)

CC @php-coder

@rassie Thank you for the report!
I'm trying to reproduce the error, but, looks like I'm missing something important. Could you provide a bit more details? For instance, from where upload/src/* files came from? Maybe more logs, show files hierarchy, etc.

I'm able to reproduce it now, BTW.

Thanks, was going to prepare a minimal test case for you today or tomorrow, but that's probably obsolete now.

@rassie is Chart.Doughnut.js file being injected or it is something you have in your source?

It's in the source.

@rassie if you don't do injection, does it work? (want to see if this is related to streaming two tars asynchronously or streaming the source is somehow broken)

Yes, it works without the injection

@rassie We're suspecting that the cause is that target directory (/root/.m2/repository) doesn't exist. Is it true?

Probably, I'm not creating it explicitely.

@rassie OK, the destination directory has to exists, we are not creating it. So you will have to create it in your image before build. The error you see is different one, but still a bug. When we start streaming the sources and the injection failed (because of destinationDir does not exists) we remove the container as the build should fail. Unfortunately, we start streaming the sources in parallel, which will error as the container is gone (that explains the pipe closed error).
So to fix your problem, just make sure the directory where you are injecting exists. The subdirectories inside that injected dir are created properly, only the destinationDir must exists (we cannot create it automatically as we don't have permissions to).


Gx

Motivation for this change
Adds gx and gx-go which are used to build go-ipfs. go-ipfs hasn't been updated yet because I need to figure out how to build a ipfsfetch properly.
Unlike #15914 gx doesn't provide a wrapper, you have to have both gx and gx-go in your path if you want to use them together.
Things done

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

[x] NixOS
[ ] OS X
[ ] Linux

[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

/cc @rardiol @kamilchm

I don't think a fetchipfs is strictly necessary. From gx's requirements "Users are encouraged to have a running IPFS daemon of at least version 0.4.0 on their machines. If not present, gx will use the public gateway. If you wish to publish a package, a local running daemon is a hard requirement." So I think we just need some sort of integration of nix with gx.

@zimbatm @domenkozar is there a Nix package style guide that says something about meta?

Not officially but I should have added myself as the maintainer. Also packages who are missing meta.platforms are not built by hydra.

Fixed in da253439ed6399f8315ee30a7b8dd32d68c7d088


Multiple Months with Month Name In-Between

Hi there,
I'm about to pick a cal library for my next project, JTAppleCalendar appears the nicest, but there's one question I cannot find an answer for.
Can one create an apple-like cal like here with month names inbetween the months:

Or at least like here:

In particular:

Can one show multiple months below each other, with the month names as headers between the months. This includes the actual data, not just greyed out days like the JTAppleCalendar demo screen shots show

I just need a "yes it can" and I'll figure it out, but I'm just worried because non of the demo screen shots have month names between months, and the Common Questions section only lists "make the cells smaller" as the answer, but that wouldn't add that month name as far as I understand.

This can and has already been done many times.
some one has already done something like it --> https://github.com/patchthecode/WLAppleCalendar
This calendar has the "look"
Now if you want the multiple months, then all you have to do is implement headers.

calendarView.register(UINib(nibName: "MySectionHeaderView", bundle: Bundle.main),
                              forSupplementaryViewOfKind: UICollectionElementKindSectionHeader,
                              withReuseIdentifier: "MySectionHeaderView")

func calendar(_ calendar: JTAppleCalendarView, headerViewForDateRange range: (start: Date, end: Date), at indexPath: IndexPath) -> JTAppleCollectionReusableView {
   let header = calendar.dequeueReusableJTAppleSupplementaryView(withReuseIdentifier: "MySectionHeaderView", for: indexPath)
   return header
}

func calendarSizeForMonths(_ calendar: JTAppleCalendarView?) -> MonthSize? {
   return MonthSize(defaultSize: 20)
}

If you want the Month to look Exactly like AppleCalendar month where the monthName appears directly over the 1st date of the month, then this is also easy to do.
Make your month Header into a UIStackView with 7 labels equally spaced.
Then simply check on which column the 1st lands on (if column 1,2,3,4,5,6 or 7). Now depending on the column, just hide all the labels except the one where the column is on. Done. You will have an apple calendar clone.

@hactar you can build really good stuff with this library, it is super flexible
Here an example of Multiple Months with Month Name In-Between:

Awesome, thanks I'll be using this lib then, just wanted to make sure its doable, I'll figure it out with the hints you posted, thanks everyone.

@mgurreta Can you provide more details how did you achieve displaying names of days for each month? Is the day names row part of the section header or did you use some different solution? Thank you.

@tomassliz He implemented a header -> A UIStackView with 7 labels.
Details for implementing headers is found on the turotial wiki -> https://github.com/patchthecode/JTAppleCalendar/wiki/Tutorials number(6)

@patchthecode I know how to implement headers but I was curious if there is some other option than put month name and days names into single header.

@tomassliz

I was curious if there is some other option than put month name and days names into single header.

There are many other options. You can design anything in your header. I'm not sure if i misunderstood your question... let me know.

@tomassliz message here if you are online. Will be faster -> https://gitter.im/patchthecode/JTAppleCalendar

@patchthecode I'm using headers in my project, but I need to make the first header to have some different content and size. I was wondering if it's possible to give different sizes to headers. Currently I'm using the only method: calendarSizeForMonths but only returning one default size for all headers.


Missing 'key' for message with 'key' field sends by Producer

Bug Report
In producer.send(payload), if the payload is something like:
{
      topic: 'node-test4',
      messages: 'my test message',
      key: 'lowkey',
}

the key should be the message key, ref: https://github.com/SOHU-Co/kafka-node#sendpayloads-cb-1
However, the after checking the Kafka side, the key is missing.
Environment

Node version: v8.1.3
Kafka-node version: 1.6.2
Kafka version: v<IP_ADDRESS>

For specific cases also provide

Number of Brokers: 1
Number partitions for topic: 1

Include Sample Code to reproduce behavior
const kafka = require('kafka-node');

const { HighLevelProducer, KeyedMessage, Client } = kafka;

const client = new Client('localhost:2181', 'my-client-id');

client.on('error', error => console.error(error));

const producer = new HighLevelProducer(client, {
  requireAcks: 1,
  partitionerType: 3,
});

let count = 0;
producer.on('ready', () => {
  client.refreshMetadata(['node-test5'], (error) => {
    if (error) {
      console.error(error);
      return;
    }
    setInterval(() => {
      count += 1;
      // Create a new payload
      const payload = [
        {
          topic: 'node-test5',
          messages: `message ${count}`,
          key: 'lowkey',
        },
        {
          topic: 'node-test5',
          messages: new KeyedMessage('highkey', `message ${count}`),
        },
      ];
      producer.send(payload, (err, result) => {
        console.info('Sent payload to Kafka: ', payload);
        if (err) {
          console.error(err);
        } else {
          const formattedResult = result[0];
          console.log(`result: ${formattedResult}`);
        }
      });
    }, 2000);
  });
});

producer.on('error', error => console.error(error));

For the comparison, I also send a message which is KeyedMessage object.
Here is the output of the node index.js
  kafka-node:Client refresh metadata currentAttempt 1 +0ms
Sent payload to Kafka:  [ { topic: 'node-test5',
    messages: 'message 1',
    key: 'lowkey',
    partition: 0,
    attributes: 0 },
  { topic: 'node-test5',
    messages: KeyedMessage { magic: 0, attributes: 0, key: 'highkey', value: 'message 1' },
    partition: 0,
    attributes: 0 } ]
result: undefined
Sent payload to Kafka:  [ { topic: 'node-test5',
    messages: 'message 2',
    key: 'lowkey',
    partition: 0,
    attributes: 0 },
  { topic: 'node-test5',
    messages: KeyedMessage { magic: 0, attributes: 0, key: 'highkey', value: 'message 2' },
    partition: 0,
    attributes: 0 } ]
result: undefined
Sent payload to Kafka:  [ { topic: 'node-test5',
    messages: 'message 3',
    key: 'lowkey',
    partition: 0,
    attributes: 0 },
  { topic: 'node-test5',
    messages: KeyedMessage { magic: 0, attributes: 0, key: 'highkey', value: 'message 3' },
    partition: 0,
    attributes: 0 } ]
result: undefined

However, on the Kafka side, the result is different:
[
  {
    "topic": "node-test5",
    "key": "ée",
    "value": "message 1",
    "partition": 0,
    "offset": 0
  },
  {
    "topic": "node-test5",
    "key": "highkey",
    "value": "message 1",
    "partition": 0,
    "offset": 1
  },
  {
    "topic": "node-test5",
    "key": "ée",
    "value": "message 2",
    "partition": 0,
    "offset": 2
  },
  {
    "topic": "node-test5",
    "key": "highkey",
    "value": "message 2",
    "partition": 0,
    "offset": 3
  },
  {
    "topic": "node-test5",
    "key": "ée",
    "value": "message 3",
    "partition": 0,
    "offset": 4
  },
  {
    "topic": "node-test5",
    "key": "highkey",
    "value": "message 3",
    "partition": 0,
    "offset": 5
  },
  {
    "topic": "node-test5",
    "key": "ée",
    "value": "message 1",
    "partition": 0,
    "offset": 6
  },
  {
    "topic": "node-test5",
    "key": "highkey",
    "value": "message 1",
    "partition": 0,
    "offset": 7
  },
  {
    "topic": "node-test5",
    "key": "ée",
    "value": "message 2",
    "partition": 0,
    "offset": 8
  },
  {
    "topic": "node-test5",
    "key": "highkey",
    "value": "message 2",
    "partition": 0,
    "offset": 9
  }
]

As you can see, all the lowkey key are missing, only key in the KeyedMessage are there.
Thanks for your contribution!

Is it the bug here?
https://github.com/SOHU-Co/kafka-node/blob/master/lib/baseProducer.js#L133-L138
    messages = messages.map(function (message) {
      if (message instanceof KeyedMessage) {
        return message;
      }
-      return new Message(0, 0, '', message);
+      return new Message(0, 0, p.key || '', message);
    });

I think it might because the p.key is missing here.

After I changed it to p.key || '', the result seems right.
[
  {
    "topic": "node-test6",
    "key": "lowkey",
    "value": "message 1",
    "partition": 0,
    "offset": 0
  },
  {
    "topic": "node-test6",
    "key": "highkey",
    "value": "message 1",
    "partition": 0,
    "offset": 1
  },
  {
    "topic": "node-test6",
    "key": "lowkey",
    "value": "message 2",
    "partition": 0,
    "offset": 2
  },
  {
    "topic": "node-test6",
    "key": "highkey",
    "value": "message 2",
    "partition": 0,
    "offset": 3
  },
  {
    "topic": "node-test6",
    "key": "lowkey",
    "value": "message 3",
    "partition": 0,
    "offset": 4
  },
  {
    "topic": "node-test6",
    "key": "highkey",
    "value": "message 3",
    "partition": 0,
    "offset": 5
  }
]

I created a PR #700  for this issue.

Hi @twang2218 lets continue our discussion here instead of on the PR.
I believe we should allow any binary data for the key. In the past I thought perhaps a string key would be best (see #361) but since there's no restriction in the Kafka world we should treat it the same as messages are treated-- which is to let the user produce any binary data and the consumer define the output using the encoding option. What do you think?

If we allow the key can be anything, then KeyedPartitioner.hashCode() also has to be changed as well, as it assumed the key is string:
https://github.com/SOHU-Co/kafka-node/blob/8cba9d60d8ebdee32ae1d7668b05d4030fb19948/lib/partitioner.js#L41-L50
KeyedPartitioner.prototype.hashCode = function (string) {
  var hash = 0;
  var length = string.length;

  for (var i = 0; i < length; i++) {
    hash = ((hash * 31) + string.charCodeAt(i)) & 0x7fffffff;
  }

  return (hash === 0) ? 1 : hash;
};

But I do think the key should be able to be any type, the default type might still be string, however, it should be able to be changed by the user.
In Java client, when creating the KafkaProducer object, both key and value's serializer should be defined.
https://kafka.apache.org/0100/javadoc/index.html?org/apache/kafka/clients/consumer/KafkaConsumer.html
 props.put("key.serializer", "org.apache.kafka.common.serialization.StringSerializer");
 props.put("value.serializer", "org.apache.kafka.common.serialization.StringSerializer");

We can do the same, add 2 options in the BaseProducer for key and value serializers, and use string as default ones.
As well as Consumer, just like https://github.com/SOHU-Co/kafka-node/issues/702, it has to return the Buffer because there is no indication in the options for how to decode the key.

If a user is setting a Buffer as the key they must provide their own custom partitioner to handle that case.
I propose making the key consistent with how messages are treated.

If the key is null or undefined we set the length to -1. (will be consumed as null)
If the key is explicitly set as a Buffer we store it as is otherwise we store it as a binary string.

Decoding it on the consumer side will depending on the keyEncoding option and if it doesn't exist we could fallback to using encoding.

Fixed in #704 and published as 2.0.0. Thanks for your help.


[Packager] Update Run script to escape spaces in directory name

Previous discussion in #668
It turns out that my project is moved to a folder with "space" character in the name. So the run script fail to run.
This commit will wrap run script file path in quotes to escape the spaces.

That would definitely be useful, thanks for fixing! Could you please rebase your work on top of current master? TravisCI will ensure that e2e tests are still working.
Sorry about getting to this so late, I somehow missed it.

@phamhieu pinging you on this...can you rebase? I know some of these scripts have changed, so please make sure your change still applies when you rebase.

Any updates? @phamhieu

Closing this. Let's reopen if you are interested to work on this again.


Getting an Build error

Heyo, first of all, thanks for the help ;D
second of all, i have no clue if its because of the code, which it is apparently but i get an error (or better two) when i build it
Severity	Code	Description	Project	File	Line	Suppression State
Error	C2398	Element '1': conversion from 'const int32_t' to 'T' requires a narrowing conversion
Error	C2398	Element '2': conversion from 'const int32_t' to 'T' requires a narrowing conversion
Both in Line 31 from main.cpp

Yes it seems it is coming from the code, I will look into this.

Did you already change it?
i see, that you changed something at main.cpp, and wasnt sure if you already change something in the code.
If not, then its totally okey xD, just wanted to ask

The change is not related to the issue, you should have the same. Can you confirm to me that you still have it and at which line ? I think it should be at the creation of the window context but I am not sure

Like i said  its from line 31 in main.cpp
And yeah it is indeed the line with the window.

I asked for the line because it seems to be an older version of the main file. I did push a fix, can you tell me if it is compiling now ?

Oh god, there are now even more xD

I am so sorry, for bothering you with this that much.

No problem, I am programming on mac os so it is possible that things are not working that well on other systems. I will try to see
if I can reproduce on visual studio

With the latest commit I was able to compile it with visual studio 2019, let me know if you have issues

Yes it works :D
(Maybe with some workarounds, but this doesnt have sth to do with the code anymore)
Thank you so much for helping!

No problem, thanks to you it compiles on visual studio now 😃


Update Datepicker onSelectedDateChanged signature to include isClearAction parameter

[X] I have followed the Your First Code Contribution section of the Contributing guide

Update Datepicker onSelectedDateChanged signature to include isClearAction parameter
#1366

Summary by CodeRabbit

New Features

Enhanced the date picker functionality to include an indicator for clear actions, improving user interaction by signaling whether a date was cleared or changed.

onChange prop should be returning Date | null in the first place, avoiding this workaround

I'm not sure... 🤔  Let me think.

Also, this has packages/ui changes, which should introduce a changeset, please run bun changeset in the root folder and follow instructions to bump the flowbite-react package to a patch, in the end u have to give it a changelog/summary of the PR, then commit the generated changeset.

onChange prop should be returning Date | null in the first place, avoiding this workaround

@SutuSebastian I agree with you but the reason why I proposed this implementation is because at the moment clear button does not clear the date to be null, but it resets it to the default value. To me this is counterintuitive but if developers decide for some reason to implement it that way I am not planning to be a bottleneck. This approach is harmless and it allows us to set dates to null if we want. If you want to I can implement it so onSelectedDateChanged accept Date | null but then I will need to change implementation of clear from:
const clearDate = () => {
    changeSelectedDate(defaultDate, true, true);
    if (defaultDate) {
      setViewDate(defaultDate);
    }
  };

to something like:
const clearDate = () => {
    changeSelectedDate(defaultDate, true, true);
    setViewDate(defaultDate);
  };

and as well change code from:
{showClearButton && (
  <button
    type="button"
    className={twMerge(theme.popup.footer.button.base, theme.popup.footer.button.clear)}
    onClick={() => {
      changeSelectedDate(defaultDate, true, true);
      if (defaultDate) {
        setViewDate(defaultDate);
      }
    }}
  >
    {labelClearButton}
  </button>
)}

to something like below:
{showClearButton && (
  <button
    type="button"
    className={twMerge(theme.popup.footer.button.base, theme.popup.footer.button.clear)}
    onClick={() => {
      changeSelectedDate(null, true, true);
      setViewDate(null);
    }}
  >
    {labelClearButton}
  </button>
)}

Also, this has packages/ui changes, which should introduce a changeset, please run bun changeset in the root folder and follow instructions to bump the flowbite-react package to a patch, in the end u have to give it a changelog/summary of the PR, then commit the generated changeset.

Thanks for giving me this information. I have just generated changelog content and pushed it to this MR.

Check comments ☝

I have just checked them and I have performed the necessary changes.


Default to Reconcile mode for CRS

Issue #, if available:
Description of changes:
Testing (if applicable):
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgtm


[REQUEST] Getting an Lat, Lon

Would be nice to have a few lines about how to get the Location Lat and Long. There are mostly only fragments in the Internet. (or I search wrong)

Android Developer website contain plenty of information about this - https://developer.android.com/training/location/retrieve-current.html

Also https://guides.codepath.com/android/Retrieving-Location-with-LocationServices-API


test content & urls with caliper scrapy script

dev notes

[x] install dev version of caliper https://github.com/Princeton-CDH/caliper-scrapy/tree/develop
[x] run against production site prosody.princeton.edu
[x] save the output with name similar to others and upload a copy to drive
[ ] when test site is ready, crawl test site
[ ] compare csvs to see if we missed anything

Status:

Working, prosody.princeton.edu craweld
On pause for now until test site is ready
Investigating discrepancy in # of URLs between 2019 and 2022 versions of prosody website

Coming back to this now that we have cdh-test-prosody1

URLs are matching, barring some discrepancies in the crawler for the test site not following some urls hardlinked to production.


after marriage proposal PR, redirect the user to aETH token if the current token is ETH and the name of the action is depositAAVE #2056

Closes #2056

Dropped


Fixed #14974 -- Allow using custom i18n backends

This adds support for custom i18n backends in Django.
This https://github.com/rtnpro/django-pontoon-hook/tree/i18n_backend shows how to customise the i18n backend as necessary.
Please review it and let me know if it's OK or needs improvements.

Any news on this merge ?

@visik7 You should follow the ticket on Trac (i.e. add yourself to CC) if you're interested in updates on that feature.


Lack of maintenance?

Hello, has this provider become unmantained?
If yes, I might suggest setting the repository as "archived" for clarity or adding a note to the README.

Hi @criscola we have been maintaining a separate branch now the changes are in for v1beta1 clusterctl support


[FEATURE] Add Sanity/Honor for DnD5e?

Hi, great module, but it lacks support for the DnD5e optional Ability Scores, like Sanity. These are optional but supported by the DnD5e system by default, so it would be great if your module supported them as well!

Will do!

Added in 0.8.2.


Let user report false anagrams

If the user gets an anagram that is too short (which is the real bug) let them report it.  The underlying bug occurs in the full search version of this program rather than this one and I'm not certain that it will occur here.  It is important (critical) to know if it occurs.  Perhaps add language to the button imploring reporting of suspected bad anagrams.

What about just checking for them and recording when they occur and the context?  Could still use the user reporting as a redundancy but it seems like there's no reason not to auto check.  I think I used code from the CLI that filters out short anagrams anyway...just handle that differently and send yourself an email or something if it happens.  Because the belief is that this is not happening, its just something to look for.

Mostly concerned about edge cases and bad user input.


[Bug] Connection over Proxy not using correct protocol

Plugin Name
@nxrocks/nx-spring-boot
Plugin Version
6.3.0
Nx Version
15.5.2
Expected Behaviour
The proxy agent returned should be based on the protocol based on the URL and not on the Proxy. See also

It seems that the Http(s)ProxyAgent needs to based on the Server URL and not on the Proxy URL.
I can also create an PR for this if you want ?
Actual Behaviour
Currently it is trying to connect with the false protocol if the procotol from the proxy and server are not the same.
Here a short matrix based on the above image:

Proxy
Server
Status

HTTP
HTTP
working

HTTPS
HTTP
not working

HTTP
HTTPS
not working

HTTPS
HTTPS
working

Steps to reproduce the behaviour

Have a setup with a http proxy.
Generate a app which needs an connection.

Hi @Darkterror45
Thanks for using the plugin and for reporting this.
Please, feel free to submit the PR, I'll gladly review and accept it ^^.
FYI: The code affecting the HTTP Proxy was recently changed in this commit
Just make sure to follow the contributing guidelines


On Raft leader evacuation or cert. rotation config-tx forwarding may fail silently

Analysis of recent flakes in Raft integration tests reveals a that the root cause (of some of them, at least) is from the leader abdication mechanism, following leader evacuation of cert rotation. Here is a the story. The test is: (config_test.go:490)
	When("the orderer certificates are all rotated", func() {
		It("is possible to rotate certificate by adding & removing cert in single config", func() {

The test is rotating the certs of 3 node, starting from the leader
The first leader is 2, its rotation goes fine. It detects the rotation, abdicates and transfers leadership to node 3, gets the config, and becomes unavailable, restarted, joins the cluster
The next node to be rotated is node 1, a follower, it goes smooth.
The last node to be rotated is node 3, the leader, and here it fails.
It detects the rotation, abdicates and transfers leadership to node 2
It then tries to forward the config-tx to node 2, but fails. It does not retry.
The config-tx never gets submitted and committed, so the test waits for node 3 to become unavailable until it times out.

The forwarding failure message is:
2023-02-23T14:52:51.7172154Z     [91m[e][35m[OrdererOrg.orderer3][0m [34m2023-02-23 14:51:50.363 UTC 008b INFO[0m [orderer.consensus.etcdraft] [34;1mforwardToLeader[0m -> Forwarding transaction to the leader 2 channel=testchannel node=3
2023-02-23T14:52:51.7212097Z     [91m[e][35m[OrdererOrg.orderer3][0m [34m2023-02-23 14:51:50.363 UTC 008c INFO[0m [orderer.consensus.etcdraft] [34;1mfunc1[0m -> Un-mapping transaction stream to 2 because encountered a stale stream
2023-02-23T14:52:51.7213757Z     [91m[e][35m[OrdererOrg.orderer3][0m [33m2023-02-23 14:51:50.363 UTC 008d WARN[0m [orderer.common.cluster.step] [33;1msendMessage[0m -> Send of SubmitRequest for channel testchannel with payload of size 30208 to orderer2.example.com(<IP_ADDRESS>:28008) took 128.7µs but failed due to EOF
2023-02-23T14:52:51.7215350Z     [91m[e][35m[OrdererOrg.orderer3][0m [33m2023-02-23 14:51:50.363 UTC 008e WARN[0m [orderer.consensus.etcdraft] [33;1mfunc1[0m -> Reconfiguration transaction forwarding failed with error: EOF channel=testchannel node=3

Bottom line: forwarding the config-tx after abdication may fail silently and sporadically. When that happens, tests that expect the config-tx to commit get stuck.
Two things may be done.

One option is to do some retries here (chain.go L962):

// Else, abdication succeeded, so we submit the transaction (which forwards to the leader)
						if err := c.Submit(msg, 0); err != nil {
							c.logger.Warnf("Reconfiguration transaction forwarding failed with error: %v", err)
						}
						return

the connection will be re-established and the message will be sent.

Another option is to rewrite the tests such that leader evacuation /cert  rotation are retried if they get stuck.

This issue will address the first option.

See also #4063

https://github.com/hyperledger/fabric/pull/4024 addressed here


com.intellij.diagnostic.PluginException

Hi， I have a problem， please help me.
version：
Goland 2024.2.3
Question：
com.intellij.diagnostic.PluginException: ActionUpdateThread.OLD_EDT is deprecated and going to be removed soon. 'com.github.mokkapps.codesnapintellijextension.actions.OpenInCodeSnapAction' must override getActionUpdateThread() and chose EDT or BGT. See ActionUpdateThread javadoc. [Plugin: com.github.mokkapps.codesnapintellijextension]
at com.intellij.diagnostic.PluginProblemReporterImpl.createPluginExceptionByClass(PluginProblemReporterImpl.java:23)
at com.intellij.diagnostic.PluginException.createByClass(PluginException.java:90)
at com.intellij.diagnostic.PluginException.reportDeprecatedUsage(PluginException.java:125)
at com.intellij.openapi.actionSystem.ActionUpdateThreadAware.getActionUpdateThread(ActionUpdateThreadAware.java:21)
at com.intellij.openapi.actionSystem.AnAction.getActionUpdateThread(AnAction.java:201)

Thank you for bringing this issue to my attention. I am aware of the warning that the function ActionUpdateThread.OLD_EDT is deprecated and will be removed soon. This indicates that the plugin is using a deprecated function, and I want to inform you that this will be addressed in the next version of the plugin.
I will ensure that the necessary changes are made, including overriding the getActionUpdateThread() method to correctly handle the transition to either EDT or BGT as recommended.
Thank you for your understanding, and the fix will be included in the next release.

The fix has been implemented in the latest version, which will soon be published on the JetBrains Marketplace. You can also download the new version here: v1.1.5.

3ks for your help.


Format document produces unnecessary trailing whitespaces

Description
Execution of "Format Document" command produces unnecessary trailing whitespaces

Repro steps

Install Trailing Whitespace Visualizer extension
Execute "Format Document" command

Expected behavior
No additional trailing whitespaces added
Actual behavior
Before the function on the empty line added whitespaces for indentation.
After = sign and then and else key words added whitespace even though the line has no other characters after.
Related information

Extension version 2.4.1
Visual Studio 2015 Update 2
Other extensions installed in Visual Studio - does not matter for this issue

Why this is a problem?

@vaskir some people don't like trailing invisible char, and using a formatting tool you'd expect the output to be closest to optimal format (disregarding aesthetics).
Also those trailing characters tend to create unnecessary churn during the life of files because some will get added/removed often unknowingly.
Many people or even editors have default settings stripping those out.

Report it to Fantomas repository.


fix: file upload

Closes #8081
The Problem
Somewhere along the line we removed the upload limit.  This caused a bunch of odd state changes that made it unclear as to how a user should proceed.
Solution...for now
Re-institute the upload limit.
Real Solution
Have the api/v2/write accept files so we can take advantage of xhrs file progress API or fetch streams.  This way, we can upload larger files and properly display the progress to the user.
Notes
This was much more tedious than expected.  The state machine that is LineProtocolWizard had not been touched in years.  It was overly generalized so it could be re-used elsewhere.  It's not used anywhere else.  This led to a bunch of unnecessary props and state which I attempted to untangle the best I could.  Since no other part of the app cares about the state of this overlay, I pulled its state out of redux and into its own reducer with the useReducer hook.
A part of me wishes I had just started from scratch.

is there a way we could define WritePrecision outside of the old client library since it's not supported and this has been the most i've seen it touched in 4mo?


feat(SelectItem): Emit a select event when an option is selected

I've implemented a select event/emit on the SelectItem so it's consistent with Listbox/Combobox.
This is especially important when using multiple because we cannot rely on update:modelValue as we only need the specific item that was last selected.
Let me know if you have any questions or objections!

I see there's a failing check. But it doesn't seem to be caused by my changes as I didn't touch that part of the code.

Yoo @kilobyte2007 ! I've fixed the test issue, can you please rebase the branch on origin/main or merge from origin/main? 😁


Link to Try it out

Hi there, great project!
It'd be nice to get a link to try packages out on tonicdev e.g. https://tonicdev.com/npm/lodash

@atduarte are you also addressing this with your small redesign of the search results?

@satazor Yep :)

Also see #33, the "try in tonic" appears on hover.

A new deployment just landed with this feature.

Aw that didn't take long! Thank you folks :)


BMP Crash During Read

Mask.zip

chun-li.zip

I'm having trouble reproducing with these examples. Can you confirm which version of OIIO specifically you tried? Do you by any chance have a stack trace of the crash?

It is actually a bounds assert
fscanline[i] = 255
m_colortable size = 255
mscanline[j]     = m_colortable[fscanline[i]].r;

I will get lastest

Latest fails also generates the assert.

ok, I can reproduce


MySQL/MariaDB: @default(dbgenerated(...)) semi broken for dates

The allsquare database schema example has a datetime with a default, and via Introspection and then Migrations this breaks in some circumstances.
This is the original SQL:
--
-- Table structure for table `albums`
--

DROP TABLE IF EXISTS `albums`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `albums` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `content` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `albumable_type` varchar(191) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `albumable_id` int(11) DEFAULT NULL,
  `created_at` datetime NOT NULL,
  `updated_at` datetime NOT NULL,
  `deleted_at` datetime NOT NULL DEFAULT '1970-01-01 00:00:00',
  `type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cover_picture_id` int(11) DEFAULT NULL,
  `priority` int(11) DEFAULT NULL,
  `media_id` int(11) DEFAULT NULL,
  `attachment_id` int(11) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `index_albums_on_albumable_type_and_albumable_id` (`albumable_type`,`albumable_id`) USING BTREE,
  KEY `index_albums_on_deleted_at` (`deleted_at`)
) ENGINE=InnoDB AUTO_INCREMENT=177178 DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;

From our Introspection databases, this gets turned into 2 different (!) Prisma schemas for MySQL and MariaDB:
MySQL:
model albums {
  id               Int      @id @default(autoincrement())
  title            String?  @db.VarChar(255)
  content          String?  @db.Text
  albumable_type   String?
  albumable_id     Int?
  created_at       DateTime @db.DateTime(0)
  updated_at       DateTime @db.DateTime(0)
  deleted_at       DateTime @default(dbgenerated("1970-01-01 00:00:00")) @db.DateTime(0)
  type             String?  @db.VarChar(255)
  cover_picture_id Int?
  priority         Int?
  media_id         Int?
  attachment_id    Int?
  @@index([albumable_type, albumable_id], map: "index_albums_on_albumable_type_and_albumable_id")
  @@index([deleted_at], map: "index_albums_on_deleted_at")
}

MariaDB:
model albums {
  id               Int      @id @default(autoincrement())
  title            String?  @db.VarChar(255)
  content          String?  @db.Text
  albumable_type   String?
  albumable_id     Int?
  created_at       DateTime @db.DateTime(0)
  updated_at       DateTime @db.DateTime(0)
  deleted_at       DateTime @default(dbgenerated("('1970-01-01 00:00:00')")) @db.DateTime(0)
  type             String?  @db.VarChar(255)
  cover_picture_id Int?
  priority         Int?
  media_id         Int?
  attachment_id    Int?
  @@index([albumable_type, albumable_id], map: "index_albums_on_albumable_type_and_albumable_id")
  @@index([deleted_at], map: "index_albums_on_deleted_at")
}

To highlight the difference:
- deleted_at       DateTime @default(dbgenerated("1970-01-01 00:00:00")) @db.DateTime(0)
+ deleted_at       DateTime @default(dbgenerated("('1970-01-01 00:00:00')")) @db.DateTime(0)

See how the MariaDB dbgenerated has an additional ('...') in there.
This leads to two different .sql migration files to be created as well:
MySQL:
-- CreateTable
CREATE TABLE `albums` (
    `id` INTEGER NOT NULL AUTO_INCREMENT,
    `title` VARCHAR(255) NULL,
    `content` TEXT NULL,
    `albumable_type` VARCHAR(191) NULL,
    `albumable_id` INTEGER NULL,
    `created_at` DATETIME(0) NOT NULL,
    `updated_at` DATETIME(0) NOT NULL,
    `deleted_at` DATETIME(0) NOT NULL DEFAULT 1970-01-01 00:00:00,
    `type` VARCHAR(255) NULL,
    `cover_picture_id` INTEGER NULL,
    `priority` INTEGER NULL,
    `media_id` INTEGER NULL,
    `attachment_id` INTEGER NULL,

    INDEX `index_albums_on_albumable_type_and_albumable_id`(`albumable_type`, `albumable_id`),
    INDEX `index_albums_on_deleted_at`(`deleted_at`),
    PRIMARY KEY (`id`)
) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;

MariaDB:
-- CreateTable
CREATE TABLE `albums` (
    `id` INTEGER NOT NULL AUTO_INCREMENT,
    `title` VARCHAR(255) NULL,
    `content` TEXT NULL,
    `albumable_type` VARCHAR(191) NULL,
    `albumable_id` INTEGER NULL,
    `created_at` DATETIME(0) NOT NULL,
    `updated_at` DATETIME(0) NOT NULL,
    `deleted_at` DATETIME(0) NOT NULL DEFAULT ('1970-01-01 00:00:00'),
    `type` VARCHAR(255) NULL,
    `cover_picture_id` INTEGER NULL,
    `priority` INTEGER NULL,
    `media_id` INTEGER NULL,
    `attachment_id` INTEGER NULL,

    INDEX `index_albums_on_albumable_type_and_albumable_id`(`albumable_type`, `albumable_id`),
    INDEX `index_albums_on_deleted_at`(`deleted_at`),
    PRIMARY KEY (`id`)
) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;

While the MariaDB SQL can be executed successfully, the MySQL one unfortunately fails with this error message:
Error: P3018

A migration failed to apply. New migrations cannot be applied before the error is recovered from. Read more about how to resolve migration issues in a production database: https://pris.ly/d/migrate-resolve

Migration name: normalized_migration_name

Database error code: 1064

Database error:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-01-01 00:00:00,
    `type` VARCHAR(255) NULL,
    `cover_picture_id` INTEGER NU' at line 10

Please check the query number 4 from the migration file.

Note the difference between the original, and the new MySQL statement for deleted_at:
- `deleted_at` datetime NOT NULL DEFAULT '1970-01-01 00:00:00', -- original
+ `deleted_at` DATETIME(0) NOT NULL DEFAULT 1970-01-01 00:00:00, -- MySQL via Migrate
+ `deleted_at` DATETIME(0) NOT NULL DEFAULT ('1970-01-01 00:00:00'),  -- MariaDB via Migrate

TLDR
Introspection picks up the default from MySQL into dbgenerated in a way that Migrate creates SQL that can not be executed, as it is missing the quotes around the date string that should be the default.

I can reproduce this.

Internal note: This is also reason #1 for failing MySQL Migrations in our internal Migrations-CI.

Proposal on solving this and the other issues related to datetime defaults: https://gist.github.com/pimeys/217c85811612555d706d4a7d3f78d91b

Follow up, internal: https://www.notion.so/prismaio/Better-representing-Date-Time-and-Datetime-Default-Values-in-the-PSL-b754d2cb84a54bebb876327bc4f51d2b

i thought i was the only who have this error but why prisma generate DATETIME(3) in the mysql statement?
Error Logs:
`Environment variables loaded from .env
Prisma schema loaded from prisma/schema.prisma
Datasource "db": MySQL database "ivr_tarot" at "localhost:3306"
Error: P3006
Migration<PHONE_NUMBER>4452_init failed to apply cleanly to the shadow database.
Error code: P3018
Error:
A migration failed to apply. New migrations cannot be applied before the error is recovered from. Read more about how to resolve migration issues in a production database: https://pris.ly/d/migrate-resolve
Migration name:<PHONE_NUMBER>4452_init
Database error code: 1064
Database error:
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '3),
updated_at DATETIME(3) NOT NULL,
PRIMARY KEY (`id`)

) DEFAULT CHA' at line 7
Please check the query number 1 from the migration file.
`
but the query that generated by the prisma is
CREATE TABLE PhoneNumberTable(    idINTEGER NOT NULL AUTO_INCREMENT,    phone_numberINTEGER NOT NULL,    nameVARCHAR(191) NOT NULL,    aspect_idINTEGER NOT NULL,    created_atDATETIME(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3),    updated_at` DATETIME(3) NOT NULL,
PRIMARY KEY (`id`)

) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
`
and prisma model was
model tarot_card_category {
id          Int          @id @default(autoincrement())
name        String
dial_number Int
status      Status
tarot_card  tarot_card[]
created_at  DateTime     @default(now())
updated_at  DateTime     @updatedAt
}`
can anyone help me with this error?
`


Typo, grammar, and other improvements to README

Missing DCO

I always forget that when I use the web interface.


[453] Add ore web widget react component

The latest commits require oreid-js 2.11.0 from this PR - https://github.com/API-market/oreid-js/pull/60


Mono Calibration on Ubuntu 16.04 with ros kinetic (OpenCV 3.1.0)

Hello DVS-Team,
I compiled the repo packages on Ubuntu 16.04 with ros kinetic (OpenCV 3.1.0). I had to adjust the parameter order of the stereoCalibrate-function in the file "camera_dvs_calibration.cpp" and change the import of QWidget in the file "calib_widget.py" (from ...QtGui to ...QtWidgets) to remove all compilation errors and to get a running mono calibration (dvs_intrinsic.launch).
But as soon as the dvs_128 detects the calibration-pattern (5x5 LEDs) some nodes die. It says:
OpenCV-Exception:
The function/feature is not implemented (You should explicitly call mapHost/unmapHost methods for ogl::Buffer object) in getMat_, file /tmp/binarydeb/ros-kinetic-opencv3-3.1.0/modules/core/src/matrix.cpp, line 1225
Ros-Error:
[roslaunch][ERROR] 2016-12-01 16:23:43,939: [dvs_calibration-4] process has died [pid 7488, exit code -6, cmd /home/fzi_pk/catkin_ws/devel/lib/dvs_calibration/mono events:=/dvs/events camera_info:=/dvs/camera_info set_camera_info:=/dvs/set_camera_info __name:=dvs_calibration __log:=/home/fzi_pk/.ros/log/184a092e-b7da-11e6-8d64-34e6ad58853b/dvs_calibration-4.log].
As for now we got stuck in debugging and probably going back to 14.04 with indigo but it would be nice to be able to use kinetic (+OpenCV 3). SO if you have some advises, would be great. Thank you very much.
Best Regards
Philip Keller

The package should now work with both OpenCV 2 and 3 (and 14.04 and 16.04).

Why do you keep sending me email Elias Mueggler?
From: Elias Mueggler<EMAIL_ADDRESS>Sent: Tuesday, January 24, 2017 8:11 AM
To: uzh-rpg/rpg_dvs_ros
Cc: Subscribed
Subject: Re: [uzh-rpg/rpg_dvs_ros] Mono Calibration on Ubuntu 16.04 with ros kinetic (OpenCV 3.1.0) (#13)
The package should now work with both OpenCV 2 and 3 (and 14.04 and 16.04).
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/uzh-rpg/rpg_dvs_ros/issues/13#issuecomment-274849785 , or mute the thread https://github.com/notifications/unsubscribe-auth/ADWA4Y2YrlQVr1IWoyEckpsAPLgFFgHMks5rViKdgaJpZM4LBnvR .  https://github.com/notifications/beacon/ADWA4ZIlwwjYc1I5lBGvSvgk2O0fsfO2ks5rViKdgaJpZM4LBnvR.gif


Open discussion: how to render absolute paths

This header does not look right to me.
--- a//tmp/tmpt1j_939i/sample.py
+++ b//tmp/tmpt1j_939i/sample.py

Perhaps when using absolute paths, omit the a/ prefix?

I agree. Dropping the prefix would be better.


Source<EMAIL_ADDRESS>not found: File not found. solidity(6275)

I am using Solidity v0.7.3 by Nomic Foundation in two Foundry repositories, and both have the same file structure, foundry.toml, installed forge dependencies, and remappings.txt
The difference between those two repos are file numbers in src and test folders.
In the smaller repo, I have one Solidity file importing dependencies from openzeppelin and aave. And the plugin in VS Code shows no problem:
https://github.com/AuroraLantean/foundry-dx
in the bigger repo, after adding lots of files into src and test folders, the plugin showed no problem yesterday.
BUT today when I opened up VS Code, this plugin started to show this error:
Source "forge-std/console.sol" not found: File not found. Searched the following locations: "".solidity(6275)
Source<EMAIL_ADDRESS>not found: File not found. Searched the following locations: "".solidity(6275)
https://github.com/AuroraLantean/foundry-d2
Another difference is in the cache/solidity-files-cache.json
The bigger repo has "sources": "abc",   BUT the smaller repo has "sources": "src"
Here is the first few lines from the bigger repo's solidity-files-cache.json:
{
  "_format": "ethers-rs-sol-cache-3",
  "paths": {
    "artifacts": "out",
    "build_infos": "out/build-info",
    "sources": "abc",
    "tests": "test",
    "scripts": "script",
    "libraries": [
      "lib"
    ]
  },

forge build and forge test ... all work fine in both repos. So the problem is not in file structure, foundry.toml, installed forge dependencies, or remappings.txt. I think somehow the plugin could not see remappings.txt... please help. Thanks

Solved: https://book.getfoundry.sh/config/vscode


[Node 4] Handle bound functions

Bound functions now are named "bound ${name}", which is not a valid function identifier. To replicate this name in the module mocker, we can strip off "bound " and call bind() on the generated function instead.
Fix #488

thanks @ide!


[Feature request] Move ping amount to the settings of the server

[Feature request] Move ping amount to the settings of the server.
This way different servers will be possible to ping different amount of times (because some can be more important or have worse internet connection). The new checkbox from #5 if implemented can be also used in server's settings, not the app's settings.

This can be done and makes perfect sense. It's always a decision to put something to the server or the global settings (the latter being less effort). I'm the only developer on this project and spend time when I'm able to and I'm currently busy with time scheduling feature, which will take quite a while. After that I'm thinking about ping enhancements.

I would like to note, that your application is the only one I know for making this general pings/requests that is FLOSS and not outdated. So, that's why it would be great if this project would improve with new features and new users.

With 1.4.0 release ping and connect count can now be set per network task


there are no custom syntax files anymore

Custom syntax files were removed in d98ea8c3ddee58286b3322129c232f9c7f905572, but the docs still mention them.

Yes, the joys... 🍻 thanks!


Replacement of igmpproxy with pimd

Hi,
I am running a pfsense box and in first approach I thought igmpproxy was the first solution to access multicast streams as IGMP announces are sent by my ISP (I read the mutlicast howto).
Nevertheless, using igmpproxy works only if I start first pimd, kill it and then start again igmpproxy.
my pimd.conf
# These two are only needed if pimd is stared with -N flag
phyint igb0.100 enable igmpv2
phyint igb1 enable igmpv2
# Used for more complex topologies, but is OK to keep anyway
spt-threshold packets 0 interval 100
# These two are requried in case more PIM routers are available
bsr-candidate priority 5
rp-candidate time 30 priority 20

my igmpproxy.conf
##------------------------------------------------------
## Enable Quickleave mode (Sends Leave instantly)
##------------------------------------------------------
quickleave
phyint igb0.100 upstream ratelimit 0 threshold 1
altnet <IP_ADDRESS>/24
altnet <IP_ADDRESS>/24
altnet <IP_ADDRESS>/24
altnet <IP_ADDRESS>/24

phyint igb1 downstream ratelimit 0 threshold 1
altnet <IP_ADDRESS>/24

I did captures using the router provided by my ISP with a bridge and I have only seen IGMPv2 packets, no PIM-SM packets. The router is using address <IP_ADDRESS> to send IGMP announces.
My question is to know which good thing is performing pimd which allows me to use igmpproxy after.
I agree this is not a real bug report but I did not find any ML for pimd.
cheers,

As you say, this is not a bug in pimd, so I'm closing this issue.
I suggest to ask the igmpproxy project why their program does not work.


Trigger release action for pre-releases

Description
@PaulAsjes @mattgd
Documentation
Does this require changes to the WorkOS Docs? E.g. the API Reference or code snippets need updates.
[ ] Yes

If yes, link a related docs PR and add a docs maintainer as a reviewer. Their approval is required.

This will publish any pre-release/beta version as the latest tag, is the plan here to then remember to run fix-latest? Or we can make this deploy a little smarter.

E.g. what we do with authkit-nextjs https://github.com/workos/authkit-nextjs/blob/main/.github/workflows/release.yml

Oops hit approve too soon, we should address @jasonroelofs's comments about making deploys smarter.

@jasonroelofs yeah, good call... Let me know what you think of the fix now!


Is there a way to specify sap-client in SCTS_CLOUD_API_ODATA_SRV?

Initializing pyodata.Client using the code below will result in an authentication error.
I want to connect to a 510 client. Can I specify sap-client = 510 to connect to in pyodata.Client?
>>> import requests, urllib3
>>> from pyodata.exceptions import PyODataException, HttpError
>>> import pyodata
>>> urllib3.disable_warnings()
>>> SERVICE_URL = 'https://' + server + '/sap/opu/odata/sap/SCTS_CLOUD_API_ODATA_SRV'
>>> session = requests.Session()
>>> session.verify = False
>>> session.auth = (user, passwd)
>>> try:
...     client = pyodata.Client(SERVICE_URL, session)
... except HttpError as e:
...     e.response.status_code
...     e.response.headers['set-cookie']
...
401
'sap-usercontext=sap-client=951; path=/'
>>>

I tried running it with curl.
$ curl -u $USER -k -I https://$SERVER/sap/opu/odata/sap/SCTS_CLOUD_API_ODATA_SRV/$metadata
HTTP/2 401
set-cookie: sap-usercontext=sap-client=951; path=/
content-type: text/html; charset=utf-8
content-length: 9321
sap-system: SD1
www-authenticate: Basic realm="SAP NetWeaver Application Server [SD1/951]"
sap-server: true
sap-perf-fesrec: 10227.000000

This is the same as what is being done below.
https://github.com/SAP/python-pyodata/blob/1.7.0/pyodata/client.py#L14
I can connect to the correct client by specifying sap-client.
$ curl -u $USER -k -I https://$SERVER/sap/opu/odata/sap/SCTS_CLOUD_API_ODATA_SRV/$metadata?sap-client=510
HTTP/2 200
set-cookie: sap-usercontext=sap-client=510; path=/
set-cookie: SAP_SESSIONID_SD1_510=*******; path=/; secure; HttpOnly
content-type: text/html
content-length: 0
sap-processing-info: ODataBEP=,crp=,RAL=,st=,MedCacheHub=,codeployed=,softstate=
sap-server: true
sap-perf-fesrec: 41539.000000

Is there a way to specify sap-client in pyodata.Client?

Hi @ksaito1125.
I understand what are you trying to achieve, but I believe you can do it even now without the necessity of changes on the pyodata side.
In the PR you updated just .get() for initial metadata, but subsequently, every other request, be it GET, POST, PATCH etc. would need this parameter as well to be working as you expecting on target SAP system.
Since what you want is essentially param = {'sap-client': sap_client} in every requests call, you should be able to set it up on the requests.Session() object, that you need to pass to pyodata instance initialization anyway.
I think the Session.params is exactly for that, so there should not be need for any PR to pyodata.
https://requests.readthedocs.io/en/latest/api/#requests.Session.params
Please try it out and comment if that solves your problem.
Petr

Hello @phanak-sap
Your point is correct.
I was able to confirm that it works with the code below.
I appreciate it very much.
>>> import requests
>>> import pyodata
>>> session = requests.Session()
>>> session.auth = (user, passwd)
>>> param = {'sap-client': '510'}
>>> session.params = param
>>> client = pyodata.Client(endpoint, session)
>>> transports = client.entity_sets.Transports.get_entities()
>>> tr = transports.filter("Id eq 'SD1K903304'").execute()
>>> tr
[('SD1K903304')]
>>>

@ksaito1125 Thanks for checking out my hypothesis. If you would have time, could you please create PR with update of documentation and the sample code (IMHO good enough for the line client = pyodata.Client(endpoint, session) in your sample). Since you came into this problem I grant you the honors :)
I guess best it to add new block to  docs/usage/initialization.rst


Live design new header component

Live design new header component

Issue with safari mobile img reference.. Need to comment out image for now.

complete


Implement a logic to count only maintainer PR reviews

I have opened this issue to address a recent issue in Frogtoberfest. Many people are just going out of their way to review those PRs in those repos in which they don't even have write access just for the points. So, this will solve the PR review spam trend and allow the competition to be as fair as possible.
I've been studying the behaviors of the contributors and many of them are just doing it for the free swags and that seriously puts honest contributors down. Please look into it.

Created a PR to quickly view the PRs opened by the user https://github.com/Lf-Network/oss-leaderboard/pull/64
Maybe issues and comments of users can also be listed on Frogtoberfest checker page.


The variable '$codeSignPfxFile' cannot be retrieved because it has not been set in Devops Release.

Running Run-A Pipeline on a Release Devops generates an error in the part of signing the Apps.
I think the error could be from the variables names used in lines 536, 537, 693 and 694. They don't match the variable names received as parameters in the script.
Scripts used in Devops and cause the issue
Run-AlPipeline @params     -pipelinename $pipelineName
-containerName $containerName     -artifact $artifact.replace('{INSIDERSASTOKEN}', $insiderSasToken)
-memoryLimit $memoryLimit     -baseFolder $baseFolder
-licenseFile $LicenseFile `
...
Error:
##[error]ForEach-Object : The variable '$codeSignPfxFile' cannot be retrieved because it has not been set.
At C:\Program Files\WindowsPowerShell\Modules\bcContainerHelper\1.0.6\AppHandling\Run-AlPipeline.ps1:406 char:9

Screenshots:

You are right . that is a typo - will fix that right away.

This is fixed in a 1.0.7-preview, which should be ready in a few hours.
Run-alPipeline is very much in preview, but slowly getting to the point where I will add the documentation and include it in the HOL - I am using it myself today, but I don't have any projects with certificates running at this time.
Thanks for reporting this.

Thank you very much, I will temporarily modify the ps1 file locally.


[Fix][Breaking change] standardize sdk methods

This PR makes some changes to the API naming convention.
Now instead of e.g.:
window.SDK.paragraphStyle.createParagraphStyle();

we will use
window.SDK.paragraphStyle.create();

🚨 This is a breaking-change. 🚨
Related tickets

WRS-1174
EDT-934

Message from flutter (@Dvergar )
I already synced-up with Piotr but just in case..
Warning1 🚩: Because changes from https://github.com/chili-publish/studio-sdk/pull/286 are also in this branch, reminder to not merge it before engine has merged EDT-934.
Warning2 🚩: Engine changes are on top of another branch, i'll try to not resolve the jira ticket but just in case: if Jira ticket is RESOLVED it probably just means it's been QA'd and merged (but not necessarily to main) which means you'll be desynced.
Anyone can ping me or @NicolaVerbeeck for the state of the naming merge, please hold the merges 🙌
Changelog: SDK Methods
Previously, most of the methods were named with perfixes coming from the current namespace. It resulted in code looking like this:
// This is a pseudo-code
window.SDK.variables.addVariable()

It did not made much sense, since we were already in the variables namespace - so using addVariable was somewhat redundand. This PR changes the naming methods of most of the controlers to get rid of this useless duplication. New code will look like this:
// This is a pseudo-code
window.SDK.variables.add() // No need to type redundand `Variables`

This changes are impacting most of the controllers. In most cases the changes look like this:
// This is a pseudo-code

// Previously
window.SDK.namespace.add[Namespace]()
window.SDK.namespace.get[Namespace]ById()
window.SDK.namespace.get[Namespace]ByName()
window.SDK.namespace.create[Namespace]()

// Currently
window.SDK.namespace.add()
window.SDK.namespace.getById()
window.SDK.namespace.getByName()
window.SDK.namespace.create()

We are also changing the naming methods for getting all of the elements from:
// This is a pseudo-code

// Previously
window.SDK.namespace.get[Namespace]()

// Currently
window.SDK.namespace.getAll()

To make it more consistent.
The changes also impact naming of the requried id type arguments:
// This is a pseudo-code

// Previously
getActionById = async (actionId: Id) => ...

// Currently
getById = async (id: Id) => ...

This is a quality of life improvement, as it will make intellisense more readable for the users of the SDK
This PR also fixes typo in two exported enums:
// Previously
export enum FrameProperyNames ...
export enum LayoutProperyNames ...

// Currently, see added `t`
export enum FramePropertyNames ...
export enum LayoutPropertyNames ...

for ActionController and CharachterStyleController you are using [prefix]Id pattern as a param, and in other controllers you are using id this is one of the inconsistencies that should be tackled here, and I believe we chose to go with id @Matthiee can confirm the choice

You're totally right, I must have missed this!
I would only keep [prefix]Id in case we need to provide two ids to the method to make sure end user is not confused in which order it needs to be used

In https://github.com/chili-publish/studio-sdk/pull/293/files#diff-051988f5f947f1085f7226e6230d8b5a8cb76d072024a7eff3ded37143c759d0L55 I missed that one
slideDirection: SlideDirections; > direction: SlideDirections;


Leaving out the locale param seems to give different results than explicitly setting locale=en

I'm not sure this is the correct report to report issues with the geocoding API.
According to the API docs: https://docs.graphhopper.com/#tag/Geocoding-API
the locale param shall have the default value 'en', yet it seems these queries gives different results:
https://graphhopper.com/api/1/geocode?limit=20&locale=en&key=API_KEY&point=59.863704493020094%2C17.639317368224624&location_bias_scale=0.5&q=primeke
https://graphhopper.com/api/1/geocode?limit=20&key=API_KEY&point=59.863704493020094%2C17.639317368224624&location_bias_scale=0.5&q=primeke
The first query finds our office, while the latter doesn't.

Leaving out the lang param in the Photon query seems to give the same result as with lang=en:
https://photon.komoot.io/api/?q=primeke&lat=59.863704493020094&lon=17.639317368224624

Yeah, that's right, with curl https://photon.komoot.io/api/?q=primeke&lat=59.863704493020094&lon=17.639317368224624 gives the same result as the one without locale using the GH geocoder interface (e.g.  with one result for "Primekens Kopf" in Finnentrop.


Update syntax for 0.990.3 release. Fix issues.

Purpose

Update syntax for 0.990.3 release. Fix issues.

Goals

0.990.3 release.

Tested the above changes with 0.990.3. Hence can merge.

@hemikak Please check for the travis build failure.

@anupama-pathirage Had to update the yaml to get travis passed.


Spaceship is unable to access or download production push certificates

New Issue Checklist

[yes] Updated fastlane to the latest version
[yes] I have read the Contribution Guidelines

Issue Description
When trying to access production push certificates using Spaceship it does not seem to access any of them if they are more than 90 days old. My iOS Dev Portal contains many many production push certificates which are valid, ranging between about 40 days remaining and 250 days remaining
Complete output when running fastlane, including the stack trace and command used
# Here is the code I am using...

# After logging in and selecting my team using Spaceship...
prod_push_certs = Spaceship.certificate.production_push.all

# There is no output as the existing production push certificates were not found by Spaceship
# Even though my entire iOS Dev Portal contains dozens and dozens of valid production push certificates for dozens of apps
# I have verified that I am logging into the correct iOS Dev Center, under the correct team. I have the latest up to date set of Fastlane tools including Spaceship. When using the command above it seems like Spaceship is not receiving it's list of valid production push certificates.
#

Configuration Files
Please copy the complete content of your Fastfile and any other configuration files you use below:
Fastfile:
Not using Fastfile

Environment
fastlane version (run fastlane -v):
fastlane 1.91.0
Do you use bundler to execute fastlane (i.e. bundle exec fastlane)?
No
Do you use a Ruby environment manager (e.g. chruby, rbenv, rvm)?
No

@chappejw Thanks for reaching out. To confirm, prod_push_certs = nil after this? Do you get any error messages? Thanks! 👍

Hi @TKBurner. My pleasure. No, there is no error message, just the results from that function call seem to be missing results. For each App ID, there can be 4 push certificates, Primary and Secondary Production and Development certificates. Though, I'm not sure if there's a way to tell which is Primary or Secondary in the returned results, nor that it matters, but the function is inaccurate.

@chappejw Thanks for following up. It appears this is a limit on the API. There are a few active pull requests with us for pagination of these results, however I don't think it's been implemented in spaceship.
Thanks


Array(LowCardinality(String)) and has() function throws error

Received exception from server (version 18.11.0): Code: 43. DB::Exception: Received from ch-0:9000, <IP_ADDRESS>. DB::Exception: Types of array and 2nd argument of function has must be identical up to nullability or numeric types or Enum and numeric type. Passed: Array(LowCardinality(String)) and String..
Test sql statements follow.  I also tried changing the type of the String constant 'c' below, toLowCardinality('c') and CAST('c' as LowCardinality(String)), but still same error.
CREATE TABLE lc_test (
  ts     DateTime,
  cat    Array(LowCardinality(String)),
  domain String
) ENGINE=MergeTree
  PARTITION BY toYYYYMMDD(ts)
  ORDER BY (ts, cityHash64(domain))
  SAMPLE BY cityHash64(domain);

INSERT INTO lc_test VALUES<PHONE_NUMBER>, ['a', 'b', 'c'], 'google.com');
INSERT INTO lc_test VALUES<PHONE_NUMBER>, ['c', 'd', 'a'], 'yandex.ru');
INSERT INTO lc_test VALUES<PHONE_NUMBER>, ['b',], 'bing.com');

SELECT domain, COUNT(ts) as requests
FROM lc_test
WHERE has(cat, 'c')
GROUP BY domain
ORDER BY requests DESC;

Any movement on this issue?  Also, probably related, simple WHERE <low cardinality string column> IN (<list of strings>) doesn't work either.
SET allow_experimental_low_cardinality_type = 1;

CREATE TABLE lc_test2 (
  ts DateTime,
  hero LowCardinality(String)
) ENGINE = MergeTree
  PARTITION BY toYYYYMMDD(ts)
  ORDER BY ts;

INSERT INTO lc_test2 VALUES<PHONE_NUMBER>, 'superman');

SELECT ts, hero
FROM lc_test2
WHERE hero IN ('superman', 'batman');

Received exception from server (version 18.12.6):
Code: 53. DB::Exception: Received from localhost:9000, ::1. DB::Exception: Types of column 1 in section IN don't match: LowCardinality(String) on the right, String on the left..

LowCardinality data type is in active development right now.
Both of the mentioned issues are in todo.


add adamr2

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

152 of 159 (95.6%)  changed or added relevant lines in 4 files are covered.
9 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-1.7%) to 95.095%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

moltx/datasets.py
39
40
97.5%

moltx/models.py
37
40
92.5%

moltx/pipelines.py
68
71
95.77%

Files with Coverage Reduction
New Missed Lines
%

moltx/pipelines.py
9
92.71%

Totals

Change from base Build<PHONE_NUMBER>:
-1.7%

Covered Lines:
601

Relevant Lines:
632

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

152 of 159 (95.6%)  changed or added relevant lines in 4 files are covered.
9 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-1.7%) to 95.095%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

moltx/datasets.py
39
40
97.5%

moltx/models.py
37
40
92.5%

moltx/pipelines.py
68
71
95.77%

Files with Coverage Reduction
New Missed Lines
%

moltx/pipelines.py
9
92.71%

Totals

Change from base Build<PHONE_NUMBER>:
-1.7%

Covered Lines:
601

Relevant Lines:
632

💛  - Coveralls


ViaProtocolSupport Fix

*Insert Evil Monologue Here*, This unfortunately doesn't work with 1.9's ProtocolSupport though, but it works with 1.8 and 1.10's. This fixes #449.

Updated with 1.9 support! (and your requested changes :P)

@Maxqia Wow! Looks awesome, the only thing I would have to comment about is, is the package for ViaHandler / the name of it correct. Because we don't implement it on other platforms currently? Would it have a more suitable name and be better in just bukkit?
Just a thought :) otherwise really good job

I was planning on making it also for Sponge, so I can use a native version of ViaVersion with ProtocolSupport, but that's for another day ;)


init debug prints for table converter

Description
Will not be merged, helpful prints for investigation

/intelci: run

/intelci: run

/intelci: run

/intelci: run

/intelci: run

Have these been changes been tested with the original spark issue?

Have these been changes been tested with the original spark issue?

it was exactly tested with the spark issue


Unpin fsevents to prevent error on node 10. Fixes #4896

Unpin fsEvents on the next branch. This change already occurred on the 1.x branch (https://github.com/facebook/create-react-app/pull/4006). Currently the pinned version causes an error when running install for node 10 (see https://github.com/facebook/create-react-app/issues/4896)

This has been upgraded in a separate PR. Thanks!


  PLEASE DON'T ASK FOR WORKAROUNDS OR TIMELINES - THIS IS FREE SOURCE CODE
Please check all of the platforms you are having the issue on (if platform is not listed, it is not supported)

[x ] iOS
[ x] Android
[ ] UWP

PLATFORMS THAT YOU CANNOT FILE ISSUES ON RIGHT NOW: Tizen, watchOS, tvOS, macOS
Feature Library
beta components are not fully done - issues MUST include full reproducible sample and stacktrace or they will be closed without explanation!!!

[ ] Core
[ ] Locations
[ ] HTTP Transfers
[ x] Notifications
[ ] Push
[ ] Push - Azure Notification Hub
[ ] Push - Firebase (beta)
[ ] Sensors
[ ] AppCenter Logging Integration
[ ] Location Sync (beta)
[ ] Photo Sync (alpha)
[ ] BluetoothLE (beta)
[ ] Beacons (beta)
[ ] SQLite Integration

Version of Library
<IP_ADDRESS>5
Version of OS(s) listed above with issue
ios14
android api 30
Steps to Reproduce

Create a notification.
Create a notification sound, with type set to custom and CustomPath set to an embedded file that is an mp3
Put notification sound in notification

Expected Behavior
I was expecting a custom sound to play, when my notification went off. I know the sound works, because I can play it with other plugins.  String sound = "TaskTrackerReal.Sounds.AlarmSound.mp3" is my path.
Actual Behavior
The default notification sound plays.
Test Case
Assert.True(notificationSound.Type!=NotificationSoundType.Default)

What version of the library?  What OS versions?  Please fill out the full template.
Please include a test case as well

im not sure what you were looking for in a test case, but thank you for your patience! I updated it above

This is working fine for me on Android and iOS.

@aritchie do i need to use a different file type than mp3?


CUDA virtual package is not detected on Debian

Checks

[X] I have checked that this issue has not already been reported.

[X] I have confirmed this bug exists on the latest version of pixi, using pixi --version.

Reproducible example
$ pixi info
pixi 0.2.0

Platform            : linux-64
Virtual packages    : __unix=0=0
                    : __linux=5.10.0=0
                    : __glibc=2.31=0
                    : __archspec=1=x86_64

Issue description
pixi-x86_64-unknown-linux-musl v0.2.0 from the GitHub release fails to detect CUDA on my Debian system.
Strangely, building pixi v0.2.0 from source on my system correctly detects CUDA...
Expected behavior
__cuda to show up under virtual packages.

I think this issue is caused by pixi being statically linked against musl libc and musl libc not supporting dlopen. We use dlopen to load the nvml library and read the available cuda version. But if this is not supported we’ll have to use another method..

No thats also not entirely true.. Musl libc does support dlopen. Ill add more logging to see whatsup.

So after some research I think our current approach (loading nvidia nvml dynamically) will never work for our statically linked pixi binary. We will try implementing CUDA version detection using another mechanic.

I created this WIP PR so we can test it :)

I can confirm that at least on WSL this works! 👍
@twrightsman Would you be able to try out the artifact from the build pipeline in this WIP PR?

You most likely need to add a system_requirement for this. Pixi doesn't use the virtual packages from your system but instead relies on predetermined virtual packages from a "reference machine". This ensures that if you solve the environment on your machine it will be same as on mine. However, my machine may not have a CUDA driver so the "reference machine" doesn't provide the __cuda virtual package. You can however specify through system-requirements that your project requires cuda:
[system-requirements]
cuda = "12.2"

This will indicate that your project requires at least cuda 12.2 to function. You should be able to add the dependency then.
In the future we want to extend this behavior so that you can have different dependencies based on whether or not someone has cuda or not.

Im closing this issue for now, the next release of pixi (most likely 0.3.0) will have the fix included.
If you still have issues with cuda after adding the system requirement feel free to open another issue.

How can we set
[system-requirements]
cuda = "12.2"

just for linux targets? We have mac a development environment and linux prod. Adding the system-requirements like this breaks mac, and [target.linux-64.system-requirements] isn't accepted
@baszalmstra

Thats strange, from my understanding that should work! What is the error you get?

It says there's no such key as "target.linux-64.system-requirements". And just putting it in the top level namespace leads to the error (on Mac) that the virtual package __cuda is missing


fixes for style and CI tests

Fixed errors the 'Style' and 'CI' tests were encountering. Shouldn't be any other RuntimeWarnings for plot_80, so hopefully CI completes successfully.

looks good to me go ahead and merge


bumped android version and made sdk configurable

@toggm Can you confirm that this will not break anything from the past projects?

So first, all of the users with a previous android SDK version should stick to a previous release. Therefore this change will not affect their application. If users have a dependency to the master they might affect an error without configuring their appropriate values in the android/app/build.gradle:
project.ext {
compileSdkVersion = 28
buildToolsVersion = "28.0.3"
targetSdkVersion = 28
}
Of course, they need to set the correct values. If the values are set to the same previous values, this change should not have an affect to their application.


How to change a optional field to required with Mapped Types?

TypeScript Version:  2.1.1 / nightly (2.2.0-dev.201xxxxx)
2.1.4
Code
interface A{
    a?: {
        a1: string;
    }
}

type B = {
    a: A['a']
}

let aa:B = { a: {a1: 'A1'} };
console.log(aa.a.a1)

A.a is optional field,
anyway to change it to required field ?
Maybe it's better that A['a'] is always required.
Expected behavior:
Compile successfully
Actual behavior:

test.ts(12,13): error TS2532: Object is possibly 'undefined'.

https://github.com/Microsoft/TypeScript/issues/12578#issuecomment-263948325
Please, do search existing issues before making new ones. GitHub issue is not StackOverflow.


WiP test: sim-time race repro and candidate fix

Signed-off-by: Joshua Marantz<EMAIL_ADDRESS>For an explanation of how to fill out the fields, please see the relevant section
in PULL_REQUESTS.md
Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Deprecated:]

I think this is now being worked on in https://github.com/envoyproxy/envoy/pull/12614