nrzled: Don't set NoCS

Some SPI drivers don't support setting SPI_NO_CS, and fail entirely
configuring the port in that case.
In the case of nrzled, on the host side, we shouldn't really need to
configure if there's SPI CS happening or not.
If the nrzleds are just wired to the MOSI port directly, that's totally
fine - and if there's some proper CS going on, actually not setting
SPI_NO_CS would suddenly allow selecting different nrzled stripes
sequentially.

Can you expand on which host have trouble with NoCS? I'd prefer to disable the flag in the sysfs driver instead on known bad configuration than not using it anywhere.

That was on a PINE64, spi0 (allwinner,sun8i-h3-spi), 5.10.2 mainline kernel.
nrzled.NewSPI unconditionally sets the SPI_NO_CS flag, which caused a
spidev setup: unsupported mode bits 40

When trying to run the nrzled command.
Why do we want to set NoCS inside periph? If the light strip doesn't "listen" on the state of a potential CS pin, there's no harm in still setting it?
I could imagine a usecase where multiple WS2812 strips are connected to the same SPI master, there's multiple /dev/spidev0.${chipselect} nodes, periph maintains multiple spi.Port instances, and with some simple chip selection circuit, both share the same MOSI port. You can't write concurrently, true, but that might be fine.

Ok I'd still prefer for the sysfs driver to be updated to retry without the flag when this happens.
Separately, would you mind joining the slack channel? I'm currently in the process of migrating the project to github.com/periph/(conn|cmd|devices|host) and in the meantime it means I have to cherry pick each change manually. I'll try to have it done in the coming days.

Ok I'd still prefer for the sysfs driver to be updated to retry without the flag when this happens.

Hmm… unsure. We shouldn't silently ignore flags passed by users when configuring the SPI port.
So what's the reasoning behind nrzled setting NoCS in first place? Why would it be fine to now ignore it in some lower layer, but not fine to not set it?

Because many other device drivers could want to say "I don't need a CS line" and a (non-sysfs) implementation could say "cool then you don't have to configure one" and save a pin.
What you are asking for is essentially to have no device driver use this flag ever. It's a bug in the sysfs driver implementation in pine64, so I'd prefer this to be worked around there specifically.

Because many other device drivers could want to say "I don't need a CS line" and a (non-sysfs) implementation could say "cool then you don't have to configure one" and save a pin.

If there's devices out there that dynamically allocate pins, and you can reuse others setting NoCS that makes sense. Thanks! It should probably be added in a comment, though ;-)

What you are asking for is essentially to have no device driver use this flag ever. It's a bug in the sysfs driver implementation in pine64, so I'd prefer this to be worked around there specifically.

No, that's not what I meant, I'm only worried about silently "dropping" a flag in the sysfs spi implementation that was set by the user while initializing the port, especially if it's named the same way as an option where the kernel does fail if it's not able to set.
Are you aware of use cases where people would want this to fail if it couldn't be set? Should the periph flag probably be named differently? (NeedCS maybe?)
On the other hand, nrzled.NewSPI(p spi.Port, opts *Opts) also has no idea about the cabling on specific hardware, so configuring it there (with linux-specific magic values for modes!) probably also shouldn't happen.
What about giving host/sysfs.NewSPI (and other implementations) a slightly different list of arguments, where users could specify they don't care about the chip select pin being set (in an option that isn't named exactly like the kernel option)?
NewSPI is usually called by users (or code more familiar with the hardware), so might know about the exact cabling, and nicely encapsulates that detail away from libraries, who really just want to take a conn/spi.Port, configure frequency and write data to it.

I'll close here as all the PRs should now be done on github.com/periph.


What is the procedure from messy images to annotated data

I apologize in advance if this is listed somewhere, I cant seem to find these answers.
I have messy images containing text that are scanned in mostly arabic and some english. The english is minimal like (N123.23, W231.43) for example.
I want to use tesstrain to finetune existing models.

When creating the bounding boxes and adding the text, can this be done on a line by line basis or do I need to draw bounding boxes around individual characters?
Are there guidelines on how tight these bounding boxes need to be?
How does the ordering work for arabic characters?
ال باب
Is the first character ا or ب?
How do I handle English and Arabic in the same document? Its very minimal english, only a couple characters like above.

Currently Im annotating these using the VGG VIA V2 Image tool. And can convert the output as necessary. If you know of a better way, please let me know.

Mixed LTR and RTL will be tough if it is possible at all. You can definitely work on a line-by-line basis. That's one big advantage of LSTM-based OCR. The bounding boxes should be as tight as necessary in order to exclude characters from other lines while including all characters from the line under consideration. We have good experiences with https://www.primaresearch.org/tools/Aletheia

It might be an option to train two models. One for the Arabic part and one for the Latin characters. Tesseract can make use of both at runtime!


Image Enhancer

Greetings sir,
I observed by the project repository that project aims for Image related manipulations.
I'd love to contribute to the repository.
Please we add Image enhancing option with gamma correction as 1 option for contribution @smaranjitghose ?

Greetings sir,
I observed by the project repository that project aims for Image related manipulations.
I'd love to contribute to the repository.
Please we add Image enhancing option with gamma correction as 1 option for contribution @smaranjitghose ?

I wanted to add image enhancements like DeHazing, Image SuperResolution as well...ah..Gamma Correction works nicely for a lot of cases too, I think when we develop the streamlit app, we need to put a slider for the gamma value


646 species detection models in AGS and Sighting response

Pull Request Overview

Added speciesDetectionModel to Sighting and AGS as sighting responses
Fixed gitlab not configured Error so that it's a warning instead

**REST API Updates **
As requested
[GET] /api/v1/asset_group/sighting/as_sighting/{guid} and  /api/v1/sighting/{guid} contains speciesDetectionModel

"speciesDetectionModel": [
        "african_terrestrial"
    ],

/rebase

/rebase


Escape markdown body text

Fix #132.
When an image description was something like
Title: in"title"

in"description

sigal would not escape the " in the description, generating html that
looked like
data-title="in"title"
data-description="

in"description
...

This would end the attribute quote before the end of the description,
which would truncate it.
I just started using Sigal a couple hours ago, so this might break other things that I don't understand (don't think so though).

Closing as autoescape was activated in #195, and for galleria in https://github.com/saimn/sigal/pull/312/files#diff-a14de4e10eef7909fa269d825701b1deR137 (probably not necessary btw).


Search does only show start Page

Hi, first thank you for the work on the app
The browse  function does only show the start page of Spotify,  no longer the library (Playlist / Albums)
Did not change anything. Before it was working.
Update
I saw now there's already a solution,  when can we expect the release in the store?

This sounds like you are encountering the new behavior of Spotify 8.7, as discovered in #549. What version of AAIdrive are you running? This bug is fixed in version 1.3.2-85-4891cd2, and is available in the Play Store beta test builds and in the Github nightly build. The fix will be more widely available with the upcoming release of AAIdrive 1.4.

Thank you.
I had to update to 1.3.2-85-4891cd2 since i got the Spotify update to <IP_ADDRESS>4
Looking forward to the 1.4 version. In the 1.3.2 the media button does not work like before, you will not go to your media sources, it will try to open (shows short and close again) but stays in Spotify.
Would like to see all the entry's from the "default" list in a separate folder like "start" because it is the start page and it looks better.
Start (startpage)
Browse (genres/ search)
Library (album / playlists)
But I'm happy anyway that it is working again to find the library..

I believe the behavior you describe, of jumping right to Spotify instead of showing the main Media menu, is actually a recent bug fix (#500)! This more correctly matches the behavior of other Media sources, like the Radio or USB sources, where the Media button will directly open the currently-playing media source. Once inside the music playback screen, you are correct that the Media button opens up a little menu of other media sources, but due to protocol limitations it can only show the Spotify app in this menu. You must click the first toolbar button to bring up a list of phone music apps, or you can back out to the main Media menu to pick a different app.
The browse list comes directly from Spotify (with these Browse and Library items added manually). I prefer to keep this bigger list, because it provides quicker access for the driver to just play some music without needing to spend extra time clicking through menus while driving.
Thank you for the bug report, and I'm glad we got it figured it out!


Add ECS worker option to use most recent revision in task definition family

Closes #368
Adds an option to the ECS worker for using the most recent revision in the task definition family.
Using the family name from the family field on either the work pool or the deployment's job_variables ("prefect" if left empty), the most recent revision of that family's task definition is retrieved and compared against the task definition constructed by the worker. If they are a match, the retrieved task definition's ARN is used rather than proceeding with registration of a new task definition. These steps are only taken if the task definition cache is empty or the cached definition fails to validate.
This approach is similar to the one implemented in Jenkins and should reduce occurrences of task definition registration when used effectively.
It should be noted that careful family name management is required across deployments which share matching configuration, else new registration of task definitions not present in the worker's cache within a single family may reduce the usefulness of this option.
Example

A new worker with an empty cache picks up the most recent revision from the prefect family since the deployment's configuration matches:
Worker 'ECSWorker 03fd9887-2943-4229-ba6c-fa713727af7c' started!
22:17:19.500 | INFO    | prefect.flow_runs.worker - Worker 'ECSWorker 03fd9887-2943-4229-ba6c-fa713727af7c' submitting flow run '77ceb587-3fee-448a-bca9-96c7b47c4616'
22:17:20.273 | INFO    | prefect.flow_runs.worker - Retrieving most recent active revision from ECS task family 'prefect'...
22:17:20.409 | INFO    | prefect.flow_runs.worker - Using ECS task definition 'arn:aws:ecs:***:task-definition/prefect:29'...
22:17:20.834 | INFO    | prefect.flow_runs.worker - Creating ECS task run...
22:17:21.382 | INFO    | prefect.flow_runs.worker - Waiting for ECS task run to start...
22:17:21.438 | INFO    | prefect.flow_runs.worker - ECS task status is PROVISIONING.
22:17:31.534 | INFO    | prefect.flow_runs.worker - ECS task status is PENDING.
22:17:51.751 | INFO    | prefect.flow_runs.worker - ECS task status is RUNNING.
22:17:56.870 | INFO    | prefect.flow_runs.worker - Completed submission of flow run '77ceb587-3fee-448a-bca9-96c7b47c4616'
22:18:17.034 | INFO    | prefect.flow_runs.worker - ECS task status is DEPROVISIONING.
22:18:27.137 | INFO    | prefect.flow_runs.worker - ECS task status is STOPPED.
22:18:27.139 | INFO    | prefect.flow_runs.worker - Container 'prefect' exited successfully.

Upon a second run of the deployment, the in-memory cache is used instead:
22:18:40.072 | INFO    | prefect.flow_runs.worker - Worker 'ECSWorker 03fd9887-2943-4229-ba6c-fa713727af7c' submitting flow run '8932a7f5-e2bb-4ab8-bcfc-a397c3c1781e'
22:18:40.892 | INFO    | prefect.flow_runs.worker - Retrieving ECS task definition 'arn:aws:ecs:***:task-definition/prefect:29'...
22:18:41.038 | INFO    | prefect.flow_runs.worker - Using ECS task definition 'arn:aws:ecs:***:task-definition/prefect:29'...
22:18:41.359 | INFO    | prefect.flow_runs.worker - Creating ECS task run...
22:18:41.921 | INFO    | prefect.flow_runs.worker - Waiting for ECS task run to start...
22:18:41.968 | INFO    | prefect.flow_runs.worker - ECS task status is PROVISIONING.
22:18:52.059 | INFO    | prefect.flow_runs.worker - ECS task status is PENDING.
22:19:12.269 | INFO    | prefect.flow_runs.worker - ECS task status is RUNNING.
22:19:17.372 | INFO    | prefect.flow_runs.worker - Completed submission of flow run '8932a7f5-e2bb-4ab8-bcfc-a397c3c1781e'
22:19:37.536 | INFO    | prefect.flow_runs.worker - ECS task status is DEPROVISIONING.
22:19:52.690 | INFO    | prefect.flow_runs.worker - ECS task status is STOPPED.
22:19:52.691 | INFO    | prefect.flow_runs.worker - Container 'prefect' exited successfully.

Checklist

[x] References any related issue by including "Closes #" or "Closes ".

If no issue exists and your change is not a small fix, please create an issue first.

[x] Includes tests or only affects documentation.
[x] Passes pre-commit checks.

Run pre-commit install && pre-commit run --all locally for formatting and linting.

[ ] Includes screenshots of documentation updates.

Run mkdocs serve view documentation locally.

[x] Summarizes PR's changes in CHANGELOG.md

hey @kevingrismore - you should be able to go ahead and nix the CHANGELOG from your fork as we've removed it from main

love the unnesting!


http2: updates a test utility to use QUICHE instead of nghttp2.

Signed-off-by: Biren Roy<EMAIL_ADDRESS>The test utility just packs a METADATA frame, and is used in Envoy unit tests. Cleanup related to https://github.com/envoyproxy/envoy/issues/23596.
Commit Message: Updates a test utility to use QUICHE instead of nghttp2.
Additional Description:
Risk Level: Low
Testing: ran unit tests locally
Docs Changes:
Release Notes:
Platform Specific Features:

/assign @diannahu

/lgtm deps

/retest

/retest

/assign @KBaichoo
/assign @yanavlasov
FYI, this is ready to merge.


Resolve problems with vld Download in CSVProc

Whilst I have replaced vld files with csv files on a few occassions I had not picked up a problem with record counts. I was preparing a file for Pat when I notoced that the 1861 vld file that I downloaded from CSVProc was 200 records short of the count in my tracking spreadsheet (in this case about 10% of the file). I did not have an original transcription for that piece any more so I found an 1871 piece that I did have the original transcription for. I reconciled the original transcription and the download and discovered that it was about 20 reciords short (about 2%)
File sample RG10_2349. Observations as follows:

When there is a proper schedule number entered against a 'u' in the uninhabited field it is being changed to 0 on download.
UNK gets added as the Chapman Code of unoccupied buildings. I did not have instances of 'v' or 'b' so cannot comment on those.
If a record has an 'x' as a flag, the record does not get downloaded into the csv file.  FreeCEN1 allowed the flags to be uploaded but they are no longer used by reports. CSVProc requires them to be resolved or replaced by an entry in the Notes field. This appears to be the cause of the missing reords.
Schedule 0 and page number appear against second person on a ship as well as the first person (ships are correctly transcribed as schedule no 0 on original transcription)
I have both a file as downloaded and a corrected file that I can send to Kirik if and when needed.
Geoff

@geoffj-FUG I believe the latest version of the vld download as CSVProc works as expected. Deployed to test3 for you to test

All of the reported issues are now correct in a download. I am happy for this to go live.
Geoff


Added good and active projects from legacy document

Project Name: A few of awesome projects ported from legacy document
Project URL: N/A (multi submission)
Project Description: N/A (multi submission)
Why it should be added to awesome-vapor: Because good and helpful work should be promoted
[ ] Project has at least 15 stars (if it's a GitHub project)
[x] Project supports Swift 4
[x] Project supports at least Vapor 2
[x] I used correctly sized dash and ended the entry with a full stop 🤓

          1 Warning

:warning:
Too many changes (when adding, please keep it to one project per Pull Request)

  Generated by :no_entry_sign: Danger


Combined experiments

This branch has changes from #475, #481, #482, #483. For design review tomorrow.

SMS campaign page with experimental forms & heading banner:


Add missing tests

[ ] lb_exit
[x] lb_echo
[x] lb_log_...
[x] lb_is_writable
[x] lb_edit

cannot test lb_exit but it's ok


[feat] Support iteration based checkpointing after training batches

What does this PR do?
This PR implements adds functionality to the model checkpoint callback to save a checkpoint after every N training batches. This does so by:

Adding a new parameter to the callback constructor every_n_batches which is used to trigger the saving
Adds a new parameter every_n_epochs to the callback constructor, as period is ambiguous. Without this, the naming for period is unclear as to whether it refers to saving after N batches or after N epochs.
Adding a deprecation warning for period

The following links the related issue to the PR (https://docs.github.com/en/free-pro-team@latest/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword)
-->
Fixes #<issue_number>
Before submitting

[ ] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
[ ] Did you make sure to update the documentation with your changes? (if necessary)
[ ] Did you write any new necessary tests? (not for typos and docs)
[ ] Did you verify new and existing tests pass locally with your changes?
[ ] Did you update the CHANGELOG? (not for typos, docs, test updates, or internal minor changes/refactorings)

PR review
Anyone in the community is free to review the PR once the tests have passed.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:

[ ] Is this pull request ready for review? (if not, please submit in draft mode)
[ ] Check that all items from Before submitting are resolved
[ ] Make sure the title is self-explanatory and the description concisely explains the PR
[ ] Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?
Make sure you had fun coding 🙃

Hello @ananthsub! Thanks for opening this PR.

In the file pytorch_lightning/callbacks/model_checkpoint.py:

Line 227:13: W503 line break before binary operator
Line 228:13: W503 line break before binary operator
Line 262:121: E501 line too long (159 > 120 characters)

In the file tests/backends/test_multi_nodes_gpu.py:

Line 28:121: E501 line too long (121 > 120 characters)
Line 64:121: E501 line too long (121 > 120 characters)

Do see the Hitchhiker's guide to code style


Added --compact-ids to /tools/opt

The pass remaps ids to a compact set which starts with %1 and
has no gaps.

Squashed and pushed into master as 1e309af80a44


Test missing the midje assertion =>

Fix test w/ missing assertion. Also add :plugins in the profile to the profile parsing test.

Thanks!


KAFKA-6145: KIP-441: Add TaskAssignor class config

add a config to set the TaskAssignor
set the default assignor to HighAvailabilityTaskAssignor
fix broken tests

Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Also, kicked off https://jenkins.confluent.io/job/system-test-kafka-branch-builder/3915/

29 system tests failed, so I'll pin them to the StickyTaskAssignor and fix them in follow-up PRs.
http://confluent-kafka-branch-builder-system-test-results.s3-us-west-2.amazonaws.com/2020-04-24--001.1587711201--vvcephei--kafka-6145-task-assignor-flag--97228a5/report.html

29 system tests failed

Expected, but still upsetting 🙀

29 system tests failed

Expected, but still upsetting scream_cat

I should have said "130 system tests passed"

Kicked off https://jenkins.confluent.io/job/system-test-kafka-branch-builder/3916/

Looks like the Jenkins agents are all saturated. I'll try again later to give them some breathing room.

retest this please

The system tests passed, by the way: http://confluent-kafka-branch-builder-system-test-results.s3-us-west-2.amazonaws.com/2020-04-24--001.1587784155--vvcephei--kafka-6145-task-assignor-flag--126afd1/report.html


Need help: Exporting Custom Vision as Tensorflow Model

Hi,
We have followed the tutorial here..
https://docs.microsoft.com/bs-latn-ba/azure/cognitive-services/custom-vision-service/export-model-python
every thing works fine except the last piece of code
Couldn't find classification output layer: loss:0.
Verify this a model exported from an Object Detection project.
These names are part of the model and cannot be changed.
output_layer = 'loss:0'
input_node = 'Placeholder:0'
with tf.Session() as sess:
try:
#print(tf.global_variables())
prob_tensor = sess.graph.get_tensor_by_name(output_layer)
predictions, = sess.run(prob_tensor, {input_node: [augmented_image] })
except KeyError:
print ("Couldn't find classification output layer: " + output_layer + ".")
print ("Verify this a model exported from an Object Detection project.")
exit(-1)
# %tensorboard --logdir logs

Detalji dokumenta
⚠ Ne uređujte ovu sekciju. Ona je neophodna za povezivanje problema slijedom docs.microsoft.com ➟ GitHub.

ID: 754dd7d5-dd8b-4a75-5d79-0ba621a847cd
Version Independent ID: 3cca3535-1c16-2da1-46c6-421cbf808bc3
Content: Tutorial: Run TensorFlow model in Python - Custom Vision Service - Azure Cognitive Services
Content Source: articles/cognitive-services/Custom-Vision-Service/export-model-python.md
Service: cognitive-services
Sub-service: custom-vision
GitHub Login: @areddish
Microsoft Alias: areddish

@jaiswati  , Thank you for your feedback. We will investigate and get back to you shortly.

As stated at the top of the article - this tutorial applies only to models exported from image classification projects.
When exporting an Object Detection project the zip file contains the code to run the exported model.

Hi Andrew,
Thank you for the quick response, We have both types of Custom Vision Projects. Could you please share the documentation for Object detection CV Project as well.
I am beginner to the tensorflow, so it would be great if  you share  the links to debug the model and get this fixed for object detection model
meanwhile will try this for Classification projects and post the response back.
Thanks in advance :)
Best Regards,
Swati

As suggested tried for the 'Classification Custom Vision Project as well'
but get the same error..
Couldn't find classification output layer: loss:0.
Verify this a model exported from an Object Detection project.

@jaiswati We re-ran the document to run the steps and it worked fine. Here is a screen shot of the prediction.

Please take a look at how the model was exported. Here are the steps to convert the same to a compact domain and then use with this tutorial.

Hi  Rohit,
Thank you for the response..
Could you please share the images for which  you have tested this sample code? need to check the format of the images (image size , type of image etc)
Also in which python environment we will need to test this?
I have upgraded Azure Jupiter notebook to Tensorflow 2.0 rc2 as with earlier , code snippets does not work.

Here is the  Classification Custom Vision Project and azure notebook
https://github.com/jaiswati/Custom-Vision-Test

You can try any valid image type. Try using any of the sample project from the document and convert it to compact domain.
I tested with python 3.7.2 and tensorflow 1.14.0
We would recommend to post issues related to implementations on stackoverflow for the developer community to pitch in. This forum is primarily used for document issues or bugs.

Hi Rohit,
I have checked that default azure notebook has  tensorflow 1.12.2 and python 3.6.6, will try to upgrade it and see if that resolves the issue.
This is just a thought (may not be applicable here, Please forward it to concerned team if possible), It would be great if there is some mechanism to auto-update the documentation based on stackoverflow/ msdn forum discussions..( may be based on approval),
with this Documentation could be more useful and half of the developer struggles are saved in real world use cases.

@jaiswati Thanks for the feedback. All forums including stack and MSDN are moderated and feedback is provided to the appropriate product team to update the documentation. Our product team uses the uservoice forum for any issues or feedback regarding the product. Please feel free to update your requests in this forum.
In case of this issue you can also use the local installation of python and tensorflow. As the error is a key error it could be an issue with retraining the project after changing the domain of the project to compact.

@jaiswati We hope you are able to run through the steps after using the supported versions of the packages. We will now proceed to close this thread.


apotheosis spawner settings (possibly config) are wrong

a brand new spider spawner, with 800 max delay, apply one clock, brings the spawner's max delay down to 4
possibly the first setting the the section for these configs.  since that value is 4 there
playing 1.1.0

addendum.  putting quartz in off hand and trying to apply a clock does nothing, so I can't reverse this


Is it possible xlsx-populate in typescript?

I'd like to use xlsx-populate package in react typescript project. but I can't use the package in typescript. Is there any way to use it?
Regards.

I've tried with the xlsx-populate-types but it's happening error.

Have you resolve it now？

@HumbleDev-1119

do we have any updates on this ?


Added webpack config examples for wepack 2

The new syntax for usage of webpack loaders in webpack 2 is missing from the doc. Adding that in .

@WearyMonkey  @scarlac  adjusted.

@asulaiman thanks!


Use junit rule insted of runner?

Would it be possible to get the solution realised with JUnit rules instead of the runner?

The test class needs to be loaded with a separate classloader, and off the top of my head I cannot see how to achieve that with rules.
Is there a reason you need a rule rather than a runner?

Closing due to lack of response from submitter

The reason for wanting a rule and not a runner is to free the runner for other frameworks (camel, spring, etc) it's a more flexible solution


cluster: make create pvc reentrant

The problem I can see with this approach

create an etcd cluster with backup enabled.
request the backup
remove the etcd cluster without removing the pvc
recreate the same etcd cluster with backup enabled but no restore

BAD. We will create new backups that will overwrite the old backups eventually :(.

To fix the resync thing, we should verify the continuity of the cluster. If the operator is managing and will be managing an etcd cluster that created the backup, then we allow it. If not, we should deny.

@xiang90
The alternative is to save "states".

If we can infer state reliably from k8s api server, we should do that instead of saving our own state.
In this case, I think we could.

OK.
I will close this and pull up a new one.


pin requests

PackageNotFoundError: Package not found: '' Package missing in current linux-64 channels:

requests ==2.11.*

hmmm, looks like it is still not this simple

Well this at least gets us to a different bug.

obsoleted


feat(rebuild): prefer a local replica as a rebuild source

This would reduce network traffic when rebuilding a remote replica and a local one is healthy.

Should there be some limits? Example let's say we have 200 nexuses on a node and they're all doing rebuilds with the local replica, perhaps in such case we should not only choose the local replica

This statement equally applies to rebuilding from a remote replica. My change is to reduce overall load on the network: previously, we were always blindly selecting the first healthy replica.
To implement a smarter way of source replica selection, we'd need control plane to tell which replica is preferable at the given moment, as the data plane cannot know what is better to cluster as a whole. Data plane can probably tell if its own node is highly loaded, but it cannot tell if another node is actually so much less loaded, and increasing network traffic by rebuilding from that remote node would actually improve the situation for the entire cluster.

bors merge


Create datapredict.mdx

There's another reinforcement library that I want to add into the rl-course, named DataPredict, which is for Roblox, but is not created by Roblox. Not sure if this place is appropriate for that library since that library focuses on machine learning on general.
Also, feel free to add more information. I couldn't upload the image I wanted to add to this file.

This is the image i want to add from datapredict.online.

Hi, good idea. Though there are more steps to merge:

You need to modify _toctree.yml to add this section to the bonus unit 3

Add the image with the link (I uploaded the image):

Hi thanks for the update @AqwamCreates , there's one more step, it's
You need to modify _toctree.yml to add this section to the bonus unit 3


[gardening] assembler_x64.cc: 2774: error: expected: Utils::IsInt(32, disp)

LoadIndexedInstr::EmitNativeCode on x64 can hit an assert.
../../runtime/vm/compiler/assembler/assembler_x64.cc: 2774: error: expected: Utils::IsInt(32, disp)
version=3.3.0-edge (main) (Unknown timestamp) on "linux_x64"
pid=18806, thread=18806, isolate_group=isolate(0x5632001668b0), isolate=(nil)((nil))
os=linux, arch=x64, comp=no, sim=no
isolate_instructions=0, vm_instructions=0
fp=7ffd97664f10, sp=7ffd97664dd8, pc=5631ff837d4c
  pc 0x00005631ff837d4c fp 0x00007ffd97664f10 dart::Profiler::DumpStackTrace+0x7c
  pc 0x00005631ff578cb4 fp 0x00007ffd97664ff0 dart::Assert::Fail+0x84
  pc 0x00005631ffc1ed37 fp 0x00007ffd97665030 dart::compiler::Assembler::ElementAddressForIntIndex+0xa7
  pc 0x00005631ffcb9e9d fp 0x00007ffd976650a0 dart::LoadIndexedInstr::EmitNativeCode+0x1ad
  pc 0x00005631ffc463d9 fp 0x00007ffd97665200 dart::FlowGraphCompiler::VisitBlocks+0x429
  pc 0x00005631ffc45ede fp 0x00007ffd97665230 dart::FlowGraphCompiler::CompileGraph+0x2e
  pc 0x00005631ffd414b0 fp 0x00007ffd97665240 dart::CompilerPass_GenerateCode::DoBody+0x10
  pc 0x00005631ffd3f826 fp 0x00007ffd97665310 dart::CompilerPass::Run+0x126
  pc 0x00005631ffbeb9a3 fp 0x00007ffd976659f0 dart::PrecompileParsedFunctionHelper::Compile+0x6f3
  pc 0x00005631ffbec554 fp 0x00007ffd976662b0 dart::PrecompileFunctionHelper+0x394
  pc 0x00005631ffbe6bfc fp 0x00007ffd976663d0 dart::Precompiler::CompileFunction+0x1ac
  pc 0x00005631ffbe55de fp 0x00007ffd97666470 dart::Precompiler::ProcessFunction+0x1ae
  pc 0x00005631ffbdfbf4 fp 0x00007ffd976664c0 dart::Precompiler::Iterate+0x94
  pc 0x00005631ffbdc4bc fp 0x00007ffd97666dd0 dart::Precompiler::DoCompileAll+0x192c
  pc 0x00005631ffbdaae6 fp 0x00007ffd97667260 dart::Precompiler::CompileAll+0xb6
  pc 0x00005631ffe1b3ce fp 0x00007ffd976673c0 Dart_Precompile+0x1be
  pc 0x00005631ff54ab22 fp 0x00007ffd97667550 dart::bin::main+0x8f2
-- End of DumpStackTrace
=== Crash occurred when compiling file:///b/s/w/it8xfz4hkl/dart_fuzzRUBMXP/fuzz.dart_::_fooE4|foo4_Extension2 in AOT mode in GenerateCode pass
=== When compiling block B41[join]:468 pred(B24, B42) {
      v99 <- phi(v428 T{_Smi}, v137) alive [-9223372036854775808,<PHONE_NUMBER>854775807] int64 T{int}
}
=== When compiling instruction v536 <- LoadIndexed(v258 T{_Int32x4List}, v816 T{_Smi}) int32x4

-- BEGIN REPRODUCE  --

DART SDK REVISION:

dart runtime/tools/dartfuzz/dartfuzz.dart --no-fp --no-ffi --flat --seed<PHONE_NUMBER> fuzz.dart

-- RUN 1 --

out/DebugSIMARM64/dart --use-slow-path --old_gen_heap_size=128 /b/s/w/it8xfz4hkl/dart_fuzzRUBMXP/fuzz.dart

-- RUN 2 --

DART_CONFIGURATION='DebugX64' DART_VM_FLAGS='--enable-asserts' pkg/vm/tool/precompiler2 --use-slow-path --deterministic fuzz.dart snapshot
pkg/vm/tool/dart_precompiled_runtime2 snapshot

-- END REPRODUCE  --

full log: https://logs.chromium.org/logs/dart/buildbucket/cr-buildbucket/8760042587664820481/+/u/collect_shards/make_a_fuzz_shard_12/task_stdout_stderr:_make_a_fuzz_shard_12

Repro's locally:
dart runtime/tools/dartfuzz/dartfuzz.dart --no-fp --no-ffi --flat --seed<PHONE_NUMBER> fuzz.dart
out/DebugX64/dart-sdk/bin/dart compile aot-snapshot fuzz.dart

I believe we are able to generate an indexing instruction that is out of the 32 bit bound.
cc @sstrickl

The primary issue here is that Assembler::ElementAddressForIntIndex doesn't have the ability to tell the caller 'Sorry, the generated displacement can't fit in a single Assembler::Address value', which would then allow the caller to fix this by putting the offset in a register and then use the register version instead.
Well, that's not entirely true. We could change Assembler::ElementAddressForIntIndex on X64 to see if the displacement doesn't fit, and if it doesn't and the array register isn't TMP, we could just put the offset into TMP and then return the result of Address::ElementAddressForRegIndex using TMP as the index register. It's a little iffy because we're possibly generating an assembler instruction in Assembler::ElementAddressForIntIndex and it's also the case that the TMP register might have already been live across a LoadIndexed instruction, but eh, that's unlikely and it's probably the simplest fix to get things working without causing too much code churn.
(Now I want to have a way to mark "assembler-internal temp register X is currently live" (where X is TMP or TMP2) in the Assembler so that we can have checks that assembler (macro)instructions that use X internally can throw appropriate errors if their expectation that X is not currently live is broken.)

Actually, other architectures like ARM already have ElementAddressForIntIndex do this, so nevermind, this is perfectly cromulent in our current style.
(Just means we have to change this from a static method to an instance method on X64, but the fact that it's an instance method on some architectures and a static method on others is already ick.)

After some more investigation, turns out that the actual issue is that CanBeImmediateIndex, a local function used on all architectures to determine whether the index location for a LoadIndexed or StoreIndexed instruction should be a constant or a register, assumed that the scaling factor for the index could be calculated from the cid, but those instructions have an index_scale field that can differ from the element size for the cid.
Thus the real fix is to make sure that CanBeImmediateIndex calculates the same displacement as ElementAddressForIntIndex by passing it the same field values from the instruction, so the instruction doesn't try and pass a constant location to EmitNativeCode that can't actually fit in the immediate field of a single instruction.


The gitSsh credentials in Jenkins are not created

The gitSsh credentials specification in Jenkins is not created due to the omission of the corresponding ARG in the Dockerfile.

Closed via https://github.com/spring-cloud/spring-cloud-pipelines/commit/ee405c7d4b9b54db99d6727b7f1d8e463b2cd3b7


constants in KD model

    self.kd_covar_2 = torch.tensor([[142.4469, 14.6],
                                       [546.3336, 10.4],
                                       [1214.3231, 35.05],
                                       [2144.3779, 89.3],
                                       [3329.2144, 177.8],
                                       [4768.9585, 306.8623],
                                       [6452.0522, 475.8614],
                                       [8370.7070, 686.2020],
                                       [10499.2588, 940.2],
                                       [12799.6650, 1243]], device=self.device)
       self.kd_crossvar = torch.tensor([0.12, -0.49, 2.38, 10.81, 23.1, 36.05, 45.6862,
                                        47.88, 33.77, -2.14], device=self.device)

Hello, could you give me some reminders of what these constants mean in the knowledge model? How can you get them?

Hello,
Thanks for the question. Indeed, we need to add the description to the code.
So basically in order to use the IVW method (Sec 3.3.2) we need to have covariance and cross-covariance matrices for KD (knowledge-driven) and NN (neural-network) models. For the later one, we learn it through learnable parameters. For KD, the only way to define that is to consider the whole distribution of KD predictions and find the matrices on whole data (basically find the unconditional distribution that is not conditioned on the scene). So we measured that offline but collecting all KD predictions, finding the mean and then the covariance and cross-covariance matrices.

I hope the issue is resolved. Feel free to open it in case needed.


Use deb library correctly to access deb data

It turns out that I was "holding it wrong". This PR fixes the deb file interaction to use the correct library API to access the data. This fixes #36 which was triggered specifically the xz compression was used since a stream was being read twice.

I also updated the testcases to include all supported compression types for .deb files. This way I found another issue which is fixed in master of the dependency but there is no release for it so I updated go.mod to point to the latest commit.

LGTM


Call the layer's OnDetach before deleting it.

Resolves issue #47
the leaks where discovered in #125

I would just like to point out that this does not resolve the issue alone. Only with the other 3 PRs of yours is the issue resolved.

How do i point that out?

I suggest you remove the closing keywords and we make a task list on the issue itself. I have suggested it there.

OK, i'll edit my comments.


dataset

When you will release the dataset
Thank you

I am very sorry for the late release. I have been busy with other projects... The datasets are available now!


Question: discovered appcast urls

I have managed to find a number of appcast urls during my trawling of casks but haven't added them yet as they were either:

not known for sure that they would work at the time of updating a cask; or
known good, but the cask didn't require an update

I'm going to assume that anything that hasn't changed checkpoint in over a week is good and would like to add them.
I don't really want to do them all individually, but I'm concerned that a single failure when updating a lot of casks will make travis ci go mental.
What's the best way to perform the update? Any advice that you can give?

@colindunn roughy how many are we talking about here?

Maybe 20-30 @miccal. Might be a few more than that. I need to go through a lot manually because I didn't have this use-case in mind when I started storing the data :-)
I could always limit it to small runs?

@colindunn let start doing it in small runs, 10 Casks at a time, and then when checked and merged you can add another run of 10.
Sound good?

No problem, I'll do that then @miccal
Leave the issue open and I'll note in each PR as I go?

Sure, thanks @colindunn.

I may have more than I suspect, first 10 doesn't make it out of A yet. We'll see how it goes with the first lot anyway @miccal

So I'm at 40 now and up to G. I've definitely underestimated how many I've collected.
I doubt I will get any more done today so will continue tomorrow.

@colindunn Can you please stop here for now, as I am starting to thing that some of your appcast url's are not suitable.
Ping @caskroom/maintainers.

No problem @miccal happy to wait for further feedback

Here are the next 3 as well if it helps with review:

https://github.com/colindunn/homebrew-cask/commit/660a9fdc31a81e68157d4841771c85a090b7984e
https://github.com/colindunn/homebrew-cask/commit/5dfff309b256b817639668dccf3a63cd3e7250bf
https://github.com/colindunn/homebrew-cask/commit/6af631966f435aafafd88fcfb460f86138a31b1b

Regarding anything that is a html page/copy of a homepage, the majority of the checkpoints were collected before the new year, so those pages have survived date issue including page copyright updates so should be stable.

Possibly relevant.

Something important about this.
When you add a github releases appcast, then the url should also be changed to the get the package they provide in that releases page. That makes it more consistent, since they are updated at exactly the same time, leads to less errors.
The (rare) exception is when a github releases appcast exists but they don’t share compiled packages there.

Don’t worry about those already merged, I’ll take care of them. Warning so we don’t duplicate work. Just keep that in mind for the next PRs.

Sorry about that @vitorgalvao, I should have looked more carefully before I merged them.
Would you like me to give you a hand?

Sorry about that @vitorgalvao, I should have looked more carefully before I merged them.

Not to worry. It’s another of those unwritten rules.

Would you like me to give you a hand?

No need, thank you. Almost done. They’re relatively few and most of them are the exception, actually, so they’re good as they are.

So you guys are happy for me to proceed with what I'm doing here and the appcast urls I'm finding @vitorgalvao @miccal ?
Aside from changing the github links where possible

@colindunn Yes, go for it. Appcasts are always welcome. I’d eventually (not near future, since it’s quite a big task) like to setup a system to make the cask files themselves auto-update, and that depends on them having appcasts.

I underestimated how many of these I have very badly it seems, I now have about 110 and still going.
Out of interest, what do people do when an appcast gets updated but there isn't a release becase either:

there wasn't an osx release for the particular version
it's a pre-release or beta and shouldn't be added until there is an official release

I am noting the new appcast checkpoint but not updating the cask and ignoring it until it changes again, but what is the method used by others or the recommended path?

@colindunn In those cases, do not worry, you can just leave it as is.
We had at one point a semi-automated system I built, but scraped it. I’ve learned a lot when it was in use and will make a new one that fixes the previous flaws. In that semi-automated system, the checkpoint: will also be updated in those cases, but otherwise, don’t go out of your way to do it, it isn’t worth it. The appcast is for specific use of those systems.
How are you finding so many, by the way? Are you just going through them all and looking for it?

I have very rough script for going through all the casks in random order and then recording what I find. I manually choose what I think would work (in some cases the html page is obviously static, or I actually find a json call etc) and then I record the checkpoint along with it plus the date added. If it survives a few checks then it looks good.
I've collected a fair bit of data with all this cask trawling. Once I have these appcasts in I will create another issue to show how I'm keeping track of casks where I can't find appcast values to start a discussion around how that might be integrated if it's useful.
I can continue with the tool and/or share it, but I'd prefer to use the collected data to feed back in to the project rather than have a separate tool.

This is fantastic work - when I added appcasts, they were generally a manual process (record traffic with Charles)

It's still definitely manual @adidalal it's just the recording of the checkpoint and date added that's helping here. I'm up to 130 now, shouldn't be many more than that. Very sorry about the gross underestimation @miccal !

No problem @colindunn your efforts here a greatly appreciated by myself and I am sure of all the maintainers.

173 total. Just waiting for the last one to pass and the remaining to be merged and I'll close the issue

Fantastic work @colindunn!

Happy to help :-)


Hanging part of sentence removed

@milindsmart  Is this still needed or did Dan get this added for you?


V1.4 update DG for scheduler

fixes #666

Codecov Report

Merging #665 (81ae773) into master (524ab2e) will increase coverage by 3.82%.
The diff coverage is 25.00%.

@@             Coverage Diff              @@
##             master     #665      +/-   ##
============================================
+ Coverage     51.86%   55.68%   +3.82%
- Complexity     1197     1269      +72
============================================
  Files           245      243       -2
  Lines          5158     5170      +12
  Branches        670      672       +2
============================================
+ Hits           2675     2879     +204
+ Misses         2220     2013     -207
- Partials        263      278      +15

Impacted Files
Coverage Δ
Complexity Δ

...c/main/java/seedu/address/logic/ParserManager.java
0.00% <0.00%> (ø)
0.00 <0.00> (ø)

.../commands/modulelistcommands/AddModuleCommand.java
85.71% <ø> (+33.33%)
9.00 <0.00> (+5.00)

...commands/modulelistcommands/EditModuleCommand.java
91.89% <ø> (ø)
12.00 <0.00> (ø)

.../seedu/address/logic/parser/ContactListParser.java
83.33% <ø> (ø)
15.00 <0.00> (?)

...ser/modulelistparsers/FindModuleCommandParser.java
0.00% <0.00%> (ø)
0.00 <0.00> (?)

.../java/seedu/address/model/VersionedModuleList.java
89.65% <ø> (ø)
11.00 <0.00> (ø)

...a/seedu/address/logic/parser/FindModuleParser.java
100.00% <100.00%> (ø)
3.00 <1.00> (?)

...a/seedu/address/logic/parser/ModuleListParser.java
50.00% <100.00%> (ø)
16.00 <0.00> (ø)

...c/parser/modulelistparsers/EditZoomLinkParser.java
100.00% <100.00%> (+100.00%)
5.00 <0.00> (+5.00)

.../model/event/exceptions/EventOverlapException.java

... and 22 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 43bbf2b...81ae773. Read the comment docs.


feat: add TypeScript support and configuration files

Description

Introduce TypeScript support to the project, including necessary configuration files and type definitions for better development experience.
https://docusaurus.io/docs/typescript-support
Related Tickets & Documents

closes #424
Mobile & Desktop Screenshots/Recordings

Steps to QA

Tier (staff will fill in)

[ ] Tier 1
[ ] Tier 2
[ ] Tier 3
[ ] Tier 4

[optional] What gif best describes this PR or how it makes you feel?

@adiati98 i created and linked the proper issue, feel free to reopen when approved


Moving HeapSizeManager into its own class.

Did a bit of refactoring to BigtableBufferedMutator so that the its functionality is reusable.

I should really add more testing around the executor stuff.

There's too much going on in this PR.  I'm going to create smaller PRs.


[ Input Groups ] Missing responsive for Input Groups

In my opinion, there is no responsive behavior from Input Group.
Desktop:

Mobile MD, XS:

What do you think?

I don't know how we could reliably predict what you want for your form layout with this. There's only so much we can do out of the box before it becomes a nightmare for you to further customize. For now I'm still a pass on doing anything more than stacking individual fields and input groups without physically attaching them to one another.

Hey @mdo @julien-deramond Time showed that I was right? :)
Maybe context helps here:

Maybe time to rethink this again?:)

Could you please create a new follow-up issue reminding the context and the new information @0wczar? We have a lot of ongoing topics to tackle right now and we will forget about this comment in a closed issue.

@julien-deramond Yes I'll do it. I have a few ideas. I will come back soon.


BUG: MockSockIO on only adds one handler per event type

Description
Basically, on wraps the callback supplied to handle the case where MessageEvent is used versus a raw object.
Code Comment

Regular WebSockets expect a MessageEvent but Socketio.io just wants raw data
payload instanceof MessageEvent works, but you can't isntance of NodeEvent
for now we detect if the output has data defined on it

This creates a bug where there is only ever one handler possible per event type and it never warns you of this failure.
Additionally, this on wrapper prevents us from removing handlers because the function is unknown.
Reproduce
See test in Pull Request
Resolution
See Pull Reuqest

Duplicate creation


Assignment 1 Completed! :)

Great job - for bonus, i would restricted the signal a bit to see it better but still full points :)!


Theano+Lasagne installation

Any issues concerning installation can just as well be sent here.
In this course, we'll use the following technology stack for deep learning

Theano (symbolic computation graphs)
Lasagne(neural networks)
Agentnet(deep reinforcement learning) - only if you decide to complete the deep reinforcement learning assignments.

A simple roadmap to installing them can be found here -

only theano and lasagne - pick bleeding edge version
all 3 of them
docker container with all 3

The frameworks can be easily installed on Mac OS and Linux. Windows installation is, a bit tougher, so if you don't feel like it, try using docker (e.g. kitematic gui or console on windows).
If you run into any trouble, feel free to post here, even if it's like "i don't know what the hell all these letters mean!!!".

Really? No one?


feature: support http protocol

Feature 1! I rewrote the API interface to fully support HTTP services, aiming to enhance performance and replace the electrumx-proxy project. I couldn't find an optimal solution, so I had to rewrite all the methods. I hope someone can suggest a better implementation.
Feature 2, I added a log path functionality. The plan is to standardize all logs to eliminate performance losses caused by using print during synchronization.

you can test by wrk with the post.lua script:
`wrk.method = "POST"
-- wrk.body = '{"params": ["f00c23854cf3dd906a06cb7b8ca1554484288b4cdd31297fd5b1d2842d86a84b"]}'
-- wrk.body = '{"params": [atom]}'
-- wrk.body = '{"params": [100, 10, false]}'
wrk.body = '{"params": [162591]}'
wrk.headers["Content-Type"] = "application/json"
function response(status,headers,body)
-- if status ~= 200 then
-- print(body)
-- end
--
-- print(body)
end`
For example wrk -t4 -c50 -d10s -H "Content-Type: application/json" -s post.lua http://<IP_ADDRESS>:5001/proxy/blockchain.atomicals.get_location
wrk -t4 -c50 -d10s -H "Content-Type: application/json" -s post.lua http://<IP_ADDRESS>:5001/proxy/blockchain.atomicals.get_location
Running 10s test @ http://<IP_ADDRESS>:5001/proxy/blockchain.atomicals.get_location
  4 threads and 50 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency    22.83ms   40.51ms 386.31ms   95.88%
    Req/Sec   756.40    144.46     0.88k    92.09%
  29605 requests in 10.03s, 129.34MB read
Requests/sec:   2952.04
Transfer/sec:     12.90MB

compare withe the electrumx-proxy:
➜  ~ wrk -t4 -c50 -d10s -H "Content-Type: application/json" -s post.lua http://<IP_ADDRESS>:8080/proxy/blockchain.atomicals.get_location
Running 10s test @ http://<IP_ADDRESS>:8080/proxy/blockchain.atomicals.get_location
  4 threads and 50 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency   331.75ms  562.39ms   1.81s    82.14%
    Req/Sec     5.15     23.12   168.00     98.08%
  68 requests in 10.11s, 342.06KB read
  Socket errors: connect 0, read 0, write 0, timeout 40
Requests/sec:      6.73
Transfer/sec:     33.85KB

sometimes crashed:
 await connectedClient.close()
                              ^
TypeError: Cannot read properties of null (reading 'close')
    at Timeout._onTimeout )
    at listOnTimeout (node:internal/timers:573:17)
    at processTimers (node:internal/timers:514:7)
[nodemon] app crashed - waiting for file changes before starting...`

To cover all interfaces, I wrote some test scripts to verify whether the service interfaces are consistent with the original ones.
diff_api.sh
#!/bin/bash
#
#
base_url1="http://<IP_ADDRESS>:5001/proxy"
# base_url2="http://<IP_ADDRESS>:8080/proxy"
# base_url2="https://ep.nextdao.xyz/proxy"
base_url2="https://ep.atomicalmarket.com/proxy"

test_proxy_api_response() {
    for line in `cat api.txt`
    do
        echo "---------------------------"
        is_params=$(echo $line | grep "|")
        if [[ "$is_params" != "" ]]
        then
            function=`echo $line | cut -d "|" -f 1`
            params=`echo $line | cut -d "|" -f 2`
            echo "test function: "$function
            echo "test params: "$params
            curl -X POST $base_url1/$function -d '{"params":['${params}']}' -H "Content-Type: application/json" -s | jq -S '.' > res1.json
            curl -X POST $base_url2/$function -d '{"params":['${params}']}' -H "Content-Type: application/json" -s | jq -S '.' > res2.json
        else
            function=$line
            params=""
            echo "test function: "$function
            echo "test params: "$params
            curl -X POST $base_url1/$function -d '{"params":['${params}']}' -H "Content-Type: application/json" -s | jq -S '.' > res1.json
            curl -X POST $base_url2/$function -d '{"params":['${params}']}' -H "Content-Type: application/json" -s | jq -S '.' > res2.json
        fi
        diff -u res1.json res2.json
        rm res1.json res2.json
        # cat res1.json
    done
}

test_proxy_api_response

api.txt
blockchain.block.header|808080,808080
blockchain.block.headers|808080,1,0
blockchain.estimatefee|808080
blockchain.headers.subscribe
blockchain.relayfee
blockchain.scripthash.get_balance|"a0ef4adeb0269311ebc5554115f972f20875f7dc8181133a23f212a78e35b02d"
blockchain.scripthash.get_history|"a0ef4adeb0269311ebc5554115f972f20875f7dc8181133a23f212a78e35b02d"
blockchain.scripthash.get_mempool|"a0ef4adeb0269311ebc5554115f972f20875f7dc8181133a23f212a78e35b02d"
blockchain.scripthash.listunspent|"bda4604bbe5cf1d92320af484a47fd6d922d05263aa565ff643aba473e7ad50d"
blockchain.scripthash.subscribe|"bda4604bbe5cf1d92320af484a47fd6d922d05263aa565ff643aba473e7ad50d"
blockchain.transaction.broadcast|"test broadcast"
blockchain.transaction.get|"9125f03bcf9325f6071762b9aee00b461a0b43ed157c336e2e89e07f47ea6f66",true
blockchain.transaction.get_merkle|"9125f03bcf9325f6071762b9aee00b461a0b43ed157c336e2e89e07f47ea6f66",808080
blockchain.transaction.id_from_pos|823677,1,false
server.add_peer|"test"
server.banner
server.donation_address
server.features
server.ping
server.version
blockchain.atomicals.validate|"test_raw_tx"
blockchain.atomicals.get_ft_balances_scripthash|"e175fc9292efbd4e9c624d1b9a964d7a036d840f3c777f5f6052755d7a1ecd36"
blockchain.atomicals.get_nft_balances_scripthash|"e175fc9292efbd4e9c624d1b9a964d7a036d840f3c777f5f6052755d7a1ecd36"
blockchain.atomicals.listscripthash|"e175fc9292efbd4e9c624d1b9a964d7a036d840f3c777f5f6052755d7a1ecd36"
blockchain.atomicals.list|10,0,false
blockchain.atomicals.get_numbers|10,0,false
blockchain.atomicals.get_block_txs|162591
blockchain.atomicals.dump
blockchain.atomicals.at_location|"404987d39a3568a2327637fee153b2cd02dec4a26b9c1039b7da9745271756e4i0"
blockchain.atomicals.get_location|"56a8702bab3d2405eb9a356fd0725ca112a93a8efd1ecca06c6085e7278f0341i0"
blockchain.atomicals.get|162591
blockchain.atomicals.get_global
blockchain.atomicals.get_state|162591
blockchain.atomicals.get_state_history|162591
blockchain.atomicals.get_events|162591
blockchain.atomicals.get_tx_history|125507
blockchain.atomicals.get_realm_info|"asd",0
blockchain.atomicals.get_by_realm|"asd"
blockchain.atomicals.get_by_subrealm|49720,"test"
blockchain.atomicals.get_by_dmitem|"b6cf2ba7c108839cab15d4e922750bdd616f213051ce3964712d8fe376a0423di0","xx"
blockchain.atomicals.get_by_ticker|"atom"
blockchain.atomicals.get_by_container|"toothy"
blockchain.atomicals.get_by_container_item|"toothy","test"
blockchain.atomicals.get_by_container_item_validate|"toothy","item_name","bitworkc","bitworkr","main_name","main_hash","proof","check_without_sealed"
blockchain.atomicals.get_container_items|"atom",10,0
blockchain.atomicals.get_ft_info|"9125f03bcf9325f6071762b9aee00b461a0b43ed157c336e2e89e07f47ea6f66i0"
blockchain.atomicals.find_tickers|null,1
blockchain.atomicals.find_realms|"9313c76df43017bf2797785331981b3c0463a1b71b87a1c695dcfd3d039f322di0",1
blockchain.atomicals.find_subrealms|null,1
blockchain.atomicals.find_containers|"a",1,10,0

Some test cases may have some issues and might not cover all scenarios. Additional supplementation may be needed.

In Python, writing logs to a file and writing logs to standard output (stdout) both have some impact on performance, although these effects are typically relatively small. But Writing logs to stdout may result in output on the terminal, which can be a relatively slower operation，Especially in scenarios with high disk I/O。
So i add a env LOG_PATH to set logs no longer in stdout, I will fix to print function to logger.

When synchronizing the bitcoin node, API frequent requests to database tables, especially methods like get_location, can easily lead to performance issues. I see that you are addressing this matter, and I'd be happy to assist.

This is fantastic. I will look it over shortly

Quick question, this works in harmony with starting wss/tcp other services and they all work in parallell just fine, correct?

When synchronizing the bitcoin node, API frequent requests to database tables, especially methods like get_location, can easily lead to performance issues. I see that you are addressing this matter, and I'd be happy to assist.

This is an astute observation. yes let's talk about this improvement after.

Quick question, this works in harmony with starting wss/tcp other services and they all work in parallell just fine, correct?快速提问，这与启动 wss/tcp 其他服务是一致的，它们都并行工作，对吗？

Yes, it runs completely in parallel with others. However, I recommend enabling additional services as a fallback, such as TCP. This can serve as the underlying service for HTTP when not all methods are currently covered.

Looking great overall. 整体看起来很棒。
Question, how would session throttling work? Does it reuse the existing session throttling underneath, or does this bypass all of it?问，会话限制如何工作？它是否重用下面的现有会话限制，还是绕过所有这些限制？

The HTTP server has been entirely rewritten using the aiohttp web framework, forming a standard HTTP site. Performance tests conducted with wrk indicate a significant improvement in performance compared to the original TCP server. To avoid impacting other services and existing code, I opted not to reuse the original methods but instead developed a new set of code. This has resulted in a substantial performance boost.


Added: support to read multiple StreamingPropertyValues with on query

I just pushed a fix to the Kryo test that was causing Travis to fail. I'll check back in a bit to make sure Travis is passing.


security

Description
people set this up and leave it exposed. which then leaks apikeys and things that can be used to easily get username/passwords or other info that can then be used to access the services.  you should look at other apps where they arent a simple bookmark but instead send a id request to the backend which in turn does the redirect so nothing is exposed. also downloading the config on a driveby is an easy way to siphon peoples apikeys..
Please tick the boxes

[X] You've read the docs
[X] You've checked for duplicate issues

This is already addressed in #259 , but at the moment I don't really know how to hide the API key from the config when the user gets it from the server

at the very least a password system (https://github.com/ajnart/homarr/issues/302) or a user account system could be enabled by default to restrict access to the page

at the very least a password system (#302) or a user account system could be enabled by default to restrict access to the page

Stick it behind Authelia or Authentik?  A whole user auth system seems like a waste of time when solutions exist.

people are dumb, they leave their apps exposed and then this bookmark landing page makes it even more trivial to find it. ive seen some people stealing credentials and access to peoples stuff left open, and with this landing page exposing apikeys and such, makes it easy to steal some info even if they do use auth on the apps. since you can get info out of the apps with the apikeys.  wont go into details, but i would highly advise to not use this app until security is put in to place (end user or the app) but knowing how end users are.. i wouldnt rely on it.

people are dumb, they leave their apps exposed and then this bookmark landing page makes it even more trivial to find it. ive seen some people stealing credentials and access to peoples stuff left open, and with this landing page exposing apikeys and such, makes it easy to steal some info even if they do use auth on the apps. since you can get info out of the apps with the apikeys.  wont go into details, but i would highly advise to not use this app until security is put in to place (end user or the app) but knowing how end users are.. i wouldnt rely on it.

There is a password authetification within homarr, if you enable it, you will need a password to access the dashboard.
It will not be enabled by default as you will have the ability to make configs read only in the future.


chore: more app linting

Not sure how this was missed from my initial PR...maybe due to the merge conflict resolution.

For contributor use:

[ ] Targeted PR against correct branch (see CONTRIBUTING.md)
[ ] Updated relevant documentation (docs/) or specification (x/<module>/spec/)
[ ] Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
[ ] Re-reviewed Files changed in the Github PR explorer

Codecov Report

Merging #1180 (145a1fb) into main (271485d) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1180   +/-   ##
=======================================
  Coverage   20.70%   20.70%
=======================================
  Files         194      194
  Lines       25259    25259
=======================================
  Hits         5231     5231
  Misses      19069    19069
  Partials      959      959

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 271485d...145a1fb. Read the comment docs.


Should include a limit of reports on a node generated by json_file

One of my nodes has a small disk, and I got an alert about the disk almost filling up. While investigating larger sources, I noticed that the directory /var/chef/reports isn't cleaned up.
For now, I'm using the following to delete all the reports older than 7 days:
one_week_ago = Time.now - 60*60*24*7
# There are a bunch of old reports generated by Chef's JSON file handler. Clean
# up all of them older than 1 week
Dir['/var/chef/reports/*.json'].each do |path|
  path_ctime = ::File.stat(path).ctime
  file path do
    action :delete
    backup false
    only_if { path_ctime < one_week_ago }
  end

  # break early so we don't call stat() on all the recent files, small
  # optimization
  break if path_ctime > one_week_ago
end

that looks like example code that probably shouldn't be used in production.  i'd accept either pull requests to fix or pull requests to remove it and/or just clarify the documentation.  there appears to be no interest in maintaining it -- please open a PR to fix it if you disagree.


chore: Updated appengine samples to 1.14

Yes, every one was deployed and worked.
On Tue, Sep 29, 2020, 5:04 AM Tyler Bui-Palsulich<EMAIL_ADDRESS>wrote:

@tbpg requested changes on this pull request.
I don't expect any problems, but did you happen to deploy these to go114
to confirm they work?
In appengine/go11x/cloudsql/go.mod
https://github.com/GoogleCloudPlatform/golang-samples/pull/1733#discussion_r496660846
:

@@ -1,5 +1,5 @@
module cloudsql

-go 1.11
The go.mod specifies the minimum version of Go needed to run the code. So,
we may want to keep this at 1.11.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/GoogleCloudPlatform/golang-samples/pull/1733#pullrequestreview-498394617,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAT6N6HNVALEL6PJYPE4DLSIHENLANCNFSM4R5AUTQA
.


TypeError: Failed to execute 'addColorStop' on 'CanvasGradient'

Bug
We are using the component https://paramquery.com/pro/grid in our application it cause a exception when I try to create a canvas.
Uncaught (in promise) TypeError: Failed to execute 'addColorStop' on 'CanvasGradient': The provided double value is non-finite.
    at canvas-renderer.ts:576
    at Array.forEach (<anonymous>)
    at canvas-renderer.ts:575
    at step (tslib.es6.js:97)
    at Object.next (tslib.es6.js:78)
    at step (tslib.es6.js:82)
    at Object.next (tslib.es6.js:78)
    at tslib.es6.js:71
    at new Promise (<anonymous>)
    at __awaiter (tslib.es6.js:67)

Reproduce Bug

Open https://paramquery.com/pro/grid
Open Console
Enter following code (line by line)

//Add html2canvas functionality
var head= document.getElementsByTagName('head')[0];var script= document.createElement('script');script.type= 'text/javascript';script.src= 'https://html2canvas.hertzen.com/dist/html2canvas.js';head.appendChild(script);

//create canvas
html2canvas(document.querySelector('body')).then(canvas => {console.log('works')});

Specifications:

Browser & version: Chrome (latest) && Firefox (latest)
Operating system: Windows

Having the same issue with PQGrid.

Having the same issue.

Having same issue

Having same issue

Having same issue

did anyone find solution?

I was having this error, in a different application of canvas and JS, I found out that value which is getting passed to addColorStop method wad NAN at some point. So I checked and reset the value to 0 if it was NAN
let ctx = canvas.getContext("2d");
ctx.clearRect(0, 0, canvas.width, canvas.height);

if(!percent){
	percent = 0
}

let my_gradient = ctx.createLinearGradient(0, 0, canvas.width, 0);
my_gradient.addColorStop(percent/100, "rgba(0,0,0,0.1)");
my_gradient.addColorStop(percent/100, EventVars.canvas_bg);
ctx.fillStyle = my_gradient;
ctx.fillRect(0, 0, canvas.width, canvas.height);

same issue

Having the same issue, any solution?

In my case, it had to do with the fact the Canvas was really small, for example, it had width and height of 1 pixel, and also had border of 1. This messed up some of the logic in html2canvas - I think it gets a lineLength of 0 which results in NaN value which leads to this error.
In order to fix this, go to html2canvas.js file in your node modules, search for "createLinearGradient". A line under it, change this:
processColorStops(backgroundImage.stops, lineLength).forEach(function (colorStop) {
To this:
processColorStops(backgroundImage.stops, lineLength || 1).forEach(function (colorStop) {
Make sure to save the changes with patch-package so it persists after npm install.

@Dror-Bar I agree with you. Would you make a PR about it?

Thanks @Dror-Bar. The solution works for  me.

While waiting for this project to integrate the awaiting PRs, we released our fork that integrates this solution. You can use it with npm i @cantoo/html2canvas.

While waiting for this project to integrate the awaiting PRs, we released our fork that integrates this solution. You can use it with npm i @cantoo/html2canvas.

This i working for me., Can i go production with this ?


[Enhancement]: Adding hover effect in "start" & "instructions" button.

Do you want to have the enhancement of existing game ? 😀 Describe yourself..
Game enhancement - I would like to add hover effect in start and instruction button to make it more attractive and user friendly.
Describe the solution you'd like
Solution steps - I will use hover effect under CSS code by adding classes and then giving hover effect to that class.
Select program in which you are contributing
No response
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Nice idea. Can I see a demo screenshot?

i can add an interesting and immersive hover effect to the buttons

i am interested and can add a  hover effect that will enhance the experience of the game.

@HarshitGupta1511  Please assign this task to me I really wanna contribute in ggsoc'24.
I have good knowledge of all this

Please assign this issue to me sir.

If you have any doubt you can directly send message on our discord (https://discord.gg/rZb46cCMmK), we have created separate channels for all projects...
Thank you :)

i want to work on this project, kindly assign this issue to me

My name is Harshwardhan Singh Panwar and I'm a contributor at GSSOC'24 .
idea:- By incorporating div CSS and animations, I can design the UI in an interactive manner, making it visually appealing.
Please assign this task to me, GSSOC'24 .

I would love to do it, plz assign it to me.

I want to work on this issue by using CSS. Kindly assign me this issue.


BUG: Data is no longer returned from API

The API calls no longer work, and no data or errors are returned. Seems to be a upstream undocumented change causing this. Custom API calls reveal that range_type relative works fine, but not absolute as used in this client. Solution is likely to pass user_timezone as null/none to return data.

Closed by https://github.com/rhkarls/stevens-connect-client/commit/be7dbcdbecafc5df735208e66d8fd3fd26cb9b22


Improve mouse input handling

Keyboard input may also need reconsideration... Closes #1

"Add node.remove" is unrelated… shouldn't be here

bug: Seems richLabel got kinda broken

keyboardImpl could return a bool — true if handled, false if not, and could redirect focus to ancestors if unhandled

bug: Seems richLabel got kinda broken

it's related to the remove PR #6; "fixing" now, but the real solution would come with #4 to properly calculate text size.

keyboardImpl could return a bool — true if handled, false if not, and could redirect focus to ancestors if unhandled

Added the bool thing, but redirecting to ancestors isn't possible yet because Glui's tree is too loosely defined. Containers should be reworked.

Added GluiSpace since GluiFrame now takes all input, even when transparent, breaking overlays with GluiOnionFrame which I used in SamerionClient

To consider: GluiOnionSpace and possibly deprecating GluiOnionFrame


Run pagerank error using code in tutorial: final link failed: Bad value

when try to run pagerank using code below, reporting:
unrecognized relocation(0x2a) in section '.text'

import graphscope
graphscope.set_option(show_log=False)
from graphscope.dataset import load_p2p_network
graph = load_p2p_network(directed=False)
simple_graph = graph.project(vertices={"host": []}, edges={"connect": ["dist"]})
from graphscope import pagerank
pr_context = pagerank(simple_graph, delta=0.85, max_round=10)

graphscope version:0.28
os: centos 7u4
gcc : 9.3
cmake: 3.17
The office environment is on the intranet，so error is just in pictures ：

@DancyHuang Thanks for reporting this problem. Judging from the several screenshots posted in the DingTalk group, one possible reason is that gcc9 and python3.8 was installed manually instead of through the package manager, which caused a Link problem: Bad value when compiling the PageRank application.

Could you please provide us more details about the installation of gcc and python3, or you can use our development image(based centos:7) to run GraphScope.
$ docker run --rm -it registry.cn-hongkong.aliyuncs.com/graphscope/graphscope-dev:wheel-v0.22.0 /bin/bash
$ [inside the container] $ unset GRAPHSCOPE_HOME && pip3 install graphscope
# then enjoy your time

@lidongze0629  yes, as you said , When I was installing GCC, I configured the directory incorrectly which resulted in ld not being able to find it. After dealing with this issue，I tested the installation by compiling a simple C program, confirming that the problem had been resolved and GCC was functioning as expected.
The pageRank run ok now .
Thanks and Best wishes!


Adding University of Colorado - Boulder earth analytics certificate

hey @ryanswanstrom  i'm adding a new certificate that is launching online this summer! Please let me know if you need my contribution in a different format / etc! Thank you for curating this information.
our courses also are being posted here: https://earthdatascience.org in the spirit of open education.
cheers!
Leah

Thanks @lwasser

thank you !! @ryanswanstrom !!


housekeeping: Add Badges

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Added codecov, azure pipelines and nuget badges.
What is the current behavior? (You can also link to an open issue here)
There are no badges in README.md now!
What is the new behavior (if this is a feature change)?
Badges are present.
What might this PR break?
Nothing.

Going to merge this one myself in a minute in a separate PR, just due to some new stuff.


yor: init at 0.1.177

Description of changes

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Decided to disable tests for now, failing in arm darwin:
yor> please make sure you have .so file in ../../../tests/yor_plugins/example. if not, run the following command:
yor> go build -gcflags="all=-N -l" -buildmode=plugin -o ../../../tests/yor_plugins/example/extra_tags.so ../../../tests/yor_plugins/example/*.go
yor> please make sure you have .so file in ../../../tests/yor_plugins/tag_group_example. if not, run the following command:
yor> go build -gcflags="all=-N -l" -buildmode=plugin -o ../../../tests/yor_plugins/tag_group_example/extra_tag_groups.so ../../../tests/yor_plugins/tag_group_example/*.go
yor> --- FAIL: Test_loadExternalTags (0.00s)
yor>     --- FAIL: Test_loadExternalTags/load_tags_plugins (0.00s)
yor>         runner_test.go:39:
yor>                    Error Trace:    runner_test.go:39
yor>                    Error:          Not equal:
yor>                                    expected: 2
yor>                                    actual  : 0
yor>                    Test:           Test_loadExternalTags/load_tags_plugins
yor>     --- FAIL: Test_loadExternalTags/load_tagGroups_plugins (0.00s)
yor>         runner_test.go:71:
yor>                    Error Trace:    runner_test.go:71
yor>                    Error:          Not equal:
yor>                                    expected: 1
yor>                                    actual  : 0
yor>                    Test:           Test_loadExternalTags/load_tagGroups_plugins
yor> panic: runtime error: index out of range [0] with length 0 [recovered]
yor>    panic: runtime error: index out of range [0] with length 0
yor> goroutine 8 [running]:
yor> testing.tRunner.func1.2({0x1064237c0, 0x140000565a0})
yor>    /nix/store/p8xaj4w8cjxc4js2pm56k2r3vcws92rq-go-1.20.3/share/go/src/testing/testing.go:1526 +0x1c8
yor> testing.tRunner.func1()
yor>    /nix/store/p8xaj4w8cjxc4js2pm56k2r3vcws92rq-go-1.20.3/share/go/src/testing/testing.go:1529 +0x384
yor> panic({0x1064237c0, 0x140000565a0})
yor>    /nix/store/p8xaj4w8cjxc4js2pm56k2r3vcws92rq-go-1.20.3/share/go/src/runtime/panic.go:884 +0x204
yor> github.com/bridgecrewio/yor/src/common/runner.Test_loadExternalTags.func2(0x140006031e0)
yor>    /private/tmp/nix-build-yor-0.1.177.drv-0/source/src/common/runner/runner_test.go:72 +0x494
yor> testing.tRunner(0x140006031e0, 0x1066ebca0)
yor>    /nix/store/p8xaj4w8cjxc4js2pm56k2r3vcws92rq-go-1.20.3/share/go/src/testing/testing.go:1576 +0x10c
yor> created by testing.(*T).Run
yor>    /nix/store/p8xaj4w8cjxc4js2pm56k2r3vcws92rq-go-1.20.3/share/go/src/testing/testing.go:1629 +0x368
yor> FAIL       github.com/bridgecrewio/yor/src/common/runner   0.435s
yor> FAIL
error: builder for '/nix/store/8n5l76xy77b92dil578mfbwyzcmq8dqf-yor-0.1.177.drv' failed with exit code 1;
       last 10 log lines:
       > panic({0x1064237c0, 0x140000565a0})
       >       /nix/store/p8xaj4w8cjxc4js2pm56k2r3vcws92rq-go-1.20.3/share/go/src/runtime/panic.go:884 +0x204
       > github.com/bridgecrewio/yor/src/common/runner.Test_loadExternalTags.func2(0x140006031e0)
       >       /private/tmp/nix-build-yor-0.1.177.drv-0/source/src/common/runner/runner_test.go:72 +0x494
       > testing.tRunner(0x140006031e0, 0x1066ebca0)
       >        /nix/store/p8xaj4w8cjxc4js2pm56k2r3vcws92rq-go-1.20.3/share/go/src/testing/testing.go:1576 +0x10c
       > created by testing.(*T).Run
       >         /nix/store/p8xaj4w8cjxc4js2pm56k2r3vcws92rq-go-1.20.3/share/go/src/testing/testing.go:1629 +0x368
       > FAIL github.com/bridgecrewio/yor/src/common/runner   0.435s
       > FAIL

and on hetzner amd:
yor> --- PASS: TestOutputCrasher (0.00s)
yor> === RUN   TestTagGroupCrasher
yor> --- PASS: TestTagGroupCrasher (0.00s)
yor> === RUN   TestListTagsGroupCrasher
yor> --- PASS: TestListTagsGroupCrasher (0.00s)
yor> PASS
yor> ok         github.com/bridgecrewio/yor/src/common/clioptions       0.013s
yor> === RUN   TestNewGitService
yor> === RUN   TestNewGitService/Get_correct_organization_and_repo_name
yor> 2023/05/23 12:43:40 Get "https://github.com/bridgecrewio/terragoat.git/info/refs?service=git-upload-pack": dial tcp: lookup github.com on [::1]:53: read udp [::1]:43916->[::1]:53: read: connection refused
yor> FAIL       github.com/bridgecrewio/yor/src/common/gitservice       0.015s
yor> FAIL
error: builder for '/nix/store/qrab1m6hi858l96mzimwvsrjqsjzh1yp-yor-0.1.177.drv' failed with exit code 1;
       last 10 log lines:
       > --- PASS: TestTagGroupCrasher (0.00s)
       > === RUN   TestListTagsGroupCrasher
       > --- PASS: TestListTagsGroupCrasher (0.00s)
       > PASS
       > ok    github.com/bridgecrewio/yor/src/common/clioptions       0.013s
       > === RUN   TestNewGitService
       > === RUN   TestNewGitService/Get_correct_organization_and_repo_name
       > 2023/05/23 12:43:40 Get "https://github.com/bridgecrewio/terragoat.git/info/refs?service=git-upload-pack": dial tcp: lookup github.com on [::1]:53: read udp [::1]:43916->[::1]:53: read: connection refused
       > FAIL     github.com/bridgecrewio/yor/src/common/gitservice       0.015s
       > FAIL

This latest looks like a firewall or networking issue, though I don't have access to firewall management, can't proceed further.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/2283


[SPIKE] API v1.1 defer confirm deferral of applications

Link to Trello card
https://trello.com/c/6JWqXu6i/4663-🏈-api-v11-defer-confirm-deferral-of-applications
Things to check

[ ] If the code removes any existing feature flags, a data migration has also been added to delete the entry from the database
[ ] This code does not rely on migrations in the same Pull Request
[ ] If this code includes a migration adding or changing columns, it also backfills existing records for consistency
[ ] API release notes have been updated if necessary
[ ] Required environment variables have been updated added to the Azure KeyVault

can we break up this pr into defer and confirm please, so it's easier to review each one in isolation?

@cwrw I'm in the process of doing that. Already opened two PRs and working through refactoring the existing services before implementing Defer and ConfirmDeferred offer.


[stable/sentry] How does one set config.configYml

Not really a bug/issue, more like a question:
How does one, when using an answers file, pass along the configYml?
I tried the following:
config.configYml: |
  ---
  system.admin-email<EMAIL_ADDRESS>
But this causes the Sentry-workers to crash and halts the deployment of the chart

... please go away stale bot...


Transforms are not applied to the generated metadata events from profiling

Describe the bug
Transforms applied to an event are not applied to the events from the profiling stage.
To Reproduce
We have some custom transform that applies some update on the URN of the entity. In this case, some enrichment on the dataPlatform:
transformers:
  - type: "adevinta_datahub_transforms.add_custom_dataplatform.AddCustomDataplatform"
    config:
      dataPlatform: "redshift@xxxxx"

This is the event generated for the entity (note the URN: 'urn:li:dataset:(urn:li:dataPlatform:redshift@xxxxx,dwh_sch.dm.cognition_metrics,PROD)):
RecordEnvelope(record=MetadataChangeEventClass({'auditHeader': None, 'proposedSnapshot': DatasetSnapshotClass({'urn': 'urn:li:dataset:(urn:li:dataPlatform:redshift@xxxxx,dwh_sch.dm.cognition_metrics,PROD)', ...., metadata={'workunit_id': 'dwh_sch.dm.cognition_metrics'})

whereas this is the event generated for the profiling stage (note the URN: urn:li:dataset:(urn:li:dataPlatform:redshift,dwh_sch.dm.cognition_metrics,PROD) where the URN misses the transform):
RecordEnvelope(record=MetadataChangeProposalWrapper(entityType='dataset', changeType='UPSERT', entityUrn='urn:li:dataset:(urn:li:dataPlatform:redshift,dwh_sch.dm.cognition_metrics,PROD)', entityKeyAspect=None, auditHeader=None, aspectName='datasetProfile', ...., metadata={'workunit_id': 'profile-dwh_sch.dm.cognition_metrics'})

This results in duplicated entities: one with the correct dataPlatform and another one with the incorrect one.
The same issue happens with other simple transforms such as simple_add_dataset_ownership. The event from the profiling  stage misses the additional owners. In this case, maybe this was not noted before because as soon as both the initial event and the one from the profiling stage have the same URN, everything is fine. However, as soon as one of them diverges, all differences are noted.
Expected behavior
All transforms applied to the initial event are also applied to the event resulting from the profiling stage.
Maybe, the problem is this decoupling and a single event including the profiling when enabled is the way to avoid these events being out of sync.
Additional context
This is running v 0.8.12.

Hi @sgomezvillamor, I was having a look at this to better understand what is happening and to try to fix this bug if possible.
I now believe that the unexpected behaviour is (mostly) due to the fact that we are bending the rules by modifying the urn of an event.
There is ofc also a more technical explanation to why this happens, and it is that the event generated by the profiling is not of type MetadataChangeEventClass but of type MetadataChangeProposalWrapper (I learned here the rationale behind this distinction).
In our transformer, this method:
    def transform(
        self, record_envelopes: Iterable[RecordEnvelope]
    ) -> Iterable[RecordEnvelope]:

        # loop over envelopes
        for envelope in record_envelopes:
            if isinstance(envelope.record, MetadataChangeEventClass):
                envelope.record = self.transform_one(envelope.record)
            yield envelope

by the means of this line:
if isinstance(envelope.record, MetadataChangeEventClass)
we are explicitly skipping those event types for the transformation (btw a similar behaviour affects the other transformers as well, but I'm not sure if it could create potential problems, especially in the cases when the aspect we are changing is the one affected by the transformation. Could it have resulted in a bug if the transformation was mutating the DatasetProfile aspect for example?).
To be honest, in this case, I don't think this is either a problem for simple_add_dataset_ownership, because the MetadataChangeProposal is encapsulating a single aspect (to reinforce the concept of an aspect as an atomic write domain I believe). So it simply shouldn't affect the original entity neither be relevant for this transformation.
I hope this can help clarify the issue :)

If I have understood correctly, you mean we could fix by additionally including MetadataChangeProposalWrapper in the loop of events in our transform. Is that?

correct, MetadataChangeProposalWrapper and MetadataChangeProposal. However the field is called differently in there and they do not form part of the same object hierarchy (read as: we need to treat the MetadataChangeEvent and MetadataChangeProposal differently)

Since modifying the URN may be the root cause of all this and if there are good reasons to forbid changes in the URN, is this something that could or should be prevented in the transforms?

This is surely an interesting question. I also wonder if having two different and unrelated kinds of events (MetadataChangeEvent and MetadataChangeProposal) could also be a source of potential bugs for more straightforward transformations that want to modify those aspects when the ingestors mix the two.

@shirshanka that sounds great! Thanks for the heads up.

Closing as this has been fixed.


[Icon] - Cornered icon in icon header

Steps to Reproduce

Create Icon header
Use icon group (i.e. <i class="icons">...</i>)
One icon has 'corner' class

Expected
Icon with 'corner' class should be displayed smaller and in the corner.
Result
Icon with 'corner' class is displayed in full-size and not cornered
Testcase
http://jsfiddle.net/ubxezx0b/1/

It would be good to say that you are using the "next" branch. I'd guess it's not ported to next yet?

Sorry about the slow response.
I'm not sure what you mean by "next" branch? the version i'm using on my project is 2.1.3, and its also occuring in the version jsfiddle is set up to use which is 2.1.5

Blind me! You surely are on 2.1.5. Sorry. Yeah, this should be looked into!

I kind of knew this when adding icon groups. The reality is none of the other components are designed to handle icons > .icon case.

As work around to this issue I added following line of css
.ui.icon.header i.icons .corner.icon {
font-size: 1.5em !important;
}
It looks great on my side. You can adjust corner icon size.
Regards,
Kashyap

This issue is duplicated by https://github.com/Semantic-Org/Semantic-UI/issues/6525 and closed in https://github.com/Semantic-Org/Semantic-UI/issues/3281


Gripper model configuration

Hi Bowen,
Thanks for your gerat work! I want to change your robotiq Hande gripper to Fanka Panda gripper in my project. Your gripper models are in urdf/robotiq_hande and there are many model and configuration files. How and where do you get this files and could you please give me a hint about how to configure the Franka Panda gripper? Thank your ahead.

Those are the meshes of the gripper (.obj files), or the params describing the opening, width, depth of the gripper. Please refer to PointNetGPD on setting the params. I happen to have the panda franka gripper configured. Feel free to use it.
Panda.zip


Scrollview + label doesn't align right (margin offset doesn't work)

I'm having a scrollview and in that scroll 1 uilabel. Now I want the scrollview fill the whole screen but the label must have offsets so it doesn't stick to the egdes of the screen.
How I do this right now is like this:
self.view.backgroundColor = [UIColor whiteColor];
_scrollView = [[UIScrollView alloc] init];
_scrollView.backgroundColor = [UIColor whiteColor];

[self.view addSubview:self.scrollView];

[self.scrollView mas_makeConstraints:^(MASConstraintMaker *make) {
    make.width.and.height.equalTo(self.view);
    make.center.equalTo(self.view);
}];

_label = [[UILabel alloc] init];
_label.numberOfLines = 0;
_label.lineBreakMode = NSLineBreakByWordWrapping;

[self.scrollView addSubview:self.label];

[_label mas_makeConstraints:^(MASConstraintMaker *make) {
    make.edges.equalTo(self.scrollView).offset(15);
    make.width.equalTo(self.scrollView).offset(-15);
}];

The constraints off my _label seems weird. But I tried so many things and nothing works. I just want that my label has an offset of 15 all sides. How can I fix this?

@donpironet scroll views are funky you never ever want to constrain something to the width or height of a scroll view. Rather constrain it to the scroll view's superview or something else inside the scroll view.
make.width.equalTo(self.view).offset(-30);
make.height.equalTo(self.view).offset(-30);
make.top.left.equalTo(self.scrollView).offset(15.0);
make.bottom.right.equalTo(self.scrollView).offset(-15.0);

Hope this helps.


ngMessages documentation is hard to follow

Opening issue for imminent PR

I've left some comments in your PR. I'll close this issue since it's not very useful without a description of the problems the docs have.


Chicago Crime Rate

Chicago Crime Rate Dataset prediction that uses Prophet Time Series to predict the trend.

mention issue number here

mention issue number here

It's issue numbers #250


Google's DNS name cannot be used as default Nameservers

Is this a BUG REPORT or FEATURE REQUEST?:
/kind bug
What happened:
Google's DNS domain names won't resolve if there is no entries in /etc/resolv.conf
Relevant lines of code here
What you expected to happen:
Google's DNS must work for resolving, so it should be using IP addresses.
How to reproduce it (as minimally and precisely as possible):
Haven't tested it.
Anything else we need to know?:
Environment:

Kubernetes version (use kubectl version): all
Cloud provider or hardware configuration**: any
Install tools: N/A
Others: N/A

I'm curious if there could be any reasons why cert-manager doesn't hardcode <IP_ADDRESS> and <IP_ADDRESS>.

Similarly I'm curious if cert-manager should use a multi-step resolution logic like this:

Try to resolve using kube-dns --> success: return; fail: step 2
Try to resolve using google-public-dns-a.google.com:53 (and -b) --->  success: return; fail: step 3
Try to resolve using <IP_ADDRESS>:53 (and <IP_ADDRESS>:53) --->  success: return; fail: call it "failed"

k8s is adding per-Pod DNS controls for name servers, which is the right way to handle this I think? So we don't need sophisticated solutions right now, if kube-dns or fixed IP defaults will work.

@whereisaaron I'm not sure how it is related. I think the DNS resolver should just try a few methods, ordered from cheaper/less-complex to expensive/more-complex. It should be trivial to implement.

With the dnsConfig option you'll be able to specify custom resolve.conf settings for cert-manger to use, that you can optionally combine with dnsPolicy strategies. I was thinking that would be sufficient? But maybe there are there more complex use cases @ahmetb?


Support include/exclude arguments with __contains__

In pydantic v1, we allow AbstractSets to be used as the argument for include or exclude. (See tests.test_edge_cases.test_include_exclude_defaults.)
This change makes those tests pass.
However, note that in v1, you had to be an AbstractSet subclass, not just implement __contains__. With this change, anything that implements __contains__ will work, including list. My thought is that we can implement this here but still keep the type annotation in python as set | dict | None (or whatever it is, and possibly adding AbstractSet if appropriate) to discourage the use of things that don't implement __contains__ in a performant way.
I added an empty check for .is_none() at the top of each pass to make it more performant in the normal case of getting None. Maybe I'm misunderstanding how pyo3 works; we can go back to the way it was if that's preferable, it just looked to me like the original approach would result in the py_key.to_object(include.py()) getting called on the "happy path" of having include is None (and similar for exclude), which seemed like it could cause a performance regression.
It seems to me the only thing that is slower with this change would be the case where you are going to raise the TypeError, which I don't think should be performance sensitive anyway.
(I am also 100% happy to close this PR if the behavior isn't desired, or there is a plan to rework include/exclude, especially if there's something better we could do for checking if the object is a subclass of AbstractSet or similar. This approach seemed like it would be simpler and faster than checking against AbstractSet, which is why I thought it might be worthwhile.)
NOTE: There is also a fix to a typo in the error messages in this PR that should probably be merged even if we drop the other changes.

add a test for
class MyThing:
    def __contains__(self, thinig):
        ....

Codecov Report

Merging #409 (b1eace0) into main (11bd0c7) will increase coverage by 0.02%.
The diff coverage is 95.45%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #409      +/-   ##
==========================================
+ Coverage   95.31%   95.33%   +0.02%
==========================================
  Files          90       90
  Lines       10564    10590      +26
  Branches        8       10       +2
==========================================
+ Hits        10069    10096      +27
+ Misses        495      494       -1

Impacted Files
Coverage Δ

src/lib.rs
100.00% <ø> (ø)

src/serializers/filter.rs
95.08% <95.45%> (+0.74%)
:arrow_up:

pydantic_core/__init__.py
100.00% <0.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 11bd0c7...b1eace0. Read the comment docs.


Multiple Line Search and Replace in Project

For many years I really loved jEdit. But Brackets is even better! I just really miss the power of jEdits search and replace features!
Will be grateful for any enhancement - especially replacing multiple line constructs in all files from a certain type in a certain folder...
Really handy for editing navigation menus in non-dynamic sites and prototypes!

@MarcHaunschild

Right-click the folder and choose Replace In...
Open the filter drop down and exclude any file types you don't want to modify
Click the ".*" button and enter a regular expression -- use "\s" to match any whitespace (including newlines) or use "\n" to match newlines specifically (regardless of your platform)
Enter your replacement text in the second field
Click Replace... to see a list of all matches and deselect any you don't want to replace, then confirm the replacement operation to actually modify the files

I'm sorry, but this is insane
It's still 2017, and this issue is still there.


Gradio link goes No interface is running right now. (colab still running)

Everything is up to date.
The link was usable for around 3-4 hours before going  No interface is running right now.

The colab still running and  the state is busy. So, it shouldn't be colab getting disconnected.
This happen if it was open for 3-4 hours. (No image generate but the colab still running)

Testing again. I'll let it idle and see if the link stops working.

it's an issue with gradio probably

Yes, it's a gradio problem. they have some outages right now.


Stop building shared libs as it hangs on Solaris

Since this is currently causing significant delays in the Solaris/SPARC pipelines and this Slack discussion did not provide a full conclusion as to whether it was needed (I've seen people hit issues with it on ARM builds as well in the past) we should remove this stage unless we can determine whether it is really required for something (metadata is all I can see that might utilise it but if the only reason for the shared lib is to use parseVersion during the build then we should perhaps come up with an alternate method)
VPC run to check across build environments
Signed-off-by: Stewart X Addison<EMAIL_ADDRESS>

Adjusted following comment from @karianna saying we should only do this for the platform siginificantly affected by it.
Verifying at https://ci.adoptopenjdk.net/view/work-in-progress/job/SXA-sparcJDK8/23
Also following comments I'm running https://ci.adoptopenjdk.net/view/work-in-progress/job/SXA-sparcJDK8/24 on another agent running on a new, clean user ID on the same build machine


Fix typo in resource-validation doc

@bjee19 I'm going to merge this in in order to start the release process.


Map team view

Currently, maps show all team's activity. Maybe good?
But should there be a way to limit it to the current team?

Currently the layers button has an "Active project fields" checkbox.  Add a "Show Only Team Fields" to the map and for now default it to false.  When checked it would filter out fields that are part of projects in other teams.


delete the city objects

Hi,
I have imported a wrong city object into the DB, can I delete it in the importer/exporter?
Thank you!

Well, yes and no :-)
No, because the grahpical user interface of the Importer/Exporter has no user dialog for deleting objects.
Yes, because the command-line interface of the Importer/Exporter has full support for deleting objects. Read more in our online documentation
There are also powerful database-side delete scripts that you can use. You can find them in the citydb schema (PostgreSQL) and they are named del_*. Read more in our online documentation. The CLI of the Importer/Exporter also uses these scripts in the background.


Columns are not updated from server

Hello,
I want to use ng2-smart table. I am facing this issue that I want to set columns from server request. After server call I set the columns inside the settings. I followed the same pattern of columns. It updates the value of columns but it doesnot update dom. Its refresh method just belong to the source. please guide me

Hi @Hasnain-Bukhari ,
I have the same issue did you found a solution? It is basically I call something from the server and I want that value inside my column. That is the result right?