staxrip <IP_ADDRESS>; x265 option entered incorrectly into commandline (--level-idc)

staxrip <IP_ADDRESS>; x265 options / basic / level
selection of a value (ie. 4.1) enters into the command line as
--level-idc 4.1
which is incorrect according to http://x265.readthedocs.io/en/latest/cli.html#cmdoption-level-idc
and test encodings result with level-idc=0 (defaults to 0 when error encountered)
proper implementation entry drops the "."
--level-idc 41

the docs say float is fine:

The value is specified as a float or as an integer with the level times 10, for example level 5.1 is specified as “5.1” or “51”, and level 5.0 is specified as “5.0” or “50”.

my test encode is fine:

x265 [info]: Main 10 profile, Level-4.1 (High tier)

MediaInfo:
Codec profile            : Main 10@L4.1@High
Encoding settings        : ... / level-idc=41 / ...


seq2seq model with transformer

Hi
I am urgently looking for a sequence to sequence model with transformer with script to
finetuning and training, I appreciate telling me which of the implementations in this repo could do a sequence to sequence model?
thanks
Best regards
Julia

Are you looking for LSTM/RNN-based seq2seq architectures or Transformer-based architectures? This repository does not host any LSTM/RNN architectures.
You can find information on all our (transformer) models here, and examples using them here.

I am looking for transformer based, pretrained model, I am not sure which of  the implemented models in this repo I can use for seq2seq model? thanks for your help

The models hosted on this repo unfortunately probably cannot be used in a traditional sequence-to-sequence manner like translation (if that's what you have in mind).

yes, exactly, I am looking for such models, even gpt model cannot be used
for this purpose?
or gpt2 by conditioning?
Are you aware of clean implementation for seq2seq model with any of these
pretrained models hosted in your repo?
thanks.
On Thu, Aug 8, 2019 at 5:10 PM Lysandre Debut<EMAIL_ADDRESS>wrote:

The models hosted on this repo unfortunately probably cannot be used in a
traditional sequence-to-sequence manner like translation (if that's what
you have in mind).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/huggingface/pytorch-transformers/issues/988?email_source=notifications&email_token=AM3GZM7GUYVJHJ6YKKQK3PDQDQZM5A5CNFSM4IKIFMC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD335YCY#issuecomment-519560203,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AM3GZM2PJO6J63NC4DPTFW3QDQZM5ANCNFSM4IKIFMCQ
.

Hi @juliahane, maybe take a look at fairseq

Hi
Thanks, Do you mind also suggest me a good implementation with lstm for
seq2seq model, I need some implementation with high quality of decoding,
thanks.
On Thu, Aug 8, 2019 at 6:52 PM Julien Chaumond<EMAIL_ADDRESS>wrote:

Hi @juliahane https://github.com/juliahane, maybe take a look at fairseq
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/huggingface/pytorch-transformers/issues/988?email_source=notifications&email_token=AM3GZMZG265MHPY53WI2HNTQDRFLDA5CNFSM4IKIFMC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD34HSYQ#issuecomment-519600482,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AM3GZMYF5YYWWJMDVOXH3LTQDRFLDANCNFSM4IKIFMCQ
.

Hi
I found FairSeq implementation not really clean and modular code. Are you
aware of more work which extend BERT, GPT, ... to a language model with
decoder?
thanks
Julia
On Thu, Aug 8, 2019 at 9:07 PM julia hane<EMAIL_ADDRESS>wrote:

Hi
Thanks, Do you mind also suggest me a good implementation with lstm for
seq2seq model, I need some implementation with high quality of decoding,
thanks.
On Thu, Aug 8, 2019 at 6:52 PM Julien Chaumond<EMAIL_ADDRESS>wrote:

Hi @juliahane https://github.com/juliahane, maybe take a look at
fairseq
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/huggingface/pytorch-transformers/issues/988?email_source=notifications&email_token=AM3GZMZG265MHPY53WI2HNTQDRFLDA5CNFSM4IKIFMC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD34HSYQ#issuecomment-519600482,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AM3GZMYF5YYWWJMDVOXH3LTQDRFLDANCNFSM4IKIFMCQ
.

Then you should have a look at the "Cross-lingual Language Model Pretraining" from Lample and Conneau: https://arxiv.org/abs/1901.07291
Implementation of supervised and unsupervised NMT can be found here: https://github.com/facebookresearch/XLM#iii-applications-supervised--unsupervised-mt :)

Hi
thanks a lot. I was wondering if you could also suggest me a good
implementation for seq2seq with LSTMs in pytorch with good accuracy.
I have a deadline and I cannot find any, I really appreciate your help.
thanks
Julia
On Thu, Aug 8, 2019 at 11:41 PM Stefan Schweter<EMAIL_ADDRESS>wrote:

Then you should have a look at the "Cross-lingual Language Model
Pretraining" from Lample and Conneau: https://arxiv.org/abs/1901.07291
Implementation of supervised and unsupervised NMT can be found here:
https://github.com/facebookresearch/XLM#iii-applications-supervised--unsupervised-mt
:)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/huggingface/pytorch-transformers/issues/988?email_source=notifications&email_token=AM3GZM3URUZ6GWYI7A4WPFTQDSHKBA5CNFSM4IKIFMC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD347NXQ#issuecomment-519698142,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AM3GZM2PRHPLQBS7XBGCUBLQDSHKBANCNFSM4IKIFMCQ
.

Hey Julia, without a specific task in mind I can't think of anything relevant, but browsing paperswithcode.com with a seq2seq search yields quite a few interesting results.

Hi
My task is a autoencoding text. So encoding and decoding it in one
language. Thanks
On Wed, Aug 14, 2019, 5:18 PM Lysandre Debut<EMAIL_ADDRESS>wrote:

Hey Julia, without a specific task in mind I can't think of anything
relevant, but browsing paperswithcode.com with a seq2seq search
https://paperswithcode.com/search?q_meta=&q=seq2seq yields quite a few
interesting results.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/huggingface/pytorch-transformers/issues/988?email_source=notifications&email_token=AM3GZMZ3PDZUSW7QWNQV3CDQEQO2XA5CNFSM4IKIFMC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4JEKTA#issuecomment-521291084,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AM3GZM62USCZO4Z5UGUTOBTQEQO2XANCNFSM4IKIFMCQ
.

I was wondering if you could tell me which of these are a fast sequence to
sequence implementation,
this is really hard for me to figure out which one to use. thanks
On Wed, Aug 14, 2019 at 5:19 PM julia hane<EMAIL_ADDRESS>wrote:

Hi
My task is a autoencoding text. So encoding and decoding it in one
language. Thanks
On Wed, Aug 14, 2019, 5:18 PM Lysandre Debut<EMAIL_ADDRESS>wrote:

Hey Julia, without a specific task in mind I can't think of anything
relevant, but browsing paperswithcode.com with a seq2seq search
https://paperswithcode.com/search?q_meta=&q=seq2seq yields quite a few
interesting results.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/huggingface/pytorch-transformers/issues/988?email_source=notifications&email_token=AM3GZMZ3PDZUSW7QWNQV3CDQEQO2XA5CNFSM4IKIFMC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4JEKTA#issuecomment-521291084,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AM3GZM62USCZO4Z5UGUTOBTQEQO2XANCNFSM4IKIFMCQ
.

I did checked this implementations you sent me, I honestly cannot find a
single good seq2seq one with lstm, and I really appreciate your help
On Wed, Aug 14, 2019 at 5:39 PM julia hane<EMAIL_ADDRESS>wrote:

I was wondering if you could tell me which of these are a fast sequence to
sequence implementation,
this is really hard for me to figure out which one to use. thanks
On Wed, Aug 14, 2019 at 5:19 PM julia hane<EMAIL_ADDRESS>wrote:

Hi
My task is a autoencoding text. So encoding and decoding it in one
language. Thanks
On Wed, Aug 14, 2019, 5:18 PM Lysandre Debut<EMAIL_ADDRESS>wrote:

Hey Julia, without a specific task in mind I can't think of anything
relevant, but browsing paperswithcode.com with a seq2seq search
https://paperswithcode.com/search?q_meta=&q=seq2seq yields quite a
few interesting results.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/huggingface/pytorch-transformers/issues/988?email_source=notifications&email_token=AM3GZMZ3PDZUSW7QWNQV3CDQEQO2XA5CNFSM4IKIFMC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4JEKTA#issuecomment-521291084,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AM3GZM62USCZO4Z5UGUTOBTQEQO2XANCNFSM4IKIFMCQ
.

@juliahane fairseq has an example of how to use a LSTM (encoder & decoder) for a seq2seq model:
https://fairseq.readthedocs.io/en/latest/tutorial_simple_lstm.html
Additionally, you could also check out Joey NMT, which has a very nice and clear codebase:
https://github.com/joeynmt/joeynmt

Hi
Thanks, Fairseq to me is not following a good coding practice although
Facebook has published it,
but the second one looks much better, thank you.
I was wondering if you could tell me if torchtext is faster than using
dataloader in pytorch for seq2seq applications?
I wonder how torchtext impact the speed and if  this is really better than
dataloader
thanks
On Fri, Aug 16, 2019 at 1:42 PM Stefan Schweter<EMAIL_ADDRESS>wrote:

@juliahane https://github.com/juliahane fairseq has an example of how
to use a LSTM (encoder & decoder) for a seq2seq model:
https://fairseq.readthedocs.io/en/latest/tutorial_simple_lstm.html
Additionally, you could also check out Joey NMT, which has a very nice and
clear codebase:
https://github.com/joeynmt/joeynmt
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/huggingface/pytorch-transformers/issues/988?email_source=notifications&email_token=AM3GZMZGVNRAT6FJLOEZAB3QE2HB3A5CNFSM4IKIFMC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4OMY7A#issuecomment-521981052,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AM3GZM3YNYMZ32LXZCCPSA3QE2HB3ANCNFSM4IKIFMCQ
.

Merging with #1506


/project_stats sometimes not displaying correctly to admins

If you first view /project_stats without logging in, log in as an admin, and then view it again, something odd sometimes happens to the charts.
In the admin view you still see the first chart as "All projects", but the actual chart has the 4 columns "projects created since day before", "projects created average over 7 days", "projects updated since day before", and "projects updated average over 7 days" with those 4 bar chart entries.

The caches have different keys "project_stats" vs "project_stats_admin", so this should not happen.  I guess we could try giving the caches different key names.

Fixed.  Now if you request "/en/project_stats?type=uncommon" you get the uncommon graphs, otherwise you get the normal set.  Since we display fewer graphs at one time, we also reduce maximum memory use for any specific request.


Maven Aggregate - Add Module to Report

Currently the Maven aggregate report does not show which module(s) include the identified dependency. A section should be added to display this. Also, if possible indicate whether it is a transitive dependency.

+1 I was coming here to add this enhancement request and you already created it :)

The code that resolves this issue has been pushed to the 1.2.9-SNAPSHOT and will be included in the upcoming release.


feat!: Add Capability::Unselect

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.009%) to 93.39%

Totals

Change from base Build<PHONE_NUMBER>:
-0.009%

Covered Lines:
9113

Relevant Lines:
9758

💛  - Coveralls


close r.Body, remove network metrics, updated other sections as needed

Addresses https://github.com/influxdb/telegraf/issues/430 and https://github.com/influxdb/telegraf/issues/452

awesome, thanks @jipperinbham

closed by https://github.com/influxdb/telegraf/commit/97ebcc2af17453b384941dee5c9bd2c6aebd10ee


Run rosdep with robot_compile script

The robot_compile script could run a rosdep update (if internet is available) between the code sync and compile step. This should run by default, but can be disabled via an argument.
Is your feature request related to a problem? Please describe.
Since we now use rosdep, we should frequently update our dependencies. Especially, if we add new ones.
Describe the solution you'd like

Describe alternatives you've considered

Closed with #185


Move data export to top left.

currently Webcharts looks for the export nodes within the table.wrap so relocating the nodes outside of the Webcharts container breaks things.  We could either leave the exports at the bottom or recreate them in the top left.

@samussiah, looks like you decided to leave the export buttons at the bottom for now unless I'm looking at an old version.
Is that correct?

Yeah, it's gonna take a little bit more work to move it to the top left because of how Webcharts attaches the data to the button.  Maybe v1.1.

Duplicate of #43


Zoom In / Out LUA Event

Describe your problem here.
I've been wanting to make a zoom in/zoom out LUA event feature, but I'm new and don't know how. Can anybody help?
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
yeah, couple events, 1 song with it's week, a background and a character with icons.

well
I made an event for my mod that changes the defaultCamZoom value
it goes like this
function onEvent(n, v1)
	if n == "zoomy" then
		setProperty('defaultCamZoom', v1)
	end
end

But I am not sure if you want the zoom to instantly zoom in or if you want to use a tween to zoom in


Add pgweb

Hi there,
I just stumbled upon pgweb [1,2] by @sosedoff and contributors. It would be nice to add it to the list of supported tools if it works flawlessly with CrateDB.
With kind regards,
Andreas.
[1] https://sosedoff.github.io/pgweb/
[2] https://github.com/sosedoff/pgweb

Added to the backlog file.


Simplify keys read path

This PR aims to simplify the read path by:

merging the query for {List, Count}Current with {List, Count}. The count query might have a slight increase in latency, but not important enough to care
solving a potential (and rare) concurrency bug for the List query: the revision was fetched after the list, so we might have returned the wrong version for the list
removing the logic to support mysql and postgres parameter naming
removing the customization hooks for other dialects

Single Node

Three Node
Three Node
CPU

IO reads

IO writes

Memory


I changed the heading size of the  article. The first heading went fr…

…om 2 to 1. The other subheadings went from Heading 5 to 3.

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Closed and Reopened this PR in an attempt to attempt to break out of the Travis build pending status.


Duration elapsed

Adding the code that I've written so far for SchedulerController plus some changes to xmlConverterService and LiveService

Coverage decreased (-0.1%) to 29.818% when pulling 7a975e8dc790569d1cc9a78ae82cce5a1de1d0dc on durationElapsed into 1760d44dee7c8c225eb6ad97d99558c0198dbe79 on development.

Coverage increased (+0.7%) to 28.328% when pulling c0139680d7b811cdd544318c6ff2b2b329d0388e on durationElapsed into 5276bab475dd1a94118bd4044a04e8b1c167822f on development.


Password Reset multiple fixes

Hi,
Here a few fixes for the Password Reset feature:

The reset password feature is not working because of the end-state end definition:

[org.springframework.webflow.engine.NoMatchingTransitionException: No transition found on occurence of event 'end' in state 'pswdResetSubflow' of flow 'login' -- valid transitional criteria are array<TransitionCriteria>[pswdResetComplete] -- likely programmer error, check the set of TransitionCriteria for this state] due to a type mismatch with handler [[FlowHandlerMapping.DefaultFlowHandler@42dfa863]]

Fixed by removing it, it does not seems to be used anywhere.

Even when you remove the end-state "end",  the reset password page is always redirecting to the login page and you can't change the password.

Fixed by moving the definitions to the pswdreset-webflow.xml file.

When you're using the password reset link received by Mail or SMS when you're already connected, you'll have a 500 error and you cannot reset the password.

Fixed by adding the renew parameter to the link.

When the Password Management Auto Login feature is disabled an the allowMissingServiceParameter is disabled, the casPasswordUpdateSuccessView does have a "Log in" button which does not working because the user is not authorised to use it.

Fixed by removing the "Login Button" when Auto-Login is disabled an the allowMissingServerParameter also.
I'll open another PR for the 6.2 branch which is affected by the last two bugs.
Let me know if you need any further information.
Regards,
Julien

Fixed by moving the definitions to the pswdreset-webflow.xml file.

This is not correct. All defnitions should be done using the correct configurer. That's what you should look into and figure out why it's not working as intended.

Also, if possible, please break down each individual fix into a separate PR so they can be easily tracked, merged and possibly cherry-picked.

Fixed by moving the definitions to the pswdreset-webflow.xml file.

This is not correct. All defnitions should be done using the correct configurer. That's what you should look into and figure out why it's not working as intended.

According to my tests the issue seems to be here:
val verifyRequest = createActionState(pswdFlow, "verifyPasswordResetRequest", "verifyPasswordResetRequestAction");
        createTransitionForState(verifyRequest, CasWebflowConstants.TRANSITION_ID_SUCCESS, "getSecurityQuestionsView");
        createTransitionForState(verifyRequest, CasWebflowConstants.TRANSITION_ID_ERROR, "passwordResetErrorView");
        createTransitionForState(verifyRequest, "questionsDisabled", "initPasswordReset");

But I don't see any difference with the xml definition:
<action-state id="verifyPasswordResetRequest">
        <evaluate expression="verifyPasswordResetRequestAction"/>
        <transition on="success" to="getSecurityQuestionsView" />
        <transition on="error" to="passwordResetErrorView" />
        <transition on="questionsDisabled" to="initPasswordReset" />
    </action-state>

Could you at last tell me why you moved them out of the xml here ?
The description doesn't help me much to understand. Lot of other flow use the xml file but not this one.

All webflow auto-configuration attempts should be done using configurer components. This should be done everywhere, and if there is anything missing or left out, they will be converted over eventually. If you find areas that use XML for webflow configuration, please point them out.

This doesn't help me much but well i'll try to spend several more hours to understand and fix.


renderRightButton with component inside with onpress to other page makes an error

After update to RN 0.56 when I try to go to other page with a button on the menu i get an error.
this is the code that has not been changed since the update.
should I write that I updated react-native elements recently.
this is the code:
renderRightButton={() =>
<View style={{ paddingRight: 20 }}>

}
This worked before

The error is not from this component.


Replace truncating add and sub with addw/subw

Replaces old VerilogWrap which didn't work with split expressions and was
actually buggy anyway. This functionality reduces unnecessary intermediates in
emitted Verilog.

I know you already approved, but I added some more ScalaDoc. I stuck with onExpr and onStmt instead of apply because you can't overload functions with multiple argument lists :(. I'm not sure what more specific name I should give them given the name of the object.
I know you already approved, but feel free to take another look at the documentation changes.


Merge pull request #1131 from realm/fix-win-paths

fix-win-paths
(cherry picked from commit 32db03bc7af1d0a28945687c8da9abd80d3b73a0)
fixed in master here https://github.com/realm/realm-object-store/pull/1131

are we just merging cherry picks  of approved changes?


Disable _round_primal_to_bounds

Rounding primals requires a more accurate tolerance threshold and should already be handled
by the solver

Addresses #106

Codecov Report

Merging #107 into devel will increase coverage by 0.09%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           devel     #107      +/-   ##
=========================================
+ Coverage   89.4%   89.49%   +0.09%
=========================================
  Files          8        8
  Lines       2434     2419      -15
  Branches     544      538       -6
=========================================
- Hits        2176     2165      -11
+ Misses       160      158       -2
+ Partials      98       96       -2

Impacted Files
Coverage Δ

optlang/cplex_interface.py
90.97% <ø> (-0.05%)
:arrow_down:

optlang/glpk_interface.py
86.66% <ø> (-0.06%)
:arrow_down:

optlang/interface.py
90.67% <100%> (+0.44%)
: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 aab6f90...8338f24. Read the comment docs.


Bug avoid missing eos make rf process meet error

What problem does this PR solve?
a instance may closed early coz sink is finished, then this instance will missing eos.
shared hash table join build sink will copy rf from other instance when sink meet eos, then use those rf on close() method.
for avoid rf process meet error,  this pr move copy rf logic to close() method.

Release note
None
Check List (For Author)

Test

[ ] Regression test
[ ] Unit Test
[ ] Manual test (add detailed scripts or steps below)
[ ] No need to test or manual test. Explain why:

[ ] This is a refactor/code format and no logic has been changed.
[ ] Previous test can cover this change.
[ ] No code files have been changed.
[ ] Other reason

Behavior changed:

[ ] No.
[ ] Yes.

Does this need documentation?

[ ] No.
[ ] Yes.

Check List (For Reviewer who merge this PR)

[ ] Confirm the release note
[ ] Confirm test cases
[ ] Confirm document
[ ] Add branch pick label

run buildall

run buildall

run buildall


lint startSNP

Minor changes to syntax. Should not be merged until @smanel is okay with the changes.

@smanel, Are you okay with the changes I made?


Xamarin.Android in .Net API Browser isn't actual

Link to article: https://docs.microsoft.com/pl-pl/dotnet/api/?view=xamarinandroid-7.1
Version 8.0 is already available for devs, but there's no documentation for it.

Answered in https://github.com/MicrosoftDocs/xamarin-docs/issues/726

@ticotaco72 Since the issue is answered. I will close it here.


Should this $id test exist?

Should this test exist? https://github.com/json-schema-org/JSON-Schema-Test-Suite/blob/master/tests/draft6/ref.json#L412-L437?
{
  "allOf": [{
    "$ref": "http://localhost:1234/bar#foo"
  }],
  "definitions": {
    "A": {
      "$id": "http://localhost:1234/bar#foo",
      "type": "integer"
    }
  }
}

In draft-06 it's not forbidden for an non-fragment-only $id to have a fragment, but it's also not clear what a fragment in a non-fragment-only $id means. The test passes in my implementation because I interpret this,
{
  "$id": "http://localhost:1234/bar#foo"
}

to be mean this (if this were valid JSON),
{
  "$id": "http://localhost:1234/bar",
  "$id": "#foo"
}

It's not useful in any way other than it allows a $ref like the one in this test to resolve without error, but it only works because of the unofficial behavior I gave something that was undefined in the spec.

my implementation behaves similar to yours - that seemed like the most consistent way to treat an $id like that. but this behavior does seem certainly unspecified¹, and I think is not a thing that ought to be in the test suite. we've talked before about testing behavior against schemas with unspecified (or pathological) behavior, and I think a test like this would fit into there.
¹: Draft 6 Core, section 9.2: The "$id" keyword contains this: [[CREF2: How should an "$id" URI reference containing a fragement with other components be interpreted?  There are two cases: when the other components match the current base URI and when they change the base URI.  ]]

but this behavior does seem certainly unspecified, and I think is not a thing that ought to be in the test suite

Agreed. If it's unclear, it shouldn't be tested for either success or failure.
(My implementation wouldn't allow this construct, because behaviour that is ambiguous in one version but then later clarified in a later version generally uses the clarified behaviour across all versions. But that's an implementation decision simply to make supporting earlier versions easier; I could have just as well gone the other way as you have and it would be as equally "valid".)

I'll open a PR to remove it.


resolve url doesn't work alone with include css

Hello,
I try to merge app css file with bower plugins.
Here is my config code:
stylus:
	compile:
		options:
			compress: false
			"resolve url": true
			"include css": true
			paths:[
				"dev"
			]
			import: [
				"../html/assets/bower/Justified-Gallery/dist/css/justifiedGallery.css"
				"../html/assets/bower/fotorama/fotorama.css"
			]
		files:
			"html/assets/app.css" : ["dev/app.styl"]

And here is the part of the app.styl
@import "../html/assets/bower/Justified-Gallery/dist/css/justifiedGallery.css"
@import "../html/assets/bower/fotorama/fotorama.css"

In app.css I can see imported css code, but urls aren't changed

+1


Glob errors in console

Open Visual Studio Code
Bring up the command palette (press F1)
Type CSharp: Report an issue

If the CSharp: Report an issue command doesn't appear, make sure that you have C# extension version 1.17.0 or newer installed.
^^^ This command does not appear, I am running 1.18.0-beta7
Environment data
dotnet --info output
.NET Core SDK (reflecting any global.json):
 Version:   2.2.104
 Commit:    73f036d4ac

Runtime Environment:
 OS Name:     Mac OS X
 OS Version:  10.14
 OS Platform: Darwin
 RID:         osx.10.14-x64
 Base Path:   /usr/local/share/dotnet/sdk/2.2.104/

Host (useful for support):
  Version: 2.2.2
  Commit:  a4fd7b2c84

.NET Core SDKs installed:
  2.1.202 [/usr/local/share/dotnet/sdk]
  2.1.302 [/usr/local/share/dotnet/sdk]
  2.1.400 [/usr/local/share/dotnet/sdk]
  2.1.401 [/usr/local/share/dotnet/sdk]
  2.1.402 [/usr/local/share/dotnet/sdk]
  2.1.403 [/usr/local/share/dotnet/sdk]
  2.1.500 [/usr/local/share/dotnet/sdk]
  2.2.100 [/usr/local/share/dotnet/sdk]
  2.2.101 [/usr/local/share/dotnet/sdk]
  2.2.103 [/usr/local/share/dotnet/sdk]
  2.2.104 [/usr/local/share/dotnet/sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.All 2.1.2 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.1.3 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.1.4 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.1.5 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.1.6 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.2.0 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.2.1 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.2.2 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.App 2.1.2 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.1.3 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.1.4 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.1.5 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.1.6 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.2.0 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.2.1 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.2.2 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 2.0.9 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.2 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.3 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.4 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.5 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.6 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.2.0 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.2.1 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.2.2 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]

To install additional .NET Core runtimes or SDKs:
  https://aka.ms/dotnet-download

VS Code version:
1.32.0-insider
2e4d4a6bb16a65303b460795fa4ac734f9aea43e
x64
C# Extension version:
1.18.0-beta7
Steps to reproduce
Launch VS Code (Insiders)
Expected  behavior
No errors in Developer Console
Actual behavior
Errors in Developer Console:
console.ts:134 [IPC Library: Search] command failed with error code 2: error parsing glob '/*.csproj, *.sln, *.csx, *.cake, **/*.csproj, **/*.sln, **/*.csx, **/*.cake': invalid use of **; must be one path component
console.ts:134 [Extension Host] Error: command failed with error code 2: error parsing glob '/*.csproj, *.sln, *.csx, *.cake, **/*.csproj, **/*.sln, **/*.csx, **/*.cake': invalid use of **; must be one path component

    at Object.t.deserializeSearchError (file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:3819:70)
    at Promise.all.then.t (file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:4476:372)
    at process._tickCallback (internal/process/next_tick.js:68:7) (at S.<anonymous> (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:687:920))

Cannot reproduce with current release.


fix: revert npm version in package-lock

Codecov Report

Merging #55 (a1e1f20) into master (b3a0426) will decrease coverage by 0.05%.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##           master      #55      +/-   ##
==========================================
- Coverage   88.12%   88.08%   -0.05%
==========================================
  Files          31       31
  Lines         817      814       -3
  Branches      116      115       -1
==========================================
- Hits          720      717       -3
  Misses         17       17
  Partials       80       80

Flag
Coverage Δ

unittests
88.08% <ø> (-0.05%)
:arrow_down:

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

Impacted Files
Coverage Δ

src/components/AnxAlert/AnxAlert.vue
87.50% <0.00%> (-0.60%)
:arrow_down:

src/components/AnxModal/AnxModal.vue
85.71% <0.00%> (-0.50%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Trigger tooltip from outside/global

In my project, I have several elements that will show tooltip when hover over using react-tooltip.
I am also working on creating an input field such that after I type in the relevant item into the input field, it will trigger the tooltip from the particular element without hovering on that element specifically
I have gone through the documentation and have not seen something that is workable.
Or did I miss it?

You can use the .Show() and .Hide() methods to trigger the tooltip externally. I don't think we have anything on our example page - it would be a great addition.

I have the same requirement.  What I really want is a "show" attribute on  that I can set to "true" or "false" as needed.
I have a textarea with the data-tooltip and data-for attributes and an "onKeyDown" event handler.  I have tried calling ".Show()" in the onKeyDown handler but it doesn't work, perhaps because the  is not yet rendered....?
Maybe I need to call ".Show()" from a componentDidUpdate() method?

Doing the .Show() from a componentDidUpdate method works.  Apparently there is an undocumented interaction between the React lifecycle and the .Show() method.


Add distinctValues

So that RpcObservables don't fire again when the value didn't change.

Pull Request Test Coverage Report for Build 99

13 of 13 (100.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.5%) to 46.301%

Totals

Change from base Build 97:
0.5%

Covered Lines:
810

Relevant Lines:
1749

💛  - Coveralls


"dmg" command has no effect

This happens after the game's latest patch (ashlands).

This is now fixed.


Script Taskpane - dynamic font size

Calc font size based on current height & width of user control. Resize on event as well as drop-down in toolbar. 2 options "fit" and reference current font size in sheet.

no longer needed


add dayRate back to init

api (https://github.com/AusDTO/dto-digitalmarketplace-api/pull/415/commits/3b75b05188de4a0e92279cc9d0472244701241ad) needs to be released first before this one

i'll try that next time


Explore future of mholt/archiver

Describe what should be investigated or refactored
We are currently using a mix of stdliib tar and https://github.com/mholt/archiver to manage tar archives. The archiver lib has a lot of good features to partially unpack tar files. The latest release of the lib was made in November 2021 with work for a new major release still in progress.
There are a couple of small bugs that we have found in mholt/archiver when run on Windows. Considering the lack of releases we should consider the future of using the lib, and consider if we should only use the stdlib or some other lib.

archiver has now been archived and replaced by archives
https://github.com/mholt/archives

Before migrating to archives, we should consider how much we actually rely on from that library, vs what we can achieve from the golang built-in one.


Bug Report: "NotFound" Error When Running cargo leptos serve on Workspace Example

Describe the bug
When running cargo leptos serve and opening the browser at localhost:3000, the following error is encountered:
Errors: [
    NotFound,
]

This error is printed in error_template.rs, line 45, and it is unclear why this error appears.
Leptos Dependencies
leptos = { version = "0.6.14" }
leptos_meta = { version = "0.6.14" }
leptos_router = { version = "0.6.14" }
leptos_axum = { version = "0.6.14" }

To Reproduce
Steps to reproduce the behavior:

Clone the repository from leptos-playground.
Ensure the setup is unmodified and based on the workspace example.
Run cargo leptos serve.
Open a browser and navigate to localhost:3000.
Observe the "NotFound" error in the logs.

Expected behavior
The server should start without errors, and the application should be accessible via localhost:3000 without encountering the "NotFound" error.
Screenshots
N/A
Additional context
The issue occurs in a repository with a minimal example available here. The setup is essentially the workspace example without any modifications from leptos-rs/start-axum-workspace.

Cloned your repo and ran cargo leptos serve. I don't see any errors or logs.
Could you clarify which cargo leptos --version you are using?

Cloned your repo and ran cargo leptos serve. I don't see any errors or logs.
Could you clarify which cargo leptos --version you are using?

Guessing this is happening because you've enabled hashed file output, which is currently having issues in workspaces

@gbj @benwis
Hi, thank you for replies, I'm using cargo-leptos 0.2.19 on mac os and using Chrome to open it.
Error appears in console in which you run cargo leptos serve randomly - whole website works but we get this messages.
I think it has something to do with Router


chore: update readme

added 2 badges on top

Codecov Report
Base: 90.91% // Head: 90.91% // No change to project coverage :thumbsup:

Coverage data is based on head (b061ea9) compared to base (b891c40).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #1107   +/-   ##
========================================
  Coverage    90.91%   90.91%
========================================
  Files          174      174
  Lines         4933     4933
========================================
  Hits          4485     4485
  Misses         448      448

Flag
Coverage Δ

py3.8-ubuntu-latest-pandas
90.91% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

(I had to manually re-run a job that failed on MacOS for no particular reason)


EnablePostSignOutAutoRedirect in angular2 client

How to implement EnablePostSignOutAutoRedirect or any other options like EnableSignOutPrompt for identityserver in angular client?
I read what is required here: https://github.com/IdentityServer/IdentityServer3/issues/1121 but not sure where in your service implementation should i inject these properties?

Hi @nukec  In the logoff function:
https://github.com/damienbod/AspNet5IdentityServerAngularImplicitFlow/blob/master/src/AngularClient/angularApp/app/auth/services/oidc.security.service.ts#L212
The post_logout_redirect_uri is passed here as a parameter.
Greetings Damien


Import task for breweries CSV

Overview
Add import task for db/breweries.csv. This will replace the old method of import via the Brewers Association scraped HTML files.
Tasks

[ ] Create new import task in app/services/import/

Related issues
#17 #23

I can take this one

Thanks @Johnnyk737 !
Instead of using a file in the repo, what about grabbing directly from https://raw.githubusercontent.com/openbrewerydb/openbrewerydb/master/breweries.csv ?

I had the same thought! Although I was thinking of using the JSON format of data. I'd want to look into creating an ActiveRecord object from a CSV. I've not done that before.

I've got a branch set up with some initial changes. The good news is that it works! The bad news is, when you run the import task, it takes about 1 second for each brewery to be imported. This obviously adds up to a ton of time and is unreasonable for local development. I would like to research more on how to speed this up, but I'd like to hear your thoughts.
https://github.com/Johnnyk737/openbrewerydb-rails-api/tree/OBDB-27

Oh man, my Ruby is rusty 😅  My guess is that the lag is likely from the query and then the update, though 1s is still rather long (500ms maybe). You might be able to get around making two transactions, but I'm not exactly sure how with ActiveRecord.
Could you create a work in progress PR so that I can make some notes via the review tool?
Thanks so much for working on this stuff, @Johnnyk737 ! 🍻

Done https://github.com/openbrewerydb/openbrewerydb-rails-api/pull/68

I was able to speed this up so each brewery takes ~500ms by removing the .save for each new brewery. It is already using create which does a new then save already, so this was duplicated work. I've also batched them, but that didn't save any time.
It's worth noting I'm on a windows machine using WSL2. This may end up being faster on a mac or linux machine.

Awesome!
I attempted to test but ran into the following error:
ActiveRecord::RecordInvalid: Validation failed: Obdb has already been taken
I'll dig into the code and figure out what's going on this evening.

That is happening because I'm currently not doing any existence checks. Your breweries table is full up already. If you truncate, then run the rake task, you should see it load fine.

I was just thinking, for local development, you may not need to seed the db with all 7k breweries. Do you think we can get away with loading only a few hundred? This is assuming you have another job that builds the hosted database.

Re: local development, I think seeding with all breweries would be ideal for manual testing and investigation. That said, might be worth it to provide options/arguments to give developers flexibility depending on their use case.
Also worth considering if using ActiveRecord is really the right path. The dataset also includes a SQL file. It's specific to Postgres but takes seconds to run.
And finally, what about truncating the database as a first step? Maybe after a prompt?
These are all just thoughts and suggestions, so feel free to push back on any or all of them. :)
Thank you for putting time and effort into this! 🍻

So, a few things.

The geocoding after validation is what is draining performance. Removing that single line sped it up a TON.
Elastic search also slows this down, but not nearly as much as Geocoder.
For ~7k breweries

Without geocode: ~114 seconds
Without geocode and ES: ~25 seconds
With Geocode: Somewhere between 7000 seconds and Infinity (estimate)

Import by SQL with rake works great. It's super fast (~1 second) and really easy to implement. However, this bypasses all validations, geocoding and ES. There is an existing rake task to update the geocodes, so maybe that is the route we want to go. Geocoder also has one that allows batch updating (rake geocode:all CLASS=Brewery BATCH=100).

Where we go from here depends on a few things (start idea vomit):

If we insert by SQL, we require truncating first. It would be a non-trivial effort to parse through an sql string and figure out which ones exist already. However, I think we could make this a logic gate using an env though and use the json mapping way if we don't want to truncate (if TRUNCATE=true ? insert by sql : insert by json). Assuming, we have new contributors doing this, maybe truncate by default? Maybe the env would be UPDATE and if true, it would only add new breweries. I've updated my draft PR so you can take a look at this implementation.
I'm not sure the validation is necessary here either. For now, all of the validation is done elsewhere when we are creating the data. Importing that data into a local environment and then doing validation seem redundant. However, outside of the geocoding, validation performance is trivial, so I'm not super concerned.
There are plans to remove ES already, so I'm not going to worry about speeding it up or removing that now.
Geocoding is obviously important here but performance is a huge concern. I'm not sure this is super important for local development though, unless you are testing the by_distance endpoint. At that point, I think it would be best to find and insert only breweries needed for that specific testing. When deploying though, we can run the geocode task and let it run and run and run.

Awesome! Thanks for testing those things out.

Yes, let's ditch requiring Geocoding and ES index building while doing the imports. Those should definitely be separate tasks.
Totally down with making the TRUNCATE=true an environment flag and ditching extra validation other than simple "this should be a number, this should a string, this is an enum, etc."
I'm actually surprised the geocoding takes so long to run. I don't think it took that long when I was implementing things so maybe it's getting hung up on something else. In any case, that investigative work is outside the scope of this task. Setting things up so that it runs as a separate, explicit task makes the most sense to me.

Sounds great, I'll add docs to manage the other tasks. All of them are created already, just a matter of documenting them out. I'll also mark the PR as ready for review.

Closed by #68


Shutdowntimer crashing on start up

ShutdownTimerClassic Exception-Log [638027371282841884].txt

Tracking this problem in https://github.com/lukaslangrock/ShutdownTimerClassic/issues/30#issuecomment-1552688456 from now on.


Fix netmaster starting script in tesing codes

We need to add fwd_mode in netmaster starting code, also ensured
log direcotry exists when start contiv v2plugin container.
Signed-off-by: Wei Tie<EMAIL_ADDRESS>

build PR


allow webcam access

I was trying to use Helium as a floating webcam image for screen recording. Much like the abandoned CamDesk I want to create a simple web app where I see a preview of me in my webcam (and some graphics gizmos), but I need a way to display this image in a floating window.
Helium would be awesome for this purpose. It has taken care of the difficult issue of keeping an app window afloat - but it lacks the permissions to display the webcam. Is this feasible to add?

Currently investigating; might be a permission issue but the webcam is not local, but intesting. I favor Nest products so I'll try using that if possible unless you can provide a sample, public URL etc - I can play test with, thanks.

I'm currently running a local html+js combo (lifted from https://github.com/michaelsboost/CamDesk) and run from file:// with my onboard webcam (Macbook).
I have tested a request from https on obs.ninja where "add my camera to OBS" opens a webcam request. He3 throws an error dialog:
"An error has occured when trying to access the webcam or microphone. The reason is not known."

Well, if it's a simple entitlement requirement, I'll try first to add that support to the preferences panel...

a reproducer? I'm not sure what you mean. You can go to https://obs.ninja via He3 and click on the panel to "add your camera to OBS" to reproduce the issue, as I said. Or hand off from Safari from the same site, also generating an error.

Hmm, I might be late to the party but https://bugs.chromium.org/p/chromium/issues/detail?id=752458#c31 suggest Apple has some work todo...

Btw, testing with camera/mic entitlements do not fare better so perhaps something else  - Apple? is needed here.

The bug report forums don't give me much hope, unfortunately. https://bugs.webkit.org/show_bug.cgi?id=208667

Ah that's iOS. Won't help he3.


Fix default handling for overwritten enum values

When the values of enums are overwritten by $enumValue, also the default value of this field should be equal to the overwriting value

is this fix related to https://github.com/SAP/abap-file-formats/issues/425 ?

Yes, exactly. I will update the schema in AFF-repo as soon this PR is merged


Show Total page count and No of Pages left

Is there any chance you can add this feature ? .  Folio reader lacks this . This will be handy !

This is available. check the screenshot i attached

I am not able to figure out how . Can you please let me know how to implement it or property to be set ?

It's only available on iOS for now. If you run your app on iOS it should display out of the box. Make sure you're using the latest plugin version

Is there any chance that you will make it work on android version too ?

Yes I'll work on it soon

Thanks will appreciate that

@kuntadynithesh  i published a new version(0.1.4) that shows the page indicator on android but it doesn't seem to show on all devices. I'll be working on fixing that and I'll get back to you when all is fixed

@kuntadynithesh Finally perfected the features in 0.1.6. Update the plugin to the latest version and you'll get the feature!

Awesome . Thanks mate !


Synchronize URLs with Craft's addTrailingSlashesToUrls setting

Normally we could just pass everything through UrlHelper::getUrl()...but that bypasses the addTrailingSlashesToUrls logic if the originating request comes from the cp, which it does in this case.
This circumvented an issue where I had a addTrailingSlashesToUrls set true, as well as an htaccess rule to add slashes to any incoming requests without them.
The result was my purge requests always going to the non-slashed urls, but I was always serving my slashed ones (either via craft generated links, or handled by the htaccess rewrite).

Thanks for contributing!!


Compiling issues on M1 macs

I used these instructions https://tokenstreet-tech.github.io/react-native-idnow-videoident/docs/getting-started to add the library to react native my project but I am having issues compiling this on an M1 mac. It is compiling perfectly on a physical device but it fails with an arm64 architecture error on simulators. Is there anyway to fix this? Thanks!

Hi @luciansvnc,
sorry for the late reply. We also use M1 Macs, and the issue you described is related to the build type use_frameworks! linkage: :static, which is mandatory for IDnow iOS SDK.
I will add the cause and a solution to the docs tomorrow, and link it in this issue.
Until then, you can take a look at the following code examples:

Bare example app
Expo plugin

https://tokenstreet-tech.github.io/react-native-idnow-videoident/docs/getting-started#ios-1
Does step 5 fix it for you?

I will close the issue. If the problem still occurs, feel free to open it again.


Should be TARGET_RAM_SIZE here.

https://github.com/edk2-porting/MU-sm8150pkg/blob/f1279ab26899adee7e9f9d5766c9b99925c082fa/Platforms/SurfaceDuoPkg/SurfaceDuo.dsc#L98

Will add the fix to main branch after gus33000's rebase is done. Thanks.
Btw you can also add commits to this repo.


Unescaped Plugin breaks js, and works incorrectly in IE & Edge

Using the plugin to generate some pug/jade content using the unescaped plugin.
When viewing the output on Mac OS Safari, Chrome etc the plugin works fine. However when viewing the page on Windows 10, (or lower) in IE and Edge gives a console error and breaks js on the page.
It seems to fall over element.matches. :

Unsure exactly why it's falling over, as I've discovered that Edge supports matches().
https://caniuse.com/#search=matches
¯_(ツ)_/¯

Hi! I could not reproduce your issue on Edge 16.
But I reproduced it in IE11 and lower, where matches is not supported in its unprefixed form. We should probably use msMatchesSelector as a fallback for those browsers (IE9-11).

Hi @Golmote, was this issue fixed and a PR merged? I could do with this plugin working for IE. Sorry if it has 👍

Hi! I fixed it in a direct commit (not a PR). It should work properly on gh-pages and I'll make an official this week.


deps: fix mismatch release date in OpenCensus Proto

Signed-off-by: Xie Zhihao<EMAIL_ADDRESS>Commit Message: deps: fix mismatch release date in OpenCensus Proto
Additional Description:
Risk Level: Low
Testing: N/A
Docs Changes: N/A
Release Notes: N/A
Platform Specific Features: N/A
Fixes #23219

It is strange why the commit and SHA stays unchanged while the release date of the version changes.
Shall we change the way getting release date by the commit date instead of the GitHub release date here to avoid happening again?
CC @phlax

Shall we change the way getting release date by the commit date instead of the GitHub release date

i think the commit date is harder to track - not sure why the release date changed here - im guessing they must have pulled the release and republished


Bug: correct domain previews

Describe the bug
Supabase now supports wildcard domains, they should be updated before our future proof PR domains hit the limit again!

Steps to reproduce
open many PRs and try to login
Affected services
hot.opensauced.pizza
Platforms
No response
Browsers
No response
Environment
Development
Additional context
No response
Code of Conduct

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

Contributing Docs

[X] I agree to follow this project's Contribution Docs

This is fixed as oy yesterday's stream! Try logging in to https://deploy-preview-181--hot-sauced-ui.netlify.app


Android empty tab emoji after mount and unmount component

Entire tab content is hidden after a few seconds of the tab button is pressed. That behaviour seems to occurs after some show/hide/show of the component


RunWrite no longer misformats errors with formatting directives in them

Minor error formatting fix I ran across while looking at other things.

Thanks! I will get this merged in the next release.

This PR has been merged to the develop branch and will be merged to master in this next release. Thanks for your contribution.


Add fluentd-logentries chart

Helm chart to install DaemonSet of Fluentd agents shipping to LogEntries

Currently looking at creating a single chart for multiple logging targets


Add a 'recommended' ruleset?

A lot of ESLint plugins provide a 'recommended' ruleset so folks don't have to manually enable most of their rules. Would you accept a PR for one here?
A couple examples:

https://typescript-eslint.io/linting/configs#recommended
https://github.com/mysticatea/eslint-plugin-node#-configs

A lot of ESLint plugins provide a 'recommended' ruleset so folks don't have to manually enable most of their rules. Would you accept a PR for one here?
A couple of examples:
* https://typescript-eslint.io/linting/configs#recommended

* https://github.com/mysticatea/eslint-plugin-node#-configs

Yeah, just i was looking at it, but you commented first.
You are pretty right.

If this gets accepted, I would recommend to add an all configuration as well. That one could be a private undocumented API - I think eslint-plugin-unicorn does that.
It could be used here if #28 gets accepted: https://github.com/veritem/eslint-plugin-vitest/pull/28/files#diff-c9b7db67d51aa1a4ed29166670b8125379863f5e649c132dfdd7dec0649f6c7dR34-R37

A lot of ESLint plugins provide a 'recommended' ruleset so folks don't have to manually enable most of their rules. Would you accept a PR for one here?
A couple examples:

https://typescript-eslint.io/linting/configs#recommended
https://github.com/mysticatea/eslint-plugin-node#-configs

PRs are always welcome.

Recommended rules is currently added in the latest release.

🙌 thanks!


Pub seems to get constraints of semantic versions wrong

A package "foobar" with version "0.0.3-dev" satisfies the following version constraint:
dependencies:
  foobar: '>=0.0.3-dev <0.0.3'
according to semantic versioning, see the specification here: http://semver.org/
But pub seems to complain that there is no suitable version for "foobar" -- could be because the constraints are parsed incorrectly or because the ordering implementation is wrong?
Error message:
$ pub get
Resolving dependencies...
Package foobar has no versions that match >=0.0.3-dev <0.0.3 derived from:

mypackage 0.1.0-dev depends on version >=0.0.3-dev <0.0.3

This issue has been moved to dart-lang/pub#1084.


BDKD-386 Added write capability to Python wrapper

@balram-ramanathan-sirca : Suggestions has been implemented.

@balram-ramanathan-sirca Added 'unpublish'


Fix: 'ReferenceError: document is not defined'

Netflix keeps adding code to their scripts that is not important for the inner workings of node-netflix2, breaking it in the progress. I've added a check that only allows scripts to execute that contain the lines we need (starting with 'window.netflix = ').

Thank you for your contribution.


Update docs with Google AppEngine instructions

Closed #244 by accident and pushing to the branch didn't reopen it. This PR updates the docs with a typo correction and link to Google Cloud SQL instructions; sorry for the inconvenience.

Thank! I've deployed your changes. You can check it out here: https://loic-sharma.github.io/BaGet/cloud/gcp/


Oauth 2.0

I have external Authorization  Server which register clients and generate tokens. How to merge Authorization Server with kong? Bcoz I need to save client and generate tokens on external Authorization Server but manage access to my APIs at Kong.
Common use case is where I have an existing OAuth system in place, and I would like to use the tokens generated by that system with Kong.
Something like this

@Forest1602 this is currently not possible. Either you use OAuth 2.0 fully on Kong (and migrate your existing users/applicationstokens to Kong as well), or you just don't add any authentication on Kong, and let your system block the unauthorized requests (but in this scenario Kong will never know who the consumer is).

+1 on feature request for this (ability to delegate OAuth2 token storage to an external data store). Would massively help integrate Kong with existing systems.

@dag24 may I ask why migrating the exiting users/application/tokens to Kong using Kong's API is not an option? Is it just the extra work, or there are other specific reasons?

I am in a situation where I am integrating Kong in a large existing codebase, in a company with several hundred engineers. Our existing OAuth2 store has thousands of user credentials, which could technically be imported into Kong, but three issues come to mind. One, the mere practicality of gaining access to the authentication store to extract secret tokens (not always trivial in enterprise scenarios; my team does not own this store). Two, syncing Kong and the existing "master" data store: perhaps a cron job could overcome this. Third, legalities: our existing setup has been given the seal of approval by our legal and security teams, and I am concerned about data protection issues (British, EU law) with regards to making copies of what could be regarded as personally identifying information of users. For these reasons, the ability to tell Kong "go here for your OAuth2 negotiation" sounds useful to me.

On 26 Mar 2016, at 02:33, Marco Palladino<EMAIL_ADDRESS>wrote:
@dag24 may I ask why migrating the exiting users/application/tokens to Kong using Kong's API is not an option? Is it just the extra work, or there are other specific reasons?
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub

This could be done on postgresql as an FDW.

Considering this question answered so far.

related with: https://github.com/Mashape/kong/issues/1441


Comply with ED-22-03 by EOD 2022-05-23

In order to meet our compliance requirements with FedRAMP/CISA, we want to respond to:

In consultation with the Joint Authorization Board (JAB) and DHS CISA, FedRAMP emphasizes that Cloud Service Providers (CSPs) who maintain federal information fall within the scope defined by Emergency Directive 22-03. Therefore, we request that you (1) review and implement the actions described within the Emergency Directive and (2) upload responses, in the attached template, to the incident response folder in your respective FedRAMP secure repository. Please upload responses, including identifying applicability or negative applicability, by 11:59 PM Eastern Daylight Time on Monday, May 23, 2022.
When these actions are complete, we request that you:

Email all agency customer Authorizing Officials (or ISSO)
Email your JAB point of contact (POC)
Email the FedRAMP PMO at<EMAIL_ADDRESS>using the following convention for your subject line: [CSP NAME | Package ID] - Response to ED 22-03
Upload a copy of your Email notifications to the incident response folder in your respective FedRAMP secure repository

If any indication of compromise or anomalous behavior is found or there is any suspected impact to federal systems, please make sure to follow the FedRAMP Incident Communication Procedures, which includes reporting to CISA US-CERT, agency customers and FedRAMP JAB POCs.
If you have any questions, please reach out to<EMAIL_ADDRESS>and<EMAIL_ADDRESS>FedRAMP PMO
References

Emergency Directive 22-03
https://nvd.nist.gov/vuln/detail/CVE-2022-22954
https://nvd.nist.gov/vuln/detail/CVE-2022-22960

and with the following template:
ED_22-03_Reporting_Template_v1_FedRAMP.xlsx
Acceptance Criteria

[ ] GIVEN [a precondition]
AND [another precondition]
WHEN [test step]
AND [test step]
THEN [verification step]
AND [verification step]

Security considerations
[note any potential changes to security boundaries, practices, documentation, risk that arise directly from this story]
Implementation sketch
[links to background notes, sketches, and/or relevant documentation

[ ] [first thing to do]
[ ] [another thing to do]

Submitted response to FEDRAMP


"conditional.html" value on radio item has whitespace inserted into it, breaking  elements

Description of the issue
In our public facing app, we have some radio items which conditionally reveal a text area, for users to input their overseas address, only if they answer the radio question a certain way.
(We are aware that this isn't ideal from an accessibility point of view, and we have recently been unpacking some of these into separate pages, but I don't think that invalidates this bug.)
Since v5.2.0 / commit 6955db326a2e560c9862d29b28e39bd8f4020829, whitespace is added to the html in here by govuk-frontend, which changes the value inside a textarea, corrupting user input.
Steps to reproduce the issue

Here is an extract from the njk template on our page that has caught this bug.
I have marked the key line with "HERE".
The localisedCharacterCount macro is our wrapper around https://design-system.service.gov.uk/components/character-count/ and contains a <textarea>
{% set bfpoAddressHtml %}
  {% call govukFieldset({
    classes: "govuk-!-width-two-thirds"
  }) %}
    {{ localisedCharacterCount({
      errorMessage: errors['bfpo-address'],
      name: "bfpo-address",
      id: "bfpo-address",
      classes: 'address-textarea',
      value: (form['bfpo-address'] or session.contactAddress.address) if bfpoInitiallySelected,
      label: {
        text: 'Address'
      },
      autocomplete: "street-address",
      hint: {
        text: 'Maximum 5 lines'
      },
      maxlength: 1200,
      threshold: 75,
      isWelshLocale: isWelshLocale
    }) }}

    {{ govukInput({
      label: {
        text: "BFPO"
      },
      id: "bfpo",
      name: "bfpo",
      classes: "govuk-input--width-10",
      value: (form['bfpo'] or session.contactAddress.postcode) if bfpoInitiallySelected,
      errorMessage: errors['bfpo']
    }) }}
  {% endcall %}
{% endset %}

...

{% block articleContent %}
  <form method="post" id="contact-address-form">
    {{ govukRadios({
      idPrefix: "type",
      name: "type",
      fieldset: {
        legend: {
          text: "Where should we write to you about your registration?",
          isPageHeading: true,
          classes: "govuk-fieldset__legend--xl"
        }
      },
      errorMessage: errors["type"],
      items: [
        {
          value: "uk",
          text: ukAddressLine,
          checked: form['type']==='uk' or session.contactAddress.type === 'uk'
        } if showUK,
        {
          value: "bfpo",
          text: 'British Forces Post Office (BFPO) address',
          checked: bfpoInitiallySelected,
          conditional: {
            html: bfpoAddressHtml   /// HERE -- whitespace is added by govuk-frontend
          }
        },
        {
          value: "other",
          text: 'Other address',
          checked: otherInitiallySelected,
          conditional: {
            html: otherAddressHtml
          }
        }
      ] | removeEmpty
    }) }}

    {{ govukButton({
      text: "Continue",
      type: "submit",
      id: "submit-button"
    }) }}
  </form>
{% endblock %}

Actual vs expected behaviour

I would expect the app provided value in conditional.html to be emitted to the page unchanged.
In fact, whitespace is added at the start of each line.
Environment (where applicable)

Operating system: all
Browser: all
Browser version: all
GOV.UK Frontend Version: v5.1.0, v5.2.0

Other notes
I have also commented on this at https://github.com/alphagov/govuk-frontend/pull/4676
It may be the case that other app-supplied param values are being indented and shouldn't be, to avoid similar issues. I haven't checked the rest of the components

I wonder if the recently added/updated approach of properly indenting the emitted HTML should be reviewed entirely?
While it's nice and beneficial for the govuk-frontend source code files themselves to be nicely indented at coding-time, is there really any justification for the templating framework to be re-indenting things at runtime? There will be a small but significant runtime cost of the compute resources spent by millions and millions of web requests to reformat HTML to essentially zero benefit.

This is still an issue when the radios/checkboxes have a fieldset. The indent(2) here affects conditional textareas.

@devkokov , I agree, that looks like the same bug.
I don't have permission to re-open this issue. I suggest you create a new issue referencing this one if that is causing you problems. I have the fix I need for my work, so I don't plan to do any more on this.
If it were up to me, I'd remove all the "indent" ops from the runtime code. As I commented above, I don't see why there's any need for the runtime emitted code to be pretty-printed, and it can cause bugs which are very hard to detect.

I've reopened this for the time being, just in case a new issue doesn't arise.


PDF Issue with Acrobat Reader (cont.)

actual_a4bill_ex1.pdf
Thank you very much for your reply. I compiled the sources on Win 10 (1909) with VS 2019 and  and on an other machine with VS 2017 on Win 10 (1909). I tryed different .Net Versions with the same result. The software I wrote is a .Net Core 2.1 Application (VS2017) and integrates your lib with NuGet.  Version is 2.3.4 (2.3.1  produces the same result).
The file can be read from Sumatra, Firefox or Edge (Chromium) and fails with Edge (older version) and Acrobat Reader DC (current version).
Stefan
Originally posted by @stefanDge in https://github.com/manuelbl/SwissQRBill.NET/issues/18#issuecomment-649579531

I was able to reproduce it. It's an invalid locale sensitivity, i.e. the media box was written as [ 0 0 595,2756 841,8898 ] instead of [ 0 0 595.2756 841.8898 ].
It's fixed in release 2.3.5. PDFs have become slightly smaller as a side effect as the number of fractional digits is now limited.


Implementing new I-mode scaling laws

I added the new scaling laws to energy_confinement_scalings.yaml @nelsonand
Here are POPCONs for each of the added scaling laws:

Oh, I thought S meant scale factor. Will fix that!
On Wed, May 15, 2024 at 6:54 PM Oak Nelson @.***> wrote:

@.**** commented on this pull request.
In cfspopcon/formulas/power_crossing_separatrix/threshold_power.py
https://github.com/cfs-energy/cfspopcon/pull/46#discussion_r1602344015:

def _calc_AUG_LI_threshold(average_electron_density, magnetic_field_on_axis, scale):

   return float(2 * 0.07 * (average_electron_density / 10) * (magnetic_field_on_axis / 2.4) ** 0.39) * scale

def _calc_HubbardNF17_LI_threshold(average_electron_density, magnetic_field_on_axis, scale):

  return float(0.162 * (average_electron_density / 10) * (magnetic_field_on_axis ** 0.262)) * scale

@aarooshgr https://github.com/aarooshgr as far as I can tell from the
slides, these formulas are missing the surface area (S) parameter
—
Reply to this email directly, view it on GitHub
https://github.com/cfs-energy/cfspopcon/pull/46#pullrequestreview-2059175315,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A4GUOLOQW4RTF5RM35CR5RDZCPRS7AVCNFSM6AAAAABHE6LSD2VHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDANJZGE3TKMZRGU
.
You are receiving this because you were mentioned.Message ID:
@.***>


Possible enhancement : generate JSON from ontology

Use case: Useful when trying to build a custom HTML/CSS to render. When wanting to use frameworks such as SemanticUI or Bootstrap, classes need to be added in HTML elements in order to apply style.
The generated JSON could be used in a HTML template library (Pug.js, React, etc.) in order to generate the desired view and style.
What do you think ? Useless there is currently a way to do this.

@koslambrou I know how React & Pug work but I'm not very familiar with them so while I have no problems with extensions to pyLODE to generate data for these systems, I'm not really in a position to make such enhancements myself.
If you wanted to support Bootstrap etc, feel free to make a PR to include additions to the templates or the build processes! There's already a build function for generating schema.org data within the HTML result so there could happily be other outputs too.

@koslambrou I've refactored the pyLODE codebase a lot in the last few days to tidy up the separation between the various profiles (types) and formats (currently HTML and Markdown) of documentation that are generated. This means it is now easier to add in new profiles or formats and you might be able to do so for JSON! I have also had a request for reStructuredText which could be yet another format...


Chosing back image does not work

If you try to choose a back image it always uploads the front image.

Thank you -- still working on the upload feature

Fixed this specific bug. Posting still not complete though.


Update BigQuery instance datasets

Due to a mistake that I made in the data downloads mapping file, we do not have the knownDrugsAggregated and significantAdverseDrugReactions datasets available in our open-targets-prod BigQuery instance.
I have updated the mapping file to include both datasets in BigQuery for our 21.11 release.
In the meantime, can we please manually add the knownDrugsAggregated and significantAdverseDrugReactions datasets generated from our 21.09 release to the open-targets-prod.platform BigQuery dataset?

Ticket closed as datasets available in BigQuery.
Additional work will be captured in #1790.


Improve the manifest generation

Contains two improvements:

Remove swift.o target inputs (only .swiftmodule is necessary)
Generate a LLBuild target for each SwiftPM target
Create phony targets to simplify target dependencies

@swift-ci please smoke test


"cannot resume dead coroutine"  will appear when debugging

When I debug Lua code, it can be debugged normally. When the code stops at a breakpoint, if I do nothing for a long time, the following error will be thrown

Looks to me like that's a problem with the debugger, not Busted.


State 0.3.0-alpha.18

r? @taiki-e @Nemo157 @seanmonstar

cc @taiki-e looks like buffer_unordered::works is flaking :(
will investigate

In any case, it's not new to this release-- only the test is new, so I'm going to go ahead and merge this.

Opened https://github.com/rust-lang-nursery/futures-rs/issues/1790 to track the flake.


F5 Debug Run in VSCode for Python Function does not respect specified conda environment

Hitting F5 in VSCode for a Python Azure Function executes func host start in the default conda environment even though the python.pythonPath has been set in settings.json to point to the correct conda envrionment. Is there a way to have that environment be respected when debugging the Function?

Take a look at the azureFunctions.pythonVenv setting, which should already exist in your workspace's settings.json. Also what is your python version and func cli version? Some python versions aren't supported on older versions of the func cli

Thanks! I didn't know about that setting. I added it (maybe incorrectly?) but am getting a weird error:
> Executing task: C:\Users\sethj\.conda\envs\torch\Scripts\activate && func host start <

'C:\Users\sethj\.conda\envs\torch\Scripts\activate' is not recognized as an internal or external command,
operable program or batch file.
The terminal process "C:\Windows\System32\cmd.exe /d /c C:\Users\sethj\.conda\envs\torch\Scripts\activate && func host start" failed to launch (exit code: 1).

Terminal will be reused by tasks, press any key to close it.

Here is my settings.json:
{
  "azureFunctions.deploySubpath": ".",
  "azureFunctions.scmDoBuildDuringDeployment": true,
  "azureFunctions.projectLanguage": "Python",
  "azureFunctions.projectRuntime": "~3",
  "azureFunctions.pythonVenv": "C:\\Users\\sethj\\.conda\\envs\\torch",
  "debug.internalConsoleOptions": "neverOpen",
  "python.pythonPath": "C:\\Users\\sethj\\.conda\\envs\\torch\\python.exe"
}

Sorry yeah that setting is only relevant if you're using a virtual environment. For example, when creating a new Python project you should be prompted to select a Python interpreter. Your conda environment might be listed or you could manually enter the path:

Once the project is created, the "pythonVenv" setting corresponds to the name of the virtual environment, .venv. A virtual environment is the best way to ensure it uses a specific python version. If that doesn't work let me know and I can look into alternative solutions without a virtual environment.

I am using conda environments - is that supported?

No, we don't have specific support for conda or the python.pythonPath setting. If the conda environment is in your PATH environment variable it'll be used, but that's about it. We'll put this in our backlog to somehow respect the python.pythonPath setting
Related to https://github.com/microsoft/vscode-azurefunctions/issues/1393

This issue has become stale and is at risk of being closed. The community has 60 days to upvote the issue. If it receives 5 upvotes we will keep it open and take another look. If not, we will close it. To learn more about how we handle issues, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this issue has received less than 5 community upvotes and we closed it. Still a big Thank You to you for taking the time to create it! To learn more about how we handle issues, please see our documentation.
Happy Coding!


Packaging for .so does not work

Steps to reproduce:

create a virtualenv on a box that doesn't have this installed as a system package
pip install ybinlogp
try import ybinlogp

It will crash with OSError: libybinlogp.so.1: cannot open shared object file: No such file or directory
The file is being created (it exists in the wheel), but I guess the setup.py is either not putting it in the expected spot for the virtualenv, or it's missing something to tell python where to find it.
Setting LD_LIBRARY_PATH=.venv/lib allows python to find it, but that's just a workaround.
@bgirardeau you worked on this, maybe you know what's missing?

#10 should fix this in some way, maybe not the right way


Opaque Prepass shadow bug

Godot version:
3.0.1
OS/device including version:
WINDOZE 10  Nvidia GTX 1050 Ti
Issue description:
Seems the shadow ignores the billboard.
Opaque Prepass  on a Sprite +
Gridmap +
Tiles with Normals +
Light with Cube shaped shadow on it
as PetePete1984  said "mc escher would have a field day with it"

very interesting 😸
Makes me wonder if the issue is something to do with Gridmap tiles affecting the billboard . I haven't tried this on a normal surface.

imma closing this until i figure out whats going on


Connection with firebase 2/27/2020

Unable to connect my ESP8266 to firebase realtime database. But till yesterday the system was working fine

I have the same problem

Me,too.

I have same problem too. What happen could be?

Be aware that Firebase fingerprint has changed again...
The current fingerprint is: 03:D6:42:23:03:D1:0C:06:73:F7:E2:BD:29:47:13:C3:22:71:37:1B

@hugolimachaves  thank you. It works

Hi,
Please clarify something to me, what happens with all products on fields that are using this  library with old fingerprint?

@danilomna They can't connect your firebase account. You must update them.

@ucar19 then this is a terrible issue for a commercial IoT device. Let's say that have thousands and thousands sold and installed in customers house, would be a nightmare.
How to workaround this and fix it for good?

You had to set update system (OTA). After set you can update when you need.

Be aware that Firebase's fingerprint has changed again...
Acordding to https://www.grc.com/fingerprints.htm, the current fingerprint is: 03:D6:42:23:03:D1:0C:06:73:F7:E2:BD:29:47:13:C3:22:71:37:1B
More details about this issue, please reffer to: #437

Works. Thanks a lot

Guys, who wants to get the right fingerprint, you need to go in this website [https://www.grc.com/fingerprints.htm] and type the url database from your (or any) project (it is the  same code for all).

Guys, who wants to get the right fingerprint, you need to go in this website [https://www.grc.com/fingerprints.htm] and type the url database from your (or any) project (it is the same code for all).

@Decezaris that was I´m afraid off, so doesn´t matter the project url fingerprint is always same code to any project. That is pretty bad to IoT devices in field that were programmed with previous fingerprint and will stop working.
Are there any way to not use the fingerprint while working with firebase realtime database??

@danilomna They can't connect your firebase account. You must update them.

@ucar19, that would be a lot of work, and anyway will cause IoT devices stop working for a while.
Are there any way to not use the fingerprint while working with firebase realtime database??

Guys,
Problems solved!!! Forget about firebase fingetprint changes forever!!!
Use this and only this library avaliable on arduino library manager: Firebase ESP8266 Client.
An amazing project from @mobizt
https://github.com/mobizt/Firebase-ESP8266

Guys,
Problems solved!!! Forget about firebase fingetprint changes forever!!!
Use this and only this library avaliable on arduino library manager: Firebase ESP8266 Client.
An amazing project from @mobizt
https://github.com/mobizt/Firebase-ESP8266

but the fingerprint in still in firebase-arduino-master library

Guys,
Problems solved!!! Forget about firebase fingetprint changes forever!!!
Use this and only this library avaliable on arduino library manager: Firebase ESP8266 Client.
An amazing project from @mobizt
https://github.com/mobizt/Firebase-ESP8266

but the fingerprint still in firebase-arduino-master library

Hi, I asked @mobizt about this here:
https://github.com/mobizt/Firebase-ESP8266/issues/88#issuecomment-592960574
And you can see it confirmed is not fingerprint dependent that for him is unacceptable, because this he designed this library, take a look there.

Guys,
Problems solved!!! Forget about firebase fingetprint changes forever!!!
Use this and only this library avaliable on arduino library manager: Firebase ESP8266 Client.
An amazing project from @mobizt
https://github.com/mobizt/Firebase-ESP8266

but the fingerprint still in firebase-arduino-master library

Hi, I asked @mobizt about this here:
mobizt/Firebase-ESP8266#88 (comment)
And you can see it confirmed is not fingerprint dependent that for him is unacceptable, because this he designed this library, take a look there.

many thanks for your clarify, it mean that fire base not stop work with this library even using  firebase-arduino library?

@HusseinSR
This is not a Firebase problem.  The problem is the HTTP client library which this library used for server connection.
It uses a hard-coded fingerprint to compare with server (Firebase) fingerprint before sending any request if they do not match, the connection was canceled.
The fingerprint is the unique identifier of the server's certificate. If the SSL certificate of the server (Firebase for this case) has been renewed or replaced due to expired, the fingerprint of that certificate will be changed too.
Read this issue.

@HusseinSR
This is not a Firebase problem. The problem is the HTTP client library which this library used for server connection.
It uses a hard-coded fingerprint to compare with server (Firebase) fingerprint before sending any request if they do not match, the connection was canceled.
The fingerprint is the unique identifier of the server's certificate. If the SSL certificate of the server (Firebase for this case) has been renewed or replaced due to expired, the fingerprint of that certificate will be changed too.
Read this issue.

@mobizt what everybody wants to heard from you is you confirming using your library "Firebase ESP8266 Client" in the IoT device it will not stop working anymore when fingerprint change in future. Could you kindly confirm that?

@danilomna
My library works in different approaches to communicate with Firebase.
The fingerprint is not related to my library in any way because my library doesn't use a fingerprint to work.

I am a bit disappointed that this library is not moving forward at all for past 12 months.
You can change in your arduino core library to disable the verification, but this is not recommended.
I did some work and attempt to improve this last year by checking the root certificate, which it is not suppose to be change frequently and you will have to past in few more parameters to reduce memory usage, I suppose (not verified) it is similar to @mobizt 's solution . Haven't got much time doing it lately but if anyone wants to test/improve from here, I am happy anyone wants it. it is not very stable as the memory would be running out from time to time. The fork is under https://github.com/yhua537/firebase-arduino. I am using this with arduino core 2.5.0, earlier version doesn't work as the memory issue.
Will check out @mobizt 's solution when I have time.

@yhua537
My library was written from scratch.
It has almost different API and functions and not a solution to this library because it's not compatible.
User needs to learn before use.

@mobizt
Yes, notice that. but your approach on using root cert is very similar, but you are using axtls but mine is forcing to use BearSSL.

@yhua537
No, my library supports BearSSL by default.  The axTLS will use in my library if ESP8266 Arduino Core SDK v 4.2.x and lower was installed.

@mobizt
Right, I am only guessing with 5 minute of checking your library.  I will stop my guessing and will try yours when I have time. Interested to find out how you make it work with limited memory and cpu power.
Mine has all kind of problem that the current main fork has, but workable for me since June last year. Putting it out there and hoping someone can improve.

@yhua537 I investigate your library and found you use token that you named refresh token instead of database secret which differs from the original one.
If you want to create the custom token for Firebase authentication, jwt is the better way.  The mbedTLS has tool to encrypt this token.

@HusseinSR
This is not a Firebase problem. The problem is the HTTP client library which this library used for server connection.
It uses a hard-coded fingerprint to compare with server (Firebase) fingerprint before sending any request if they do not match, the connection was canceled.
The fingerprint is the unique identifier of the server's certificate. If the SSL certificate of the server (Firebase for this case) has been renewed or replaced due to expired, the fingerprint of that certificate will be changed too.
Read this issue.

the first
i edit the file  WiFiClientSecureAxTLS.cpp  line 723 to
bool WiFiClientSecure::verify(const char* fp, const char* domain_name)
{
return true; //<--- here
but is not work
the second
i try to use your library in my project without change of the structure of firebase code but is get
wrong message (no matching function for call to 'FirebaseESP8266::setInt(const char [3], int)
what is code in your library to get or set value for this examble
Firebase.setInt("S1",0);
Firebase.getString("S2").toInt();
regards

@HusseinSR
I already said my library API and functions are almost different.
You can read the readme doc or try the examples first.

@mobizt
yep, i am not using the database secret as that stops me from using different password for each device.
I would love to get JWT working with Json/flutter, but with my current setup with ESP8266, it is limiting me from taking on more libraries. Yes, that may kill my setup and force me to move to ESP32 in near future as I am not mentally ready to throw away my 12 ESP-01 yet.

Changing fingerprint worked for me

Changing fingerprint worked for me

We know if changes will work, but that is not the point, we dont want to be fingerprint dependant anymore. Because this @mobizt is very interesting.

@HusseinSR
I already said my library API and functions are almost different.
You can read the readme doc or try the examples first.

yes i understood that,  but excuse me i still beginner my i build my project IOT since one year ago, and it was working with old library by  read/update values by using simple structure as mention above
i try the examples but can not find some thing match to rebuild my project
can you help me by simple code for on/off led for example by Firebase
many thanks for assistance

@HusseinSR
I already said my library API and functions are almost different.
You can read the readme doc or try the examples first.

yes i understood that, but excuse me i still beginner my i build my project IOT since one year ago, and it was working with old library by read/update values by using simple structure as mention above
i try the examples but can not find some thing match to rebuild my project
can you help me by simple code for on/off led for example by Firebase
many thanks for assistance

Changing fingerprint worked for me

We know if changes will work, but that is not the point, we dont want to be fingerprint dependant anymore. Because this @mobizt is very interesting.

can you help me by simple code for on/off led for example by new Firebase i using simple android app created by MIT inventor to do that bey old Firebase library

@HusseinSR
This is the simple working example to control the LED in realtime.

@HusseinSR
This is the simple working example to control the LED in realtime.
For your simple needs.

//Declare the FirebaseData object for data sending and receiving operation
FirebaseData firebaseData;

void setup()
{

  if (!Firebase.setInt(firebaseData, "S1", 0)) {
    //Error?
    Serial.println(firebaseData.errorReason());
  }

  if (!Firebase.getInt(firebaseData, "S2")) {
    //Error?
    Serial.println(firebaseData.errorReason());
  }

  //read the int data from firebaseData object after call getInt
  int myInt = firebaseData.intData();

}

many many thanks, now it is match with my project and working ..... :) :)

Hi, I'm using ESP8266 and have just updated my firebase fingerprint but the esp still not connecting to the firebase. Any idea? I'm very new to this. tx


Fixed compare function always returning true

I really wanted to test the built-in functions by themselves, but it was difficult, so I committed only the intermediate tests.
Can I define the built-in functions by themselves?
I want to check the behavior of the compare function.

@k2tzumi Thank You!!!!


fix: enable enforce_admins for tikv/tidb-operator

Without this option, the bot as administrator will force a PR merge after the PR has out-of-date.

/merge


[11.x] Makes sequences work with factories

Currently, sequences can only work with arrays:
$users = User::factory()
  ->count(10)
  ->state(new Sequence(
      ['admin' => 'Y'],
      ['admin' => 'N'],
  ))
  ->create();

This works fine for simple deviations but becomes a bit limited, if in this example, being an admin actually means assigning a role, like
use Spatie\Permission\Models\Role;

->hasAttached(Role::findByName('admin'))

The code would have to be rewritten to something like this:
$users = collect();

for ($i = 0; $i < 10; $i++) {
    $users[] = User::factory()
        ->when(
            $i % 2 === 0,
            fn ($f) => $f->hasAttached(Role::findByName('admin')),
            fn ($f) => $f->hasAttached(Role::findByName('user')),
        )
        ->create();
}

This PR proposes an update to sequences so it can use factory methods:
$users = User::factory()
    ->count(10)
    ->sequence(
        fn ($seq, $factory) => $factory->hasAttached(Role::findByName('admin')),
        fn ($seq, $factory) => $factory->hasAttached(Role::findByName('user')),
    )
    ->create();

The PR has a basic implementation of this feature and should work with state(), for() and has() but is not finished yet.
I'm actually looking for feedback first, whether this something that is worth adding to Laravel and worth spending more time on. The final implementation would add some more complexity than the current implementation, because for example, hooks like afterMaking and afterCreating are not yet run for each sequence:
User::factory()
    ->count(2)
    ->afterMaking(fn() => dump('user afterMaking'))
    ->sequence(
      fn ($seq, $factory) => $factory->afterMaking('sequence 1 after making'),
      fn ($seq, $factory) => $factory->afterMaking('sequence 2 after making')
    )

// user afterMaking
// not run: sequence 1 after making
// user afterMaking
// not run: sequence 2 after making

Thanks for your pull request to Laravel!
Unfortunately, I'm going to delay merging this code for now. To preserve our ability to adequately maintain the framework, we need to be very careful regarding the amount of code we include.
If applicable, please consider releasing your code as a package so that the community can still take advantage of your contributions!