[BUG] callbacks missing if there is more than one entity...

Describe the bug
command_callback do not work reliably when a device has multiple entities.
To Reproduce
Here a minimal example script.
It creates one device and add a Sensor and a Switch:
import time

from ha_mqtt_discoverable import DeviceInfo, Settings
from ha_mqtt_discoverable.sensors import Sensor, SensorInfo, Switch, SwitchInfo

mqtt_settings = Settings.MQTT(host="localhost")
device_info = DeviceInfo(name="My device", identifiers="device_id")

def get_temperature_sensor():
    temperature_sensor = Sensor(
        Settings(
            mqtt=mqtt_settings,
            entity=SensorInfo(
                name='Chip Temperature',
                unit_of_measurement='°C',
                state_class='measurement',
                device_class='temperature',
                unique_id="temperature",
                device=device_info,
            ),
        )
    )
    temperature_sensor.set_state(state=random.randint(0, 100))
    return temperature_sensor

class Relay:
    def __init__(self):
        self.relay_switch = Switch(
            Settings(
                mqtt=mqtt_settings,
                entity=SwitchInfo(
                    name='Relay',
                    unique_id="relay",
                    device=device_info,
                    payload_on='ON',
                    payload_off='OFF',
                ),
            ),
            command_callback=self.relay_callback,
        )
        self.relay_switch.on()

    def relay_callback(self, client, user_data, message):
        payload = message.payload.decode()
        print(f'\n**** Switch Callback: {client=} {user_data=} {payload=}')
        if payload == 'ON':
            self.relay_switch.on()
        else:
            self.relay_switch.off()

relay = Relay()
temperature_sensor = get_temperature_sensor() # <<< comment this out, then it works fine

while True:
    time.sleep(1)
    print('.', end='', flush=True)

It works, if the "temperature sensor" will be not initialized. Then you can switch the "Relay" ON and OFF in Home Assistant and the callback will be call every time.
But if the "temperature sensor" is also added, then the callback will be sometimes called and sometimes not.

Have the same problem, It seems it has something to do that the lib creates multiple instances of the mqtt connection in parallel and starts multiple mqtt_client loops.

I've implemented some ugly hacks to "fix" this for my local instance, but

It's ugly as heck as it stores the client connection inside of the MQTT settings object (baaad, but easiest to use). You've to set the "reuse_client" while creating the MQTT object.
The first message_callback which was defined is called instead of the matching callback of the topic/device. This can probably be fixed... but not by me.

I simply check in the callback method which topic was set for the message to know for which device the message was send. And its v0.13.1 as I am running this on raspi 1 which is still arm32 and which does not support pydantic2.
https://github.com/unixorn/ha-mqtt-discoverable/compare/main...smeinecke:ha-mqtt-discoverable:v0.13.1

I have run into the same subject
if i understand correctly, you need to call _connect_client() whenever you setup a callback on an object.
for example i call my_button._connect_client() and i don't have the problem anymore.
this is documented in init of class Discoverable
Args:
settings: Settings for the entity we want to create in Home Assistant.
See the Settings class for the available options.
on_connect: Optional callback function invoked when the MQTT client
successfully connects to the broker.
If defined, you need to call _connect_client() to establish the
connection manually.

@unixorn please confirm and then clode this false bug ?

Oh, goods to know. Will try that in my Service.

I just expand/refactore and use my own solution: https://github.com/jedie/ha-services

@hlehoux2021 However, in the Subscriber class it allows you to set the command_callback, and in init it actually sets the command callback and inits the connection.
https://github.com/unixorn/ha-mqtt-discoverable/blob/0d07e6f5ee58a11f18f0c7fd08cebf91d833caff/ha_mqtt_discoverable/__init__.py#L871
I just ran into an identical problem as @jedie and have been wracking my brain why my Switch isn't showing up.

@theeldermillenial , reading the source code i guess you're right; my error was to stop reading after the comment in Discoverable. Moreover, _connect_client() appears to be a "private" method (guess what, i'm currently learning python in fact).
i will retest the behavior with and without calling _connect_client()

No worries.
I actually didn't have the same issue after all. I had a configuration issue in my switch. I haven't had any issues assigning multiple switches and sensors to the same device.
I built a custom thermostat that uses a dht22 to get temp and humidity, then I have a relay switch controlling the heat and another relay switch controlling the furnace fan. I have the temperature and humidity I pull off the dht22 sent to separate sensors, and then I have two pin switches on the raspberry pi.
My home is now running on that, and I didn't have to do any hacks or bug fixes.
I will say that link to the repo with the systemd services gave me some ideas that I implemented.

I did new tests

i do not experiment the bug with a code similar to the one of @jedie
i do not need to call _connect_client

ready paho's example here: mqtt_subscribe.py i think the library does it exactly like the example.
maybe the problem occurs only on some hardware where threads launched by loop_start() are a problem?
I run on Raspberry 3B+

I just started using this library, and have run into the same problem as others here.  It seems like maybe others have found workaround solutions, but at least OP seems to have just written their own library rather than using this one...
I can confirm that at least on lower-spec Raspberry Pi devices (like RPi Zero W or Zero 2 W) the issue does indeed appear to be the creation of multiple MQTT loop_start() threads.  Create a single entity and it reliably works.  Create more than one entity in a single DeviceInfo() object, and it's suddenly random whether or not callbacks to entities will actually trigger.
I have created a device with 8 switch entities inside, and on each execution, the device properly registers all of the entities with the HA server.  State changes triggered device-side are properly communicated to the HA server.  But if you trigger an event from within HA, relying on a callback attached to the .../command MQTT topic to call your code, only some of the entities will actually receive those messages upon each execution.  It's consistent WITHIN each execution -- meaning that if on Run 1, I'm getting callbacks to switch 2 and 7, I can toggle them back-and-forth and continue to get callbacks on 2 and 7.  But the other 6 never receive callbacks.  If I kill the program, delete the device in HA, and re-run the program, maybe next time I'll get callbacks on switches 1, 3 and 8.  But 3 "live" switches is about as close to functional as I've ever come...  usually it's 0-2 switches that end up getting callbacks.
So while I can't find any formal documentation on any sort of thread limit, that does seem to be what's happening here.  If I run another test program using Paho MQTT where 8 dummy switches are inside of a single Client loop_start() thread, everything seems to work fine.  But, of course, then all of the configuration JSON and topic subscriptions have to be handled manually...
This library offers a super convenient way of setting up and managing Discoverable devices, but the one-MQTT-Client-per-entity model appears to be untenable for certain host devices.  Would be nice to refactor it to create a single MQTT Client that just appends each device/entity and their callbacks onto a single client object, but based on how this is currently structured, that appears to be a significant amount of work.  Would require both abstraction of the MQTT client, and creation of "queue" lists for device/entity setups and subscriptions when client.connect() is finally called.

I have a similar setup with a relay board @darloxflyer and experience the same issues.
The issue really got highlighted when trying to add some Number entities as well. The callbacks for the number entities don't work at all.


Houston, there's a problem We are unable to process your request. Please reach out to your support representative.

Before opening, please confirm:

[X] I have checked to see if my question is addressed in the FAQ.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
[X] I have removed any sensitive information from my code snippets and submission.

App Id
011195323160
AWS Region
us-east-1
Amplify Hosting feature
Not Applicable
Frontend framework
Web
Next.js version
N/A
Next.js router
N/A
Describe the bug
I am following AWS tutorial https://aws.amazon.com/getting-started/hands-on/build-serverless-web-app-lambda-apigateway-s3-dynamodb-cognito/ and wanted to create AWS Amplify. However, I am getting

Houston, there's a problem
We are unable to process your request. Please reach out to your support representative.

when I click "Save and Deploy". I tried different regions and repositories.
Expected behavior
Deployment process to start
Reproduction steps

Build Settings
No response
Log output

# Put your logs below this line

Additional information
No response

I have the same issue.

Hi @oksanat @camden-kid 👋 , in order to further troubleshoot your issue please reach out to the AWS Support team for additional assistance.
Thank you.


Update qiskit versions of requirements

Summary
Fix the CI error of terra.
The following causes an error:
$ pip install "git+https://github.com/Qiskit/qiskit-ignis" "git+https://github.com/Qiskit/qiskit-aqua"
Collecting git+https://github.com/Qiskit/qiskit-ignis
  Cloning https://github.com/Qiskit/qiskit-ignis to /private/var/folders/vt/58nt4rrd4mz552nj2l96bbnm0000gn/T/pip-req-build-e8ryl8mw
  Running command git clone -q https://github.com/Qiskit/qiskit-ignis /private/var/folders/vt/58nt4rrd4mz552nj2l96bbnm0000gn/T/pip-req-build-e8ryl8mw
Collecting git+https://github.com/Qiskit/qiskit-aqua
  Cloning https://github.com/Qiskit/qiskit-aqua to /private/var/folders/vt/58nt4rrd4mz552nj2l96bbnm0000gn/T/pip-req-build-vtftzx3q
  Running command git clone -q https://github.com/Qiskit/qiskit-aqua /private/var/folders/vt/58nt4rrd4mz552nj2l96bbnm0000gn/T/pip-req-build-vtftzx3q
Requirement already satisfied: qiskit-terra<0.18.0,>=0.17.0 in /Users/ima/envs/dev38/lib/python3.8/site-packages (from qiskit-aqua==0.10.0) (0.17.0)
ERROR: Cannot install qiskit-aqua==0.10.0 and qiskit-ignis 0.7.0 (from git+https://github.com/Qiskit/qiskit-ignis) because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested qiskit-ignis 0.7.0 (from git+https://github.com/Qiskit/qiskit-ignis)
    qiskit-aqua 0.10.0 depends on qiskit-ignis<0.7.0 and >=0.6.0

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies

See https://github.com/Qiskit/qiskit-terra/pull/6160
CI log:
https://dev.azure.com/qiskit-ci/qiskit-terra/_build/results?buildId=26430&view=logs&jobId=47acf835-66bb-5b0f-07e4-6f53ffe80e20&j=47acf835-66bb-5b0f-07e4-6f53ffe80e20&t=d6cc4d9a-83df-59b0-cfe4-173c81c4d987
Details and comments

I thought qiskit-aqua was supposed to stay frozen to the current qiiskit-terra, qiskit-ignis in pypi forever. If we extend the requirements to the latest version in master, then aqua will break eventually and we will  have to fix frozen code. I will soon create a PR for qiskit-tutorials eliminating all aqua usage there.
I would be ok with this change here until qiskit-tutorials doesn’t use aqua anymore but once it changes, I believe terra should remove aqua from its CI and we should go back to the previous requirements.

I'm OK to fix terra. Anyway we need to fix these lines, otherwise terra CI does not pass.
https://github.com/Qiskit/qiskit-terra/blob/e1d49102dd18bf6ffdf28e5657e1cde4091dc609/azure-pipelines.yml#L709-L710

Yes, that is why I am ok with this PR being merged but then reverted once aqua is not a dependency in qiskit-tutorials and then they should remove aqua from their CI and we should revert.
Currently, I agree I don't see another way because even if they try to use aqua from pypi they will get the same error. The only way I see to fix terra CI while aqua is there would be to not use anything from master in their CI for qiskit-tutorials. I am not sure they would agree to that change.

Yes, https://github.com/Qiskit/qiskit-terra/pull/6160 fails even if it fixes a typo.

Could you double check this PR is enough to fix the terra CI issue?

It should fix the current version conflict with ignis and terra there.

Thank you for your information. I finally understand why aqua CI works fine even if terra CI fails.

Yes, in this PR I might have just extended the upper bounds and leave the lower bounds but if it will be reverted later, it is not so important.

I see. I adjust this PR as you suggest. What do you think?

Yes, just change the upper bounds as to leave it for now installable with pypi terra/ignis as well as master. The current change doesn't let you use terra/ignis from pypi even though aqua works fine with them.

Thanks. I reverted the lower bounds.


Update deps

metrics::clear_recorder(); was removed from metrics (technically just marked unsafe and hidden from docs) due to being dangerous to use.
So I changed our metrics init code to instead ignore errors due to metrics already being initialized.

@conorbros would be good to rereview this considering there was a drastic change since your previous approval.


arm_gicv2_dump: optimize gic dump

Summary

Add config CONFIG_ARMV7A_GICv2_DUMP to control gic dump, because irqinfo introduce too much other log;
Change the log api from irqinfo() to syslog(), syslog not append the function name in the log, so the gic dump format will not be destoried.

Impact
ARMV7A GIC Debug Dump
Testing
qemu armv7a

[Experimental Bot, please feedback here]
This PR appears to partially meet the NuttX requirements.
Here's why:

Summary: While it explains the "what" (adding a config option and changing log APIs), it lacks a clear explanation of the "why." What specific problem does the excessive logging from irqinfo() cause?
Impact:

It mentions "ARMV7A GIC Debug Dump" but doesn't explain what this is or how it's impacted.
It needs to address all impact points (build, hardware, documentation, security, compatibility) with "NO" or a description if "YES."

Testing:

It provides minimal information.
Specify the OS, compiler, and versions used for the build host.
For the target, specify the specific board and configuration used.
Include actual testing logs before and after the change to demonstrate the issue and the fix.

To fully meet the requirements, the PR needs:

Expanded Summary: Explain the reason behind needing a separate config option for GIC dump and why changing the log API is necessary.
Detailed Impact: Address all impact categories with either "NO" or a clear explanation of the impact.
Comprehensive Testing: Provide detailed information about the build host, target environment, and actual testing logs.

By addressing these points, the PR will be clearer and easier for reviewers to assess.


Fixed #31804 - added support for parallel database setups

Trac ticket number
ticket-31804
Branch description
Adds support for parallel test setup
Performance
Speed is nearly the same on my machine (M1 Pro 16GB, 512GB), however, the ticket mainly mentioned slowness issues on Windows, and I will appreciate someone testing on Windows.
Checklist

[x] This PR targets the main branch.
[x] The commit message is written in past tense, mentions the ticket number, and ends with a period.
[x] I have checked the "Has patch" ticket flag in the Trac system.
[ ] I have added or updated relevant tests.
[ ] I have added or updated relevant docs, including release notes if applicable.
[ ] I have attached screenshots in both light and dark modes for any UI changes.

@sarahboyce I will appreciate some support about testing this PR

I'm not sure if cloning is IO-bound or CPU-bound

I think cloning is more IO-bound, since really it's just copying data between DBs (rather than doing much transformation in the middle). Either way, the IO / CPU bound-ness is more for the DB engine itself, rather than Django. Most of the time, Django is sitting waiting on messages from a socket, where threads is definitely the right way to handle it.

I'm not sure if cloning is IO-bound or CPU-bound

I think cloning is more IO-bound, since really it's just copying data between DBs (rather than doing much transformation in the middle). Either way, the IO / CPU bound-ness is more for the DB engine itself, rather than Django. Most of the time, Django is sitting waiting on messages from a socket, where threads is definitely the right way to handle it.

Glad to hear, I missed removing the event from a previous implementation that had the event and

Hello Ahmed. Appreciate you picking this up. It's something that I've always wanted to revisit
A couple of questions from my side:

Could we specify parallelization unique to each db? The original idea was to utilize the generated dumps for cloning db's but doing so in parallel instead of serially. (i.e using pg_dump, mysqldump, oracle's import/export API)
Are threads better here than processes? I'm not sure if cloning is IO-bound or CPU-bound. Again this is related to the first question more. If indeed we're IO-bound, your threading approach looks good.

Thanks for the kind words, regarding your questions, Can you elaborate on how the dump approach would be better in our case?
The database cloning stuff is mostly requests going to the databases, nothing is actually happening on our end, but on theirs, I'm not sure about sqlite3, but I guess since sqlite3 doesn't have a server, we may end up not improving tests performance on sqlite3, but I think this is ok

@RealOrangeOne thanks for the comment, you're correct, I pushed


Command to search for new spotify devices

Is your feature request related to a problem? Please describe.
In the event that raspotify on the Picroft is loaded after this skill, the device will not be found. There is no way for it to detect it later and Mycroft will just respond that no Spotify devices were found.
Describe the solution you'd like
It would be nice to be able to trigger a search of available connect devices to refresh the list
Describe alternatives you've considered
Alternatively it could search whenever it fails to find any devices or regularly without needing a prompt.

No, I'm not using account linked raspotify. Mainly because I only want it configured to work over the local network and not display as an option when I'm connected to other networks.
I've found if I play to raspotify via another client (android for example), then try again from Mycroft it works more reliably

Thanks for the clarification.
I've tested with librespot (which is what raspotify uses) on PC and it is detected basically directly. And it works fairly reliable (will test tomorrow morning as well):
what spotify devices are available
>> Kitchencroft 6

[Starts librespot with my user and pass]

what spotify devices are available
 >> I see the Spotify devices named:
    Kitchencroft 6 and Woodstock

[Shuts down librespot
what spotify devices are available
>> Kitchencroft 6

[Restarts librespot with the devicename Woodstock15]
 >> I see the Spotify devices named:
    Woodstock15 and Kitchencroft 6

I will try to get picroft setup during the week and test with latest raspotify. How do you start raspotify? Is it using systemctl restart raspotify
I'll see if I can create a debug branch as well trying to give some more clarity on this.

How do you start raspotify? Is it using systemctl restart raspotify
It is enabled to start at boot, but yes, using systemd with a override patch to set the user and group running the service to pi

Hi I've set up a picroft with raspotify but so far I haven't been able to recreate your issue, for me the what spotify devices are available will report the local device if it's on and playback works for me.
Can you verify that the password and username are shown correctly when you do
ps aux | grep librespot

I'll try to push a branch tomorrow with more debug logs so we can get to the bottom of this issue

I've been trying to replicate this more, but it seems to have worked reliably since. I'll test again after a restart and let you know


que and loop

how do i make a que / playlist and loop it?

At the moment, there is no such functionality. You will have to play the songs in a loop yourself. Maybe I will add it later, but I am pretty busy with other stuff.

@SemmieDev did you do this yet?


Indicator shape shown first as circle also when defined to be square

This happens at least with iOS. When the CarouselView is first load the indicator shape will be circle. When I swipe to the next page, then the indicators will change correctly to square.

I cannot reproduce this.

CarouselIndicatorTest.zip
Here is a project to show it.

This is a very weird stuff. The thing is that if you don't wrap the page into a NavigationPage, the bug happens. Try wrapping your main page into a NavigationPage and you will see the bug is gone.

That's the only solution I can offer you for now. It seems to be a Xamarin.Forms glitch.

Unfortunately it doesn't help in my situation. The carousel view where I'm using this feature is a view inside another carousel view and I don't know how I could wrap it to NavigationPage.
But thanks for your great work!

Look in my repos. Theres one to create nested carousels.

Your nested example behaves exactly as mine. If you enable the indicators for the nested one and make them square, they will also first appear round and will be updated to square when swiped. The primary carousel view will have square indicators from the beginning if enabled.

This may be a glitch on iOS or XF because the code that makes them square is running. No idea why the show up like circles.

Can you try programmatically set position to 1 then to 0 on startup?

It doesn't help. I guess it has something to do with view redrawing.

I also have problems with nested carousel view on android. Sometimes it doesn't draw anything on the nested carousel view. I have to swipe it and then it will show the first page not the second as you would think.

This control has been merged into Xamarin.Forms master branch. Please, wait for it to be released as part of Xamarin.Forms and submit any issues there https://github.com/xamarin/xamarin.forms/tree/feature-carouselview. Thanks


Fix Scala compile phase to allow Java classes referencing Scala classes

While working on a side-project, I noticed that I couldn't successfully reference a Scala class from a Java class in the same project.  The Java classes were being compiled before the Scala classes, and therefore the java compiler couldn't find the classes.  This updates the phase when Scala is compiled to fix the cross-reference issue.

build

But don't we have scala classes that reference the java classes?  How is that going to work?

The Scala Maven plugin apparently compiles the Java code as well which explains why the pre-merge build passes.  This is discussed a bit in the Scala Maven plugin FAQ.
I made this change based on the type of setup I saw in the Scala Maven plugin example for projects that mix Scala and Java.


Fix early binding example

In the second and third examples of early binding the code doesn't match the description: namely, the function
def rectArea(x0, y0, x1, y1):
    rect = Rectangle(x0, y0, x1, y1)
    return rect.area()

doesn't cdeffine the local variable rect, so it doesn't gain access to the cdef/cpdef methods area/_area.
The correct code should be
def rectArea(x0, y0, x1, y1):
    cdef Rectangle rect = Rectangle(x0, y0, x1, y1)
    return rect._area()

for the second example and
def rectArea(x0, y0, x1, y1):
    cdef Rectangle rect = Rectangle(x0, y0, x1, y1)
    return rect.area()

for the third.

Right. Now it makes more sense. Thanks.


Replace 'open' with a portable command

'open' is only available on Mac, which made 'coverage' and 'docs' fail on Linux.
Since we already depend on Python, we can use the webbrowser module.

I'm not too bothered about it, but this doesn't quite work with Windows. In cmd.exe:
python -m webbrowser htmlcov/index.html opens http://htmlcov/index.html in IE with a 404 (instead of the default Chrome).
python -m webbrowser htmlcov\index.html open in Chrome correctly.
python -m webbrowser file:///C:/Users/hugovk/github/pronouncingpy/htmlcov/index.html works
In Git Bash (MINGW64) only the last one works.

Did it work with open on Windows, or was this broken before?
I thought MINGW takes care of pathnames.

It was broken before with open. So this PR is at least a positive step in fixing for Linux.


firebase_auth 0.6.7 doesn't exist

The changelog was updated to include a 0.6.7 version in flutter/plugins#775, but the pubspec.yaml was never updated to match so no 0.6.7 version can ever be published onto pub. 0.6.7 and 0.7.0 should probably be combined in CHANGELOG.md.
/cc @collinjackson

@mklim
The issue at https://github.com/flutter/flutter/issues/27247 has been closed and moved here. Future collaboration on this issue will be done here.

Hi
I noticed several merged PR in the an issue
related to your initial issue.
Is this issue still actual or needs to be closed?
Thank you

Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact descriptions what happens, logs and the output of 'flutter doctor -v'  please.
All system setups can be slightly different so its always better to open new issues and reference related issues.


Some minor fixes and updates for Traditional Chinese translations

Looks like valid Chinese translation based on my Chinese language understanding.


Notice: the default color is white, so it Can't be seen under white background

           patternLockView.setNormalStateColor(ResourceUtils.getColor(this, R.color.intro_title_color));
set your intro_title_color to any color

if it worked plz close the issue


ModuleNotFoundError in singularity image in version cell2location-v0.06-alpha.sif

Hi,
I am trying to run the new tutorial of cell2location in the latest singularity image version (cell2location-v0.06-alpha.sif) and I am encountering this problem:
singularity shell cell2location-v0.06-alpha.sif
python
import cell2location
from cell2location.utils.filtering import filter_genes
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'cell2location.utils'

Am I using a wrong image? Which one should I use? I have also tried to run it using v0.05 and it still does not work.
Thank you for your time.

Please don't use the singularity image for now. Follow the
installation instructions in the readme - which should generally work.
On Tue, 29 Mar 2022, 13:49 CeliaLerma, @.***> wrote:

Hi,
I am trying to run the new tutorial of cell2location in the latest
singularity image version (cell2location-v0.06-alpha.sif) and I am
encountering this problem:
singularity shell cell2location-v0.06-alpha.sif
python
import cell2location
from cell2location.utils.filtering import filter_genes
Traceback (most recent call last):
File "", line 1, in
ModuleNotFoundError: No module named 'cell2location.utils'
Am I using a wrong image? Which one should I use? I have also tried to run
it using v0.05 and it still does not work.
Thank you for your time.
—
Reply to this email directly, view it on GitHub
https://github.com/BayraktarLab/cell2location/issues/137, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFMFTV2652IGZQOSW66PGPDVCL33VANCNFSM5R6JRMHQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Thanks for the quick reply! I will try with the conda enviroment instead

Hi again
can you try this solution?
https://github.com/BayraktarLab/cell2location/issues/142#issuecomment-1100842578

Hi,
Thanks for the response. I have used the export PYTHONNOUSERSITE="someletters" and also got the jax error. After installing the corrected jax versions I still get the same error.
WARNING (theano.tensor.blas): Using NumPy C-API based implementation for BLAS functions.
ERROR (theano.gpuarray): pygpu was configured but could not be imported or is too old (version 0.7 or higher r$
NoneType: None
Global seed set to 0
loaded inf_aver
read and modif visium slide
calculated QC metrics
Traceback (most recent call last):
  File "/gpfs/bwfor/home/hd/hd_hd/hd_td263/Visium_pipeline/scripts_cell2loc/cell2loc_mapping.py", line 72, in $
    scvi.data.setup_anndata(adata=adata, batch_key="sample")
AttributeError: module 'scvi.data' has no attribute 'setup_anndata'

These are my package versions:
scvi-tools 0.16.0
cell2location 0.8a0

Are thses the correct ones?
Thanks!


Add parse_doc_from_dom

Currently there's no function in the public API to go from svgdom::Document to resvg::Document.
Adding this functionality would make it possible to create svg animations by modifying the svgdom::Document and  use resvg to generate a render tree which can be used with ie. lyon as mentioned here.

It will be pretty slow. By I will add it anyway.

I just logged to say exactly the same =)
Yes, since 0.2 RenderTree (former Document) will be editable. It's still pretty low-level, but it will be the fastest way.
This is how it looks now.

Ah, thanks! I've been looking through the 0.1 docs and sources. I'll try this way. Anyhow, there might be some usecases when someone would like to go from svgdom::Document to resvg::RenderTree and probably won't hurt to add that function to the API. :)

Yes.
v0.1 is very outdated. Currently, the API is constantly being broken. It's 0.2-pre after all.


Tests desired

A) Formation  with 9 drones
B) # of Drones
C) Position based v Distance based control
D) Kalman noise
E) Initial Condition Variation

Final Test (Discussed with Hector)
Constants:

1 formation of drones (9 drones grid formation?)
Kalman and control variables

Test Initial position

different initial positions based on distance from desired position

Test Movement

Move leader drone from A to B linearly
Move leader drone sinusoidally
Vary the acceleration of the leader drone to see how fast the formation can move and stay together

Evaluate all above through the error on the formation control and kalman filter


Add controls for long plot list navigation

Problem Description
Feature Request
With lots of plots, it's slow to move far, UX would improve with more controls
What steps reproduce the problem?

 What do you see instead?
It would be very nice to be able to jump farther in the plots than is currently provided.  A great first step would be jump to beginning (e.g. <<) and jump to end (e.g. >>)
Paste Traceback/Error Below (if applicable)
NA
Versions
Spyder 4.1.2
Python 3.7.6 64-bit
Qt 5.9.6
PyQt5 5.9.2
Windows 10
Dependencies
# Mandatory:
atomicwrites >=1.2.0           :  1.3.0 (OK)
chardet >=2.0.0                :  3.0.4 (OK)
cloudpickle >=0.5.0            :  1.3.0 (OK)
diff_match_patch >=20181111    :  20181111 (OK)
intervaltree                   :  None (OK)
IPython >=4.0                  :  7.12.0 (OK)
jedi =0.15.2                   :  0.15.2 (OK)
nbconvert >=4.0                :  5.6.1 (OK)
numpydoc >=0.6.0               :  0.9.2 (OK)
paramiko >=2.4.0               :  2.7.1 (OK)
parso =0.5.2                   :  0.5.2 (OK)
pexpect >=4.4.0                :  4.8.0 (OK)
pickleshare >=0.4              :  0.7.5 (OK)
psutil >=5.3                   :  5.6.7 (OK)
pygments >=2.0                 :  2.5.2 (OK)
pylint >=0.25                  :  2.4.4 (OK)
pyls >=0.31.9;<0.32.0          :  0.31.9 (OK)
qdarkstyle >=2.8               :  2.8 (OK)
qtawesome >=0.5.7              :  0.6.1 (OK)
qtconsole >=4.6.0              :  4.6.0 (OK)
qtpy >=1.5.0                   :  1.9.0 (OK)
rtree >=0.8.3                  :  0.9.3 (OK)
sphinx >=0.6.6                 :  2.3.1 (OK)
spyder_kernels >=1.9.0;<1.10.0 :  1.9.0 (OK)
watchdog                       :  None (OK)
zmq >=17                       :  18.1.1 (OK)

# Optional:
cython >=0.21                  :  0.29.13 (OK)
matplotlib >=2.0.0             :  2.2.3 (OK)
numpy >=1.7                    :  1.17.4 (OK)
pandas >=0.13.1                :  1.0.3 (OK)
scipy >=0.17.0                 :  1.3.3 (OK)
sympy >=0.7.3                  :  1.5.1 (OK)

Hi @eafpres thanks for the feedback! I think it could be nice to have such a feature indeed. What do you guys think @jnsebgosselin @ccordoba12 @goanpeca  ?

Sounds good to me. A question: When in the thumbnail scrollbar, is it possible to use Cmd/Ctrl+home / end and have this effect?

Just tested ctrl-home, ctrl-end, no effect (while code is running).  Other controls work at this time.  Would have been an excellent work around!

This is an excellent point! We'll try to take a look at it for 4.2.0 (to be released at the end of August).

So basically, we need to add a First plot and Last plot button and assign the Cmd/Ctrl+home / end to them?

So basically, we need to add a First plot and Last plot button and assign the Cmd/Ctrl+home / end to them?

That sounds right to me; however Cmd/Ctrl+home / end does work when the focus is in the code panel, the console panel, and the variable explorer.  So there would need to be an action to shift the focus to the plots list.  Currently, this is NOT necessary to just scroll it--hover does the job.  But hovering in the plot list when the last focus was one of the other panels and using Cmd/Ctrl + home / end moves to the top/bottom of that previous panel.

[...] So there would need to be an action to shift the focus to the plots list. Currently, this is NOT necessary to just scroll it--hover does the job. But hovering in the plot list when the last focus was one of the other panels and using Cmd/Ctrl + home / end moves to the top/bottom of that previous panel.

I think this can already be done through the switch to plots shortcut.

I think this can already be done through the switch to plots shortcut.
I think that and/or clicking in plots is sufficient.  Thanks for the clarifications.


Surprising claim about subtyping with FutureOr.

Consider the following program:
import 'dart:async';
FutureOr<void> foo(void t) => t;
main() => foo(42);

We get the following response (where n015.dart contains the above program):
> dartanalyzer --version
dartanalyzer version 2.0.0-dev.26.0
> dartanalyzer --strong n015.dart
Analyzing n015.dart...
  error • The return type 'void' isn't a 'FutureOr<void>', as defined by the method 'foo' at n015.dart:6:31 • return_of_invalid_type
1 error found.

It is currently being debated whether that situation should be a compile-time error, but it's not because of the typing relation between T and FutureOr<T> for any T. The specification has the following:
The \code{FutureOr<$T$>} type is a non-class type with the following
type relations:
\begin{itemize}
    \item{} $T$ <: \code{FutureOr<$T$>}.
    \item{} \code{Future<$T$>} <: \code{FutureOr<$T$>}.
    \item{} If $T$ <: $S$ and \code{Future<$T$>} <: $S$
        then \code{FutureOr<$T$>} <: $S$.
        \commentary{In particular, \code{FutureOr<$T$>} <: \code{Object}.}
\end{itemize}.

so in particular void <: FutureOr<void>.
The reason why the program currently has a compile-time error is that foo is an "arrow" function (=>) whose return type is not void, in which case it is not allowed for its returned expression to have type void.
Even if we accept void-to-void data flows then we will still need a special permission relating to FutureOr<void>, or it will remain an error to have such a "void body" in a non-void arrow function—but it's not a subtype error, it is specifically a "discard that value!" error.

This is still the response analyzer gives. 🤷

This issue was rather vague in the first place, probably also because some of the rules were being debated. The treatment of void has been stable for quite a while now, and I believe we can close it:
The null-safety rules about return statements in non-generator, synchronous (i.e., non-async) functions includes the following:

It is a compile-time error if [the return statement] s is return e;,
[the declared return type] T is neither void nor dynamic,
and [the static type of e] is void.

There would not have been an error if the function were async (and that makes sense, too), but there is no exception for the regular non-async function. So the should be reported, and it is working as intended (in the analyzer as well as the CFE).


bug: dial tcp: lookup svc_qa on <IP_ADDRESS>:53: no such host

error: dial tcp: lookup qa.svc on <IP_ADDRESS>:53: no such host (GET http://qa.svc:8080/dockers 502)

fixed


Relative urls

Absolute URLs are bound to the base URL '/', which compromises deployment in
subdirectories (among other things).
Have a great day.

Tired. The first commit is intended for another pull request. Gah. Starting again.


DOCS: multiple animations in blender for glb exports

Since we use multiple animations for pets, this is important to document... artists have to stash animations for them to make it to the exported glb.
https://docs.blender.org/manual/en/2.80/addons/io_scene_gltf2.html#animation

glTF allows multiple animations per file, with animations targeted to particular objects at time of export. To ensure that an animation is included, either (a) make it the active Action on the object, (b) create a single-strip NLA track, or (c) stash the action.

added https://github.com/webaverse/docs/commit/be45472435fc546360c9ebef5718c29f8ca0c1a2


Resolve Open Source License and validate implementation of terms and conditions

We need to make a final decision about the open-source license we're going to be using for this project and add appropriate licensing documentation, including any required terms for our third-party modules. Currently, we are not using any copy-left dependencies. My personal suggestion is to go with the MIT license, which is much more of a community norm for front-end things versus something like Apache.

Also implicitly wrapped up in this is the question about open-sourcing supporting backend infrastructure like the discovery-service. My hope is that we can keep the direct supporting infrastructure similarly licensed.

Per verbal approval from @chrismholmes, we'll license this under MIT.


nginxproxymanager_app can't run

Uncaught Error: Cannot find module '/app/node_modules/nodemon/bin/nodemon.js'
FROM
Function.Module._resolveFilename (internal/modules/cjs/loader.js:1:1)
Function.Module._load (internal/modules/cjs/loader.js:1:1)
Function.Module.runMain (internal/modules/cjs/loader.js:1:1)
startup (internal/bootstrap/node.js:1:1)
bootstrapNodeJSCore (internal/bootstrap/node.js:1:1)

Are you running this project directly from a git clone? because that's the only way I can see this error happening and doing it that way is really only for development.
If however, you're seeing this with the official docker image, let me know.

think you i resolved the problem.


Builder exception on too many neasted scopes

http://forums.bridge.net/forum/bridge-net-pro/bugs/1117

The problem appears when there is the following nesting: foreach -> lambda -> foreach
public class App
{
    [Ready]
    public static void Main()
    {
        var sum = 0;
        int[] numbers = {1, 2, 3};

        foreach (var n in numbers)
        {
            Action<int> func = (int i) =>
            {
                int[] bigNumbers = {10, 20, 30};
                foreach (var bn in bigNumbers)
                {
                    sum = sum + i*bn;
                }
            };

	        	func(n);
        }

        Console.WriteLine(sum);
    }
}

http://live.bridge.net/#e11044b053ef331914be


Transcription protocol

Creating a protocol for agents/clients to exchange transcription data. Neil and I came up with this today.
Transcription from each section of speech will be assigned a unique ID, and attributed it to a track/participant. Transcriptions will contain segments of text. Each segment is tagged with start/end times as well as if the segment has been deemed final by the underlying STT engine.
When a segment of text becomes final, it will not be changed. Otherwise, they could be updated either with new tokens or existing token updates.
The same protocol can be used for translations with the inclusion of language code. A backend agent could send multiple transcriptions (either selectively or broadcast), and the frontend could choose which one they would want to display.
Any comments or feedback, lmk!

Benjamin has merged a separate PR that supersedes this, closing.


Remove ThePBone.GalaxyBudsClient 4.5.4 to timschneeb.GalaxyBudsClient 4.5.4

Microsoft Reviewers: Open in CodeFlow

URL: https://github.com/ThePBone/GalaxyBudsClient/releases/download/4.5.4/GalaxyBudsClient_Windows_64bit_Setup.exe
OK
(Automated message - build 887)

Hi @Trenly,
This manifest has the highest version number for this package. Is it available from another location? (This might be in error if the version is switching from semantic to string, or string to semantic.)
(Automated response - build 881.)

[Policy] Reset Labels - Intentional

URL: https://github.com/ThePBone/GalaxyBudsClient/releases/download/4.5.4/GalaxyBudsClient_Windows_64bit_Setup.exe
OK
(Automated message - build 887)


Issue/1 pagination

Fixes issue #1.
Maintains current pagination strategy and introduces new dynamic pagination style capability.  Currently, only one additional style style1 is available.  Additional styles can be added as needed with future PRs.

README.md line 73: the name of the setting doesn't seem to match the name in the rest of the code
unit tests would be good to have. Especially since I'm not sure what actual api I can use to test this against.

@freimer I have created a separate PR (#11 ) to address the items quoted above. I will keep both this PR and that one open for a few days to wait for any of your comments and suggestions. If I don't hear back I'll just merge my PR and close this one.


✨ Create new OIDC role for GitHub runner

Describe the feature request.
I'm a Data Scientist within the CJS Dashboard App team and I want to connect to the Analytical Platform via GitHub Runners so I can run a test which requires access to a specific bucket.
Technical notes:
This is the repo in which the GitHub runners run on and will need access to the alpha-cjs-scorecard bucket.
We need an OICD role which can be assumed by a GitHub runner, that has sufficient permissions to access (read, write and delete from) the data in the above bucket.
Describe the context.
No response
Value / Purpose
So that we can run an Integration Test - improve the quality/level of testing.
User Types
No response

@RolakeO-mojo can I just confirm if you need the runner to have permission to write and delete objects in the alpha-cjs-scorecard bucket in addition to read permissions?
Just to note, the previous ticket you referenced above only required read permission.

We spotted an error on our side and have just merged the fix now. Regarding the region, I believe this is okay at the moment as the resources we have specified as eu-west-2 are separate from your bucket.

Athena and Glue permissions have been added to the IAM policy for the new github runner role. Awaiting confirmation from @RolakeO-mojo that it is working as expected.

Permissions have been applied as required and user as confirmed they are happy for this ticket to be closed as complete.


Newest scikit-image and marching_cubes

I just upgraded scikit-image to 0.19.1, and now I'm getting this error.  It looks like they renamed this function in the latest version.
/opt/conda/lib/python3.9/site-packages/fortecubeview/py3js_renderer.py in __compute_isosurface(self, data, level, color, extent)
   1094         a tuple of vertices and faces
   1095         """
-> 1096         values = skimage.measure.marching_cubes_lewiner(data, level * 0.995)
   1097         sk_verts, sk_faces, normals, values = values
   1098         x, y, z = sk_verts.T

AttributeError: module 'skimage.measure' has no attribute 'marching_cubes_lewiner'

Thank you for reporting this issue. I posted a fix (f43dd9af891bb6263f99f67e5b3bc6d62d529d5f) and updated the pip distribution. Please let me know if you run into any other issue.


Add scripts for installing mss

Adds a batch script for Windows and a bash script for Linux/Mac which install MSS and conda if needed.
Needs some further testing, especially on Mac.

Moved to https://github.com/Open-MSS/mss-install/pull/1


Fix CRD inheritance

Update the inheritance-enabled CRD lister to support the new naming
scheme for workspaces.
Signed-off-by: Andy Goldstein<EMAIL_ADDRESS>

Hold on merging for a few


DBZ-6940 Refactor & add check for unsupported schema types

https://issues.redhat.com/browse/DBZ-6940

Applied to main (=2.4).


Identifiers validation failed for dataset CVRD - Herbário da Reserva Natural Vale

Identifier validation failed for the dataset CVRD - Herbário da Reserva Natural Vale:

Crawler attempt: 461
Publishing organization: CVRD - Reserva Natural Vale
Publishing country: BRAZIL
Installation: speciesLink Network / INCT-HVFF IPT
Number of occurrences indexed for this dataset at the time of the issue: 17876
Cause: GBIF ID problems exceed 50% threshold: 100% duplicates; 17876 total records; 17876 absent records
Pipelines execution steps: http://api.gbif.org/v1/pipelines/history/execution/4127265/step

New IDs sample:

Old IDs sample:

BRA:CVRD:CVRD:17752
BRA:CVRD:CVRD:17753
BRA:CVRD:CVRD:17754
BRA:CVRD:CVRD:17755
BRA:CVRD:CVRD:17756
BRA:CVRD:CVRD:17757
BRA:CVRD:CVRD:17758
BRA:CVRD:CVRD:17759
BRA:CVRD:CVRD:17760
BRA:CVRD:CVRD:17761

Publisher email
Hello,
I am contacting you from the GBIF Secretariat about a dataset published by the CVRD - Herbário da Reserva Natural Vale : https://doi.org/10.15468/vmsmgr.
We noticed that the occurrenceIDs were changed. We have temporarily paused the ingestions of this dataset.
As you might already know, when an occurrence record has a new occurrenceID for a given dataset, our system considers it to be a new occurrence.
This means that it will be given a new gbifid and a new occurrence URL (like this one: https://www.gbif.org/occurrence/1252968762) and the old gbifid and URL will be deprecated.
In this case, this means that the occurrence URLs would be deprecated when ingesting the newest versions of these datasets.
We would like to check with you if those changes were intentional. Do you know if this is the case?
Please let us know, thanks! We are happy to resume the dataset ingestion.
Note that some users rely on those occurrence URLs and gbifids (like https://bionomia.net for example). In an attempt to improve
the stability of the occurrence URLs and gbifids, we have implemented a warning system to detect these type of changes in datasets (see this news item).
If the data publisher can provide us with a list of old and new occurrenceIDs per record, we can avoid the identifier and URL changes. Could that be an option?
Please let us know if you have any question. Thanks!
All the best,

You can skip/fix identifier validation using the registry UI.

Identifier validation still  failing for the dataset CVRD - Herbário da Reserva Natural Vale:

Crawler attempt: 462
Publishing organization: CVRD - Reserva Natural Vale
Publishing country: BRAZIL
Installation: speciesLink Network / INCT-HVFF IPT
Number of occurrences indexed for this dataset at the time of the issue: 17876
Cause: GBIF ID problems exceed 50% threshold: 100% duplicates; 17876 total records; 17876 absent records
Pipelines execution steps: http://api.gbif.org/v1/pipelines/history/execution/4156911/step

New IDs sample:

Old IDs sample:

BRA:CVRD:CVRD:17752
BRA:CVRD:CVRD:17753
BRA:CVRD:CVRD:17754
BRA:CVRD:CVRD:17755
BRA:CVRD:CVRD:17756
BRA:CVRD:CVRD:17757
BRA:CVRD:CVRD:17758
BRA:CVRD:CVRD:17759
BRA:CVRD:CVRD:17760
BRA:CVRD:CVRD:17761

Publisher email
Hello,
I am contacting you from the GBIF Secretariat about a dataset published by the CVRD - Herbário da Reserva Natural Vale : https://doi.org/10.15468/vmsmgr.
We noticed that the occurrenceIDs were changed. We have temporarily paused the ingestions of this dataset.
As you might already know, when an occurrence record has a new occurrenceID for a given dataset, our system considers it to be a new occurrence.
This means that it will be given a new gbifid and a new occurrence URL (like this one: https://www.gbif.org/occurrence/1252968762) and the old gbifid and URL will be deprecated.
In this case, this means that the occurrence URLs would be deprecated when ingesting the newest versions of these datasets.
We would like to check with you if those changes were intentional. Do you know if this is the case?
Please let us know, thanks! We are happy to resume the dataset ingestion.
Note that some users rely on those occurrence URLs and gbifids (like https://bionomia.net for example). In an attempt to improve
the stability of the occurrence URLs and gbifids, we have implemented a warning system to detect these type of changes in datasets (see this news item).
If the data publisher can provide us with a list of old and new occurrenceIDs per record, we can avoid the identifier and URL changes. Could that be an option?
Please let us know if you have any question. Thanks!
All the best,

You can skip/fix identifier validation using the registry UI.


Fix typos in RenderImage

This function took innerConstraints as an argument but used constraints internally.

lgtm , I verified this fixes the issue I encountered in #169.


New TSF example

After merging, you will get a new TSF  example on Walmart's weekly sales dataset.
Models:

XGBoostRegressor
Prophet
LSTM

Neptune Integrations:

Sklearn
Prophet
PTL

It's done ✅


Add Repo name to Telemetry metadata

For monitoring solutions, it'd be nice to have the Repo module name in the Telemetry metadata map.
This would enable us to report metrics with the proper namespace in the condition that there are multiple Repos in an application. Without this we couldn't tell the difference between tables with the same name in different databases...
Thanks!

In master!

Thanks!!


[Feature]: Add Toast messages

[x] Would you like to take up this task?
[x] Are you from GSSoC'23?

✨
Feature request

Is your feature request related to a problem?
When the user is trying to log in or register then after clicking on the corresponding button, it takes time to send the request and receive a response from the backend, and by that time user does not know what is happening until he receives the response from the server, whether there is any error or the process is going on.

Describe the solution you'd like
So, I would like to add toast messages which will show the user whether the user is logging in or if there is an error or if the process is successful, etc for both login and register pages

Please assign me this issue so that I can work on this issue under GSSOC'23.


gnome-builder: add ctags

Gnome Builder uses Ctags for autocompletion.
From looking at this adding it as a build input should be sufficient.
cc @jameysharp  @jtojnar
Things done

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build gnome-builder

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: gnome-builder
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: gnome-builder
Partial log (click to expand)
/nix/store/9l1vwk4pn47his2wvzvgylzh5mdbgnyz-gnome-builder-3.28.4/lib/gnome-builder/plugins/npm_plugin.py: interpreter directive changed from "/usr/bin/env python3" to "/nix/store/hy65mn4wjswqih75gfr6g4q3xgqdm325-python3-3.6.6/bin/python3"
/nix/store/9l1vwk4pn47his2wvzvgylzh5mdbgnyz-gnome-builder-3.28.4/lib/gnome-builder/plugins/python_gi_imports_completion.py: interpreter directive changed from "/usr/bin/env python3" to "/nix/store/hy65mn4wjswqih75gfr6g4q3xgqdm325-python3-3.6.6/bin/python3"
/nix/store/9l1vwk4pn47his2wvzvgylzh5mdbgnyz-gnome-builder-3.28.4/lib/gnome-builder/plugins/rust_langserv_plugin.py: interpreter directive changed from "/usr/bin/env python" to "/nix/store/hy65mn4wjswqih75gfr6g4q3xgqdm325-python3-3.6.6/bin/python"
/nix/store/9l1vwk4pn47his2wvzvgylzh5mdbgnyz-gnome-builder-3.28.4/lib/gnome-builder/plugins/go_langserver_plugin.py: interpreter directive changed from "/usr/bin/env python3" to "/nix/store/hy65mn4wjswqih75gfr6g4q3xgqdm325-python3-3.6.6/bin/python3"
/nix/store/9l1vwk4pn47his2wvzvgylzh5mdbgnyz-gnome-builder-3.28.4/lib/gnome-builder/plugins/mono_plugin.py: interpreter directive changed from "/usr/bin/env python3" to "/nix/store/hy65mn4wjswqih75gfr6g4q3xgqdm325-python3-3.6.6/bin/python3"
checking for references to /build in /nix/store/9l1vwk4pn47his2wvzvgylzh5mdbgnyz-gnome-builder-3.28.4...
shrinking RPATHs of ELF executables and libraries in /nix/store/yac8gxvrzyjcq0nd4hwv56jc4ng66k1k-gnome-builder-3.28.4-devdoc
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/yac8gxvrzyjcq0nd4hwv56jc4ng66k1k-gnome-builder-3.28.4-devdoc
checking for references to /build in /nix/store/yac8gxvrzyjcq0nd4hwv56jc4ng66k1k-gnome-builder-3.28.4-devdoc...

Success on aarch64-linux (full log)
Attempted: gnome-builder
Partial log (click to expand)
/nix/store/a1w9pva9bq297mxqc41a8sh9gy9v1ami-gnome-builder-3.28.4/lib/gnome-builder/plugins/go_langserver_plugin.py: interpreter directive changed from "/usr/bin/env python3" to "/nix/store/sb88r9crdhinhkm6vpxwzf5zmij86p8v-python3-3.6.6/bin/python3"
/nix/store/a1w9pva9bq297mxqc41a8sh9gy9v1ami-gnome-builder-3.28.4/lib/gnome-builder/plugins/find_other_file.py: interpreter directive changed from "/usr/bin/env python3" to "/nix/store/sb88r9crdhinhkm6vpxwzf5zmij86p8v-python3-3.6.6/bin/python3"
/nix/store/a1w9pva9bq297mxqc41a8sh9gy9v1ami-gnome-builder-3.28.4/lib/gnome-builder/plugins/eslint_plugin.py: interpreter directive changed from "/usr/bin/env python3" to "/nix/store/sb88r9crdhinhkm6vpxwzf5zmij86p8v-python3-3.6.6/bin/python3"
/nix/store/a1w9pva9bq297mxqc41a8sh9gy9v1ami-gnome-builder-3.28.4/lib/gnome-builder/plugins/cargo_plugin.py: interpreter directive changed from "/usr/bin/env python3" to "/nix/store/sb88r9crdhinhkm6vpxwzf5zmij86p8v-python3-3.6.6/bin/python3"
checking for references to /build in /nix/store/a1w9pva9bq297mxqc41a8sh9gy9v1ami-gnome-builder-3.28.4...
shrinking RPATHs of ELF executables and libraries in /nix/store/lhlm5hgmjqb09agangzjmdyshiqyjlkl-gnome-builder-3.28.4-devdoc
strip is /nix/store/y4ymnvgxygpq05h03kyzbj572zmh6zla-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/lhlm5hgmjqb09agangzjmdyshiqyjlkl-gnome-builder-3.28.4-devdoc
checking for references to /build in /nix/store/lhlm5hgmjqb09agangzjmdyshiqyjlkl-gnome-builder-3.28.4-devdoc...
/nix/store/a1w9pva9bq297mxqc41a8sh9gy9v1ami-gnome-builder-3.28.4

@jtojnar Using direnv or nix-shell for ctags doesn't make sense.
You can find errors in the output when it can't find it a soon as you open a file.
There's even an option to set the path. This is more of a dependency I think than something for someone's specific dev environment.

I find this argument about ctags convincing, and it's also possible I was wrong to argue to the contrary for other build-time dependencies.
Perhaps the rule should be this: anything that upstream gnome-builder tries to detect while running the meson configure script should be a packaging dependency here.
My fear was about trying to track down all gnome-builder's subprocess invocations that assumed that at runtime various tools would be on $PATH. I was worried that trying to locally patch all of those references would be a maintenance problem. But that doesn't apply to ctags in this case.
It's also possible that some of those run-time dependencies should be turned into build-time dependencies. If it really only makes sense to use one version of a tool on a given platform, I'd expect that upstream would accept patches doing so, and then there's no need to maintain the large patches I was worried about here in nixpkgs.
In short: @jtojnar, my suggestion would be to go ahead and merge this pull request, and we can think about whether this reasoning applies to other tools later.


Native JindoFS Support

Feature request
Provide Native Support to Access JindoFS.
Current approach relied on libhdfs with multiple JNI invocation and buffer allocation,Which incur significant overhead.
Hereby, by proposing a native library approach can improve query performance on JindoFS.
More details are describe in this PR #48977
Is your feature request related to a problem? Please describe.

Describe the solution you'd like

example usage:
be.conf
# username of using jindo, can be empty default to `starrocks`
jindo_user=starrocks

# file path that epxepcted to be handled by jindo.
# similar to s3_compatible_fs_list/fallback_to_hadoop_fs_list.
# default empty, meaning no path is intercept by jindo
jindo_fs_list=

core-site.xml

serach under ${STARROCKS_HOME}/conf/core-site.xml and paths of ${HADOOP_CONF_DIR}, the most discovered one is used.

<configuration>
  <property>
    <name>fs.oss.accessKeyId</name>
    <value>xxxx</value>
    <description>default access key to use when no bucket specific found in this file</description>
  </property>

  <property>
    <name>fs.oss.accessKeySecret</name>
    <value>xxxx</value>
    <description>default secret to use when no bucket specific found in this file</description>
  </property>

  <!-- bucket specified style, ${buekct} is place holder for actual bucket-->
  <property>
    <name>fs.oss.${buecket}.accessKeyId</name>
    <value>xxxx</value>
    <description>access key to use for specified bucket</description>
  </property>

  <property>
    <name>fs.oss.${buecket}.accessKeySecret</name>
    <value>xxxx</value>
    <description>secret to use for specified bucket</description>
  </property>

  <!-- all other values are passed as it is to jindo -->
</configuration>

Describe alternatives you've considered

Additional context

@Smith-Cruise updated

@Smith-Cruise updated

closed pr?

I saw it rotted for a while and lag of current head too far away.
On Thu, Sep 12, 2024 at 19:11 Smith Cruise @.***> wrote:

@Smith-Cruise https://github.com/Smith-Cruise updated
closed pr?
—
Reply to this email directly, view it on GitHub
https://github.com/StarRocks/starrocks/issues/49030#issuecomment-2346001157,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEKPIGSLHFIN6G6VW4I4RDZWFZETAVCNFSM6AAAAABLTK5TRCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBWGAYDCMJVG4
.
You are receiving this because you modified the open/close state.Message
ID: @.***>


Sean Yeo: Problems with tour

There are some problems with the tour.

Highlighting of toolbar area not large enough to see the description when buttons are clicked.
Tour tips about adding landmarks are unclear.
Pointing to the user to the map canvas in unintuitive.

Credits to Sean Yeo for testing.

Fixed point about landmark tips and pointing the user to the map canvas.

Will not fix highlighting due to limitations of IntroJS.


Fix typo in onlyBuiltDependencies

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Wow, that's a pretty bad typo 😅
Thank you lol 👍


[vtk] update to 8.2.0

VTK released 8.2.0 https://blog.kitware.com/vtk-8-2-0/ so we should pick up this new release.  This is needed to complete #4661.  Unfortunately due to the number of patches in the VTK port it will take more effort than usual to do the update.  Is anyone up for the challenge?

resolved in #5574


[5.8] Fix pluralizing model names ending in words with an irregular plural

Currently, running artisan make:model RealHuman -m gives you a migration called 2018_11_07_133204_create_real_humen_table and a table called real_humen. This happens because it tries to pluralize the word RealHuman, and since that word isn't in the list of irregular plurals the Doctrine  Inflector applies the normal (in this case incorrect) rules to pluralize the word.
This PR adds a Str::pluralStudly helper that pluralizes only the last word of a studly caps case string. This helper is used throughout the framework to correctly generate plurals of model names.
The old Str::plural is still being used in the morphToMany method. If this PR gets merged that should also be fixed and tested.

Part of me thinks we may be putting quite a bit of logic into determining the table name of a very edge-case model name?

Any model name consisting of more than one word, ending in a word with an irregular plural currently doesn't work correctly. Three lines of tested code seems like a reasonable fix for this problem.
I ran into this problem last week when i tried to create a model called VerifiedHuman to store the session ids of guests that had passed a captcha.

Is there a reason you didn't want to include the morphToMany fix in this PR as well? Thanks.

I wanted to get some feedback on the PR before doing the effort of writing a failing test for a morphToMany relationship. I'll make some time tomorrow and write one.


Specify ignore file paths

Pull Request Test Coverage Report for Build 459144931

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 95.125%

Totals

Change from base Build 459120806:
0.0%

Covered Lines:
576

Relevant Lines:
596

💛  - Coveralls

Pull Request Test Coverage Report for Build 459144931

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 95.125%

Totals

Change from base Build 459120806:
0.0%

Covered Lines:
576

Relevant Lines:
596

💛  - Coveralls


Remove resources block in values.yaml

Longhorn 4601
Signed-off-by: Ray Chang<EMAIL_ADDRESS>

LGTM
But suggest mentioning why we don't support/recommend the customized resource (cpu and memory) settings in the official doc.

@weizhe0422 Please create an issue for this, so we can have that explanation in the doc. Thanks.


Running get create project:test - Can't create directory

Hi,
Running the get create project:test I get the following error:
ProcessException: No such file or directory
Command: flutter create --org org.jdallc /Users/johndestefano/IdeaProjects/test
The parent test directory does get created though.
I'm using version 1.3.14 on a Mac.
Thx

Hi @jjdestef, In the documentation it mentions that it is used like this "get create project", can you try like this?

you cannot create a project with the name test
Invalid project name: 'test' - this will conflict with Flutter package dependencies


fix: skip http proxy added header

Description
This pull request addresses the HTTP proxy problem by adding a new conditional statement to the code. Specifically, the code checks if the output string begins with HTTP/1.1 200 Connection established.
For example, when the output string contains the following header:
HTTP/1.1 200 Connection established
Proxy-Agent: Fortinet-Proxy/1.0

If it does, then the code uses substr function to remove the initial part of the string up to the specified $breakString, which helps in handling the HTTP proxy issue. The added code segment is as follows:
if (strpos($output, 'HTTP/1.1 200 Connection established') === 0) {
    $output = substr($output, strpos($output, $breakString) + 4);
}

This change ensures that the HTTP proxy connection is handled properly and the code runs smoothly without any errors.
Checklist:

[x] Securely signed commits
[ ] Component(s) with PHPDoc blocks, only if necessary or adds value
[ ] Unit testing, with >80% coverage
[ ] User guide updated
[ ] Conforms to style guide

What is the HTTP proxy problem?
How do we reproduce the error?

What is the HTTP proxy problem?
How do we reproduce the error?

I added also test for it but I have precommit problem with memory, basically it's a problem in one of our deployment where Linux machine is communicating with internet via HTTP Proxy. In this enviroment it's Fortinet HTTP Proxy. Our setup is as follow we have Red Hat Enterprise with Docker. CodeIgniter4 docker image is running on Alpine OS. We have configured http_proxy and https_proxy for that, the is everything working we can use Publisher to get Assets from CDN, in this case  jsdelivr. When publisher is doing his job we have an issue where Fortined adds to the curl output two more rows with break like:
HTTP/1.1 200 Connection established
Proxy-Agent: Fortinet-Proxy/1.0

HTTP/2 200
date: Mon, 26 Jun 2023 07:44:50 GMT
content-type: text/css; charset=utf-8
access-control-allow-origin: *
access-control-expose-headers: *
timing-allow-origin: *
cache-control: public, max-age=31536000, s-maxage=31536000, immutable
cross-origin-resource-policy: cross-origin
x-content-type-options: nosniff
strict-transport-security: max-age=31536000; includeSubDomains; preload
x-jsd-version: 4.14.3
x-jsd-version-type: version
etag: W/"23529-0Aplim6MlPCHdtldoUGfLqonpGQ"
x-served-by: cache-fra-eddf8230023-FRA, cache-jnb7021-JNB
x-cache: HIT, MISS
vary: Accept-Encoding
alt-svc: h3=":443"; ma=86400
cf-cache-status: HIT
age: 2190
report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=3zBXBy6F9ytYZdUmO4cw7tBl%2Fys3wmyumlUD0Ht%2FdIa%2FXr4NjHNOxniwgYTjn4iPV2%2FsqdcQKwIEdNCQ5lgMQU8eGVeJsa2%2F%2BTyyWnSiT4Akd7EhFXaPIRHLoiiVqZYmgAw%3D"}],"group":"cf-nel","max_age":604800}
nel: {"success_fraction":0.01,"report_to":"cf-nel","max_age":604800}
server: cloudflare
cf-ray: 7dd3d3c99b6c27c0-PRG

.swagger-ui{color:#3b4151;font-family:sans-serif/*! normalize.css v7.0.0

and after that body includes
date: Mon, 26 Jun 2023 07:44:50 GMT
content-type: text/css; charset=utf-8
access-control-allow-origin: *
access-control-expose-headers: *
timing-allow-origin: *
cache-control: public, max-age=31536000, s-maxage=31536000, immutable
cross-origin-resource-policy: cross-origin
x-content-type-options: nosniff
strict-transport-security: max-age=31536000; includeSubDomains; preload
x-jsd-version: 4.14.3
x-jsd-version-type: version
etag: W/"23529-0Aplim6MlPCHdtldoUGfLqonpGQ"
x-served-by: cache-fra-eddf8230023-FRA, cache-jnb7021-JNB
x-cache: HIT, MISS
vary: Accept-Encoding
alt-svc: h3=":443"; ma=86400
cf-cache-status: HIT
age: 2190
report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=3zBXBy6F9ytYZdUmO4cw7tBl%2Fys3wmyumlUD0Ht%2FdIa%2FXr4NjHNOxniwgYTjn4iPV2%2FsqdcQKwIEdNCQ5lgMQU8eGVeJsa2%2F%2BTyyWnSiT4Akd7EhFXaPIRHLoiiVqZYmgAw%3D"}],"group":"cf-nel","max_age":604800}
nel: {"success_fraction":0.01,"report_to":"cf-nel","max_age":604800}
server: cloudflare
cf-ray: 7dd3d3c99b6c27c0-PRG

in assets, I believe this is the fastest way how to fix it, there is already continued header skiped.

Start Squid proxy server.
$ docker run --restart always --name proxy-squid -d -p 3128:3128 minimum2scp/squid

Controller:
        $client = \Config\Services::curlrequest();

        $response = $client->request(
            'GET',
            'https://forum.codeigniter.com/syndication.php?limit=1',
            []
        );

        dd($response);

Response body without Proxy:
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title><![CDATA[CodeIgniter Forums - All Forums]]></title>
		<link>https://forum.codeigniter.com/</link>
		<description><![CDATA[CodeIgniter Forums - https://forum.codeigniter.com]]></description>
		<pubDate>Tue, 27 Jun 2023 11:57:49 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[How can Code Igniter 4.3 handle user-specific templates?]]></title>
			<link>https://forum.codeigniter.com/showthread.php?tid=87957</link>
			<pubDate>Tue, 27 Jun 2023 11:55:19 +0000</pubDate>
			<dc:creator><![CDATA[LeahaTaul]]></dc:creator>
			<guid isPermaLink="false">https://forum.codeigniter.com/showthread.php?tid=87957</guid>
			<description><![CDATA[In my system, I have three users, each with their own unique template layout separate from the main website. The user information is stored in a table, including a template ID. After a user logs in, I would like to redirect them to the appropriate template based on their template ID. Each template has a completely different layout.

I had successfully implemented this functionality in the previous version of the website, which did not use the MVC (Model-View-Controller) architecture. However, as I am migrating everything to Code Igniter 4.3, I am seeking assistance on how to achieve the same functionality in the new framework.

Thank you for your help in advance!]]></description>
			<content:encoded><![CDATA[In my system, I have three users, each with their own unique template layout separate from the main website. The user information is stored in a table, including a template ID. After a user logs in, I would like to redirect them to the appropriate template based on their template ID. Each template has a completely different layout.

I had successfully implemented this functionality in the previous version of the website, which did not use the MVC (Model-View-Controller) architecture. However, as I am migrating everything to Code Igniter 4.3, I am seeking assistance on how to achieve the same functionality in the new framework.

Thank you for your help in advance!]]></content:encoded>
		</item>
	</channel>
</rss>

Start spark serve with Proxy environment variables.
$ export HTTP_PROXY=http://localhost:3128
$ export HTTPS_PROXY=http://localhost:3128
$ php spark serve

Response body with Proxy:
HTTP/2 200
date: Tue, 27 Jun 2023 11:57:32 GMT
content-type: text/xml; charset="UTF-8"
set-cookie: mybb[lastvisit]=1687867052; expires=Wed, 26-Jun-2024 11:57:32 GMT; path=/; domain=.forum.codeigniter.com
x-frame-options: SAMEORIGIN
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
cf-cache-status: DYNAMIC
set-cookie: mybb[lastactive]=1687867052; expires=Wed, 26-Jun-2024 11:57:32 GMT; path=/; domain=.forum.codeigniter.com
report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=Zi6dfcKgQ2TaPxWYMLdJlRk456lIlsEvDnaYzEU%2BWwCcrhgE90ACEytEC0Tnmdx9m7QieovI8gZsyMdXNTZpOszJg4JB7ahJKJgdmYcibbUYY%2Fu7KB1BdsbkWXOvVrvgqdDC0hTInMU%3D"}],"group":"cf-nel","max_age":604800}
nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
server: cloudflare
cf-ray: 7ddd835479e4af6a-NRT
alt-svc: h3=":443"; ma=86400

<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title><![CDATA[CodeIgniter Forums - All Forums]]></title>
		<link>https://forum.codeigniter.com/</link>
		<description><![CDATA[CodeIgniter Forums - https://forum.codeigniter.com]]></description>
		<pubDate>Tue, 27 Jun 2023 11:57:32 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[How can Code Igniter 4.3 handle user-specific templates?]]></title>
			<link>https://forum.codeigniter.com/showthread.php?tid=87957</link>
			<pubDate>Tue, 27 Jun 2023 11:55:19 +0000</pubDate>
			<dc:creator><![CDATA[LeahaTaul]]></dc:creator>
			<guid isPermaLink="false">https://forum.codeigniter.com/showthread.php?tid=87957</guid>
			<description><![CDATA[In my system, I have three users, each with their own unique template layout separate from the main website. The user information is stored in a table, including a template ID. After a user logs in, I would like to redirect them to the appropriate template based on their template ID. Each template has a completely different layout.

I had successfully implemented this functionality in the previous version of the website, which did not use the MVC (Model-View-Controller) architecture. However, as I am migrating everything to Code Igniter 4.3, I am seeking assistance on how to achieve the same functionality in the new framework.

Thank you for your help in advance!]]></description>
			<content:encoded><![CDATA[In my system, I have three users, each with their own unique template layout separate from the main website. The user information is stored in a table, including a template ID. After a user logs in, I would like to redirect them to the appropriate template based on their template ID. Each template has a completely different layout.

I had successfully implemented this functionality in the previous version of the website, which did not use the MVC (Model-View-Controller) architecture. However, as I am migrating everything to Code Igniter 4.3, I am seeking assistance on how to achieve the same functionality in the new framework.

Thank you for your help in advance!]]></content:encoded>
		</item>
	</channel>
</rss>

The original output with Squid proxy is the following.
So this PR works fine with Squid.
HTTP/1.1 200 Connection established

HTTP/2 200
date: Tue, 27 Jun 2023 12:11:39 GMT
content-type: text/xml; charset="UTF-8"
set-cookie: mybb[lastvisit]=1687867899; expires=Wed, 26-Jun-2024 12:11:39 GMT; path=/; domain=.forum.codeigniter.com
x-frame-options: SAMEORIGIN
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
cf-cache-status: DYNAMIC
set-cookie: mybb[lastactive]=1687867899; expires=Wed, 26-Jun-2024 12:11:39 GMT; path=/; domain=.forum.codeigniter.com
report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=TlMVWg6WOtjQiOrlJlvqL3rhzz0efiOCjxNYa9BtMDAEeJp6jqkociSFw0NXxq70U%2FHgN9sSvBVCQt4J6K6y%2BoODziO3v7GQY6WUDl3ioe2hXperp9q5Y5IxaftHb1JJtMF6CNLDyfA%3D"}],"group":"cf-nel","max_age":604800}
nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
server: cloudflare
cf-ray: 7ddd9804f9d4afe1-NRT
alt-svc: h3=":443"; ma=86400

<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title><![CDATA[CodeIgniter Forums - All Forums]]></title>
		<link>https://forum.codeigniter.com/</link>
		<description><![CDATA[CodeIgniter Forums - https://forum.codeigniter.com]]></description>
		<pubDate>Tue, 27 Jun 2023 12:11:39 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[How can Code Igniter 4.3 handle user-specific templates?]]></title>
			<link>https://forum.codeigniter.com/showthread.php?tid=87957</link>
			<pubDate>Tue, 27 Jun 2023 11:55:19 +0000</pubDate>
			<dc:creator><![CDATA[LeahaTaul]]></dc:creator>
			<guid isPermaLink="false">https://forum.codeigniter.com/showthread.php?tid=87957</guid>
			<description><![CDATA[In my system, I have three users, each with their own unique template layout separate from the main website. The user information is stored in a table, including a template ID. After a user logs in, I would like to redirect them to the appropriate template based on their template ID. Each template has a completely different layout.

I had successfully implemented this functionality in the previous version of the website, which did not use the MVC (Model-View-Controller) architecture. However, as I am migrating everything to Code Igniter 4.3, I am seeking assistance on how to achieve the same functionality in the new framework.

Thank you for your help in advance!]]></description>
			<content:encoded><![CDATA[In my system, I have three users, each with their own unique template layout separate from the main website. The user information is stored in a table, including a template ID. After a user logs in, I would like to redirect them to the appropriate template based on their template ID. Each template has a completely different layout.

I had successfully implemented this functionality in the previous version of the website, which did not use the MVC (Model-View-Controller) architecture. However, as I am migrating everything to Code Igniter 4.3, I am seeking assistance on how to achieve the same functionality in the new framework.

Thank you for your help in advance!]]></content:encoded>
		</item>
	</channel>
</rss>

I implemented a request option proxy in CURLRequest. See #7632
        $client = \Config\Services::curlrequest();
        $response = $client->request(
            'GET',
            'https://forum.codeigniter.com/syndication.php?limit=1',
            [
                'proxy' => 'http://localhost:3128',
            ]
        );
        dd($response);

And the response body is the same as before this PR.
HTTP/2 200
date: Tue, 27 Jun 2023 23:55:42 GMT
content-type: text/xml; charset="UTF-8"
set-cookie: mybb[lastvisit]=1687910142; expires=Wed, 26-Jun-2024 23:55:42 GMT; path=/; domain=.forum.codeigniter.com
x-frame-options: SAMEORIGIN
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
cf-cache-status: DYNAMIC
set-cookie: mybb[lastactive]=1687910142; expires=Wed, 26-Jun-2024 23:55:42 GMT; path=/; domain=.forum.codeigniter.com
report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=CsGdgdz7kzjoAfACmq2423zMwzthvKkiI9KZ2cNHXyBWrp6zvaAgpdeaMiPCRto7ZELHULCxdcgg1t%2Fmvjv5eoMeclphw%2F9PpMV5z9Z3KMjEBC2GKtoMNLXhymasiuIYMuBtKDM1074%3D"}],"group":"cf-nel","max_age":604800}
nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
server: cloudflare
cf-ray: 7de19f5548512614-NRT
alt-svc: h3=":443"; ma=86400

<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title><![CDATA[CodeIgniter Forums - All Forums]]></title>
		<link>https://forum.codeigniter.com/</link>
		<description><![CDATA[CodeIgniter Forums - https://forum.codeigniter.com]]></description>
		<pubDate>Tue, 27 Jun 2023 23:55:42 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[custom cache direectory per controller?]]></title>
			<link>https://forum.codeigniter.com/showthread.php?tid=87959</link>
			<pubDate>Tue, 27 Jun 2023 17:16:11 +0000</pubDate>
			<dc:creator><![CDATA[mymisty]]></dc:creator>
			<guid isPermaLink="false">https://forum.codeigniter.com/showthread.php?tid=87959</guid>
			<description><![CDATA[I am trying to find a way on caching into a specific directory withing the cache directory per controller. Currently there are thousands of cache files in the cache directory for all of my controllers, is there a way of specifying a directory on a per controller basis?]]></description>
			<content:encoded><![CDATA[I am trying to find a way on caching into a specific directory withing the cache directory per controller. Currently there are thousands of cache files in the cache directory for all of my controllers, is there a way of specifying a directory on a per controller basis?]]></content:encoded>
		</item>
	</channel>
</rss>

@jozefrebjak Thank you!


Multiple @page attribute in .razor file causes VS to print a warning

Consider:
@* Index.razor *@
@page "/foo"
@page "/bar"

Hello world

In VS, I can see a design time error that says duplicate @page attributes are not allowed. However, the build succeeds and the page is accessible thru either routes.

Nevermind. Old tooling.


[HOLD for payment 2023-07-17] [HOLD for payment 2023-07-14] Not able to split money on back button

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

Action Performed:

On chrome staging website > FAB icon > Split Bill > Enter amount > Click Next >Select any user > Click Next to open up the split bill page ( Do NOT click split button)
Now click on the user > Click back and see that the split money page is gone

Expected Result:
Back button should not end the split bill page
Actual Result:
Back button ends the split bill page
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:

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

[x] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: 1.3.37-1
Reproducible in staging?: y
Reproducible in production?: n
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/43996225/cd9f3625-1c70-45c6-8537-3de2dcf6c409
https://github.com/Expensify/App/assets/43996225/935b3d9e-6c1d-4a24-a505-aa8d819dc245
Expensify/Expensify Issue URL:
Issue reported by: @Santhosh-Sellavel
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1688586118022729
View all open jobs on GitHub

:wave: Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open StagingDeployCash deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

Identify the pull request that introduced this issue and revert it.
Find someone who can quickly fix the issue.
Fix the issue yourself.

Proposal
Please re-state the problem that we are trying to solve in this issue.
Back button ends the split bill page after open user detail page.
What is the root cause of that problem?
The following code is called if clicks the user on the split bill confirmation page.
https://github.com/Expensify/App/blob/a2a521d9ac1f22ccf50cd973d7704d82337522da/src/components/MoneyRequestConfirmationList.js#L199-L204
The Money Request page and the Profile page are separate screens, seperate RHP flows.
As a result, the following code will replace navigation routes. and the money request flow will be removed after navigating to the user profile page.
https://github.com/Expensify/App/blob/a2a521d9ac1f22ccf50cd973d7704d82337522da/src/libs/Navigation/linkTo.js#L80-L90
Therefore clicking back will close the modal and end the split bill process.
What changes do you think we should make in order to solve the problem?
According to the above code comments, replacing routes when changing flow is intended.
However, I think navigating from split bill or money request to user detail page should follow the same flow and not replace routes.
We can change this line as below.
-   if (targetName === NAVIGATORS.RIGHT_MODAL_NAVIGATOR) {
+   if (targetName === NAVIGATORS.RIGHT_MODAL_NAVIGATOR && minimalAction.payload.name !== 'Profile') {

What alternative solutions did you explore? (Optional)
None.

Same underlying cause as this issue. I'm going to close this and add this additional case to the issue description

@Julesssss But I reported this issue before the other one please check https://expensify.slack.com/archives/C049HHMV9SM/p1688507121082889

@Santhosh-Sellavel I documented this here on the other issue

My mistake. This is still occurring 😖

Hi @StevenKKC, thanks for your proposal. Checking for a specific profile page doesn't seem like it solves the underlying issue though.

PR is up

Thank you @mountiny!

BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

[x]  [@Santhosh-Sellavel] The PR that introduced the bug has been identified. Link to the PR: https://github.com/Expensify/App/pull/21067
[x]  [@Santhosh-Sellavel] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment: https://github.com/Expensify/App/pull/21067/files#r1257532582
[x]  [@Santhosh-Sellavel] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion: Here
[x]  [@Santhosh-Sellavel] Determine if we should create a regression test for this bug. Yes
[ ]  [@Santhosh-Sellavel] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
[ ]  [] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

cc: @mountiny Let me know if you differ on any of the above.

Regression Steps
From PR looks good

From Global create, select Split Bill
Go through the flow until the confirmation page
click on the user details (do not create the split)
Click Back (UP action) in left top corner of RHP
Verify the screen navigated back to the confirmation page

👍  or 👎

Reassinging the Bug label to get someone to pay this out
@Santhosh-Sellavel should get $1250 for the review and reporting the bug

Requested payment on ND

@Santhosh-Sellavel have you been paid via NewDot?

Yeah got paid! Good to close this!


Apphook permission is not working on Apache with non-root url

My environment is:

Django 1.8
Django-CMS 3.1.2
Python 2.7.5
cms_app.py

# -*- coding: utf-8 -*-
from django.utils.translation import ugettext_lazy as _
from cms.app_base import CMSApp
from cms.apphook_pool import apphook_pool

class PwdGeneratorApp(CMSApp):
    name = _("Password Generator App")
    urls = ["pwd_generator.urls"]
    app_name = "PwdGenerator"
    permissions = True

apphook_pool.register(PwdGeneratorApp)

view.py

# coding=utf-8

from django.shortcuts import render
from cms.utils.decorators import cms_perms

@cms_perms
def index(request):
    context_dict = {}
    return render(request, 'pwd_generator_index.html', context_dict)

I create a page and check "login_require" on, then attach the apphook to page. But guest still can see this page without log in.
Top tool menu's "Page" function button is disappear.

@pigsign Have you restarted the Django instance after attaching the apphook?

@evildmp Yes, I did - try to restart Apache service and reboot server.
Sorry, more environment info list below:

Django CMS running on Apache.
templates/pwd_generator_base.html

{% extends CMS_TEMPLATE %}
{% load cms_tags %}
{% block content %}
{% endblock content %}

templates/pwd_generator_index.html

{% extends "pwd_generator_base.html" %}

{% block title %}
pwd generator
{% endblock %}

{% block content %}

                <form class="form-inline" role="form" action="{% url 'PwdGenerator:index' %}" method="post">
                    {% csrf_token %}

                            <input class="form-control" name="idName" type="text" placeholder="id" size="40" required />

                        <button class="btn btn-info btn-lg" type="submit">ok</button>

                </form>

{% endblock %}

@pigsign does this happen on runserver deployment too?

@yakky thanks for your mention, it works well on runserver deployment.
so problem is my Apache config or Permission is not compatible for Apache???
my Apache conf:
WSGIDaemonProcess portal18 python-path=/share/django-cms-18:/share/virtualenv/cms_31_dj_18/lib/python2.7/site-packages
WSGIScriptAlias /portal18 /share/django-cms-18/portal/wsgi.py process-group=portal18 application-group=%{GLOBAL}
WSGIProcessGroup p18.dodotest.com
WSGISocketPrefix /var/run/wsgi18

<Directory /share/django-cms-18/portal>
        <Files wsgi.py>
                <IfVersion < 2.3 >
                         Order allow,deny
                        Allow from all
                </IfVersion>
                <IfVersion >= 2.3>
                        Require all granted
                </IfVersion>
        </Files>
</Directory>

######################
# Django static file
######################
Alias /static18/ /share/django-cms-18/static/

<Directory /share/django-cms-18/static>
	Require all granted
</Directory>

Thanks for your kindly help!!!!~

I do deep test, find apphook permission work well if Apache httpd.conf using root url.
WSGIScriptAlias / /share/django-cms-18/portal/wsgi.py

apphook permission is not working if Apache httpd.conf using non-root url.
WSGIScriptAlias /portal18 /share/django-cms-18/portal/wsgi.py

Hello @pigsign,
We overhauled the permissions system on 3.4, would you be able to test if this issue still occurs using latest 3.4.x version?

Closing due to inactivity.
Feel free to open a new ticket if this issue is still reproducible on the latest cms (3.4.x)


Add "signature", "timestamp", and "rawOutput" to events

For a bit of background, this allows FireFly Core to add new fields in the future to the REST/WS API between core and Tokens connectors, without breaking existing tokens connectors.
However, that will only be true for tokens connectors created from this repo after this change was added - so the next enhancement in core will be breaking for existing connectors.


My project's root directory got deleted during the execution of Python Debugging Session.

It's the second time it happened. First time was a fresh project so as I didn't investigate further. I thought I messed up somehow.
Second time I lost some datasets and got close to lose some code. I found the culprit so I hope it won't to me a third time.

Version: 1.48.2 (system setup)
Electron: 7.3.2
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.17763
Steps to Reproduce:

Run a debugging session, that open a fresh python debug console terminal
Once debugging session terminate
Typing in python debug console terminal:
rm some/sub/dir/in/my/project -rf
Not pressing enter, so the command don't execute but sit there
Launch a new debugging session

VS code will then reuse the 'python debug console terminal' previously open, with my un-executed command still sitting there.
It do its business as usually and inputting:
"cd /home/my_username/my_project_root ; env /home/[...]"
resulting the command:
rm some/sub/dir/in/my/project -rf cd /home/my_username/my_project_root ; env /home/[...]
and Poof my whole project is gone ☠

Does this issue occur when all extensions are disabled?: Yes/No

We should clear any input before executing a command.

We should clear any input before executing a command.

I agree, I'm quite suprise it was not the case already.
Waiting for the fix. There is the possibility of setting the debug console to be spawn in the debug output tab.
In ’.vscode/launch.json:’
’"console": "internalConsole"’

I'm now cancelling the input with Control-C. This should work on all platforms.

Perfect, thanks for your work

The fix for this causes https://github.com/microsoft/vscode/issues/107969
Reverting for the release.

Same thing happens with the C++/CMake extension when pressing F5.


Enhance Experience when Copying/Moving Files

What's the Problem?

When copying or moving files, there's only an task indicator on the right corner tells you it's ongoing, but it doesn't tell you how fast and ETA.
Allow background transfer if the Files window is closed.
When copying the whole folder that the destination already exists, Files should ask whether you wish to keep the folder but replace or skip files inside the folders.

Solution/Idea
Display the transfer speed and ETA like the original file explorer.
Alternatives
n/a
Priorities

Capability
Priority

Show the transfer speed and ETA
Must

Prompt replace or skip files in a folder
Must

Transfer in the background if Files is closed
Should

Prompt on close when files are still transferring
Could

n/a
Won't

Files Version
Version: <IP_ADDRESS> OS Version: 10.0.22000.795
Windows Version
Windows 11 Pro Version	21H2 Installed on	5/12/2021 OS build	22000.795 Experience	Windows Feature Experience Pack 1000.22000.795.0
Comments
No response

Merging with #4811


[FR] Support for the VIM Key Bindings / Mode -- Escape Key Inconsistency and Support of the Vimrc Plugin

My comment regarding [FR] Support for the VIM Key Bindings / Mode https://github.com/Zachatoo/obsidian-css-editor/issues/8#issuecomment-1609106810:
For an initial release, it works well -- thank you so much!
I have noticed the following:

The ESCAPE key exits the insert mode when your work only with one tab containing the CSS snippet. Otherwise, it switches to the left (main target) or the right tab (if the left one does not exist) instead. Returning to the snippet tab results in being back to the normal mode. Can you improve the user experience?

The Vimrc Support plugin is not supported. I.e., my personal key bindings are not recognised. It is not a dealbreaker, but it would be fantastic if you could "fine-tune" the user experience here too.

To state it again: A great first implementation!

First issue should be resolved in 0.3.1. Unsure about second issue since I'm not a vim user, would take some setup and more learning to fix that, not planning on working on that for the short term, definitely open to contributions for that.

Thanks, the first issue has been resolved!
Let me figure out how to add the Vimrc Support plugin support -- will take a while.