Fractal + WordPress

Any suggestion how to use Fractal with WordPress (within Timber library which adds twig support to WordPress tamplates)? I'm not developer :)
I wan't to use Fractal for making components and use this components in WordPress templates with custom data. I think your solution for Craft CMS have same logic, but I don't know how to port it to WordPress...
Thanks for any advice  :heart:

Hi @illycz, this was a long time ago, but you might want to look at this: https://github.com/bluecadet/timber-fractal-paths

Here's one that works with the same components-map.json file as the Craft version: https://github.com/madebyraygun/Fractal-Timber-Loader-for-WordPress


client: let GetTSAsync caller control the creation of tsoRequest

What problem does this PR solve?
ref TiDB https://github.com/pingcap/tidb/pull/11846
current GetTSAsync will use sync.Pool to reuse tsoRequest.
and we saw it have some cost in sysbench point-get test:

In TiDB, it's better reuse request in session level to avoid contend.
What is changed and how it works?
add new method with new parameter TsoReqAlloc, so caller can define how to reuse.
Check List
Tests

Unit test
Integration test

Code changes

Add new api

Side effects

n/a

Related changes

n/a

This change is

 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.

Codecov Report

Merging #1702 into master will decrease coverage by 0.12%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #1702      +/-   ##
==========================================
- Coverage    76.7%   76.57%   -0.13%
==========================================
  Files         158      158
  Lines       15527    15537      +10
==========================================
- Hits        11910    11898      -12
- Misses       2600     2614      +14
- Partials     1017     1025       +8

Impacted Files
Coverage Δ

client/client.go
66.46% <100%> (-0.55%)
:arrow_down:

pkg/etcdutil/etcdutil.go
76.81% <0%> (-11.6%)
:arrow_down:

server/member/leader.go
75.51% <0%> (-3.07%)
:arrow_down:

server/checker/replica_checker.go
80% <0%> (-1.88%)
:arrow_down:

server/grpc_service.go
57.41% <0%> (-1.73%)
:arrow_down:

server/cluster.go
83.18% <0%> (+0.25%)
:arrow_up:

server/schedulers/random_merge.go
66.66% <0%> (+5.12%)
:arrow_up:

server/schedulers/shuffle_hot_region.go
65.38% <0%> (+6.41%)
:arrow_up:

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 54975cd...38592c7. Read the comment docs.

/bench

@ngaut IIt will only take effect after updating tidb vendor.

@ngaut PD is not support /bench currently. we will support it next week.


Add newly required permissions to AndroidManifest.xml

Oops, need to add my @google email. Resending.


Nearby tab shows no data in projects on Android

Describe the bug
On Android, on the Projects screen the Nearby tab does not display any projects, whereas on iOS data is displayed. This was brought up in PR https://github.com/inaturalist/iNaturalistReactNative/pull/389
To Reproduce
Steps to reproduce the behavior:

Go to 'Projects' screen
Tap on 'Nearby' tab
Data for projects does not change

Expected behavior
Data should appear in the Nearby tab, as it does on iOS.
Additional context
An error is thrown in the console: Error: Fatal: TypeError: Cannot read property 'latitude' of null

I'm thinking the issue is that the useUserLocation hook treats all phones as iOS devices
see here
Not sure if there's an android equivalent check that must be made, but if this is the root cause, I can make that change.


bug(MatProgressSpinner): Small Spinners with diameter <= 10 don’t show

Reproduction
Create a spinner with diameter of 10:
https://stackblitz.com/edit/angular-uwttkp?file=src/app/progress-spinner-configurable-example.html
Expected Behavior
See a small spinner
Actual Behavior
Can’t see the spinner
Notes
The spinner does not show because the svg has this element:
<circle cx="50%" cy="50%" r="0" style="animation-name: mat-progress-spinner-stroke-rotate-10; stroke-dasharray: 0px; stroke-width: 10%;" class="ng-star-inserted"></circle>

Notice the r="0". I believe that’s the issue.
It’s set from here: https://github.com/angular/components/blob/fa96c8a8be13da0ebb5c0096f50210c8eadac043/src/material/progress-spinner/progress-spinner.ts#L234
I believe using the BASE_STROKE_WIDTH constant here is wrong?
Environment

Angular: 9.0
CDK/Material: 9.0
Browser(s): Google Chrome Version 81.0.4044.141
Operating System: Chrome OS

@devversion I can try fixing this, if no one is working on it.

Any word on a fix? @AlexLangdon some issue with the PR that it wouldn't be accepted?
I have a couple production applications that use a simple loading component built with a mat-spinner inline before "Loading..." or other caller supplied text. The spinner auto-sizes after view init to the offsetHeight of the element ref. This means the spinners are often too small to load because of this issue.

Any word on a fix? @AlexLangdon some issue with the PR that it wouldn't be accepted?
I have a couple production applications that use a simple loading component built with a mat-spinner inline before "Loading..." or other caller supplied text. The spinner auto-sizes after view init to the offsetHeight of the element ref. This means the spinners are often too small to load because of this issue.

This was a while ago, but from what I recall, there was a "correct" way of calculating the spinner radius by subtracting stroke width as opposed to a BASE_STROKE_WIDTH of 10, which would address the problem of not showing spinners of diameter <= 10 (see diff).
The concern at the time was that although this fix is correct it would also affect the radius calculation for all spinners, breaking some people's screenshot tests which depend on the current approach of calculating the radius.
There is a thread of discussion on this https://github.com/angular/components/pull/20062#pullrequestreview-456034861
I did raise another PR which would only change the logic for small spinners of diameter <= 10, though it is not as elegant as the first solution and I am not sure it was reviewed.


[ENTREGABLE] Instructivo de configuración y uso de los simuladores

Write INSTALL.md or README.md file with instructions about simulation environment installation

leave the creation of docker file for another issue


Ticket view overhaul

Crisis cleanup ticket integration with zendesk!
Apologies for the insurmountable amount of time this took
firstly unrelated to actual github project I added a integration for tickets on crisis cleanup slack a while back

This will give information about a ticket whenever it is updated/created/deleted etc..
The actual ticket system integration with zendesk has taken a quite  a changes over this course..
going from a table with little to no information up to now with a full card system to show all the info about a ticket

features include

listing user who submitted the ticket and aligning them with CC database to retrieve more information on the specific user I.e crisis cleanup username, email, phone number, login info, organization name etc..

+Ability to launch directly to CC zendesk to edit ticket further if needed
+Status of the ticket
+Login button to ghost in as the user (not yet added, will be added with tobis additon to the event log)
+Creation date of the ticket as well as the question the user has

A comments section displaying text like comments with the currently logged in users replies showing up highlighted.

A textbox for quick replies, along with a multiple reply buttons to cover if youd like to set the ticket as open, pending, or solved. This resembles CC zendesk submit as functionality

Quickly identify Who the ticket is assigned to by picture and name along with ability to reassign ticket as needed

Toast notifications, Errors and success with custom messages for replies, and assigning users

Css grid layout to catch mobile tablet and desktop xl desktop for nice viewing of tickets

An Expand button to force all tickets to take full size, while this will make the tickets uneven it will allow for you to quickly see the entire ticket without having to scroll within the allotted box size

+Truncation/pagination of initial question the user has submitted with a read more/less button added if the question is longer than 400 characters (can change very easily if need longer/shorter)

Coming FEATURES

visuals for attachments
refetch single tickets instead of all tickets (working out kinks on this)

-- there are a couple of optimization issues that will be fixed soon but for now ross wanted me to go ahead an make sure this gets merged in


Invalidate CloudFront cache after building a new, deployable version of site.

When a new version of the website is built and deployed, we to invalidate the CloudFront cache so that stale, cached content isn't being served up to users.  This change set requires a new gem to work.  Also included in this change set in a new file, which was encrypted with travis encrypt-file.  The encrypted file contains credentials for an Amazon IAM account which only has permissions to PUT into the S3 bucket and create cache invalidations.. the same account used for deployment.
The reason that the commands added to the .travis.yml file are wrapped in conditions is 1) we don't want to invalidate the cache on PR builds or non-master activity 2) PRs from forks don't have access to the secure environment variables needed to decrypt the AWS account information.

This change is

LGTM


Make submission flash more prominent

Small CSS adjustment + add a useful & more readable date format.

@louis-vs are you ready for this to be re-reviewed?


adding about us page

Description
adding about page just above footer section
Screenshots
No response
Checklist

[X] I have checked the existing issues
[X] I have read the [Contributing Guidelines]
[X] I am willing to work on this issue (optional)
[X] I am a GSSoC'23 contributor

Let's complete the footer first, then I will surely assign you this.

Let's complete the footer first, then I will surely assign you this.

can you assign me this issue i can create a sperate about us page
with  section -
project info
admin info ( social media etc )
our contributors 1

If @gaur15 agrees then I can assign you this issue, else she can work on this later.
@mandliyarajendra11 You can take a look at the issues having up-for-grab label and comment there if you're interested.
Those are the open issues present currently else you can open issues for new feature/bug.

If @gaur15 agrees then I can assign you this issue, else she can work on this later. @mandliyarajendra11 You can take a look at the issues having up for grabs label and comment there if you're interested. Those are the open issues present currently else you can open issues for new feature/bug.

okay

Can you please assign me this issue!

I'd like to know if @mandliyarajendra11 wants to work on this issue since he showed the interest first.
Else @tanujbordikar You can work on this issue. I can assign anyone of you.

Assigning you @tanujbordikar, You can start once you're done with other assigned issues.

Closing this issue because of inactivity.


Update the documentation for Data Prepper's OpenSearch Sink plugin.

Signed-off-by: Han Jiang<EMAIL_ADDRESS>Description
Update the documentation for Data Prepper's OpenSearch Sink plugin.
Issues Resolved
This is part of the effort required to address the issue:
624
Check List

[ x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

We added support for proxy support in the OpenSearch Plugin in 1.2. Can you add that as well?

Good catch. Added doc for proxy

@ashwinkumar12345 @keithhc2  Hi Ashwin and Keith, thanks for helping with the review. I don't have permission to merge in the PR. Could you help with the merge? Really appreciated!

This is targeting the data-prepper-1.2 branch. This way, other changes can all be worked on while waiting on the Data Prepper 1.2. release. When Data Prepper 1.2.0 is ready, we can create a PR to merge the data-prepper-1.2 branch into main.


add check for 4 band images

ValueError                                Traceback (most recent call last)
<ipython-input-31-b7a366245bba> in <module>
----> 1 prediction = prebuilt_model.predict_tile(raster_path, patch_size=400,patch_overlap=0.1)

~/Documents/DeepForest_demos/env/lib/python3.7/site-packages/deepforest/deepforest.py in predict_tile(self, path_to_raster, patch_size, patch_overlap, iou_threshold, return_plot)
    308             #Crop is RGB channel order, change to BGR
    309             crop = crop[...,::-1]
--> 310             boxes = self.predict_image(raw_image=crop, return_plot=False, score_threshold=self.config["score_threshold"])
    311
    312             #transform coordinates to original system

~/Documents/DeepForest_demos/env/lib/python3.7/site-packages/deepforest/deepforest.py in predict_image(self, image_path, raw_image, return_plot, score_threshold, show, color)
    269
    270         #Predict
--> 271         prediction = predict.predict_image(self.prediction_model, image_path=image_path, raw_image=raw_image, return_plot=return_plot, score_threshold=score_threshold, color=color)
    272
    273         #cv2 channel order to matplotlib order

~/Documents/DeepForest_demos/env/lib/python3.7/site-packages/deepforest/predict.py in predict_image(model, image_path, raw_image, score_threshold, max_detections, return_plot, classes, color)
     52
     53     # run network
---> 54     boxes, scores, labels = model.predict_on_batch(np.expand_dims(image, axis=0))[:3]
     55
     56     # correct boxes for image scale

~/Documents/DeepForest_demos/env/lib/python3.7/site-packages/keras/engine/training.py in predict_on_batch(self, x)
   1572             Numpy array(s) of predictions.
   1573         """
-> 1574         x, _, _ = self._standardize_user_data(x)
   1575         if self._uses_dynamic_learning_phase():
   1576             ins = x + [0]

~/Documents/DeepForest_demos/env/lib/python3.7/site-packages/keras/engine/training.py in _standardize_user_data(self, x, y, sample_weight, class_weight, check_array_lengths, batch_size)
    577             feed_input_shapes,
    578             check_batch_axis=False,  # Don't enforce the batch size.
--> 579             exception_prefix='input')
    580
    581         if y is not None:

~/Documents/DeepForest_demos/env/lib/python3.7/site-packages/keras/engine/training_utils.py in standardize_input_data(data, names, shapes, check_batch_axis, exception_prefix)
    143                             ': expected ' + names[i] + ' to have shape ' +
    144                             str(shape) + ' but got array with shape ' +
--> 145                             str(data_shape))
    146     return data
    147

ValueError: Error when checking input: expected input_1 to have shape (None, None, 3) but got array with shape (800, 800, 4)

Added to preprocess.py and predict.py
    #Check that its 3 band
    bands = numpy_image.shape[2]
    if not  bands == 3:
        raise IOError("Input file {} has {} bands. DeepForest only accepts 3 band RGB rasters. If the image was cropped and saved as a .jpg, please ensure that no alpha channel was used.".format(path_to_raster, bands))


[RR] Migrate autosize jQuery UI to a Stimulus controller w-auto-size

This PR solves the issue #...10170
This is done through making a AutoSizeController.ts that uses autosize in connect and updated the auto_height_text.py file.

@srs-sudeep please re-read the issue also, I'm quite sure there needs to be changes to the Telepath widgets file.

Thank you for giving me the feedback.I will update the PR taking into account of all your comments.

Superseded by #10195 - thanks @srs-sudeep  for giving this a go.
Please reach out on Slack if you still want to pick up something to contribute to.


Add cronjob and minikube instructions

annotate-cronjob.yaml should run bin/dug-docker once the Docker image is rebuilt to include that script. bin/dug runs dev init and tries to create the env files that are not necessary in the Docker container. bin/dug-docker is a quick way to create the cron job without having to make changes to bin/dug. Long term, it's probably better to make the changes to bin/dug so we don't have parallel files.
kubernetes/minikube/README.md has the instructions to run DUG in minikube. The only thing needed other than the stack.yaml is the storageclass and namespace to be created.
The Docker image builds need to be fixed for the build to pull the correct GitHub branch. Right now, it's always pulling master.
Here is the code where we need to add the GitHub branch to be cloned:

        git clone https://github.com/helxplatform/dug.git && \

Right now, annotate-cronjob.yaml will run but it's not running correctly because of the issues with bin/dug. This is the log of what I got to run:
INFO:__main__:connected to elasticsearch
[core.py][            __init__] INFO: connected to elasticsearch
INFO:__main__:creating indices: ['test']
[core.py][        init_indices] INFO: creating indices: ['test']
INFO:__main__:result created index test: {'acknowledged': True, 'shards_acknowledged': True, 'index': 'test'}
[core.py][        init_indices] INFO: result created index test: {'acknowledged': True, 'shards_acknowledged': True, 'index': 'test'}
INFO:__main__:select phenotypic_feature->disease from '/graph/gamma/quick' where phenotypic_feature='HP:0012735'
[core.py][               crawl] INFO: select phenotypic_feature->disease from '/graph/gamma/quick' where phenotypic_feature='HP:0012735'
INFO:__main__:select phenotypic_feature->disease from '/graph/gamma/quick' where phenotypic_feature='HP:0031246'
[core.py][               crawl] INFO: select phenotypic_feature->disease from '/graph/gamma/quick' where phenotypic_feature='HP:0031246'
INFO:__main__:select phenotypic_feature->disease from '/graph/gamma/quick' where phenotypic_feature='HP:0031245'
[core.py][               crawl] INFO: select phenotypic_feature->disease from '/graph/gamma/quick' where phenotypic_feature='HP:0031245'
INFO:__main__:select phenotypic_feature->disease from '/graph/gamma/quick' where phenotypic_feature='HP:0031247'
[core.py][               crawl] INFO: select phenotypic_feature->disease from '/graph/gamma/quick' where phenotypic_feature='HP:0031247'
INFO:__main__:select phenotypic_feature->disease from '/graph/gamma/quick' where phenotypic_feature='HP:0002105'
[core.py][               crawl] INFO: select phenotypic_feature->disease from '/graph/gamma/quick' where phenotypic_feature='HP:0002105'
INFO:__main__:select phenotypic_feature->disease from '/graph/gamma/quick' where phenotypic_feature='HP:0002099'
[core.py][               crawl] INFO: select phenotypic_feature->disease from '/graph/gamma/quick' where phenotypic_feature='HP:0002099'
INFO:__main__:select phenotypic_feature->disease from '/graph/gamma/quick' where phenotypic_feature='HP:0012388'
[core.py][               crawl] INFO: select phenotypic_feature->disease from '/graph/gamma/quick' where phenotypic_feature='HP:0012388'

@andrew-rti Do you have time to continue this next week? Hopefully it's straight forward from what I posted above. I'll be on PTO for the next 2 weeks.

@cmball1 I'll do what I can to wrap up the PR! The container issues are resolved as the Dockerfile is now doing a COPY of the current context (aka the files and folders in the root of the dug repo) rather than a clone of the repo and some form of checkout. I'd like to get to the point where we can have hot reloads locally so there doesn't have to be any container rebuilds while doing dev. I'll see what I can do if you're good with it.

@andrew-rti Being able to do hot reloads would be great.


Installation problem on ubuntu 20.4 server

Hi,
after installation on my raspberry the service is not working after reboot.
I installed it twice but with no effect.
After searching for a solution I tried to call  the service execute: /srv/www/jackcast/env/bin/gunicorn wsgi:app -c /srv/www/jackcast/platforms/ubuntu/gunicorn.conf.py from command line moving to srv/www/jackcast. From here it works and serves Input to Sonos.
How to configure the service for autostart correctly? NGINX Error-Log says:
2021/03/24 19:44:34 [crit] 1788#1788: *25 connect() to unix:/tmp/jackcast.sock failed (2: No such file or directory) while connecting to upstream
Is there any solution to this? Thanks in advance

Hey @ZP-Git498 can you see if this is the same issue you are having: https://github.com/wil3/jackcast/issues/11

Hey @wil3,
yes, this helped me out. I did a mistake twice when installing jackcast. I did not installed "venv" properly. After following #11 installation guide step by step again it worked "out of the box".
Thanks for your immediate help and for the great project. I am using SONOS system for a long time but didn't got analog input to work. Now it works and  I am happy to listen to my vinyls again.


Livewire 3 compatibility

Are there any plans in making this extension to detect Livewire v3?

When this extension to detect Livewire v3?

seems like no chance for v3


Currently the pod-reaper terminates "nicely".
 I think we should allow for a configurable grace period. This would allow more customization than "hard" or "soft", but still offers the advantages of both.
Configure the parameter using environment variable GRACE_PERIOD that follows the same 1h2m3s golang style duration format. If the environment variable is not present, the default pod grace time should be used as this would ensure perfect backwards compatibility.

[ ] soft kill: (default) should use default value for pods (not hard coded). GRACE_PERIOD is not defined
[ ] hard kill: terminate the pod with no grace period GRACE_PERIOD=0s
[ ] configurable grace period e.g. GRACE_PERIOD=1m15s


[SR GeekCamp][Feature] alter table statement support of add list partition

What type of PR is this：

[ ] bug
[X] feature
[ ] enhancement
[ ] refactor
[ ] others

issue #4035
Create Table for single column partition
create database example_db  ;
use example_db ;

CREATE TABLE t_recharge_detail_single(
    id bigint  ,
    user_id  bigint  ,
    recharge_money decimal(32,2) ,
    province varchar ,
    dt varchar
) ENGINE=OLAP
DUPLICATE KEY(id)
PARTITION BY LIST (province) (
   PARTITION p1 VALUES IN ("beijing","chongqing"),
   PARTITION p2 VALUES IN ("shanghai","tianjing")
)
DISTRIBUTED BY HASH(id) BUCKETS 1
PROPERTIES(
    "replication_num" = "1"
) ;

alter table t_recharge_detail_single add partition p3 values in ("shanxi","guangdong") ;

show partitions  from  t_recharge_detail_single  \G;

show create table t_recharge_detail_single  ;

Result

Create Table for multi column partition
CREATE TABLE t_recharge_detail_multi(
    id bigint  ,
    user_id  bigint  ,
    recharge_money decimal(32,2) ,
    province varchar ,
    dt varchar
) ENGINE=OLAP
DUPLICATE KEY(id)
PARTITION BY LIST (dt,province) (
   PARTITION p1 VALUES IN (("2022-04-01", "beijing"),("2022-04-01", "chongqing")),
   PARTITION p2 VALUES IN (("2022-04-01", "shanghai"))
)
DISTRIBUTED BY HASH(id) BUCKETS 1
PROPERTIES(
    "replication_num" = "1"
);

alter table t_recharge_detail_multi add partition p3 values in (("2022-04-01", "shanxi"),("2022-04-01", "neimenggu"));
show partitions from t_recharge_detail_multi  \G;
show create table t_recharge_detail_multi  ;

Result

[FE PR Coverage check]
:heart_eyes: pass : 411 / 485 (84.74%)
file detail

path
covered line
new line
coverage

:large_blue_circle:
com/starrocks/persist/UnPartitionPersistInfo.java
0
7
00.00%

:large_blue_circle:
com/starrocks/analysis/PartitionDesc.java
0
8
00.00%

:large_blue_circle:
com/starrocks/persist/EditLog.java
2
8
25.00%

:large_blue_circle:
com/starrocks/catalog/RangePartitionInfo.java
3
4
75.00%

:large_blue_circle:
com/starrocks/server/LocalMetastore.java
233
277
84.12%

:large_blue_circle:
com/starrocks/analysis/MultiItemListPartitionDesc.java
6
7
85.71%

:large_blue_circle:
com/starrocks/analysis/SingleItemListPartitionDesc.java
8
9
88.89%

:large_blue_circle:
com/starrocks/catalog/CatalogUtils.java
40
43
93.02%

:large_blue_circle:
com/starrocks/persist/PartitionPersistInfoV2.java
36
38
94.74%

:large_blue_circle:
com/starrocks/catalog/ListPartitionInfo.java
51
52
98.08%

:large_blue_circle:
com/starrocks/common/ErrorCode.java
1
1
100.00%

:large_blue_circle:
com/starrocks/server/GlobalStateMgr.java
2
2
100.00%

:large_blue_circle:
com/starrocks/persist/ListPartitionPersistInfo.java
13
13
100.00%

:large_blue_circle:
com/starrocks/persist/RangePartitionPersistInfo.java
13
13
100.00%

:large_blue_circle:
com/starrocks/journal/JournalEntity.java
3
3
100.00%

[FE PR Coverage check]
:heart_eyes: pass : 398 / 462 (86.15%)
file detail

path
covered line
new line
coverage

:large_blue_circle:
com/starrocks/analysis/PartitionDesc.java
0
8
00.00%

:large_blue_circle:
com/starrocks/persist/EditLog.java
2
8
25.00%

:large_blue_circle:
com/starrocks/catalog/RangePartitionInfo.java
3
4
75.00%

:large_blue_circle:
com/starrocks/server/LocalMetastore.java
233
277
84.12%

:large_blue_circle:
com/starrocks/analysis/MultiItemListPartitionDesc.java
6
7
85.71%

:large_blue_circle:
com/starrocks/catalog/CatalogUtils.java
39
41
95.12%

:large_blue_circle:
com/starrocks/persist/PartitionPersistInfoV2.java
37
38
97.37%

:large_blue_circle:
com/starrocks/catalog/ListPartitionInfo.java
51
52
98.08%

:large_blue_circle:
com/starrocks/analysis/SingleItemListPartitionDesc.java
3
3
100.00%

:large_blue_circle:
com/starrocks/server/GlobalStateMgr.java
2
2
100.00%

:large_blue_circle:
com/starrocks/persist/ListPartitionPersistInfo.java
6
6
100.00%

:large_blue_circle:
com/starrocks/persist/RangePartitionPersistInfo.java
13
13
100.00%

:large_blue_circle:
com/starrocks/journal/JournalEntity.java
3
3
100.00%

[FE PR Coverage check]
:heart_eyes: pass : 392 / 450 (87.11%)
file detail

path
covered line
new line
coverage

:large_blue_circle:
com/starrocks/analysis/PartitionDesc.java
0
8
00.00%

:large_blue_circle:
com/starrocks/persist/EditLog.java
2
8
25.00%

:large_blue_circle:
com/starrocks/catalog/RangePartitionInfo.java
3
4
75.00%

:large_blue_circle:
com/starrocks/server/LocalMetastore.java
231
269
85.87%

:large_blue_circle:
com/starrocks/catalog/ListPartitionInfo.java
52
55
94.55%

:large_blue_circle:
com/starrocks/catalog/CatalogUtils.java
39
41
95.12%

:large_blue_circle:
com/starrocks/analysis/SingleItemListPartitionDesc.java
3
3
100.00%

:large_blue_circle:
com/starrocks/persist/gson/GsonUtils.java
10
10
100.00%

:large_blue_circle:
com/starrocks/server/GlobalStateMgr.java
2
2
100.00%

:large_blue_circle:
com/starrocks/persist/ListPartitionPersistInfo.java
6
6
100.00%

:large_blue_circle:
com/starrocks/persist/PartitionPersistInfoV2.java
25
25
100.00%

:large_blue_circle:
com/starrocks/persist/RangePartitionPersistInfo.java
13
13
100.00%

:large_blue_circle:
com/starrocks/analysis/MultiItemListPartitionDesc.java
3
3
100.00%

:large_blue_circle:
com/starrocks/journal/JournalEntity.java
3
3
100.00%


Introductions for the projects developed using Blazor Server Clean Architecture

Facial Recognition Application:
This application utilizes the camera to recognize faces and extract relevant information. It can be used for identity verification purposes. GitHub Repository: FacialRecognition
Demo Video: Link to Demo Video

Image Classification Application:
This application employs AI to identify and classify people and objects in images. It allows for easy querying and sorting of images based on the identified content. GitHub Repository: IntelliAlbum
Demo Video: Link to Demo Video

Visitor Management System:
This system facilitates a simple visitor flow process, starting from the visitor's application to approval, confirmation (via QR code scanning), and departure. GitHub Repository: VisitorManagement{:target="_blank"}
Demo Video: Link to Demo Video

Enterprise Internal Approval Workflow Application:
This application is a comprehensive workflow system designed for handling various form-based approval processes within an enterprise. It includes features such as complex approval workflows, email notifications, and more. All the aforementioned applications were developed using the Blazor framework.
Demo Video: [Link to Demo Video](https://youtu.be/vO4fD7GG5Vc)

@neozhu,
This seems like a great project which you developed using Blazor Server Clean Architecture, however, documentation here is probably not the best place.
Have you ever looked into using the built-in Wiki features that GitHub offers for each repository? You can find it in the list of options like code, issues, pull requests, etc, or you can click here!
We can also use that Wiki to explain certain coding difficulties you came across when coding this project base, or document other parts of the project!

@Bram1903
Thank you for your message. I haven't explored many advanced features of GitHub yet, so I still have a lot to learn, including from you. In fact, the reason I shared this content was to attract some paid development projects or tasks, but I've realized it's not as easy as I thought. :)

Haha, all good man. About attracting paid development projects, yes, that's an incredibly hard task, since we live in a big world with many open-source projects, however as long as you stay consistent with the updates one-day such project might show up ;-)
Besides that, we don't know if people used this project for their paid platform without us knowing, since that's the power of open source. If they decided on using this code base, they probably just downloaded our code base and made their own adjustments to it in a private environment, and we would never know.

Haha, thanks for understanding. You're absolutely right, attracting paid development projects can be quite challenging.
we can only seek spiritual fulfillment, and even if it's just for one like, it's still worth it.


Add CSS class for tooltip HTML mode

Prerequisites

[X] I have searched for duplicate or closed feature requests
[X] I have read the contributing guidelines

Proposal
It would be interesting to have BS add a CSS class like bs-tooltip-html to the tooltip whenever the html attribute is set to true.
Motivation and context
By default, tooltips have a max-width, but in some cases, when using HTML inside tooltips, it's required to extend the max-width. Yes it's possible to add a custom class but a standard class would be nice.

Can I work over this issues

Sorry, didn't understand your question.

Hey @Jyoticharan
As mentioned in our Contributing Guidelines, we don't assign issues. You are welcome to suggest something in this issue on how to best solve it. Then you'll be able to create directly a PR.

Hello @HybridSolutions !
By default tooltip element has a tooltip class, I don't think that more default classes are required.
You can change max-width value by passing your own class to the tooltip component (you can also use this class for several tooltips if needed) and then define CSS custom property --#{$prefix}tooltip-max-width: #{$tooltip-max-width};
<button type="button" class="btn btn-secondary"
        data-bs-toggle="tooltip" data-bs-placement="top"
        data-bs-html="true"
        data-bs-custom-class="html-tooltip"
        data-bs-title="Tooltip with HTML">
  Tooltip with HTML
</button>

.html-tooltip {
  --bs-tooltip-max-width: 400px;
}

can you assign me the task of adding css class for tooltip html mode

Hello @HybridSolutions ! By default tooltip element has a tooltip class, I don't think that more default classes are required. You can change max-width value by passing your own class to the tooltip component (you can also use this class for several tooltips if needed) and then define CSS custom property --#{$prefix}tooltip-max-width: #{$tooltip-max-width};
<button type="button" class="btn btn-secondary"
        data-bs-toggle="tooltip" data-bs-placement="top"
        data-bs-html="true"
        data-bs-custom-class="html-tooltip"
        data-bs-title="Tooltip with HTML">
  Tooltip with HTML
</button>

.html-tooltip {
  --bs-tooltip-max-width: 400px;
}

I'm aware of the alternative. I only made the suggestion because the class bs-tooltip-auto is being placed when attribute data-bs-placement="auto" is used, so, to be coherent, it would make sense to also add a bs-tooltip-html when using data-bs-html="true".
Cheers ;)

Find the css code
.bs-tooltip-html {
max-width: none;
}
Please check the js code for the same
$(function () {
  $('[data-toggle="tooltip"][data-html="true"]').tooltip({
    template: '

'
  });
});

This code adds a new CSS class called bs-tooltip-html that removes the max-width limit from tooltips. It also adds a new option to the tooltip initialization that checks for the data-html attribute and sets the template option accordingly, adding the bs-tooltip-html class to the tooltip element. With this code, you can now use the data-html="true" attribute on your tooltips to enable HTML content and extend the max-width if needed.

Find the css code
.bs-tooltip-html { max-width: none; }  Please check the js code for the same
$(function () {
  $('[data-toggle="tooltip"][data-html="true"]').tooltip({
    template: '

'
  });
});

This code adds a new CSS class called bs-tooltip-html that removes the max-width limit from tooltips. It also adds a new option to the tooltip initialization that checks for the data-html attribute and sets the template option accordingly, adding the bs-tooltip-html class to the tooltip element. With this code, you can now use the data-html="true" attribute on your tooltips to enable HTML content and extend the max-width if needed.

Thanks for the effort. I know all these workarounds but the issue I was pointing was not how to find a way of changing the CSS of an html tooltip, but a design issue. BS is assigning other classes according to attributes so it would make sense to also have the class i mentioned assigned as well.  Both the custom class or this workaround works but the core design is not correct. Html tooltips should not have max-width set to a fixed value by default. It should have the “fit-content” value.

I don't mind adding a .bs-tooltip-html when data-bs-html="true" for consistency. @GeoSot what do you think?

I don't mind adding a .bs-tooltip-html when data-bs-html="true" for consistency. @GeoSot what do you think?

Seems a simple & fair add-on, but can easily be covered by the solution @niktariy suggested too, above


Add Public Holiday Service and Test

In this PR, we add an endpoint /api/publicholiday/get that can be used to get information
about the public holidays from a year and a country code, and a test for this controller.
http://team01-daoyi-dev.dokku-13.cs.ucsb.edu/
http://team01-daoyi-dev.dokku-13.cs.ucsb.edu/swagger-ui/index.html
Closes https://github.com/ucsb-cs156-w24/team01-w24-7pm-1/issues/10
Closes https://github.com/ucsb-cs156-w24/team01-w24-7pm-1/issues/11

LGTM! dev deployment and tests work fine

Small typo on the year description, but other than that LGTM! Works on both my local machine and Dokku server.

I fixed it and made a PR again.


Ruler: remove trailing period from SRV records returned by discovery dnsnosrva lookups

[x] I added CHANGELOG entry for this change.
[ ] Change is not relevant to the end user.

Changes
This is a small change, that strips the trailing dot (.) on records returned by dnssrvno lookups. While the trailing dot is technically a valid URL, it causes "issues" for some tools (in my case Istio), This PR uses the same approach as Prometheus to strip the trailing dot to look more "usual" so that third-party applications might not complain...

Verification
I have had this running in our DEV environment since I opened the PR with no issues.

In case anyone is interested here is a nice article about the trailing dot from the author of curl


Schema information created in Open Data Editor is only written to .opendataeditor/metadata.json and not to datapackage.json

I create a data package and add csv files. "Resources" information is created, including a schema for each file that is derived from the data. I can successfully add metadata on the package level, like contributors, license, etc. - it is written to datapackage.json.
Then I start to edit the metadata of individual files. I extend the automatically created information in the schema by filling fields for "Title" and "Description" and add constraints and foreign keys. However, this information is not written to the schema information on package level (datapackage.json), but saved to a more obscure place, .opendataeditor/metadata.json
Obviously, such information is of general importance for all applications and all users accessing the data package, not only for those using Open Data Editor. Why is the schema information in datapackage.json not updated accordingly? Is this by purpose, and if so, how can I propagate the changes from Open Data Editor level to the data package level? (other than copy/paste from one json document to the other)
For the user who inspects the source, it is really weird that these additional & changed information shows up every time the Open Data Editor is started while it remains totally unclear where the information is stored (this become clear only after looking for hidden files in the file system!). The user who saves the edits but does not inspect the source will distribute/publish a data package, believing that rich schema information is included while only basic information is actually readily available (as all edits are stored in the hidden files, for Open Data Editor only).
Is this a bug or do I miss an important point?

Thanks @daoane for reporting this! @pdelboca this issue needs to be reviewed in connection with issue #285. Thanks!


Added basic config file intialization

Co-Authored-By: Isak Johansson<EMAIL_ADDRESS>Initial attempt at tackling issue #59

Could you rebase this to be up to date with the current upstream master? Would make it a lot easier to make comments on this.
How I would do would be something like this:
cargo fmt    // Since this has been done on source, it would give less rebase conflicts
git commit --amend
git rebase upstream master // Fix conflicts
cargo test   // Verify functionality
git rebase --continue
git push -f // You'll need to force push because of the rebase, probably good to take a local copy of the original branch first.


Problem with Test Files in XCODE project

Goals
Run Tests in XCODE project
Expected Results
For the project to work when I run the tests
Actual Results
If I build the project, it works.
If target of realm "Object" files (my model files) is set only to the main target, then I get the error "undeclared type and the project wont build when I run the tests"
If target of realm  "Object" files is set to test target as well, then I get the error
'RLMObject subclasses with the same name cannot be included twice in the same target. Please make sure 'MyModel' is only linked once to your current target.'
I tried the solution from StackOverflow in vain
http://stackoverflow.com/questions/32273954/unit-testing-swift-2-0-testable-import-and-scheme-targeting-issues/32276984#32276984
Version of Realm and Tooling
ProductName:	Mac OS X
ProductVersion:	10.11.5
BuildVersion:	15F34
/Applications/Xcode.app/Contents/Developer
Xcode 7.3
Build version 7D175
(not in use here)
/bin/bash
GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin15)
/usr/local/bin/carthage
0.16.2
github "realm/realm-cocoa" "v0.103.1"
/usr/bin/git
git version 2.6.4 (Apple Git-63)

Please provide more details. What's the actual error you're seeing? "undeclared type and the project wont build when I run the tests" isn't actually the exact error message, is it? If you share the steps you took to install Realm and describe your project's configuration, we might be able to help. Or better yet, if you share a project that can reproduce the issue you're seeing, we'll be able to help.

Hi,
The point of the whole problem is that I cannot implement ANY kind of unit tests while I have Realm in my project.
Case when targets for the model objects ARE included for the main target and test target:
"2016-05-23 09:00:42.427 SatBridge[1667:22533] *** Terminating app due to uncaught exception 'RLMException', reason: 'RLMObject subclasses with the same name cannot be included twice in the same target. Please make sure 'CallLogInfo' is only linked once to your current target.'"
Case when targets for the model objects ARE NOT included for the test target, but are for the main target:
In case I remove targets for the tests, I get the error message in the XCODE itself "undeclared type..." when I run the tests again.
Running the project itself works in both cases (when test targets are and are not included), only the tests do not compile.
Realm was installed via Carthage.
Down below you have the link for the project and the screens.
https://github.com/pavlem/realmProblem.git

The problem was that all of the application source files were linked to the unit test target, and so compiled twice, I've submitted a patch here with more details: pavlem/realmProblem#1

I also came to this conclusion yesterday when testing on a new project where source files were not linked to the UNIT targets. I didn't know that this could make a problem and it didn't show up until Realm implementation. Also, I installed Realm via Carthage and had to include both targets (main and test) for the frameworks "Realm.framework" and "RealmSwift.framework" because it wouldn't work otherwise.
Thank you.

www

I have the same problem but my files is not linked with target Tests , my files is linked two target : TargetApp and Framework Cocoa , help please?

@AlejandroDeveloper please file a new issue, taking care to fill out the issue template and to share any relevant information that could help us reproduce your build issues.


chore: update err-msg with notation

Description
What this PR does / why we need it:

Which issue(s) this PR fixes (optional, using fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when the PR gets merged):
Fixes error msg in notation verifier.
Type of change
Please delete options that are not relevant.

[ ] New feature (non-breaking change which adds functionality)

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration

[ ] CI

Checklist:

[ ] Does the affected code have corresponding tests?
[ ] Are the changes documented, not just with inline documentation, but also with conceptual documentation such as an overview of a new feature, or task-based documentation like a tutorial? Consider if this change should be announced on your project blog.
[ ] Does this introduce breaking changes that would require an announcement or bumping the major version?
[ ] Do all new files have appropriate license header?

Post Merge Requirements

[ ] MAINTAINERS: manually trigger the "Publish Package" workflow after merging any PR that indicates Helm Chart Change

updated to improve code coverage

We have a corner case that can not be covered by test on line 261
The check is necessary by following Marshall best practice, and I will have the coverage improved after recover mentioned in issue #1752
In conclusion we can skip the coverage test for this PR.

We have a corner case that cannot be covered by test on line 261
The check is necessary by following Marshall best practice, and I will have the coverage improved after recover mentioned in issue #1752
In conclusion we can skip the coverage test for this PR.
cc\ @binbin-li


Headers as reference links

Fixes https://github.com/mapbox/mapbox-studio/issues/1142 by adding the .doc class to the container, which makes the headers reference links with the following code from https://www.mapbox.com/base.js/dist/base.js
$('.doc h1[id], .doc h2[id], .doc h3[id], .doc h4[id]')
        .attr('title', 'Link to this section')
        .click(function(ev) {
            window.location.hash = $(ev.currentTarget).attr('id');
        });

:+1:


bash_completion problem - usage line while open new terminal

Install Bash-it

Open terminal tab

shows:
complete: usage: complete [-abcdefgjksuv] [-pr] [-DE] [-o option] [-A action] [-G globpat] [-W wordlist]  [-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [name ...]
~

If uninstall  bash_completion:
bash: /usr/share/bash-completion/bash_completion: No such file or directory
~

If install last version of bash_completion from git:
the same as in 3.

If install last release 2.4 of bash_completion from sources:
the same as in 3.

ALSO:
http://imgur.com/GR7WcrN.
The system is:
OS: Debian unstable sid
Kernel: x86_64 Linux 4.8.3-towo.1-siduction-amd64
Uptime: 1h 41m
Packages: 3222
Shell: bash 4.4.0
Resolution: 1366x768
DE: LXDE
WM: OpenBox
WM Theme: Bear2
Adwaita [GTK2]
Icon Theme: Paper
Font: Sans 10
CPU: Intel Core i5-4200U CPU @ 2.6GHz
GPU: Mesa DRI Intel(R) Haswell Mobile
RAM: 1325MiB / 7910MiB

I can confirm this issue, that is generated by this alias:
https://github.com/Bash-it/bash-it/blob/master/aliases/available/general.aliases.bash#L47

So is this issue happening when the alias (--) is enabled? Or when it is not enabled?

Well, the issue really appears when the "alias completion plugin" is enabled and tries to add completion to the  -- alias.

Thanks for the details! So possible fixes include:

Removing the -- altogether. This would start to fail again if someone manually defines the -- alias.
Fixing the "alias completion plugin" to avoid creating the completion for the -- alias. This has the downside that it feels like a band aid - no guarantee that the same thing won't happen with a different alias.

Any others?

Happens to me on OS X 10.11.6, too.

Is it perhaps necessary to escape the -- somehow?

Since cd - shouldn't take any parameters, there shouldn't be any completion required for it at all.
Out of the two options I presented above, I guess the second one (trying to filter out the -- alias when generating the completions) sounds like the better choice to me. Opinions?

According this excerpt from Bash manual:

SHELL BUILTIN COMMANDS
Unless  otherwise  noted, each builtin command documented in this section as accepting options preceded by - accepts -- to signify the end of the options.  The :, true, false, and test builtins do not accept options and do not
treat -- specially.  The exit, logout, return, break, continue, let, and shift builtins accept and process arguments beginning with - without requiring --.  Other builtins that accept arguments but are not specified as accept‐
ing options interpret arguments beginning with - as invalid options and require -- to prevent this interpretation.

I made a fix in #812

@Ygarr @p3k this issue is fixed in master now, can you update (bash-it update) and confirm it?

+1
works for me, thanks a lot 😺

Awesome, thanks for verifying - closing this now.
I'm thinking about setting up a Vagrant machine with a recent Bash version to run through these scenarios - need to find the time to do that, though...

I'm still having this issue, and my bash-it says it is up to date.
complete: usage: complete [-abcdefgjksuv] [-pr] [-DE] [-o option] [-A action] [-G globpat] [-W wordlist]  [-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [name ...]
(06:56:31) ○ [dustin@archibald]

THen I checked if I had updates to do...
(07:06:51) ○ [dustin@archibald] ~
→ bash-it update
Bash-it is up to date, nothing to do!

Ideas?


Test: Git - support reftable storage

Refs: https://github.com/microsoft/vscode/issues/221642

[ ] anyOS @anthonykim1
[x] anyOS @ntrogh

Complexity: 3
Create Issue

Git 2.45 introduces support for the new reftable storage. This milestone we have made changes to the vscode.git extension to support it.
Prerequisites

Install Git 2.45 or later
Install the latest VS Code Insiders release

Testplan

Clone a git repository using the terminalgit clone --ref-format=reftable https://github.com/microsoft/vscode.git

Open a newly cloned repository in VS Code

Confirm that the repository is correctly detected

Perform basic source control operations (ex: checkout, stage/unstage, commit, create new branch)

Confirm that these operations are working as expected

Tested ok with git 2.46 on Windows.

Tested with 2.46.0 - tried making branch, staging and committing - worked fine. Also seeing expected main with check mark instead of invalid from the screenshot in the referenced issue. Nice work!


"arrow" cli output is weird with ligatures enabled

Verification

[X] This issue's title and/or description do not reference a single formula e.g. brew install wget. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.

Provide a detailed description of the proposed feature
Using the monaspace font, with ligatures enabled (specifically stylistic set ss03), makes the arrow (==>) in the output look strange. VSCode renders it as one ligature layered over another (== and =>). iTerm just uses the last two characters as a ligature and leaves the first = alone. Consider changing this arrow, if possible.
What is the motivation for the feature?
Cleaner output for users of fonts with ligatures.
How will the feature be relevant to at least 90% of Homebrew users?
I can't say for sure how many people use fonts with ligatures. 🤷🏻♂
What alternatives to the feature have been considered?
No action.

Homebrew has used this output format for 15 years. I think the fix here is "don't use ligatures if you don't want this to look weird", sorry.


"Warning: Content representation size is limited by: 100 KB" -- limit unexpected/unjustified and can't be changed

Description
New version does not show full value in
Result Panels -> Value
anymore.
Instead a warning is displayed in red below the area
"Warning: Content representation size is limited by: 100 KB"

Linguistic issues (it's hardly limited "by" but rather "to") aside -- that limited hasn't been there before, but the panel was an easy way to overcome the limit in the Result View, where the value length was limited already.
I think the value length should not be limited in the Panel at all.
If that limit cannot be waived at all (why not, though -- this can't just be the same data as in the View, but has to be fetched separately, hasn't it?) it has to be configurable by the user.
In fact, there's now no (easy) way to fetch the full value at all.
DBeaver Version
Community Edition <IP_ADDRESS>310081633
Operating System
Linux, Debian/Sid
Database and driver
No response
Steps to reproduce
No response
Additional context
No response

Change "Warning: Content representation size is limited by: 100 KB"  preposition by on to

Hello @2019-05-10 Thanks for your grammar suggestion. You can change this limit on this preference page here

Thanks.
But that is hardly straight forward and hard to find.
And what exactly is the point of the limit? What would be a sensible value, what happens if I set an absurdly high limit?
a) that red warning should be a link to exactly that setting
b) there needs to be a explanation -- I wouldn't recognize the view as an "Editor", hence not connect that setting with exactly that view
c) there should be a way to completely disable any limit -- the point of a limit is not clear hence one cannot know what size to set

Hi, the main reason of using it is informing users of restricted displaing content and avoid product freezing while loading huge data in editor that does not suite well for it. It mostly designed to inform user who handle (editing) large object like JSONs

Hello @2019-05-10 Thanks for your grammar suggestion. You can change this limit on this preference page here

thanks mate


Can't find object MSChartObject

In my Report i have some chats. When I try to load the the report from .net core 3.1 project it throws the error "'Can't find object MSChartObject'"
How to resolve this?
I have the list of nuget packages installed:

FastReport.Compat 2020.2.2
2.FastReport.Core 2020.2.0-demo
FastReport.DataVisualization 2020.2.2
FastReport.OpenSource 2020.2.0
FastReport.OpenSource.Export.PdfSimle 2020.2.0
FastReport.OpenSource.Data.MsSql 2020.2.0
FastReport.OpenSource.Web 2020.2.9

What else I am missing ?
Any help will be appreciated.

Hello! MSChartObject is currently not available for OpenSource version. https://github.com/FastReports/FastReport.Documentation/blob/master/COMPARISON.md

Are there any intentions to add them in future?? it is most important feature, Please complete you favorite and add it 💯

Same request here https://github.com/FastReports/FastReport/issues/95


[Bug Report] DatePicker range can't work normally in QQBrowser v9.6.5

Element UI version
2.0.1
OS/Browsers version
Win10/QQBrowser v9.6.5
Vue version
2.5.2
Reproduction Link
https://jsfiddle.net/xovel/fypa6a6z/
Steps to reproduce
http://element-cn.eleme.io/2.0/#/zh-CN/component/date-picker#xuan-ze-ri-qi-fan-wei
Can't select a date range.
What is Expected?
Select a range correctly.
What is actually happening?
NaN

The Reproduction Link above is just a placeholder, 'cause it banned by element-bot automatically.

Duplicate of https://github.com/ElemeFE/element/issues/7539


HAWQ-1458. Fix share input scan bug for writer part

Using flock tmp file with unblock way to resolve this hung bug. The details are as below:
For writer :
Writer will create a tmp file and flock it once writer has created all the tuples before make the corresponding fifo.
For reader :
When select time out, reader will check the tmp file. If the tmp file never appear,  reader will wait  several minutes (it's a guc value) , then quit.
If the tmp file exists, reader will try to flock the tmp file which created by writer with unblock way.
So if writer process quit, reader will flock the tmp file successfully, then reader will know there is something wrong with writer and will quit either.
The reader wait for writer part will in the next pr.

@jiny2 @huor @paul-guo- , pls feel free to review this pr. thank you

I think we could file some JIRAs for rest/following work since this is just a hack?

+1 LGTM

+1 for the improvement

+1

Merge the fix based on review.

+1 LGTM This is a good sample fix for future potential inter-process failure detection. Thx.

+1 LGTM, in my opinion, this is a good sample fix for future potential inter-process failure detection. Thanks.

+1


How to add wt.exe to the PATH when installing terminal from Microsoft Store?

After reading the section https://learn.microsoft.com/en-us/windows/terminal/command-line-arguments?tabs=windows I'm still unsure what'd be the proper way to add wt.exe to the PATH. I've installed the terminal through the windows store and when I try to open C:\Program Files\WindowsApps I'll get some permissions error

So, what's the proper way to add the terminal to the PATH?
In the docs says

Note
If you built Windows Terminal from the source code on GitHub, you can open that build using wtd.exe or wtd.

But I'm using it from the Microsoft Store so that doesn't help much here :/

The right way to add wt to your PATH is to enable its "app execution alias" in the "Manage app execution aliases" page of Windows settings.
It should be turned on by default (which is probably why we haven't yet documented how to turn it on! Thanks!)
If you are having trouble accessing app execution aliases, you might need to check whether your PATH contains %LOCALAPPDATA%\Microsoft\WindowsApps.

@DHowett Wow, thank you very much, this was really helpful, I wasn't aware about this concept of "Manage app execution aliases" at all, nice!
Any reason why this shouldn't be documented somehow (a reference maybe) in https://learn.microsoft.com/en-us/windows/terminal/command-line-arguments?tabs=windows section though?
Btw, it works now although for some reason (probably because the variable expansion works?), if I added directly %LOCALAPPDATA%\Microsoft\WindowsApps to PATH wouldn't work but if I add the expanded variable such as C:\Users\my_user\AppData\Local\Microsoft\WindowsApps to PATH will work. I remember I've read something about this issue in the past in the docs although I can't find the reference right now. Of course, LOCALAPPDATA variable is defined in the user's environment.
Anyway, again, thank you very much!

Meh, yea we could probably add a note to the bottom of the command line args page. Something to mention that users should make sure to have %LOCALAPPDATA%\Microsoft\WindowsApps in the PATH. And to definitely mention avoiding C:\Program Files\WindowsApps - I can't tell you how many people try to mess with that and end up needing to reinstall the OS 😞


[WIP]: Navbar redesign

Description
Navbar fully refactored

Related Issue
https://github.com/trypear/pear-landing-page/issues/213

Changes Made
refactored everything

Screenshots

current design:

Checklist

[x] I have tagged the issue in this PR.
[x] I have attached necessary screenshots.
[x] I have provided a short description of the PR.
[x] I ran yarn build and build is successful
[x] My code follows the style guidelines of this project.
[x] I have added necessary documentation (if applicable)

very early wip everything pretty much still needs work any help would be nice

sorry if this isn't suuper related, but what do we think ab adding the company name next to the logo, something sorta like this:

and maybe making it adaptive so on smaller windows/devices it stays as just the pear logo?

Added PearAI text next to updated green logo.
Try PearAI button in mobile menu now closes on click

From discord, I'll help


Fix archiving emails

When emails are marked as technical failure they do not have a
finished_sending_at time. This means that the EmailArchivePresenter
fails later when trying to read the field. Here we have changed the
method which updates the status of the delivery_attempt to set the
finished_sending_at time to the current time so the field is not nil.
There is also a rake task added to update the emails currently in
the database which do not have a completed_at time, to it to the
current time.
Trello card: https://trello.com/c/nbNAVLwS/1965-3-fix-archiving-of-technical-failure-emails

This is looking pretty close now, I think one thing is that it's probably worth adding a test similar to https://github.com/alphagov/email-alert-api/blob/61c688d3a4aef9f12a4d6fa3e90bddd30d6ea18f/spec/services/delivery_request_service_spec.rb#L66-L77 but for technical failures. I think to set that up we'd just need something like this:
expect(subject.provider).to receive(:call).and_return(:technical_failure)

Looks like we're getting an error in the Rake task:
16:57:45 ActiveRecord::AssociationNotFoundError: Association named 'delivery_attempt' was not found on Email; perhaps you misspelled it?
16:57:45 /data/vhost/email-alert-api/shared/bundle/ruby/2.6.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/associations.rb:235:in `association'
16:57:45 /data/vhost/email-alert-api/shared/bundle/ruby/2.6.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/associations/preloader.rb:153:in `block in grouped_records'
16:57:45 /data/vhost/email-alert-api/shared/bundle/ruby/2.6.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/associations/preloader.rb:151:in `each'
16:57:45 /data/vhost/email-alert-api/shared/bundle/ruby/2.6.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/associations/preloader.rb:151:in `grouped_records'
16:57:45 /data/vhost/email-alert-api/shared/bundle/ruby/2.6.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/associations/preloader.rb:137:in `preloaders_for_one'
16:57:45 /data/vhost/email-alert-api/shared/bundle/ruby/2.6.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/associations/preloader.rb:104:in `preloaders_on'
16:57:45 /data/vhost/email-alert-api/shared/bundle/ruby/2.6.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/associations/preloader.rb:92:in `block in preload'
16:57:45 /data/vhost/email-alert-api/shared/bundle/ruby/2.6.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/associations/preloader.rb:91:in `each'
16:57:45 /data/vhost/email-alert-api/shared/bundle/ruby/2.6.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/associations/preloader.rb:91:in `flat_map'
16:57:45 /data/vhost/email-alert-api/shared/bundle/ruby/2.6.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/associations/preloader.rb:91:in `preload'
16:57:45 /data/vhost/email-alert-api/shared/bundle/ruby/2.6.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/relation.rb:745:in `block in preload_associations'
16:57:45 /data/vhost/email-alert-api/shared/bundle/ruby/2.6.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/relation.rb:743:in `each'
16:57:45 /data/vhost/email-alert-api/shared/bundle/ruby/2.6.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/relation.rb:743:in `preload_associations'
16:57:45 /data/vhost/email-alert-api/shared/bundle/ruby/2.6.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/relation.rb:824:in `block in exec_queries'
16:57:45 /data/vhost/email-alert-api/shared/bundle/ruby/2.6.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/relation.rb:836:in `block in skip_query_cache_if_necessary'
16:57:45 /data/vhost/email-alert-api/shared/bundle/ruby/2.6.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/connection_adapters/abstract/query_cache.rb:79:in `uncached'
16:57:45 /data/vhost/email-alert-api/shared/bundle/ruby/2.6.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/query_cache.rb:21:in `uncached'
16:57:45 /data/vhost/email-alert-api/shared/bundle/ruby/2.6.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/relation/delegation.rb:107:in `public_send'
16:57:45 /data/vhost/email-alert-api/shared/bundle/ruby/2.6.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/relation/delegation.rb:107:in `block in method_missing'
16:57:45 /data/vhost/email-alert-api/shared/bundle/ruby/2.6.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/relation.rb:407:in `block in scoping'
16:57:45 /data/vhost/email-alert-api/shared/bundle/ruby/2.6.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/relation.rb:784:in `_scoping'
16:57:45 /data/vhost/email-alert-api/shared/bundle/ruby/2.6.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/relation.rb:407:in `scoping'
16:57:45 /data/vhost/email-alert-api/shared/bundle/ruby/2.6.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/relation/delegation.rb:107:in `method_missing'
16:57:45 /data/vhost/email-alert-api/shared/bundle/ruby/2.6.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/relation.rb:835:in `skip_query_cache_if_necessary'
16:57:45 /data/vhost/email-alert-api/shared/bundle/ruby/2.6.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/relation.rb:808:in `exec_queries'
16:57:45 /data/vhost/email-alert-api/shared/bundle/ruby/2.6.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/relation.rb:626:in `load'
16:57:45 /data/vhost/email-alert-api/shared/bundle/ruby/2.6.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/relation.rb:250:in `records'
16:57:45 /data/vhost/email-alert-api/shared/bundle/ruby/2.6.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/relation/batches.rb:224:in `block in in_batches'
16:57:45 /data/vhost/email-alert-api/shared/bundle/ruby/2.6.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/relation/batches.rb:222:in `loop'
16:57:45 /data/vhost/email-alert-api/shared/bundle/ruby/2.6.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/relation/batches.rb:222:in `in_batches'
16:57:45 /data/vhost/email-alert-api/shared/bundle/ruby/2.6.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/relation/batches.rb:135:in `find_in_batches'
16:57:45 /data/vhost/email-alert-api/shared/bundle/ruby/2.6.0/gems/activerecord-<IP_ADDRESS>/lib/active_record/relation/batches.rb:69:in `find_each'
16:57:45 /data/vhost/email-alert-api/releases/20200520155622/lib/tasks/complete_technical_failure_emails.rake:5:in `block (2 levels) in <main>'
16:57:45 /data/vhost/email-alert-api/shared/bundle/ruby/2.6.0/gems/rake-13.0.1/exe/rake:27:in `<top (required)>'


How to configure gradle to use knox in unitTests and androidTests

Hi,
first of all THANK YOU for publishing this project and thank you for describing the proguard rules needed for successful obfuscation of the code running with the runtimeOnly support library coming from Knox.
This is not really an issue report, but rather a question or a suggestion for improvement - did you manage to let the app run successful unitTests and androidTests with using the Knox API inside of them?
I could not manage to configure gradle in such a way that would strip off the knox sdk runtime library from the unitTests that run on JVM and I could not make androidTests run on a Samsung device or an emulator. just FYI, I used mocked libs for tests as JVM and emulators do not know the Knox sdk.

@vandus - On a different note, How did you solve the 'IntentConverterReceiver' issue ?

What issue exactly? I copy pasted the IntentContentReceiver from the example code on how to use the support library

Never mind,Ignore. My android studio wasn't recognizing IntentConverterReceiver class
It has been resolved


Pony 0.7.3 Versioning

I found a bug in dealing with Pony in our MAC and Windows testing. The copy feature and copy dataset test are failing. Pony has not update the Linux package yet and is the only reason why these test are not failing. I really can't tell what the error that is causing the issue, but will update this more when I find out. Thanks.

Still needs a new conda package to be built.

Fixed in PR #111


Incremented version to 1.3.2.

Signed-off-by: Zelin Hao<EMAIL_ADDRESS>Description
Incremented version to 1.3.2.
Issues Resolved
Part of https://github.com/opensearch-project/opensearch-build/issues/1882
Check List

[ ] New functionality includes testing.

[ ] All tests pass, including unit test, integration test and doctest

[ ] New functionality has been documented.

[ ] New functionality has javadoc added
[ ] New functionality has user manual doc added

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #77 (9586db6) into 1.3 (d3fc456) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              1.3      #77   +/-   ##
=======================================
  Coverage   95.30%   95.30%
=======================================
  Files           5        5
  Lines         149      149
  Branches       45       45
=======================================
  Hits          142      142
  Misses          7        7

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 d3fc456...9586db6. Read the comment docs.


Adding Logo

Create a Logo For TravelTales and add it in place of the picture present in the Login/Signup Page.

can you assign it to me?

can you assign it to me?

Sure. Assigned to you @guilhermeorcezi


[DO NOT MERGE] wip coveralls

Changes Unknown when pulling 5d1510fc51c3fe53d40a9c9e918d2d5bd09276a1 on rmohr:coverall into ** on kubevirt:master**.

Changes Unknown when pulling 446642e34bf2f9d55ece0085dac539776d2c9b71 on rmohr:coverall into ** on kubevirt:master**.

Changes Unknown when pulling 3c0014da0d6214dbcb33a0abc0cb722508848fb7 on rmohr:coverall into ** on kubevirt:master**.

Changes Unknown when pulling 3c0014da0d6214dbcb33a0abc0cb722508848fb7 on rmohr:coverall into ** on kubevirt:master**.

So we have 35 percent code coverage. Definitely something we can improve ;)
https://coveralls.io/builds/9982771


Implement session expiry in backend

Closes #122.
Closes #105.

Good question about the hardcoded expiry time. It could be more clear to separate it into a clearly marked constant - or would you even feel it could deserve a new environment variable?

Good question about the hardcoded expiry time. It could be more clear to separate it into a clearly marked constant - or would you even feel it could deserve a new environment variable?

Defining it as a constant in the code would be good enough now I think. I see nothing immediately wrong with 25 hours, just wondering if it has some special significance (e.g. standard session expiry time in multiple services).


adds feature to create a config file

previously you were required to specify a configuration via
environment variables.  With this change you can now optionally
specify the same configs in a config file.
Additionally if you have multiple gitlab servers that you connect
to you can easily switch by specifying a default config file to use.
This is handy where the config files are named after servers.

I appreciate your pull request, but it introduces unnecessary complexity to the code.

you can easily switch by specifying a default config file to use

You can accomplish the same thing by placing the env variables in the file and sourcing it.

Rel: #78


Editing mode when measurements or notes or tags are clicked

Clicking on an item like measurements  or notes  or  tags  in the  notebook should  move you directly  to an editing mode.

@jessicagood @nicolasmroberts can this be closed as not required / not necessary ?
based on this comment in #145 by Nick.
Yes, I agree @jessicagood @sdamaraju . I think the symbols are too much next to each header. I personally don’t thing that tapping on the header should doing anything, because people will accidentally tap while looking at their data.

I was wondering if this is actually a different issue where if when you click on the notes icon and the notes page opens if you want to edit the field you do not have to click again on the text input.
So for notes, if there is not already a value for notes, have the cursor appear already in the text box and the keyboard opens. Though this notes page may be going away.
Same for Samples but I don't see how it's applicable to Measurements.

Technically, this is applicable only for notes. (as measurements and samples use form.js), closing with commit c57df043a6ff4b04c5e5bf9519aeae5eabcd1243


use LogStash::Json for json serialization

fixed json serialization as per #20 and introduced in #8
added initial spec
did some cleanups

LGTM, tests are running, I do not have influxdb to do an integration test

corrected the allow_time_override misusage, it is now actually doing what it was supposed to do. it happens that my spec also validates it.

LGTM

@colinsurprenant could you please close https://github.com/elastic/logstash-contrib/pull/116 related to allow_time_override error you just fixed. Thanks


Pay Transaction should be implemented using Move transaction instead of native transaction type

Currently the Pay Transaction is implemented as native transaction type, where coin objects are manipulated directly in Rust. This is unnecessary complexity and error prone. This should be doable in Move, where we pass a vector of coin objects into a Move function. The remaining coin objects at the end are transferred back to the sender.

can I take this one?


add tests for passB.ts, some reorganization & bootstrapping

I need these changes on another branch before finishing this


chore: Remove support for 3.7.

Dependencies of the library are beginning to require 3.8 or 3.9 or higher, and it will just become more of a problem. For now, we're okay to sunset just 3.8.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall first build on dc/deprecate-37 at 96.608%

Totals

Change from base Build<PHONE_NUMBER>:
96.6%

Covered Lines:
2395

Relevant Lines:
2467

💛  - Coveralls


Location of "i" icon on more info

Currently this looks like the first thing on the card and is very prominent. Can we reduce the size and change the location to towards the down side of the card. Design team can suggest ideas.

One option is to have at the end of the Name of the program (text). See the info icon next to "Date Range" in https://i.stack.imgur.com/zmSYK.png and

@Ikpreet-Singh - This has been incorporated in NVSK so closing this on your behalf.


rust error when trying to use it

Backtrace omitted. Run with RUST_BACKTRACE=1 to display it.
Run with RUST_BACKTRACE=full to include source snippets.

The application panicked (crashed).
  Lua runtime failed: CallbackError { traceback: "stack traceback:\n\t[C]: in method 'setup'\n\t[string \"yazi-plugin/src/lua.rs:50:13\"]:1: in main chunk", cause: RuntimeError("[string \"yazi-plugin/src/loader/loader.rs:66:28\"]:10: attempt to call a nil value (method 'children_remove')\nstack traceback:\n\t[C]: in method 'children_remove'\n\t[string \"yazi-plugin/src/loader/loader.rs:66:28\"]:10: in function 'omp.setup'\n\t[C]: in method 'setup'\n\t[string \"yazi-plugin/src/lua.rs:50:13\"]:1: in main chunk") }
in yazi-plugin/src/lua.rs, line 14
thread: main

i'm using version 0.2.5. Yazi 0.2.5 (Arch Linux 2024-04-27).
do i need to build yazi from source?

yes, you need to use latest git :
cargo install --locked --git https://github.com/sxyazi/yazi.git yazi-fm yazi-cli


older textfragment das was misleading removed

older textfragment das was misleading removed, updated date

#sign-off,
@floschmsft , Thank you for updating the text, and removing the confusing fragment.


Mitigate some performance regressions

Context
This pull request mitigates recent performance regressions introduced in dependency management, because we now collect all the reasons for the selection of a component, and that we also have more services for caching.

@ljacomet I think I'm done with the improvements I can easily make. It will be much easier for you if you review commit by commit, since they are pretty independent of each other.


Specification > Project Package Layout: some TOC entries result in 404s

Visit https://opentelemetry.io/docs/reference/specification/library-layout/
In the right-side TOC, select /metrics for example.

Result is:

This is because the corresponding headings, like those for /metrics, are links:
### [/metrics](./metrics/api.md)

Such links need to be moved into that section's prose.

Closed by https://github.com/open-telemetry/opentelemetry-specification/pull/2136


fix: UpdatePropertiesExampleView mutate existing appProperties instead of overwriting

Summary:
For Bridgeless mode we set fabric and concurrentRoot property for newly initialized views. This example overwrites those properties. I think we should Instead copy previous dictionary and only overwrite color key.
This issue results in a warning: "Using Fabric without concurrent root is deprecated. Please enable concurrent root for this application."
Note: This Example crashes on Bridgeless but my other PR #42263 fixes it.
Changelog:
[INTERNAL] [FIXED] - UpdatePropertiesExampleView to mutate existing appProperties instead of overwriting
Test Plan:

Wait for this example to get fixed for Bridgeless
Click the button to update props
Check if there is no warning

@cipolleschi could you review this PR?


batarang breaks angular-foundation topbar

with this plugin the top-bar directive is ignored sometimes
I also feel the app sluggish with this plugin enabled

Can you please provide a reproduction via jsbin, plnkr.co, or jsfiddle?
This saves us a lot of time. Thanks!

I have an app, which is not really a single page application, where I use foundation for the menu. A click on the menu reloads the page. With batarang a reload of the page by clicking a link in the menu makes angular-foundation stop - so that the menu is not renderered with styles but instead I see the UL/LI list elements...
deinstalling/disabling batarang solved this...
It seemed to me that some angular specific modules were not running properly on reload as in the first page load...
There is one warning in the console:
(index):3140 The specified value 't' is not a valid email address.

I guess (index):3140 points somewhere in batarang
Without advertising - you can see it in action at http://krisztina-berger.com

im not 100% sure but that seems like its modernizr

Does not reproduce with latest master, so I'm calling this fixed unless proven otherwise.


Fix circular dependency

Problem
Circular dependency arising from common refactor
Solution

fix imports to eliminate circular dependency
quick reorg of some functions. including renaming fs/utils to fs/operations

FYI @dholms , this PR has the changes from #37 in it as well.


planePlaneIntersection have a bug

After cross, the calculated normal vector direction of some images is reversed.

This problem appears in “planePlaneIntersection” function.

@gjun-neusoft when you say "some images", is there a qualifier for what images this is happening to? Can you provided an screen shots, example images, or steps to reproduce this issue?


Added GVRVertexBuffer clone constructor

AddedGVRVertexBuffer(GVRVertexBuffer src, String desc) so you can copy data from one vertex buffer to another more easily. Fixes crash in MeshUtils.clone when used by GVRKeyboardSceneObject.
GearVRF DCO signed off by: Nola Donato<EMAIL_ADDRESS>

too many commits, needs squash


Querying by multiple tag filters

Implementing queries with multiple tag filters is actually trickier than I thought and I've messed it up a few times. Would be good to test this.
Example query:
  [{
    kinds: [30383],
    authors: ['db0e60d10b9555a39050c258d460c5c461f6d18f467aa9f62de1a728b8a891a4'],
    '#k': ['3036'],
    '#p': ['0461fcbecc4c3374439932d6b8f11269ccdb7cc973ad7a50ae362db135a474dd'],
    '#n': ['approved'],
    limit: 20,
  }]

It would just test that the results match the filters.

Ok it's been added to master branch.  I also fixed several bugs and now actually test if all the matching events were returned (as well as if all returned events match).
The tester is sorta usable already but I only have about half of the tests that I have imagined, and each new test seems to break the idioms I've constructed, with each idiom break being more significant of a refactor than the last one.


feat: a ^ (p - 1) = if a ≠ 0 then 1 else 0 in ZMod p

This is useful for algebraically encoding equality of indices.
From LeanCamCombi

Otherwise LGTM. Thanks!
bors d+

bors merge


unable to run the application

Hello,
This is the first time for me to use a Javascript app.
Can you please give steps in order to run this application.
Is it possible to use visual studio code or visual studio2017?
thanks,

This isn't actually an app, it's a library that you can use to build apps...

Unfortunately I’m not able to provide much individual help beyond the
documentation and examples that are already available...
On Wed, Oct 10, 2018 at 03:27 MeriemBH<EMAIL_ADDRESS>wrote:

Hello Nicolas,
Can you please explain how to use this library?
thanks
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/nicolaskruchten/pivottable/issues/1023#issuecomment-428466797,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAMbA08aH9S4yBkvXb_FiUvnXw3jHPlvks5ujaFOgaJpZM4XTwxR
.


replace all uses of prefix with pattern

Current dependencies on/for this PR:

master

PR #49   👈

This comment was auto-generated by Graphite.


Arc diff on ecs container gives exception

On diff creation, jenkins gets triggered and tries to run the build on an AWS ECS container. I am getting the following error(console output):
[phabricator:conduit] Fetching differential from Conduit API
[PhTest] $ **** reset --hard dd6a90f456ac737e7e667e5278a033f3a12c72dc
fatal: Not a **** repository (or any of the parent directories): .****
[phabricator:arc-patch] Got non-zero exit code resetting to base commit dd6a90f456ac737e7e667e5278a033f3a12c72dc: 128
[PhTest] $ **** clean -fd -f
fatal: Not a **** repository (or any of the parent directories): .****
[PhTest] $ **** submodule update --init --recursive
fatal: Not a **** repository (or any of the parent directories): .****
[PhTest] $ /tmp/arcanist/bin/arc patch --diff 1179 --nocommit --nobranch --force ********
****Usage Exception: arc patch is only supported under , hg, svn.
After which the build is marked failed. Can anyone point out what am I doing wrong?

Not related to plugin itself, you didn't properly checkout repository or it is not git/mercurial based one

Not related to plugin itself, you didn't properly checkout repository or it is not git/mercurial based one


Multilanguage Achiefment

How do i make the achiefment multilanguage? I see the achiefment as somethign that is saved in the database, but how do i translate this achiefment?

The package itself has no translation feature, but you could accomplish that by using the Localization feature in Laravel.
This is how I would do this (I am using Brazilian Portuguese as an example):
1) Store the Achievement name and description as translation short keys.
<?php

namespace App\Achievements;

use Gstt\Achievements\Achievement;

class UserMadeAPost extends Achievement
{
    /*
     * The achievement name
     */
    public $name = 'achievement.user_made_a_post.name';

    /*
     * A small description for the achievement
     */
    public $description = 'achievement.user_made_a_post.description';
}

2) Create translation files:
/resources
    /lang
        /en
            achievements.php
        /pt-br
            achievements.php

<?php

// resources/lang/en/achievements.php

return [
    'user_made_a_post.name' => 'Post Created',
    'user_made_a_post.description' => 'You have created your first post'
];

<?php

// resources/lang/pt-br/achievements.php

return [
    'user_made_a_post.name' => 'Post Criado',
    'user_made_a_post.description' => 'Você criou o seu primeiro post'
];

3) Call the Translation feature whenever you want to display the data
// resources/views/achievements/list.blade.php
@foreach($achievements as $item)

        {{ __($item->details->name) }}
        {{ __($item->details->description) }}

@endforeach

If you need help on how to display the Achievements on template, please check the example package I have created.

That makes sense, Thank you very much.

 Thanks for using the package.


Fatal: Micro could not initialize a Screen.

Description of the problem or steps to reproduce
Fatal: Micro could not initialize a Screen.
Install from curl https://getmic.ro | bash and run it.
Specifications
Running KDE Plasma on Arch Linux, I am using Konsole
Commit hash: b9763856
OS: Arch Linux
Terminal: Konsole

I can't able to reproduce your problem, seems works fine for me, no issue at all. Can you try micro on xfce terminal, by doing pacman -S xfce4-termimal and see if it works on there or not. Though I'm not in Arch, currently on Debian with KDE and using micro on Konsole, everything looks good for me.

It works on Budgie

I can reproduce on Arch

Arch Linux KDE (Plasma 5.25.4 Framework 5.97.0) -> X11 and Wayland -> Konsolecharater set not supported
Fatal: Micro could not initialize a Screen

Arch Linux KDE (Plasma 5.25.4 Framework 5.97.0) -> X11 and Wayland -> Xfce terminalcharater set not supported
Fatal: Micro could not initialize a Screen

No issues with

Manjaro KDE (Plasma 5.25.4 Framework 5.97.0) -> X11 -> Konsole

Hi, I am having same issue on Arch Linux Sway (Wayland) using Alacritty terminal.
$ micro --version
Version: 2.0.11
Commit hash: 225927b9
Compiled on August 09, 2022

Installed using pacman but same issue using your installation method @tajsnowberry
Any news on this issue ?

Same issue on OpenBSD -current (either installed from packages, or built from scratch from upstream master):
obsd$ micro
function not implemented
Fatal: Micro could not initialize a Screen.
obsd$ micro -version
Version: 2.0.13
Commit hash: 68d88b5
Compiled on Unknown

Same issue on OpenBSD -current (either installed from packages, or built from scratch from upstream master):
obsd$ micro function not implemented Fatal: Micro could not initialize a Screen.
obsd$ micro -version Version: 2.0.13 Commit hash: 68d88b5 Compiled on Unknown

For OpenBSD is fails due to : https://github.com/golang/go/issues/63900

On Mon, 29 Apr 2024 07:51:29 -0700
Joel Sing @.***> wrote:

@vazub @rosco-pc - the most likely cause is code that is calling
syscall.Syscall* - either directly in this code base, in a
dependency or an out-of-date dependency. Running under egdb with a
breakpoint on the syscall.Syscall* functions should identify the
source of the call.

It is running syscall.Syscall6 in the tcell dependencies (also from
zyedidia :))
From ta mail chian on ports:

On Sun, 7 Apr 2024 12:21:14 -0400
George Koehler @.***> wrote:

On Sun, 7 Apr 2024 15:57:26 +0200
Rob Schmersel @.***> wrote:

I tracked it down to the use of syscall in the tcell package
file tscreen_bsd.go (line 46)

  fd = uintptr(t.out.(*os.File).Fd())
  if _, _, e1 := syscall.Syscall6(syscall.SYS_IOCTL, fd,

ioc, tios, 0, 0, 0); e1 != 0 { e = e1
goto failed
}

Joel Sing patched our lang/go to allow SYS_IOCTL in Syscall, but
not in Syscall6.  I tried changing Syscall6 to Syscall in
tscreen_bsd.go. The "function not implemented" error stopped
appearing, but

I think there is a reason why Syscall6 was used instead of Syscall
(i.e. number of arguments). Just removing the last 3 arguments now
makes the last argument (tios) be a pointer (at least according to
the syscall package description) which I'm not sure is the
intention and probably the reason for the black screen :)
So I guess I need to look at the syscall package to figure what
changes where made for Syscall. Will give it go later today.

micro got stuck on a black screen; I needed to close the
terminal.
Got the same after patching

I can't add my patch to the port, because "make update-patches"
doesn't see it.  The file is outside WRKSRC, in
@.***

Yeah, the tcell package is a dependency that gets pulled in during
compilation. We need to request upstream to patch or get tcell as an
own package once it is figured out what is the cause (it definitely
used to work before :))

--- tscreen_bsd.go.orig.port	Sun Apr  7 11:53:03 2024
+++ tscreen_bsd.go	Sun Apr  7 11:57:57 2024
@@ -43,7 +43,7 @@
tios = uintptr(unsafe.Pointer(t.tiosp))
ioc = uintptr(syscall.TIOCGETA)
fd = uintptr(t.out.(*os.File).Fd())

if _, _, e1 := syscall.Syscall6(syscall.SYS_IOCTL, fd,
ioc, tios, 0, 0, 0); e1 != 0 {

if _, _, e1 := syscall.Syscall(syscall.SYS_IOCTL, fd,
ioc, tios); e1 != 0 { e = e1
goto failed
}
@@ -61,7 +61,7 @@
tios = uintptr(unsafe.Pointer(&newtios))
ioc = uintptr(syscall.TIOCSETA)

if _, _, e1 := syscall.Syscall6(syscall.SYS_IOCTL, fd,
ioc, tios, 0, 0, 0); e1 != 0 {

if _, _, e1 := syscall.Syscall(syscall.SYS_IOCTL, fd,
ioc, tios); e1 != 0 { e = e1
goto failed
}
@@ -94,7 +94,7 @@
fd := uintptr(t.out.(*os.File).Fd())
ioc := uintptr(syscall.TIOCSETAF)
tios := uintptr(unsafe.Pointer(t.tiosp))

syscall.Syscall6(syscall.SYS_IOCTL, fd, ioc,

tios, 0, 0, 0)

syscall.Syscall(syscall.SYS_IOCTL, fd, ioc, tios)
t.out.(*os.File).Close()

}
if t.in != nil {
@@ -108,8 +108,8 @@
dim := [4]uint16{}
dimp := uintptr(unsafe.Pointer(&dim))
ioc := uintptr(syscall.TIOCGWINSZ)

if _, _, err := syscall.Syscall6(syscall.SYS_IOCTL,

fd, ioc, dimp, 0, 0, 0); err != 0 {

if _, _, err := syscall.Syscall(syscall.SYS_IOCTL,

fd, ioc, dimp); err != 0 {
return -1, -1, err

}
return int(dim[1]), int(dim[0]), nil

Same issue on OpenBSD -current (either installed from packages, or built from scratch from upstream master):
obsd$ micro function not implemented Fatal: Micro could not initialize a Screen.
obsd$ micro -version Version: 2.0.13 Commit hash: 68d88b5 Compiled on Unknown

For OpenBSD is fails due to : golang/go#63900

Been running into this issue for several years, finally I now know why, and I am grateful.


Getting  Nonetype error while accessing current_path_details.last_visited_directory.

I get this error while trying to access lessons
<IP_ADDRESS> - - [01/Jul/2024 00:36:44] "POST /edu-viewer/courses HTTP/1.1" 302 - [2024-07-01 00:36:44,500] ERROR in app: Exception on /edu-viewer/courses/000-overview [GET] Traceback (most recent call last):   File "/opt/homebrew/lib/python3.9/site-packages/flask/app.py", line 1463, in wsgi_app     response = self.full_dispatch_request()   File "/opt/homebrew/lib/python3.9/site-packages/flask/app.py", line 872, in full_dispatch_request     rv = self.handle_user_exception(e)   File "/opt/homebrew/lib/python3.9/site-packages/flask/app.py", line 870, in full_dispatch_request     rv = self.dispatch_request()   File "/opt/homebrew/lib/python3.9/site-packages/flask/app.py", line 855, in dispatch_request     return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)  # type: ignore[no-any-return]   File "/opt/homebrew/lib/python3.9/site-packages/flask_login/utils.py", line 290, in decorated_view     return current_app.ensure_sync(func)(*args, **kwargs)   File "/Users/indro/code/educative-viewer/main.py", line 134, in topics     course_dir = current_path_details.last_visited_directory AttributeError: 'NoneType' object has no attribute 'last_visited_directory' <IP_ADDRESS> - - [01/Jul/2024 00:36:44] "GET /edu-viewer/courses/000-overview HTTP/1.1" 500 - <IP_ADDRESS> - - [01/Jul/2024 00:36:44] "GET /favicon.ico HTTP/1.1" 404 - <IP_ADDRESS> - - [01/Jul/2024 00:36:47] "POST /edu-viewer/courses HTTP/1.1" 302 - [2024-07-01 00:36:47,202] ERROR in app: Exception on /edu-viewer/courses/005-inheritance [GET] Traceback (most recent call last):   File "/opt/homebrew/lib/python3.9/site-packages/flask/app.py", line 1463, in wsgi_app     response = self.full_dispatch_request()   File "/opt/homebrew/lib/python3.9/site-packages/flask/app.py", line 872, in full_dispatch_request     rv = self.handle_user_exception(e)   File "/opt/homebrew/lib/python3.9/site-packages/flask/app.py", line 870, in full_dispatch_request     rv = self.dispatch_request()   File "/opt/homebrew/lib/python3.9/site-packages/flask/app.py", line 855, in dispatch_request     return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)  # type: ignore[no-any-return]   File "/opt/homebrew/lib/python3.9/site-packages/flask_login/utils.py", line 290, in decorated_view     return current_app.ensure_sync(func)(*args, **kwargs)   File "/Users/indro/code/educative-viewer/main.py", line 134, in topics     course_dir = current_path_details.last_visited_directory AttributeError: 'NoneType' object has no attribute 'last_visited_directory' <IP_ADDRESS> - - [01/Jul/2024 00:36:47] "GET /edu-viewer/courses/005-inheritance HTTP/1.1" 500 -

Can you tell me what am I doing wrong. I followed all the readme instructions.

Create a video and attach it here
@ijmondal


[Feature]: Pressing Escape to close a modal should count as a quick dismissal.

Is there an existing issue for this?

[X] I have searched the existing issues

Summary
Pressing the Escape button to close a modal should count as a quick dismissal along with clicking outside the modal. Toggling quick dismissal off for the modal should also disable closing the modal with the Escape key.
Why should this be worked on?
We want to control the user experience and not have a user accidentally close a modal when they do not intend to. As such we have specific buttons set up to close the modal and always disable quick dismiss.
If the modal is dismissed prematurely that could result in loss of data when the modal requires the user to input data and that data is not submitted. However incomplete sets of data cannot be submitted, so we cannot save the data to the database on close.
Additionally the modal is contextual based on which button the user presses to show it. For example, we could have 5 orders in a table or a list, and each order has a button to create a shipment. The button pops the same modal, but the modal is populated with data related to the row/list item that it is triggered from.
Pressing escape to close the modal could be done on accident while the user is filling the modal with data (just as clicking outside the modal is an easy mistake to make).
Binding escape to a button makes sense, because then the designer can decide if escape should bind to close modal or some other function.
Barring that, escape should be tied to quick dismiss, so the designer can decide if an easy dismissal is desired (escape or clicking outside) or if they need to make sure the user follows the correct workflow to exit safely.
 Front conversations

@dilippitchika what would be the impact given 50% of the end users can go about pressing esc for dismissing the modal! This makes the current functionality useless!

@somangshu my thought here is for preserving the context, they can use storeValue to keep a track of the data that is filled in using the onClose event. I don't think this blocks them in any way to be a high issue. It's mostly a low issue because the workaround exists and it's quite easy to implement it

So i think the bigger change here is differentiating between a quick dismissal and a confirmed dismissal, there can be different techniques and not just esc, some people might want clicking outside as a quick dismissal as well.
Until then, the developer can choose to use the onClose event to store the values in appsmith store by default and ask the end user to discard before dismissing if they don't want values to be stored

@dilippitchika the case is different here, the quick dismissal property works for click outside, it only does not work for esc key, both need to have a similar behavior!

What do you mean @extremegf ?
One very straight-forward use case we have seem before is where the app devs wants to force the user to take an action on a modal and not be able to dismiss

One very straight-forward use case we have seem before is where the app devs wants to force the user to take an action on a modal and not be able to dismiss

All the user has to do to dismiss such modal is to press Esc. All modals made via Appsmith can be simply dismissed by pressing Esc. Try it out.

I can see that the data is retained even when user presses esc or explicitly closes the modal. So by default everything is quick dismiss, reset only happens when the developer wants to reset the form.
I did this - Added a table with data, connected it to a modal on row selection, added an input in modal. After closing it irrespective of escape or using close button, the data still persists.
We need to know which input are they using where this issue is happening

Confused at this point.
The original requirement is

Pressing the Escape button to close a modal should count as a quick dismissal along with clicking outside the modal. Toggling quick dismissal off for the modal should also disable closing the modal with the Escape key.

So the ideal solution is that,

If quick dismiss is enabled

Pressing esc should dismiss the modal
clicking on the overlay should dismiss the modal

If quick dismiss is disabled

Pressing esc should not dismiss the modal
clicking on the overlay should not dismiss the modal

@dilippitchika About the data persisting, we need to manually reset the modal widget with its children to have them in default state.

Stats

Stat
Values

Reach
360

Effort (months)
0.5

Assuming unique counts in the last 6 months where people have set quick dismiss to false.

Since there already is a quick dismiss toggle, maybe a toggle, that listens to "onkeypress" for Escape button.

Another issue here: if you have a table that has editable fields, a normal habit to cancel out of an edit is to hit escape.  However, even if quick dismiss is disabled, hitting escape while editing a field in a table still closes the modal.


server runs, clients connect, event chain works, all events occur globally (no rooms)

deployed site here
https://caps-awvp.onrender.com

I tried to connect to the deployed site through a terminal process on my local computer but it doesn't work

rooms work


fix (manifest-list): added serde aliases to support both forms conventions

This PR fixes #338
The PR adds serde aliases to fields that were renamed in https://github.com/apache/iceberg/pull/5338 (merged in 1.5.0), in order to support both conventions/versions - i.e., new and previous naming conventions.
In the current implementation of Iceberg-Rust, deserialization is done using field names rather than field id, and therefore manifests written using newer Iceberg lib are not supported.

Looks good, at least until we move to field IDs. But could we add a test data file to check the aliases work? 👍🏼

Added test files and test.
Thanks @sdd

I'm okay with this, but before the next release, we need to get field-ID resolution in place. That's a very important part of Iceberg. In this case, we stumbled into a naming difference of Spark, but it might also be that other engines produce slightly different names.

Thanks @Fokko ,
Typo fixed and Yes, this is indeed aimed to be an interim solution, though the test and test files should be good to help us test a more robust solution.
With respect to the more long term solution that resolves the field name by field-id, I have patched this for my own use case, and will be happy to PR, but would be grateful for some "pre-ruling" on the direction and design of the solution. Mostly because there some open questions about this, like the use of apace_avro crate etc.
Anyways, here is the note about the suggested direction
https://github.com/apache/iceberg-rust/issues/338#issuecomment-2095268461

@a-agmon I think the PR is simple and clear.
BTW, it would be nice to change the field names of the ManifestFileV2 struct to the 'correct' ones (for example, pub added_data_files_count to pub added_files_count but it would require changes in other modules.

BTW, it would be nice to change the field names of the ManifestFileV2 struct to the 'correct' ones (for example, pub added_data_files_count to pub added_files_count but it would require changes in other modules.

I would like that as well, maybe we can do that in a separate PR so we can get this one in.

With respect to the more long term solution that resolves the field name by field-id, I have patched this for my own use case, and will be happy to PR, but would be grateful for some "pre-ruling" on the direction and design of the solution. Mostly because there some open questions about this, like the use of apace_avro crate etc.

I think the solution that you posted makes sense. In PyIceberg we decided, in the end, to implement our own Avro reader to make these things easier. What we do there is convert an Avro schema directly to an Iceberg schema and use an Iceberg Avro reader (that you would also use for data-files), to read the Avro files into the right struct`s.