Feature/hathi links

Adds template tag to render Hathi page links using the order attribute of solr page objects
Adds and styled page reference via page.label per Zepplin
Refactors tags for page_url and page_image_url

Codecov Report

Merging #120 into develop will decrease coverage by 1.01%.
The diff coverage is 62.96%.

@@             Coverage Diff             @@
##           develop     #120      +/-   ##
===========================================
- Coverage    98.87%   97.85%   -1.02%
===========================================
  Files           52       52
  Lines         2840     2843       +3
===========================================
- Hits          2808     2782      -26
- Misses          32       61      +29

Impacted Files
Coverage Δ

ppa/archive/views.py
99.07% <ø> (ø)
:arrow_up:

ppa/archive/tests/test_models.py
89.86% <0%> (-10.14%)
:arrow_down:

ppa/archive/tests/test_templatetags.py
100% <100%> (ø)
:arrow_up:

ppa/archive/templatetags/ppa_tags.py
96.42% <100%> (+0.13%)
:arrow_up:

ppa/archive/tests/test_views.py
100% <100%> (ø)
:arrow_up:

ppa/archive/models.py
95.31% <0%> (-4.69%)
:arrow_down:

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 aafc8bd...60466e7. Read the comment docs.

Here are some issues I'm seeing...unclear how things could be so different on my local dev, but posting anyway so we can debug them.

page images are not loading for a large number of items. this looks like:
 which isn't ideal.
page numbers aren't populating anywhere (see the above screenshot). this results in the empty p.
when page images do load, they are of the correct book, but only ever of the cover. this looks like:
 you can see based on the image that it's the correct item.

When looking at the markup, I can see that both the link tags and image tags are actually pointing at different places:

However, both those image URLs resolve to the cover page image, and both those link URLs resolve to the cover page in hathi.


Update generic.txt

Hello,
not sure if this is the right way to add this (or even the right place). Unfortunately I don't have a developer account so couldn't build and test :(
In any case, I hope this blocks the element with id #skv-cookie-banner from www.skatteverket.se
Thanks for this extension!

Sweet, thx!


Switch production URL to service domain

 Switch smoke tests from education.gov.uk domains to service.gov.uk domains


Need a event

hello,
I love your lib it's very easy to work with it, I need to handle when the user swipes down the model controller. could you provide some callback event when the user dismisses the model controller by swipe, kindly do needfully.

You need only swipe or close / dismiss action?

dismiss/close by swipe gesture

@syedrazackimran I am upload new version 1.5.6 and update readme for delegate. Now you can check event dismissing by swipe.


How to enable text highlighting?

Great library!
I have a question:
How to enable text highlighting? I am using the library as a sort of Page viewer (series of vertical divs with text) and I need to enable text highlighting for copying.
The exclude and excludeClass doesn't seem to work for this.
Any help is much appreciated.
Thanks.

Was able to make it work.
The panzoom library, upon initialization, will also add styling to its parent:

 <-- added by Panzoom.

 ...

So I just needed a way to override it.
And I think (for my particular instance), I needed the excludeClass and it worked.
Closing this. Thanks.


Error when trying to get values with coordinates. What's the right syntax?

Hello there.
First of all, thank you for the amazing tool it is super useful for my needs!
I am trying to get measurements from a location using lat, lon coordinates but I can't seem to make it work.
Below is my implementation:
date_from = datetime(2021,5,1)
date_to = datetime(2021,6,11)

coordinates = "37.988028,23.727628",

api.measurements(coordinates=coordinates,
                 radius=100000,
                 parameter="pm25",
                 date_to=date_to,
                 date_from=date_from,
                 index="utc",
                 df=True,
                 limit=10000)

What do you think I should change?

Found a solution. I was using version 1. Once I changed it to version 2 it worked.
api = openaq.OpenAQ(version="v2")


Using defaultVariantName for same experiment in multiple places breaks experiment

I have the following with a defaultVariantName defined in one component with the same experiment as another component. My app works with just one defined but if I want to define it again to make it consistent it breaks.
// component 1
<Experiment name="x" defaultVariantName="A">
  <Variant name="A" >
    <AIntro/>
  </Variant>
  <Variant name="B">
    <Intro/>
  </Variant>
</Experiment>

// component 2
<Experiment name="x">
  <Variant name="A">
    <AHeader/>
  </Variant>
  <Variant name="B">
     <Header/>
  </Variant>
</Experiment>

A suggestion is to define the defaultVariantName within the .defineVarients() method so it is defined where the other definitions are created
PushtellEventEmitter.prototype.defineVariants = function(experimentName, variantNames, variantWeights, defaultVariantName)

Hi @Amber-Williams, so in this case you're rendering two experiments with same name and you would expect component 2 to choose variant A on SSR,  because you passed  defaultVariantName to component 1?
Does component 2 render after component 1?
Have you tried calling emitter.setActiveVariant instead?
Can you create a small example on codesandbox.io to illustrate the problem? Thanks!


Godawful error messages

My slumps code that produces the unkown: http://pastebin.com/2Nb2LBLM
What you should take after: https://github.com/Akryum/meteor-vue-component/issues/48
I got two errors both of which originate from (unkown) which is exceptional in sight of errors that quite possibly don't ever link to the source in stack trace eg common.js. akryum:vue-components took the time time to actually improve those where if something breaks it actually points at the line of the file that's not working, at which point you can step on shaky grounds of guessing your way through and away from copy and paste.

Godawful report, to be honest.
Could you please take some time to make a usable reproduction that actually demonstrates the issue instead of hoping that someone will do it for you?

This error report lacks the most basic information:

What actual error messages are thrown?
Vue version?
Node version?
Webpack version?
vue-loader version?
From official CLI template?

Also, pasted info is not actually runnable. This fails to comply with the Issue Reporting Guidelines.
I might as well add: this is not an appropriate way to open issues. If you want your issue to be respected, please respect the time of the maintainers as well.

On Wed, Nov 30, 2016 at 10:52 PM, Evan You<EMAIL_ADDRESS>wrote:

Closed #4345 https://github.com/vuejs/vue/issues/4345.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/vuejs/vue/issues/4345#event-877159471, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AKz-gcpG9WeD9HKQLpXP9_5Js_rX2azLks5rDanMgaJpZM4LAEyy
.


How to send any file?

How to send any file? because currently we can send only images, videos and audio! so i want to have it compatible with all files! any guidance plz?

It's possible to add attachments to message: For example: image, audio file or video file. We don't have any restrictions here - you can attach any type of file. Look at this link.

any code? that can help me out?cause i partially can understand that link's instruction

For example:
       QBChatMessage chatMessage = new QBChatMessage();
       QBAttachment attachment = new QBAttachment("photo");
       attachment.setId("123456789");
       attachment.setName("attachmentName");
       attachment.setContentType("image/jpg");
       attachment.setUrl("http://image.url.com");

       chatMessage.setBody("Message with attachment body");
       chatMessage.addAttachment(attachment);

Or upload file like this and send it with attachment
QBContent.uploadFileTask(file, isPublic, new QBEntityCallback<QBFile>() {
    @Override
    public void onSuccess(QBFile qbFile, Bundle bundle) {
        // create a message
        QBChatMessage chatMessage = new QBChatMessage();
        chatMessage.setSaveToHistory(true); // Save a message to history

        // attach a txt
        QBAttachment attachment = new QBAttachment("txt");
        attachment.setId(qbFile.getId().toString());
        chatMessage.addAttachment(attachment);

        // send a message
        // ...
    }

Ok thanks! but one last help (im a newbie)
Can tell me where to add this code in q-municate project?

For example you can look at classes QBBaseChatHelper - there is creation of QBAttachment. Or QBGroupChatHelper, QBPrivateChatHelper with QBContent.uploadFileTask.

Hmmm... Can u guide me like, give me a working code of this?that would be awesome of you!

Anyone? who can help me out~!

close, long time inactivity


Fixed money precision in some cases

When a product price was set as 9.87, then the value was saved as 9.86. This
problem relies in how Symfony Forms plays with numbers, even when are decimals.
We've solved this by giving the responsibility of converting floats to integers
and viceversa to the MoneyDataMaper, so we can safely do that conversion.

 XD

I hope you will ;)


Can not use Copilot Chat

VS Code Version: 1.82.3 (Universal)
OS Version: 13.4.1 (c)
Logs:
2024-02-26T06:55:30.859Z [INFO] [auth] Logged in as vandut88
2024-02-26T06:55:31.409Z [INFO] [chat] copilot token chat_enabled: true
2024-02-26T06:55:31.409Z [INFO] [auth] Got Copilot token for vandut88
2024-02-26T06:55:46.952Z [INFO] [chat fetch] engine https://copilot-proxy.githubusercontent.com/v1/chat
2024-02-26T06:55:46.952Z [INFO] [chat fetch] modelMaxTokenWindow 4096
2024-02-26T06:55:46.952Z [INFO] [chat fetch] chat model copilot-chat
2024-02-26T06:55:47.040Z [INFO] [chat fetch] request.response: [https://copilot-proxy.githubusercontent.com/v1/chat/completions], took 87 ms
2024-02-26T06:55:47.042Z [ERROR] [chat fetch] Unhandled status from server:,404,404 page not found

Result chat : Oops, your response got filtered. Vote down if you think this shouldn't have happened.

The logs you've included are due to being on a much older version VS Code + the extension. Please update VS Code and update your copilot chat extension


Better configuration

As told in #174 , I added the "classic" configuration possibility.
I read closely the #185 issue, but @ogizanagi if you can review this PR too, maybe you will have some comments about what I did. As you said in there, I kept the filter the way it was before.
I did not added the pagination on the resources, as it was not merged when I started to work on this functionality.
The tests are passing but since I merge master branch (and since fb195dc ) I got a 500 error (and white page, no error message). I will try to investigate tomorrow but if you have an idea, it would help me ?

It looks great. Some quick comments:

The collection_operations & item_operations might be merged as suggested in https://github.com/dunglas/DunglasApiBundle/pull/174#issuecomment-122347068 as a methods configuration option, for base CRUD operations. Eventually, make a difference between GET and cGET, respectively for item and collection GET operations ?
The resource key in the config does not mean anything (only used to generate the service name). I suggest it should be the resource FQCN, as it is mandatory anyway. So the entry_class isn't necessary anymore.
I think you should authorize referencing custom operation by service ids too. I've shown an example in #185 about this, which is actually what I implemented for my own needs.

Note: I think @dunglas had something in mind, recently, about configuring operations & maybe other stuff through annotations.

Yes I'll open a PR when I'll have a computer (in the end of August).

I suggest waiting for my proposal before merging anything to see pros, cons and similarities of both options.

Are you still working on another configuration @dunglas ?

It's more:

resource and operation moved in the metadata system
no more dependency on the DIC nor any other Symfony component except Serializer
most configuration options moved at the operation level
easier to change routes and to work with custom controller

But it's not finished yet.

That looks like teasing now 😛

@dunglas how/why do you want to get rid of the DIC ? Is it still a bundle ;-) ?

@dupuchba I'll move almost all the code in a standalone library and the bundle will only contain Symfony integration (services definitions).
I've experimented integrating the standalone library with Silex and Laravel and it looks good!

Sounds great ! do you have any repo on github where I can look ?

Is it still in progress or is it included in the v1.0 ?

@dunglas any news about your proposal? That's a blocker to merge/close this PR as well as closing the version 1.0 :)

I'm finishing things in Symfony required to do it. We can close this one IMO.


Add default sender to nats request

When the agent tries to respond to a NATS message without a sender, the
action will fail without any discernible leads as to where the fault
lies. It typically responds with an: 'Unknown Protocol Operation'
This is just a more friendly interaction.
[#111105094]

That looks like violation of a contact. I think it's better if agent raises an error saying that sender is not specified instead of polluting mbus with messages.

Now, I'm worried about other kinds of messages that the Agent receives. If some tasks are sent to the agent that don't necessarily need a reply (like a 'cleanup' task), I wouldn't want the task to be halted prematurely.

merge story #152974697


Add expense categories

As a user, I want to categorize expenses (e.g., groceries, utilities, rent) so that I can easily track and manage different types of shared costs.

Duplicate of #28


"binance has no market NANO/BTC, ignoring"

I started crypto-signal with several coin pairs on binance, and I get the following error/warning:
binance has no market NANO/BTC, ignoring.
binance has no market BCC/BTC, ignoring.
binance has no market YOYO/BTC, ignoring.
even though binance does have all these exchanges.
I'm assuming the problem with NANO is the recent rebranding (XRB) and the problem with BCC is that it's actually BCH. (not sure about YOYO)

The Binance API for whatever reason has a weird history of not matching the availability of what is on its UI. I've had similar questions in the past and whenever I've looked into it, it's always just been Binance listing strange things on their API. I think once they even listed a pair that wasn't available on the UI yet.
If you don't specify what markets you want to look at, it will just walk all of the available markets exposed by their API. We don't do anything special with the markets when they are read we just get everything they list.

With no follow up questions I am closing this issue for now.


Return the angular module so it can be consumed in applications

Was this working before?
All I am doing here is returning the 'ngProgress' angular module and it becomes consumable in my typescript / angular 1.5 / webpack app using a commonjs require statement.

It was/is? working yes, you shouldn't need to return the module as it references the global angular. However, there is no reason no to return it to be able to do module.name for instance.
This would need to be changed in the src file, and recompiled as the change you have made will be reverted next time the build is run (and it's not present in the minified version).


Cannot reproduce results

Hi, dear authors, I've recently reproduced your work, the command is as following:
   python main.py --data_root /home/data/ --dataset gopro_ds_lmdb --ds_config 2ms16ms --batch_size 32 --data_format RGB

I use 4 x p40 devices, but the output is:
2021/06/09, 02:28:12 - gopro_ds_lmdb results generating ...
2021/06/09, 02:28:12 - seq 000 image results generating ...
2021/06/09, 02:28:54 - seq 001 image results generating ...
2021/06/09, 02:29:33 - seq 002 image results generating ...
2021/06/09, 02:30:11 - seq 003 image results generating ...
2021/06/09, 02:30:49 - seq 004 image results generating ...
2021/06/09, 02:31:28 - seq 005 image results generating ...
2021/06/09, 02:32:06 - seq 006 image results generating ...
2021/06/09, 02:32:59 - seq 007 image results generating ...
2021/06/09, 02:33:37 - seq 008 image results generating ...
2021/06/09, 02:34:15 - seq 009 image results generating ...
2021/06/09, 02:34:53 - seq 010 image results generating ...
2021/06/09, 02:35:24 - Test images : 1067
2021/06/09, 02:35:24 - Test PSNR : 29.877435602139418
2021/06/09, 02:35:24 - Test SSIM : 0.8923279783187907
2021/06/09, 02:35:24 - Average time per image: 0.07301736338173642
Final PSNR and SSIM are much lower than paper's results.

Furthermore, can you provide pretrained weights on GoPro dataset?

Hi, the batch size will affect the performance, if you keep the other hyper-parameters unchanged. (same learning rate, better performance with smaller batch size)

Furthermore, can you provide pretrained weights on GoPro dataset?

Sorry, I can only provide the pretrained weights for our BSD dataset.
The pre-training weights for the GoPro dataset are in Huawei's workstation, and I don't have access to it.

Hi, the batch size will affect the performance, if you keep the other hyper-parameters unchanged. (same learning rate, better performance with smaller batch size)

Furthermore, can you provide pretrained weights on GoPro dataset?

Sorry, I can only provide the pretrained weights for our BSD dataset.
The pre-training weights for the GoPro dataset are in Huawei's workstation, and I don't have access to it.

Dear author, thanks for your quick reply, and I want to know how to reproduce the results of GoPro dataset.

Please keep the batch size as default value, i.e. 8.

Please keep the batch size as default value, i.e. 8.

OK, I'll try your suggestion


v2.5.0

Add a force_push method that can be used to add an element to the queue by displacing another. (#58)
Make ConcurrentQueue::unbounded() into a const function. (#67)
Fix a compilation error in the Loom implementation. (#65)

Added #67 to this

(I don't have time right now and will review the changes next weekend.)

Thank you @taiki-e! I appreciate your insight?

(I don't have time right now and will review the actual changes next weekend.)

Would replacing concurrent-queue's implementation with one based on crossbeam-queue be appreciated from this perspective? This way there's only one queue implementation to review.
cc #50

(reviewed https://github.com/smol-rs/concurrent-queue/pull/58#pullrequestreview-2014644187)

Would replacing concurrent-queue's implementation with one based on crossbeam-queue be appreciated from this perspective? This way there's only one queue implementation to review.

Yeah, I would like to eventually merge them...


Fix no-err

Skip the test_CTX_print_errors in cmp_ctx_test if no-err has been
configured.

Pushed. Thanks


Failed to bind properties under 'spring.datasource.password' to java.lang.String

spring.datasource.password=ENC(******)
Failed to bind properties under 'spring.datasource.password' to java.lang.String

same issue on spring-boot 2.2.4

Oh my issue is due to using the wrong algorithm.  It should match that in the command line.

same issue on spring-boot 2.2.4

how to fix thanks

I have the same issue. The root cause seems to be a javax.crypto.BadPaddingException: Given final block not properly padded. Such issues can arise if a bad key is used during decryption
Any solution or workaround?

try use version 2.1.0
i use springboot 2.1.13 and jasypt 3.0.2 have the same issue, switch to 2.1.0 is ok.

Added the following configuration, solved my same problem:
jasypt.encryptor.iv-generator-classname=org.jasypt.iv.NoIvGenerator
jasypt.encryptor.algorithm=PBEWithMD5AndDES

This is caused by default algorithm change in 3.0.0 from PBEWithMD5AndDES to PBEWITHHMACSHA512ANDAES_256 which required default iv-generator change from org.jasypt.iv.NoIvGenerator to org.jasypt.iv.RandomIvGenerator
There are few solutions:

As Jovons wrote above. If you use algorithm which doesn't use iv generator add property: jasypt.encryptor.iv-generator-classname=org.jasypt.iv.NoIvGenerator or
Downgrade to 2.1.2 or
Switch to any algorithm that uses RandomIvGenerator.

Same issue. Boot 2.3.2, jasypt 3.0.3, 2.1.2 regardless of iv-generator-classname NoIvGenerator or RandomIvGenerator
`jasypt:
encryptor:
password: fubar
iv-generator-classname: org.jasypt.RandomIvGenerator
spring:
password: ENC(yaddayaddayadda)
`
With or without @EnableAutoConfiguration
@SpringBootApplication @EnableAutoConfiguration
Currently working in boot 2.2.4, jasypt 3.0.2 with encryptor.password in database

I'm using spring-boot:2.5.0 and jasypt-maven-plugin:3.0.3, also met this problem. Finally I found that was mvn command parameter cause this. If you are using mvn command line please change
mvn jasypt:encrypt-value -Djasypt.encryptor.password='secret' -Djasypt.plugin.value="password"

to
mvn jasypt:encrypt-value -Djasypt.encryptor.password=secret -Djasypt.plugin.value=password

Don't add any quotation marks.


doubt about boundary.png

boundary.png seems useless in the project ??

loss only use bce_loss

That's right. As mentioned in the paper, we only used bce_loss. boundary.png is just generated in case.

@Dong-Huo
Hi,
So, can i give the same boundary.png when i only use rgb to infer ??

@Dong-Huo Hi, So, can i give the same boundary.png when i only use rgb to infer ??

The boundary.png is never used for both rgb-t and rgb-only, you can use anything to replace it.

@Dong-Huo
Hi,
i want to change the model to onnx.
but find NestedTensor which not supported.
any suggest ？？

@Dong-Huo Hi, i want to change the model to onnx. but find NestedTensor which not supported. any suggest ？？

I have little experience of onnx. Sorry about that...

@Dong-Huo
Hello,
only use rgb to infer, but found the model alse need mask.
can i give the same mask ?
example mask=torch.ones(.....


FIX: Retrieve atlas ROIs at requested density

Fixes #3178. Depends on https://github.com/nipreps/smriprep/pull/405 to actually work, but can be merged separately.

@tsalo You'll want to port this one as well.


Error while training custom model with ssd_inception_v2_coco

(tensorflow_cpu)C:\Users\AB\Tensorflow\workplace\training_demo>python train.py --logtostderr --train_dir=training/ --pipeline_config_path=training/ssd_inception_v2_coco.config
WARNING:tensorflow:From C:\Users\AB\Anaconda3\envs\tensorflow_cpu\lib\site-packages\tensorflow\python\platform\app.py:125: main (from main) is deprecated and will be removed in a future version.
Instructions for updating:
Use object_detection/model_main.py.
WARNING:tensorflow:From C:\Users\AB\Anaconda3\envs\tensorflow_cpu\lib\site-packages\object_detection\legacy\trainer.py:266: create_global_step (from tensorflow.contrib.framework.python.ops.variables) is deprecated and will be removed in a future version.
Instructions for updating:
Please switch to tf.train.create_global_step
WARNING:tensorflow:num_readers has been reduced to 1 to match input file shards.
WARNING:tensorflow:From C:\Users\AB\Anaconda3\envs\tensorflow_cpu\lib\site-packages\object_detection\core\preprocessor.py:1240: calling squeeze (from tensorflow.python.ops.array_ops) with squeeze_dims is deprecated and will be removed in a future version.
Instructions for updating:
Use the axis argument instead
INFO:tensorflow:depth of additional conv before box predictor: 0
INFO:tensorflow:depth of additional conv before box predictor: 0
INFO:tensorflow:depth of additional conv before box predictor: 0
INFO:tensorflow:depth of additional conv before box predictor: 0
INFO:tensorflow:depth of additional conv before box predictor: 0
INFO:tensorflow:depth of additional conv before box predictor: 0
WARNING:tensorflow:From C:\Users\AB\Anaconda3\envs\tensorflow_cpu\lib\site-packages\tensorflow\contrib\slim\python\slim\learning.py:737: Supervisor.init (from tensorflow.python.training.supervisor) is deprecated and will be removed in a future version.
Instructions for updating:
Please switch to tf.train.MonitoredTrainingSession
2020-02-07 01:57:41.478395: I T:\src\github\tensorflow\tensorflow\core\platform\cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
INFO:tensorflow:Restoring parameters from C:\Users\AB\Tensorflow\workplace\training_demo\pre-trained-model\model.ckpt
INFO:tensorflow:Running local_init_op.
INFO:tensorflow:Done running local_init_op.
INFO:tensorflow:Starting Session.
INFO:tensorflow:Saving checkpoint to path training/model.ckpt
INFO:tensorflow:Starting Queues.
INFO:tensorflow:global_step/sec: 0
2020-02-07 01:58:16.645162: I T:\src\github\tensorflow\tensorflow\core\kernels\data\shuffle_dataset_op.cc:95] Filling up shuffle buffer (this may take a while): 480 of 2048
2020-02-07 01:58:26.795941: I T:\src\github\tensorflow\tensorflow\core\kernels\data\shuffle_dataset_op.cc:95] Filling up shuffle buffer (this may take a while): 633 of 2048
2020-02-07 0

I'm using the model here: https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/detection_model_zoo.md
and config here:
https://github.com/tensorflow/models/blob/master/research/object_detection/samples/configs/ssd_inception_v2_coco.config

config looks like this:
model {
ssd {
num_classes: 10
box_coder {
faster_rcnn_box_coder {
y_scale: 10.0
x_scale: 10.0
height_scale: 5.0
width_scale: 5.0
}
}
matcher {
argmax_matcher {
matched_threshold: 0.5
unmatched_threshold: 0.5
ignore_thresholds: false
negatives_lower_than_unmatched: true
force_match_for_each_row: true
}
}
similarity_calculator {
iou_similarity {
}
}
anchor_generator {
ssd_anchor_generator {
num_layers: 6
min_scale: 0.2
max_scale: 0.95
aspect_ratios: 1.0
aspect_ratios: 2.0
aspect_ratios: 0.5
aspect_ratios: 3.0
aspect_ratios: 0.3333
reduce_boxes_in_lowest_layer: true
}
}
image_resizer {
fixed_shape_resizer {
height: 300
width: 300
}
}
box_predictor {
convolutional_box_predictor {
min_depth: 0
max_depth: 0
num_layers_before_predictor: 0
use_dropout: false
dropout_keep_probability: 0.8
kernel_size: 3
box_code_size: 4
apply_sigmoid_to_scores: false
conv_hyperparams {
activation: RELU_6,
regularizer {
l2_regularizer {
weight: 0.00004
}
}
initializer {
truncated_normal_initializer {
stddev: 0.03
mean: 0.0
}
}
}
}
}
feature_extractor {
type: 'ssd_inception_v2'
min_depth: 16
depth_multiplier: 1.0
conv_hyperparams {
activation: RELU_6,
regularizer {
l2_regularizer {
weight: 0.00004
}
}
initializer {
truncated_normal_initializer {
stddev: 0.03
mean: 0.0
}
}
batch_norm {
train: true,
scale: true,
center: true,
decay: 0.9997,
epsilon: 0.001,
}
}
override_base_feature_extractor_hyperparams: true
}
loss {
classification_loss {
weighted_sigmoid {
}
}
localization_loss {
weighted_smooth_l1 {
}
}
hard_example_miner {
num_hard_examples: 3000
iou_threshold: 0.99
loss_type: CLASSIFICATION
max_negatives_per_positive: 3
min_negatives_per_image: 0
}
classification_weight: 1.0
localization_weight: 1.0
}
normalize_loss_by_num_matches: true
post_processing {
batch_non_max_suppression {
score_threshold: 1e-8
iou_threshold: 0.6
max_detections_per_class: 100
max_total_detections: 100
}
score_converter: SIGMOID
}
}
}
train_config: {
batch_size: 10
optimizer {
rms_prop_optimizer: {
learning_rate: {
exponential_decay_learning_rate {
initial_learning_rate: 0.004
decay_steps: 800720
decay_factor: 0.95
}
}
momentum_optimizer_value: 0.9
decay: 0.9
epsilon: 1.0
}
}
fine_tune_checkpoint: "C:\Users\AB\Tensorflow\workplace\training_demo\pre-trained-model\model.ckpt"
from_detection_checkpoint: true
# Note: The below line limits the training process to 200K steps, which we
# empirically found to be sufficient enough to train the pets dataset. This
# effectively bypasses the learning rate schedule (the learning rate will
# never decay). Remove the below line to train indefinitely.
num_steps: 200000
fine_tune_checkpoint:"C:\Users\AB\Tensorflow\workplace\training_demo\pre-trained-model\model.ckpt"
fine_tune_checkpoint_type: "detection"
data_augmentation_options {
random_horizontal_flip {
}
}
data_augmentation_options {
ssd_random_crop {
}
}
}
train_input_reader: {
tf_record_input_reader {
input_path: "C:\Users\AB\Tensorflow\workplace\training_demo\annotations\train.record"
}
label_map_path: "C:\Users\AB\Tensorflow\workplace\training_demo\annotations\label_map.pbtxt"
}
eval_config: {
num_examples: 8000
# Note: The below line limits the evaluation process to 10 evaluations.
# Remove the below line to evaluate indefinitely.
max_evals: 10
}
eval_input_reader: {
tf_record_input_reader {
input_path: "C:\Users\AB\Tensorflow\workplace\training_demo\annotations\test.record"
}
label_map_path: "C:\Users\AB\Tensorflow\workplace\training_demo\annotations\label_map.pbtxt"
shuffle: false
num_readers: 1
}

First Change your path in the config with forward slash
from :  C:\Users\AB\Tensorflow\workplace\training_demo\annotations\train.record
to : C:/Users/AB/Tensorflow/workplace/training_demo/annotations/train.record

@Ahmadzia307 Thanks for your reply. I've changed the path format. I'm now using pretrain model- ssd inception v2 coco instead and I don't have the error like the one above, but my training does not start and no loss value is shown as follows.
(tensorflow_cpu) C:\Users\AB\Tensorflow\workplace\training_demo>python train.py \ --logtostderr \ --train_dir=train \ --pipeline_config_path=training\ssd_inception_v2_coco.config
WARNING:tensorflow:From C:\Users\AB\Anaconda3\envs\tensorflow_cpu\lib\site-packages\tensorflow\python\platform\app.py:125: main (from main) is deprecated and will be removed in a future version.
Instructions for updating:
Use object_detection/model_main.py.
WARNING:tensorflow:From C:\Users\AB\Anaconda3\envs\tensorflow_cpu\lib\site-packages\object_detection\legacy\trainer.py:266: create_global_step (from tensorflow.contrib.framework.python.ops.variables) is deprecated and will be removed in a future version.
Instructions for updating:
Please switch to tf.train.create_global_step
WARNING:tensorflow:num_readers has been reduced to 1 to match input file shards.
WARNING:tensorflow:From C:\Users\AB\Anaconda3\envs\tensorflow_cpu\lib\site-packages\object_detection\core\preprocessor.py:1240: calling squeeze (from tensorflow.python.ops.array_ops) with squeeze_dims is deprecated and will be removed in a future version.
Instructions for updating:
Use the axis argument instead
INFO:tensorflow:depth of additional conv before box predictor: 0
INFO:tensorflow:depth of additional conv before box predictor: 0
INFO:tensorflow:depth of additional conv before box predictor: 0
INFO:tensorflow:depth of additional conv before box predictor: 0
INFO:tensorflow:depth of additional conv before box predictor: 0
INFO:tensorflow:depth of additional conv before box predictor: 0
WARNING:tensorflow:From C:\Users\AB\Anaconda3\envs\tensorflow_cpu\lib\site-packages\tensorflow\contrib\slim\python\slim\learning.py:737: Supervisor.init (from tensorflow.python.training.supervisor) is deprecated and will be removed in a future version.
Instructions for updating:
Please switch to tf.train.MonitoredTrainingSession
2020-02-08 12:34:31.414876: I T:\src\github\tensorflow\tensorflow\core\platform\cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
INFO:tensorflow:Restoring parameters from C:/Users/AB/Tensorflow/workplace/training_demo/pre-trained-model/model.ckpt
INFO:tensorflow:Running local_init_op.
INFO:tensorflow:Done running local_init_op.
INFO:tensorflow:Starting Session.
INFO:tensorflow:Saving checkpoint to path train\model.ckpt
INFO:tensorflow:Starting Queues.
INFO:tensorflow:global_step/sec: 0
2020-02-08 12:35:02.919828: I T:\src\github\tensorflow\tensorflow\core\kernels\data\shuffle_dataset_op.cc:95] Filling up shuffle buffer (this may take a while): 480 of 2048
2020-02-08 12:35:12.815315: I T:\src\github\tensorflow\tensorflow\core\kernels\data\shuffle_dataset_op.cc:95] Filling up shuffle buffer (this may take a while): 673 of 2048
2020-02-08 12:35:22.678793: I T:\src\github\tensorflow\tensorflow\core\kernels\data\shuffle_dataset_op.cc:95] Filling up shuffle buffer (this may take a while): 800 of 2048
2020-02-08 12:35:32.710125: I T:\src\github\tensorflow\tensorflow\core\kernels\data\shuffle_dataset_op.cc:95] Filling up shuffle buffer (this may take a while): 1019 of 2048

config
model {
ssd {
num_classes: 10
box_coder {
faster_rcnn_box_coder {
y_scale: 10.0
x_scale: 10.0
height_scale: 5.0
width_scale: 5.0
}
}
matcher {
argmax_matcher {
matched_threshold: 0.5
unmatched_threshold: 0.5
ignore_thresholds: false
negatives_lower_than_unmatched: true
force_match_for_each_row: true
}
}
similarity_calculator {
iou_similarity {
}
}
anchor_generator {
ssd_anchor_generator {
num_layers: 6
min_scale: 0.2
max_scale: 0.95
aspect_ratios: 1.0
aspect_ratios: 2.0
aspect_ratios: 0.5
aspect_ratios: 3.0
aspect_ratios: 0.3333
reduce_boxes_in_lowest_layer: true
}
}
image_resizer {
fixed_shape_resizer {
height: 300
width: 300
}
}
box_predictor {
convolutional_box_predictor {
min_depth: 0
max_depth: 0
num_layers_before_predictor: 0
use_dropout: false
dropout_keep_probability: 0.8
kernel_size: 3
box_code_size: 4
apply_sigmoid_to_scores: false
conv_hyperparams {
activation: RELU_6,
regularizer {
l2_regularizer {
weight: 0.00004
}
}
initializer {
truncated_normal_initializer {
stddev: 0.03
mean: 0.0
}
}
}
}
}
feature_extractor {
type: 'ssd_inception_v2'
min_depth: 16
depth_multiplier: 1.0
conv_hyperparams {
activation: RELU_6,
regularizer {
l2_regularizer {
weight: 0.00004
}
}
initializer {
truncated_normal_initializer {
stddev: 0.03
mean: 0.0
}
}
batch_norm {
train: true,
scale: true,
center: true,
decay: 0.9997,
epsilon: 0.001,
}
}
override_base_feature_extractor_hyperparams: true
}
loss {
classification_loss {
weighted_sigmoid {
}
}
localization_loss {
weighted_smooth_l1 {
}
}
hard_example_miner {
num_hard_examples: 3000
iou_threshold: 0.99
loss_type: CLASSIFICATION
max_negatives_per_positive: 3
min_negatives_per_image: 0
}
classification_weight: 1.0
localization_weight: 1.0
}
normalize_loss_by_num_matches: true
post_processing {
batch_non_max_suppression {
score_threshold: 1e-8
iou_threshold: 0.6
max_detections_per_class: 100
max_total_detections: 100
}
score_converter: SIGMOID
}
}
}
train_config: {
batch_size: 1
optimizer {
rms_prop_optimizer: {
learning_rate: {
exponential_decay_learning_rate {
initial_learning_rate: 0.004
decay_steps: 800720
decay_factor: 0.95
}
}
momentum_optimizer_value: 0.9
decay: 0.9
epsilon: 1.0
}
}
fine_tune_checkpoint: "C:/Users/AB/Tensorflow/workplace/training_demo/pre-trained-model/model.ckpt"
from_detection_checkpoint: true
# Note: The below line limits the training process to 200K steps, which we
# empirically found to be sufficient enough to train the pets dataset. This
# effectively bypasses the learning rate schedule (the learning rate will
# never decay). Remove the below line to train indefinitely.
num_steps: 200000
fine_tune_checkpoint:"C:/Users/AB/Tensorflow/workplace/training_demo/pre-trained-model/model.ckpt"
fine_tune_checkpoint_type: "detection"
data_augmentation_options {
random_horizontal_flip {
}
}
data_augmentation_options {
ssd_random_crop {
}
}
}
train_input_reader: {
tf_record_input_reader {
input_path: "C:/Users/AB/Tensorflow/workplace/training_demo/annotations/train.record"
}
label_map_path: "C:/Users/AB/Tensorflow/workplace/training_demo/annotations/label_map.pbtxt"
}
eval_config: {
num_examples: 8000
# Note: The below line limits the evaluation process to 10 evaluations.
# Remove the below line to evaluate indefinitely.
max_evals: 10
}
eval_input_reader: {
tf_record_input_reader {
input_path: "C:/Users/AB/Tensorflow/workplace/training_demo/annotations/test.record"
}
label_map_path: "C:/Users/AB/Tensorflow/workplace/training_demo/annotations/label_map.pbtxt"
shuffle: false
num_readers: 1
}

Hi, Do you solve this problem? i have the same problem

@shABanty please do people the favor, not to post the whole config file or something, because if you gave them the link, they can see it themselves. Did you finally find a solution for it?


[C# 13]: New Feature - Params collections

Visual Studio release
17.10p3
Link to speclet

Speclet

Link to Pull request

PR

New behavior
This feature relaxes restrictions on the type of parameters declared with the params modifier. Other collection types are now allowed:  Span<T>, ReadOnlySpan<T>, IEnumerable<T>, and others.
Areas affected

[X] Add to What's new in C# 13: Add links to updated docs in the What's new in C# 13 article.
[X] Update language reference: Detail the areas in the language reference that will be updated for this feature.
[X] Update compiler messages: Add new (or updated) pages for new compiler messages. Include related message.
[X] Include in Everyday C# section*: Is this new feature included in Everyday C#?
[ ] Tutorials: Are new tutorials required for this feature? If so, detail below

Language reference tasks
The page on the params keyword should be updated to include other items.
Tutorial tasks
No response
Everyday C# tasks
Add the new params capability when discussing params and the allowed signatures for Main. (Check the spec to see if Main is affected. Either way, we should make clear what the behavior is).

I added this to the March sprint. It may not be done this sprint, but if not, it should be done early in April to meet the next public preview.


[firefox] Unhandled Runtime Error: Should not already be working. after dismissing rx.window_alert

Describe the bug
After the alert window pops up and is dismissed, the page immediately throws an error.
To Reproduce
import reflex as rx

class State(rx.State):
    pass

def index() -> rx.Component:
    return rx.button(
        "Alert", on_click=rx.window_alert("Hello World!")
    )

app = rx.App(state=State)
app.add_page(index)
app.compile()

Expected behavior
Alert is dismissed without error
Screenshots

Specifics (please complete the following information):

Python Version: 3.11.4
Reflex Version: 0.2.1a1 (and also 0.2.0)
OS: macOS (and in docker container)
Browser (Optional): Firefox 115 (not repro in safari or chrome)

Additional context
Reproducible in dev mode, does not seem to affect prod mode.

Related to https://github.com/facebook/react/issues/17355
Low priority, since not seen in prod mode.

@masenf Was this fixed? I'm not able to reproduce this on main.

Closing this issue for now.


Update MD file on new branch 2017-21-14_05-11-08

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestCon.md
:white_check_mark:Succeeded

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


'Token expired. Please try again' appears everytime the form is submitted.

The page should have 2 forms on the same page. For example, 'Timeline Post' form and 'Invitation' form or 'Timeline Post' form and 'Contact Us' form.

Problem can't be reproduced.


Update dev-dependencies

faster-hex 0.5 -> 0.6
pretty_assertions 0.6 -> 0.7

Codecov Report

Merging #63 (cd9f38c) into main (aa8f300) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #63   +/-   ##
=======================================
  Coverage   94.55%   94.55%
=======================================
  Files           4        4
  Lines         147      147
=======================================
  Hits          139      139
  Misses          8        8

Impacted Files
Coverage Δ

tests/version-number.rs
100.00% <ø> (ø)

Continue to review full report at Codecov.

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

The new version of pretty-assertions seems to have caused a regression, which is not documented in the changelog. So it no longer compiles for crates, which have #![no_std] enabled.

Well, pretty_assertions doesn't originally support no_std, so that wouldn't necessarily be considered a breaking change.

@taiki-e this seems to be fixed with the latest release of pretty-assertions, see: https://github.com/colin-kiegel/rust-pretty-assertions/blob/main/CHANGELOG.md#added


clarify release process in DEVELOP

I wanted to clarify the release process because I released out of master the last time and wasn't aware that there were feature branches.
Further, I wanted to explicitly state that the release commit also goes to master. IMHO it should only be in the feature branch but it should be fine since we release out of master most of the time.

The PR just clarifies the current process. In the future we could introduce a master version like the latest release x.y.z with a dev suffix: x.y.z-dev or just x.y. Then the release commit should only be in the release branch/tag.


remove useless EXTENDED_ARG 0

to_bytecode() now removes EXTENDED_ARG 0 instructions that
appear in the input.  These are useless, but can be left behind
by ConcreteBytecode.from_code.  Removing these from the input
prevents analyzers from having to deal with EXTENDED_ARG
instructions.  Most of them are already removed, and having
extras laying around causes failure when converting back
to code.

Codecov Report

Merging #26 into master will decrease coverage by 0.02%.
The diff coverage is 85.71%.

@@            Coverage Diff            @@
##           master     #26      +/-   ##
=========================================
- Coverage   93.22%   93.2%   -0.03%
=========================================
  Files          17      17
  Lines        2481    2488       +7
=========================================
+ Hits         2313    2319       +6
- Misses        168     169       +1

Impacted Files
Coverage Δ

bytecode/concrete.py
94.13% <85.71%> (-0.17%)
:arrow_down:

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 d3f9470...0954c35. Read the comment docs.

I do not believe this is the right fix see #28


Partition our main.ts into different performance categories

Today we try to move code that should run after the first window opens after the windows.open() method in main.ts. I suggest to make this more explicit by partioning main.ts into different performance categories:

critical path (until window opens)
needed for the window (e.g. shared process)
non critical (e.g. menu, jumplist)

This could maybe be triggered from lifecycle.ts and help us move code to the correct place for best critical startup performance.

I started to decouple the logic of main.ts that is about dealing with cross-process communication (of  a second app starting) with the logic of all the code that runs on first startup. So I added VSCodeApplication (in app.ts) that is THE thing that gets created on an initial startup (via https://github.com/Microsoft/vscode/pull/23934).
In there we have openFirstWindow and afterWindowOpen. Idea being that everything that leads to openFirstWindow should only include things that are absolutely needed to get the window working.
@joaomoreno fyi as one outcome of this, I have moved the windows mutex creation to the afterWindowOpen method.


Bash commands are not executed

Hi,
If I have a variable in .env that uses bash commands executions this is interpreted literally.
Ex:
export REPO_ROOT=$(pwd)
loads REPO_ROOT as literally $(pwd), whereas running source .env loads the current path correctly.

Hi,
This is a limitation of python-dotenv, which does not support subshells, presumably out of security concerns. You can see https://github.com/theskumar/python-dotenv/issues/402 for more information (including references to other related issues).
In your particular example though you may be able to get by with export REPO_ROOT=${PWD}.

Hi @casellimarco !
I couldn't find a solution for this, so I wrote one package that should be able to handle this right here: https://github.com/nicolas-graves/python-direnv
This is less safe than python-dotenv, but has a level of security by checking that you have indeed allowed the file to be run.
Contributions welcome !


constrain for numpy v2

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Based on https://github.com/ACEsuit/mace/pull/467/files#diff-fa602a8a75dc9dcc92261bac5f533c2a85e34fcceaff63b3a3a81d9acde2fc52R19 , MACE isn't compatible with np v2. This may not even be worth merging w/o a version bump b/c the solver will grab the _0 anyways, but PR can be a reminder to check numpy status.

@conda-forge-admin, please rerender


Make bazel run all files with pytest instead of unittest

This will allow us to use plain asserts and pytest's features without breaking bazel.

@mels630 @romainbrault @andreasmadsen @autoih @failure-to-thrive @junjiek @raphaelmeudec @mainak431 @fsx950223 @aakashkumarnain @sayoojbk @pkan2 @tanzhenyu @smokrow @cyberzhg @helinwang @shreyashpatodia @manzilz @digantamisra98 @ssaishruthi @philjd @rahulunair
You are owners of some files modified in this pull request.
Would you kindly review the changes whenever you have the time to?
Thank you very much.

Sorry everyone for the spam :(


Client config redo

There are three different ways how servers are interacted with, and not all servers provide all three functions. This pull request proposes a new client configuration structure to reflect that. This will BREAK existing client configurations, including the one in the readme right now.

A "verifier" server can sign dename directory states, contributing to the security of the clients who require its signature
A "lookup" server profiles and signatures to clients
An "update" server accepts signed profile modification requests from profiles from clients and works to incorporate the new profile in the dename directory.

As most combinations of these make sense in some scenarios and the there is going to be only one "update" server in the immediate future, it makes sense to have separate configuration entries for different functions.

First test looks good so far. I will do more tests in the next days.

Well, looks like I tested not as good as I should.
$ dnmlookup fritjof gpg
panic: invalid section: section "verification"
goroutine 1 [running]:
main.main()
/home/me/go/src/github.com/andres-erbsen/dename/dnmlookup/main.go:60 +0x6c2

[verifier]
PublicKey = CiCheFqDmJ0Pg+j+lypkmmiHrFmRn50rlDi5X0l4+lJRFA==
....
This config works, but only if
SignaturesRequired = 1
is set, even if there are more verifier.

And I thing the verifier is a server and not an email address: :)
diff --git a/client/defaults.go b/client/defaults.go
index e397120..0d31992 100644
--- a/client/defaults.go
+++ b/client/defaults.go
@@ -19,7 +19,7 @@ import (
)
var (

  DefaultVerifiers          =<EMAIL_ADDRESS>&Verifier{"CiCheFqDmJ0Pg+j+lypkmmiHrFmRn50rlDi5X0l4+lJRFA=="}}

  DefaultVerifiers          = map[string]*Verifier{"dename.mit.edu": &Verifier{"CiCheFqDmJ0Pg+j+lypkmmiHrFmRn50rlDi5X0l4+lJRFA=="}}
  DefaultServers            = map[string]*Server{"dename.mit.edu:6263": &Server{TransportPublicKey: "4f2i+j65JCE2xNKhxE3RPurAYALx9GRy0Pm9c6J7eDY="}}
  DefaultTimeout            = "10s"
  DefaultFreshnessThreshold = "60s"


DRAFT: try gotestsum with ci

this is just a poc to try out gotestsum with CI. The benefits includes a little clearer output (more work needs to be done there) and that we can archive results in a json file, which we can then ingest in a tests dashboard to look at the trends over the executions.
happy to discuss if folks have opinions/concerns regarding this. I am just evaluating how this can improve debugging of CI and finding flakes.

I want to open it up for discussion. The main objective of this PR is to add test results as artifact to the github actions runs.

I can't fully remember why, but probably worth checking first.

No big reason, just seemed redundant with the new testctx integration. I suspect the rest of this PR will become unnecessary once we implement analytics in Cloud, but we're not there yet, so seems fine to bring it back


$HOMEBREW_NO_BOLD to disable bold in output

A detailed description of the proposed feature
I'd like setting $HOMEBREW_NO_BOLD to disable bold in the output. This is different from $HOMEBREW_NO_COLOR as it keeps color in the output otherwise.
The motivation for the feature
I bold my prompt so that I can easily scan for it in my output but when another program has bold in its output, it becomes difficult to easily scan for my prompt.

How the feature would be relevant to at least 90% of Homebrew users
This seems to be a very high bar, I strongly doubt even 10% of Homebrew's users enable $HOMEBREW_NO_COLOR. I feel like a lot of people would prefer this as a middle ground between $HOMEBREW_NO_COLOR and $HOMEBREW_COLOR as it's really only the bolds that make the colors so aggressive.
What alternatives to the feature have been considered
I use $HOMEBREW_NO_COLOR right now but it makes it much harder to scan Homebrew's output with zero colors. I can also use set $HOMEBREW_COLOR to force color and then use sed to replace the bold escape sequences but like I mentioned above, I feel like a lot of people would enjoy this.

No strong opinion about the proposal but:

This seems to be a very high bar, I strongly doubt even 10% of Homebrew's users enable $HOMEBREW_NO_COLOR.

Thank you for being honest.

In case my proposal is rejected, I worked out how to do this with sed:
brew() {
  HOMEBREW_COLOR=1 command brew "$@" | sed -E "s/"$'\e'"\[1m//g"
}

There is precedence for this feature in fzf. See https://github.com/junegunn/fzf/commit/4b332d831e3b5cb6dc70484b1a621eae9b162317

This is something we may reconsider in future but we'd want to see demand from non-trivial numbers of users for this (particularly given there's a workaround for this).

You can also get rid of the brew emoji as so:

HOMEBREW_NO_EMOJI will do this for you. It's documented in man brew.

Got it. I've ended up rocking the following to underline instead of bold and remove the emoji.
export HOMEBREW_NO_EMOJI=1

brew() {
  # Replace bold with underline.
  # https://github.com/Homebrew/brew/issues/7753
  HOMEBREW_COLOR=1 command brew "$@" | sed "s/"$'\e'"\[1m/"$'\e'"\[4m/g"
}

Harder to read the output without bold or underlines.

oo you don't have to hard code the sequences.
export HOMEBREW_NO_EMOJI=1

tputq() {
  tput "$@" | sed "s#\[#\\\[#"
}

brew() {
  # Replace bold with underline.
  # https://github.com/Homebrew/brew/issues/7753
  HOMEBREW_COLOR=1 command brew "$@" | sed "s/$(tputq bold)/$(tputq smul)/g"
}


We improved Privacy Mode's compatibility with the Collapse Side Menu feature.

Github Issue (if applicable): #576
Explanation of Bugfix/Feature/Enhancement:
Improved compatibility between the Privacy Mode and Collapse Side Menu features. Privacy lock icon’s positioning now appropriately adjusts when menu is collapsed.
Also added active/inactive styling to the privacy lock icon, to help better differentiate between states, because the visual difference between the locked and unlocked icons is very minimal.
Recommended Release Notes:
Bugfixes

Thank you!


Refactor the Reason struct and how tags for lookups are generated

Description
Solidify the interface between BackupOp and KopiaWrapper by making Reason the de facto way to pass/generate tags for things. The Reason struct now includes a function to generate tags for that instance. KopiaWrapper also now hides the fact that it prefixes tags from other components
Does this PR need a docs update or release note?

[ ] :white_check_mark: Yes, it's included
[ ] :clock1: Yes, but in a later PR
[x] :no_entry: No

Type of change

[ ] :sunflower: Feature
[ ] :bug: Bugfix
[ ] :world_map: Documentation
[ ] :robot: Test
[ ] :computer: CI/Deployment
[x] :broom: Tech Debt/Cleanup

Issue(s)

#1916

Test Plan

[ ] :muscle: Manual
[x] :zap: Unit test
[x] :green_heart: E2E

totally fine with changing the name of the package that holds the Reason struct. I couldn't come up with something good since communication makes it sound like networking stuff

I think we're bikeshedding here a bit so I'll go ahead and move this back into the kopia package for now. However, I've left some thoughts on this below

Likewise, I don't think this package should live on it's own. The purpose of the struct is very targeted to kopia's method of selecting a manifest (again, the "reason" for choosing it)

I'm not really sure I agree here. Tags seem like a perfectly reasonable and generic way to select previous backups (or snapshots) for a tuple without having to already know the backup ID. While the kopia package certainly adds some to this so that tags can be passed when using the kopia CLI for debugging, the concept of tags as a way to select things could be used if we had a different storage system

it's now vying for identification ownership in a space that's already strongly covered (contented for, even) between Selectors and Paths.

I think to some extent it's alright to have similar groups of information if they make sense in the context they're used. Part of the importance of this is allowing modularity and information hiding. If the info isn't readily available for something, then it makes people think about possible expansions they may want to make and why what they're trying to do may/may not make sense in the broader picture. This also helps out when testing things, especially if some of the groupings are simple structs or interfaces
Selectors and Paths both allow for communicating a lot of additional information that frankly isn't needed when denoting why a snapshot was selected as a base. In fact, Paths can't actually represent this information without adding additional filler values. Though that may make Paths somewhat more difficult to use, it does allow us to ensure that each Path has all the required values so consumers of the package can use it without manually checking everything

actually, I guess I'll leave it in the kopia package. I don't want to make the function for getting manifests from kopia public and wrapper.go needs access to that function


feat: adding security & static checks

Reference : https://github.com/layer5io/meshery/pull/797#discussion_r404800265

@leecalcote There is some error with GoTools as StaticCheck is not absorbing staticcheck.config file for loading its configuration. Hence I have disabled some rules manually. I will remove them once this issue is fixed https://github.com/golang/go/issues/36373

@leecalcote Security & Static checks are restored, please review & merge!

@leecalcote Please take a look again!


Cannot build: can't find reason for requirement on github.com/google/pprof

I wanted to give this a try because it looks extremely Cool, but I'm having trouble building it, it seems that the Go package manager is getting Confused:
go: downloading github.com/jackc/pgproto3/v2 v2.3.1
go: downloading github.com/go-logfmt/logfmt v0.5.1
go: downloading github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d
go: downloading github.com/AndreasBriese/bbloom v0.0.0-20190825152654-46b345b51c96
go: downloading github.com/golang/snappy v0.0.4
go: downloading github.com/golang/glog v1.0.0
go: downloading github.com/jackc/chunkreader/v2 v2.0.1
go: downloading github.com/jackc/pgpassfile v1.0.0
go: downloading github.com/jackc/pgservicefile v0.0.0-20200714003250-2b9c44734f2b
go: downloading github.com/shurcooL/sanitized_anchor_name v1.0.0
panic: internal error: can't find reason for requirement on<EMAIL_ADDRESS>
goroutine 1 [running]:
cmd/go/internal/modget.(*resolver).updateBuildList.func1({{0xc000b26618, 0x17}, {0xc0000306f0, 0x22}})
        /usr/lib/go/src/cmd/go/internal/modget/get.go:1760 +0xd4
cmd/go/internal/modget.(*resolver).updateBuildList(0xc000156000, {0xb3bd58, 0xc00002c0e0}, {0x0, 0x0, 0x0})
        /usr/lib/go/src/cmd/go/internal/modget/get.go:1765 +0x54c
cmd/go/internal/modget.(*resolver).applyUpgrades(0xc000156000, {0xb3bd58, 0xc00002c0e0}, {0x0?, 0x0, 0xc0000a5d70?})
        /usr/lib/go/src/cmd/go/internal/modget/get.go:1312 +0x465
cmd/go/internal/modget.runGet({0xb3bd58, 0xc00002c0e0}, 0xc000028618?, {0xc000024220, 0x2, 0x2})
        /usr/lib/go/src/cmd/go/internal/modget/get.go:351 +0x458
main.invoke(0xe51280, {0xc0000241f0, 0x5, 0x5})
        /usr/lib/go/src/cmd/go/main.go:225 +0x3d9
main.main()
        /usr/lib/go/src/cmd/go/main.go:179 +0x7ce
2023/03/05 14:38:04 [FATAL] exit status 2

It is super cool!
But alas, you have hit a known bug in the go command.
We've figured out, that with Caddy, specifying the version of v2.6.3 or higher (v2.6.4 is current) fixes it. The plugin can do that in its go.mod or you can manually create a replacement in your own go.mod.

I've had to update both the Caddy and the Tailscale dependencies to get this to build and to work (somehow with the old Tailscale version the node would seemingly be connected to the tailnet but no traffic would actually go through)
--- a/go.mod
+++ b/go.mod
@@ -3,8 +3,8 @@ module github.com/tailscale/caddy-tailscale
 go 1.19

 require (
-       github.com/caddyserver/caddy/v2 v2.5.3-0.20220831215348-67098e5cbd68
-       tailscale.com v1.1.1-0.20220902232949-3344c3b89bd1
+       github.com/caddyserver/caddy/v2 v2.6.4
+       tailscale.com v1.36.2
 )

 require (

(+ many more changes after running go mod tidy)
I've also had to patch the module slightly because the newer version of tsnet verifies the network parameter in Listen. I just hardcoded "tcp", not sure if that's strictly correct but it seemed to work.
--- a/module.go
+++ b/module.go
@@ -46,7 +46,7 @@ func getPlainListener(_ context.Context, network string, addr string, _ net.List
                return nil, err
        }

-       return s.Listen(network, ":"+port)
+       return s.Listen("tcp", ":"+port)
 }

 func getTLSListener(_ context.Context, network string, addr string, _ net.ListenConfig) (any, error) {
@@ -60,7 +60,7 @@ func getTLSListener(_ context.Context, network string, addr string, _ net.Listen
                return nil, err
        }

-       ln, err := s.Listen(network, ":"+port)
+       ln, err := s.Listen("tcp", ":"+port)
        if err != nil {
                return nil, err
        }

specifying the version of v2.6.3 or higher (v2.6.4 is current) fixes it.

As we also concluded in #9, this has to be proposes as a PR

I applied to changes as originally I also ran into compiling issues with the old dependencies (ref: #9). I have a repo, that works with gitpod at: https://gitpod.io/#https://github.com/spotsnel/caddy-tailscale
the changes in module.go are needed, otherwise it fails to start with:
Error: loading initial config: loading new config: http app module: start: listening on tailscale/caddy:80: unsupported network type
Besides this, it works... any suggestions to remove the hard-coded tcp part?

Hey ! Running into same issue here !

Oh, I didn't realised it wasn't the same issue

@fr3nchalp4a I ran into that issue as well.
Manually patched the value in go.mod to use the value from https://github.com/tailscale/tailscale/pull/6168/
I'm still running into some issues, but am getting closer.
caddy imports
        github.com/tailscale/caddy-tailscale imports
        tailscale.com/util/strs: cannot find module providing package tailscale.com/util/strs
caddy imports
        github.com/caddyserver/caddy/v2/modules/standard imports
        github.com/caddyserver/caddy/v2/modules/caddypki/acmeserver imports
        github.com/smallstep/certificates/acme imports
        github.com/smallstep/go-attestation/attest imports
        github.com/google/go-tpm/tpm2/credactivation: cannot find module providing package github.com/google/go-tpm/tpm2/credactivation
        ```

The first error is due to this [commit](https://github.com/tailscale/tailscale/commit/b1248442c3e40371c34fdf5bd90138b3ece615a7).

I'm going to need to learn some go to tackle this, it seems like mashing commands I don't understand isn't going to get me to power through the dependency hell that my chosen set of plugins seems to create.

`xcaddy` does panic with the exception that started this thread.

xcaddy version
v0.3.4

xcaddy build --with github.com/tailscale/caddy-tailscale --with github.com/caddyserver/caddy/v2/modules/standard --with github.com/caddy-dns/cloudflare --with github.com/lum8rjack/caddy-maxmind-geolocation

[ Snipped ]go: downloading github.com/jackc/pgproto3/v2 v2.3.1
go: downloading github.com/golang/glog v1.0.0
panic: internal error: can't find reason for requirement on<EMAIL_ADDRESS>goroutine 1 [running]:
cmd/go/internal/modget.(*resolver).updateBuildList.func1({{0xc001605e90, 0x17}, {0xc000034660, 0x22}})
/nix/store/i3ab37h47xmd0zh75708gj57hah7v7f4-go-1.20.5/share/go/src/cmd/go/internal/modget/get.go:1760 +0xd4
cmd/go/internal/modget.(*resolver).updateBuildList(0xc00013e000, {0xb45e38, 0xc000032240}, {0x0, 0x0, 0x0})
/nix/store/i3ab37h47xmd0zh75708gj57hah7v7f4-go-1.20.5/share/go/src/cmd/go/internal/modget/get.go:1765 +0x54c
cmd/go/internal/modget.(*resolver).applyUpgrades(0xc00013e000, {0xb45e38, 0xc000032240}, {0x0?, 0x0, 0xc0000bfd70?})
/nix/store/i3ab37h47xmd0zh75708gj57hah7v7f4-go-1.20.5/share/go/src/cmd/go/internal/modget/get.go:1312 +0x465
cmd/go/internal/modget.runGet({0xb45e38, 0xc000032240}, 0xc00002e660?, {0xc000024220, 0x2, 0x2})
/nix/store/i3ab37h47xmd0zh75708gj57hah7v7f4-go-1.20.5/share/go/src/cmd/go/internal/modget/get.go:351 +0x458
main.invoke(0xe67340, {0xc0000241f0, 0x5, 0x5})
/nix/store/i3ab37h47xmd0zh75708gj57hah7v7f4-go-1.20.5/share/go/src/cmd/go/main.go:225 +0x3d9
main.main()
/nix/store/i3ab37h47xmd0zh75708gj57hah7v7f4-go-1.20.5/share/go/src/cmd/go/main.go:179 +0x7ce
2023/07/14 19:53:48 [FATAL] exit status 2

I was able to get this to build by replacing the the tailscale-caddy module with the contents on https://github.com/tailscale/caddy-tailscale/pull/13/.
 go mod edit --replace github.com/tailscale/caddy-tailscale=github.com/trea/caddy-tailscale@network-listener-changes

I was able to get this to build by replacing the the tailscale-caddy module with the contents on #13.
 go mod edit --replace github.com/tailscale/caddy-tailscale=github.com/trea/caddy-tailscale@network-listener-changes

Caddy introduced a breaking change so caddytls.AutomationPolicy field Subjects needs to be SubjectsRaw at command.go line 202 to build against Caddy master. After fixing that, you should be able to build with xcaddy build master --with github.com/tailscale/caddy-tailscale=github.com/trea/caddy-tailscale@network-listener-changes.

#13 has been merged, which I believe addresses most (or all?) of the issues mentioned here.  This bumps us to caddy v2.6.4, which @mholt noted fixes the original problem discussed.  #13 also includes some other changes which I believe takes care of needing to hardcard a network value of "tcp" as well as the tailscale.com/util/strs issue.
If any of these problems remain after updating to the latest version of caddy-tailscale, feel free to reply here or open a new issue.

Yayyyy thanks Will!


p2p: Enable syncing tests on OS X

Enable syncing tests on OS X when the issue with MockSocket has been resolved. Related PR: #342

See MRE for more details: https://github.com/mintlayer/mintlayer-core/pull/396

#396 fixes the issue.


Reduce the number of OpenEBS StorageClasses to Two. One for applications requiring HA and another for applications not requiring replication.

Is this a BUG REPORT or FEATURE REQUEST?
FEATURE REQUEST

What happened:
The openebs-storageclasses.yaml is getting cluttered as more and more applications are being added to the demo applications. It is better to categorize the storage classes based on what type of storage the application needs.
What you expected to happen:
The openebs-storageclasses.yaml must contain only 2 storage classes, named:

openebs-no-replication (Examples: redis, ETCD...)
openebs-ha (Example: Percona, MongoDB, Cassandra, Postgres, Jupyter...)

Also:

For the storage class of type openebs-no-replication the replica count must be 1.
All the existing demo applications also have to be updated to reflect these changes in storage classes.

How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:

Merged with #652
The new storage class openebs-standard has been tested by CI


SO_LINGER 0 does not drop the connection.

When the option SO_LINGER is used with a timeout of 0, close() shall drop the TCP connection  immediately.
A TCP RST shall be sent, and all pending data shall be discarded.
This is not happening now:

TCP RST is not sent, rather the normal FIN disconnect procedure is followed.
The code blocks indefinitely within close().

@anchao should we correct SO_LINGER?


refactor(web-app): replace spacing tokens with rem function for height and width

Closes #572
Changelog
Changed

Update all height/width pixel values to use rem function
Convert spacing tokens to pixel values for height/width

Testing / reviewing
Nothing should visually change 🙏

@francinelucca thanks! Fixed the missing values, also left anything at 1px that was a border. (for example L26 in /assets/index/index.module.scss )

@andreancardona that line was removed in #715 that was just merged, I'll update the branch and double check things.


写代码真啰嗦

能尽量整理一下代码不，几千行的文件真的看不动了

@landscapeside Would you please translate this issue into english?

I think it's not necessary :(


⚠ Bofrost.de has degraded performance

In 2485319, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 866 ms

Resolved: Bofrost.de performance has improved in 65528b9 after 6 minutes.


revert PR #185 related code

https://github.com/open-cluster-management/backlog/issues/12393
depend on https://github.com/open-cluster-management/multicluster-observability-operator/pull/586
Signed-off-by: Song Song Li<EMAIL_ADDRESS>

need to force merge this PR due to depending on https://github.com/open-cluster-management/multicluster-observability-operator/pull/586

/lgtm


[Feature Request] Option to hide version dropdown menu and link directly to specific tag site

Sometimes it's nice to link users to documentation without the option to bounce between versions. Especially if the production version of a product isn't on the latest release, users might see the version option and want to jump to the latest release assuming it is the deployed version but see docs that are out-of-sync with their use.
In this scenario, it would be helpful to be able to link to a specific version without the option to switch.
For example, perhaps mydocat.com/project/tag links to the docs with the version switching ui, but mydocat.com/project/tag?hideui=1 just displays the raw documentation page, or the page with docat header, but no version toggle.

@dgkf
Ok, I made a parameter hideui that just hides the home and version controls. What I thought was maybe you'd like to have a button in said controls to switch to the hidden version of the page, so you don't have to change that in the URL.
@fliiiix , @randombenj and @dgkf
Could you tell me what you think of that idea?

Something like this:


no code coverage for k_float_disable() in user mode

k_float_disable() was added as a system call, but the fp_sharing test only runs in supervisor mode and the system call handler function is uncovered.

Will work on that.


Weird error message

This error message is not logical for student:
https://dodona.ugent.be/nl/submissions/7542435/

TypeError: Cannot read property 'evenwichtig' of undefined
The cause of this error is an invalid solution sourcecode that can't be analysed by esprima.
We could look to improve the error message.

Would it be better to parse the JavaScript code (or any interpreted code) explicitly before trying to execute it in a language-specific testplan. I guess that TESTed catches syntax errors for compiled languages at compile time. For interpreted languages we'd better also do a syntax check before building the language-specific testpan, report syntax errors in a separate tab or as a top-level message (same way as TESTed reports compilation errors), and mark all tests in all other tabs as "not executed" in case of syntax errors.

I think the Python implementation already does this by "compiling" the code in the compilation step. Something similar exists for JS with the --check option: https://nodejs.org/api/cli.html#cli_c_check


Sonatype nexus complains about missing javadoc.jar

Event: Failed: Javadoc Validation
Saturday, May 21, 2016 03:13:40 PHT (GMT+0800)
typeId	javadoc-staging

failureMessage	Missing: no javadoc jar found in folder '/com/dyuproject/protostuff/protostuff-json/1.0.10'

https://github.com/dyu/protostuff-1.0.x
Is there a config that would upload the javadoc jars as well?

Hi David. Did you generate the JavaDoc jar while building the SNAPSHOT build...?
I probably need to clarify the documentation that all artifacts that are to be released must be part of the build where make-promotable goal is invoked. I should also consider making make-promotable incremental, so that you can do javadoc:jaras part of the promotion.

I just released version 1.1.0 that allows for incremental artifact addition. That means you can do
mvn clean package promote:make-promotable
mvn javadoc:jar promote:make-promotable
mvn source:jar promote:make-promotable

and have all artifacts included when releasing.


Gitter access

https://gitter.im/sbt/sbt-bintray provides a message that "only github users can join this room".
I am a github user.
Other channels in the scala ecosystem are fine for me.
Perhaps the sbt-bintray channel needs a setting relaxed?

I was able to join the room by clicking "add", searching for myself and then refreshing the page.

Thanks for the heads-up! I found a checkbox in the sbt-bintray room settings where it prevented non-github users joining the room. I have unchecked that box now.


Release v4.4.0?

Aren't v4.4.0 was already released at 2023-09-15?

It looks like I mistakenly added a tag v4.4.0 back then, but the intention was to tag it as v4.4.0-rc1. Sorry for the confusion.

Well, downstream distributions was already released that rc1 as 4.4.0, see the log https://repology.org/project/yara/history

I left the 4.4.0 as it was, and the most recent release is now 4.5.0.

Thanks!


Dismiss / Close button

Thank you for releasing this plugin - very nice.  I noticed for 'infinite' duration toasts, you can dismiss by clicking and dragging the toast to the side.  Is there an option to display a 'close' button?

i believe primary objective of a toast is notify the user. hence adding a close button will change its behavior. so there will be no close button. but you can easily add a close button it is much easier 😉
methods : {
     addCloseButton(toast){

        // create a close button
        let close = document.createElement('button');
        close.innerHTML = "x";
        close.className = 'toasted-close';

        // add eventListener to close the toast
        close.addEventListener('click', () => {
            toast.goAway(0);
        });

        // append the close button to the toast
        toast.el.appendChild(close);

    }
}

and just implement it like this

let toast = this.$toasted.show('hell no !!');
this.addCloseButton(toast);

viola !! and style it with the class toasted-close

@shakee93
Oh you no need to add the close button manually like that.
You can do something like this:
Vue.use(Toasted, {
  action: {
    text: 'X',
    onClick: (e, toastObject) => toastObject.goAway(0),
  },
});


[SPARK-18653][SQL] Fix incorrect space padding for unicode character at Dataset.show

What changes were proposed in this pull request?
This PR put correct space padding for unicode character at Dataset.show().
The reason of putting incorrect padding is to count string width by string.length. This PR counds string width by using East Asian Width.
Example program
case class UnicodeCaseClass(整数: Int, 実数: Double, s: String)
Seq(UnicodeCaseClass(1, 1.1, "文字列1")).toDS.show

Output without this PR
+---+---+----+
| 整数| 実数|   s|
+---+---+----+
|  1|1.1|文字列1|
+---+---+----+

Output with this PR
+----+----+-------+
|整数|実数|      s|
+----+----+-------+
|   1| 1.1|文字列1|
+----+----+-------+

How was this patch tested?
Add a test suite

Test build #69424 has started for PR 16086 at commit 93379b6.

Test build #69424 has finished for PR 16086 at commit 93379b6.

This patch fails build dependency tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/69424/
Test FAILed.

Test build #69425 has started for PR 16086 at commit e4555f7.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/69425/
Test FAILed.

Test build #69443 has started for PR 16086 at commit 4e71dc6.

Test build #69446 has started for PR 16086 at commit 350e1ae.

Test build #69443 has finished for PR 16086 at commit 4e71dc6.

This patch passes all tests.
This patch does not merge cleanly.
This patch adds no public classes.

Build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/69443/
Test PASSed.

Test build #69446 has finished for PR 16086 at commit 350e1ae.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/69446/
Test PASSed.

@gatorsmile would it be possible to review this? You would be familiar with Kanji?

Test build #69483 has started for PR 16086 at commit 60aa2cb.

Test build #69486 has started for PR 16086 at commit 7049809.

Test build #69487 has started for PR 16086 at commit e828ad9.

Test build #69483 has finished for PR 16086 at commit 60aa2cb.

This patch passes all tests.
This patch does not merge cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/69483/
Test PASSed.

Build finished. Test PASSed.

Test build #69487 has finished for PR 16086 at commit e828ad9.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/69487/
Test FAILed.

Merged build finished. Test FAILed.

Test build #69486 has finished for PR 16086 at commit 7049809.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/69486/
Test PASSed.

Now, showString become more complex for handling the Unicode width. I am neutral on this fix.

yeah, I would think this is a relatively rare use case. Need to consider if it is worth extra complexity.

I agree - don't think this is worth the complexity.

Unless someone vigorously objects, yes let's close this.

I am thinking about an simpler approach. However, it is fine to close for now.


pipe vertices missing using bokehplot()

Checks

[x] I added a descriptive title to this issue
[x] I have searched (Google, GitHub) for similar issues and couldn't find anything
[x] I have read and followed the docs and still think this is a bug

Bug Description
vertices missing using bokehplot()
Steps to Reproduce
output_file('bokehexample.html')
plot = network2.bokehplot(nodes=p, links=f, colormap=dict(node='viridis', link='cool'))
show(plot)
Expected Behavior
vertices should be reflected (same output of plot())
Screenshots

Additional context
Add any other context about the problem here.

Thank you for the issue! I pushed a new version that should fix this, meaning that matplotlib and bokeh should both plot pipe vertices. While fixing this, I saw that vertices are not plotted for pumps or valves but I'll create a new issue for this.

Created the new issue, closing this one.


Modified error messages to match the custom error messages used by gms and setting api.host only when it is not set already

@wlan0 @will-chan , can you review the changes made to error messages to match the custom error messages used by gms and setting api.host only when it is not set already.

@sangeethah - now that we control the exact error message, can we have stricter check for error messages? Instead of assert err_msg in msg, lets change it to assert err_msg = msg

LGTM


Improvement in Scrollbar responsiveness to smaller screen sizes

Prerequisites

[X] I am an Open Source Contributor
[X] I checked to make sure that this issue has not already been filed

Description
Changes made:
Made an improvement in the responsiveness of the scrollbar for screen widths of less than 1440px. Currently, for width less than 1440px, double vertical scrollbars appear (a result of content overflowing and not adjusting to smaller screen sizes). I've rectified the relevant query for scrollbar responsiveness.
Objective:

Updation in UI to maintain the responsiveness of vertical scrollbar
Enhance user experience of the website

I would appreciate your review of this request and would be delighted to initiate the process of creating a pull request for the implementation of this proposed modification. Your valuable feedback and guidance would be greatly welcomed.
Screenshots

Code of Conduct

[X] I follow Contributing Guidelines of this project.

Assigned @gjyotk Start working!!


Bump filestack-js release

Filestack-js is on version 0.6.0 as of today.

just updated and published, thanks! Gonna close the issue :)


Update GCS fault tolerance YAML

Why are these changes needed?
https://github.com/ray-project/ray/pull/39450
Related issue number
https://github.com/ray-project/ray/pull/39450
Checks

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

[ ] Unit tests
[ ] Manual tests
[ ] This PR is not tested :(

The RayService e2e tests are known to be flaky, and it is not related to this PR. Merge this PR.


ros2 native tools is not working

Hi @razr, hope you're doing fine.
I've seen your changes to the README and i followed the native ROS 2 compilation instructions but it fails.
I don't know if you remember my current situation but i'm still not able to launch my packages and my nodes inside vxworks platform using qemu. i have my project locally which i run correctly but if i attemp to run it i don't know the exact procedure. i had tried different solutions like move the artifact build in the install folder to the /export/bin dir and then use rtp exec -u 0x20000 ros 2 python3 run cpp_pubsub talker but it didn't work.
Now i think that the solution is to build my package with the new instructions you made and then run the package with ros2 run cpp_pubsub talker and ros2 run cpp_pubsub listener. Am i correct? because if use ros2 pkg list in the /ata4/lib dir i don't see any package so maybe i must build it with this instructions you wrote and then run it with ros2 run [package]  [node]
The error i metioned on my vm:
wruser@3d2363ccb1f4:/work/build/ros2/ros2_native$ colcon build --merge-install --cmake-force-configure --packages-up-to-regex examples_rcl* ros2action ros2component ros2msg ros2node ros2pkg ros2service ros2topic ros2cli ros2lifecycle ros2multicast ros2param ros2run ros2srv pendulum_control --cmake-args -DCMAKE_BUILD_TYPE:STRING=Debug -DBUILD_TESTING:BOOL=OFF

##a lot of packages building with some warnings

Starting >>> poco_vendor
--- stderr: poco_vendor
CMake Error at /wrsdk/toolkit/host_tools/x86_64-linux/share/cmake-3.8/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find PCRE (missing: PCRE_LIBRARY PCRE_INCLUDE_DIR)
Call Stack (most recent call first):
  /wrsdk/toolkit/host_tools/x86_64-linux/share/cmake-3.8/Modules/FindPackageHandleStandardArgs.cmake:377 (_FPHSA_FAILURE_MESSAGE)
  cmake/FindPCRE.cmake:23 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  Foundation/CMakeLists.txt:35 (find_package)

make[2]: *** [poco-<IP_ADDRESS>-release-prefix/src/poco-<IP_ADDRESS>-release-stamp/poco-<IP_ADDRESS>-release-configure] Error 1
make[1]: *** [CMakeFiles/poco-<IP_ADDRESS>-release.dir/all] Error 2
make: *** [all] Error 2
---
Failed   <<< poco_vendor [3.38s, exited with code 2]
Aborted  <<< fastrtps [2min 27s]

Summary: 42 packages finished [2min 50s]
  1 package failed: poco_vendor
  1 package aborted: fastrtps
  14 packages had stderr output: ament_copyright ament_cppcheck ament_cpplint ament_flake8 ament_index_python ament_lint ament_lint_cmake ament_package ament_pep257 ament_uncrustify ament_xmllint cyclonedds opensplice_cmake_module poco_vendor
  106 packages not processed

I am missing something of the procedure of How to build and run my package on VxWorks?
Thanks for your attention!

hi @razr,
re-run the ros2 native situation and got this different issues:
wruser@cd9bc46bb25b:/work/build/ros2/ros2_native$ colcon build --merge-install --cmake-force-configure --packages-up-to-regex examples_rcl* ros2action ros2component ros2msg ros2node ros2pkg ros2service ros2topic ros2cli ros2lifecycle ros2multicast ros2param ros2run ros2srv pendulum_control --cmake-args -DCMAKE_BUILD_TYPE:STRING=Debug -DBUILD_TESTING:BOOL=OFF
Starting >>> ament_package
Starting >>> ament_lint
Starting >>> ament_cppcheck
Starting >>> osrf_testing_tools_cpp
--- stderr: ament_lint
/usr/local/lib/python3.6/dist-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  setuptools.SetuptoolsDeprecationWarning,
---
Finished <<< ament_lint [1.86s]
Starting >>> ament_flake8
--- stderr: ament_package
/usr/local/lib/python3.6/dist-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  setuptools.SetuptoolsDeprecationWarning,
---
Finished <<< ament_package [2.02s]
Starting >>> ament_cmake_core
--- stderr: ament_cppcheck
/usr/local/lib/python3.6/dist-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  setuptools.SetuptoolsDeprecationWarning,
---
Finished <<< ament_cppcheck [2.20s]
Starting >>> fastcdr
Finished <<< ament_cmake_core [1.68s]
Starting >>> ament_cmake_libraries
--- stderr: ament_flake8
/usr/local/lib/python3.6/dist-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  setuptools.SetuptoolsDeprecationWarning,
---
Finished <<< ament_flake8 [1.76s]
Starting >>> ament_pep257
--- stderr: osrf_testing_tools_cpp
In file included from /work/build/ros2/ros2_native/src/osrf/osrf_testing_tools_cpp/osrf_testing_tools_cpp/src/test_runner/main.cpp:23:
/work/build/ros2/ros2_native/src/osrf/osrf_testing_tools_cpp/osrf_testing_tools_cpp/src/test_runner/./execute_process.hpp:101:15: error: use of undeclared identifier 'fork'
  pid_t pid = fork();
              ^
/work/build/ros2/ros2_native/src/osrf/osrf_testing_tools_cpp/osrf_testing_tools_cpp/src/test_runner/./execute_process.hpp:116:15: error: use of undeclared identifier 'execvp'
    int ret = execvp(cmd, arguments.data());
              ^
2 errors generated.
make[2]: *** [src/test_runner/CMakeFiles/test_runner.dir/main.cpp.o] Error 1
make[1]: *** [src/test_runner/CMakeFiles/test_runner.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
In file included from /work/build/ros2/ros2_native/src/osrf/osrf_testing_tools_cpp/osrf_testing_tools_cpp/src/memory_tools/custom_memory_functions.cpp:26:
/work/build/ros2/ros2_native/src/osrf/osrf_testing_tools_cpp/osrf_testing_tools_cpp/src/memory_tools/./count_function_occurrences_in_backtrace.hpp:30:10: fatal error: 'execinfo.h' file not found
#include <execinfo.h>
         ^~~~~~~~~~~~
1 error generated.
make[2]: *** [src/memory_tools/CMakeFiles/memory_tools.dir/custom_memory_functions.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /work/build/ros2/ros2_native/src/osrf/osrf_testing_tools_cpp/osrf_testing_tools_cpp/src/memory_tools/memory_tools_service.cpp:20:
In file included from /work/build/ros2/ros2_native/src/osrf/osrf_testing_tools_cpp/osrf_testing_tools_cpp/src/memory_tools/./stack_trace_impl.hpp:31:
/work/build/ros2/ros2_native/src/osrf/osrf_testing_tools_cpp/osrf_testing_tools_cpp/src/memory_tools/./vendor/bombela/backward-cpp/backward.hpp:749:24: error: use of undeclared identifier 'backtrace'
    size_t trace_cnt = backtrace(&_stacktrace[0], _stacktrace.size());
                       ^
1 error generated.
make[2]: *** [src/memory_tools/CMakeFiles/memory_tools.dir/memory_tools_service.cpp.o] Error 1
make[1]: *** [src/memory_tools/CMakeFiles/memory_tools.dir/all] Error 2
make: *** [all] Error 2
---
Failed   <<< osrf_testing_tools_cpp [3.99s, exited with code 2]
Aborted  <<< ament_pep257 [0.73s]
Aborted  <<< ament_cmake_libraries [0.86s]
Aborted  <<< fastcdr [2.42s]

Summary: 5 packages finished [6.40s]
  1 package failed: osrf_testing_tools_cpp
  3 packages aborted: ament_cmake_libraries ament_pep257 fastcdr
  6 packages had stderr output: ament_cppcheck ament_flake8 ament_lint ament_package fastcdr osrf_testing_tools_cpp
  141 packages not processed

@enriLoniterp, the native ROS2 build was added as a reference to compare ROS2 behavior under Ubuntu and VxWorks. You need to rebuild the docker image for that since it was modified, see https://github.com/Wind-River/vxworks7-ros2-build/commit/76603d623b98a12e0256b3943cb4d8bc9060c53c
docker build --no-cache -t vxros2build:1.0 .

Hi @razr,
ROS2 NATIVE COMPILATION problem SOLVED:
rebuild as you mentioned and bypassed sourcing env. operation and worked well, the example you provided worked and it is printed HelloWord! messages.
But still i can't understand what is the procedure to construct something mine with ROS2 inside VxWorks.
I can run each example you provided, but now i want to develop a little project by myself. My intentions is to build an arm-robotic application on VxWorks. Theoretically i should need my ROS 2 workspace, my packages and each package should contain nodes that i can compile and then launch all nodes to develop something useful IN VxWorks, so running on [VxWorks] terminal. Currently i don't understand the structure of the entire system i've built and the development workflow.
I know that /export/deploy has bins like timer lambda compiled for VxWorks. So my idea was "i built my architecture in local with colcon, move all my executable to export/deploy and run it". For example i tried moving MYTalker inside /export/deploy but VxWorks can't execute it. It is not the solution i guess.
Last i've noticed that inside build there is a directory called /ros2_ws (/home/rosdev/VxWorks_ros2_master/vxworks7-ros2-build/build/ros2/ros2_ws) with a workspace, maybe i should place my package and do twice all the procedure from scratch.
I am really sorry that i'm asking you all this questions but i'm stucked at this level and i want to go forward and develop my own architecture.
Thank you again, hope it's ok if ask you some questions.
Enrico

python3 is located in the /ata4/bin directory which is a non-standard path and you need whether  cd /ata4/bin to it or run it with a full path /ata4/bin/python3. For the same reason, you also need to set env LD_LIBRARY_PATH=/ata4/lib"
-> cmd
[vxWorks *]# cd /ata4/bin
[vxWorks *]# set env LD_LIBRARY_PATH=/ata4/lib"
[vxWorks *]# set env AMENT_PREFIX_PATH="/ata4"
[vxWorks *]# rtp exec -u 0x20000 python3 /ata4/lib/demo_nodes_py/talker

hi @razr,
sorry if i am late.
As i understood from your explantation, i've taken my exe from my local machine the directory containing my publisher and subscriber and placed inside /export/deploy/lib. Done all the process from scratch and launched qemu with VxWorks, results:
-> cmd
[vxWorks *]# cd /ata4/bin
[vxWorks *]#    set env LD_LIBRARY_PATH="/ata4/lib"
[vxWorks *]#    set env AMENT_PREFIX_PATH="/ata4"
[vxWorks *]# rtp exec -u 0x20000 python3 /ata4/lib/cpp_pubsub/talker
Launching process 'python3' ...
Process 'python3' (process Id = 0xffff8000082692a0) launched.
  File "/ata4/lib/cpp_pubsub/talker", line 1
SyntaxError: Non-UTF-8 code starting with '\xe5' in file /ata4/lib/cpp_pubsub/talker on line 2, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
[vxWorks *]# rtp exec -u 0x20000 python3 /ata4/lin/?
Launching process 'python3' ...
Process 'python3' (process Id = 0xffff8000083c8040) launched.
./python3: can't open file '/ata4/lin/': [Errno 2] no such file or directory
[vxWorks *]# rtp exec -u 0x20000 python3 /ata4/lib/demo_nodes_py/talker
Launching process 'python3' ...
Process 'python3' (process Id = 0xffff8000083c8040) launched.
./python3: can't open file '/ata4/lib/demo_nodes_py/talker': [Errno 2] no such file or directory
[vxWorks *]#

I think something wrong, i desire bring my packages on my simulation, inside VxWorks and run it, i can't understand how.
Thank you for your attention, sorry for disturbing!

Sorry for the confusion, I thought you try to run python scripts.
if your nodes are written in C++ and are not the python scripts you need to put them under /ata4/bin directory and run
[vxWorks *]# cd /ata4/bin
[vxWorks *]# set env LD_LIBRARY_PATH="/ata4/lib"
[vxWorks *]# rtp exec -u 0x20000 /ata4/bin/talker

hi @razr sorry if i'm late,
with 'your nodes' you mean my piece of C++ code or my executable talker got from previous compilation in my local ws? and if it's the second which should i compile my nodes, locally or on VxWorks platform?
Thank you very much for your patient and kindness,
Enrico

I have another question, i'm wondering which ROS 2 version should i use to develop my own application? To not have compatibility issues in my simulation

fixed in #26


[Frontend] Integrate the Brand Setting Profile with Backend

Description
Currently, after logging In as brand, the settings button doesn't do anything, ideally it should allow user to update their profile. Api - https://github.com/Kajol-Kumari/InfluMart/blob/main/backend/controllers/brandController.js#L86

@Kajol-Kumari can you please assign this to me. settings should have only update. is it ?


chore: feat ci deprecations

add testrun for PHP 8.3

thanks! i cherry-picked this to #16 where i try to fix the various build failures.

thanks


Environment variable does not respect multiple sentry Nodes

Description
If you have multiple sentry nodes, the environment variable won't respect the environment in the config because Sentry is part of a global scope (not a local scope)
Example
As you can see here there are multiple sentry nodes with a different Environment variable but due to Sentry's global scope this isn't respected. All Sentry nodes use the last Environment variable found in the last Sentry node initialized.

Potential Solution
I patched it like so to avoid this switch. And inside my .env I have ENVIRONMENT=STAGING.
diff --git a/node_modules/node-red-contrib-sentrynode/sentry/sentry.js b/node_modules/node-red-contrib-sentrynode/sentry/sentry.js
index cb8508f..39fd3c6 100644
--- a/node_modules/node-red-contrib-sentrynode/sentry/sentry.js
+++ b/node_modules/node-red-contrib-sentrynode/sentry/sentry.js
@@ -110,11 +110,12 @@ module.exports = function(RED) {
     function SentryNode(config) {
         RED.nodes.createNode(this, config);
         var node = this;
+		var ENVIRONMENT = RED.util.getSetting(node, 'ENVIRONMENT')

 		/**
 		* init the sentry only on deployment
 		*/
-        Sentry.init({ dsn: config.dsn, environment: config.environment || 'debug' });
+        Sentry.init({ dsn: config.dsn, environment: ENVIRONMENT || config.environment || 'debug' });

 		node.on('input', function(msg, send, done) {

Thanks for reporting the issue, and for providing a fix.
Note that when preceding ENVIRONMENT  over config.environment that means priority is always for ENVIRONMENT, and the node config in most cases gets ignored, but preceding config.environment makes the Sentry environment overridable by node config, in any case, it needed that.
Please open a pull request for this fix and consider the above note, and I will merge it.

@ibraheem-ghazi Sounds good. Here is a PR with this feature:
https://github.com/ibraheem-ghazi/node-red-contrib-sentrynode/pull/7
Please review it when you have a chance!


Adding Extra Late Due Date for Courses

Added a secondary due date called extra late date, the purpose of the extra late date is to have a secondary more severe late penalty. For example, a late penalty might be 10% but the extra late penalty might be 50%.
If the courses.xml does not use the extra_late_date field then the column will not show up on the grades pages.
I also added some additional width configurations to the custom.css so that the web page will expand when being viewed on a higher resolution screen.

Updated to the current version


ARROW-3261: [Python] Add "field" method to select fields from StructArray

Created issue https://issues.apache.org/jira/browse/ARROW-3278 to improve usability

Codecov Report

Merging #2586 into master will increase coverage by 1.05%.
The diff coverage is 95.65%.

@@            Coverage Diff            @@
##           master   #2586      +/-   ##
=========================================
+ Coverage   87.14%   88.2%   +1.05%
=========================================
  Files         380     318      -62
  Lines       58854   55181    -3673
=========================================
- Hits        51289   48670    -2619
+ Misses       7491    6511     -980
+ Partials       74       0      -74

Impacted Files
Coverage Δ

python/pyarrow/tests/test_array.py
99.04% <100%> (+0.02%)
:arrow_up:

python/pyarrow/array.pxi
68.83% <75%> (+0.05%)
:arrow_up:

python/pyarrow/table.pxi
70.58% <0%> (-0.08%)
:arrow_down:

python/pyarrow/tests/test_table.py
100% <0%> (ø)
:arrow_up:

rust/src/record_batch.rs

go/arrow/datatype_nested.go

rust/src/util/bit_util.rs

go/arrow/math/uint64_amd64.go

go/arrow/internal/testing/tools/bool.go

go/arrow/internal/bitutil/bitutil.go

... and 56 more

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 498776c...3975052. Read the comment docs.


Update versions

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/6674241798

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/6674243920

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/6674241798
Status: failure

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/6674243920
Status: failure


Mi Fresh Air Ventilator C1-80 zhimi.airfresh.ua1 - There is no way to control the function "Electric Auxiliary Heating"

Home Assistant Core 2022.5.4
Xiaomi Miot Auto v 0.6.4
The device has an air heating function, however, there is no switch for this function.
I would be grateful for your help in solving this problem.

Upgrade to master branch and try.

Thank you very much!  The switch works!
😃👍🏼


Fixed 'Flutter Coverage' extension compatibility

The 'Flutter Coverage' extension wasn't compatible with the coverage files being output previously.  This merge aims to fix that, along with issues caused by using './' as the repo directory argument.

This is a good PR if it makes the coverage extension.
It is even better if the coverage report is relative to the root rather than the absolute file path.  The current output is not portable across file system locations.

@PatrickWulfe, thanks for the contribution and credit to @freemansoft for bumping this... clearly not paying enough attention to this repo! I'll review this tonight.


Provide samples how to check that user has access to entity or entity attribute

There is a section that briefly explains how Jmix authorization works. However, there is no example of how to check in the code that the current user has access to entity or attribute CRUD operation.
For example:
CrudEntityContext crudEntityContext = new CrudEntityContext(metaClass);
accessManager.applyRegisteredConstraints(crudEntityContext);
if (!crudEntityContext.isUpdatePermitted()) {
    //...
}

Done: https://docs.jmix.io/jmix/security/authorization.html#checking-permissions