Tree view example

Is the intent of this example to demonstrate that someone could use this toggle behavior and get the expected semantics and behavior (specific keyboard keys and allowance for potential for some nested interactive elements) of a tree view?
Presently the behavior is similar the previous accordion/disclosure pattern, but for the fact this has retained the list semantics as nested button elements are used instead of overwriting the structural semantics like in the previous demo.

The main goal is to showcase that with a single rule you can create toggle roots for nested elements and they will work independently. I prefer the usage of explicit buttons here instead of triggering directly on the lis.

hi @jerivas.  thanks for the background.  I'll reframe my question though.   Being labelled a 'tree view' I would have expected one of two things:

this is only demonstrating that CSS toggles can be used to show/hide content similarly to a tree view, but otherwise there are absolutely no expected roles/states/properties or other keyboard behavior that would actually have this be communicated as / behave like an actual treeview. It would be completely on web authors to still do all those things, and the only thing they should assume to get from this is the show/hide functionality.
this is meant to be a demo to represent a true treeview and all the necessary roles/states/properties and keyboard behavior are meant to be demonstrated here as well, as the intent for the CSS toggle would be that this behavior would all come with it, somehow.

it's unclear to me at this point the scope of what these demos are trying to represent.  is it simply show/hide behaviors and then an author is on the hook to do everything else.  Or are the demos not accurately demonstrating the expected accessibility semantics/keyboard functionality that their labelling indicates they are meant to?
i hope that helps clarify where i'm coming from here (and with my other issues).  thanks

this is only demonstrating that CSS toggles can be used to show/hide content similarly to a tree view, but otherwise there are absolutely no expected roles/states/properties or other keyboard behavior [...]

I'd lean towards this option but will let @mirisuzanne clarify

thanks @mirisuzanne, that explanation does help.  So the polyfill is not to demonstrate the ideal end state at this point, but rather there are supposed to be accessibility issues with these widgets, and the demo is to illustrate and thus elicit feedback on what these would need to behave like?

@scottaohara Yeah, that's roughly the current state. I can work on documenting that better with some warnings. I think it would be great if we are able to resolve some of those issues here in the polyfill, and that would be a great next step here – but I expect some of these issues will require broader changes to the spec itself, and we'll want to open issues on that repo as well.
(Still trying to figure out the best place for each of these things to live - as we're a bit scattered between the spec, this polyfill, and the various potentially interested w3c working/community groups).

if you want a review of the updated documentation/warnings, or if i can help, please let me know.


Make Bater Wuckets also act like empty buckets

Hey just noticed I cant really pick up the water i placed with the Bater Wucket, so I think this could make for a cool feature if possible.
To explain the title further:
Make Bater Wuckets act like empty buckets when right clicking the air (or something similar to that) so you can also pick up that water.

+1, this would be really useful

I agree that this is rather useful, in fact it's been on my list for a long time. I've now implemented it in the form of the separate Bempty Ucket (which acts like an infinite empty bucket for any fluid) in 0.3.4 for 1.20.3+
Cheers


custom property choices attribute is not rendering properly

I am adding a new "question base" property which is dropdown in nature like choicesOrder.
When it render to question edit model (Editor) it shows [object,object] in  and value for  not set.
Survey.JsonObject.metaData.addProperty("question", {name: "customProperty", choices: [ {"value": "USA", "text": "United States of America"}, {"value": "GBR", "text": "Great Britain"} ] });
Thanks & Regards
John

@editplus86 There is a way to implement it by using this code:
Survey.JsonObject.metaData.addProperty("question", {name: "customProperty", choices: [ "USA", "GBR"] });
SurveyEditor.defaultStrings.pv["USA"] = "United States of America";
SurveyEditor.defaultStrings.pv["GBR"] = "Great Britain";

However, I would agree that your code is cleaner. It doesn't support the localization, but the most people doesn't need it.
So I would consider this as a usability bug in API.
Thank you,
Andrew

Here is the plunker example: https://plnkr.co/edit/TyxwpRfCnQDtcDROzfJC?p=preview

Thank you Andrew,
The workaround is perfectly fine. 👍

@editplus86 After the next update, your code will work as well:
Survey.JsonObject.metaData.addProperty("question", {name: "customProperty", choices: [ {"value": "USA", "text": "United States of America"}, {"value": "GBR", "text": "Great Britain"} ] });
Thank you,
Andrew


Implement unit tests for the AuthorizationCodeValidityPeriod at DAO layer

The functionality of AuthorizationCodeValidityPeriod should be tested using unit tests at the DAO layer in identity-inbound-auth-oauth.

+1

Closing this as AuthorizationCodeValidityPeriod should not be changed at the app level.


Recipe App Version 1.0

In this Project, We did created a Recipe-app
Created-

Login page and registration page:

Should be built with Devise.

Food list (only for a group that has less than 3 members):

Should display a list of food added by the logged-in user as in the wireframe (display also quantity of a given food).
Should lead to a form that allows users to add new food.

Recipes list:

Should display a list of recipes created by the logged-in user as in the wireframe.
Should lead to recipe details.
If the user is the owner of the recipe, should allow the user to delete it.

Public recipe list:

Should display a list of all public recipes ordered by newest as in the wireframe.
Should lead to recipe details.

Recipe details:

Should display a toggle button that allows for a recipe to be made public or private.
If the recipe is public or the user is the owner of the recipe, should display the recipe details as in the wireframe.
If the user is the owner of the recipe, should lead to the form that allows the user to add new food.

Make sure there are no N+1 queries happening.
Create a navigation menu that allows users to open all of the pages you created.
Write unit and integration tests
Inventories list:

Should display a list of inventories created by the logged-in user as in the wireframe.
Should lead to inventory details.
If the user is the owner of the inventory, should allow to delete it.

Inventory details:

Should display the inventory details as in the wireframe.
Should lead to a form that allows users to add new food.

Recipe details:

Should have a modal to choose an inventory to create a shopping list with, as in the wireframe.

Inventory shopping list:

Should show the list of food that is missing by comparing the food in the recipe with the food in the inventory.
Should count the total food items and total price of the missing food.

ER diagram -

Note: Please reload the recipe_details page when you Add Food or Generate Shopping List. This is because the Bootstrap CDN loads slowly.

Thanks @laiifuu  for Approving the Project 😊🎊


pip: broken non-pip dependencies

I've spent a bit on setuptools to understand how to proper install github dependencies.
Looks like pip ignore external links, also if --process-dependency-links is provided, when the packages are homonyms of others on pip official repo, as it's in spruned (forked and customized pybitcointools, connectrum, pycoin, pycoinnet).
To enable the pip installation again, a method to install third party dependencies have to be found.
It MAY be some sort of "spruned --install-github-requirements" that must be executed before the first run.
Also, the packages version MUST be checked when running spruned and a proper suggestion must be returned, to avoid incomprehensible exceptions on the topic (The user must be warned to run --install-github-requirements before going further).
Other suggestions are welcome.

I'm going to reduce third party dependencies as more as I can, to gain control full on the entire code, and increase security and transparency for code reviews, without the need to inspect and track other repositories.
I'm going to:

identify needed code from the dependencies
fork the dependency and put only that code into the project, if needed refactor it (all into dependencies module)
declare licenses and links (license must allow this practice, as today I did that only with MIT licensed code)
keep code references into the modules itself and into the readme\documentation as well, explain what's done
add test to the test suite, in this way there's also a better vision of the test coverage.

Begin in PR #57 with non-pip dependencies pybitcointools and connectrum.

Removed all git dependencies in 5b304a1f1866850e1286c9d91d1402061360a885


Use EncodeUri() if part of the URL path or EncodeUriComponent() if used as a URL parameter

https://github.com/AudienceTalkingGroup/Talkie-by-Audience-Talking---GTM-Template/blob/72ddb0e25d19323bf1d5eacae2b59d7170a8a96e/template.tpl#L172
When reviewing your template we've noticed that it is using parameters to build a url. It's a best practice to use [EncodeUri()](https://developers.google.com/tag-manager/templates/api#encodeuri) if part of the URL path or [EncodeUriComponent()](https://developers.google.com/tag-manager/templates/api#encodeuricomponent) if used as a URL parameter.

Thanks Alex!!
We build an URL that is a src of JS script to append in the page. So, we already encodeURIComponent parameters of URL like "atpu", "atru" or "cp", but, we cannot encodeURIComponent domain and other parameters like schema "https" because it won't load correctly.
Could you check it again?
Have a nice day

Hiya @pyrob! Apologies for leaving this issue open for so long. I lost it at the bottom of my Github notification queue :(
In this case, the variables that I see that should be encoded are:

atid -- this is a TEXT input so it definitely needs to be encoded
cc[0] -- as the expression getCookieValues('atleadid') can return a non-numeric value (alternatively, you can call makeNumber(getCookieValues('atleadid')) and that will work)
atru -- it should maybe be encoded but I won't block on this one on this code path

Will encoding those affect the performance of the tag?

Hi @semisight, thanks for your reply.
I already upload a new commit with the changes that you mention. Hope everything is ok now.
Thank you and have a nice day


Adding align_corners to jax.image.resize

Hi there !
I would like to reproduce the operations that are done under torch.nn.Upsample() with flax 🎉 . In PyTorch, it seems that the flag align_corners doesn't mean "align the corners" but rather "sample with equal spacing" cc @cgarciae ! Can we add this feature in jax.image.resize? 🙏 (Initially posted on google/flax)
Problem description:
Ideally:
import torch
import torch.nn as nn
import jax.numpy as jnp
import jax
import numpy as np

input_arr = jnp.array([
    [0, 1, 2, 3, 4],
    [5, 6, 7, 8, 9],
]) / 9

torch_input_arr = torch.from_numpy(np.array(input_arr)).unsqueeze(0).unsqueeze(0)
upsample_with_align_corners = nn.Upsample(scale_factor=2, mode='bilinear', align_corners=True)
upsample_without_align_corners = nn.Upsample(scale_factor=2, mode='bilinear', align_corners=False)

output = jax.image.resize(
    image=input_arr,
    shape=(4,10),
    method="bilinear")

output_torch_upsample_with_align_corners = upsample_with_align_corners(torch_input_arr)
output_torch_upsample_without_align_corners = upsample_without_align_corners(torch_input_arr)

print("jax: ", output)
print("torch upsample align corner:", output_torch_upsample_with_align_corners)
print("torch upsample without align corners",output_torch_upsample_without_align_corners)

I would like to match output_torch_upsample_with_align_corners and flax' output. Here is what I get:
# jax default output
DeviceArray([[0.        , 0.02777778, 0.08333334, 0.1388889 , 0.19444445,
              0.25      , 0.30555555, 0.3611111 , 0.4166667 , 0.44444445],
             [0.1388889 , 0.16666667, 0.22222222, 0.2777778 , 0.33333334,
              0.3888889 , 0.44444442, 0.5       , 0.5555556 , 0.5833334 ],
             [0.4166667 , 0.44444448, 0.5       , 0.5555555 , 0.6111111 ,
              0.6666667 , 0.7222222 , 0.7777778 , 0.8333333 , 0.8611111 ],
             [0.5555556 , 0.5833334 , 0.6388889 , 0.6944444 , 0.75      ,
              0.8055556 , 0.8611111 , 0.9166667 , 0.9722222 , 1.        ]],            dtype=float32)
# torch with align corner
tensor([[[[0.0000, 0.0494, 0.0988, 0.1481, 0.1975, 0.2469, 0.2963, 0.3457,
           0.3951, 0.4444],
          [0.1852, 0.2346, 0.2840, 0.3333, 0.3827, 0.4321, 0.4815, 0.5309,
           0.5802, 0.6296],
          [0.3704, 0.4198, 0.4691, 0.5185, 0.5679, 0.6173, 0.6667, 0.7160,
           0.7654, 0.8148],
          [0.5556, 0.6049, 0.6543, 0.7037, 0.7531, 0.8025, 0.8519, 0.9012,
           0.9506, 1.0000]]]])
# torch without align corner
tensor([[[[0.0000, 0.0278, 0.0833, 0.1389, 0.1944, 0.2500, 0.3056, 0.3611,
           0.4167, 0.4444],
          [0.1389, 0.1667, 0.2222, 0.2778, 0.3333, 0.3889, 0.4444, 0.5000,
           0.5556, 0.5833],
          [0.4167, 0.4444, 0.5000, 0.5556, 0.6111, 0.6667, 0.7222, 0.7778,
           0.8333, 0.8611],
          [0.5556, 0.5833, 0.6389, 0.6944, 0.7500, 0.8056, 0.8611, 0.9167,
           0.9722, 1.0000]]]])

Motivation
I am converting Dense Prediction Transformers into flax, and would like to match the output betwen PyTorch's model and flax' implementation! https://github.com/huggingface/transformers/pull/17779
cc @cgarciae , moved the issue here :)
Would love to see if I can contribute as well but I may need more guidance on how to do so!

@younesbelkada FYI I have an implementation of resizing with aligned corners here:
https://github.com/brentyi/pips-jax/blob/8ae798a31caf03dcdd1c237ac39ca5ff13d0ea4d/src/pips_jax/utils_bilerp.py#L60-L83
I just adapted jax.image.scale_and_translate:
def resize_with_aligned_corners(
    image: jax.Array,
    shape: Tuple[int, ...],
    method: Union[str, jax.image.ResizeMethod],
    antialias: bool,
):
    """Alternative to jax.image.resize(), which emulates align_corners=True in PyTorch's
    interpolation functions."""
    spatial_dims = tuple(
        i
        for i in range(len(shape))
        if not jax.core.symbolic_equal_dim(image.shape[i], shape[i])
    )
    scale = jnp.array([(shape[i] - 1.0) / (image.shape[i] - 1.0) for i in spatial_dims])
    translation = -(scale / 2.0 - 0.5)
    return jax.image.scale_and_translate(
        image,
        shape,
        method=method,
        scale=scale,
        spatial_dims=spatial_dims,
        translation=translation,
        antialias=antialias,
    )

ps: are you still interested in getting a Flax implementation of DPT merged? I'd be really interested in this!

Hi, just wondering are there any updates on this? @hawkinsp @froystig. The outputs from jax.image.resize also may be different from F.interpolate when using "bilinear" for 2D inputs.

FYI Align corners aligns the centers of the corner pixels, this is only really useful because it happens to implement the translation that is necessary to align features from strided convolutions.
The better and more general way to do this is to use the more general function, scale_and_translate,  that @brentyi shows above.  (jax.image.resize uses jax.image.scale_and_translate underneath anyway).


How to extract properties of an object

Current Situation
Hi, I have a simple question.
I have the following config and while I can extract the AAIP within the

devices is an array.
const pluginConfig = await homebridge.getPluginConfig();
const ip = pluginConfig.devices[0].ipAddress

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array

Thanks but it did not work as is.
I did a bit of trial-and-error and got it working with:
 const pluginConfig = await homebridge.getPluginConfig();
 const ip1 = pluginConfig[0].devices[0].ipAddress
 const ip2 = pluginConfig[0].devices[1].ipAddress


Add config files for the buildings dataset

@asatremeloy Consider this mostly a template. I have tested it by registering your dataset from today (1/23/2024) with the project. Please verify all values and fill in empty strings as appropriate.

Approved by me (I can’t officially approve since I opened this PR).

I think you can merge it in whenever you're ready then.

Thanks, @daniel-thom and @elainethale!


Hardcoded cutoff vs adjacency_prob.cutoff_dt()

Some functions, e.g. _deterministic_out_component() in src/temporal_component_sizes.tpp use cutoff_dt() member of the adjacency_prob, while others, e.g. implicit_event_graph<EdgeT, AdjacencyProbT>::predecessors_vert() uses a hardcoded value of 1e-20. The first function is used in in_component() and the second one in in_components(). What's the deal here?

Update: a recent commit  (875181ad3c73c69c58e2f48a380178d8b6b18697) adds cutoff_dt() to adjacency_prob::exponential to make it compatible with adjacency_prob::adjacency_prob concept but that still relies on the hardcoded 1e-20 probability cutoff.


Error while iterating on Predis\Client: Object of class Predis\Connection\Aggregate\MasterSlaveReplication could not be converted to string

Describe the bug
I get a fatal error when iterating on a Predis\Client instance which connection is a Predis\Connection\Aggregate\MasterSlaveReplication instance.
To Reproduce
With snc/redis-bundle 4.4.2 and predis/predis 1.1.10, Symfony 5.4.16, and php 8.1.11 and the following config:
snc_redis:
    clients:
        default:
            type: predis
            alias: default
            dsn:
                - "%env(REDIS_URL)%?alias=master"
                - "%env(REDIS_URL_READ_ONLY)%"
            logging: '%kernel.debug%'
            options:
                replication: true

Then run:
$ bin/console redis:query flushall -vvv

In Client.php line 540:

  [Error]
  Object of class Predis\Connection\Aggregate\MasterSlaveReplication could not be converted to string

Exception trace:
  at /srv/app/vendor/predis/predis/src/Client.php:540
 Predis\Client->getIterator() at /srv/app/vendor/snc/redis-bundle/src/Command/RedisQueryCommand.php:86
 Snc\RedisBundle\Command\RedisQueryCommand->execute() at /srv/app/vendor/symfony/console/Command/Command.php:312
 Symfony\Component\Console\Command\Command->run() at /srv/app/vendor/symfony/console/Application.php:1038
 Symfony\Component\Console\Application->doRunCommand() at /srv/app/vendor/symfony/framework-bundle/Console/Application.php:96
 Symfony\Bundle\FrameworkBundle\Console\Application->doRunCommand() at /srv/app/vendor/symfony/console/Application.php:312
 Symfony\Component\Console\Application->doRun() at /srv/app/vendor/symfony/framework-bundle/Console/Application.php:82
 Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at /srv/app/vendor/symfony/console/Application.php:168
 Symfony\Component\Console\Application->run() at /srv/app/bin/console:43

redis:query [--client CLIENT] [--] <query>...

Expected behavior
It should output:
DEBUG     [snc_redis] Executing command "FLUSHALL"
^ Predis\Response\Status^ {#389
  -payload: "OK"
}

Versions (please complete the following information):

Predis: 1.1.10
snc/redis-bundle 4.4.2
Symfony 5.4.16
PHP 8.1.11
Redis Server: bitnami/redis:6.2.6

Code sample
The code that tries to iterate on the client is here.
Additional context
N/A

I don't maintain v1.x anymore, if you want to submit a PR, it looks like the class is missing AbstractConnection's getIdentifier().

Actually, I've got the same error with predis 2.0.3:
bin/console redis:query flushall -vv

In Client.php line 524:

  [Error]
  Object of class Predis\Connection\Replication\MasterSlaveReplication could not be converted to string

Exception trace:
  at /srv/app/vendor/predis/predis/src/Client.php:524
 Predis\Client->getIterator() at /srv/app/vendor/snc/redis-bundle/src/Command/RedisQueryCommand.php:86
 Snc\RedisBundle\Command\RedisQueryCommand->execute() at /srv/app/vendor/symfony/console/Command/Command.php:312
 Symfony\Component\Console\Command\Command->run() at /srv/app/vendor/symfony/console/Application.php:1038
 Symfony\Component\Console\Application->doRunCommand() at /srv/app/vendor/symfony/framework-bundle/Console/Application.php:96
 Symfony\Bundle\FrameworkBundle\Console\Application->doRunCommand() at /srv/app/vendor/symfony/console/Application.php:312
 Symfony\Component\Console\Application->doRun() at /srv/app/vendor/symfony/framework-bundle/Console/Application.php:82
 Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at /srv/app/vendor/symfony/console/Application.php:168
 Symfony\Component\Console\Application->run() at /srv/app/bin/console:43

redis:query [--client CLIENT] [--] <query>...

I try to provide a PR for v2.


New co maintainer

We use this library in celery project. I would like to help as co maintainer off this project.

cc @Teemu

@graingert @auvipy do you think it might be time to fork it? It's a great project, it would be a shame to see its demise. (Ofc if @Teemu wanted to restart maintenance, that would be awesome)

Rather than a fork, energy seems to be coalescing behind https://github.com/nicoddemus/pytest-rich

Nice, thanks @graingert , it looks good!

pytest-sugar is awesome, @Teemu would be great if you could add more maintainers. I'd be happy to help too.
I hoped pytest-rich would be a solution, but development of that seems to have stopped too.
Another option would be to move pytest-sugar to the pytest org, we'd need to check if they were willing to accept the repo, but if so, I think that would be the best solution.

The checklist for submitting to the pytest org is virtually complete:

[x] PyPI presence with packaging metadata that contains a pytest- prefixed name, version number, authors, short and long description.

[x] a tox configuration for running tests using tox.

[x] a README describing how to use the plugin...

[ ] ... and on which platforms it runs.

[x] a LICENSE file containing the licensing information, with matching info in its packaging metadata.

[x] an issue tracker for bug reports and enhancement requests.

[x] a changelog.

I know pytest-sugar runs on (at least) ubuntu, macos, windows since I use it on CI on those platforms, so I think the checklist is complete.

With the current track record i don't want to have it in pytest-dev

Which track record?

maintainer communication and maintenance, currently i consider pytest-sugar a dead project that someone else would have to maintain
pytest-dev is not supposed to resurrect "zombies" - the people in it didn't sign up to collect maintenance liabilities

I totally get where you're coming from, and this entire question might be irrelevant if the current owner @Teemu isn't willing to move the project or add other maintainers.
But personally, as a day-in-day-out user (and massive fan :pray:) of pytest and pytest-sugar I think pytest-sugar enormously improves pytest, so I wondered if the pytest organisation might be willing to be a new home for this project?
Especially since, as @hugovk points out, there's specific provision for pytest plugins being added to the pytest org.
Regardless, I'd be happy to become a primary maintainer of pytest-sugar if @Teemu agrees.

in case additional maintainers demonstrate the project is alive and well i'm happy to welcome it

After @RonnyPfannschmidt's completely reasonable response, and having a look at pytest-sugar's code, I decided it's not worth the effort required to maintain it (at least for me).
I also realised I didn't care about much of the stuff that makes pytest-sugar output "fancy", but also very complex to maintain.
I've therefore created pytest-pretty which re-implements the bits of pytest-sugar I needed, hope it helps others needing similar functionality.

Hey 👋
As you might have noticed, I don't have much interest in maintaining this plugin. It works for my personal use as it is so I haven't had much motivation to fix issues people have. After all, this is completely voluntary work and not sponsored by any corporate (applies to most of us, of course) 😕
Although I wouldn't say it's completely dead, I do give it annual updates.

having a look at pytest-sugar's code, I decided it's not worth the effort required to maintain it (at least for me).

I can relate to this. This extension started off as a hack that I never really intended as production-quality software. I think it's still marked as "Alpha" on PyPi. Maintaining it has been rather painful as being dependent on pytest internals means breakages outside of my control.
Maybe the best way forward might be that pytest incorporates some of the ideas on this project into the core project itself.
ps. huge fan of Pydantic ❤

Thanks @Teemu for the response, and kind words.

Maybe the best way forward might be that pytest incorporates some of the ideas on this project into the core project itself.

I agree, an easy way to print some kind of error summary or traceback in real time as errors happen and adding line number to error summary would be huge wins.
Thanks again for pytest-sugar, I've used it masses over the last 5 years :raised_hands:.

bits of pytest are already moving in the direction of sugar,
i'd love to make it more easy to do things like sugar with less internals pain (time is a constraint)
in particular i'd like to enable having rich/textual based ux for pytest thats not a utter pain

@justinmayer reached out and offered to help. I gave him maintainer access.

thank I received maintainer ship as well. thanks


Exclude Name and Email from param logging

Jira link
HOTT-1730
What?
I have added/removed/altered:

[x] Added additional fields to the parameter filtering for logging

Why?
I am doing this because:

We have data in the feedbacks model we don't want logged

Deployment risks (optional)

Makes changes to the parameter filtering

Closing because wrong ticket number - see #1004


Cannot find jp game on android 11

I followed the instructions in the app for android 11 users. However, even after following all the steps, the app is still unable to detect the game.
When the screen to select the android/ folder appears, the /data folder does not show up. Is this the cause of this issue?

Closing, make a new issue if you still have trouble.


Towards proving the "VotesOnce" property for the implementation

This PR contains progress towards proving that the (real) implementation only votes once per round.

@haroldcarr I re-arranged and renamed the properties in RoundManagerInv to better match the order in which the fields mentioned in the proofs occur in the RoundManager record.

APPROVED


Allow unsafe code in examples

Towards #646.

Yes - didn't do it before as they were independent PRs, but I'll do it today.

Added now - PTAL and merge if you're happy.


autoRegister: donation does not working

LWC Version (/lwc admin version):
2.1.1-46e9fa0
Server version (/version):
Paper-446
Short five word summary of issue:
LWC don't want to auto register a donation type
Detailed description of problem:
Here's my example core.yml:
chest:
  enabled: true
  autoRegister: donation
hopper:
  enabled: true
  autoRegister: donation

If there was an error in console, put it here:
Possibly just missing feature, there's no error

@idubbbbz Yeah I'm not sure if this is a bug or not. I've never seen anyone use autoRegister with anything other than private. Will try to investigate this when I get a chance to see what it is. Out of curiousity, why do you want to use cdonation as the default?

@ghost I added support for this in the latest development builds.


feat: fix header bugs, improve UI, optimize touchscreen experience

changes:

Fix header overflow

Fix account dropdown disappear

Add background color and card to warp content
Add scroll for tables
Optimize tables for touchscreen, the table won't overflow anymore

Improve the dropdown UI when hover

Preview:
http://<IP_ADDRESS>/

Please review @nodece

@Kininaru @sh1luo plz review.

@Kininaru OK, let's fix the mobile view in next PR.


profiling of pbf parsing

Ticket to track ideas around optimizing threaded pbf parsing.
Unclear how much this impacts linux, but at least on OS X we are seeing std::vector<unsigned char> allocation taking a surprising amount of time:

The PBF implementation has totally changed, so this is not useful any more.


delegate list by-vote-weight should show non-forging delegates with 0 vote weight too

Right now it only seems to show delegates who already have votes.

@jondubois Isn't this related to ldpos-client?
const listDelegatesByVoteWeight = async function (
  client,
  pageInfo = { offset: 0, limit: 1, pageNumber: 1, order: 'desc' }
) {
  let delegates = await client.getDelegatesByVoteWeight(
    pageInfo.offset,
    pageInfo.limit,
    pageInfo.order
  );

  delegates = delegates.map((delegate) => ({
    ...delegate,
    voteWeight: _integerToDecimal(delegate.voteWeight),
  }));

  await this.pagination(delegates, pageInfo, 1, listDelegatesByVoteWeight, [
    client,
    pageInfo,
  ]);
};


Circuit not being properly measured

I see that Tanmayee fixed the plotting, thank you by the way, but the circuit looks like it's still not being properly measured. It is displaying 00 with 100% accuracy, which isn't right. I'm working on putting the measurements in now, but figured we should make an issue about it seeing as it is a persistent problem.

Merged the fix so this issue should be closed.


Merge branch 'main' of https://github.com/leenaAhmed/ITI_community in…

…to leenaAhmed-main

my edit for today


Avoid setting transforms in the buffer

Currently, the DataBuffer receives transform and target_transform and applies them when accessing an item. When deserializing the Learner state, this requires resetting the transforms (see DataBuffer.set_transforms) and generally bloats the code of the buffer.
I would propose to remove the transforms form the buffer and instead generalize the _TransformedDataset such that it can be applied to DataBuffers as well. This way, transforms are handled in a unified way by wrapping all relevant datasets in _TransformedDataset in the Learner.
To make _TransformedDataset more general, instead of passing transform and target_transform, we could pass a single transform that operates on the entire data point. When wrapping a buffer in _TransformedDataset, we just need to make sure that the metadata are "ignored" (e.g., transform=lambda (data_point, metadata): (my_transform(data_point), metadata)).

Any concerns on this? Otherwise I would add this to the next milestone and take care of it.


DirectoryPicker crashes with 2.0.6

Using DirectoryPicker with filepicker_windows 2.0.6 causes crash few seconds after the dialog finished. No problem with 2.0.2 to 2.0.5.
It is a native crash and cannot be caught by Flutter debugger.
How to reproduce:

(Optional) Create new Flutter project with VS Code's Flutter plugin
run flutter pub add filepicker_windows
paste the following code into main.dart:

import 'package:flutter/material.dart';
import 'package:filepicker_windows/filepicker_windows.dart';

void main() {
  runApp(const MainApp());
}

class MainApp extends StatelessWidget {
  const MainApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: Center(
            child: TextButton(
          child: const Text("Ignite"),
          onPressed: () {
            final file = DirectoryPicker()..title = 'Boom!';
            file.getDirectory();
          },
        )),
      ),
    );
  }
}

Pick a folder.

In case it can be SDK version-specific:

Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.10.1, on Microsoft Windows [Version 10.0.19044.1706], locale xxxxxx)
[√] Windows Version (Installed version of Windows is version 10 or higher)
...
[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.2.3)
[√] VS Code (version 1.78.2)
[√] Connected device (3 available)

Correction: Also crashes with 2.0.5

same issue!


Don't register beans about to be proxied

This prevents cases where the proxy class is registered after it's needed.

I think this was looking to fix the same issue as https://github.com/avaje/avaje-inject/pull/409 ?


this type inference doesnt work in data method

Version
2.6.14
Reproduction link
github.com
Steps to reproduce
create a Vue app using vue create
either 2.x or 3.x doesnt matter, as long as it is with TypeScript and object style component syntax
go to HelloWorld.vue and right below the props definition paste this:
  data (): { hellStringType: string, hellNumberType: number, hellInvalid: string} {
    debugger;
    return {
      hellStringType: this.getNumber(),
      // should fail due to field type and return type not matching
      hellNumberType: this.getNumber(),
      // should fail due to there being no such function
      hellInvalid: this.buildSomethingElse(),
    }
  },
  methods: {
    getNumber (): number {
      return 42
    }
  }

What is expected?
type inference for the method calls should work, and thus the compilation should fail
What is actually happening?
type inference doesnt work, the invalid code compiles fine. Type inference works only for props.

running the code in a browser with debug statement, the methods called are accessible

I have this issue too

I have the same issue
interface IDropdownItem {
  selector: string,
  handler: number,
  title: string,
}

interface HeaderData {
  isShowDropdown: boolean
  dropdownItems: Array<IDropdownItem>
}

I have such interfaces for describing the data
  data(): HeaderData {
    return {
      isShowDropdown: false,
      dropdownItems: [
        {
          selector: 'SELECTOR-1',
          handler: '123',
          title: 'TITLE-1',
        },
        {
          selector: 'SELECTOR-1',
          handler: '123',
          title: 'TITLE-1',
        },
      ]
    };
  },

in this case, the typescript highlights the incorrect typing of the "handler" field

if I change one of the "handler" fields to the expected type, only the wrong field will be highlighted. This corresponds to the expected behavior

But if I pass a function to one of the fields, and leave the second field with the wrong type, then both fields will be considered correct

If the function is set as a callback, then typing works fine

我有同样的问题
interface IDropdownItem {
  selector: string,
  handler: number,
  title: string,
}

interface HeaderData {
  isShowDropdown: boolean
  dropdownItems: Array<IDropdownItem>
}

我有这样的接口来描述数据
  data(): HeaderData {
    return {
      isShowDropdown: false,
      dropdownItems: [
        {
          selector: 'SELECTOR-1',
          handler: '123',
          title: 'TITLE-1',
        },
        {
          selector: 'SELECTOR-1',
          handler: '123',
          title: 'TITLE-1',
        },
      ]
    };
  },

在这种情况下，如果我将“处理程序”字段之一更改为预期类型，打字稿会突出显示“处理程序 ”字段的错误输入，只会突出显示错误的字段。这对应于预期的行为 但是如果我将一个函数传递给其中一个字段，并让第二个字段的类型错误，那么这两个字段都将被认为是正确的
如果该函数设置为回调，则键入工作正常

可以看看这个demo，好像ts是会有这个问题

可以看看这个demo，好像ts是会有这个问题

Use defineComponent with Explicit Typings (Vue 3)
If you're using Vue 3, you can explicitly define types for the data() method using defineComponent. Here's an example of how to do it:
<script lang="ts">
import { defineComponent } from 'vue';

export default defineComponent({
  data(): {
    hellStringType: string;
    hellNumberType: number;
    hellInvalid: string;
  } {
    return {
      hellStringType: this.getNumber(),
      hellNumberType: this.getNumber(),
      hellInvalid: this.buildSomethingElse(),
    };
  },
  methods: {
    getNumber(): number {
      return 42;
    },
    buildSomethingElse(): string {
      // Return a valid value to match the type
      return 'Valid string';
    }
  }
});
</script>

This solution will allow TypeScript to infer and validate types in your Vue components correctly. It ensures the data() method is correctly typed, and also ensures that method calls within data() are type-checked properly.

@ShwetaUKonde31 I am pretty sure (as sure as can be for a question I asked two years ago) that you misunderstood what I was asking.
Having the sections of data and methods exactly as I describe them in my example (methods has a single getNumber function that returns a number), the this inference inside of the data method doesnt work correctly.
I am able to use a nonexisting function (buildSomethingElse) and I am able to set the hellStringType (which is a string type) with the return value of the getNumber function (that returns a number type).
And for all of these mistakes, I do not get any TypeScript errors.


Add version.json

Adding a version.json file at main level of repository summarizing various components and version numbers

This is meant to serve as a top-level version documentation available as a quick check, instead of looking at cmake files. Also serves as a self-documenting version history as we create branches and releases in future. This avoids maintain separate documents on internal wiki to track which version had which libraries etc.
Initial creation was meant to be a flat json file, but can evolve over time (some libraries simply use a SHA from main instead of a tag or release, so havent included those -- we can think about how to incorporate those in future, or alternatively upgrade those libs to use a tag/release version to align).
Also, future use case is to make this available not just as a static file, but display version details from binary (infrap4d --version for example).
Will move this to draft PR for now and have some spec about it.

Closing this as #43 is duplicating this effort


WIP - Clickhouse integration

[ELE-33] [Feature] Support Clickhouse #52

Hello, do you need any help, I'd be happy to contribute

Hello, do you need any help, I'd be happy to contribute

Hey, would love to receive any help that you could provide! Please check out this guideline provided by Maayan.
As of now, we have completed step 1. Now we need to focus on adding support in the CLI for Slack alerts and UI generation

Hi @Arun-kc !
Thanks a lot for this PR.
I see it's been a while since this contribution was created and actually @ofek1weiss commented on it back then. Did you have a look into it since?
In any case, since it's been a while, I'm closing the PR for now.
If you'd still like to contribute it, please fix the conflicts and address the comments above, and also please ensure integration tests pass (the contribution guide can help)
Thanks!


Create a new guest user (Invite an external user into Azure AD)

Hi all,
I have some trouble with the SDK/documentation. Maybe it is just my fault so please do not hate me.
I have been working on a project where I have two ongoing issue.

Create a new guest user (Invite an external user into Azure AD)
Assign the invited user into a subscription as reader via the user object_id(or somehow)

I found the PowerShell alternative for the 1. but nothing for 2.
Is there any exists Python SDK solution for both issue or I have to use the native RestAPI?

Hi @realrill !
Sorry for the late answer. What you want do is likely to be done with azure-mgmt-authorization. I don't have a specific sample, but this part of this might help you:
https://github.com/Azure-Samples/compute-python-msi-vm#role-assignement-to-the-msi-credentials
# Get "Contributor" built-in role as a RoleDefinition object
role_name = 'Contributor'
roles = list(authorization_client.role_definitions.list(
    resource_group.id,
    filter="roleName eq '{}'".format(role_name)
))
assert len(roles) == 1
contributor_role = roles[0]

# Add RG scope to the MSI token
for msi_identity in msi_accounts_to_assign:

    role_assignment = authorization_client.role_assignments.create(
        resource_group.id,
        uuid.uuid4(), # Role assignment random name
        {
            'role_definition_id': contributor_role.id,
            'principal_id': user_object_id
        }
    )

Hi @lmazuel,
Thank you for your response.
I just quickly overviewed the doc of azure-mgmt-authorization and looks like this is what I looked for the user assignment to subscription.
I guess I focused on the Active Directory and Resources documentation and did not realise I was on the wrong page.
Fortunately I made a workaround with native REST Api but I would prefer use SDK.
I will test and implement it while I am waiting for the 1. resolution.
Thank you for your help!

@yugangw-msft what would you do for:

Create a new guest user (Invite an external user into Azure AD)

This is not possible till we are able to integrate AAD team's swagger into SDK's spec repository. There is an ownership discussion going on right now, and I hope we can resolve that and get this scenario covered soon.

Is there an update on this feature request?
I also need to create guest accounts with a python script based on some events from a webhook.

Just want to know that if there is a plan to support this feature in the SDK ?


chore: update eslint to v9

Currently blocked by https://github.com/typescript-eslint/typescript-eslint/issues/8211


Possibly add support for standard

Prettier can emit this:
function test() {
  const {quantity = quantities[cartType], delta = 0} = changes[
    cartType
  ] || {};
}

which seems to violate the standard/computed-property-even-spacing rule.

I can’t reproduce this anymore.


[Feature request] Remember Shared Note Status + Edit Share Options

Right now you can click ... option and choose share link to share a note. However, after a note is shared there is no way to update the shared note, delete the shared note, or view/get the share not link again. You could click share note again but that will just create a brand new note.

It would be great if when you clicked share a link, if you then clicked the ... option again it would show the following options.

Update Share Link
Delete Share Link
View Share Link
Copy Share Link

OzanShare seems to have the sort of functionality I'm describing which can be seen in this video.
https://www.youtube.com/watch?v=yrwg4wqUg3A
I assume you could so something similar to OzanShare by storing the key/link in the frontmatter

Thanks for the feature request! This is indeed a highly requested feature that I will look into soon.

Hope to see some update on the update feature soon ;)


terminal escape codes visible in windows cmd terminal when running marimo edit

Describe the bug
←[33mUpdate available 0.6.26 → 0.7.0←[0m
Run ←[32mpip install --upgrade marimo←[0m to upgrade.

        ←[1;32mCreate or edit notebooks in your browser←[0m 📝

        ←[32mURL←[0m: ←[1mhttp://<IP_ADDRESS>:2719?access_token=OapqfwxOHZMrTCEeY2DuAw←[0m

All those [32m and [0m appear making it hard to read the ouput.
Environment
{
"marimo": "0.6.26",
"OS": "Windows",
"OS Version": "10",
"Processor": "Intel64 Family 6 Model 85 Stepping 4, GenuineIntel",
"Python Version": "3.10.11",
"Binaries": {
"Browser": "126.0.6478.127",
"Node": "--"
},
"Requirements": {
"click": "8.1.7",
"importlib-resources": "missing",
"jedi": "0.19.0",
"markdown": "3.6",
"pymdown-extensions": "10.8.1",
"pygments": "2.16.1",
"tomlkit": "0.12.5",
"uvicorn": "0.30.1",
"starlette": "0.37.2",
"websockets": "12.0",
"typing-extensions": "4.7.1",
"black": "23.7.0"
}
}
Code to reproduce

Go to the lower left search bar.
type cmd followed by enter
in the resulting terminal type marimo edit followed by enter

@ggggggggg we don't currently have any maintainers (or contributors) with a windows setup.
hopefully someone with a windows setup and help debug and contribute the fix.

Well then I'm impressed it works as well as it does. On another windows machine the terminal looks colored just as expected. So it's not fundamental.

Marimo env for the machine with colored terminal output. Maybe it's related to windows 10 vs 11 since the working machine is windows 11?
  "marimo": "0.7.9",
  "OS": "Windows",
  "OS Version": "11",
  "Processor": "Intel64 Family 6 Model 142 Stepping 10, GenuineIntel",
  "Python Version": "3.12.4",
  "Binaries": {
    "Browser": "--",
    "Node": "--"
  },
  "Requirements": {
    "click": "8.1.7",
    "importlib-resources": "missing",
    "jedi": "0.19.1",
    "markdown": "3.6",
    "pymdown-extensions": "10.8.1",
    "pygments": "2.18.0",
    "tomlkit": "0.13.0",
    "uvicorn": "0.30.3",
    "starlette": "0.38.0",
    "websockets": "12.0",
    "typing-extensions": "4.12.2",
    "ruff": "0.5.4"
  }
}

Just checking, are you using Windows Terminal or Windows Command Prompt on Windows 11?

I wonder if we should be using click.echo (which claims to be more environment friendly) instead of print.

Closing this as I think this is fixed by checking if we support colors: https://github.com/marimo-team/marimo/pull/3146/files#diff-92c30eba0f093c2dfa5a0bd78433068066664c81f11bdb5822902b2889295c5cR13-R39


Update hid-usages.md

Add usage page/usage id examples with hidusage.h constants.

Thanks for the clean-up, @DJm00n
Appreciate the PR.
Eliot


Next rusqlite release (0.22)

Ah, so it looks like I'm going to need a release of rusqlite with support for the modern_sqlite feature (I actually thought this had been in a release already...). Hrm. Annoying cargo didn't catch this prior to cutting libsqlite3-sys... oh well sigh.
I see https://github.com/jgallagher/rusqlite/releases/tag/untagged-20900e06cd82a2a169b6, so some stuff is prepped? Anything we're waiting on? (I'm not sure how far #631 is -- it feels to me like it needs a little more time...)
I can also push on anything relatively doable that seems worth getting done first (I've been trying to do this today / yesterday) so if there's anything you'd like to get done first let me know.
All that said, if you'd rather not cut a release for a while I can possibly vendor a temporary fork of rusqlite into firefox instead.
CC @gwenn
(P.S. thanks a ton for being responsive -- I know you're busy; sorry the sudden activity seemingly out of nowhere)

#671 would be good to get before a release. I'll do that now.

Sorry for landing so much today -- there have been a lot of small things that bug me for a while, and also I wanted to get more familiar with some parts of the code I hadn't touched.

This might be set of changes you would need to add to the release:

rusqlite now exposes the bundled-windows feature, forwarding to libsqlite3-sys #682
rusqlite::Result<T> is now defined as type Result<T, E = rusqlite::Error>. This avoids needing to access std::result::Result explicitly when rusqlite::Result is brought into scope #678
Rows now support mapped and and_then functions which return Iterators.
This is useful if you cannot use query_map or query_and_then for some
reason. #676
A new error variant was added for using the wrong number of bound parameters.
Previously this caused a panic #675.
Many rusqlite enums have been made #[non_exhaustive] for better extensibility. #673
Various low-level Statement apis have been added to allow separating
parameter binding and statement execution. #668

I'd like to get #684, #499, and #687 (only because it requires a minor version bump of libsqlite3-sys), but none of these are that important to me and I'd be willing to do without.


Copy and pasted Particles attribute from bottom-paper-example.

(Partially) closes #67?
I attempted to test it but though it let me login once before adding the graphics, if refused to let me login a second time - thus, preventing me from testing it.

Yeah, we need to figure out a way to get the developers test data.
The problem arises because you all don't have "accounts" in the database, meaning that the database denies you entry because you're not recognized. If the register feature were working we'd use that.

Great job @ashlyndevries !


View the failed rows from a reference check

For this check:
checks for LOCATIONS:
  - values in (LOC_TYPE_CODE) must exist in LOCATION_TYPES (LOC_TYPE_CODE)

This is the result I see. Is there a way to see those 3 failed records (or at least the invalid LOC_TYPE_CODE values) in Soda Cloud, like we can with other checks?

(from https://soda-community.slack.com/archives/C01TFMC2S57/p1655910623768949)

SODA-909

Fixed in 3.0.3

@pwrignall  Can you please check with 3.0.3 and let us know if it works?


fix conflict with master

I did not, I think George did, but I am not sure if we need to merge the
branch of Debbi-mnist or not. Since I saw there is an open PR to merge into
master, that is why I try to fix its conflicts to master. If not needed we
can close the PR
On Sun, 26 Mar 2023 at 17:27, Car-la-F @.***> wrote:

@.**** commented on this pull request.
In domainlab/utils/generate_benchmark_plots.py
https://github.com/marrlab/DomainLab/pull/177#discussion_r1148578923:

@@ -19,40 +32,77 @@ def gen_benchmark_plots(agg_results: str, output_dir: str):

 agg_results: path to the csv file
 output_dir: path to a folder which shall contain the results

skip_gen: Skips the actual plotting, used to speed up testing.

I don't see skip_gen as an argument to this function, I also don't
remember that I have add something like this. @smilesun
https://github.com/smilesun did you to add this feature?
—
Reply to this email directly, view it on GitHub
https://github.com/marrlab/DomainLab/pull/177#pullrequestreview-1358046755,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAELKRU5EE24CHGWT4BQGZLW6BU63ANCNFSM6AAAAAAWIEDEFQ
.
You are receiving this because you were mentioned.Message ID:
@.***>


find_pid within init.d script can qualify different Tomcat installations

When a consumer installs multiple instances of Tomcat on a host, it cause a scenario where the find_pid bash function, can actually qualify a wrong instance (based on the naming applied by the consumer). Example:

my_app
my_app_1

With these two, there could be the following installations (and running PIDs):

/opt/tomcat/my_app (pid: 123)
/opt/tomcat/my_app_2 (pid: 456)

While both of these service processes are running, you could issue service tomcat_my_app status, but it actually qualifies PID 456 (rather than PID 123). This because the find_pid function is not terminating on the $CATALINA_HOME with a slash, and follows it with a .*.
find_pid() {
  PID=`pgrep -u $USER -f "$CATALINA_HOME.*$START_CLASS"`
}

Where $CATALINA_HOME can be /opt/tomcat/my_app in the script, which allows it to qualify /opt/tomcat/my_app_1 when executing pgrep. One proposed way of fixing this, is terminating the $CATALINA_HOME with /.

Thats unfortunate. The solution seems like a good idea.
Further down the road we may want to consider moving off init to either upstart or systemd. I know for upstart you can just specify the command to run the service and it handles the rest.

Agreed. Do we want to have a different issue logged for the tech uplift on these?

Logged #22 for that uplift


Resolves issue #165

What is the purpose of this pull request?: Grammar fix
What issue does this pull request address?: Fixes #165
Notes for reviewers to consider:
Specific reviewers for pull request:

This change is

LGTM. Thanks @eeiden !


Installer doesn't disable launch of VScode  even when installing with /mergetasks=!runcode

VSCode Version: 1.21.1
OS Version: Microsoft Windows 10 Pro 64-bit 10.0.15063.0

Steps to Reproduce:

Run VSCodeSetup-x64-1.21.1.exe /SILENT /NOCANCEL /MERGETASKS=!runcode /LOG="C:\Windows\Logs\Software\Microsoft_VisualStudioCode_1.21.1_x64_02.log"
See Code being executed at the end of installation

This wasn't the case before (last tested on 1.19.3)

Does this issue occur when all extensions are disabled?: N/A

https://github.com/Microsoft/vscode/issues/19319 mentions this should work.

The issue is that the ! that would disable a task is not making from the command line arguments into the effective installer config that is used.
Here is a workaround in the mean time.
Generate a new setup .inf file:
VSCodeSetup-x64-1.38.1.exe /verysilent /mergetasks='!runcode,addcontextmenufiles,addcontextmenufolders,a
ssociatewithfiles,addtopath' /saveinf=vscode.inf

Then edit vscode.inf (change "Tasks" line so "runcode" becomes "!runcode":
[Setup]
Lang=english
Dir=C:\Program Files\Microsoft VS Code
Group=Visual Studio Code
NoIcons=0
Tasks=addcontextmenufiles,addcontextmenufolders,associatewithfiles,addtopath,runcode ## Change to "!runcode" instead of "runcode"

Then, you can use that vscode.inf in your unattended installation:
VSCodeSetup-x64-1.38.1.exe /silent /loadinf=vscode.inf


Add more test coverage for standard finder

Fix the GzippedWhisperReader get_interval method to work
Add a little bit of coverate for finder of gzipped whisper files.

Current coverage is 65.86% (diff: 66.66%)

Merging #1745 into master will increase coverage by 0.15%

@@             master      #1745   diff @@
==========================================
  Files            54         54
  Lines          6170       6172     +2
  Methods           0          0
  Messages          0          0
  Branches       1216       1217     +1
==========================================
+ Hits           4054       4065    +11
+ Misses         1903       1893    -10
- Partials        213        214     +1

Powered by Codecov. Last update 64698ce...ea6a610

Always a fan of your tests. 👍

:boom:


PHPCI printing only "Class PHPCI\Controller not found" error

Oya,
I've just installed PHPCI and found out it's not working. The installation process went without problems but website itself is a bit blank. In logs I've found an error:
Fatal error: Class 'PHPCI\\Controller' not found in /vendor/block8/b8framework/b8/Application.php on line 93
So, here's the Nginx config:
server {
  server_name ci.example.com;
  root /var/www/example.com/ci/public;
  access_log off;
  error_log /var/www/example.com/ci/error.log;
  index index.php;

  location / {
    try_files $uri $uri/ /index.php$is_args$args;
  }

  location ~ (index)\.php$ {
    include fastcgi_params;
    fastcgi_pass unix:/opt/php-5.5.12/var/run/phpci.sock;
    fastcgi_param SCRIPT_FILENAME /public$fastcgi_script_name;
  }
}

And here's the PHP pool config:
[ci.example.com]
listen = /opt/php-5.5.12/var/run/phpci.sock
listen.owner = www-data
listen.group = www-data
listen.mode = 0660
user = www-data
group = www-data
pm = dynamic
pm.max_children = 15
pm.start_servers = 2
pm.min_spare_servers = 2
pm.max_spare_servers = 10
chroot = /var/www/example.com/ci
chdir = /

My guess is that the problem might be somewhere in the fact that the application is locked in the chroot. I've dumped $_SERVER to see what is going in...
[SCRIPT_FILENAME] => /public/index.php
[SCRIPT_NAME] => /index.php
[REQUEST_URI] => /session/login
[DOCUMENT_URI] => /index.php

And then checked the $fc:
PHPCI\Application Object
(
    [route:protected] =>
    [controller:protected] =>
    [request:protected] => b8\Http\Request Object
        (
            [params:protected] => Array
                (
                )

            [data:protected] => Array
                (
                    [path] => n/login
                    [parts] => Array
                        (
                            [0] => n
                            [1] => login
                        )

                )

        )
...

And there is something... The path value is n/login instead of session/login.
So, in case you get a spare minute or two, I'd be happy if you've checked what might be a cause and how to fix it.

I also have same error how can I solve Class 'PHPCI\Controller' not found in C:\xampp\htdocs\PHPCI\vendor\block8\b8framework\b8\Application.php on line 93

Have you seen the comment by Marco in issue #642? Referenced above by niden?

yes I refereed to #642 and changed folder name to lower case but still same error
Fatal error: Class 'PHPCI\Controller' not found in C:\xampp\htdocs\phpci\vendor\block8\b8framework\b8\Application.php on line 93

Hi,
Iam getting below error Class 'PHPCI\Controller' not found when using http://localhost/phpci/session/login. I have put .htacces file in phpci not in public and using window os. Can you help me regarding this.

Same issue here. Did a composer create-project block8/phpci phpci --keep-vcs --no-dev and set up an apache vhost. Getting a white screen of deatch and the following error:
PHP Fatal error:  Class 'PHPCI\\\\Controller' not found in /var/www/phpci/vendor/block8/b8framework/b8/Application.php on line 93

bart is your problem is solved or not. Are you installing phpci in localhost?

Yes it has been solved by installing the latest release, thanks!

I am getting the same thing in my error logs:
[Wed Apr 15 15:04:09.757156 2015] [:error] [pid 9410] [client <IP_ADDRESS>:54484] PHP Fatal error:  Class 'PHPCI\\Controller' not found in /var/www/phpci/vendor/block8/b8framework/b8/Application.php on line 93, referer: http://testing.xpressivetech.com/
Seems to show up when I hit every page. What's causing this? I assume this is what is causing it to not run any builds.

Nothing seems to help. Pulled latest / composer update. Switched to Nginx. Clean installed 3 times now. Can't get any of the projects to build. Stuck on processing. And I keep getting the error mentioned above. Anything I can do to help debug this?

Same here. It was working fine until yesterday and suddenly this error.

Please reopen, I am experiencing this bug as well on Apache 2.4 with PHP 5.6.

Also on nginx 1.2.1 on raspberry pi 2 facing the same issue. Will be very glad for any hint to resolve problem. If needed, i am prepared to do some debugging too.

I am also getting this error on a clean install, have tried both 1.6.0 and Master.
The error is generated when loading any URL. Strangely, the app still loads ok, but none of the forms save.
Running Apache 2.3 and PHP 5.4

Need a solution too. Updated PHPCI, debugged like above, seems like different code I have. Error in my apache log says controller not found

Same here, composer update did not work. Apache 2.4, PHP 5.6 and Windows 7

Hello,
When I access the URL http://localhost/phpci/public/

Fatal error: Uncaught Error: Class 'PHPCI\Controller' not found in C:\xampp\htdocs\phpci\vendor\block8\b8framework\b8\Application.php:93

Virtual Host

<VirtualHost *:80>
DocumentRoot "C:/xampp/htdocs/phpci/public"
ServerName phpci.local

<Directory "C:/xampp/htdocs/phpci/public">
    Options Indexes FollowSymLinks MultiViews
    Order allow,deny
    Allow from all
    AllowOverride All
    Require all granted
    Satisfy Any
    </Directory>
   </VirtualHost>

If I access the URL http://phpci.local/ after configuring the 'virtual host' in apache config and .htaccess it shows the following error:

"This site can’t be reached"

in Chrome.
I'm using PHP 7.0.1
OS: windows 10
PHPCI : 1.6.0
Please help to fix this issue.

Please reopen, I've installed phpci via composer and got this
Fatal error: Class 'PHPCI\Controller' not found in /vendor/block8/b8framework/b8/Application.php on line 94
phpci 1.7.1
php 5.6
OSX 10.11.4

Same to me PHPCI 1.7.1
PHP VERSION 7.0.9
Apache
Debian Linux

Same issue here:
Fatal error: Uncaught Error: Class 'PHPCI\\Controller' not found in /var/www/vendor/block8/b8framework/b8/Application.php:93 Stack trace: #0 /var/www/PHPCI/Application.php(124): b8\Application->loadController('PHPCI\\\\Controll...') #1 /var/www/vendor/block8/b8framework/b8/Application.php(85): PHPCI\Application->loadController('PHPCI\\\\Controll...') #2 /var/www/vendor/block8/b8framework/b8/Application.php(69): b8\Application->getController() #3 /var/www/PHPCI/Application.php(88): b8\Application->handleRequest() #4 /var/www/public/index.php(16): PHPCI\Application->handleRequest() #5 {main} thrown in /var/www/vendor/block8/b8framework/b8/Application.php on line 93

No idea where the reference to /var/www came from

same here, php running on windows wamp 2.5 (php 5.5)

I guess this project isn't (actively) maintained anymore. Does someone know any good alternatives for PHPCI?

Perhaps @dancryer muted this thread, as I'm planning to, since the original issue was closed? Two years ago. There are steps to debug above and references to the commits that fixed the original issue.
It's possible (likely) that even though you're getting the same error "Class not found", there's a different root cause which would warrant creation of a new issue. Have you tried debugging the problem?
There've been commits and there's been activity on numerous PRs etc recently, e.g.:

Well, August was about 4 months ago. Not very activerly developed and maintained imho.

I am with Daniel, this not been actively maintain. Sure people might be
creating PR but that is about it. I have not tried it myself but Team City
by JetBtains looks interesting. They have a free tier.
On Thu, Dec 8, 2016, 6:07 PM Daniel Ruf<EMAIL_ADDRESS>wrote:

Well, August was about 4 months ago. Not very activerly developed and
maintained imho.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Block8/PHPCI/issues/410#issuecomment-265883005, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAPd3U8LAa_WupQXZTRjAGwFew2e-WXoks5rGI2bgaJpZM4B52lO
.

--
Sincerely,
Pablo Tejada
From Mobile

I am with Daniel, this not been actively maintain. Sure people might be
creating PR but that is about it. I have not tried it myself but Team City
by JetBtains looks interesting. They have a free tier.
On Thu, Dec 8, 2016, 6:07 PM Daniel Ruf @.***> wrote:
Well, August was about 4 months ago. Not very activerly developed and
maintained imho.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#410 (comment)>, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAPd3U8LAa_WupQXZTRjAGwFew2e-WXoks5rGI2bgaJpZM4B52lO
.
Sincerely,
Pablo Tejada
From Mobile

TeamCity indeed looks interesting https://www.jetbrains.com/teamcity/

It's up to you Dan/Pablo, but I'd argue there's a difference between "not actively maintained" and "not maintained as quickly as I'd like".
Out of interest Dan, why did you reference that particular issue (1214) to make your point? Did you read it? Or was it a typo? There are plenty more recently updated issues, so you didn't do a search/sort for most recently updated issues... ¯_(ツ)_/¯

It's up to you Dan/Pablo, but I'd argue there's a difference between "not actively maintained" and "not maintained as quickly as I'd like".
Out of interest Dan, why did you reference that particular issue (1214) to make your point? Did you read it? Or was it a typo? There are plenty more recently updated issues, so you didn't do a search/sort for most recently updated issues... ¯_(ツ)_/¯

It is just one of the current 202 examples.

@adamazing it does not make any differen when you look at recently updated issues as there is no activity from any member / contributor of this project.
https://github.com/Block8/PHPCI/issues/516
Build system isn't working anymore and the Gitter channel is quite empty https://gitter.im/Block8/PHPCI

I guess this project isn't (actively) maintained anymore. Does someone know any good alternatives for PHPCI?

@DanielRuf @ptejada https://github.com/corpsee/php-censor

As with all open source projects, there are times of high activity and times of low activity on PHPCI.
Despite several attempts to involve other people in maintaining the project, I'm pretty much the only maintainer here, and being self employed I have to balance working on PHPCI vs. actually making a living.
Given that the original issue here was resolved, literally years ago, I have to assume a new issue has arisen over time and thus if you're experiencing this problem - I'd ask that you submit a new bug report with detailed information about your configuration. There are hundreds, maybe thousands, of working PHPCI installations, so it stands to reason that this is a localised configuration problem.


DBLocalization seems to prevent xml localization for second culture

Using Optimizely CMS 12, Asp.Net Core 6.
We have DBLocalization working fine in both English and French. XML Localization in English also works well as a fallback, however French localization doesn't work. If DBLocalization init code is commented out in Startup.cs, both English and French xml localization works well.
For some reason, when DBLocalization is used, XML French localization stops working (English xml works fine).
We're trying different configurations of options but nothing seems to get french xml working when DBLocalization is used.
Has anyone run into this?
Thank you

Just verified (but with Norwegian language) - it's working as expected.
So here is my setup:

added XML based localization with

services.AddLocalization(options =>
{
    options.ResourcesPath = Path.Combine(_webHostingEnvironment.ContentRootPath, "lang");
});

created new XML file with 2 languages:

<?xml version="1.0" encoding="utf-8"?>
<languages>
  <language name="Swedish" id="sv">
    <resourcefromxml>
      <prop1>Property 1 from XML file (SV)</prop1>
    </resourcefromxml>
  </language>
  <language name="Norsk" id="no">
    <resourcefromxml>
      <prop1>Property 1 from XML file (NO)</prop1>
    </resourcefromxml>
  </language>
</languages>

used resource in view:

@Html.Translate("/resourcefromxml/prop1").ToString()

works as expected and shows Norwegian content if browsing in "no" culture:

maybe there is something else about your setup that we haven't noticed..
sample code is available in Alloy sandbox: https://github.com/valdisiljuconoks/localization-provider-epi/commit/f62f8d835877a4d60846abf686ae84c7ae5227ad

Thank you for taking the time for this, much appreciated.
If you add DBLocalizationProvider.Episerver and DblocalizationProvider.AdminUI.Episerver to the project and configure them in Startup, does xml localization continue to work as expected for both languages?

yes, check out alloy sandbox. Translate() returns correct resource text for both languages.

Ok, it might work in our project as well. Where we're running into issues is when using @Html.LabelFor(x => x.Name) along with LocalizedDisplay attributes and other attributes on the properties. Is that supposed to work as well?


Solution for "Jenkins runs out of space"

Has anything been done to avoid this problem happening again? Otherwise, I can start exploring a solution.

I deleted lots of things by hand and then changed the one "Orphaned Item Strategy" so that "Max # of old items to keep" is 1.  I'm not sure what an orphan is.  We may get too many of them and may get too many non-orphans with too many items.  Not being on / would give us some more flexibility.  I was going to see how long it takes to fill up again, but better ideas are welcome.

For now we simply have more space.


Add markers encryption_sse_c and encryption_sse_kms

testing of sse-c is now possible without a configured kms
add header 'X-Forwarded-Proto' = 'https' if is_secure is set to False in the configuration file

Hi, please let me know if there is anything to change, would love to get it done

Hey @cbodley or @mattbenjamin - would you mind taking a look at this PR? Thank you :)


Filtering by dataset name land_use_permits returns 500 Internal Server Error

Providing the dataset_name query parameter with value land_use_permits, or dataset_name__in with that as the only element*, causes an error. The dataset name does exist, and appears in the unfiltered output from /datasets.
http://plenar.io/v1/api/datasets?dataset_name=land_use_permits
http://plenar.io/v1/api/timeseries?dataset_name=land_use_permits

This also happens with the dataset name usa_nursing_home_ratings, and possibly others.
* If other dataset names are provided that do not exhibit this issue, the expected successful response is returned for the others, but without the problematic dataset

Two more, these from the /grid endpoint:

state_university_construction_fund_sucf_contracts_
environmental_control_asbestos_demolition_permits_

In this case, those trailing underscores are very suspicious

Another problem endpoint: /timeseries. I'm seeing a 65% failure rate querying single datasets.


Require package verifier, no more human readable summaries.

Submitters must be able to run:
python3 -m mlperf_logging.package_checker  training 0.7.0
python3 -m mlperf_logging.result_summarizer  training 0.7.0
But should change rules to do away with human readable summaries.

SWG: OK


Commit vs. Push

Following on Glenn's input, I have searched online about best practices and norms on how and when to use "commit" vs. "push". So far, I didn't find a definitive answer to this question. There is an interesting discussion in Quora that I have added to the readme.md file (Branch 1). I open this issue for us to collect more ideas and sources of info on this issue.

Great - I really like the figure on the Quora thread!/Users/Glenn/Downloads/main-qimg-d151c0543baa145e6252c1ec95199963.png

Hi @glennmagerman, I can't see the picture unfortunately. Could you please post it again? Or can you post the link?


[Feature request]: Use a signalr client?

Just passing by, scrolling through the code. And recognized the signalr protocol
https://github.com/acheong08/EdgeGPT/blob/f17417b869cb4f4159f2c4903abf16fc65ee3e98/src/EdgeGPT.py#L176-L178
Was just curious if you thought of using a preexisting signalr client instead of implementing the protocol.

Planning on migrating to https://github.com/mandrewcito/signalrcore later. Websockets is easier to implement for now.

After implementing the same thing in 2 different SignalR libraries, I have decided to stick with websockets. The level of abstraction is too high and is difficult to use for reverse engineering.

I used Insomnia to reverse it

I used Insomnia to reverse it

Oh, cool then.


fix(Dashboard): Retain colors when color scheme not set

SUMMARY
This PR does the following:

It fixes an issue for which colors would sometimes not keep their consistency when leaving and revisiting the Dashboard.
It fixes an issue for which charts original color schemes were not tracked making falling back to their origin color scheme impossible when removing the color scheme from the Dashboard.
It attempts to fix and re-enable skipped E2E tests that are critical for the coverage of the color consistency implementation.

BEFORE
https://github.com/user-attachments/assets/d66e66ff-13ec-4bb1-a1bf-72f6afcd1bfc
AFTER
https://github.com/user-attachments/assets/fd74e76e-ea20-4d89-8f05-49455bcb5fd0
TESTING INSTRUCTIONS

Open a Dashboard with a color scheme and shared label colors
Edit the Dashboard properties and remove the color scheme
After applying the changes, verify that shared label colors are still respected
For charts that do not share labels, verify their original color scheme is respected
Save and exit the Dashboard by going to the Dashboard lists
Come back again to the same Dashboard you just saved
Make sure colors haven't changed from the previous state

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

Upvote for this. We also have this problem.

OMG thank you!

I will try to tackle an issue for which after deleting a color scheme from a Dashboard and then editing the Chart from the Dashboard, Explore won't allow to customize the color.


Odqa Ranker

The same as in pull-request #130
Comments from pull-request #130 are taken into consideration.
New files in dev are changed according to the core refactoring, dev is merged.
Not all tests are passed (consecutive ner training and infering failed).

Update:

fixed ner ontonotes consecutive training-inferring
All tests passed.

DataLearningIterator still has 'batch_sizeparameter forget_batchesmethod and does not have the same parameter forinit` method. Both iterators should have identical behavior.


Timed out waiting for /wrench/ topic

after running this script

rosrun ur_control sim_controller_examples.py -m

I am always getting the following error:
Import ur_ikfast not available, IKFAST would not be supported without it
ft_sensor: True, ee_link: None,
robot_urdf: ur3e
[ WARN] [1642677431.911925953]: link 'robotiq_coupler' material 'flat_black' undefined.
[ WARN] [1642677431.911953314]: link 'robotiq_coupler' material 'flat_black' undefined.
[ WARN] [1642677431.913863821]: link 'robotiq_coupler' material 'flat_black' undefined.
[ WARN] [1642677431.913881508]: link 'robotiq_coupler' material 'flat_black' undefined.
connecting to: /scaled_pos_joint_traj_controller/command
[INFO] [1642677432.433762, 3.823000]: JointTrajectoryController initialized. ns: /
[INFO] [1642677433.019245, 3.844000]: GripperCommandAction initialized. ns: /
publish filtered wrench: /wrench/filtered
[ERROR] [1642677436.037885, 3.961000]: Timed out waiting for /wrench/ topic
Traceback (most recent call last):
File "/hh_ws/src/ur3/ur_control/scripts/sim_controller_examples.py", line 291, in
main()
File "/hh_ws/src/ur3/ur_control/scripts/sim_controller_examples.py", line 261, in main
arm = Arm(
File "/hh_ws/src/ur3/ur_control/src/ur_control/arm.py", line 108, in init
self._init_ft_sensor()
File "/hh_ws/src/ur3/ur_control/src/ur_control/arm.py", line 170, in _init_ft_sensor
self.set_wrench_offset(override=False)
File "/hh_ws/src/ur3/ur_control/src/ur_control/arm.py", line 243, in set_wrench_offset
self._update_wrench_offset()
File "/hh_ws/src/ur3/ur_control/src/ur_control/arm.py", line 174, in _update_wrench_offset
self.wrench_offset = self.get_filtered_ft().tolist()
File "/hh_ws/src/ur3/ur_control/src/ur_control/arm.py", line 229, in get_filtered_ft
ft = [
File "/hh_ws/src/ur3/ur_control/src/ur_control/arm.py", line 230, in
ft[i] if abs(ft[i]) < ft_limitter[i] else ft_limitter[i]
TypeError: 'NoneType' object is not subscriptable
Do you have any idea? Indeed, I can move the robot with the keybord using this script:
rosrun ur_control joint_position_keyboard.py

Hi, glad you could solve the previous issue.
This one I know. When you the define the Arm, you can expect the force torque sensor data to be available by setting the ft_sensor flag. Please see the line 261 in sim_controller_examples.py
If you are using Gazebo it should still work with the ft_sensor on, but for now try setting it as false and trying without it. I'll check later why it does not work with the sensor.

See solution in #22


chore: adding engines fields in package.json to hint people

Description
I have added 'engines' to the package.json file. This practice ensures consistency in the development environment, which is crucial when collaborating with colleagues who may have different versions of Node.js installed
Additional Information

[x] I have read the contributing docs (if this is your first contribution)
[x] This is not a duplicate of any existing pull request

Your ENS/address: wolfcito.eth

@technophile-04 curious to know why it says

instead of 18.17.0? :

@wolfcito @technophile-04 I ran yarn install using node v16.17.0 and I didn't get any error (yarn installed all the packages).
Maybe I'm doing something wrong...


SSR failure

Hello, I'm trying to use svelte video on a skeleton sveltekit project with SSR enabled. During dev, it returns the following at the first page hit:
ReferenceError: window is not defined
    at /node_modules/svelte-video-player/src/libs/screenfull.js:154:7
    at /node_modules/svelte-video-player/src/libs/screenfull.js:186:3
    at instantiateModule (/home/michael/websites/mymy/node_modules/vite/dist/node/chunks/dep-63d4bd14.js:75119:15)
3:40:24 PM [vite] Error when evaluating SSR module /node_modules/svelte-video-player/src/FullscreenManager.svelte:
ReferenceError: window is not defined
    at /node_modules/svelte-video-player/src/libs/screenfull.js:152:7
    at /node_modules/svelte-video-player/src/libs/screenfull.js:184:3
    at instantiateModule (/home/michael/websites/mymy/node_modules/vite/dist/node/chunks/dep-63d4bd14.js:75119:15)
3:40:24 PM [vite] Error when evaluating SSR module /node_modules/svelte-video-player/src/VideoPlayerClient.svelte:
ReferenceError: window is not defined
    at /node_modules/svelte-video-player/src/libs/screenfull.js:150:7
    at /node_modules/svelte-video-player/src/libs/screenfull.js:182:3
    at instantiateModule (/home/michael/websites/mymy/node_modules/vite/dist/node/chunks/dep-63d4bd14.js:75119:15)
3:40:24 PM [vite] Error when evaluating SSR module /node_modules/svelte-video-player/src/VideoPlayer.svelte:
ReferenceError: window is not defined
    at /node_modules/svelte-video-player/src/libs/screenfull.js:150:7
    at /node_modules/svelte-video-player/src/libs/screenfull.js:182:3
    at instantiateModule (/home/michael/websites/mymy/node_modules/vite/dist/node/chunks/dep-63d4bd14.js:75119:15)
3:40:24 PM [vite] Error when evaluating SSR module /node_modules/svelte-video-player/src/index.js:
ReferenceError: window is not defined
    at /node_modules/svelte-video-player/src/libs/screenfull.js:150:7
    at /node_modules/svelte-video-player/src/libs/screenfull.js:182:3
    at instantiateModule (/home/michael/websites/mymy/node_modules/vite/dist/node/chunks/dep-63d4bd14.js:75119:15)
3:40:24 PM [vite] Error when evaluating SSR module /src/routes/index.svelte:
ReferenceError: window is not defined
    at /node_modules/svelte-video-player/src/libs/screenfull.js:150:7
    at /node_modules/svelte-video-player/src/libs/screenfull.js:182:3
    at instantiateModule (/home/michael/websites/mymy/node_modules/vite/dist/node/chunks/dep-63d4bd14.js:75119:15)

500
window is not defined
ReferenceError: window is not defined
    at /node_modules/svelte-video-player/src/libs/screenfull.js:150:7
    at /node_modules/svelte-video-player/src/libs/screenfull.js:182:3
    at instantiateModule (/home/michael/websites/mymy/node_modules/vite/dist/node/chunks/dep-63d4bd14.js:75119:15)

Welcome to SvelteKit

Visit kit.svelte.dev to read the documentation

{#if browser}
	<VideoPlayer {poster} {source} />
{/if}

@basaran How do you repair SSR problems? Since the SSR feature was added to Svelte, almost all svelte components in the DEV environment have crashed.
I followed your Commits to process the window and navigator objects, but I don't know how to proceed.
npm package:
@svelte-parts/editor

It's usually the case if you are pulling in JS that does things on the window object without checking the environment. In svelte-video-player case, it was the common js export not exporting isScreenfull properly to be used with the module import system.

The fork at https://www.npmjs.com/package/svelte-video-player-kit seems to work well for me in most cases. However, I am finding that it does not seem to work out-of-the-box with browsers in iOS. All other operating systems and browsers seem to work fine. Is there something that needs to be done to get this working with SSR and Sveltekit when on iOS?

@basaran The fork at https://www.npmjs.com/package/svelte-video-player-kit seems to work well for me in most cases. However, I am finding that it does not seem to work out-of-the-box with browsers in iOS. All other operating systems and browsers seem to work fine. Is there something that needs to be done to get this working with SSR and Sveltekit when on iOS?

I haven't done any svelte projects lately but my last compile from last year was and is still running fine on iphones. The forked package should be working without issues. What error do you see on the console?


Add abilitity to specify custom classmapper

Currently, the custom class mapper file must be at ./cmodel_classmap.txt. We should allow a path to this file to be passed as an option, e.g., --class_map /tmp/foo.txt.

Also, if a custom class map is used, log that fact.


Testing for accessibility

It would be nice if the interface could be used through lynx web browser.
https://lynx.invisible-island.net
The Administration page would be nice to use. ;)

Tentatively for 2.4.0, if there is time... :)

Sorry, pushing to 2.5 where we are also going to look at other localization options.

@michaelrsweet Sir this would be my first time contributing to cups, can I work on this?

@michaelrsweet is this issue still open? If it is open can I work on this? This would be my first time contributing to CUPS.

@Lord-Morpheus The issue is still open, it was just pushed out of the 2.5 milestone because we didn't have anyone to work on it. If you can do so I'll happily move it back.

@michaelrsweet Sir thank you for your generous offer. I would be happy to work on it but since it is my first time contributing to CUPS, I do not want to jump right into something tough and rather work my way to it. If you can assign some beginner issues that would be nice. If this issue is beginner friendly then I would be glad to do it.

@michaelrsweet Sir how can I get started on this? I am unable to find any readme file which helps me to set up and get started also the contributing.md contains only information on how to establish a pull request. Please help me out.
Thank you.

The goal of this issue was to make sure the current web interface works from text-based browsers and screen readers. So to work on this you just need to use the web interface at "http://localhost:631" with a text-based browser and/or use screen readers (choose your browser/OS) - keep a log of issues and add them here.
If you know anything about HTML you can also try fixing any issues you find - most of the web interface is in HTML template files (see TRANSLATING.md for details).

@michaelrsweet Sir the "Makefile" which is used in the installation of cups has some unresolved issues due to which I am unable to access "http://localhost:631" in Windows through docker. Right now I am using Ubuntu to check the accessibility in "lynx" browser and I will update you soon with the issues and their fixes.

@michaelrsweet Sir there is one major issue with the interface and that is The "command line printing and options" link does not render HTML. That means help/options.html is not getting rendered. Other than this there are many readability issues with table and text alignment which are not proper in 'lynx' web browser.
I can fix the files but due to an error in "makefile", I am unable to do so.
Shall I try to fix the "makefile" issue?

@michaelrsweet shall I fix it?

dnssd.c:30:12: fatal error: avahi-client/client.h: No such file or directory    30 | #  include <avahi-client/client.h>       |            ^~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make[1]: *** [../Makedefs:264: dnssd.o] Error 1 make: *** [Makefile:43: all] Error 1
This is the error I am receiving after configuring my cups and then executing make, as mentioned in INSTALL.md

You need to install the Avahi developer package (libavahi-client-devel on Ubuntu/Debian distros).

@michaelrsweet Sir, there is issue with docker file as the container is not working in windows. The error it gives is Makefile:12: Makedefs: No such file or directory. I think this issue needs to be resolved.

@Lord-Morpheus I don't know the status of the docker file in the CUPS repository at the moment, but it needs to run the configure script to create the Makedefs file and it needs all of the prerequisites to successfully do so...

@michaelrsweet Sir I have checked all the pages in lynx browser and everything works fine. The readability is pretty low but the rest of everything works as it should.
Regarding the rendering of the tables I mentioned earlier, it is not a problem because the text-based browsers do not support graphics, therefore, it is displayed correctly.

@Lord-Morpheus Thanks for the testing, I'll call this close as fixed.

@michaelrsweet Is there any other issue that I can work with or is there any new feature that needs to be added on which I can work on?

@tillkamppeter @michaelrsweet, Sir Is there any other issue that I can work with or is there any new feature that needs to be added on which I can work? I work with Windows OS so it would be preferred if the work could be done with the docker on Windows.

@Lord-Morpheus There is some work being done to support CUPS as a standard Docker container, which might be a good fit for you? Otherwise the remaining tasks are more technical in nature...

@michaelrsweet As it would help me to increase my knowledge about docker containers I would be happy to do this task. Please help me to get started with this.
PS.  How can I contact you for further issues since this is a closed issue I guess it would be better if we have a chatroom to resolve problems or shall I contact you via Email?

Hi, @Lord-Morpheus , thanks for your interest in OpenPrinting.
To get some general introduction into our work, have a look here, especially also the videos in the beginning:
https://wiki.linuxfoundation.org/gsoc/google-summer-code-2024-openprinting-projects#introduction
The page also shows what we are doing this year in the Google Summer of Code (on most of the posted ideas we actually have a contributor working).
Monthly news blog posts on: https://openprinting.github.io/news/
In terms of OCI containerization we have also a GSoC contributor working, currently on a CUPS image, and he is building it with rockcraft. If you are interested to help out, join the Telegram channel:
https://t.me/+35KCEXUqC-w2M2Q0
Topics where I am eagerly looking for help:

Documentation for the libraries:

https://github.com/OpenPrinting/libcupsfilters/issues/54

General bug work, especially libcupsfilters and cups-filters

KDE desktop integration  of the New Architecture/CUPS 3.x:

https://openprinting.github.io/OpenPrinting-News-April-2024/#kde-print-manager
We have also a general chat channel for OpenPrinting, also on Telegram:
https://t.me/+RizBbjXz4uU2ZWM1

@tillkamppeter After reading the content you provided I would like to work on "KDE desktop integration of the New Architecture/CUPS 3.x" as first preference, "Documentation for the libraries" as second preference and "general bug work" as third preference.


Enhancement Spot Tickers APIs

Pull request checklist

[x] Did you bump the project version?
[ ] Did you add a description to the Pull Request?
[ ] Did you add new tests?
[x] Did you add reviewers?

Don't forgot add new methods in docs. Example https://bhftbootcamp.github.io/CryptoExchangeAPIs.jl/stable/pages/docs_miniguide/#New-API-method


Upgrade Django to v1.10.x

Test the upgrade from 1.9.9 to 1.10.2(?). Check the following:

Unit tests
Content admin authoring (create, update, publish)
Django admin functions (create, update, delete, reports)

Make a note of required deployment steps (migrations, etc.)

restless does not currently support django v1.10.x .
I have a fork of restless https://github.com/tawazz/restless with the fixes to support v1.10.x , maybe we can package the fork to static.dpaw.
I have tested with local package and it works fine

It may also be worth switching to django-rest-framework at some point, not urgent

@ropable  what are we checking for here https://github.com/parksandwildlife/oim-cms/blob/master/oim_cms/test_api.py#L201
Im having an error list indices must be integers, not str when testing the django_rest_framework

restless v2.0.3 now support Django 1.10, so no need for a custom fork. The upgrade has also required django-rest-framework to be updated to >=3.4.0 (used by the catalogue app) - I need to test this separately.


[BUG] cht=atbot not working

Description
i want to fix chatbot
Screenshots

Any additional information?
No response
What browser are you seeing the problem on?
Microsoft Edge
Checklist

[X] I have checked the existing issues.
[X] I have read the Code Of Conduct
[X] The changes don't break the code
[X] Please attach the screenshots and video of the development work once it is done

@swaraj-das pls assign me this issue

@swaraj-das pls assign me this issue

This is not any issue. The free trial of chatbase ended. If I change the chatbotID then it will be fix.


update user guide

update user guide

Pull Request Test Coverage Report for Build 712

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 83.726%

Totals

Change from base Build 709:
0.0%

Covered Lines:
2485

Relevant Lines:
2968

💛  - Coveralls


Paramdev: Security training

Hey @paramdev1986! I think you meant to make a PR against your own fork, this is the main repo for the course content - not for grading against.
I also believe the GitHub Action that is supposed to do the actual grading isn't complete yet as well. Definitely keep an eye on the changelog for when that goes live though!


OpenXR: Add support for retrieving play area

This PR implements the get_play_area feature on OpenXRInterface. This allows the user to retrieve the are within which they can safely move before encountering the guardian boundary.
This re-introduces the get_play_space feature in Godot 3s OpenXR support.
Closes: #85049

Thanks!


Split Application Project and Contracts/Interfaces

I'm proposing the split of the business part, interfaces part, domain part ....
At the moment I have the feeling that it is a bit monolithic and that the interfaces are not useful ....


TypeError: Cannot read properties of undefined (reading 'candyMachineAddress')

Hey there I am right now at the Mainnet-beta and try to upload a collection... but the command :
"ts-node js/packages/cli/src/candy-machine-cli.ts update_candy_machine --keypair ~\metaplex.config\solana\mainnet.json --price 0.005 --date "15 Dec 2021 00:00:00 EST" shows me an error.... all the other command before works well without any problems.

Can you guys please help me :(? On the devnet everthing went right...

How to solve this?


Help needed - Hide right hand side drawer

Sorry, not sure where I could find some help.
Was wondering if there was anyway to hide this drawer, on the right hand side of the card.

Thank you

Try:
live:
  controls:
    thumbnails:
      mode: none

the owner is correct in his reply above (ofcouse),  but For those that don't want to delve into the code, here is how you accomplish the same through the gui ( config -> live -> thumbnails = no Thumbnails) :
("Live Controls" is far down under the "Live" drop down menu, so fyi in this image i just overlay-ed 2x screenshots - but it is there if you look).


Signs can be drawn on top of console messages

Consider the following scenario.

A timer function used used for displaying errors with signs later on.
You run a command with !, which shows some output.
Signs are set while the console output is still open.

When this happens, signs are drawn on top of console output. The bug can be repeated with the following Vim script.
:call setline(1, range(200))
:sign define SomeError text=x texthl=error linehl=error

:function! ShowSigns(...) abort
    let l:buffer = bufnr('')

    for l:i in range(1, 200)
        let l:sign_code = printf('sign place %d line=%d name=SomeError buffer=%s', l:i, l:i, l:buffer)
        execute l:sign_code
    endfor
endfunction

:call timer_start(1000, 'ShowSigns')
:!echo 'foo'

Save the Vim script above as test.vim, and run it with vim -u NONE -s test.vim, and don't press anything. You will see the output of echo from the console, and then the signs will be drawn on top of the console output around a second later.

What Vim version are you using?

The above example repeats the bug on my desktop. Here is the top of the :version output from my desktop version of Vim.
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Jul 28 2017 11:49:08)
Included patches: 1-313, 315-786

My laptop version which I tested this on originally only included patches 1-3, and that's a version I compiled myself on Sep 14 2016.

I'll grab a more recent version with more patches and I'll see if the bug can be repeated with the latest version.

I can confirm that I see the same results with patches 1-826.

I can confirm. This patch fixes it:
diff --git a/src/screen.c b/src/screen.c
index 648c6d866..b0f0eb74e 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -996,6 +996,12 @@ update_debug_sign(buf_T *buf, linenr_T lnum)
 # ifdef FEAT_FOLDING
     win_foldinfo.fi_level = 0;
 # endif
+    if (State == ASKMORE || State == HITRETURN)
+    {
+       redraw_win_later(curwin, VALID);
+       return;
+    }
+

     /* update/delete a specific mark */
     FOR_ALL_WINDOWS(wp)

It's worth noting that the same issue will likely exist for highlights with matchaddpos().

i think, a simple return would also work

I cannot reproduce with a single :call matchaddpos(..:) command. However, I think this patch is even better:
diff --git a/src/screen.c b/src/screen.c
index 648c6d866..6fe30afeb 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -1014,7 +1014,7 @@ update_debug_sign(buf_T *buf, linenr_T lnum)
        }
        else
            redraw_win_later(wp, VALID);
-       if (wp->w_redr_type != 0)
+       if (State != ASKMORE && State != HITRETURN && wp->w_redr_type != 0)
            doit = TRUE;
     }

Christian Brabandt wrote:

I cannot reproduce with a single :call matchaddpos(..:) command.
However, I think this patch is even better:
diff --git a/src/screen.c b/src/screen.c
index 648c6d866..6fe30afeb 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -1014,7 +1014,7 @@ update_debug_sign(buf_T *buf, linenr_T lnum)
        }
        else
            redraw_win_later(wp, VALID);
-       if (wp->w_redr_type != 0)
+       if (State != ASKMORE && State != HITRETURN && wp->w_redr_type != 0)
            doit = TRUE;
     }

Thanks.  I think we should also check msg_scrolled.
--
MORTICIAN:    Bring out your dead!
[clang]
Bring out your dead!
[clang]
Bring out your dead!
CUSTOMER:     Here's one -- nine pence.
DEAD PERSON:  I'm not dead!
The Quest for the Holy Grail (Monty Python)
/// Bram Moolenaar --<EMAIL_ADDRESS>-- http://www.Moolenaar.net   \
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \
\\  an exciting new programming language -- http://www.Zimbu.org        ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

Thanks a bunch. :+1:


What could be causing heartbeat/drift messages on logs ?

I've just installed hb-hue with deconz and conbee 2. Everything is working and stable but I keep getting heartbeat and drift messages on logs quite a bit. I found that a motion sensors Lux value takes forever to update to homeapp but motion detection is fast. Could this be causing these messages? I'm not that good at this stuff so I could troubleshoot it myself.

The drift messages indicate that something is blocking NodeJS, causing the scheduled heartbeat to be delayed. Might be the system is overloaded, might be another plugin doing synchronous I/O.  See #737.
What motion sensor?  Define "forever".  Does the lightlevel attribute in the API also take "forever" to update?

Aqara motion sensor. Lux takes minutes to update. Cpu at 3-7%.

Would excluding lux as a value from that sensors stop this behaviour? I don't really need that as an automation trigger.

I don't think the heartbeat drift is related to the light sensor.
I don't know the Aqara motion sensor, but typically motion sensors only update their lightlevel periodically and when detecting motion.  Without motion, it might take the Hue motion sensor up to 5 minutes to report changed light level.  To preserve the battery, the sensor is asleep most of the time, and only wakes on regular intervals and when detecting motion.

Uninstalling the verified network precence plugin seems to have gottem rid of those messages in the log.


daylight savings time handling appears broken in ODK Collect

From<EMAIL_ADDRESS>After my phone has adjusted its time display to allow for daylight savings ODK Collect does not handle time enties correct:
Scenario 1:
A. I Fill in a blank form with a TIME field set to 14:00.
B. I send the finalized form to the server.
C. The time stored in ODK database is now 13:00
Scenario 2:
A. A. I Fill in a blank form with a TIME field set to 14:00.
B. I save the form - not finalized.
C. I chose "Edit saved form" and the value displayed in ODK Collect is 13:00.
Is this a bug that is going to be fixed?
If this is the confimed behaviour I may be able to work around by making my data script that pulls data from the database add 1 hour if current time is summer time.
Thanks for all help.
My response:
What time zone is your device configured to use? This will help in testing.
First, note that ODK Aggregate attempts to display times in UTC (no time zone adjustments or daylight savings time adjustments).  That could account for the differences you see in Scenario 1.
w.r.t. Scenario 2, SurveyCTO has contributed a fix in the area of daylight savings time treatments.
It will be in the next release of the ODK tools.
The original motivation for the fix is within ODK Briefcase, but it likely also impacts the re-opening of a filled-in form.

This should be fixed in ODK Collect 1.4.9 and onward.
The effect is very much dependent upon your time zone.
Please open a new issue if you find any similar issues in 1.4.9 and above.