[TVMC] Add tvmc flag to print ir before / after named pass

Add --print-ir-before and --print-ir-after options  to print IR before and after a named pass from the compiler's command line driver.

@tvm-bot rerun

@tvm-bot rerun

@tvm-bot rerun

@tvm-bot rerun

@tvm-bot rerun

Thanks @eirenevp @ekalda!


Add root saturation function

I liked the idea of the root saturation that came up in #614
Seems easy to add and is easy to use in models after #632 allowing others to try!

from pymc_marketing.prior import Prior
from pymc_marketing.mmm.components.saturation import SaturationTransformation

# pymc_marketing/mmm/transformations
def root_saturation(x, alpha):
    return x ** alpha

# pymc_marketing/mmm/components/saturation.py
class RootSaturation(SaturationTransformation):
    def function(self, x, alpha, beta):
        return beta * root_saturation(x, alpha)

    # More thought required here for sensible priors
    default_priors = {
        "alpha": Prior("Beta", alpha=1, beta=2),
        "beta": Prior("Gamma", mu=1, sigma=1),
    }

# Added below in the dictionary for string access

What are your thoughts here? @louismagowan

Not sure if many people use this in practice. Seems like the root function is pretty sensitive to saturating quickly with alpha parameter.
Might still be an interesting addition to package.

Yep definitely not a priority transformation in my mind @wd60622  - but your implementation seems v nice anyway!

Hey @wd60622, this looks cool - I've opened a PR here for this and will remove the draft label shortly.
Thanks!


where is run_awq_llama.sh

We have simplified the "run script" and now only keep one: https://github.com/ModelTC/llmc/blob/main/scripts/run_llmc.sh. You can also refer to the documentation(https://llmc-en.readthedocs.io/en/latest/) to run llmc.

We have simplified the run script and now only keep one: https://github.com/ModelTC/llmc/blob/main/scripts/run_llmc.sh. You can also refer to the documentation(https://llmc-en.readthedocs.io/en/latest/) to run llmc.


Initializer Injection

What about initializer injection ? How would you go by and inform AppleGuice to use a designated constructor rather than just Init ?

Applguice currently does not to support initializers other than simple init (for injectable services). We did it for the simplicity of the framework and its usage. In other DI frameworks, you need to declare your designated initializer and how to bind its variables. AppleGuice simply calls init, which keeps your code cleaner and makes it more robust.
Having said that, constructors where all of its variables are injectable services can (and will be) supported.
Currently, you can convert the following:
//.h
-(instancetype) initWithInjectable1:(id<MyInjService1>) inj1 andInjectable2:(id<MyInjService2>) inj2;

to:
//.h
@property (nonatomic, strong, readonly) id<MyInjService1> ioc_inj1;
@property (nonatomic, strong, readonly) id<MyInjService1> ioc_inj2;

-(instancetype) init;


Textile help refactor

Removes the partial, and adds a help arg to the text_area_with_label helper. Intended to simplify templates and clean up views, while keeping the help available and prominent.
If you call the helper something like this:
text_area_with_label(
  form: f, field: :notes, rows: 10, label: :form_comments_comment.t + ":",
  help: :shared_textile_help.l
)

you'll get a help icon beside the textarea label, above the textarea. Clicking the icon shows/hides the help block below the textarea.

You can concatenate multiple help messages into the same block, like this:
help = [tag.p(:help_message_one.l), tag.p(:help_message_two.l)].safe_join
text_area_with_label(form: f, field: :notes, help:)

This is another PR intended to pull ancillary changes out of the obs location PR.

coverage: 94.461% (+0.002%) from 94.459%
when pulling 257c462bb68d969b0719756d11e3f32cb41f9f30 on textile-help-refactor
into c28c76361515217032c9041e4ae2d6f33bcc34cf on main.


Allow query filtering for record exporting

All test records:

Initial export screen:

Export screen with query filtering:
Notes

Query visible on the screenshot is taken from record list's search box,
record list pre-filtering is also included,

Exported records:

no objections 👍


Enabling External Ip In Kubegres

Hi Team,
Created postgres on Kubernetes cluster but i'm unable to see External IP to connect to the database. Please help/guide how we can get it.
NAME                 TYPE        CLUSTER-IP   EXTERNAL-IP   PORT(S)    AGE
postgresrr           ClusterIP   None                 5432/TCP   7h1m
postgresrr-replica   ClusterIP   None                 5432/TCP   7h1m
PS C:\Users\rrakesh>

While Replicas are set as read only u would simply create a nodeport service using label selector for primary
apiVersion: v1 kind: Service metadata:   name: name   namespace: namespace spec:   selector:     replicationRole: primary   type: NodePort   sessionAffinity: None   ports:     - name: kubegres-nodeport       protocol: TCP       port: 5432       nodePort: 31103
 You can apply above service.yaml at namespace  your deployment given


delay after mouseclick on slider node

I can't seem to figure this out. Have you ever had the problem with a lag between the time you click the slider node and it registers the move?
Sorry for the vague details but it is hard to reproduce this.

Not very clear about the problems you are experiencing.
Is there a delay after dragging or clicking the slider to move?
tell me more information

@NightCatSama actually, I think it only happens when I'm using hot modules in webpack. i will close this...

I'm also getting the same issue. How to resolve please?


Rk 165549496 main unrecognized ie11

Description
Conditionally use either  or a
 for the office, tsp, and service member sites. This is meant to address a console error we get about the main tag in IE11 (HTML5 semantic tags are not supported in IE11). To that end, IE11 will render a
 which will enable assistive technologies to read the main role as is possible with the main tag. Other browsers that support the main tag will get served it.
Setup
No special setup. To verify that the right element is rendered one should inspect the page dom and look for either  within browsers that aren't IE or
 in IE11.
References

Pivotal story for this change
MDN Article about Main
MDN Article about Main landmark role

I think it's possible to dynamically determine which tag to use by putting the tag name in a variable. I haven't done this, but it might help us avoid some of the duplication here.
Failing that, I think we could make a component that rendered either tag around props.children to encapsulate the tag selection.

This looks promising, I didn't know one could do that. I'll give this a go!

I think it's possible to dynamically determine which tag to use by putting the tag name in a variable. I haven't done this, but it might help us avoid some of the duplication here.
Failing that, I think we could make a component that rendered either tag around props.children to encapsulate the tag selection.

@jim this seems to have worked out well. Again, thanks for pointing that out, this looks a lot better.


Add mdl/yamlint to github workflow

Codecov Report

Merging #47 (539a122) into main (591f6b8) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

@@           Coverage Diff           @@
##             main      #47   +/-   ##
=======================================
  Coverage   70.72%   70.72%
=======================================
  Files          12       12
  Lines        1404     1404
=======================================
  Hits          993      993
  Misses        324      324
  Partials       87       87

Flag
Coverage Δ

unit-tests
70.72% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Add field to UpdateDeploymentPriorityParams,Change the version number of Common to 1.0.9

Add field to UpdateDeploymentPriorityParams,Change the version number of Common to 1.0.9

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


Number of views feature

There is no number of views feature
There should be a number of views feature to help keep count of how many people visited your blog.
Please /assign this to me as a part of GSSOC'21

Hello @Pranav016 , this is not the same as the like functionality issue. This feature is to give a count of how many people visited your blog. Hope that makes it clear😃
Hence if you think this as acceptable, I would like to work on this. So please assign this to me

/level2/

Hi @Rimpi246 Are you still working on this issue?

Ya.. I am working on it

@Rimpi246 are you still working on this issue?

Yeah yeah..I am working.Please bear with me.

Yeah yeah..I am working.Please bear with me.

Hi @Rimpi246 .It has been 4 days since your last update and I don't see any PR regarding this issue from your side. Is the issue still being worked upon?

Hello @AnanyaNegi I was facing problems because of  another problem which I have told in discord and @Pranav016 told me to raise it as an issue. I have solved that issue and so working on this issue.. I want a little more time. Thank you

Hello @AnanyaNegi I was facing problems because of another problem which I have told in discord and @Pranav016 told me to raise it as an issue. I have solved that issue and so working on this issue.. I want a little more time. Thank you

Sure. No problem.

@Rimpi246  status?

Hi @Rimpi246, are you still working on this issue?

@aniketlodh , I have partially solved the issue.. Just solving a minor bug

Hey @Pranav016, Can I work on this issue if the assignee is facing some problem solving the issue or if she is unable to solve it? I think I can solve the issue. I'm also a GSSOC participant.

Thanks @Pranav016 for assigning me the issue. I'm starting to work on this.

On which branch should I generate the PR? master or deploy?

On which branch should I generate the PR? master or deploy?

Master, wait till login issue gets resolved

Hey @Pranav016 , can you please tell if the login issue has been solved so that i can generate the PR for number of views?

Hey @Pranav016 , can you please tell if the login issue has been solved so that i can generate the PR for number of views?

Yes fixed


Set expiry date for reactivation requests

This change:

Adds a check to see if a reactivation request has expired (is still pending and has been requested over 1 day ago)
Creates a new message to inform user that a linked request from an email has expired
Prompts the user to send another reactivation request if current one has expired

Integration testing
If an email link is from an expired reactivation request, CSL lets the user know:
https://user-images.githubusercontent.com/97103826/203087004-49e9b55b-781e-4b26-bca3-f455364914fb.mov
If a user logs in while pending reactivation requests are all expired, the user will be presented with the "Your account has been deactivated" message:

https://user-images.githubusercontent.com/97103826/203087520-cb1be7ed-84b3-499c-8a56-b1651c1fe83e.mov
If a user clicks on the "Reactivate your account", one reactivation request is created and one email is sent to the user.
https://user-images.githubusercontent.com/97103826/203102943-4c80298c-b930-418b-97a6-669cea695ae4.mov


[feature] Area Cuda Unified - [merged]

In GitLab by @NicolasDenoyelle on Dec 9, 2020, 10:55
Merges area_cuda_unified -> staging
Add default cuda area to map unified memory.

In GitLab by @NicolasDenoyelle on Dec 9, 2020, 10:55
changed target branch from master to staging

In GitLab by @NicolasDenoyelle on Dec 9, 2020, 10:58
@perarnau
Ready for review.
Then, autorebase -> pipeline success -> merge

In GitLab by @perarnau on Dec 9, 2020, 14:27
added 10 commits
5210ac9e...949a7717 - 9 commits from branch stagingca02014e - [feature] Add default cuda area to allocate unified memory.
Compare with previous version

In GitLab by @perarnau on Dec 9, 2020, 14:28
enabled an automatic merge when the pipeline for ca02014e611f0428cf4d3797b32a603c7b621674 succeeds

In GitLab by @perarnau on Dec 9, 2020, 14:33
merged

In GitLab by @perarnau on Dec 9, 2020, 14:33
mentioned in commit 83e7c188170f7de24cadb74d2fdeb91e2c460f7e


Update Flysystem documentation.

This is an awesome guide! Considering linking to this section from the Flysystem home page.
Sadly, some of the information is incorrect.
Here's a first pass at improving it.

Great. Only one nitpik and we can merge this.


fix missing -r flag in useradd.rb

http://projects.puppetlabs.com/issues/10354

Oops it seems that I made a mistake so that I closed this request.


Apache pulsar iss 52

What Does This Do
Motivation
Additional Notes
#52

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


execute PromQL:eseal_num_total @ time()-(time()+28800)%86400，the query syntax is wrong

What did you do?
When I execute PromQL:eseal_num_total @ time()-(time()+28800)%86400, it prompts that the query syntax is wrong, how can I query the metric at 0:00 of the current day，can anyone help me, thank you very much
What did you expect to see?
eseal_num_total{instance="<IP_ADDRESS>", job="test_2", ownerType="dept"} | 4
eseal_num_total{instance="<IP_ADDRESS>", job="test_2", ownerType="user"} | 4
What did you see instead? Under which circumstances?
When I execute PromQL in the prometheus query console: eseal_num_total @ time()-(time()+28800)%86400, the web page prompts: Error executing query: invalid parameter "query": 1:27: parse error: unexpected identifier "time " in @, expected timestamp,but when I replaced it with: eseal_num_total @ timestamp(round(vector(0+time()-(time()+28800)%86400))), and executed, I got this error message: Error executing query: invalid parameter "query": 1:27: parse error: unexpected identifier "timestamp" in @, expected timestamp
System information
Linux  4.19.0-10-amd64 #1 SMP Debian 4.19.132-1  x86_64
Prometheus version
Version	2.32.1
Revision	41f1a8125e664985dd30674e5bdf6b683eff5d32
Branch	HEAD
BuildUser	root@54b6dbd48b97
BuildDate	20211217-22:08:06
GoVersion	go1.17.5

Prometheus configuration file
No response
Alertmanager version
No response
Alertmanager configuration file
No response
Logs
No response

I believe this feature will be useful.

I would need the same
I have the usecase we use a third party service to get data.
We have a subscription which allows us to sent e.g. 5000 requests per Month
Counted from fist of month till last day of month.
Now I have a counter which counts the sent requests.
I try now to create a alert in case we reach 75% of our budget
to do this I would need the value of the counter at the first day of the month
I tried following
timestamp(floor(vector(time()) - (day_of_month() * 86400000) ))

which returns<PHONE_NUMBER>.26
so I tried
xxxxxxxxxxxxxxxxxx_api_counter{category="httpRequest", event="requestToApi"} @ timestamp(floor(vector(time()) - (day_of_month() * 86400000) ))

which returns error
Error executing query: 1:80: parse error: unexpected identifier "timestamp" in @, expected timestamp

See #12318 .


luci-app-ser2net no longer show up

Broke within last few weeks, worked before that

OpenWrt SNAPSHOT r17118-8f7e6db230 / LuCI Master git-21.187.21474-0e4b4c5


Fix line ending for yaml files

Please provide a description for what this PR is for.
This PR adds line endings for all yaml files which was missing them like describe in the POSIX standard each line must end with a terminating newline character.
We have internally a pipeline that runs checks to ensure that all (text) files have a line ending at the EoF. Maybe it's a nice improvement to the CI pipeline to ensure that all text files contains a newline at the end?
And to help us figure out who should review this PR, please
put an X in all the areas that this PR affects.
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[X] User Experience
[ ] Developer Infrastructure

@johscheuer: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

integ-mixer-k8s-presubmit-tests-master
69c13e760fa8650023b5c3d32c71fea3deac1a66
link
/test integ-mixer-k8s-presubmit-tests-master

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Add progress function that uses a logging handler

It would be nice to be able to direct the progress funciton (or a similar function) to a logging handler instead of a i/o stream.

Yes, fair point. Suggestions welcome for best way to approach this.
On Thu, Jan 19, 2017 at 10:01 PM, Tucker Beck<EMAIL_ADDRESS>wrote:

It would be nice to be able to direct the progress funciton (or a similar
function) to a logging handler instead of a i/o stream.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/alimanfoo/petl/issues/407, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAq8QraCOv8tJB5DBU9DIVAKsTbdKnJGks5rT90hgaJpZM4LoqMy
.

--
Alistair Miles
Head of Epidemiological Informatics
Centre for Genomics and Global Health http://cggh.org
The Wellcome Trust Centre for Human Genetics
Roosevelt Drive
Oxford
OX3 7BN
United Kingdom
Email<EMAIL_ADDRESS>Web: http://purl.org/net/aliman
Twitter: https://twitter.com/alimanfoo
Tel: +44 (0)1865 287721

@alimanfoo writing a patch now. Pull request coming in soon

@alimanfoo this issue is addressed with PR #408

Many thanks, I'll take a look ASAP.
On Fri, 20 Jan 2017 at 23:32, Tucker Beck<EMAIL_ADDRESS>wrote:

@alimanfoo https://github.com/alimanfoo this issue is addressed with PR
#408 https://github.com/alimanfoo/petl/pull/408
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/alimanfoo/petl/issues/407#issuecomment-274207786, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAq8QiplzDeao7269pjWrN9NK2ICVtrdks5rUUQLgaJpZM4LoqMy
.


Updated to PHPUnit 7

On develop branch we are support only PHP 7.1+ so we can use PHPUnit 7 only.

We're still supporting PHP 5.6 in the v3 releases, so scheduling for 4.0.

This repository has been closed and moved to laminas/laminas-servicemanager; a new issue has been opened at https://github.com/laminas/laminas-servicemanager/issues/8.

This repository has been moved to laminas/laminas-servicemanager. If you feel that this patch is still relevant, please re-open against that repository, and reference this issue. To re-open, we suggest the following workflow:

Squash all commits in your branch (git rebase -i origin/{branch})
Make a note of all changed files (`git diff --name-only origin/{branch}...HEAD
Run the laminas/laminas-migration tool on the code.
Clone laminas/laminas-servicemanager to another directory.
Copy the files from the second bullet point to the clone of laminas/laminas-servicemanager.
In your clone of laminas/laminas-servicemanager, commit the files, push to your fork, and open the new PR.
We will be providing tooling via laminas/laminas-migration soon to help  automate the process.


React Port is too old. Please renew/remove

Hi,
Is anyone working towards a React port? The project currently posted under contributing has not been updated for a year.
Thanks

This project hasn't been updated since early December... I'm starting to get worried about it as well.

related to #812


add an experimental Flutter web version of the front end

add an experimental Flutter web version of the front end

This is an experimental, Flutter web based re-imagining of the DartPad UI.

[x] I’ve reviewed the contributor guide and applied the relevant portions to this PR.

Contribution guidelines:

See our contributor guide for general expectations for PRs.
Larger or significant changes should be discussed in an issue before creating a PR.
Contributions to our repos should follow the Dart style guide and use dart format.
Most changes should add an entry to the changelog and may need to rev the pubspec package version.
Changes to packages require corresponding tests.

Note that many Dart repos have a weekly cadence for reviewing PRs - please allow for some latency before initial review feedback.


Is it have a plan to implement safe concurrent read/write on skiplist？

Maybe,repo can provide a option with lock or sync.map mode to implement this feature

No plan right now.
It's unlikely to implement a lock-free or element-level-lock skiplist. It means the whole skiplist should be locked for read/write for safety. I'd recommend package users to choose proper locks based on how the skiplist will be visited.


fix(sqllab): Enable cypress specs for sqllab query

SUMMARY
This commit fixes the cypress specs for sqllab query by updating selectors and network interceptors.
This commit also includes all api mock response in fixtures folder.
The spec will interactive with the fake interceptors rather than real network interaction.
It will inspect the request payload/formdata for network request.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
https://user-images.githubusercontent.com/1392866/185002049-34afed2b-bf57-4f2a-b626-30073ac7a2c1.mov
TESTING INSTRUCTIONS
cypress
cd superset-frontend/cypress-base
yarn cypress

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

@justinpark should we follow through on this? Looks like it just needs codeowner approval (which I can give) after a rebase and consideration of the suggestions on the thread.

Converting this to a draft while it's still in need of a rebase. Hopefully it gets more attention, but if not, it may be closed in time.


add null for division location [ci skip]

Changes Unknown when pulling 61dd178e2cfc41d760026923f490cffa03688e49 on EdwardVoloshin-patch-5 into ** on master**.

Changes Unknown when pulling ecacbc0b83b039c97341467b74d51093473a59f8 on EdwardVoloshin-patch-5 into ** on master**.

Changes Unknown when pulling ecacbc0b83b039c97341467b74d51093473a59f8 on EdwardVoloshin-patch-5 into ** on master**.

Changes Unknown when pulling bb9f49586d788464098b590581247d026ad6c960 on EdwardVoloshin-patch-5 into ** on master**.

Coverage remained the same at 90.214% when pulling<PHONE_NUMBER>9f316780d393411655a8233011ed7e on EdwardVoloshin-patch-5 into a88defe6657d0c0d16463f51f699398909987c6d on master.

Changes Unknown when pulling 42dfcf912106eac598c003d12cb9cca4a2d73490 on EdwardVoloshin-patch-5 into ** on master**.


Please tell me about the training model

Hello!
An error occurred when running Train on DSTC - 2 written in Neural Model for Classification.
python deep.py train configs / intents / intents_ dstc2.json
File "deep.py", line 46
     def find_config (pipeline_config_path: str):
                                         ^
SyntaxError: invalid syntax
I do not know the cause, could you tell me

Hi!
Looks like you're trying to run it with python2, but DeppPavlov only supports python3.6


[External] Codeunit 7312 Create Pick - CalcQtyToPickBase

Dear AL team,
We would like to call the function "CalcQtyToPickBase" from outside. To do this, the TempWhseActivLine would have to be passed as an additional parameter. With that you have the possibility to call this function in event subscriber, for example in OnBeforeCalcBin.

Hi bcmako.
Couple of questions for clarification.

Are you sure about the name of event, I cannot find it.
TempWhseActivLine is global variable. If I understand you correctly it will be build inside CalcQtyToPickBase function returned back as you asked by var. What's next?

Hi bcmako. Any update from you?

bcmako?

Hi Roman,
please excuse the late feedback. I was on vacation.
Regarding topic 1: The correct name of the event is OnBeforeCalcPickBin
Regarding topic 2: The CalcPickBinBase function calculates the quantity for picking and calculates a subtotal based on the TempWhseActiveLine, which is already filled at this time and is available as global. For my concrete requirement it is then sufficient that the function CalcPickBinBase becomes global/external. The TempWhseActiveLine parameter is not required.
Thank you very much for your support.

Thanks for submitting this issue. We will publish a fix for it in the next minor update for release 15.

Thanks for submitting this issue. We will publish a fix for it in the next minor update for release 15.


pull request for e2e test at 01/21/2017 17:45:10

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Add max_retrials_to_get_pods

Description
I added max_retrials_to_get_pods.
Motivation and Context
To fix https://github.com/spotify/luigi/issues/2570 .
Have you tested this? If so, how?
"I ran my jobs with this code and it works for me."

@dlstadther
I fixed them! Please review it.

It seems that the PR was abandoned, however this issue is steel persist and we're using ugly hacks to mitigate it. I would like to own this PR to resolve all remaining code review comments and deliver this fix to next release. Does anyone have any objections? @keisuke-umezawa @dlstadther @Tarrasch

Feel free to submit a PR resolving this issue. I can provide feedback as my time allows.


There is nothing here pointing out that KeyVault isn't a supported serviceEndpoint in China North 2

When deploying to China North 2 I get error "VirtualNetworkServiceEndpointsNotSupported Message: Virtual networks in chinanorth2 location do not support ServiceEndpoints for Microsoft.KeyVault service." Is there a timeline for support in China?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 45d20da7-23ff-7f4b-6689-be40e3b55028
Version Independent ID: 20d481b8-80bc-8249-7196-7d09834f61c2
Content: Virtual network service endpoints for Azure Key Vault
Content Source: articles/key-vault/key-vault-overview-vnet-service-endpoints.md
Service: key-vault
GitHub Login: @amitbapat
Microsoft Alias: ambapat

@johnthcall Thanks for the Comment. We are actively investigating and will get back to you soon.

@johnthcall Thanks for the feedback !  I have assigned this issue to content author to investigate and update the document as appropriate.

It appears support is currently being rolled out. Will track and verify this issue.

This was successfully rolled out


Not following size constraint

Let's say I set the size to 13.
Use a custom alphabet that drops off the - character.
I randomly get between 12-13 character ids. Any ideas?
Can confirm via SELECT * FROM nanoid(13) WHERE LENGTH(nanoid) != 13;

ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW
to
ModuleSymbhasOwnPr_0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW

that seems to have fixed it if I want to rid of the - character... but.... maybe a better way exists?


Can't access old service with new version

I  had version (1) with service:
/api/notification
Created new version (2) with new service:
/api/reset-bagde
Default version is 1.
In version 2 I changed  /api/notification logic, only for version 2.
/api/notification was copied in V2 folder and I changed it, but the problem is I can't access v2/api/notification :(
response is:
{
"type": "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html",
"title": "Not Found",
"status": 404,
"detail": "Page not found."
}
Can someone explain me, why? and is the problem in version of apigility?
"zfcampus/zf-apigility": "1.0.2"
by this video this should work: https://youtu.be/D_mcntk4tXI?t=1241

Problem is in config.php, no configs for V2.
I created a new config V2.module.config.php and I added .
Also I merged both config in module.php: .

This repository has been closed and moved to laminas-api-tools/api-tools; a new issue has been opened at https://github.com/laminas-api-tools/api-tools/issues/39.


MsgPackReader: properly increment index in ext

The parseExt helper in MsgPackReader was not properly updating the
position in the data source.
Added two regression tests. These compare serialized and re-serialized
values (instead of just initial and serialized) since structurally identical Ext
messages won't compare identical (due to the Array[Byte] field whose
equality is determined by identity).
Fixes #369

I've switched back to Array[Byte] for the tests.
If you are planning on squashing and merging, maybe use that as the commit message instead of the default concatenation of intermediate messages?


Long item-list in Dropdown drops-up instead of down :(

Long item-list in Dropdown drops-up instead of down :(
I think it should better drop-down instead of drop-up if the item-list doesnt fit either in "up-or-down-case".
Tested with FF on Linux and Safari on iOS 11 on https://getbootstrap.com/docs/4.0/components/dropdowns/
Screenshot reflects the web-browsers current window-size:

That's the normal behavior but you can disable that with flip option https://getbootstrap.com/docs/4.0/components/dropdowns/#options

yep, thanks!
adding
data-flip="false"

to the button fixed that problem.

It sure did and I thank you guys.


Pull request docs

Just a pure docs pull request to tell people to use the normal github way of sending pull requests (not against master, against a feature branch).

LGTM


phantom 1.9.10 - queries problems and consistency level

Using where clause with "AND" not working
Set consistency level on any query not working

1.8.12 works fine with "Where" and "AND" but not with Consistency level
XXXTable
.select
.where(.id eqs someId)
.and(.timeUUID lt from.getOrElse(UUIDs.timeBased()))
.limit(pageSize)
.fetch()

Hi @Kenzo777 , I doubt the and part is not working on the basis of tests passing and no other reports being made, but if you could please create a gist or paste a complete example here I will check it out. We have extensive tests for and. Consistency levels have been somewhat of a problem as they have completely changed in newer versions of CQL and there is really no great way to set them on a per query level anymore.
You have to run 2 queries now essentially:

USE CONSISTENCY QUORUM;

UPDATE TABLE WHERE blabla;

"And" operation part not working also At the new 1.10.1 it's working in 1.8.12 .
All tests not including any - select where query with "and" operation -
CREATE TABLE IF NOT EXISTS timeline(
tag		text,
timeIndex timeuuid,
data         text,
PRIMARY KEY(tag,timeIndex)
)
WITH CLUSTERING ORDER BY (timeIndex DESC)
if we want to query this table with phantom dsl .
TimelineTable.select
.where(.tag eqs "SOME_TAG")
.and(.timeIndex lt UUIDs.timeBased())
.limit(pageSize)
.fetch()
same example works fine in 1.8.12  . but the newer version return error message :  java.lang.NoSuchMethodError: com.websudos.phantom.builder.query.Query.and(Lscala/Function1;)Lcom/websudos/phantom/builder/query/Query;

Hi @Kenzo777 ,
I think you have a dependency conflict with phantom in your classpath, but unless you post the full stacktrace properly I cannot help you. Consistency level of a per level basis has been removed in Cassandra, not in phantom so it will not work anymore, you have to set it at protocol level instead.
Please post the full stacktrace, I am fairly confident you are experiencing a dependency collision problem and that phantom does work as expected there otherwise no one would use it.
Regards,
Flavian


Add @Param processing, create synth, beans as needed.

@melloware Here's what I've been talking about.
I also realized you don't even need to add the @Inject to @Param fields that don't have it - Quarkus will do this for you automatically. It is a non-standard feature which can be turned off optionally but there's no reason to do that, really (apart from when you run CDI TCKs which have tests expecting failure in such a case). Therefore, I have omitted that build step from this PR.

This is amazing let me test it out!

@all-contributors add @manovotn for code


Trying to get the bare minimum of TypeScript and Velo

Good day Algimantas,
I have replicated your repository in attempt to transform a demo website I'm building into TypeScript
I do not care much for the test suite, nor for Prettier, so I have tried removing them and reconfiguring the repository.
I have yet to successfully pull it off, and would like to request some assistance, if you're willing to help.
Main Problem
I have copied the tsconfig and jsconfig.settings files, and it seems the build works, but the problem is although .js files recognize $w(selector), with the selector type being WixElementSelector; the .ts files, interpret it as any, and no types are recognized.
Misc
Ideally, I want to be able to use .tsw files and have started modifying rename.js (as rename.ts) to recurse over ./app and search for all .tsw files, to rename the compiled outputs to .jsw files.
However, this will only be possible if TypeScript knows to compile the .tsw files, but unfortunately, I can not really find my hands and feet in the various tsconfig and jsconfig files
Edit: Probably irrelevant, from what I found, it seems not currently possible to have TS recognize custom file extensions, though I may be wrong.
Also exceedingly complex when taking imports into account...

I'd very much appreciate any assistance you may offer whatsoever, and thanks ahead, even if just for reading this

I got it working, took a while, but I solved the main problem; now the WixElementSelector works with page-specific types!
This also allowed me to fix some problems with @wix/cli generating unresolved types for certain elements, 'extending' the $w namespace
I will be creating a public template project for easy creation of TypeScript Wix sites
Thank you for this repository, it lead me in the right direction :)


Enhance Diff Application and Error Transparency

PR Description
Background
Users currently face issues with partial diff applications where the system silently discards unapplied sections. This results in non-functional code without any indication of failure, requiring manual verification for each diff.
Proposed Solution
Enhanced Error Reporting: To assist in manual correction, the system will output errors more comprehensively. Invalid sections of diffs will be printed in detail to both the console and a debug file, providing clear guidance on what went wrong.
Technical Details
The problem was primarily with the diff validation failing to handle specific hunks. This failure was compounded by inadequate error outputs, which did not provide the full context necessary for manual intervention.

Hello @TheoMcCabe,
I've enhanced the system to provide detailed outputs for invalid hunks. Now, each hunk will either be parsed successfully or be printed with a reason for failure.
I've included your specific case in our tests; interestingly, it works perfectly. You can review the improved file output at Test function on the corresponding branch. This is the chat file I am currently using: Theo Case Chat. Feel free to modify parts of the chat file to manually generate an invalid hunk for testing purposes.
Please let me know if this resolves the issues with the Docker file and the silent failing diffs.


HELP WANTED ! mutliple values wanted in multiStreampath

I am working on a project and wanted a help to this.

Here i am streaiming path switch 1 and switch 2 using multipathstreaming.
But i wanted to get both the values : pin and status when switch child gets triggered.
How can i archive this?
should i use json parsing ?or any other method.
My code of multiStreamingPath :
FirebaseData firebaseData1;
String parentPath = "/Devices";
String childPath[1] = {"/Room1"};
size_t childPathSize = 1;
void handlePin(String path,String value)
{
if(path == "/Board1/Switch1")
{
Serial.println("Switch 1 data recieved");
Serial.println(value);
}
else if(path=="/Board1/Switch2")
{
Serial.println("Switch 2 data recieved");
Serial.println(value);
}
}
void streamCallback(MultiPathStreamData stream)
{
Serial.println();
Serial.println("Stream Data1 available");
size_t numChild = sizeof(childPath) / sizeof(childPath[0]);
for (size_t i = 0; i < numChild; i++)
{
if (stream.get(childPath[i]))
{
Serial.println("stream ");
Serial.println(stream.get(childPath[i]));
Serial.println("path: "+ stream.dataPath + ", type: " + stream.type + ",value: " + stream.value);
//Custom function to make pin high and low
handlePin(stream.dataPath,stream.value);
}
}
Serial.println();
}
void streamTimeoutCallback(bool timeout)
{
if (timeout)
Serial.println("stream timeout, resuming...\n");
}
void setup()
{
Serial.begin(115200);
WiFi.begin(WIFI_SSID, WIFI_PASSWORD);
Serial.print("Connecting to Wi-Fi");
while (WiFi.status() != WL_CONNECTED)
{
Serial.print(".");
delay(300);
}
Serial.println();
Serial.print("Connected with IP: ");
Serial.println(WiFi.localIP());
Serial.println();
Firebase.begin(FIREBASE_HOST,FIREBASE_AUTH);
Firebase.reconnectWiFi(true);
//Check stream is working or not
if (!Firebase.beginMultiPathStream(firebaseData1, parentPath,childPath,childPathSize))
{
Serial.println("cant begin stream connection\n");
Serial.println("Reason: "+firebaseData1.errorReason());
}
Firebase.setMultiPathStreamCallback(firebaseData1,streamCallback,streamTimeoutCallback);
}
void loop()
{
}

You should assign the child path values in childPath array as what you want to get the value e.g. Room1/Switch1 and Room1/Switch2
You can also use normal stream and parse the data under /Devices manually.
Multistream is only parse the value for you which childPath used as the key the parse value from stream json payload.

Can stream.value return a json??

Why don't test yourself?

You should learn how Firebase works before using tool or sdk or library.

No, actually i over used my nodemcu and its not working right now

There are many examples and documentation.
This is the repository for code related issue not for getting started to Firebase.
If you ever use or program any Firebase client app before, you will understand how to use the library.

ok thanks,i will get back to this after my new nodemcu comes

You should use community forum for general help. I'm trying to support and spend the time but you should try it first and read the document related to what you're working.

ahh really sorry for that.

I am trying to get the json data from multipatahstream object in handlepin() function, but i cant find function for the same.
database:

Json getting from stream :

My code :
#include <ESP8266WiFi.h>
#include <FirebaseESP8266.h>
#define FIREBASE_HOST "prototypexreal-default-rtdb.firebaseio.com/"
#define FIREBASE_AUTH "FoUFEsd9oeh1iQfxswlxJwkCP5ybHEWKTp3i3SyP"
/*Define the WiFi credentials */
#define WIFI_SSID "WIFI_AP"
#define WIFI_PASSWORD "WIFI_PASSWORD"
FirebaseData firebaseData1;
String parentPath = "/Devices";
String childPath[1] = {"/Room 1"};
size_t childPathSize = 1;
void handlePin(String path,FirebaseJson &value)
{
if(path == "/Board1/Switch1")
{
Serial.println("Switch 1 data recieved");
FirebaseJsonData result;
value.get(result,"Board1/Switch1");
Serial.println(result.stringValue);
}
else if(path=="/Board1/Switch2")
{
Serial.println("Switch 2 data recieved");
FirebaseJsonData result;
value.get(result,"Board1/Switch2");
Serial.println(result.stringValue);
}
}
void streamCallback(MultiPathStreamData stream)
{
Serial.println();
Serial.println("Stream Data1 available");
size_t numChild = sizeof(childPath) / sizeof(childPath[0]);
for (size_t i = 0; i < numChild; i++)
{
if (stream.get(childPath[i]))
{
Serial.println("stream ");
Serial.println(stream.get(childPath[i]));
  Serial.println("path: "+ stream.dataPath + ", type: " + stream.type + ",value: " + stream.value);

  //Custom function to make pin high and low
  handlePin(stream.dataPath,stream);
}

}
Serial.println();
}
void streamTimeoutCallback(bool timeout)
{
if (timeout)
Serial.println("stream timeout, resuming...\n");
}
void setup()
{
Serial.begin(115200);
WiFi.begin(WIFI_SSID, WIFI_PASSWORD);
Serial.print("Connecting to Wi-Fi");
while (WiFi.status() != WL_CONNECTED)
{
Serial.print(".");
delay(300);
}
Serial.println();
Serial.print("Connected with IP: ");
Serial.println(WiFi.localIP());
Serial.println();
Firebase.begin(FIREBASE_HOST,FIREBASE_AUTH);
Firebase.reconnectWiFi(true);
//Check stream is working or not
if (!Firebase.beginMultiPathStream(firebaseData1, parentPath,childPath,childPathSize))
{
Serial.println("cant begin stream connection\n");
Serial.println("Reason: "+firebaseData1.errorReason());
}
Firebase.setMultiPathStreamCallback(firebaseData1,streamCallback,streamTimeoutCallback);
}
void loop()
{
}

Because you don't get what I mentioned above.
You should do this.
String childPath[2] = {"/Board1/Switch1", "/Board1/Switch2"};
The childPath array contains the children paths that you want to listen the value changes.

But i want to parse it as json ,because i will be adding more data under Switch .
I think its not possible ,as stream.value gives String.
I think single child streaming will work?

You can't do with multipath stream, use normal stream instead.
The multipath stream internally parses the values from json payload and don't allow the json payload as this is the design of this function and you can use normal stream and handle payload yourself.

stop using multipath stream and use normal stream i your solution.

yup i got that,thanks
Working on it

database :

Code:
#include <ESP8266WiFi.h>
#include <FirebaseESP8266.h>
#define FIREBASE_HOST "x-x-x"
#define FIREBASE_AUTH "x-x-x"
/*Define the WiFi credentials */
#define WIFI_SSID "WIFI_AP"
#define WIFI_PASSWORD "WIFI_PASSWORD"
FirebaseData firebaseData1;
String Path = "/Devices/Room1/Board1";
String ChildPath[2] = {"Switch1","Switch2"};
void setup()
{
Serial.begin(115200);
WiFi.begin(WIFI_SSID, WIFI_PASSWORD);
Serial.print("Connecting to Wi-Fi");
while (WiFi.status() != WL_CONNECTED)
{
Serial.print(".");
delay(300);
}
Serial.println();
Serial.print("Connected with IP: ");
Serial.println(WiFi.localIP());
Serial.println();
Firebase.begin(FIREBASE_HOST,FIREBASE_AUTH);
Firebase.reconnectWiFi(true);
if (!Firebase.beginStream(firebaseData1, Path))
{
Serial.println("Could not begin stream");
Serial.println("REASON: " + firebaseData1.errorReason());
Serial.println();
}
}
void loop()
{
if (!Firebase.readStream(firebaseData1))
{                                             Serial.println();
Serial.println("Can't read stream data");
Serial.println("REASON: " + firebaseData1.errorReason());
Serial.println();
}
else
Serial.println("Streaming....");
if (firebaseData1.streamTimeout())
{
Serial.println();
Serial.println("Stream timeout, resume streaming...");
Serial.println();
}
if (firebaseData1.streamAvailable())
{
if (firebaseData1.dataType() == "json")
{
FirebaseJson &json = firebaseData1.jsonObject();
    for(int i=0;i<2;i++)
    {
   FirebaseJsonData jsondata;
    json.get(jsondata,ChildPath[i]);
    Serial.println(jsondata.stringValue);
    }
  }

}
else
Serial.println("No stream available");
}
Output:

Ca you tell why its not getting stream data??


[CSL-42] Ensure node leaves time-slave mode

@georgeee
Sometimes node is stuck in time-slave mode, doesn't switch to regular node mode.
Need to debug this.

@gromak
Probably it doesn't get stuck, but it takes several minutes to leave this mode. I know for sure that sometimes it takes 7+ minutes which is also bad and strange.

@georgeee
Sure

@georgeee
P.S. reproduced on 02 Nov's 30-node setup, 0th node
See node1 in logs-no-reply-4.zip


Refactor vue delimeters to use es6 template delimeters

Current delimiters are not editor friendly, change to use ES6 template delimiters while there is not too much VueJS code

LGTM

LGTM


[ldd-img_surface] command_instrument_key

Add command_instrument_key to img_surface:Instrument_Information (parallel to ops_instrument_key).
The command_instrument_key specifies the identifier or key for the instrument that was commanded to take the observation. It may differ from ops_instrument_key in that the command may apply to the stereo camera as a pair (e.g. MCAMZ_BOTH) rather than a specific left or right eye.
Comes from OBSERVATION_REQUEST_PARMS.COMMAND_INSTRUMENT_ID.
One could legitimately ask, why is this not in Imaging. Well, same reason ops_instrument_key isn't there - Cristina had a major objection to it being there, which is why it was moved to img_surface. I didn't agree, but was okay with the compromise. But since we're here now, it makes sense to keep the command id in the same place. Also, there's no particularly good place to put it in img:Commanded_Parameters.

heading issue #42 - closing this


Refactor dynamic task mapping implementation

Currently DAG Factory dynamic task mapping implementation relies in internal Airflow implementation details (that it uses XComArg). If Airflow changes the implementation, DAG factory will stop working.
With this PR, we're refactoring to use the task.output parameter that is closer to the Airflow public API.
This was a suggestion by @ashb while we were discussing the overall DAG Factory dynamic task implementation.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 92.56%. Comparing base (72bc85b) to head (04c1d5a).
Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #313      +/-   ##
==========================================
- Coverage   92.57%   92.56%   -0.02%
==========================================
  Files          10       10
  Lines         700      699       -1
==========================================
- Hits          648      647       -1
  Misses         52       52

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


next selection doubts

hi～this is a nice project，but  I have a doubt about that why next SSR should be used in the admin project. Can you share some special usage scenarios?

Hi @henniliu , thank you and sorry for late reply.
It is totally up to personal preference or project requirements to use SSR or CSR.

It is totally up to personal preference or project requirements to use SSR or CSR.

yeah，using SSR or CSR depends on developer preference, When I was making technical options, I wanted to understand the advantages of SSR in the admin project. In my previous work experience, I used Vue or react to develop the CSR model. In most cases, it was a SPA; so in my opinion Of course, I think SSR is mostly used on the Customer end, such as official websites or blogs. During these days, I carefully read the official documentation of next again, which deepened my understanding of next. I think that the application of next SSR in the admin project can make some scenarios more secure, such as SAAS projects, regarding permissions. Control is safer. I don’t know if what I said is correct.  I look forward to you sharing some of your opinions，thanks.

Hi @henniliu
Sure, for me, I prefer SSR first for the following reasons:

Authentication and permission control from the server.
Parse and validate query parameters from the server.
Manipulate session and cookies (rare).

Depending on the situation, if the initial page load is slow, I will move the heavy API to the client side.
For the front end, SSR will help us improve the SEO. I will also add SWR to fetch the latest page content.
While we are discussing the page router, the new Next.JS has a new approach with the app router, which utilize the server component. I highly recommend you have a look into it.

Hi @henniliu
Sure, for me, I prefer SSR first for the following reasons:

Authentication and permission control from the server.
Parse and validate query parameters from the server.
Manipulate session and cookies (rare).

Depending on the situation, if the initial page load is slow, I will move the heavy API to the client side.
For the front end, SSR will help us improve the SEO. I will also add SWR to fetch the latest page content.
While we are discussing the page router, the new Next.JS has a new approach with the app router, which utilize the server component. I highly recommend you have a look into it.

Thank you for your sharing,  it has been very enlightening. I understand that when you mention "heavy API," you are referring to the route.ts file in the app/api directory. I'm working on a after-sales robot project similar to OpenAI, using the next13.4 app router. At the same time, I'm also interested in Next.js authentication, such as nextAuth.js. However, I'm still not very familiar with some API and certain scenarios, and I'm actively learning.
Once again, thank you for your guidance.

Sorry to bother you again, but I have to say this is an excellent project.  By reading and learning from the code, I have gained a lot and even solved many scenarios I faced at work.
In my project, there is a scenario where the client initiates a login, and then the token is stored in cookies. Initially, I placed the action of setting cookies on the server-side page. However, the cookies set on the server-side in Next.js cannot be automatically carried to the client through HTTPS requests. If I directly set cookies on the client side, I worry about security issues. I considered using plugins like OAuth2 or NextAuth, but I wasn't sure how to use them or choose the right one. Then, I thought of this project. The login and registration logic in this project is exactly the functionality I was looking for, and it successfully helped me solve the login and registration issues.
Of course, I will also delve deeper into the use of NextAuth. Once again, thank you for letting me learn so much from this project!

Thank you. Just for sharing, I have opted next-auth too https://github.com/kitloong/nextjs-dashboard/blob/main/package.json#L29
I will upgrade to<EMAIL_ADDRESS>when it become stable


504 GW Timeout for Host from second Network

Hi, first of all english is not my main language so sorry for misspelling,
so heres my setup:
Server with Docker installed - IP <IP_ADDRESS>
Docker Network 1 - <IP_ADDRESS>/24
Docker Network 2 - <IP_ADDRESS>/24
Nginx Proxy Manager is connected to both Networks and can ping everyone.
All already ceated Hosts are in Network 1 and are working.
My latest Project should be seperated from the others, therefore the extra network.
From the Nginx shell i can ping the container in network 2.
From local Network i can access the Webinterface via <IP_ADDRESS>:1234.
But the created host with following settings:
domain: "test.mydomain.com"
sheme: http
forwarded IP: <IP_ADDRESS>
forward Port: 1234
cache assets, block common exploits, websocket support off (for testing)
no settings in custom location, ssl or advanced.
This host is not accessible via the domain name. It just drops an 504 Gateway Time-out.
 Create a new Docker Network
2. Create Docker Container and add it to the new Network & NPM too
3. Create a CName for the new Container and create the Host
4. Open the Webinterface of the new Container via IP and it will work.
5. Try to open the Webinterface via the CName specified in the Host & See the error

Update:
i got my Problem fixed... instead of using the <IP_ADDRESS> of my server. wich is pingable from my host and proxy manager i used the <IP_ADDRESS> wich is also my server and tada ... it works ... i dont understand why but it works


Exhaustive switch case statements consisting of return statements do not satisfy function return requirements

Seeing this using dartpad:  https://dartpad.dartlang.org/ (Based on Dart SDK 1.25.0.)
Also seeing in Flutter:
Flutter 0.3.1 • channel beta • https://github.com/flutter/flutter.git
Framework • revision 12bbaba9ae (4 weeks ago) • 2018-04-19 23:36:15 -0700
Engine • revision 09d05a3891
Tools • Dart 2.0.0-dev.48.0.flutter-fe606f890b
I am developing on a Mac.

When I have a switch statement over an Enum, that is exhaustive, if each branch of the switch case has a return statement, I still get an info in the compiler indicating the function does not end with a return statement.  Inserting a return statement at the end of the function removes this error, despite the fact that I believe this statement cannot execute under any circumstances.
This is demonstrated in this 5 line dartpad.
enum Foo {A, B}

String myFunc(Foo f) {
  switch(f) {
    case Foo.A: return "A";
    case Foo.B: return "B";
  }
}

@danbrotherston Unfortunately f can also be null.

Gross.
Thanks for clarifying.
I do find it strange that I don't get a "non-exhaustive" error in that case, and worse, I cannot even make a case statement for null.
This could lead me to write buggy code.  I don't normally think of Enums as the type of things that can be null.

Agreed. You could always use default:

I don't normally think of Enums as the type of things that can be null.

Similar with bool variables.
Hopefully we will get #22 (see also #27231) eventually

FWIW I am getting the same warning if in this case:
enum Foo {A, B}

extension Bar on Foo {
  String get value {
    switch (this) {
      case Foo.A: return "A";
      case Foo.B: return "B";
    }
  }
}

In this example I don't think this being null is the cause of the warning. Can anyone shed some light as to what's going on here?
Demonstrated here: https://dartpad.dartlang.org/cf1bf7267acffb795ddbf75fc3b71cbe

@vrutberg static extension methods are just another syntax for static calls, which means that this in an extension method can actually be null. Try something like this:
enum Foo {A, B}

extension Bar on Foo {
  String get value {
    switch (this) {
      case Foo.A: return "A";
      case Foo.B: return "B";
      default:
        print('this=${this}');
    }
  }
}

void main() {
  Foo x = null;
  print(x.value);
}

@mraleph Oh, alright. Thanks for shedding some light on that, that does explain the warning.


Remove local_interactive parameter and related functions

Issue link

Jira: https://issues.redhat.com/browse/RHOAIENG-5444
What changes have been made

Remove local_interactive parameter as we are defaulting to always enable this feature.
Removed related functions and adjusted tests.
Removed creation of initContainer as it's currently broken here and is being created instead in the CFO: https://github.com/project-codeflare/codeflare-operator/pull/508

Verification steps

local_interactive parameter is no longer available to be set by user.
Running through a notebook should work as expected.
e2e tests passing can be sufficient.

Checks

[ ] I've made sure the tests are passing.
Testing Strategy

[ ] Unit tests
[ ] Manual tests
[ ] Testing is not required for this change

Closing in favour of: https://github.com/project-codeflare/codeflare-sdk/pull/509


Update scala-collection-compat to 2.11.0

About this PR
📦 Updates org.scala-lang.modules:scala-collection-compat from 2.1.6 to 2.11.0
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-lang.modules", artifactId = "scala-collection-compat" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.scala-lang.modules", artifactId = "scala-collection-compat" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, version-scheme:early-semver, commit-count:1

Superseded by #396.


Linuxbrew recipe should depend on gcc

We don't explicitly depend on any cc. Macos comes with cc builtin... but not so much on Linux, so there we need to declare it.

Fixed via https://github.com/actonlang/homebrew-acton/pull/9. Closing.


Delete extra ]

@Youssef1313 : Thanks for your contribution! The author(s) have been notified to review your proposed change.


TermDebug expression cleanup and assignments

follow up to #9049:

only cleanup when not send "internally"
replace all embedded whitespace, not only newline characters
cleanup of trailing spaces now working

Looks OK, I'll include it.


Update rvalueCast default

Properly update rvalueCast's note that the flag is off by default

@ZachHenkel,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


improving accessibility - Label Buttons for Screen Readers

Hello,
As a completely blind user, I rely on screen readers to interact with web interfaces. I use NVDA on windows. I noticed that some buttons on BetterGPT do not have proper labels(such as the delete/edit buttons), making it difficult for me to understand their purpose.
To improve accessibility, please add descriptive aria-label attributes to the button elements. By labeling the buttons, they will become more usable for those who rely on screen readers.
Thanks.

We will add this!


[Don't review] Users/kasubram/jenkinsretrylimitfix temp2

This PR is stale because it has been open for a year with no activity. Remove the stale label or comment on the PR otherwise this will be closed in 5 days


drivers: sensor: sht3xd: migrate from Kconfig to device tree and add sample

There's at least one gap here, in that the Kconfig to enable SHT3XD_TRIGGER should probably be conditional on a non-empty DT_SHT3XD_GPIO_ALERT_DEV_NAME.  I don't know how to make that happen, and can't find any exemplars to use as a model.
Also I'm not sure the sample is properly integrated into the test infrastructure (it's executed, but no boards are configured for it).  I tested with a nrf51_ble400, but could add it to any DK-class Nordic board if desired.

There's at least one gap here, in that the Kconfig to enable SHT3XD_TRIGGER should probably be conditional on a non-empty DT_SHT3XD_GPIO_ALERT_DEV_NAME. I don't know how to make that happen, and can't find any exemplars to use as a model.

It's not possible to have Kconfig symbols depend on information from DT at the moment, but it's planned. @galak is working on making DT run before Kconfig, which needs to happen first.

@ulfalizer Thanks; that's what I remembered, but couldn't reconstruct where I'd seen that mentioned and how close it was to being merged.  I'm working on a bunch of sensor addition/extensions where I'd like to use device tree; if Zephyr won't be ready for a while I'll hold on to the rest of the patches.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@c9906dd). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master   #11545   +/-   ##
=========================================
  Coverage          ?   48.42%
=========================================
  Files             ?      270
  Lines             ?    42126
  Branches          ?    10139
=========================================
  Hits              ?    20400
  Misses            ?    17645
  Partials          ?     4081

Continue to review full report at Codecov.

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

@ulfalizer Thanks; that's what I remembered, but couldn't reconstruct where I'd seen that mentioned and how close it was to being merged. I'm working on a bunch of sensor addition/extensions where I'd like to use device tree; if Zephyr won't be ready for a while I'll hold on to the rest of the patches.

Why not just remove the Kconfig SHT3XD_TRIGGER symbol and do something like if defined(DT_SHT3XD_GPIO_ALERT_DEV_NAME) in the code?

@galak My thought was that if the hardware doesn't have the signals required to support triggers then the application/user should be prevented from enabling it in Kconfig.  TRIGGER_NONE is the only satisfiable configuration in that situation.  Right now it's not clear there's a way to enforce that.

@galak My thought was that if the hardware doesn't have the signals required to support triggers then the application/user should be prevented from enabling it in Kconfig. TRIGGER_NONE is the only satisfiable configuration in that situation. Right now it's not clear there's a way to enforce that.
(The application choice of global or own thread triggers, and for some sensors the type of trigger, are still things that I think belong in Kconfig.)

I guess are you wanting apps to be able to do something like:
#ifdef CONFIG_SHT3XD_TRIGGER_NONE
...
#else
...
#endif

Just trying to understand why we need the Kconfig option for TRIGGER at all.

That the signal is connected in hardware allows trigger to be supported, but the application might not need to use it.  Further, the trigger implementation may be configurable, as with:
SHT3XD_TRIGGER_GLOBAL_THREAD
SHT3XD_TRIGGER_OWN_THREAD
SHT3XD_THREAD_PRIORITY
SHT3XD_THREAD_STACK_SIZE

All these are referenced only in the driver source, and none are meaningful if alert-gpios is missing from the device tree (i.e. not connected in hardware).  Are these not things that should be controlled through Kconfig?  If they are, then IMO exposing the UI to set them should be conditioned on information from the device tree.
Beyond triggers I understood there was agreement that while things like signal active level (high/low) might be in the device tree, whether the interrupt was edge or level triggered is something that would remain in Kconfig (also high/low accuracy edge detection).  Those also should be settable only when the signal is connected in hardware; when it isn't connected unsatisfiable settings in prj.conf should produce diagnostics.
If there's another way than Kconfig to get application configuration decisions propagated into driver code then maybe Kconfig doesn't need information from the device tree, but I thought that was its role.

@galak I might have finally understood your point once I noticed the leftover SHT3XD_TRIGGER.  I've added two commits that remove it and allow SHT3XD_TRIGGER_NONE to substitute, which is what I had in mind.  Is this approach better? worse? ...?

@galak I might have finally understood your point once I noticed the leftover SHT3XD_TRIGGER. I've added two commits that remove it and allow SHT3XD_TRIGGER_NONE to substitute, which is what I had in mind. Is this approach better? worse? ...?

I think its an improvement, however I think we should be dealing with such things dynamically not via Kconfig.  The reason I say that, is what happens if for some reason you have 2 sensors in a system one with trigger and one w/o.  How would you configure or deal with that?

@galak Haven't thought about that yet.  I don't see much demand for two instances of the same sensor on the same device, as most sensors are measuring something so localized having two on the device wouldn't make any sense.  An SDP810 (Zephyr doesn't support yet) might usefully have multiple instances; same with thermistors.
In any case, I don't believe this discussion is specific to the changes in the PR and it's certainly taking things in a direction I haven't seen discussed before.  Do your concerns block this PR?  Can this discussion be moved to a new issue?

@galak Haven't thought about that yet. I don't see much demand for two instances of the same sensor on the same device, as most sensors are measuring something so localized having two on the device wouldn't make any sense. An SDP810 (Zephyr doesn't support yet) might usefully have multiple instances; same with thermistors.
In any case, I don't believe this discussion is specific to the changes in the PR and it's certainly taking things in a direction I haven't seen discussed before. Do your concerns block this PR? Can this discussion be moved to a new issue?

This concern doesn't block the PR, just wanted to raise it to your attention as you think or look at other sensors.

@galak OK, so it's not an improvement ;-)
I'm going to wait a day or two for other comments; if there are no other changes or concerns I'll drop the patches that removed the option and do another test/push round.

@galak OK, so it's not an improvement ;-)
I'm going to wait a day or two for other comments; if there are no other changes or concerns I'll drop the patches that removed the option and do another test/push round.

ok, once you drop the patches I'll approve this.

@galak dropped the patches as requested.

The revised dts_fixup will fail checkpatch because the lines are too long.  Per a slack exchange on 2018-11-24 this is routinely accepted as an exception when noted in the PR.

Marked as do-not-merge until #11737 gets some discussion, as we might be able to get rid of the whole dts_fixup issue.

Removed the summary line [DNM] as it seems unlikely that we can get rid of the dts_fixup files quickly.

recheck

@pabigot Could you please rebase to resolve the merge conflict?


Everyone got crashed

[      script:hardcap] Connecting: James smith
[script:Badger_Discor] [Badger_Perms] ERROR: Code 200 was not reached... Returning false. [Member Data NOT FOUND]
[     script:Guardian] [Guardian] (playerConnecting) Player James smith  Could not connect because role id's were not present
[     script:Guardian] [Guardian] (playerConnecting) Player James smith  Attempted to connect with Guardian, however they failed

Not an issue with this script... Issue on your end.

So what is the fix? Mine was working fine now im getting this aswell..


Children page aliases are not deleted on delete

Sorry if I'm duplicating bug here, but I haven't found anything related.
Way to reproduce:

Create page level 1 with sub page of level 2.
Create a parent page on level 2 with few sub pages - level 3.
Create an alias of the parent page from level 2 and put it on level 1.
Create a separate page, level 2, with Page List Block on it to list pages created on previous step, include aliases display.
At this step you should be able to see pages created on the first step
Go to dashboard and delete parent alias. Alias will disappear from Dashboard.
Now navigate to page with Page Block, and you will be able to see children pages from alias page. If you will navigate to that page it's slug will be indicating that this is alias page.

So as from what I understand from code - page with particular ID is deleted ( and it's parent's page children counter is decreased ), but actual children pages are left in tact.
That's on C5 <IP_ADDRESS>.

This seems like something that would be better suited getting information on on concrete5.org, from the official bug tracker where unconfirmed bug reports are supposed to be submitted.  Make sure you're using the latest stable version of concrete5.org.


feat: use pact-cli pactflow publish-provider-contract

Improvements to Provider Contract Publishing
https://github.com/pactflow/roadmap/issues/68

The ability to publish a provider contract (such as an OAS) and verification results to Pactflow via a CLI.

Original Pages from Docs:-
Step 4 in  our BDCT provider testing guide
API documentation for call & Example
Example of usage of pact cli pactflow publish-provider-contract command
Steps to use

Download the appropriate CLI version

Docker: docker pull pactfoundation/pact-cli:<IP_ADDRESS>

Enable Feature  to the Docker container.


#29 fix subquery evaluation in FederationSail due to wrong join order

This PR addresses GitHub issue: #29. It replaces PR #148 which was accidentally created against the wrong branch.
The evaluation of subqueries in FederationSail was not correct as
revealed by W3C test sq14. This is caused by an unsuitable join order,
where the sub select is processed using the results of a graph pattern
as intermediate result.
The simplest fix for this case is to set the cardinality hints for the
optimizer for SLICE algebra nodes to 1 such that they are executed as
left join argument with high probability.
The full fix (which will be done in another change) could to use a hash
based join strategy.

@aschwarte10 if you're happy with this as-is, go ahead and merge. If anything is unclear about the tweaks to branches I did, let me know.

I think it is always good to evaluate subsets as early as possible, so from my side this change should be good. @pulquero had some comments about whether this is general enough.
See also the related pull request https://github.com/eclipse/rdf4j/pull/159 where a hash join is applied instead. We should decide whether we want both changes in or only this one, or only the other.


Navigator push that doesn't redraw underlying screens in Tab Bar

Hi all,
I have an application that has a bottom tab bar, with a center docked FAB.
Here is that screen (Home.dart) with the screens.
  bottomNavigationBar: FABBottomAppBar(
    centerItemText: '',
    color: Colors.grey,
    selectedColor: Colors.blueAccent,
    notchedShape: CircularNotchedRectangle(),
    onTabSelected: _selectedTab,
    items: [
      FABBottomAppBarItem(iconData: CustomAppIcons.pray_icon, text: 'First Screen'),
      FABBottomAppBarItem(
          iconData: CustomAppIcons.praise_icon, text: 'Second Screen'),
      FABBottomAppBarItem(iconData: CustomAppIcons.user, text: 'Third Screen'),
      FABBottomAppBarItem(
          iconData: Icons.format_list_bulleted, text: 'Fourth Screen'),
    ],
  ),
  floatingActionButtonLocation: FloatingActionButtonLocation.centerDocked,
  floatingActionButton: Visibility(
    visible: _fabVisible,
    child: _buildFab(context, key: _fabKey),
  ), // This trailing comma makes auto-formatting nicer for build methods.
);

When the user tabs on the FAB it calls the following:
`String result = await Navigator.of(context).push(
  PageRouteBuilder(
    fullscreenDialog: true,
    // maintainState: true,
    transitionDuration: _fabDuration,
    pageBuilder: (context, animation, secondaryAnimation) => CreateScreen(),
    transitionsBuilder: (context, animation, secondaryAnimation, child) =>
        _buildTransition(child, animation, fabSize, fabOffset),
  ),`

The problem is, when the FAB is tapped, it redraws the First Screen, Second Screen, Third Screen and Fourth Screen. I obviously don't like this for memory performance issues.
Is there a different navigator flow I can use to avoid this? I DO have the AutomaticKeepAliveClientMixin implemented already with the wantKeepAlive => true.
Would love any input.
Thanks

This is kind of a 'good enough' work around for what I personally intended lol..
`showDialog(
context: context,
child: CreateScreen()
);

Hi @danielgchap
is it still an issue? could you provide a complete minimal reproducible code sample?

Without additional information we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.


Add SDT protocol support

Adding most of the SDT protocol, and a bit more of DMP.
Neither are fully complete, current target is to implement enough to work with Shure wireless systems.
At time of this PR, there is enough functionality to emulate the wireless hardware for WWB in a read only state.
Some conceptual changes across the stack to make code blocks simpler, and other minor simplifications across the whole repository.
Probably also updating the Framework version

Thanks for your contribution. I have personally moved over to use this ACN project instead, but I'm happy to merge your PR.


PropertyGrid: Hide search bar

This Introduces a dependency property ShowSearchBar in order to hide the search bar.
The search bar XAML mark up has been updated to adjust the visibility accordingly.
Furthermore, multibinding is used to collapse the dockpanel visbility if the search bar and the sort buttons are both hidden.
To support that the BooleanArr2VisibilityConverter has been extented to optionally return a visible state if any of the bindings are visible (instead of all). For that the ConverterParameter can pass "UseAny"
Only show sort buttons, i.e. ShowSearchBar="False" ShowSortButton="True"

Collapsed Dock Panel if all hidden, i.e. ShowSearchBar="False" ShowSortButton="False"

Due to #892 this PR can be neglected (the linked PR contains all the code here but more up-to-date). So I will close it.


Improve TF func

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: sanderblue:x: NSSPKrishnaYou have signed the CLA already but the status is still pending? Let us recheck it.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: sanderblue:x: NSSPKrishnaYou have signed the CLA already but the status is still pending? Let us recheck it.


Demo page loads jQuery twice

Maybe due to bundle requiring the source? Investigate and configure Webpack if need be.

Not reproduced locally. Might be a bug from the firewall.


Support HashiCorp Vault namespaces (Enterprise feature) and allow non-standard transit engine names

Type of change
Select the type of your PR

Bugfix

Description
Currently the EnvelopeEncryption filter fails to operate against a HCE.  HCEs make use of the Enterprise namespace feature,
which means the URLs generated by the Kms implementation are wrong.
I took the approach of letting the vaultUrl provide full path to the transit engine.  That gives support for both namespaces, and gives scope to work with non-standard engine path names.
An alternative would have been to let the implementation accept a namespaces configuration parameter, with would be passed to the X-Vault-Namespace on the request.  A separate parameter would be required to allow for the customisation the name of the transit engine.
Additional Context
Why are you making this pull request?
Checklist
Please go through this checklist and make sure all applicable tasks have been done

[x] Write tests
[x] Make sure all tests pass
[ ] Review performance test results. Ensure that any degradations to performance numbers are understood and justified.
[ ] Make sure all Sonar-Lint warnings are addressed or are justifiably ignored.
[ ] Update documentation
[x] Reference relevant issue(s) and close them after merging
[x] For user facing changes, update CHANGELOG.md (remember to include changes affecting the API of the test artefacts too).

With this fix, the filter works with HCE too.  Here's I'm using a kroxylicious namespace created beneath the parent (admin) in my HCE instance.
    - type: EnvelopeEncryption
      config:
        kms: VaultKmsService
        kmsConfig:
          vaultUrl: https://sample-cluster-public-vault-a157adce.14dc13da.z1.hashicorp.cloud:8200/v1/admin/kroxylicious/transit/
          vaultToken: hvs.CAESIA9yak-E_ixxxxxxxxxxxxxxxxxxxxxxxxxxxx
        selector: TemplateKekSelector
        selectorConfig:
          template: "topic.${topicName}"

Is it a bit confusing that vaultUrl can be https://vault:8080 or https://vault:8080/v1/your/path/to/transit? It means vaultUrl in config can be either a base url, or a base transit url. Should we split it into vaultBaseUrl and transitEnginePath (default "/v1/transit")?

@robobario you make a good point.  The vaultUrl field name no longer describes the purpose.  I think I prefer a single field.
How about I rename the field vaultTransitEngineUrl and make the specification of the path mandatory?

How about I rename the field vaultTransitEngineUrl and make the specification of the path mandatory?

Yep that works for me, thanks

How about I rename the field vaultTransitEngineUrl and make the specification of the path mandatory?

Yes, assuming we don't need to support any other engines in the future.

How about I rename the field vaultTransitEngineUrl and make the specification of the path mandatory?

Yes, assuming we don't need to support any other engines in the future.

I can't foreesee myself.  Maybe the Kroxylicious core might have a HashiCorp Secrets integration, but I don't think that would be a concern for EE or KMS services.

@strimzi-ci run system tests

:arrow_forward: Build started - check Jenkins for more info. :arrow_forward:

:x: Test Summary :x:
BUILD NUMBER: 11
KAFKA VERSION: 3.6.1
TOTAL: 6
PASS: 3
FAIL: 2
SKIP: 1
:heavy_exclamation_mark: Test Failures :heavy_exclamation_mark:

ensureClusterHasEncryptedMessage(String) in io.kroxylicious.systemtests.EnvelopeEncryptionST

Re-run command:
@strimzi-ci run system tests

@franvila it looks to me like the systests for this PR ran with the wrong production code.  The tests pass locally.
I'll try running them again.

@strimzi-ci run system tests

:arrow_forward: Build started - check Jenkins for more info. :arrow_forward:

:x: Test Summary :x:
BUILD NUMBER: 13
KAFKA VERSION: 3.6.1
TOTAL: 6
PASS: 3
FAIL: 2
SKIP: 1
:heavy_exclamation_mark: Test Failures :heavy_exclamation_mark:

ensureClusterHasEncryptedMessage(String) in io.kroxylicious.systemtests.EnvelopeEncryptionST

Re-run command:
@strimzi-ci run system tests

I'm sorry, the mistake is mine.
This PR refactors the vaultUrl config key to have a different name.  I thought I'd got all the occurrences, but I missed one in the system-test tree.

I'm sorry, the mistake is mine.
This PR refactors the vaultUrl config key to have a different name. I thought I'd got all the occurrences, but I missed one in the system-test tree.  I have no idea why my EESTs worked locally.

@strimzi-ci run system tests

:heavy_check_mark: Test Summary :heavy_check_mark:
BUILD NUMBER: 14
KAFKA VERSION: 3.6.1
TOTAL: 6
PASS: 5
FAIL: 0
SKIP: 1

:arrow_forward: Build started - check Jenkins for more info. :arrow_forward:

:arrow_forward: Build started - check Jenkins for more info. :arrow_forward:

:arrow_forward: Build started - check Jenkins for more info. :arrow_forward:


 Should be necessary fixing the bug we encountered that matches this JIRA ticket: https://issues.apache.org/jira/browse/CALCITE-4663

Okay this didn't appear to fix anything.


WRN-10109: Fix strange results in the screenshot test

Enact-DCO-1.0-Signed-off-by: Dongsu Won<EMAIL_ADDRESS>Checklist

[x] I have read and understand the contribution guide
[ ] A CHANGELOG entry is included
[x] At least one test case is included for this feature or bug fix
[x] Documentation was added or is not needed
[ ] This is an API breaking change

Issue Resolved / Feature Added

Need to fix strange results in screenshot test.

Resolution

Fix strange results in screenshot test.

Additional Considerations
Links
WRN-10109
Comments

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


Reloading ResourceManager takes 5 minutes

I'm not sure where to ask this or if it's even a problem.
I'm running a paper server on a Raspberry Pi 4. This step, "Reloading ResourceManager: Default, bukkit", takes 4:30 minutes to complete when starting the server. The rest of the startup process only takes 30 seconds. Is this expected?
During this step the RPi uses less CPU power than when the server is running with 2 players connected, and it runs smoothly at that point.
I'm using the armv7 image.
Is this an issue at all or is it just expected RPi performance?

Some of that is just the nature of running on rpi and that step is slower on every platform; however, try out the multiarch image tag. Its code started from the armv7 branch, has a few more improvements, and also supports 64-bit ARM.


Initial 2.0 merge

This one covers:

Issue #19 on using a pool of VLANs
Issue #22 addressing defaults for local-networks
Issue #23 version the config
Issue #8

There will be more cleanup necessary.

Lots of stuff done here.  Merged some ipv4/ipv6 code.  Added support for domain lookups, multiple ip addresses per name.


Move in some numerical tools

I have a growing collection of numerical tools, many of which can be found in spencerlyon2/CompEcon.jl
What is the team's position on including them here? Should we move the polished/tested ones into QuantEcon.jl?
Motivation for this is partly spencerlyon2/CompEcon.jl#26
cc @davidanthoff

@spencerlyon2 I think yes.  @cc7768 Perhaps we could walk through some of this on Monday when we meet.


Update logic is broken.

The update logic currently checks for the string branch is behind. This is not reliable. Instead it should check to see if branch is up to date. If not there, do update by doing git reset --hard origin/main

Fixed by https://github.com/YellowPluff/Zebra-Shark/pull/5


docker kubespray wrong dependency

https://github.com/kubernetes-sigs/kubespray/issues/6160
Find how ti fix or remove this issue once fixed in kubespray.

now obsolete


Customisable colours [ enhancement ]

A colour selector / config option to change theme

The standard sets, eg. Solarized Dark , etc.

@invinciblycool There seems to be a selector in demo site, but cant seem to find a reference to it in the code.

@darshkpatel It's being injected by dark.js

Funny how searching <div id='mode-selector'> doesnt yield any results

On a side note, I wanted to keep the theme to a bare minimum. Thoughts?

Makes sense


Work display

I am writing to request the opportunity to showcase my application developed using Wails on your official platform. I have created a project called "ChYing," and its source code can be found at the following GitHub repository: https://github.com/yhy0/ChYing.
Project introduction：https://github.com/yhy0/ChYing/blob/main/README-en.md

First of all thanks for using Wails, you just need to submit a PR.

Thank you very much for wails.


add cilium on DigitaOcean interview

This PR adds the Cilium on Digital Ocean exclusive interview to the blog

can you make the questions italic?

can you make the questions italic?

sure thing, can definitely do that

Sorry one more thing, can you add "Interview:" to the title so don't think the Cilium project is announcing a vendor feature?

Sorry one more thing, can you add "Interview:" to the title so don't think the Cilium project is announcing a vendor feature?

sure thing!


email preview

Does this works with rails 5?

Yup. It works.

i have cloned your source code but it is throwing some errors

@ajazshaik more details?


Turn it into nrg project

Using nrg will make your node future proof to browser and node changes. Nodes built with nrg have their javascript for both client and server automatically updated to the latest ecma specs. Stylesheets are also updated to include vendor specific css. Besides it, the outputed artifact has all js, css and html minified, which will make it run and load faster in the browser.
It also enables debugging both client and server js and css with ease, using source maps, in the browser and in vscode.
nrg projects are way easier to maintain.
Just run npm run install and then npm run start to have a node-red environment with your custom nodes available.
Use npm run watch if you want to have your code changes applied automatically after saving them. No more manual stop/start of node-red.
https://github.com/AllanOricil/nrg-cli
Demo:
https://github.com/user-attachments/assets/62d690fa-5fb8-4fb2-a0cf-631e267b45db

????

????

The way you wrote your node has a high chance of it being dead in a few browser/node releases, or not even work in firefox/safari. Most NR node developers are following the same trap because of lack of knowledge about web development, unfortunately. The NR docs for nodes doesn't explain how web dev changes fast.
Besides it, nodes built with the nrg framework have a way cleaner code. You write a lot less, because all the boilerplate code is generated at built time.


Explain why cache miss occurs when the hash is the same

Which project is this feature idea for?
Turborepo
Describe the feature you'd like to request
Sometimes the Turborepo cache misses even though the printed hash is the same as a previous run. For example, in https://github.com/trpc/trpc/pull/3491:

First run: @trpc/next:lint: cache miss, executing ce4fd5cd0fed4c45
Second run: @trpc/next:lint: cache miss, executing ce4fd5cd0fed4c45

Even with -vvv, there's not much logged. https://github.com/trpc/trpc/actions/runs/3785821470/jobs/6436171107
Something in the Turborepo setup is probably incorrect. But it's very hard to debug this without a message saying why the cache missed.
Describe the solution you'd like
For the case of the same reported hash, vaguely...
Caches matched on hash, but missed because of environment variable SOME_ENV_VAR_THASH.

Caches matched on hash, but missed because cache file path/to/file.log was (empty|missing).

Describe alternatives you've considered
...I can't think of anything better than more logging, sorry. 😞

We also get a lot of cache misses on initial build even if they hit on the vercel deployment.
Probably a misconfigurarion but as Josh said hard to debug.

We ended up finding out that this was due to bad environment variable secrets.
I'm not sure how helpful we can be in this specific circumstance - but perhaps it would have been nice for -vvv to have told us about the parameters for a cache hit that we were good on and the ones that we weren't.

Hi @anthonyshew, do you mind sharing what you mean by "bad environment variable secrets"? What was going wrong? Currently running into this same exact issue, although only with remote cache.

Hi @anthonyshew, do you mind sharing what you mean by "bad environment variable secrets"? What was going wrong? Currently running into this same exact issue, although only with remote cache.

We had our TURBO_TEAM token set to the teamId and not just the name (trpc)

Because this issue is requesting feature about more reason about them, this issue is not solved.
-vvv does not explain enough about why cache is invalid or hash is changed.

I occured the same issue about cache missed while I didn't change any files.
I hope -vvv can display more detail that why cache missed, files changed? or environment variable changed?


Moving daily notes after creation

Hi Liam!
Thanks for this wonderful plugin! I have a feature request that doesn't have any priority so feel free to judge if you want to solve this. Here's the thing:
I'm grouping every daily note in a folder after a month is finished:

The daily notes of the current month are in the root of the daily folder.
After moving the notes the plugin can't seem to find the notes anymore, thus asking me to create a new one. Is this something that could be solved? It might be a hard problem to figure out the linking to each file...

Hi, thanks for the feature request! This is certainly doable, but my main focus right now is to maintain compatibility with the Daily Notes plugin.
I'll likely revisit that down the road to enable more custom workflows like yours, so I'll definitely keep this in mind.


fix(components): accordion component throws "validateDOMNesting" erro…

Closes #2168
📝 Description
The accordion component throws a "validateDOMNesting" error on the storybook
⛳ Current behavior (updates)
When you open up the Accordion component(Custom with classNames) on the storyboard, you will get an error console message that says "validateDOMNesting(...) cannot appear as a descendant of p".(the pic below)

🚀 New behavior
There are no errors in the console.
💣 Is this a breaking change (Yes/No):
No.
📝 Additional Information

@kuri-sun sorry, could you please modify this component code as well? https://nextui.org/docs/components/accordion#start-content

@jrgarciadev Absolutely

@jrgarciadev The requested change was modified. Thank you! 😄

@kuri-sun could you please update this as well?  https://vscode.dev/github/nextui-org/nextui/blob/main/apps/docs/content/components/accordion/custom-styles.ts#L217

@junior Of course, immediately!


Split structures.py.

Prior to #77, we should split structures.py file into several files, otherwise the file will be very large to maintain.
Each separated file contains the following and its related util functions.

session.py: SparkSessionPatches
generic.py: _Frame
frame.py: PandasLikeDataFrame
series.py: PandasLikeSeries

@ueshin thank you for doing that. I am going to merge this PR immediately since it is breaking every other PR.


[0.11.0] Memory Issues / Possible Query Regression

Version information:
InfluxDB v0.11.0.n1455177634 (git: master 8d7a4a9accba0ace785218a1d8fcc36540f4bca4, built 2016-02-11T08:02:04.633643)

On a small instance of InfluxDB (single core, 1GB RAM), the following query causes the process to run out of memory:
SELECT max(req) - min(req) FROM _internal.monitor.httpd WHERE time > now() - 1m GROUP BY time(10s)

Where the total size of the InfluxDB data directory is roughly:
sudo du -hs /var/lib/influxdb/
644K	/var/lib/influxdb/

I'm well aware of issues with memory utilization in InfluxDB, but this seems to be a little strange considering:

the latest query engine refactor
the system was sitting idle with 800MB of free memory prior to the crash
The size of the entire data directory (including meta and wal) is less than 1MB

Full stack trace here: https://gist.github.com/rossmcdonald/bf5ec89da2b199813e7f

@jsternberg @benbjohnson

This is an issue with fill and lacking a top bounds. I'll look into why as the default end time should be now, but adding AND time <= now() causes it to return correctly.

This seems to be because inside of tsdb/query_executor.go the now time is calculated and that time is not transferred to the select call in the case of an implicit upper bound.
I'm working on how to refactor the code in a way that makes sense. It's easy to add a new parameter to just pass in that time, but I don't feel that's the best way to tackle the problem at the moment.


get (https://huggingface.co/BAAI/bge-reranker-v2-m3/resolve/main/config.json) error

System Info

Information

[X] Docker
[ ] The CLI directly

Tasks

[X] An officially supported command
[ ] My own modifications

Reproduction
docker run --gpus all -p 8080:80 -v /root/model_data:/data ghcr.io/huggingface/text-embeddings-inference:1.4 --model-id BAAI/bge-reranker-v2-m3 --revision main
Expected behavior
Can I download the file  and mount to docker ?

Can I download the file and mount to docker ?

Yes you can! I added some docs here.


SCSS padding and margin values using $variables are zeroed out

After beautifying scss file, values for margin/padding that use $variables are being zeroed out.
p {
    margin: 0 0 ($font-size-base * $line-height-base) 0;
    padding: 0 0 ($font-size-base * $line-height-base) 0;
}

SCSS result after save:
p {
    margin : 0;
    padding: 0;
}

I am looking into this now.

Resolved but not yet published: https://github.com/prettydiff/prettydiff/issues/231

Published in v1.16.1.

Fixed in the latest version of Pretty Diff which is now in Atom Beautify.


Option to suppress missing scoped token warning

Is your feature request related to a problem? Please describe.
We need an option to suppress scoped token warning that flood our logs.

We manage large number of tokens via terraform that have defined expires_in set (more than 10800 seconds).
The CI/ CD runs periodically which rotates these tokens.
But if the token is expired before next run and auto cleaned by artifactory we get warning similar to below in logs│ Warning: Scoped token xxxx5777-6e3a-4df8-8976-57775877xxxx not found or not created
│
│   with module.xxx.artifactory_scoped_token.writer-token[0],
│   on modules/...tf line 2, in resource "artifactory_scoped_token" "writer-token":
│    2: resource "artifactory_scoped_token" "writer-token" {
│
│ Access Token would not be saved by Artifactory if 'expires_in' is less than
│ the persistence threshold value (default to 10800 seconds) set in Access
│ configuration. See
│ https://www.jfrog.com/confluence/display/JFROG/Access+Tokens#AccessTokens-PersistencyThreshold
│ for details.{"errors":[{"code":"NOT_FOUND","detail":"Not
│ Found","message":"HTTP 404 Not Found"}]}

The problem is at some point we expect more than 40 to 60 tokens to expire every run which means we will always have that many warnings flooding our logs.
As we know many of these tokens will be cleaned up the missing token is expected behaviour and this warning just misleads unsuspected user of these terraform scripts.
Describe the solution you'd like
If an attribute something like tolerate_missing_token = true is set the warning is not printed on stdout as this is expected behaviour.
Describe alternatives you've considered
So far there is no way to suppress this warning.
Additional context
NA

@yogeshlonkar Thanks for the suggestion. I'll add this to our plan.


AP-2290 Assign first domestic abuse proceeding as lead

Assign first domestic abuse proceeding as lead
Link to story
Previously, there was an before_save hook on ApplicationProceedingType which set the record to be the lead proceeding if there wasn't one already (this was fine as only domestic abuse proceedings were used). This has been removed, and replaced with a new service to assign the first domestic abuse proceeding as lead (if there is one) and is called from the controller:

Created a new HasOtherProceedingsForm which is used in place of the BinaryChoiceForm.  This is so that validation can be run to ensure that there is at least one Domestic Abuse proceeding if the choice is made not to add any more proceedings
Created LeadProceedingAssignmentService which is called from the HasOtherProceedingsController to assign the lead proceeding if required
Added a validation to ApplicationProceedingType to ensure that there was only ever one lead proceeding per application
Changed the :with_proceeding_types trait on the LegalAidApplications factory to automatically assign the first domestic abuse proceeding type as lead, unless the  transient assign_lead_proceeding is set to false
Refactored a lot of the tests to use the new :with_proceeding_types trait in order to correctly set up lead proceeding

Checklist
Before you ask people to review this PR:

[ ] Tests and rubocop should be passing: bundle exec rake
[ ] Github should not be reporting conflicts; you should have recently run git rebase master.
[ ] There should be no unnecessary whitespace changes. These make diffs harder to read and conflicts more likely.
[ ] The PR description should say what you changed and why, with a link to the JIRA story.
[ ] You should have looked at the diff against master and ensured that nothing unexpected is included in your changes.
[ ] You should have checked that the commit messages say why the change was made.

Codecov Report

Merging #2581 (277d158) into master (36f054e) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master     #2581   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files          518       520    +2
  Lines        10393     10435   +42
=========================================
+ Hits         10393     10435   +42

Impacted Files
Coverage Δ

...lers/providers/has_other_proceedings_controller.rb
100.00% <100.00%> (ø)

app/forms/base_form.rb
100.00% <100.00%> (ø)

...gal_aid_applications/has_other_proceedings_form.rb
100.00% <100.00%> (ø)

app/models/application_proceeding_type.rb
100.00% <100.00%> (ø)

app/models/legal_aid_application.rb
100.00% <100.00%> (ø)

app/models/proceeding_type.rb
100.00% <100.00%> (ø)

app/services/lead_proceeding_assignment_service.rb
100.00% <100.00%> (ø)

...rvices/legal_framework/proceeding_types_service.rb
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


style(typings): Use typeof to capture typings for all static Observab…

…le methods

This pulls out the static methods as per the discussion in #870

As already discussed in original PR, I like this changes and this looks good to me. Thanks for taking time with effort @david-driscoll :)
I'll check in this once @blesh agrees.

I've also gone and rebased the other branches to be based on this one, so the changes should disappear from those PRs once this is merged.

Super cool! :+1:

It's off-topic question, is this applicable to non-static instance also?

Unfortunately no, because there is no way to consider the type of this currently with TypeScript.
Consider:
export function combineLatest<T2>(second: Observable<T2>): Observable<[T, T2]>;

With this function we have no idea what T is, so to define it properly we have to replace it with any to compile.
export function combineLatest<T2>(second: Observable<T2>): Observable<[any, T2]>;

And then we loose our type information.  #870 works around this, copying the definitions from the operator, defined as a function, and strips out any references to T from the function declaration.
The typinggen.js basically converts:
export function combineLatest<T, T2>(second: Observable<T2>): Observable<[T, T2]>;

to:
interface Observable<T> {
    combineLatest<T2>(second: Observable<T2>): Observable<[T, T2]>;
}

So then we can then use typeof operator.xyz, as seen in #871.

Make quite sense, thanks. Think this topic need to be continued under original PR.

@david-driscoll Would you able to align commit message start with lowercase as same as other commit history?

Otherwise, change looks cool to me. I'll let this opened for a while to have any other suggestions / opinions around after commit message's aligned. Expecting to take some time due to holiday.

Merged with d4dd7f1. Thanks @david-driscoll!


Chatbot Footer

Design Spec
Major region of the chatbot. Used primarily to display the message bar and footnote.

Footer styled. Pending setup of configuration object.