Submit ukrafoto.com

I spotted a new porn domain that isn't blocked anywhere.

@spirillen thank you for the review, I made changes and force-pushed the changes to my branch.

Thanks @goodness-from-me


Search Bar and Enhancements in the Assets Pack Catalog

Redistribute the Asset Pack cards so the layout is more balanced.

6 per row.
When scaling down, the cards should have a min-width of 180 and then start stacking.
The content should have a max-width of 1440px to avoid extending too much the width of the cards in ultra wide resolutions.

Font sizes and style are updated.
If possible, we are adding the count of items inside each pack.

Add a search bar at the top right of this section.

This search bar searches across all asset packs.
There are 2 cases: Results and No Results.

When inside a category, the title and the back button are located at the top left.

The search bar inside a category only searches inside the given category.

There are also 2 cases: Results and No Results (they are very similar to the general search but the copy and links change)

Items should show a tooltip with the name of the item.

There is no delay between the hovering and showing the tooltip. It should be displayed automatically.
Only Smart items will have a description.

Link to Figma: https://www.figma.com/file/1pTu82yhmYGAKa3h7eaPoz/🧰-Decentraland-Web-Editor-|-Builder-|-04%2F23?type=design&node-id=1991%3A98135&mode=design&t=AFDtXAUN1TdGkTqM-1

Grammar OCD comment:
In the no results message
"Try using another words ..." > "Try using another word ..."
Or I think better:
"Try different words ..."


Add color to output

#5

@ulziibuyan, could you rebase your changes?
git pull origin master --rebase

Thank you, @ulziibuyan. Unfortunately we have to manually merge it:  https://github.com/felipemfp/sinonimos-cli/commit/dfbc0a330b64ef9486da445b2b4a79cf1527ccd6
:tada:


Fix version validation for autocomplete

Overview
The changes include:

Removing extra slashes from URL before calling autocomplete endpoint
Validating Graph API version before calling autocomplete endpoint

With these changes, we are reducing the number of calls to the autocomplete endpoint that will definitely fail.
Closes #1335

@Onokaev, @ElinorW Please review this PR when you get the chance

Nice work @millicentachieng! Suggestion: What do you think about having a message under the query text input that warns a user when the version information is invalid (the same way a message is displayed when the query has invalid white spaces)?

Yeah, I also think it would be great to have the message as well because if it's a learning tool, we want to encourage dev's to practice writing queries correctly.
what do you think?

I agree. We should let a user know if the version in their input is wrong.


dns clients: don't change /etc/resolv.conf when openshift_use_dnsmasq=True

since openshift_use_dnsmasq=True by default, the pre.yml playbook should not set /etc/resolv.conf to something else than <IP_ADDRESS>. Instead, if openshift_use_dnsmasq=True, add a server= in /etc/dnsmasq.d/ to point to the dns server and let /etc/resolv.conf untouched.

/etc/resolv.conf is modified only in pre.yml. So it's OK to let openshift-ansible deal with it.
There will be an option to set the upstream servers. For now, networkmanager uses the interface IP4_NAMESERVERS
https://github.com/openshift/openshift-ansible/issues/1801


Overpass down ?

Hi,
For a few days, I can't update my old challenges or create new ones using overpass.
When building the tasks, I always get this message:
Read timeout to overpass-api.de/<IP_ADDRESS>:80 after 120000 ms

Hi @nlehuby , thanks for letting us know! I just tried and am able to create a challenge using a simple Overpass query. Is it possible your queries are large/expensive and just taking a long time? Do they work if you run them on Overpass directly?

yes, it may be because the queries are too large (I have this issue with challenges on the whole France country). But I do test all queries in Overpass turbo first and they never timed out :thinking:

Hi @nlehuby -- are you still having issues? If so we're happy to further support, if not we'll close the issue.

I still have this issue from time to time when updating large challenges.

There could just be a timeout then -- you can override the default timeout for your query in the same way you would do in Overpass Turbo / regular Overpass: https://wiki.openstreetmap.org/wiki/Overpass_API/Overpass_QL#timeout:
Let us know if that helps.
Thanks for reporting!

I'm going to close this, but feel free to reopen if you are still experiencing Overpass issues that you think are related to MapRoulette.

I'm going to close this, but feel free to reopen if you are still experiencing Overpass issues that you think are related to MapRoulette.


New network request - Beam testnet

Network information

Name: Beam testnet
ChainId: 13337
RPC http/s address: https://subnets.avax.network/beam/testnet/rpc
Link to https://chainlist.org/: https://chainlist.org/chain/13337
Blockexplorer: https://subnets-test.avax.network/beam

{"jsonrpc":"2.0","id":45,"error":{"code":-32000,"message":"tx.origin 0x0000000000000000000000000000000000000000 is not authorized to deploy a contract"}}

@Uxio0 I understand you are using 0xE1CB04A0fA36DdD16a06ea828007E35e1a3cBC37 to deploy.
Can you confirm this or provide the address you are using?

Yes, that's the sender address

Contract address was whitelisted when opening the issue, sharing a new RPC that should work for this legacy transaction:
https://rpc-safeglobal.onbeam.com/testnet

Done, try now

Referencing the issue where this issue was resolved #New network request - Beam mainnet


[Feature]: Health check for restart policy

🚀 The feature, motivation and pitch
A small change to get alot of reliability back....
We see vLLM crash or hang in various ways, e.g.:
https://github.com/vllm-project/vllm/issues/4108
https://github.com/vllm-project/vllm/issues/4344
And manually managing that is a hassle.
vLLM team could easily add a HEALTHCHECK line in the Dockerfile so tools like autoheal can function.
https://hub.docker.com/r/willfarrell/autoheal/
https://docs.docker.com/reference/dockerfile/#healthcheck
Would looks like:
HEALTHCHECK --interval=5m --timeout=10s curl -f http://localhost/health || exit 1

This would allow one to use the other docker image to manage the vLLM images.
Alternatives
Manual labor
Additional context
No response

@pseudotensor
Can you open a PR?


Multiple cookies are now returned from login.

Multiple cookies are now returned.  Must specifically get shopToken and set.

@jorgemasta it would be great if we could get this into the next release (1.4)...


Add icons for player clans

ROOT, oGs, IM, etc.

For the scoreboard right now, I think this would be a little too complicated, and would basically require a redesign since combined with the player color and race, it could be a bit "busy". Closing for now.


Update health check command as per etcdctl v3 API

Adding this fix for rke_support_matrix job
Issue:

The etcdctl health check command ETCDCTL_API=2 etcdctl --endpoints "https://<IP_ADDRESS>:2379"  --ca-file /etc/kubernetes/ssl/kube-ca.pem --cert-file  $ETCDCTL_CERT --key-file  $ETCDCTL_KEY cluster-health fails for k8s 1.22 clusters. Because of which rke_support_matrix jenkins job also fails.
Hence updated the command (to use etcdctl v3) for k8s 1.22 clusters : ETCDCTL_API=3 etcdctl endpoint health --cluster and based on it's output changed the assert conditions as well.

Verified the changes locally using these steps and the test case pytest -k "test_install_config_1" got passed. Used RKE v1.3.4-rc1

Note: For k8s version 1.21 and less, ETCDCTL_API=2 command will be executed and for higher version ETCDCTL_API=3 would be executed.

Hi @izaac, by mistake Vivek has requested for a review please ignore it. I'll let you know once the changes are done.

Adding @sgapanovich as reviewer

LGTM as well


Trace job. Quick trace and detailed trace.

Scan the outer edge of the job before beginning. To show where it will be located.

Added in a functional way in 0.5.2


Changed interactor.call to interactor.run in test documentation.

Using the method #call causes #fail! to raise an exception which prevents the example tests from working. Using #run rescues the exception and allows you to run expectations on the resulting context.
[ci skip]

#run isn't part of an interactor's public API, it's an internal API. If you look at #80, I rework the documentation and show how I test my interactors.

Ah damnit my apologies.  I keep forgetting that pull-requests and issues are no longer combined in githubs interface and I missed that there was already a pull request open for this.  I will close this PR as it's no longer required.  Thanks @michaelherold


Broken URLs

Please report any URLs that aren't working properly (either causing errors on your bot's partyline or just not showing titles correctly) here.
Make sure you include the URL in question, any errors you might see and your configuration (any relevant software versions, e.g. eggdrop version, tcl version, tcl extension versions)

eggdrop 1.80
Tcl library: /home/eggie/tcl85/lib/tcl8.5
Tcl version: 8.5.19 (header version 8.5.19)
TLS support is enabled.
TLS library: OpenSSL 1.0.2g  1 Mar 2016
https://twitter.com/Breaking911/status/842624423358291968
[05:09:32] Tcl error [UrlTitle::handler]: can't read "meta(Content-Type)": no such element in array

@OmkAR2013 that should be fixed in the latest version

http://www.thekitchenmagpie.com/spring-morel-mushroom-hunting-in-the-canadian-prairies/
It takes a title further down, instead of the title in the head section, and returns "YouTube".
Tcl 8.6 and latest else.

Same with
http://www.militarytimes.com/articles/chinese-troops-afghanistan
^^

I am mOOpeY, running eggdrop v1.8.1+RC2: 1 user (mem: 100k).
Configured with:  '--with-tcllib=/home/moopey/local/lib/libtcl8.6.so' '--with tclinc=/home/moopey/local/include/tcl.h' '--enable-tls'
OS: Linux 4.4.0-66-generic
Process ID: 37832 (parent 1)
Tcl library: /home/moopey/local/lib/tcl8.6
Tcl version: 8.6.6 (header version 8.6.6)
Tcl is threaded.
TLS support is enabled.
TLS library: OpenSSL 1.0.2g  1 Mar 2016
IPv6 support is enabled.
tDOM-1d978619f5.tar.gz
tcltls-1.7.11.tar.gz
tcllib_1_18.tar.gz
tcl8.6.6-src.tar.gz
eggdrop-1.8.1rc2.tar.gz
I got all previously unworking url's working. It's great!  Everything except Twitter https links.
https://twitter.com/Reuters
There's no error being displayed in the bot log, so I'm not sure what's happening.
Using newest urltitle.tcl
Any suggestions? What setup do you have teeli for your working bot?

We're getting similar with random urls now.
07:57:19 <@Knofte> https://casinojakten.se
07:57:21 <@Servant> Title: Freespin och Bäst Bonus från de Bästa Casinon!! | casinojakten.se
07:57:27 <@Knofte> https://www.sunet.se
07:57:29 <@Servant> Title: SUNET | Datakommunikation & infrastruktur för forskning och utbildning
07:57:41 <@Knofte> http://www.google.com
07:57:46 <@Knofte> https://www.google.com
07:57:50 <@Knofte> https://google.com
07:57:56 <@Knofte> http://google.com
...
ii  libtcl8.6:amd64                      8.6.5+dfsg-2                        amd64        Tcl (the Tool Command Language) v8.6 - run-time library files
ii  tcl                                  8.6.0+9                             amd64        Tool Command Language (default version) - shell
ii  tcl-dev:amd64                        8.6.0+9                             amd64        Tool Command Language (default version) - development files
ii  tcl-tls                              1.6.7+dfsg-1                        amd64        TLS OpenSSL extension to Tcl
ii  tcl8.6                               8.6.5+dfsg-2                        amd64        Tcl (the Tool Command Language) v8.6 - shell
ii  tcl8.6-dev:amd64                     8.6.5+dfsg-2                        amd64        Tcl (the Tool Command Language) v8.6 - development files
ii  tcl8.6-tdbc                          1.0.3-1                             amd64        Tcl Database Connectivity
ii  tcl8.6-tdbc-sqlite3                  1.0.3-1                             all          Tcl Database Connectivity
ii  tcllib                               1.17-dfsg-1                         all          Standard Tcl Library

is it fixed yet ?

Should be better support for HTTP(S) redirects and case insensitive HTTP headers now. Google, Twitter etc. should work.

Hi @teeli,
I have a new issue: with this url:
http://blog.dilbert.com/post/164297628606/how-to-know-youre-in-a-mass-hysteria-bubble
On the partyline, I see this:

Tcl error [UrlTitle::handler]: invalid command name ""

So I added putlog statements everywhere, and it seems to be this line being the culprit:
https://github.com/teeli/urltitle/blob/34582be19d64149e8b8c72e7420a642af355f16e/urltitle.tcl#L183
Any idea?

I get the same on that url.
Tcl error [UrlTitle::handler]: invalid command name ""

Apparently XPath fails to parse title on that page. I'm not sure why, I suspect it could be because of invalid html structure (stray doctype).
I should probably add some error checking and maybe a regex fallback (if that helps, need to test)

Updated a new version that should fix that issue

Fixed indeed. Well done. Your TCL-fu is admirable.

after updating imdb there is a problem with urltile
21:37:09 <~lollko> https://www.imdb.com/title/tt1025100/
21:37:11 <&rss> Title: TryIMDbProFree
is it possible to fix ?

Looks like there's an inline SVG element on the page that has a <title> tag. Need to look if it's possible to exclude those.
For reference
...
<svg width="175px" height="30px" viewBox="0 0 172 29" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>TryIMDbProFree</title>
<g id="tryIMDbProFree" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<rect id="tryIMDbProFreeButton" stroke="#A88734" fill="#F1C241" x="1" y="1" width="170" height="28" rx="3"></rect>
<text id="tryIMDbProFreeText">
<tspan x="33" y="19">Try IMDbPro Free</tspan>
...

I've updated a new version now, that fixes the issue with title tags outside <head> when using regex parsing instead of tdom.
Should fix the issue with the IMDB link above.

I've updated a new version now, that fixes the issue with title tags outside <head> when using regex parsing instead of tdom.
Should fix the issue with the IMDB link above.

working fine :) thx for you work

BBC News articles don't work for me?
(and yet BBC Sport links work fine?)
[10:11:59] Connection to https://www.bbc.co.uk/news/uk-england-south-yorkshire-47623303/ failed
[10:11:59] Error: Missing host part: /news/uk-england-south-yorkshire-47623303
[10:12:07] Connection to http://www.bbc.co.uk/news/uk-england-south-yorkshire-47623303/ failed
[10:12:07] Error: Missing host part: /news/uk-england-south-yorkshire-47623303

https://google.com
eggdrop 1.84, TCL 8.6, TLS 1.7.14.

When I used my shell server's global TCL & TLS, no HTTPS URL got titled.
For example, https://google.com , https://google.com/ .
I had eggdrop 1.8.4, TCL 8.6, TLS 1.7.14
I compiled my own TCL & TLS, recompiled eggdrop and now it works again.
However, I'd like to use global TCL & TLS.  Do I need to set environment variables for both TCL & TLS? (multiple TCL, and one TLS folders, are in /usr/local/lib )

Yo, YouTube changed earlier this year (afaik) which created a problem with urltitle, same happened to youtube-dl:
https://github.com/Lamieur/youtube-dl/commit/5eabe9c3dc3fe05b26a7f3f833fb55b0287abd4a
For example:
Error: HTTP/1.1 429 Too Many Requests (https://www.youtube.com/watch?v=JImcvtJzIK8)
Some say forcing ipv4 for lookup could be used, but was not succesful with curl -I -4 unfortunately.
It'd be great to get YT-titles fixed again :)

I'll take a look and try to figure that out, but it'll probably be a bit more complex fix and might take a bit more time than usual. Looks like it's blocked by the youtube servers on a request level instead being just a parsing error in the script.

Yeah, it seems like the title is loaded firstly after a redirect has been made. Quite annoying feature. :)

There is a youtube-api.tcl available for using the youtube API, perhaps that could give some hints.
(could not find a reliable link for it though)

Not sure if its me or not but any page from reuters.com comes back with a blank title.
 https://www.reuters.com/article/us-china-aviation-comac-insight/chinas-bid-to-challenge-boeing-and-airbus-falters-idUSKBN1Z905N
 Title:

Not sure if its me or not but any page from reuters.com comes back with a blank title.
https://www.reuters.com/article/us-china-aviation-comac-insight/chinas-bid-to-challenge-boeing-and-airbus-falters-idUSKBN1Z905N
Title:

Same thing here, version 0.11.

https://www.bbc.com/news/world-us-canada-51483541 - Nothing happens, no errors in console either.

Twitter broke some weeks ago, nothing happens on those links.
https://twitter.com/ttnyhetsbyran/status/1279837369605160960?s=20 For example.

hi fellas
i tried some YT links but url title show me
22:23:40 <~lollko> https://www.youtube.com/watch?v=-tDiXMeEWzw
22:23:42 <&rss> Title: YouTube

maybe yt redesign yt site ?
here is my "conf" from egg
22:37:15 <rss> Tcl library: /usr/share/tcl8.5
22:37:15 <rss> Tcl version: 8.5.13 (header version 8.5.13)
22:37:15 <rss> Tcl is threaded.
22:37:15 <rss> TLS support is enabled.
22:37:15 <rss> TLS library: OpenSSL 1.0.2k-fips  26 Jan 2017

Hi @teeli
Twitter links aren't working for quite a while (no output at all). Can you have a look?
Thanks!

x.com aka twitter link still not working @teeli
Is anyone else fixing this?
example: https://x.com/Space_Station/status/1807824547309093239
Bot response: Title: x.com


pull request for e2e test at 01/13/2017 11:45:09

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


PassNinja client version 0.1

Initial implementation of the PassNinja JS client library.
Issue:
https://github.com/flomio/passninja-core/issues/107

So one question I have is: How does this play out if things go wrong? Do I get informative messages back? Or is it a generic error?

Looks good for v0. I think we need improved error messages, but this will do great as a way to get us feedback from customers.

I agree. I have errors around the method arguments but we need better status code/exceptions from the backend so I can surface better errors on the client. Something I'll look in to.


added more logging info for test harness usage

Notice
It is not allowed to submit your PR to the master branch directly, please submit your PR to the master-pre-merge branch.
Description
added more logging info for test harness usage
Please include a brief summary of the change that this pull request proposes. Include any relevant motivation and context. List any dependencies required for this change.

Fixes Issue # .
Type of change
Insert x into the following checkboxes to confirm (eg. [x]):

[ ] Bug fix.
[ ] New feature.
[x] Enhancement.
[ ] Unit test.
[ ] Breaking change (a fix or feature that causes existing functionality to not work as expected).
[ ] Requires documentation update.

Testing
Please describe the tests you used to validate this pull request. Provide any relevant details for test configurations as well as any instructions to reproduce these results.

Verification
Insert x into the following checkboxes to confirm (eg. [x]):

[x] I have self-reviewed my own code and conformed to the style guidelines of this project.
[x] New and existing tests pass locally with my changes.
[ ] I have added tests for my fix or feature.
[ ] I have made appropriate changes to the corresponding documentation.
[x] My code generates no new warnings.
[ ] Any dependent changes have been made.

Could you add the info from line 1045 to that log as well?
Also please update the classes to use the correct formatting.

Thanks for the comment @AlexandraRoatis, I am assuming you mean line 1045 in AionBlockchainImpl? Im wondering why do we need this, cuz I dont think the conditions match?
https://github.com/aionnetwork/aion/blob/0ed32f107c71e255561dfadffe1f794426bcbf07/modAionImpl/src/org/aion/zero/impl/AionBlockchainImpl.java#L1045

@aionWilliam since we now have a dedicated log for transactions, I think we should add the transaction-related information to it. We'll probably move more logs to it later on. The message at line 1045 was very useful recently and I thought it was worth moving it to the new log.

@AlexandraRoatis I've added those validation logs for transactions. I agree they would be pretty useful.


Parameter Validation for Maximum Depth Allowed for ConvertTo-Json Cmdlet

PR Summary

Changed int.MaxValue to 100 so that parameter validation allows a maximum depth of 100
Removed maxDepthAllowed field as this is no longer needed
Removed the entire BeginProcessing() method as this was used just to check for max depth
Removed WebCmdletString used only in BeginProcessing() method
Added test to ConvertTo-Json.Tests.ps1 to confirm that a maximum depth parameter reached error is thrown by parameter validation error
Corrected MaximumAllowedDepthReached to ParameterArgumentValidationError in Json.Tests.ps1
PR Context

This pull request fixes the issue https://github.com/PowerShell/PowerShell/issues/15344
PR Checklist

[x] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[x] Summarized changes
[x] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[x] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: or [ WIP ] to the beginning of the title (the WIP bot will keep its status check at Pending while the prefix is present) and remove the prefix when the PR is ready.

Breaking changes

[x] None
OR
[ ] Experimental feature(s) needed

[ ] Experimental feature name(s):

User-facing changes

[x] Not Applicable
OR
[ ] Documentation needed

[ ] Issue filed:

Testing - New and feature

[ ] N/A or can only be tested interactively
OR
[x] Make sure you've added a new test if existing tests do not effectively test the code changed

Tooling

[x] I have considered the user experience from a tooling perspective and don't believe tooling will be impacted.
OR
[ ] I have considered the user experience from a tooling perspective and opened an issue in the relevant tool repository. This may include:

[ ] Impact on PowerShell Editor Services which is used in the PowerShell extension for VSCode
(which runs in a different PS Host).

[ ] Issue filed:

[ ] Impact on Completions (both in the console and in editors) - one of PowerShell's most powerful features.

[ ] Issue filed:

[ ] Impact on PSScriptAnalyzer (which provides linting & formatting in the editor extensions).

[ ] Issue filed:

[ ] Impact on EditorSyntax (which provides syntax highlighting with in VSCode, GitHub, and many other editors).

[ ] Issue filed:

I am closing this pull request because the issue was resolved by someone else before I submitted my PR.

@KiwiThePoodle Thanks for your contribution in any case!


Added Taylor Series by Horner's Rule

Please star this repository to show your support, in the meantime I am reviewing your code.


Fixed Bootstrap structure, made tables look good!

Added proper bootstrap document structure to both Subjects.jsx and App.jsk . Also removed unwanted css.

Slate commits added!


feat(curriculum): localStorage and CRUD Quiz

Checklist:

[x] I have read and followed the contribution guidelines.
[x] I have read and followed the how to open a pull request guide.
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #56213

Thank you so much @naomi-lgbt, means a lot!

Thank you for your contribution @AaryanProthi 🎉

Thank you @zairahira, I finally have an open source contribution 🥳


Where's polymer-cloud-client?

Cannot find source for "Polymer: Build a Declarative Web App Using GCE and Docker"
https://io2014codelabs.appspot.com/static/codelabs/polymer-cloud-client/#1 says the code should be in polymer-cloud-client

Same issue for http://io2014codelabs.appspot.com/static/codelabs/polymer-drive-client/#1

Me too, I am looking for ~/io2014-codelabs/polymer-cloud-client/


HMR not working in dev mode

Even on server starting, I don't get props into my child components. I see this when I run the server or reload the page manually:
client.js?05d798a:67 [HMR] connected
client.js?05d798a:199 [HMR] bundle rebuilding
client.js?05d798a:207 [HMR] bundle rebuilt in 123ms

If I change anything in any component (including components outside the pages directory) I see this:
[HMR] Updated modules:
process-update.js?05d798a:102 [HMR]  - ./components/layout.js
process-update.js?05d798a:102 [HMR]  - ./pages?entry
process-update.js?05d798a:107 [HMR] App is up to date.

And props are passed in.
Using 2.3.1, with "dev": "next" as server.
I have created a repo that reproduces the issue here:  https://github.com/caffo/next-hmr-issue
Let me know if there's any way I can help.

@timneutkens thanks, sorry about that.

No worries 😄


get_transactions_by_asset_id now ignores invalid transactions

resolves #332

Current coverage is 96.77% (diff: 90.00%)

Merging #810 into master will increase coverage by 0.18%

@@             master       #810   diff @@
==========================================
  Files            26         26
  Lines          1644       1768   +124
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           1588       1711   +123
- Misses           56         57     +1
  Partials          0          0

Powered by Codecov. Last update d31a268...b7b9338


Update package.json dependency solc to "0.3.1"

There is a new release that adds inline assembly support
@Arachnid

Version 1.0.1 pushed to npm with the latest solc. Thanks!

Hey, thanks, @tcoulter!


Docker Container for Shibboleth Incorrectly Configured

The Bug
The DSpace 7_x docker container for shibboleth is not configured correctly. When pulling the container and trying to build a number of errors are encountered. This stops the container from being built and running.
To Reproduce

Follow the README documentation on setting up shibboleth as an authentication method: https://github.com/DSpace/DSpace/blob/main/dspace/src/main/docker-compose/README.md
Run: docker-compose -p d7 -f docker-compose.yml -f dspace/src/main/docker-compose/docker-compose-shibboleth.yml build

Expected Behaviour
If the configuration detailed in the README has been implemented we would expect the docker container to run and the proxy site should be running.
Encountered Behaviour
docker-compose throws an error.
Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "httpd-shibd-foreground.sh": executable file not found in $PATH: unknown
Proposed Solution
In order for the dspace-shibboleth docker container to run the httpd-shibd-foreground.sh needs to be up updated to be compatible with linux and made exactable. The configuration also needs to be updated as the ${APACHE_SERVER_NAME} variable string in shibboleth2.xml is appended with an extra 'https://'.
The httpd-shibd-foreground.sh is copied to the container but is not given executable permissions. Updating the Dockerfile to run a chmod command grants the needed permissions:
RUN chmod +x /usr/local/bin/httpd-shibd-foreground.sh
Once this is fixed running ./httpd-shibd-foreground.sh produces an error:
sed: -e expression #1, char 32: unknown option to 's'
This is because the format of the sed command is incompatible with linux which trips up when encountering each '/'. These need to be replaced with a pipe '|' for the the sed command to run successfully. If we update httpd-shibd-foreground.sh to run:
sed -i "s|\${APACHE_SERVER_NAME}|$APACHE_SERVER_NAME|g" /etc/shibboleth/shibboleth2.xml  we will avoid any issues with incompatibility.
Lastly, in shibboleth2.xml the ApplicationDefaults entityID has 'https://' hard coded into the string. The ${APACHE_SERVER_NAME} will already include a 'https://' so it will append a second 'https://' to the variable. Just removing the 'https://' from entityID negates the error:
ApplicationDefaults entityID="${APACHE_SERVER_NAME}/shibboleth" REMOTE_USER="eppn persistent-id targeted-id">
Related work
https://github.com/DSpace/DSpace/pull/9344

Hey Tim,
I'd be happy to pick this up as I've already done the work locally and I'm focused on this for my current project.

@BenjaminBlaxterParkes : Please feel free to send us a PR if you are able!

Closing, the error described in this ticket was fixed by #9344


Unknown file extension ".CMD"

I’m running into this issue when running “npm run dev:emulator” in main directory of the https://github.com/onflow/kitty-items repository after running ‘npm install’:
TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".CMD" for C:\USERS\30407792\CODE\FLOW\2\KITTY-ITEMS\NODE_MODULES.BIN\NPM.CMD
2|web      |     at Loader.defaultGetFormat [as _getFormat] (internal/modules/esm/get_format.js:71:15)
2|web      |     at Loader.getFormat (internal/modules/esm/loader.js:104:42)
2|web      |     at Loader.getModuleJob (internal/modules/esm/loader.js:242:31)
2|web      |     at async Loader.import (internal/modules/esm/loader.js:176:17) {
2|web      |   code: 'ERR_UNKNOWN_FILE_EXTENSION'
Thanks in advance

Hi, it may be a node/npm installation issue but hard to debug from here. Can you give more details about your current setup? Please run npx envinfo and paste the output here.

Hey,
there you go
System:
OS: Windows 10 10.0.19044
CPU: (8) x64 Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz
Memory: 1.48 GB / 7.82 GB
Binaries:
Node: 16.14.2 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.18 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm: 8.5.5 - ~\code\flow\kitty-items\node_modules.bin\npm.CMD
Managers:
Composer: 2.0.13 - C:\ProgramData\ComposerSetup\bin\composer.BAT
pip3: 22.0.4 - C:\Python310\Scripts\pip3.EXE
Utilities:
Git: 2.24.1.
Virtualization:
Docker: 20.10.6 - C:\Program Files\Docker\Docker\resources\bin\docker.EXE
IDEs:
VSCode: 1.65.2 - C:\Program Files\Microsoft VS Code\bin\code.CMD
Languages:
PHP: 7.4.18 - C:\xampp\php\php.EXE
Python: 3.10.4
Python3: 3.9.12
Databases:
SQLite: 3.36.0 - C:\ProgramData\Anaconda3\Library\bin\sqlite3.EXE
Browsers:
Edge: Spartan (44.19041.1266.0), Chromium (99.0.1150.55)
Internet Explorer: 11.0.19041.1566
Monorepos:
Lerna: 4.0.0
Thanks, I tried installing the packages separetely in different folders with npm install and yarn install and running it with the yarn or npm in each directory, but the error was always the same.

I'm experiencing this same error on a Windows laptop after executing npm run dev:testnet and pasting the faucet address.
The program prints the Kitty Items has started in multicolor and then it crashes printing these logs:
C:\Users\vr1.pm2\pm2.log last 15 lines:
PM2 | 2022-04-20T11:18:01: PM2 log: App [api:0] online
PM2 | 2022-04-20T11:18:01: PM2 log: App [web:1] online
PM2 | 2022-04-20T11:18:02: PM2 log: App [api:0] exited with code [0] via signal [SIGINT]
PM2 | 2022-04-20T11:18:02: PM2 log: App [api:0] starting in -fork mode-
PM2 | 2022-04-20T11:18:02: PM2 log: App [web:1] exited with code [0] via signal [SIGINT]
PM2 | 2022-04-20T11:18:03: PM2 error: Cancelling versioning data parsing
PM2 | 2022-04-20T11:18:05: PM2 log: App [api:0] online
PM2 | 2022-04-20T11:18:05: PM2 log: App [api:0] exited with code [0] via signal [SIGINT]
PM2 | 2022-04-20T11:18:05: PM2 log: App [api:0] starting in -fork mode-
PM2 | 2022-04-20T11:18:08: PM2 log: App [api:0] online
PM2 | 2022-04-20T11:18:09: PM2 log: App [api:0] exited with code [0] via signal [SIGINT]
...
1|web | code: 'ERR_UNKNOWN_FILE_EXTENSION'
1|web | }
1|web | TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".CMD" for C:\USERS\VR1\GITHUB\KITTY-ITEMS.GIT\NODE_MN\NPM.CMD
1|web | at new NodeError (node:internal/errors:371:5)
1|web | at Object.getFileProtocolModuleFormat as file:
1|web | at defaultGetFormat (node:internal/modules/esm/get_format:102:38)
1|web | at defaultLoad (node:internal/modules/esm/load:21:14)
1|web | at ESMLoader.load (node:internal/modules/esm/loader:359:26)
1|web | at ESMLoader.moduleProvider (node:internal/modules/esm/loader:280:58)
1|web | at new ModuleJob (node:internal/modules/esm/module_job:66:26)
1|web | at ESMLoader.#createModuleJob (node:internal/modules/esm/loader:297:17)
1|web | at ESMLoader.getModuleJob (node:internal/modules/esm/loader:261:34)
1|web | at processTicksAndRejections (node:internal/process/task_queues:96:5) {
1|web | code: 'ERR_UNKNOWN_FILE_EXTENSION'
1|web | }
....
0|api | TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".CMD" for C:\USERS\VR1\GITHUB\KITTY-ITEMS.GIT\NODE_MN\NPM.CMD
0|api | at new NodeError (node:internal/errors:371:5)
0|api | at Object.getFileProtocolModuleFormat as file:
0|api | at defaultGetFormat (node:internal/modules/esm/get_format:102:38)
0|api | at defaultLoad (node:internal/modules/esm/load:21:14)
0|api | at ESMLoader.load (node:internal/modules/esm/loader:359:26)
0|api | at ESMLoader.moduleProvider (node:internal/modules/esm/loader:280:58)
0|api | at new ModuleJob (node:internal/modules/esm/module_job:66:26)
0|api | at ESMLoader.#createModuleJob (node:internal/modules/esm/loader:297:17)
0|api | at ESMLoader.getModuleJob (node:internal/modules/esm/loader:261:34)
0|api | at processTicksAndRejections (node:internal/process/task_queues:96:5) {
0|api | code: 'ERR_UNKNOWN_FILE_EXTENSION'
0|api | }

I'm getting the same issues... anyone find the answer?

As a workaround , you can launch api and web manually.  ( after contract is deployed )

npx dotenv-cli -e .env.testnet – npm run dev --prefix api
npx dotenv-cli -e .env.testnet – npm run dev --prefix web

As a workaround , you can launch api and web manually. ( after contract is deployed )
For Testnet:

npx dotenv-cli -e .env.testnet – npm run dev --prefix api
npx dotenv-cli -e .env.testnet – npm run dev --prefix web

For Emulator

npx dotenv-cli -e .env.emulator – npm run dev --prefix api
npx dotenv-cli -e .env.emulator – npm run dev --prefix web

I'm getting the following error when trying to input the above commands.
npm ERR! arg Argument starts with non-ascii dash, this is probably invalid: –
'–' is not recognized as an internal or external command,
operable program or batch file.

I've typed it in manually as well, which still gives an error. Has anyone had success with this?

@AttackOnSight updated the comment, double dash merged somehow, can you try again?

@bluesign sorry for the reping, hopefully you can help me with this error when trying to launch the API for emulator, I am getting this error on the console.
Error: Response closed without headers
    at Object.onEnd (C:\Users\Ultima\Repos\kitty-items\api\node_modules\@onflow\transport-grpc\src\unary.js:19:18)
    at C:\Users\Ultima\Repos\kitty-items\api\node_modules\@improbable-eng\grpc-web\dist\grpc-web-client.js:1:24233
    at C:\Users\Ultima\Repos\kitty-items\api\node_modules\@improbable-eng\grpc-web\dist\grpc-web-client.js:1:11490
    at Array.forEach (<anonymous>)
    at e.rawOnError (C:\Users\Ultima\Repos\kitty-items\api\node_modules\@improbable-eng\grpc-web\dist\grpc-web-client.js:1:11452)
    at e.onTransportEnd (C:\Users\Ultima\Repos\kitty-items\api\node_modules\@improbable-eng\grpc-web\dist\grpc-web-client.js:1:10318)
    at ClientRequest.<anonymous> (C:\Users\Ultima\Repos\kitty-items\api\node_modules\@improbable-eng\grpc-web-node-http-transport\src\index.ts:70:20)
    at ClientRequest.emit (node:events:520:28)
    at Socket.socketErrorListener (node:_http_client:442:9)
    at Socket.emit (node:events:520:28)
[ERROR] 13:42:07 Error: Response closed without headers

The error is displayed on localhost:3001 as:
Unhandled Runtime Error
Error: Response closed without headers

Call Stack
Object.onEnd
<EMAIL_ADDRESS>(1:1164)
eval
<EMAIL_ADDRESS>(1:24350)
eval
<EMAIL_ADDRESS>(1:11609)
Array.forEach
<anonymous>
e.rawOnError
<EMAIL_ADDRESS>(1:11441)
e.onTransportEnd
<EMAIL_ADDRESS>(1:10387)
e.exports.eval
<EMAIL_ADDRESS>(64:0)
e.exports.emit
node_modules\next\dist\compiled\events\events.js (1:2420)
eval
node_modules\next\dist\compiled\stream-http\index.js (1:6848)

That is because pm2 can not recognize the 'npm.cmd' command, referring to here.
An easy solution is to change the two npm in .ki-scripts\startup.js to <npm-cli.js location in you windows computer>, like this:
   await runProcess({       name:web,       cwd: "./web",       script: C:\Program\ Files\nodejs\node_modules\npm\bin\npm-cli.js,       args: "run dev",       watch: false,       wait_ready: true,       autorestart: false     });

Issue should be resolved here #268


Show nightly version

@kevgo @charlierudolph
What do you think... useless or not? I frequently wonder exactly what revision I'm using, esp as it's been a while since 0.5.0.. though I tend follow it up with a git sync in git-town/ anyway.
Maybe useful for those that installed via the manual instructions?

We don't have nightly builds. What's the use case for this?
Also, can you please provide an example output?

"Nightly" might be the wrong term. For people who've installed git town manually, the version they use likely has a different feature set than what the release notes indicates, even though git town version would print 0.5.0.

And just to clarify, if Git Town is installed via homebrew, the output remains unchanged:
> git town version
Git Town 0.5.0

So all you want is the date and commit sha to show in the version?
That seems fine to me. I would prefer a more readable version
> git town version
Git Town 0.5.0 (Mar 31, 2015 - b7fe18d)

I think adding the date and sha always would be fine too.
Along that line we need to release more. I'll start preparing a release now actually

Updated:

I'm still somehow YAGNI on this. I'd like to caution us to keep Git Town as simple as possible, and only add things for which there is a real user demand, and which solve a real problem. If that's the case for you @allewun then I'm fine merging this. But if not, I'd rather leave it out. Up to you.

Completely agree about keeping things simple. This is a fairly low-impact change though. If it causes any issues later on, I have no issue with ripping it out. For the moment, I see it being marginally useful, so let's give it a shot.

Alright, this looks good from my end. :ship:

:ship:


Interactive BEEFY commitment relay protocol

An in-memory database is used for managing the two-step BEEFY commitment relay protocol. State transitions:

BEEFY commitment is witnessed by the Substrate listener and passed to the Ethereum writer.
The Ethereum writer sends an InitialVerificationTransaction to the PolkadotRelayChainBridge. An Item is created in database containing the BEEFY commitment's information, status InitialVerificationTxSent, and the recently sent tx's hash.
Ethereum listener witnesses an InitialVerificationSuccessful event on the PolkadotRelayChainBridge. Fetches relevant item from database by the event's tx hash, then updates the item with status InitialVerificationTxConfirmed and CloseOnBlock.
Every block, the Ethereum listener checks each commitment with status InitialVerificationTxConfirmed and if its CloseOnBlock is <= the current Ethereum block then the database item is updated with status ReadyToComplete and a RandomSeed pulled from the intended completion block's hash.
Ethereum writer fetches the commitment from the database and uses the RandomSeed to select some validator addresses/proofs then sends a CompleteVerificationTransaction to the PolkadotRelayChainBridge. The item is updated in database with status CompleteVerificationTxSent.

TODO:

Gracefully sync the in-memory database from any previous block.
Re-introduce PolkadotRelayChainBridge validation checks.
Resolve edge case account nonce conflict that occurs sometimes when steps 2 and 5 overlap pending state. fixed in https://github.com/Snowfork/polkadot-ethereum/pull/314/commits/ddf9ae44cf627f88ff7189bce0332388f7ea779d

This PR is currently R4R but is not intended to be merged to master at this time.

@Rizziepit would appreciate a quick review from you on the relayer code too plz - ping on slack if any questions/clarifications

This is ready for another round of reviews. I've created two issues:

Relayer architecture and optimizations: https://github.com/Snowfork/polkadot-ethereum/issues/340
TODOs for proper verification of BEEFY commitments: https://github.com/Snowfork/polkadot-ethereum/issues/341

I've been having difficulty properly shutting down all goroutines, the final outstanding bug before this can be merged is that ~50% of the time killing then restarting the Relayer leads to the goroutines being deadlocked. Would appreciate it if the original author of the SIGINT, SIGTERM termination in core/relay.go could advise on the proper solution, thanks!

This is ready for another round of reviews. I've created two issues:

Relayer architecture and optimizations: #340
TODOs for proper verification of BEEFY commitments: #341

I've been having difficulty properly shutting down all goroutines, the final outstanding bug before this can be merged is that ~50% of the time killing then restarting the Relayer leads to the goroutines being deadlocked. Would appreciate it if the original author of the SIGINT, SIGTERM termination in core/relay.go could advise on the proper solution, thanks!

cc @Rizziepit

@denalimarsh can you branch this off master too and merge in master?

merged in with https://github.com/Snowfork/polkadot-ethereum/pull/343 - fixes will be made in upcoming PRs including your comments @Rizziepit


test(rln): use unchecked for Projective instantiation [dont merge]

closing in favor of https://github.com/vacp2p/zerokit/pull/259


Update 3sdk_windows.md

We have simplified our install for windows so this is not a requirement anymore. Closing this PR


Update lodash.d.ts

Not really sure why some functions are not here at all, but I needed this one (_.fill) in one of my projects so contributing back.

@slavomirvojacek thanks mate!

note
https://lodash.com/docs#fill


yaml file laoder has so as to expand the tilde

Currently, we only take in the Unix-like OS
altsrc is not to expand the tilde
From the path, which includes the tilde ( "~ / .mysrc") attempted to load a YAML file, but failed.
altsrc does not expand the tilde as "$HOME".
Use the https://github.com/mattes/go-expand-tilde, we want to improve this.

However, because dependent external library increases, is worried.
If you are satisfied, please let the opinion of the committers.

Hi @ykanda!
~ is a shell (specifically bash, but other shells support this) construct rather than a general file path component and is expanded before passing as an argument to the program. E.g.:
test-cmd --load ~/.mysrc should pass something like /home/jesse/.mysrc as the value of the load flag. Note that if you quote the flag value, the shell will not expand it, which is expected.
Let me know if this helps!

Thanks @jszwedko !!
"~/.mysrc" Was writing not good.I as the default value of --load option, wanted to set a value, such as ~/.mysrc.
However, I was a big misunderstanding. I wrote a Go code such as the following.Because it does not pass through the shell, not to expand the ~ is of course.
subCommand := new(cli.Command)
subCommand.Flags = []cli.Flag{
	cli.StringFlag{
		Name:   "load",
		Value:  "~/.mysrc",  // default value
	},
}
subCommand.Before = altsrc.InitInputSourceWithContext(
	subCommandCommand.Flags,
	altsrc.NewYamlSourceFromFlagFunc("load"),
)

The configuration file is common to be placed in the following $HOME. However, the actual path, because it depends on, such as user names, it can not be a specific value on the Go code. So, it was I think the good us to expand the ~ and $HOME.And, we want to set it as the default value of --load options.
--load option without setting the default value, read the implicit configuration file What is better to do on the application side to use the codegangsta/cli?

@ykanda ah I see!
For that I would recommend using os/user to find the home directory and do something like this:
u, err := user.Current()
// do something if err != nil
subCommand := new(cli.Command)
subCommand.Flags = []cli.Flag{
    cli.StringFlag{
        Name:   "load",
        Value:  filepath.Join(user.HomeDir, ".mysrc"),  // default value
    },
}
subCommand.Before = altsrc.InitInputSourceWithContext(
    subCommandCommand.Flags,
    altsrc.NewYamlSourceFromFlagFunc("load"),
)

@jszwedko
Well, your way is more good. Without undue expansion, and, we use a standard package. And what I wanted is probably this. Thank you for letting me know a good way.
This ticket will be closed. Thank you.

Happy to help!


prometheus: update test app & image

Signed-off-by: Zbynek Roubalik<EMAIL_ADDRESS>
Provide a description of what has been changed
Checklist

[x] Commits are signed with Developer Certificate of Origin (DCO)

Go 1.19 in docker and 1.17 in go.mod?

good catch, omg, last minute change.


Fix force accept of invalid consignments

Closes #24

I tried this PR on the sandbox branch mentioned in #24, and it seems this fix is not enough to solve the issue.
Looking to the code I noticed that unmined_terminals (the vector in Status that if not empty brings to Validity::UnminedTerminals) gets filled only in this piece of code:
for (operation, _) in &self.end_transitions {
    if let Some(anchor) = self.anchor_index.get(&operation.id()) {
        if let Some(pos) = self
            .status
            .failures
            .iter()
            .position(|f| f == &Failure::SealNoWitnessTx(anchor.txid))
        {
            self.status.failures.remove(pos);
            self.status
                .unresolved_txids
                .retain(|txid| *txid != anchor.txid);
            self.status.unmined_terminals.push(anchor.txid);
            self.status
                .warnings
                .push(Warning::TerminalWitnessNotMined(anchor.txid));
        }
    }
}

so only if a Failure::SealNoWitnessTx is found. But looking to Failure::SealNoWitnessTx documentation I've noticed it says witness transaction {0} is not known to the transaction resolver..
This explains why in the sandbox the validation status results in:
Consignment has non-mined terminal(s)
Non-mined terminals:
- e348c9b3d541ac5a4b1f4e796068352e20c8ef0b967ed771951771b7597150f4
Validation warnings:
- terminal witness transaction e348c9b3d541ac5a4b1f4e796068352e20c8ef0b967ed771951771b7597150f4 is not yet mined.

when we validate the consignment before broadcasting the TX, while after broadcasting the TX (not mining any block afterwards) the validation status becomes:
Consignment is valid

If I didn't misunderstand the meaning of Validity::UnminedTerminals this warning should be present also when the transaction is in the mempool but is unmined. If so I think this PR is not enough to close #24

Consignment is valid whenever resolver returns transaction given tx id. RGB has not concept of mempool. You just need to write resolver that wouldn't return tx until it is mined or has 3 confirmations - whatever the wallet policy is.

I find naming a bit confusing then. Validity::UnminedTerminals makes the developer think that terminals have not been mined (which means they have no confirmations). Maybe a less ambiguous name would be UnresolvedTerminals. And Validity::UnresolvedTransactions would be less confusing if named UnresolvedNonTerminals.

We can't change names without breaking API changes, thus it must be an independent PR targeting v0.11. Thus this PR hsould be merged first even if we will change the names after.


changed inventory system #139

Motivation
closes #139
Testing
Works. The only thing is, that the honey can only added once (and again after rejoining overworld). I don't belive that this has something to do with my implementation. Because with the stick it works perfectly.
Additional Information
Inventory is not shown on joining overworld. This issue has already been resolved. See https://github.com/mango-gremlin/arch-enemies/pull/141

fixed merge conflict in newest commit cf822
--> this conflict was caused by #141


怎么降低版本适合VS2017, .net core 2.19 , .net framework 4.5 也能运行

怎么降低版本适合VS2017, .net core 2.19 , .net framework 4.5 也能运行

@wangzhibinhttp Please ask your question in English. Thx

How to lower the version for VS2017,.net core 2.19,.net framework 4.5 can also run.sorry

Run on a lower version

@wangzhibinhttp You can use this library (via NuGet) with .Net4.5 and higher and also with .Net Core 3.0 Preview 3. You can use VS 2015 to VS 2019. If you want to compile this repository then you must use VS 2019.


Ldap

@tofumatt, @ednapiranha
This is the data migration.  I won't commit only this, I intend to replace most calls to LDAP within the app with calls to mysql/filesystem, but early looksies at this would be great.

This largely looks good. Let's fix the nits, rebase master in, and have another look.

(So first round of review is done; r- for now but that's expected as this still needs a rebase of master.)


Update godo package version

use godo that includes a portable Go context, which will make builds
work on Go 1.6 again.

Codecov Report

Merging #537 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #537   +/-   ##
=======================================
  Coverage   28.52%   28.52%
=======================================
  Files          34       34
  Lines        1995     1995
=======================================
  Hits          569      569
  Misses       1365     1365
  Partials       61       61

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 72cc8d6...e861cff. Read the comment docs.

All green! https://travis-ci.org/codedellemc/libstorage/builds/227825327


Add Codecov

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@f915f92). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master       #3   +/-   ##
=========================================
  Coverage          ?   60.86%
=========================================
  Files             ?        1
  Lines             ?       23
  Branches          ?        0
=========================================
  Hits              ?       14
  Misses            ?        9
  Partials          ?        0

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 f915f92...cd845f9. Read the comment docs.


loss calculation of multi-label classification.

For multi classification, while calculating loss for coco dataset why it is multiplied  by number of classes (80.0)? Is it weight parameter for class imbalance?
loss = criteria(output, target.float()) * 80.0

For calculating precision and recall should we use cumulative TP & FP as mentioned here:
https://github.com/rafaelpadilla/Object-Detection-Metrics

80 is used to scale the loss, otherwise loss value is too small.
We are using cumulative values.

Thanks for you clarifying sachin. One more thing loss output we get is 'mean' over a batch we multiply (losses.update) it with batch size to get batch loss which is ok. But precision and recall are already calculated for a batch then why it's again multiplied (prec.update,  rec.update) by batch size as shown in below code?
        losses.update(float(loss), input.size(0))         prec.update(float(this_prec), input.size(0))         rec.update(float(this_rec), input.size(0))

There is nothing fancy here. If you don't do this, then the statistics computed at entire dataset might be different (though not by  huge margin).
When we compute the dataset-level statistics, then mean of sample-wise statistics is not necessarily equal to mean of batch-wise stats.
For example, Let us say that you have following values in an array [1, 2, 3, 4, 5, 6] and let us say that you are using a batch size of 4 (so, you have [1, 2, 3, 4] and [5, 6] as two batches). In this case, sample-wise mean is 3.5 while batch-wise mean is 4.0 (mean(mean([1, 2, 3, 4]) + mean([5, 6])).
Hope this helps

Thanks for such a detailed reply.  I didn't want to ask about object detection in this thread but didn't wanted to open new issue.

priors per box for SSD300 should be [4 ,6 ,6 ,6 ,4 ,4] which sums upto 8732, but in your implementation its [6 ,6 ,6 ,6 ,6 ,6] which sums to 11640.

Is this done intentionally, if yes what were the benefits?

I was too lazy to tune these priors, so used same across all scales.
If you tune these, then your object detection would be much faster.

Also, feel free to create a pull request to merge your changes

Thanks for replying, sure thing !!

i have raised a pull request, please check whether the code is correct.
https://github.com/sacmehta/EdgeNets/pull/34#issue-416950573


Error open brower in container

It's giving an error opening the browser running inside the container. What can it be?

It could be multiple things! It can be DNS, PROXY! When the browser closes and why there is a problem with the connection with whatsapp


[sival,otp_ctrl] sival testplan update for otp_ctrl

otp ctrl sival test plan upate.
Following testpoints need test update

chip_otp_ctrl_init
chip_sw_otp_ctrl_keys
chip_sw_otp_ctrl_entropy
chip_sw_otp_ctrl_program
chip_sw_otp_ctrl_program_error
chip_sw_otp_ctrl_lc_signals
chip_sw_otp_ctrl_vendor_test_csr_access
chip_sw_otp_ctrl_escalation
otp_ctrl_calibration

Following updates need to be done

[x] Add test point and description for CHECK_TIMEOUT
[x] Update test point can be x-ref to manufacturing testpoints
[x] Add explicit lc state requirement for sival and fpga to test point chip_sw_otp_prim_tl_access

CHANGE AUTHORIZED: hw/ip/otp_ctrl/data/otp_ctrl.hjson

CHANGE AUTHORIZED: hw/ip/otp_ctrl/data/otp_ctrl.hjson


Add Gamepad handling - xbox only

Adds support to use Gamepad in the JS sample app. Xbox only supported, must press LB to process Joystick input.

I did not forget about this, will test tomorrow and merge


Add descriptions for Frontity Packages

The following sections of the documentation under 'Frontity Packages'

@frontity/tiny-router
@frontity/wp-source
@frontity/html2react

Lack any kind of introduction describing them, what they do, or what they should be used for and why.
Add descriptive text to top of these documents outlining their purpose.
https://docs.frontity.org/api-reference-1

Closed as the packages are properly described now


scummvm: 2.0.0 -> 2.1.0

Motivation for this change
Version bump. Needs curl for new cloud saving feature.
dontDisableStatic flag is added since the ./configure script didn't recognize --disable-static flag added by default.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Notify maintainers
cc @peterhoeg

@GrahamcOfBorg build scummvm


cannt work on xiaomi;

_controller = CameraController(cameras.first,           EnumHandler.imageResolutionToResolutionPreset(widget.imageResolution),           enableAudio: widget.enableAudio,           imageFormatGroup: ImageFormatGroup.jpeg);
it should remove ' imageFormatGroup: ImageFormatGroup.jpeg', or cannt detect face in android;
plz check out demo:
https://github.com/bharat-biradar/Google-Ml-Kit-plugin/tree/master/packages/google_ml_kit/example.
it work fine in my device;
device: xiaomi Mix 2s;

去掉之前几个手机都不行，去掉之后MIX3还是不行，这问题真头疼

Hi guys, sorry for the delay. Thanks for using our plugin and for reporting the issue. Your feedback is invaluable in improving its quality. I'm glad to let you know that the issue has been resolved in the latest version (0.0.7). Please update your installation and feel free to reach out if you have any more questions. Thank you for your support and contribution to the face_camera plugin community.


[75] Issue #75 - June 22, 2017

Thanks @gregheo 🙌

Joe Groff on Twitter break 😭
https://twitter.com/jckarter/status/875401073447419904

Swift Migrator
https://github.com/apple/swift/tree/master/lib/Migrator

My next language will avoid all of these problems by not having function arguments. Or functions, or values
https://twitter.com/slava_pestov/status/875150641269571584

Already imroving Codable: https://github.com/apple/swift/pull/10321

Seems interesting: https://github.com/apple/swift/pull/9457

Turning the other cheek: https://twitter.com/aciidb0mb3r/status/876365317492031488

Upstreaming the UndefinedBehaviorSanitizerRuntime and MainThreadCheckerRuntime plugins
https://github.com/apple/swift-lldb/pull/211
https://github.com/apple/swift-lldb/pull/212

Addressing the SE-0110 usability regression in Swift 4
https://lists.swift.org/pipermail/swift-evolution/Week-of-Mon-20170619/037616.html
Integers and their protocols
https://lists.swift.org/pipermail/swift-evolution/Week-of-Mon-20170612/037593.html
ref https://github.com/apple/swift-evolution/blob/master/proposals/0104-improved-integers.md
https://gist.github.com/xwu/d68baefaae9e9291d2e65bd12ad51be2
Introducing Role Keywords to Protocol Implementations to Reduce Code Errors
https://github.com/erica/swift-evolution/blob/2f2778797ceb9edc0b8acd3b68af5f81f9a95775/proposals/XXXX-role-keywords.md

No apologies necessary, stay with us! https://twitter.com/austinzheng/status/877054901620101120

Anyone need a seasoned engineering lead?
https://twitter.com/clattner_llvm/status/877341760812232704

😱

@gregheo saw that. 😱
also:
https://mobile.twitter.com/clattner_llvm/status/877353276676612102
https://mobile.twitter.com/modocache/status/877360248172007424

beta 2 seeds
http://adcdownload.apple.com/Developer_Tools/Xcode_9_beta_2/Release_Notes_for_Xcode_9_beta_2.pdf

@gregheo Draft looks amazing. 🙌  Always impressed with your writing. 😎 (That compliment does not mean we're friends, fyi.)

@jessesquires "friends" then "friends" then friends. I'm working my way up. 🏔


Not an issue but a suggestion: Merge into Esphome?

Hi, would it be possible to get this device supported into esphome? I think it would fit quite good as a supported sensor and you would get all the other stuff esphome supports as a bonus.

@habbie already did that
See https://github.com/Hypfer/esp8266-vindriktning-particle-sensor/issues/3#issuecomment-882858203
Personally, I don't use ESPHome due to philosophical differences.

Just for reference, I'd like to mention that decentralization is a good thing.
We shouldn't be merging everything into a single yaml behemoth.
Nabu Casa is slowly eating the smarthome world which by definition is a bad thing even though their intentions are most likely good.
We need better solutions to eliminating boilerplate code than merging everything into a single legal entity.

Just for reference too ;) I'd like to mention that while your concerns are understandable., I just like not having to rely on projects where I have to search half the internet for and then to discover that the one dude/duddette who  maintained it alone has last logged in 4 years ago. (not talking about you, but in general). Open source can help with both these problems but not eleminate them completely.
https://xkcd.com/2347/


Unknown option: mousescroll=ver:3,hor:4 in nvim 0.7

Setting up a fresh nvim config, thought I'd try your plugin.
Love it, but getting this error on start.
Error detected while processing /Users/jefferyhoffman/.local/share/nvim/site/pack/packer/start/human.vim/plugin/human.vim:
line  182:
E518: Unknown option: mousescroll=ver:3,hor:4

Looks like this setting is only available in nightly. Which version of nvim does this plugin require?

That's right, this option is available from the Nightly version of Neovim. I'll look for the patch that implements it.
@jkhoffman thanks for reporting it !!

Hi @jkhoffman !! - sorry for the wait, I just uploaded an update with the patch and its respective validation, which solves this problem.
Please, close it only if the problem is solved.


Thumbnails are rotated on Samsung Devices

Describe the bug
Many of the thumbnails are displayed with the incorrect orientation on Galaxy Devices (S6 and S7 for sure).
To Reproduce
Steps to reproduce the behavior:

Take a photo in each orientation.
Open Matisse
All thumbnails except "normal" portrait will be displayed incorrectly on Galaxy S7 and S6 (and possibly others)

Expected behavior
The thumbnails should display in
Screenshots
Will attach shortly.
Smartphone (please complete the following information):

Device: Galaxy S6
OS: Android 7
Version 0.5.1

Additional context

Many Samsung devices are the same. Maybe use exif info to correct the rotation.

I can correct it with exif information after selecting, but I would like to see them oriented correctly in the selection screen.


AAD B2C single logout for local accounts

According to this post
https://github.com/MicrosoftDocs/azure-docs/issues/34577
"if you are using local accounts from within your Azure AD B2C directory , you would be able to do a complete sign-out", but how can I implement this?
I have 2 websites in the same tenant, SSO is working fine but SLO is not. Used,
HttpContext.Current.GetOwinContext().Authentication.SignOut();
and
Response.Redirect("https://{tenant}.b2clogin.com/{tenant}.onmicrosoft.com/oauth2/v2.0/logout?p=b2c_1a_signup_signin");
same result.

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

ID: c54adceb-9510-aeb5-0c61-c0d052459cda
Version Independent ID: 0ff6b6b2-2802-9534-8963-796b9c4a2a76
Content: Web sign-in with OpenID Connect - Azure Active Directory B2C
Content Source: articles/active-directory-b2c/openid-connect.md
Service: active-directory
Sub-service: b2c
GitHub Login: @mmacy
Microsoft Alias: marsma

@simonzhai97 Thank you for your query, our team will further look into it and get back to you at the earliest.

We're having a similar issue. To test this I have mocked up two OpenId capable web apps. I'm only using local accounts (not social idp's). If logged into both applications and sign out of one the other is never notified of the logout. I have reviewed the Azure AD specific documentation and this suggests it will notify all RP's of the logout event (using Front channel I believe). I'm assuming front channel logout is not supported at this time in B2C?

If forgot to mention, all apps in this test case had logout URL's configured.

@simonzhai97 did you clear your cookies and do the single logout?
In addition to that you're saying that you are using local b2c accounts and using the single logout call, and it's not logging the users out?
There are some issues per the feedback here :
https://feedback.azure.com/forums/169401-azure-active-directory/suggestions/19211881-single-sign-out-in-b2c
https://feedback.azure.com/forums/169401-azure-active-directory/suggestions/39752038-fix-issue-with-b2c-calling-external-openidconnect
If you're interested in these features please upvote them accordingly, and the product team will look into resolving them as soon as possible. I apologize for the inconvenience, that being said I will be closing out this git issue by eod monday.

Thanks Frank for your input, when you say "do the single logout", I don't know what is the process to "do the single logout", this is my question, how to do it.
I've posted my code in the original post, when signout from website1, it's successful, but website2 stay logged in, I would like website2 also log out, which would be "single sign out".
In the post https://github.com/MicrosoftDocs/azure-docs/issues/34577, "ShashiShailaj-MSFT" said "if you are using local accounts from within your Azure AD B2C directory , you would be able to do a complete sign-out", would you be able to contact him to confirm how to implement this?

single logout is doing the redirect per your initial post. Remember that the access tokens are not invalidated. See here : https://social.msdn.microsoft.com/Forums/en-US/1a959be2-36eb-4099-a607-8f8f4e52665e/azure-ad-b2c-signout-not-working?forum=WindowsAzureAD
If this is not your expected case scenario please submit it against the b2c feedback forums and someone will engage accoridngly.
that being said as this has been addressed I will be closing this out by end of day, if there are anymore troubleshooting issues please submit it against the Q&A Forums here : https://docs.microsoft.com/answers/index.html
Thanks,

"Single Signout" means signout from website1 will also signout from website2. As you said "the access tokens are not invalidated", so it can't be true for ShashiShailaj's comment of "if you are using local accounts from within your Azure AD B2C directory , you would be able to do a complete sign-out", correct?

@simonzhai97 there is a miscommunication regarding the words "complete sign-out". it's not complete in the sense that tokens are invalidated,

Thanks @FrankHu-MSFT , indeed I misunderstood the comment. I will upvote the feature request.


Microsoft Learn - New arrivals

It seems that more and more modules are published.
I can only find it when I browse learning and result number increase.
I want to check new arrivals.
It would be great to show new arrivals on top page or announcement page.
Thank you for creating great contents!

@akiyoshi for your suggestion. We are working towards greater content discovery for learn modules.


Random Test Failures with "Cannot find property of undefined"

https://stackoverflow.com/questions/55619495/random-jest-test-failures-with-error-cannot-read-property-of-undefined
I have raised the same question on stack overflow but exposing it here in case anyone can suggest something.
#8133 #8304

I'm actually not sure what issue your facing. Can you provide a sample repo or some examples?

Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.


Fixed bug: canvas is busy (at least one reproducing way)

Motivation and context
Resolved #3711
Resolved #3652 (related issue)
How has this been tested?

Checklist

[x] I submit my changes into the develop branch
[x] I have added a description of my changes into CHANGELOG file
[ ] I have updated the documentation accordingly
[ ] I have added tests to cover my changes
[x] I have linked related issues (read github docs)
[x] I have increased versions of npm packages if it is necessary (cvat-canvas,
cvat-core, cvat-data and cvat-ui)

License

[x] I submit my code changes under the same MIT License that covers the project.
Feel free to contact the maintainers if that's a concern.
[x] I have updated the license header for each file (see an example below)

# Copyright (C) 2021 Intel Corporation
#
# SPDX-License-Identifier: MIT

@ActiveChooN
Could you please look at the PR?

@dvkruchinin
Could you please add a test according to the scenario?

Activate an object
Start dragging it (do not release mouse)
Delete it using Del key
Try to activate another object (before fix objects can't be activated)

@dvkruchinin
Could you please add a test according to the scenario?

@bsekachev
Sure. I`ll update a test.


Request a package

Hello ! I saw you made a xmake.lua on borealis do you think it's possible to make a borealis package ? I created a toolchain  with xmake and I wanted to create a borealis package. I wanted to use your xmake.lua but I didn't success. There's some errors because I'm not using the good plat.

For example with the following code :
package("borealis")
    set_homepage("https://github.com/PoloNX/borealis")
    set_description("Hardware accelerated, Nintendo Switch inspired UI library for PC, Android, iOS, PSV, PS4 and Nintendo Switch")
    set_license("Apache-2.0")

    add_urls("https://github.com/PoloNX/borealis.git")
    add_versions("2024.04.18", "ae9b053ce527faaef5356d1acfd4f7a392604451")

    on_install(function (package)
        import("package.tools.xmake").install(package)
    end)

    on_test(function (package)
        assert(package:has_cfuncs("brls::Application::init", {includes = "borealis.hpp"}))
    end)

I'm getting an include error :
error: @programdir\core\sandbox\modules\os.lua:132: cannot link gl.h to glad.h, Unknown Error (1314)

@PoloNX
borealis pkg on wiliwili
https://github.com/xfangfang/wiliwili/blob/yoga/xmake.lua#L38

Thanks will try to use it

Tried with the test.lua
xmake l scripts/test.lua -vD --shallow borealis
And I still have this error
error: @programdir\core\sandbox\modules\os.lua:132: cannot link gl.h to glad.h, Unknown Error (1314)
here is a full log
log.txt

@PoloNX
https://github.com/zeromake/xrepo/blob/master/packages/b/borealis/xmake.lua

Thanks @zeromake for your hard work ! all issues seems to be fixed except at the end when I have one compilation error with the file glfw_video.cpp
C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared\minwindef.h(130): warning C4005: 'APIENTRY': macro redefinition
C:\Users\geyre\AppData\Local\.xmake\packages\x\xfangfang_glfw\2024.02.26-alpha\3b6dc0458a404eb685229d88af670da4\include\GLFW/glfw3.h(123): note: see previous definition of 'APIENTRY'
library\lib\platforms\glfw\glfw_video.cpp(313): error C2589: '(': token following '::' is not legal
library\lib\platforms\glfw\glfw_video.cpp(313): error C2062: unexpected type 'unknown-type'
library\lib\platforms\glfw\glfw_video.cpp(313): error C2059: syntax error: ')'

@PoloNX
should be windows define var, I add to xrepo use osx pc test, I'll take a look at it at night

Thanks, I will try on my arch linux

It's an issue with windows.h. you have to add two defines in the file port/xmake.lau like this
    if is_plat("window") then
        add_defines("NOMINMAX", "WIN32_LEAN_AND_MEAN")
    end

Now I have one error when I'm building example. it's about glad
error: @programdir\core\main.lua:329: @programdir\actions\build\main.lua:148: @programdir\modules\async\runjobs.lua:322: @programdir\actions\build\kinds\binary.lua:53: @programdir\modules\core\tools\link.lua:175: borealis.lib(glfw_video.cpp.obj) : error LNK2019: unresolved external symbol gladLoadGLLoader referenced in function "public: __cdecl brls::GLFWVideoContext::GLFWVideoContext(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,unsigned int,unsigned int,float,float)" (??0GLFWVideoContext@brls@@QEAA@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@IIMM@Z)
build\windows\x64\release\demo.exe : fatal error LNK1120: 1 unresolved externals

@PoloNX glad 2.x version gladLoadGLLoader change,but borealis not support glad 2.x, only glad 0.1.x

@PoloNX
added glad 0.1.36 on xrepo support to borealis

Fixed it. thanks for your huge works. I'll made a pr to add switch support


DATAJDBC-1110

Adressing #1110 issue.
@schauder Please, review this PR

Sorry, I rediscovered this PR just after I merged #1458.
But your PR goes beyond that at removes now no longer parameters and fields, so I merged that.
Thanks for your work.


Bug with task "Create a Custom Heading"

Challenge Name

https://www.freecodecamp.com/challenges/create-a-custom-heading
Issue Description

I managed to succed with the task even though I didn´t fullfil all task written. In this case i manage to move forward when the "CatPhotoApp" and image where not on the same level as expected by the task.
Browser Information

Browser Name, Version: Chrome 51.0.2704.103 m
Operating System:  Windows 8
Mobile, Desktop, or Tablet: Desktop

Your Code

<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">

CatPhotoApp

      <button class="btn btn-block btn-primary">Like</button>

      <button class="btn btn-block btn-info">Info</button>

      <button class="btn btn-block btn-danger">Delete</button>

Things cats love:

cat nip

laser pointers

lasagna

Top 3 things cats hate:

flea treatment

thunder

other cats

  <form action="/submit-cat-photo">
    <input type="radio" name="indoor-outdoor"> Indoor
    <input type="radio" name="indoor-outdoor"> Outdoor
    <input type="checkbox" name="personality"> Loving
    <input type="checkbox" name="personality"> Lazy
    <input type="checkbox" name="personality"> Crazy
    <input type="text" placeholder="cat photo URL" required>
    <button type="submit">Submit</button>
  </form>

Screenshot

@raisedadead, yep someone wrote answer in challenge seed. I think it is not suppose to be there.  so someone need to fix that. XD

This can be narrowed down to test 1 Your h2 element and topmost img element should both be nested together within a div element with the class row. passing even if the outer div is not well formed.

I think I corrected this in the above PR by ensuring users can't place nested divs within their
 and
 divs


Cannot decorate template of maMenuBarDirective

Description
I am simply trying to provide a new template to the menuBarDirective. However it is never used
myApp.config(function(NgAdminConfigurationProvider, $provide) {

        $provide.decorator('maMenuBarDirective', ['$delegate', function ($delegate) {

            $delegate[0].template = '
TEST
';
            console.log($delegate);
            return $delegate;
        }]);
});

Steps to Reproduce
Execute http://plnkr.co/edit/fVCo93?p=preview
Expected behavior:
The menu should display TEST, as per the decorator template
Actual behavior:
The default menu template is still used

Current workaround is to decorate the whole link method of the menuBarDirective.
We have to decide if this is acceptable or if the directive should be refactored to ease templating

Normally, you can use template() on the topmost menu, so for the general case, it's already possible. You probably need more than that, and in this case it's not supported.


thoughts

if backend='nvcc' is set, compiler should first check whether nvcc is actually available. This is for the extreme corner case (cudatoolkit from conda-forge does not come with nvcc).
CUB-backed generic reduction kernel (using BlockReduce)
fix data transfer serialization in the multi-GPU fft I recently added (related: #8)
investigate if fftn can be done by looping over multi-GPU fft
generic multi-GPU fftn
test shutdown bug by running subprocess with output captured (should be null).

To learn:

sparse matrix
linalg / SVD
string template based kernel generation technique

investigate if fftn can be done by looping over multi-GPU fft

Surprisingly, this just works?!
import cupy as cp
import numpy as np

# ensure _fft is called and not _fftn
cp.fft.config.enable_nd_planning = False

shape = (512,512,512)
a = cp.random.random(shape) + 1j*cp.random.random(shape)
a = a.astype(cp.complex128)

cp.fft.config.use_multi_gpus = True
cp.fft.config.set_cufft_gpus(2)
out = cp.fft.fftn(a)

a_np = cp.asnumpy(a)
out_np = np.fft.fftn(a_np)
print(cp.allclose(out, out_np, rtol=1e-4, atol=1e-4))

speed up fft by cythonizing it
memoize get_arch in compiler.py


Promise returned by $animate.addClass() is resolving immediately

When using $animate.addClass() to trigger a CSS animation, the returned promise appears to resolve immediately, instead of after the animation completes.
I created a Plunker that demonstrates the issue.

there are 2 problems with your plunker

you are mixing and matching versions of angular and angular-animate. Make sure they are the same version, always!
You are not actually using the ngAnimate module. The $animate service in the ng module (from angular.js rather than angular-animate.js) will always resolve this promise immediately, because it's just a dummy API. Using the actual ngAnimate module, it appears to work correctly, see http://plnkr.co/edit/oulm9gcPf795nLTcuWqY?p=preview

Simply making my module dependent on ngAnimate fixed it, thanks!  (The mismatching versions of the modules were simply the latest versions that Plunker had available already.)  Sorry for cluttering up the issues list!

no problem, glad to help~


syntax highlight of async function & arrow function

From @ikarosu on May 11, 2016 2:51

VSCode Version:1.1.0
OS Version:Windows 10

Steps to Reproduce:

creat new a javascript file
typeconst foo = async () => {}
we can see keyword "async" is not highlight

Copied from original issue: Microsoft/vscode#6273

Fixed by #257


Bash Tab Completion issues

Please use the following bug reporting template to help produce actionable and reproducible issues. Please try to ensure that the reproduction is minimal so that the team can go through more bugs!

A brief description
Tab completion appears to be favoring returning searches from the full path but not the local directory.

Steps / All commands required to reproduce the error from a brand new installation
Enter the following Bash commands:

$ mkdir temp
$ cd temp
$ echo hello > hello.txt
$ echo world > world.txt
$ ls
1.txt  hello.txt  world.txt
$ h <hit tab twice>

Expected results

hello.txt

Actual results (with terminal output if applicable)
List of all the Windows files on the path (which includes the Windows path) that begin with 'h'

h2ph            hcproviders.dll    help.exe        hhsetup.dll     hnetcfg.mof     hotplug.dll  ...

Strace of the failing command
N/A

Your Windows build number
15027

Required packages and commands to install
N/A

See our contributing instructions for assistance.

Hey @bitcrazed -- isn't this behavior exactly as expected?  Twofold:  (1) bash is expecting a command; assuming this is VolFS, "hello.txt" is not executable (nor is it a directory that might contain an executable command).  And (2) Linux, unlike DOS / cmd.exe, doesn't let you invoke executables without specifying a path.  You must at least specify a relative path, such as ./hello.sh.  This is (I'm told) a security / defensive coding thing, to make it slightly harder to hack processes to cause them to execute a script that they just wrote to a temp file.
You can make bash's behavior more Windows-ey by adding . to $PATH.  That fixes (2), but not (1) (unless you're on DrvFS because DrvFS still flags all files as executable).
Anyway, the following works for me, as I would expect as a Linux user:
$ mkdir temp
$ cd temp
$ echo hello > hello.txt
$ echo world > world.txt
$ ls
1.txt  hello.txt  world.txt
$ cat h <hit tab once -- autocompletes to "cat hello.txt">

Note that bash's autocompletion is actually relatively powerful -- it's very context-aware; it can be configured to be aware of the command signatures of particular commands and to autocomplete for valid inputs for specific arguments (if those arguments are particular file types or even not files at all).
Documentation is here:
https://www.gnu.org/software/bash/manual/html_node/Programmable-Completion-Builtins.html
Relevant configuration files on Ubuntu:
/etc/bash_completion
/etc/bash_completion.d/*

Yep; same behavior on Ubuntu or any *nix. Used to be common back in the day to have '.' at the front of your path. Simple export PATH=.:$PATH will put $PWD at the front of the line for tab completion.


Flutter on musl

Is there any way to run Flutter using musl instead of GNU C compiler on Void Linux?
Linux ThinkPad 5.4.24_1 #1 SMP PREEMPT Thu Mar 5 19:18:56 UTC 2020 x86_64 GNU/Linux

➜  ~ ls /opt/flutter/bin/cache/dart-sdk/bin/dart
/opt/flutter/bin/cache/dart-sdk/bin/dart
➜  ~ /opt/flutter/bin/cache/dart-sdk/bin/dart
zsh: no such file or directory: /opt/flutter/bin/cache/dart-sdk/bin/dart

Hi @
This issue doesn't seem to describe a bug or a feature request. Please see https://flutter.dev/community for resources and asking questions like this,
you may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you


Fix link in warning for PublishCodeCoverageResultsV1

Task name: PublishCodeCoverageResultsV1
Description: Update link so incorrect URL isn't created
Documentation changes required: N
Added unit tests: N
Attached related issue: #19713
Checklist:

[x] Task version was bumped - please check instruction how to do it
[ ] Checked that applied changes work as expected

I think it's better to completely remove the warning, because V2 is not feature complete.


Steps Out Of Date?

When following this guidance and going to grant admin consent there are no API permissions requiring admin consent. Their are three API permissions in place that do not require admin consent. These are
Microsoft Graph
openid
profile
User.Read
Does this section need removing or updating?

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

ID: eed4f875-3115-073b-5ffd-3b31eaf0205f
Version Independent ID: a7476b7f-fce3-474f-6a1f-558321768c15
Content: Use Azure Active Directory to access Azure file shares over SMB for hybrid identities using Kerberos authentication
Content Source: articles/storage/files/storage-files-identity-auth-azure-active-directory-enable.md
Service: storage
Sub-service: files
GitHub Login: @khdownie
Microsoft Alias: kendownie

Hi @RyanLWilliams
Yes, it is true that the API permissions you listed, Microsoft Graph, OpenID, profile, and User. Read, do not require admin consent.
According to the Microsoft identity platform developers' guide to requesting permissions through consent, some organizations may change the default user consent policy for the tenant. When your application requests access to permissions, they are evaluated against these policies. However, if the API permissions you listed do not require admin consent, then the user will not need to request admin consent.
In general, API permissions that do not require admin consent are delegated permissions that are granted by the user who is signing into the application. Application permissions, on the other hand, always require admin consent and are granted directly to the client application.

@Mine-MSFT any idea why a user would not see a new Azure AD app after enabling AAD Kerb? @RyanLWilliams when you go to the Azure portal > your storage account > File shares, does it say Active Directory: Configured? If you click on Configured, can you confirm that "Azure AD Kerberos" is enabled?

@RyanLWilliams this might be a permissions issue. Are you seeing the "some actions may be disabled due to your permissions" error such as in the screen shot in the troubleshooting guide below? If so, you might need to ask your Azure AD admin to grant admin consent to the new Azure AD application.
https://learn.microsoft.com/en-us/azure/storage/files/files-troubleshoot-smb-authentication?tabs=azure-portal#potential-errors-when-enabling-azure-ad-kerberos-authentication-for-hybrid-users

@khdownie I do see that exact message in red. I asked one of the global administrators to follow the steps provided in the docs link and they reported back no admin consent was required just those three delegated app permissions already there. I will double check with them and confirm.

@khdownie @AjayBathini-MSFT I worked with the Global Admin to look at this. Just as some context the storage account was created and configured with Terraform. We never saw API permission DirectoryName to grant admin consent to. Despite that we still hit the grant admin consent button. I did also deploy another storage account straight from the portal same result. I do still think this section of the page needs updating.
What a global reader saw before admin consent.

What a global admin saw even after giving consent.

Terraform example to deploy storage account.
`resource "azurerm_storage_account" "example" {
name                = "storageaccountname"
resource_group_name = azurerm_resource_group.example.name
location                 = azurerm_resource_group.example.location
account_tier             = "Standard"
account_replication_type = "GZRS"
azure_files_authentication {
directory_type = "AADKERB"
}`

@RyanLWilliams thanks for the details. Agree that the page may need updating. Just to clarify, does AAD Kerberos auth work now, or are you blocked?

@khdownie Sorry for not adding that key bit of information. It now does work :)

@RyanLWilliams that is good news. So as far as the docs go, the issue here is that you didn't see a service principal/application to grant admin consent to? You didn't see an application with the name matching [Storage Account] .file.core.windows.net. (?)  Or what exactly needs to be updated?

@khdownie I think to summarise is that the we do not see step 6. Select Grant admin consent for "DirectoryName". we only see the below API permissions that don't require admin consent

However you do need to still grant admin consent for Azure AD Kerberos authentication to work

@RyanLWilliams I changed the docs slightly so this isn't confusing. Thank you for your contribution.


GaussianBlurEffect.cs doesn't work correctly with alpha values != 255

reason cairo images use premultipled alpha values

Perhaps it would be good to have some utility methods in ColorBgra to construct one from non-premultiplied values? It seems like a lot of repetitive 255 / A checks are going to need to be added to a lot of files...

This is a good idea. I added the methods ToPremultipliedAlpha() and ToStraightAlpha()


Grant feed documentation file.

Will need additions and edits as the AE grant/KFS grants deltas workflow evolves.

@rakunkel-ucd is this cready or still in progress?


Automate committing of simulation tools to database within submission GitHub action workflow

I outlined an issue-based workflow for accepting contributions of simulation tools.
Committing the simulation tool to the database needs to be incorporated here: https://github.com/biosimulations/Biosimulations_utils/blob/align-with-api/Biosimulations_utils/ci_actions/validate_commit_simulator.py
Tasks

[x] Pull image and push copy to GitHub container repo under biosimulators organization

[x] URL pattern: ghcr.io/biosimulators/{simulator-id}:{simulator-version}-{biosimulators-schemaVersion}-{imageVersion}
[x] Set short tag when image is the latest copy of the version of the simulator (ghcr.io/biosimulators/{simulator-id}:{simulator-version})
[x] Set latest tag when image is the latest pushed version(ghcr.io/biosimulators/{simulator-id}:latest)

[x] Replace the image URL in the specs with the URL for the copy in the GitHub container repo
[x] Add a secret for the BioSimulators API to the biosimulators/Biosimulators repository
[x] Use this secret in Biosimulations_utils/ci_actions/validate_commit_simulator.py to post to the BioSimulators API. See TODO note in Python code

I added secrets to the GitHub repo for the "GitHub Simulators Actions" Auth0 app

BIOSIMULATORS_API_CLIENT_ID
BIOSIMULATORS_API_CLIENT_SECRET

I added code to use the secret to get an auth token to the BioSimulators API.
I added code to use the auth token to POST/PUT to the BioSimulators API. There seems to be an issue with the authorization. See #1402.

can this be closed when #1402 is?

I just incorporated this into the align-with-api branch of Biosimulations_utils.


<<<>>> on Syntax page isn't rendered

Problem or new feature
https://github.com/Raku/doc/blob/7f8b1f6fc595c4e89f2d2a9f0a38f09011de4e99/doc/Language/syntax.pod6#L1011
C<<< >>> is not rendered in the page, probably because of the <> characters. I don't know how to fix it myself I'm afraid
Suggestions
Fix this.

Sure will. Thanks for noticing it and pointing it out to us.

Sure will. Thanks for noticing it and pointing it out to us.


New portfolio

Fixes #570 #574

[ ] portfolio main page - token decimals
[ ] token page - token decimals
[ ] token page - standard rewards management section
[ ]

[ ] update missing API data to say "coming soon"
[ ] standard rewards program end date
question on this, we have 2 values that need to be checked for this.

endTime - the pre defined termination time.
isProgramActive - since a program can be terminated before the defined endTime, we need to identify the time of this change.
IF we do not have this data available, remove the indication.

[ ] endTime is incorrect

[ ] incorrect balance indication
actual: show Token wallet balance
expected: show bnToken balance

[ ] input value remains after closing the interface
flow:
deposit token to the pool (not rewards)
go to portfolio
click the token to reach the portfolio/token page
click "manage" section to manage your tokens that are staked for rewards
click "join rewards"
input any amount
close the popup
reopen it
actual: see the last input amount
expected: see an empty input field

[ ] deposit #657 @RanCohenn
[ ] approval for join rewards @pingustar
[ ] input balance or join rewards @pingustar

[ ] deposit flow APR breakdown
expected:
compounding section -> show APR = fees APR + auto compounding APR
rewards section -> show APR = standard rewards APR

[ ] On BNT token page Vault balance status "Never in deficit" need to be in green

[ ] Mobile - In the rewards management widget the APR is too close the amount

[ ] withdraw bnt notification
flow:

withdraw 1 bnt
get notification for 0 bnt

[ ] cancel withdrawal
flow:

initiate a withdrawl
on the 2nd popup of this process, (complete withdrawal) click the "cancel" option
expected: open the cancel withdrawal popup flow
actual: popup closes and withdrawal is still pending


Check for IAM Permissions before launch

Is it possible to enumerate the needed IAM permissions and then check they are set appropriately prior to launching the terraform? Can this be done with terraform as some sort of pre-flight check?

This feature is now released as part of #42


Add form to create an oppotunity

Add the ability to the user to create a new opportunity.
Add the 3 step to the form.
Also add all the notification related to this

pull resquest #172


Does not work on Samsung w/ OneUI 3.0 / Android 11

Forwarding here from https://github.com/EtchDroid/EtchDroid/issues/117
Problem
The affected users seem to be running Samsung's downstream ROM "OneUI" version 3.0 or later. I was able to borrow a devices with OneUI 1.0 and it doesn't seem to be affected.
I'm currently testing on a device with OneUI 2.1, though I'm having issues with wireless ADB and I will have to return it soon.
EDIT: I didn't manage to connect to ADB over Wi-Fi but EtchDroid is working fine on it.
Expected behavior
Actual behavior
No user provided a logcat but the behavior seems the same as when the app is closed, then re-started with the same USB drive selected without unplugging and re-plugging the USB drive (ANR then timeout).
EtchDroid hangs after the USB drive selection, which is when - after devices are discovered by libaums - EtchDroid tries to open it and fetch the block device driver - it usually hangs on the first SCSI command.
Stacktrace of Excpetion
Affected users: please provide.
Code where problem occurs

Interesting, I read the thread in EtchDroid/EtchDroid#117 but I am as confused as you probably are.
I am not sure if we are missing something to make this fully compatible with Android 11?
I am assuming you are using the libusb communication? Maybe you want to package an app for the guys in EtchDroid/EtchDroid#117 using the vanilla Android USB API and see if that makes any difference?

I am assuming you are using the libusb communication? Maybe you want to package an app for the guys in EtchDroid/EtchDroid#117 using the vanilla Android USB API and see if that makes any difference?

That's not a bad idea actually, I didn't think about it. No one provided logs though, it's hard to tell what's breaking exactly.
I just posted this here hoping you have or know someone who has a recent Samsung, it's hard to borrow devices around these times :)

I am assuming you are using the libusb communication? Maybe you want to package an app for the guys in EtchDroid/EtchDroid#117 using the vanilla Android USB API and see if that makes any difference?

That's not a bad idea actually, I didn't think about it. No one provided logs though, it's hard to tell what's breaking exactly.
I just posted this here hoping you have or know someone who has a recent Samsung, it's hard to borrow devices around these times :)

It recently worked for me on my Samsung Galaxy S20 FE running OneUI 3.0 with no issues. If you need any testing let me know.

I am using MIUI in Redmi Note 10 Pro. This software cannot function well, too. It always reports an error and then screen will turn to
black.

I was very troubled with the same problem. I found this is caused by function:  claimInterface (UsbInterface intf, boolean force).

If I let force == true (just like in libaums), then the crash appeared.
If I let force == false, this problem disappeared but the return value of  "claimInterface" is false, so I was unable to continue the next step.

So I this the key point is claimInterface( ).But I don't know how to do.

Are you trying this with or without OTG storage enabled in settings?
Something I noticed, using my OnePlus Nord N10 5G is that for some reason with that enabled as you would typically need for the phone to notice the drive right, it actually throws off EtchDroid on my device.
One day I tried EtchDroid and actually had forgotten to enable that option in System Settings and even tho most apps won't even recognize the drive without that enabled, it was the ONE thing that actually helped EtchDroid to fully complete the writing of the img successfully.


Update API reference to match headers

Update typedefs and function prototypes in the API reference to match header files. Delete documentation for pb_skip_varint/pb_skip_string, which are superseded by pb_skip_field, and add pb_get_encoded_size.

Thank you very much! It's way too rare to get pull requests for documentation :)


understand LSTM in Pytorch

some links:

http://mlexplained.com/2019/02/15/building-an-lstm-from-scratch-in-pytorch-lstms-in-depth-part-1/
https://github.com/keitakurita/Practical_NLP_in_PyTorch/blob/master/deep_dives/lstm_from_scratch.ipynb
https://www.bioinf.jku.at/publications/older/2604.pdf
https://blog.floydhub.com/long-short-term-memory-from-zero-to-hero-with-pytorch/

https://github.com/Chatha-Sphere/script-monkey
Calling this one "done."


Create a process for editing resource URLs

If there is a spelling mistake in the title of the original submission, this mistake carries through to the URL that is automatically assigned to each resource. Programs staff can fix the spelling mistake in the title, but  we currently don't have the ability to fix the URL. As a result, we have URLs like this:
http://hub.aashe.org/browse/publication/1248/cimate-change-resiliency-campus-microgrid-feasibility-study
I'm not sure if we want to give regular staff the ability to edit URLs via admin but we need some process to fix this kind of thing.

This should be as easy as adding the slug field to the admin.

The slug field is in admin. Ready to close?

Yeah this was merged and deployed, so I'm gonna go ahead and close it.


Fix missing file in tests

Added the file as an asset in the past release to keep it here in this repo without contaminating the repo with the binary file.

Looks like we are hitting https://github.com/pandas-dev/pandas/issues/53234 in some test cases.  I swapped the byte order for the test file for now. It seems like the least disruptive change to implement but I don't want to merge it yet b/c I want to move all binary files to pooch to avoid bloating the repo.