Why is login split between two modules?

https://github.com/PacktPublishing/Laminas-Web-Development/blob/3896852da56e3d14154ccc634ca22461b384146c/chapter11/whatstore/module/Store/src/Controller/CustomerController.php#L34
Why is login split between two different modules? I would think that a single login would be provided and then the user would be redirected depending on "who or what" they are within the application. This seems redundant.

Yes, it makes sense completely.
In fact, there is another intention with two logins. They generate a problem that is solved in Chapter 12.
But the question of one single login point could be implemented in Chapter 12 too. I will think about when to finish the plan for rewriting the chapters.
The mentioned problem is related to session. There is a story in Chapter 12, not so good as you told in issue #35.
 It needs to be added, as well as session invalidation.

I will read ahead then and look into the mentioned problem as I have very recent deep dive knowledge of how Laminas Session and its usage can be problematic in applications such as these. Matter of fact I can probably provide the code to fix it (since I most likely already have it written lol). Can I open a pull request against this repo?

I will read ahead then and look into the mentioned problem as I have very recent deep dive knowledge of how Laminas Session and its usage can be problematic in applications such as these. Matter of fact I can probably provide the code to fix it (since I most likely already have it written lol). Can I open a pull request against this repo?

Yes.

Its 9:22 Chicago (central US time) here. I am trying to not cause us to duplicate work here, so, I will go ahead and review everything tonight that "should not" be impacted by any session changes in the review. Any changes that are relevant to the session handling etc I will address here on Github as it will be relevant to chapter 12. I can see this is not an easy process since the code is split between multiple chapters and a change to one, depending on the change effects all previous chapters... No easy way to accomplish it that I have thought of so far!!

Its 9:22 Chicago (central US time) here. I am trying to not cause us to duplicate work here, so, I will go ahead and review everything tonight that "should not" be impacted by any session changes in the review. Any changes that are relevant to the session handling etc I will address here on Github as it will be relevant to chapter 12. I can see this is not an easy process since the code is split between multiple chapters and a change to one, depending on the change effects all previous chapters... No easy way to accomplish it that I have thought of so far!!

:)

Well, I got a preview into the issue, or part of it in the chapter 11 review in the reason that you provide for the logins being different.

There is a difference for customer registration when it is compared to the previous registrations. The API only allows the customer creation. It is not possible to update or delete a customer. Of course, this is for avoiding that a customer removes another customer or changes the personal data of another customer

This should be handled with an Assertion based on a non ambiguous user identifier such as a auto incremented user id. At the moment a user is authenticated you know their Id, as long as that id never changes then when you allow them to modify their account, you only assert the permission to do so if the state exist that their user id and that of the account to be edited has the same id. Otherwise, no assertion takes place, condition fails, account can not be edited.
Furthermore, I usually only show them the link to edit their own account, and in the access check for that particular action I check then, so that if there is no access the user is redirected and the attempt is logged as a 403 as it can give clues if someone is attempting to gain access to the software you build or another users account. The hard part if when a malicious user has an account but attempts access as a guest, which is why its very helpful to have a related table to store IP's from successful logins, because once stored, it can be queried against in the case that some guest performs more than n number of 403 flagged attempts. This does not actually identify the malicious user, but it certainly provides very useful data in the event that the malicious user does not make sure they are using a different IP before the probing starts.
As soon as I have a chance to finish the chapter 11 review I will look into chapter 12 and see if I can connect all the dots in regards to this topic of discussion. I just wanted to post my thoughts on it as the information becomes available from my perspective so I do not forget to come back to it.

OK, I have read the relevant parts of chapter 12.
The additional context is not needed. You are already using the RBAC. Your user is already authenticated. Authentication here is NOT the component to use for allowing ACCESS to one module or the other.
A user authenticates ONCE, regardless of what backend service is queried for verification of that. Once authenticated the user is then either granted access to part of the domain model or they are not.
Your reference to this method being the determining factor:
public function hasIdentity()
{
return ! $this->getStorage()->isEmpty();
}
The explanation you give within the text is incomplete and incorrect.
You have to be very careful and not take for granted that the container being used for the Authentication Service does not check for who was authenticated. It does, how else could it return the identity? The method you cite in the text actually proxies to this method. See Laminas/Authentication/Storage/Session which is what is returned by $this->getStorage() in the method you cite.
public function isEmpty()
{
return ! isset($this->session->{$this->member});
}
The authentication service storage session implements the authentication storage interface and uses a session container internally. It writes the identity column passed to the adapter into the container as a key, ie property (depending on the flags and since its parent context is initialized with ArrayObject::ARRAY_AS_PROPS) it can be accessed as a class property.
The system should set a default role to an account created through standard registration.
User, standard_user, whatever. They should not have permission to access anything other than purchasing.
Users that can access any other area should be assigned the role of employee and have permissions that allow them certain elevated privileges, such as creating products, which would then in turn modify the inventory etc.
The only session data that should be used for this process is the identity column that is stored by the authentication service, no other data should need be stored in the session for authorization purposes. That means once per request you have to query for the users authorization data, once and only once, which could be part of a join with other tables to provide the authenticated users "context". This insures that any modification to that data is realized in real time on the next request.
If it must be stored, in VERY high request per second implementations then there is a couple choices. I would suggest caching it, since, which then lends itself better to testing environments than when using data stored in the session since sessions are not usually initialized via cli. Either way, when the user is modified by another user, with privilege to change their privileges, ie a manager or admin, to assign an employee role, or an employee to modify account info, or order info for a standard user, but should not allow the modification of roles. Sorry I digressed there. when the user is modified then either the cache must be invalidated or the current users session that is being modified must be killed and the user forced to log back in. If not then their data is stale. I can think of many situations where just a single request completion could result in a site owner being locked out, if the malicious user obtains enough environmental information (ie from their co-workers) about what is about to happen. ie, the delete user screen happens to open, Bob sticks his head in the door and mentions to Mr Bad Guy that he just overheard whathisname mention that Mr Bad Guy is getting canned. At that moment, all it takes is a single click to remove the owners account if its not protected via an assertion and prevented from being modified by anyone that is not the account owner and the admin role.
As a side note. In the code block I included earlier is the key to session invalidation, because you have the container name, since you do not pass a custom container name when the authentication service is created, the component will create the default container which is Laminas_Auth, the target member will be whatever db column name you pass (its value that is returned from the auth query that is) as the identity argument when the authentication adapter is created and its context setup for use.

The authentication remains separated to each module. There is not intention to create a single sign-on or similar.
Previously, it was made a change for creating an IdentityManager class. In Chapter 12 this class served to show how to set different namespaces for authentication sessions. This was a good contribution. The inherited identity management class for Inventory module is more aggressive with permissions checking now. In future, it can serve as an optimization case study.
This discussion can serve as requirement for a new component. It could be part of https://github.com/fgsl/framework. If it is a really required and generic feature, it must be addressed to Laminas.
That's all folks.

Related issues:

https://github.com/PacktPublishing/Laminas-Web-Development/issues/69
https://github.com/PacktPublishing/Laminas-Web-Development/issues/62
https://github.com/PacktPublishing/Laminas-Web-Development/issues/60
https://github.com/PacktPublishing/Laminas-Web-Development/issues/59
https://github.com/PacktPublishing/Laminas-Web-Development/issues/58


Next Right Now boilerplate

Hello there! Great job at creating Next Boilerplate, it really looks interesting. I'll take a peek to see what I can re-use for https://github.com/UnlyEd/next-right-now, which is an alternative boilerplate (same purpose, different implementation)
Since we're all about sharing and spreading knowledge, I wanted to let you know that I'm heavily working on the SSG support (working already) through PR https://github.com/UnlyEd/next-right-now/pull/42
I believe Next Boilerplate still uses the "old" SSR approach (I quickly had a look around), but if you'd like to see how SSG can be implemented then don't hesitate to see at how I did it in the above PR.
I hope we can share good tips and spread good practices better together! My latest discovery (yesterday) was https://github.com/welldone-software/why-did-you-render which is very useful for helping devs to detect useless re-renders. Very simple to implement as well: https://github.com/UnlyEd/next-right-now/pull/52/files#diff-76ad791c100f00f39c533e71f055643cR29-R47
May be a great addition for Next Boilerplate?
I mean to finish the 2 big PRs I'm working on and then I hope I'll have time to take a deeper look to Next Boilerplate and see what else would benefit NRN. Meanwhile, if you have any suggestion, they're welcome!
Keep up the great work! 👍

For those interested by the above, we recently released NRN v2, which features building web apps using Next.js framework (9.4) and GraphQL/GraphCMS. :tada:

Next Right Now (NRN) is meant to help you build production-grade projects using the Next.js framework. It can be used as a boilerplate to start a new project, or as an educational resource.

The v2 version brings the following features out of the box:

SSG: Static pages (per-page configuration SSG/SSR)
Preview mode: Preview dynamic content on “static” pages
Incremental rebuild: Rebuild part of your app incrementally (per-page configuration) to automatically keep static content up-to-date
Partial pre-build: Use fallback option to build your pages on-demand, and have them statically served afterwards
Full TS support
Hosted on Vercel
Advanced stages and secrets configuration
SaaS B2B advanced support (monorepo design)
I18n/Localisation
Automated deployments (CI/CD) using Github Actions
Monitoring, testing and analytics
Integrated documentation website using Jekyll and GitHub Pages

Demo: https://nrn-v2-mst-aptd-gcms-lcz-sty-c1.now.sh (play around with SSG/SSG, incremental builds, fallback builds, preview mode and more!)
Repo: https://github.com/UnlyEd/next-right-now

What's next?
NRN next preset will be an Airtable integration (instead of GraphCMS), to showcase how to consume a REST-ish API

NRN is officially recommended by React i18next for internationalising Next.js apps


Pass thru some ImageWrapperStyles

We'd like to customize some more thing on the ImageWrapper and therefor added a prop. Hope that's ok for you? 😄

Great! Need this 👍

Thank you @fivenp 😉
I agree that this feature is needed.


rxjs-es cannot be bundled by rollup or webpack

I am trying to use ES6 version of the rxjs by following instructions written in docs http://reactivex.io/rxjs/manual/installation.html:
npm install rxjs-es --save

and using in my file as:

import Rx from 'rxjs/Rx';
Rx.Observable.of(1,2,3)

This throws the error: Error: Could not resolve 'rxjs/Rx.js'. So i modified my import to make it work:
import * as Rx from 'rxjs-es/Rx.js';

Now this generates a bundle but I see the error on browser console: Uncaught ReferenceError: OuterSubscriber is not defined
After debugging a bit I realized that bundle is not being generated the way it should be. However If I modify my imports to pick only what I need then it works:
import {Observable} from 'rxjs-es/Observable';
import 'rxjs-es/add/observable/of';
import 'rxjs-es/add/operator/map';

let observable = Observable.of(1,2,3);

I looked through old commits, issues and stackoverflow but could not find anything substantial. My rollup.js script looks like this:
gulp.task('jsbundle', () => {

    return rollup({
        entry: './src/commons/js/main.js',
        treeshake: true,
        plugins: [
            nodeResolve({
                module: true,
                jsnext: true,
                main: true
            }),
        ]
    }).then(bundle => {
        return bundle.write({
            format: 'iife',
            dest: './dist/commons/js/main.js'
        });
    });
});

Then I switched to commonjs package using npm install rxjs and tried to consume this using rollup via rollup-plugin-commonjs plugin. Then it works perfectly.
To further investigate, I did the same with Webpack. And I found the similar result. If I try to import entire core set of Rx functionality, then rxjs-es package doesn't work.
I am still not able to entirely figure out exact cause of the problem. I am willing to raise a PR if I can find out exact problem.

as RxJS no longer publishes rxjs-es and recommend to use rxjs or @reactivex/rxjs, I think this issue can be closed by recommend to use CJS package published.


Use bool instead of string comparison

While looking through the targets I saw these two lines that could use some touchup.  These changes are basically no-ops but will now fail if we don't have that variable set.  Dev14OrLater should be set everywhere so we would prefer these fail rather than just evaluate in an unexpected way.

:+1:


README: screenshots are missing.

Screenshot

Solution upload the images to online hosting links for better results.

Closes #3

This issue has been fixed in the PR #3

No response from maintainer.


how about cuda10.2

if i use cuda10.2 and torch==1.8, may i confront some problems?
Is cuda10.2 feasible？

Yes. CUDA 10.2 is also feasible.


New Feature: ✨ Double tap liking effect

New Feature ✨ Double tapping on a card item will like that shape. Ui is similar to Instagram. here you go 🤟

This makes the app perfect to interact with users on small mobile devices. Cheers 🍻

@saviomartin , Awesome addition.. So many thanks. One question.. does it work the same way on mobile devices too?

Yes @atapas, that's the main reason for this feature. I have checked it and it worked like a charm.

Yes @atapas, that's the main reason for this feature. I have checked it and it worked like a charm.

Yep, I have tested it too now

Cool, Thanks 🤟


Bugfix for inaccessible interfaces

Only generate the interface when it is accessible from the module (so it is public or it resides in the same module)

@crwsolutions I need you to write unit tests so I can check the PR.


Clarify out-of-band policy violations for callouts

We have continually encountered misbehaving callout drivers in our investigations that are violating these standards. In an effort to mitigate some of these issues, we want to highlight the importance of following the points outlined.

Learn Build status updates of commit 462e0a9:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

windows-driver-docs-pr/network/stream-inspection.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

Thanks Brandy!


[ISSUE #2328] Check parameters to avoid parameter errors When updating ACL configuration file.

What is the purpose of the change
issue #2328
Brief changelog
1.check topicPerms and groupPerms, When updating ACL configuration file.
2.add unit test.
Verifying this change
XXXX
Follow this checklist to help us incorporate your contribution quickly and easily. Notice, it would be helpful if you could finish the following 5 checklist(the last one is not necessary)before request the community to review your PR.

[x] Make sure there is a Github issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a Github issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[x] Format the pull request title like [ISSUE #123] Fix UnknownException when host config not exist. Each commit in the pull request should have a meaningful subject line and body.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Write necessary unit-test(over 80% coverage) to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
[x] Run mvn -B clean apache-rat:check findbugs:findbugs checkstyle:checkstyle to make sure basic checks pass. Run mvn clean install -DskipITs to make sure unit-test pass. Run mvn clean test-compile failsafe:integration-test  to make sure integration-test pass.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Coverage decreased (-0.04%) to 51.259% when pulling<PHONE_NUMBER>cbdf337441de1607934114496b92d6 on Git-Yang:check_acl_config_parem into 9f95a972e10e0681bc3f2d00e9957aa212e897b5 on apache:master.

Please help to review. @zongtanghu


Missing digit on light theme

Hi there!
There is a missing digit on brightYellow to form RGB pattern for the light theme that causes an error when you try to save this color scheme. I suppose it's a '1' that makes "#DAA011"  once it culminates in a yellow shape.
Hope that helps with fixing it.

Thanks @GusPrado!
I'm going to fix it today later 😃


Error in documentation for "Start the service instances" section

In the "Manage services on server" page in Central Admin (/_admin/Server.aspx) you can't click "Start" to start the services. There are only options to "Stop" or "Restart" depending on the service; most services don't have either option.

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

ID: 97493854-efe6-3451-d96b-a04b6ac32075
Version Independent ID: 46b84a4a-fbe2-5afc-f442-13d8411e395e
Content: Upgrade service applications to SharePoint Server 2019
Content Source: SharePoint/SharePointServer/upgrade-and-update/upgrade-service-applications-to-sharepoint-server-2019.md
Product: sharepoint-server-itpro
GitHub Login: @Techwriter40
Microsoft Alias: kirks

@AndreaBarr  please assign to me.

@RickBertuzzi when a service instance is in a stopped state and it can be managed, it will have a Start option. In certain scenarios, the same service instance may not have a start or stop option, such as when the server is configured with a particular MinRole like WebFrontEnd. Does this help?

Hi @tseward . Thanks. Yes some clarification around why there may not be a Start option helps. Not a huge deal, just thought I'd point it out in case someone new to SharePoint is scratching their head looking for "Start".

@RickBertuzzi Thank you for submitting feedback. We understand that this issue has been resolved.
Please feel free to re-open this issue if there is a specific area of the docs that we can improve or make better. Thank you.

@officedocsbot close


Rubocop / Bixby

Rubocop and bixby are part of the bulkrax codebase, but have not been run over the code as yet. The task is to:
(To be completed by #107)

[x] set-up rubocop and bixby
[x] run rubocop -a to autocorrect
[x] run rubocop --auto-gen-config to analyse errors

(To be completed by #114 and others)

[x] fix error or add enable / disable to skip

Note - as of 8/11/2019 rubocop would not run against bulkrax with bixby due to lots of errors; needs analysis
Part of #44

I can't self-assign this to me, but I'd like to tackle it @geekscruff

this was completed


[Bug & Suggestion] UI Elements Shouldn't Show In Certain Circumstances

Versions effected (NeoForge 1.21): 0.11.12
Description of bug: Some UI elements from active/passive abilities appearing even when they really shouldn't be.
Tested this bug with some armor upgrades, since they are the parts of the mod that show UI elements on screen the most.
Here are some screenshots of the issue in question: (this one is when F1 is pressed, which hides all UI, which the ui overlays in JDTs do not respect)

Here is a screenshot of a UI element in creative mode, which it's placement makes no sense here, this is more of UI preference thing than a bug but is related. It's a bit of an irritant seeing it float there... Perhaps just hide it in creative mode since the upgrades that make these UI elements pop up don't help creative mode players at all:

Probable fix for Issues described:  Make certain UI elements disappear when they should be, by checking whether or not F1 is pressed.
Also check if the UI element should show up in Creative Mode or not, as some mods already hide UI elements that aren't useful to creative mode players and have been doing so for a while now.
Other Observations: It looks like the UI is always placed above where the hearts are in survival mode, which makes no sense for creative players/other non-survival modes.
Untested in spectator mode. Tested with invulnerability (which never shows it's icon in creative), fire extinguish, untested with other upgrades, probably affects them too.
Other than the UI elements not being hidden when they should be, there are no other issues with the UI overlays that I can see.

Added a feature to hide it on F1 for now :) will circle back some time to get the positioning better in creative mode.


Google-Maps-API link to restaurant info

Allow user to click on marker and have restaurant information display.

Done!


TypeError thrown using appmetrics v1.0.6

I get this error thrown while starting a profiling session on Node (v0.12.7).
We discovered a workaround by forcing an npm install of appmetrics v1.0.3 or earlier.
By default, v1.0.6 is currently installed.   This was on Windows, and was also recreated on iOS.
[01/21/16 15:32:11] com.ibm.diagnostics.healthcenter.loader INFO: Node Application Metrics <IP_ADDRESS>601201151 (Agent Core <IP_ADDRESS>511031005)
[01/21/16 15:32:11] com.ibm.diagnostics.healthcenter.mqtt INFO: Connecting to broker chuckpad540:1883
C:\Users\cbridgha\AppData\Roaming\npm\node_modules\appmetrics\lib\aspect.js:54
var existing = target[methodName];
^
TypeError: Cannot read property 'on' of undefined
at C:\Users\cbridgha\AppData\Roaming\npm\node_modules\appmetrics\lib\aspect.js:54:24
at Array.forEach (native)
at Object.exports.before (C:\Users\cbridgha\AppData\Roaming\npm\node_modules\appmetrics\lib\aspect.js:53:8)
at SocketioProbe.attach (C:\Users\cbridgha\AppData\Roaming\npm\node_modules\appmetrics\probes\socketio-probe.js:68:10)
at C:\Users\cbridgha\AppData\Roaming\npm\node_modules\appmetrics\index.js:107:21
at Module.newFunc (C:\Users\cbridgha\AppData\Roaming\npm\node_modules\appmetrics\lib\aspect.js:100:12)
at require (module.js:384:17)
at Object. (C:\Users\cbridgha\git\nodejs-chat\server.js:5:10)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)

umm, ok, I've tried exactly the same configuration and I don't get the error so will keep on digging

this works on the latest version of socket.io (v1.4.4) but is failing on the 0.9.17 that you are using

1.0.2 is the minimum version of socket.io that works with the appmetrics socket.io-probe

I'll document the minimum supported versions

https://github.com/RuntimeTools/appmetrics/wiki/Limitations-and-known-problems


Add support for extra types of buttons for Apple Pay

Summary
According to Apple documentation, there's a bunch of buttons types available when using Apple Pay.
See them listed here: https://developer.apple.com/documentation/apple_pay_on_the_web/displaying_apple_pay_buttons (specially when using version 4 of Apple Pay we have the ability to use the standard Apple Pay button for enabling subscriptions: "Subscribe with...").
For a list of Apple Pay versions for the Web see: https://developer.apple.com/documentation/apple_pay_on_the_web/apple_pay_on_the_web_version_history
The button types supported by the PaymentRequestButton is actually very limited:
https://stripe.com/docs/stripe-js/elements/payment-request-button#react-styling-the-element
It's actually odd that it does support "Book" and doesn't support "Subscribe" as both seems to be available since version 4 of Apple Pay.

Sorry for the delay answering this issue! These have since been added: https://stripe.com/docs/js/elements_object/create_element?type=paymentRequestButton


Add IFTTT integration to 3rd party doc

Add IFTTT to 3rd party integration
https://docs.influxdata.com/influxdb/cloud/write-data/no-code/third-party/
https://docs.influxdata.com/influxdb/v2.0/write-data/no-code/third-party/
See showme: https://influxdata.slack.com/archives/CG8NACC8M/p1635361717023600
cc @genehynson

Great idea! I also have a blog post draft on this topic that's currently being reviewed: https://docs.google.com/document/d/1gQpGBwltLL9nLnmtWkS4zTfTeTkXG7CjtBB-FM379a8/edit?usp=sharing


SimpleCondorPlugin job submission Unicode problems

@ticoann unicode conversion code doesn't work for me, I get job submission errors:
Python argument types in
ClassAd.init(ClassAd, list)
did not match C++ signature:
init(_object*, boost::python::dict)
init(_object*, std::string)
init(_object*)
Don't want to merge it like this, but lets discuss what needs to be done in the PR and I'll modify.

This change makes submission work in Tier0 replays, without it I get the errors mentioned.

I have a similar fix here:
https://github.com/dmwm/WMCore/pull/7390/files
that was actually waiting for your comment :-)
If it didn't fail for you, then sites in the T0 setup must be a ascii string instead of unicode

Closed in favor of #7390


[FEATURE REQUEST] Request for Responsive Website Design Implementation

Description
Is your feature request related to a problem? Please describe:
The website is currently not responsive, which means it does not adapt well to different screen sizes and devices.
Describe the solution you'd like:
I would like to request making the website responsive so that it can provide a seamless and optimized user experience across various devices.
Describe alternatives you've considered:
I have considered a few alternative solutions to address the responsiveness issue. These include:

Manually adjusting the website layout for different screen sizes.
Utilizing a responsive CSS framework, such as Bootstrap or Tailwind CSS, to facilitate the responsive design implementation.

Additional Information
Context:
The website currently lacks responsiveness, which leads to difficulties in viewing and navigating the content on different devices.
Potential Implementation: (optional)
To make the website responsive, we could follow these steps:

Identify the key sections and elements that need to be adjusted for different screen sizes.
Apply CSS media queries to define specific styles for different breakpoints.
Utilize responsive design techniques to rearrange and resize elements as needed.
Test the website on various devices and screen sizes to ensure a consistent and optimal user experience.

Screenshots or Mockups: (optional)
Here is a link to a screenshot of the current website design:

Priority: (optional)
High

hey, I want to work on this website UI and make it responsive for more devices as well, please assign me this issue for gssoc 2023

This is already under work and will be updated soon.
Please find some other issue to work on.


C#+iOS: Cache AOT compilater output

Implemented some basic caching to avoid unnecessary AOT compilation of unchanged assemblies that were already compiled previously. This reduces iOS export times considerably for subsequent builds since many dependencies never change, such as framework assemblies and the Godot bindings.
The AOT compiler asm output and object files are now placed in res://.mono/temp/obj/<CONFIG>/godot-aot-cache/ instead of a temporary directory.

res://.mono/

You mean res://.godot/mono/ right?

Thanks!


Feature Request: autocomplete previously used email addresses

I am missing the autocomplete function for email addresses that are not stored in the android addressbook (as the basic android app does). Please add an internal database, that stores such addresses (e.g. after having sent a mail to it). I do not want to save every new address in my addressbook.

Duplicate of #1006


Carousel begins in a broken state.

When you first call $(".carousel").carousel(), the carousel is in a broken state with no content visible. See here: http://jsfiddle.net/4xJqx/2/
After the initial transition, the carousel sizes to the content and the nav buttons snap into place. Attempting to set the initial page doesn't help: $(".carousel").carousel().carousel(0) yields the same results.
This was tested in Safari, Chrome and Firefox on OS X.

Add the active class to the first item.
That's how it's done in the docs. That'll also help incase a user has Javascript disabled as they'll at least be able to see the first slide rather than none at all.

yep - @cgunther is exactly right! thanks!

Whoops...good catch! Thanks!

Perhaps the docs should include a note about that "active" being necessary. They don't actually mention it, it's just visible if you view source on the page (and watch it jump around).


HHH-11748 - Fix relatedId queries for associations in entity identifier mappings.

https://hibernate.atlassian.net/browse/HHH-11748

Applied upstream with changes to tests.


refactor traits and implement a lock per repo

Adds a lock per repo so that only a single repo request can be processed at a time. This makes it impossible for webhooks to be run concurrently when for a single repo. Previously it was possible for webhooks to run together which sometimes caused issues if multiple events updated the same PR.

?brawl dry-run

?brawl auto-try

?brawl auto-try

?brawl auto-try

?brawl merge

?brawl cancel

?brawl merge


Allow hybrid global/local alignment of reads

Now reads that have a mismatch (<0 score) as first or last parts of the alignment with the template will discard this part. There are cases where this last couple of amino acids carry important information. It should be possible, or the new standard, to include these as part of the alignment. For now it would work to score unaligned amino acids of a read as a gap.
HELLOWORLSTEMPLATE
  LLOWORL(D) <- disregarded
HELLOWO

Surfaced thanks to WeiWei.

In a branch a hybrid approach has been implemented. This forces the ends of reads to always be fully matched to the template. This same behaviour can be implemented for the start (in the END_OF_CRAWL label mark all left over AA as match). But it is important to find out if this negatively impacts other cases. Because this implementation can have quite drastic consequences:
 SequenceMatch:
        Starting at template: 68
        Starting at query: 0
        Score: 77
        Match: 30M33I

... TISRDNAKNSLYLQMNSLRAEDTAVYYCAR---------------------------------
    TISRDNSKNTLYLQMNSLRAEDTAVYYCARWGMVRGVIDVFDIWGQGTVVTVSSASTKGPSVF

Without this the tail would be discarded. This has profound impact on the scoring of the read (147 -> 77). So in essence a full forced global alignment would entail a different vision on input reads, that they are always correct in their entirety, while the previous approach assumed that errors could happen and it tried to find the best possible match, even if this would mean discarding parts of the read.
In the best cases this would just add a couple of AAs at the end of all matches which will mostly be filtered out by the consensus sequence. This would however inflate the depth of coverage metric.
A possible implementation between these two ones would see if the addition of the tail/head mismatch huge impact on the score and only includes these parts if the impact is reasonable (lets say less then 50%). This would fix the issue described above, but would not force long reads that are only partially correct to be matched entirely.

After discussion, this can be implemented and checked thoroughly to see what the effects are.

Implemented with the move to the new mass based alignment. It could be beneficial however to give the user some control over this behaviour because for now it is forced to be the hybrid approach.


How to use PlayURL in vb.net

Hello
I'm new with VB.NET.
I'm trying to play a uri with VB.net and nothing occurs...
i can start Spotify from my app, i can connect to spotify, can play, can pause.
But i can't start a uri :-(
This is the code:
Dim _spotify = New SpotifyAPI.Local.SpotifyLocalAPI
_spotify.PlayURL("spotify:track:7C8IuUSsJA1GhxJYL1Wt2t", "")
Can anyone give me some way?
Thanks in advance and best regards
ViV

Done.


ExtensionInstaller: Install multiple extensions at once

Hi,
Would it be possible to modify the extension installer to install multiple extensions at once, e.g.
phpbrew ext install ext1 ext2 ext3
Would make things a lot easier when maintaining multiple systems and/or installations..

Hi, I'm glad you solved all the reported issues.
About your suggestion. This won't be supported exactly this way because this kind of variadic command introduces too much issues:

what if each extension has a set of arguments phpbrew ext install A --flag_a="..." --flagb B --other-flag="..." C ... ? Soon it get's too confusing, even for the power users.
phpbrew ext install A B C, how to deal with failures in case B install fails? Too many things can go wrong and there is a scenario the user will have to clean up the mess, as it's hard to make transactions for operations like this that always work.

A solution for you: according to wiki, we already support extension sets https://github.com/phpbrew/phpbrew/wiki/Setting-up-Configuration#yaml-configuration-file. I admit I haven't been maintaining this part of phpbrew actively so I don't how stable it is, but please check if the yaml configuration is enough for your use case.
Hope that helps.

See this topic, more specifically: https://github.com/phpbrew/phpbrew/wiki/Setting-up-Configuration#presets-of-extensions


something went wrong activating IntelliCode support for Python+ Error while activating Python: {}

Product and Version : VSCode
OS Version : Windows
IntelliCode Extension Version:  v1.2.10
Target Platform or Language : Python 3.9 (I used to have 3.8 and same problem happened)
Steps to Reproduce / Scenario:
1.Open VS-Code
2. Wait for extensions to load
No this's different from this issue #57
non of what's said there or other similar issues fixed my problem the main difference is in the output as there's no info just stops and say:  Error while activating Python: {}

VS IntelliCode Output:

the bottom of the long Python Output:

I have many similar Errors similar to the one shown above, this is a text for the complete output:
python_output.txt

for reference this's all the python available on my Windows PC:

So I wasn't able to solve the problem but due to the fact I must work with flask for the time being I did the following:

TLDR: worked with Jedi and abandoned IntelliCode😊

Disabled Visual Studio IntelliCode
in settings.json I wrote:
"python.languageServer": "Jedi",
VS-Code prompts me that I should reload the python server so I clicked re-load.

& now everything is fine:

So I wasn't able to solve the problem but due to the fact I must work with flask for the time being I did the following:

TLDR: worked with Jedi and abandoned IntelliCode😊

Disabled Visual Studio IntelliCode
in settings.json I wrote:
"python.languageServer": "Jedi",
VS-Code prompts me that I should reload the python server so I clicked re-load.

& now everything is fine:

@savannahostrowski please can you take a look at this issue?

@savannahostrowski please can you take a look at this issue?

The error trace here seems to say that your VS Code version is too low. Can you upgrade to at least VS Code 1.51? (Your original post did not provide the VS Code version you are using.)

The error trace here seems to say that your VS Code version is too low. Can you upgrade to at least VS Code 1.51? (Your original post did not provide the VS Code version you are using.)

@MoElaSec did you have a chance to try @jakebailey 's advice?  Are you running VS Code 1.51 or higher?

Yeah after I asked the Q a time went by and I run the latest VSCode ver still got the same issue but as I said earlier stopped using the extension.
Got caught it in project to worry about something basic like this.

OK, thanks for getting back to us, and appreciate the info @MoElaSec . @jakebailey any further follow up steps possible here?

The next version of the Python extension correctly indicates its minimum version of VS Code to prevent installing it on incompatible versions, but if the issue was not fixed by updating, then we'd need a new stack trace to see what's going on.

For reference, the info would be the "Python" output logs that you had screenshooted in the original issue (as well as the VS Code version in use).

Hi Jake,
I am experiencing the same issue. In case it's helpful, please find the stack trace from the "Python" output log below.
I'd prefer to not abandon Intellicode and go with another solution, so I appreciate any insights you might have here!
Please let me know if you require any additional info on my behalf.
Thanks!
Python Intellicode stack trace error.txt

I think I fixed it - after upgrading VSCode, there wasn't a Python interpreter selected by default for some reason. I selected a Python interpreter and that seems to have fixed the problem. I'm not getting the same error message when loading VSCode or in the Python logs.
Thanks!

I have the same issue while running VS Code 1.54.1.  Everything worked fine in 1.52.1, but failed as soon as I updated to 1.54.1.  Python output attached.
python_output.txt

tagging @jakebailey to see @keg247 's new output

I don't think this is related to the other users in this thread. IIRC there was some mutual bugfixes that went out for both VS Code and the Python extension to resolve some proposed API problems. @luabud or @karthiknadig may recall better if this applies.
Error 2021-03-10 15:25:14: Failed to start language server, Class name = r, completed in 269ms, has a falsy return value, Arg 1: <Uri:d:\KEG\Documents\Portable Apps\WinPython64-3830\notebooks\Deeplearning_AI\1 Neural Networks and Deep Learning\Programming Assignments\Week 2\Logistic Regression With A Neural Network Mindset v6a\lr_utils.py>, Arg 2: {"architecture":3,"path":"D:\\KEG\\Documents\\Portable Apps\\WinPython64-3830\\python-3.8.3.amd64\\python.exe","version":{"options":{"loose":false,"includePrerelease":false},"loose":false,"raw":"3.8.3-final","major":3,"minor":8,"patch":3,"prerelease":["final"],"build":[],"version":"3.8.3-final"},"sysVersion":"3.8.3 (tags/v3.8.3:6f8c832, May 13 2020, 22:37:02) [MSC v.1924 64 bit (AMD64)]","sysPrefix":"D:\\KEG\\Documents\\Portable Apps\\WinPython64-3830\\python-3.8.3.amd64","fileHash":"425155e78dccb89e30aa161d5100c8e3d9c2c73c22e05543437878168cde45e380fb7aa61a50e8113c06a3d66edd527aa0733ed017ba8cd0f6a44e04b3c01123","envType":"Unknown","displayName":"Python 3.8.3 64-bit"}, Return Value: undefined [Error: [nullExtensionDescription]: Proposed API is only available when running out of dev or with the following command line switch: --enable-proposed-api nullExtensionDescription

But, I do not know who is enabling that proposed API. "nullExtensionDescription" does not appear in the Python extension, the Pylance extension, nor in the language server client.

The message implies some extension has a null description, but none in the Python stack is missing the property in their package.json...

Just noting that this is still an issue. Can't get it to work with Pylance on latest Insiders VSCode.

I just ran into this issue ....for one minute its working ..I close vs code for like 2mins, I return and now I have this problem that won't let me do anything ! Help?

Tagging @luabud and @savannahostrowski to see if we can gather more info to help diagnose and solve this

@Paril @Z3ROD4RK it would be very helpful for us to see the logs associated with the failing sessions you are both seeing.
To view these, please bring up the Python output window (View menu... Output... and select Python in the drop down at the right hand end), then paste the entire log into a text file and attach to this bug. They should have diagnostic information and stack traces for the failures you are seeing which will help our team diagnose correctly.
Thanks!

Intellisense is not working
Unable to navigate in VS code python file. Yesterday, it was working fine, but don't know what happened today. Tried several things but no use.
Here's the error message:
intellisense and Python error image
and vscode version is >1.5.0 on macOS Big Sur v1.5.2
Here are the vscode details:
Version: 1.59.1 (Universal)
Commit: 3866c3553be8b268c8a7f8c0482c0c0177aa8bfa
Date: 2021-08-19T11:53:52.479Z
Electron: 13.1.7
Chrome: 91.0.4472.124
Node.js: 14.16.0
V8: 9.1.269.36-electron.0
OS: Darwin x64 20.6.0
Python output:
User belongs to experiment group 'pythonaa'
User belongs to experiment group 'pythonJediLSP'
User belongs to experiment group 'pythonDiscoveryModuleWithoutWatcher'
User belongs to experiment group 'pythonTensorboardExperiment'
User belongs to experiment group 'pythonSurveyNotificationcf'
User belongs to experiment group 'PythonPyTorchProfiler'
User belongs to experiment group 'pythonDeprecatePythonPath'
User belongs to experiment group 'pythonSortEnvs'
Python interpreter path: ./venv/bin/python
Error 2021-08-24 17:46:29: Failed to resolve symbolic link:  [Error: ENOENT: no such file or directory, lstat '/usr/local/bin/python2'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'lstat',
  path: '/usr/local/bin/python2'
}
Starting Jedi Python language engine.
> ~/workspan-network/venv/bin/python -c "import sys;print(sys.prefix)"
cwd: ~/workspan-network
> ~/workspan-network/venv/bin/python -c "import sys;print(sys.prefix)"
cwd: ~/workspan-network
> ~/workspan-network/venv/bin/python -c "import sys;print(sys.executable)"
cwd: ~/workspan-network
> ~/workspan-network/venv/bin/python -c "import sys;print(sys.executable)"
cwd: ~/workspan-network
> ~/workspan-network/venv/bin/python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())"
cwd: ~/workspan-network
> ~/workspan-network/venv/bin/python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())"
cwd: ~/workspan-network
> ~/workspan-network/venv/bin/python site --user-site
cwd: ~/workspan-network
> ~/workspan-network/venv/bin/python site --user-site
cwd: ~/workspan-network
> ~/workspan-network/venv/bin/python ~/.vscode/extensions/ms-python.python-2021.8.1159798656/pythonFiles/completion.py
> ~/workspan-network/venv/bin/python ~/.vscode/extensions/ms-python.python-2021.8.1159798656/pythonFiles/completion.py``

VS Intellisense output
Acquiring model
Acquiring model 'intellisense-members-lstm-pylance' for python
Querying IntelliCode service for available models.
vs-intellicode-python was passed a model: {}.
Cached model is up to date.
Activating Python extension
Language server extension command failed. Exception: Error: command 'python.intellicode.loadLanguageServerExtension' not found
    at g._tryExecuteCommand (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1523:3364)
    at vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1523:3245
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
Error while activating Python: {}```

Please help me! Can't do any work without this

I'm thinking that any report that contains command 'python.intellicode.loadLanguageServerExtension' not found is due to a change in the Python extension, where it finishes activating before Pylance has loaded (and IC tries to send this command too quickly). The IC extension may need to use some other signal to know when it's safe to try and send us the model.

Okay, is there any fix? @jakebailey

@fazeelusmani would you mind trying again?
We're curious if you're still seeing this issue.
-A

@ayim This is working now. Thanks!

Going to the Python extension in the store (ms-python.python), then update the extension or switch to (pre-release) and restart VSCode fix the problem for me


Add secret manager bootstrap configuration unit test

@dzou It's working yet. The property source doesn't seem to get registered at all.

Thanks! This is very helpful, I can get the test to work.

The property source doesn't seem to get registered at all.

I'll take a look at this - did you conclude this from the sample test not working or the unit test not working? I think the unit test currently doesn't work because the secretManagerClient mock must be configured to return a response when you retrieve the my-secret secret.

Hmm I couldn't figure it out either actually - getting the same problem as you with the property source not being registered in the application context.

@artembilan Do you have any thoughts on why the property source may not be getting registered via this test setup?

@meltsufin ,
I probably don't see the whole picture and it is hard to assume from so short change what is going on.
Probably you need to consult with the https://github.com/spring-cloud/spring-cloud-config project to be sure how to test those external sources...

I think it might be because we would need to add the test's configuration class to meta-inf/spring.factories.
Like:
org.springframework.cloud.bootstrap.BootstrapConfiguration=com.example.TestConfiguraiton

But I guess we wouldn't want to add test configuration to spring.factories.
@artembilan - Is there another hook into setting org.springframework.cloud.bootstrap.BootstrapConfiguration programmatically from our test code?

See here: https://github.com/spring-cloud/spring-cloud-config/blob/master/spring-cloud-config-client/src/test/java/org/springframework/cloud/config/client/ConfigServerBootstrapConfigurationTests.java
I think that parent/child trick should be used over here, too.
You need to be sure that you load bootstrap with custom properties source before the actual application context.

I wasn't able to get that method to work unfortunately, maybe still missing thing.
I wonder if it's ok to add a test/resources/meta-inf/spring.factories; registering the test configuration there made the test work.

@artembilan @dzou It almost seems to work, but I can't seem to override the bootstrap autoconfig with mocks:
	private SpringApplicationBuilder applicationBuilder = new SpringApplicationBuilder(
			TestBootstrapConfiguration.class)
			.child(GcpSecretManagerBootstrapConfiguration.class)
			.child(TestConfiguration.class)
			.web(WebApplicationType.NONE);

Caused by: io.grpc.StatusRuntimeException: NOT_FOUND: Secret [projects/235239892118/secrets/my-secret] not found or has no versions.
	at io.grpc.Status.asRuntimeException(Status.java:533)
	... 15 more

Ahh Nice! I'll pull your branch and help take a look.

I added the spring.factories in the test/resources/ and it gets wired correctly. I guess the question is if there is an alternate method or if this is OK.

I added the spring.factories in the test/resources/ and it gets wired correctly. I guess the question is if there is an alternate method or if this is OK.

I think that's fine.  I cleaned it up a bit more. Let's merge this in?

I added the spring.factories in the test/resources/ and it gets wired correctly. I guess the question is if there is an alternate method or if this is OK.

I think that's fine. I cleaned it up a bit more. Let's merge this in?

Sounds good, will do.
I just added another test case to verify fully-qualified secret url with project.


Non-deterministic behavior from Parser

                       american fuzzy lop 2.33b (Parser)

┌─ process timing ─────────────────────────────────────┬─ overall results ─────┐
│        run time : 0 days, 0 hrs, 13 min, 10 sec      │  cycles done : 2      │
│   last new path : 0 days, 0 hrs, 1 min, 7 sec        │  total paths : 429    │
│ last uniq crash : 0 days, 0 hrs, 1 min, 43 sec       │ uniq crashes : 9      │
│  last uniq hang : none seen yet                      │   uniq hangs : 0      │
├─ cycle progress ────────────────────┬─ map coverage ─┴───────────────────────┤
│  now processing : 237* (55.24%)     │    map density : 0.54% / 3.18%         │
│ paths timed out : 0 (0.00%)         │ count coverage : 5.08 bits/tuple       │
├─ stage progress ────────────────────┼─ findings in depth ────────────────────┤
│  now trying : havoc                 │ favored paths : 43 (10.02%)            │
│ stage execs : 112/512 (21.88%)      │  new edges on : 66 (15.38%)            │
│ total execs : 1.08M                 │ total crashes : 15 (9 unique)          │
│  exec speed : 1434/sec              │   total hangs : 0 (0 unique)           │
├─ fuzzing strategy yields ───────────┴───────────────┬─ path geometry ────────┤
│   bit flips : 43/26.2k, 12/26.1k, 4/26.0k           │    levels : 7          │
│  byte flips : 0/3278, 2/3044, 3/2903                │   pending : 345        │
│ arithmetics : 15/173k, 0/16.2k, 0/2032              │  pend fav : 0          │
│  known ints : 2/18.0k, 0/82.7k, 1/127k              │ own finds : 426        │
│  dictionary : 0/0, 0/0, 2/2810                      │  imported : n/a        │
│       havoc : 351/563k, 0/0                         │ stability : 99.86%     │
│        trim : 7.76%/1098, 4.50%                     ├────────────────────────┘
└─────────────────────────────────────────────────────┘             [cpu: 23%]

Note that stabillity is < 100%, which means that the inputs aren't producing deterministic outputs. I don't think we have anything that's purposely non-deterministic and we're not multi-threaded, so I wonder if we're somehow using uninitialized memory?

This goes away if I limit the expression length so that the arena allocator doesn't run out of memory. This seems to indicate that we have non-deterministic behavior when we run out of memory. That shouldn't happen, but since we haven't really tested error cases it wouldn't be too surprising if we do something bad in the error case.

I checked this with valgrind because it's pretty good about finding uses of uninitialized memory and it didn't find anything even in the case where we blow up the allocator. Considering how minor this is, I don't think is worth pursuing further right now, but I am pretty curious about what's going on here.


Can we enable discussions on this repo?

We're going to stick with https://discuss.ipfs.tech for now - there are more people from the wider IPFS ecosystem there, it's integrated with other tools and the search functionality is great.
Thanks for the suggestion though!


Install without composer.

Hello,
Maybe somebody can help me, please? I do not have root access at server and want to use some functions from BitWasp/bitcoin-php (or bitcoin-lib-php?) to generate addresses from xpub. How to install BitWasp without composer? Of course, I can clone the repo and how can I then run bip32.php from examples without any issues?
7th line have require __DIR__ . "/../vendor/autoload.php"; but it's from composer. What need to use instead of this? Thanks!
Update: Seems it's possible to download composer and run without root. If will try :) Sorry for this ticket. Hope manual download of composer will help.

Yea you can install it into the project folder with only PHP!
Nice to see see you got it fixed!


Polish ping UI

In #463 we have some visual mocks for a ping function. The PR #602 adds this functionality, but we should do a UI polish pass. Some priorities:

The average ping time should be shown in the prominent "slots" rather than the number of pings
The list of hosts you can ping should have lighter dividers, and be scrollable for if/when we add more hosts than can show on an iPhone SE
Ideally when you select a destination to ping, the popup for the node wouldn't appear with the traceroute button, disappear, then appear with the ping configuration.

1 and 2 are being addressed in #604
I've spent some time trying to figure out 3 but it's still not clear exactly how to do this without having to reimplement a lot of the node selection/popover flow. The current implementation follows the same flow as traceroute (select the node and zoom in, show popover with node details, then start the action: traceroute/ping, zoom out, update the popover info). Reworking this flow is going to require substantial effort.

Okay cool, I've renamed this issue to focus on the remaining thing and pushed it down in priority.


feat: add custom profile attributes using react native package

closes: https://github.com/customerio/issues/issues/7289
This PR allows lets the user add custom profile attributes using react native package.
Use case :
CustomerIO.setProfileAttributes(profileAttributes)

:tada: This PR is included in version 1.0.0-alpha.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0-beta.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

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


Documentation Errata

In connecting-service-enpoints, I believe a snippet of code may have a mistake(or I am being dense, which is always a possibility!). In particular, when running add_double, I get the following output:
poko@poko-MS-7A34:~/stdlib-workspace/abuani/kindle-service$ lib .add_double 1 2
Error: undefined/add Not Found

I did a console log of context to see why the following string template was returning undefined:
console.log(${context.identifier});
{ name: 'add_double',
  alias: 'add_double',
  path: [ 'add_double' ],
  params: { a: 1, b: 2 },
  remoteAddress: '::ffff:<IP_ADDRESS>',
  http:
   { url: '/abuani/kindle-service/add_double/',
     headers:
      { 'content-type': 'application/json',
        'x-faaslang': 'true',
        'x-convert-strings': 'true',
        host: 'localhost:8170',
        connection: 'close',
        'transfer-encoding': 'chunked' } },
  keys: null,
  user: null,
  service:
   { name: 'abuani/kindle-service',
     path: [ 'abuani', 'kindle-service' ],
     version: null,
     environment: 'local',
     identifier: 'abuani.kindle-service[@local]' } }

and noticed the identified field was stashed inside of the service attribute. I altered the code slightly like so and got the appropriate results:
const lib = require('lib');

module.exports = (a = 0, b = 0, context, callback) => {
  const { service } = context;
  return lib[`${service.identifier}.add`](a, b, (err, result) => {
    callback(err, result * 2);
  });
};

poko@poko-MS-7A34:~/stdlib-workspace/abuani/kindle-service$ lib .add_double 1 2
6

Let me know if you would like me to fork and create a pull request, I'd be more then happy too with a little bit of assistance.

Thanks! This was fixed by another community member in https://github.com/stdlib/lib/pull/82.
Let us know if you find anything else, happy to accept PRs!

Great thanks! In the future I'll prepare a pr to submit as well if it's just on documentation! I really enjoy the project so far, have some interesting use cases to try out.


I'm glad to have this feature!

What feature or improvement do you think would benefit Files?
Hello, I'm Japanese, so I'm using Google Translate for this issue.
There may be some parts of my English that are strange, so please forgive me.
Files is very useful.
Personally, I would be happy if it had the following functions while using it.
Please consider it.
・Changing the font (or reflecting the system font)
Personally, I don't like the Yu Gothic font, so I set Google Font's Noto Sans font as the system font, but I thought it would be nice if this font could be applied to Files as well, or reflected in it. . (This may be difficult since it complies with the Fluent Design System, but...)
・Make the screen similar to the home screen when accessing from this PC
I think the screen when accessing This PC using standard Explorer is the home screen in Files, but it would be helpful if a similar screen appeared when accessing This PC using Files. . (I use This PC a lot, so...)
- Added a function to expand the tree to the point where the folder is opened.
I thought it would be useful if Files had the "Extract to open folders" feature found in standard Explorer. (However, currently there is no function to display directories in the tree section, so I feel like it's too early to request this all of a sudden...I hope they will respond soon.)
Thank you.
Requirements

Changing the font (or reflecting the system font)
Make the screen similar to the home screen when accessing from this PC
Added a function to expand the tree to the point where the folder is opened.

Files Version
<IP_ADDRESS>
Windows Version
10.0.19045.3930
Comments
No response

That's right! Thank you for your quick reply!
Looking forward to updates and better improvements!


Support Sensu Events API as a Telegraf output

This pull request adds support for both backend and agent Event endpoints.
Work was based off the existing http output plugin and the examples provided here: https://gist.github.com/calebhailey/3a475931b7b0e47d9582405ef723ff20
Initially, I wanted to use the official structs, but there were a lot more fields that were automatically populated and I wasn't sure exactly how the Telegraph metric points would map to those fields.
Note on serializers
Additionally, I worked on an official official serializer (sensu-go), but I needed to move the logic directly to the output plugin.
The issue was that in order for the entire JSON object to be built, the serializer needed to have access to both the serializer and output configs. While it's possible to pass the configurations directly from the output plugin into the serializer, serializer configs are consolidated on to the global configuration object. Ref: https://github.com/influxdata/telegraf/issues/4330
Additionally, in order for this output plugin to work it would only be compatible with the sensu-go serializer. So I ended up moving the serialization logic directly to the Wrapper method and left out adding an official serializer that generates a JSON payload specifically for the the Events API.

Check configurations
The check name is the only required field for this plugin. But this could be defaulted to telegraf. Based off of the documentation there's a lot more things that could be configured, so I made the check a subtable. This way additional configurations can be appended to just that property and stay grouped together.
  [outputs.sensu-go.check]
    name = "telegraf

Resolving the write endpoint
There are couple endpoint variables that can be configured through the Telegraf plugin:
  # Agent
  agent_api_url = "http://sensu-agent:3031"

  # Backend
  backend_api_url = "http://sensu-backend:8080"
  api_key = "${SENSU_API_KEY}"

backend_api_url if this is provided, api_key must also be provided

The final endpoint path will resolve to /api/core/v2/namespaces/<namespace>/events where namespace.

agent_api_url will be used if both backend_api_url and api_key are not provided

The final endpoint path resolves to will resolve to /events

The plugin passes in a default agent_api_url set to http://localhost:3031 when it is initialized.

Entity settings
The entity subtable is used to configure both name and namespace. If no namespace is provided the default namespace will be used. This is only used when sending the to the backend_api_url
  [outputs.sensu-go.entity]
    name = "server-01"
    namespace = "my-namespace"

Metric handlers
Handlers are provided as an array of strings. These are grouped under the metrics property to avoid confusion with check handlers.
  [outputs.sensu-go.metrics]
    handlers = ["elasticsearch","timescaledb"]

Additional tags
Additional tags may be added under the output configs. Each key/value pair will be appended to the existing metric tag list.
  [outputs.sensu-go.tags]
    source = "telegraf"

Other Configurations
This output plugin should support all of the other output plugin configurations. For example if you only wanted a subset of all metrics that go through telegraf you can filter all metrics that contain the cpu tag with valuecpu-total using:
  [outputs.sensu-go.tagpass]
    cpu = ["cpu-total"]

This was merged into the upstream influxdata/telegraf.


Ci/dannys/combine artifact change

Combine #68 and #69 so CI will actually work. :)

I guess we should wait for cleanup to be updated as well before updating this.  Issue tracked at https://github.com/joutvhu/delete-artifact/issues/33.

Impressively quick response from the developer.
https://github.com/joutvhu/delete-artifact/pull/34


Resource temporarily unavailable

Question Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Question Subject
I am getting this error very often and randomly, is this related to Fastlane?
Testing failed:
unable to spawn process (Resource temporarily unavailable)
** TEST FAILED **

The following build commands failed:
Ld /Users/me/Library/Developer/Xcode/Build/Products/Debug-MySCheme-iphonesimulator/MyApp_MySCheme.app/MyApp_MySCheme normal x86_64
(1 failure)
▸ Linking MyApp_MySCheme

❌  error: unable to spawn process (Resource temporarily unavailable)

[16:40:22]: Exit status: 65
[16:40:22]: Tests failed while running on: iPhone 6s Plus
[16:40:22]: For more detail about the test failures, check the logs here:
[16:40:22]: /Users/me/Library/Logs/snapshot/MyApp_MySCheme-Screenshots_MySCheme.log
[16:40:22]:
[16:40:22]: You can also find the test result data here:
[16:40:22]: /Users/me/Library/Developer/Xcode/Logs/Test
[16:40:22]:
[16:40:22]: You can find the incomplete screenshots here:
[16:40:22]: /Users/me/Library/Caches/tools.fastlane/screenshots
[16:40:22]: /Users/me/Repository/myCompany-ios/fastlane/screenshotsRaw/MyApp_MySCheme
[16:40:22]: Caught error... 65
+------------------+-------------+
|          Lane Context          |
+------------------+-------------+
| DEFAULT_PLATFORM | ios         |
| PLATFORM_NAME    |             |
| LANE_NAME        | screenshots |
+------------------+-------------+
[16:40:22]: Too many errors... no more retries...

+------+----------------------------+-------------+
|                fastlane summary                 |
+------+----------------------------+-------------+
| Step | Action                     | Time (in s) |
+------+----------------------------+-------------+
| 1    | Verifying fastlane version | 0           |
| 2    | default_platform           | 0           |
| 💥   | snapshot                   | 87          |
+------+----------------------------+-------------+

[16:40:22]: fastlane finished with errors

Looking for related GitHub issues on fastlane/fastlane...

➡  Make spaceship even more stable and robust
    https://github.com/fastlane/fastlane/issues/7768 [closed] 18 💬
    03 Dec 2017

➡  Snapshot not launching simulators on Xcode 9.1
    https://github.com/fastlane/fastlane/issues/11047 [closed] 6 💬
    30 Jan 2018

➡  "no implicit conversion of nil into String" when executing snapshpt
    https://github.com/fastlane/fastlane/issues/7433 [closed] 8 💬
    13 Sep 2017

and 15 more at: https://github.com/fastlane/fastlane/search?q=Too%20many%20errors...%20no%20more%20retries...&type=Issues&utf8=✓

🔗  You can ⌘ + double-click on links to open them directly in your browser.
/Library/Ruby/Gems/2.3.0/gems/fastlane-2.94.0/fastlane_core/lib/fastlane_core/ui/interface.rb:121:in `crash!': [!] Too many errors... no more retries... (FastlaneCore::Interface::FastlaneCrash)
        from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.94.0/fastlane_core/lib/fastlane_core/ui/ui.rb:17:in `method_missing'
        from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.94.0/snapshot/lib/snapshot/simulator_launchers/simulator_launcher.rb:132:in `block in execute'
        from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.94.0/fastlane_core/lib/fastlane_core/command_executor.rb:93:in `execute'
        from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.94.0/snapshot/lib/snapshot/simulator_launchers/simulator_launcher.rb:108:in `execute'
        from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.94.0/snapshot/lib/snapshot/simulator_launchers/simulator_launcher.rb:155:in `retry_tests'
        from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.94.0/snapshot/lib/snapshot/simulator_launchers/simulator_launcher.rb:129:in `block in execute'
        from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.94.0/fastlane_core/lib/fastlane_core/command_executor.rb:93:in `execute'
        from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.94.0/snapshot/lib/snapshot/simulator_launchers/simulator_launcher.rb:108:in `execute'
        from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.94.0/snapshot/lib/snapshot/simulator_launchers/simulator_launcher.rb:94:in `launch_simultaneously'
        from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.94.0/snapshot/lib/snapshot/simulator_launchers/simulator_launcher.rb:70:in `block (3 levels) in take_screenshots_simultaneously'
        from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.94.0/snapshot/lib/snapshot/simulator_launchers/simulator_launcher.rb:69:in `each'
        from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.94.0/snapshot/lib/snapshot/simulator_launchers/simulator_launcher.rb:69:in `block (2 levels) in take_screenshots_simultaneously'
        from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.94.0/snapshot/lib/snapshot/simulator_launchers/simulator_launcher.rb:46:in `each'
        from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.94.0/snapshot/lib/snapshot/simulator_launchers/simulator_launcher.rb:46:in `each_with_index'
        from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.94.0/snapshot/lib/snapshot/simulator_launchers/simulator_launcher.rb:46:in `block in take_screenshots_simultaneously'
        from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.94.0/snapshot/lib/snapshot/simulator_launchers/simulator_launcher.rb:45:in `each'
        from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.94.0/snapshot/lib/snapshot/simulator_launchers/simulator_launcher.rb:45:in `take_screenshots_simultaneously'
        from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.94.0/snapshot/lib/snapshot/runner.rb:45:in `work'
        from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.94.0/fastlane/lib/fastlane/actions/capture_ios_screenshots.rb:14:in `run'
        from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.94.0/fastlane/lib/fastlane/runner.rb:257:in `block (2 levels) in execute_action'
        from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.94.0/fastlane/lib/fastlane/actions/actions_helper.rb:50:in `execute_action'
        from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.94.0/fastlane/lib/fastlane/runner.rb:236:in `block in execute_action'
        from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.94.0/fastlane/lib/fastlane/runner.rb:231:in `chdir'
        from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.94.0/fastlane/lib/fastlane/runner.rb:231:in `execute_action'
        from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.94.0/fastlane/lib/fastlane/runner.rb:157:in `trigger_action_by_name'
        from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.94.0/fastlane/lib/fastlane/fast_file.rb:148:in `method_missing'
        from Fastfile:75:in `block in parsing_binding'
        from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.94.0/fastlane/lib/fastlane/lane.rb:33:in `call'
        from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.94.0/fastlane/lib/fastlane/runner.rb:49:in `block in execute'
        from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.94.0/fastlane/lib/fastlane/runner.rb:45:in `chdir'
        from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.94.0/fastlane/lib/fastlane/runner.rb:45:in `execute'
        from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.94.0/fastlane/lib/fastlane/lane_manager.rb:59:in `cruise_lane'
        from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.94.0/fastlane/lib/fastlane/command_line_handler.rb:36:in `handle'
        from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.94.0/fastlane/lib/fastlane/commands_generator.rb:107:in `block (2 levels) in run'
        from /Library/Ruby/Gems/2.3.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in `call'
        from /Library/Ruby/Gems/2.3.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:153:in `run'
        from /Library/Ruby/Gems/2.3.0/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:476:in `run_active_command'
        from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.94.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:75:in `run!'
        from /Library/Ruby/Gems/2.3.0/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:in `run!'
        from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.94.0/fastlane/lib/fastlane/commands_generator.rb:332:in `run'
        from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.94.0/fastlane/lib/fastlane/commands_generator.rb:41:in `start'
        from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.94.0/fastlane/lib/fastlane/cli_tools_distributor.rb:108:in `take_off'
        from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.94.0/bin/fastlane:20:in `<top (required)>'
        from /usr/local/bin/fastlane:22:in `load'
        from /usr/local/bin/fastlane:22:in `<main>'

Fastfile:
  ENV["SCREENSHOT_SCHEME"] = "Screenshots_MY_SCHEME"
  ENV["APP_IDENTIFIER"] = "com.my.app"
  ENV["SCHEME"] = "MyScheme"
  snapshot(
    workspace: "MyApp.xcworkspace",
    scheme: ENV["SCREENSHOT_SCHEME"],
    derived_data_path: "/Users/me/Library/Developer/Xcode",
    output_simulator_logs: true,
    skip_open_summary: true,
    erase_simulator: true,
    clear_previous_screenshots: false,
    test_without_building: false,
    reinstall_app: true,
    concurrent_simulators: false,
    stop_after_first_error: true)

Snapfile:
devices([
  "iPhone 6s Plus"
])

languages([
  ["en-US", "en-GB", "pt_BR"]
])

scheme(ENV["SCREENSHOT_SCHEME"])
app_identifier(ENV["APP_IDENTIFIER"])
output_directory "./fastlane/screenshotsRaw/#{ENV["SCHEME"]}"
clear_previous_screenshots(true)

Question Description
I have no idea why this is happening, it started happening on recent versions of Fastlane. My Mac is not under heavy load to this happen but I noticed that my terminal gets really slow sometimes.
Thank you.

Also getting this screen after the main error.


Saw this suggestion on Twitter and thought I'd pass it along. (also: hey)

https://twitter.com/noahchestnut/status/573280479639687168

HEY! Thanks for passing along… nice to hear Noah enjoyed the app!


Integrate storage

[x] storage configuration need an access token of a user, which cannot (easily) be generated from the docker-compose. Maybe to be added in makefile?
[x] lfs doesn't work if enabled on gitlab side (and also the storage service needs a bucket to exists).
[x] swagger definition is outdated on the storage service.

@ebiiii which branch of renga-storage should we actually look at/build to try out this PR?

can you give an example of how to use the storage service for LFS? I tried this:
git config -f .lfsconfig lfs.url http://renga.local/api/storage

without much success

@rokroskar yep it is still from the remove_graph branch. Should be soon merged to development.
Regarding the urls, I forgot to mention that you need to create the bucket first (curl -X POST "http://renga.local/api/storage/repo" -H  "accept: application/json" -H  "authorization: bearer " -H  "content-type: application/json" -d "{  \"uuid\": \"7fe0dd91-dbd4-4d1c-b6cc-c1837b66b31d\",  \"description\": \"a repository\",  \"path\": \"lfs-data\",  \"backend\": {},  \"lfs_store\": \"7fe0dd91-dbd4-4d1c-b6cc-c1837b66b31d\"}" you can use any random uuid as long as you put twice the same.) Then the url for LFS is  http://renga.local/api/storage/repo/7fe0dd91-dbd4-4d1c-b6cc-c1837b66b31d.git/info/lfs
I haven't tested it in this form yet.

thanks @ebiiii -- would be great to have a full, tested, working example. I'm a bit lost as to the envisioned flow here -- would we create a new bucket for each repo automatically for the users (i.e. the UI or the CLI would create one)? Or would multiple repos go into the same bucket?
I just tried this with a sample repo I'm playing with and it seems to stall when I push. Following your suggestion above, I made the repo (bucket?) via the swagger UI with this JSON:
{
  "uuid": "7fe0dd91-dbd4-4d1c-b6cc-c1837b66b31d",
  "description": "test-repo",
  "path": "lfs-data",
  "backend": {"name":"local"},
  "lfs_store": "7fe0dd91-dbd4-4d1c-b6cc-c1837b66b31d"
}

I push to a repo that includes some LFS-tracked files, I get asked for username/password and then nothing happens.
(a related question: why should the client be creating the uuids?)

@ebiiii could you please document all the steps needed to (as a first step) use the LFS server with renga projects? If there are additional initializations that have to take place for each project (e.g. creating a bucket) then we also need to sync what is being done in the CLI.

I can create a repo, clone, add a file and commit/push. The readme needs to be updated to use renga.build instead of renga.local.

git http.extraheader was imtroduces in git 2.9.0. There will probably be issues with folks on ubuntu (git 2.8.4, >2 years old :/)

It works for me!


Solve unsupported capabilities for the power platform OpenAPI

@RabebOthmani Could you please add more details about the issue?


fix layout of prepended elements

The  issue
We are using the Masonry to render a grid with flexible column width. The issue encountered is similar to described in #11. Tiles appear to be stacked after filtering operations.
The change:
Don't perform reloadItems after append if there are items to prepend.
More details:
Currently in case that we have items that some are categorised to be appended and the other are prepended then MasonryComponnet would append the items and immediately perform reloadItems, after it will attempt to prepend. This resulted with wrong prepended elements layout.
The change was to perform reloadItems after append only if no prepeneded items found.
Explanation
as a result of masonry.reloadItems invocation this.items in outlayer.js will already contain the items that should only now be prepended. As you can see in the code of prepend function below they will be used in layout of new items and as previous items at the same time.
proto.prepended = function( elems ) {
  var items = this._itemize( elems );
  if ( !items.length ) {
    return;
  }
  // add items to beginning of collection
  var previousItems = this.items.slice(0); // at this point this.items already contain the prepended element and thus will be contained in the previous items list as well.
  this.items = items.concat( previousItems );
  // start new layout
  this._resetLayout();
  this._manageStamps();
  // layout new stuff without transition
  this.layoutItems( items, true );
  this.reveal( items );
  // layout previous items
  this.layoutItems( previousItems );
};

hi @anyab5
Thanks for your contribution and a great explanation! :-)
Will get this merged in asap - is it possible to ask for a test as well please to make sure this doesn't regress?

Hi @afram,
Thanks for your response.
I adjusted the style per your suggestion.
I try I will get to write the test  soon and hopefully I will not run into issues of creating the test scenario which is more complex than the current examples.

@anyab5 I've merged this in as I'm sure people want to use it.


Better emacs documentation

Environment

Elixir & Erlang versions (elixir --version):
Operating system: Window 10, WSL2
Editor or IDE name (e.g. Emacs/VSCode): Doom Emacs
Editor Plugin/LSP Client name: lsp-mode

Troubleshooting

[ ] Restart your editor (which will restart ElixirLS) sometimes fixes issues
[ ] Stop your editor, remove the entire .elixir_ls directory, then restart your editor

NOTE: This will cause you to have to re-run the dialyzer build for your project

If you're experiencing high CPU usage, it is most likely Dialyzer building the PLTs; after it's done the CPU usage should go back to normal. You could also disable Dialyzer in the settings.
Logs

If using a client other than VS Code, please try VSCode's "ElixirLS: Elixir support and debugger" extension. Does it reproduce your failure?
Create a new Mix project with mix new empty, then open that project with VS Code and open an Elixir file. Is your issue reproducible on the empty project? If not, please publish a repo on Github that does reproduce it.
Check the output log by opening View > Output and selecting "ElixirLS" in the dropdown. Please include any output that looks relevant. (If ElixirLS isn't in the dropdown, the server failed to launch.)
Check the developer console by opening Help > Toggle Developer Tools and include any errors that look relevant.

I think the project needs some configuration document for emacs. Here is my setup on doom emacs.

follow the instruction on this link
You need to declare the path for elixir lsp in ~/.doom.d/config.el

(use-package lsp-mode
  :commands lsp
  :ensure t
  :diminish lsp-mode
  :hook
  (elixir-mode . lsp)
  :init
  (add-to-list 'exec-path "~/projects/elixir-ls/release"))

Then the elixir-ls in doomed emacs is properly set.
Ref:
https://elixirforum.com/t/emacs-elixir-setup-configuration-wiki/19196/25

Please open a PR

Docs has been reworked since this was opened


Fixed dynamic resizing of shape nodes for newer osg versions

When using newer OSG versions (v3.6, maybe also lower version numbers), some shapes cannot change their sizes dynamically anymore. I fixed this by coping some changes from the develop branch to the master branch. This change fixes the issue for cones, cylinders, spheres and boxes.

Thanks Simon


Support for Fallback hosts while creating connections

There is an option to pass multiple hosts while creating AragoClient.
For example,
`client_hosts = ["http://<IP_ADDRESS>:8529", "http://localhost:9539"]
http_client = DefaultHTTPClient()
client2 = ArangoClient(
hosts=client_hosts,
host_resolver="random",
http_client=http_client,
serializer=json.dumps,
deserializer=json.loads,
)
db = client2.db('test', username='root', password='')`
But if we pass two hosts and one of the server is down, the call to connect fails with the below error
File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 516, in send     raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=9529): Max retries exceeded with url: /_db/test/_api/collection (Caused by NewConnectionError('<u rllib3.connection.HTTPConnection object at 0x1091a7b80>: Failed to establish a new connection: [Errno 61] Connection refused'))
Is it possible to implement the fallback host like we have in Java driver - https://www.arangodb.com/docs/stable/drivers/java-reference-setup.html#fallback-hosts

Duplicate of https://github.com/ArangoDB-Community/python-arango/issues/179


Duplicates in emarasys, eventhough email is selected as a key.

Issue description:
In some cases. the plugin will use a combined key ( email#site#store), even though email was selected as a key.
The impact is that multiple recipient will be created with the same email address.
This patch fixes the inconsistency of using Email as a key.
How to patch:

copy the attached .patch file to app/code/Emarsys/Emarsys.
unzip the file
using your command line type :  git apply customers_subscribers_bugfixes_from_113_to_112.patch
File:
customers_subscribers_bugfixes_from_113_to_112.patch.zip

The Patch is causing empty etc/frontend/di.xml which is not an valid xml file so cause Magento failed to run

The Patch is causing empty etc/frontend/di.xml which is not an valid xml file so cause Magento failed to run

this is git issue - it can not remove file. Plz, just remove etc/frontend/di.xml


As a user verifying mobile, I want to put in OTP so that my mobile can be verified

Context
After the user fills in their mobile number the system will deal with OTP alert #277.  Meanwhile, the app will respond to the verification
AC

Given I have hit the verify button received my OTP
When the app shows the OTP page
Then I will I will enter in the code within the timeout period
Then my mobile number is verified
Then I will receive a success alert "Your mobile has been verified"

Verification code invalid

Given my verification code is invalid or has timed out
Then I receive an alert stating "Please try again, verification code invalid"

Test steps

Blocked by #317

Blocked by error in #245 - have not received my OTP

No alert for entering OTP after the timeout period has ended


Repo sync for protected CLA branch

The pull request is created from main637892175744933948 to main to fix git push error for protected CLA branch

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


Photos are not cropped after upload.

Hi @rikschennink,
I have set up the multipart/form-data upload and am able to accept the uploaded photos to my image server. However, the transformations are not applied to the photos upon upload. Can you please advise how the transformation, cropping, and resize plugins work upon the file upload?
All of the plugins are registered properly.
Here are my settings for FilePond instance:
_pond = FilePond.create( _inputElement, {
      allowFileEncode: true,
      allowMultiple: true,
      maxFiles: 10,
      allowImageCrop: true,
      imageCropAspectRatio: '1:1',
      maxFileSize: '2MB',
      instantUpload: false,
      acceptedFileTypes: ['image/jpeg'], // Only allow jpeg file type.
      allowImageResize: true,
      imageResizeTargetWidth: Meteor.settings.public.image.maxWidth,
      imageResizeTargetHeight: Meteor.settings.public.image.maxHeight,
      allowImageTransform: true,
      imageTransformOutputMimeType: 'image/jpeg',
      imageTransformOutputQuality: 100
    });

Here is my XMLHttpRequest code.
var _req = new XMLHttpRequest();
_req.open("POST", Meteor.settings.public.paths.formPostUrl, true);
_req.onload = function (_data) {

    var _output = JSON.stringify(_req.response, undefined, '\t');
    _output = _output.replace(/(\\")/g, "'");
};

 _req.send(_formData);

Thanks!

@pathvine This is difficult to debug. Uploading is done separate from transforming so how you upload should not matter. As you're using the file-encode plugin, it's best to see if the data is located in the hidden input field (as a base64 formatted string) and if it's less than what you'd expect for a big file.
If you have a public test case I'm happy to take a look.

@rikschennink. I will see if I can setup a public test. I have printed out the items pertain to FilePond inside the form data with a file of about 1.8MB.
The two FilePond form data parts have the following information:
filepond
uploadForm.js:113 File(1758913) {name: "IMG_3389.jpg", lastModified:<PHONE_NUMBER>000, lastModifiedDate: Wed Jan 10 2018 11:20:49 GMT+0800 (CST), webkitRelativePath: "", size: 1758913, …}lastModified:<PHONE_NUMBER>000lastModifiedDate: Wed Jan 10 2018 11:20:49 GMT+0800 (CST) {}name: "IMG_3389.jpg"size: 1758913type: "image/jpeg"webkitRelativePath: ""__proto__: FilelastModified:<PHONE_NUMBER>000lastModifiedDate: Wed Jan 10 2018 11:20:49 GMT+0800 (CST)name: "IMG_3389.jpg"size: 1758913type: "image/jpeg"webkitRelativePath: ""constructor: ƒ File()Symbol(Symbol.toStringTag): "File"get lastModified: ƒ ()get lastModifiedDate: ƒ ()get name: ƒ ()get webkitRelativePath: ƒ ()__proto__: Blobsize: 1758913slice: ƒ slice()arguments: (...)caller: (...)length: 0name: "slice"__proto__: ƒ ()[[Scopes]]: Scopes[0]type: "image/jpeg"constructor: ƒ Blob()Symbol(Symbol.toStringTag): "Blob"get size: ƒ ()get type: ƒ ()__proto__: constructor: ƒ Object()hasOwnProperty: ƒ hasOwnProperty()isPrototypeOf: ƒ isPrototypeOf()propertyIsEnumerable: ƒ propertyIsEnumerable()toLocaleString: ƒ toLocaleString()toString: ƒ toString()valueOf: ƒ valueOf()__defineGetter__: ƒ __defineGetter__()__defineSetter__: ƒ __defineSetter__()__lookupGetter__: ƒ __lookupGetter__()__lookupSetter__: ƒ __lookupSetter__()get __proto__: ƒ __proto__()set __proto__: ƒ __proto__()
uploadForm.js:114
uploadForm.js:112 filepond
uploadForm.js:113 {"exif":{"orientation":1},"crop":{"rect":{"x":0,"y":0.14266666666666666,"height":0.7146666666666667,"width":1},"aspectRatio":1},"resize":{"mode":"cover","size":{"width":800,"height":800}}}

I don't see a base64 formatted string for the photo, is it in the blob? The rest looks fine to me, except that the hidden data (crop, aspectRatio, resize) did not get applied to the photo. You are right that the transform and upload should be separate operations; that's why I am trying to see if there is a transform function I can explicitly call to apply the transformations.
On the documentation, it says The Image transform plugin applies the image modifications supplied by the Image crop and Image resize plugins before the image is uploaded. This maybe true if FilePond is handling the upload. However, the transform plugin cannot apply the transformation if I am handling the upload manually.

Okay, I think I get it. You're requesting the file object manually and then uploading it? Are you not using the process callback? In that situation, you're basically using FilePond as a file drop area and indeed it will not apply transforms. It'll only apply transforms before upload or when storing the data as a base64 encoded file (using the file encode plugin).
There's currently no way to ask FilePond for the transformed file.

Can you please point me to where the process callback is in the documentation? I may have missed that. Currently, I am using this:
_pond.processFile(_fileID).then((error, file) => {
   // Callback goes to here.
});

I am not doing anything in this callback because I have handled everything in the:
FilePond.setOptions({
  server: {
    process: { ... }
  }
});

I have registered the allowFileEncode plugin, but I can't find the data block that you've shown on the documentation https://pqina.nl/filepond/docs/patterns/plugins/file-encode/.
This is the logic based on what I understand so far:
Include allowFileEncode => file will be converted to base64 => transmission issues such as speed, security, browser permission, etc.
Not include allowFileEncode => transformation won't work => for transformation to work, we must bear the pain of transferring files in base64 format.
Am I getting these right?

I meant the server.process property but set as a function.
If you're handling the upload in the process property of the server option then there's no need for the file-encode. File-encode is only there to allow uploading of files with the classic form post, if you're doing async uploading then you don't need the file-encode plugin.
processFile triggers FilePond to start the upload process (which will be automatically prepended with the transform process).

I have disabled the file-encode. For now, the preference is to send the photos instead of the base64 format. I have converted the file to base64 and use graphicsMagick to crop and resize the photos on the image server.

No problem! Glad to hear you found a solution @pathvine, will close for now.


如何安装，项目内使用的 megatron_util

megatron_util

you should not have to install megatron_util manually if you follow the intallation guideline for latest version of modelscope:
https://www.modelscope.cn/docs/环境安装
but if you want, you can install it by:
pip install megatron_util -f https://modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html

Thanks


LOS_actual, LOS_predict are undefined

Hi,
Thanks for a very detailed write up.
I am having an issue while executing the notebook at line 239.
set_actual = ax.bar(pad+ind, LOS_actual, width, color='#4c72b0', alpha=0.8)
set_predict = ax.bar(pad+ind+width, LOS_predict, width, color='#dd8452')
I have traversed whole code to find out if LOS_actual, LOS_predict defined. Could not figure out. Can you help me locating ?
Thanks,
Swathi

I had also the same and could not find out how to calculate los_actual


Set CORS headers for json get requests

Make the data available from browsers via frontend apps.

Restricts to get requests and is an established pattern. I can't see any harm in this


Crash and corruption when entering invalid NBT data for a gem

Bug description
When giving yourself a gem with the gem type of apotheosis:core/*, the game crashes and corrupts your inventory.
Minecraft version
1.20.1
Mod version
7.3.5
Mod loader and version
Forge 47.2.21
Steps to reproduce

Run command /give @p apotheosis:gem{gem:"apotheosis:core/*"}
Crash
Notice

Expected behavior
It should not crash but instead display an error, as '*' is not a valid gem type.
Log files
In this log I simply used /give to crash the game.
https://mclo.gs/Oue5PYR#L4912
In this log I was trying to filter a pipe from the Pipez mod using a *, which is what originally caused the crash.
https://mclo.gs/PjqU04C#L6307
Screenshots
Crash with /give:
https://github.com/Shadows-of-Fire/Apotheosis/assets/43736613/4753309c-f8c7-45c5-b8b8-072869bfc1d3
Crash with Pipez:
https://github.com/henkelmax/pipez/assets/43736613/8dc3fd05-9aa3-46c6-9df8-9e00ca9a74eb

That was quick! Thank you for developing such an awesome mod.


[SCRIPT] - Add static BERT base export script (for use with MXNet Module API)

Description
This will export the base BERT model for use with the MXNet Module API.
It was adapted from the static_export_squad.py
Use cases can include fine tuning for Clojure and Scala APIs.

Have used it successfully to reproduce https://gluon-nlp.mxnet.io/examples/sentence_embedding/bert.html in Clojure - PR in MXNet will be coming shortly

Checklist
Essentials

[X] PR's title starts with a category (e.g. [BUGFIX], [MODEL], [TUTORIAL], [FEATURE], [DOC], etc)
[X] Changes are complete (i.e. I finished coding on this PR)
[ ] All changes have test coverage
[ ] Code is well-documented

Comments
Python is not my usual language - so feedback is welcome :)

Nice bot 🤖

Job PR-672/1 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-672/1/index.html

@szha The intent is to use of BERT to more than just inference in the Clojure/Scala MXNet apis. Initially, I'm interested in the fine tuning tasks like classification, but feature extraction would be cool too. Basically everything in this http://jalammar.github.io/illustrated-bert/
Thanks so much for the static export feature! It opens up a whole new BERT world for the JVM MXNet langs 💯
@haven-jeon - Good point on the parameters. I'll double check to see if they are all used and remove the ones that are not.

I was able to put together a walkthrough Clojure jupyter notebook and then export it to markdown 😸
https://github.com/gigasquid/incubator-mxnet/blob/new-bert-example-with-finetuning/contrib/clojure-package/examples/bert/fine-tune-bert.md
The WIP PR for MXNet is here https://github.com/apache/incubator-mxnet/pull/14769
I'll plan on spending some time tomorrow to double check this script and the params.

@haven-jeon - I cleaned up some unneeded args and checked the rest.
Tested with python static_export_base.py --seq_length 128
Please take another look when you have a chance.

Job PR-672/5 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-672/5/index.html

@gigasquid we recently upgraded the CI setup. It will work once you rebase the PR to latest master.

Job PR-672/1 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-672/1/index.html

Job PR-672/3 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-672/3/index.html

Job PR-672/4 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-672/4/index.html

Job PR-672/5 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-672/5/index.html

Job PR-672/7 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-672/7/index.html

Job PR-672/8 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-672/8/index.html

Job PR-672/10 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-672/10/index.html

tests & docs adds and CI is green 💚 - please take another look when you get a chance


Log4j2 vulnerability?

Is this project affected by https://www.randori.com/blog/cve-2021-44228/ ?
From what I've seen in https://github.com/fcrepo/fcrepo/blob/main/pom.xml#L58 this repo uses logback. Is this correct?

Hi @sebastianrothe - yes that is correct, Logback is used.  Fedora versions 3-6 are not affected by this vulnerability.
There is one test dependency on log4j, but it is not present in any deployments and is not a version impacted by the vulnerability.

Leaving this issue open in-case others come looking for this information. Will circle back in 30 days.

Hi @sebastianrothe - yes that is correct, Logback is used. Fedora versions 3-6 are not affected by this vulnerability.
There is one test dependency on log4j, but it is not present in any deployments and is not a version impacted by the vulnerability.

Thanks.

This can safely be closed now


Suggestion: Allows custom args for each [[channel]]

Sometimes I want to customize "--output" in the args of each anchor, because the channels name is too long, I want to make a short abbreviation myself, I need to customize "--output" to customize the name of each channel
For example, I want to custom: "--output", "%(upload_date)s-Vestia_Zeta-%(title)s"

Hello, @KNaiFen. I think you can do that without any modification based on your example wrote.
+ Actually, that customize option is for ytarchive, so we cannot modify it directly. But we can use it indirectly.
if you need more specific "--output" custom content, it will be happy to reply on here :)
Thank you !


Garrett Fitzgerald

Title
Garrett Fitzgerald
Bluesky profile url
https://bsky.app/profile/sarekofvulcan.bsky.social
Twitter profile (url or username)
SarekOfVulcan
Category
data
Type
mvp

Former Visual FoxPro MVP, then support contractor, then support fte, then ahem, then vfp test contractor twice/MVP again :)


Limit gene list to genes in the network.

Description of new feature
Don't show ranked genes that are not part of the network in the side bar.
They also don't need to be part of search results.
Motivation for new feature
EM-desktop does not show these genes. In the lab they are called "dark matter". Leave this for a future feature.

This is actually a bit trickier than I mentioned in todays call. I'll explain here for clarity.
Basically genes can fall into 3 categories.

Currently EM-web displays A and B.
The Heat Map in EM-desktop displays B and C. The Heat Map will show unranked genes when clicking on a node (see below screenshot).
The current proposal to remove genes not in the network would result in us just showing B.
Showing A and/or C would be for future features.


Make Campaigns

Good luck ✨

Others will need to explain their code to help

Yes, though campaigns should be created using the systems developed. This should be last issue tackled.

A set of pre-generated campaigns are offered at the beginning of the game, from
which the user chooses or lets the computer chose from randomly.

With the saving of files now complete, this issue may be started


Add option to work with Cowsay

Hi,
will it be possible to use fastfetch together with Cowsay, just like neofetch can be used?
It is described in point 7 in this guide for neofetch:
https://itsfoss.com/using-neofetch/

fastfetch --data-raw "$(fortune | cowsay -W 30)" | lolcat does work now and will be included in the next release. Use the git version until then.