Regularization parameter selection degraded since 0.8.beta

In two (of two) cases tested, the current commit returns significantly larger regularization parameters in 'lr' mode of regularization parameter selection than version 0.8.beta did. The old parameters were reasonable, the new ones correspond to strongly visible oversmoothing.

Could you please run two quick diagnostics for your tests?

Check whether using the old search approach you can recover your previous results:

alpha = selregparam(V,K,r,'tikh','lr','Search','grid');
Pfit = fitregmodel(V,K,r,'tikh',alpha)

Check how the LR-functional looks like for both search methods (please provide graph)

[alphaopt1,fcn1,alphas1] = selregparam(V,K,r,'tikh','lr','Search','grid');
[alphaopt2,fcn2,alphas2] = selregparam(V,K,r,'tikh','lr','Search','golden');

plot(log(alphas1),fcn1,log(alphas2),fcn2)
grid on,axis tight, box on

It could be that the LR-functional for these cases is not convex enough for the golden-search algorithm to efficiently find the optimum or it could be that there is a bug somewhere else.

Test 1:
No, I can't recover the old results. In one case, 0.8.beta returns (without 'Search' specification)
Optimal alpha value: 100.00
whereas the current commit returns
Optimal alpha values: 501.19, 472.31
for grid search and golden rule, respectively.
Test 2:
This test does not run (fcn1 and fcn2 are not valid arguments for plotting).

For test 2: my apologies, the function returns a cell array for the functionals. I have changed this so that when a single functional is evalluated it is not returned inside a cell.

However, your results show that the issue does not come from the golden-search failing in contrast to the grid-search. Therefore, the difference must have arisen in some other change. This will require a more in depth analysis by my part.

It appears that there is no test for this, since all selregparam tests pass. Please add a test for this.

Yeah I agree. All tests were until now testing the relative alpha values between selection methods returned by selregparam. I will add tests for absolute value control. It is, however, strange that this was not caughty by the fitregmodel tests, since they use selregaram to optimize the alphas, and there the absolute value of the fit quality is tested.
As said in my previous comment, I will look into it.

Here is a brief script that shows the problem with 'lr' (and also 'lc'). Most other selection methods ('aic', 'gcv', etc.) work correctly.
clear, clc

N = 201;
r = linspace(1,6,N);
Pmodel = rd_onegaussian(r,[3 0.3]);
t = linspace(0,3,N);
K = dipolarkernel(t,r);
V = K*Pmodel;
rng(2);
V = V + whitegaussnoise(N,0.02);

srch = 'golden';
alpha1 = selregparam(V,K,r,'tikhonov','lr','Search',srch)
alpha2 = selregparam(V,K,r,'tikhonov','aic','Search',srch)

Pfit1 = fitregmodel(V,K,r,'tikhonov',alpha1);
Pfit2 = fitregmodel(V,K,r,'tikhonov',alpha2);
Vfit1 = K*Pfit1;
Vfit2 = K*Pfit2;

subplot(2,1,1)
plot(t,V,t,Vfit1,t,Vfit2);
subplot(2,1,2)
plot(r,Pmodel,r,Pfit1,r,Pfit2);

I have identified the issue. The problem (as @stestoll has pointed out) is limited to the L-curve methods, namely lr and lc. In this case, however, it is not a degradation of the optimization. The selection methods lr and lc were downright broken at a9c95ffea7ae74d93a0e6e65a8a845f6a3bd6d6a .
The problem is that selregparam now evaluates the selection functionals for each alpha-value individually, so that the same function can be used for the different parameter search methods. However, the lr and lc methods require the fully evaluated alpha-range to work as they evaluate operators such as gradient and min/max. Currently, for each of these operators, a 0 is returned and subsequent division leads to a NaN functional value for each alpha.  Since the min/max functions in MATLAB return NaN without an error, the largest alpha-value in the evaluation was being selected as optimal.
A fix will follow ASAP.

Another important realization is, that L-curve methods are incompatible with a golden-search. The LR and LC criteria to determine the "elbow" of the L-curve requilre a fully evaluated and uniformly defined alpha-range. The golden-search selects the alpha values on the fly and cannot hence perform a search on a functional which changes depending on the evaluated alpha-values.
Therefore, I have isolated the L-curve methods as grid-search exclusive. If the user requests LR or LC with a golden-search, the program will prompt an error with a guide on how to properly setup the grid-search. Namely the error message reads:
The 'lr' and 'lc' selection methods are not compatible with the
golden-search algorithm. Use the option selregparam(...,'Search','grid')
to enable their use.

All tests are passing and running the script provided above by @stestoll  now returns similar optimal values of alpha.

@gjeschke to use the L-curve now, you need to call selregparam as follows:
alphaopt = selregparam(V,K,r,'tikh','lr','Search','grid');

Issue closed.


Fix minor errors shown on goreportcard

This just fixes a few of the things found in the latest goreportcard scan. All items are addressed except functions with high cyclomatic complexity.
@y0ssar1an @mbhinder @variadico @tw4dl

LGTM


I added a really cool gallery

I don't know if anyone has done this before, but I wanted to help, so I created a page that uses the https://image.pollinations.ai/feed interface to load images and display them, which can let people see other people's imaginations.
It's fun, the page is relatively simple, I didn't show the prompt words, I think it's pure and a standard gallery.
Here's the link:https://deng-xian-sheng.github.io/pollinations-img-page/
If you think this is useful, can you add it to the README or somewhere else?
I want more people to see how wonderful pollinations.ai is.

I changed the title to English Img Page

Added to our projects. Sorry for the delay.

Thank you


Add comments_yun

add comments for utils, semantics, metadata, web logs

@lewismc I followed this guide(https://github.com/mudrod/mudrod/wiki/Mudrod-Development-Workflow)  to create a new branch and finish step 8. It seems that I still directly commit to master. Could you please check it when you have time?

Did you send your pull request?

I did not send pull request yet

Well send the pull request e.g. in "Creating Pull Request" progress to Number 10. Once that is done you should be able to open a pull request.

@lewismc I can not find the new branch named "MUDROD-addcomment-yun" in github web page, however, I can find it in my github desktop tool.  Can I pull  request from "MUDROD-addcomment-yun" into master from git hub desktop tool?

If you are using the Github Desktop application please see
https://help.github.com/desktop/guides/contributing/sending-a-pull-request/
Thanks

@lewismc It seems that the pull request is automatically merged to the master, which is commit 6425a2f955353b8fcb2c8d85987dc9458f51f73e. Am I right?  If the branch is  automatically merged to the master, how can we check the format of code and make sure the continuous integration test successful before merging branch into master?

@lewismc It seems that the pull request is automatically merged to the master, which is commit 6425a2f. Am I right?

You are not creating branches correctly. Please read the link I posted above. You will need to learn this as it is important in using a source code management platform like Github. Thanks.

@lewismc  Thanks for your help. I will recreate a branch according to the guild later. Since I have directly submitted code to the master, do I need to reverse the commit in the master?

Not for the time being it is OK. Please create branches in the future so we can all review. Thank you


racedetail apiの追加

Codecov Report

Merging #21 (c7b2f68) into master (f0898d8) will decrease coverage by 0.22%.
The diff coverage is 97.76%.

@@            Coverage Diff             @@
##           master      #21      +/-   ##
==========================================
- Coverage   98.28%   98.05%   -0.23%
==========================================
  Files           7       12       +5
  Lines         175      309     +134
  Branches       23       41      +18
==========================================
+ Hits          172      303     +131
- Misses          0        2       +2
- Partials        3        4       +1

Impacted Files
Coverage Δ

src/get_racedetail.ts
93.33% <93.33%> (ø)

src/race_detail.ts
96.15% <96.15%> (ø)

src/entry_race_detail.ts
100.00% <100.00%> (ø)

src/race_detail_factory.ts
100.00% <100.00%> (ø)

src/result_race_detail.ts
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


"but these conflict with your requirements or minimum-stability"

Magento 2.2.2 problems with installing trough composer. What to do?
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for rubic/magento2-module-clean-checkout ^1.6 -> satisfiable by rubic/magento2-module-clean-checkout[1.6.0].
- rubic/magento2-module-clean-checkout 1.6.0 requires hybridauth/hybridauth ^3.0 -> satisfiable by hybridauth/hybridauth[3.0.x-dev, v3.0.0-beta.1, v3.0.0-beta.2, v3.0.0-beta.3, v3.0.0-beta.4, v3.0.0-rc.1, v3.0.0-rc.2, v3.0.0-rc.3] but these conflict with your requirements or minimum-stability.

Known issue, see this page for a (temporary) work around.


GetRows() returns empty slice

I can't get to iterate rows beacause GetRows() returns an empty slice. Here's the code.
	xlsx, err := excelize.OpenFile(filePath)
	if err != nil {
		panic(err)
	}

	hoja := xlsx.GetSheetName(1)
	log.Printf("Reading sheet %v\n", hoja)

	rows := xlsx.GetRows(hoja)
	log.Printf("Rows length: %v\n", len(rows))
	log.Printf("Rows: %v\n", rows)

Output:
2017/11/28 10:22:24 Reading sheet Productos
2017/11/28 10:22:24 Rows length: 0
2017/11/28 10:22:24 Rows: []

I'm adding the file to recreate the situation.
productos.xlsx
go version go1.9 linux/amd64
Thanks!

I have tested that and it works well. Please try upgrade library to the last version by go get -u github.com/xuri/excelize

Yes you are rigtht!
I had updated the package, but I had forgotten to update the dependency in the vendor directory.
Thanks!


feat(blesta 5.2): initial revamp

BREAKING CHANGE: Reviewed to be compatible with Blesta 5.2.

:tada: This PR is included in version 2.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Obtain image after scan

Is it possible to obtain the image of the barcode, along with the extracted text?

No, not at this moment. What use case do you need this for exactly?

You can print it with another plugin.
I use ngx-barcode6  to print as hidden canvas and parse it to dataUrl

You can print it with another plugin.
I use ngx-barcode6 to print as hidden canvas and parse it to dataUrl

What if QRCode have been scanned? it'll fail?

What if QRCode have been scanned? it'll fail?

By default it shows barcodes as GS1 CODE-128, check it on his github page.
If you need show qr codes I think you need add other plugin for render it, but like ngx-qrcode that works similar too.

So if I understand correctly you want to generate a QR-code? I think that is outside the scope of this package. There already are several good QR generator libraries for JavaScript. To name a few:

https://github.com/davidshimjs/qrcodejs
https://github.com/soldair/node-qrcode
https://github.com/kciter/qart.js
https://github.com/kazuhikoarase/qrcode-generator
https://github.com/SumiMakito/Awesome-qr.js
https://github.com/fengyuanchen/vue-qrcode (for Vue.js only)
https://github.com/kozakdenys/qr-code-styling (not very popular, but has some nice styling options)

Since there was no activity for a long time here and we are not really sure if the goal is to get an image of the last scanned code or to generate a qr code I will close this issue since I am currently trying to clean up the repo/PRs/issues.
If this is still an issue for anyone of you please open a new issue! Thanks!


Add the ability to reference cameras by bus/device rather than serial

Currently, the only way to reference cameras in the Camera module is to provide their serial number.
This change allows them to be defined by USB bus and device numbers.
This way you can swap cameras around between robots and so long as they are plugged into the same ports they will work without updating serial numbers.
Fixes #1200

Would require actually having the cameras plugged into the left and right port 😛 Would be much more convenient if you could look for the nose or do some calibration at startup to determine left and rightness based on an image.
The camera cables are nontrivial to know leftness and rightness just by looking at them


Delete _unitedNations

Doesn't belong in an upper ontology, and if someone needs to reference an external URI can be used.
I'm calling this a patch because we could consider its inclusion an error, in a sense. It's a debatable point, however.

Impacts #71

Dave defined this entity in order to define CountryGovernment as having to be recognized by the UN.
Discussion:

There are many different ways to define what a country is
We don't want to take a political stance that the UN is the authoritative source of what a country is.
Same comment about ISO-3166

We will run this by Dave before deleting. If we don't delete, then consider #71.

Remove class CountryGovernment and _unitedNations
Remove _unitedNations and keep class CountryGovernment without the existing recognizedBy restriction
Keep CountryGovernment and have a cardinality restriction of 1 on recognizedBy and recognizedBy some Organization. Remove _unitedNations. Client ontologies can subclass with their desired recognizing body.

Decision: #3.

@DanCarey404 I am putting the status back to in review because @uscholdm  had some comments that didn't get expressed at the meeting:
If we change the restriction to be recognizedBy some organization, then we cannot use equivalenceClass. That would mean any organization at all (for example Seattle City Council) could recognize an entity and it would be a Country.
Anyway, there is no semantics for recognizedBy, not even an annotation. So Dave wanting an unambiguous definition for CountryGovernment is not satisfied anyway, except superficially and misleadingly. It gives the impression of actual meaning w/o having actual meaning.
Also this will be circular anyway, since recognizedBy in this context really means recognized AS A COUNTRY.

recognizedBy does have a definition, it's recognizes that doesn't. That definition is nevertheless not very enlightening, but at a minimum we could reverse it and add it to recognizes.
	<owl:ObjectProperty rdf:about="&gist;recognizedBy">
		<rdfs:label rdf:datatype="&xsd;string">Recognized By</rdfs:label>
		<rdfs:comment rdf:datatype="&xsd;string">The entity that formally acknowledges the existence of, as the State recognizes the existence of a particular company</rdfs:comment>
		<rdfs:range>
			<owl:Class>
				<owl:unionOf rdf:parseType="Collection">
					<rdf:Description rdf:about="&gist;Person">
					</rdf:Description>
					<rdf:Description rdf:about="&gist;Organization">
					</rdf:Description>
				</owl:unionOf>
			</owl:Class>
		</rdfs:range>
		<owl:inverseOf rdf:resource="&gist;recognizes"/>
	</owl:ObjectProperty>

	<owl:ObjectProperty rdf:about="&gist;recognizes">
		<rdfs:label rdf:datatype="&xsd;string">Recognizes</rdfs:label>
		<rdfs:comment rdf:datatype="&xsd;string">Recognizes</rdfs:comment>
	</owl:ObjectProperty>

Oh yes. Do we have a style convention for whether we attach definitions to both the property and its inverse? Not a bad idea. Alternative is to have the definition on just one and for the othere have the definition just say "inverse of property P"

I think annotations should go on both. That's something we should consider in #253. Recall, we don't yet have any style conventions for anything other than the bare bones in the style guide, which includes just local names and labels at this point.

Proposal: make recognition a necessary but not sufficient restriction for something being a CountryGovernment. Remove _unitedNations.

Dan: Dave had no particular view.
DECISION: Keep CountryGovernment and have a cardinality restriction of 1 on recognizedBy and recognizedBy some Organization. Remove _unitedNations. Client ontologies can subclass with their desired recognizing body.


python-client could do with a "ready" event of some kind.

I have been burned a bit by trying to do too much in the @neovim.plugin class's __init__ function. If I start a thread loop it locks up during a :UpdateRemotePlugins call. If I lock up the vim ui with a prompt during __init__ and events come in there are python errors because handlers haven't finished registering. It would be nice if there were some kind of ready event specific to the python-client to let me know when I could start things off. Right now I have changed our plugin to not attempt to do anything until the user runs one of our functions, but if I wanted to automatically start some kind of async process it's not clear to me when I should do that.
I would also recommend if such a thing as a ready event is created,  that this event doesn't fire in the case of the :UpdateRemotePlugins function which I think seems to create instances of the plugins. I'm not sure it does actually, I see RegistrationCommands creates a host clone, and that might be creating instances of the plugin in cases I didn't expect it to.

By the current design, nothing should happen before a handler is called. If really neccessary, have a call in plugin/myplugin.vim.


how do I get the 2018-19 results

When I clone the repo and run
sportdb new en
It does not add the 2018-19 results or anything past 2010.
Is it possible to get these results?
I have tried changing ./setups/all.txt to:
##################
# All Fixtures

# - Leagues
eng-england!/leagues

# - Clubs
eng-england!/clubs/1-premierleague
eng-england!/clubs/2-championship
eng-england!/clubs/wales
eng-england!/clubs/more

# - Fixtures
eng-england!/2018-19/1-premierleague.conf
eng-england!/2018-19/1-premierleague

eng-england!/2017-18/1-premierleague.conf
eng-england!/2017-18/1-premierleague

eng-england!/2016-17/1-premierleague.conf
eng-england!/2016-17/1-premierleague

eng-england!/2015-16/1-premierleague.conf
eng-england!/2015-16/1-premierleague

eng-england!/2014-15/1-premierleague.conf
eng-england!/2014-15/1-premierleague

eng-england!/2013-14/1-premierleague.conf
eng-england!/2013-14/1-premierleague

eng-england!/2012-13/1-premierleague.conf
eng-england!/2012-13/1-premierleague

eng-england!/2011-12/1-premierleague.conf
eng-england!/2011-12/1-premierleague

eng-england!/2010-11/1-premierleague.conf
eng-england!/2010-11/1-premierleague

eng-england!/2009-10/1-premierleague.conf
eng-england!/2009-10/1-premierleague

eng-england!/2008-09/1-premierleague.conf
eng-england!/2008-09/1-premierleague

eng-england!/2007-08/1-premierleague.conf
eng-england!/2007-08/1-premierleague

eng-england!/2006-07/1-premierleague.conf
eng-england!/2006-07/1-premierleague

eng-england!/2005-06/1-premierleague.conf
eng-england!/2005-06/1-premierleague

eng-england!/2004-05/1-premierleague.conf
eng-england!/2004-05/1-premierleague

eng-england!/2003-04/1-premierleague.conf
eng-england!/2003-04/1-premierleague

eng-england!/2002-03/1-premierleague.conf
eng-england!/2002-03/1-premierleague

eng-england!/2001-02/1-premierleague.conf
eng-england!/2001-02/1-premierleague

eng-england!/2000-01/1-premierleague.conf
eng-england!/2000-01/1-premierleague

eng-england!/1999-00/1-premierleague.conf
eng-england!/1999-00/1-premierleague

eng-england!/1998-99/1-premierleague.conf
eng-england!/1998-99/1-premierleague

but this is not working

Thanks for trying football.db. Please post your "How do I get ..." questions to the mailing list ->http://groups.google.com/group/opensport.  There's nobody here on this github tracker.


Add a VPN Connection watcher and auditor

VPN connections will now be monitored and audited. The following attributes are collected (beyond the basics):

Type
State
Tunnels

Status (up/down)
Route Count
Outside IP
Last Status Change
Status Message

VPN Gateway ID
Customer Gateway ID

Also included is an auditor that will check for tunnels whose status is not UP, and a test file.
New IAM permissions are needed for this change:
ec2:DescribeVpnConnections

This might not be testable without another peer VPN to connect to. :-/

@mikegrima - What should we do for a test here?
Does moto have support?

Not sure if moto has support or not (you can try?).
If not, there's always the stubber: http://botocore.readthedocs.io/en/latest/reference/stubber.html

Adding needs work label as the test is failing.
Possible Solutions:

Mock out the service
Delete the test

Also worth considering:

We're starting to move watchers out of the security_monkey code base and into the cloudaux library.

Coverage decreased (-0.2%) to 63.697% when pulling c72e1eceab465dadc7a12081a110cd39c868a0b0 on AlexCline:vpn into 81d852f5c170b3e5b7f26a5c95bb90eea34c95ee on Netflix:develop.

Thanks.  I'll merge this in and add ec2:DescribeVpnConnections to the docs.


Merge this README to our wechaty-puppet-mock ?

I'd like to suggest that we move the doc from this repo to our official mock system of the wechaty puppet.
And we can continue to develop the mock system over there, then this repo could be closed.
See

Wechaty Puppet Mocker: https://github.com/wechaty/wechaty-puppet-mock#mocker
Wechaty createFixture() helper function: https://github.com/wechaty/wechaty/issues/2022

Today I found that we need a new module wechaty-mocker, so I reuse this repo: renamed it to wechaty-mocker.


Setup jest and add some tests

This PR adds a Jest config to the project and some minor tests. This also updates the build CI to run and upload tests to Codecov.

[X] New feature (non-breaking change which adds functionality)
[X] I have included unit tests
[X] I have updated and/or included new integration tests
[X] I have updated and/or included new end-to-end tests
[X] I have performed a self-review of my code

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@ffa2132). Click here to learn what that means.
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #27   +/-   ##
=======================================
  Coverage        ?   56.54%
=======================================
  Files           ?       20
  Lines           ?     2736
  Branches        ?       67
=======================================
  Hits            ?     1547
  Misses          ?     1189
  Partials        ?        0

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.


Fails to build on arm64

This is because client/disk/disk.go uses Dup2 which is not available on arm64 - see https://github.com/golang/go/issues/11981
Possibly Dup3 can be used instead, not sure though.
See also https://buildd.debian.org/status/package.php?p=pond&suite=experimental

Appears dup3 could work.
Interesting Android does not have this issue :  https://github.com/agl/pond/issues/119


Ferdi wants to export "com.apple.identities" from your keychain

Periodically, with no predictable time frame, Ferdi will freeze with a spinning beach ball and a popup will appear:
'Ferdi wants to export "com.apple.identities" from your keychain'
I'm definitely not interested in granting Ferdi access to my admin login so I fill in my password and click "Deny".

There are no observable steps to reproduce this.  It just happens.

I can't.

Screenshots

Environment:

Operating System: MacOS 11.2.1 (Big Sur)

Ferdi Version: 5.5.0 (<IP_ADDRESS>6)

Server: Using without an account

Debug information:

{"host":{"platform":"darwin","release":"20.3.0","screens":[{"id":441049458,"bounds":{"x":0,"y":0,"width":2560,"height":1440},"workArea":{"x":0,"y":25,"width":2560,"height":1330},"accelerometerSupport":"unknown","monochrome":false,"colorDepth":24,"colorSpace":"{primaries_d50_referred: [[0.6693, 0.3290],  [0.3283, 0.6204],  [0.1558, 0.0400]], transfer:0.0777x + 0.0000 if x < 0.0450 else (0.9495x + 0.0495)2.3955 + 0.0003, matrix:RGB, range:FULL}","depthPerComponent":8,"size":{"width":2560,"height":1440},"workAreaSize":{"width":2560,"height":1330},"scaleFactor":1,"rotation":0,"internal":false,"touchSupport":"unknown"},{"id":441041724,"bounds":{"x":-2560,"y":0,"width":2560,"height":1440},"workArea":{"x":-2560,"y":25,"width":2560,"height":1415},"accelerometerSupport":"unknown","monochrome":false,"colorDepth":24,"colorSpace":"{primaries_d50_referred: [[0.6693, 0.3290],  [0.3283, 0.6204],  [0.1558, 0.0400]], transfer:0.0777x + 0.0000 if x < 0.0450 else (0.9495x + 0.0495)2.3955 + 0.0003, matrix:RGB, range:FULL}","depthPerComponent":8,"size":{"width":2560,"height":1440},"workAreaSize":{"width":2560,"height":1415},"scaleFactor":1,"rotation":0,"internal":false,"touchSupport":"unknown"}]},"ferdi":{"version":"5.5.0","electron":"8.2.3","installedRecipes":[{"id":"facebook","version":"1.0.1"},{"id":"hangouts","version":"1.0.2"},{"id":"messenger","version":"1.1.0"},{"id":"skype","version":"1.3.0"},{"id":"whatsapp","version":"2.0.3"},{}],"devRecipes":[],"services":[{"id":"1781ad30-7fe2-46df-bbcd-aed56bddb5af","recipe":"hangouts","isAttached":true,"isActive":false,"isEnabled":true,"isHibernating":false,"hasCrashed":false,"isDarkModeEnabled":false},{"id":"7a3767cb-eadd-493b-ac31-2dad8e72fb2b","recipe":"hangouts","isAttached":true,"isActive":true,"isEnabled":true,"isHibernating":false,"hasCrashed":false,"isDarkModeEnabled":false},{"id":"e6858ce1-ed70-400f-ba09-71f07e522dcc","recipe":"messenger","isAttached":true,"isActive":false,"isEnabled":true,"isHibernating":false,"hasCrashed":false,"isDarkModeEnabled":false},{"id":"616de625-a7c1-4182-90fb-9158c930f4db","recipe":"whatsapp","isAttached":true,"isActive":false,"isEnabled":true,"isHibernating":false,"hasCrashed":false,"isDarkModeEnabled":false},{"id":"c6c6a9fa-d655-49f6-bad0-23fac11fcb05","recipe":"skype","isAttached":true,"isActive":false,"isEnabled":true,"isHibernating":false,"hasCrashed":false,"isDarkModeEnabled":false},{"id":"fdbb355d-8eb4-4936-9fed-fb2a9cc85fd7","recipe":"facebook","isAttached":false,"isActive":false,"isEnabled":false,"isHibernating":false,"hasCrashed":false,"isDarkModeEnabled":false}],"messages":[{"type":"error","info":["error","[mobx] Encountered an uncaught exception that was thrown by a reaction or observer component, in: 'Reaction[Autorun@160]'",{}]},{"type":"error","request":{"result":null,"wasExecuted":true,"method":"getInfo"},"error":{},"response":{},"server":"https://api.getferdi.com"},{"type":"error","request":{"result":null,"wasExecuted":true,"method":"features"},"error":{},"response":{},"server":"https://api.getferdi.com"},{"type":"error","request":{"result":null,"wasExecuted":true,"method":"all"},"error":{},"response":{},"server":"https://api.getferdi.com"}],"workspaces":[],"windowSettings":{"width":962,"height":1047,"x":-981,"y":28,"displayBounds":{"x":-2560,"y":0,"width":2560,"height":1440},"isMaximized":false,"isFullScreen":false},"settings":{"autoLaunchInBackground":false,"runInBackground":true,"reloadAfterResume":true,"enableSystemTray":true,"startMinimized":false,"minimizeToSystemTray":false,"privateNotifications":false,"showDisabledServices":true,"showMessageBadgeWhenMuted":true,"showDragArea":false,"enableSpellchecking":true,"spellcheckerLanguage":"en-us","darkMode":false,"locale":"en-US","fallbackLocale":"en-US","beta":false,"isAppMuted":false,"enableGPUAcceleration":true,"serviceLimit":5,"server":"https://api.getferdi.com","predefinedTodoServer":"https://app.franztodos.com","autohideMenuBar":false,"lockingFeatureEnabled":false,"locked":false,"lockedPassword":"**","useTouchIdToUnlock":true,"scheduledDNDEnabled":false,"scheduledDNDStart":"17:00","scheduledDNDEnd":"09:00","hibernate":false,"hibernateOnStartup":true,"hibernationStrategy":300,"inactivityLock":0,"automaticUpdates":true,"showServiceNavigationBar":false,"universalDarkMode":true,"adaptableDarkMode":true,"accentColor":"#7367f0","serviceRibbonWidth":68,"iconSize":20,"sentry":false,"navigationBarBehaviour":"never","todoServer":"isUsingCustomTodoService"},"features":{"isSpellcheckerIncludedInCurrentPlan":true,"needToWaitToProceed":false,"needToWaitToProceedConfig":{"delayOffset":3600000,"wait":10000},"isServiceProxyEnabled":true,"isServiceProxyIncludedInCurrentPlan":true,"isAnnouncementsEnabled":true,"isWorkspaceIncludedInCurrentPlan":true,"isWorkspaceEnabled":true,"isCommunityRecipesIncludedInCurrentPlan":true,"isSpellcheckerPremiumFeature":false,"isServiceProxyPremiumFeature":true,"isWorkspacePremiumFeature":false,"isSettingsWSEnabled":false,"isServiceLimitEnabled":false,"serviceLimitCount":0,"isCommunityRecipesPremiumFeature":false,"isCustomUrlIncludedInCurrentPlan":true,"isMagicBarEnabled":true,"isTeamManagementIncludedInCurrentPlan":true,"isTodosEnabled":true,"isTodosIncludedInCurrentPlan":true,"defaultTrialPlan":"franz-pro-yearly","subscribeURL":"https://getferdi.com","planSelectionURL":"https://getferdi.com","hasInlineCheckout":true,"isPlanSelectionEnabled":false,"isTrialStatusBarEnabled":false,"canSkipTrial":true,"pricingConfig":{"currency":"$","currencyID":"USD","plans":{"personal":{"monthly":{"id":"ferdi-free","price":0,"billed":0},"yearly":{"id":"ferdi-completely-free","price":0,"billed":0}},"pro":{"monthly":{"id":"ferdi-still-free","price":0,"billed":0},"yearly":{"id":"ferdi-forever-free","price":0,"billed":0}}}}},"user":"82c1cf9d-ab58-4da2-b55e-aaa41d2142d8"}}

Hey @steve-manes, can you still reproduce this with the latest nightly from: https://github.com/getferdi/nightlies/releases ?

I have not.
On 9/2/21 4:23 PM, Markus Hatvan wrote:

Hey @steve-manes https://github.com/steve-manes, can you still
reproduce this with the latest nightly from:
https://github.com/getferdi/nightlies/releases
https://github.com/getferdi/nightlies/releases ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/getferdi/ferdi/issues/1226#issuecomment-912027928,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOL5V2IHMTCD7SHK5N3ND2DT77MNHANCNFSM4YNRFBKQ.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


Restore semimajor axis as shape parameter

Closes #62. For reference:

I find myself never dealing with parabolic orbits, yet I introduced this change and I find it extremely annoying for the remaining 100 % of my use cases.

See https://github.com/poliastro/poliastro/wiki/Parabolic-orbits:-final-decision for rationale.

Current coverage is 82.56%

Merging #106 into master will increase coverage by +0.03% as of be3da3d

@@            master    #106   diff @@
======================================
  Files           19      19
  Stmts          687     694     +7
  Branches        56      57     +1
  Methods          0       0
======================================
+ Hit            567     573     +6
  Partial         18      18
- Missed         102     103     +1

Review entire Coverage Diff as of be3da3d

Powered by Codecov. Updated on successful CI builds.

The build is red because QuantifiedCode is making one recommendation. Merging anyway.


Support for node-rest-client's registerMethod is missing

Greetings. I’ve tried out node-rest-client-promise but found I need to be able to use the registerMethod functionality in node-rest-client. If this were ever added to node-rest-client-promise I’d be grateful

This method is supported as registerMethodPromise in the latest version 3.1.0. Could you please test, if it meeds your requirements?

Will do.  Thanks.

I have confirmed that registerMethodPromise works in version 3.1.0.  It would probably be helpful to have some additional documentation on usage though, particularly for people just skimming the README.

Did just that. Thanks everybody.


Organise the "Show" toggles at the top of the canvas to a "View" menu.

Logging an issue for a discussion we had in #200, where it was suggested that moving all the different "Show x" toggles from the top of the canvas to a separate menu item may help prevent people accidentally clicking on it and not realising.
These toggles would nicely organise under a "View" menu, e.g:
View ->

[x] Show Grid
[ ] Show Labels
[ ] Show Icons
[x] Show True Influence Range
[x] Show Influences

Should all toggles been moved to the View menu or should several toggles also stay on top of the canvas (e.g. ShowInfluences) for faster access?
So a toggle can be available in both places (menu and on top) and is automatically synchronized.


Unfair producer pay, depending on claim reward sequence

The current producer pay model will result in an unfair situation as follows:
assume 21 producers have the same votes, producing for some days and they start to claim rewards in the same block in the following sequence:
prod A claims, prod B claims, prod C claims, ...
Then A will get the biggest rewards, B will get the second biggest rewards, C will get less, and so on. The rewards are reducing per producer.
If we change the sequence to [C, B, A...], then C will get the biggest rewards.
Please refer to test case multiple_producer_pay_unfair in pull request https://github.com/EOSIO/eos/pull/2950

We are aware of this effect. There may be instances where things are a bit "unfair", but averaged out over the long term it shouldn't be too bad.
I am marking this as wontfix. PR #2950 has already been merged in, but we will be removing the multiple_producer_pay_unfair test case.


Working on documentation

Updating readme
Adding makefile tasks to copy docs

@goyox86

Current coverage is 93.46% (diff: 100%)

Merging #47 into updating-constructors-and-errors will not change coverage

@@           updating-constructors-and-errors        #47   diff @@
==================================================================
  Files                                    38         38
  Lines                                  3151       3151
  Methods                                   0          0
  Messages                                  0          0
  Branches                                  0          0
==================================================================
  Hits                                   2945       2945
  Misses                                  206        206
  Partials                                  0          0

Powered by Codecov. Last update 0eb45ad...2a2c2aa

Merging this


PEverify issues using 2.10.0+ NuGet versions of OpenXml

Description
OpenXML NuGet libraries with version 2.10.0 and upwards fail PEverify.
Information

DocumentFormat.OpenXml Version: 2.10.0 and upwards
Microsoft (R) .NET Framework PE Verifier.  Version  4.0.30319.0

Repro
Run PEverify (available in Developer Command Prompt for VS, I'm using 2019 version) on DocumentFormat.OpenXML.dll
Observed
peverify DocumentFormat.OpenXml.dll

Microsoft (R) .NET Framework PE Verifier.  Version  4.0.30319.0
Copyright (c) Microsoft Corporation.  All rights reserved.

[IL]: Error: [C:\Project\bin\Debug\DocumentFormat.OpenXml.dll : DocumentFormat.OpenXml.Framework.ElementPropertyCollection`1[T]::get_Length][offset 0x00000001] Cannot change initonly field outside its .ctor.
[IL]: Error: [C:\Project\bin\Debug\DocumentFormat.OpenXml.dll : DocumentFormat.OpenXml.Framework.ElementPropertyCollection`1[T]::GetIndex][offset 0x00000044] Cannot change initonly field outside its .ctor.
[IL]: Error: [C:\Project\bin\Debug\DocumentFormat.OpenXml.dll : DocumentFormat.OpenXml.Framework.ValidatorCollection::GetEnumerator][offset 0x00000001] Cannot change initonly field outside its .ctor.
[IL]: Error: [C:\Project\bin\Debug\DocumentFormat.OpenXml.dll : DocumentFormat.OpenXml.Framework.ElementPropertyCollection`1+Enumerator[T]::get_Current][offset 0x00000001] Cannot change initonly field outside its .ctor.
[IL]: Error: [C:\Project\bin\Debug\DocumentFormat.OpenXml.dll : DocumentFormat.OpenXml.Framework.ElementPropertyCollection`1+Enumerator[T]::MoveNext][offset 0x00000012] Cannot change initonly field outside its .ctor.
[IL]: Error: [C:\Project\bin\Debug\DocumentFormat.OpenXml.dll : DocumentFormat.OpenXml.Framework.ElementPropertyCollection`1+PropertyEntry[T]::get_Property][offset 0x00000001] Cannot change initonly field outside its .ctor.
[IL]: Error: [C:\Project\bin\Debug\DocumentFormat.OpenXml.dll : DocumentFormat.OpenXml.Framework.ElementPropertyCollection`1+PropertyEntry[T]::get_Value][offset 0x00000001] Cannot change initonly field outside its .ctor.
[IL]: Error: [C:\Project\bin\Debug\DocumentFormat.OpenXml.dll : DocumentFormat.OpenXml.Framework.ElementPropertyCollection`1+PropertyEntry[T]::SetValue][offset 0x00000001] Cannot change initonly field outside its .ctor.
8 Error(s) Verifying DocumentFormat.OpenXml.dll

While the library works fine in simple console applications / libraries, I found it will fail to work when ILmerged into MS CRM Sandbox (which is running on partial trust towards external DLLs), which is what led me to check the DLL using PEverify. Previous version (2.9.1 and earlier) don't have PEverify errors and their usage in MS CRM Sandbox doesn't cause issues.
Expected
PEverify should not show any errors. DLL should be usable after ILmerge in MS CRM Sandbox (partial trust env).

@Szaamaan thanks for the issue. This is due to using readonly structs internally. Appears there was an issue discussing this https://github.com/dotnet/roslyn/issues/22485.
It appears this can cause issues in partial trust so apparently it's a breaking change. What framework version are you running? I'll add the compat flag to .NET Framework builds (partial trust doesn't exist on Core so standard versions don't need it)

I was using .NET 4.6.2 (I think; might have been 4.5.2). As per the description, I was having issues actually getting the DLL to run in MS CRM Sandbox after using ILMerge to make a single library (common way of getting external libraries when creating MS CRM plugins), so I'm not 100% clear if the specific framework version I was using matters or if it's more of an issue with ILmerge not working fine with these PEverify issues.

Yes, it matters, as we also support .NET Core, etc and just wanted to make sure this is only on .NET Framework. I have a fix for this to ensure compat with PEVerify on framework builds.

According to the Roslyn bug, this can be hit in partial trust. ILMerge is kind of best effort and can cause it's own bugs that we're probably not in a place to fully test. If this is due to ILMerge, we'd need to look down a different path. However, the errors you're seeing are also visible without IL merge, so once the merge is in, you can grab the CI build and give it a try.

@Szaamaan Can you verify that your process works with the latest builds that have peverify compat enabled? Use the CI feed described in the README, and you'll need at least v2.11.1-ci.7

@twsouthwick The CI version you linked works fine after ILmerging. :)

Perfect! Yeah, this issue is a known one for partial trust apparently. If we had the ACPTA attribute in the assembly it would have compiled fine, but thankfully there is a compat switch for peverify. We'll get that released to NuGet soon. Thanks for verifying!


Major release v2 can't be imported properly

I wasn't able to import the latest version of ckb-sdk-go into my project. I get the following error
require github.com/nervosnetwork/ckb-sdk-go: version "v2.0.1" invalid: should be v0 or v1, not v2
Listing valid versions doesn't include any v2 versions
go list -m -versions github.com/nervosnetwork/ckb-sdk-go
github.com/nervosnetwork/ckb-sdk-go v0.1.0 v0.2.0 v0.2.1 v0.3.0 v0.41.0 v0.42.0 v0.43.0 v0.43.1 v0.43.2-rc.1 v0.43.2 v0.43.3-beta.1 v0.100.0-beta.1 v0.100.0-beta.2 v0.101.0-beta.1 v0.101.0-beta.2 v0.101.1 v0.101.2 v0.101.3 v0.101.4 v0.101.5 v0.101.6 v1.0.0 v1.0.1 v1.0.2 v1.0.3 v1.0.4

I believe the issue is that Golang requires libraries to modify module path or add subdirectory when releasing major versions.
https://github.com/golang/go/wiki/Modules#releasing-modules-v2-or-higher

Thanks for reporting. We will fix it in the next release.

We have fixed it in release 2.0.2

Hi @fjchen7,
I still get the error for release 2.0.2
go: errors parsing go.mod: <PATH>: require github.com/nervosnetwork/ckb-sdk-go: version "v2.0.2" invalid: should be v0 or v1, not v2

Try 'require github.com/nervosnetwork/ckb-sdk-go/v2'

@fjchen7 what do mean?
On go.mod I have something like:
require (
	github.com/nervosnetwork/ckb-sdk-go/v2 v2.0.2
	github.com/nervosnetwork/ckb-sdk-go v2.0.2+incompatible
)

?

You should remove github.com/nervosnetwork/ckb-sdk-go v2.0.2+incompatible.


Upgrade to pillow 5.2.0

Pillow ≥ 5.1.0 ships Python 3.7 wheels for Windows but requirements.txt is requiring to install Pillow 5.0.0 because django-versatileimagefield is still blocking the upgrade. Because of that, some Windows users have issues installing Pillow as they have to compile from sources because of that.
I opened https://github.com/respondcreate/django-versatileimagefield/pull/131 a while ago to fix that issue but the project doesn't seem to be alive. How should we handle this issue? Should we force the installation of Pillow 5.2.0?

Given that we try to avoid cropping merchandise photos I'd consider the pros and cons of dropping the ability to specify focus points and switching to another thumbnailing solution.


[Event Request] Codeunit 1000 - "Job Calculate WIP" - OnJobTaskCalcWIPLoopOnAfterCalcFields

Dear ALAppExtensions team,
through this issue we would like to request adding a new event publisher OnJobTaskCalcWIPLoopOnAfterCalcFields  in Codeunit 1000 "Job Calculate WIP" with the following signature:
local procedure OnJobTaskCalcWIPLoopOnAfterCalcFields(var JobTask: Record "Job Task")
begin
end;

which would be called as follows in JobTaskCalcWIP:
local procedure JobTaskCalcWIP(var Job: Record Job; FromJobTask: Code[20]; ToJobTask: Code[20])
var
    AccruedCostsJobTask: Record "Job Task";
    AccruedCostsJobWIPTotal: Record "Job WIP Total";
    JobTask: Record "Job Task";
    JobWIPTotal: Record "Job WIP Total";
    JobWIPWarning: Record "Job WIP Warning";
    RecognizedCostAmount: Decimal;
    UsageTotalCost: Decimal;
begin
    JobTask.SetRange("Job No.", Job."No.");
    JobTask.SetRange("Job Task No.", FromJobTask, ToJobTask);
    JobTask.SetFilter("WIP-Total", '<> %1', JobTask."WIP-Total"::Excluded);
    if Job.GetFilter("Posting Date Filter") <> '' then
        JobTask.SetFilter("Posting Date Filter", Job.GetFilter("Posting Date Filter"))
    else
        JobTask.SetFilter("Posting Date Filter", StrSubstNo(Text005, WIPPostingDate));
    JobTask.SetFilter("Planning Date Filter", Job.GetFilter("Planning Date Filter"));
    CreateJobWIPTotal(JobTask, JobWIPTotal);
    if JobTask.Find('-') then
        repeat
            if JobTask."Job Task Type" = JobTask."Job Task Type"::Posting then begin
                JobTask.CalcFields(
                  "Schedule (Total Cost)",
                  "Schedule (Total Price)",
                  "Usage (Total Cost)",
                  "Usage (Total Price)",
                  "Contract (Total Cost)",
                  "Contract (Total Price)",
                  "Contract (Invoiced Price)",
                  "Contract (Invoiced Cost)");
                // >>>> New >>>>>>>>>>>>>>>>
                OnJobTaskCalcWIPLoopOnAfterCalcFields(JobTask);
                // <<<< New <<<<<<<<<<<<<<<<
                CalcWIP(JobTask, JobWIPTotal);
                JobTask.Modify();
...
end

Thanks in advance!

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 10804.


Add traversal ancestor node

The forum link is as follows: https://forum.babylonjs.com/t/traverse-ancestor-nodes/32492
Now, only the child nodes are traversed. If the parent node is not traversed, it is recommended to increase the traversal of the parent node. To query the reference of a parent node

Hello, please keep the discussion on the forum  :)


Llama 3.2

Is loading Llama 3.2 model variants already possible with the current implementation? It would be amazing to potentially utilize smaller Llama 3.2 variants on mobile :) Thanks!

Adding support for 3.2 text model variants should be relatively straightforward with the current implementation 🙂
Just haven't had the time to do so yet. Will try to do it in the coming week!


Big server copying

When copying a large server and all its messages the tool gets stuck on like 1 fifth of all the messages then it just freezes.

send invite


[811] Match feedback array items regardless of order

Trello card URL:
https://trello.com/c/7xii0viN/811-intermittent-test-failure-for-feedback
Changes in this PR:
From the failure output it looks like the arrays are in different orders which would result in a failure.
expect([1,2,3,4]).to eq([4,3,1,2]) #failure

However we can use the match_array matcher to match the items of the array match regardless of order.
expect([1,2,3,4]).to match_array([4,3,1,2]) #pass

I don't think the order matters in this spec so it should be fine.

 Intermittent test failure for Feedback?


Error when compiling, do you need a C environment?

I'm trying to compile and I noticed that we can compile in a few ways. But this could be easier.
Without the visual studio tools environment installed, the compilation does not occur, generating failures and strange warnings, would this be correct? Do you need the Visual studio environment?

What environment do you need to cleanly compile the examples? which path should be inserted?
I tried to compile the example HelloWord.

Using the visual developer prompt works.

Trying to compile outside the root helloword path generates a permissions error. Would this be correct or do we need adjustments to be able to compile in any directory?

The compiler is in the path and helloworld is in another directory and the code was not compiled.

Hello, Can you help answer some questions about PATH, Environment and compilation outside the CX compiler directory?


Bounding ElectionProvider

This replaces #11229
Implements Step 1 of #9511
@kianenigma

Polkadot companion: paritytech/polkadot#5351

Polkadot address: 131dPecTmpTC1p1ofemufqFBJo9vNbV7dkgN7vWwKnaSMkC4

The main thing that I see missing is:
We are thinking of actually setting a MaxBackersPerWinner (e.g. 2048) enforcing it. This means that we 100% need that SortIntoBoundedSupports, and most importantly, the miner code (unisgned.rs) should use it.
We might need to play a bit of game here to allow the Miner to configure its behavior. Doing SortIntoBoundedSupports might be too expensive in the offchain worker miner context, but the signed staking-miner 100% need this.

I have rebased it off master in #11499


Images preview problem

Hi, could you fix this image's preview issue, please? Or maybe write how to set a custom default image icon.

Posible the problem is this https://easy-email-m-ryan.vercel.app/images/06ca521d-9728-4de6-a709-1b75a828bfc3-2a9b1224-3d71-43b8-b52f-e7cdcdc9107b.png   png. Could you add this image as static to lib? It is be very helpful

Check here https://github.com/zalify/easy-email/issues/150

Yep, all good now. Thanks m-Ryan!


OP-290 Create command result is dict type => object

Coverage remained the same at 100.0% when pulling ab54598f98d9936dfc4ec8db9ecd20c6448a7843 on OP-290-create-command-produces-dict into a99a56d7461486517a56d4653d701b5b69be6c7a on master.

Coverage remained the same at 100.0% when pulling d2a5386b83eb38444c6440e45fb40a40f508a209 on OP-290-create-command-produces-dict into a99a56d7461486517a56d4653d701b5b69be6c7a on master.

Coverage remained the same at 100.0% when pulling b82f6bc99ea94974734a7e733e6006ae3ad14039 on OP-290-create-command-produces-dict into a99a56d7461486517a56d4653d701b5b69be6c7a on master.


Stop posting on medium

Hi FlutterTeam
Im learning the new navigator in this page https://flutter.dev/docs/development/ui/navigation, which has this link https://medium.com/flutter/learning-flutters-new-navigation-and-routing-system-7c9068155ade
The issue is that medium implemented a paywall and devs cant see the content of the new navigator api
How can we devs learn about the new features if theres a paywall ?
Is this a planned decision ?
Thx

@jpkontreras, I manage the Flutter publication on Medium and our policy is to NOT put any content behind the paywall. Are you sure it's behind the paywall?

@jpkontreras, here is something you might find useful. I've created the graphic to show you the difference between a metered article and a non-metered article. The presence of a star indicates that the article is metered (behind the paywall).


article.all and article.find return hashed password and salt transmition

when you require an article the full User is transmit into the json also with the salt and the hashed password
to secure the return value it could be possible to change the line 16 with
db.Article.find({ where: {id: id}, include: [{model:db.User, attributes:['id','username']}]}).then(function(article){

and the line 101 into
db.Article.findAll({include: [{model:db.User, attributes: ['id','username']}]}).then(function(articles){

in the file controllers/articles.js

Feel free to send a PR


NPM warns about a vulnerability in semver

When installing async-listener then running npm audit, it shows as having 2 moderate security vulnerabilities caused by dependencies with vulnerable versions of semver. It would be great if these could be updated to fix the problem.
https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
The npm audit output on a clean install (npm i async-listener) is below:
# npm audit report

semver  <7.5.2
Severity: moderate
semver vulnerable to Regular Expression Denial of Service - https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
fix available via `npm audit fix --force`
Will install<EMAIL_ADDRESS>which is a breaking change
node_modules/semver
  async-listener  >=0.6.4
  Depends on vulnerable versions of semver
  node_modules/async-listener

2 moderate severity vulnerabilities

To address all issues (including breaking changes), run:
  npm audit fix --force

npm audit fix has no effect, and npm audit fix --force would revert back to an extremely old version.

There are better tools for this at this point--async_hooks in Node.js core and AsyncLocalStorage if you just need it for request storage. Is there some reason you're still using async-listener?

It's being depended by another project, https://github.com/Unitech/pm2/, which I use

Maybe open an issue on their repo asking them to upgrade? This module has been largely unmaintained for many years now.

When installing async-listener then running npm audit, it shows as having 2 moderate security vulnerabilities caused by dependencies with vulnerable versions of semver. It would be great if these could be updated to fix the problem. GHSA-c2qf-rxjj-qqgw
The npm audit output on a clean install (npm i async-listener) is below:
# npm audit report

semver  <7.5.2
Severity: moderate
semver vulnerable to Regular Expression Denial of Service - https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
fix available via `npm audit fix --force`
Will install<EMAIL_ADDRESS>which is a breaking change
node_modules/semver
  async-listener  >=0.6.4
  Depends on vulnerable versions of semver
  node_modules/async-listener

2 moderate severity vulnerabilities

To address all issues (including breaking changes), run:
  npm audit fix --force

npm audit fix has no effect, and npm audit fix --force would revert back to an extremely old version.

The problem is still there.

Yes, as mentioned previously this module is not maintained at this point. There have been better alternatives for many years now.


How to add multi http method?

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

what do you mean?
Is this OPEN API 2.0 compliant?


[Box][styled] Cache makeStyles() per JSON of props for style functions

Fixes #16704
Make styled() use filterProps value to generate cache key.
You can use _useStylesCache: null option to disable this behavior.
❯ yarn box
yarn run v1.17.3
$ cd ../../ && NODE_ENV=production BABEL_ENV=benchmark babel-node packages/material-ui-benchmark/src/box.js --inspect=<IP_ADDRESS>:9229
Debugger listening on ws://<IP_ADDRESS>:9229/4e1ad776-8951-4f0b-9f50-61de494bfd7f
For help, see: https://nodejs.org/en/docs/inspector
Box x 2,165 ops/sec ±1.19% (187 runs sampled)
Box with disable props cache x 413 ops/sec ±1.61% (183 runs sampled)
useStyles x 4,782 ops/sec ±1.40% (187 runs sampled)
Inline style x 9,856 ops/sec ±1.30% (190 runs sampled)
✨  Done in 45.98s.

It's still 2x slower than useStyles(), but 5x faster than original implementation..! (This benchmark creates 100 Boxes at once)
Limitations:

Alias (m={2}) and non-alias (margin={2}) props will create different cache.
Different props order will create different cache.

Perhaps sort is possible with small cost: https://github.com/nickyout/fast-stable-stringify

Updating props is slower than original.

Maybe using link: true and updating existing style if refs === 1 can solve this.

Please include benchmark results using the production build once this is ready for review.

I decided to implement cache on styled().
Ready for review!
❯ yarn box
yarn run v1.17.3
$ cd ../../ && NODE_ENV=production BABEL_ENV=benchmark babel-node packages/material-ui-benchmark/src/box.js --inspect=<IP_ADDRESS>:9229
Debugger listening on ws://<IP_ADDRESS>:9229/e9870ff4-6641-43f3-a05d-ffb95be83dbb
For help, see: https://nodejs.org/en/docs/inspector
Box x 2,089 ops/sec ±0.88% (189 runs sampled)
Box with disablePropsCache x 388 ops/sec ±2.94% (183 runs sampled)
useStyles x 4,705 ops/sec ±1.48% (187 runs sampled)
Inline style x 9,241 ops/sec ±2.46% (188 runs sampled)
✨  Done in 47.96s.

oops, something wrong.

Sorry for bothering with force-pushes. Finally fixed issues!

@ypresto Thank you for working on the problem! It's important. I will soon have a look at it :)

@ypresto Thank you for working on the problem! It's important. I will soon have a look at it :)

oliviertassinari this its important, when useStyles its called with props its called two times per render, so the first render don't match with the server any time, and its completely inefficient called more times the same thing.
but more important never match with server classes when props its present because the counter its called two times on the client.

@ypresto As we are moving to a unstyled core and adapters for styled-components/emotion/jss, it's probably not worth pushing further. Thanks for the exploration! It could be interesting to move the concern to jss.


More intuitive message on error status codes

It turns out that an error status code of fetching does not result in an error, so catch clauses will not be executed and the error message from raw.githubusercontent.com is displayed. This patch enables checks for responses' status code to make those errors more intuitive.
404: Not Found

=>
Failed to write https://raw.githubusercontent.com/vuejs//dev/src/core/index.js: Response was not ok: 404 Not Found

https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch#Checking_that_the_fetch_was_successful

Thx a lot!


gh-3 Add Type attr to Hash elm in BaseFileComplexType

Addresses #3
Done as an attr rather than an element which could be controversial

I think my logic was the type is more meta than value, and meta stuff normally goes in attributes, don't mind changing it

What is the logic behind the elm over attr rule?  It is a bit grim to make a breaking change for a single attribute

Note that I didn't re-read the previous discussion before posting my last comment :)


Solve Test Docs / Build Documentation error

The documentation is not updated and it gives error when you run the test
Add alfa romeo and alphatauri colors until #218 will be implemented
Other option is change the session to a 2024 session instead of past seasons

As stated here already https://github.com/theOehrly/Fast-F1/issues/523#issuecomment-1959019451 I don't want older teams listed in there for various reasons.
Changing the broken examples to use 2024 data might be an option if it can be done cleanly. But the whole plotting stuff will be fixed soon anyway and then this problem goes away.
Nothing has really changed in the documentation during the time when the build was broken over the last few weeks. I didn't care enough about the two broken examples to fix it, as I didn't have a lot of time.

I close this PR. I have seen you have been working in #218 and it is almost ready


Call the server only once to refresh all home page data

This adds the data that's needed to the objects returned by the resques#index and cuts out the individual calls for each app.... I don't really know angular, so I'm not 100% sure this is a nice change at that level.
I'm also don't know if my change will make resques#index super slow in prod. Still investigating.

This looks good!


Title bar context menu action name polish

Testing #156220
I suggest that:
"Show Command Center" should be renamed to "Command Center"
"Show Layout Controls" should be renamed to "Layout Controls"
That way it would be easier to read and would align with Status Bar and Activity Bar where we do not use the verb "Show".

I also think the main difference is the activity/status bars are one-way actions vs the title bar that has the ability to show AND hide items. It closer maps to the view menus:


ol.events.condition.click(evt) always returns false

To answer this question I came up this ol.interaction.Draw#condition function:
function drawCondition(evt) {
  var ctrl = ol.events.condition.platformModifierKeyOnly(evt);
  //var click = evt.type == 'pointerdown';
  var click = ol.events.condition.click(evt);
  console.info('ctrl key: ' + ctrl);
  console.info('clicked: ' + click);
  return ctrl && click;
}

But ol.events.condition.click(evt) is always false because of:
ol.events.condition.click = function(mapBrowserEvent) {
  return mapBrowserEvent.type == ol.MapBrowserEvent.EventType.CLICK;
};

mapBrowserEvent.type is 'pointerdown' while ol.MapBrowserEvent.EventType.CLICK is 'click'.
Fiddle - http://jsfiddle.net/jonataswalker/q4kdfx74/

The problem is that evt is a ol.MapBrowserPointerEvent not a ol.MapBrowserEvent

In ol.MapBrowserPointerEvent, click and touchstart event are normalized to pointerdown
Your proposal to use var click = evt.type == 'pointerdown'; is correct

But according to ol.interaction.Draw docs evt is a ol.MapBrowserEvent. And I guess everyone will tend to check on ol.events.condition.click(evt).

@fredj would you mind to argue my last comment so we can finish this?
Maybe a documentation change?

As of 2020 the documentation still is incorrect. I ran into the exact same issue


Enable nuget package restore for appveyor

Build failed :smile:

Need to make some other modifications to get it to work with App Veyor, will work on these later. Will just manually upload the new package for now.


Error "type cannot be represented in zeek format" (regression at b9472d5)

Repro is with Zed commit b9472d5. This was caught by the nightly "Perf compare" CI.
Using the Zeek NDJSON zed-sample-data, this now fails where it previously succeeded.
$ zq -i ndjson -f zeek -I ~/work/zed/zeek/shaper.zed * > /dev/null
type {orig_h:ip,orig_p:port=(uint16),resp_h:ip,resp_p:port=(uint16)}: type cannot be represented in zeek format

I did a binary search and confirmed that this started failing at Zed commit b9472d5, which is associated with #2897 (cc: @nwt).

Verified in Zed commit 1099f2f.
Now instead of failing with the type error, the command runs successfully to completion.
$ zq -version
Version: v0.29.0-460-g1099f2f6

$ zq -i ndjson -f zeek -I ~/work/zed/zeek/shaper.zed * > /dev/null

$ echo $?
0

Thanks @nwt!


Add title on hover

Issue Title: Add hover effect and title
closes #issue_number : #477
Type of change ☑
What sort of change have you made:

[] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[] Code style update (formatting, local variables)
[] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist: ☑

[x] My code follows the guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly wherever it was hard to understand.
[x] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[x] I have added things that prove my fix is effective or that my feature works.
[x] Any dependent changes have been merged and published in downstream modules.

How Has This Been Tested? ⚙
Describe how have you verified the changes made.

@gaurav1603 Not assigned to you.


Added missing error message string ID for verification control

@bolt-io : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@bolt-io : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Suggestions look good to me, thanks @kengaderdus (no need to apologise, I know you're busy 😃)

#sign-off


Add connected_devices information in azure_virtual_network and azure_subnet tables

Describe the solution you'd like
We'd like to check that a virtual network or subnet has connected devices. To do this, it'd be useful to have a column for connected devices in these tables.

Hello @marcbrlcln,
Could you please provide a bit more detail about what you mean by connected_device? This will help us identify the relevant API support.
Are you referring to the NICs attached to the VM, or is there something else you're looking for?

Thanks for the detailed information! I will take a look.

Hello @marcbrlcln,
I apologize for the delay in addressing this issue. I’ve raised a PR to resolve it, and I'm now getting the expected results.
Here’s a snapshot of the connected devices with my subnet:

Query result:
> select name, jsonb_pretty(ip_configurations) from azure_subnet where name = 'turbottest38108'
+-----------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| name            | jsonb_pretty                                                                                |
+-----------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| turbottest38108 | [                                                                                |
|                 |     {                                                                                |
|                 |         "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/turbottest38108/providers/Microsoft.Network/loadBalancers/test53/frontendIPConfigurations/test53",               |
|                 |         "name": "test53",                                                                                |
|                 |         "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations",                                                                                |
|                 |         "properties": {                                                                                |
|                 |             "subnet": {                                                                                |
|                 |                 "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/turbottest38108/providers/Microsoft.Network/virtualNetworks/turbottest38108/subnets/turbottest38108"     |
|                 |             },                                                                                |
|                 |             "privateIPAddress": "<IP_ADDRESS>",                                                                                |
|                 |             "provisioningState": "Succeeded",                                                                                |
|                 |             "privateIPAddressVersion": "IPv4",                                                                                |
|                 |             "privateIPAllocationMethod": "Dynamic"                                                                                |
|                 |         }                                                                                |
|                 |     },                                                                                |
|                 |     {                                                                                |
|                 |         "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/turbottest38108/providers/Microsoft.Network/networkInterfaces/turbottest38108/ipConfigurations/turbottest38108", |
|                 |         "name": "turbottest38108",                                                                                |
|                 |         "type": "Microsoft.Network/networkInterfaces/ipConfigurations",                                                                                |
|                 |         "properties": {                                                                                |
|                 |             "subnet": {                                                                                |
|                 |                 "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/turbottest38108/providers/Microsoft.Network/virtualNetworks/turbottest38108/subnets/turbottest38108"     |
|                 |             },                                                                                |
|                 |             "primary": true,                                                                                |
|                 |             "privateIPAddress": "<IP_ADDRESS>",                                                                                |
|                 |             "provisioningState": "Succeeded",                                                                                |
|                 |             "privateIPAddressVersion": "IPv4",                                                                                |
|                 |             "privateIPAllocationMethod": "Dynamic"                                                                                |
|                 |         }                                                                                |
|                 |     }                                                                                |
|                 | ]                                                                                |
+-----------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

Please let us know if you need any further assistance.
Thank you!

Thank you for your help !


Updated deps to newest versions

I ignored some of the dev deps which would require some rewrites of tests etc. With the changes made it seems like everything is still working correctly.
This has the benefit that it works with the newest rollup version.

@swernerx I will check this PR ASAP (effect of dependents plugins), thanks!

@swernerx I'm still here and working in a complete rewite of jscc in its dev branch.
Once finished, today or tomorrow, I will add it as a dependency and release the new version (unlike the other plugins, currently jscc is embedded on rollup-plugin-jscc, cannot remember why).

Jscc is updated. Thanks!


updated e2e guide for writing

Summary
Updated instructions for If test case is failing due to Known Issue in webapp and mobile e2e guides

Thanks @cwarnermm for detailed review


Rewrite and test KeyringController

We should update the current KeyringController implementation to be a true GABA controller instead of wrapping metamask/KeyringController internally. Note that this also involves testing the controller fully.

This is now covered by #431


Merge develop into master

Pull Request Test Coverage Report for Build 90

0 of 0 (NaN%) changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 55.556%

Totals

Change from base Build 86:
0.0%

Covered Lines:
50

Relevant Lines:
90

💛  - Coveralls


This plugin is no longer needed

As of the August 16 2023 game update the game will prompt you before opening an impling jar which could grant you a clue that you're already carrying:

As of today’s update, attempting to open an Impling Jar with a Clue in your Inventory of the same tier that the Impling could give, you’ll be given a warning.

Hence, this plugin grants no extra benefit over the now-default behavior that all players enjoy.

@Nightfirecat After some consideration I believe the plugin still has a use case for tracking clues in the bank. The base-game feature only checks the player's inventory

I wasn't aware the ingame feature didn't take banked clues into account, that's a valid case.


Update main.tf

what

added permissions_boundary to aws_iam_role

why

module can accept permissions_boundary

references

closes #16

/test all


engine: bring some consistency to how we do logging

Hello @jazzdan, @maiamcc,
Please review the following commits I made in branch nicks/log:
9e7f60eb736946b50d3d8fde958fa31b082c9b29 (2019-06-06 18:46:29 -0400)
engine: bring some consistency to how we do logging

The big idea here is that we used to have several different strategies for how we multiplexed logs:

MultiWriter to send logs to multiple writers
ActionWriters to create multiple actions
Adding a reducer that copied the log to multiple places

And each of these strategies had their own sub-strategies on how to handle:

log prefixing to figure out where the log came from
copying byte slices to avoid mutation

I think the long-term strategy here should be to have a single logs store that has all the metadata about where a log came from, and separate out "how logs are displayed" from "how logs are stored"
The short-term strategy is simply to push all of this logic into a single reducer, handleLogAction, that sends things to both the global Log and the manifest-specific Log


Spotify player fails to open

May be due to improper cleanup of previous session.

closed by pull request #230 - disconnect player on page visibility change.


Add well-known symbols for ReadonlyMap and ReadonlySet

Fixes #60042
I chose not to use strict string literals or exact well-known tags like Map and Set for the same reason mentioned in https://github.com/microsoft/TypeScript/issues/19006. Instead, I opted to use string. Contra https://github.com/microsoft/TypeScript/pull/59417.

@microsoft-github-policy-service agree

@typescript-bot test it

I'm not clear on why this is needed? ReadonlyMap is not an actual ECMAScript constructor and the interface could just as easily apply to any user-defined map-like objects. For example, this change would break DeoptExplorer:

https://github.com/microsoft/deoptexplorer-vscode/blob/main/src/extension/model/logFile.ts#L30
https://github.com/microsoft/deoptexplorer-vscode/blob/main/src/extension/components/logProcessor.ts#L711
https://github.com/microsoft/deoptexplorer-vscode/blob/main/src/extension/components/logProcessor.ts#L106
https://github.com/microsoft/deoptexplorer-vscode/blob/main/src/core/collections/locationMap.ts#L10


Add unit and system tests

We need tests to make sure Gopher works correctly.
System tests should test against results from Panther.

Completed!


Flush the raw message after writing

Occasionally when sending a message it would not write to the collector file. The buffered writer is only written to under the conditions [0]:

when the buffer gets too small for all pending data;
when flush() is called;
when a seek() is requested (for BufferedRandom objects);
when the BufferedWriter object is closed or destroyed.

The odd message would get missed, I believe due to the Collector object being destroyed before a close is called on our writer object. This PR ensures a flush is called after every write.

Calling flush after every write is potentially going to be quite slow.  What about using a finalizer (__del__) on the Collector class to ensure that the most recent _current file is close()d when the instance gets deallocated?  Annoyingly:

It is not guaranteed that __del__() methods are called for objects that still exist when the interpreter exits. (link)

So we might have to use the atexit library too, depending on whether the collector remains live at exit...  (Or we could rearrange the code so that the collector goes out of scope sooner.)

Calling flush after every write is potentially going to be quite slow. What about using a finalizer (__del__) on the Collector class to ensure that the most recent _current file is close()d when the instance gets deallocated? Annoyingly:

It is not guaranteed that __del__() methods are called for objects that still exist when the interpreter exits. (link)

So we might have to use the atexit library too, depending on whether the collector remains live at exit... (Or we could rearrange the code so that the collector goes out of scope sooner.)

I was concerned about the impact it may have and I did try adding
def __del__(self):
    self._current.close()

But it seems it doesn't get called. I'll have a look at atexit. Thanks

@aecay but I can specifcally call del receiver._raw_listeners at the end of the test, which does call our __del__ method. :D


TorchMNIST download gives 403 HTTP Error

I've run the code for lab1 in colab and get a 403 Forbidden code. After some "googling", I just found out that this is a known bug in torchvision see here. Maybe if someone is facing the same problem, can just follow the instructions to solve it, or the contributors fix it directly in the repository...

Hi, I also got 403 HTTP error, but I solved that problem by adding this code to util.py. (text_recognition -> util.py)
from six.moves import urllib opener = urllib.request.build_opener() opener.addheaders = [('User-agent', 'Mozilla/5.0')] urllib.request.install_opener(opener)

Hi, I also got 403 HTTP error, but I solved that problem by adding this code to util.py. (text_recognizer -> util.py)
from six.moves import urllib
opener = urllib.request.build_opener()
opener.addheaders = [('User-agent', 'Mozilla/5.0')]
urllib.request.install_opener(opener)

Hi! I also added this code, in my case I added it in the top of the MNIST class, I don't know if it's the best place, but it worked...

I added that code in the top of the util.py. Anyway it works, doesn't it? I think that's enough :)

I added that code in the top of the util.py. Anyway it works, doesn't it? I think that's enough :)

Yes, it works :)

Hi, Do you guys work on local or Colab? Since I tried to add the snipet in colab, and it still doesn't work though :(

Hi, Do you guys work on local or Colab? Since I tried to add the snipet in colab, and it still doesn't work though :(

I'm using colab. Did you added it to the .ypnb file or one of the classes that uses TorchMNIST?

Hi, now it works nicely! no worries, it's just my silly mistake of messing up the folders :) Thanks

Should be fixed, as the suggestion from @jason2133 was implemented

So this solution worked for me. Just wanted to know how did you know this snippet would fix it. just curious honestly lol


Waveform TODOs

[x] Handle waveforms overwriting / loading existing waveforms.
[x] Use SI sparse waveforms?
[x] 'Postprocessing section' of postprocess.py main function - API confusing and messy here, refactor for consistency
[x] check SI is always in uV for every probe - see postprocess.py

Implemented in #46, #47, #48


Authorization Header is missing on cargo build for private registries

Problem
Given

I have a private package registry (in my case it is a artifactory from jfrog)
And I have configured it via <project_root>/.cargo/config like this:[registries.my-crates]
index = "https://myorg.jfrog.io/artifactory/git/my-crates.git"

[net]
git-fetch-with-cli = true

Assuming I have already published my-crate at version 0.1.1 (because this works already well)
And I got a package dependency specified in my Cargo.toml with a registry property like:[dependencies]
my-crate = { version = "0.1.1", registry = "my-crates" }

And I got a token in my ~/.cargo/credentials.toml for exactly this registry like:[registries.my-crates]
token = "Bearer XXXX"

Then

I would expect that cargo build downloads my-crate with using the token specified in the credentials.toml

Steps

create a private repository
create the project config as above
create an auth token as above
configure the auth token via cargo login or as said above
specify a dependency in a new project with explicitly stating the registry property (see above)
call cargo build

Possible Solution(s)
IMO it would be most consitent that cargo under the given circumstances uses an Authorization header for build and download.
As it is doing it already correctly for the publish sub-command
Alternatively in the project .cargo/config one option might activate the desired behavior, maybe on the [net] config section.
Notes
No response
Version
`cargo 1.63.0-nightly (38472bc19 2022-05-31)`

Authentication currently isn't supported. For updates, you can follow #10474 which tracks the implementation of that feature. Closing as a duplicate of #10474.

It seems that #10474 is completed and will make it to stable release, but I still struggle with the same issue that @sassman reported. I have artifactory in my enterprise environment, I'm able to publish one crate, but when publishing another one, cargo fails with 403 error.
I'm trying with cargo 1.74.0-nightly (414d9e3a6 2023-09-22) and the following command:
cargo +nightly -Z registry-auth publish -p my-package-name

And it still does not work.  Cargo book seems to be focused on securely storing credentials in a bunch of secret managers, I can't find a recipe on how to enable auth for downloads :(

I'm able to publish one crate, but when publishing another one, cargo fails with 403 error.

What did you mean by "able to publish one, but failed on another"?
For publishing packages to alternate registries, you can have a look at https://doc.rust-lang.org/nightly/cargo/reference/registries.html#publishing-to-an-alternate-registry.

I can't find a recipe on how to enable auth for downloads

Were you stuck in uploading or downloading? I am a bit confused now…
Setting either default credential provider or registry specific provider should fix the issue. If not, please file a new issue with reproducible steps and relevant configuration. We can have a look then :)

Sorry for confusion, publishing works as expected with token auth, but when publishing a package that is dependent on another already published package, Cargo is trying to download the dependent package from private repo first to validate it, and bails out with the following error:
error: failed to verify package tarball

Caused by:
  failed to download from `https://urm.example.com/artifactory/api/cargo/team-name-cargo-local/v1/crates/other-crate/0.1.0/download`

Caused by:
  failed to get successful HTTP response from `https://urm.example.com/artifactory/api/cargo/team-name-cargo-local/v1/crates/other-crate/0.1.0/download` (<IP_ADDRESS>), got 403
  body:
  {
    "errors" : [ {
      "status" : 403,
      "message" : "Download request for repo:path 'team-name-cargo-local:crates/other-crate/other-crate-0.1.0.crate' is forbidden for user: 'anonymous'."
    } ]
  }

So it fails on download, despite me having configured credentials provider and using latest nightly which should support auth:
[registry]
global-credential-providers = ["cargo:token"]

Does your registry have the new flag set in its config.json?

Hm, I've seen reference of some flag somewhere, but can't find it right now. My registry only has dl and api values in its config.json. Could you possibly point me to the documentation which contains information about that flag?

auth-required: indicates whether this is a private registry that requires all operations to be authenticated including API requests, crate downloads and sparse index updates.

https://doc.rust-lang.org/nightly/cargo/reference/registry-index.html#index-configuration


failed to upgrade k8s use sealer

What happened:
on cluster already installed applications image.

sealer upgarde kubernetes:v1.23.5

What you expected to happen:
How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:
Environment:

sealer version (use sealer version):
Cloud provider or hardware configuration:
OS (e.g: cat /etc/os-release):
Kernel (e.g. uname -a):
Install tools:
Others:

flag --delete-emptydir-data only support version > 1.20
test pass from :   kubernetes:v1.20.5->kubernetes:v1.21.5->kubernetes:v1.22.5->kubernetes:v1.23.5


Alternate language frontends

Since the kernel of lark is pretty straightforward it would be interesting the program could offer frontend implementations using different embedded languages (e.g. lisp).
One could potentially go farther than embedded languages and offer an RPC frontend or a dynamic library that C programs could link with to get lark functionality. That is pretty extreme though. For now embedded languages written in Go seem fine. There seem to be more of them popping up.

If this were to be implemented in would probably happen after lark stabilizes (> v1.0.0). It would be a pain to maintain multiple frontends if the backend is going to be in flux.


DATEDIFF doesn't understand some months with 31 days

I found a serious error in the results of query. I used the following query:
select check_in, check_out, DATEDIFF('day', A.check_in, A.check_out) as duration from sparse_full_2019_3
Among the results were the following:
2019-03-30    2019-04-06    6 (should be 7)
2019-03-24    2019-03-31   6  (should be 7)
2019-03-24    2019-03-30    6` (correct)

Seems to be working fine:
mapdql> create table ddiff (d1 DATE, d2 DATE);
mapdql> insert into ddiff values(DATE '2019-03-24', DATE '2019-03-31');
mapdql> insert into ddiff values(DATE '2019-03-30', DATE '2019-04-06');
mapdql> insert into ddiff values(DATE '2019-03-24', DATE '2019-03-30');
mapdql> select DATEDIFF('day', d1, d2) from ddiff;
EXPR$0
7
7
6

If you're working with TIMESTAMPS, you have to be mindful of the time too.
DATEDIFF counts whole days:
mapdql> select DATEDIFF('day', TIMESTAMP '2019-03-30 0:00:00', TIMESTAMP '2019-04-06 0:00:00') from test limit 1;
EXPR$0
7
mapdql> select DATEDIFF('day', TIMESTAMP '2019-03-30 0:00:01', TIMESTAMP '2019-04-06 0:00:00') from test limit 1;
EXPR$0
6

I can reproduce your results (MapD 4.0). But notice another strange things that possibly explain my initial result. If I do select * from ddiff;

Notice how one of the rows have time zone GMT+0200 and rest have GMT+0100.

Yes, DATEDIFF doesn't account for time zone differences. Probably a good idea to convert all date/timestamp columns to a single timezone for consistency.
I think this issue can be closed. Please open a new one if you encounter any other DATEDIFF issues.


Flow test errors

I ran all the acorn flow tests in https://github.com/babel/babel/blob/master/test/acorn/tests-flow.js and got 3 failures - saying "unexpected token". Not sure how to go about fixing these?
it("flow 66", function () {
      verifyAndAssertMessages(
        'var identity: <T>(x: T) => T', {}, []
      );
    });
it("flow 67", function () {
      verifyAndAssertMessages(
        'var identity: <T>(x: T, ...y:T[]) => T', {}, []
      );
    });
it("flow 103", function () {
      verifyAndAssertMessages(
        'var a : { <T>(x: T): number; }', {}, []
      );
    });

You're on an old version of Babel.

It looks like I'm using 5.4.3 - I removed node_modules, npm cache clean, npm install and got the same issue.

Do you have a stacktrace?

I'm not getting anything useful.
1) verify flow flow 66:
     Error: Expected 0 message(s), got 1 [{"fatal":true,"severity":2,"message":"Unexpected token","line":1,"column":14}]
      at verifyAndAssertMessages (test/non-regression.js:18:11)
      at Context.<anonymous> (test/non-regression.js:585:9)

  if (messages.length !== expectedMessages.length) {
    throw new Error("Expected " + expectedMessages.length + " message(s), got " + messages.length + " " + JSON.stringify(messages)); // line 18
  }

//
      it("flow 66", function () {
        verifyAndAssertMessages( // line 585
          'var identity: <T>(x: T) => T', {}, []
        );
      });

Ok thanks!


KAFKA-3745: Add access to read-only key in value joiner

This PR implements adding read-only access to the key for KStream.join as described in KIP-149
This PR as it stands does not affect the Streams Scala API.  Updating the Streams Scala API will be done in a follow-up PR.
Additionally, the original KIP did not include the KTable API, but I don't see any reason why we wouldn't want the same functionality there as well, this will be done in an additional follow-up PR after updating the existing KIP.
Tests added
Committer Checklist (excluded from commit message)

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

\cc @cadonna for review as well

Java 11 passed
Java 8 and Java 15 failed with
JDK 15
  org.apache.kafka.connect.integration.InternalTopicsIntegrationTest.testCreateInternalTopicsWithFewerReplicasThanBrokers
JDK 8
  org.apache.kafka.connect.integration.InternalTopicsIntegrationTest.testCreateInternalTopicsWithFewerReplicasThanBrokers
  kafka.api.ConsumerBounceTest.testClose()
org.apache.kafka.streams.integration.KTableKTableForeignKeyInnerJoinMultiIntegrationTest.shouldInnerJoinMultiPartitionQueryable

Failures unrelated
Build / JDK 11 / org.apache.kafka.connect.integration.InternalTopicsIntegrationTest.testCreateInternalTopicsWithDefaultSettings
Build / JDK 15 / org.apache.kafka.connect.integration.RebalanceSourceConnectorsIntegrationTest.testMultipleWorkersRejoining

ping @mjsax @cadonna @vvcephei  for reviews

including @lct45  and @wcarlson5  in the review request as well

Java 11 failed with org.apache.kafka.connect.integration.RebalanceSourceConnectorsIntegrationTest.testMultipleWorkersRejoining

Java 8 failed with org.apache.kafka.clients.consumer.KafkaConsumerTest.testReturnRecordsDuringRebalance()

Merged #10150 into trunk


Implement Windows Directory structure

This implements the functions for the standard windows directory structure.
I tried to stick to the microsoft docs and the jsdoc of the project.
The tests are written according to the existing ones and all of them are working.

The checks initially failed, because of the travis-ci server is running on a posix system and the path.join() joined the directories to something like "C:\Users\fakeuser\AppData/someApp". I have overridden the path.join method now for the tests with the path.win32.join to get the tests working under posix systems.
But as i noticed, the path.win32 was added in node version 0.11 and the ci has also a configuration for 0.10, which fails.

@f3lang Thanks for the patch!
On master, I've updated the Travis CI config to build on Node.js v4 and v6. If you rebase against master and can get the tests passing, I will very happily merge your PR.

@leedm777 Thank you for the travis update!
I rebased, all tests are now up and running.

Published in<EMAIL_ADDRESS>Thanks!


Update parse_domain regex

This change allows for the parse_domain function to capture root domains containing hyphens and periods.

Thanks so much!


Issue with lintOnChange

Hi!  Thanks VERY much for the excellent editor :)
I have reproduced this in Chrome and FireFox on Mac OS X.
When I set the lintOnChange Option, I expect linting not to respond to changes in the editor text, but linting continues as changes are made.
In the demo, I set the option in demo/lint.html, as indicated below:
var editor = CodeMirror.fromTextArea(document.getElementById("code-js"), {
lineNumbers: true,
mode: "javascript",
gutters: ["CodeMirror-lint-markers"],
lint: true,
lintOnChange: false
});

Oh -- this is appears to be version 5.4, based on CodeMirror/doc/releases.html.  I'm using the copy of the lint files in CodeMirror/demo/lint_files, because it appears to be more up-to-date than the one in CodeMirror/addon/lint.  The addon one doesn't include performLint().

Hm.  Looks like I'm not on the most recent version!  I'll check if it works now.

Same problem, at least in Chrome.

@NessBird I am using this lint option and it works fine for me. I think I see what is wrong in your situation.
You should use it like this:
      lint: {
        lintOnChange: false
      },

Thank you!  I'm sure that will fix my problem.
May I suggest a change in the docs?  My JavaScript experience is pretty limited...so I'm learning JS terminology and ways of thinking while I'm configuring CM.  It would help if the docs were explicit about what is meant by things like: "Linting on every change can be disabled by setting the lintOnChange option to false."
I would be happy to submit changes to docs if that would be appreciated.  Do you think it would be?

@marijnh Thanks.


will support yolo obb to dota？

another questions：
in the le180yolo2dota line 60, seem to be has no conversion?
https://github.com/regainOWO/object_detection_tools/blob/f3aee7808f112d0176260f3b6dcd14d68ba84df0/convert/le180yolo2dota.py#L60C4-L60C4

@chaoer  it has conversion, i use the opencv funciton cv2.boxPoints this script is used on my project, maybe its not fit your dataset type.
i will update my project later!

opencv-python >= 4.5.1

thanks @regainOWO


Please invite me to the GitHub Community Organization

Name
vincekashaka
Discord Username (if applicable)
vincekashaka
Additional Context
Where did you meet Eddie?

On LinkedIn, I was looking for Open Source Community and I saw a post about EddieHubCommunity.

What do you like about this community/Why do you want to join?

It teaches the importance of Open Source, collaboration/teamwork, and how to grow as a developer.
I believe in Open Source and I want to learn how to do it right. I also want to help other developers to solve everyday problems

I am happy to be part of this great community.


Consider providing a mode to use a preinstalled (system) rust-analyzer

Currently, LSP-rust-analyzer automatically downloads into $HOME and runs a binary from Internet. This is not necessarily welcome.
Consider implementing a mode similar to LSP-clangd's "binary": "system" where LSP-rust-analyzer would invoke a rust-analyzer that is already installed elsewhere and/or available in $PATH.

The reason it's not recommended is that the functionality and settings that are part of this package might not be fully compatible with your system version of rust-analyzer.
At minimum it can cause warnings about settings being invalid and possibly more serious issues (in theory).
That said, I'm not saying that it definitively shouldn't be supported. On your own risk.

PR is welcome as long as it's documented and makes it clear what the disadvantages are (what I've mentioned more or less).


adjust asreml to work in newer versions

Newer version of asreml seems to have an header.
In that case check that indeed first line is all character or not all numeric, then proceed with the logic of skipping the header in fread.
suggestion from chatgpt (too redundant IMO, see if can be improved):
Read the first line of the file
first_line <- readLines(infile, n = 1)
Check if the first line contains numeric data
if (all(is.numeric(scan(text = first_line, quiet = TRUE)))) {
First line contains numeric data, no header, skip = 0
sln <- fread(infile,
header = FALSE,
stringsAsFactors = FALSE,
strip.white = TRUE,
col.names = col_names,
colClasses = list(character = c(1, 2), double = c(3:4))
)
} else {
First line contains non-numeric data, assume it's a header, skip = 1
sln <- fread(infile,
header = FALSE,
skip = 1,
stringsAsFactors = FALSE,
strip.white = TRUE,
col.names = col_names,
colClasses = list(character = c(1, 2), double = c(3:4))
)
}


Modify the size of the annotations edit points when zoomed out

Hello, I am developing an app using Angular with Annotorious and OpenSedragon and I was wondering if there would be an option to modify the annotations edit points size when zooming out in the viewer. Thank you!

When zoomed out, the edit points of a freehand annotation are too large. I am trying to adjust them to be smaller. Is there any chance to do that?


"Use form at this url is not working"

Hi Team,
Even though i add my custom infopath form url in the "user form at this url " the new site button is going to default form. Do i need to change some setting my tenant to make this to work?
Thanks,
Vijay

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

ID: b29978b1-a400-bacb-1330-55ed3d652053
Version Independent ID: eae9fd16-57fc-1a80-3ce9-9b34b68eb1e0
Content: Manage site creation in SharePoint Online
Content Source: SharePoint/SharePointOnline/manage-site-creation.md
Service: sharepoint-online
GitHub Login: @kaarins
Microsoft Alias: kaarins

@jain9177 Thank you for this inquiry.
I am not sure what needs to be done for this site button. Let me get this over to the SharePoint team for investigation.
The team will get this prioritized into a sprint plan. Thank you for reporting and making the docs better. Much appreciated.
I made a note to request the team to update this when the work is complete.

@jain9177 , I raised this question with the feature team, and they are not aware of any issues with the custom form URL. Will you please file a support ticket so that we can collect more info to track down the problem? Thank you!

I am seeing the same behavior as described above, this does not seem to be working. Any specific setting at tenant level to make it work?


How to change UV Channel?

Hi,
I am only a week-old into AR using Sceneform, and very new to 3D-model-world, still learning the terminologies as well, might have noob questions.
We have models (with their material slots) and light maps created using Blender, exported as .mtl and .obj files. Materials are image files. I am trying to render the product. I am not sure to what property I must apply the lightmaps and texture files.
Is there is any starter app or documentation on how to edit .sfa or .mtl files?
The 3D models have been generated in the second UV Channel, but can I change my UV channel?
model: {
      attributes: [
         "Position",
         "TexCoord",
         "Orientation",
      ],
....
}

In the model.attributes TexCoord corresponds to TEXCOORD0, as mentioned here. How do I change to second UV Channel?
Even the tiling is incorrect for the model, how do I change it? Please help.
Whenever I open the viewer Android Studio crashes. I am using Mac 10.12.6 and Android Studio 3.3, how do I fix it?

Hello!
Some advice: I spent tons of hours to export from Blender and find a way to import it properly with the Sceneform plugin, no luck with this (Im using normal map on a simple cube which map is basically an image too).
The only way to make this work was to use 3ds max to apply the normal map then export it in fbx. This way the plugin can handle the fbx export and the fbx itself contains the pictures too and the plugin can unpack it into separate files.
I hope this helps a bit

Hi there,
Any advice with the subject of importing a double UV channel/set model with Sceneform plugin for Android Studio?
Best regates.