template slice builtin does not work with arrays as described in documentation

What version of Go are you using (go version)?

$ go version
go version go1.14.4 linux/amd64

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE="on"
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/duncan/.cache/go-build"
GOENV="/home/duncan/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/duncan/.local"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/home/duncan/sdk/go1.14.4"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/home/duncan/sdk/go1.14.4/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/home/duncan/.local/src/github.com/duncanharris/template-slice-bug/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build531232634=/tmp/go-build -gno-record-gcc-switches"
GOROOT/bin/go version: go version go1.14.4 linux/amd64
GOROOT/bin/go tool compile -V: compile version go1.14.4
uname -sr: Linux 5.3.0-53-generic
Distributor ID:	Ubuntu
Description:	Ubuntu 18.04.4 LTS
Release:	18.04
Codename:	bionic
/lib/x86_64-linux-gnu/libc.so.6: GNU C Library (Ubuntu GLIBC 2.27-3ubuntu1) stable release version 2.27.
gdb --version: GNU gdb (Ubuntu 8.1-0ubuntu3.2) <IP_ADDRESS>80409-git

What did you do?
Tried to use an array with the text/template builtin slice function.
https://play.golang.org/p/lrdcuk7gkvU
Docs at https://golang.org/pkg/text/template/ say:

Arguments may evaluate to any type; if they are pointers the implementation automatically indirects to the base type when required.

and

slice
...
The first argument must be a string, slice, or array.

Note that the builtin index function plays fine with arrays in both cases:
https://play.golang.org/p/DEeEWit74YL
What did you expect to see?
[Hello]

output in at least one of the cases
What did you see instead?
template: test:1:2: executing "test" at <slice .>: error calling slice: reflect.Value.Slice: slice of unaddressable array
template: test:1:2: executing "test" at <slice .>: error calling slice: can't slice item of type *[1]string

The pointer to array case can be resolved by inserting the following code into func slice before switch v.Kind() similar to that in the index builtin:
	var isNil bool
	if v, isNil = indirect(v); isNil {
		return reflect.Value{}, fmt.Errorf("slice of nil pointer")
	}

It does work if I put the array in a struct and pass a pointer to the struct: https://play.golang.org/p/cSRHe8MN3wS
However still does not work if the struct contains a pointer to an array and the documentation implies it should.

@mvdan

can be resolved by inserting the following code into func slice before switch v.Kind() similar to that in the index builtin

@duncanharris that sounds like the right fix to me. Want to send a CL with tests?


Added Footer 11 white

Solved issue #527
SS:

@AmitDeka good job
Congrats 🎉, your PR got merged. To be eligible for the swags from ClueLess. Follow this steps.

Star this repository. ⭐
SignIn / SignUp in [ClueLess Website](https://www.clueless.tech/) .
Go to profile section from the top right hand corner.

Comment your profile URL under this comment tagging the person who merged your PR.

That’s it. Follow the leaderboard !
And don’t forget to share your achievement with your friends.


Jwt AccessTokenConverter Verifier is null on decode

I am running on a version 2.0.6 oauth2 with jwt , with separate auth and resource server , I am getting InvalidTokenException with an error message Cannot convert access token to JSON. If I include the private keystore on the resource server   and set the key pair with private key alias and password , everything works . I really dont want to include private keystore on the resource server .
    protected Map<String, Object> decode(String token) {
        try {
            Jwt jwt = JwtHelper.decodeAndVerify(token, verifier);
            String content = jwt.getClaims();
            @SuppressWarnings("unchecked")
            Map<String, Object> map = objectMapper.readValue(content, Map.class);
            if (map.containsKey(EXP) && map.get(EXP) instanceof Integer) {
                Integer intValue = (Integer) map.get(EXP);
                map.put(EXP, new Long(intValue));
            }
            return map;
        }
        catch (Exception e) {
            throw new InvalidTokenException("Cannot convert access token to JSON", e);
        }
    }

My jwt client config
-- loading the key factory from private keystore works and setting the key pair , then all good
   @Bean
    @Qualifier("jwtAccessTokenConverter")
    protected JwtAccessTokenConverter jwtAccessTokenConverter()
{
        JwtAccessTokenConverter converter =  new JwtAccessTokenConverter();
        KeyStoreKeyFactory keyStoreKeyFactory = new KeyStoreKeyFactory(new ClassPathResource("test.jks"), "assurant".toCharArray());
 converter.setKeyPair(keyStoreKeyFactory.getKeyPair("test","testpassword".toCharArray()));

        Resource resource = new ClassPathResource("test.pem");
        String publicKey = null;
        try {
            publicKey = new String(FileCopyUtils.copyToByteArray(resource.getInputStream()));

        } catch (IOException e) {
            throw new RuntimeException(e);
        }
        converter.setVerifierKey(publicKey);

        return converter;
    }

Any ideas greatly appreciated .

You don't need a signing key for a resource server. What's the exception?

Are you sure your JwtAccessTokenConverter is a  Spring bean? I can see the @Bean annotation, but that only works if it is in a @Configuration (for instance).

That makes sense , I had my code without @Configuration like I mentioned below, didnt work, but when I added  @Autowired JwtAccessTokenConverter jwtAccessTokenConverter;  to the class , it worked .
@Bean
@Qualifier("tokenStore")
public TokenStore tokenStore() throws Exception{

    System.out.println("Created JwtTokenStore");
    return new JwtTokenStore(jwtTokenEnhancer());--didn't work

return new JwtTokenStore(jwtAccessTokenConverter);(worked with autowired)
}

@Bean
@Qualifier("jwtAccessTokenConverter")
protected JwtAccessTokenConverter jwtTokenEnhancer() throws Exception{

    JwtAccessTokenConverter converter =  new JwtAccessTokenConverter();
    Resource resource = new ClassPathResource("mypublic.pem");
    String publicKey = null;
    try {
        publicKey = new String(FileCopyUtils.copyToByteArray(resource.getInputStream()));

    } catch (IOException e) {
        throw new RuntimeException(e);
    }
    converter.setVerifierKey(publicKey);
    return converter;
}

Hi All, Every now and then I get this issue, as "Cannot convert access token to JSON" . It works in morning / afternoon I start getting this error. I refresh gradle dependencies, sometimes it goes off, again it comes in. There is on-off behavior? What is the root cause for this

Found the same issue! It is really actual thatjwtAccessTokenConverter.setVerifierKey(); doesn't really set verifier that is used in -
JwtAccessTokenConverter
...protected Map<String, Object> decode(String token) {
		try {
			Jwt jwt = JwtHelper.decodeAndVerify(token, verifier);

as workaround helped:
` private JwtAccessTokenConverter jwtAccessTokenConverter() {
JwtAccessTokenConverter jwtAccessTokenConverter = new CustomTokenEnhancer();
jwtAccessTokenConverter.setSigningKey(jwtSigningKey);
jwtAccessTokenConverter.setVerifier(new RsaVerifier(jwtPublicKey));
log.info("Set JWT signing key to: {}", jwtAccessTokenConverter.getKey());
    return jwtAccessTokenConverter;
}`

Thanks a ton Alex for response and the help. Helped to fix the issue

Alex, I'm struggling with the same issue here.  Could you pad out your example code some more so I can see how you fixed the problem?  My issue seems to be that my auth / resource server work perfectly well until I apply SSL to the configuration.
Then the key verifier gets lost and is no longer an instance of RsaKeyVerifier, which subsequently throws the annoying 'cannot decode JSON' exception.  I've been stuck on this for days now!
Thanks for any feedback!

@sniederb @alexandr-efimov There is an interface on the JwtAccessTokenConverter object called InitializingBean.
public interface InitializingBean {
    void afterPropertiesSet() throws Exception;
}

This is likely the magic code being called "somewhere in the framework". If you don't want this to be a @Bean call the method manually after setup, for example:
private JwtAccessTokenConverter  accessTokenConverter() {
        val converter = new JwtAccessTokenConverter()

        converter.setSigningKey("123")

        converter.afterPropertiesSet()

        return converter
}

Note: If you trace the code inside the afterPropertiesSet method, you will see it sets the verifier property.


Add Hausdorff Distance & Fréchet Distance wrappers

Hey @twpayne! I'd love to use your library over paulsmith/gogeos but need Hausdorff & Fréchet Distance, so this adds those two function wrappers.

Thanks for this. As there's a lot of boilerplate code, I'd prefer to extend the wrapper generation system to support these functions, which I've done in #28. We also need to provide stubs for when these functions are not available.

that certainly makes sense. I actually noticed the generator stuff after opening this PR, otherwise I might've tried that myself 🙂

Hmm, good point. I'll add a note to README.md about the generator stuff.


Code completion not working on SCSS file, but works on partial file (Sublime Text 3)

Hello,
My apologies if this issue has been reported, I wasn't able to find anything similar in the list.
So in my main SCSS file something like t0 which sould turn into top: 0; doesn't work. However, when I type in a different file, in a partial file for example, it does work.
Look:

I've already tried closing and reopening ST, reinstalling Emmet, my console doesn't show anything related to an error with ST or Emmet.
Any idea what's happening?
Thanks,

This is happening to me too.


Please provide an example of the recording captured via microphone

Can you please provide an example, that will show how to capture the audio to some variable (ideally byte[] or similar) via microphone so I can then play that recording on a page or send the byte[] to some backend endpoint , I cannot figure it out.

Hey @risogolo, after some investigation, I found that this is not possible with the Web Audio API.
If you want to record a MediaStream or a MediaStreamTrack I recommend that you take a look at the MediaStream Recording API. I don't have a wrapper for that API, but the types introduced in Blazor.MediaCaptureStreams should integrate well with any JSInterop you would make yourself.
Check out the related issue on implementing a wrapper for the MediaStream Recording API here: https://github.com/KristofferStrube/Blazor.MediaCaptureStreams/issues/4


Datanome Project addition to Showcase

Done:

Added Datanome to showcase.js
Added Datanome logo to /static/img/showcase

Please merge master or give maintainers write access to your branch so I can merge. There should be a checkbox on the right

@oelamri Could you please resolve the conflicts?

@oelamri Can you please resolve the conflicts by Thursday, October 26th?

Hello @oelamri, due to the lack of response, we will be closing this PR. If you would still like to add Datanome to the Ecosystem page, please open a new PR.


Speed up CI by splitting checks

Describe the feature
Currently we run all checks three times:

Once per PR
Once per merge group
Once when merged on the main branch

Technically, running all checks in the merge group and on the main branch is redundant, as the checks carry over (and are logically similar as the merge group rebases). We could disable checks here that are already run in the merge group.
Some checks are also run on every PR that could just be run in the merge group - if they fail, the PR is removed from the merge group. I think only a few checks qualify here, probably the sync tests and the benchmark-related checks.
So the plan would be:

Prevent checks that are run in the merge group from being run on main
Move some checks off of PRs and only run them in the merge groups (more expensive tests/checks). If the check fails in the merge group, the PR is moved back and there are links to figure out why it was removed

Looking for thoughts on this - the primary con would be that you could technically break e.g. benchmark compilation in a PR but only know it once it is being merged, but the obvious pro is faster CI.
Additional context
No response

Move some checks off of PRs and only run them in the merge groups (more expensive tests/checks).

this sounds reasonable, especially the bench job

Prevent checks that are run in the merge group from being run on main

this doesn't really hurt, right? because is triggered after merge

Not really, but I think there is a maximum number of jobs that can be run per repository at one time, so reducing this reduced run minutes and should (I think) speed up how fast pending jobs are picked up by runners


ux: copy should never be next to delete. opposite intentions

Thank you for opening this. Just to clarify, when the buttons to duplicate/delete are so close together, it is easy to click delete when you actually meant to duplicate something.


Dima/evergreen ui

Evergreen UI 🍀
Why?
We would like our UI to be Evergreen from 1.12 onwards. Meaning we stop backporting specific bugs and we start supporting all dcos versions using graceful degradation and feature flags when needed.
We are going to merge 1.12, 1.13 and master branches and adjust the CI implementing the testing matrix.
This PR fixes backwards compatibility for 1.12.x:

Feature-flagging public ip.
Adapting https://github.com/dcos/dcos-ui/pull/3780 apparently Marathon has changed task IDs adding instance keyword in 1.13 which wasn't there in 1.12

Testing

Launch 1.12 cluster (or fallback to read-only mode using soak112)
Smoke test the App

Features we've shipped in 1.13:
✅ - should work
🚫 - api missing in 1.12 should gracefully degrade

Public IP 🚫
ZH locale ✅
SDK Plans ✅
Accurate service status 🚫
Bundle splitting ✅
LDAP Anonymous bind ✅ ❓
Jobs form v2 ✅ ❓
Dashboard charts ✅
UI Update ✅
New table in Services and Secrets ✅

Trade-offs

Dependencies

Screenshots

There's a small issue - a gap in the nodes table because of <noscript /> tag.

Fixed the public column issue

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


Merging documentation into main

This was a little bit painful because I've been developing the docs in a different branch ('build-docs'). In the meantime, main has been updated and so the source code changes made in 'build-docs' (necessary for making the docstrings work) now clash. Workflow to get around was:

Take a new branch from main
Merge docs from 'build-docs' (does not affect source code)
Manually fix docstrings in source code on this branch
Remerge into main (this PR)

Hi @alextbradley, saw this and just wanted to check you know about git rebase? If not, let me know and I'll ping you a link if you haven't found one from the mere mention. Apologies if you're already aware of it!

Hi @alextbradley, saw this and just wanted to check you know about git rebase? If not, let me know and I'll ping you a link if you haven't found one from the mere mention. Apologies if you're already aware of it!

I am not aware - will drop you an email! (Could I have saved myself an afternoon of work??)

Added continuous integration for unit tests. Added badges for build status for documentation and testing

@RJArthern all changes now made in response to latest JOSS review (https://github.com/openjournals/joss-reviews/issues/5584)! If you could take a look that would be wonderful :)

Hey @RJArthern -- could you approve the PR as we discussed last week? I should be able to send off the JOSS responses then


⚠ Console has degraded performance

In 9877aef, Console (https://console.planetary-quantum.com/) experienced degraded performance:

HTTP code: 200
Response time: 11989 ms

Resolved: Console performance has improved in efd2c49.


Reserve an Item for a Course

Functionality needed

[ ] Create temporary item records
[ ] Link to existing item records

Related to https://github.com/culibraries/folio/issues/62


add tqdm for getting a progress bar of the training

Through tqdm, and the bar only shows on console (not the log file).
e.g. a screenshot:

Looks great and it shows the estimated remaining time of an epoch.
Just left a minor comment.
Could you fix the code style problems reported by CI)
(https://icefall.readthedocs.io/en/latest/contributing/code-style.html provides some information about how to fix code style issues)


MSID: 97839 Version: 1 DOI: 10.1101/2<IP_ADDRESS>8585

MSID: 97839
Version: 1
Preprint DOI: https://doi.org/10.1101/2<IP_ADDRESS>8585
Step 1. Awaiting reviews
Editorial to post reviews via hypothesis
Useful links:

DocMap: https://data-hub-api.elifesciences.org/enhanced-preprints/docmaps/v2/by-publisher/elife/get-by-manuscript-id?manuscript_id=97839
New model tracking: https://docs.google.com/spreadsheets/d/1_fHaoOy7hjyocptKtVJRijeNpUY4hBS7Ck_aVmx6ZJk/
Reviews on sciety: https://sciety.org/articles/activity/10.1101/2<IP_ADDRESS>8585

For trouble shooting (e.g. no Docmaps available):

DocMap issue addressing: https://miro.com/app/board/uXjVNCwK6EI=/
Explore DataHub DocMaps API: https://lookerstudio.google.com/reporting/4c2f0368-babb-4beb-b5b3-497e7e7b0f08/page/ejphD
Unmatched submissions and preprints: https://lookerstudio.google.com/u/0/reporting/9f86204f-3bf7-477c-9b18-5c5ef141bf69/page/p_gxi57ha93c
Unmatched manuscripts spreadsheet: https://docs.google.com/spreadsheets/d/15QcK8w-ssB7109RQEDtFpJPZ0J5HTGxoHa_2TtpMBbg/edit#gid=1336081641

Step 2. Preview reviewed preprint
Production QC content ahead of publication
Instructions:

QC preview: https://prod--epp.elifesciences.org/previews/97839v1
Update ticket with any problems (add blocked label)
When QC OK, add QC OK label to ticket and add publication date and time to https://docs.google.com/spreadsheets/d/1amAlKvdLcaDp5W8Z8g77NmkwbMF5n_u89ArSqPMO8jg
Move card to next column
(At end of the day post link in #enhanced-preprint and ask for PDF to be generated)

Useful links:

Preprint DOI :  https://doi.org/10.1101/2<IP_ADDRESS>8585
Confirm reviews returned by EPP: https://prod--epp.elifesciences.org/api/reviewed-preprints/97839/v1/reviews
To update the MECA path in the docmap: https://docs.google.com/spreadsheets/d/1mctCQuNFBjSn97Lihy7_vBO6z7-N-oqyLv4clyi6zHg

Step 3: Awaiting search reindex
This step adds the reviewed preprint to the homepage: https://elifesciences.org
The search reindex is triggered once an hour. We need the reviewed preprint to be indexed as the search application serves the journal homepage.
Useful links:

Jenkins pipeline to reindex search can be triggered sooner or monitored here: https://alfred.elifesciences.org/job/process/job/process-reindex-reviewed-preprints/

Step 4: Published! PDF requested
Waiting for PDF to be generated
Useful links:

PDF tracking: https://docs.google.com/spreadsheets/d/106_XeDjmuBae7gexOTNzg60lapeqjl2aRn9DzupGyS8/

Step 5: Introduce PDF to data folder and git repo
Upload PDF to relevent folder in git repo https://github.com/elifesciences/enhanced-preprints-data/
Step 6: Done!

[ ] Kettle is on!

warn: [mixed-citation-other-publication-flag] mixed-citation in reference (id=c34) has a publication-type='other'. Is that correct?
warn: [mixed-citation-other-publication-flag] mixed-citation in reference (id=c72) has a publication-type='other'. Is that correct?
warn: [mixed-citation-other-publication-flag] mixed-citation in reference (id=c76) has a publication-type='other'. Is that correct?


add tab plugin extension for test runner tab

Summary
Adding tab plugin extension for test runner tab

How did you test this change?

[ ] Test(s) added
[x] Manual testing (please provide screenshots/recordings)
[ ] No testing (please provide an explanation)

why are we having tabs on top and not to the side like the rest of the activity bars.


bug: Make the given_hardcoded_contract_run_invoke_tx_then_multiple_events_is_emitted test in invoke_tx.rs pass

Bug Report
Madara version:
current
Current behavior:
The test is ignored because it doesn't pass.
Expected behavior:
Test passes
Steps to reproduce:
Run the test
Related code:
https://github.com/ClementWalter/madara/blob/44e75cfbb739786cf44be09e8e3aaa91169c5eb2/crates/pallets/starknet/src/tests/invoke_tx.rs#L206
Other information:
Problem is probably on the blockifier

i can take this!


Create webdocs

I created a simple webpage docs with docusaurus. Check it out by running yarn run start inside the webdocs/ folder, and then go to http://localhost:3000/react-native-week-view/. The README.md is now smaller.
@hoangnm I suggest you setup github pages for this repo, to make the docs available at https://hoangnm.github.io/react-native-week-view
Fixes #278

Besides the docs, this PR also adds the hourContainerStyle prop (see this commit) and better styling defaults (see this commit)

Thank @pdpino . Except some changes are not related to webdoc, the PR is LGTM.

https://hoangnm.github.io/react-native-week-view/ the page is live. Thanks a lot, @pdpino .


Drop zone ehanchment

Add an option to define a class when dragging files over the drop zone (Fix issue #476 )
Show copy cursor when dragging files over the zone.
Show forbidden cursor when not dragging files over the zone.

Looks pretty neat -- and cool that you're closing your own issues as well ;)


ConnectionResetError when using example

Hi
I'm trying to get simple IPC to work so that I can perform basic actions via an API like posting a message in a channel etc.
I'm currently using this library and the examples within without any modifications: https://github.com/No767/discord-ext-ipcx/tree/main/examples/basic-ipc
I keep getting ConnectionResetError: Cannot write to closing transport from webserver.py and can't seem to figure out why. I'm making the request via Postman to http://<IP_ADDRESS>:8000/ using the GET method.
Any help appreciated.

I have figured out the cause. Simply to put it, the old code attempted to hold an persistent websocket connection, which is not recommended. Just like an HTTP request, websocket requests are closed once used. Thus, when the code tries to reuse the connection, it's closed and nowhere to be found. Thus, as it needs to write to the server for auth and ping reasons, it fails since there is no underlying connection to begin with.
This is now fixed by now using aiohttp.ClientSession.ws_connect as an context manager, thus when the code is done, it will automatically close down the connection. This approach is recommended in the examples found in the aiohttp documentation

This fix has been made in b27807d49325acd2e6c14da6129d573153bb33b6. Thank you for identifying this bug as this exact bug has happened to me, but I only realized when you pointed it out.


[android] Android P refactor: BitmapFactory -> ImageDecoder

Android P deprecates BitmapFactory.
This affects

com.frostwire.android.util.ImageCache
com.frostwire.android.util.ImageLoader
com.frostwire.android.gui.adapters.menu.SetAsWallpaperMenuAction
com.andrew.apollo.cache.ImageFetcher

well, the title is a little misleading, I guess in part because the blog post was a little loose on it. The situation is that when using Android P, ImageDecoder is a better and improved alternative to BitmapFactory and so far, no actual API deprecation have been done. In any case, even if we target Android P, our minimal API will be lower for a long long time.
https://android-developers.googleblog.com/2018/03/previewing-android-p.html

well, they say "ImageDecoder deprecates BitmapFactory", I say we refactor when we're doing target upgrade around July/August

we can't, even if we target that API, we still support lower ones


feat: populate CHHA course (resolves #1630, #1641, #1642, #1644)

Resolves #1630
Resolves #1641
Resolves #1642
Resolves #1644

Populates the CHHA course
Puts quiz questions into an ordered list
Adds placeholders for sign language videos into the quiz for each question and set of choices.
Adds breadcrumbs to course landing page
Improves breadcrumbs for course modules
Updates back button for quiz
Fixes slug database column type for course and module
Makes course author a translatable field

Prerequisites
If this PR changes PHP code or dependencies:

[x] I've run composer format and fixed any code formatting issues.
[x] I've run composer analyze and addressed any static analysis issues.
[x] I've run php artisan test and ensured that all tests pass.
[x] I've run composer localize to update localization source files and committed any changes.

If this PR changes CSS or JavaScript code or dependencies:

[x] I've run npm run lint and fixed any linting issues.
[x] I've run npm run build and ensured that CSS and JavaScript assets can be compiled.

I found the completion of modules a bit weird with actual content; when we were implementing the logic for completion of a module, I thought it makes sense to mark it as completed once the module is fully watched, but I am not sure if users would understand that logic without any hints. The modules have irrelevant information to the course at the end, as well as a little term before the video player is fully finished. I imagine some users would just press go back few seconds before the full completion and wonder why the course is still marked as in-progress. Could we give some hint on the page saying that a module is completed once the video is fully watched?

The completed badges look a little weird — the vertical positioning doesn't seem consistent (compare left and right module cards) and in at least one case, they could use a little more padding on the left:

The above was addressed in https://github.com/accessibility-exchange/platform/pull/1851/commits/9f7e39c1f700458551ade42afcc8f333f567f38a

I notice the User/Module relationship has an (unused?) completed_at field. It looks like the user's module progress is saved in started_content_at and finished_content_at. Should completed_at be dropped from the pivot table?

Removed completed_at at https://github.com/accessibility-exchange/platform/pull/1851/commits/61a16507aa6837f6dd9487d72946a3663a6e27fc

For quiz questions with "all of the above" part of me thinks that checking "all of the above" should uncheck the other questions and disable the checkboxes. Right now if you check all of them and then check all of the above the answer is wrong.

Filed as https://github.com/accessibility-exchange/platform/issues/1857

I found the completion of modules a bit weird with actual content; when we were implementing the logic for completion of a module, I thought it makes sense to mark it as completed once the module is fully watched, but I am not sure if users would understand that logic without any hints. The modules have irrelevant information to the course at the end, as well as a little term before the video player is fully finished. I imagine some users would just press go back few seconds before the full completion and wonder why the course is still marked as in-progress. Could we give some hint on the page saying that a module is completed once the video is fully watched?

Filed as https://github.com/accessibility-exchange/platform/issues/1856

I got the email after I finished the quiz. The references to "Certificate" are a bit confusing because it doesn't include a certificate or anything, it's just text confirming completion. I wonder if the language should be changed to say that once you complete the course content and the quiz, you will receive email confirmation of course completion or something along those lines. I know the videos say certificate which is unfortunate.

@cherylhjli Do you think we can just change certificate to confirmation? One thing to also consider is that the language change will affect translations and the signed interoperation videos.

Has this been sent to translation yet? If it has I'm tempted to leave it as it is.

Has this been sent to translation yet? If it has I'm tempted to leave it as it is.

At least one instance has, and that has also been sent for sign language interpretation.

4. I got the email after I finished the quiz. The references to "Certificate" are a bit confusing because it doesn't include a certificate or anything, it's just text confirming completion. I wonder if the language should be changed to say that once you complete the course content and the quiz, you will receive email confirmation of course completion or something along those lines. I know the videos say certificate which is unfortunate.

@greatislander and @cherylhjli I've filed this as #1859 so we can consider it for a future change.

@greatislander ready for another round of review.


Inheriting config from class causes duplicate hostname.

Inheriting config from class causes duplicate hostname.
class { 'elasticsearch':
    config        => {
      'node.name'                          => 'hosta',
      'cluster.name'                       => 'test',
}

elasticsearch::instance { 'hosta': }

results in an es yaml with node.name: hosta-hosta
class { 'elasticsearch':
    config        => {
      'cluster.name'                       => 'test',
}

elasticsearch::instance { $hostname:
  config        => {'node.name' => $hostname }
}

results in an es yaml with node.name: hosta

Hi,
I'll have to dig deeper if this is an actual bug or not.
But for the node.name parts:

When no node.name is specifiedin the instance config we take the following: hostname-instancename as the resulting node.name part.
If a node.name is specified in the instance config we use that.

The node.name at the class level is ignored so there is no accidental node name conflict.

Did some more digging and its expected behaviour so far.
If no node.name is given on the instance config level we automatically default to $::hostname-$instance_name
Because of that you get the duplicate name.

:+1:
Maybe the original purpose make have been to "prefix" or "suffix" all the node names in the cluster. That makes some sense. Thank you!


Info in Log: Method "deleteDevice" is deprecated and will be removed in js-controller 7, use "delObject" instead

Describe the bug
Everytime adapter is started, the message Method "deleteDevice" is deprecated and will be removed in js-controller 7, use "delObject" instead is mentioned in the log
To Reproduce
Steps to reproduce the behavior:

stop adapter
start adapter
take a look in the log after a while

Versions:

Adapter version: 0.4.0
Admin version: 7.0.11
JS-Controller version: 6.0.6
Node version: 20.15.0
Operating system: debian bookworm

Thanks for raising the issue.
Will check/fix in the next days

fixed!
Can be tested in 0.4.1-alpha.0
Feedback welcome!
Easiest way to install in console with command
iob upgrade<EMAIL_ADDRESS>

will be closed with final version


Revert "Adapt the local linting command to new linters"

The original PR breaks make go/lint as wsl -fix doesn't respect //nollnt directives corretly and thus reports errors.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (5d7208b) 67.73% compared to head (6b03933) 67.73%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2721   +/-   ##
=======================================
  Coverage   67.73%   67.73%
=======================================
  Files         249      249
  Lines       13641    13641
=======================================
  Hits         9240     9240
  Misses       3592     3592
  Partials      809      809

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

PR is obsolete.


[Feature]: Overlap model weight loading and model prefill

🚀 The feature, motivation and pitch
For LLM inference, requests per second(QPS) is not constant. It needs launch vllm engine on demand. For elastic instance, it's significance to reduce TTFT(Time to First Token).
Hence, it's necessary to overlap model loading and prefill, especially very large model which model loading costs several seconds.
Alternatives

Model cache system for vllm: efficient IO (such as: PCIe, NVLink)
Load model weight by LLM topo order and execute model immediately after parameter is ready

Additional context
No response

what do you mean by model weight loading ? during inference, model weights are already in GPU.

what do you mean by model weight loading ? during inference, model weights are already in GPU.

model weight loading is the model initialization stage (code), the overlap is loading model weight and executing model first time(prefill stage).
The idea is illustrated below.

@youkaichao
what do you think about this idea?
It needs some work on vLLM engine to extend model loader.

I still don't get it. What do you mean by loading model weight? from where to where?

I still don't get it. What do you mean by loading model weight? from where to where?

loading model weight is load model Parameter from Disk to GPU. That is a prerequisite for model Inference.

we don't store weights/kv cache on disk.

we don't store weights/kv cache on disk.

at the begining, the model store on disk, first step is reading model(safetensors/pt) to DRAM, then cudaMemcpy to GPU second step is to infer LLM model(prefill / decode stage).
I mean the loading model weight is the first step.


Change website permissions

I would like to change permissions (for example allow popups) for a specific website (or all websites), example.org.

I think you need to use a plugin right now and then Browser.setPermission (https://chromedevtools.github.io/devtools-protocol/tot/Browser/#method-setPermission). If you do this, please share the code. Probably should be an integrated api or at least public plugin that people can use if they need this.


R CMD check produces a NOTE: "Files which contain pragma(s) suppressing diagnostics"

Hi, I'm making a package that builds on tree-sitter-r (astgrepr). R-CMD-check works fine except for a NOTE:
N  checking pragmas in C/C++ headers and code (904ms)
   Files which contain pragma(s) suppressing diagnostics:
     'src/vendor/tree-sitter-r/src/parser.c'
     'src/vendor/tree-sitter-r/src/tree_sitter/array.h'

I'm using the latest crate available at the time of writing (1.0.1). Should this be fixed here?
Thanks!

Edit: this only appears on Windows: https://github.com/etiennebacher/astgrepr/actions/runs/9775182731/job/26985038631#step:6:126

This is only something that CRAN cares about, so you have to patch it yourself. i.e. like I do in {treesitter.r}
https://github.com/r-lib/tree-sitter-r/blob/b1e211f52ad8f8e1e182bbbcc16dcd5e3688eb7d/bindings/r/bootstrap.R#L127

Oh you're using the rust crate directly? And I guess that compiles it (and the C code with the pragmas) on the fly during R package building. Hmm, that makes it tricker i guess. I guess you have two options:

Patch the rust crate after it is downloaded if possible
Vendor the parser.c, scanner.c, and tree_sitter/ headers like I do in treesitter.r and patch them yourself, then compile that C code and call it from Rust

I would also highly recommend not pinning to our main branch https://github.com/etiennebacher/astgrepr/blob/5f0597c09c9a805a6f22a9deff2743c659c1dff5/src/rust/Cargo.toml#L20
If you are going to use the tree-sitter-r Rust crate, pin to a release https://crates.io/crates/tree-sitter-r or at least pin to a specific github commit so you can incorporate any grammar changes at your own pace

I would also highly recommend not pinning to our main branch

Thanks, fixed

I guess you have two options:

Patch the rust crate after it is downloaded if possible
Vendor the parser.c, scanner.c, and tree_sitter/ headers like I do in treesitter.r and patch them yourself, then compile that C code and call it from Rust

Maybe this is feasible but it sounds complicated for a NOTE only. I tried to fix it in https://github.com/etiennebacher/astgrepr/commit/480bf65d52463a28aabbd7ee64838f4c1b4e3b50 but it doesn't work I'll just try to negotiate with the CRAN team.

Historically in other packages we have also been forced to work around this note sadly 😞

Ah, too bad. And just to clarify, wouldn't it be possible to remove those #pragma lines before publishing the crate on crates.io? I've never made packages interacting with low-level languages so I'm completely in foreign territory here

I believe the pragmas actually do matter and are being used, adding the space between # and pragma just happens to get rid of the CRAN note.
And I'd really like tree-sitter-r to be "just another tree sitter grammar" with no extra patches within the grammar itself, so that it is extremely closely aligned with the rest of the tree sitter ecosystem. So patching within the R package seems like the best option to me, because other consumers of the C files don't seem to care about pragmas. Alternatively you can ask the upstream tree-sitter group if the pragmas are really needed (it is their tool that generates the pragmas, not us), but I imagine they are

My patch didn't work, but I don't understand why since the # pragma lines were correctly removed from the two files indicated in the NOTE.
Anyway, I understand, this is not something to be fixed here, thank you for your answers.


Run Rootless Error:  cannot specify gid= mount options for unmapped gid in rootless containers

Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description

Steps to reproduce the issue:
1.podman run hello-world
Describe the results you received:
Trying to pull registry.access.redhat.com/hello-world...ERRO[0000] Error pulling image ref //registry.access.redhat.com/hello-world:latest: Error determining manifest MIME type for docker://registry.access.redhat.com/hello-world:latest: Error reading manifest latest in registry.access.redhat.com/hello-world: name unknown: Repo not found
Failed
Trying to pull docker.io/library/hello-world...Getting image source signatures
Copying blob 1b930d010525 done
Copying config fce289e99e done
Writing manifest to image destination
Storing signatures
Error: container create failed: cannot specify gid= mount options for unmapped gid in rootless containers
: internal libpod error
Describe the results you expected:
I expect the hello-world container to be running
Additional information you deem important (e.g. issue happens only occasionally):
Output of podman version:
-bash-4.2$ podman --version
podman version 1.3.2

Output of podman info --debug:
debug:
  compiler: gc
  git commit: ""
  go version: go1.10.8
  podman version: 1.3.2
host:
  BuildahVersion: 1.8.2
  Conmon:
    package: podman-1.3.2-1.git14fdcd0.el7.x86_64
    path: /usr/libexec/podman/conmon
    version: 'conmon version 1.14.0-dev, commit: 4780496c1f6949e21c807e17b57c183e9424c90a-dirty'
  Distribution:
    distribution: '"rhel"'
    version: "7.6"
  MemFree:<PHONE_NUMBER>52
  MemTotal:<PHONE_NUMBER>92
  OCIRuntime:
    package: runc-1.0.0-59.dev.git2abd837.el7.x86_64
    path: /usr/bin/runc
    version: 'runc version spec: 1.0.0'
  SwapFree:<PHONE_NUMBER>8
  SwapTotal:<PHONE_NUMBER>8
  arch: amd64
  cpus: 40
  hostname: bluejgpu6
  kernel: 3.10.0-957.21.3.el7.x86_64
  os: linux
  rootless: true
  uptime: 2h 10m 54.79s (Approximately 0.08 days)
registries:
  blocked: null
  insecure: null
  search:
  - registry.access.redhat.com
  - docker.io
  - registry.fedoraproject.org
  - quay.io
  - registry.centos.org
store:
  ConfigFile: /home/xxx/.config/containers/storage.conf
  ContainerStore:
    number: 1
  GraphDriverName: vfs
  GraphOptions: null
  GraphRoot: /home/xxx/.local/share/containers/storage
  GraphStatus: {}
  ImageStore:
    number: 1
  RunRoot: /tmp/2287
  VolumePath: /home/xxx/.local/share/containers/storage/volumes

Additional environment details (AWS, VirtualBox, physical, etc.):
physical host.
Static hostname: xxxx
Icon name: computer-server
Chassis: server
Machine ID: 6af2c3ebedfc4df4bcdb9cc0d6789cdb
Boot ID: 6da22ea95bd947ffbed868dd42e04b93
Operating System: Red Hat Enterprise Linux Server 7.6 (Maipo)
CPE OS Name: cpe:/o:redhat:enterprise_linux:7.6:GA:server
Kernel: Linux 3.10.0-957.21.3.el7.x86_64
Architecture: x86-64
-bash-4.2$ runc --version
runc version spec: 1.0.0

I believe this is usually caused by a too-old runc version. RHEL/CentOS 7.7 should have a new enough version to include a fix for this.

yes, this is caused by runc, it raises this error even if there are enough IDs mapped inside the namespace.
Could you try with an updated runc?
Please re-open the issue if it still doesn't work and you believe the problem is Podman

@giuseppe can you help me on how to get newer  runc on RHEL 7.6, please?

@asm582 I'd just build it from upstream: https://github.com/opencontainers/runc

Thank you.
On Thu, Jul 25, 2019 at 3:45 AM Giuseppe Scrivano<EMAIL_ADDRESS>wrote:

@asm582
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_asm582&d=DwMCaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=EoJzDBOIwVt7lOICrHk1lQ&m=o7XcLcpyIjEvgtFEiJjqHCSxeSnJCDIuUokOJXjhVJA&s=Co5WmSlCGWp25jT7shFoqDyMW3wYDGZdF1SJhMlMknc&e=
I'd just build it from upstream: https://github.com/opencontainers/runc
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_opencontainers_runc&d=DwMCaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=EoJzDBOIwVt7lOICrHk1lQ&m=o7XcLcpyIjEvgtFEiJjqHCSxeSnJCDIuUokOJXjhVJA&s=Dfq2civigmjjKVGcFoHfrb4QKFqkfiQQJsmYxjFYbJ0&e=
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_containers_libpod_issues_3637-3Femail-5Fsource-3Dnotifications-26email-5Ftoken-3DABNACPLH72LIK2ACIBKDY7TQBFK2XA5CNFSM4IGJ7RNKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2YU2WI-23issuecomment-2D514936153&d=DwMCaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=EoJzDBOIwVt7lOICrHk1lQ&m=o7XcLcpyIjEvgtFEiJjqHCSxeSnJCDIuUokOJXjhVJA&s=421Ygd8WWqCCWAyC0133O-hb7IuUAHpNIe6L3e1dLzU&e=,
or mute the thread
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ABNACPNDC3DIA633BFYNT63QBFK2XANCNFSM4IGJ7RNA&d=DwMCaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=EoJzDBOIwVt7lOICrHk1lQ&m=o7XcLcpyIjEvgtFEiJjqHCSxeSnJCDIuUokOJXjhVJA&s=6i5TPusVNe0AswsRitWg39CmTZvACy7pYC_qQLD3cWU&e=
.

--
Regards,
Abhishek Malvankar


Allow users to make a transaction if they have a microblock balance

The microblock improvements are so good, congrats on the good work!
When you have a microblock-confirmed balance, but my 'anchored' balance is zero, I can't make a transaction. I should be able to broadcast a transaction. My understanding (could be wrong) is that nodes will reject a broadcast if my balance is zero, but not if I have a microblock-confirmed balance.
Related to #1415
PS: I also really liked the flow for setting a fee and nonce manually. I was able to utilize that during this frenzied Stacks Pops mint, and successfully did a RBF to bump my fee and get confirmed. Great work.

Thanks @hstove! Good to see you around these parts 🤠
We're currently awaiting this node enhancement to enable behavior on the client-side: https://github.com/blockstack/stacks-blockchain/issues/2774#issuecomment-922077240


Sequencer not triggering note off at the end of the loop

Issue opened by @Truba
Opening here because this is an AudioKitEX issue - may be related to #10
Original Ticket: AudioKit/AudioKit#2536

Full description

Hi guys, Sry for not opening in the stack overflow first, but I'm pretty sure something is wrong here.
Describe the bug / Expected behavior
Sequencer doesn't seem to be triggering note off events if the note off event is placed at the end of the track loop. Here we have an example with just that:
let sequencer = Sequencer()
let track = sequencer.addTrack(for: sampler)
track.loopEnabled = true
track.length = 4
track.sequence.add(noteNumber: someNote, position: 3, duration: 1)

I'm creating a sequencer that outputs to sampler, and I'm also adding just one note. I'm expecting this one note to trigger 2 events. Note On at position 3 and note Off at position 4. But only the note On at position 3 is triggered, note Off at position 4 is missing.
To Reproduce is Cookbook
I can also replicate is by slightly modifying the Shaker example in Cookbook: https://gist.github.com/Truba/d36ee294817446aac082d929cf3adb7d
I've updated both tracks to use longer duration, and I've updated CallbackInstrument to print the on/off state as well. In the print you can see that Off event is missing for beat at position 3.
Where the issue might lie
I'm pretty sure the issue lies somewhere around here:
https://github.com/AudioKit/AudioKit/blob/4c3f5ef1b7d758609c7cfbc2d1f631fc45da04d1/Sources/CAudioKitEX/Sequencing/SequencerEngine.mm#L178
I've tried tinkering with it a bit, but without success. This was my idea, it seems to work for the first loop, but it doesn't work for any consecutive loops.
int time = (triggerTime >= lengthInSamples()) ? triggerTime - lengthInSamples() : triggerTime;
if (time < samplesOfBufferForNewLoop) {
      int offset = (int)time + loopRestartInBuffer;

Details (please complete the following information):
* Type: iPhone 12 Pro, iPad Pro 9.7

* OS: iOS 14.5

* AudioKit Version 5.2

@Truba This should be fixed via df20fdce67a85a441664fb0c7c815a144ecaf8cb. Please re-open another ticket here in AudioKitEX if the same behavior is still present.


Failures on [infra] Update checked-in SDKs to 2.8.0-dev.18.0

There are new test failures on [infra] Update checked-in SDKs to 2.8.0-dev.18.0.
The tests
vm/cc/Profiler_ArrayAllocation Timeout (expected Pass)
vm/cc/Profiler_BasicSourcePosition Timeout (expected Pass)
vm/cc/Profiler_BasicSourcePositionOptimized Timeout (expected Pass)
vm/cc/Profiler_BinaryOperatorSourcePosition Timeout (expected Pass)
vm/cc/Profiler_BinaryOperatorSourcePositionOptimized Timeout (expected Pass)
vm/cc/Profiler_ChainedSamples Timeout (expected Pass)
vm/cc/Profiler_ClosureAllocation Timeout (expected Pass)
vm/cc/Profiler_CodeTicks Timeout (expected Pass)
vm/cc/Profiler_ContextAllocation Timeout (expected Pass)
vm/cc/Profiler_FunctionTicks Timeout (expected Pass)
vm/cc/Profiler_InliningIntervalBoundry Timeout (expected Pass)
vm/cc/Profiler_IntrinsicAllocation Timeout (expected Pass)
vm/cc/Profiler_SourcePosition Timeout (expected Pass)
vm/cc/Profiler_SourcePositionOptimized Timeout (expected Pass)
vm/cc/Profiler_StringInterpolation Timeout (expected Pass)
vm/cc/Profiler_ToggleRecordAllocation Timeout (expected Pass)
vm/cc/Service_Profile Timeout (expected Pass)

are failing on configurations
dartk-tsan-linux-release-x64

/cc @rmacnak-google @athomas

I think it's just timing out because there are so many TSAN warnings.
https://dart-review.googlesource.com/c/sdk/+/141466

I see that the CL above made the tests green, so I'm closing this issue. Thanks, @rmacnak-google!


Make test result nicer

Currently our test result output is not that clean, we should try and see what we can do to make it prettier.
Some suggestions we can try out in the plugin are:

[ ] Scroll to bottom of output
[ ] Hide command that we ran
[x] Hide test started timestamp
[ ] Hide process finished text

Any other suggestions which the plugin controls @christophrumpel?

Regarding "Hide command that we ran", is there any way we can have this as a toggle / config? Or have a button to pop up the command that was run? Sometimes it's quite useful to be able to copy the command. 🤷🏻

@owenvoke funny you mention it, this was actually also something I thought about.
I think an option somewhere for hiding/showing it would be a good idea 👀


Working with GPU

Hey everyone,
so since my  last issue #4 everything is going well, i am now trying to get the Workflow going with a GPU.
The Problem i have atm is that the workflow dosnet seem do use the GPU since i dont see any time differences if i compare it to the CPU build i have.
I dont know if i made a mistake in the Config files or if its normal.
cluster.txt
slurm.txt
config.txt
best regards
Sami

Hi Sami,
Just a quick sanity check—does the compute partition in your cluster config (as specified in partition: compute) already have GPU resources available?
Thanks,
Medhat

Hey MedHat,
it should be... but just saw slurm dosent allocated it somehow

Ok got it fixed i am running a new test, but looks like the same speed i dont know what the time should be for 1 sample if you use a GPU with CPU it took like ~6Hours mostly because of this procees


There is No Proper Documentation available for Mixed Reality Headsets

Describe the issue
There is No Proper Documentation available for Mixed Reality Headsets. provided in Mixed Reality Docs. How to get started.
Feature area

Existing doc link
https://docs.microsoft.com/en-us/windows/mixed-reality/develop/platform-capabilities-and-apis/using-visual-studio?tabs=hl2
there is no proper guide that says how to deploy for Mixed Reality Headsets, its all about Hololens 2  and Hololens 1
they mentioned Mixed reality Simulator but not about Mixed Reality Headsets. How to connect via Visual Studio.

In the page you linked, I see a section called Deploying a VR app to your local PC. Does this cover what you're looking for?
Also, for future reference on non-MRTK docs, you'll want to click the "This page" button under "Feedback" at the bottom of the doc page to file issues and submit feedback:

It takes you to the docs repo.

Please reopen the issue if you are still encountering it.


set schema to smtps if MAIL_ENCRYPTION === tls

This fixes the problem with the missing scheme in the config this Pull only added the validation but never added the config option

@vaclavekp if you just upgraded to v11.34.2 you still have the breaking change, this merge-pull fixed that.
You might want to consider upgrading to v.11.35.0 or apply this commit as a patch to v11.34.2 to fix your issue.

Got this error when trying to update using sendgrid.
Symfony\Component\Mailer\Exception\TransportException
Connection could not be established with host "ssl://smtp.sendgrid.net:587": stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
error:0A00010B:SSL routines::wrong version number

So, looks like I am working on default values which were in (laravel 10)
'mailers' => [
        'smtp' => [
                'port' => env('MAIL_PORT', 587),
                'encryption' => env('MAIL_ENCRYPTION', 'tls'),
        ],
]

Then, even though the default is tls, looks like the port is not what is used as default in laravel 11.
Will wait a little bit before upgrading, need to clarify if I should use tls or not, and what port should be used

Same @eduarguz after updating to 11.35.0 I got the same error, looks like this is a breaking change for folks who have a mail port set to something other than 465 and mail encryption set to 'tls'. For now I've added 'scheme' => 'smtp' to my 'smtp' config and that seems to set it back the way it was.

same here after upgrading to 11.35.0 in two projects I get these errors
Connection could not be established with host \"ssl://smtp.resend.com:587\": stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:\nerror:0A00010B:SSL routines::wrong version number

Connection could not be established with host \"ssl://smtp.gmail.com:587\": stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:\nerror:1408F10B:SSL routines:ssl3_get_record:wrong version number

I also got an error with wrong version number for postmark. All I did for now, changing tls to starttls and it works now. But something tells me, this is only temporary fix.

You mean MAIL_ENCRYPTION=starttls?

symfony/mailer will always use encryption when the server advertises STARTTLScapabilities
MAIL_ENCRYPTION=null would be the correct configuration in 99% of the use cases.
When the server does not advertise STARTTLS capabilities but you want the connection to be encrypted and the server does support TLS you would set MAIL_ENCRYPTION=tls
https://github.com/laravel/framework/pull/53863#issuecomment-2538825433

In case anyone else stumbles upon this here.


addon stops working on wotlk classic

After the phase2 update on 01/17/2023 this addon stops working on wotlk classic.

Opened PR for this.


"AccessDeniedAccess Denied" error in Status & FF

@oznekenzo commented on Fri Nov 02 2018
@c-castillo
This was reported in the dapp repo but this seems to be a server side error.

https://stackoverflow.com/questions/42251745/aws-cloudfront-access-denied-to-s3-bucket

Error also in Coinbase wallet when user leaves the dapp when signed into 3box.io/profile. May be all mobile wallets. #127

@oznekenzo I could not reproduce the behavior in FF nor Coinbase wallet. Can you confirm me this still happens?
One more thing, I redeployed master branch again. Maybe that was causing the error but I'm doubtful.

@c-castillo What does the master branch have to do with this?  I thought we're using the develop branch

@c-castillo Yeah this is still happening for me.
Some of the behaviors that cause it:

[ ] Going directly to /EditProfile or /Profile without having logged in
[ ] Being routed normally to /EditProfile or /Profile, then closing mobile wallet, then reopening wallet to /EditProfile or /Profile route on load

Assigning back to @oznekenzo . This is likely to be an error on react routes. We will follow this guide https://medium.com/@ervib/how-to-set-up-react-router-and-deploy-to-amazon-s3-d3dffa6ae43

It was handled with a workaround at the server level, now @oznekenzo will review the solution.

Looks like it works on desktop and mobile for me!  Thanks @c-castillo !


Push and pull images from private registry

In order to implement a clear continuous integration we have to change the current docker-compose build implementation and pull the image directly from a container registry.
We are going to push the custom images for the frontend and backend to a private registry and change the docker-compose yaml file to pull the images from that private container registry
The next step would be create the pipelines that build and push the new images directly from github to the private images when a PR is approved.
We are going to use the Azure App Service docker compose service to create the CI


add HermitOS support  to branch v0.8.x

Backport of tokio-rs/mio#1759
HermitOS is a library operating system. The handling of the socket streams is compatible to unix. However, other parts are not compatible to Unix. Consequently, HermitOS doesn't belong to the unix family.
To support MIO, MIO's unix is revised to support HermitOS. Currently, the implementation based on the unix system poll.

Hm, I think that the clippy errors doesn't belong to my changes. Or do I misunderstand something?

Hm, I think that the my changes aren't the reason for the clippy warnings

You can ignore the Clippy warnings.

I made some changes to the cfg of Hermit in #1789, this should be reflected when backporting to v0.8.

Looks good for me. By the way, we try to move parts of ABI to libc (see rust-lang/libc#3724). At least the stabilized interfaced should be moved to libc.

I have to revert a8a5c5b We don't return always -1. It could be also other negative values.

Should we also fix that in v1: https://github.com/tokio-rs/mio/blob/1ce154579e1076260ea6934e89275912b01fae47/src/sys/unix/mod.rs#L5-L15 ?

I wait also for rust-lang/libc#3766 to be part of libc 0.2.

👍 also like to make this change in v1.
Is the main aim of this to support Tokio? Because if so, it might make more sense to merge https://github.com/tokio-rs/tokio/pull/6635 instead.

Should we also fix that in v1:

The code in v1 is correct and similar to the current version in 0.8.

Is the main aim of this to support Tokio? Because if so, it might make more sense to merge https://github.com/tokio-rs/tokio/pull/6635 instead.

Yes! What is the current state of tokio-rs/tokio#6635 ?

The summary I gave in https://github.com/tokio-rs/tokio/pull/6635#issuecomment-2203635227 is still accurate. I am on vacation right now.

I am on vacation right now.

Then you should not be reading emails/GitHub, but enjoying your vacation instead ;)

I think, we can close this PR. mio 1.0 is already used by tokio


Add generic toggle parent / child css classes.

Add css classes toggle-parent, toggle-parent-dynamic, and toggle-child
Can be used to show / hide toggle-child elements when the parent element has either toggle-parent or toggle-parent-dynamic. toggle-parent operates on focus and toggle-parent-dynamic operates on hover.

Work completed as above.


Check Config button and hass --check_config disagree

Home Assistant release with the issue:

Home Assistant 0.82.1
Last working Home Assistant release (if known):
unknown
Operating environment (Hass.io/Docker/Windows/etc.):

pi zero W, hass.io
Component/platform:

core?
Description of problem:
home assistant -> configuration -> general -> Configuration validation -> Check Config
reports "Configuration valid!"
whereas home assistant -> developer options -> i_in_a_circle shows:
"YAML file /config/configuration.yaml contains duplicate key "sensor". Check lines 60 and 96."
I know the problem is in the duplicate "sensor" entry and I know I should fix this.
This bug report is about "Check Config" not telling me.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
# Sensors
sensor:
  # Weather prediction
  - platform: yr
  - platform: random
    maximum: 255

sensor:
  - platform: buienradar
    monitored_conditions:
      - symbol
      - humidity
      - temperature
      - windspeed
      - pressure

Traceback (if applicable):

Additional information:

while i was creating this, so was ludeeus:
https://github.com/home-assistant/home-assistant-polymer/issues/2066

Is this still an issue you are experiencing? Can you please try upgrading to the latest version of Home Assistant (0.90) and report back if this is still a problem? Thanks!

It is still an issue & not easy to fix. Will have to mock out the _LOGGER.error in util\yaml.py, something I tried to move away from (or duplicate the load code and raise the error inside validation)


Emoji search returns no results for single letter queries

This is a necessary feature when implementing something like github's emoji autocomplete dropdown. If there are performance concerns, you can keep this disabled by default and expose a way to modify MIN_SEARCH_TEXT_LENGTH.

Yeah, I can see why you might want this to be configurable. Although it will bloat the size of the database, although I don't know by how much. In any case, it will need to be globally configured since it affects how data is written to IDB.

This is a necessary feature when implementing something like github's emoji autocomplete dropdown.

BTW it looks like GitHub's emoji autocomplete works with single-letter queries because it only renders a max of 5 emoji. emoji-picker-element does not have any kind of limit for the results, nor does it do any lazy/virtual rendering, hence the perf issue described here: https://github.com/nolanlawson/emoji-picker-element/pull/298#discussion_r1051439420


Canalrcn.com support

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I remove or skip any mandatory* field

Checklist

[X] I'm reporting a new site support request
[X] I've verified that I'm running yt-dlp version 2022.10.04 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that none of provided URLs violate any copyrights or contain any DRM to the best of my knowledge
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and am willing to share it if required

Region
Colombia
Example URLs

Individual episode: https://www.canalrcn.com/la-rosa-de-guadalupe/capitulos/la-rosa-de-guadalupe-capitulo-58-los-enamorados-3619
Entire series: https://www.canalrcn.com/la-rosa-de-guadalupe/

Provide a description that is worded well enough to be understood
Yt-dlp can't extract video nor audio from the website
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] Command-line config: ['-vU', 'https://www.canalrcn.com/disenando-tu-amor/capitulos/disenando-tu-amor-capitulo-28-patricia-se-sale-con-la-suya-3632']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.10.04 [4e0511f] (win32_exe)
[debug] Python 3.8.10 (CPython 64bit) - Windows-10-10.0.19044-SP0
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] exe versions: ffmpeg 2022-08-13-git-c469c3c3b1-full_build-www.gyan.dev (setts), ffprobe 2022-08-13-git-c469c3c3b1-full_build-www.gyan.dev
[debug] Optional libraries: Cryptodome-3.15.0, brotli-1.0.9, certifi-2022.09.24, mutagen-1.45.1, sqlite3-2.6.0, websockets-10.3
[debug] Proxy map: {}
[debug] Loaded 1690 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: 2022.10.04, Current version: 2022.10.04
yt-dlp is up to date (2022.10.04)
[debug] [generic] Extracting URL: https://www.canalrcn.com/disenando-tu-amor/capitulos/disenando-tu-amor-capitulo-28-patricia-se-sale-con-la-suya-3632
[generic] disenando-tu-amor-capitulo-28-patricia-se-sale-con-la-suya-3632: Downloading webpage
WARNING: [generic] Falling back on generic information extractor
[generic] disenando-tu-amor-capitulo-28-patricia-se-sale-con-la-suya-3632: Extracting information
[debug] Looking for Brightcove embeds
[debug] Looking for embeds
ERROR: Unsupported URL: https://www.canalrcn.com/disenando-tu-amor/capitulos/disenando-tu-amor-capitulo-28-patricia-se-sale-con-la-suya-3632
Traceback (most recent call last):
  File "yt_dlp\YoutubeDL.py", line 1477, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1553, in __extract_info
  File "yt_dlp\extractor\common.py", line 672, in extract
  File "yt_dlp\extractor\generic.py", line 3062, in _real_extract
yt_dlp.utils.UnsupportedError: Unsupported URL: https://www.canalrcn.com/disenando-tu-amor/capitulos/disenando-tu-amor-capitulo-28-patricia-se-sale-con-la-suya-3632

The example page has a ld+json block with a TVEpisode object containing quite extensive metadata, with a DailyMotion link at .video.embedURL.

https://github.com/ytdl-org/youtube-dl/pull/32990
I have a draft PR here, I believe there is a geo-restriction so I am not sure if this works without testing with a Colombian IP.

@Ryan-Amirthan Just making sure you are aware, yt-dlp and youtube-dl are different projects. If you want this extractor merged in to yt-dlp, you have to file a PR here and follow the yt-dlp coding conventions, not the youtube-dl ones.
You can of course also just contribute to youtube-dl and maybe someone else will port the extractor to yt-dlp.


Added support for signal option

Implements the signal checkpoint of the issue https://github.com/wheresrhys/fetch-mock/issues/239

Thanks for implementing this. Wow - cancellable promises landed quickly.
Before merging I'd like to see some tests for how this impacts the flush() and done() methods. Maybe some other aspects of the API too. In particular, because generating a response can kick off a chain of microtasks, whereas fetch will - I assume - only ever create one, I wonder if there's potential to time the sending of the abort signal in such a way that it'd be too late to stop a genuine fetch, but would be able to intercept fetch-mock. A pretty edge case, but worth at least giving some thought to

Hi @dutradda. Did you see my response?

Hello @wheresrhys ,
thank's for the reply
I will do the tests with flush() and done() calls

@dutradda @wheresrhys What is the status here? I could really use this right now.

@thommyhh I'm rewriting documentation for v7. Unless @dutradda does so first, I plan on completing this PR after that's done and it will be released in v7


url helper and pushState

I submitted PR #398. It is admittedly a confused PR. I should have opened an issue first. I'll close the PR since I'm not even really suggesting that solution anymore.
Does the issue raised in the PR make sense?
I originally commented:
If you initialize Backbone.history with a root like "/path/" and pass a fragment like "/articles" to the url helper, you should get "/articles", not "/path/articles" [as a link href]. If you define a root, your route definitions do not include that root.
Later I realized that the root should be included in the hrefs so that you get proper hrefs that can be rendered by the server. In my code, I am addressing this by overriding _anchorClick like this:
  Thorax.View.prototype._anchorClick = function (event) {
    var target = $(event.currentTarget),
      href = target.attr('href');

    // Don't push if meta or shift key are clicked
    if (event.metaKey || event.shiftKey) {
      return true;
    }

    // Route anything that starts with # or / (excluding //domain urls)
    if (href && (href[0] === '#' || (href[0] === '/' && href[1] !== '/'))) {
      // everything about this _anchorClick should be the same as upstream except the following block
      if (Backbone.history.options.root.length > 1 && href.indexOf(Backbone.history.options.root) === 0) {
        href = '/' + href.substr(Backbone.history.options.root.length);
      }
      Backbone.history.navigate(href, {
        trigger: true
      });
      return false;
    }
    return true;
  };

This block:
if (Backbone.history.options.root.length > 1 && href.indexOf(Backbone.history.options.root) === 0) {
  href = '/' + href.substr(Backbone.history.options.root.length);
}

strips out the root before navigating if the href begins with the root.
Does this seem like a reasonable solution?

This should hopefully be fixed in the next release.


Improve SocialConnect dune dashboard

Improve dashboards:

SocialConnect (0xarthurxyz/socialconnect)
ODIS (0xarthurxyz/odis)

### Tasks
- [ ] Modify charts with {{from}} to {{to}} date (currently timescale is too wide)
- [ ] Fix total counter (account for deregistrations)
- [ ] Modify charts with {{day, week, month}} switch
- [ ] Combine SocialConnect and ODIS dashboards into 1
- [ ] Add "issuer" filter
- [ ] Add link to SocialConnect repo and address table in repo with names

Bumping the prio, here because both Marek and Tim asked about this.

Polished the publicly-available dune dashboard for SocialConnect: dune.com/0xarthurxyz/socialconnect
It shows totals across all issuers.


gma_mediation_unity - Update Unity libs/pods

Hi,
Can you please update the unity libs/pods used by thegma_mediation_unity plugin to the latest version? Its almost 4 months old since the gma_mediation_unity was last released and there have been few updates to the unity libs/pods already.
Thanks!

Hi @wazasoft, this is something we are aware of and will update the gma_mediation_unity plugin soon

Hi there,
Could anyone please comment on the planned release date for updating the unity libs used by the plugin?
Thanks!

Hi @wazasoft, you should expect an update the the unity lib tomorrow

Hi @wazasoft it should be live https://pub.dev/packages/gma_mediation_unity

Hi @wazasoft it should be live https://pub.dev/packages/gma_mediation_unity

Thanks!


Setup prod and qa deployment for community UI

Nail down details around

Explore the available options to host the community UI
Write a proposal to share with the oversight committee for approval
Setup the prod and qa deployments

depends-on : #9

QA deployment is already live at qa.ui.instructlab.ai. Work is in progress for prod deployment

Production deployment work is done through #207


fix update_role and add tests

fix update_role and add tests
Add Issue templates and dependabot.yml
Update .travis.yml
Add python 3.9 to travis tests
The bot tag is given to the FakeApp ClientUser

Roger I'll take a quick look in the next day or so.

Wrong branch, mb. Have some changes for your repo specifically elsewhere. Making another PR, having a look at that would be great


Questions and Developer Documentation?

Hi,
Looks like an interesting project, thanks for the opportunity to test!

Extension testing

I installed the extension and signed up to test it, also added an Open AI key.
The extension only shows when you've already searched and received a list of results on Amazon.
What's the recommended way to use it in that case?
How does it work?
Say I searched on wireless keyboards, Amazon will return a list of them and the RecDo Extension will then show.
If I then type in recommendo "best wireless keyboard under 1500 yen" it will return one product, but what exactly is it searching on, what info is it sending to OpenAI, and how is it deciding what to recommend?
It's unclear to me how and why it's recommending the result that comes back.
I also unchecked the "Show extension inside pages" but then it doesn't show anywhere? Is that correct?
What does it do?

Developer Docs

I thought I'd take a run through the code to find out a little more, but the docs are also a little unclear.

Copy .env.example to .env.local and update the variables.

Which variables are the key ones I need to enter to get it running in dev mode?
How do you test it? Does pnpm dev just build the extension and then you need to reinstall it to test or is there a standalone mode?

Appwrite configuration

It's also unclear what the database structure on Appwrite is and what or if anything needs to be setup beforehand.
It looks like it needs a database at least, but what about the needed collections for profile and identifier? Any others?
What permissions should be set for them? What attributes?

Payment flows

A flow diagram of the payments system would also be useful, as it looks quite complex though very complete.
It seems you're using a token credit system with 10 free credits (see AW config q above about where this is set), combined with a multi plan subscription system + a one time payment top up. Nice, but it would be great to see this visualised as a flow diagram.
Just testing this also involves a few different use cases and setup for both AW and Stripe, with payment plans and products, for example?
I like your email hash check in case they are trying to reuse an email for free credits!
But an overview diagram of the flows for account CRUD and also Stripe setup would be very welcome, as well as some outline of the code flows for the different use cases and what the database/collection impacts will be.

Functions

The two functions look useful as well, but there's no guidance on how to configure them for triggering, though there is a mention of the triggers in their readme's.

Auth

I notice you're doing a lot of checking for jwt tokens. Is that your way of implementing guarded routes in next.js? (I'm more a vue developer).
Apologies for the wall of questions!
Just some thoughts I had browsing through it that I think could be made clearer to help anyone else who may come across it.

Hi,
Thanks for dropping by! 😊
1. Extension testing
When you search for "best wireless keyboard under 1500 yen" on Amazon, the extension retrieves data from the displayed results, including product identifiers, names, prices, reviews, and star ratings. This information is then used to generate a recommendation. If you navigate to the next page of search results, the extension will gather data from that page instead.
By unchecking the Show extension inside pages option, the extension will be hidden in the bottom-right corner of the page. I'll try to improve the clarity of this feature.

2. Developer Docs
Currently, documentation is limited, but I plan to update the README with relevant information, like from this issue.
3. Copy .env.example to .env.local and update the variables.
For the pnpm dev to work, ensure you have the following environment variables:

STRIPE_SECRET_KEY="<your_stripe_secret_key>"
STRIPE_WEBHOOK_KEY="<your_stripe_webhook_key>"
NEXT_PUBLIC_APPWRITE_URL="http://localhost:1947"
PLASMO_PUBLIC_APPWRITE_URL="http://localhost:1947"

To enable login functionality, add:

NEXT_PUBLIC_APPWRITE_ENDPOINT="https://cloud.appwrite.io/v1"
PLASMO_PUBLIC_APPWRITE_ENDPOINT="https://cloud.appwrite.io/v1"
APPWRITE_API_KEY="<your_appwrite_api_key>"
APPWRITE_WEBHOOK_KEY="<your_appwrite_webhook_key>"
NEXT_PUBLIC_APPWRITE_PROJECT="<your_appwrite_project_id>"
PLASMO_PUBLIC_APPWRITE_PROJECT="<your_appwrite_project_id>"

To enable Stripe, add the rest of the environment variables. You'll need a Stripe developer account and Appwrite project with providers like Google and Github set up.
Run pnpm dev to start both Next.js and Plasmo (the extension framework) in parallel with hot module reloading support. Enable developer mode in Chrome/Edge and select the folder from /build/chrome-mv3-dev to load the extension in developer mode.
4. Appwrite configuration
The database structure:
main Database ID

identifier Collection

identifier: String

Indexes for identifier:

identifier_1: Unique - identifier - ASC

profile Collection

userId: String
name: String
email: Email
credits: Integer
usage: Integer
stripeCurrentPeriodEnd: DateTime
stripeCustomerId: String
stripePriceId: String
stripeStatus: String
stripeStatusLastUpdated: DateTime
stripeSubscriptionId: String
stripeSubscriptionName: String
markedForDeletion: DateTime
termsAgreed: DateTime
history: String[]
saveHistory: Boolean

Indexes for profile:

userId_1: Unique - userId - ASC
credits_1: Key - credits - ASC
stripeCustomerId_1: Key - stripeCustomerId - ASC
compound_1: Key - $createdAt, credits, stripeSubscriptionId - ASC, ASC, ASC

As for the permissions, Document security is enabled to grant each user read permissions only for their documents.
5. Payment Flows
Currently, I have no plans for drawing a payment flow. However, most of the code for the flow resides within /src/api/stripe. If there are updates on this, the README will be accordingly updated.
6. Functions
The functions are triggered as follows:

create-profile: Triggers on events such as "users..sessions..create" and "users..verification..create".
reset-free-credits: Triggers daily.

You can find the triggers here.
7. Auth
Yes, just making sure the request comes from an authenticated user.

Hi,
Great stuff, thanks for taking the time to respond in detail.
I figured out some already, but it's good to get confirmation.
That would all be useful info to add to the read me too.
Thanks.

Here you go, claude prompt: "Make a mermaid viewer flowchart based on this code:"
flowchart TD
Start([Start]) --> GetBody{Get Request Body}
GetBody -->|Body is empty| ReturnError1[Return 404 Not Found]
GetBody -->|Body is valid| VerifySignature{Verify Signature}
VerifySignature -->|Signature is missing| ReturnError2[Return 401 Unauthorized]
VerifySignature -->|Signature is invalid| ReturnError3[Return 401 Unauthorized]
VerifySignature -->|Signature is valid| CreateStripeCustomer[Create Stripe Customer]
CreateStripeCustomer --> UpdateAppwriteProfile[Update Appwrite Profile]
UpdateAppwriteProfile --> ReturnSuccess[Return 200 OK]
CreateStripeCustomer -->|Stripe Error| HandleStripeError{Handle Stripe Error}
HandleStripeError --> ReturnStripeError[Return Stripe Error]
UpdateAppwriteProfile -->|Appwrite Error| HandleAppwriteError{Handle Appwrite Error}
HandleAppwriteError --> ReturnAppwriteError[Return Appwrite Error]
CreateStripeCustomer -->|Other Error| ReturnError4[Return 500 Internal Server Error]
UpdateAppwriteProfile -->|Other Error| ReturnError4
ReturnError1 --> End([End])
ReturnError2 --> End
ReturnError3 --> End
ReturnSuccess --> End
ReturnStripeError --> End
ReturnAppwriteError --> End
ReturnError4 --> End

Thanks! I'll make sure to update the project in the following days 👍


Can't do 'load_model' on custom loss function which uses tensor from out of the loss function

Please make sure that the boxes below are checked before you submit your issue. If your issue is an implementation question, please ask your question on StackOverflow or join the Keras Slack channel and ask there instead of filing a GitHub issue.
Thank you!

[ x] Check that you are up-to-date with the master branch of Keras. You can update with:
pip install git+git://github.com/fchollet/keras.git --upgrade --no-deps

[ ] If running on TensorFlow, check that you are up-to-date with the latest version. The installation instructions can be found here.

[x ] If running on Theano, check that you are up-to-date with the master branch of Theano. You can update with:
pip install git+git://github.com/Theano/Theano.git --upgrade --no-deps

[ x] Provide a link to a GitHub Gist of a Python script that can reproduce your issue (or just copy the script here if it is short).
gist codes : https://gist.github.com/calanchue/424cb03d3f205817e282249b4f1f50c6
Keras + theano + window

It is somewhat related to capability of the keras, I'm posting here.
What i try to do is that load and save variational autoencoder which is presented at example of the keras. I made little change for sampling to save the sampling layer(wrote arguments field). but except that, All other model things are intact.
But it gives me weird theano error(posted below). It seems that it can't find input tensor when it recreate model from saved file. After little experiments, my guess is that this bug comes from that vae_loss function use outer tensor which is not provided as the function input.  it seems that Keras can't find those tensor after load it. Other custom loss functions which only use only input tensor works fine.
Are there any way to load those kind of loss function with Keras?
Error message when the code try to load
load
Traceback (most recent call last):

File "<ipython-input-19-49e8c8795740>", line 109, in <module>
vae_loaded = load_model("test_vae", custom_objects={"vae_loss":vae_loss})

File "C:\Users\user\Anaconda2\lib\site-packages\keras\models.py", line 163, in load_model
model._make_train_function()

File "C:\Users\user\Anaconda2\lib\site-packages\keras\engine\training.py", line 723, in _make_train_function
**self._function_kwargs)

File "C:\Users\user\Anaconda2\lib\site-packages\keras\backend\theano_backend.py", line 787, in function
return Function(inputs, outputs, updates=updates, **kwargs)

File "C:\Users\user\Anaconda2\lib\site-packages\keras\backend\theano_backend.py", line 773, in __init__
**kwargs)

File "C:\Users\user\Anaconda2\lib\site-packages\theano\compile\function.py", line 322, in function
output_keys=output_keys)

File "C:\Users\user\Anaconda2\lib\site-packages\theano\compile\pfunc.py", line 480, in pfunc
output_keys=output_keys)

File "C:\Users\user\Anaconda2\lib\site-packages\theano\compile\function_module.py", line 1783, in orig_function
output_keys=output_keys).create(

File "C:\Users\user\Anaconda2\lib\site-packages\theano\compile\function_module.py", line 1435, in __init__
accept_inplace)

File "C:\Users\user\Anaconda2\lib\site-packages\theano\compile\function_module.py", line 176, in std_fgraph
update_mapping=update_mapping)

File "C:\Users\user\Anaconda2\lib\site-packages\theano\gof\fg.py", line 181, in __init__
self.__import_r__(output, reason="init")

File "C:\Users\user\Anaconda2\lib\site-packages\theano\gof\fg.py", line 376, in __import_r__
self.__import__(variable.owner, reason=reason)

File "C:\Users\user\Anaconda2\lib\site-packages\theano\gof\fg.py", line 418, in __import__
variable=r)

MissingInputError: An input of the graph, used to compute dot(input_12, HostFromGpu.0), was not provided and not given a value.Use the Theano flag exception_verbosity='high',for more information on this error.

Backtrace when the variable is created:
File "C:\Users\user\Anaconda2\lib\site-packages\ipykernel\zmqshell.py", line 501, in run_cell
return super(ZMQInteractiveShell, self).run_cell(*args, **kwargs)
File "C:\Users\user\Anaconda2\lib\site-packages\IPython\core\interactiveshell.py", line 2705, in run_cell
interactivity=interactivity, compiler=compiler, result=result)
File "C:\Users\user\Anaconda2\lib\site-packages\IPython\core\interactiveshell.py", line 2809, in run_ast_nodes
if self.run_code(code, result):
File "C:\Users\user\Anaconda2\lib\site-packages\IPython\core\interactiveshell.py", line 2869, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "<ipython-input-19-49e8c8795740>", line 23, in <module>
x = Input(batch_shape=(batch_size, original_dim))
File "C:\Users\user\Anaconda2\lib\site-packages\keras\engine\topology.py", line 1091, in Input
input_tensor=tensor)
File "C:\Users\user\Anaconda2\lib\site-packages\keras\engine\topology.py", line 1010, in __init__
name=self.name)
File "C:\Users\user\Anaconda2\lib\site-packages\keras\backend\theano_backend.py", line 84, in placeholder
x = T.TensorType(dtype, broadcast)(name)

It seems that it can't calculate

I got this error too.
I fix this error by add a Session for my tf:
import tensorflow as tf
with tf.Session:
//you code

https://www.tensorflow.org/api_docs/python/tf/Session

I have the same problem of not being able to load the model produced by the variational autoencoder example. The only changes I did are regarding the input dimension and consequential parameter adjustments.
The error I get is different, however, the problem seems to be connected to the vae_loss, too.

I got this error too.
I fix this error by add a Session for my tf:
import tensorflow as tf
with tf.Session:
//you code

Adding a session for tf did not help.
This is what i get:
Traceback (most recent call last):
File "reconstruction.py", line 123, in runModel
    preTrainedAutoencoder = load_model(preTrainedAutoencoderPath)
File "/data/user/vae/virtenv-tensorflow/local/lib/python2.7/site-packages/keras/engine/saving.py", line 295, in load_model
    sample_weight_mode=sample_weight_mode)
File "/data/user/vae/virtenv-tensorflow/local/lib/python2.7/site-packages/keras/engine/training.py", line 333, in compile
    raise ValueError('The model cannot be compiled '
ValueError: The model cannot be compiled because it has no loss to optimize.

I tried to set the loss manually by passing custom_objects={"loss": None} along with the model path when loading the model but it didn't change the error (None because I only want to predict at this point).


Leedave/ap rename

Not ready yet. Dont put it in your main branch yet.
Just posted so you know someone's working on it. More updates will be added to this pr.
Feature to Rename Wifi AP
Current state

Added Menu Point
Added Text Editor
Reads out ap.config.txt and adds to text editor
Returns to menu after using text editor

In development

Save data from text editor into ap.config.txt
Sometimes the AP name has random chars at the end, need to figure out why

Now it's finished. Hope it helps.
The random character issue still occassionally appears, but I noticed that this is a bug you have already made an issue for. My advice would be switch to using FlipperFormat. Will write a comment into your issue.

Good job. Can you please write a path how to replace the old fies with yours on the flipper?

It's still up to the author to accept the Pull-Request, if it fits him.
But as you asked so kindly, there's two option to get a preview of it

Use the latest Roguemaster FW, it has it included
I've uploaded a compiled version with my changes in it. You can download it and copy it to your device (replace the file "SD Card/apps/GPIO/evil_portal.fap")
Preview Version

Works great, thanks a lot.

So I decided to add something more 😄
Now it also has a selector that allows you to change the Portal's HTML file in the app.
Just make sure you copy all the portal html files to apps/data/evil_portal/html
My preview fap is also updated for those interested.

@bigbrodude6119 It looks like the HTML selection has been resolved here:
https://github.com/bigbrodude6119/flipper-zero-evil-portal/pull/41
You may want to account for this in your pull request here.


Feature request: show non-standard registry types

For example, the registry types in the subkeys of HKLM\SAM\Domains\Account\Users\Names are not standard registry types, but map to the values of the other Users subkeys.
E.g., commonly one might see ...\Users\Names\Administrator where the default value is zero length but has the type 0x1f4 -- which is the RID 500 and is associated with ...\Users\000001F4. Regedit.exe shows that non-standard type as a hex value, but TotalReg leaves the Type column empty for that value.

Thanks, Aaron. Good point. Will fix.

Done.

I like it. Better than regedit.exe because you're showing both decimal and hex.


Package build string harmonization with tensorflow and pytorch

Comment:
Would it acceptable to harmonize the build string with that of tensorflow and pytorch
onnxruntime (this feedstock)
{% set build_ext = "cuda" if cuda_enabled else "cpu" %}
  string: py{{ CONDA_PY }}h{{ PKG_HASH }}_{{ PKG_BUILDNUM }}_{{ build_ext }}

The main features that are missing:

The version of cuda that things are compiled with is not immediately obvious.
cuda comes at the end, whereas it arrives at the beginning in tensorflow and pytorch

Tensorflow:
https://github.com/conda-forge/tensorflow-feedstock/blob/main/recipe/meta.yaml#L136

      string: cuda{{ cuda_compiler_version | replace('.', '') }}py{{ CONDA_PY }}h{{ PKG_HASH }}_{{ PKG_BUILDNUM }}  # [cuda_compiler_version != "None"]
      string: cpu_py{{ CONDA_PY }}h{{ PKG_HASH }}_{{ PKG_BUILDNUM }}                                                # [cuda_compiler_version == "None"]

Pytorch
https://github.com/conda-forge/pytorch-cpu-feedstock/blob/main/recipe/meta.yaml
      string: cuda{{ cuda_compiler_version | replace('.', '') }}py{{ CONDA_PY }}h{{ PKG_HASH }}_{{ PKG_BUILDNUM }}  # [cuda_compiler_version != "None"]
      string: cpu_{{ blas_impl }}_py{{ CONDA_PY }}h{{ PKG_HASH }}_{{ PKG_BUILDNUM }}                                                # [cuda_compiler_version == "None"]

The initial choice for the build string currently used is detailed in https://github.com/conda-forge/onnxruntime-feedstock/pull/63#issuecomment-1614740936 . In a nutshell, I tried to take inspiration from existing packages, but personally I do not have any strong opinion on this.

The initial choice for the build string currently used is detailed in #63 (comment) . In a nutshell, I tried to take inspiration from existing packages, but personally I do not have any strong opinion on this.

Ok, looking a bit it seems that I copied the one used in libarrow: https://github.com/conda-forge/arrow-cpp-feedstock/blob/cb3550db9a03b0a24d71427dcf0a21939d74fe15/recipe/meta.yaml#L112C19-L112C27 / pyarrow: https://github.com/conda-forge/arrow-cpp-feedstock/blob/cb3550db9a03b0a24d71427dcf0a21939d74fe15/recipe/meta.yaml#L624 , for me it is fine to change.


Testing Mines: can establish mine fields without HR (for the engineers)

After establishing the minefield and having no HR (HR: 0), the engineers are recruited anyway and the task created.
P.S. Tested with ACE in the fix_Minefields branch in MP

Cannot reproduce. Let me describe the steps so you can identify where the error is:

press to create a AT minefield
select minefield and mines positions
confirm selection
money and hr is removed
mines are removed from arsenal
mission is created
mission is initialized (task created)

What I tried to reproduce:

new game
removed all HR from FIA ([-10,0] call AS_fnc_changeFIAmoney on server)
pressed to create a minefield => rejected: no mines
added mines to box
pressed to create a minefield => rejected, no HR or money
added HR back to FIA ([10,0] call AS_fnc_changeFIAmoney on server)
pressed to create a minefield => mission created

In other words, the HR is removed once the mission is created, and it will remain allocated for the mission.

Re-open if you do not reproduce or agree with the above :P


i3: 4.19 -> 4.19.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/i3/versions.
meta.description for i3 is: "A tiling window manager"
meta.homepage for i3 is: "https://i3wm.org"
meta.changelog for i3 is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 4.19.1 with grep in /nix/store/fwihrw0jdfak0083qplgg89y04g0ffzb-i3-4.19.1

directory tree listing: https://gist.github.com/efe89831b647302234b3daccb9141e98

du listing: https://gist.github.com/93d6f813faca18ba70fb1a5f61565b2a

Rebuild report (if merged into master) (click to expand)

74 total rebuild path(s)

22 package rebuild(s)

22 x86_64-linux rebuild(s)
22 i686-linux rebuild(s)
8 x86_64-darwin rebuild(s)
22 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
autotiling
flashfocus
i3
i3-balance-workspace
i3-layout-manager
i3-resurrect
i3-wk-switch
i3altlayout
polybarFull
powerline
python37Packages.i3ipc
python37Packages.powerline
python37Packages.py3status
python38Packages.i3ipc
python38Packages.powerline
python38Packages.py3status
python39Packages.i3ipc
python39Packages.powerline
python39Packages.py3status
raiseorlaunch
sway-contrib.inactive-windows-transparency
xkb-switch-i3

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/fwihrw0jdfak0083qplgg89y04g0ffzb-i3-4.19.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A i3 https://github.com/r-ryantm/nixpkgs/archive/c3f0be60d21bfb98e3e5bbd456ca965aeedc09bb.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/fwihrw0jdfak0083qplgg89y04g0ffzb-i3-4.19.1
ls -la /nix/store/fwihrw0jdfak0083qplgg89y04g0ffzb-i3-4.19.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

4 packages failed to build:

python37Packages.i3ipc
python37Packages.powerline
python37Packages.py3status
python39Packages.powerline

17 packages built:

autotiling
flashfocus
i3
i3-balance-workspace
i3-layout-manager
i3-resurrect
i3-wk-switch
i3altlayout
polybarFull
powerline (python38Packages.powerline)
python38Packages.i3ipc
python38Packages.py3status
python39Packages.i3ipc
python39Packages.py3status
raiseorlaunch
sway-contrib.inactive-windows-transparency
xkb-switch-i3

Maintainer pings
cc @modulistic @fpletz @globin for testing.

Result of nixpkgs-review pr 113136 at c3f0be60 run on aarch64-linux 1

12 packages failed to build:

autotiling
flashfocus
i3-balance-workspace
i3-resurrect
i3-wk-switch
i3altlayout
powerline (python38Packages.powerline)
python38Packages.i3ipc
python38Packages.py3status
python39Packages.powerline
raiseorlaunch
sway-contrib.inactive-windows-transparency

9 packages built:

i3
i3-layout-manager
polybarFull
python37Packages.i3ipc
python37Packages.powerline
python37Packages.py3status
python39Packages.i3ipc
python39Packages.py3status
xkb-switch-i3

2 suggestions:

warning: missing-phase-hooks
checkPhase should probably contain runHook preCheck and runHook postCheck.
Near pkgs/applications/window-managers/i3/default.nix:41:3:
   |
41 |   checkPhase = lib.optionalString (stdenv.hostPlatform.system == "x86_64-linux")
   |   ^

warning: unnecessary-parallel-building
Meson, CMake and qmake already set enableParallelBuilding = true by default so it is not necessary.
Near pkgs/applications/window-managers/i3/default.nix:27:3:
   |
27 |   enableParallelBuilding = true;
   |   ^