README: Add network.trr.custom_uri

It is my understanding that this only affects the preferences GUI, let me know if that's not the case. (This setting was seen on firefox 68, haven't tried to find out when/how it was introduced.)
@valenting, could you confirm my understanding of this setting? Or set me right! :)
Thanks,

Also a UI preference. Users should not modify it in about:config - it reflects what is set by about:preferences.

Thanks Valetin. Is

Modifying this should not be necessary unless you want to update the preferences GUI

fine or should I rephrase as a recommendation not to modify at all?

I think it's better not to modify at all, as doing so could break the UI.

My agenda was to document the undocumented settings, as to avoid confusion when tweaking TRR prefs. By documenting that it is exclusively UI related, most users would not need to modify it. But I struggle to phrase it as a recommendation not to change it at all, as nothing else in the document has that kind of language.
By opening about:config, you would have to agree with the "may break firefox" disclaimer already. What kind of value for custom_uri would break the UI? Would it be more severe than other already documented settings?
Thanks for you feedback :)

Thanks!


[ARM cpu] pkg/store/cache.go:100:23: constant<PHONE_NUMBER>000 overflows int

Hey, I just go get'ed the project a few mins ago and tried to install it. But I ran into an error. Full output below.
pi@NanoPi-M3:~/go/src/github.com/improbable-eng/thanos$ make
>> fetching goimports
>> fetching promu
>> fetching dep
>> dep ensure
>> formatting code
>> building binaries
 >   thanos
# github.com/improbable-eng/thanos/pkg/store
pkg/store/cache.go:100:23: constant<PHONE_NUMBER>000 overflows int
!! command failed: build -o /home/pi/go/src/github.com/improbable-eng/thanos/thanos -ldflags -X github.com/improbable-eng/thanos/vendor/github.com/prometheus/common/version.Version=v0.0.1 -X github.com/improbable-eng/thanos/vendor/github.com/prometheus/common/version.Revision=64207e6985c210e75367e132f3fb40ed19226f47 -X github.com/improbable-eng/thanos/vendor/github.com/prometheus/common/version.Branch=master -X github.com/improbable-eng/thanos/vendor/github.com/prometheus/common/version.BuildUser=pi@NanoPi-M3 -X github.com/improbable-eng/thanos/vendor/github.com/prometheus/common/version.BuildDate=20180601-12:39:58  -extldflags '-static' -a -tags netgo github.com/improbable-eng/thanos/cmd/thanos: exit status 2
Makefile:21: recipe for target 'build' failed
make: *** [build] Error 1

Interesting. Thanks for letting now.
What OS you have and what go version?

I am using Ubuntu 16.04.4 LTS on a NanoPi-M3 which is similar to a Raspberry Pi. Go version is go version go1.10.2 linux/arm.

32bit or 64bit?

anyway will  fix this. We will use math.MaxInt or something instead this constant. This should fix your problem

I am not exactly sure what I have installed. System just says armv7l. But thanks for the upcoming fix!

Can you jump on this branch and run make build? https://github.com/improbable-eng/thanos/pull/367

Sorry for late response. It still fails with the same error:
pi@NanoPi-M3:~/go/src/github.com/improbable-eng/thanos$ make build
>> building binaries
 >   thanos
# github.com/improbable-eng/thanos/pkg/store
pkg/store/cache.go:102:22: constant<PHONE_NUMBER>854775807 overflows int
!! command failed: build -o /home/pi/go/src/github.com/improbable-eng/thanos/thanos -ldflags -X github.com/improbable-eng/thanos/vendor/github.com/prometheus/common/version.Version=v0.0.1 -X github.com/improbable-eng/thanos/vendor/github.com/prometheus/common/version.Revision=ffb5b34238f243124364482e41d8fd1d1fedac67 -X github.com/improbable-eng/thanos/vendor/github.com/prometheus/common/version.Branch=maxInt -X github.com/improbable-eng/thanos/vendor/github.com/prometheus/common/version.BuildUser=pi@NanoPi-M3 -X github.com/improbable-eng/thanos/vendor/github.com/prometheus/common/version.BuildDate=20180601-22:35:29  -extldflags '-static' -a -tags netgo github.com/improbable-eng/thanos/cmd/thanos: exit status 2
Makefile:35: recipe for target 'build' failed
make: *** [build] Error 1

Ok. This is definitely something specific to your OS/HW (arm) can we have more insights what you installed? What kernel, uname -a etc? I am not familiar with running Go on something that exotic, but why not ((:

What exactly do you need?
$ uname -a
Linux NanoPi-M3 3.4.39-s5p6818 #2 SMP PREEMPT Tue Sep 12 11:39:51 HKT 2017 armv7l armv7l armv7l GNU/Linux

https://github.com/golang/go/issues/23086

Can try to fix this in future days. Basically instead of math.MaxInt64 we need int64(math.MaxInt64) to be able to compile on 32 bit system :eyes:

Yeah, I'd seen this before. You can test this easily like this:
$ GOARCH=386 make build
>> building binaries
 >   thanos
# github.com/improbable-eng/thanos/pkg/store
pkg/store/cache.go:100:23: constant<PHONE_NUMBER>000 overflows int
(...)

ah, thanks @pharaujo  will make it bit easier for me to test :+1:

Hey, any progress on this one?

Sorry, the change is pretty straightforward but there were other priorities ):
Overall, we can make Thanos supporting 32bit system but you need to be aware of all the implications. I talked with Prometheus community and Prometheus itself has mixed feeling about supporting 32 bit systems. Basically, for new TSDB library (that is used in Thanos as well) there seems to be strong limitations on how large TSDB block can be (1.5Gb). There might some other issues as well. They recommend Prometheus 1.8x for 32 bits, but Thanos is designed for 2.+ Prometheus.
Looks like your NanoPI3 has 64-bit CPU so just the kernel needs to be 64-bit as well (for example this: https://github.com/rafaello7/linux-nanopi-m3)
I would suggest, instead of waiting for my fix that most likely will not solve your issue (because of TSDB limitaitons for 32 bit systems), installing 64-bit kernel. What do you think?
Anyway will make thanos buildable on 32 bit - it is not that hard I guess. But full support is questionable.

Prometheus is running fine on it, but it doesn't collect that much data yet. I'll look into the 64 bit version. It was quite some work to install everything I needed on it and I hoped I don't have to do it again.

Considering what parts of thanos one could want to run on a Raspberry Pi (or other low end hardware) - would it make things easier to do a build with only the sidecar functionality for 32bit?
I would love to run a thanos sidecar on some sensor-node-raspberries, but the rest is on 64bit hardware anyway.

would it make things easier to do a build with only the sidecar functionality for 32bit?

Yup, but only if this would be done as a separate project, build separately. Currently, we build all components together.


Add config flag to merger to activate "tei mode"

For what it's worth, this is a bit different to what I envisioned when I suggested it (which is not to say that it's wrong, just different).
The merger broadly breaks into three steps:

This patch adds divergence at the "apply merging rules" stage – we have two different sets of rules, depending on whether or not TEI is enabled.
In my head, I was imagining we'd diverge at the "fetch works from pipeline storage" stage – with TEI works being marked as deleted/invisible at that stage. Add the right condition to the TEI work predicate (isVisible), and I think the merger rules would automatically ignore them.
TBH, I find the merger rules a bit scary and complicated and try to avoid touching them as much as possible – which might be why I thought of an approach that doesn't have to.


Remove useless 'VM and Instance Items' (:vmitem) Default Views setting; and :storageitem which has no setting

This is related to PR #1859 in that it deals with the same kind of items, except for gtl, not quadicon.
But I'm doing a separate PR because a) this is is not related to any bugzilla tickets I'm aware of, and b) it needs more eyes to be sure.
From what I can figure out, :vmitem should never happen because it's always :vminfra_item and :vmcloud_item. (No mentions of neither in code, these names come into existence in ci_processing by means of<EMAIL_ADDRESS>Either way, these are always list so the setting is never used and in fact useless now.
But as I said, I'd realy like some more eyes on this one.

storageitem is actually mentioned in StorageController, but only in one place, where it's only passed to get_view where get_view_calculate_gtl_type defaults to 'list' anyway.

Removed the storageitem mention.

looks good. Ready to merge.


ShareUrl

Hi, How can we pass the url we want shared on the social media site?

You can pass the url for the social media site to the SocialIcon component as the url prop. Please refer to the usage examples: https://jaketrent.github.io/react-social-icons/


Fastp Reads Count Constraint

I was trying to run Biowasm's fastp package on a large fastq file of 1 million sequences and it wasn't running - the CPU usage would be at around 20% on my computer and the memory would maintain ~550MB. I did the same for 600k sequences and once again it stalled at high 550MB. When I ran 500k sequences however, it worked fine, reaching the same memory usage and even going over, but still finishing. Something interesting to note is that I can select two 500k sequences and run them one after the other and it works fine (and so appending the two together simulates the behavior of running fastp on 1 million sequences).
@robertaboukhalil followed up on this: "I traced the issue back to the variables PACK_SIZE and PACK_IN_MEM_LIMIT, which when multiplied together gives 500,000. When fastp processes >500K reads, it runs a usleep() command, which the browser can't handle. Commenting out the sleep command seems to fix the issue."

@daniel-ji Should now be fixed in production. You may need to clear your cache to get the latest .wasm binary


feat(FX-4655): search - switch between pills

The type of this PR is: Feat
This PR solves FX-4655
Description

Demo app (stale)

I think we should clear the search query when going to another page (as implemented in the previous search input)
https://user-images.githubusercontent.com/3513494/236444488-c3f7fc12-05a7-4d12-b8f4-23c78c065475.mp4

Going to merge it (even though there are some bugs, I will address them in separate PRs)


createSourceFile build wrong AST in some cases.

Bug Report
🕗 Version & Regression Information

This is a parsing error on 4.5(maybe lower), 4.6-dev

⏯ Playground Link
AST Tree
💻 Code
Parsed JS
!a
    ? (a = (function () {})())
    : (function(a){})(a);

Workbench Repro
import { createPrinter, createSourceFile, ScriptTarget } from "typescript";

const source = `!a
    ? (a = (function () {})())
    : (function(a){return !0})(a);`

console.log(
    createPrinter().printFile(
        createSourceFile(`test.js`, source, ScriptTarget.Latest)
    )
);

Workbench Repro
🙁 Actual behavior
Wrong JS/TS.
!a
    ? (a = (function () { })()): (function(: a):) => { } : ;
(a);

Local tsc for example.ts code make
"use strict";
!a
    ? (a = (function () { })()) => { } : ;
(a);

🙂 Expected behavior
!a
    ? (a = (function () { })()): (function (a) { })(a); ;
(a);

Some more reduced examples:
1 ? (a) : (function() {})         // not OK
1 ? (undefined) : (function() {}) // not OK
1 ? (null) : (function() {})      // OK
1 ? () : (function() {})          // recovers

This appears to be a parser bug (not a printer bug, darn); when the conditional expression gets past the ?, it tries to parse the first part of (a) : (function() {}) and the (a): tricks it into trying to parse an arrow expression with a missing => (thanks to recovery), rather than just (a) alone.

My fix for this was incomplete; #46962 is a full fix. I didn't consider something like 1 ? (a) : ((((function() {})))).


Setup data folder and csv files.

I have removed and cleaned up the string values of many columns to numeric so that it can be used for data analysis.
Attached below are the columns of the cleaned up data. Please change your column of interest to appropriate name in your plots.

Timestamp
Username
Total score
Role Classification
Country of Residence
1. Does your company offer health &   wellness benefits (i.e. medical insurance coverage, employee and family   assistance programs, health/body check-ups, gym membership subsidy, discounts   at healthy F&B outlets, subsidy for massage therapy, etc.)?  [Score]
2a. Has your company hosted wellness/   fitness/ team building activities/ workshops within the last year? [Score]
2b. If yes to the above, which of the   following topics have been covered? (select all that apply)
3. Does your company have a dedicated   employee, team, or social committee responsible for company culture? [Score]
4a. Does your company support positive social   activities led by employees? (i.e. sports teams, fundraisers, bake sales,   yoga classes, fitness challenges, after-work social gatherings)  [Score]
4b. If yes to the above, could you please   list the activities and how your company supported them?
5. Does the company provide online wellness   services? (e.g. subscription to fitness/ wellness content library, meditation   apps, health/fitness publications, mental health section in newsletter,   healthy food ordering app, etc.)    [Score]
6a. Does your company provide access to   nutritious food & beverages (e.g. daily refilled fruit, bottled mineral   water, snack bars, juice, coffee, tea, healthy snack vending machines,   etc.)  [Score]
6b. If yes to the above, could you please   list the food & beverages provided?
7a. Does your company provide access to   health/ wellness facilities? (e.g. gym, open space for movement, meditation   room, ideation room, quiet area, social area, digital library, etc.)
7a. Does your company provide access to   health/ wellness facilities? (e.g. gym, open space for movement, meditation   room, ideation room, quiet area, social area, digital library, etc.)  [Score]
7b. If yes to the above, could you please   list the facilities?
8a. Does your company provide access to   in-office health/wellness equipment (i.e. standup desk, ergonomic chair, blue   light glasses, yoga mat, stability ball, stress balls, noise-cancelling   headphones, phone booths)?  [Score]
8b. If yes to the above, could you please   list the equipment provided?
9. Share 2 examples of workplace wellness   practices your company is currently practicing. (e.g. monthly team building   workshops, yoga classes, weekly non-work related check-ins, continuing   education opportunities, etc.)
9. Share 2 examples of workplace wellness   practices your company is currently practicing. (e.g. monthly team building   workshops, yoga classes, weekly non-work related check-ins, continuing   education opportunities, etc.)     [Score]
10. How does your company measure the level   of your health, well-being and vitality? (e.g. health check-ups, surveys,   interviews, focus groups, etc.)
10. How does your company measure the level   of your health, well-being and vitality? (e.g. health check-ups, surveys,   interviews, focus groups, etc.)    [Score]
11. Name 2-3 adjectives to describe your   company culture.
11. Name 2-3 adjectives to describe your   company culture.  [Score]
12. Nominate 2 of your colleagues (provide   first & last name) who lead / coordinates team activities? (i.e. team   socials, dim sum lunch as a team, weekend hiking, sport betting pools, games   night, etc.)
12. Nominate 2 of your colleagues (provide   first & last name) who lead / coordinates team activities? (i.e. team   socials, dim sum lunch as a team, weekend hiking, sport betting pools, games   night, etc.)  [Score]
13. Nominate 2 of your colleagues (provide   first & last name) who lead by example and/or encourages wellness? (i.e.   they are knowledgeable about personal wellness, regularly attends physical   activities like yoga, tai chi, fitness classes, encourages healthy eating,   etc. *can be the same people as in the previous question.)
13. Nominate 2 of your colleagues (provide   first & last name) who lead by example and/or encourages wellness? (i.e.   they are knowledgeable about personal wellness, regularly attends physical   activities like yoga, tai chi, fitness classes, encourages healthy eating,   etc. *can be the same people as in the previous question.) [Score]
14. I experience POSITIVE EMOTION at work ...   (e.g. joy, appreciation, confidence, laughter, fun, inspiration, etc.)
14. I experience POSITIVE EMOTION at work ...   (e.g. joy, appreciation, confidence, laughter, fun, inspiration, etc.)  [Score]
15. I experience ENGAGEMENT at work ... (e.g.   focus, concentration, flow state, productivity, connection, etc.)
15. I experience ENGAGEMENT at work ... (e.g.   focus, concentration, flow state, productivity, connection, etc.)  [Score]
16. I experience POSITIVE RELATIONSHIPS at   work ... (through positive interactions such as teamwork, respectful   communication, acts of service/kindness, supportive discussions, constructive   conversations, mentoring sessions, caring gestures, healthy competition,   etc.)
16. I experience POSITIVE RELATIONSHIPS at   work ... (through positive interactions such as teamwork, respectful   communication, acts of service/kindness, supportive discussions, constructive   conversations, mentoring sessions, caring gestures, healthy competition,   etc.)  [Score]
17. I experience MEANINGFULNESS at work ...   (e.g. inspired, trusted, respected, purpose, seen and heard, acknowledged,   fulfilled, growth, contribution to something greater, etc.)
17. I experience MEANINGFULNESS at work ...   (e.g. inspired, trusted, respected, purpose, seen and heard, acknowledged,   fulfilled, growth, contribution to something greater, etc.)  [Score]
18. I experience ACCOMPLISHMENT at work ...   (e.g. achievement, satisfaction, completion, attainment, increased   self-confidence, increased self-esteem, celebration, etc.)
18. I experience ACCOMPLISHMENT at work ...   (e.g. achievement, satisfaction, completion, attainment, increased   self-confidence, increased self-esteem, celebration, etc.)  [Score]
19. I experience VITALITY at work ... (i.e.   high energy, nourished, energized, excited, motivated, spirited, liveliness,   etc.)
19. I experience VITALITY at work ... (i.e.   high energy, nourished, energized, excited, motivated, spirited, liveliness,   etc.)  [Score]
20. How many times per week do you undertake   moderate to high intensity PHYSICAL ACTIVITY? (20+ minutes of continuous   activity with elevated heart-rate)
20. How many times per week do you undertake   moderate to high intensity PHYSICAL ACTIVITY? (20+ minutes of continuous   activity with elevated heart-rate) [Score]
21. How many times per week do you SOCIALIZE   with colleagues? (e.g. coffee break conversations, lunch, commute, happy   hour, events, etc.)
21. How many times per week do you SOCIALIZE   with colleagues? (e.g. coffee break conversations, lunch, commute, happy   hour, events, etc.)  [Score]
22. How often do you give QUALITY TIME and   attention to your colleagues/peers? (i.e. provide mentorship and guidance,   hold space for venting, acts of kindness and thoughtfulness, spend quality   non work-related time, etc.)
22. How often do you give QUALITY TIME and   attention to your colleagues/peers? (i.e. provide mentorship and guidance,   hold space for venting, acts of kindness and thoughtfulness, spend quality   non work-related time, etc.)  [Score]
23a. How often do you engage in vocational   (job-specific) LEARNING? (i.e. online courses, technical workshops,   certification/designation educational credits, post-graduate education, etc.)
23a. How often do you engage in vocational   (job-specific) LEARNING? (i.e. online courses, technical workshops,   certification/designation educational credits, post-graduate education, etc.)   [Score]
23b. How often do you engage in personal   GROWTH and development learning? (i.e. personal development retreats/events,   coaching, personal training, therapy, extra-curricular courses, hobby   workshops, book clubs, etc.)
23b. How often do you engage in personal   GROWTH and development learning? (i.e. personal development retreats/events,   coaching, personal training, therapy, extra-curricular courses, hobby   workshops, book clubs, etc.)  [Score]
24. How often do you spend time to take   notice of your SURROUNDINGS? (i.e. appreciate things around you, walk in   nature, journaling, meditation, observe your thoughts, moments to   reflect)
24. How often do you spend time to take   notice of your SURROUNDINGS? (i.e. appreciate things around you, walk in   nature, journaling, meditation, observe your thoughts, moments to   reflect)  [Score]
25. How often do you feel ACKNOWLEDGED? (i.e.   rewarded, complemented, recognized, supported, celebrated, awarded, concerned   for, etc.)
25. How often do you feel ACKNOWLEDGED? (i.e.   rewarded, complemented, recognized, supported, celebrated, awarded, concerned   for, etc.)  [Score]
26a. Rank the following workshop topics that   you would be most keen to explore and learn (highest interest = 1 to lowest   interest = 6):  *Mark only one oval per   row.  [Stress Optimization ]
26a. Rank the following workshop topics that   you would be most keen to explore and learn (highest interest = 1 to lowest   interest = 6):  *Mark only one oval per   row.  [Mindset Coaching ]
26a. Rank the following workshop topics that   you would be most keen to explore and learn (highest interest = 1 to lowest   interest = 6):  *Mark only one oval per   row.  [Sleep Strategies ]
26a. Rank the following workshop topics that   you would be most keen to explore and learn (highest interest = 1 to lowest   interest = 6):  *Mark only one oval per   row.  [Social Wellbeing ]
26a. Rank the following workshop topics that   you would be most keen to explore and learn (highest interest = 1 to lowest   interest = 6):  *Mark only one oval per   row.  [Leadership & Teamwork ]
26a. Rank the following workshop topics that   you would be most keen to explore and learn (highest interest = 1 to lowest   interest = 6):  *Mark only one oval per   row.  [Physical Health & Fitness ]
26a. Rank the following workshop topics that   you would be most keen to explore and learn (highest interest = 1 to lowest   interest = 6):  *Mark only one oval per   row.  [Nutrition & Gut Health]
26b. Rank the following contributors of QWL   (Quality of Work Life) that you would be most keen to explore and learn   (highest interest = 1 to lowest interest = 6) Mark only one oval per row.   [Job Satisfaction - Community Environment, Peer Relations, Responsibilities ]
26b. Rank the following contributors of QWL   (Quality of Work Life) that you would be most keen to explore and learn   (highest interest = 1 to lowest interest = 6) Mark only one oval per row.   [Work Stress - Workload, People Issues, Support ]
26b. Rank the following contributors of QWL   (Quality of Work Life) that you would be most keen to explore and learn   (highest interest = 1 to lowest interest = 6) Mark only one oval per row.   [Financial Reimbursement - Rewards, Pay, Benefits, Recognition ]
26b. Rank the following contributors of QWL   (Quality of Work Life) that you would be most keen to explore and learn   (highest interest = 1 to lowest interest = 6) Mark only one oval per row.   [Work Life Balance - Flexible Hours, Work From Home (WFH), Telecommunication,   Remote Working, Part-Time options ]
26b. Rank the following contributors of QWL   (Quality of Work Life) that you would be most keen to explore and learn   (highest interest = 1 to lowest interest = 6) Mark only one oval per row.   [Working Conditions - Ambiance (lighting, temperature, etc.), Outer   Environment (work space, ergonomics, wellness design), Inner Environment   (nutrition, wellness, mental health), Culture (diversity, inclusion, respect,   fairness) ]
26b. Rank the following contributors of QWL   (Quality of Work Life) that you would be most keen to explore and learn   (highest interest = 1 to lowest interest = 6) Mark only one oval per row.   [Motivation - Engagement activities, Continuing Education, Team Building ]
Do you have any final comments, suggestions,   or questions about improving the Quality of Work Life at your workplace?
Do you have any final comments, suggestions,   or questions about improving the Quality of Work Life at your workplace?  [Score]
Would you be interested in exploring an   Individual or Group Coaching program?


burn-tch does not run/build with mac m1/m2 and linux aarch64

Describe the bug
Build/test fails on burn-tch: cargo test on Mac M1/M2 and  aarch64 linux.
To Reproduce
on Mac M1/M2 or  aarch64 linux  run cargo test on  burn-tch
OS Information
bash: uname -a
Darwin MacBook-Pro.local 22.3.0 Darwin Kernel Version 22.3.0:
Mon Jan 30 20:38:37 PST 2023; root:xnu-8792.81.3~2/RELEASE_ARM64_T6000 arm64

[burn]$ uname -a
Linux e80e5571e6de 5.15.49-linuxkit #1 SMP PREEMPT Tue Sep 13 07:51:32 UTC 2022
 aarch64 aarch64 aarch64 GNU/Linux

This could be related to: https://github.com/LaurentMazare/tch-rs/issues/542

I filled a ticket with tch-rs team: https://github.com/LaurentMazare/tch-rs/issues/629
I found a solution that works for me. I'll codify my solution and check in.

Here is a temporary workaround script (now as part of burn): https://github.com/burn-rs/burn/blob/main/scripts/fix-tch-build-arm64.py . This ticket will remain open till the problem is fixed in upstream libs: tch-rs and torch.

The upstream has a fix for this but it's not released yet: https://github.com/LaurentMazare/tch-rs/pull/661

These two PRs https://github.com/burn-rs/burn/pull/347 and https://github.com/burn-rs/burn/pull/345 close this ticket. We will have to remove the script once the release is made. We still can keep it because not all will upgrade at the same time.


Is it still being maintained?

There are a lot of issues without response from repo owners. I just discovered this solution and came here to suggest a feature, but existing issues make me feel that it is not worth the effort.

I would like to know this too. I know the software but it had no updates in several months...

I've been pretty busy during the months and yes I'll return to work on it later this year when things clear up a bit. Thanks for the support!


Refine Synthea generation parameters

Parameters:

Investigate Condition category. Is there a way to generate "problem-list-item"
Only patients 30 years and over
Others?

pushed up to https://github.com/chronic-care/mcc-sample-data.git

@emmanurse @drdavec to touch base and review what goes on problem list


[Service Bus] Adjust Lifetime Guidance

The focus of these changes is to update the lifetime guidance for the Azure.Messaging.ServiceBus.ServiceBusSessionReceiver type.  Previously, the guidance did not account for the session receiver and caused some confusion .

@JoshLove-msft, @m-redding:  Would you please sanity check things?

@spelluru:  What's our plan for removing discussion of the Microsoft.Azure.ServiceBus package, which has been formally deprecated?   While it won't hit end-of-life just yet, I don't believe that we want to encourage developers to continue using it.
//cc: @ronniegeraghty

@spelluru
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team


Crash in lightweight Legion Spy mode

The following steps lead to a crash when using the lightweight Legion Spy mode (crash at bottom of issue):
./install.py --debug
./regent.py examples/stencil_fast.rg -lg:spy -logfile spy_test_%.log
../tools/legion_spy.py -d spy_test_0.log

This goes away when using heavyweight Legion Spy mode (i.e. CC_FLAGS=-DLEGION_SPY ./install.py --debug).
We should probably add lightweight Spy to the CI and also make sure we run Spy tests with -de in addition to -lpa (the test does not crash with -lpa).
Crash looks like:
Reading log file spy_test_0.log...
Reducing top-level index space shapes...
Done
INFO: No logical dependence data was found so we are running logical analysis to show the dataflow graphs that the runtime should compute. These are not the actual dataflow graphs computed.
Performing logical analysis...
Performing logical dependence analysis for make_exterior_partition...
Pass
Performing logical dependence analysis for ghost_y_partition...
Pass
Performing logical dependence analysis for main...
Traceback (most recent call last):
  File "../tools/legion_spy.py", line 10930, in <module>
    main(temp_dir)
  File "../tools/legion_spy.py", line 10872, in main
    state.perform_logical_analysis(logical_checks, sanity_checks)
  File "../tools/legion_spy.py", line 10220, in perform_logical_analysis
    if not task.perform_logical_dependence_analysis(perform_checks):
  File "../tools/legion_spy.py", line 6800, in perform_logical_dependence_analysis
    if not op.perform_logical_analysis(perform_checks):
  File "../tools/legion_spy.py", line 5779, in perform_logical_analysis
    if not self.analyze_logical_fence(perform_checks):
  File "../tools/legion_spy.py", line 5733, in analyze_logical_fence
    self.add_incoming(prev_op)
  File "../tools/legion_spy.py", line 5208, in add_incoming
    assert dep.op2 == self
AttributeError: 'Operation' object has no attribute 'op2'

Doesn't reproduce in nopaint and later branches so I'm not going to fix it.


The purpose of the third Matrix C?

What is the purpose of the third matrix C?  From the examples:
var C = new Float32Array(w2)      // specialized for neural net bias calculation

// result will contain matrix multiply of A x B (times alpha)
result = weblas.sgemm(M, N, K, alpha, A, B, beta, C);

In my tests, nothing happens to C, even when I change the beta value;  it remains as whatever it was initialized.

nvm, I get it!


Need a configurable process to auto re-attempt the DLQ

I would not want to always have to ask client to go and re-attempt everything in the DLQ.
We need a configurable way to re-attempt the subscriptions stuck in the DLQ that could be holding up future subscriptions of the same group.
Perhaps a timed process every now and again that pulls from custom metadata that indicates we do want to attempt them every so often.

When it comes to retries, I think there are two things...
#7 would help reduce these items from ending up in the dead letter in the first place.  However, the granularity of the retry interval can only really be guarantee to execute as often as the Scheduled Cleanup Job runs.
EG if the next attempt is set for 5m from now there isn't actually anyway to trigger the attempt 5m from now.   Worst case (no other events are inserted) it won't actually run until the cleanup runs.
Once an item is in the dead letter, it can be reprocessed by simply incrementing the Relay_Attempts__c and Making sure its not Manually` dead lettered:
Subscription_Outbox__c[] deadlettered = [SELECT Id, Relay_Attempts__c FROM Subscription_Outbox__c WHERE Is_Deadletter__c = true];
for(Subscription_Outbox__c outbox :deadlettered){
   outbox.Relay_Attempts__c = outbox.Relay_Attempts__c + 1;
   outbox.Is_Manual_Deadletter__c = false;
}
update deadlettered;

Running the above code in a scheduled job could give you a cadence like:
ATTEMPT, ATTEMPT, ATTEMPT, PAUSE.... ATTEMPT... PAUSE... ATTEMPT
However, at some point you probably do just want the record to fall into the dead letter and someone should take a look at it.


Transform objects to use concise methods

var console = {
  log: function() {}
};

// ↑ becomes ↓

var console = {
  log() {}
};

Added in 6effa4beda0bfa486b35e7e1ef3c219a7d8a9e2f, released in v1.5.0.


OCPBUGS-23472: unset ServiceAccount on ignition-server-proxy

https://issues.redhat.com/browse/OCPBUGS-23472
https://github.com/openshift/hypershift/pull/2778 broke y-stream upgrade 4.13 -> 4.14 because ignition-server-proxy deployment was configured with a ServiceAccount but then removed in 4.14.  However, we didn't explicitly unset it in the reconciliation so a deployment created in 4.13 will retain the removed ServiceAccount when upgraded to 4.14.

/jira refresh

/lgtm

/hold cancel
/retest

/cherry-pick release-4.14


Create a file-upload.html

One need to make this component using HTML and Tailwind CSS. I would suggest to use Tailwind Playgrounds to make things faster and quicker.
Here is a reference to the component.

After building the component please raise a PR with a screenshot of the component and add the component in Form/src/file-upload.html.
If you need to use any icon please use it from Hero Icons
Good luck.

This is already there I guess can you confirm? @nik132-eng

Yes this is present

It is present in this format

This present looks good I guess. @nik132-eng


begin_recognize_receipts APIs now return RecognizedForm

Fixes https://github.com/Azure/azure-sdk-for-python/issues/11880

LGTM, I'll approve after we release


Identifiers validation failed for dataset Soil macrofauna communities in various land use systems in Ponta Grossa, Paraná, Brazil

Identifier validation failed for the dataset Soil macrofauna communities in various land use systems in Ponta Grossa, Paraná, Brazil:

Crawler attempt: 37
Publishing organization: Embrapa Forestry
Publishing country: BRAZIL
Installation: IPT Sistema de Informação sobre a Biodiversidade Brasileira - SiBBr
Number of occurrences indexed for this dataset at the time of the issue: 6450
Cause: GBIF ID problems exceed 50% threshold: 100% duplicates; 6750 total records; 6750 absent records
Pipelines execution steps: http://api.gbif.org/v1/pipelines/history/execution/3364045/step

New IDs sample:

Old IDs sample:

BR:PEMG_2012/2013_wet_AtlanticForest_Agropastoral culture_Monolito 10_layer_0-20_1
BR:PEMG_2012/2013_wet_AtlanticForest_Agropastoral culture_Monolito 10_layer_0-20_10
BR:PEMG_2012/2013_wet_AtlanticForest_Agropastoral culture_Monolito 10_layer_0-20_11
BR:PEMG_2012/2013_wet_AtlanticForest_Agropastoral culture_Monolito 10_layer_0-20_12
BR:PEMG_2012/2013_wet_AtlanticForest_Agropastoral culture_Monolito 10_layer_0-20_13
BR:PEMG_2012/2013_wet_AtlanticForest_Agropastoral culture_Monolito 10_layer_0-20_14
BR:PEMG_2012/2013_wet_AtlanticForest_Agropastoral culture_Monolito 10_layer_0-20_15
BR:PEMG_2012/2013_wet_AtlanticForest_Agropastoral culture_Monolito 10_layer_0-20_16
BR:PEMG_2012/2013_wet_AtlanticForest_Agropastoral culture_Monolito 10_layer_0-20_17
BR:PEMG_2012/2013_wet_AtlanticForest_Agropastoral culture_Monolito 10_layer_0-20_18

Publisher email
Hello,
I am contacting you from the GBIF Secretariat about a dataset published by the Soil macrofauna communities in various land use systems in Ponta Grossa, Paraná, Brazil : https://doi.org/10.15468/p86sf9.
We noticed that the occurrenceIDs were changed. We have temporarily paused the ingestions of this dataset.
As you might already know, when an occurrence record has a new occurrenceID for a given dataset, our system considers it to be a new occurrence.
This means that it will be given a new gbifid and a new occurrence URL (like this one: https://www.gbif.org/occurrence/1252968762) and the old gbifid and URL will be deprecated.
In this case, this means that the occurrence URLs would be deprecated when ingesting the newest versions of these datasets.
We would like to check with you if those changes were intentional. Do you know if this is the case?
Please let us know, thanks! We are happy to resume the dataset ingestion.
Note that some users rely on those occurrence URLs and gbifids (like https://bionomia.net for example). In an attempt to improve
the stability of the occurrence URLs and gbifids, we have implemented a warning system to detect these type of changes in datasets (see this news item).
If the data publisher can provide us with a list of old and new occurrenceIDs per record, we can avoid the identifier and URL changes. Could that be an option?
Please let us know if you have any question. Thanks!
All the best,

You can skip/fix identifier validation using the registry UI.

Identifier validation still  failing for the dataset Soil macrofauna communities in various land use systems in Ponta Grossa, Paraná, Brazil:

Crawler attempt: 38
Publishing organization: Embrapa Forestry
Publishing country: BRAZIL
Installation: IPT Sistema de Informação sobre a Biodiversidade Brasileira - SiBBr
Number of occurrences indexed for this dataset at the time of the issue: 6450
Cause: GBIF ID problems exceed 50% threshold: 100% duplicates; 6750 total records; 6750 absent records
Pipelines execution steps: http://api.gbif.org/v1/pipelines/history/execution/3367168/step

New IDs sample:

Old IDs sample:

BR:PEMG_2012/2013_wet_AtlanticForest_Agropastoral culture_Monolito 10_layer_0-20_1
BR:PEMG_2012/2013_wet_AtlanticForest_Agropastoral culture_Monolito 10_layer_0-20_10
BR:PEMG_2012/2013_wet_AtlanticForest_Agropastoral culture_Monolito 10_layer_0-20_11
BR:PEMG_2012/2013_wet_AtlanticForest_Agropastoral culture_Monolito 10_layer_0-20_12
BR:PEMG_2012/2013_wet_AtlanticForest_Agropastoral culture_Monolito 10_layer_0-20_13
BR:PEMG_2012/2013_wet_AtlanticForest_Agropastoral culture_Monolito 10_layer_0-20_14
BR:PEMG_2012/2013_wet_AtlanticForest_Agropastoral culture_Monolito 10_layer_0-20_15
BR:PEMG_2012/2013_wet_AtlanticForest_Agropastoral culture_Monolito 10_layer_0-20_16
BR:PEMG_2012/2013_wet_AtlanticForest_Agropastoral culture_Monolito 10_layer_0-20_17
BR:PEMG_2012/2013_wet_AtlanticForest_Agropastoral culture_Monolito 10_layer_0-20_18

Publisher email
Hello,
I am contacting you from the GBIF Secretariat about a dataset published by the Soil macrofauna communities in various land use systems in Ponta Grossa, Paraná, Brazil : https://doi.org/10.15468/p86sf9.
We noticed that the occurrenceIDs were changed. We have temporarily paused the ingestions of this dataset.
As you might already know, when an occurrence record has a new occurrenceID for a given dataset, our system considers it to be a new occurrence.
This means that it will be given a new gbifid and a new occurrence URL (like this one: https://www.gbif.org/occurrence/1252968762) and the old gbifid and URL will be deprecated.
In this case, this means that the occurrence URLs would be deprecated when ingesting the newest versions of these datasets.
We would like to check with you if those changes were intentional. Do you know if this is the case?
Please let us know, thanks! We are happy to resume the dataset ingestion.
Note that some users rely on those occurrence URLs and gbifids (like https://bionomia.net for example). In an attempt to improve
the stability of the occurrence URLs and gbifids, we have implemented a warning system to detect these type of changes in datasets (see this news item).
If the data publisher can provide us with a list of old and new occurrenceIDs per record, we can avoid the identifier and URL changes. Could that be an option?
Please let us know if you have any question. Thanks!
All the best,

You can skip/fix identifier validation using the registry UI.


blobstore: Migrate to pgx

Migrates the actual datapath of blobstore to pgx but retains logic tied to pkg/postgres for now for migrations etc.
Migration of pkg/postgres to follow.
Closes #988

LGTM.


app settings.json not honoring database configuration

Runningbagetter as a docker container
Describe the bug
appsettings.json not honoring database configuration. Unsure yet if it's honoring other sections.
To Reproduce
{
  "PackageDeletionBehavior": "Unlist",
  "AllowPackageOverwrites": false,
  "MaxPackageSizeGiB": 8,
  "Database": {
    "Type": "PostgreSql",
    "ConnectionString": "Server=myDbServer;Port=5432;Database=bagetter;User Id=bagetter;Password=myPassword"
  },
  "Storage": {
    "Type": "FileSystem",
    "Path": ""
  },
  "Search": {
    "Type": "Database"
  },
  "Mirror": {
    "Enabled": true,
    "PackageSource": "https://api.nuget.org/v3/index.json"
  },
  "Logging": {
    "IncludeScopes": false,
    "Debug": {
      "LogLevel": {
        "Default": "Warning"
      }
    },
    "Console": {
      "LogLevel": {
        "Microsoft.Hosting.Lifetime": "Debug",
        "Default": "Warning"
      }
    }
  },
  "HealthCheck": {
    "Path": "/health"
  },
  "Statistics": {
    "EnableStatisticsPage": true,
    "ListConfiguredServices": true
  },
  "Authentication": {
    "ApiKeys": [
      {
        "Key": "myApiKey"
      }
    ],
    "Credentials": [
      {
        "Username": "Admin",
        "Password": "myPassword2"
      }
    ]
  }
}

Expected behavior
For BaGetter to connect to my PostgreSql server
Additional context
It connects just fine if I use environment variables. I know the appsettings.json file is being read because if I change one of the Logging options to an invalid logging type (e.g. Invalid)  then I get exceptions as a result.
To further debug, I also changed ConnectionString to xconnectionString - this should also result in an exception as ConnectionString is decorated with the [Required] attribute. However no such event happens.
I'm also unsure if the auth piece is working as I've yet to get to that section but, as it stands, I'm able to hit the web page directly with no auth challenges.
docker-compose.yml:
services:
  NGinx:
    container_name: baGetter-Nginx
    image: nginx:latest
    restart: unless-stopped
    networks:
      - baGetterNet
    ports:
      - "1443:1443"
    volumes:
        - ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro
        - /etc/ssl/certs/CorpBundle.pem:/etc/ssl/certs/site.crt
        - /etc/ssl/private/CorpPrivateKey.pem:/etc/ssl/private/site.key
        - ./nginx/private/PrivateKey-Protected.key:/etc/ssl/private/site.fifo
        - ./nginx/access.log:/var/log/nginx/access.log
        - ./nginx/error.log:/var/log/nginx/error.log
    depends_on:
      - baGetter
  baGetter:
    container_name: baGetter
    image: bagetter/bagetter:latest
    volumes:
      - data:/data
      - ./appsettings.json:/app/appsettings.json
    restart: always
    networks:
      - baGetterNet
volumes:
  data:
networks:
  baGetterNet:

Could there be environment variables still on the system that bagetter can read? The ASP.NET Core runtime will take any environment variables and override whatever is in the application.json file, so modifying the file wouldn't have any effect.
An old idea could help analyse this, let me create a feature release, maybe even today, so we can see what's going on.

This was clean out the box from today - as you can see my docker-compose.yml had nothing listed at the time. I even destroyed the image to see if that helped.
Building the project locally does show it is reading the appsettings.json file and failing when I rename the ConnectionString key. So I'm a little confused as to what's going on.
As it stands now I can manage a combo of using both appsettings.json and environment variables defined in my docker-compose.yml so it's not a show stopper for me - but it did cause no end of confusion for me today.

Ok so I found the problem and I guess we should definitely add that to the docs somewhere.
The docker image we build automatically sets sqlite set as database configuration via env variables. This means that any appsettings.json modifications you add to the container will be overridden by ASP.NET Core reading those default environment variables from the container.
We can definitely get rid of that, or rather comment it out so it still stands as an example for people wanting to build their own image. For now, you'll have to rely on the Database.Type and Database.ConnectionString being injected via the environment.

Need opinions and ideas:
appsettings.json sets the default db file to bagetter.db.
Dockerfile sets it to /data/db/bagetter.db.
This means, everybody using the docker image without configuring their own DB is using /data/db/bagetter.db right now.
Everybody running the application without the docker image, i.e. built themselves or downloaded the release (linux or windows) is using ./bagetter.db right now.
Just removing the default env from the Dockerfile would break unmodified docker installations by changing the default db location.
Removing the env from the Dockerfile and changing the default appsettings.json would break not only docker-less installs but also windows installs (all this applies to unmodified db settings of course). Also development on windows now needs the appsettings.Development.json file to override it back to a windows-usable relative path.
Also linux docker-less installs would suddenly use an absolute path, breaking existing installs and also potentially breaking out-of-the-box for using a potentially non-existant or non-permitted /data directory.
So development can be fixed by modifying the appsettings.Development.json either way.
Any ideas about how to remove the default env from the Dockerfile without breaking both existing installations and both existing and future unmodified windows installations?
Or do we just add setting the DB via environment as necessary for docker installs?

Or do we just add setting the DB via environment as necessary for docker installs?

This is the way to go in my opinion. Not breaking the current behaviour. A clear mention in the documentation should be enough to reference to it later if the question come up anytime in the future.


Disable reflection on reflective vest

About the PR

Currently bugged, reflects all forms of projectiles which just causes it to be immune to ranged weapons.
The reflection chance can be lowered but the vest is still not intended to be reflecting nonenergy projectiles-
Media

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog

:cl: Whisper

remove: Removed reflection from reflective vest, as there's a reflection bug where projectile types aren't being differentiated.

fix the bug

Can't sorry


RFC - swarm revisit

I'm in the middle of refactoring swarm to become more modular, enable more transports and offer a nice interface on how to upgrade connections.
We think of upgrade as a very important notion when we are talking about connections, we can see mechanisms like: stream multiplexing, congestion control, encrypted channels, multipath, simulcast, etc, as upgrades to a connection. A connection can be a simple and with no guarantees, drop a packet on the network with a destination thing, a transport in the other hand can be a connection and or a set of different streams that are mounted on top of each other, giving extra functionality to that connection and therefore upgrading it.
To avoid the confusion between connection, stream, transport, and other names that represent an abstraction of data flow between two points, we use terms as:

stream - something that implements a Unix like type of stream, with mechanisms for back pressure
transport connection - something that implements the transversal expectations of a stream between two peers, including the benefits of using a stream plus having a way to do half duplex, full duplex
connection transport - something that as a dial/listen interface and return objs that implement a stream+transportconnection interface

Types of upgrades to a transportconnection+stream:

encrypted channel (with TLS for e.g)
congestion flow (some transports don't have it by default)
multipath (open several connections and abstract it as a single connection)
simulcast (still really thinking this one through, it might be interesting to send a packet through different connections under some hard network circumstances)
stream-muxer - this a special case, because once we upgrade a transportconnection+stream to a stream-muxer, we can open more streams (multiplex them) on a single stream, also enabling us to reuse the underlying dialed connectiontransport

We also want to enable flexibility when it comes to upgrading a stream, for example, we might that all dialed transports pass through the encrypted channel upgrade, but not the congestion flow, specially when a transport might have already some underlying properties (UDP vs TCP vs WebRTC vs every other transport protocol)
This will all be included as API options for swarm :)

For more info : https://github.com/diasdavid/specs/blob/libp2p-spec/protocol/network/7-properties.md

<semantic-bikeshedding-that-is-not-unimportant>

people (including us) refer to UDP, DCCP, UTP, SCTP, UDT, CJDNS as "transport protocols"  (it's the transport part of the network stack). which IMO includes the connection part above. (i might swap the "transport" and "connection" definitions above, in that "dial and listen return connections")
it is fine to collectively refer to the whole thing (stream, connections, and transport) as a "transport protocol"
on upgrade, i like the nomenclature and idea. i do want to make sure "upgrades" don't by definition imply "online" (i.e. like multistream, it can be one-directional, and even written out to a file).
for the "underlying properties" cases, maybe we can describe things as "layering one transport over another", and even as having "polyfills", like in the web. (e.g. https://github.com/jbenet/random-ideas/issues/34)

<semantic-bikeshedding-that-is-not-unimportant>

<3

people (including us) refer to UDP, DCCP, UTP, SCTP, UDT, CJDNS as "transport protocols"  (it's the transport part of the network stack). which IMO includes the connection part above. (i might swap the "transport" and "connection" definitions above, in that "dial and listen return connections")

I've been spinning my head around this trying to make it as clean as possible (lot of bikeshedding discussions with myself). It becomes very hard or even impossible to make a nomenclature that conforms with every expectation made by the current "transport protocols", to solve this, what I feel it is right, is to make sure that when we want to use the definitions above, we say 'in swarm context' or prefixed like 'swarm-connection, swarm-transport, swarm-stream', so that the communication is passed effectively.
That said, and after rereading your point several times, I now start to feel it would indeed make more sense to swap them as you proposed (initially it sounded weird for me to have a 'transport.dial', but now definitely makes more sense to have a 'connection.state' than a 'transport.state'. Thanks! :)

it is fine to collectively refer to the whole thing (stream, connections, and transport) as a "transport protocol"

Following the above, sets and mixes of  'swarm-stream + swarm-connection + swarm-transport' will indeed compose the protocols we know :)

on upgrade, i like the nomenclature and idea. i do want to make sure "upgrades" don't by definition imply "online" (i.e. like multistream, it can be one-directional, and even written out to a file).

Since (now with nomenclature update), a transport.dial would return a impl of a abstract-connection interface, then that connection might be half duplex and when we call it to upgrade, the upgrade module will do its multistream thing to 'upgrade' that connection, meaning, that it will fulfil what you are looking for :)

yeah all this sounds right to me. thanks
@diasdavid encourage you to write some Go with the net package. they did a pretty nice job with the abstractions.


CLI should not encode API response schema

@rabbah commented on Thu Nov 10 2016
I've experience several instances where a schema change in the controller must be reflected in the CLI to properly render the expected output on the command line because the current CLI implementation encodes the types too strictly and unnecessarily - in every case I've encountered so far where I've made a schema change to add or remove a field, the CLI would have been just fine if it treated the response from the controller opaquely.
We should refactor the API respond handling in the CLI so that it uses more generic JSON object interface rather than strict types that just get in the way.
I've also found several instances where the CLI is not in sync with the controller (Evidenced by several defects I've opened for these in recent days) and the CLI injects properties that should not exist (and hence confusing).

@ioana-blue commented on Thu Nov 10 2016
I was bit by this as well and it's not fun. In fact, if I hadn't checked with RR, I would have wasted a lot of time on chasing a "bug" in my code, while it was really a schema change for activations which is not reflected in the cli.

@rabbah @dubeejw @mdeuser what's left for this issue?
From I understand from @mdeuser goLang dealing with JSON is not flexible, so it always needs to be a hardish code schema/sync

@csantanapr - it's not pretty, but i believe it's possible to use type reflection and the generic Go interface to crawl through an arbitrary json string.  after some more hunting, i've found some arbitrary json parsing packages that might do the trick

https://github.com/Jeffail/gabs
https://github.com/antonholmquist/jason

Good find @mdeuser that’s why I didn’t close the issue


Date Picker with invalid date cannot be cleared

When a date picker contains an invalid date, and the value is set to null (outside of the date picker), the DOM input element value is not changed (and thus still displaying the old value).

[x] The issue is present in the latest release.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯
Input keeps the old value
Expected Behavior 🤔
Input should be cleared
Steps to Reproduce 🕹
https://codesandbox.io/s/datepicker-with-clear-button-nz6kh?file=/demo.js
Working scenario: valid date

Type a valid date
Click the clear button
The input is cleared

Bug scenario: invalid date

Type an invalid date (e.g. 35/33/2020)
Click the clear button
The input is not cleared, it keeps the old value

@eps1lon Can I work on this issue?


Invalid Checksum

Hi I am getting the following issue when using the library. Any help really appriciated.

https://github.com/anandsiddharth/laravel-paytm-wallet/issues/23

Okay looking into it.

Hi @anandsiddharth I have added the proper credentials but even then I am having this issue.

This, issue is completely related with keys, please validate or contact paytm, this error is thrown from paytm's sdk, this package is just a wrapper around sdk to plug into laravel easily

Okay thanks will check with them in case if the problem solves then will close the ticket.

Hi @anandsiddharth  I had kept the staging contact number hence it was showing error. Now it's fixed. Thanks for pointing me to right direction.
One more doubt I am having is once I check out the payment page is only showing BHIM option for not logged in users. Is there a way of showing a credit card, debit card and net banking options along with it.

I had similar problem . You need to call paytm and they will activate the
feature.
On Mon, 19 Nov 2018 at 13:23, Channaveer Hakari<EMAIL_ADDRESS>wrote:

Hi @anandsiddharth https://github.com/anandsiddharth I had kept the
staging contact number hence it was showing error. Now it's fixed. Thanks
for pointing me to right direction.
One more doubt I am having is once I check out the payment page is only
showing BHIM option for not logged in users. Is there a way of showing a
credit card, debit card and net banking options along with it.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/anandsiddharth/laravel-paytm-wallet/issues/24#issuecomment-439801113,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACDr5LneeholcobTbrkWuM_HVSZBxwquks5uwmNggaJpZM4YogPx
.

@anshu2212  Thank you very much will check with the customer support.

@channaveer you may want to star the package 😸

@anandsiddharth  sure I will. Thanks for your help.

i got solution from  #https://www.tutsmake.com/laravel-5-7-paytm-payment-gateway-integration-example/

@anandsiddharth Can you please make the change mentioned in [this link ] (https://www.tutsmake.com/laravel-5-7-paytm-payment-gateway-integration-example/)for the checksum error?

Yes we can do it
On Tue, Jun 4, 2019 at 1:12 PM plexdeveloper<EMAIL_ADDRESS>wrote:

@anandsiddharth https://github.com/anandsiddharth Can you please make
the change mentioned in [this link ] (
https://www.tutsmake.com/laravel-5-7-paytm-payment-gateway-integration-example/)for
the checksum error?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/anandsiddharth/laravel-paytm-wallet/issues/24?email_source=notifications&email_token=ALANS2UONKJZGCZXBCR6PSLPYYMHTA5CNFSM4GFCAPY2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODW3WXRI#issuecomment-498559941,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALANS2SOFGAHIIUZZA67N33PYYMHTANCNFSM4GFCAPYQ
.

i got solution from #https://www.tutsmake.com/laravel-5-7-paytm-payment-gateway-integration-example/

This solution works well for me. Thanks.

getting error invalid checksum  but my  all credentials are correct


Fork new feedstock

Added pkgutil-resolve-name to AnacondaRecipes from Conda-forge.

removed noarch
updated about section

The version pinnings on python will need to be removed here: https://github.com/AnacondaRecipes/pkgutil-resolve-name-feedstock/pull/1/files#diff-f3725a55bf339595bf865fec73bda8ac99f283b0810c205442021f29c06eea9aR21-R23

The version pinnings on python will need to be removed here: https://github.com/AnacondaRecipes/pkgutil-resolve-name-feedstock/pull/1/files#diff-f3725a55bf339595bf865fec73bda8ac99f283b0810c205442021f29c06eea9aR21-R23

Thanks Paul! I'll make this change now.


try to improve simplify performance

Let's see if that is enough.

Both CI failures are already on master....


Fix or create dark mode on Edge

When enabling dark mode in Windows, the browser shows a dark background that does not allow you to see the text correctly.

Seems like the extension is not getting updated in MS Edge addon store and being stuck on Version 0.6.0 https://microsoftedge.microsoft.com/addons/detail/json-formatter-for-edge/njpoigijhgbionbfdbaopheedbpdoddi.
Workaround is to uninstall the extension and visit the chrome addon page and get it from there https://chrome.google.com/webstore/detail/json-formatter/bcjindcccaagfpapjjmafapmmgkkhgoa.
This will work even from Edge.


Various Ui improvements

Ultimate goal is fixing InventoryScreen. Lots of fixing everything and refactoring along the way.
What has been done so far:

removed ResolutionScreen
re-implemented Fullscreen
started implementation of UiWindow
stolen some code from #349
fixed UiVerticalLayout to support not only text buttons
(hopefully) laid foundation to more solid tree structure

Hooray Jenkins reported success with all tests good!

Hooray Jenkins reported success with all tests good!

Hooray Jenkins reported success with all tests good!

Hooray Jenkins reported success with all tests good!

Hooray Jenkins reported success with all tests good!

Hooray Jenkins reported success with all tests good!

This pull request fixes 1 alert when merging f37b4e6dbcb98ca4f8c97665159316d71b21f309 into c23333a164f92a3268c89ace81d9a2f1636bd79b - view on LGTM.com
fixed alerts:

1 for Useless comparison test

Comment posted by LGTM.com

Hooray Jenkins reported success with all tests good!

This pull request fixes 1 alert when merging 258c967c34f596bda3d63aa04bfc550fc20c54ad into c23333a164f92a3268c89ace81d9a2f1636bd79b - view on LGTM.com
fixed alerts:

1 for Useless comparison test

Comment posted by LGTM.com

Hooray Jenkins reported success with all tests good!

This pull request fixes 1 alert when merging 7fa70ad07766c03c0c56aa1e1b28e93472146a08 into c23333a164f92a3268c89ace81d9a2f1636bd79b - view on LGTM.com
fixed alerts:

1 for Useless comparison test

Comment posted by LGTM.com

This pull request fixes 2 alerts when merging 36658b738e1b4fdb51ea08ddd0005250d6963e0e into c23333a164f92a3268c89ace81d9a2f1636bd79b - view on LGTM.com
fixed alerts:

1 for Useless comparison test
1 for Container contents are never accessed

Comment posted by LGTM.com

Hooray Jenkins reported success with all tests good!

This pull request fixes 2 alerts when merging c4f797f20ad2a96cf954fc5bb54d219807e2d9d4 into c23333a164f92a3268c89ace81d9a2f1636bd79b - view on LGTM.com
fixed alerts:

1 for Useless comparison test
1 for Container contents are never accessed

Comment posted by LGTM.com

Hooray Jenkins reported success with all tests good!

Hooray Jenkins reported success with all tests good!

This pull request fixes 2 alerts when merging 6318d2543e6a7326225e9fc427c7fa5dc3f585f5 into c23333a164f92a3268c89ace81d9a2f1636bd79b - view on LGTM.com
fixed alerts:

1 for Useless comparison test
1 for Container contents are never accessed

Comment posted by LGTM.com

Hooray Jenkins reported success with all tests good!

This pull request fixes 2 alerts when merging 783146e36587e19a9f5e5e06cca997a8285d69bf into c23333a164f92a3268c89ace81d9a2f1636bd79b - view on LGTM.com
fixed alerts:

1 for Useless comparison test
1 for Container contents are never accessed

Comment posted by LGTM.com

Hooray Jenkins reported success with all tests good!

This pull request fixes 2 alerts when merging 28196ca0ecfe5bb58ded8a16ea39ecdcefb3e120 into c23333a164f92a3268c89ace81d9a2f1636bd79b - view on LGTM.com
fixed alerts:

1 for Useless comparison test
1 for Container contents are never accessed

Comment posted by LGTM.com

Hooray Jenkins reported success with all tests good!

This pull request fixes 2 alerts when merging 73aebbec45731e137cfa2b6d7b1a60a1a5fe6b54 into c23333a164f92a3268c89ace81d9a2f1636bd79b - view on LGTM.com
fixed alerts:

1 for Useless comparison test
1 for Container contents are never accessed

Comment posted by LGTM.com

Hooray Jenkins reported success with all tests good!

This pull request fixes 2 alerts when merging 4f4aa83a153a766de2a2c2191db679e512c8274c into c23333a164f92a3268c89ace81d9a2f1636bd79b - view on LGTM.com
fixed alerts:

1 for Useless comparison test
1 for Container contents are never accessed

Comment posted by LGTM.com


Set Smart router host IP from pod IP

There is no need to set this variable as it is required for Smart router internal purposes. It is used to tell smart router what IP address it should listen on for HTTP requests.
@psiroky @errantepiphany What do you think about it?

@sutaakar I'm okay with this change, but before I merge it, can you please reference the associated jira? Thanks!

@errantepiphany Done - reference JIRA is RHBPMS-4975

Merged.


Move ipxe to a dedicated repository?

Currently ipxe is built in this repository, that makes the build of boots take longer and is more complex.
What do you think about:

moving the ipxe build to the boots-ipxe repository.
build ipxe in a GitHub Actions inside a docker container using buildx from a ubuntu 20.04 image.
publish an artifact for each arch as a GitHub Release.
modify the boots build to use the GitHub Release.

This would make things simpler from the boots build perspective and for someone that is trying to understand and build boots.

Hey @rgl this sounds like a great suggestion, I like it. There really is no need to be wasting electricity building ipxe over and over again.
I have just 2 push backs.

I don't see the benefit of building using buildx over make
I'd rather stick with nix's pinned inputs over ubuntu.


add missing constants

add missing kStringMaxLength, constants.MAX_LENGTH & constants.MAX_STRING_LENGTH
fixes #311

@dcousens  - good point on the reference. I can't find where I got the initial value from, however, its now set to what it is in the current version of node.
Please note this is for the max string length and not the max buffer length (https://nodejs.org/docs/latest/api/buffer.html#bufferconstantsmax_string_length). Max buffer length was already defined and just exported to match api spec.

Thanks for the fast follow up @urg, LGTM!

The tests are passing, the CI has other issues (see https://github.com/feross/buffer/pull/332, I'll be resolving this before the next release).

Looks that the typing file hasn't been upgraded to include the newly added constants.

@jeremymeng I have this on my TODO, but I don't have an ETA for you


Incorporate parabolic terms into main

PR for discussion and progress on parabolic terms in Trixi.

The test failure
ERROR: LoadError: UndefVarError: ViscousFormulationBassiRebay1 not defined
Stacktrace:
  [1] top-level scope
    @ ~/work/Trixi.jl/Trixi.jl/src/solvers/dgmulti/dg_parabolic.jl:208

looks real?

The test failure
ERROR: LoadError: UndefVarError: ViscousFormulationBassiRebay1 not defined
Stacktrace:
  [1] top-level scope
    @ ~/work/Trixi.jl/Trixi.jl/src/solvers/dgmulti/dg_parabolic.jl:208

looks real?

Maybe a matter of the include order of files?

I'll try to debug it now...

The test failure
ERROR: LoadError: UndefVarError: ViscousFormulationBassiRebay1 not defined
Stacktrace:
  [1] top-level scope
    @ ~/work/Trixi.jl/Trixi.jl/src/solvers/dgmulti/dg_parabolic.jl:208

looks real?

Maybe a matter of the include order of files?

I think that's correct. When I moved a specialization of calc_viscous_penalty! into dg_parabolic.jl, it introduced the parabolic solver type before it was defined. Should be fixed by https://github.com/trixi-framework/Trixi.jl/pull/1149/commits/ffffa34d2a6fc836cff4c111b81e50c46fe6b8b1

Looking at #1147, I think it's fine to merge this into main once we have

LDG with TreeMesh2D
a bit more documentation (e.g., BCs)
experimental notes everywhere

Then, we should play around with it and implement the other parts, e.g., callbacks for coupled equations.

Looking at #1147, I think it's fine to merge this into main once we have
* LDG with `TreeMesh2D`

* a bit more documentation (e.g., BCs)

* experimental notes everywhere

Then, we should play around with it and implement the other parts, e.g., callbacks for coupled equations.

I agree! We should leave all "extra" stuff like Callbacks for later - as soon as we get this into main and into people's hands, the better for us, I think.

I will have a look at the PID computation. What are the other actionable items from the GAU ("Gregor as user") test and who is working on them?

I believe there were two others

Convergence to Euler as Reynolds's number goes to infinity
use of viscosity instead of Re

I can look at the former. The latter would require generalizing the formulation from non dimensional to dimensional, so maybe we can discuss it today.


Can i login 2 account in one application ?

Hi @JohnnyCrazy , I'm trying to make an winform app where user can sync there spotify playlists between their accounts. How can i login 2 or more accounts from your lib ?
And thanks for your work, its make me very easier to work with the api :D

There are two different things: The client authorization (within Spotify's server), and the user authorization. You need to create one instance of the SpotifyWebAPI for each user, and with the needed authorization provided, you can interact properly.
If you want to expand this, I'd recommend creating an IEnumerable<SpotifyWebAPI> such as a Dictionary so you can have a more general approach (any number of accounts).

Like @henriquenunez said, create multiple instances of SpotifyWebAPI. You can also create them on the fly and store the access_token in some kind of database.
Authentication is tricky tho, since you need to login with 2 different accounts and brwosers tend to save your session into cookies. Maybe have to use incognito or logout manually.


Failed to open curl lib from binary, use libcurl.so instead

On Ubuntu Server 20.04, the latest Docker image containing server version <IP_ADDRESS> crashes after a few minutes of game play with the following log dump:
[INFO] Package: com.mojang.minecraft.dedicatedserver
Version: <IP_ADDRESS>
OS: Linux
Server start: 2021-05-01 14:42:52 UTC
Dmp timestamp: 2021-05-01 14:43:54 UTC
Upload Date: 2021-05-01 14:43:54 UTC
Session ID: 60f31624-d998-4de2-946c-8e56f72ca000
Commit hash: 29f5ac44317033b48a154d0e9ac51db5ce2d6805
Build id: 5873168
CrashReporter Key: 7ef34716-637f-3b3d-98e2-ef5690af7286
Crash
[INFO] 	at clone (UnknownFile:?)
Failed to open curl lib from binary, use libcurl.so instead
Running the exact same server version (manually downloaded from https://www.minecraft.net/en-us/download/server/bedrock/) and installed on a different server running Ubuntu Server 20.04 but NO DOCKER, doesn't crash.  According to https://bugs.mojang.com/browse/BDS-12695 perhaps you need to tweak the LD_LIBRARY_PATH setting in the Docker image?
See also https://bugs.mojang.com/browse/BDS-12751, although I think the ipv6 thing is a red herring.
(Judging by the mess that the last few Linux releases of the server software has been -- complier files included in the tarball, server executable not actually marked as executable -- I wouldn't be surprised if they've handed off the Linux port to some overworked unpaid intern in Hyderabad...)

Nothing significant has changed in the image and the library path setting has been there since the beginning
https://github.com/itzg/docker-minecraft-bedrock-server/blob/3cf8c20ca4cfb40afa0d439c935d8a0d267a055c/bedrock-entry.sh#L128
As you said, Mojang has obviously been further neglecting the bedrock server on Linux. The image startup really doesn't do anything more than download the zip, adjust the config, and exec their binary.
I'm going to mark this as an upstream issue and we'll see if anybody finds a solution that I can include.

I have fixed this issue on my three servers (running in Docker) by setting the ipv6 port to be the ipv4 number plus one, in server.properties

My problems were that entering Nether disconnected every time, with the above error in the logs. It was solved by fresh installing the servers as new services and moving the worlds into them. Updating the to latest image in the existing services did not work. I moved whitelist.json, ops.json and world but nothing else from the volume.

As far as my tests go, this is from setting the whitelist setting to "true" and having a whitelist with someone the server will accept.

This problem happens to me with a whitelist required and does not have an xuid for the users on the whitelist.
Once I added the xuid to the whitelist, the server stopped crashing.

I'm not using this project, but I get the crash immediately when there's a port conflict (I run two servers on the same host). Fixed it by making the ports unique (after updating I overwrote server.properties by accident)

I have encountered the same question, and I guess that the problem is due to the different version of libcurl. Firstly my version is 3.8 and Failed to open curl lib from binary, use libcurl.so instead occurs every time I ran my ./bedrock_server file. Then I removed the 3.8 version and installed specifically the 3.7 version and the server will run successfully.(But this may lead to other problems if you have other softwares requiring the 3.8 version)

I have encountered the same question, and I guess that the problem is due to the different version of libcurl. Firstly my version is 3.8 and Failed to open curl lib from binary, use libcurl.so instead occurs every time I ran my ./bedrock_server file. Then I removed the 3.8 version and installed specifically the 3.7 version and the server will run successfully.(But this may lead to other problems if you have other softwares requiring the 3.8 version)

Can you provide us with the installation procedure for version 3.7 ?

apt install libcurl4=3.7

Thanks! That's something I could add to the image build. I keep wondering to myself why it works without that change for most people. What is the version of your kernel?

<IP_ADDRESS> and the latest 1.18 versions

That sounds like bedrock versions. I'm meant what's your host's Linux kernel version? Output of uname -a will provide that.

My Linux version is Ubuntu20.04, but it seems that the version of libcurl4 may be different based on the installation time. The default version of libcurl4 in my ubuntu was 3.8, but some of my friends who installed also ubuntu20.04 earlier have a default version of 3.7, and they can deploy the Minecraft kernel without any modification.

Now I'm confused. I thought you were changing libcurl within the container. The version on your host is not relevant.
Please provide output of uname -a

I am sorry for not having made things clearly :(
the result of uname -a
Linux 1695a559ac03 5.13.0-40-generic #45~20.04.1-Ubuntu SMP Mon Apr 4 09:38:31 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

I tried changing the version of libcurl4 within docker and solved this problem. And the same problems happened again when I directly run the bedrock_server downloaded from the Minecraft website outside the container, and this can be solved the same way.

I'm not using this project, but I get the crash immediately when there's a port conflict (I run two servers on the same host). Fixed it by making the ports unique (after updating I overwrote server.properties by accident)

That works for me, thx


Tipi.serve callback invoked twice

I took examples/http_server.rb and added a simple puts:
spin do
  Tipi.serve('<IP_ADDRESS>', 4411, opts) do |req|
    req.respond("Hello world!\n")
    puts "200 OK"
  rescue Exception => e
    p e
  end
  p 'done...'
end.await

For a single request, it outputs:
Listening on port 4411...
200 OK
200 OK

Within a small unit test, it behaves as expected:
  def test_that_callback_runs_once_per_request
    count = 0

    @server, connection = spin_server do |req|
      count += 1
      req.respond('Hello, world!', {})
    end

    # using HTTP 1.0, server should close connection after responding
    connection << "GET / HTTP/1.0\r\n\r\n"

    connection.readpartial(8192)
    assert_equal(1, count)
  end

I'm on Mac OS Big Sur and Ruby 3.0. Could it be related to how the server is bound to the interface? I also noticed that when the server exits, the port is not freed.

I couldn't reproduce your issue, but then again I'm on Linux. How are you making requests to your server script? Using curl or a browser? If you're using a browser you'll see two requests because the browser makes a second request to /favicon.ico.
Please try the following code:
require 'bundler/setup'
require 'tipi'

puts 'Serving on http://localhost:4411/'
spin do
  Tipi.serve('<IP_ADDRESS>', 4411, { reuse_addr: true }) do |req|
    req.uri
    req.respond("Hello world!\n")
  rescue Exception => e
    p e
  end
  p 'done...'
end.await

This will print the requested uri for each incoming request.
As for the server port leaking after the process terminates, I have also noticed that. Here's an explanation for what's apparently happening (from https://hea-www.harvard.edu/~fine/Tech/addrinuse.html):

In order for a network connection to close, both ends have to send FIN (final) packets, which indicate they will not send any additional data, and both ends must ACK (acknowledge) each other's FIN packets. The FIN packets are initiated by the application performing a close(), a shutdown(), or an exit(). The ACKs are handled by the kernel after the close() has completed. Because of this, it is possible for the process to complete before the kernel has released the associated network resource, and this port cannot be bound to another process until the kernel has decided that it is done.

The solution is to use the reuse_addr option when calling Tipi.serve, as shown in the above example.

Please note that the request / response API is still evolving, and has actually been extracted into a separate gem: https://rubygems.org/gems/qeweney. Documentation is lacking for the moment.

You're right, it was the favicon! Why did I not think of that 😬
Thank you for explaining the background of  requiring reuse_addr. Awesome gem, you've made! 😄
I'll check out qeweney -- noticed you're building a Roda style routing. I love the Roda/Sequel stack.


[agenda] add min height to body of agenda

Code changes

[x] add min height to Agenda body

Screenshots

Readiness checklist

[x] Added changes to component CHANGELOG.md

License
I confirm that this contribution is made under the terms of the MIT license and that I have the authority necessary to make this contribution on behalf of its copyright owner.

I took a look at the story behind this change - isn't this issue already fixed? https://github.com/nylas/components/commit/0a48ea0700a15dfa8350f2e15dd55537d51536f8
https://app.shortcut.com/nylas/story/74609/agenda-component-detect-if-height-0-and-set-height-to-be-something-non-trivial


Add support for tracing

What does this PR do?
Adds support for tracing.

Include the dd-trace-go package
Add two new env vars: DD_TRACE_ENABLED and DD_MERGE_XRAY_TRACES (both default to false)
If DD_TRACE_ENABLED == true, create a function execution span representing the Lambda function execution and add appropriate tags.
If the Lambda's trace context came from an event payload OR the user has set DD_MERGE_XRAY_TRACES == true, make the function execution span a child of the current span. In other words, do NOT make the function execution span a child of the current span if the current span is an X-Ray segment and the user does NOT want to merge their Datadog and X-Ray traces.
Store the source of a trace context when we receive it (necessary for the X-Ray merging logic)
Rename the ExtractTraceContext method to ContextWithTraceContext to better reflect what it does (it adds the trace context to the context object)
Deprecate the old method of getting HTTP headers for propagating trace context.
Update README accordingly

Motivation
Customers want to instrument Go Lambda functions for use with Datadog APM.
Testing Guidelines
Integration tests and manual testing.
Types of changes

[ ] Bug fix
[x] New feature
[ ] Breaking change
[ ] Misc (docs, refactoring, dependency upgrade, etc.)

Checklist

[x] This PR's description is comprehensive
[ ] This PR contains breaking changes that are documented in the description
[ ] This PR introduces new APIs or parameters that are documented and unlikely to change in the foreseeable future
[x] This PR impacts documentation, and it has been updated (or a ticket has been logged)
[x] This PR's changes are covered by the automated tests
[ ] This PR collects user input/sensitive content into Datadog

Codecov Report

Merging #44 into master will decrease coverage by 6.69%.
The diff coverage is 24.56%.

@@            Coverage Diff             @@
##           master      #44      +/-   ##
==========================================
- Coverage   89.22%   82.52%   -6.70%
==========================================
  Files          12       12
  Lines         501      555      +54
==========================================
+ Hits          447      458      +11
- Misses         38       81      +43
  Partials       16       16

Impacted Files
Coverage Δ

internal/trace/listener.go
0.00% <0.00%> (ø)

ddlambda.go
80.00% <100.00%> (+3.72%)
:arrow_up:

internal/trace/context.go
87.15% <100.00%> (+0.24%)
:arrow_up:

internal/metrics/processor.go
93.75% <0.00%> (-3.13%)
:arrow_down:

Continue to review full report at Codecov.

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

Hi @nhinsch @DarcyRaynerDD
I would like to ask, are you sure that this is working? From tests, I see that it is generating trace_id as hex
{
    "traces": [
        [
            {
                "trace_id": "6fb744bf13869d00",
                "span_id": "1e8538262a43c188",
                "parent_id": "1e5df70157538a8e",
                "name": "aws.lambda",

And traces are not connecting with logs - https://docs.datadoghq.com/tracing/connect_logs_and_traces/ - because Datadog is making query like @lambda.request_id:(fe757c85-ef6f-4c09-8e24-ca5a16edbdae) OR trace_id:8049978446405082368 (converted hex to uint64 is giving correct value). Also reading documentation https://docs.datadoghq.com/api/v1/tracing/#send-traces looks like DataDog is expecting trace_id as uint64
Even in this PR we can find
fmt.Println("Current trace ID: " + strconv.FormatUint(currentSpanContext.TraceID(), 10))
Bottom line: In current Hex format traces are not connected to Logs - it should be fixed and send as uint64
What do you think? Or maybe I am doing something wrong


verifies retransmitter signature on chained Merkle shreds

Problem
Need to verify if the shred is retransmitted by the expected parent node in Turbine tree.
Summary of Changes
Verify retransmitter signature on chained Merkle shreds

gentle ping!
@bw-solana @carllin @AshwinSekar


difference() 25 times slower after update to 2.7.8

I'm using InfluxDBv2 to gather my SolarPower Statistics. With the update from 2.7.6-1 to 2.7.8-1 I suddenly got timeouts on my Grafana Dashboards. As I have increasing counters, I use difference.
Turns out after the update it takes now about 8 seconds what took 300ms before.
Downgrade to 2.7.6-1 brings back the original performance, of around 300ms.
Steps to reproduce:

Query 500.000 double Values
get the difference for each

Query Used:
`from(bucket: "nrdb")
|> range(start: 2023-08-17)
|> filter(fn: (r) => r["_measurement"] == "Solarpower" or r["_measurement"] == "Powermeter")
|> filter(fn: (r) => r["_field"] == "SHTC" or r["_field"] == "SVTC" or r["_field"] == "SMTC" or r["_field"] == "TD" or r["_field"] == "TC")
|> difference(nonNegative: true)`
Example Data:
`

table_result
_measurementgroupstring
_fieldgroupstring
_valueno groupdouble
_startgroupdateTime:RFC3339
_stopgroupdateTime:RFC3339
_timeno groupdateTime:RFC3339

0
Powermeter
TC
5520.4166
2023-08-17T00:00:00.000Z
2024-08-07T20:20:40.714Z
2023-08-18T07:44:17.522Z

0
Powermeter
TC
5520.4453
2023-08-17T00:00:00.000Z
2024-08-07T20:20:40.714Z
2023-08-18T07:49:17.522Z

0
Powermeter
TC
5520.4696
2023-08-17T00:00:00.000Z
2024-08-07T20:20:40.714Z
2023-08-18T07:54:17.523Z

0
Powermeter
TC
5520.4852
2023-08-17T00:00:00.000Z
2024-08-07T20:20:40.714Z
2023-08-18T07:59:17.522Z

0
Powermeter
TC
5520.4947
2023-08-17T00:00:00.000Z
2024-08-07T20:20:40.714Z
2023-08-18T08:04:17.522Z

0
Powermeter
TC
5520.505
2023-08-17T00:00:00.000Z
2024-08-07T20:20:40.714Z
2023-08-18T08:09:17.523Z

0
Powermeter
TC
5520.519
2023-08-17T00:00:00.000Z
2024-08-07T20:20:40.714Z
2023-08-18T08:14:17.522Z

0
Powermeter
TC
5520.5305
2023-08-17T00:00:00.000Z
2024-08-07T20:20:40.714Z
2023-08-18T08:19:17.523Z

`

Expected behaviour:
difference() should finish in <= 300ms for a set of 500k Datapoints
Actual behaviour:
difference() takes 8s to finish a set of 500k Datapoints
Environment info:
Debian 12
11th Gen Intel(R) Core(TM) i3-1115G4
12GB RAM, less than 5GB in use
NVMe SSD
Slow: influxdb2:amd64  2.7.8-1
Working as expected: influxdb2:amd64 2.7.6-1
Config:
All default
Logs:

Minimal repro using inch:

Create new bucket _fluxtime (with command line: influx bucket create --name fluxtime --org-id ${ORGID} -t ${TOKEN})
Create data: inch -v2 -db fluxtime -t 1 -p 1000000 -token ${TOKEN} -start-time 2024-08-12T00:00:00Z -time 24h
Run query: time influx query --org-id ${ORGID}  -t ${TOKEN} -r 'from(bucket: "fluxtime") |> range(start: 2024-08-12) |> difference(nonNegative: true)' > /dev/null

Back to normal, fixed in current Version


Add location picker for rooms, buildings and locations

As a user I want to be able to pick a location on the map when adding a room, building or location so that I don't have to find out the geocoordinates.
Acceptance:

[ ] In the editors for rooms, buildings and locations there is a button for "select location on map"
[ ] When clicking the button, the map opens and the user can place a marker
[ ] When a marker is placed the editor opens again, with the marker's position entered


Enhancement: Fetching models from text-generation-webui (oobabooga)

What features would you like to see added?
The ability to change models when using text-generation-webui (oobabooga) as the backend.
More details
With the Ollama backend the app fetches the names of all of the available models and allows switching between models.  When using the text-generation-webui backend, the only "model" shown is "text-embedding-ada-002" and fetch doesn't work.  (Inference does work).  This request is to create a custom fetcher for text-generation-webui that works similarly to Ollama's.  Ideally, it would also unload models which would allow you to use both backends and switch between them.
Which components are impacted by your request?
UI, Endpoints
Pictures
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

This is a limitation of ooba's v1/models endpoint. Relevant code line and closed "stale" issue.

Seems like an easy fix from ooba's part, but for whatever reason, it is not implemented (even with an open PR) : https://github.com/oobabooga/text-generation-webui/pull/5720


[Snyk] Upgrade autoprefixer from 10.4.16 to 10.4.20

Snyk has created this PR to upgrade autoprefixer from 10.4.16 to 10.4.20.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 4 versions ahead of your current version.

The recommended version was released on 21 days ago.

Issues fixed by the recommended upgrade:

Issue
Score
Exploit Maturity

Uncontrolled resource consumptionSNYK-JS-BRACES-6838727
169
Proof of Concept

Inefficient Regular Expression ComplexitySNYK-JS-MICROMATCH-6838728
169
No Known Exploit

Access Control BypassSNYK-JS-VITE-6182924
169
Proof of Concept

Missing Release of Resource after Effective LifetimeSNYK-JS-INFLIGHT-6095116
169
Proof of Concept

Improper Access ControlSNYK-JS-VITE-6531286
169
Proof of Concept

Release notes

Package name: autoprefixer

10.4.20 - 2024-08-02
Fixed fit-content prefix for Firefox.

10.4.19 - 2024-03-20
Removed end value has mixed support, consider using flex-end warning since end/start now have good support.

10.4.18 - 2024-03-01
Fixed removing -webkit-box-orient on -webkit-line-clamp (@ Goodwine).

10.4.17 - 2024-01-17
Fixed user-select: contain prefixes.

10.4.16 - 2023-09-20
Improved performance (by @ romainmenke).
Fixed docs (by @ coliff).

    from autoprefixer GitHub release notes

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
This PR was automatically created by Snyk using the credentials of a real user.
Max score is 1000. Note that the real score may have changed since the PR was raised.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:

🧐 View latest project report
📜 Customise PR templates
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

@dependabot recreate

@dependabot recreate


Rename 'subdomainLabelRE' to 'domainLabelRE' and fix documentation re. 'registerable domain'

It's any non-TLD domain label.

Work for this issue will begin begin on branch work-liquid-labs/regex-repo/74.


use powershell exec in powershell resource

Description

As discussed, I've created this PR to put back the changes reverted after the original PR was merged.
Related comment https://github.com/chef/chef/issues/10926#issuecomment-964487573
Related Issue

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Chore (non-breaking change that does not add functionality or fix an issue)

Checklist:

[x] I have read the CONTRIBUTING document.
[ ] I have run the pre-merge tests locally and they pass.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.
[x] All commits have been signed-off for the Developer Certificate of Origin.

You've got some relevantly busted windows unit tests in the buildkite tests (these are the failing tests that i hit which caused me to rebase + remove these changes so that i could ship the powershell_exec fixes)
And I'd echo the suggestion that we make sure that somewhere in the kitchen-tests that we know these kinds of code paths are getting executed for real and we're not just only doing unit tests.

kitchen-test?


Tagged execution hooks not working (gauge-python 0.3.6, getgauge 0.2.0, gauge 0.8.5)

Description
Creating tagged execution hooks does not work for specs (untested with scenarios).
The table of values referenced in this issue:
    | search_terms                              |
    | MKS Instruments                           |
    | RF Power Generator                        |
    | PECVD plasma enhanced vapour deposition   |

Having a table of values at the specification level causes tags to be lost/ignored within the execution context. This can be verified by using the following execution hooks:

# ---------------
# Execution Hooks
# ---------------

@before_spec()
def before_spec(exec_cxt):
    print("\nbefore_scenario_hook: websearch\n")
    print(exec_cxt)
    context.driver = webdriver.Chrome()
    context.driver.implicitly_wait(10)

@after_spec()
def after_spec(exec_cxt):
    print("\nafter_scenario_hook: websearch\n")
    print(exec_cxt)
    context.driver.quit()

This produces output like:
$ gauge --tags "websearch" specs
Python: 3.6.1
# Web Search

before_scenario_hook: websearch

ExecutionInfo: { Specification: { name: Web Search, is_failing: False, tags: , file_name: C:\test\gauge\specs\websearch.spec }, Scenario: { name: , is_failing: False, tags:  }, Step: { text: , is_failing: False } }
  ## User visits google.com      P P P P

     |search_terms   |
     |---------------|
     |MKS Instruments|
  ## User searches using google.com      P P P P

     |search_terms      |
     |------------------|
     |RF Power Generator|
  ## User searches using google.com      P P P P

     |search_terms                           |
     |---------------------------------------|
     |PECVD plasma enhanced vapour deposition|
  ## User searches using google.com      P P P P

after_scenario_hook: websearch

ExecutionInfo: { Specification: { name: Web Search, is_failing: False, tags: , file_name: C:\test\gauge\specs\websearch.spec }, Scenario: { name: User searches using google.com, is_failing: False, tags: google search }, Step: { text: Element "//div[@id='resultStats']" appears within "5" seconds, is_failing: False } }

Successfully generated html-report to => C:\test\gauge\reports\html-report
Specifications: 1 executed      1 passed        0 failed        0 skipped
Scenarios:      2 executed      2 passed        0 failed        0 skipped

Total time taken: 14.827s

In particular, notice that ExecutionInfo['Specification']['tags'] is EMPTY.
Removing the table of values and any scenarios that use <search_terms> results in ExecutionInfo['Specification']['tags'] being populated correctly. Instructions for doing this are provided in the Workarounds section under Steps to Reproduce.
Output when spec-level tables and scenarios that use them are removed:
$ gauge --tags "websearch" specs
Python: 3.6.1
# Web Search

before_scenario_hook: websearch

ExecutionInfo: { Specification: { name: Web Search, is_failing: False, tags: websearch, file_name: C:\test\gauge\specs\websearch.spec }, Scenario: { name: , is_failing: False, tags:  }, Step: { text: , is_failing: False } }
  ## User visits google.com      P P P P

after_scenario_hook: websearch

ExecutionInfo: { Specification: { name: Web Search, is_failing: False, tags: websearch, file_name: C:\test\gauge\specs\websearch.spec }, Scenario: { name: User visits google.com, is_failing: False, tags: visit google }, Step: { text: Look for "//input[@value='Google Search']", is_failing: False } }

Successfully generated html-report to => C:\test\gauge\reports\html-report
Specifications: 1 executed      1 passed        0 failed        0 skipped
Scenarios:      1 executed      1 passed        0 failed        0 skipped

Total time taken: 8.986s

In particular, notice that ExecutionInfo['Specification']['tags'] is NOT EMPTY.
This behavior may be a bug with Gauge itself.
Steps to reproduce

Install selenium. Install Chrome webdriver to PATH.

step_impl/websearch.py

Note that the @before_spec and @after_spec hooks are tagged with websearch
from getgauge.python import *
# step, after_suite, Messages, DataStoreFactory

from selenium import webdriver
from selenium.webdriver.remote.webelement import WebElement
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait # available since 2.4.0
from selenium.webdriver.support import expected_conditions as EC # available since 2.26.0

# ---------------
# Execution Hooks
# ---------------

@before_spec("<websearch>")
def before_spec():
    context.driver = webdriver.Chrome()
    context.driver.implicitly_wait(10)

@after_spec("<websearch>")
def after_spec():
    context.driver.quit()

class Context(object):
    pass

context = Context()

# --------------------------
# Gauge step implementations
# --------------------------

@step('Visit <url>')
def test_visit_url(url):
    if not (url.startswith("http://") or url.startswith("https://")):
        context.driver.get("http://"+ url)
    else:
        context.driver.get(url)
    assert url in context.driver.current_url

@step('Look for <xpath>')
def test_find_element(xpath):
    try:
        e = context.driver.find_element_by_xpath(xpath)
    except:
        Messages.write_message('Could not find element with xpath "%s"' % xpath)
    assert isinstance(e, WebElement) is True
    return e

@step('Element <xpath> appears within <wait_time> seconds')
def test_wait_and_find_element(xpath, wait_time):
    try:
        e = WebDriverWait(context.driver, float(wait_time)).until(EC.presence_of_element_located((By.XPATH, xpath)))
    except:
        Messages.write_message('Could not find element with xpath "%s"' % xpath)
    assert isinstance(e, WebElement) is True
    return e

@step('Enter <search_terms> into <xpath>')
def test_enter_data_into_element(search_terms, xpath):
    e = test_find_element(xpath)
    e.send_keys(search_terms)
    assert e.get_attribute('value') == search_terms

@step('Click <xpath>')
def test_click_element(xpath):
    e = test_find_element(xpath)
    e.click()

specs/websearch.spec

# Web Search

Tags: websearch

    | search_terms                              |
    | MKS Instruments                           |
    | RF Power Generator                        |
    | PECVD plasma enhanced vapour deposition   |

This is a demo specification for puppeting a Google Chrome instance which is used to search the web.

To execute this specification, run

    gauge specs

## User visits google.com

Tags: visit google

In this scenario, the user visits google.com and sees: the google logo (img), a search box (input), and a search button (input).

* Visit "google.com"
* Look for "//img[@alt='Google']"
* Look for "//input[@name='q' and @value='']"
* Look for "//input[@value='Google Search']"

## User searches using google.com

Tags: google search

In this scenario, the user navigates to google.com and performs a few searches.

* Visit "google.com"
* Enter <search_terms> into "//input[@name='q']"
* Click "//button[@value='Search' and @aria-label='Google Search']"
* Element "//div[@id='resultStats']" appears within "5" seconds

Run gauge

gauge --tags "websearch" specs
Expected behaviour:
The before_spec and after_spec hooks are executed, correctly instantiating the Selenium webdriver at the start of the spec and then closing the browser at the end of the spec.
Actual behaviour:
None of the tagged-execution hooks are run.
Workarounds:

Remove <search_terms> table at specification level. Remove any scenarios that use <search_terms>.

Updated specs/websearch.spec
# Web Search

Tags: websearch

This is a demo specification for puppeting a Google Chrome instance which is used to search the web.

To execute this specification, run

    gauge specs

## User visits google.com

Tags: visit google

In this scenario, the user visits google.com and sees: the google logo (img), a search box (input), and a search button (input).

* Visit "google.com"
* Look for "//img[@alt='Google']"
* Look for "//input[@name='q' and @value='']"
* Look for "//input[@value='Google Search']"

This is undesirable because it requires removing tests, or defining them in an inconvenient manner (e.g. hardcoded values instead of dynamic values from table).

Use untagged execution hooks:

# ---------------
# Execution Hooks
# ---------------

@before_spec()
def before_spec():
    context.driver = webdriver.Chrome()
    context.driver.implicitly_wait(10)

@after_spec()
def after_spec():
    context.driver.quit()

Unfortunately, now the before_spec and after_spec hooks will be run for ALL specs (undesirable for suites containing multiple disparate specs).
Version Information

Gauge version: 0.8.5
Gauge Python plugin version: 0.3.6
Python version: 3.6.1 (conda env)
getgauge package version, run pip3 show getgauge to get it: 0.2.0
OS information: Windows 7 x64

@afeique Thanks for logging this issue. This should be fixed in Gauge.
Closing this issue for now. Please track the progress on Gauge issue 708.
Feel free to reopen if this issue exists after the Gauge fix.