DS4 don't connecting. Actually not in steam or preferred devices

Tried to connect via BT and USB, win10 see ds4 as wireless and successfully recognize it, but controller doesn't appears in steam big picture controller configuration window or in Devices and Printers > RMB > Game controller settings > Advanced > Preferred device pop-list
Also I tried enable verbose log in ds4windows settings > Device Options Enable verbose log, stop and start server and controller's VID and PID is 0x0000
Tried connect controller to another pc and it works fine in both steam and ds4windows
Any suggestions or help? Tutorials from google and yt also no help me.

It's a little bit tricky paring DS4 with Windows. What am I did was first connect DS4 via USB and Windows installed the OEM driver for DS4 controller (it works perfectly and I see them in devices) . Then I use this tutorial for pair DS4 with my laptop via BT https://www.youtube.com/watch?v=N7DUV4T8744 . Then controller is stable and not auto disconnected :) .


PR Request: Create seperate synchronous and asynchronous APIs

PR request from Alan:

Since HttpURLConnection is inherently synchronous we should create a separate implementation for this API instead of blocking the asynchronous API. But to help code reuse we can create helper methods that can be shared across both the asynchronous and synchronous API.

PR review can be found here.

Partial completion by 34a278a? Have got sendSync no longer just being sendAsync().block().
I'm asking for further clarity from Alan here: https://github.com/Azure/azure-sdk-for-java/pull/36626#discussion_r1346934548

https://github.com/Azure/azure-sdk-for-java/pull/36626#discussion_r1347603010
Confirmed that we're not needing to make another class. 34a278a  has solved this issue.

Reopening as the branch wasn't merged in time. The content of sendRequest() has now changed to a point where this branch cannot be safely merged.


libkb: fix for logUI recursive log explosion

make an UnforwardedLogger class, which ignores the external logger handler;
pass this to RPC instead of the standard logger.
Contextify the RPCLoggingFactory

Don't make any interface changes; this shouldn't affect other parts of the code
like KBFS.

r? @oconnor663

Looks good, if you're ok with all the questions above.

Thanks!  I hope we never see the recursive log explosion of death again!


Interest in Adding Automated Testing via GitHub Actions?

If there is interest and willingness to have automated testing on pull requests, I could put in a PR that adds this capability via GitHub Actions.

@jspeed-meyers - Yes - that would be helpful.  I can the action if needed.


can not complete request.==>

mvn compile succese

i think i know why!
the plugin miss servlet in pom

i have fix it by delete ~/.javacomplete/classpath/pom.xml
and let the plugin reload the pom.xml in my project ,and the issure is gone

https://github.com/artur-shaik/vim-javacomplete2/issues/76
thats why i suggest use ProjectName_pom.xml instade of pom.xml
alse could add something to this pom.show to show whether the pom.xml has been changed,if it has been changed ,let the plugin reload the project's pom.xml

Script checks for modification date, and if file have been changed than file replaced.
Do you set pom path by hand, or it auto detected?

no,i just use vim root and ,the JC2 load my WEBAPP/pom.xml and translate it into ~/.javacomplete/classpath/pom.xml,i think it should translate into ~/.javacomplete/classpath/WEBAPP_pom.xml!
so that let me change to another webapp quickly,and will not miss Class!
now ,the JC2 translate APP1's pom.xml to ~/.javacomplete/classpath/pom.xml,if i change to  APP2's, will not translate APP2's pom.xml,just use ~/.javacomplete/classpath/pom.xml,then will miss Class, just like the picture above!

fixed


redfish chassis Power object path incorrectly assumed with REDFISH_CHASSIS_POWER in data/variables.py

The redfish/systems/test_systems_inventory.robot suite (and elsewhere) depends on the parameter setting
REDFISH_CHASSIS_POWER = 'chassis/Power/' (found in the file data/variables.py) to incorrectly synthesize the assumed fixed object path /redfish/v1/Chassis/chassis/Power/ (using REDFISH_CHASSIS_POWER_URI = REDFISH_CHASSIS_URI + REDFISH_CHASSIS_POWER).
Instead, the path should be obtained by querying /redfish/v1/Chassis/.
By way of example, this DTMF mockup uses the path /redfish/v1/Chassis/1U/Power/
As a temporary workaround for the DMTF example above, one could pass this corrected object path parameter on the robot CL:
-v REDFISH_CHASSIS_POWER_URI:'/redfish/v1/Chassis/1U/Power/'
Note: these two parameters and their products also share the corresponding problem:
REDFISH_CHASSIS_THERMAL
REDFISH_CHASSIS_SENSORS

These are a bit problematic areas and those ID could change from implementation in OpenBMC stack. something we know from the start but has not made any progress or effort at the moment.

Let's break them down into smaller ones and see if we can address them:
REDFISH_CHASSIS_THERMAL
data/variables.py:REDFISH_CHASSIS_THERMAL = 'chassis/Thermal/'
data/variables.py:REDFISH_CHASSIS_THERMAL_URI = REDFISH_CHASSIS_URI + REDFISH_CHASSIS_THERMAL
openpower/check_vpd_and_hw_status.robot:    ${system_fans_info}=  Redfish_Utils.Get Attribute  ${REDFISH_CHASSIS_THERMAL_URI}  Fans
redfish/systems/test_led_indicator_asserted.robot:    ${fans}=  Redfish.Get Attribute  ${REDFISH_CHASSIS_THERMAL_URI}  Fans
systest/collection/bmc_collect_sensors.robot:    ${redfish_chassis_thermal}=  Redfish_Utils.Enumerate Request  ${REDFISH_CHASSIS_THERMAL_URI}  ${0}
systest/collection/bmc_collect_vpd_and_hw_status.robot:    ${system_fans_info}=  Redfish_Utils.Get Attribute  ${REDFISH_CHASSIS_THERMAL_URI}  Fans

REDFISH_CHASSIS_SENSORS
data/variables.py:REDFISH_CHASSIS_SENSORS = 'chassis/Sensors'
data/variables.py:REDFISH_CHASSIS_SENSORS_URI = REDFISH_CHASSIS_URI + REDFISH_CHASSIS_SENSORS
systest/collection/bmc_collect_sensors.robot:    ${redfish_chassis_sensors}=  Redfish_Utils.Enumerate Request  ${REDFISH_CHASSIS_SENSORS_URI}  ${0}

The only I can see which can be fixed is
https://gerrit.openbmc-project.xyz/c/openbmc/openbmc-test-automation/+/51520
@generatz , Please skip the remaining test in those list until someone in the community fixes those in general

As for those variables in data/variables.py, we will eventually remove those hardcoded one and keep ONLY the top level


Change dependency on google-cloud-datastore to 0.5.0

A new version of google-cloud-datastore was just released. Upgrade Catatumbo to use this version.

Several methods are deprecated and replaced by standard get*, set* methods.

Updated to use the new method names of the google-cloud-datastore API. All tests have passed.
There seems to be one issue with the Transaction.Response where both new and old method are marked as deprecated. Opened an issue to the google project - https://github.com/GoogleCloudPlatform/google-cloud-java/issues/1351


Wrong data type of DisableEnhancedNotifications

The data type of DisableEnhancedNotifications should be REG_DWORD, not REG_SZ.

@hdc0 which article are you referring!

https://github.com/MicrosoftDocs/windows-itpro-docs/blob/public/windows/privacy/manage-connections-from-windows-operating-system-components-to-microsoft-services.md

@hdc0.  thanks for reporting. i am fixing the error now.

Closing via #8533
Thank you


Disallow disconnection of multipolygon member ways

The "Disconnect" operation should be disabled for vertices that connect two member ways of a multipolygon. Disconnecting such ways produces an invalid multipolygon.

Dup of #1714.


CUDA out of memory

How can we solve the CUDA out of memory problem running opt-6_7b ?
torch.cuda.OutOfMemoryError: Cuda out of memory
Each GPU has 40GB of memory, what is the memory requirement for this tests?

That benchmark takes 78850 Mo of memory. Its batch size is one.
There is nothing that can be done to reduce its memory footprint.

Is this also the memory requirement for the multinode case? 78850 Mo of memory per GPU?

The memory requirement will depend on the specific setup, it is hard to generalize.
You can find examples of what I observed but that might not be hold true for your hardware.

One Node:

1 x 4 GPU: 78'000 Mo
1 x 8 GPU: 53'000 Mo

Two Node:

2 x 8 GPU: 49'000 Mo


Resolve CSS URLs fix for #12

We really need a unit test framework!
Anyway, consider making an example that uses <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
That file contains things like url('../fonts/fontawesome-webfont.eot?#iefix&v=4.7.0') so once this file is converted - by minimalcss - the output should become url('https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/fonts/fontawesome-webfont.eot?#iefix&v=4.7.0').

Jest? or you prefer something else?

Jest?

Yes, if you want to get a crack start I'd love to take a look.

blocking issue https://github.com/Microsoft/TypeScript/issues/7546

I made it work except this bug in csstree:
bin/minimalcss.js http://<IP_ADDRESS>:8080/css-relative-path.html
TypeError: node.children.each is not a function
    at Object.eval [as StyleSheet] (eval at createWalker (/minimalcss/node_modules/css-tree/lib/walker/create.js:235:29), <anonymous>:5:15)
    at walk (/minimalcss/node_modules/css-tree/lib/walker/create.js:258:39)
    at Object.walk (/minimalcss/node_modules/css-tree/lib/walker/create.js:264:13)
    at response.text.then.text (/minimalcss/src/run.js:86:21)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)

There is an array in one place, while code always expects Lists
    for (var name in types) {
        if (hasOwnProperty.call(types, name)) {
            var config = types[name];
            walkers[name] = Function('node', 'context', 'walk',
                (config.context ? 'var old = context.' + config.context + ';\ncontext.' + config.context + ' = node;\n' : '') +
                config.fields.map(function(field) {
                    var line = field.type === 'list'
-                        ? 'node.' + field.name + '.each(walk);'
+                        ? 'node.' + field.name + '.forEach ? node.' + field.name + '.forEach(walk) : node.' + field.name + '.each(walk);;'
                        : 'walk(node.' + field.name + ');';

                    if (field.nullable) {
                        line = 'if (node.' + field.name + ') {\n    ' + line + '}';
                    }

                    return line;
                }).join('\n') +
                (config.context ? '\ncontext.' + config.context + ' = old;' : '')
            );
        }
    }

fixed

Great work! But one thing we can maybe fix is to drop the domain name.
What I get when I run your example is:
background-image:url(http://localhost:8000/images/small.jpg)

What it really ought to be is:
background-image:url(/images/small.jpg)

because there's no need to repeat the host (and protocol).

yes you are right. missed it somehow

ok, a bit later will do

I tested bootstrap example and it works. What is not working for you?

I tested bootstrap example and it works. What is not working for you?

Earlier when I tested with fontawesome.min.css from a CDN, the fonts wouldn't load. But I suspect it's because fonts are weird and I kinda rushed my testing. Let's make this PR be about images for the moment and we can tackle the fonts problem in a separate PR.


Add support for cmd+[ and cmd+]

Could you please add support for cmd + [ and cmd + ] too?
Originally posted by @vladimyr in https://github.com/bfred-it/indent-textarea/issues/1#issuecomment-473097559

cmd + [ works like the regular tab on multiple lines, but on a single line it indents the whole line, instead of adding a \t at the cursor position.
I actually had implemented this single-line behavior before but it was rejected because it wasn't the regular tab behavior: sindresorhus/refined-github#567@a9b91e3


Array conversion functions

Fix issues with :generator:generateWasmStdlibFromIDL task
Add extension methods for primitive JS array conversion

Please sqash


Invalid highlighting for NBT array tags

give @s minecraft:stone{foo: [B; 123b, 123b]}
give @s minecraft:stone{foo: [I; 123, 456]}
give @s minecraft:stone{foo: [L; 123L, 456L]}

Now that you mention it, I don't think I ever even considered typed arrays. Thanks for bringing this to my attention. Will be fixed in the next release.

Fixed in 86d8e8b


Missing new blazor template added in .NET 8 (and maybe a few others?)

Type of issue
Missing information
Description
I noticed the article doesn't mention the new blazor template (I wanted to link to the article from https://github.com/dotnet/website-feedback/issues/32)
I think there are other templates that might be missing like aspire, etc.
Page URL
https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-new
Content source URL
https://github.com/dotnet/docs/blob/main/docs/core/tools/dotnet-new.md
Document Version Independent Id
d80dfb96-bc86-a960-abec-255dd907d04d
Article author
@tdykstra
Metadata

ID: 0b952f8a-18e1-4843-0741-6ca877fb303a
Service: dotnet-fundamentals

/cc @danroth27

The built-in templates are in https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-new-sdk-templates, and the blazor template is there.
I tried dotnet new aspire -h and aspire doesn't appear to be a built-in template. cc @IEvangelist

What version of .NET do you have installed, and did you update to the latest VS 2022 preview version? I see it:

Hi @mairaw and @tdykstra,

why do we have two different lists in two different pages?

I see value in having these lists in both places, but I'd encourage the use of an include to achieve this, as to avoid updating/maintaining multiple separate docs. The .NET Aspire workload is part of Visual Studio 2022 17.10.0 Preview 1.0, that's where I believe the templates are coming from. I wouldn't expect to see it listed in any of these articles yet, as it's not yet GA, nor part of any stable release, all still in preview.

I didn't realize we duplicated the template list in the dotnet new <TEMPLATE> doc.  I agree, an include file makes sense here. I'll implement one to address this issue.

Makes sense! Yes, my machine might not be the best place to valid default templates 🙂
Perfect! I was thinking of the same strategy to avoid having to update the content twice. Thanks!


adding test functions and coveralls

TESTING COVERALLS AND TRAVIS DO NOT MERGE YET!

Changes Unknown when pulling 914673dd16d89b9200cb9d97740dd5de06a49876 on adding-coveralls into ** on master**.


There was a ; missing that stopped building shared.lib

Good catch! Thanks for submitting these @DoogeJ

Np! Trying to figure out how to use the client that I finally managed to build ;) will watch your video's on it soon!
Thanks for all your work! <3


How to create pagination on parent query

Hi,
I glad to know if there's a way to paginate the parent query, since all the examples are relevant for User's Posts/Comments/etc. while Im trying to implement query of Posts without any parent like User.
For ex. getting all Posts with pagination.
When I'm trying to use forwardConnectionArgs or connectionArgs,  I don't know how to pass the args to it (for ex. query by Posts id's or whatever, with pagination).
Thanks!

Solved by merging my Object args and connectionArgs:
...
args: { ...connectionArgs, ...postsArgs},
...


Add new domain for Kiev Politechnical Institute

Changelog:

Added kpiapeps.txt

Official university web page: https://www.kpi.ua/en

Unfortunately, I didn't find direct evidences from official university resources that the email domain kpiapeps.onmicrosoft.com is provided by the university, since my cathedra APEPS( https://apeps.kpi.ua/contacts/en) provides separate email domain for its students and doesn't document it in public resources. Instead, I found a Google Scholar profile of KPI APEPS ex-student with same verified domain who was actively publishing science works since 2002: https://scholar.google.com.ua/citations?user=QOEjQJsAAAAJ&hl=en

@andysyr Pull request merged. Thank you.

@philipto thank you! when can I expect the JetBrains licence to be available for domain added in this PR?

It is usually available in an hour after the pull request merge.On 12. Jun 2024, at 20.45, andysyr @.***> wrote:
@philipto thank you! when can I expect the JetBrains licence to be available for domain added in this PR?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>


Reproducing paper results

Hi everyone,
Thank you so much for the fantastic work and for making the code open source! I’m currently trying to reproduce the results from the paper, but I’m a bit confused about the correct testing flow.
I’ve noticed that there are two types of functions being called:
-"process_test_video_future_frame" and "compute_test_video_future_frame_score"
-"process_test_video_context" and "compute_test_video_context_score"
The second option is currently commented out in the test class from which the specific methods inherit. Could you clarify the purpose of each approach and which one is used to reproduce the results from the paper?
Additionally, I’m unsure how non-continuous objects are handled. Are these removed from the ground truth when calculating the paper’s results?
Thank you very much,
Antonio

@antoalli Thank you for your interest in our work.
We used two types of evaluations to check the model's performance.

Anticipating relationships in the next few frames. (Appendix G)
Anticipating relationships for the whole video.  (Appendix H)

In the main paper, we reported results corresponding to option 2 (Appendix H).
We handled the non-continuous objects during training by following the strategy.
Given a context window, as future object prediction is a hard problem, we assume the presence of a weaker model that always predicts that the same objects observed in the last context frame shall be observed in the future.
Simply put, we devised a masking strategy for future frames. Check here for transformer based models and here for differential equation-based models.
During the evaluation, we use the future relationship predictions for only objects observed in the last context frame and compare them with the actual ground truth (thus, the reason for the lower numbers even in the Grounded Action Genome Scenes settings (Predicate Classification in SGG literature).)

I see. So, numbers in main paper tables report anticipation results for all frames that are subsequent to the specified context portion (as in appendix H), regardless of the anticipation horizon that has been during training.
Regarding the non-continuous objects, my understanding is that you're masking from the GT scene graphs (all future graphs untill the end of video) all relationships involving objects that were not present in the last context frame seen by the model, right?
If I am correct can you point me where this is performed for differential equation-based models?
I see the logic in the forward function you linked in previous message, but it isn’t actually used during testing. Instead, the forward_single_entry function is used.
p.s. thanks a lot :)

Yes, @antoalli, you are correct. We perform masking as described, but only during training to estimate loss.
To be more precise, we do the following things during training and testing:
Training:

Context Window starting with 3 frames to N-1 frames (where N is the total number of frames for a video).
For each size of the context window,

We consider objects present in the last context frame
Construct the relationship representations between these objects
Estimate their relationship representations, assuming that the objects persist in the video in future frames.
Take the intersection of the objects present in the last context frame and the subsequent future frames
Estimate relationship level loss for the common objects.

Testing

Context Fraction Results:

Results corresponding to the ones mentioned in the paper
We take 4 contexts for each video in the test set.
Take the objects present in the last context frame
Assuming that objects persist, estimate the scene graphs for future frames (corresponding to the rest of the video)
Compare these estimated graphs with ground truth scene graphs.

We do not mask anything during testing.
We directly use these predicted future scene graphs and compare them with ground truth scene graphs.
As conveyed and correctly noticed, forward_single_entry estimates these future scene graphs using trained models and compares them with ground truth scene graphs.


Combinig cosmos db samples

Purpose
This PR solves the issue #577.
Does this introduce a breaking change?
[ ] Yes
[x] No
Pull Request Type
The change is a refactoring: combining two Azure spring boot samples (for AKS and a regular one) into one sample.
[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[x] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:
How to Test

Need to review readme files and try Azure spring boot sample with AKS and without it.

git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install

What to Check
Verify that the following are valid
Readme files for Azure spring boot samples.
Other Information
There were some differences between AKS and non-AKS Azure spring boot samples. Need to verify that the change does not break anything.

@M-Lipin Please take a look at the case where the check fails, thanks.


Some users are super-afk

There are still people in the space from our preview event.
This means our heartbeat infrastructure that's supposed to kick invalid users is somehow failing.

I found an old account of my own that I'm definitely still not logged-in on, so our heartbeat infrastructure is broken.


port forking to ts

depends on https://github.com/trufflesuite/ganache-core/issues/341 and https://github.com/trufflesuite/ganache-core/issues/628


Can't get examples form to work

Hello,
When I click File I get this:
sqlalchemy.exc.OperationalError
sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such table: file [SQL: 'SELECT count(?) AS count_1 \nFROM file'] [parameters: ('*',)]

This was probably due to the sample sqlite db not being created.


Sc 30756 Create Superhub

sc-30756-add-learning-superhub-page-to-qml
figma

Moved Videos and Demos to new section
Replaces current content with placeholder lorem ipsum
Refactored HTML for better semantics

demo with content:
https://user-images.githubusercontent.com/58717051/212966974-aabc09dc-dc7f-4333-9a32-7997d8cae696.mov

Converting this to a draft PR since we are missing new copy and we don't want to accidentally merge this in an incomplete state. CC @BM7878 @josh146

@josh146 @BM7878 , thank you for getting back to me with the copy! I have updated the page and you can check the new demo in the description above.
Please note that links to the three subhubs are not available to add yet and once they are created, I will update them swiftly.
CC @AndrewGardhouse @ashishks0522

Added one comment, but also the vertical space above the footer feels a bit excessive. 😅

Addressed your comments! No white space between the footer and the section and updated the content.


Add ADR036 to automate patch version bumps

PR Checklist

[x] If you are proposing a new decision record document, used the right template for that
- (ADR, decision-record, engagement, research)
[x] Set yourself as the Assignee
[x] Tag anyone you would like to review, or @forms-design or @forms-devs
[x] Fill in the template below

What
We have discussed this during Tech Weekly: we're struggling to keep on top of Dependabot updates and we'd like to make it easier for ourselves, particularly for whoever is on support.
This proposes automating patch version bumps
How to review

Is there anything else we should be worried about?
Do you agree with the changes?
Are there any worries when it comes to how we might implement this?

Can we specify when the automation happens? e.g. only during "office hours" in case something unexpected happens.

Really good ADR - accurately reflects the conversations we've had in tech weekly, is written clearly, and explains the reasoning for the decision and the risks in detail.
I've raised a few comments but they're all very minor cosmetic things.

@DavidBiddle 🦅 👁 - excellent minor cosmetic procedures

This might become a Firebreak thing

Card for doing the work here: https://trello.com/c/2Nj1ipbb/2571-automate-patch-dependency-updates


Feature #847: Add close button to QR popover

Closes getodk/central#847
Changes:

Hide popover on click of a button that has data-closes-popover attribute
Hide popover on escape key as well
Added button in QR panel to hide popover (self)

What has been done to verify that this works as intended?
Tried in chrome and added fews tests.
Why is this the best possible solution? Were any other approaches considered?
Because popover component adds click eventListener on the document that useCapture, I was not able to handle vue events directly on qr-panel component. Having another condition in closeAfterClick that checks if the event target is a close button, identified by data-closes-popover attribute, seems reasonable to me.
I have also added event listener for escape key, which is applicable on all popover. If we want we can add a prop to add it on selective popovers - like maybe we don't hide hover-cards on escape 🤷♂.
How does this change affect users? Describe intentional changes to behavior and behavior that could have accidentally been affected by code changes. In other words, what are the regression risks?
I don't see any regression risks here.
Does this change require updates to user documentation? If so, please file an issue here and include the link below.
No
Before submitting this PR, please make sure you have:

[x] run npm run test and npm run lint and confirmed all checks still pass OR confirm CircleCI build passes
[x] verified that any code or assets from external sources are properly credited in comments or that everything is internally sourced

maybe we don't hide hover-cards on escape 🤷♂.

That seems OK to me. We could always add that logic later if we need to.


Error: Failed to install 'unknown package' from Git:   Error in 'git2r_remote_ls'

I get said error when I try to install the footballR package via:
devtools::install_git("https://gitlab.com/dashee87/footballR.git")

Error: Failed to install 'unknown package' from Git:
Error in 'git2r_remote_ls'

This is my session info:

R version 3.5.3 (2019-03-11)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)
Matrix products: default
locale:
[1] LC_COLLATE=German_Germany.1252  LC_CTYPE=German_Germany.1252    LC_MONETARY=German_Germany.1252 LC_NUMERIC=C
[5] LC_TIME=German_Germany.1252
attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base
other attached packages:
[1] here_0.1        forcats_0.4.0   stringr_1.4.0   dplyr_0.8.3     purrr_0.3.3     readr_1.3.1     tidyr_1.0.0     tibble_2.1.3
[9] ggplot2_3.2.1   tidyverse_1.2.1 abettor_0.1.5
loaded via a namespace (and not attached):
[1] Rcpp_1.0.2        lubridate_1.7.4   lattice_0.20-38   prettyunits_1.0.2 ps_1.3.0          assertthat_0.2.1  zeallot_0.1.0
[8] rprojroot_1.3-2   digest_0.6.22     R6_2.4.0          cellranger_1.1.0  backports_1.1.5   evaluate_0.14     httr_1.4.1
[15] pillar_1.4.2      rlang_0.4.1       lazyeval_0.2.2    curl_4.2          readxl_1.3.1      rstudioapi_0.10   callr_3.3.2
[22] rmarkdown_1.16    desc_1.2.0        devtools_2.2.1    munsell_0.5.0     broom_0.5.2       compiler_3.5.3    modelr_0.1.5
[29] xfun_0.10         pkgconfig_2.0.3   pkgbuild_1.0.6    htmltools_0.4.0   tidyselect_0.2.5  crayon_1.3.4      withr_2.1.2
[36] grid_3.5.3        nlme_3.1-137      jsonlite_1.6      gtable_0.3.0      lifecycle_0.1.0   git2r_0.26.1      magrittr_1.5
[43] scales_1.0.0      cli_1.1.0         stringi_1.4.3     fs_1.3.1          remotes_2.1.0     testthat_2.2.1    xml2_1.2.2
[50] ellipsis_0.3.0    vctrs_0.2.0       generics_0.0.2    tools_3.5.3       glue_1.3.1        hms_0.5.2         rsconnect_0.8.15
[57] processx_3.4.1    pkgload_1.0.2     yaml_2.2.0        colorspace_1.4-1  sessioninfo_1.1.1 rvest_0.3.4       memoise_1.1.0
[64] knitr_1.25        haven_2.1.1       usethis_1.5.1   `

I assume the project is dead with no activity from @dashee87 for the last 3 years.


regression: various buttons have a circle style applied

Various buttons which previously did not have a circle style applied are now styled as circles.

What
Before
After

Resource bar search and filter option button

Pledge form

Link to previous build before regression introduced:

Resource center
Pledge

I've tracked the style regressions to this line that applies the circle styles:
https://github.com/KlimaDAO/klimadao/blob/038e1a4666a8ab9984b0089afa0653aa7584c4b7/lib/components/Buttons/ButtonBase.tsx#L33-L37

Hmm this was dangerous to effect existing styles.. I've made the functionality opt-in now.  That should fix any other cases of this throughout the app and site.
https://github.com/KlimaDAO/klimadao/pull/882


libraries and dependies on esp8266 using OpenTherm Gateway Basic Example

Hi, I am trying to use the DIYLESS gateway together with the example ino. Sadly I encounter numerous errors in and on missing libraries.
As I am searching the missing libraries and loading these "missing" libraries I think I have selected some that are not the correct ones. And so entering in multiple reference issues.
My questions:
A Can you provide me with a list of libraries that I should use?
B In the otgw-simple.ino a reference is made to  esp_task_wdt_reset(); as it creates an error I assume that it should be excluded in the esp8266 version of the sketch.
Thank you in advance.

Hi @DolendeDoDo
We've fixed compilation for ESP8266 chip. You'll need latest OpenTherm library and ESP8266 board core installed.

Hi,
The ESP8266 NOT connected to the slave, master & backplane does give messages on the monitor.   Ip adress  & channel update succesful.
The ESP8266 connected to the master, slave via the backplane, nothing. The monitor keeps blank.
gr. Jan

Can you show the photo of the whole setup? ESP+backplane+shields

If you need more or different versions please let me know.

const char* ssid = "ABCDEFG";
const char* password = "ABCDEFGHIJ";
unsigned long myChannelNumber = 12345678;
const char* myReadAPIKey = "ABCDEFGHIJKLMN";
const char* myWriteAPIKey = "ABCDEFGHIJKLMN";
// HW settings
const int mInPin = 4;   //2 for Arduino,  4 for ESP8266 (D2), 21 for ESP32
const int mOutPin = 5;  //4 for Arduino,  5 for ESP8266 (D1), 22 for ESP32
const int sInPin = 12;  //3 for Arduino, 12 for ESP8266 (D6), 19 for ESP32
const int sOutPin = 13; //5 for Arduino, 13 for ESP8266 (D7), 23 for ESP32
// code
extern const char index_html[] = "";
extern const char css[] = "";
extern const char js[] = "";
extern const int favico_ico_length = 0;
extern const byte favico_ico[] = "";
These are my alterations to the otgw_simple.ino

Also one more question, does your thermostat have a separate power supply or originally it was powered by boiler?

More questions leading to a solution? Never an issue ;-)
No my thermostat does not have local powersupply [just checked it].

In general, it is specified on the product page that ESP8266 OpenTherm Gateway can't be used as a power source for a thermostat.
It can work if your thermostat uses low power mode only (40mW).
Does the esp controller work if all 3 boards are connected but the thermostat and the boiler are not connected?
Also, you can check separately master shield with a simple master demo sketch and boiler connected to ensure it works properly and check slave shield with slave demo sketch and thermostat connected. Check the serial output.
https://github.com/ihormelnyk/opentherm_library/tree/master/examples

OK
I will check the power consumption of my thermostat.
No the master, slave, esp8266 on the backplane does NOT work if not connected to thermostat and boiler. Needles to say they do not work if connected.
To make sure I am sure whether the slave and master boards are o.k. I will configure and test them again.

I use arduino 2.0.0 via app-image on linux mint 20
[I tested also on windows 11 and older linux mint versions, same result]
==============================================
Test with the ESP 32 WiFi OpenTherm Thermostat
connect esp8266 via usb to computer
uploaded EWOTT-sketch
monitor shows activity
disconnected usb cable from computer
connected backplane with esp8266 & slave board [B connectors and thermometer]
connect usb to powersupply
website is active
disconnect usb from powersupply
connected backplane with esp8266 & slave board [B connectors and thermometer]
connected backplane to boiler
connected usb to powersupply
esp8266 led lights up blue [steady]
slaveboard led blinks green
webste active and responsive to info from boiler
can update temperature settings
on/of switch temperature toggles but I can not experience any impact
on/of switch hot water toggles but I can not experience any impact
In short, it works !!
=============================================
Test with opentherm gateway simple
connect esp8266 via usb to computer
Uploaded the otgw-sketch
monitor shows activity
thingspeak shows multiple activity entries [with the value 0, makes sense]
ip adress is shown in network
disconnected usb cable from computer
connect usb to powersupply
connected backplane with esp8266, slave board [B connectors and thermometer] & masterboard
blue led on master board burns constant.
disconnect power
connect backplane in between thermostat and boiler
blue led on mastershield blinks
ip adress is NOT visible in network
honeywell thermostat states communication error
=============================================
As soon as the mastershield is connected to the bacplane and powered up via usb power, the mastershield led lights up blue [steady]
How can I further test the mastershield?

Hi @DolendeDoDo,
Please make simple tests using basic sample sketches as proposed above.
Master OpenTherm Shield test:
Flash master demo sketch, use 4,5 pins configuration for ESP8266
https://github.com/ihormelnyk/opentherm_library/tree/master/examples/OpenThermMaster_Demo
Put on the extension shield (backplane) only the master shield and esp8266.
Connect esp8266 to USB port
Connect the screw terminal block (B1,B2) to the boiler.
Check the serial output.
Slave OpenTherm Shield test:
Flash master demo sketch, use 12,13 pins configuration for ESP8266
https://github.com/ihormelnyk/opentherm_library/tree/master/examples/OpenThermSlave_Demo
Put on the extension shield (backplane) only the slave shield and esp8266.
Connect esp8266 to USB port
Connect the screw terminal block (T1,T2) to the thermostat.
Check the serial output.

Ah here I find a issue.
On my shields on the top right corner the type of the shield is writen [SLAVE/MASTER]
and the
SLAVE shield has B1 B2 connectors &
MASTER shield has T1 and T2 connectors.
This does not match your instruction above.

You can find the names of the shields on the back side of the shield.
Names near LEDs mean opposite device response indication.

Shame on me ;-(

====================================
The first test resulted [connected to the boiler]
T0
Bf0000000
repetitive
===================================
The second test
Error: Response timeout
CH temperature is 0 degeress
DHW temperature is 0 degrees
    After while:

Central heating: on
Hot Water: off
Flame: On
CH temperature is 39.97 degeress
DHW temperature is 32.44 degrees
    After a while again

Error: Response timeout
CH temperature is 0 degeress
DHW temperature is 0 degrees

Looks like you have an unstable connection.
Probably headers soldering is not solid enough, try to reheat connections.

Checked all the soldering. I could not detected failures.
Cleaned the boards with isopropil alcohol.
There is still an unanswered question regarding the definition of "extern const"  variables.
Using your example sketch otgw_simple that includes the follwing statements:
extern const char index_html[];
extern const char css[];
extern const char js[];
extern const int favico_ico_length;
extern const byte favico_ico[];
This reults in compiling errors like:
/home/jan/.arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: /tmp/arduino-sketch-2DF8E50DECFBE617DF481A94C4B5B685/sketch/otgw_simple.ino.cpp.o: in function _Z16htmlVarProcessorRK6String': /home/jan/Arduino/opentherm-gateway-simple-main/otgw_simple/otgw_simple.ino:200: undefined reference to favico_ico_length'
/home/jan/.arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: /home/jan/Arduino/opentherm-gateway-simple-main/otgw_simple/otgw_simple.ino:201: undefined reference to favico_ico' /home/jan/.arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: /tmp/arduino-sketch-2DF8E50DECFBE617DF481A94C4B5B685/sketch/otgw_simple.ino.cpp.o: in function operator()':
/home/jan/Arduino/opentherm-gateway-simple-main/otgw_simple/otgw_simple.ino:262: undefined reference to css' /home/jan/.arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: /home/jan/Arduino/opentherm-gateway-simple-main/otgw_simple/otgw_simple.ino:256: undefined reference to js'
/home/jan/.arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: /home/jan/Arduino/opentherm-gateway-simple-main/otgw_simple/otgw_simple.ino:250: undefined reference to `index_html'
collect2: error: ld returned 1 exit status
exit status 1
Compilation error: exit status 1
As stated earlier I changed the definition of these variables. But what should be the correct way?

Hi @DolendeDoDo ,
There is no sense to flash complex otgw_simple.ino sketch unless you have an unstable work of master/slave demo sketches.
You should always get a valid response, it is recommended to re-heat with a flux all the headers connections to make them solid.
By the way, here is otgw_simple.ino sketch compilation on the fresh Arduino IDE 2.0 installation where ESP8266 board platform installed and OpenTherm Library. There are no issues.

Also verified on linux (Ubuntu), compiles ok.
Can you please change compiler warning to Default?

And after that press verify, and find output path in logs, there should be a line like
reating BIN file "/tmp/arduino-sketch-XXXXXXXXXXXXXXXXXXXXXXXXXX. Compress it and send us on email (you can review cpp and/or ino files to remove wifi name, passwords etc.) so we can troubleshoot you build issues.

I quit.
Sorry, I have resoldered all the boards [although I assume that was needed]. I have discovered coding errors in the example sketch, as they are resolved by you. On a different total fresh windows machine I downloaded the latest versions from GitHub. Compiled without error, connected and we saw the board working.
The thermostat worked, the boiler worked. However..... The website running on the esp8266 produced no data and above all after 2 minutes the board frooze. That was driving me over the edge.
Am I willing to tinker on stuff, bu this takes to long. So in the end the boards are in the garbage bin and I will try something else.
In the mean-time I will thank you for your support. I think you have tried your best, but the combo otgw-simple and me is not the best.
See you.
Jan

We're sorry to hear that, we will try to figure out possible issues and improve the sample sketches.


fix oneOf

This ended up being quite a lot larger than I initially planned. Initially it looked like it was going to be fairly simple, but alas not. All tests are passing and I added a handful of others.
I believe this fixes https://github.com/longshotlabs/simpl-schema/issues/428 and https://github.com/longshotlabs/simpl-schema/issues/410
There are a few small changes that look large, and a couple of actual large ones:

In checkObj - move everything after the validate call into a new function called recurse - this is called by checkObj in the case that we don't want to validate a key (or initially when we dont have a key) but also by validate which may also change the "schema" used from the root schema to the current branch schema.
Rather than accumulating errors, everything now returns an array of errors - these are recursively concatenated until a def.type.some completes with multiple options. At which point it either discards the entire array (in the case of a pass) or continues to concat.
subSchema subSchemaAffectedKey and subSchemaAffectedKeyGeneric(sometimes) are now additionally passed around - these represent the current sub schema and the affected key relative to the sub schema affectedKey and affectedKeyGeneric refer to the current key relative to the root schema.
If none of the provided schemas match, the entire set of accumulated errors are thrown. This behaviour is debatable - it isn't useful to be told that "a.b" and "a.c" are missing when you provided "a.d" and "a.e" - but I'm not sure how else to handle this. Perhaps a new error type that preempts all the others for a given schema '"a" did not match any of the provided schemas'?
add oneOfKeys() and recursiveKeys() functions to accumulate all keys in a schema (including child schemas) and those that are inside of a oneOf.
change checkModifier to check if a key is inside a oneOf and if so run the check against each subSchema

Thanks for providing such a vast library of test cases - it made implementing this very safe. I'm going to include this in my project where I've been hacking around this limitation for ages, and will ensure that all my schemas work, as I make heavy use of oneOf(schema1, schema2, ...)

I just realised this will fall over on modifiers :'(

@znewsham Welcome to the complexity of SimpleSchema! Thanks for giving it a shot. This looks like a good start. I will do some careful review and see if we can get it through.

@aldeed Ha! Yes, I've been "hacking" around this bug for a while in my project, thought I'd give it a go. These changes + one other change that probably doesn't make sense to be in the class (a function that specifies WHICH schema defined by oneOf to use, evaluated at validation time) has removed almost all the hacks I put in place.
It's currently in use on a fairly complicated project involving nested, schemas that change based on fields within the document - so I'm relatively sure this is going to work in the majority of cases!

closed in favour of #435 - this PR was against my main branch, which causes trouble.


strings slice causes goroutine to panic

hi, just create a simple model that uses []string and it'll crash with something like this https://gist.github.com/AvianFlu/4688697c15b3587623a2
ie:
type User struct {
  Id int64
  Name string
  Emails []string
}

I meet this issue too.

Yea, I'm running into this issue as well, and I have seen a bunch of old issues about this as well.
@jinzhu you've mentioned writing a Scanner or a Valuer for this situation. Do you mind expounding on what you are referring to? Maybe a link to an example.

Ok, I've found the interface definition here: https://golang.org/pkg/database/sql/#Scanner. Hopefully this will do the trick.


Change some fboundp's and doom-module-p's to featurep!'s

Makes the code more readable and searchable (say if we want to figure out all the places where turning on ivy effects the codebase), and from testing on my end doesn't seem to break anything.

These current fboundp checks are only right if e.g the ivy module is the sole reason for counsel functions to be loaded.
That is not the case! For example, lispy has a dependency on swiper.
I had issues while testing the selectrum module where things like +default/yank-pop still mapped to counsel function because they were loaded by lispy.

I've added a temporary fix in the linked commit, but presumably there is a better way to go about it.


[stable/weave-scope] Fixes compatibility with 1.16

To support 1.16. A quick overview of deprecated APIs can be found on their blog post: https://kubernetes.io/blog/2019/07/18/api-deprecations-in-1-16/.
Signed-off-by: Xiang Dai<EMAIL_ADDRESS>

/ok-to-test

@fbarl test pass!

/assign @fbarl

Hey @daixiang0, thanks for addressing my comments and sorry for the late reply!
I see you've updated the version to 1.11.6, but what I really meant is that you can bump the appVersion instead so that we'd have:
version: 1.1.6
appVersion: 1.11.6

Could you still do that please?
Thinking about it, it might be a hassle to maintain the patch version match in the future, but it would be good bump to the new release of Scope in this PR while you're at it :)

@fbarl done.

@fbarl any news?

@fbarl
@dholbach
@bboreham
Would you help to LGTM this PR please? Thank you.

/lgtm - thanks for your work on this @daixiang0

Thanks @fbarl - sorry I missed this.
/hold

@dholbach @fbarl done

/lgtm

/hold cancel

/lgtm

Are you sure the changes fixes the compability problems with k8s v1.16?
I wanted to install it on k8s v1.16.3 and I got below error:
helm install stable/weave-scope --name weave-scope --namespace=logging

Error: validation failed: [unable to recognize "": no matches for kind "DaemonSet" in version "extensions/v1beta1", unable to recognize "": no matches for kind "Deployment" in version "extensions/v1beta1", unable to recognize "": no matches for kind "Deployment" in version "apps/v1beta1"]

Good catch capturing this @avarf!
I managed to reproduce your error and I made a fix for it in #19400.


Import Syntax Highlighter for JS behaving unreliably

Issue Type: Bug
Try out the following piece of code:
import React from "react";

import StickyButton from "./StickyButton";
import Button from "./Button";

class ExpandButton extends React.Component {
  state = {};
  render() {
    return (
      <div>
        <StickyButton text={this.props.headliner} />
      </div>
    );
  }
}

export default ExpandButton;

In this code, VS Code says that React is declared but not used (and hence not highlighted), and on the other hand shows that the component Button is being used (which is not true).
VS Code version: Code 1.48.1 (3dd905126b34dcd4de81fa624eb3a8cbe7485f13, 2020-08-19T17:09:41.484Z)
OS version: Darwin x64 19.5.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz (16 x 2300)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
2, 2, 2

Memory (System)
16.00GB (2.32GB free)

Process Argv
.

Screen Reader
no

VM
0%

Extensions (6)

Extension
Author (truncated)
Version

prettier-vscode
esb
5.2.1

go
gol
0.16.1

vscode-peacock
joh
3.8.0

dotenv
mik
1.0.1

vscode-docker
ms-
1.5.0

vscode-data-preview
Ran
2.0.0

(2 theme extensions excluded)

Screenshots:

Does this reproduce in the latest VS Code insiders build with all extensions disabled?

Thanks, @mjbvz for your response. No, this doesn't reproduce in the Insiders Build or the Stable Releases anymore.
Seems to have been a one-off issue. I am closing this issue, and if I am able to reproduce it reliably, I will re-open it.
Thanks!


A few dependencies did not install on clone and setup

Issue:
Did not install babel, imagesize, lxml and jinja2
Steps to Reproduce
On Ubuntu

git clone https://github.com/torchbox/wagtail.git
cd wagtail
pip install -e .[testing,docs] -U

Manually installing solved the problem and the test suite ran without any problems
sudo pip install babel
sudo pip install imagesize
sudo pip install lxml
sudo pip install jinja2
Technical details

Wagtail: 1.7
Python version: 2.7.6.
Django version: Django==1.10.4
Ubuntu 14.04.3 LTS

Hi @MattRijk - thanks for the report. Have just tried this out on a clean Ubuntu VM, and it looks like the sphinxcontrib-spelling dependency has problems when being installed simultaneously with the other packages - it seems to require babel and docutils during the installation (which haven't been installed at that point). This causes the pip install step to abort without completing installation of the remaining packages. I'll see if we can work around this by adding babel/docutils to Wagtail's own dependencies...

I have a solution to the sphinxcontrib-spelling dependency issue. Do I need permissions to do a pull request.

Fixed in #3207


pact_consumer: each_like! and nested structs

The PR #18 contains an each_like! macro which mimics Ruby's ArrayLike matcher. This generates a #{path}[*].* rule:
      def handle_array_like array_like, path, match_type
        record_rule "#{path}", 'min' => array_like.min
        record_match_type_rule "#{path}[*].*", 'type'
        recurse array_like.contents, "#{path}[*]", :array_like
      end

@bethesque argues that the #{path}[*].* rule is unnecessary.
We could remove that rule from Rust, but then we'd want to add a fields_like! macro so that you could write:
// This is an incredibly common Rust use case when generating JSON from domain objects.
each_like!(fields_like!(strip_null_fields(json!(DomainObject::factory()))

The each_like! would generate "#{path}" => { "matches": "type" }, and the fields_like! would generate the ``"#{path}[]." => { "matches": "type" }thateach_like!generates now. Maybefields_like!should also include a build-instrip_null_fields`?
This is trivial to implement; so it's purely a design question. What do people think?

See also https://github.com/pact-foundation/pact-js/issues/108
Note that each_like! will probably need to be renamed if it no longer generates any rules about how to match the contents. Tricky. Best to talk to other maintainers about the right way to represent this.
CC @valerie-roske @bethesque @mefellows, in case you want to provide input.

It does indicate how to match the contents, because the matchers cascade from the parents down to the children, and the min/max length attributes don't make sense for a hash.
I'm ok with doing parent[*] too. I just can't remember how jvm does it.


fix(theme-classic): add outline to focused code blocks

Motivation
Fixes #6077
Have you read the Contributing Guidelines on pull requests?
Yes.
Test Plan
Run yarn start:website and go to http://localhost:3000/docs/next/installation#scaffold-project-website. When focusing on the code block, it should like below:
Firefox

Chrome

The original issue was reproducible on Firefox where pre tags aren't highlighted when focused. Leaving to @slorber to test since he uses FF

I can confirm outline on FF works better now.
Comparing:

https://docusaurus.io/docs/markdown-features/code-blocks (bad
https://deploy-preview-6121--docusaurus-2.netlify.app/docs/markdown-features/code-blocks/ (good)

I can't see any issue so far, not sure why I added this overflow hidden anymore 🤷♂

Even on Chrome there's an improvement 👀


Send funds Tx successful even with lack of funds

URL: URL: https://pr555--safereact.review.gnosisdev.com/safes/0x6e24F2083e8864b3301a4DfF0F8af64593323406/transactions
Is the latest PR, but the issue is old for what I could check.
Steps:
1 - Have a safe with .5 ETH in funds
2 - Create 2 "Send funds" Tx one after the other without executing them. Both should be > .5 ETH (.4 and .3 ETH for example)
3 - Approve and Execute the first one and make sure the balance is updated
4 - Approve and Execute the second one.
You will see that the balance remains the same (The Tx didn't go through) but the Tx is still shown as successful

@lukasschor needs label for priority

duplicate: https://github.com/gnosis/safe-react/issues/436


Your docker solution vs the logentries one

Hi there,
Going through your docker image, I was surprised how similar it looked to the logentries one.
https://github.com/rapid7/docker-logentries
Did you guys draw inspiration from their work?

They are both based on the same node.js packages
https://github.com/mcollina/docker-loghose and
https://github.com/mcollina/docker-allcontainers
As you can see it is a reuse of the packages code


fix: fix replace hardcoded region with variable

fixes #42

Terraform version pinning should be removed an replaced by stating min version 1.0.x in README


I'm trying your project , can you please give me your solution

Please check out new tutorial for you.


properly handle signals (SIGINT, SIGTERM) to terminate the server correctly

A shell script is running the binary, when the container receives SIGTERM (say on Pod termination or docker stop / kill with the default SIGTERM, or Ctrl+C - SIGINT) the shell script does not forward these signals to the binary.
You can quickly test and see SIGTERM is not working, just issue docker [compose] stop -t600 node it won't do anything, until it times out and issues the SIGKILL which is not stopping the binary gracefully.
Cosmos SDK understands SIGTERM & SIGINT for graceful server termination.
Signal handling can be done directly in the shell script, in cosmos-omnibus that would be both run.sh and snapshot.sh.
We can reuse the signal handling from one of my projects I've been working on - self-update.
Workaround
Get into the container and then kill <pid-of-cosmos-binary> (issues SIGTERM by default).

could probably leverage the wait -n method https://docs.docker.com/config/containers/multi-service_container/
if it helps in any way after modifying the run.sh & snapshot.sh scripts to handle the signals.


Properly get the V5R1 wallet

hi, please help me with this..
I need to get my V5R1 wallet so I'm using this:
w, err := wallet.FromSeed(api, words, wallet.ConfigV5R1Final{
	NetworkGlobalID: wallet.MainnetGlobalID,
})

and true enough I'm getting my wallet, checked the balance and it's correct.
However I can't use this in a transaction, my guess is that because I'm using Mainnet as the GlobalID and we're using testnet for testing.
I'm getting this kind of error:

But whenever I tried
w, err := wallet.FromSeed(api, words, wallet.ConfigV5R1Final{
	NetworkGlobalID: wallet.TestnetGlobalID,
})

I'm getting a different wallet address (which is unused, and the balance is zero) so I can't use that as well.
Is there a way to get a V5R1 wallet for testing?
Thanks!

hi, please help me with this..
I need to get my V5R1 wallet so I'm using this:
w, err := wallet.FromSeed(api, words, wallet.ConfigV5R1Final{
	NetworkGlobalID: wallet.MainnetGlobalID,
})

and true enough I'm getting my wallet, checked the balance and it's correct. However I can't use this in a transaction, my guess is that because I'm using Mainnet as the GlobalID and we're using testnet for testing. I'm getting this kind of error:

@pddmergilla-ns It seems like you are encountering an issue with using your V5R1 wallet for transactions due to the Mainnet GlobalID while testing on the testnet.It sounds like your query would be best dealt with by the support team.
I'll have to refer you to the official support live chat with the ticket ID VR07638
Please see the link below to our dedicated support line:
V5R1 wallet Network DApps Support Ticket Requests
Note; Click on the live chat icon at the bottom corner of the page to initiate chat with a live support agent.

Hi, share your ton address (which is with balance), please, or check transaction exit code

I see that exit code is 137 (external_send_message_must_have_ignore_errors_send_mode), for v5 message mode must include IgnoreErrors flag, eg: Mode: PayGasSeparately + IgnoreErrors

I see that exit code is 137 (external_send_message_must_have_ignore_errors_send_mode), for v5 message mode must include IgnoreErrors flag, eg: Mode: PayGasSeparately + IgnoreErrors

this is working well, thanks! <3


Youtube-dl giving wrong youtube title

Steps to reproduce:

Run command: youtube-dl --skip-download --write-info-json --output example "https://www.youtube.com/watch?v=S5C76qN4y8k"
Open example.info.json and notice "fulltitle": "YAYAYI  333%"

REAL: "YAYAYI 333%"
YTDL: "YAYAYI  333%"
Youtube-DL has randomly added 2 extra spaces to this title...

No, it's not. YAYAYI  333% is the real title. Check the page source if you don't believe.


Add kotlin extension for parameters methods

Follow up to #23:
There should be an existen in package org.gradle.kotlin.dsl that provides overloads of the parameters method that accept KClass<*>. This was in kotlin script users can write the following (omitting the .java at the end of the class parameter).
parameters {
 parameter("outputDir", File::class) {
   defaultValue = "\${project.build.outputDirectory}/myMojoOutput"
   isRequired = false
  }
}

Furthermore we should find out whether it is possible to provide a method that accepts a type parameter instead of a method arugment:
parameters {
 parameter<File>("outputDir") {
   defaultValue = "\${project.build.outputDirectory}/myMojoOutput"
   isRequired = false
  }
}

The build script DSL is going to be removed with 1.0


[SEDONA-137] Fix ST_Buffer for Flink to work

Did you read the Contributor Guide?

Yes, I have read Contributor Rules and Contributor Development Guide

Is this PR related to a JIRA ticket?

Yes, the URL of the assoicated JIRA ticket is https://issues.apache.org/jira/browse/SEDONA-137. The PR name follows the format [SEDONA-XXX] my subject.

What changes were proposed in this PR?
Currently, the ST_Buffer function for Flink is broken. This PR fixes it.
How was this patch tested?
Ran mvn test -pl flink locally and ensured all tests passed including the new one.
Did this PR include necessary documentation updates?

No, this PR does not affect any public API so no need to change the docs.

To be merged after this PR: https://github.com/apache/incubator-sedona/pull/647


facebook on lbry chain?

Im just wondering if there is any possibility that lbry could be used for a facebook alternative social media?

I  could be used as an alternative to HTTP. Making a whole new, separate networking protocol. And web sites implemented in this way could resemble the functionality of facebook.

Not something we will be working on, but do plan to give more prominence to text posts via a feed feature.


"Error parsing sqlc.yaml" when generating files

Version
1.24.0
What happened?
Can't generate the files, because it seems it can't unmarshal the sqlc.yaml file.
Relevant log output
go run -mod=mod github.com/sqlc-dev/sqlc/cmd/sqlc generate
go: finding module for package github.com/sqlc-dev/sqlc/cmd/sqlc
error parsing sqlc.yaml: yaml: unmarshal errors:
  line 15: field output_querier_file_name not found in type opts.Options
exit status 1

Database schema
Not relevant.

SQL queries
Not relevant.

Configuration
Not a full configuration, just the problematic part

sql:
  - gen:
      go:
        output_db_file_name: "db.gen.go"
        output_models_file_name: "models.gen.go"
        output_querier_file_name: "querier.gen.go"
        output_files_suffix: ".gen.go"

Playground URL
No response
What operating system are you using?
macOS
What database engines are you using?
PostgreSQL
What type of code are you generating?
Go

Fixed by https://github.com/sqlc-dev/sqlc/pull/3006

The fix has been merged, but going to keep this open until we do a release that contains the fix.

Is there a workaround currently or a timeline about when the release with the fix will go out?
I tried rolling back my version but no dice.. 🤔
brew install<EMAIL_ADDRESS>Warning: No available formula with the name<EMAIL_ADDRESS>==> Searching for similarly named formulae and casks...
Error: No formulae or casks found for<EMAIL_ADDRESS>

You should be able to rename
output_querier_file_name to output_queries_file_name
in your sqlc.yaml file until the update is released.


Updated documentation for upcoming 0.3.0 release

Description
Adds documentation about copying the vxflexos-config Secret from the vxflexos namespace into the karavi namespace so that it can be used by the Karavi Observability services.
View changes here: https://github.com/dell/karavi-observability/blob/support-csi-powerflex-1.4/docs/GETTING_STARTED_GUIDE.md
Issues
List the issues impacted by this PR:

Issue ID

https://github.com/dell/karavi-observability/issues/30

Checklist:

[x] I have performed a self-review of my own changes.

@tdawe: Thank you for submitting your pull request!
Please make sure you have followed our contributing guidelines. We will review it as soon as possible.

We want your feedback! If you have any questions or suggestions regarding our contributing process/workflow, please reach out to us at<EMAIL_ADDRESS>


https://github.com/settings/connections/applications/Iv1.95f86b7db599025f

https://github.com/settings/connections/applications/Iv1.95f86b7db599025f
Originally posted by @Tranduchuy1 in https://github.com/Tranduchuy1/github-slideshow/issues/1#issuecomment-851375780

https://github.com/Tranduchuy1/github-slideshow/issues/3

Iv1.95f86b7db599025f

https://github.com/Tranduchuy1/github-slideshow/issues/3


Documentation for PostgreSQL / MySQL

Hello there! 👋🏼 😊
It'd be extremely helpful to have specific documentation for both PostgreSQL and MySQL, f.e. regarding the currently supported SQL commands.
Related to that, I tried to connect to a local PostgreSQL database creating a new schema. The table was correctly created, but on GraphQL/OpenAPI side it wasn't possible to find it. It'd be nice to catch this issue, so a schema on the migration folder that Platformatic can't map, and show a reason on the shell for the error.
Thank you for the amazing work you're doing! 🔝  🚀

Can you include the schema/migrations you are using? Maybe create a repo and upload your file there?

Can you include the schema/migrations you are using? Maybe create a repo and upload your file there?

Sure @mcollina 😉 Here we go

To add a bit of context, that's the table (correctly created):

That's instead OpenAPI:

... and GraphQL:

On the shell, no errors.

If I change the migration to:
CREATE TABLE IF NOT EXISTS "platformatic_test" (
    "id" uuid NOT NULL,
    "status" varchar(255) NOT NULL,
    "version" int4 NOT NULL,
    "error" jsonb,
    "created_at" timestamptz NOT NULL,
    PRIMARY KEY ("id","version")
);

Everything works correctly.
So I guess the CREATE SCHEMA and "standard_file_exports"."platformatic_test" is not recognized by platformatic db.
CREATE SCHEMA IF NOT EXISTS "standard_file_exports";

CREATE TABLE IF NOT EXISTS "standard_file_exports"."platformatic_test" (
    "id" uuid NOT NULL,
    "status" varchar(255) NOT NULL,
    "version" int4 NOT NULL,
    "error" jsonb,
    "created_at" timestamptz NOT NULL,
    PRIMARY KEY ("id","version")
);

I guess the schema in the connection string is not standard_file_exports, right?

We also don't support composite primary keys.

Good to know! Thank you :)
As I mentioned, it'd be super useful to have this kind of feedback errors directly on the shell, otherwise (in a more complex situation) debugging can become hard.

We should definitely provide better errors for these cases.


TOM YOU BETTER FIX THE WRITE ACCESS U SUSSY BAKA

Summary

Checklist

[ ] If code changes were made then they have been tested.

[ ] I have updated the documentation to reflect the changes.

[ ] This PR fixes an issue.
[ ] This PR adds something new (e.g. new method or parameters).
[ ] This PR is a breaking change (e.g. methods or parameters removed/renamed)
[ ] This PR is not a code change (e.g. documentation, README, ...)

cc @IAmTomahawkx


Query_constructor.base.py function _get_prompt() not including passed examples.

The function _get_prompt() was returning the DEFAULT_EXAMPLES even if some custom examples were given. The return FewShotPromptTemplate was returnong DEFAUL_EXAMPLES and not examples
Fixing the function _get_prompt(). Taking the examples given to the return

Fixes # (issue)
Before submitting

Who can review?
Community members can review the PR once tests pass. Tag maintainers/contributors who might be interested:

great catch, thanks @Dmaturana81!


VSecM Init Container shall be able to wait on a Kubernetes secret

VSecM init container should be able to talk to VSecM Safe to check and verify that a Kubernetes Secret actually exists before yielding the flow to the main container.
Right now, VSecM init container only checks for VSecM “secret”s; not Kubernetes Secrets.
To trigger initialization, the secret should be 1) there and 2) populated.

There is no need.
If the workload cannot see the Secret due to a race condition, it will crash, and when it is brought up, it will see the Secret.
A k8s API executing and creating a Secret but a workload not catching it up because the Secret was too slow to generate is a rare even. And if that happens, system will eventually reconcile.
Closing it as WONTFIX.


⚠ Samsung has degraded performance

In fbbf28c, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 1812 ms

Resolved: Samsung performance has improved in 3e62426.


Proper computation of realtime "segment.flush.threshold.size" in case of force-commit

The SegmentFlushThresholdComputer does not appropriately manage situations where segments are committing as a result of force-commit requests. In this PR, the size threshold of the committing segment is selected as the value for the new consuming segment.

Codecov Report
Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (24f8433) 61.61% compared to head (71f05f4) 61.45%.

Files
Patch %
Lines

...er/api/resources/LLCSegmentCompletionHandlers.java
0.00%
1 Missing :warning:

...a/manager/realtime/RealtimeSegmentDataManager.java
0.00%
1 Missing :warning:

Additional details and impacted files
@@             Coverage Diff              @@
##             master   #12188      +/-   ##
============================================
- Coverage     61.61%   61.45%   -0.16%
  Complexity     1153     1153
============================================
  Files          2407     2407
  Lines        130936   130947      +11
  Branches      20233    20235       +2
============================================
- Hits          80673    80477     -196
- Misses        44367    44575     +208
+ Partials       5896     5895       -1

Flag
Coverage Δ

custom-integration1
<0.01% <0.00%> (ø)

integration
<0.01% <0.00%> (ø)

integration1
<0.01% <0.00%> (ø)

integration2
0.00% <0.00%> (ø)

java-11
27.69% <75.00%> (-33.87%)
:arrow_down:

java-21
61.45% <87.50%> (-0.01%)
:arrow_down:

skip-bytebuffers-false
61.44% <87.50%> (-0.14%)
:arrow_down:

skip-bytebuffers-true
61.40% <87.50%> (-0.05%)
:arrow_down:

temurin
61.45% <87.50%> (-0.16%)
:arrow_down:

unittests
61.45% <87.50%> (-0.16%)
:arrow_down:

unittests1
46.45% <66.66%> (-0.18%)
:arrow_down:

unittests2
27.69% <75.00%> (-0.03%)
:arrow_down:

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

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


main.py :    line numer 36. ValueError: max() arg is an empty sequence

@keshavkmr48  Can I please know how you resolved this, I am getting the same error


how to use jwt auth with db table check (db less)

Summary
how to use jwt auth without db table check (db less)
for use in microservice

This library is used to create JWTs. Did I understand you right, that you want to verify an existing JWT?

@eschricker
when me
set a laravel route in check.jwt (this mean that route should be logined)
this library send query to database to check user exist in table or not exist.
i want to remove this database check
and just check jwt validation

Then you need to write your own middleware. You can use the referenced one as inspiration.


Revert "Merge pull request #131 from carolynvs/reviewing-howto"

This reverts commit 42860e37c7f5ecedf6d71ec19e5531fe8d8c6cb6, reversing
changes made to 9f7985ea0b92a10297a2aa9125989a9b1050f974.
I am backing this out since it isn't supposed to show up on the live site yet and there are questions about the template outstanding.

/approve


Fix silly validation checks using old property names.

Chris bumped into this earlier, couldn't complete a build because this validation was checking for an old field name.
PTAL @huayang-codaio @patrick-codaio CC @chris-codaio

Yeah, pretty surprised. Guess only first-party packs are using these...


bugfixclear block for partition values

Proposed changes
clear block, or we will get wrong partition values.

run buildall


Confusion over text description of Current Context ?

Where it states : ' If you think of an Intent as a message, you are providing the name of the message recipient (TranslationHistoryActivity) and the receiver's address (Context).'
The Current Context is surely the SENDER's address i.e "this" ,  not the recipient's ?

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

ID: f4b7d0a1-1c45-0ef1-c11e-491e85d32991
Version Independent ID: c7acc4e2-78a4-98f0-2e64-5e395c974c81
Content: Hello, Android Multiscreen: Deep Dive - Xamarin
Content Source: docs/android/get-started/hello-android-multiscreen/hello-android-multiscreen-deepdive.md
Product: xamarin
Technology: xamarin-android
GitHub Login: @davidortinau
Microsoft Alias: daortin

Thanks for submitting an issue and we apologize for the delayed response. The requested updates haven't been made since the creation of the issue, and the timeline for resolution may vary based on resourcing, so the issue is being moved to an internal repo to better track it.


preserve arity in R.bind

I discovered this bug while using R.bind to assert that R.curry and R.curryN preserve context.

Makes sense.  :+1:


Refcount graphdriver plugins properly

Adds 2 new methods to v2 plugin Acquire and Release which allow
refcounting directly at the plugin level instead of just the store.
Since a graphdriver is initialized exactly once, and is really managed
by a separate object, it didn't really seem right to call
getter.Get() to refcount graphdriver plugins.
On shutdown it was particularly weird where we'd either need to keep a
driver reference in daemon, or keep a reference to the pluggin getter in
the layer store, and even then still store extra details on if the
graphdriver is a plugin or not.
Instead the plugin proxy itself will handle calling the neccessary
refcounting methods directly on the plugin object.
Also adds a new interface in plugingetter to account for these new
functions which are not going to be implemented by v1 plugins.
Changes terms plugingetter.CREATE and plugingetter.REMOVE to
ACQUIRE and RELEASE respectively, which seems to be better
adjectives for what we're doing.
Signed-off-by: Brian Goff<EMAIL_ADDRESS>

LGTM

ping @anusha-ragunathan

@thaJeztah updated.
One thing I'm not sure how to handle here is daemon crashes/ungraceful shutdowns.
Also thinking we probably ought not call Init on live-restore.

Needs rebase

https://github.com/cpuguy83/docker/blob/63887cab055330f22644eb8c0db57fb940c46264/plugin/store/store.go#L171 maintains the refcount during Get and needs to be updated.

build failures.

Fixed

ping @anusha-ragunathan @tiborvass CI is green

LGTM


Decomposed _get_element_properties into two functions

This PR intends to do the minimum change required to decompose _get_element_properties into two functions: one addressing link properties and the other addressing non-link properties. In a future PR, I will break down _get_link_properties into smaller functions since its logic is a bit complex. My next PR will focus on changing _set_up_schema_elements_of_kind into a different function for each kind. Once that PR is approved, I will remove links as properties and store them as a field of edges instead.

Coverage increased (+0.03%) to 93.647% when pulling 98a39f76225da1b240a206b51b7a2536dbc41d9c on decompose-get-element-properties into 4ea5c5c1a1563a9cc8cd4b5efc5288ef793906e3 on refactor-schema-graph.


Email on submit

Send emails to team members when a stats sheet is submitted.
I commented out the accountables that we currently don't include in the stats emails.

TODO: Send a different email when stats are submitted and contain errors. We probably want to send a list of the errors and a message about what this means.

Looks like there was a couple stowaway commits.


Feature request: Add STRtree.nearest function

Note
Since Shapely support no more than GEOS 3.4.0 right now, it will be great to add other functions like GEOSSTRtree_nearest in GEOS 3.6.0. So I was trying to add this function by myself and meet some problems.
Problems
GEOS source code is like:
const GEOSGeometry *
GEOSSTRtree_nearest (geos::index::strtree::STRtree *tree,
                     const geos::geom::Geometry *g)
{
    return GEOSSTRtree_nearest_r( handle, tree, g);
}

const void* GEOSSTRtree_nearest_generic(GEOSSTRtree *tree,
                                        const void* item,
                                        const GEOSGeometry* itemEnvelope,
                                        GEOSDistanceCallback distancefn,
                                        void* userdata)
{
    return GEOSSTRtree_nearest_generic_r( handle, tree, item, itemEnvelope, distancefn, userdata);
}

Then I added code in strtree.py, ctypes_declarations.py and test.py and tried to run the test but got the error Segmentation fault: 11
strtree.py
from shapely.geometry.base import geom_factory
class STRtree:
    def nearest(self, geom):
        if self._n_geoms == 0:
            return None

        return geom_factory(lgeos.GEOSSTRtree_nearest(self._tree_handle, geom._geom))

ctypes_declarations.py
def prototype(lgeos, geos_version):
    if geos_version >= (3, 6, 0):
        lgeos.GEOSSTRtree_nearest.argtypes = [c_void_p, c_void_p]
        lgeos.GEOSSTRtree_nearest.restype = c_void_p

test.py
from shapely.geometry import Point, Polygon
from shapely.strtree import STRtree

a = []
a.append(Polygon([(1,0),(2,0),(2,1),(1,1)]))
a.append(Polygon([(0,2),(1,2),(1,3),(0,3)]))
a.append(Polygon([(-1.5,0),(-2.5,0),(-2.5,-1),(-1.5,-1)]))
tree = STRtree(a)
tree.nearest(Point(0,0))

I thought my problem is about data processing between the ctypes and geometry, so I tried to reimplement to shared_path function but still got something wrong.
from shapely.geometry import LineString
from shapely.geometry.base import geom_factory
from ctypes import CDLL, c_void_p

dll = CDLL('/Users/*****/anaconda3/lib/python3.7/site-packages/shapely/.dylibs/libgeos_c.1.dylib')
shared_path = dll.GEOSSharedPaths
shared_path.restype = c_void_p
shared_path.argtypes = [c_void_p, c_void_p]
g1 = LineString([((0, 0), (1, 1)), ((-1, 0), (1, 0))])
g2 = LineString([((0, 0), (1, 1)), ((-2, 0), (1, 5))])
geom_factory(shared_path(g1._geom, g2._geom))

Could you help me figure this out, thx!

Thanks for adding the feature @FuriousRococo. A question while trying to understand this nearest function. Say I am trying to find nearest road for a point. So the STR tree is a tree of MultiLineString roads. So in this case, is the nearest road given using the distance projected distance from the point to the MultiLineStrings? Or is it based on the smallest distance to the centroids of the MultiLineStrings  representing the roads? Thank you!

I've wrote a test and I think the nearest function check every line in MultiLineString to see if the nearest line is inside MultiLineString. Here is my script @asif-rehan
test.py
from shapely.strtree import STRtree
from shapely.geometry import Point, LineString, MultiLineString

tree_list = [LineString([[0,1],[1,1]])]
tree_list.append(MultiLineString([LineString([[0,0],[1,0]]),LineString([[0,3],[1,3]])]))
tree = STRtree(tree_list)

tree.nearest(Point(0.5,0.25)).wkt

Output
'MULTILINESTRING ((0 0, 1 0), (0 3, 1 3))'


constant function cannot take txParams

while writing tests i often have to call different functions of the contract as a different user.
i notice that constant functions are not taking the txParams? as last input

Yes, I have faced this myself, will fix very soon.


NEON implementations not running on CI

I'm working on coverage, and I just noticed that none of the NEON code in MMX gets hit.  The aarch64, armv8 and armv7 builds should all be hitting at least some of them.

This is invalid.  They are running, CI just isn't picking it up, probably because NEON functions don't have the artificial attribute set (though SSE/AVX do), coupled with all the inlining.


deadlock in route calculation

I came across this when running NUM_WEAVES=50 bin/multiweave launch -connlimit 100...
The pertinent part of the stack trace is
goroutine 6 [semacquire, 4 minutes]:
sync.(*RWMutex).RLock(0xc2092dcaf0)
	/usr/local/go/src/sync/rwmutex.go:36 +0x5f
github.com/weaveworks/weave/router.(*Peer).Routes(0xc208010b60, 0x0, 0xc209253100, 0x0, 0x0)
	/home/matthias/go/src/github.com/weaveworks/weave/router/peer.go:167 +0x427
github.com/weaveworks/weave/router.(*Peers).garbageCollect(0xc2090cf500, 0x0, 0x0, 0x0)
	/home/matthias/go/src/github.com/weaveworks/weave/router/peers.go:178 +0x9b
github.com/weaveworks/weave/router.(*Peers).GarbageCollect(0xc2090cf500, 0x0, 0x0, 0x0)
	/home/matthias/go/src/github.com/weaveworks/weave/router/peers.go:147 +0x82
github.com/weaveworks/weave/router.(*LocalPeer).handleDeleteConnection(0xc2090d2fc0, 0x7fe5b7ca7760, 0xc2093001c0)
	/home/matthias/go/src/github.com/weaveworks/weave/router/local_peer.go:227 +0x3d3
github.com/weaveworks/weave/router.(*LocalPeer).handleAddConnection(0xc2090d2fc0, 0x7fe5b7ca7760, 0xc2092667e0, 0x0, 0x0)
	/home/matthias/go/src/github.com/weaveworks/weave/router/local_peer.go:174 +0x58e
github.com/weaveworks/weave/router.func·019()
	/home/matthias/go/src/github.com/weaveworks/weave/router/local_peer.go:121 +0x70
github.com/weaveworks/weave/router.(*LocalPeer).actorLoop(0xc2090d2fc0, 0xc20805c1e0)
	/home/matthias/go/src/github.com/weaveworks/weave/router/local_peer.go:150 +0xac
created by github.com/weaveworks/weave/router.(*LocalPeer).Start
	/home/matthias/go/src/github.com/weaveworks/weave/router/local_peer.go:25 +0x7e

goroutine 8 [semacquire, 4 minutes]:
sync.(*RWMutex).RLock(0xc2092dca80)
	/usr/local/go/src/sync/rwmutex.go:36 +0x5f
github.com/weaveworks/weave/router.(*Peer).Routes(0xc208010b60, 0x0, 0x1, 0xc20801b700, 0x0)
	/home/matthias/go/src/github.com/weaveworks/weave/router/peer.go:167 +0x427
github.com/weaveworks/weave/router.(*Routes).calculateUnicast(0xc20805c180, 0x1, 0x2)
	/home/matthias/go/src/github.com/weaveworks/weave/router/routes.go:193 +0x3e
github.com/weaveworks/weave/router.(*Routes).calculate(0xc20805c180)
	/home/matthias/go/src/github.com/weaveworks/weave/router/routes.go:170 +0x2d
github.com/weaveworks/weave/router.(*Routes).run(0xc20805c180, 0xc20805c240, 0xc20805c2a0)
	/home/matthias/go/src/github.com/weaveworks/weave/router/routes.go:156 +0x95
created by github.com/weaveworks/weave/router.(*Routes).Start
	/home/matthias/go/src/github.com/weaveworks/weave/router/routes.go:44 +0xd4

goroutine 35 [semacquire, 4 minutes]:
sync.(*RWMutex).Lock(0xc2092dcaf0)
	/usr/local/go/src/sync/rwmutex.go:87 +0xa4
github.com/weaveworks/weave/router.(*Peer).DecrementLocalRefCount(0xc2092dcaf0)
	/home/matthias/go/src/github.com/weaveworks/weave/router/peer.go:58 +0x2f
github.com/weaveworks/weave/router.(*LocalConnection).shutdown(0xc2093001c0, 0x7fe5b8edc4c0, 0xc2093e7ef0)
	/home/matthias/go/src/github.com/weaveworks/weave/router/connection.go:415 +0x1d5
github.com/weaveworks/weave/router.func·005()
	/home/matthias/go/src/github.com/weaveworks/weave/router/connection.go:288 +0x37
github.com/weaveworks/weave/router.(*LocalConnection).run(0xc2093001c0, 0xc20922a780, 0xc20922a7e0, 0x8ec700)
	/home/matthias/go/src/github.com/weaveworks/weave/router/connection.go:316 +0x3f4
created by github.com/weaveworks/weave/router.(*LocalConnection).Start
	/home/matthias/go/src/github.com/weaveworks/weave/router/connection.go:120 +0xdd

goroutine 33 [semacquire, 4 minutes]:
sync.(*RWMutex).Lock(0xc2092dca80)
	/usr/local/go/src/sync/rwmutex.go:87 +0xa4
github.com/weaveworks/weave/router.(*Peer).DecrementLocalRefCount(0xc2092dca80)
	/home/matthias/go/src/github.com/weaveworks/weave/router/peer.go:58 +0x2f
github.com/weaveworks/weave/router.(*LocalConnection).shutdown(0xc209300000, 0x7fe5b7ca7998, 0xc2093e8680)
	/home/matthias/go/src/github.com/weaveworks/weave/router/connection.go:415 +0x1d5
github.com/weaveworks/weave/router.func·005()
	/home/matthias/go/src/github.com/weaveworks/weave/router/connection.go:288 +0x37
github.com/weaveworks/weave/router.(*LocalConnection).run(0xc209300000, 0xc20922a0c0, 0xc20922a120, 0x8ec700)
	/home/matthias/go/src/github.com/weaveworks/weave/router/connection.go:316 +0x3f4
created by github.com/weaveworks/weave/router.(*LocalConnection).Start
	/home/matthias/go/src/github.com/weaveworks/weave/router/connection.go:120 +0xdd

The 1st goroutine is the LocalPeer actor, which performs a route calculation in order to figure out which peers to gc after a connection got deleted. The 2nd goroutine is the Routes actor, which is performing one of its several route calculations. Both goroutines are stuck in the same place, attempting to acquire a read lock on a (different) Peer. The reason they can't get the lock is that there are pending write lock acquisitions on the two peers, by the last two goroutines, which are terminating connection actors attempting to decrement the reference count.
Why don't the write lock acquisitions succeed? The reason must be that some other goroutine(s) hold a read lock. We cannot see that from the stack traces, but by far the most likely candidates are the first two goroutines holding a read lock on the peer the other is attempting to acquire.
The issue here then is that the two route calculations attempt to acquire the locks in a different order. Partially by accident - due to golang's random map traversal (of connection maps, in this case) - and partially by design (since different route calculations perform different traversals of the topology).
The easiest way to fix this is probably to prevent concurrent route calculations, especially since there are only two goroutines - the ones we are seeing here - that ever perform these. It is also worth observing that the route calculation performed by the peer gc is identical to the unicastAll route calculation performed by the Routes actor.

The per-peer locks always seemed like overkill to me, and that kind of fine-grained locking is hard to get right.  What about just having a router-wide lock covering all routing information?

I did consider that but such a lock would be on the critical path for everything, and would have very high contention. I'm not ruling out such an approach, but atm I'm not giving up on the peer locks just yet.

would have very high contention

I guess I'm missing something here - what's the reason to be concerned about contention?
I can imagine that read contention could be high.  But with a RW lock, we shouldn't need to be too concerned about that.  I had assumed that write operations are mostly in response to topology changes, and so are not terribly frequent.  And if the lock in question just guards routing and peer information, write critical sections shouldn't be able to block on anything else.  And I'd guess that even the main routing calculation takes microseconds for networks of the maximum size we are concerned with at present.

Weave is meant to cope fairly well with a fairly high churn rate in the topology. With a single lock, all topology changes would stall the data path. No idea how much a problem that is.

What's a fairly high rate?  I'm guessing that means thousands of changes a second, not millions.  That's actually a modest level of contention if the critical sections are short.  I might well be overlooking something, but the only area that springs to my mind as a critical section that wuodln't be short is the routing calculation.
If we are genuinely aiming for high-performance concurrency, it might be worth looking at how the Linux kernel handles this kind of read-mostly situation: not through conventional locking, but through RCU (read-copy-update).  In RCU, readers don't need to take a lock, because they just read an immutable data structure.  Writers update a copy of that data structure, and publish it with an atomic pointer update (this needs to be done with a little care, due to CPU memory ordering models; this is what atomic.StorePointer is for in go).
(The implementation of RCU in the Linux kernel is a lot more involved than that, because there is no garbage collection to clean up old copies.  The details of this and many other low-level concurrency techniques are described in Paul McKenney's work-in-progress book at https://kernel.org/pub/linux/kernel/people/paulmck/perfbook/perfbook.html )
The kernel does have RW locks, but RCU is often preferred for two reasons:

Although RW locks promise that concurrent readers can take the lock without contention, real-world RW lock implementations write to the lock's cache line even when a reader acquires or releases.  The resulting cache line contention can mean that, in many cases, RW locks provide no more scalability than exclusive locks.  RCU does not suffer from this, because RCU readers only read from the shared memory locations.
With RCU, while  a writer is computing the updated data structure, readers can still proceed on the basis of the old copy.

That second point is particularly relevant to the issue you raised of avoiding stalling weave's data path while topology changes and routing calculations are occurring.

Weave does not hold write locks during routing calculations.
Re alternative concurrency features...I have little appetite to complete revamp weave's entire concurrency control as part of this issue.
Anyway, I will see how hideous usage of a single lock gets. Lack of re-entrancy on golang's locks is one obstacle, which either requires a set of parallel APIs or breaking of encapsulation. But perhaps we are lucky and few methods on Peer and Connection are called in both contexts with and without the single lock.

@dpw btw, there is only one place in the code where we acquire locks on multiple peers - the route calculation.


'datetime' stac searches don't support all of RFC 3339

We allow stac searches with a datetime property: /stac/search?datetime=
Currently datetime can be a timestamp:
/stac/search?datetime=2018-02-12T23:20:50Z

or a range:
/stac/search?datetime=2018-02-12T00:00:00Z/2018-03-18T12:31:12Z

... and time is optional:
/stac/search?datetime=2018-02-12
/stac/search?datetime=2018-02-12/2018-03-01

But RFC 3339 looks much larger and has many other options. Most notably, newer version of stac-api mention that open ranges are allowed with two dots:
/stac/search?datetime=2018-02-12/...

Short-term, we should at least support these open-ranges, since the Stac docs mention them, and they're easy to implement.
...longer-term, ideally look for a library to parse these ranges rather than implementing them ourselves.

Follow-up query to look into: do our range searches handle inclusive/exclusive bounds the same way as expected by Stac?
Do we interpret "ranges" like /stac/search?datetime=2018-02-12/2018-02-12 correctly?

See also comment by @alexgleith on limitation of current open-range searches: https://github.com/opendatacube/datacube-explorer/pull/243#discussion_r534572906


[Task]: Update Snowflake jdbc version

What needs to happen?
Dependabot is giving a warning that we should update Snowflake dependencies.
Issue Priority
Priority: 3
Issue Component
Component: Database

.take-issue


Agenda: amount of days calculation off in multi-week events

Describe the bug
If you have a multi week event, the calculation which day of the even it it at a given day is off.
Steps to reproduce
Consider the following file
* multi week event
<2023-03-26 Sun>--<2023-04-03 Mon>

This leads to the following three views in the agenda (week-view):
Here it says 1/8
Week-agenda (W12):
Montag     20 März 2023
Dienstag   21 März 2023
Mittwoch   22 März 2023
Donnerstag 23 März 2023
Freitag    24 März 2023
Samstag    25 März 2023
Sonntag    26 März 2023
  a:          (1/8): multi week event

Here it starts again at 1/8:
Week-agenda (W13):
Montag     27 März 2023
  a:          (1/8): multi week event
Dienstag   28 März 2023
  a:          (2/8): multi week event
Mittwoch   29 März 2023
  a:          (3/8): multi week event
Donnerstag 30 März 2023
  a:          (4/8): multi week event
Freitag    31 März 2023
  a:          (5/8): multi week event
Samstag    01 April 2023
  a:          (6/8): multi week event
Sonntag    02 April 2023
  a:          (7/8): multi week event

and here it says 9/9
Week-agenda (W14):
Montag     03 April 2023
  a:          (9/9): multi week event
Dienstag   04 April 2023
Mittwoch   05 April 2023
Donnerstag 06 April 2023
Freitag    07 April 2023
Samstag    08 April 2023
Sonntag    09 April 2023

Expected behavior
In the first week it should say, 1/9, in the second week it should say 2/9, 3/9... and in the third week it should say 9/9
Emacs functionality
No response
Minimal init.lua
Minimal init provided by nvim-orgmode.
Screenshots and recordings
No response
OS / Distro
Ubuntu 22.04
Neovim version/commit
master
Additional context
No response

Can confirm this. Leave a message if you'd like to look into it yourself :slightly_smiling_face:

No, go ahead please! :)
I'm too busy right now unfortunately.

Hm, it works when it's in the future: <2023-04-02 Sun>--<2023-04-10 Mon>. It varies a bit, but it stays broken when the start of the range is in the past. It works today (Monday), but was broken yesterday (Sunday). Strange

Might be a DST issue. We are not handling any of that.

@Maltimore can you check if everything works fine now, since DST changes are behind us ? I just want to confirm where's the bug.

Everything works fine now. I guess you're right about the DST then!


"HSV" and "Raw" text in ColorPicker are not appearing on export (Tested on Windows)

Godot version:
3.2.stable
OS/device including version:
Windows 10 64-bit
Issue description:
When exporting a project that has ColorPicker (or ColorPickerButton) nodes, the "HSV" and "Raw" text do not appear, but they do when running the project inside Godot. I've only tested it in Windows Desktop so far. It looks like this

EDIT: I tested it on HTML5 too, same problem there.
Steps to reproduce:
Create an empty project, add a ColorPicker or ColorPickerButton node and run it. You'll see the "HSV" and "Raw" text as it's supposed to be. Then, export it to Windows. The text does not appear and it just shows two On/Off buttons without text, like the image I uploaded above.
Minimal reproduction project:
Godot 3.2 Color Picker export problem.zip

@OverloadedOrama Can you (or anyone else) still reproduce this bug in Godot 3.2.3 or any later release?
If yes, please ensure that an up-to-date Minimal Reproduction Project (MRP) is included in this report (a MRP is a zipped Godot project with the minimal elements necessary to reliably trigger the bug). You can upload ZIP files in an issue comment with a drag and drop.

@OverloadedOrama Can you (or anyone else) still reproduce this bug in Godot 3.2.3 or any later release?

@Calinou Yes, the bug can still be reproduced in Godot 3.2.3. I tested it both with the minimal project I uploaded, and with Pixelorama's GitHub Actions builds.


Graceful shutdown only works if fastify server started and terminates without processing any requests

When testing this plugin, I find that it only works (fastify v4) when I start the server, then ctrl-c immediately to shut it down. It gracefully shuts down correctly and runs any onClose hooks I have.

This happens even if that route handler does nothing at all.

Hi @ctv-bigi thank you for reporting the issue. I was able to reproduce it. You can fix it by listening on ipv4 address <IP_ADDRESS> instead of localhost which listen to dual stack on most systems.

Hi, I can't reproduce it. You should not close the server yourself. The plugin will call it after all other handlers has been called.
'use strict'

const fastify = require('fastify')({
  logger: {
    level: 'info',
  },
})

fastify.register(require('./')).after((err) => {
  fastify.log.error(err)
  // Register custom clean up handler
  fastify.gracefulShutdown((code, cb) => {
    fastify.log.info('Graceful shutdown ...')
    cb()
    fastify.log.info('Graceful shutdown complete')
  })
})

const schema = {
  schema: {
    response: {
      200: {
        type: 'object',
        properties: {
          hello: {
            type: 'string',
          },
        },
      },
    },
  },
}

fastify.get('/', schema, async function (req, reply) {
  await new Promise((resolve, reject) => {
    setTimeout(() => {
      resolve()
    }, 5000)
  })
  reply.send({ hello: 'world' })
})

fastify.listen(
  {
    host: '<IP_ADDRESS>',
    port: 3000,
  },
  (err) => {
    if (err) throw err
    console.log(`server listening on ${fastify.server.address().port}`)
  },
)

{"level":50,"time":1711214092034,"pid":248845,"hostname":"pop-os","msg":null}
server listening on 3000
{"level":30,"time":1711214092040,"pid":248845,"hostname":"pop-os","msg":"Server listening at http://<IP_ADDRESS>:3000"}
{"level":30,"time":1711214099827,"pid":248845,"hostname":"pop-os","reqId":"req-1","req":{"method":"GET","url":"/","hostname":"localhost:3000","remoteAddress":"<IP_ADDRESS>","remotePort":53902},"msg":"incoming request"}
^C{"level":30,"time":1711214101301,"pid":248845,"hostname":"pop-os","msg":"Graceful shutdown ..."}
{"level":30,"time":1711214101301,"pid":248845,"hostname":"pop-os","msg":"Graceful shutdown complete"}
{"level":30,"time":1711214104831,"pid":248845,"hostname":"pop-os","reqId":"req-1","res":{"statusCode":200},"responseTime":5003.497728999704,"msg":"request completed"}
{"level":30,"time":1711214104894,"pid":248845,"hostname":"pop-os","reqId":"req-2","res":{"statusCode":503},"msg":"request aborted - refusing to accept new requests as server is closing"}

What Node.js, Fastify versioning are you using?

I use Node 20. What is your operating system? Those are my logs from your example
{"level":50,"time":1711276410599,"pid":19248,"hostname":"pop-os","msg":null}
{"level":30,"time":1711276410601,"pid":19248,"hostname":"pop-os","msg":"Server listening at http://<IP_ADDRESS>:3000"}
{"level":30,"time":1711276415582,"pid":19248,"hostname":"pop-os","reqId":"req-1","req":{"method":"GET","url":"/","hostname":"localhost:3000","remoteAddress":"<IP_ADDRESS>","remotePort":49580},"msg":"incoming request"}
start
^C{"level":30,"time":1711276417053,"pid":19248,"hostname":"pop-os","msg":"Graceful shutdown ..."}
{"level":30,"time":1711276417053,"pid":19248,"hostname":"pop-os","msg":"Graceful shutdown complete"}
end
{"level":30,"time":1711276420586,"pid":19248,"hostname":"pop-os","reqId":"req-1","res":{"statusCode":200},"responseTime":5004.05306299997,"msg":"request completed"}
{"level":30,"time":1711276420648,"pid":19248,"hostname":"pop-os","reqId":"req-2","res":{"statusCode":503},"msg":"request aborted - refusing to accept new requests as server is closing"}


Missing punctuation on "magical maths - subtractions" instructions..

Challenge http://beta.freecodecamp.com/challenges/magical-maths-subtraction has an issue.
In JavaScript whole numbers (called integers) can be easily used to preform mathematical functions  <--
Let's try a few of the most commonly used ones now  <--
We use - for subtraction  <---

merged to #1642


When using reldi with python 3x i get no Client errror

Dear admins
Is there a way to resolve the problem using the Reldi lib with Python 3.6:
when trying to call
from reldi.parser import Parser
import json
import os
#parser authorization
p = Parser('hr')
p.authorize('x','y')
...
The response I get is:
File "C:\Users\Korisnik\Anaconda3\lib\site-packages\reldi\parser.py", line 2, in
from client import Client
ImportError: cannot import name 'Client'
?
Tried to create new env. That did not help either.
Any suggestions?

I have the same issue. Did you manage to work it out?

From my understanding this is a python2 vs. python3 issue. We will move to python3 shortly, but until then I suggest you simply use python2. If the problem persists in python2, please let us know!

This is definitely a Python 2 vs Python 3 issue. We are currently working on migrating to Python 3.
As @nljubesi said, it is recommnded to used Python 2.
The whole software will be moved to Python 3 in next couple of weeks as we need to update the API as well.

This is definitely a Python 2 vs Python 3 issue. We are currently working on migrating to Python 3.
As @nljubesi said, it is recommnded to used Python 2.
The whole software will be moved to Python 3 in next couple of weeks as we need to update the API as well.

Is there an update on this with regard to migrating to python 3?


Mekanism in 1.10.2

Issue Description:
Added following mods:
CraftTweaker-1.10.2-3.0.22
ModTweaker2-2.0.9
Mekanism-1.10.2-<IP_ADDRESS>8
Trying to add custom recipes for enrichment chamber and combiner.
What happens:
Error saying no such member mekanism
What you expected to happen:
That it would work like described on the wiki
http://minetweaker3.powerofbytes.com/wiki/ModTweaker:Mekanism_Support
Script used:
http://pastebin.ubuntu.com/24090159/
Minetweaker.log file:
http://pastebin.ubuntu.com/24090164/

Affected Versions (Do not use "latest"):

Minecraft: 1.10.2
Forge: 2239
Crafttweaker:  3.0.22

This is the wrong repo.
There is no mekanism support in 1.10.


runtime(cmake): sync runtime files with upstream

Thanks, I don't have anything more to add, you covered it all :)

They were

https://gitlab.kitware.com/cmake/cmake/-/blob/44a2f3f3324a608062eb7b88072c7640f80f4a5c/Auxiliary/vim/indent/cmake.vim
https://gitlab.kitware.com/cmake/cmake/-/blob/c1d787e4734ca107e8ae084b3832e441651a6266/Auxiliary/vim/syntax/cmake.vim

MR cmake!9034.

The upstream is https://github.com/pboettch/vim-cmake-syntax.
Consequently this goes to pboettch/vim-cmake-syntax#33.

so is this ready? Or is there anything missing?

Ready but pboettch/vim-cmake-syntax#33 is not merged.


matrics multiplay error

As you can see, the result of A^Tb is wrong.
if I change A into real latex code instead of assigning  A  as a Matrix, it can be fine.
advice:
preset some special matrix like I for identity matrix

I see. very helpful. thanks
---Original---
From: @.>
Date: Thu, May 12, 2022 22:53 PM
To: @.>;
Cc<EMAIL_ADDRESS>Subject: Re: [OrangeX4/Latex-Sympy-Calculator] matrics multiplay error (Issue#13)
It is limit of SymPy itself and it is hard to fix it.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

I update my reply and you can know the reasons.

I have tried to fix the problem, and I use a method to avoid it, so you can calculate it successfully. Besides, I add identity matrix into it, but you must use syntax like \bm{I}_3 where 3 is the dimension of identity matrix.
You can update your latex2sympy2 module by pip install latex2sympy2==1.7.8.

agree wiht you. Maybe a designed latex package is better for this idea. Thanks for your wonderful work!