Make switch instead of light

Hi, First of all this is a great library and I really appreciate for the great work.
Currently I see the espalexa devices as lights in alexa app, but how can me make it switch ?
Thanks.

I found this code which makes esp device as "Plug". Any chance we can add this into Espalexa ?
https://raw.githubusercontent.com/kakopappa/arduino-esp8266-alexa-wemo-switch/master/sinric.ino

I was researching the same thing.
We need to change he cpp code so that onoff doesn't default to dimmable.
I need to understand what was tried (if anything) that didn't work for onoff.
Alexa supports "Plug" or devices that are simple "onoff".
The device type is power.
Can someone show me the code where it broke for "onoff" and I will look at fixing it?

sir How can we solve this problem.....??

Still waiting, is there something?


Step 9. Create the ViewModel

This line is not updated with the coroutine parameter in method getDatabase()
val wordsDao = WordRoomDatabase.getDatabase(application).wordDao()

Fixed. Thanks for reporting


Implementation detail of the robust loss

Looking at https://gist.github.com/ranftlr/1d6194db2e1dffa0a50c9b0a9549cbd2#file-loss-py-L31, it looks like you are computing the median over all the values, including invalid ones.  Shouldn't this be a masked median?  (It is not available off the shelf, but can be implemented efficiently in a roundabout way).  And if it's a bug / feature, then how does it relate to  trimming? Meaning the outliers may be coming from invalid values or the invalid values may make legal values look like outliers...

I am wondering if the part
trimmed, _ = torch.sort(res.view(-1), descending=False)[         : int(len(res) * (1.0 - trim))     ]
should be changed to
trimmed, _ = torch.sort(res.view(-1), descending=False) trimmed = trimmed[: int(len(res) * (1.0 - trim))]

I am wondering if the part
trimmed, _ = torch.sort(res.view(-1), descending=False)[         : int(len(res) * (1.0 - trim))     ]
should be changed to
trimmed, _ = torch.sort(res.view(-1), descending=False) trimmed = trimmed[: int(len(res) * (1.0 - trim))]

I am wondering if the part
trimmed, _ = torch.sort(res.view(-1), descending=False)[ : int(len(res) * (1.0 - trim)) ]
should be changed to
trimmed, _ = torch.sort(res.view(-1), descending=False)
trimmed = trimmed[: int(len(res.view(-1)) * (1.0 - trim))]

I think it should be changed to the second one, the first line won't perform trimming.

@dfrumkin  Hi Guys,
I wonder are you able to reproduce the training script. I am pretty to this and wonder how you achieved this.
Thanks.

Same problem.


Documentation for FIFTYONE_SIGNED_URL_EXPIRATION

What changes are proposed in this pull request?
Added documentation for signed URL expiration variable
How is this patch tested? If it is not, please explain why.
Built the documentation locally
Release Notes
Is this a user-facing change that should be mentioned in the release notes?

[x] No. You can skip the rest of this section.
[ ] Yes. Give a description of this change to be included in the release
notes for FiftyOne users.

(Details in 1-2 sentences. You can just refer to another PR with a description
if this PR is part of a larger change.)
What areas of FiftyOne does this PR affect?

[ ] App: FiftyOne application changes
[ ] Build: Build and test infrastructure changes
[ ] Core: Core fiftyone Python library changes
[x] Documentation: FiftyOne documentation changes
[ ] Other

Not a 100% sure if this page is the right place for documentation, but I added a PR so that we don't forget it :)

Sg, will do :)


Drum Kit Using Javascript

Please assign this issue to me #hacktoberfest #enhancement

I can make it using javaScript looking forward to get this task assigned to me :)


Add GetAll methods for RBAC

What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?:

NONE

@knanao Look nice. Just some nits. 💯

/golinter fmt

Nice.
/lgtm

Looks neat
/approve


OnnxResize and our pruning strategy

Our pruning strategy does not work when applied to the OnnxResize module due to the fact that the input shapes have changed, and the sizes that come to forward have not changed (if they are constant). It is necessary to remove the check during the inference and do the check during the creation of this module.

https://github.com/ENOT-AutoDL/onnx2torch/pull/67


Merged the code, saved and plotted the results, evaluated metrics

I have merged code and modified few cells. I have added evaluations metrics and plots for model.
Kindly review the code and let me know if anything else need to changed.

@Aishwarya120111 It looks nice! Except that I found there are some codes that are out of the boundary in the HTML file. You may want to help format the codes

@Aishwarya120111 It looks nice! Except that I found there are some codes that are out of the boundary in the HTML file. You may want to help format the codes

Yeah will check the codes and do the formatting so that it prompts well in HTML report.

looks good to me, thank you for changing the directory path in data wrangling part!


Forum section on website powered off github issues (this repo!)

Could we hack use a github issues based comment system e.g. https://utteranc.es/ (2.3k*)  or https://ocs.now.sh/ (218*) or vssue (337⭐) https://vssue.js.org/
Couldn't find any immediate app that did this as forum itself.

closing as we now use github discussions


Playing local video (ex: mp4, avi, mov etc.)

Is there a way to play local video files such as mp4? From my understanding, the only way to play videos is through youtube and vimeo...
Is this feature no longer supported OwlCarousel2? The 1.3 version works great, but I can't seem to get it to work on this distribution.

@doppl3r did you ever get a resolution to this issue? I'm looking into using this carousel for a project, but it must support HTML5 video, not just embeds...

Unfortunately, I never got an official response and moved back to 1.3 for one of my clients websites. Something to keep in mind, it's probably better to stream your video through YouTube to relieve the download time/size from your server. You can always remove the UI for YouTube if needed.
In conclusion: test youtube on owlcarousel2 and see if you like the quality. If that doesn't seem to do what you want, you can always fallback to owlcarousel 1.3

Ok thanks for the feedback-- I'm currently using a different plugin (Slick Slider) which is working well, but I'm debating using the native video vs. embed option given that there are many videos in this case; I'm also looking at effectively "lazy-loading" the video as well...

I'm having the same issue. It would be very interesting to get an official answer on this.

This isn't something that is currently possible, but sounds like a good feature to include if anyone wants to take a stab at adding it.

Carousel 1 is not looping, that's why I came to Carousel 2.


Added yotpo reviews to more products, moved assets and scripts per slate

Hey Ryan,
I've tweaked the theme a bit.  I've adjusted the code in alternate-product.liquid to add correct reviews at the bottom of more products.  We are also adding star reviews at the top of some products.  That code has been added in as well.
Additionally, it looks like Slate now requires a little bit of a different file structure in the latest beta.  I moved /assets/scripts and /assets/styles out into /src.  This allows webpack to compile everything.
I'm going to push these changes to the staging theme and have our team QA - let me know if you see any bugs or issues.

Hey Chris,
Good work on updating to the newest version of Slate! It builds on my end with the changes when using yarn.
I'm not sure if your team all uses yarn, but with npm we need to update the package-lock.json as well or builds using that break. Could you run npm install @shopify/slate-tools@latest (from here) to update package-lock.json dependencies too?
The only adjustment I would suggest is preventing the space from being preserved when there are no Yotpo reviews present with something like this:
.yotpo-rating-info{ display: none; }
.yotpo-rating-info[data-yotpo-element-id]{ display: block; }
/* [data-yotpo-element-id] is only added when Yotpo loads reviews */

An improvement (probably taking it a step past the scope) would be to add a transition when it shows. No pages have this at the moment but it may be a nice idea. You could do that with the above code by using a transition on min-height and opacity and removing the display styles.
Lastly in future you might find it to split things like this into a few commits. One commit for Yotpo and one commit for the Slate changes would be easier to review and look back on in the future if you ever need to!
If your QA team is happy with the changes then in general they all look good to me!
The latest change I made is in the fix-menu-transparent-btm branch and has not been deployed yet. If you and your team are eager to deploy these changes tomorrow then that is ready to merge.
Otherwise I'm happy to review your changes to this pull request tomorrow and deploy them once the QA team is happy too!
Let me know if you have any questions!

Thanks Ryan!  I am getting npm up to date.  I had a permissions issue on my work laptop that was preventing npm from running (which is why I switched to yarn).  I'll add those fixes to this PR and then deploy to the live theme.
After that, you can add your latest changes.
I'll work on the css suggestions for reviews today or tomorrow - good call!


Fix 1px jump in sidepanel tabs on click (activeTab)

This PR fixes the little 1px jump that occurs on the sidepanel tabs when clicking around. Instead of having a border of 0 on inactive, the border color is set to transparent.

Looks good @simonswiss 🥇

Thanks @simonswiss!


[WIP] Feature/record linker

Overview
PR purpose (along with other PRs for this issues):

it fixes https://github.com/opentrials/opentrials/issues/240
it fixes https://github.com/opentrials/opentrials/issues/270
it fixes https://github.com/opentrials/opentrials/issues/310
it fixes https://github.com/opentrials/opentrials/issues/295
it fixes https://github.com/opentrials/opentrials/issues/292

@vitorbaptista
please take a look on logic - it should finalize many problems fixing (dedup update) but I'm not fill very well with current record-trial approach. I'll create an issue for a future with my thoughts. But for now we need to fix this dedup problems and this should work. Just needed double check and proper db backup :smiley:

Also better to split this into two processors I suppose.


Localization support with Lookups

What is the recommend way to support localization for lookup records on xRM Portals?  We are looking at implementing a plugin in Dynamics CRM to handle this.  Our question is how does the Portal handle localization when interacting with Dynamics CRM.  Is there a way at the plugin level to get the Portal localization language? The user account connecting to Dynamics only supports one language.  We have came across old documentation where adxstudio had a way to support multiple languages for lookups, but it appears that was dropped by the MS Portals changes.  We have not been able to find any documentation or recommendations on how to support localizing lookups.

This seems to have had a very solid thought through back in V6 according to
the adxstudio documentation, and secretly I hope it actually still works as
described, and it's just a documentation issue that says it is only
supported that way in V6 (and hopefully, it's V6 and after?).
Seems fundamental to value proposition of Portals, consider a Country
entity, with the name of the country in several languages, and a 2
character iso country code (I imagine most deployments have something very
similar to this). You'd expect when looking at a record with a Lookup to
one of the Country records it would be able to display a name field from
the users current language?
On Fri, Oct 5, 2018, 1:12 PM Shawn Lautebach<EMAIL_ADDRESS>wrote:

What is the recommend way to support localization for lookup records on
xRM Portals? We are looking at implementing a plugin in Dynamics CRM to
handle this. Our question is how does the Portal handle localization when
interacting with Dynamics CRM. Is there a way at the plugin level to get
the Portal localization language? The user account connecting to Dynamics
only supports one language. We have came across old documentation where
adxstudio had a way to support multiple languages for lookups, but it
appears that was dropped by the MS Portals changes. We have not been able
to find any documentation or recommendations on how to support localizing
lookups.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Adoxio/xRM-Portals-Community-Edition/issues/85, or mute
the thread
https://github.com/notifications/unsubscribe-auth/Ad_amwxAIDNrludVCGuDP0c8vsRv-QbUks5uh5L4gaJpZM4XKmxx
.

--
Cheers, Jason

Documentation I was trying to
https://community.adxstudio.com/products/adxstudio-portals/documentation/developers-guide/web-controls/crmentityformview/language-localization/lookup-language-localization/
On Fri, Oct 5, 2018, 3:39 PM Jason McNeil<EMAIL_ADDRESS>wrote:

This seems to have had a very solid thought through back in V6 according
to the adxstudio documentation, and secretly I hope it actually still works
as described, and it's just a documentation issue that says it is only
supported that way in V6 (and hopefully, it's V6 and after?).
Seems fundamental to value proposition of Portals, consider a Country
entity, with the name of the country in several languages, and a 2
character iso country code (I imagine most deployments have something very
similar to this). You'd expect when looking at a record with a Lookup to
one of the Country records it would be able to display a name field from
the users current language?
On Fri, Oct 5, 2018, 1:12 PM Shawn Lautebach<EMAIL_ADDRESS>wrote:

What is the recommend way to support localization for lookup records on
xRM Portals? We are looking at implementing a plugin in Dynamics CRM to
handle this. Our question is how does the Portal handle localization when
interacting with Dynamics CRM. Is there a way at the plugin level to get
the Portal localization language? The user account connecting to Dynamics
only supports one language. We have came across old documentation where
adxstudio had a way to support multiple languages for lookups, but it
appears that was dropped by the MS Portals changes. We have not been able
to find any documentation or recommendations on how to support localizing
lookups.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Adoxio/xRM-Portals-Community-Edition/issues/85, or mute
the thread
https://github.com/notifications/unsubscribe-auth/Ad_amwxAIDNrludVCGuDP0c8vsRv-QbUks5uh5L4gaJpZM4XKmxx
.

--
Cheers, Jason

--
Cheers, Jason

I have tried and tested that, and it doesn't work.  Does anyone have any other recommendations/suggestions?


Convert to module (ESM).

BREAKING: Convert to module (ESM).
BREAKING: Require Node.js >=14.
Update dependencies.
Lint module.

Codecov Report

Merging #9 (95fab9d) into main (1b2b302) will increase coverage by 8.97%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main       #9      +/-   ##
==========================================
+ Coverage   84.21%   93.18%   +8.97%
==========================================
  Files           2        2
  Lines          19       88      +69
==========================================
+ Hits           16       82      +66
- Misses          3        6       +3

Impacted Files
Coverage Δ

lib/index.js
100.00% <100.00%> (ø)

lib/LruCache.js
92.85% <0.00%> (+10.50%)
:arrow_up:

Continue to review full report at Codecov.

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


DOCS Recover docs lost during migration

I've done a bit of digging and found that, at commit https://github.com/silverstripe/silverstripe-framework/commit/e448fb94343ddb27508f3bcc85550378d426d99d, a few docs from 3.2 were lost during a refactor.
Notably the documentation on polymorphic relations (ctrl + f to see where those were removed without being re-added) but I'd need to do a thorough review of that commit to see if anything else needs recovering.

Fixed with https://github.com/silverstripe/silverstripe-framework/pull/3735


Set the job.id and task.id in the MDC for improved logging

@sahilTakiar This removes any compile dependencies to log4j and replaces them with compile dependencies to slf4j and runtime dependencies on logback.  Jobs, Forks, and Tasks now add the job name, job id, and task id to slf4j MDC.  To facilitate this information flowing correctly across threads, Callable and Runnable have been replaced with GobblinCallable and GobblinRunnable.

Coverage increased (+0.06%) to 45.027% when pulling<PHONE_NUMBER>45e6f4920a691772ba00281df3273a on kadaan:SwitchToLogback into 588d8c77fe3c84c752fd410f916868419c178465 on linkedin:master.

Coverage increased (+0.1%) to 46.765% when pulling 33d16ee9e1063a5a840637a8026a9adc276ebe30 on kadaan:SwitchToLogback into 5cd9d969f73456e46847c9d9e7ef33ad5376617c on linkedin:master.

Can you document why switching to logback is necessary / what its advantages are?
Also, do we need to replace every Runnable and Callable instance with GobblinRunnable and GobblinCallable - it is possible to instead add this instrumentation to ExecutorsUtils.newThreadFactory - we can have a custom ThreadFactory that does all this for us.

The reasons to prefer logback over log4j are here.  The biggest one is the logback implements the SLF4J API natively.  This provides better performance.
Yes, we can have a custom thread factory, but I will have to figure out how to do it.

@sahilTakiar Any comments about this?

@sahilTakiar Any comments about this?

I won't have time to review this, until this weekend.
@chavdar care to take a look?

I still think the GobblinRunnable and GobblinCallable aren't necessary (its also going to be hard to enforce use of these classes throughout the code base.), moving the logic to ExecutorsUtils.newThreadFactory would be preferable.

@chavdar You had some thoughts around logging story in Gobblin, so can you please review this PR? I will request @kadaan to update the PR and fix merge conflicts / license headers if we have consensus on changing the logging framework.

As chance would have it, I'm reworking this to remove the GobblinCallable and GobblinRunnable in most circumstances for an ExecutorService and ScheduledExecutorService which automatically wraps Runnable and Callable.
--
Joel Baranick
<EMAIL_ADDRESS>
On Jan 11, 2017, at 7:06 PM, Abhishek Tiwari<EMAIL_ADDRESS>wrote:
@chavdar You had some thoughts around logging story in Gobblin, so can you please review this PR? I will request @kadaan to update the PR and fix merge conflicts / license headers if we have consensus on changing the logging framework.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@chavdar Updated the PR removing Logback and switching out GobblinCallable and GobblinRunnable for custom instances of ExecutorService and ScheduledExecutorService which handle setting and clearing the MDC.

@chavdar ping

@chavdar Can you please review this?  I'll fix the conflicts today.

@htran1 The JobId/TaskId stuff is needed.  I pulled in a better version from a different PR.  I changed all the other code to just operate on the string versions, but use the Id.* classes to extract the sequence.  Other than that, I rebuilt the commit in a new branch on master as this one was way too messy and had an excessive number of files in it.

@htran1 Still trying to figure out the test issue.  I can't get all the tests to run locally because of hive test failures related to metastore_db, so I don't see the failures that are being reported in Travis.

Looks good.

Wooohoooo
--
Joel Baranick
<EMAIL_ADDRESS>
On Mar 8, 2017, at 6:17 PM, Hung Tran<EMAIL_ADDRESS>wrote:
Merged #967.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or mute the thread.


Trying to use keract.get_activations() for days, keep getting stuck

I've been trying for several days to successfully use keract.get_activations() on an acoustic or speech recognition ML model. This is the failure I've encountered most often:
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-20-bf90f67762d7> in <module>()
----> 1 activations = get_activations(model_proper, speech_encoded, auto_compile=True)

/usr/local/lib/python3.7/dist-packages/keract/keract.py in get_activations(model, x, layer_names, nodes_to_evaluate, output_format, nested, auto_compile)
    328                            'Network layers are [{}]'.format(', '.join(layer_names), network_layers))
    329         else:
--> 330             raise ValueError('Nodes list is empty. Or maybe the model is empty.')
    331
    332     # The placeholders are processed later (Inputs node in Keras). Due to a small bug in tensorflow.

ValueError: Nodes list is empty. Or maybe the model is empty.

I've been working in Colab using the wav2vec2 model. The notebook I was using had some elements not directly related to this, so I've copied only the relevant parts into a more streamlined Colab that's easier to follow:
https://colab.research.google.com/drive/15NVey3pT9e78qJHZ_9gqBAmvvnV5814Q
The first part of the Colab is all preparing the model, so you can scroll toward the bottom where keract actually comes into play.
Here's a screenshot of the failure in the Colab (image of the same error pasted in text above):

Can you please help me get past this issue and to a successful use of get_activations() on this model? Your library could be really useful for my interpretability research.
I tried running a debugger and looking closer at the keract.py code to see what the problem is. This led me to redefining my model from a sole KerasLayer to a Keras Model containing that layer, as you'll see in the Colab linked above. But the problem still continues.

@evanrmurphy Hey Evan! Can you distill the minimum snippet that can reproduce the issue you have? Copy paste here that I can have a look!

I already did distill it into the Colab linked above. 😕  Admittedly there is still a fair amount of setup in that notebook though, I guess that's what you mean...
I was able to unblocked and at what I needed moment using another library so I probably won't be working on the keract integration again unless/until I hit major issues with that. Thank you, Philippe.

@evanrmurphy okay no problem! Thanks for pointing out the issue!


Deprecation Warning with sass 1.78

Prerequisites

[X] I have searched for duplicate or closed issues
[X] I have validated any HTML to avoid common problems
[X] I have read the contributing guidelines

Describe the issue
I recently updated the sass package to version 1.78 & use Bootstrap latest version 5.3.3
Now I'm getting deprecation warnings when running npm. I found the same issue reported and the only fixes were to either downgrade or silence the warnings.
This is not good enough, I want to fix this.
Is there a way to fix this in our project? Will this be fixed in the next Bootstrap version?
The warnings:
_Deprecation Warning: Sass's behavior for declarations that appear after nested
rules will be changing to match the behavior specified by CSS in an upcoming
version. To keep the existing behavior, move the declaration above the nested
rule. To opt into the new behavior, wrap the declaration in & {}.
More info: https://sass-lang.com/d/mixed-decls
┌──> node_modules\bootstrap\scss\_type.scss

38  │       font-family: $display-font-family;
│       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ declaration
╵
┌──> node_modules\bootstrap\scss\vendor_rfs.scss
136 │ ┌     @media (#{$rfs-mq-property-width}: #{$rfs-mq-value}) {
137 │ │       @content;
138 │ │     }
│ └─── nested rule
╵
node_modules\bootstrap\scss_type.scss 38:5      @import
node_modules\bootstrap\scss\bootstrap.scss 17:9  @import
src\assets\scss\styles.scss 23:9                 root stylesheet
Deprecation Warning: Sass's behavior for declarations that appear after nested
rules will be changing to match the behavior specified by CSS in an upcoming
version. To keep the existing behavior, move the declaration above the nested
rule. To opt into the new behavior, wrap the declaration in & {}.
More info: https://sass-lang.com/d/mixed-decls
┌──> node_modules\bootstrap\scss\_type.scss

39  │       font-style: $display-font-style;
│       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ declaration
╵
┌──> node_modules\bootstrap\scss\vendor_rfs.scss
136 │ ┌     @media (#{$rfs-mq-property-width}: #{$rfs-mq-value}) {
137 │ │       @content;
138 │ │     }
│ └─── nested rule
╵_
Reduced test cases
Install a Vite project with Vue Composition API (latest version) and install the latest version of sass (1.78.0) and bootstrap (5.3.3). Run "npm run serve" and see the deprecation warnings.
What operating system(s) are you seeing the problem on?
Windows
What browser(s) are you seeing the problem on?
Chrome
What version of Bootstrap are you using?
5.3.3

Duplicate of https://github.com/twbs/bootstrap/issues/40621. A patch has already been merged and will be in the next release, in the meantime, you can have some more information in the linked issue.

@julien-deramond The linked issue doesn't state that the issue will be resolved in a next version and as stated in my original posts, the only solutions are silencing the warnings or downgrading..


[Fix] Reflect changes to upstream/main

From merging some big prs there happend some inconsistency which casued
a build break. This patch solves the issue
Changes proposed in this PR:

Use manager.initializeTensor() in the unittest
Add training signature to forwarding

Self evaluation:

Build test: [X]Passed [ ]Failed [ ]Skipped
Run test: [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: Jihoon Lee<EMAIL_ADDRESS>

:memo: TAOS-CI Version: 1.4.20191203. Thank you for submitting PR #884. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://nnsuite.mooo.com/.

:memo: TAOS-CI Version: 1.4.20191203. Thank you for submitting PR #884. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://nnsuite.mooo.com/.

For augmentation layer, their forwarding must be no_op (hidden_ = input_) when training = false.
Please update

Updated.

For augmentation layer, their forwarding must be no_op (hidden_ = input_) when training = false.
Please update

Updated.


Re-label metrics to make it clear that theyre not variant level

The metrics shown on the plugin page includes all variants combined. Its documented in https://hub.meltano.com/singer/docs#meltano-usage-metrics but its a little mis leading on the plugin page.
Since we have another iteration to add variant level metrics, it would be good to relabel the current metrics for now. Maybe
"Executions (Last 3 Months)" -> "All Variant Executions (Last 3 Months)" or renaming the "Meltano Stats" header to reflect that its all variants. Later we can add variant specific metrics and probably remove the old non-variant specific metrics.
cc @rwfeather @tayloramurphy @alexmarple

@pnadolny13 it'd be quickest for you to make this change but I want to make sure @rwfeather and @alexmarple are aware of it as well. Do you all want to do a pair session on this or what makes the most sense from y'alls perspective? cc @aaronsteers


feat:  Add initial SQS queues

further work on #34

We don't directly actually need the DLQ for the Audit flow, and as per #46 , I think there's a neater long term way of doing this.


added markdown support

Closes #11
Closes #22

Codecov Report

Merging #24 (1e6b64f) into master (cc232be) will increase coverage by 0.11%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #24      +/-   ##
==========================================
+ Coverage   94.65%   94.76%   +0.11%
==========================================
  Files           2        2
  Lines         187      191       +4
==========================================
+ Hits          177      181       +4
  Misses         10       10

Impacted Files
Coverage Δ

src/minilogger.jl
92.72% <100.00%> (+0.27%)
:arrow_up:

Continue to review full report at Codecov.

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


Show Info Window on all pins at same time

SUMMARY
Be able to show info window on all or a set of pins at the same time.  Currently it only seems possible to show the info window on one pin at a time
DETAILS
I'd like a property or method which allows me to display the info window on multiple pins at a time
PLATFORMS

[x] Android
[x] iOS
[x] UWP

Would love to see this added, I've been trying to add a permanent label under a pin without success i did have it working with a view but the label would rotate along with the pin so didn't look very good.
plus the view would render slowly if there was a lot of pins..


Include Unittest and resolve imports

Changes

Included Unittest in the tests directory.
Execute the unittest
$ python tests\test_xor.py

Changed the docstring for the method XOREncryption.decimal_to_ascii. Other than this no change in any of the documentation.
XOREncryption.decimal_to_ascii([41, 42, 43]) != "ABC"
XOREncryption.decimal_to_ascii([65, 66, 67]) == "ABC"

Added relative import and __all__ variable to init.py which includes the class XOREncryption. Now the user can import the class directly from xorencryption rather than using xorencrption.xor in import statement.
# initial
from xorencryption.xor import XOREncryption
# present
from xorencryption import XOREncryption

Now the user can use the help() function on your package and get the documentation of the class in it.
Contact

Insta: @theguptayush
Gmail<EMAIL_ADDRESS>

Hi @GuptaAyush19 thanks for your attention. I'm very happy with your pull request because I forgot to include the unit test and some fixes.

Happy to help @AlvifSandana 😃👍


remove has rdoc

NOTE: Gem::Specification#has_rdoc= is deprecated with no replacement. It will be removed on or after 2018-12-01.
Gem::Specification#has_rdoc= called from /mail/mail.gemspec:13.

Backported to 2-7-stable @ 904fc3299163771ca47d5cc5c2f540f6f828c2d6


Snapdragon: mainapp can crashes on disarm

Sometimes, maybe 1/5 times. I disarm and get:
*** Error in `./mainapp': double free or corruption (fasttop): 0xb4800468 ***
Aborted

It seems to be correlated with sdlog2. I don't see the error when not running sdlog2.

Same happens in SITL gazebo:
*** Error in `./mainapp': double free or corruption (fasttop): 0x00007f177c0008c0 ***
Tools/sitl_run.sh: line 119:  4616 Aborted                 (core dumped) $sudo_enabled ./mainapp $chroot_enabled ../../../../${rc_script}_${program}_${model}

Awesome, thanks for the fix!


Fallback samtools BAM sort is broken

The fallback single-core samtools sorting in bcbio.bam.sort() seems to be broken. The block takes it arguments from the locals() environment which still has cores cores set from the previous attempts to generate and run command lines (and not one core as it should in the fallback). In addition, mem may be overwritten by a previous sambamba block (which may have failed, thus resulting in the fallback sorting). Crucially, sambamba mem isn't per-core as samtools expects it, but per-process as sambamba expects it. As a result, the fallback sorting may allocate both too many cores (it's supposed to be single-core) and to much memory (in fact, cores times as much memory as expected). So the fallback option will almost always fail as well.

Sven-Eric -- thanks much for catching this. I pushed a fix which does the lower memory single core sort to provide a more useful fallback. Thanks again for the heads up and clear details for fixing.


SSL/mkcert issues

Hi!
I'm trying to self-deploy using docker on my ubuntu vm.
I've gone through the tutorial, and have all docker containers running, however the nginx container keeps spewing ssl errors at me :)
/docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
/docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
/docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
10-listen-on-ipv6-by-default.sh: info: IPv6 listen already enabled
/docker-entrypoint.sh: Sourcing /docker-entrypoint.d/15-local-resolvers.envsh
/docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
/docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
/docker-entrypoint.sh: Configuration complete; ready for start up
2024/04/16 20:33:16 [emerg] 1#1: cannot load certificate "/etc/ssl/certs/mediafusion.local.pem": PEM_read_bio_X509_AUX() failed (SSL: error:0480006C:PEM routines::no start line:Expecting: TRUSTED CERTIFICATE)
nginx: [emerg] cannot load certificate "/etc/ssl/certs/mediafusion.local.pem": PEM_read_bio_X509_AUX() failed (SSL: error:0480006C:PEM routines::no start line:Expecting: TRUSTED CERTIFICATE)
I've created the certifaces through mkcert as shown in the guide.
I'm not an expert, so i'm probably missing something very obvious...
Love your work!

Ensure that the certificate file is correctly formatted. SSL certificate files should be in PEM format, which includes a header -----BEGIN CERTIFICATE-----, a footer -----END CERTIFICATE-----, and the Base64-encoded certificate data in between.
Also make sure the file permission in host os, if you're running linux the file permission might need 644

Thank you for the quick answer!
How would i go about making sure the files are as they should be?
Both are formatted as pem files as standerd through mkcert.
Should i edit these files to contain the headers and footers after?
Maybe i'm using the ssl certs completely wrong? Should they be placed a specifc place or something?
Sorry for the noobish questions, and thank you again!

Have you run
mkcert -install

mkcert "mediafusion.local"

Make sure to run this command in the correct folder. This will create the mediafusion.local.pem file

Yep, i did! in which folder?

#Goto MediaFusion cloned repo
cd MediaFusion

# goto deployment/docker-compose
cd deployment/docker-compose

# then create the cert file
mkcert "mediafusion.local"

# Stop currently running compose if any and start
git pull
docker-compose -f docker-compose.yml down
docker-compose -f docker-compose.yml pull
docker-compose -f docker-compose.yml up -d

I get this:
ERROR: failed to save certificate: open ./mediafusion.local.pem: is a directory
There are two directories named after the certs and keys already in the folder.

@zJota Thanks for the help! I've re-done the install and have the certs and keys etc up and running.
@mhdzumair I'm able to locally access mediafusion.local on the host machine, and through the servers internal ip (<IP_ADDRESS> etc) on my laptop on my network, however the main mediafusion container seems to be "unhealthy" and i just get an ERR_OPENING_MEDIA - Failed to fetch in Stremio.
Log from mediafusion container:
INFO::20-Apr-24 14:29:42 - <IP_ADDRESS> - "POST http://<IP_ADDRESS>:8000/encrypt-user-data HTTP/1.1" 200
[2024-04-20 14:29:44 +0000] [10] [WARNING] Invalid HTTP request received.
[2024-04-20 14:29:44 +0000] [10] [WARNING] Invalid HTTP request received.

@MarkBP99 pull the changes and test it with v3.8.1 image, the health check should be passed.

Closing as Completed


Fix typo, the provider should be Microsoft.Authorization

Fix typo, the provider should be Microsoft.Authorization

Automation for azure-sdk-for-js

Automation for azure-sdk-for-python

Automation for azure-sdk-for-ruby

Can one of the admins verify this patch?

Automation for azure-sdk-for-node

Automation for azure-sdk-for-go

Automation for azure-sdk-for-java

@jhendrixMSFT can you please take a look ? This caused one customer CI validation failed.


Avoid UnusedPrivateMember in serialize only data class

Expected Behavior of the rule

Today we have a very interesting situation. At least I think so.
I hope someone has used retrofit. I wanted to give a more general example, but I didn't come up with a suitable one. I'm sorry.
UnusedPrivateMember is not required in a specific class that is used only when serializing. So I want to filter it.
Context

retofit api interface
    @POST("api/addresses/")
    fun post(@Body body: RequestAddress): Single<ResponseAddress>

RequestAddress.
data class RequestAddress(
    private val name: String,
    private val address: String,
    private val mobile: String
)

There is no need to make the field public in this class. JsonParser such as Gson serializes RequestAddress class, but in this case, I do not need to directly access the field, so I want to keep the field private.
This triggers UnusedPrivateMember. How can I avoid it?

Hey! Thanks for the feedback.
For me this seems like a framework specific issue.
Detekt decided to not include framework specifics into the implementation of rules.

UnusedPrivateMember is not required in a specific class that is used only when serializing. So I want to filter it.

How would you want to detect this? Search all classes that are referenced in a REST API like function would maybe be a solution.
Anyway, even if there's a simple solution, I think value/effort is not given here.

This triggers UnusedPrivateMember. How can I avoid it?

The configuration option allowedNames allows to ignore unused members. Maybe it's an option to ignore body here.
An Ignore annotation ca be used.
If you want to, you can also extend this rule in a custom domain-specific rule.

Due to the mentioned arguments and solutions, I'll close this issue.

Thank you!

You are welcome! 🙂


syntax highlighting in readme

Added syntax highlighting to two blocks within api readme
Added a ; in css generated example, for consistency

Coverage remained the same at 94.616% when pulling 3d446a85d38f96dfc630cfbfddc5edc9b719805e on tmarshall:tmarshall/syntax into 4d526048c3d71e82bf42a2ebe7760b243ba046dd on FormidableLabs:master.

🤘 thanks again!


Fixed problems after unit tests update

Loading indicator in forms
Forms validators
Code style
Updated README.md

Reviewed and tested!


Reason to use / checkout mldb.ai in 2022?

I got interested in the project after looking into the documentation. It seems the project is mostly abandoned - not only by companies, but also by volunteer. Is there any reason to still look into the system? What would be alternatives nowadays?

You're right: it's mostly abandoned, and the volunteer effort (me!) is more focused around improving the core architecture than maintaining the previous iteration.
There are many alternatives, but if I were you, I'd start with ClickHouse, Spark or H2O depending upon how important the database vs ML functionality is.


Time for a new Gem?

Is it time for a new gem build?
I ask because I just spent a few hours trying to figure out how to make a manifest that does a 'split' on a parameter. To try to make my life easier, I used the 1.0.1 gem to unit test it, but it seems that gem doesn't understand the 'split' function (having looked at the source, it seems the latest github version does). So I'd like to update the gem on our systems so that we can put these tests back in (seeing as Puppet itself is quite happy with my module, it seems helpful to be able to test it).
Anyone got any opinions/thoughts? Any idea when we can expect a new gem?

@jeffmccune @rodjek Bump.

It appears 2.0.0 is now live: https://rubygems.org/gems/rspec-puppet/versions/2.0.0

:tada:


1009 delete cap and talent button

Description
Delete capability and "Delete Talent" buttons works in contribution-create page.
Fixes #1009
Review Time Estimate
Please give your idea of how soon this pull request needs to be reviewed by selecting one of the options below. This can be based on the criticality of the issue at hand and/or other relevant factors.

[ ] Immediately
[x] Within a week
[ ] When possible

Type of changes
Please select a relevant option:

[x] 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 not work as expected).
[ ] Other (any another change that does not fall in one of the above categories.)

Checklist:
Please select all applicable options:

[ ] I have signed the Rokwire Contributor License Agreement (CLA). (Any contributor who is not an employee of the University of Illinois whose official duties include contributing to the Rokwire software, or who is not paid by the Rokwire project, needs to sign the CLA before their contribution can be accepted.)
[x] I have updated the CHANGELOG.
[ ] I have read the Contributor Guidelines.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[ ] My change requires updating the documentation.
[ ] I have made necessary changes to the documentation.
[ ] I have added tests related to my changes.
[ ] My changes generate no new warnings.
[ ] New and existing unit tests pass locally with my changes.
[ ] Any dependent changes have been merged and published in downstream modules.

Clicking the "delete capability" or "delete talent" button somehow removes the "Add capaiblity" and "Add talent" divs as well. Need to check.

Try #capability_{{capability_num}}

Resolved by adding the same delete-capability and delete-talent functionality to edit page (already existing capability and talent).
Ready for review.

working on this. Converting to draft.

updated. ready for review.

This issue seems to be addressed. The "capability-clean-div" and "talent-clean-div" seem to get copied and duplicated as I click Add/Delete buttons. Otherwise, this seems to be working fine. Creating a follow-up task to remove the duplicate div elements might be good. It can be worked on later after UI changes. Thanks.

This issue seems to be addressed. The "capability-clean-div" and "talent-clean-div" seem to get copied and duplicated as I click Add/Delete buttons. Otherwise, this seems to be working fine. Creating a follow-up task to remove the duplicate div elements might be good. It can be worked on later after UI changes. Thanks.

Issue has been created for the removal of duplicate divs.


LVM support should specify that it is only supported for data disks and not for OS or root partitions.

The Matrix shows that LVM is supported but it should specify that this only works for data disks and for the OS root partition LVM is not supported as Azure only supports a single OS disk.

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

ID: c721f5ae-ece4-58ab-d00d-65856907c364
Version Independent ID: 7912f48e-25be-6efb-e770-c30404d84c58
Content: Support matrix for Hyper-V replication to Azure
Content Source: articles/site-recovery/hyper-v-azure-support-matrix.md
Service: site-recovery
GitHub Login: @rayne-wiselman
Microsoft Alias: raynew

@msLinuxNinja Thanks for the feedback! We are currently investigating and will update you shortly.

@msLinuxNinja Hi, where do you see a support statement that Azure only supports single OS disk?
Also, please submit changes in the private repo.

Fixed in https://docs.microsoft.com/en-us/azure/site-recovery/hyper-v-azure-support-matrix, https://docs.microsoft.com/en-us/azure/site-recovery/vmware-physical-azure-support-matrix
#please-close


rag-feature-branch

Imported Langchain promptTemplate and RunnablePassThrough APIs for user NLQ

Updated src/api.js to include sendMorpheusChat which can be triggered by /morpheus slash command in the chat. Agent requires Infura Key to make JSON RPC call... set env var process.env.INFURA_API_KEY

Updated src/client.js to include window.electronAPI.onMorpheusChatReply

Thanks @domsteil you rock.
However there are a few conflicts in the PR. Here is the list.
.gitignore
forge.config.js
package-lock.json
package.json
yarn.lock

@betterbrand want to take a crack at resolving these conflicts?

I'll go through em

Closing this PR for now. Please move over to the new Repo.


IAM and Route53 resources fail to Reconcile in non aws partitions

What happened?

In non-aws partitions (such as gov cloud and cn) iam and route53 resources fail to reconcile.
While using aws credentials the exception is InvalidClientTokenId: The security token included in the request is invalid.
While using pod-iam it is not able to find the OIDC provider.
How can we reproduce it?

Attempt to create any iam or route53 resource in gov cloud or cn or non-aws based partition.
What environment did it happen in?
Crossplane version:  0.17.0 (all)

The issue is that these clients have a global region hardcoded as aws-global which is only valid for the aws partition.
https://github.com/crossplane/provider-aws/blob/35d9474782ee0f85a3820ea8175e5d59c2c3e4b8/pkg/clients/aws.go#L59
I was able to successfully create iam resources in gov cloud by changing the GlobalRegion to aws-us-gov-global per the below.
aws partition
https://github.com/aws/aws-sdk-go-v2/blob/59774b18837c670a2c5327ae244c664459462697/codegen/smithy-aws-go-codegen/src/main/resources/software/amazon/smithy/aws/go/codegen/endpoints.json#L3048-L3062
gov partition
https://github.com/aws/aws-sdk-go-v2/blob/59774b18837c670a2c5327ae244c664459462697/codegen/smithy-aws-go-codegen/src/main/resources/software/amazon/smithy/aws/go/codegen/endpoints.json#L8103-L8120
Supported partitions according to the aws-sdk
const GlobalRegion = "aws-global"
const GlobalRegionGov = "aws-us-gov-global"
const GlobalRegionCn = "aws-cn-global"
const GlobalRegionIso = "aws-iso-global"
const GlobalRegionIsoB = "aws-iso-b-global"

@smcavallo Thanks for identifying this! Are credentials for non-aws-global global regions scoped only to their single global region? If so, this feels like a ProviderConfig setting.

@smcavallo Thanks for identifying this! Are credentials for non-aws-global global regions scoped only to their single global region? If so, this feels like a ProviderConfig setting.

Yes - if I'm understanding what you're asking - you can't share credentials or use role trust across aws partitions, and as such anything scoped for a global region would be limited to that single global region.  Ex. setting a global region to aws-us-gov-global would limit scope to aws-us-gov partition (and aws-us-gov-global)
Alternatively - if the actual region is passed through the aws sdk is smart enough to use the correct endpoint.
https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html
https://docs.aws.amazon.com/general/latest/gr/iam-service.html
I was able to verify that using a region of us-gov-west-1 in gov cloud works as expected, without needing to use the global region.  Ex. an actual (non-global) region could be configured at the ProviderConfig level

The issue is that these clients have a global region hardcoded as aws-global which is only valid for the aws partition.

Note that this constant is used only in IAM because it is region-less. In other resources, we use only the region parameter given in spec.

Note that this constant is used only in IAM because it is region-less. In other resources, we use only the region parameter given in spec.

Yes - 100%.  Though when provided with a regional endpoint the default endpoint resolvers should find the right endpoint to send requests to.  Ex. if you set a region of  us-east-1 the endpoint resolvers will make sure your request is sent to the right place.  There shouldn't be a need to hard-code/override the region to aws-global
This issue can be worked around when using some of the identity providers by setting an annotation, in which case the iam requests will be sent to https://iam.us-gov.amazonaws.com regardless of the region set in any of the configs since the custom resolver will override the default resolver and send the requests to that valid endpoint.
  annotations:
    aws.alpha.crossplane.io/endpointServiceID: iam
    aws.alpha.crossplane.io/endpointURL: https://iam.us-gov.amazonaws.com
    aws.alpha.crossplane.io/endpointSigningRegion: us-gov-west-1

The above workaround won't work when using pod-iam though.
https://github.com/crossplane/provider-aws/blob/master/pkg/clients/aws.go#L233-L234
because the sts request would still use the hard-coded global region.
The custom endpoint resolver is not set until after the sts request is made to retrieve credentials, which is why in non aws partitions it is unable to find the identity provider.

Could we add optional region fields to these types (despite that being a bit weird given that that they're "regionless"), that would default to aws-global? This seems like it would be in line with our current approach, where most resources have a spec.forProvider.region field.

@negz haha this is exactly what we have decided on in our DM before the community meeting.

@smcavallo  any chance to check if #1329 fixes your issue ? Is merged in master

With the PR mentioned above, what are the expectations for users in the non global partitions? Are users in non global partitions expected to use endpoint configuration for all of their ProviderConfig? With the PR, I can get IAM to reconcile correctly in China regions with IRSA but requires endpoint configuration like this:
apiVersion: aws.crossplane.io/v1beta1
kind: ProviderConfig
metadata:
  name: default
spec:
  assumeRole:
    roleARN: arn:aws-cn:iam::123456:role/crossplane-provider-aws
  credentials:
    source: InjectedIdentity
  endpoint:
    partitionId: aws-cn
    signingRegion: cn-north-1
    url:
      type: Dynamic
      dynamic:
        protocol: https
        host: amazonaws.com.cn

If users would like to managed IAM resources in non global partitions, are they expected to use a particular ProviderConfig with endpoint configuration? Or does it make sense to handle non global partitions in the provider?

New Implementation with #1364


Arabic Font representation Issues

I have a piece of code that assigns a font family for every TextSpan in a RichText widget as showed below :
 RichText(
                      text: TextSpan(
                        children: [
                          for (var singleChar in linePhrase)
                            TextSpan(
                              text: addTabOrNewLine(singleChar),
                              style: TextStyle(
                                fontFamily: singleChar.fontFamily,
                                fontWeight: FontWeight.bold,
                                fontSize: singleChar.size! * 1.5,
                              ),
                            )
                        ],
                      ),
                    ),

Expected results:
It should load Arabic text with custom glyphs like this  in Flutter 3.3.10 - stable:

Actual results:
However in Flutter version 3.7.1 - stable It doesn't load the glyphs as supposed :
Check the red colored word :

The fonts used in Arabic are `louts-shamy` and `LOTUS2007`

Running flutter doctor...
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.7.1, on macOS 13.1 22C65 darwin-arm64, locale en-EG)
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 14.1)
[✗] Chrome - develop for the web (Cannot find Chrome executable at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[✓] Android Studio (version 4.2)
[✓] IntelliJ IDEA Community Edition (version 2022.3.1)
[✓] VS Code (version 1.75.0)
[✓] Connected device (2 available)
[✓] HTTP Host Availability

Then I downgraded to 3.3.10 :
[✓] Flutter (Channel stable, 3.3.10, on macOS 13.1 22C65 darwin-arm, locale
    en-EG)
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 14.1)
[✗] Chrome - develop for the web (Cannot find Chrome executable at
    /Applications/Google Chrome.app/Contents/MacOS/Google Chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[✓] Android Studio (version 4.2)
[✓] IntelliJ IDEA Community Edition (version 2022.3.1)
[✓] VS Code (version 1.75.0)
[✓] Connected device (2 available)
[✓] HTTP Host Availability

Hello @MahmoudAshours. Thank you for filing this issue. Can you please provide the following information?

A complete and minimal, reproducible code sample. Ideally, a single main.dart file that can be run directly.

Please provide the information in the form of text. See how to make collapsible sections with Markdown here.

Hello @exaby73 , Yeah sure
A main.dart example :

Code

import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      title: 'Flutter Demo',
      home: MyHomePage(),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key});

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  final List<Map<String, dynamic>> arabicTextFamilyMap = [
    {
      "size": 12.0,
      "style": "normal",
      "weight": "300",
      "add_tab": false,
      "unicode": "ق",
      "fontname": "louts-shamy",
      "color_hex": "#e2001a",
      "is_new_line": false
    },
    {
      "size": 12.0,
      "style": "normal",
      "weight": "300",
      "add_tab": false,
      "unicode": "ُ",
      "fontname": "louts-shamy",
      "color_hex": "#e2001a",
      "is_new_line": false
    },
    {
      "size": 12.0,
      "style": "normal",
      "weight": "300",
      "add_tab": false,
      "unicode": "ن",
      "fontname": "louts-shamy",
      "color_hex": "#e2001a",
      "is_new_line": false
    },
    {
      "size": 12.0,
      "style": "normal",
      "weight": "300",
      "add_tab": false,
      "unicode": "ْ",
      "fontname": "louts-shamy",
      "color_hex": "#e2001a",
      "is_new_line": false
    },
    {
      "size": 12.0,
      "style": "normal",
      "weight": "300",
      "add_tab": false,
      "unicode": "ب",
      "fontname": "louts-shamy",
      "color_hex": "#e2001a",
      "is_new_line": false
    },
    {
      "size": 12.0,
      "style": "normal",
      "weight": "300",
      "add_tab": false,
      "unicode": "ُ",
      "fontname": "louts-shamy",
      "color_hex": "#e2001a",
      "is_new_line": false
    },
    {
      "size": 12.0,
      "style": "normal",
      "weight": "300",
      "add_tab": false,
      "unicode": "ل",
      "fontname": "louts-shamy",
      "color_hex": "#e2001a",
      "is_new_line": false
    },
    {
      "size": 12.0,
      "style": "normal",
      "weight": "300",
      "add_tab": false,
      "unicode": "َ",
      "fontname": "louts-shamy",
      "color_hex": "#e2001a",
      "is_new_line": false
    },
    {
      "size": 12.0,
      "style": "normal",
      "weight": "300",
      "add_tab": false,
      "unicode": "ا",
      "fontname": "louts-shamy",
      "color_hex": "#e2001a",
      "is_new_line": false
    },
    {
      "size": 12.0,
      "style": "normal",
      "weight": "300",
      "add_tab": false,
      "unicode": ".",
      "fontname": "louts-shamy",
      "color_hex": "#000000",
      "is_new_line": false
    },
    {
      "size": 12.0,
      "style": "normal",
      "weight": "300",
      "add_tab": false,
      "unicode": "",
      "fontname": "louts-shamy",
      "color_hex": "#e2001a",
      "is_new_line": false
    },
    {
      "size": 12.0,
      "style": "normal",
      "weight": "bold",
      "add_tab": false,
      "unicode": " ",
      "fontname": "louts-shamy",
      "color_hex": "#000000",
      "is_new_line": false
    }
  ];
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            RichText(
              text: TextSpan(
                children: [
                  for (final singleChar in arabicTextFamilyMap)
                    TextSpan(
                      text: singleChar['unicode'],
                      style: TextStyle(
                        color: Colors.black,
                        fontSize: 70,
                        fontFamily: singleChar['fontname'],
                        fontWeight: FontWeight.bold,
                      ),
                    )
                ],
              ),
            ),
          ],
        ),
      ),
    );
  }
}

Code explanation

Fetching unicodes from a map that has 2 main attributes unicode and fontname , These are arabic unicodes which are represented differently in both of flutter versions.

In order to download the required fonts it is uploaded on this github repo
I recreated the issue , the same sequence of unicodes are displayed differently with versions 3.3.10 and 3.7.1
Flutter 3.7.1 :

The correct representation Flutter 3.3.10 :

Is this reproducible with the default font used in Flutter or specific to the custom fonts you're using?

Hello @exaby73 , No it can't be reproduced with the default font in Flutter , It should run with Arabic custom fonts to load specified glyphs.

I have found this issue (https://github.com/flutter/flutter/issues/110875). Is this what you're experiencing?

The same output yes but different reasons , In the example I mentioned it doesn't occur when changing colors (both are black). Maybe assigning different textStyles -font families- make this issue?

Before I label the issue, can you confirm if this occurs on the master channel when using Skia, or Impeller or both? You can run the app on the master channel and enable Impeller by using flutter run --enable-impeller

I switched to master (Flutter 3.8.0-7.0.pre.24 • channel master  and It worked perfectly on both Skia and Impeller.

If that's the case, it looks like it is already fixed :) You may see it in the near future in a stable hotfix. But if this is a critical issue for you, you may request a cherry pick. Please read about the cherry pick process. Since it's already fixed, I will close this issue. Thank you


✨ Add tag and version verification

Add support for:

tag verification thru --tag option. This must be an exact match
versioned tag verification thru --versioned-tag. This uses semantic versioning matching on the tag. I've avoided --version because this may be used to report the version of our tool.

I separated the --tag and --versioned-tag because I wanted to make it explicit that there is versioning match.
Please advise if we should do it differently.
closes https://github.com/slsa-framework/slsa-verifier/issues/7

comments addressed, PTAL


Event cards showing up out of order

Event cards are showing up out of chronological order

Testing Notes
https://test-web.cdh.princeton.edu/events/

[x] Confirm that updated ordering looks as expected.
[x] Create a new event, ensure that it is sorted correctly in "upcoming events" section

dev notes
upcoming method on EventQuerySet needs the order_by specified because wagtail pages don't get default ordering. Should match the sort in the recent method.

order on the home page and upcoming events was fixed, but not individual months

confirmed correct sorting on test site


Discuss improvements to the release process

Current steps (some of which can be automated)

update package.json version number
update src/components/AppHeader/components/AppToolBar/index.js with version number
changelog

what's changed
version numbers
links to build artifacts

draft new release via GitHub
build the app
build Docker image, push to Docker Hub
formally release draft

Potential Changes to our day to day process:

Developers should update CHANGELOG.md when they put up a PR.  Then when a release is cut, someone manually cleans up the changelog.

What can we automate?

change source code to reflect new version (app header, package.json)

Let's move this over to the Teams discussions section and close out this issue.

Moved discussion to https://github.com/orgs/DecipherNow/teams/grey-matter-fabric-dashboard/discussions/3


This FORK repo seems to be working >

to save some time of others, as the current repo is abandoned, these repos (updated branches) seem to be up-to-date:
https://github.com/Trunkstar/oauth2-microsoft
https://github.com/lkallioniemi/oauth2-microsoft
https://github.com/nospi/oauth2-microsoft
or
i have added those 2 modified files from: https://github.com/oddhill/oauth2-microsoft/tree/support-org-mail/src/Provider
and example use:
               $provider = new Stevenmaguire\OAuth2\Client\Provider\Microsoft([
			'clientId'                  => 'xxx',
			'clientSecret'            => 'xxx',
			'redirectUri'             => 'xxx',
		]);

		if (isset($_GET['error'])) {
			var_dump($_REQUEST);
			exit;
		}
		if (!isset($_GET['code'])) {

			// If we don't have an authorization code then get one
			$options = [
				'state' => 'OPTIONAL_CUSTOM_CONFIGURED_STATE',
				'scope' => ['User.Read'] // array or string
			];

			$authUrl = $provider->getAuthorizationUrl($options);
			// $this->setcookie ('ms_oauth2state',  $provider->getState() );
			header('Location: ' . $authUrl);
			exit;
	      }
	      ....

Hi. Thanks, man.
I am struggling to make outlook oauth thing working for microsoft the same way it does with google, but I can't really wrap my head around all this tokens.
Can you hint me, on how to get the correct codes and where to put it?
I got client id and client secret from azure.
Now I need to convert it into refresh tokens for each of my users with outlook email that will give offline access to phpmailer.
I tired going with msal js lib for ms graph and got ms authorization popup window. But instead of authorization code msalClient.loginPopup returns idToken and accessToken. I tired adding 'offline_access' to request scopes, grant_type: 'authorization_code' and  response_mode:'form_post', but it changes basically nothing.
(Stevenmaguire\OAuth2\Client\Provider\Microsoft)->getAccessToken() function  gives "Bad request" exception.
Maybe I am doing something very wrong.
Thanks again.


Add underground layer info

The bestiary doesn't tell you what layers underground creatures are found on.

DF2014:Creature token - UNDERGROUND_DEPTH

token
type
arguments
description

UNDERGROUND_DEPTH
Creature
min depth, max depth
Depth that the creature appears underground. Numbers can be from 0 to 5. 0 is actually 'above ground' and can be used if the creature is to appear both above and below ground. Values from 1-3 are the respective cavern levels, 4 is the magma sea and 5 is the HFS. A single argument may be used instead of min and max. Demons use only 5:5; user-defined creatures with both this depth and [FLIER] will take part in the initial wave from the HFS alongside generated demons, but without [FLIER] they will only spawn from the map edges. Civilizations that can use underground plants or animals will only export (via the embark screen or caravans) things that are available at depth 1.


MGet and Get method didn't support alias index.

Use the index name instead of the alias name when using get method in Elasticsearch client.
Use Noop get instead of MGet because of the ids maybe in different indexes.
#2860

Coverage decreased (-0.01%) to 17.229% when pulling dfb7fec18500376c9c18d24f3283a7524df72630 on peng-yongsheng:fixed/2860 into dbb8bd8a7fcd6efb079bd530628bbb8a62266d52 on apache:master.

Coverage decreased (-0.01%) to 17.229% when pulling dfb7fec18500376c9c18d24f3283a7524df72630 on peng-yongsheng:fixed/2860 into dbb8bd8a7fcd6efb079bd530628bbb8a62266d52 on apache:master.


Alert Unit Test integration for certain Query Functions

I know certain query functions, ie. time() can be easily mocked in unit testing the alert rules within promtool. Others are not supported though. In my specific case, I am using predict_linear in an expression and would like to be able to write a unit test within the promtool suite. Now, this can be extended to some of the other query functions as well but I am not familiar with which ones have support or not.
So really asking for 2 big things:

Can the alerting unit test docs provide more info on unit tests for expressions utilizing query functions
Can the team look into adding support for unit testing all of the query functions (and if not explicitly state which ones can and cant be tested in the unit testing docs)

Here is the specific expression I am using if that provides any value:
node_filesystem_avail_bytes{fstype="nfs"} / node_filesystem_size_bytes{fstype="nfs"} - (predict_linear(node_filesystem_avail_bytes{fstype="nfs"}[12h], 604800) < 0) * 604800

Hello from the bug scrub!
The unit test framework allows you to inject any kind of time series with timestamps of your choice. You should be able to unittest your expressions without problems.
If you run into trouble doing it, use the community channels to find help.
Of course, PRs to improve the documentation are always welcome.
As this is not a bug in Prometheus, we are closing the issue.


Can't build python37.pytorchWithCuda with nix-build

Describe the bug
I tried to build pytorch with CUDA on my computer to find a way to patch #69424.
To Reproduce
Steps to reproduce the behavior:

git clone https://github.com/NixOS/nixpkgs
cd nixpkgs
nix-build --verbose -A python37Packages.pytorchWithCuda

Expected behavior
Pytorch should build the same way as if I did  nix-env -iA python37Packages.pytorchWithCuda, but instead I have:
...
-- Build files have been written to: /build/source/build
cmake: enabled parallel building
building
Executing setuptoolsBuildPhase
Traceback (most recent call last):
  File "nix_run_setup", line 8, in <module>
    exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))
  File "/nix/store/k0igqpz995nmxwf6piyd5jjpcc7gcnyc-python3-3.7.4/lib/python3.7/tokenize.py", line 447, in open
    buffer = _builtin_open(filename, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: 'setup.py'
builder for '/nix/store/fqbxsjmp0lh5760h6khabhzydsqi755b-python3.7-pytorch-1.0.0.drv' failed with exit code 1
error: build of '/nix/store/fqbxsjmp0lh5760h6khabhzydsqi755b-python3.7-pytorch-1.0.0.drv' failed

Additional context
I'm a noob here, sorry if this is just basic nixpkgs things that I'm doing wrong.
Metadata
❯ nix run nixpkgs.nix-info -c nix-info -m                                                                         ⏎
 - system: `"x86_64-linux"`
 - host os: `Linux 4.19.69, NixOS, 19.03.173426.541d9cce8af (Koi)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.2.2`
 - channels(arsleust): `"home-manager-19.03"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:

git bisect points to f7e28bf5d8181926e600a222cb70180519d09726 “Split buildPythonPackage into setup hooks” (#64997, rebased and merged in #68244) as the first bad commit. @FRidh any thoughts?


feat: Addition of sensor for the daily driving stats data.

Hello,
this PR adds a sensor containing the data stored in the daily_stats field of the Vehicle objects since currently these data are not accessible in Home Assistant. The data are contained in the attributes of the sensor - one attribute per day which is identified via a datetime.date object. The values of each day are stored in a dictionay with the same keys used by the hyundai_kia_connect_api. I think having such a sensor is very useful to further process the data by e.g. templates.
Best regards

Thanks for this!  It has a merge conflict from another pr that just came in.

@cdnninja The conflict is resolved.

For some reason when I try to merge it says it can't be rebased and merged.

@cdnninja I have just some basic knowledge about working with git, so I have no idea what causes this merge problem. Git tells me that there are no conflicts.
If you want I can delete this PR and the corresponding branch and recreate it from scratch from the current state of the master branch which should eliminate all merge problems.

I just squashed and merged it

very nice to get the daily driving stats now! thank you. How can we access the single trips to display for example as charts since they are all combined in Attributes? And how can those attributes be forwarded to influx? I know that is no UVO-specific question but maybe you had thoughts already why/how you added the daily trips as attributes

@gerosil
Accessing single trip information is currently not possible. That would require changes in the underlying API (https://github.com/Hyundai-Kia-Connect/hyundai_kia_connect_api) because at the moment only the daily summaries are retrieved there. The idea of this contribution was to expose data already present in the API to HA rather than adding new data.
The reason I decided to use the attributes to store the data is that this allows to easily store a variable amount of datasets. To include these data in HA in a more practical way (e.g. to display them or create statistics from them) I suggest to create template sensors to retrieve the data from the combined sensor.
The code to define a sensor for the daily consumed energy in the configuration.yaml would for example look like this:
template:
  - sensor:
      - name: IONIQ 5 Daily Energy Consumption
        unique_id: ioniq_5_daily_energy_consumption
        unit_of_measurement: Wh
        device_class: energy
        state_class: total_increasing
        state: >
          {% set attr = state_attr("sensor.ioniq_5_daily_driving_stats", now().date()) %}
          {{ 0 if attr == None else attr["total_consumed"]|int }}

@Triple-S
Great! I'll give it a try. Thx!

Thanks for this addition, it's really interesting.
Is the regenerated_energy really what we gained back through regenerative breaking?
How are the numbers working relative to one another? Let's take an example:
2023-11-14:
total_consumed: 10111
engine_consumption: 8758
climate_consumption: 663
onboard_electronics_consumption: 690
battery_care_consumption: 0
regenerated_energy: 10167
distance: 76

I have regained more energy (10167) than I have consumed (10111) over my 76km traveled that day? That can't be right, the battery % was definitely lower at the end of the day (from 90 to 75):

Or to the number means that I used 10111 AFTER regen braking? As in if the car did absolutely no regen braking, I would have used 20278Wh instead?
That's impressive regarless, it reduced the consumption 50%?

@Growiel I think the latter is the case, but I don't know for sure. The data included in this sensor are requested from the Bluelink API and then just passed through to Home Assistant. In the end only Hyundai can tell you exactly what these data are. I noticed that in my case the consumptions listed in the Bluelink App (and since this integration is using the exact same data also here) are about 10% lower that whats displayed in my car and I have no explanation for this.

@Growiel unfortunately, the data the API gives are suspect at best and verifiably useless at worst, so be careful relying on them for anything more than curiosity.
For instance: distance is straight-line between the starting and ending GPS fixes.  That makes calculating I.e. efficiency from this data impossible.
Similarly, I’ve found impossibility in samples of the other data too. For instance, I took a big trip up a mountain starting at a charger at 100% and finishing at 75%. Almost nothing was regenerated (as you’d expect driving uphill on cruise control without stopping) but the trip data said it consumed nearly 40kWh (over half the pack capacity).
I don’t pay any attention to this data anymore, unfortunately.


[Snyk] Upgrade @typescript-eslint/eslint-plugin from 7.1.1 to 7.4.0

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade @typescript-eslint/eslint-plugin from 7.1.1 to 7.4.0.
: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 41 versions ahead of your current version.
The recommended version was released 22 days ago, on 2024-03-25.

Release notes

Package name: @typescript-eslint/eslint-plugin

7.4.0 - 2024-03-257.4.0 (2024-03-25)
🚀 Features

eslint-plugin: [consistent-type-imports] ignore files with decorators, experimentalDecorators, and emitDecoratorMetadata (#8335)

Check out our blog post on this change for more information! https://typescript-eslint.io/blog/changes-to-consistent-type-imports-with-decorators

eslint-plugin: [no-unnecessary-type-arguments] handle tagged templates (#8708)
eslint-plugin: deprecate no-throw-literal and add a renamed only-throw-error (#8701)

🩹 Fixes

eslint-plugin: [prefer-optional-chain] address multipart nullish checks false positive (#8678)
eslint-plugin: [prefer-optional-chain] properly disambiguate between boolean and false (#8685)
eslint-plugin: [no-unnecessary-type-assertion] avoid remove const casting on template literals with expressions inside (#8740)
typescript-eslint: declare peer dependency on utils to ensure npm correctly installs dependencies (#8738)
website: visual Editor is not scrolled (#8709)
website: make 404 page good again (#8750)

❤  Thank You

Abraham Guo
Brad Zacher @ bradzacher
Josh Goldberg ✨
Kim Sang Du @ developer-bandi
Kirk Waiblinger @ kirkwaiblinger
Marco Pasqualetti @ marcalexiei
YeonJuan @ yeonjuan

You can read about our versioning strategy and releases on our website.

7.3.2-alpha.11 - 2024-03-25

7.3.2-alpha.10 - 2024-03-25

7.3.2-alpha.9 - 2024-03-25

7.3.2-alpha.8 - 2024-03-24

7.3.2-alpha.7 - 2024-03-24

7.3.2-alpha.6 - 2024-03-23

7.3.2-alpha.5 - 2024-03-23

7.3.2-alpha.4 - 2024-03-22

7.3.2-alpha.3 - 2024-03-21

7.3.2-alpha.2 - 2024-03-19

7.3.2-alpha.1 - 2024-03-19

7.3.2-alpha.0 - 2024-03-18

7.3.1 - 2024-03-187.3.1 (2024-03-18)
🩹 Fixes

eslint-plugin: [no-floating-promises] revert disable of ignoreVoid in strict config (#8718)

❤  Thank You

Josh Goldberg ✨

You can read about our versioning strategy and releases on our website.

7.3.1-alpha.1 - 2024-03-18

7.3.1-alpha.0 - 2024-03-18

7.3.0 - 2024-03-187.3.0 (2024-03-18)
Note that this release enables rules to have more restrictive default options as configured in the strict and strict-type-checked configs. See #8364 for more details.
🚀 Features

eslint-plugin: [restrict-template-expressions] add allowArray option (#8389)
eslint-plugin: add meta.docs.recommended setting for strict config options (#8364)
eslint-plugin: add rule use-unknown-in-catch-callback-variables (#8383)
eslint-plugin: [prefer-reduce-type-parameter] supports tuple, union, intersection (#8642)
eslint-plugin-internal: add internal lint rule no-relative-paths-to-internal-packages (#8596)
typescript-estree: disallow switch statements with multiple default cases (#8411)
utils: add parser name to thrown parser error message (#8484)

🩹 Fixes

correct engines.node constraints in package.json (#8671)
eslint-plugin: [unbound-method] check method definition in object literal using longhand form (#8637)
eslint-plugin: [consistent-type-imports] handle imports without specifiers (#8308)
eslint-plugin: [no-redundant-type-constituents] incorrectly marks & string as redundant (#8282)
eslint-plugin: [no-unnecessary-qualifier] handle merge namespace with enum (#8591)
eslint-plugin: [no-unused-expressions] false negatives when using assertions (#8668)
eslint-plugin: [ban-ts-comment] more accurate handling of multiline comments (#8416)
eslint-plugin: [explicit-function-return-type, explicit-module-boundary-types] improved checking for allowHigherOrderFunctions option (#8508)
eslint-plugin: [class-literal-property-style] ignore property assigned in constructor (#8412)
eslint-plugin: [no-unnecessary-type-assertion] fix false negative for const variable declarations (#8558)
typescript-estree: fix the issue of single run inferring in the pnpm repo (#3811, #8702)

❤  Thank You

Abraham Guo
Alexu
Arka Pratim Chaudhuri @ arka1002
auvred @ auvred
Derrick Isaacson
fnx @ DMartens
Josh Goldberg ✨
Kirk Waiblinger @ kirkwaiblinger
Marta Cardoso @ up201304504
Michaël De Boey
Tristan Rasmussen
YeonJuan @ yeonjuan

You can read about our versioning strategy and releases on our website.

7.2.1-alpha.5 - 2024-03-18

7.2.1-alpha.4 - 2024-03-18

7.2.1-alpha.3 - 2024-03-17

7.2.1-alpha.2 - 2024-03-16

7.2.1-alpha.1 - 2024-03-13

7.2.1-alpha.0 - 2024-03-12

7.2.0 - 2024-03-117.2.0 (2024-03-11)
🚀 Features

support TS 5.4 (#8630)
eslint-plugin: [prefer-string-starts-ends-with] add allowSingleElementEquality option (#8374)

🩹 Fixes

eslint-plugin: expose *-type-checked-only configs for extension (#8600)
eslint-plugin: [member-ordering] report alphabetical sorting for all groups instead of just the first failing group (#8263)
eslint-plugin: [no-var-requires, no-require-imports] support template literal (#8408)
eslint-plugin: [no-useless-template-literals] detect TemplateLiteral (#8575)
eslint-plugin: [no-unnecessary-condition] handle union array and tuple type (#8592)
eslint-plugin: [prefer-find] support ternary branches in prefer-find (#8421)
typescript-eslint: set sourceType: "module" in base shared config (#8622)
typescript-eslint: export ConfigWithExtends type (#8621)

❤  Thank You

Arka Pratim Chaudhuri @ arka1002
auvred @ auvred
Chris Plummer
Fotis Papadogeorgopoulos @ fpapado
Josh Goldberg ✨
Kirk Waiblinger @ kirkwaiblinger
Wayne Zhang
YeonJuan @ yeonjuan

You can read about our versioning strategy and releases on our website.

7.1.2-alpha.16 - 2024-03-11

7.1.2-alpha.15 - 2024-03-11

7.1.2-alpha.14 - 2024-03-11

7.1.2-alpha.13 - 2024-03-11

7.1.2-alpha.12 - 2024-03-10

7.1.2-alpha.11 - 2024-03-09

7.1.2-alpha.10 - 2024-03-09

7.1.2-alpha.9 - 2024-03-08

7.1.2-alpha.8 - 2024-03-08

7.1.2-alpha.7 - 2024-03-08

7.1.2-alpha.6 - 2024-03-08

7.1.2-alpha.5 - 2024-03-07

7.1.2-alpha.4 - 2024-03-07

7.1.2-alpha.3 - 2024-03-06

7.1.2-alpha.2 - 2024-03-06

7.1.2-alpha.1 - 2024-03-06

7.1.2-alpha.0 - 2024-03-05

7.1.1 - 2024-03-047.1.1 (2024-03-04)
🩹 Fixes

typescript-eslint: apply ignores to all extended configs passed to config helper function (#8567)

❤  Thank You

auvred @ auvred

You can read about our versioning strategy and releases on our website.

    from @typescript-eslint/eslint-plugin GitHub release notes

Commit messages

Package name: @typescript-eslint/eslint-plugin

5d24691 chore(release): publish 7.4.0
c2abdd4 chore: add missing prop on changelog renderer
029fc0b feat(eslint-plugin): deprecate no-throw-literal and add a renamed only-throw-error (#8701)
2a62a40 fix(eslint-plugin): [no-unnecessary-type-assertion] avoid remove const casting on template literals with expressions inside (#8740)
990ec22 docs: fix example of binding unbound method (#8754)
a08554a feat(eslint-plugin): [no-unnecessary-type-arguments] handle tagged templates (#8708)
2018f91 fix(eslint-plugin): [prefer-optional-chain] properly disambiguate between `boolean` and `false` (#8685)
56358a6 fix(eslint-plugin): [prefer-optional-chain] address multipart nullish checks false positive (#8678)
532ae8b docs: fix typo in switch-exhaustiveness-check (#8768)
e408b93 feat(eslint-plugin): [consistent-type-imports] ignore files with decorators, experimentalDecorators, and emitDecoratorMetadata (#8335)
c787fe4 docs: restrict-template-expressions - remove mention of numbers being allowed (#8734)
4132374 fix(website): make 404 page good again (#8750)
36ef65f chore(website): fix infinite rendering when hash changed (#8736)
ecae04f chore(deps): update dependency @ types/node to v20.11.29 (#8749)
d7247fe chore(deps): update dependency @ types/react to v18.2.67 (#8747)
59bbf41 fix(typescript-eslint): declare peer dependency on `utils` to ensure npm correctly installs dependencies (#8738)
4d6d0d5 chore(website): fix broken deprecated warning (#8725)
775497c fix(website): visual Editor is not scrolled (#8709)
ee6c684 chore(deps): update nx to v18.1.1 (#8716)
5995614 chore(release): publish 7.3.1
d78d98b fix(eslint-plugin): [no-floating-promises] revert disable of ignoreVoid in strict config (#8718)
4f44fbc chore(website): fix build break from {} for Docusaurus v3 (#8715)
3b3696a chore(website): disable internal/no-relative-paths-to-internal-packages rule (#8711)
4cf8ec7 chore(release): publish 7.3.0

Compare

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
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Closing this as it is very out of date and a new PR needs to be made with the newest version.


Create a /user/me route

Describe the problem you're trying to solve
There is no way for a user to identify self by its access_token.
Describe your solution
Propose a route /user/me that returns self.
Describe the task list

[x] Create the route

Accidently solved in #17


contacts might be logged in via multiple clients

once upon a time, there was a protocol with some behaviour and a good explanation how to deal with multiple computers logged into the same account... the concept of resources (the res in foo@bar/res) was born..
each resource has a priority, and dispatching should be done tp the one with highest priority...
but then, real world came into play: clients generate on reconnect random resources (and wish that you reuse the otr session), and clients and users do not adjust the priority appropriately (resulting in sending messages to the work computer on the weekend, while they should've gone to the mobile).
when I was young, I imagined that xmpp as specified in those regards can be used.. but unfortunately this is not the case: I had to implement 'resource_similar' to carry over the otr session; I also had to remove the invariant that I display only one line per buddy -- now buddies can be expanded and collapsed if there are multiple sessions... activating a specific session will talk with it (and has filtered messages only from that conversation); activating the general jid will merge the messages (and sending sends to foo@bar).
removing the invariant -- one active session -- cost quite some changes, but in the end, the code is more cleaned up now (and I can finally chat with those people on the weekends)...

I've the suspicion this fixes #51 #59 #64 (or at least modifies the code in question enormously)

please test and report regression.. I tested it myself a bit...

Great work, I'll be back with feedback.
Now that users can have several sessions, what do you think about introducing "longterm"/"offline" sessions allowing asynchronous messaging between offline users? It's a bit of a hack, but it's deeply frustrating to be unable to leave messages for offline users. Having a special session would allow clients to build consensus about the fact that keys are stored on disk (encrypted?), and could be implemented without too much hassle with the new layout. A jackline-only solution would be acceptable to me, personally, but I suspect that the wider OTR community would also appreciate a feature like this, especially if the spec could be written up clearly and concisely so we won't have to wait another ten years for an OTR spec that resolves this issue.
... Thoughts?

@cfcs thanks for raising this issue... this will be some major change: derived otr keys need to be saved somewhere -- it also reminds me much more of textsecure's ratchet and is sth to address at some point.


[2.6] Add a modal warning for admins who try to disable an auth provider

Backport needed of https://github.com/rancher/dashboard/issues/7525.

@sowmyav27 is this a critical backport? It could be a light lift but testing to ensure nothing else is broken may add time for both Dev & QA.

@gaktive This doesn't seem to have too many tests for QA unless some specific area is being fixed that will need test cases. Would appreciate if we can get some insight on regression areas from the UI Engineers. Also, this isnt a critical fix. A good to have feature in 2.6 line.

Verified on v2.6-head e8e0e07
Install rancher server and enabled azureAD auth
Disable azure AD auth as an admin user, verified the modal warning pops up before disabling the auth.


Can't work on kubernetes/minikube

# kubectl apply -f kafka-statefulsets/resources/cluster-volumes.yaml
persistentvolume "pv0001" created
persistentvolume "pv0002" created
persistentvolume "pv0003" created
persistentvolume "pv0004" created
Error from server (Invalid): PersistentVolume "pv0005" is invalid: spec.accessModes: Required value
Error from server (Invalid): PersistentVolume "pv0006" is invalid: spec.accessModes: Required value

after insert kafka-statefulsets/resources/cluster-volumes.yaml by editor
- apiVersion: v1
  kind: PersistentVolume
  metadata:
    name: pv0005
  spec:
    capacity:
      storage: 5Gi

accessModes:
- ReadWriteOnce
   persistentVolumeReclaimPolicy: Recycle
    hostPath:
      path: /tmp/pv0005
- apiVersion: v1
  kind: PersistentVolume
  metadata:
    name: pv0006
  spec:
    capacity:
      storage: 5Gi

accessModes:
- ReadWriteOnce
    persistentVolumeReclaimPolicy: Recycle
    hostPath:
      path: /tmp/pv0006

this yaml work fine.
but run kubectl apply -f kafka-statefulsets/resources/zookeeper.yaml
error: error converting YAML to JSON: yaml: line 34: did not find expected key
and I swap between name: clientport and containerPort: 2181
            - name: clientport
              containerPort: 2181
              protocol: TCP

The error was same ``error: error converting YAML to JSON: yaml: line 34: did not find expected key`
How to do the work?
Env:
# minikube version
minikube version: v0.22.3
# kubectl version
Client Version: version.Info{Major:"1", Minor:"8", GitVersion:"v1.8.0", GitCommit:"6e937839ac04a38cac63e6a7a306c5d035fe7b0a", GitTreeState:"clean", BuildDate:"2017-09-28T22:57:57Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"7", GitVersion:"v1.7.5", GitCommit:"17d7182a7ccbb167074be7a87f0a68bd00d58d97", GitTreeState:"clean", BuildDate:"2017-10-07T00:39:16Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"linux/amd64"}

I've fixed both issues:

https://github.com/EnMasseProject/barnabas/commit/d281eb9c2ec89d0db999ea77cd2298b707cc14d6
https://github.com/EnMasseProject/barnabas/commit/260d36511a284354b43a0ef9d81e66665b87bc71

@luksa
Thank you.


Implement better exception reporting.

Implement http://filp.github.io/whoops/demo/ for nice informative error reporting.

Worth taking a look:
https://github.com/brandonsavage/booboo

@stevewest @WanWizard what do you think about switching to booboo? It has been moved to the league and seems to be more decent AND more importantly actively developed.

If booboo is going to be better supported then I'd vote for switching to that.  understand that @WanWizard has already integrated whoops and styled it so it's his call.

It is not a problem, as I am working on the official import of the PrettyPageFormatter for booboo. So it won't be a big change.


Corrected "he" to "The"

@cinglis-msft

@Dansimp The PR that has been approved by the document author is ready to be merged. Thanks.


undefined function as prop

i pass two functions to my child component:
<TabHeader
key={tab.tabId}
tab={tab}
index={index}
activeTabIndex={activeTabIndex}
goToTabf={() => { this.goToTabf }}
closeTabf={() => { this.closeTabf }}
/>
and in the child component when i want to call this function:
<a onClick={function() { goToTabf(tab.tabId); }}
i get this error:
Uncaught TypeError: Cannot read property 'closeTabf' of undefined
is it possible that it is related to anchor tag or am i missing something?

Please direct specific React questions to StackOverflow.


Missing feed items

I created
https://rssfilter.sgn.space/api/v1/feed/90f03952f8cf4032b136b78cd5a83efd/https:/hnrss.org/frontpage for the feed https://hnrss.org/frontpage a few days ago. At first it wasn't including all of the items from the source feed and now there aren't any items at all from the past 2 days. I think I opened one or two links.
Thanks for the project!

Hi! You found a very interesting bug :-)
https://github.com/m0wer/rssfilter/blob/062ffc72efce0ce23d5edd7ba83e8e509220f301/backend/app/tasks.py#L102-L109
The parser code, just considers new articles to those whose URL is not already present in the database. This is a bad decision. For feeds like this one, which has very similar content to other HN feeds, it creates this weird behavior. And for other news aggregators it could cause some articles to only be present in one of many feeds.
Thanks for the bug report. I'll fix it and let you know.

It's working as expected now! https://rssfilter.sgn.space/api/v1/feed/90f03952f8cf4032b136b78cd5a83efd/https:/hnrss.org/frontpage
The order is just a bit weird due to old articles being added now, but will work normally from now on.
Once you mark ten articles as read, you'll start getting customized filtering. Then you will also be able to see a 2D representation of your read articles and their clusters: https://rssfilter.sgn.space/api/docs#/user/get_user_clusters_2d_v1_user_user__user_id__clusters_2d_get


$.datepicker._clearDate is broken

The way this addon overrides some parts of Datepicker is breaking $.datepicker._clearDate.
_clearDate calls _selectDate with an empty string. The overridden _selectDate calls _notifyChange while the original one does not, at least not directly.
_notifyChange checks if onChangeMonthYear is set. This defaults to null, but the addon overrides this with a function. Because of that, the field and altField are set again.
Is it possible to solve this in a reasonable way, or will some kind of workaround be required?

Cleanup day 😁


PhotinoWindow SetSize doesn't work

Steps to reproduce:

open https://github.com/tryphotino/photino.Blazor/tree/master/Samples/Photino.Blazor.Sample
add app.MainWindow.SetSize(800, 600); to Main in Program.cs
run in Windows, Linux, macOS

app.MainWindow.SetWidth(800); and app.MainWindow.SetHeight(600); also don't work.
In Windows, the size is 1500x1000, and in Linux the size is 100x100 which is very problematic.

@Jinjinov The window will open at the OS default windows size and position unless you call .SetUseOsDefaultSize(false) (or the similar call for window position).

Thank you!
I would suggest you add SetUseOsDefaultSize(false) to your class PhotinoBlazorApp in the Photino.Blazor project:
            WindowManager = Services.GetService<PhotinoWebViewManager>();

            MainWindow
                .SetTitle("Photino.Blazor App")
                .SetUseOsDefaultLocation(false)
                .SetWidth(1000)
                .SetHeight(900)
                .SetLeft(450)
                .SetTop(100);

            MainWindow.RegisterCustomSchemeHandler(PhotinoWebViewManager.BlazorAppScheme, HandleWebRequest);


[Priority: Medium] Incorrect Send Amount

The above send and receive transactions are actually one transaction, where I sent 0.1btc to myself. In this case the fee is not deducted from the receive. While in this case it's not a big problem, but such bug might cause other inconsistencies and issues.

@bokobza I tested it, the problem is still present. It's possible the submodule had not been updated yet and that's why the problem is still present.
Correction
It's actually not the receive amount what's incorrect, but the send amount.
So if the user wants to send 0.1btc, it'll send 0.1btc plus fees, but receive 0.1btc. So the send amount is the incorrect one, not the receive.

I moved this under UI label, because as @dev0tion you talked with @bokobza it is likely, because the fee is not added to the sending amount, but discarded by the UI.

Done in #271

@dev0tion Are you sure about it? It turned out to be an API bug, not an UI bug, I just forgot to update this issue. If so feel free to close the issue.

Yes mate, Jeremy fixed the API bug and I display it correctly in the UI.


Add ‘Term Package Design’ to navigation menu

 PW: Add Term to Navigation and Scheduling Package Design under Trends


chore(netlify): redirect reqs for all sub-paths through /

Fixes 404s when refreshing in non-root paths of the app

dammit wrong repo... :facepalm:


This repo needs tests

./tar.h:41:10: fatal error: 'sys/sysmacros.h' file not found
#include <sys/sysmacros.h>
         ^~~~~~~~~~~~~~~~~
1 error generated.
make: *** [tar.o] Error 1

@zwykl3 What system are you compiling on?

$ uname -a
Darwin dupa.local 18.6.0 Darwin Kernel Version 18.6.0: Thu Apr 25 23:16:27 PDT 2019; root:xnu-4903.261.4~2/RELEASE_X86_64 x86_64

on linux arm i compile lib bud exe have trouble
$./exec
Naruszenie ochrony pamięci
$uname
Linux jamajka 4.19.42+ #1219 Tue May 14 21:16:38 BST 2019 armv6l GNU/Linux

I am afraid I do not work with OSX very much, and do not have any machine with OSX on hand to compile on. Try removing the line #include <sys/sysmacros.h>. It seems that major and minor are defined in sys/types.h in OSX.
As for the segmentations fault, please provide a trace of the execution stack.