Resourcelib bug causes incompatibility with Extractinator and Bouncylife for EMI in Multiplayer.

Bug Description
Issue found here: https://github.com/emilyploszaj/emi/issues/121
It's not that EMI is incompatible nor bouncylife, but when you have these mods together with EMI it causes issues.
From what I gather a bug with resourceful lib causes extractinator to break vanilla recipe sync, and will prevent EMI from loading recipes. I think you should be notified either way just in case.
How to Reproduce?
Could be a bit weirder to reproduce but essentially in my modpack this is what I had to do:

Install Bouncylife
Install EMI
Install Extractinator
Join Multiplayer server that matches modlist with client
EMI won't show recipes unless you join a singleplayer world first and then go back to the server.

Expected Behavior
All 3 mods should work fine together and have EMI load all recipes in multiplayer without any trouble.
Version
2.0.0
Mod Loader Version
1.18.2 - 0.14.10
Mod Loader
Fabric
Logs or additional context
https://paste.ee/p/ray3y

Just as a note, this has nothing to do with EMI, this is a multiplayer recipe sync issue and is present in the recipe book and other recipe viewing mods.

Alright, we managed to fix this and will have an update out soon


[configure_distributed_model] improve assert

This PR changes the 2 asserts to actually print the names of the params that are wrong. e.g.:
fp16 is enabled but the following parameters have dtype that is not fp16: wav2vec2.masked_spec_embed

Honestly, the way this autoformatter sometimes formats the code - it makes absolutely no sense readability-wise
                   names = [
                        n for n,
                        p in self.module.named_parameters() if p.dtype != torch.half
                    ]

surely there are at least slightly better necessarily evil autoformatters out there...


Open nano read lock file .swp

Reproduce with:

go to dir
touch file
nano file

or

go to dir
nano file

Inode 3 is file with {'data': b'', 'unlink': False, 'name': b'.file.swp', 'path': './', 'type': 2}

This bug won't be fixed until thesis is completed.
"nano" functionality is not needed, currently.


Robot height mistake

Hi everybody,
I use quad-sdk with a personal robot. The problem is that even if it stands up correctly, whenever I launch the quad_plan file, the robot tries to reach a higher position and it makes it fell. I've tried changing the parameters in my robot.yaml as well as in the local_planner.yaml. How could I solve this problem?
The robot also slides on the ground, I think because of the inertia values?

For those who might encounter the same issue, I resolved this by changing my initial joints position values.


unset@ doesn't work inside an imported blueprint

I have a series of blueprint imported into my main user/themes/my_theme/blueprints/default.yaml blueprint :
extends@: default

form:
  fields:

    tabs:
      type: tabs
      active: 1
      fields:

... etc

        # -------- CONTENT ----------

        content:
          type: tab
          title: "Contenu"
          import@:
            type: page_content
            context: blueprints://

... etc

That's a way for me to rewrite the "Content" tab of the pages edition part of the admin.
As I want to let the possibility to any plugin to display extra fields, I did not used a
          fields:
              replace@: true

But at the end, it is the only solution for the imported "page_content" sub-blueprint to work, wich has a :

form:
  fields:

... etc

    header.title:
      unset@: true

... etc

This unset@ was working fine when the code was firstly written in the default.yaml, but as soon as I separated the code and imported it, the header.title field started to reappear in the panel !
Moreover, it seems that its position isn't respect, because from being in the top of the page, it is finally display at the bottom.

This may already be fixed in upcoming 1.7.0-rc7.


Refactor application controller easy to add/remove properties

This issue resolves #27
Bumped the ts compiler target to es2017
Added custom decorator for applicant model:

Maps model props to those in application

Minor fixes in front end apply js for new application format

Codecov Report

Merging #28 into master will decrease coverage by 4.74%.
The diff coverage is 70.58%.

@@            Coverage Diff             @@
##           master      #28      +/-   ##
==========================================
- Coverage   62.27%   57.52%   -4.75%
==========================================
  Files          37       37
  Lines         835      817      -18
  Branches      105       93      -12
==========================================
- Hits          520      470      -50
- Misses        306      336      +30
- Partials        9       11       +2

Impacted Files
Coverage Δ

src/controllers/adminController.ts
18.29% <ø> (-2.96%)
:arrow_down:

src/models/db/applicant.ts
100% <100%> (ø)
:arrow_up:

src/controllers/applicationController.ts
53.42% <61.53%> (-18.01%)
:arrow_down:

src/services/applications/applicantService.ts
75% <0%> (-15.91%)
:arrow_down:

src/models/settings.ts
25% <0%> (-15%)
:arrow_down:

src/util/errorHandling/apiError.ts
11.11% <0%> (-4.68%)
:arrow_down:

src/util/fs/loader.ts
20.58% <0%> (-4.42%)
:arrow_down:

src/repositories/baseRepository.ts
77.77% <0%> (-4.05%)
:arrow_down:

src/services/mail/emailService.ts
37.5% <0%> (-3.68%)
:arrow_down:

... and 13 more

Continue to review full report at Codecov.

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


Uprev to 3.11

This PR makes the following changes:

Minimum python is now 3.11 #232
now uses the stdlib tomllib module for parsing #231

Checklist

[X] Consider if documentation (like in docs/) needs to be updated
[X] Consider if tests should be added
[X] Update template repo if there are changes to study configuration

Doesn't look like much else interesting (for us) happened in 3.11 ☹

Noting this since it caught me off guard - the stdlib implementation is read only for the time being.


Unable to generate tag from a repository without previous tag

Describe the bug
When you run the tag-and-push script on a repository without any previous tag/release, the script is unable to generate the initial version.
Steps to reproduce

Create or use any Github repository that doesn't have any tag/release
Run the tag-and-push script

Expected behavior

Read all repository commits since the first one
Show all the changes since repository creation
Show the new SemVer number base on commits messages, or suggest a first version when there's no previous

Actual behavior

Don't show any change
Suggest a tag without SemVer

Yikes, this is a nasty bug. Let's fix it.
According to the SemVer spec, it is recommended to start at 0.1.0, so we should adopt that as the initial version.


Request: .au dead register the message writer as dead, and sending commands throught DM

.au dead @myname doesnt make a lot of sense when most of the time people will report themselves as dead when starting a meeting (not before or else people will see in chat someone has died).
Also to hide that someone is typing in chat that they're dead, it would be far better to just DM the bot and have it register the person as dead, else people can see someone typing in chat

I think that would be a lot better

Closing as sirNuggets and I have discussed this on our Discord server (and this will be added, or rather, addressed in a future release)


using Acme allows configuration of multiple replicas

When persistence.enabled: true, using Acme allows configuration of multiple replicas

Hey @HiroC222,
thanks for your contribution.
Is it possible to cover that in a unit test?

I’m sorry, I’m not familiar with unit tests.
This commit simply adds an if judgment to the existing options

Unless I'm mistaken, persistence doesn't change the issue with ACME lacking support for running multiple Traefik instances. Given that's the case, wouldn't this change be a regression?

Yeah, you are right @davidalger. I didn't look close enough on it at first.
I'll close that PR, as it would bring in a regressions. However, thanks for contributing to the project :)


Phone number

Merge after #21 - based off master for status: active in #21 (sorry, my mistake)

Hah. I hate when I do this.
Do you want to rebase onto the new master?

Yeah, I'll diff to see if it's necessary.

Rebased, merging


Add configuration option to make APNSDevice.registration_id unique_together with user_id, fixes #41.

I have added the configuration option, but unsure about what to test (and how). Tests pass (except for py34 which i don't have local) with original settings and when adding the flag.

@eLod Sorry if I was unclear; what I meant was that I would accept a PR to make it unique, not a unique_together. The unique_together approach doesn't make much sense as a generic approach imho.

@jleclanche make unique what?

The registration_id; like you did, but as unique instead of unique_together.

@jleclanche that is already unique, i don't understand. the problem is it is unique by itself.

@eLod Moving the unique to a setting would allow users to disable the uniqueness.

@jleclanche so i should make it non-unique. would you accept it if it would allow 3 options, unique (default), non-unique and unique_together?

I'm not comfortable with a tri-state for this. Adds too much complexity.

Any way to accept unique_together? Like 2 configuration options?

Why do you want it to be unique_together?
You are free to manually add the constraint to your database, Django won't complain.

We are using the drf views, i rely on it returning an error instead throwing an exception.

Can't you subclass the DRF views?

I can, but it still wouldn't allow me to have the constraint in the model meta, which i consider the semantically correct solution.

@jamaalscarlett Can I get your thoughts on this please?

As i said in the issue #41 i see a valid use-case where a single device (and the same registration id) could be used for multiple accounts, but i still don't want to let the iOS app be able to register the same registration id for the same user account twice. I could handle all that with custom drf views and custom serializers, but i really consider the unique_together the simplest and semantically more correct solution (as in it reflects the reality better and even is simpler to implement and maintain).

@eLod @jleclanche I personally don't like the idea of a bunch of duplicate entries in the device table.  Why not handle it in your own django app?  Create a model that can map multiple users to the same entry in the device table.

Hi @eLod : We are also running through exactly the same issue, can you please give us some light on which approach did you use to get your app running?

Did dropping the unique constraint in the database work?

We have also the same request

@KartikeyaRokde sorry for the late response, what i did was actually moving the unique constraint to be on (user_id, reg. id) (e.g. on multiple columns). for that i had to modify a couple things.


Feature challenge01

In katacode, install and configure of apache2 web server done.

it looks good, feel free to merge it.
tip: squash & merge is preferred


Forms

Would be nice to support the default HTML form system for a nicer developer experience. #9 Should probably get finished before this, though.
Hypothetical syntax:
@get("/")
async def my_page():
    return "..."

@dataclass()
class Something:
    a: str
    b: str

@my_page.form(Something)
async def my_page(my_form_data: Something):
    return "..."

hey , i want to contribute on it

This is a very complex issue. Are you sure you can handle the C codebase?

Ya

Okay, go ahead. Join the discord if you have any questions.

Waiting on #13 and #14


Cannot get DHW T5 temperature

Heat Pump: KAISAI ARCTIC KHC-10RY3-B
Hello,
First thank you for this great work and the freedom you have given to owners of these heat pumps.
Im not sure if this may be me misunderstanding something or if my heat pump is reporting incorrect values.
I am considering setting up a climate object to control the heat pump from HA fully. My first thought was to use the DHW sensor T5 as my temp sensor, but "DHW Tank Temperature T5s" always shows as 35. I can see a comment here about setting up a climate object, but again my readings do not seem correct:
"Flow temperature (T1)" - always 35, "Hydraulic Module Current 1" and 2 always 255.
I have asked the reseller for the modbus documentation and that's attached along with my config if helpful, I canont see anything wrong, I can only assume that I'm reading the values incorrectly or maybe there is a setting I need to activate to get
the correct readings?
Modbus KHA_KMK, KHC v2.pdf
Heatpump Controller.pdf
Any suggestions? Thank you

I would advise you to (let) test the water tank temperature sensor (T5) if it is working correctly. Hydraulic Module Current 1 and 2 are also 255 over here, so that is a sensor value that both our heat pumps have not implemented.
Regarding T1, which sensor do you mean exactly (do you know the modbus register?),. Could maybe related to “Parameter Setting 1 Supports T1 Sensor”, which is off on my heat pump

Hi
T5S (sensor.heatpump_dhw_tank_temperature_t5s)  is DHW Temp Setting temp -the heat pump will goes with T5 temp to achieve T5S when heating DHW -so this value don't change -it is changed by user setting DHW temp which he want
To read water tank temp (DHW) you use sensor.heatpump_water_tank_temperature_t5
Unfortunatelly in config Register 4 was duplicated in sensor (Read only) and number (to be config set) -i've make pull request to remove from sensor ;)
Hydraulic Module Current 1 in my case is TBT sensor value -I have connected one temp sensor to DHW and second one (build by myself) to buffer. If you don't have this second sensor than you have 255 value in reading because you don't have enabled in parameters Setting 2 TW2 T1B Enabled -but when you enable this without sensor there will be error on display ;) -Register 210 bit1
"Flow temperature (T1)" -what sensor do you mean?
In future is good to ask on sensor by Register number and if available bit number ;) -it will be easier to locate ;)
You don't have enabled water heating "Parameter Setting 1 EnableWater Heating" -so you cannot heat DHW and T5 values can be not real ;)
This parameter "Parameter Setting 1 HeatingAnd Cooling First Or Water First" forces DHW before Heat home ;)
PS. I don't use curves ;) -I manually set T1s remotelly ;)
Sensor "Parameter Setting 1 SupportsT1 Sensor" is wrongly named and should be "PUMPI silent mode, 1; valid, 0: invalid" -enables PUMP_I -pump in heatpump to work more silent ;) -In your modbus description is same as in my YORK ;)
"Restart with Factory DefaultSettings" means reset ESP config area -some sensor values can be saved to esp eprom so this only erases this area and after reading from heatpump it is restored from heatpump. This don't send anything to heatpump ;)
I've attached my view ;) -Register 4 is defined as sensor and number -I've just removed it "DHW Tank Temperature T5s" is to remove valid is "Set DHW Tank Temperature T5s" in my dump ;)
york.pdf

Parameter Setting 1 Supports T1 Sensor

/ @Mosibi I think it is wrong named as created new issue  for this -and removed as pull req. redefined REGISTER 4 as sensor and number, where sensor should be removed ;)

Hi both, thank you for your fast replies.

In future is good to ask on sensor by Register number

yes sorry, this was an obvious oversight on my side.
My aim is to get the T5 temperature probe reading:
"sensor.heatpump_water_tank_temperature_t5" (Register: 115) for me is showing as 25 this is incorrect and has no updates.

You don't have enabled water heating "Parameter Setting 1 EnableWater Heating" -so you cannot heat DHW and T5 values can be not real ;)

@rysiulg are you saying that the reason my T5 value is incorrect and not being updated is due to me not having the heat pump in DHW mode enabled?
I am assuming for me to take full control of the Heat Pump with a HA climate object that I should set the Heat Pump to DHW mode only (if possible) and use "sensor.heatpump_water_tank_temperature_t5" as my temperature sensor?
Does this sound reasonable? Im not using the heat pump for DHW, only heating, I just want as much control and logic processing to be done in HA to work with my heating system.

PS. I don't use curves ;) -I manually set T1s remotelly ;)

@rysiulg what is a "T1s"?  :see_no_evil:

@timomer now I am confused, you state that you do not use the heat pump for DHW, only for heating, but at the same time you want to use the DHW tank sensor (T5) to read the temperature?
T1S is the setpoint for the leaving water temperature (LWT), which is basically the temperature of the water running through your central heating system.

No. I use my Heatpump to heat DHW and central heating my house ;).
I just don't use curves and automation from heatpump -which isn't good for me ;)
T1s is temp to which heat pump heat for zone 1.
Better is to describe your water connection.
for exampke main is:
Heat pump is connected to buffer directly withj attached TBT1 temp sensor. I set T1s to heat buffer to eg. 42 deg in day (i have hpe that sun give me some power) and by night at about 32 deg. I have connected electronic 3way valve to heat DHW. The heat from buffer is transported by independed Grundfoss Pumps -1 pump is for floor heat and second one is for radiand in my bathroom and recuperation heat-exchanger ;)
So when you don't have DHW heating enabled than T5 can show 25 deg as const value ;)
I choose to control from esphome as much as possible and in some ponts from ha -to avoid situation when HA is down that heatpump can be still working ok ;)
I put other control of PUMP_I and separate pump connected in line with heatpump to start this second pump in low temps. I've noticed last year that when other source is active for heating (in my case wood/coat heat source) than heatpump don't yurn on PUMP_I which makes me freeze my pipes in connection outside house. So I check how much time elapsed when PUMP_I don't run. If not run for some tme -i energize switch that enables for few secondes seconf pump to avoid freeze water in pipes ;)
If you don;t use Heatpump for DHW than T5 sensor is the sensor that you don't care of it ;)

Hi @rysiulg
You can read a full in-depth post about my setup and changes to it here
But in summary, I have an 800l water tank top half heated by solar PV or fireplace back boiler and the bottom by a Heat Pump I installed a few weeks ago, DHW goes through a coil from bottom to top of the tank. The house was renovated about 5 years ago with the plan for a GSHP and at the time a large buffer was suggested, we went with Solar PV as it was cheaper and easier to have a large solar array (10KW) than worry about water freezing and running pipework for Solar water.
Setup seems to be working well, with the UFH active the HP is set to provide 37c water, the water tank stays around 32-37 whats ok for showers and if we have a sunny day or put the fireplace on we have the top tank heat to 55c and that's ok for baths.
Originally I never connected the T5 sensor but got an error on startup, hence I contacted it. Right now the HP is set to activate on "water flow temp", but I am confused about how it knows when to turn on as the water inlet temp is below target when the UFH is not on but the HP does not activate and when I turn on the UFH (from Home Assistant, has its own pump) about 5-10mins later the HP activates - this is the behaviour I want but I do not understand how it knows when to turn on, maybe there is a lower threshold for the "water flow temp" or I thought maybe it is looking at the T5 sensor reading and seeing the tank temp dropping?
From reading your comment I believe I need to use the TBT1 sensor as my target temperature and locate it in the bottom part of my water tank, but I also only wish for the HP to activate when I have heating demand so I need a switch I can toggle from HA - right now I am looking at using "switch.heatpump_water_flow_temperature_control_zone_1", what do you use or do you always have the HP active to keep the tank at temperature?

I choose to control from esphome as much as possible and in some ponts from ha -to avoid situation when HA is down that heat pump can be still working ok ;)

Ideally, I would do the same, but the UFH and HP are controlled by different ESPHome devices and HA is the "middle man"  managing them.

but I do not understand how it knows when to turn on, maybe there is a lower threshold for the "water flow temp" or I thought maybe it is looking at the T5 sensor reading and seeing the tank temp dropping?

I believe I have answered this, looks like the water flow continues when the HP is inactive and only activates the HP when the water outlet and inlet differ.
@rysiulg I would be interested to know what switch you are using to activate the heatpump?

hifirst of all you have to get connected temp sensor T5 to water tank and 3way walve indicated in output as sv1 or sv2 (don’t remember)next you set T5s as setpoint temp for your dhwwhen t5 drops delta T5s (dT5s) default 5 deg in adjust range to 30deg than heat pump activate dhw heating (also in parameter 210 or 211 you need enable water heating)” and power on dhw in register 0)PozdrawiamRyszard GwizdakMARM.pl Sp. z o.o.Wiadomość napisana przez timomer @.***> w dniu 3 gru 2024, o godz. 09:06:
but I do not understand how it knows when to turn on, maybe there is a lower threshold for the "water flow temp" or I thought maybe it is looking at the T5 sensor reading and seeing the tank temp dropping?
I believe I have answered this, looks like the water flow continues when the HP is inactive and only activates the HP when the water outlet and inlet differ.
@rysiulg I would be interested to know what switch you are using to activate the heatpump?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

with heatpump on standard you have one sensor which basically is used for heat. for dhw you must connect second sensor ntc about 47kOhm to water tank and enable it in parameters. i don’t buy it but make myself with connector ;)this is needed like in my case -my heatpump is parallel connected to buffer with Tbt sensor which gives me unlimited heat sources as buffer works as hydraulic „clutch”PozdrawiamRyszard GwizdakMARM.pl Sp. z o.o.Wiadomość napisana przez timomer @.***> w dniu 3 gru 2024, o godz. 09:06:
but I do not understand how it knows when to turn on, maybe there is a lower threshold for the "water flow temp" or I thought maybe it is looking at the T5 sensor reading and seeing the tank temp dropping?
I believe I have answered this, looks like the water flow continues when the HP is inactive and only activates the HP when the water outlet and inlet differ.
@rysiulg I would be interested to know what switch you are using to activate the heatpump?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

so in short T5 is physical ntc temp sensorPozdrawiamRyszard GwizdakMARM.pl Sp. z o.o.Wiadomość napisana przez timomer @.***> w dniu 3 gru 2024, o godz. 09:06:
but I do not understand how it knows when to turn on, maybe there is a lower threshold for the "water flow temp" or I thought maybe it is looking at the T5 sensor reading and seeing the tank temp dropping?
I believe I have answered this, looks like the water flow continues when the HP is inactive and only activates the HP when the water outlet and inlet differ.
@rysiulg I would be interested to know what switch you are using to activate the heatpump?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

Thanks @rysiulg ,
Im not worried about DHW as I get this from Sun or Fireplace (this may change later, but not now).
I understand you use the T5 sensor for DHW, but what sensor / switch do you use for heating? Say your DHW is already at the target temperature, but your UFH is demanding heat, how do you trigger your HP to activate?

with heatpump on standard you have one sensor which basically is used for heat

Yes, this is what I want, one sensor for heat. What sensor are you using? I believe this can only be "Water flow desired temperature" or "Room desired temperature". Both of these do not work for me, ideally, I want heating to behave like DHW where a sensor in the tank triggers the HP.
Right now I am using "Water flow desired temperature" and switch  "switch.heatpump_water_flow_temperature_control_zone_1" for my HA thermostat

Hi
OK.
In my case I have connected sensor TBT -at buffer. My heatpump heats buffer directly to this temperature by water flow T1. So T1 sensor is outlet temperature which indicates Water Outlet Temperature from HeatPump.
So in my case is simple HeatPump heats until tbt reach target temp (In mossibi name is Hydraulic Module Current 1 -but in York and mide this is TBT1 temp). -Yes I preffer this -I can connect to buffer more than 1 heat source at same time. I control room temp from pump group and external reading of room temps ;) -in my case averange temp get from recuperation module.
If you don't use tbt (buffer) and DHW -than you don't need this attached sensor.
If your heatpump is directly connected to your radiants etc, even with buffer in return connected in serial than you need get temp from rooms -Room Temperature Ta. Heatpump is started/stopped by closing HT/COM wires from room thermostat. Heat pump don't know room temp and desired temp in direct connection case? or you can try use T1 sensor for heat but T1 isn't room temp but most often outlet temp after AHS/External Electric Heater temp acts as Water Flow Temp..
Ta is room temp, but as documentation says is internal temp. I think heatpump calculate it somehow. The logic in heatpump isn't good described and thats why my heatpump is working on manual mode. I turn on heat pump based on external sensors.
Ta-adj
This is a correction value for Ta which is inside the wired controller.
On attachment SM look at page 39 -There you have described HeatMode./
MONOBLOK 201.55-M1.EN.CE (722) final_small.pdf

Thanks for the feedback @rysiulg
I have decided to do the following:

Setup HA Thermostat with a temperature sensor in the floor, and a switch that activates the UFH pump
Set a HA Automation triggered when UFH pump state changes and activates the HP with switch "switch.heatpump_water_flow_temperature_control_zone_1"
HP manually has its temperature target set to 37 and is set to "Water flow desired temperature"
Once HA Thermostat meets its desired temperature it turns the HP off, but I have added delays to be sure I am not turning the heatpump on / off often

This appears to be working fine.

So T1 sensor is outlet temperature which indicates Water Outlet Temperature from HeatPump.

If I understand correctly this is what I have set, in my documentaion its called  "Water flow desired temperature".
 If you are turning it on / off what switch are you using for this?
Many thanks


[BUG]

web: bbs.eastsea.com.cn
question: waybackup -u http://bbs.eastsea.com.cn/ --workers 8 -c
thank you
!-- Exception: Worker: 4 - Exception
!-- File: ../usr/lib64/python3.8/os.py
!-- Function: makedirs
!-- Line: 223
!-- Segment: mkdir(name, mode)
!-- Description: [Errno 20] Not a directory: '/root/waybackup_snapshots/bbs.east  sea.com.cn/nav/subjects/Y83Axianshua/2'
Exception log: /root/waybackup_snapshots/waybackup_error.log
Exception in thread Thread-5:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/pywaybackup/archive.py", line 294  , in download_loop
download_status = download(output, snapshot, connection, status_message, no_  redirect)
File "/usr/local/lib/python3.8/site-packages/pywaybackup/archive.py", line 364  , in download
os.makedirs(output_path, exist_ok=True)
File "/usr/lib64/python3.8/os.py", line 223, in makedirs
mkdir(name, mode)
NotADirectoryError: [Errno 20] Not a directory: '/root/waybackup_snapshots/bbs.e  astsea.com.cn/nav/subjects/Y83Axianshua/2'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib64/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/usr/lib64/python3.8/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python3.8/site-packages/pywaybackup/archive.py", line 312  , in download_loop
ex.exception(f"Worker: {worker} - Exception", e)
File "/usr/local/lib/python3.8/site-packages/pywaybackup/Exception.py", line 7  6, in exception
f.write(f"    -- {var_name} = {value}\n")
ValueError: I/O operation on closed file.

waybackup -u http://bbs.eastsea.com.cn --workers 8 -c

I had this error too the other day. - It can occur when setting the -c option, since files are saved in the same directory instead of snapshot directories.
There seems to be a file called "2", and also maybe at a different time in history, there is a directory named 2.
--skip may solve this issue, but you'll loose one of the files.

web: bbs.eastsea.com.cn
question: waybackup -u http://bbs.eastsea.com.cn/ --workers 8 -c
thank you
!-- Exception: Worker: 4 - Exception
!-- File: ../usr/lib64/python3.8/os.py
!-- Function: makedirs
!-- Line: 223
!-- Segment: mkdir(name, mode)
!-- Description: [Errno 20] Not a directory: '/root/waybackup_snapshots/bbs.east sea.com.cn/nav/subjects/Y83Axianshua/2'

could you provide an error log for this? there should already be a functionality to handle paths and files with the same name colliding. or even better you could set the --log and then search for the collision manually so i can reproduce it :)


Question - Two images in horizontal block grammar

Hi, i wanna know if it's possibel to have 2 images field on one motion block ? if yes, someone can give me some steps to get it working ? :) I was trying to make changes on block_render_svg_horizontal but although the idea is simple, it is confusing to me for make it work. like that

(if it's to dificult dont worry i can figure out other way, but if it's simple help me plz)
thanks

Sorry- this specific thing, displaying two images in one horizontal block, is not supported. The rendering code for horizontal blocks is designed to show a single icon.
Maybe you could display a single image that has two icons in it?
Can you say more about what you want to make?

thanks, and sorry taking so much time to answer it. I just wanted to know
if it was prepared to easly put one other img with the same dimensions ,
making that way 1 block with 2 imgs one only img and the other one with a
dropdown menu. The objective was to get 1 img static and the other one
changing with what was selected on the dropdown, In xml the objective was
to have the array arg0 for img 1 and array arg1 for the other img. Making 1
img with 2 icons it's a good solution but blocks img are 40x40 and changing
it the dropdown button will not be centered with that img :/, a fact is i
dont know well the blockly program and chaging it more than the basics make
alot bug's and errors come out and it's confuse me   I guess it's not
something easy to add if the program are not prepared. Who knows if it will
not be a good idea adding this feature to scratch horizontal blocks :) .
thanks anyway for the support :)
2017-07-28 18:47 GMT+01:00 Eric Rosenbaum<EMAIL_ADDRESS>
Sorry- this specific thing, displaying two images in one horizontal block,
is not supported. The rendering code for horizontal blocks is designed to
show a single icon.
Maybe you could display a single image that has two icons in it?
Can you say more about what you want to make?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/LLK/scratch-blocks/issues/1013#issuecomment-318719394,
or mute the thread
https://github.com/notifications/unsubscribe-auth/APLTF3Rjvq9OHv3Knu0Hzp2o-B8pfMIGks5sSh7CgaJpZM4OasA3
.

In case you haven't looked at it, the "horizontal playground" example includes blocks that have an image on the block, and a dropdown menu. One of these is the "broadcast" block, which has a menu that lets you select a colored envelope. When you select one, the image on the block changes to that color. I guess this is similar to but not exactly the same as what you would like to do. I hope you can find a good workaround. Thanks!


Multiple  CacheKeyWarning errors in apache error.log

Hi guys.
Related to https://github.com/graphite-project/graphite-web/issues/1375. I've found that my apache error.log is writting a lot of  errors like that. ( aprox 80 errors / minute)
/usr/lib/python2.6/site-packages/django/core/cache/backends/base.py:205: CacheKeyWarning: Cache key will cause errors if used with memcached: :1:find:<IP_ADDRESS>:xxxx.yyy.{aa,bb}.{cc,ee}.{a,b,c,d,e,f-........ x,y,z }.metric.example.freespace:1444810800:1444832100 (longer than 250)

There is any way to dissable this "warning" error logs? can this messages impact on response time related to https://github.com/graphite-project/graphite-web/issues/1375
Thank you very much in advance.

One comment about my configuration.
We are working without "memcached".
If I review the cache.log I'm getting always "misses" in all Request-Cache .
#grep Request-Cache  /logs/apps/graphite/webapp/cache.log
Mon Nov 02 11:43:26 2015 :: Request-Cache miss [dbcf92eb3567276a1c882021682b3b70]
Mon Nov 02 11:43:31 2015 :: Request-Cache miss [dc7b91f44f013f6eea6a3e2ece4b443f]
Mon Nov 02 11:48:42 2015 :: Request-Cache miss [d9421f2fac1316f78e4aa63fc766f32c]
Mon Nov 02 11:50:01 2015 :: Request-Cache miss [7f1b87e41006e91214f50b84a69fa4c3]
Mon Nov 02 11:50:02 2015 :: Request-Cache miss [7f1b87e41006e91214f50b84a69fa4c3]
Mon Nov 02 11:50:04 2015 :: Request-Cache miss [3d3d7d5fa8f52cdf3623dd95524543d1]
Mon Nov 02 11:53:59 2015 :: Request-Cache miss [c554c4c79de920f91fa1dec089da1794]
Mon Nov 02 11:56:02 2015 :: Request-Cache miss [7f1b87e41006e91214f50b84a69fa4c3]
Mon Nov 02 11:56:02 2015 :: Request-Cache miss [7f1b87e41006e91214f50b84a69fa4c3]
Mon Nov 02 11:56:04 2015 :: Request-Cache miss [b9ac89ae7a2273e9625dd35848b581f1]
Mon Nov 02 11:59:39 2015 :: Request-Cache miss [bc75e3b8d145017523ba243ac26d1004]
Mon Nov 02 12:02:02 2015 :: Request-Cache miss [7f1b87e41006e91214f50b84a69fa4c3]
Mon Nov 02 12:02:02 2015 :: Request-Cache miss [7f1b87e41006e91214f50b84a69fa4c3]
Mon Nov 02 12:02:04 2015 :: Request-Cache miss [fcb75f99b0ddff5319f7f170f673c289]
Mon Nov 02 12:04:50 2015 :: Request-Cache miss [4add2cccf7dba335a84d3df2f2f2ff75]
Mon Nov 02 12:08:02 2015 :: Request-Cache miss [7f1b87e41006e91214f50b84a69fa4c3]
Mon Nov 02 12:08:02 2015 :: Request-Cache miss [7f1b87e41006e91214f50b84a69fa4c3]
Mon Nov 02 12:08:04 2015 :: Request-Cache miss [39e88011a0338760ceb40c835387da08]
Mon Nov 02 12:09:59 2015 :: Request-Cache miss [e877230b2bf22a8dda334782abd1f64a]
Mon Nov 02 12:13:23 2015 :: Request-Cache miss [7f1b87e41006e91214f50b84a69fa4c3]
Mon Nov 02 12:13:23 2015 :: Request-Cache miss [7f1b87e41006e91214f50b84a69fa4c3]
Mon Nov 02 12:13:26 2015 :: Request-Cache miss [c710a67da9f49ebad3466eeb472ca07f]
Mon Nov 02 12:15:38 2015 :: Request-Cache miss [3dadc7f96a00cdb9057cceb9e2b80147]
Mon Nov 02 12:20:02 2015 :: Request-Cache miss [7f1b87e41006e91214f50b84a69fa4c3]
Mon Nov 02 12:20:02 2015 :: Request-Cache miss [7f1b87e41006e91214f50b84a69fa4c3]
Mon Nov 02 12:20:04 2015 :: Request-Cache miss [5dc82d786fd84ccb2ab088a1816aba6f]
Mon Nov 02 12:20:38 2015 :: Request-Cache miss [70c854b10d686d8e8f094b837ff18984]
```
Watching this log I'm suspecting there is not any cache engine working by default in graphite-web application. ( I have supposed that django had its own cache system).

How can I check that my graphite is working fine with the cache system? If none by default , there is any way to disable "Request-Cache" and CacheKeyWarnings?

For the first part, it sounds like your MEMCACHE_KEY_PREFIX is too long.
You can disable the cache logging by setting LOG_CACHE_PERFORMANCE = False. If you'd like me to investigate the behavior of the caching itself, I'll need to know which version of Graphite you're running here.

Closing this out for now but I'm happy to reopen if you're still looking for resolution.


Conjure fennel window messes up vim-which-key

Hi, i am unsure if this bug is on the Conjure or which-key side, but whenever which-key tries to open in a conjure fennel window, it crashes:

It only does so in this kind of buffers, not in lua or vimscript files (or other langs).
I know the error messages are from which-key, but i thought since it only happens here you may have an idea on how to circumvent that.
BR,
Johann

I think it's an incompatibility between Neovim's newer Lua based mapping system and vim-which-key. I recommend changing to https://github.com/folke/which-key.nvim which should work the same but will support newer Neovim features.
A few people have run into this and swapped. vim-which-key probably works fine in older Neovim versions and normal Vim but there's a few Neovim specific issues building up now that the maintainer doesn't have the time to address just yet.
Previous issue for this: https://github.com/Olical/conjure/issues/417, and there's been some other people in Discord and Clojurians Slack with the same question. I guess it'll just keep coming up unless I can sort of hack around this issue.
WhichKey complains about not having a rhs key on the mapping... but all of my mappings have a rhs, just like they used to. Now they point at Lua functions though so the rhs is an empty string. I guess Neovim internally removes that rhs key thinking nobody needs it which kills vim-which-key.

Closing since I think it's a thing the which key plugin will need to handle as more plugins use the newer Neovim APIs. Please correct me if I'm wrong.


Load .kmz file

Hi,
Please tell me how can I load .kmz files?
Thank you!

Hi @zeeuss Can you tell us what kind of approach are you taking? A piece of code? like this is very hard to help you

Thanks @DonNicoJs for answer!
I have some .kmz files and I must to display the data from them on the map. I found a library that works for leaflet: https://github.com/Raruto/leaflet-kmz.
You can guide me to use this library in vue2-leaflet?

@zeeuss You can follow that plugin quick start guide, and simply do not use the 'js' constructors bu the vue components, to append the control you just need to grab it with a ref.
Try to give it a shot, and if not able I will try to help more


operator percona-xtradb-cluster-operator-certified (1.15.0-cw)

/pipeline restart operator-release-pipeline


fix auth issues

In some cases, distinctUntilChanged would see 2 equal values as non-equal because it used JSON.stringify(a) === JSON.stringify(b) to compare. Now it uses lodash/isEqual. This means fewer duplicate observable emissions.
Sync the models from the server when chat/models is called to ensure the latest list is available, even if there is an in-flight async update to auth.
Await calls to chat/setModel to reduce flakiness in agent tests.
Debounce models config subscription so that the synchronous accessors for the authStatus are updated by the time it runs things. This will go away when ModelsService becomes reactive/observable.
Fix web shim.
Read feature flags for onebox once instead of on each keystroke.

Test plan
CI and e2e, try server-side model config on s2, ensure no "autocomplete provider" alert shows, ensure SiteProductVersion GraphQL request spam is not happening

Server-side model config appears to be working, but I am seeing this still:

Still, this PR has other good fixes and is good to merge. It doesn't fix that alert but it doesn't regress it either.

@dominiccooney Thanks! BTW it's not retreating from observing, it's retreating from calling them anew each time an operation occurs.


Ctrl+Backspace does not work in input field

Ctrl+←→ or Ctrl+Shift+←→ works well, but Ctrl+Backspace does not work.
Pressing Ctrl+Backspace should erase entire word.

Ctrl + Backspace will be supported in the next version.


Prevent git clone from fetching blobs

git clone does a fetch after a successful clone, which defeats the purpose of doing --filter=tree:0 as it seems like git will still fetch the file contents from the remote
Adding --no-checkout should effectively prevent this fetch and leave the clone without any blobs, just having the .git directory
I am not 100% sure this is necessary but from testing on my own fork, this seems to do the trick (my fork has other changes to the git clone command to work with our branching structure).

I'm not well versed in these intricacies about Git. I think I need to add some CI tests to make sure such changes don't change the output of the command (e.g. the data file is still the same).


Move LibraryLoadExceptions down a level for more accurate error msgs

The error message saying "maybe it has the wrong name or maybe the library doesn't exist" has always bugged me.

@DLu would you mind signing off your commit?

Rebased and signed!

@Mergifyio backport foxy galactic

@jacobperron Am I not wizard enough to get the bot to listen to me? Or is it per-repo magic? :mage:

@jacobperron Am I not wizard enough to get the bot to listen to me? Or is it per-repo magic? mage

Bot might only be enabled for the ros2 org; not sure.

@hidmic Could we merge the backports of this PR?

#228
#229
#230
#231

The CI appears to pass for all.

@DLu I'll take a look. Thanks for the bump.

@DLu this patch effectively changes the way ClassLoader::getClassLibraryPath() fails, which can break downstream code. That's fine for Rolling, not so much for stable, LTS distros. I'll check with ROS Bosses, see what they think.

I agree with @hidmic, the change doesn't seem worth the potential fallout of breaking users.


Make accessibility.signalOptions.delays an experimental setting and count usage

Testing #213344
I am not convinced about the need for accessibility.signalOptions.delays. Can we mark it as experimental, and make sure to opt in to telemetry for counting how many users use this.
My suggestion - if we see more than 20 users using it after a month then we can consider to finalize it. If not, we can remove.
fyi @hediet

Roberto had suggested this should be configurable https://github.com/microsoft/vscode/issues/204257#issuecomment-2072394714
It is a good idea to validate that with telemetry 👍🏼

I am not able to see telemetry for specific properties of signalOptions. It doesn't look like there's a way to do this.

@meganrogge I think you would have to manually event telemetry events for usage.

thanks @connor4312, I tried that by adding:
	if (e.affectsConfiguration('accessibility.signalOptions')) {
				this._telemetryService.publicLog2<AccessibilitySignalDelayConfigurationChangeClassification>('changedSignalOptions');
			}

However, it still doesn't indicate of the specific property, delays, changed. 🤔

@hediet another reason we should destructure the object #213618


[Event Request] Codeunit 5056 CustCont-Update - OnBeforeInitSeriesOnInsertNewContact

Please add a new publisher event to the function InsertNewContact as follows:
.
.
  "No." := '';
  "No. Series" := '';

//>> Start New Publisher Call
  OnBeforeInitSeriesOnInsertNewContact(Cont, Cust);
  IF "No." = '' THEN BEGIN
//<< End New Publisher Call
    RMSetup.TESTFIELD("Contact Nos.");
    NoSeriesMgt.InitSeries(RMSetup."Contact Nos.",'',0D,"No.","No. Series");
  END; //>> Closing from Publisher call check

  Type := Type::Company;
  TypeChange;
.
.

New Publisher Event:
LOCAL [IntegrationEvent] OnBeforeInitSeriesOnInsertNewContact(VAR Contact : Record Contact;Customer : Record Customer)

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


raspberry4 cant get the data from l515 with ubuntu22

Required Info

Camera Model
L515

Firmware Version
<IP_ADDRESS>

Operating System & Version
Ubuntu 22

Kernel Version (Linux Only)
5.15.0-1062-raspi

Platform
Raspberry Pi 4B 8GB

SDK Version
2.54.2

Issue Description
I follow the instruction with this  https://raw.githubusercontent.com/IntelRealSense/librealsense/master/scripts/libuvc_installation.sh .But when I connect the l515 with raspberry (before this I try the same cable with PC and it works well)and launch the realsense-viewer it will show
(messenger-libusb.cpp:42) control_transfer returned error, index: 768, error: Resource temporarily unavailable, number: 11(or 0 or b)
...
because I want to collect the data from l515,so I cant choose a newer version
could you help me sovle the question?

Hi @chengfengpiao  The libuvc_installation.sh script will install the latest version of the librealsense SDK.  Support for the L515 was removed in 2.54.1 as it is a retired camera model.  If you use 2.51.1 then you should be able to access the camera.
https://github.com/IntelRealSense/librealsense/releases/tag/v2.51.1
In regard to how you could install the old librealsense version with the libuvc script instead of the latest one, a possibility may be to first download and unzip the source code for 2.51.1.  Then copy the script file into the 'root' directory of the source code folder, remove lines 37-39 from the script and then launch the script.
https://github.com/IntelRealSense/librealsense/blob/master/scripts/libuvc_installation.sh#L37-L39
The 'root' directory of the source code folder is the one with the large list of folders and files.

thanks for your reply.In fact, i have installed 2.54.2 in my PC and nvidia jetson orin (both are Ubuntu 22.0.4), they all works well, and I can collect data through realsense-ros 4.54.1 , the problem is that my raspberry 4's system is also Ubuntu 22.0.4 ,but the 2.54.2 can't work wel l,and the 2.51.1 can't be installed because of the Ubuntu22. I don't know the difference between the orin and raspberry .  I will try the ubuntu 20 with 2.51.1 next week :)

RealSense cameras typically have more problems on Raspberry Pi boards than with Nvidia Jetson.  For example, usually the best that you can get from a Pi is two streams (such as depth and RGB) with no alignment / pointclouds / post-processing, and the IMU may also not work.  There can also be problems with getting the ROS wrapper to work correctly.  So I would recommend using the Jetson board if you a choice between the Pi and Orin.


Hello

From Russia. Help me plz

Hello. What do you need help with?

this issue is stale, please remove


Added update_config script to nifi (For NiFi 1.15)

Since NiFi 1.14 the sensitive props key is a mandatory property. It is also a secret, so it is now mounted into an enviroment variable. This script takes the value from the variable and writes it to the config.

This is related to https://github.com/stackabletech/nifi-operator/pull/125

will do


Use icon wallet address as key instead of ice wallet address

@srmaharjan @sharma66mahesh Dai if you have time please review hai.


Skip newline characters in dynamic node parsing

When parsing XML, since nested nodes have line breaks by default, these nodes should not be parsed as text nodes and added, which will cause unnecessary heap space to be occupied.

The test project reduces the creation of this node, and the space occupied by this node is reduced from 1625KB to 748KB

coverage: 87.313% (+0.003%) from 87.31%
when pulling 902246973a07895d2cbf2da32b5b86eadcc061ae on nieqiurong:20241229
into e08b503948af346b867338780e9a801b61e3c86c on mybatis:master.

@harawata Any concerns here?  Its using trim so it handles all whitespace type which would probably be more appropriate title here.


LoadError: Failed to precompile SymPy

I have encountered this issue when trying to use the latest Sympy.
using SymPy
INFO: Precompiling module SymPy...
INFO: Recompiling stale cache file C:\Users\OE\.julia\lib\v0.4\PyCall.ji for module PyCall.
ERROR: LoadError: LoadError: UndefVarError: computeY not defined
 in include at boot.jl:261
 in include_from_node1 at loading.jl:320
 in include at boot.jl:261
 in include_from_node1 at loading.jl:320
 [inlined code] from none:2
 in anonymous at no file:0
 in process_options at client.jl:257
 in _start at client.jl:378
while loading C:\Users\OE\.julia\v0.4\SymPy\src\plot-v4.jl, in expression starting on line 453
while loading C:\Users\OE\.julia\v0.4\SymPy\src\SymPy.jl, in expression starting on line 170
LoadError: Failed to precompile SymPy to C:\Users\OE\.julia\lib\v0.4\SymPy.ji
while loading In[6], in expression starting on line 1

 in error at error.jl:21

Would you mind helping me out ?

I have the same issue, pops up in julia 0.4.5, with SymPy 0.2.39 and Plots 0.5.4.
I assume that commit ec605cff35264b3014609c3a238a4810cb31a6f7 is designed to fix this, but switching SymPy over to master doesn't seem to fix the issue for me.
As a temporary fix, rolling Plots back to v0.5.3 worked for me.

I have tried switching SymPy over to master branch. It doesn't work for me either. :(

Sorry, it is a Plots.jl issue, stemming from a rename. I'll see what I can do to fix.

Can you check that 0eda26fbbdfb2b48fd2d2df36c9841dd2578719b addresses this?
If not, you may need to update Plots through Pkg.update.  There are some renaming efforts underway in that package (and more on the way) that I have been trying to keep up with.

Hi, thanks for your reply. Unfortunately, it doesn't seem to work. I keep getting this message when trying to run https://github.com/jverzani/SymPy.jl/commit/0eda26fbbdfb2b48fd2d2df36c9841dd2578719b
LoadError: UndefVarError: Sym not defined
while loading In[7], in expression starting on line 433

Yes, all that renaming in plots has really thrown a spanner in the works.
I've quickly thrown together a new plots_v0-5-4.jl to reflect the new naming. With that change, I can get SymPy to compile on my install of julia (linux, 0.4.5), but I haven't tested the actual plotting functions because my julia install is on a remote computer via SSH and so doesn't have a plotting backend. Sorry! But I hope the renaming is at least a little helpful.

Many thanks. I'll check this out next thing. There are even more changes coming to plots in master. This file (https://github.com/jverzani/SymEngineExtras.jl/blob/master/src/plots.jl) should mostly work with SymPy too.

I have switched it over to master branch. SymPy is working fine now. Thanks a lot for your help. Cheers :)

I just saw this after https://groups.google.com/forum/?hl=en#!topic/julia-users/ucnTm4NsRpo.  Someone should have pinged me!  Sorry for the inconvenience... have you fixed the issues on the master branch already?

Also... there is seemingly a LOT of redundant code related to plotting, as well as some Plots integration which might not be as clean/robust as it should be.  If you'd consider a redesign at some point let me know and I can advise some good ways to clean it up.
Also I noticed a comment in the code:

quiver http://matplotlib.org/examples/pylab_examples/quiver_demo.html
We add a plot of vectors (vectorplot). Hopefully this will be in Plots one
day

See: https://github.com/tbreloff/Plots.jl/issues/178 and https://github.com/tbreloff/ExamplePlots.jl/blob/master/notebooks/quiver.ipynb

@tbreloff I think I'm doing something wrong here and what used to work isn't anymore. My goal is to extend the interface of plots where a function works to a symbolic expression. With that in mind, I've extended these methods which have signatures for Function or FuncOrFuncs to a similar thing for symbolic expressions:

convertToAnyVector
build_series_args. When this was createKWargs it all worked, but now I can't get my modifications to get picked up. I also tried extending process_inputs, but this isn't working.

Have I been going about this all wrong?

I'd be all ears. (I also saw the quiver part and am waiting for the next
tagged release)
On Mon, Apr 11, 2016 at 9:05 AM, Tom Breloff<EMAIL_ADDRESS>wrote:

Also... there is seemingly a LOT of redundant code related to plotting, as
well as some Plots integration which might not be as clean/robust as it
should be. If you'd consider a redesign at some point let me know and I can
advise some good ways to clean it up.
Also I noticed a comment in the code:
quiver http://matplotlib.org/examples/pylab_examples/quiver_demo.html
We add a plot of vectors (vectorplot). Hopefully this will be in Plots one
day
See: tbreloff/Plots.jl#178
https://github.com/tbreloff/Plots.jl/issues/178 and
https://github.com/tbreloff/ExamplePlots.jl/blob/master/notebooks/quiver.ipynb
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/jverzani/SymPy.jl/issues/69#issuecomment-208330747

--
John Verzani
Chair, Department of Mathematics
College of Staten Island, CUNY
<EMAIL_ADDRESS>

Have I been going about this all wrong?

Maybe?  I need to review your code a little more before I can say for sure.  If you could give me a list of features that you want, I'm happy to help redesign from scratch.  Should we start a new issue to discuss design?

My goal is to extend the Plots interface so that where it can take a
function f, it can take a symbolic expression as well. From there, all I
want to do is pass to the original a function created from the expression.
Something like this was working when createKWargs was called, but this
doesn't get called now.
function Plots.build_series_args(plt::Plots.Plot, f::SymOrSyms, xmin::Real,
xmax::Real; kw...)
    build_series_args(plt, lambidfy(f), xmin, xmax; kw...)
end

I think the right place to make this change is process_inputs? Or maybe
this whole approach is wrong.
On Mon, Apr 11, 2016 at 9:10 AM, Tom Breloff<EMAIL_ADDRESS>wrote:

Have I been going about this all wrong?
Maybe? I need to review your code a little more before I can say for sure.
If you could give me a list of features that you want, I'm happy to help
redesign from scratch. Should we start a new issue to discuss design?
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/jverzani/SymPy.jl/issues/69#issuecomment-208332209

--
John Verzani
Chair, Department of Mathematics
College of Staten Island, CUNY
<EMAIL_ADDRESS>

Can you give me a small, self contained example of a SymOrSyms object and the resulting plot that you would expect?  I'll generate an implementation and we can discuss the pros/cons.
If it's a drop-in replacement of a function, then it certainly seems like you're expending too much energy here.

The SymOrSyms object is a typealias:
typealias SymOrSyms @compat(Union{Sym, Plots.AVec{Sym}})
Where Sym is the type for a symbolic object. If ex is of Sym type, then
lambdify(ex) will be a function. So I just want to replace ex with
lambdify(ex) and pass along to the plot function.
So something like:
plot(x, 0, 1) will basically be a call to plot(lambdify(x), 0, 1).
Some more examples are here:
https://github.com/jverzani/SymPy.jl/blob/master/test/test-plots.jl
Thanks for any pointers!
On Mon, Apr 11, 2016 at 9:37 AM, Tom Breloff<EMAIL_ADDRESS>wrote:

Can you give me a small, self contained example of a SymOrSyms object and
the resulting plot that you would expect? I'll generate an implementation
and we can discuss the pros/cons.
If it's a drop-in replacement of a function, then it certainly seems like
you're expending too much energy here.
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/jverzani/SymPy.jl/issues/69#issuecomment-208347299

--
John Verzani
Chair, Department of Mathematics
College of Staten Island, CUNY
<EMAIL_ADDRESS>

I made a notebook to describe one possible method: https://github.com/tbreloff/ExamplePlots.jl/blob/master/notebooks/apply_recipe.ipynb
In a nutshell you would implement 2 functions (and nothing else):
function Plots._apply_recipe(d::Plots.KW, s::Sym, args...; kw...)
    (lambdify(s), args...)
end
function Plots._apply_recipe(d::Plots.KW, v::AbstractVector{Sym}, args...; kw...)
    (map(lambdify, v), args...)
end

This is certainly the easiest way to do it, if Sym is really a drop-in replacement for a function.  If you need more complexity, there are other options we can discuss... just give me an example to work with and I'll help.

This mostly works! Awesome. The interface for parametric plots doesn't
though.
plot(x->sin(x), x->cos(x), 0, pi) works, but not plot(sin(x), cos(x), 0, pi)
Is there maybe just one more definition I need?
On Mon, Apr 11, 2016 at 10:20 AM, Tom Breloff<EMAIL_ADDRESS>wrote:

I made a notebook to describe one possible method:
https://github.com/tbreloff/ExamplePlots.jl/blob/master/notebooks/apply_recipe.ipynb
In a nutshell you would implement 2 functions (and nothing else):
function Plots._apply_recipe(d::Plots.KW, s::Sym, args...; kw...)
(lambdify(s), args...)endfunction Plots._apply_recipe(d::Plots.KW, v::AbstractVector{Sym}, args...; kw...)
(map(lambdify, v), args...)end
This is certainly the easiest way to do it, if Sym is really a drop-in
replacement for a function. If you need more complexity, there are other
options we can discuss... just give me an example to work with and I'll
help.
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/jverzani/SymPy.jl/issues/69#issuecomment-208370186

--
John Verzani
Chair, Department of Mathematics
College of Staten Island, CUNY
<EMAIL_ADDRESS>

What is x in this example?  A Sym?  Is sin(x) another type?

Yes, sorry and so sin(x) is also of type Sym.
On Mon, Apr 11, 2016 at 11:14 AM, Tom Breloff<EMAIL_ADDRESS>wrote:

What is x in this example? A Sym? Is sin(x) another type?
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/jverzani/SymPy.jl/issues/69#issuecomment-208396319

--
John Verzani
Chair, Department of Mathematics
College of Staten Island, CUNY
<EMAIL_ADDRESS>

Look at the example notebook again.  You would add an _apply_recipe definition for each signature.

Great. I missed those. Now, one last request, contour plots and surfaces.
This works:
plot(linspace(-5,5,25), linspace(-5,5,25), (x,y) -> x^2 - y^2,
linetype=:contour)
but not
plot(linspace(-5,5,25), linspace(-5,5,25), x^2 - y^2, linetype=:contour)
when x and y are Sym objects. Is there a recipe there.
As well,
Surface((x,y) -> x^2 + y^2, 0:10, 0:10) works, but not
Surface(x^2 + y^2, x, y)
is there a similar recipe for this?
THanks so much for all the help
On Mon, Apr 11, 2016 at 11:18 AM, Tom Breloff<EMAIL_ADDRESS>wrote:

Look at the example notebook again. You would add an _apply_recipe
definition for each signature.
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/jverzani/SymPy.jl/issues/69#issuecomment-208398116

--
John Verzani
Chair, Department of Mathematics
College of Staten Island, CUNY
<EMAIL_ADDRESS>

If you look at the notebook again, I cleaned up a bit and added examples for contour/surface.  You should be able to copy the example and use Sym instead of F, and do the lambdify call.  This should get you most of the way there... let me know what else is missing.

This is great. Thanks so much for your help here and for all your work on
the Plots package!
On Mon, Apr 11, 2016 at 12:13 PM, Tom Breloff<EMAIL_ADDRESS>wrote:

If you look at the notebook again, I cleaned up a bit and added examples
for contour/surface. You should be able to copy the example and use Sym
instead of F, and do the lambdify call. This should get you most of the
way there... let me know what else is missing.
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/jverzani/SymPy.jl/issues/69#issuecomment-208430143

--
John Verzani
Chair, Department of Mathematics
College of Staten Island, CUNY
<EMAIL_ADDRESS>

Thanks to @tbreloff for all his efforts here. This commit d2f08e9d35f1fa84cfb5dc9427a31a4b19d51996 not only works, but streamlines the code considerably. I'll tag a version soon.

"103 additions and 2,419 deletions.". wow

Heh... so much code cleanup makes me a happy man. :+1:

As Tom pointed out earlier, there was a huge amount of code duplication.
But certainly lot s of real reduction and with luck, even more forthcoming.
On Mon, Apr 11, 2016 at 4:46 PM, Tom Breloff<EMAIL_ADDRESS>wrote:

Heh... so much code cleanup makes me a happy man. [image: :+1:]
—
You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub
https://github.com/jverzani/SymPy.jl/issues/69#issuecomment-208555053

--
John Verzani
Chair, Department of Mathematics
College of Staten Island, CUNY
<EMAIL_ADDRESS>


luci-app-keepalived: Add LuCI for keepalived

LuCI Support for Keepalived
We also need https://github.com/openwrt/packages/pull/19329
We also need https://github.com/openwrt/packages/pull/19374
Screenshots from the new Luci App Keepalived:
Overview (Master):

Overview (Backup):

Globals:

IP Address:

IP Address (Add/Edit):

Static IP Address (Add/Edit):

Route:

Route (Add/Edit):

Static Route (Add/Edit):

URLs:

URLs (Add/Edit):

Scripts:

Scripts (Add/Edit):

Track Scripts (Add/Edit):

Interfaces:

Interfaces (Add/Edit):

Instance:

Instance (General):

Instance (Peer):

Instance (Tracking):

Instance (GARP):

Instance (Advanced):

Servers:

Real Servers (Add/Edit):

Virtual Servers (General):

Virtual Servers (Advanced):

Sync Group:

Sync Group (Add/Edit):

A new page for peers is added.
Peers Sender/Master Node:

Peers Receiver/Backup Node:

@feckert @jow- If all comments are addressed, can we merge this?

Thanks for your work!
Merged :+1:
The only other thing I noticed. The following lines always appear in the log! If I am on the status page.

Fri Oct 28 12:37:24 2022 daemon.info Keepalived_vrrp[17362]: Printing VRRP as json for process(17362) on signal
Fri Oct 28 12:37:29 2022 daemon.info Keepalived_vrrp[17362]: Printing VRRP as json for process(17362) on signal
Fri Oct 28 12:37:29 2022 daemon.info Keepalived_vrrp[17362]: Printing VRRP as json for process(17362) on signal
Fri Oct 28 12:37:34 2022 daemon.info Keepalived_vrrp[17362]: Printing VRRP as json for process(17362) on signal

This spams my log! I think this should get fixed this keepalived?
Maybe by change the log level?
https://github.com/acassen/keepalived/blob/master/keepalived/core/main.c#L1794

Thanks for your work! Merged +1
The only other thing I noticed. The following lines always appear in the log! If I am on the status page.

Fri Oct 28 12:37:24 2022 daemon.info Keepalived_vrrp[17362]: Printing VRRP as json for process(17362) on signal
Fri Oct 28 12:37:29 2022 daemon.info Keepalived_vrrp[17362]: Printing VRRP as json for process(17362) on signal
Fri Oct 28 12:37:29 2022 daemon.info Keepalived_vrrp[17362]: Printing VRRP as json for process(17362) on signal
Fri Oct 28 12:37:34 2022 daemon.info Keepalived_vrrp[17362]: Printing VRRP as json for process(17362) on signal

This spams my log! I think this should get fixed in the keepalived packages? Maybe by change the log level? https://github.com/acassen/keepalived/blob/master/keepalived/core/main.c#L1794

Yes makes sense. I will keep that in my todo. with improvements, I can find.


Point deserialize from string coordinates

This change allows Point to deserialize coordinates provided as strings rather than numbers (floats or ints).
I'm serving an API using webargs/flask and I'm using a NestedQueryFlaskParser as suggested in the docs.
I receive a query like this one:
http PUT "http://localhost:5000/buildings/57512e2227b613712d824fe9?name=building&position.x=100&position.y=50"

The custom parser generates a dictionary but does not deserialize the coordinate values into numbers.
I guess marshmallow-mongoengine's Point is the right place to do that. Or am I wrong?
@touilleMan, @kevin0571 any advice?

Coverage increased (+0.5%) to 94.517% when pulling 107d9a3240e3ec6c3c71a9be45c51827b73720e3 on Nobatek:point_deserialize_from_string_coordinates into 23b8f41bb65c713042d7e732fc3e346f8a5650c0 on touilleMan:master.

Given marshmallow already accept a string as number (https://github.com/marshmallow-code/marshmallow/blob/dev/marshmallow/fields.py#L612), I'm ok with this PR.
Just a single remark: could you add a test with a wrong string (something like data = {'point': { 'x': '10', 'y': '20foo' }})
I wait for this change, then merge&release a new version (unless you want to make other changes before that)

Coverage increased (+1.04%) to 95.039% when pulling 718ef622940a560e4e481082a25b63b453bd9f79 on Nobatek:point_deserialize_from_string_coordinates into 23b8f41bb65c713042d7e732fc3e346f8a5650c0 on touilleMan:master.

Given marshmallow already accept a string as number (https://github.com/marshmallow-code/marshmallow/blob/dev/marshmallow/fields.py#L612), I'm ok with this PR.

Great.

Just a single remark: could you add a test with a wrong string (something like data = {'point': { 'x': '10', 'y': '20foo' }})

Done.

I wait for this change, then merge&release a new version (unless you want to make other changes before that)

Thanks !
(No, no other contrib planned at the moment.)

This is a corner case, as people would probably send such data as json, I suppose (ultimately, this is what I'm going to do, the query args method explained above was a test).
http PUT http://localhost:5000/buildings/57512e2227b613712d824fe9 name=building position:='{"x":100,"y":50}'

Anyway, casting to float can't do wrong.

version 0.7.6 released ;-)


Share Panel title not working on Android

Version 1.1.15 on Android.
I am using share like this:
ShareExtend.share(file.path, "file", sharePanelTitle: "Panel title", subject: "For email");
Subject works fine, however share panel title is not displaying, what it is displayed is the file's path with strange characters, as seen in the image:

Same here

@mbabuglia  @allanwolski   This is an api provided by android, but may not work on some devices for its rom did not implement the function.


Bad tooltips performance

See sampling examples here

The description is too general, link doesn't work.


Drop the ignition/v2/util dep

Which issue this PR addresses:
Part of https://issues.redhat.com/browse/ARO-1417
What this PR does / why we need it:
Cleans up a minor dependency that causes issues when trying to reconcile the dependency tree once the installer is removed.
Test plan for issue:
Unit tests
Is there any documentation that needs to be updated for this PR?
N/A, cleanups

/azp run e2e


[Need help]: New Bing requires captcha

Contact Details
<EMAIL_ADDRESS>What happened?
New Bing requires captcha, but I found nowhere to finish it, including checking the console logs of LibreChat.
Steps to Reproduce

Entered my cookies already
Kept refereshing several times
tried to finish the captcha in my own pc's browser with the same account, resent the message, and nothing changed

What browsers are you seeing the problem on?
Chrome
Relevant log output
The Website feedback shows: "Something went wrong. Please try again in a few moments. Here's the specific error message we encountered: CaptchaChallenge: User needs to solve CAPTCHA to continue."
The Console logs shows: "
ask log {
  userMessage: {
    messageId: 'd89c36bb-702b-45a3-8607-e328e978e674',
    sender: 'User',
    text: 'hihi',
    parentMessageId: '00000000-0000-0000-0000-000000000000',
    conversationId: '1ee36dee-0a98-443d-a798-d35be86f939b',
    isCreatedByUser: true
  },
  endpointOption: {
    jailbreak: false,
    systemMessage: null,
    context: null,
    conversationSignature: null,
    clientId: null,
    invocationId: 1,
    toneStyle: 'balanced',
    token: ''
  },
  conversationId: '1ee36dee-0a98-443d-a798-d35be86f939b'
}
bing options {
  conversationId: '1ee36dee-0a98-443d-a798-d35be86f939b',
  context: null,
  systemMessage: null,
  parentMessageId: '00000000-0000-0000-0000-000000000000',
  toneStyle: 'balanced',
  onProgress: [Function: wrapper],
  clientOptions: { features: { genImage: [Object] } }
}
Error: CaptchaChallenge: User needs to solve CAPTCHA to continue.
    at WebSocket.<anonymous> (file:///app/node_modules/@waylaidwanderer/chatgpt-api/src/BingAIClient.js:491:36)
    at WebSocket.emit (node:events:525:35)
    at Receiver.receiverOnMessage (/app/node_modules/ws/lib/websocket.js:1184:20)
    at Receiver.emit (node:events:513:28)
    at Receiver.dataMessage (/app/node_modules/ws/lib/receiver.js:541:14)
    at Receiver.getData (/app/node_modules/ws/lib/receiver.js:459:17)
    at Receiver.startLoop (/app/node_modules/ws/lib/receiver.js:158:22)
    at Receiver._write (/app/node_modules/ws/lib/receiver.js:84:10)
    at writeOrBuffer (node:internal/streams/writable:392:12)
    at _write (node:internal/streams/writable:333:10)
Error: CaptchaChallenge: User needs to solve CAPTCHA to continue.
    at WebSocket.<anonymous> (file:///app/node_modules/@waylaidwanderer/chatgpt-api/src/BingAIClient.js:491:36)
    at WebSocket.emit (node:events:525:35)
    at Receiver.receiverOnMessage (/app/node_modules/ws/lib/websocket.js:1184:20)
    at Receiver.emit (node:events:513:28)
    at Receiver.dataMessage (/app/node_modules/ws/lib/receiver.js:541:14)
    at Receiver.getData (/app/node_modules/ws/lib/receiver.js:459:17)
    at Receiver.startLoop (/app/node_modules/ws/lib/receiver.js:158:22)
    at Receiver._write (/app/node_modules/ws/lib/receiver.js:84:10)
    at writeOrBuffer (node:internal/streams/writable:392:12)
    at _write (node:internal/streams/writable:333:10)
"

Screenshots

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Several users have had this issue already, with many different solutions. The issues with bing often come because of IP/location/extended use, and it's not an officially supported method
Here are some potential solutions I found from the discord thread on the issue:

when you edit the .env file you need to rebuild Librechat (which I didn't until now)
So after getting the full cookie string, open your terminal in the Librechat folder and go with docker-compose build e docker-compose up

Visit this link in Edge https://www.bing.com/turing/captcha/challenge
then go to bing
log in
https://www.bing.com/search?q=Bing+AI&showconv=1&Form=hpcodx
got to this link
and get the cookies
and add it on LibereChat bing token
it will work
must be in edge
https://github.com/danny-avila/LibreChat/issues/370#issuecomment-1560382302
this is how to get cookies
its working nice for me both Sydney and bing

If you have trouble opening the discord link, join the discord server first


Test suites for spystore and khabar

From @meson10 on March 26, 2015 12:10
Copied from original issue: changer/sc-api#551

@meson10 Is this issue still relevant? Can @ParthDesai contribute here?

He should. I added a lot of them to moire too. He can draw inspiration from those.


Plugin only works when installing from git

cordova plugin add com.lampa.startapp
installs version 0.0.7 that doesn't work (navigator.startApp is an empty object)
cordova plugin add https://github.com/lampaa/com.lampa.startapp.git
gets version 0.0.6 that work as expected
tried on cordova 6.0.0 and android platform 5.1.1

Hi, @Habared.
I'll check and corrected.

@Habared hi!
I updated plugin to new version. Problem was solved.


remove component integration tests nodes in overview and commit visualization

Fixes

https://issues.redhat.com/browse/HAC-3688
Description

Remove component integration test nodes from overview and commit visualizations.
Type of change

[x] Bugfix

Screen shots / Gifs for design review

No integration tests:

How to test or reproduce?

Component nodes should not be visible in overview and commit visualizations.
Browser conformance:

[x] Chrome
[x] Firefox
[x] Safari
[ ] Edge

/cc @jeff-phillips-18

/lgtm


Buggy behavior with completions in 2.0 (possibly related to CPR requests)

In the 2.0 branch I am seeing very buggy behavior with tab completion.
If the prompt is at the bottom of the terminal, the completion columns do not appear. It acts as if they are below the visible screen.
If the prompt is above the bottom (like if I Ctrl-L), then all input is extremely laggy, taking 10-20 seconds before any input appears. It causes my terminal (iTerm2) to beachball, so it's quite possible there is a bug there.  When I eventually do get the completions, the completion columns appear as expected (unrelated question: is READLINE_LIKE supposed to be identical to COLUMNS?). I tested it in Terminal.app and the lagging is not there (although the above issue with the no columns still is).
I'm guessing this is related to CPR codes. If I comment out the CPR request code in vt100.py, I get a message WARNING: your terminal doesn't support cursor position requests (CPR)., and then completions happen as in the above case, with no columns, regardless of whether the text is at the bottom of the terminal (that is, it removes the lagging, but also any columns).
If I do the same in master (comment out the CPR request), the completions work just fine from anywhere.
I wasn't able to reproduce this in the completions example script, so I'm not sure what all I am doing to cause this. If you need help reproducing, you can test this branch against my 2.0-fixes branch (type % then TAB) (you'll have to pip install a few dependencies first, sorry, I never designed that to be usable by other people).

All the useless \x1b[0m escapes are now removed with this small optimization: https://github.com/jonathanslenders/python-prompt-toolkit/commit/c13572e135037da11ca2de9ea477d1cbf34777b2
When the screen is cleared, all lines are rendered again. The current in memory screen is then compared with the previous screen (for only outputting the diff). When going through the new screen, the style is compared with the style of the last drawn character. There we checked if the_last_style. In this case, this was an empty string, and we always ended up in the second branch. That caused the spam of escape sequences, but it should not hurt the terminal in any case.
I can't seem to reproduce the not showing of completions column. Can you reproduce it with any of the examples, or do you have some code? Which iTerm2 version is this?

Apparently, after applying this patch: https://github.com/jonathanslenders/python-prompt-toolkit/commit/c13572e135037da11ca2de9ea477d1cbf34777b2 on your branch, it seems to work much better. At least here I don't get the spinning wheel anymore half of the time. It surprises me. I think it should be a bug in iTerm2, but that terminal is known for prioritizing UI fanciness above performance.
The completion menus also render fine. The bug that appears at the bottom of the screen is actually in your changes. _get_default_buffer_control_height returns the height that is used for the completion menu. If self.completer is None, 0 will be returned and nothing will be shown.
Either we should assign the completer to self.completer or we have to check self.default_buffer.completer.
This also makes me wonder whether I want to merge these changes to the Prompt class. There are some good ideas, and I'll probably merge some commits or changes, but the class was never intended to be inherited from. I don't want to support everyone who thinks it's a good idea to override these internals. Can you still elaborate on why the things you want to do are not possible without these modifications?
BTW: I also saw a suggestion about renaming Prompt to PromptSession (or something like that). I think this is a good idea.
FYI:
  File "/Users/jonathan/git/python-prompt-toolkit/prompt_toolkit/completion.py", line 169, in get_completions_async
    for item in self.get_completions(document, complete_event):
  File "/Users/jonathan/git/mypython/mypython/completion.py", line 107, in get_completions
    script = get_jedi_script_from_document(document, self.get_locals(), self.get_globals())
  File "/Users/jonathan/git/mypython/mypython/completion.py", line 41, in get_jedi_script_from_document
    full_document = '\n'.join(i for _, i in sorted(_locals['_CLI'].builtins['In'].items()))
Exception '_CLI'

edit: I'm testing your code right now. It's slow indeed. Rendering here is also mixed up because wcwidth('🐍') returns 2, while my iTerm2 only uses one cell for this character.

You have to enable double width emoji in some setting (still not sure why this isn't the default).

It surprises me. I think it should be a bug in iTerm2, but that terminal is known for not being the fastest.

Well I did open the upstream issue. So we'll see if things improve.

The bug that appears at the bottom of the screen is actually in your changes.

Ah, I should have guessed as much. I've fixed it.

This also makes me wonder whether I want to merge these changes to the Prompt class. There are some good ideas, and I'll probably merge some commits or changes, but the class was never intended to be inherited from. I don't want to support everyone who thinks it's a good idea to override these internals. Can you still elaborate on why the things you want to do are not possible without these modifications?

Well the main thing I need is the ability to set my own buffer. You can see that not only do I use my own Buffer subclass which implements my own history search logic, but I am also using a custom accept_handler. I've also elaborated on this here.
I added the rest of the stuff from _create_application for completeness, but I don't actually need them (although as I mentioned I might want to create a custom layout at some point in the future). To do this without split methods, I would have to copy the entire 240 line method _create_application and modify only the relatively small parts I want to change. I basically have to do everything from scratch. But I like most of the defaults from shortcuts, and I don't want to throw the baby out with the water and reinvent everything from scratch. I might get there at some point as I customize things more and more. When I started, I just used prompt (1.0). Then I needed to modify stuff beyond what prompt allowed so I copied most of the code (you can see this function is more or less a copy of prompt with some modifications and additions.

FYI

Yeah I know I still have a lot of bugs. Trying to get everything working so I can find the bugs in the 2.0 branch before it gets released (though don't let me block you by any means).

This is working better now performance-wise, and the other issue I guess was in my own code. Closing this.


initial commit, copied all code over to new branch

Agility ticket
Summary
This PR is copied over from a previous PR with added changes of making the parameter isWeightTicket optional instead of required.
Previous PR
Here is the description from that PR:
B-17615
Summary
Added a requirement of the Prime to add a parameter of isWeightTicket to a POST request to the /createUpload endpoint.
This required adding a migration file to add a column, isWeightTicket to the proof_of_service_docs table. Made the default value of FALSE to avoid any NULL panics.
Updated the Go Struct for ProofOfServiceDocs model to include the isWeightTicket boolean value.
Updated the payload that is returned for an upload if the upload is:

A proof of service doc
A proof of service doc that is a weight ticket
This adds an isWeightTicket key to the upload array that is used by the UI when reviewing payment requests and their respective documents.

NOTE This story did not have criteria to update the Prime simulator, so when using the Prime Sim you will be unable to test this or add a isWeightTicket value to the upload.
In order to see this change in the frontend, I also had to update the model_to_payload.go file for the GHC API and allow including the parameter in a GET request for payment requests.
DON'T FREAK OUT by the number of "Files changed" in this request. When changing any property in swagger-def, it changes several auto-generated files. You good. We good. It's all good.
Setup to Run the Code

Instructions for starting storybook
Instructions for starting the MilMove application
Instructions for running tests

How to test

Log into MilMove as the Prime
Using Postman, send a POST request to /createUpload on an existing payment request. Ensure your body is in formData as the Content-Type and send it.

{
   "file": "filePath",
   "isWeightTicket": true
}

Sign in as an office user and perform a GET request to /payment-requests/{paymentRequestID}
Confirm you can see the isWeightTicket parameter for the proofOfServiceDoc and upload you added to the payment request

Warnings

:warning:
Please add the JIRA issue key to the PR title (e.g. MB-123)

  Generated by :no_entry_sign: dangerJS against 52e6890130d7c8f24cbd94c7f60ab0e6789ba4b2

So we're sticking with a v1 mod and switching it to optional to avoid introducing breaking changes? What are the current plans of deprecation to force the requirement?

Correct, Danny Matthews told us to just make it optional which will not break any of their systems - whatever those are. No plans as of right now or that I'm aware of.

Okay, we could also make it a v2 change and then enact deprecation after 6 months while homesafe is still using v1

Okay, we could also make it a v2 change and then enact deprecation after 6 months while homesafe is still using v1

Def possible, but that's above my pay grade so I'll let those decisions happen as they come. But def wouldn't mind that. I'd love for it to be a required field, but... Lesson learned here.


Ensure SPF records include -all

💡 Summary
Add a Rego check to MS.EXO.2.2v1 to assert that the SPF policy includes -all or a redirect.
Motivation and context
First, a dive into some of the subtleties of the SPF specification. Relevant SPF definitions:

all: match any sender
qualifier: directive indicating the result of any matching records. - is the qualifier for fail, meaning -all basically translates to "everything else fails"
Neutral: one of the possible results, indicates that no determination, positive or negative could be made. Literally MUST be treated as if there were no SPF record.
Redirect: A modifier that effectively says "look up this other record, do whatever it says." Useful for admins that want to reduce code duplication by having the domains they manage all point to one common SPF record.

Per RFC 7208:

If ADMDs choose to publish SPF records and want to support receivers making negative authorization determinations, it is necessary for them to publish records that end in "-all", or redirect to other records that do; otherwise, no definitive determination of authorization can be made.

In other words, in order for a mail server to conclude that a given sender is not authorized, the SPF policy must end in -all. Without it, any sender that didn't match the policy will evaluate as "neutral," which means the SPF policy will not provide any spoofing protections against any IPs not explicitly listed.
MS.EXO.2.2v1 states that "An SPF policy SHALL be published for each domain, designating only these addresses as approved senders." Now, given all the above context, we know that in order to meet the intent of the baseline and ensure that "only" the approved senders pass evaluation, the policy needs to either:

Include -all
Include redirect=

We could take this one step further and recursively evaluate the redirects to assert that they redirect to a policy that end in -all, but I'd argue that that is out scope for ScubaGear. Simply adding the above checks would go a long way to ensuring that the SPF records are functioning as intended.
Implementation notes
Ensure the SPF policies include one of the following substrings:

"-all"
"redirect="

Acceptance criteria

[ ] SPF records are evaluated as described above.

Closed through #1130


chore(deps): upgrade dev dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dev-dependencies-k8s-29-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 4933

Questions ?
Please refer to the Backport tool documentation


fix: Bugs in vector2.h, vector4.h, color2.h, color4.h, docs

Fix a variety of typos in the 2- and 4-component color and vector helper structs. Very embarrassing!
Also embarrassing, a typo in the docs had said that the way to overload the != operator was with a function called __operator__ne__ while actually, all along it had been __operator__neq__.
Comprehensive test of color2, color4, vector2, vector4.
New testing header: testsuite/common/shaders/osl-unittest.h This has utilities to make it easier to make unit tests for shader functions in our testsuite.
Various other minor fixes to these headers.
Fixes #1889

This looks like a great improvement, thanks @lgritz, though it seems worthwhile to consider whether the color2 data type is still needed in the OSL codebase.
The color2 data type originated in the MaterialX project (sorry!), but we were successfully convinced by the CG community that it was not a useful feature, and it was removed from the MaterialX codebase for the v1.38 release in 2021:
https://materialx.org/assets/MaterialX.v1.38.Changelist.pdf

The "color2" and "color2array" types have been removed, since there hasn't proven to be any practical use for these types in 3D rendering applications which have become the primary focus of MaterialX.

I'm not aware of any teams that are still building projects with pre-2021 versions of MaterialX, and legacy MaterialX documents are automatically upgraded in modern versions, so we may want to consider whether the color2 data type can now be safely removed from OSL as well.

Yes, I had to do it anyway because (a) I wanted to backport the fixes to the 1.12 branch, where we can't remove functionality within a supported release family, and also (b) because of the high symmetry between color2 and vector2, it wouldn't really have saved me any work to fix only one.
I think we should integrate this now, for the reasons stated above, but then remove the color2 from main before we beta 1.13.
I feel like my procrastination on the types I didn't like has been 25% successful so far. I guess I can't convince you of the error of color4, if not vector2/4? :-)
But seriously, I feel like OSL has to support these types to properly live in an ecosystem where MaterialX is important (which it is), but while my mild annoyance at vector2 and vector4 being built-in types is merely that they are unnecessary, I fear we are all going to regret color4 if spectral rendering ever catches on more widely.

Got it, and that approach makes sense to me.
On the value of the color4 data type, it wouldn't be needed in MaterialX if we were only focused on processing data in linear color spaces, but we need to support applications that bind color3 and color4 values to arbitrary spaces, and manage the conversions of those values to the linear color space of the renderer.
That would be challenging without the ability to bind color4 values to color spaces, and we'd be forcing applications to split all colors from their associated alpha values before passing them along to MaterialX and OpenUSD.
Although we'll learn more about the implications of spectral rendering as it becomes more popular in open-source renderers, it's my early sense that we won't associate spectral color values with alpha channels at all, since there's no history of combining these two concepts in rendering applications.  That would allow us to have a future spectrum data type that would be independent of both color spaces and associated alpha channels, and could coexist with all of the current data types in OSL, MaterialX, and OpenUSD.
It's worthwhile to consider how this would be integrated in OSL, and whether spectrum would simply be a supported behavior of color, or whether it would have its own data type.  In MaterialX, since spectral colors would not be associated with color spaces, it seems more logical for spectrum to be an independent data type, but we're very open to discussion on this.

Ha, that's where I was going with my thinking as well.
I agree that the way it will eventually shake out is that we'll need to introduce a spectrum type. And then color will finally mean only what the color scientists think it means -- a perceptual locus in a known color space, not a "pretend-spectrum". If color is definitively a color and not doubling as a spectrum, then I'm not nearly as annoyed by a type that combines a color and an alpha. Now I'm only annoyed by the fact that we don't yet have a spectrum type. :-)

Anybody have remaining concerns about this PR?

LGTM!


Injecting DLL... FAIL!

Files have already been extracted. Tried extracting in multiple directories, running as administrator, and disabling antivirus.

Same. Extracted files, tried running it as admin and Injecting DLL... FAIL!

thanks for posting, will look into it

Same issue. Files extracted completely. Run as admin. Win 10 2004 - 19041.508. Using Gfx AMD HD7970
Injecting DLL... FAIL!

Maybe this could help??
DxDiag.txt

exactly same here.  Tried extracting in multiple directories, running as administrator, and disabling antivirus. but it doesn't work.

Same issue, Here is my DxDiag for your help.
DxDiag.txt

DxDiag.txt
Here is my DxDiag for your help.

Another reason you can get this error is because of VC++ Redistributables installed. Install VC++ Redistributables 2015-2019 from here. This should fix the Injecting DLL... FAIL! error.
Let us know if installing the 2015-2019 of VC++ fixes the error for you.

Let us know if installing the 2015-2019 of VC++ fixes the error for you.

FIXED for me .... Thank you 8)

Another reason you can get this error is because of VC++ Redistributables installed. Install VC++ Redistributables 2015-2019 from here. This should fix the Injecting DLL... FAIL! error.
Let us know if installing the 2015-2019 of VC++ fixes the error for you.

Thank you so much!! FIXED!!

I'm still getting the error, neither of the solutions work for me. Interestingly enough, I get "Injecting DLL... SUCCESS!" message, but only when the game is closing.

Found a way to fix Injecting DLL... FAIL! on both Win7 and Win10 that worked for me: I just removed a XINPUT1_4.dll reference by modding tekken-overlay.dll.
For those who want to apply the fix themselves these are the steps to follow using CFF Explorer:
right click tekken-overlay.dll > Open with CFF Explorer > Import Directory > right click XINPUT1_4.dll > Delete Import Descriptor > File > Save
or just download this version with the fix applied: TekkenOverlay-3.33.1-2020-11-02.zip

Version 3.33 works fine, but version 4.00.1 does not. I installed 2015-2019 of VC++ but it still doesn't work. Ask for help.

If nothing else works for you you might want to try to install Visual Studio 2019 Community. It's not a small program but it you desperately want to use this mod by any cost you can install it.

4.00.0 injecting dll fail..
help Other reasons you can get this error is because of VC+++ Redistributes installed. Install VC++ Redistributes 2015-2019 from here. This should fix the Injecting DLL... FAIL! error.
Let us know if installing the 2015-2019 of VC+++ fixes the error for you. I've tried this, but it hasn't been fixed. Help me.

If nothing else works for you you might want to try to install Visual Studio 2019 Community. It's not a small program but if you desperately want to use this mod by any cost you can install it.

How can I use Visual Studio 2019 Community to solve the problem? Just install it?

Apparently, it was imgui that was linking XInput. Disabled linking XInput in imgui and now it doesn't add that XInput to import directory of the tekken-overlay.dll.
It should fix the issue for people who get XInput1_4.dll errors.
Kudos to WAZAAAAA.
You can try if this version with removed XInput works for you.
TekkenOverlay-4.00.1-[2020-11-18].zip

I guess I have a different problem with this one. In ver 3.33, I solved it by reinstalling Windows (before Reason #2 was confirmed).
But this time, even if you use the same method as last time, and install VC++ Redistributables 2015-2019, it does not work.
I look forward to seeing a solution someday.

Apparently, it was imgui that was linking XInput. Disabled linking XInput in imgui and now it doesn't add that XInput to import directory of the tekken-overlay.dll.
It should fix the issue for people who get XInput1_4.dll errors.
Kudos to WAZAAAAA.
You can try if this version with removed XInput works for you.
TekkenOverlay-4.00.1-[2020-11-18].zip

I guess I have a different problem with this one. In ver 3.33, I solved it by reinstalling Windows (before Reason #2 was confirmed).
But this time, even if you use the same method as last time, and install VC++ Redistributables 2015-2019, it does not work.
I look forward to seeing a solution someday.

Apparently, it was imgui that was linking XInput. Disabled linking XInput in imgui and now it doesn't add that XInput to import directory of the tekken-overlay.dll.
It should fix the issue for people who get XInput1_4.dll errors.
Kudos to WAZAAAAA.
You can try if this version with removed XInput works for you.
TekkenOverlay-4.00.1-[2020-11-18].zip

I guess I have a different problem with this one. In ver 3.33, I solved it by reinstalling Windows (before Reason #2 was confirmed).
But this time, even if you use the same method as last time, and install VC++ Redistributables 2015-2019, it does not work.
I look forward to seeing a solution someday.

The Korean alphabet in the folder path was the problem.
When I moved it to a folder that does not contain Korean, it works fine. (Ver 4.00 only. Ver 3.33 is no problem anywhere)
Thank you for the project.


Disable incremental frontend by default

Change default to having incremental frontend disabled to increase reliability of self-host build. This doesn't impact any current customers as they have incremental frontend disabled already.
A number of unit tests needed to be pinned to having the feature enabled for them to continue to pass
Fixes #AB1469790

/azp run


Make sure render can be called after a value has been updated

relates to #361. Added some tests. All passing on Chrome and Firefox, Not tested others

So this PR was never landed?

No. Sorry I accidently deleted the branch and then re opened the pull request. I've been using the code here for about a year and as far as I can sss its ok

Oops didn't re open. I will re open after I push the branch

Branch is back

Thanks @exussum12

Awesome.

:+1:

What's the policy on when the distribution folders should be updated. Only on tagged version releases or should they be rebuilt with/after pull requests as well?

Just update src here -- distribution will get auto-built once it's merged in. I haven't had a chance to look at this yet but maybe @powmedia has.
@exussum12 does the test I wrote in https://github.com/powmedia/backbone-forms/issues/378#issue-33010044 pass in this branch?

Just to ping: did this or another pull with similar functionality ever made it? Still looking for the best way to be able to call render() multiple times.


Bug when trying to create a tag

When trying to create an uptime_check_http with a tag field I get the following error :
╷
│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to uptime_check_http.http, provider "provider[\"registry.terraform.io/uptime-com/uptime\"]" produced an unexpected new value: .tags: planned set element
│ cty.StringVal("123392") does not correlate with any element in actual.
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.

Here is my code. Note that I create the tag in the same run as the check.
resource "uptime_check_http" "http" {
  name           = "Example HTTP Check"
  address        = "<>"
  contact_groups = ["Default"]
  tags = [uptime_tag.tag.id]

  interval  = 5
}

resource "uptime_tag" "tag" {
  tag = "crf"
  color_hex = "#abc0ff"
}

resource "uptime_statuspage" "statuspage" {
  name = "<>"
  company_website_url = "<>"
  allow_pdf_report = true
}

The tag and http check are created correctly but since I get a terraform error I can't use this provider for production work for now

Wouldn't it be:
resource "uptime_check_http" "http" {
  name           = "Example HTTP Check"
  address        = "<>"
  contact_groups = ["Default"]
  tags = [uptime_tag.tag.tag]

  interval  = 5
}

Tags is working for us, but we don't provision it in the same code.
So we actually end up doing something like:
resource "uptime_check_http" "http" {
  name           = "Example HTTP Check"
  address        = "<>"
  contact_groups = ["Default"]
  tags = ["crf"]

  interval  = 5
}

Thank you @Courtcircuits,
I'll check it and try to reproduce it.

@Courtcircuits, sorry for the delay; @nabadger was right about tags field notation. As check resources (actually all others, too) work with tag names themselves, not their IDs, the issue in the HTTP resource check definition is using tag names.
So the only change you need to try is:
 tags = [uptime_tag.tag.tag]

I closed this issue until you have any new incident with that case.


Support importing themes from other terminal apps

Description of the new feature/enhancement
Fluent Terminal has the really neat ability to import iterm themes which allows me to use themes from rainglow.
I would love it if the new Windows terminal was able to do the same.  That way the community isn't waiting for all the various theme authors to recognize it (if ever!).
Proposed technical implementation details (optional)
I'll leave it up to you guys, but the basic idea would be to just have a look at all the applications rainglow has themes for and maybe implement hyper and iterm theme import functionality.

IMHO the ideal solution would be for terminal developers to agree on a format so that vendors can ship their color schemes in a single format only which would work in pretty much all emulators.
This was discussed e.g. in https://bugzilla.gnome.org/show_bug.cgi?id=655030 with no conclusion.
Indeed unfortunately it's much harder to come to an agreement among the involved parties than to implement importing foreign formats.

This is a pretty good idea for once #1564 lands.
As of #1052, colortool can write out a color scheme as a json blob for the Windows Terminal to be able to consume. While it's obviously not as great as a one-click "import theme" option, it should work well enough currently for converting .itermcolors schemes into Windows Terminal compatible ones.

ColorTool releases a new build with the update I wrote a short PowerShell script to perform the conversion from ColorTool .INI files. It's public domain so feel free to adapt it for other formats.
https://gist.github.com/tylerszabo/eeaea83d05889191efcf7da0853ab365