Ability for timed traffic lights to skip states if nobody is waiting at a red light or wanting to turn.

Proposal
I propose a new TTL setting which will allow a state without any waiting cars, cars wanting to go in a specific direction if specified, or pedestrians waiting to cross if any pedestrian light is green during the state, to be skipped immediately, as if it didn't exist.
If all following states have that setting enabled, or if there's for instance only 2 states where the last one has the setting, then the TTL will remain in the state without the setting (resting state).
GUI additions

States that may be skipped would have "conditional" next to them.

Proposed additions to the state editing window.
Why this is necessary
This is necessary at timed traffic light intersections, where traffic flow on certain approaches is intermittent, or low at certain times of day (with Real time mod for example), to avoid unnecessarily changing and delaying other vehicles.
An example is a 4-way intersection of a busy arterial road with a side road. Let's say that the arterial road is always busy, and the side road only is busy during rush hour periods. It is rush hour, and everything is working perfectly as intended.
Fast forward a few hours later, and there are barely any vehicles on the side road, and yet the traffic light is still changing after the minimum time has elapsed, delaying vehicles on the arterial for no reason.
Another example is a T-intersection where both roads are equally busy. The through road has a left-turning lane and a protected left turn phase. Majority of the traffic on the through road is proceeding straight or turning right, with an occasional platoon of left-turning vehicles. It works as intended when there are left-turning vehicles, but when there are no left turning vehicles, the protected stage is still served for the minimum time specified, delaying oncoming traffic for no reason.
In real life at these intersections, traffic light controllers only serve states with demand (waiting vehicles), in cyclic order as usual, so this problem never arises.
This would also make mid-block pedestrian crossings with requestable green possible.
Current solutions
Currently, it is kind of possible to have a "resting state", by changing the adaptive switching mode to "Wait > 0", but in that case the state still terminates when the maximum time elapses. Of course, the maximum time could be set to a high number like "1000", and that overcomes that problem, but another problem arises if the traffic flow on the green approaches in the 1st stage warrants a different adaptive switching mode, for example the default "Flow < wait" mode, which currently is impossible to have with a "resting state".
And it also is kind of possible to have a skippable state, by setting the minimum time to 0 and changing the switching mode to "Flow = 0". "Kind of", because still, that state will be served for a fraction of a second, and also the same aforementioned problem arises if you'd want another switching mode when there is demand.
These 2 solutions are not quite user-friendly, especially for beginners.
And let's not forget about pedestrians too, as they too need to cross the road at some point, and with current solutions, it's not possible to detect when a pedestrian has arrived and wants to cross the road, though it is possible to occasionally have the light change in order to serve any pedestrians present, which would unnecessarily delay vehicles at a busy intersection if there aren't any pedestrians.
My proposal would reduce the time and difficulty in setting up traffic lights this way, and would make them behave more realistically.

Thank you for the proposal. TTL redesign is planned in the near feature since the code is a big mess and UI is much more complicated that it could be, considering features it provides. You may think it's easy to add such small thing but the code is old and more like spaghetti. It's hard to make any changes without breaking anything.
TTL setup should be quick and fun for basic configurations and should also provide as many tools as possible to let the user create realistic solution.
With regards to pedestrians... That's hard, they are not registered anywhere, pedestrian crossings are imaginary/virtual things from the code perspective, detecting is not 100% reliable so it will be tricky to keep track of them.
On the other hand if we could implement pedestrian tracking system (even simplified) it could open new possibilities like for example force them to wait on non-protected pedestrian crossings so they could pile up a bit and then cross the road on one go. That would be also helpful to improve interactions between them and cars to be more realistic. As you see, one small proposal, so many things are required but missing to fully support it

See also: #289

Really wish this was possible.
It seems that if you set minimum time to 0 and switching mode to "more waiting than driving", it skips undemanded states.
However I have a adaptive coordinated network of lights on an arterial, and I'd like the minimum time to be served if the state is served, otherwise it's simply skipped. Currently I'm using 0 minimum time for these states, and due to that, it sometimes ruins the green wave.

What's the status on this? Today this feature came to my mind and I discovered this proposal. Has the clean-up already begun / finished? I would give programming this feature a shot if it's already feasible to do so.


Definition for rule 'es/no-string-prototype-replaceall' was not found

When trying to use only the "es/no-string-prototype-replaceall": "error" rule, eslint reports that this rule is not available:
Definition for rule 'es/no-string-prototype-replaceall' was not found
.eslintrc.json:
{
  "parser": "@typescript-eslint/parser",
  "parserOptions": {
    "ecmaVersion": 2021,
    "sourceType": "module",
    "project": "./tsconfig.json"
  },
  "plugins": ["@typescript-eslint", "es",
  "rules": {
    "es/no-string-prototype-replaceall": "error"
  }
}

I'm using "eslint-plugin-es": "^4.1.0",
When, as a test, using es/no-async-iteration instead of the replaceall rule, it works.
Is there anything else I need to configure to make checks only for this rule work?

Ah, I just saw this is not yet included in the 4.1.0 release.
Would it be possible to create a new release that contains these rules?

While that is not released I have installed it directly from GitHub instead of NPM.

es/no-array-prototype-flat is also missing from the index file and can't be consumed...

The document introduced the support for ES2021 but these feature are not released...

a year later and still hasn't been released 😐


document explicit partial call style

I cancelled CI for this as there is nothing to CI

I fixed the typo. Squashing and merging.

Thanks @mfelsche

Thanks @SeanTAllen and @jemc


Implement products filtering by category

It's very handy to have filtering by category when you have a lot of products.
Also categories table has links to category's products

:+1:


zoom buttons / actions

We should consider having some sort of zoom. Some ideas:

magnifier on the cursor
zoom buttons
zoom activated by zoom-in/zoom-out (instead of scrolling) when the user's cursor is on the pdf area

is this feature under development?

it's a nice to have but at the moment I don't have time to implement it. Also actions are hard to develop due to the refresh-at-each-action approach of Streamlit.


Shared columns along all datasets

To effectively use filters with all datasets we need to use a set of shared columns among all datasets, this will also facilitate the implementation of row-level security filters.
The main keys are course_name and course_key.
Are there any other keys we need?

Some datasets that need this fix:

event_sink.course_overviews: has display_name not course_name

I don't know that we need to change much here, just make sure that slices that are added to Superset have these fields on them. In most cases we should be able to pull them from the course_names / course_block_names tables with the correct column name. If we're using slices that are further up the DAG we should probably change that and remove them. What do you think @SoryRawyer ?

That sounds right to me @bmtcril. I agree that we should use the new dictionary-backed tables instead of course_overviews and course_blocks directly. Here's a proposal:

Add course_key to course_block_names
Refactor dim_courses, dim_course_videos, and dim_course_problems — which collectively power the filters in the instructor dashboard — to use the dictionary-backed tables.

How does that sound?

That sounds like a good idea to me. How does this look for a new schema (with all fields being strings):
course_names:

course_name
course_key
course_run
org

course_blocks:

block_name
location
course_key
block_type (parsed from location)

gradeable would probably end up on the json field and need to be parsed out, not sure. The json field exists for things like this, so we don't always have to change the schema every time we want something more from the LMS

Ok, so it sounds like the changes to course_block_names could wait, but we could probably move ahead with an update to course_names. Is that accurate?

Sounds good 👍

@bmtcril @SoryRawyer can this be closed?

I think so, now that we've updated course_names and introduced the graded boolean to course_blocks.


[Draft] Node 20 Support

Recently, I noticed how our dependency modules are moving to Node 20.
Example: https://github.com/microsoft/vscode-vsce/pull/1035

More importantly we should probably track with VS Code's Electron/Node version:
Version: 1.92.2 (Universal)
Commit: fee1edb8d6d72a0ddff41e5f71a671c23ed924b9
Date: 2024-08-14T17:29:30.058Z
Electron: 30.1.2
ElectronBuildId: 9870757
Chromium: 124.0.6367.243
Node.js: 20.14.0
V8: <IP_ADDRESS>-electron.0
OS: Darwin arm64 23.6.0


feat(home): reimaginecommute

closes #71

@Im-Kunal-13 sorry there was a little mistake when I pushed to your PR which caused the re-imagine-commute branch to get messed up.
do the following
git checkout re-imagine-commute
git push -f origin re-imagine-commute

After this, please Reopen this PR. I am unable to reopen this PR because I messed up you remote re-imagine-commute branch. So to fix it please execute the above 2 commands.


Import module

Hello
Anyone can tell me how to modify native code of this library and ad to my own project.
I want to modify some codes in this library how can i manage.

You can always fork the repo and start making changes on your own.
If this plugin helps you, please don't forget to star the repo.
Thanks


Binary file corrupted between the server and the client

I am using Python 3 and the following code:
@app.route('/')
def pdf():
    # [Generate PDF as a byte string]
    with open('file.pdf', 'wb') as f:
        f.write(pdf)
    return send_file(BytesIO(pdf))

On the server, a valid PDF file is written. On the client, I get an invalid PDF about twice the expected size.
it looks like an encoding issue, so I am guessing that the fact that I am using Python 3 may be relevant. The differences between the file saved on the server and the one I get on the client is similar to that of this StackOverflow question, but the poster there was passing the PDF data as a string, whereas in my code pdf is made of bytes (Python 3 would not let me write the file otherwise).

if you do have a bytestring, why not just return it ?!

You're possibly having multiple requests writing to the same filepath...

If I just return the bytestring, it works for a “wget URL -O file.pdf” call, but since I am not setting the Content-Type header, it does not display correctly in a web browser.
And if I use make_response (as follows), I get the same behavior as with send_file.
response = make_response(pdf)
response.headers['Content-Type'] = 'application/pdf'
return response

Since returning the bytestring “works” and I am using a REST client, I don’t think I am writing to the same file twice. The contents of the PDF are not just twice the size, they are corrupted in a similar fashion to that described in the linked StackOverflow question.

that sounds like a potential decode/re-encode issue, more context is needed to determine the location of the cause

I am debugging the issue, and so far data remains intact (as b'…') at least until self.wfile.write(data) in werkzeug/serving.py:165.

more context is needed to determine the location of the cause

Any hints on what additional data may prove helpful?

On Tue, Oct 04, 2016 at 03:38:30AM -0700, Gallaecio wrote:

If I just return the bytestring, it works for a “wget URL -O file.pdf” call,
but since I am not setting the Content-Type header, it does not display
correctly in a web browser.

Then set the content-type header. If there is documentation that is omitting
that, it is a problem with the docs.

I don’t
think I am writing to the same file twice.

You have a hardcoded temporary path in your example. You are writing to the
same file.

Since returning the bytestring “works” and I am using a REST client

REST-clients are irrelevant to this issue. The fact that using the bytestring
works is an indication that it has something to do with the file.

just twice the size, they are corrupted in a similar fashion to that
described in the linked StackOverflow question.

There is also an answer to the question, which indicates that this is not an
issue with Flask at all.

--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/pallets/flask/issues/2048#issuecomment-251354050

As I was trying to write a self-contained example I noticed that I was not allowed to start a server on 5000 even after killing the existing one. After I killed even the Python process itself, and restarted the server, the make_response approach started working.
I have no idea what the issue was. The write function you see in the original post was not the problem, it only writes the contents of pdf (correctly) on the server side, I just added that in order to check that the contents of pdf where not corrupt at that point. The results were the same without the write function (there was no write function there when the problem presented itself first).
Sorry for the trouble, and thanks for the help.


Observers occasionally fails to fire after saved action

Laravel Version: 5.5.*
PHP Version: 7.1.9
Database Driver & Version: MYSQL 5.7.19

Description:
We recently updated our app from Laravel 5.4 to 5.5 a couple about a month ago and about 5 days ago we started experiencing some irregularities with our observers. Our app is an accounting software and this is a typical flow of a basic transaction.

Transaction details are entered and validated before submission and on success
The Transaction Journal entry and respective line items are created
And if the above 2 are successful, the transaction is saved and the observer fires on a saved action
to increase the balance of the respective general ledger account.

The problem
In some unique scenarios all the above 2 steps run successfully but the observer either fails to fire or if at all it does, it fails to update the balances.
Question
Is there a way to detect failed action inside an observer?  or at least trigger a failed response?
Also if at all there's a better way we can achieve the same result, please advice.

Hi there,
Welcome to Laravel and we are glad to have you as part of the community.
Unfortunately this GitHub area is not a support area for general application issues. This is only for issues/bugs with the framework code itself.
I will be closing your ticket here. Instead please try asking your question on one of the many great community support areas that will likely give you a better answer more quickly:

Laravel Slack (https://larachat.co/)
Laravel.io Forum (https://laravel.io/forum)
Laracasts Forum (https://laracasts.com/discuss)
StackOverflow (http://stackoverflow.com/questions/tagged/laravel)

If you feel I've closed this issue in error, please provide more information about how this is a framework issue, and I'll reopen the ticket.
Thanks in advance.

Hi @laurencei
Thank you for your feedback. I did some hunting on the community forums and failed to find a similar scenario but regardless i'll share it and hopefully get a response from someone.
As for the issues/bugs with the framework code is there a chance that something can be done about a failed observer or maybe adding fail safes in place incase of an exception?

You can just catch the exception inside the Observer? Is there anything in your logs?

Dint find any or rather couldn't pin point the exact moment when it failed.  Most because every time i tried to trigger a similar issue, i couldn't replay it and it's occurrences where only in production. No slack alerts where set either.

Maybe put some logging inside the Observer, so that on production you can see if it got fired at all? I kind of feel the fact it is "random" and only in production points to some other flaw in the code?

Is there a fail safe i don't know of cause i dint find one in the documentation, and it's a 1/1000 random event but i prefer it not happen at all. And lookig through the code was the first thing i did


Deprecate mapserv.utah.gov/arcgis/rest/services/Socrata/MapServer

Summary
Drew Mingl has indicated that we can shut down this service, which hooks into his https://www.utah.gov/data/ site. AGRC Open Data was offered to him as an alternative, but no action has been taken yet.
Tagged:
@steveoh
@stdavis

Is there a map service?

[ ] Delete (initials)

Is there a forklift pallet?

[ ] Remove repo (intials)
[ ] Remove stale data from forklift hashing and receiving (initials)

@nathankota The intention of this issue template was that the checkboxes should not be checked until the task was completed. The issue creator is supposed to delete any that you know doesn't apply. I've fixed this issue as an example.
Submit a PR to this file if you have an ideas on how to make this more clear.
Also, does Drew need us to remove the item from Socrata or was he going to take care of that? I remember having a login and doing some admin with it but it's been years.

I didn't think that any data needed to be removed from hashing since all of that data is in the AGOL and Swapper pallets anyways. I also deleted Socrata.mxd on the share.
@nathankota Nice work on this one! This is a great one to get rid of. Next up, UtahEM?

Thanks for taking care of this, and for keeping me honest with the process. I have a suggestion or two so that periodic users like me don't mess it up. Do you still need me to ask Drew about removing from Socrata @stdavis? Yes, UtahEM is in the works.


Fix issues in docker auth implementation

Purpose

Fix issues in docker auth implementation.

Related PRs

https://github.com/wso2-cellery/cellery-hub/pull/150

Codecov Report

Merging #159 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #159   +/-   ##
=======================================
  Coverage   13.83%   13.83%
=======================================
  Files          59       59
  Lines        2277     2277
  Branches      426      426
=======================================
  Hits          315      315
  Misses       1774     1774
  Partials      188      188

Continue to review full report at Codecov.

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


Add targets into Detailed Load Balancer view for k8s load balancers

Rancher Version:
v1.1.0-dev2
In the summary review of the load balancer, there is this nice view of targets. It doesn't exist in the detailed view of load balancer.


Add support for compute-envs add

Via YAML currently, only compute-envs import is supported by providing a path to JSON CE config with file-path but there should also be support for adding a compute-env via YAML with the required parameters depending on the CE type.

We can use the key type: to specify to use the compute-envs add method. For example type: aws-batch forge followed by name, and other required options.

Merged in #33


Bug fix for issue #680

Use make push to replace scripts/imagebuild.sh

@qinpingli Thank you for doing this!   Please update .travis.yml to ensure your change is tested and remove scripts/imagebuild.sh.

@marun updated the .travis.yml file and removed the scripts/imagebuild.sh file, please help check, thx.

@font Seems travis has logged into the quay.io (https://api.travis-ci.org/v3/job/521063358/log.txt),
and no QUAY_USERNAME env in travis(https://api.travis-ci.org/v3/job/520924639/log.txt).

@font Thank you! Added docker login into Makefile.

Added a new target for travis.

@qinpingli Why is this PR failing CI?

@qinpingli Why is this PR failing CI?
@marun failed on docker login into quay.io, for there is no QUAY_USERNAME and QUAY_PASSWORD env params.
This is the log:

if [  ] && [ x = x ] || [ masterx = masterx ]; \
then \
	docker login -u "" -p "" quay.io; \
fi
Username:
No output has been received in the last 10m0s, this potentially indicates a stalled build or something wrong with the build itself.
Check the details on how to adjust your build configuration on: https://docs.travis-ci.com/user/common-build-problems/#Build-times-out-because-no-output-was-received

In this PR, doing docker login cmd only when the TRAVIS_TAG is one of git tag, or TRAVIS_BRANCH is master.

@qinpingli @font Is this still being worked on?

Thanks @qinpingli !
/lgtm

/approve


Prompting like Grounded SAM2

Hi,
Is it possible to prompt like
text="car. road."
in this way?
TIA

I haven't implemented multiple references in your case due to my limited bandwidth. However, I believe it could be achieved by modifying the add_new_points_or_box function. Feel free to submit a pull request.


New version: KnetLayers v0.2.0

Registering package: KnetLayers
Repository: https://github.com/ekinakyurek/KnetLayers.jl
Created by: @ekinakyurek
Version: v0.2.0
Commit: d3b1137cc7566456b4bee9cb52c34d02099d41b3
Reviewed by: @ekinakyurek
Reference: https://github.com/ekinakyurek/KnetLayers.jl/commit/d3b1137cc7566456b4bee9cb52c34d02099d41b3#commitcomment-35677133

Your new version pull request met all of the guidelines for automatic merging.
I will automatically merge this pull request during the next cron job.
If you want to prevent this pull request from being auto-merged, simply leave a comment.
(If you want to post a comment without blocking auto-merging, you must include the text [noblock] in your comment.)

On a separate note, I see that you are registering a release with a version number of the form v0.X.Y.
Does your package have a stable public API? If so, then it's time for you to register version v1.0.0 of your package. (This is not a requirement. It's just a recommendation.)
If your package does not yet have a stable public API, then of course you are not yet ready to release version v1.0.0.

[noblock]


[Evaluation] Integrate Aider Editing Benchmark

What problem or use case are you trying to solve?
Integrate Aider Editing Benchmark. This will allow us to develop better editing approach without running the full SWE-bench.
Describe the UX of the solution you'd like
Do you have thoughts on the technical implementation?
Similar to other benchmarks in evaluation/.
Describe alternatives you've considered
Additional context

I am working on this. Please assign it to me :)


Operator sdk migration

Design Migration Doc - https://docs.google.com/document/d/1wpNMog34bhDUDeEMDrKCZhMHysQLMmsiQg3jOfACkRM/edit

/cc @sairameshv

rebased and moved to https://github.com/openshift/instaslice-operator/pull/32


unwrap() failing in CollisionWorld::update

I'm using ncollide 0.9.1 for a game I'm working on. When I added it to the game, but it panicked the first time I called CollisionWorld::update. This unwrap was failing:
thread '<unnamed>' panicked at 'called `Option::unwrap()` on a `None` value', ../src/libcore/option.rs:325
stack backtrace:
...
   9:        0x10b45845c - core::panicking::panic::h4bb1497076d04ab9
  10:        0x10b1e131a - _<std..option..Option<T>>::unwrap::h0aa4d6aefa249378
  11:        0x10b1e1588 - _<ncollide..broad_phase..DBVTBroadPhase<P, BV, T> as ncollide..broad_phase..BroadPhase<P, BV, T>>::deferred_set_bounding_volume::h1740a03bc351d7da
  12:        0x10b205837 - _<ncollide..world..CollisionWorld<P, M, T>>::perform_position_update::h3c35fb203d71c603
  13:        0x10b2055b4 - _<ncollide..world..CollisionWorld<P, M, T>>::update::h179c1d093094f3e5
  14:        0x10b2005ea - alphabot::server::ServerState::update::hb707929512f7229b

After checking my usage and reading some of ncollide's source, I finally realized that the reason may be that I wasn't calling CollisionWorld::update between when I added an object and when I called CollisionWorld::deferred_set_position. I made that change, and it doesn't panic anymore.
I didn't know that was needed, and if either ncollide handled it automatically or panicked with an error message telling me what was wrong, it would have saved me a lot of time.

That's right, the addition is deferred. I should name the collision object addition method deferred_add instead of just add to reflect this.
Though the fact that this specific unwrap panics is a bug: it should panic on the CollisionWorld directly, not on the broad phase.

The renaming from .add to .deferred_add will be effective starting with ncollide 0.10.0 (which will not be published just now).

Renaming add is something I hadn't thought of. If it were called deferred_add, that probably would have clued me in. Both of those changes sound great. Thanks!


Added ipv6 resolve support to webrtc resolving

You significantly changed the formatting of the files so much that I can't easily see what you changed. Please resubmit with only the changes needed to add the feature.


Investigate Cairo 1 runner

There should be a few differences between cairo zero runner and the one for cairo 1. These will dictate whether we can reuse some of our current code. There are two important things we need to check:

[ ]  Check instructions. Check whether there are differences in the way to decode the instructions or how a specific instruction is supposed to change the state
[ ] Check pipeline. I'm interested here in checking the initialization of all the segments, if there are any particular constraints we need to follow, execution of builtins and hints. Take a look at function run_function_with_starknet_context here which is called from here.

Write a comment in this issue outlining all the info you gather about each of this, so we can then create specific tasks to work on.

Cairo One Runner Write Up
To start off, I found some new builtins in Cairo one.

[x]   Output
[x]  Pedersen
[x]  Range Check
[x]   ECDSA
[x]   Bitwise
[x]  EC OP
[x]   Keccak
[x]   Poseidon
[ ]  Range Check96
[ ]   AddMod
[ ]   MulMod
[ ]  Segment Arena
[ ]  Gas
[ ] System

We will also have to add support for sierra in the VM. The cairo one runner's struct have these extra variables :
    /// The sierra program.
    sierra_program: cairo_lang_sierra::program::Program,
    /// Metadata for the Sierra program.
    metadata: Metadata,
    /// Program registry for the Sierra program.
    sierra_program_registry: ProgramRegistry<CoreType, CoreLibfunc>,
    /// Program registry for the Sierra program.
    type_sizes: TypeSizeMap,
    /// The casm program matching the Sierra code.
    casm_program: CairoProgram,
    /// Mapping from class_hash to contract info.
    starknet_contracts_info: OrderedHashMap<Felt252, ContractInfo>,

In the runner, we will have to introduce some new functions :

get_initial_available_gas : Returns the initial value for the gas counter. In case there are not any costs - it means no gas equations were solved (and we are in the case of no gas checking enabled) - so the gas builtin is irrelevant, and we can return any value.
create_entry_code and create_code_footer : Returns the instructions to add to the beginning of the code to successfully call the main function, as well as the builtins required to execute the program.
assemble_ex : Creates an assembled representation of the program preceded by header and followed by footer.
There is also a separate HintProcessor which is required to run through the hints before the vm executes it. This is preceded by a build_hints_dict function which register hint with string for the hint processor. Its struct is :

pub struct CairoHintProcessor<'a> {
    /// The Cairo runner.
    pub runner: Option<&'a SierraCasmRunner>,
    /// A mapping from a string that represents a hint to the hint object.
    pub string_to_hint: HashMap<String, Hint>,
    /// The starknet state.
    pub starknet_state: StarknetState,
    /// Maintains the resources of the run.
    pub run_resources: RunResources,
    /// Resources used during syscalls - does not include resources used during the current VM run.
    /// At the end of the run - adding both would result in the actual expected resource usage.
    pub syscalls_used_resources: StarknetExecutionResources,
}

run_function : Runs the vm starting from a function with custom hint processor. Function may have implicits, but no other ref params. The cost of the function is deducted from available_gas before the execution begins.
After we initialize the vm, we add a builtin_cost segment but I am not really sure about what that means / do.

Cairo one VM changes :
Most of the code for the VM can be reused. There are a few changes required :

Support for the missing builtins that I mentioned above.
There is a new relocation rule in the rust vm :

Will return an error if any of the following conditions are not met:
- Source address's segment must be negative (temporary).
- Source address's offset must be zero.
- There shouldn't already be relocation at the source segment.

I compiled fibonacci.cairo (https://github.com/lambdaclass/cairo-vm/blob/main/cairo_programs/cairo-1-programs/fibonacci.cairo) to sierra and then feed it both to the sierra-compile-json command and to the rust-vm from lambda class. The bytecode in program segment, produced by sierra-compile-json is visible on the screen below:

and the bytecode produced in lambdaclass cairo-vm is on this screen:

As you can see they don't really match, also there are some hints present in the json output from sierra-compile-json, but the hint list produced in lambda vm is empty. Below I printed out the hints map from here:

Since the generated instructions are clearly not matching, the runner fails on the second step, trying to load hint which (according to lambda class cairo-vm) should not exist. If the bytecode and hints produced by lambda rust-vm are loaded into Nethermind cairo-vm, everything works fine in execution mode.
Strange thing I noticed is that the parsed sierra programs in the sierra-compile-json and lambdaclass rust-vm are different, eventhough I provide the same output.sierra file to both programs. Here is how the sierra-compile-json parses the sierra program (link) and here is how the rust-vm does it (link). Furthermore they both produce different CASM programs. I'm going to further investigate this.


TryGetDeviceExtension succeeds when Device is invalid

Summary
Hi,
I'm using TryGetDeviceExtension to load VK_KHR_swapchain extension. But it returns true when the device is not valid.
        if (!vk.TryGetDeviceExtension<KhrSwapchain>(instance, new Device(), out var khrSwapchain))
        {
            throw new Exception("Unable to load KHR swapchain  extension");
        }

In this example, the function returns true even though the Device is invalid. It creates a KhrSwapchain object that is not valid.
And I have an exception after when I use it :

Steps to reproduce

Platform: Desktop (Window 10)
Framework Version: .NET 8
API: Vulkan
API Version: Vulkan 1.1

Comments
I'm uncertain whether it can be mitigated. Upon reviewing the underlying code, I find it strange why Activator.CreateInstance doesn't throw an exception. Additionally, I'm unsure if we could simply check for the default handle and return null and false instead.
I also tried with a default Instance. The program just stops 🤣

Can’t be mitigated, we have no way of knowing what extensions you’ve actually enabled for a given device vs what extensions we know are present on any physical device (which is what we actually check).

I understand the remarks on the method. Thank you. Sorry for the inconvenience.


Support Firefox Webview

Expected behavior
K9Mail renders messages.
Actual behavior
Message bodies are not rendered or displayed; no error message emitted that explains this problem to the user
Steps to reproduce
Uninstall / Disable Chrome (Must be preinstalled, and No Android System Webview preinstalled)
Have Firefox for Android installed and configured to allow itself to be called by other applications
Environment
K-9 Mail version: 5.403
Android version: 7.0
Account type (IMAP, POP3, WebDAV/Exchange): GMail / IMAP

As far as I can tell Firefox doesn't provide a WebView implementation. What exactly are you proposing?

There is GeckoView, but that's currently not an option for productive systems (and maybe never will).
I also think, that the bug has the wrong headline. People who have no webview on their device, might worry about the fact that untrusted input is sent to an html renderer. The expected behaviour from the bug description could be achieved, if K-9 displays the content of the mail as plain text without webview. (Maybe implement  issue #906 without webview.)


Typo(s) in the software list (according to a native U.S. English speaker)

I will let you know ahead of time that I'm only doing this in good faith and not trying to be rude or anything (also, I don't have any SVN system currently installed on my system and know how to use it).
Games and game related software:
Battle for Wesnoth: elements hat runs should be elements that runs
GZDoom: A source port engien probably should be A source port engine
Security and privacy related software:
OpenVPN: An VPN service, if I'm not mistaken, my grammar says it should be A VPN service
TOR: An a encrypted probably drop the lonely word a
Office and archive related software:
PeaZip: A full-features archives ... being late at night, and not used / researched it myself, probably needs rewording.
Paint and art related software:
Krita: A scetching and ... probably sketching ?
I stopped right before starting the Miscellaneous category because I am heavily sleepy.

Thank. I have corrected them. If you find anymore, please re-open another ticket or a PR.


Update package.json

run tsc on "prepare"
so you could install the package via git URL and it will be compiled
see: https://docs.npmjs.com/cli/v7/using-npm/scripts#life-cycle-scripts

I'm not a huge fan of compiling TypeScript during a package installation. TS often has breaking changes in minor updates (they don't do semver) and just pulling in a newer version of TS (e.g. 4.3.x which satisfies ^4.2.0) could break the installation.
If it is necessary to install from git, I prefer checking in the compiled JS files.

I forgot that it would also compile when using the npm package.
This would then not work. The source is not in the package, I removed it via .npmignore
So maybe we'll revert. Is there no script wich is used only when installing via git?

No, I'm not talking about the npm package - that seems fine.

But if you install this from git, it will install devDependencies and compile TypeScript. That can cause a situation where the code won't build because you developed it with 4.2 for example, but 4.3 gets installed.
Should be no problem though to limit the TS version with ~ instead of ^ to make sure.

okay, I also read again the script definition, so it should work.
Sure we could fix the TS version.
But the lockfile is in the repo, so it should use the correct tsc version.

Lockfiles from dependencies are not respected AFAIK. They are used within a project to install the same dependency tree as before when you just run npm install. Installing a new version of a dependency will change the lockfile.

Okay. When I think of it, how should it respect lockfiles of dependencys?
But what's the correct solution? To commit also the compiled files to the repo? I also don't like this

Then I guess change the typescript devDependency from ^... to ~...

are you sure that this is a problem?
I now installed the package, and non of it's dev dependencies is installed to my node_modules dir, but the library is compiled (so I think npm has installed them and removed after running prepare?)
If so, I think npm will also use the correct typescript version.... But I don't know

I did not find any info about this, and how this works

Should we simply resetversion to 0.0.1 and do a release and test it out?

I think npm will also use the correct typescript version

I'm not saying this is a problem now - but it can happen. Using ~ instead of ^ just makes sure that we don't get suprised in the future when TS introduces a breaking change that affects us.


feat(Semicontinuous): add comp lemma

The whole file lacks dual versions of theorems. I think that we should either make a thorough OrderDual review of the file, or add UpperSemicontinuous theorems as needed.


App loads all assets at initial loading (ngsw-cache-bust)

Problem:
After cleaning cookies (simulating first loading of app with ServiceWorkers) my app loads all files from assets in chain mode one after another. There is no such problem when I turn off service workers.

Versions:
    "@angular/core": "4.4.4",
    "@angular/service-worker": "^1.0.0-beta.16"

ngsw-manifest.json
{
  "routing": {
    "index": "/index.html",
    "routes": {
      "/": {
        "prefix": false
      }
    }
  },

  "dynamic": {
    "groups": [
      {
        "name": "static",
        "urls": {
          "/": {
            "match": "prefix"
          }
        },
        "cache": {
          "optimizerFor": "performance",
          "strategy": "fifo"
        }
      },
      {
        "name": "api",
        "urls": {
          "/api": {
            "match": "prefix"
          }
        },
        "cache": {
          "optimizerFor": "freshness",
          "networkTimeoutMs": "200",
          "maxAgeMs": "1000",
          "strategy": "fifo"
        }
      }
    ]
  }

}

Question:
Is it some bug or specific functionality of ServiceWorkers or some  config problem? Can I turn it off?

I'm having similar issue with Angular Cli
"serviceWorker": true,
The build is including all static assets which are all being download on initial load.  Is there a way to avoid them to be included in the build or some way to include only a subset similar to "match": "prefix" for static assets.
It's currently including everything
  "static": {
    "urls": {
      "/polyfills.bundle.js": "797380f10875ed6ec1950de6c3f8c1c5c039b1f7",
      "/main.bundle.js": "ad286daa32707291145b97cf1b9d127508888456",
      "/sw-register.bundle.js": "3f33aca6e4502d2f5000d2a43c8367e8c895f3c4",
      "/vendor.bundle.js": "9470978cdd2d8cc6138114a760e716fbb4433d5a",
      "/inline.bundle.js": "551f257a9460db66c8239aabf6ecea5704a068f4",
      "/styles.bundle.css": "f9d460956a9cbdaf2431874f06fa9bf1c4e65105",
      "/polyfills.bundle.js.map": "ffbd069844e94d8d91fd27ce05e5ad0637810df9",
      "/main.bundle.js.map": "ee24dd04b6ca1f9fa8b7787d0b7f7e969ace742e",
      "/styles.bundle.css.map": "4addd0788919e25bb33affc721727e421d378e34",
      "/sw-register.bundle.js.map": "2129c7403076b694f208955d13da8a95873137c6",
      "/vendor.bundle.js.map": "12f7cd7d01d0c41fe521f5f92ecf16f4c485a180",
      "/inline.bundle.js.map": "a7bc09ed5b04ea41472a1e01b5a11c33b04d7876",
      "/assets/fonts/iconfont/wx-iconfont-global/fonts/wx-iconfont-global.eot": "0ffe90b6eeb91a520ee709969bb11f35e4eca1b3",
      "/assets/fonts/iconfont/wx-iconfont-global/fonts/wx-iconfont-global.ttf": "4cdd03417d15a7a7a735624a239d980877780f33",
      "/assets/fonts/iconfont/wx-iconfont-global/fonts/wx-iconfont-global.woff": "d9d59e62f91616636afc0147cf1ee0073aa7a3e2",
      "/assets/fonts/iconfont/wx-iconfont-global/wx-iconfont-global.css": "de0c8914a6d1ee46d71e8e6e598a51805179ac6c",
      "/assets/fonts/iconfont/wx-iconfont-global/fonts/wx-iconfont-global.svg": "9baacbd7fc07b9249a7c0b9db7719a5fe76a52b7",
      "/assets/fonts/iconfont/wx-iconfont-global/wx-iconfont-global.scss": "cf9c19cf934e548a7060039ae7a5c7c62c94b27c",
       ...

I'm also struggling with applying service worker and other pwa features to an individual app in my multi apps cli project.  I want to be able to provide unique ngsw-manifect.json for each app.


slide-toggle. No two-way binding for [checked]

Bug, feature request, or proposal:
What is the expected behavior?
What is the current behavior?
What are the steps to reproduce?
Providing a Plunker (or similar) is the best way to get the team to see your issue.
Plunker template: http://plnkr.co/edit/o077B6uEiiIgkC0S06dd
What is the use-case or motivation for changing an existing behavior?
Which versions of Angular, Material, OS, browsers are affected?
Is there anything else we should know?

Moving the toggle doesn't change the actual model property.
It's represented on the examples tab of this page https://material.angular.io/components/component/slide-toggle

The [checked] input is a one-way data binding and can be used without the FormsModule.
It exists for convenience and to be aligned with the native input elements.

This is very confusing and I think at least the docs should be updated. The example / demo shows an md-slide-toggle with a checked property and no ngModel. I think it's very uncommon that anyone will want a slide toggle that does input but not output.
https://material.angular.io/components/component/slide-toggle
<md-slide-toggle
class="example-margin"
[color]="color"
[checked]="checked"
[disabled]="disabled">
Slide me!

@pdavin That's true. It's very unlikely that some just uses the [checked] input binding.
Maybe we should also have a second demo that is very simple and shows the usage with an NgModel.


Feature Request: Support secondary confirm button on dialog

Overview of the problem
Buefy version: [0.5.4]
Vuejs version: [2.5.2]
OS/Browser: N/A
Description

I have come across a need in my app to offer multiple delete options (e.g. "Delete Only This" vs. "Delete All"). I tried to make a prompt work but it doesn't support a select as an input. Besides, I think a confirm dialog is the most appropriate solution.
Do you think this would be a good addition? Not moving too far from the rule of simplicity?
I can submit a PR.

@houseoftech I don't think there is the need to add that to Buefy core. Confirm dialog like native confirm has two buttons and then Buefy dialog it's a shortcut of modal component (you might create your custom component that use modal with the same behaviour of confirm dialog).
Anyway thanks a lot! 👍


Add support for configurable embedding model

Description
Added a feature that allows users to specify the embedding model of their choice through embedder config.
Fixes #1626, #1593, #1590, #1544
Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Please delete options that are not relevant.

[x] Unit Test

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules
[x] I have checked my code and corrected any misspellings

Maintainer Checklist

[ ] closes #xxxx (Replace xxxx with the GitHub issue number)
[ ] Made sure Checks passed

@Dev-Khant
Kindly request you to review the PR when you have a moment :)

Hey @kmitul, Thanks for working on this PR, I'll review it soon because first we need to fix CI flow.

@kmitul Can you please rebase your branch with main?

@Dev-Khant
Done. For #1581 as well.

Hey @kmitul Can you please add a script in description to test Azure and Huggingface embedded, want to test it locally as we currently don't have pytests for embeddings.

Hey @Dev-Khant
I've added test script in description.

@kmitul What all providers are supported? Huggingface, Azure, OpenAI and ?

Hey @Dev-Khant
Does it look good to you? Were you able to test em out?

Hey @kmitul, Please give me some time I'll test it out and let you know.

@kmitul Thanks for the contribution, this looks good.


compile example command does not work

When trying to run the compile example, the provided command /cwl-runner --basedir ${PWD} compile1.cwl does not work (with cwltool, at least), even when disregarding the leading slash of the command.
Expected output is given in the README.md file, actual output is
$ cwltool --basedir ${PWD} compile1.cwl
/home/kai/.virtualenvs/cwl/bin/cwltool 1.0.20160413143011
Tool file contains graph of multiple objects, must specify one of #compile, #link, #main

As the README.md file does not explain how to specify an object, a new user is a bit at a loss, and cwltool --help doesn't explain this either.
The README.md file should give $ cwltool --basedir ${PWD} compile1.cwl#main as the command to run.

Hey @kblin , thank you for this.
You shouldn't need to use --basedir

Indeed I don't. I'll send you a pull request with a fix, then


Plugin automatically gives players a power despite setting poweronstart to false.

What minecraft version did it occur on?
1.16.5
What superheroes version did it occur on?
2.0.6
Please post the relevant log to pastebin (if there is one)
No error
Description of the issue:
The plugin automatically gives players a superpower despite me setting poweronstart to false. I want my players to have to get the item listed in the config to give them their powers instead of them just being assigned one when they first join.

This is solved in 2.1.0.


Reevaluate underestimated disk requirements. (Resolves #127)

Resolves #127

Failed due to jenkins setup issue.
Jenkins, test this please.


Emoji.Parse should accept Unicode Equivalent

At the moment, Emoji.Parse("💙") (:blue_heart: for those who can't see it) throws an exception, though it's valid to post through the REST API.

Also to note, if I had the Emoji object for :blue_heart:, Emoji.Parse(blueHeart.Name) would throw, because the Unicode is what is passed as the name.

Emoji.Parse doesn't exist? If you're using Emote, then that's for custom emoji.

Lesson of the day..... Whoever came up with "Emoji" vs "Emote" is evil, and those words need to be kept as far apart as possible

Emoji is the term used in the Unicode standard. Emote is the term that Twitch uses, which is subsequently used by Discord for their Twitch integration.


Animation can now be disabled

Hey @badzong , I've added the option to disable animation -- Instance.props.animate. When false, no callback loop.
 Will update when resolved.
EDIT2: @badzong , all done. For now, FuseBox doesn't let you set the script type.
EDIT3: Just realized something. There is no need for a separate "animate" option as this is implied by staticRotation. Instead, the core logic added here can be used implicity when staticRotation is zero.

Basically props.animate is good idea. Setting staticRotation to zero will still draw the SVG for every Frame. I just moved the if block a few lines up.

If I'm understanding the code correctly, it seems that Instance.props.fps does nothing and that, currently, there is no way to adjust the draw frequency. Is that right?

That's a bug. See line 242. I will push a fix in a few seconds.


Add autocomplete for dropdowns.

Probably use select2 whenever possible.

HospitalRun tackles this by using typeahead fields instead of dropdowns where applicable.  These typeahead fields also support the ability for users to add new values.  An administrator can choose to turn off the ability for users to add new values for typeaheads.  In my opinion this gives us greater flexibility out of the box and also means that when a new site comes up an admin doesn't have to spend time creating values for drop down lists.
HospitalRun does have some spots where dropdowns are specifically used, but in most of those cases, the dropdowns are small data sets, so I'm not sure that autocomplete is needed for them.

@bhagyas, unless you have additional questions / concerns / input, I'm inclined to close this issue. Let me know if @jkleinsc response is sufficient.

Apologies for the delay in response.
Having select2 or similar would enable picking up values that don't start from a particular sequence of characters.


How well is zig suited for low-level 3d graphics programming?

Including OpenGL, Vulkan usage etc.

Example opengl usage: https://github.com/andrewrk/tetris

It's exactly suited for low level 3d graphics programming.


media_folder on widged level

Some of webs has divided uploads into separate folders so the media_folder settings needs to be on widget level. This PR solves this without change of original behaviour.
It might be useful for others as well.
Cheers :)

Ok, changed ... cheers :)

@vencax I pushed some changes to avoid having the asset proxy worry about the concept of a field, and some docs tweaks.
Can you test it against your use case and confirm whether everything is working?

Some fixes due to copypaste was needed ... :)

Ah! Great catches, thank you for that.

@vencax I'm now thinking we should hold off on this. #350 is a big priority, and allowing multiple media directories becomes much more complex when the Media Library UI is in place.
I'm writing up plans now, but the priority for this goes:

Provide a media library UI that opens when you click an image/file field
Allow multiple asset collections (along with allowing a field to be restricted to a specific asset collection) - this will do what you need
Provide a "front page" UI for asset collections, outside of the pop up UI

Apologies that I didn't already bring this up, didn't consider that there would be a conflict. Please chime in on #350 if you have thoughts on it.

ok, i have what I need. It works. You have it in this PR. Do what you consider best for your comunity ...

@vencax after #350, the goal of your PR would be addressed by allowing asset collections to be defined in the config, the same way that we have content collections currently. You would also be able to lock a widget to one or more specific asset collections, similar to what you're doing in this PR, except by asset collection name.

@erquhart I also really need this for making Netlify CMS play with Gatsby nicely. Since an implementation for #350 has been merged, is it now possible to have multiple asset collections and lock a widget to one asset collection as you describe? I tried to find some documentation about this, but couldn't.


HPKP is draft for security 'certificate pinning' through a new HTTP header.  This protection...

HPKP is draft for security 'certificate pinning' through a new HTTP header.  This protection reduces the likelihood of successful MITM attacks against TLS through rogue or compromised CAs.
https://tools.ietf.org/html/draft-ietf-websec-key-pinning-21

This issue was imported from Google Moderator
Moderator votes: +6
Issue added by s on 2014-10-30
To vote this issue up or down, simply include +1 or -1 in your comment.

+1

Now available at http://caniuse.com/#feat=publickeypinning


Why do you include Application Insights by default ?

Category
[ ] Enhancement
[ ] Bug
[x] Question
Version
Please specify what version of the library you are using: [1.2.4]
Hello team !
We developped a SPFx webpart for one of our customers. Sometimes the component fails to load. This customer uses a third party product on his SharePoint tenant that uses AppInsights. Our component and this product sometines have conflicts because of that.
I was surprised because we do not use AppInisghts, but I found that you do. Can you explain me why you need this and what informations do you track please ?
Thanks

Hi @Tinathnath,
Can you explain more about the issues you are facing / errors which occur while loading the component?
We indeed have application insights in place to track the usage of the controls. This way we know which versions of controls are in use, and which ones are used the most. We filter out all unnecessary data. So only component events are sent, no other usage.
If you want, you can check out the filter we have in place here: https://github.com/SharePoint/sp-dev-fx-controls-react/blob/master/src/common/appInsights/index.ts

Hi @estruyf
Here is a screenshot from the error we had.
Thanks for the explanation and the filter. I guess some of our customers wouldn't be happy if they discover a third party library reads their data whithout notice :)

Would you be able to test out the latest version of the controls?
Can you try to reinstall all dependencies again?
Which control are you using?

We're using the Placeholder in this project
I can't reinstall the dependencies for now, I don't have access to my customer's tenant anymore for the moment :/

@Tinathnath just to let you know we are going to change the whole telemetry. Apparently, Application Insights doesn't fully support multi-key / multi-account yet. So we are changing it so that other solutions like yours can leverage Application Insights without any issues.

@estruyf Ok, thanks for letting me know :)

@Tinathnath just wanted to let you know that in the latest release we removed Application Insights from the package. We now use our own tracking module and shared the code of our projects here to have full transparency of how and what gets tracked, which is basically only the controls and versions that are used.
@pnp/telemetry-js dependency: https://github.com/pnp/telemetry-js
Our telemetry proxy: https://github.com/pnp/telemetry-proxy-node
This change would allow you to make use of Application Insights in your own projects without any conflicts from us anymore.
Feel free to test it out in the latest beta. More information about testing a beta version can be found here: https://sharepoint.github.io/sp-dev-fx-controls-react/beta/

Closing this issue as it is released in v1.6.0.

Thanks for sharing these news Elio !


Error: Installing startnet-devnet on Windows

Describe the bug
I get this bug when I run the command pip install starknet-devnet

Machine specifications

OS: Windows
CPU: I5 ( Intel64 Family 6 Model 158 Stepping 9 GenuineIntel ~2500 Mhz)
Memory: 16GB RAM

Thank you for report,
Officially we do not support Windows at the moment, but on windows, you can use WSL2.

install docker / enable wsl2
download terminal and ubuntu from the store
sudo apt update
sudo apt install software-properties-common
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt install python3.7
sudo apt install python3-pip7

sudo pip3 install virtualenv
virtualenv venv
source venv/bin/activate
sudo apt install -y libgmp3-dev
pip3 install cairo-lang
If all these steps pass then you could do also starknet-devnet install.
Please give us feedback on your progress.

Another approach is also to try to run the dockerized version, it could be easier than the native run. Follow readme for Docker.

We will write a tutorial on how to setup devnet on Windows using WSL2

@ivpavici It should just be enough to mention that, on Windows, options include Docker and WSL2

Tutorial written:
https://medium.com/spaceshard/how-to-run-starknet-devnet-on-windows-tech-tutorial-f8447c131193


elevenlabs integration error

I try to you you demo with elevenlabs.
    const talkResponse = await fetch(`${DID_API.url}/talks/streams/${streamId}`,
      {
        method: 'POST',
        headers: { Authorization: `Basic ${DID_API.key}`, 'Content-Type': 'application/json' },
        body: JSON.stringify({
          "script": {
            "type": "text",
            "subtitles": "false",
            "provider": {
              "type": "elevenlabs",
              "voice_id": "BMKpAZGNzkYvXm2hPSuP"
            },
            "input": "Hello, Niraj, my name is Brian Kelly. Thank you for your help with this clone"
          },
          'driver_url': 'bank://lively/',
          'config': {
            'stitch': true,
          },
          'session_id': sessionId
        })
      });

but it generates an error
POST https://api.d-id.com/talks/streams/strm_PNmi1SRve84D4DLroBJ_2
payload
{
    "script": {
        "type": "text",
        "subtitles": "false",
        "provider": {
            "type": "elevenlabs",
            "voice_id": "BMKpAZGNzkYvXm2hPSuP"
        },
        "input": "Hello, Niraj, my name is Brian Kelly. Thank you for your help with these clone. Thank you very much!"
    },
    "driver_url": "bank://lively/",
    "config": {
        "stitch": true
    },
    "session_id": "AWSALB=Q5Gyd67+7D7aO/jGklXdslfpmIP5cWV+7hu6COtUKrcJ0lWMy+FYISrkSvK3EuFQV2fhLKAr1dD3wR2ekeW/ARpoLJ0bm/Y0BiZFxlwIlCFXzRWzcW/21KCSmh7P; Expires=Wed, 24 May 2023 13:57:14 GMT; Path=/; AWSALBCORS=Q5Gyd67+7D7aO/jGklXdslfpmIP5cWV+7hu6COtUKrcJ0lWMy+FYISrkSvK3EuFQV2fhLKAr1dD3wR2ekeW/ARpoLJ0bm/Y0BiZFxlwIlCFXzRWzcW/21KCSmh7P; Expires=Wed, 24 May 2023 13:57:14 GMT; Path=/; SameSite=None; Secure"
}

response status code - 400
{
    "kind": "TextToSpeechProviderError",
    "description": "SSML is only supported by Microsoft Azure",
    "details": {
        "provider": "elevenlabs"
    }
}

What is wrong?

please send script.ssml: false with your request

this is also doesn't work
{
    "script": {
        "type": "text",
        "subtitles": "false",
        "provider": {
            "type": "elevenlabs",
            "voice_id": "BMKpAZGNzkYvXm2hPSuP"
        },
        "input": "Hello, Niraj, this is Brian Kelly. Don't you think my clone is awesome?",
        "ssml": false
    },
    "config": {
        "stitch": true
    },
    "session_id": "AWSALB=8psTxAIKNnqijpKaaLcLsv3PUW3jas+eZDHtL6fGDB4NpSP5XvXzWyN67NFhNuhHT+hPyJv5fXiZcO8PgdrYHu7LNxI3CfB3Mb6zTjyUlrp13Zc/5brpjUjZ6p4j; Expires=Thu, 25 May 2023 10:28:45 GMT; Path=/; AWSALBCORS=8psTxAIKNnqijpKaaLcLsv3PUW3jas+eZDHtL6fGDB4NpSP5XvXzWyN67NFhNuhHT+hPyJv5fXiZcO8PgdrYHu7LNxI3CfB3Mb6zTjyUlrp13Zc/5brpjUjZ6p4j; Expires=Thu, 25 May 2023 10:28:45 GMT; Path=/; SameSite=None; Secure"
}

What error are you getting with ssml : false

the same error
{
    "kind": "TextToSpeechProviderError",
    "description": "SSML is only supported by Microsoft Azure",
    "details": {
        "provider": "elevenlabs"
    }
}

@orgoro any updates on this? The API docs are misleading if only microsoft TTS works for the streaming endpoint

@orgoro, Any updates on this? Is the streaming API compatible with ElevenLabs at the moment?

Yes :)
You can see it in the docs or use the implementation under studio.d-id.com/agents


Can't install on RBP2

Error while trying to install. Unicode character may be garbled.
localhost:~$ snap install tmux-non-dead
tmux-non-dead 2.7 from 'ghwomb' installed
localhost:~$ tmux-non-dead.tmux
/snap/tmux-non-dead/2/bin/tmux: 1: /snap/tmux-non-dead/2/bin/tmux: cannot create �N@@Xe: Permission denied
/snap/tmux-non-dead/2/bin/tmux: 1: /snap/tmux-non-dead/2/bin/tmux: ELF: not found
/snap/tmux-non-dead/2/bin/tmux: 2: /snap/tmux-non-dead/2/bin/tmux: Syntax error: "(" unexpected

Hi @Samuel-Berger, is any update?

As soon as possible. But right now i have a new laptop that has some problems with snapcrafts new virtualization stuff. So I might need to reinstall and I don't know when that is possible. You might want to clone this repo and run snapcraft. Perhaps a rebuild is enough.

I've just run snapcraft and got this:
my snap:
-rw-rw-r--  1 user user 13615104 Jun  3 12:03 tmux-non-dead_2.7_multi.snap
your snap:
-rw-rw-r--  1 user user 11120640 Jun  3 12:07 tmux-non-dead_2.7_multi.snap

You cab try to do that. And I might be able to release to the beta channel tonight.

Hi @Samuel-Berger, unfortunately it doesn't work after rebuild... I'll try to build with last version, 3.2...

This works on AMD64:
   cd snap-tmux
   snapcraft
   sudo snap install tmux-non-dead_3.1b_multi.snap --devmode
   tmux-non-dead.tmux

Unfortunately I can't test on my RBP2 right now. And I don't know if you can build a snap locally on a RBPI.
Snapcraft have also changed quite a lot. So the whole architectures part of snapcraft.yaml might need to be reworked. I have made changes to README and will push those along with the update to version 3.2 when the tarball is available.

Works now on Raspberry Pi 3 using ubuntu@rbpi3:~$ sudo snap install --edge --jailmode tmux-non-dead.

The snap is now rebuilt using classic confinement. So you might be able to install it on a Raspberry Pi now.


fix(config-ui): adjust some content about dora

⚠ Pre Checklist

Please complete ALL items in this checklist, and remove before submitting

[x] I have read through the Contributing Documentation.
[x] I have added relevant tests.
[x] I have added relevant documentation.
[ ] I will add labels to the PR, such as pr-type/bug-fix, pr-type/feature-development, etc.

Summary

Added environment mapping field.
Adjust the default value of the dora deployment field.

Does this close any open issues?
none.
Screenshots

Other Information
none.

@e2corporation Today's teammates are anxious to test, so this PR has not been reviewed by you, I am very sorry.

@e2corporation Today's teammates are anxious to test, so this PR has not been reviewed by you, I am very sorry.

I understand, I am just being extra cautious as we are about to freeze so I don't want to introduce last minute bugs. We should have time to resolve any issues during our testing window.


Add cargo-release tag-name metadata

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@517b093). Click here to learn what that means.
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff            @@
##             main        #3   +/-   ##
========================================
  Coverage        ?   100.00%
========================================
  Files           ?         1
  Lines           ?         1
  Branches        ?         0
========================================
  Hits            ?         1
  Misses          ?         0
  Partials        ?         0

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Feature Request: Customized Chain Support

Description:
I would like to propose a feature that allows users to customize existing chains, such as RetrievalQAWithSourcesChain, with slight modifications to their behavior. Currently, LangchainRouter supports specific langchain_object like LLMChain, ConversationChain, and more, but customizing these chains is limited.
Use Case:
For instance, I wanted to customize the RetrievalQAWithSourcesChain by overriding specific methods like _split_sources to adapt it to my project's requirements while retaining most of the original functionality.
Proposed Solution:
I suggest adding support for custom chains by allowing users to provide their custom chain classes that inherit from existing chain types, such as RetrievalQAWithSourcesChain. This would provide flexibility in using the library while maintaining compatibility with the core chain types.
Example Usage:
Here's how a customized chain could be implemented:
class CustomRetrievalQAWithSourcesChain(RetrievalQAWithSourcesChain):
    def _split_sources(self, answer: str) -> Tuple[str, str]:
        """Split sources from answer."""
        if re.search(r"SOURCES:\s", answer):
            answer, sources = re.split(r"SOURCES:\s|QUESTION:\s", answer)[:2]
            sources = ""  # Always return an empty string as the source
        else:
            sources = ""
        return answer, sources

Request for FastAPI Example:
Additionally, I kindly request an example of how to manually create an endpoint with FastAPI when using a customized chain.
I believe this feature would make lanarky even more versatile and valuable to its users. Please consider implementing this enhancement.
Thank you for your attention to this feature request.

hi @ImanLakjiri!
Have you looked into https://lanarky.readthedocs.io/en/latest/langchain/custom_callbacks.html? You can register your own callbacks for a custom chain. Does this fit your requirement?

callback registry has been removed in v0.8 release.
Please view the new documentation on how you can pass custom callback handlers to StreamingResponse class here: https://lanarky.ajndkr.com/learn/adapters/langchain/fastapi/#streaming

please reopen this issue if you'd like to discuss more on this topic.


Use ncc to bundle webpack

This will bundle webpack with next using ncc
Issues

tests passing on windows :thinking:
webpack config resolve.alias doesn't seem to resolve correctly when importing webpack in next.config.js
Could just be resolving from node_modules/webpack during tests. Can't validate

Please forgive me for my ignorance in the matter, but I couldn't find any relevant Issues.  Outside of avoiding errors when the user has another version of webpack installed, are there benefits to this approach?  It'll likely increase install size (since webpack's dependencies can't dedupe) and give warnings on install (since the peer dependency webpack is no longer around), as well as obscure any security advisories webpack or its dependencies would receive.

@wtgtybhertgeghgtwtg we'll be nccing most of Next.js meaning that the dependencies would be deduped at build time. ncc itself bundles webpack too and it works perfectly, install size is smaller and it's way less error prone, eg the acorn install issue etc are a thing of the past.
For now we're starting with webpack because it's the easiest way to start off this bundling work.

Sorry if I wasn't clear, I meant for a project using next, not next itself.  next will get smaller and its dependency tree will be deduped, but they won't be able to be deduped with the versions used by other packages.  So people using jest alongside with next may see an increase in install size, since it can't share versions of glob and micromatch with next.
Depending on what you end up bundling, this might occur in next, as well (if you bundle webpackbar or launch-editor, but not the dependencies for the babel config, chalk won't be able to dedupe), but that probably still be a net decrease of package size.

@wtgtybhertgeghgtwtg Next.js will get security warnings from GitHub's analysis of package.json, so we are not concerned from that standpoint
There's a major security benefit from compiling into a standalone bundle (the same way that yarn does), which is that no nested "unpinned" dependencies that the Next.js team doesn't know about get installed.
So, we forego npm audit in favor of not shipping the vulnerabilities to begin with.

Next.js will get security warnings from GitHub's analysis of package.json, so we are not concerned from that standpoint

That works for next, but not necessarily users of next.  Even if you release a new version to include a patch for a bundled dependency, unless the unpatched version of next is marked as insecure, they have no reasonable way of knowing that they potentially have a security vulnerability.

in favor of not shipping the vulnerabilities to begin with.

It'll avoid shipping versions that have a known vulnerability, but that doesn't mean that vulnerabilities cannot be discovered for the existing version it is using.


No output when simulating Cirq circuits via Python interface without reading in files

I'm trying to simulate a Cirq circuit via the Python interface without reading in circuits/grids/orderings from files. I can run the QFlex Cirq example to get the expected output. I modified this example to the following which creates the grid and circuit without reading them in from files:

import sys
import os
sys.path.insert(
    1, os.path.realpath(os.path.dirname(os.path.realpath(__file__)) + '/../'))
import python.cirq_interface.qflex_simulator as qsim
import python.cirq_interface.qflex_virtual_device as qdevice
import python.cirq_interface.qflex_circuit as qcirc

import cirq

# Define a grid of qubits
n = 4
grid = "1 " * n

# Get a device from the grid of qubits
device = qdevice.QFlexVirtualDevice(qflex_grid=grid)

# Get the cirq.GridQubit's from the device
qreg = device.get_indexed_grid_qubits()

# Define the circuit to simulate in Cirq
circ = cirq.Circuit()
circ.append([cirq.ops.H.on(qbit) for qbit in qreg.values()])

# Get the QFlex Circuit from the Cirq circuit
qflex_circ = qcirc.QFlexCircuit(cirq_circuit=circ, device=device)

# Simulate the circuit using QFlex
sim = qsim.QFlexSimulator()
res = sim.compute_amplitudes(program=qflex_circ, bitstrings=["0000"])
print("Result:")
print(res)

The output below shows that no amplitudes are returned from sim.compute_amplitudes:
Ordering is being computed from the provided circuit ...
... Done!
Result:
[]
_Map_base::at

I think _Map_base::at indicates a memory leak? Any ideas what is going on here?

As far as I can tell, the only notable differences between this and the config_small example are the shape of the grid (the example is square, while this is a single line) and the depth of the circuit (the example has a handful of gates per qubit, while this only has one). I'll take a look at this tomorrow and see if I can narrow down possible reasons that might cause an error.
Out of curiosity, what is the ordering generated for this circuit? You should be able to check with these additions:
from python.ordering import order_circuit_simulation as auto_order
# ...define circuit...
auto_order.circuit_to_ordering(qflex_circ, qubit_names=sorted(qreg))

When I add
print(auto_order.circuit_to_ordering(qflex_circ, qubit_names=sorted(qreg)))

after creating the circuit, the output is ['# approximate fidelity: 1.0'].
I tried increasing the circuit depth and changing the grid to 2x2 instead of 1x4 but still have the same issue.

I see the same failure when running 2x2 circuits with the CNOT gates removed. Have any of your tests included CNOTs or any other two-qubit gate?
This appears to be a bug in core qFlex behavior, as the same issue appears when running via the C++ binary: if a qubit is not acted on by at least one two-qubit gate, the simulation will fail. I'll work on fixing this, but until then you can work around this by adding back-to-back CZ gates on pairs of qubits if one or both of them do not otherwise have a two-qubit gate. (For most circuit I don't think this will be an issue - lone disconnected qubits don't contribute to the complexity of a simulation.)

The root cause of this bug occurs during the flatten_grid_of_tensors step: if a qubit has no interaction with any other qubits, it will flatten down to a rank-0 tensor (i.e. a scalar). This wreaks havoc with certain tensor-cleanup methods.
PR #274 addresses this issue.


404 on /api/chat

Hi,
I started ollama serve w/o issue
Then I tried ollama.list() which returned the 3 models I have pulled with a 200 code on /api/tags. One of these models is 'mistral:latest'
Then I tried ollama.show('mistral') and it returned an object with a license, a modelfile, ... and a code 200 on /api/show
Up to now, everything fine...
Then I tried the chat example code:
response = ollama.chat(model='mistral', messages=[
  {
    'role': 'user',
    'content': 'Why is the sky blue?',
  },
])
print(response['message']['content'])

and here I get a 404 code on /api/chat
$ python ollama-test.py
Traceback (most recent call last):
  File "/home/olivi/devt/ollama/ollama-test.py", line 9, in <module>
    response = ollama.chat(model='mistral', messages=[
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/olivi/miniconda3/envs/ollama/lib/python3.11/site-packages/ollama/_client.py", line 158, in chat
    return self._request_stream(
           ^^^^^^^^^^^^^^^^^^^^^
  File "/home/olivi/miniconda3/envs/ollama/lib/python3.11/site-packages/ollama/_client.py", line 81, in _request_stream
    return self._stream(*args, **kwargs) if stream else self._request(*args, **kwargs).json()
                                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/olivi/miniconda3/envs/ollama/lib/python3.11/site-packages/ollama/_client.py", line 57, in _request
    raise ResponseError(e.response.text, e.response.status_code) from None
ollama._types.ResponseError: 404 page not found

In the ollama server terminal:
[GIN] 2024/01/28 - 09:49:50 | 200 |       281.8µs |       <IP_ADDRESS> | GET      "/api/tags"
[GIN] 2024/01/28 - 09:49:50 | 200 |         405µs |       <IP_ADDRESS> | POST     "/api/show"
[GIN] 2024/01/28 - 09:56:49 | 404 |        24.4µs |       <IP_ADDRESS> | POST     "/api/chat"

Than I tried:
response = generate('mistral', 'Why is the sky blue?')
print(response['response'])

which worked fine (code 200 on /api/generate')
So why a 404 on /api/chat? Is it because of an error in the lib or because mistral does provide a chat API?

Update: I was running ollama 0.1.9. After updating to 0.1.22, it started working...


⚠ Bofrost.be has degraded performance

In 828d0ed, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 2852 ms

Resolved: Bofrost.be performance has improved in 4d46cd2.


Social Media links are not working in the footer!!!

Social Media links are not working in the footer.

As an experienced frontend developer, I also identified this crucial issue on your website where the social media links are not working. This affects your connectivity with the audience.
To address this, I would like to correct the links to ensure they are operational.This task aligns well with my skills, and I am eager to take it on as part of my contributions in GSSOC'24. Please assign me this tasks
Solution- Send me your social links and I will add automatic navigation through the website to those social pages


docs: clarify setup env for development.

#51

 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.

@iFurySt same thing here, you'll need to resign the commits

okay, it's been updated.

@iFurySt merging


Multiple ElasticsearchDeprecationWarning using Elasticsearch 7.7.0

Issue Summary
With elasticsearch-py 7.7.0 and Elasticsearch 7.7.0, I’m getting the following deprecation warnings on ./manage.py update_index:
(venv) ➜  wagtail-elasticsearch-7.7.0 ./manage.py update_index
Updating backend: default
default: Rebuilding index wagtail__wagtailcore_page
/Users/yngve/Repositories/issues/wagtail-elasticsearch-7.7.0/venv/lib/python3.7/site-packages/wagtail/search/backends/elasticsearch2.py:795: ElasticsearchDeprecationWarning: The [nGram] tokenizer name is deprecated and will be removed in a future version. Please change the tokenizer name to [ngram] instead.
  self.es.indices.create(self.name, self.backend.settings)
/Users/yngve/Repositories/issues/wagtail-elasticsearch-7.7.0/venv/lib/python3.7/site-packages/wagtail/search/backends/elasticsearch2.py:795: ElasticsearchDeprecationWarning: The [edgeNGram] tokenizer name is deprecated and will be removed in a future version. Please change the tokenizer name to [edge_ngram] instead.
  self.es.indices.create(self.name, self.backend.settings)
/Users/yngve/Repositories/issues/wagtail-elasticsearch-7.7.0/venv/lib/python3.7/site-packages/wagtail/search/backends/elasticsearch2.py:795: ElasticsearchDeprecationWarning: The [edgeNGram] token filter name is deprecated and will be removed in a future version. Please change the filter name to [edge_ngram] instead.
  self.es.indices.create(self.name, self.backend.settings)
/Users/yngve/Repositories/issues/wagtail-elasticsearch-7.7.0/venv/lib/python3.7/site-packages/wagtail/search/backends/elasticsearch2.py:795: ElasticsearchDeprecationWarning: The [nGram] token filter name is deprecated and will be removed in a future version. Please change the filter name to [ngram] instead.
  self.es.indices.create(self.name, self.backend.settings)
/Users/yngve/Repositories/issues/wagtail-elasticsearch-7.7.0/venv/lib/python3.7/site-packages/wagtail/search/backends/elasticsearch7.py:25: ElasticsearchDeprecationWarning: The [nGram] tokenizer name is deprecated and will be removed in a future version. Please change the tokenizer name to [ngram] instead.
  self.es.indices.put_mapping(index=self.name, body=mapping.get_mapping())
/Users/yngve/Repositories/issues/wagtail-elasticsearch-7.7.0/venv/lib/python3.7/site-packages/wagtail/search/backends/elasticsearch7.py:25: ElasticsearchDeprecationWarning: The [edgeNGram] tokenizer name is deprecated and will be removed in a future version. Please change the tokenizer name to [edge_ngram] instead.
  self.es.indices.put_mapping(index=self.name, body=mapping.get_mapping())
/Users/yngve/Repositories/issues/wagtail-elasticsearch-7.7.0/venv/lib/python3.7/site-packages/wagtail/search/backends/elasticsearch7.py:25: ElasticsearchDeprecationWarning: The [edgeNGram] token filter name is deprecated and will be removed in a future version. Please change the filter name to [edge_ngram] instead.
  self.es.indices.put_mapping(index=self.name, body=mapping.get_mapping())
/Users/yngve/Repositories/issues/wagtail-elasticsearch-7.7.0/venv/lib/python3.7/site-packages/wagtail/search/backends/elasticsearch7.py:25: ElasticsearchDeprecationWarning: The [nGram] token filter name is deprecated and will be removed in a future version. Please change the filter name to [ngram] instead.
  self.es.indices.put_mapping(index=self.name, body=mapping.get_mapping())
/Users/yngve/Repositories/issues/wagtail-elasticsearch-7.7.0/venv/lib/python3.7/site-packages/elasticsearch/helpers/actions.py:122: ElasticsearchDeprecationWarning: [types removal] Specifying types in bulk requests is deprecated.
  resp = client.bulk("\n".join(bulk_actions) + "\n", *args, **kwargs)
default: home.HomePage             .
default: wagtailcore.Page          .
default: indexed 2 objects

default: Rebuilding index wagtail__wagtaildocs_document
default: wagtaildocs.Document
default: indexed 0 objects

default: Rebuilding index wagtail__wagtailimages_image
default: wagtailimages.Image
default: indexed 0 objects

Considering that these are just deprecation warnings, we are not in a hurry to get rid of them.
Steps to Reproduce

Install Elasticsearch 7.7.0
Clone https://github.com/yhoiseth/wagtail-elasticsearch-7.7.0 (just a fresh Wagtail project configured for Elasticsearch and with elasticsearch-py in requirements.txt)
pip install -r requirements.txt
./manage.py migrate
./manage.py update_index

I have confirmed that this issue can be reproduced as described on a fresh Wagtail project: yes

Technical details

Python version: 3.7.7
Django version: 3.0.6
Wagtail version: 2.9
Browser version: Not relevant

Elasticsearch
(venv) ➜  wagtail-elasticsearch-7.7.0 git:(master) curl localhost:9200
{
  "name" : "Yngves-2015-MacBook-Pro.local",
  "cluster_name" : "elasticsearch_yngve",
  "cluster_uuid" : "xH8J69c9ToCQLKUN3cFeuA",
  "version" : {
    "number" : "7.7.0",
    "build_flavor" : "default",
    "build_type" : "tar",
    "build_hash" : "81a1e9eda8e6183f5237786246f6dced26a10eaf",
    "build_date" : "2020-05-12T02:01:37.602180Z",
    "build_snapshot" : false,
    "lucene_version" : "8.5.1",
    "minimum_wire_compatibility_version" : "6.8.0",
    "minimum_index_compatibility_version" : "6.0.0-beta1"
  },
  "tagline" : "You Know, for Search"
}

Tried with Elasticsearch 7.2 and elasticsearch-py 7.7.0. Got only site-packages/elasticsearch/helpers/actions.py:122: ElasticsearchDeprecationWarning: [types removal] Specifying types in bulk requests is deprecated..

Thanks for reporting! Looks like these are two really simple changes for the Elasticsearch 7 backend:

Change occurances of nGram to ngram and edgeNGram to edge_ngram
Remove the _type parameter from the bulk request (not used in recent Elasticsearch versions anyway)

@kaedroho Thanks for the input.

Change occurances of nGram to ngram and edgeNGram to edge_ngram

I made a go at this in #6046.

Remove the _type parameter from the bulk request (not used in recent Elasticsearch versions anyway)

This one is not obvious to me, considering that the code is in the elasticsearch-py repo: https://github.com/elastic/elasticsearch-py/blob/7.7/elasticsearch/helpers/actions.py#L122
Maybe I should raise the issue there instead?

We need to remove this parameter (but only for Elasticsearch 7+): https://github.com/wagtail/wagtail/blob/a501dc257d086ea4c9d38398a0cc29dc3aaa6f76/wagtail/search/backends/elasticsearch2.py#L889
The way i'd do it is wrap it in an if statement which checks an attribute on the class. For example:
action = {
     '_id': mapping.get_document_id(item),
 }

if self.bulk_action_requires_type_parameter:
    action['_type'] = doc_type

Then on Elasticsearch2Index we set this to True but override it to False on Elasticsearch7Index

We just need to remove _type from this line:

Done.

Fixed in #6046


Armed state doesn't currently refresh on it's own if changed outside of home assistant

If someone disables our alarm system at the panel it continues to display as Armed on the home assistant dashboard.  The state never gets updated automatically there to reflect the new state.  I need to manually click "disarm" on the dashboard to have it show as Disarmed. It seems like the state used to update on it's own but maybe I'm just misremembering.  It would be great if it would periodically poll (maybe every minute) to check the state and update it accordingly if it changes.  Thanks.

This something I've noticed also here:
https://github.com/pyalarmdotcom/alarmdotcom/issues/160#issuecomment-1211014175
Funny thing is, it didn't do it this morning, but did it 2 morning before.

This something I've noticed also here:
#160 (comment)
Funny thing is, it didn't do it this morning, but did it 2 morning before.

I've had it happen several mornings in a row for me now.  Our kid heads to school around 7am and disables the alarm panel around 6:30am.  I wake up at 8am and then check the dashboard around 8:15 or 8:30 and it's still showing as "Armed" even though I can clearly see that the panel has a green light on it indicating that it has been disarmed.

This should be fixed in v0.2.15. Can you update and try again?

Once v0.2.15 makes it in to HACS I'll give it a try.  Thanks :)

HACS periodically checks GitHub for updates. You can force it to check on demand by clicking on the integration in HACS, then clicking "Update information":

That should trigger the update integration prompt.

Updated and the arming status is now correct. Will report back if the status fails to update the next time it's changed.
Thanks for the fix.


SIGSEGV when launching on archlinux

Trying to compile and run on archlinux and I am getting a sigsegv, I have tried mutter, kwin, cosmic, and niri
I ran in gdb and got the following backtrace
#0  0x00007ffff7ce8e14 in Gtk::FlowBox::remove_all() () at /usr/lib/libgtkmm-4.0.so.0
#1  0x00007ffff0045ed7 in sysmenu::app_info_changed(_GAppInfoMonitor*) () at /usr/lib/libsysmenu.so
#2  0x00007ffff646ec34 in std::execute_native_thread_routine (__p=0x555555c30d20) at /usr/src/debug/gcc/gcc/libstdc++-v3/src/c++11/thread.cc:104
#3  0x00007ffff611339d in ??? () at /usr/lib/libc.so.6
#4  0x00007ffff619849c in ??? () at /usr/lib/libc.so.6

I checked in another thread and you mentioned testing syspower, syspower works fine

Oh..  Pushed a fix for that :|
Whoopsies!
Let me know if that fixed it @Quackdoc

hmm, seem to be having the same issue still.

Splendid :+1:


[23.11] python3Packages.pypdf: add patch for CVE-2023-46250

Description of changes
https://nvd.nist.gov/vuln/detail/CVE-2023-46250
See #277910 for unstable.
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Tested on both aarch64-linux and x86_64-linux.