V5 - pagination

Describe your goal
I'd like to understand how pagination works. Or if it's better to resolve to choose, or some other lower-level construct in my case.
What I am trying to implement is a menu where there are paginated list and detail "views".
Is it possible with the current pagination implementation? Or would I need to create a new menu component, say "browse"?
Expected
I post some screenshots of a concept that I had "handcrafted" myself some time ago. It had some issues, but it was implementing my desired behavior at last.
Figure 1: First page

In this figure you see a first row of selection buttons (each number correspond to the list item), a Close button (or "Back" if this was a submenu) and a "Next" button with '>'. Of course I could have added also a Last '>>'. I could have used emojis like for your pagination component, but this is a matter of taste and could be easily done.
Page size is 3. Larger page sizes would mess with button layout in my opinion, but this is also a matter of how the menu gets rendered.
The list item - button label consistence would of course be left to the developer responsibility (could be 'a', 'b', 'c', whatever).
Figure 2: Another page

This is the second page: again we have a first row of selection buttons corresponding to list items, and this time a "Previous" button '<'.
Figure 3: Detail View

This is the (sub) menu you get when you select a list item. In this case I have selected button '1' of the first page, although the label "Mission 7" is misleading. If I press the first button (whatever controls the details card needs) I can interact with the card, otherwise I go back to the page I was browsing before by pressing "Back". I think this is a standard submenu behavior.
The Question
Sorry for the long issue. What I'd like to understand is this: is it possible to implement such behavior with the current pagination menu?
I have coded a bit with pagination, and I was not able to get such behavior so far.
The documentation is not complete yet, but I understand it is a work in progress.
The biggest issue I am facing is displaying these "selection" buttons for detail navigation.

As far as I understand this now its basically a first row to open a submenu of the relevant item and a second row to go through the pages? Correct me when I have misunderstood something there.
I think this can already be done via chooseIntoSubmenu as it has integrated its own pagination.
The buttons are already managed by the included pagination. You only need to use the page to display only the relevant parts in the menu body.
const ENTRIES_PER_PAGE = 3

function getAllEntries(context: MyContext): string[] {
  return ['Mission 1', 'Mission 2', …]
}

function menuBody(context: MyContext): Body {
  const pageIndex = (context.session.page ?? 1) - 1
  const allEntries = getAllEntries(context)
  const currentPageEntries = allEntries.slice(pageIndex * ENTRIES_PER_PAGE, (pageIndex + 1) * ENTRIES_PER_PAGE)
  let text = 'This is the result text\n'
  text += currentPageEntries.join('\n')
  return text
}

const menuTemplate = new MenuTemplate<MyContext>(menuBody)

menuTemplate.chooseIntoSubmenu('details', getAllEntries, detailsMenuTemplate, {
  maxRows: 1,
  columns: ENTRIES_PER_PAGE,
  getCurrentPage: context => context.session.page,
  setPage: (context, page) => {
    context.session.page = page
  }
}

You mentioned missing documentation. What would you like to have? Whats still missing? Feel free to also write down documentation that would help you and submit a Pull Request. We can then fine tune it and add it so future users can get it more easily. :)

Ok thanks for the hint of using chooseIntoSubmenu.
How does it compute the total? It does not seem to have the option, as pagination does.
In my case I am going to fetch each page from an API which returns the totalItems , the total number of elements, and the items of the requested page, giving the pageSize and skipCount variables, which I hold in the session. (skipCount = pageSize * pageIndex), splicing the elements into a session variable items on each API call.
Using getTotalPages of pagination I was setting the number of pages available, which I compute as totalPages = Math.ceil(totalItems / pageSize)): I think here it is computed by the length of the entries, right?
Anyway I am going to rewire my code to make it work with chooseIntoSubmenu, which seems the correct approach to me. I am seeing some inconsistencies in the navigation buttons, however before opening an issue about that, I want to make sure that my code is correct.
For the documentation, I was referring to this kind of behavior, which I think can be a rather common use-case.
Once I'm finished I'll try to submit a Pull Request with either an example or some extra details in the documentation.

As you guessed right, the choices.length with maxRows and columns results basically in your calculation: Math.ceil(choices.length / (maxRows * columns)).
Maybe having an option to override the total pages could be interesting in cases like yours?
Paginated APIs often tell you the total pages and you query an exact page.
On the other hand: choices are currently validated. When a user presses a button its first validated if the choice pressed is still available. Because of that all the available choices are checked, not only the ones of the current page.
pagination had some bugs which were fixed in beta.9. Maybe these inconsistencies are from that? Please check of you are using the latest beta there.
Thanks for taking the time to do the feedback! :)

I was already on beta 9 😃
What I'm still trying to figure out is the kind of buttons for navigations it is returning me. But I'm not still sure about that, perhaps is my code.
About the length, I found this solution for overriding that behavior:
The code below assumes you have set it already, e.g. after calling getAllEntries in menuBody in your previous snippet:
menuTemplate.chooseIntoSubmenu('details', getAllEntries, detailsMenuTemplate, {
  maxRows: 1,
  columns: ENTRIES_PER_PAGE,
  getCurrentPage: context => {
      const total = context.session.total
      // Create an array of values [1, ...total]
      return [...Array(total + 1).keys()]
        .slice(1, total + 1)
        .map((n) => `M${n}`);
  }
  setPage: (context, page) => {
    context.session.page = page
  }
}
`

It will print 'M1', 'M2', 'M3' as buttons (with page size 3), while computing the pages correctly.

well perhaps it's a bit more complex than that 😅 I will post a more refined solution

I mean, the problem in my above code is that it will show always 'M1', 'M2', 'M3', even on 2nd and following pages.
That's not what I wanted to achieve... 😞

I finally resolved to use choose, implementing my own navigation choices for page navigation.
It was easier this way.
So chooseIntoSubmenu for item selection, and choose for navigation.
Using this approach I could get exactly the behavior described in the screenshots 😃
I will try to make a simplified example code and post it here.

It would be nice to have either a custom pagination button layout or a simple way to use manualRow in combination with a self defined action. The second one would be also very powerful with other kinds of custom buttons (or button sets).

v6.2 adds menuTemplate.manualAction


[NEW ALGORITHM] add bacon cipher algorithm

Description:
I want to add a new cipher algorithm called bacon cipher algorithm. Please assign this task to me
Checklist:

[x] Contributor in GSSoC-ext
[x] Contributor in Hacktoberfest
[ ] Want to work on it

@pankaj-bind this issue is not resolved ... can you please reassign this task


As an Admin, I want to access a list of all the surveys existing in the tool so that I can view, edit them, get information on them or access reporting

As an Admin
I want to access a list of all the surveys existing in the tool
so that I can can view related information and access the surveys and reporting.
Acceptance Criteria
Scenario 1:
Admin clicks the "Surveys" link in the left side nav, goes to the "Surveys" listing page.
Basic search
"Create Survey" button
Table with the following columns:

Survey Name (link)
Date Created
Date published
Engagement Name (link)
Status
Comments (link)
Reporting (link)

Scenario 2:
Matches wireframe
https://xd.adobe.com/view/e38dc788-12d5-4844-87ca-149d1d32d395-b6de/screen/2a77ed82-38d7-4a24-be8a-f6d329a807ed/
Validation Rules?
(If yes, list here)
Screenshot
(Link above will always be the most up-to-date version.)

Hey team! Please add your planning poker estimate with ZenHub @saravanpa-aot @djnunez-aot @jadmsaadaot

Just reviewed with @jadmsaadaot
Will add necessary columns so we have, in this order:
Survey Name
Date Created
Date Published
Engagement Name
Status
Comments
Reporting


Sub of Function not defined, IsArrayEmpty() in AddEventListner()

I get a compile error "Sub of Function not defined" for the AddEventListner(), seems to not like IsArrayEmpty().  Possibly I'm doing something wrong, I'm quite new to VBA.

You are not doing anything wrong, that is a custom function of mine, I didn't realize it was missing. I'm on my phone right now so I will have to update it once I'm on my computer. If you need that function ahead of time you can check it out in my VBA-Array functions repository. Thanks for letting me know about this error! I'll let you know once I've updated my code

Added the function, won't have time to test it until tomorrow. Closing this issue, but please let me know if you have any other issues with the code!


How to implement many-to-many relatioships

This is mainly a question and potentially a feature request.
Going through the guide doc, I can only find an example of a 1-to-many relationship. So the first question is, is there a way to work with many-to-many relationships? both bound and (more importantly) unbound as explained in this article?. If so, can you please provide them as examples?
If not, is this something on the horizon?

@aihaddad
Not too sure if the ways explained in the above-linked article are something you want to do for many-to-may relationships.
The ways you would normally do many-to-many relations when working with Dynamo are explained really nicely here, and yes TypeDORM does support querying items from secondary indexes.
I will keep this issue open to document the example of m:n relationship in the guide.

Thank you for the response @whimzyLive.
I am almost sure that the first method explained in the article you linked is the same as the second example of the article I linked 🙂
The invoice, is holding partial bill information in the form of an intermediary item, likewise the bill is holding partial invoice information in an intermediary item. At best, the intermediary items can be combined into one; meaning at the end of the day in order to represent a relationship between two entities, you need 3 records. Am I missing something?
I would really love to see that example, though.


Fixed NPE caused by new embed response from YT

Now youtube starting sending sometimes new response on embed page in that case we getting NPE, this PR fixing this

Don't acccept this PR i found other issue

Now this PR is fine

This needs to target dev branch

This needs to target dev branch

You can change the target yourself by pressing the edit button.

Yeah, just got a warning about old commits which made me a bit cautious, heh.

This needs to target dev branch

Done


Physics bridge: Low frequency upload of transforms to server

At the moment the server only routes the transforms from the clients and does not read them (binary format).
In addition, later the physics bridge might stream via a different server or directly peer to peer.
So we need to create a low-frequency upload channel from each client to the server to update the transforms.

https://github.com/microsoft/mixed-reality-extension-unity/pull/204
https://github.com/microsoft/mixed-reality-extension-sdk/pull/642


Revoke is failing with 405

Describe the bug?
When I have a valid token stored in Crednential.default and I try to revoke it, it always fails with the following error:
network(error: AuthFoundation.APIClientError.statusCode(405))

I'm calling the function like such in a SwiftUI app:
Task {
    do {
        try await Credential.default?.revoke()
    } catch {
        print(error)
    }
}

What is expected to happen?
Revoke should work and credential should be removed
What is the actual behavior?
Revoke fails and credential remains
Reproduction Steps?
I follow the steps laid out in the web signin sample to get a credential stored as default. The credential is valid. Trying to revoke as I have shown above then fails for 405.
Additional Information?
No response
SDK Version(s)
1.2.0
Build Information
No response

Hi @shanepadgett, thank you for reporting this. I'm curious which value is resulting in the 405 error.  As you can see in the API documentation for the revoke method, you have the ability to revoke individual tokens (e.g. accessToken, refreshToken, etc), but the default value is .all. This subsequently performs multiple separate requests in parallel to ensure all relevant values are revoked.
I'd like to get your help to determine which particular token is resulting in that HTTP 405 error. If you need help in troubleshooting the error, you can either set a breakpoint here within APIClient.swift, or you can make yourself a delegate of the OAuth2ClientDelegate (e.g. Credential.default?.oauth2.add(delegate: self)). That's a sub-protocol of APIClientDelegate which has a method api(client:didSend:received:) which can be used to intercept errors. From there you can set your own breakpoint to debug the call stack to see what sort of error is occurring.

So this looks like a small flub on our end. Our revocation and introspection urls were recently updated in our discovery uri which is believed to be leading to this issue. You can close this ticket because I suspect this will be fixed once those urls are updated.

Sounds good @shanepadgett, thanks for the update. Luckily while investigating your issue I added extra features to the sample app to test revoking individual tokens, and discovered a minor bug in the process. So thank you for inadvertently helping to uncover the bug!
https://github.com/okta/okta-mobile-swift/pull/116


[MINOR][DOCS] Remove unneeded production tag block method

What changes were proposed in this pull request?
Remove an unneeded method override in the definition of ProductionTag.
Why are the changes needed?
It's just noise.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
I built the docs and confirmed that this script block shows up only when PRODUCTION=1: https://github.com/apache/spark/blob/71468ebcc85e2694935086dcf0b01bfe2bff745f/docs/_layouts/global.html#L35-L52
Was this patch authored or co-authored using generative AI tooling?
No.

Merged to master.


Outdated pvpmc.sandia.gov links in user guide.

Describe the bug
The pvpmc.sandia.gov website was updated, breaking these links in the pvlib docs: the PV_LIB Matlab help webpage here, and PVPMC single diode page here.

@jsstein the PVLIB_MATLAB help pages don't seem to have gotten migrated; was that intentional?
For reference, here's an archive.org snapshot of those pages on the old site: http://web.archive.org/web/20230321205806/https://pvpmc.sandia.gov/PVLIB_Matlab_Help/


Fix check for empty string values

broke handling of empty type 2 enumerated values
fixes #147

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 90.65%. Comparing base (e8644e2) to head (febc6d9).
Report is 66 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #149      +/-   ##
==========================================
+ Coverage   89.82%   90.65%   +0.82%
==========================================
  Files          15       15
  Lines        1632     1722      +90
==========================================
+ Hits         1466     1561      +95
+ Misses        166      161       -5

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


Create a levee-promises package

Create a levee-promises package that provides an adapter over levee to allow levee's circuit breaker functionality to work with a promise based api.
See https://github.com/bucharest-gold/entente/issues/17 for initial motivation.

I would potentially like to use levee as the circuit breaker implementation for improvements to the bonjour microservice that is a part of the MSA Demo. I've forked that micro service and have a non-functioning circuit-breaker branch where I initially tried to integrate levee on its own. But as far as I can tell, levee does not play well with promises.
Ref: https://github.com/bucharest-gold/entente/issues/18

Next steps after this issue has been resolved is to integrate this project into https://github.com/bucharest-gold/bonjour

With the release of opossum, this is no longer necessary. Closing for now.


Constant White-Screen

Hey there. I tried this module on Android RN .17 but unfortunately the only thing i see is a white-screen. Any ideas?
 var MapTest = React.createClass({
        getInitialState() {
            return {
                latitude: 37.78825,
                longitude: -122.4324,
                latitudeDelta: 0.0922,
                longitudeDelta: 0.0421
            };
        },
        onRegionChange(region) {
            this.setState({region});
        },
        render: function () {
            return (
                <View style={{flex: 1, padding: 10}}>
                    <Text style={{alignSelf: 'center'}}>TEST</Text>
                    <View style={{flex: 1, borderWidth: 1}}>
                        <MapView
                            region={this.state.region}
                            onRegionChange={this.onRegionChange}
                        />
                    </View>
                </View>
            );
        }
    });

@BigPun86 you might have to apply some styles to the mapview itself in order for it to fill it's container.
I might change the default styles of it to be flex: 1 in order to make this work a little more intuitively...

Oh man, should of thought that my self :D Thanks, works great !!

:+1:

how to set map to constant animated map


FEAT: Add Custom Port

You can now edit the port you want in the config.

Cool, all the testing works! :)


Improve labeling of ILEDITOR library

My client asked me:
Good Morning Alan,

Why is there a new library (ILEDITOR) on our production box this morning?

There is nothing in the library, but it does have your name on it.

They use MIMIX replication and always want to know about new objects: what they are for, whether they need to be replicated, etc.
A small but helpful step would be to label the library as something like "Temporary objects for Code for i IDE. May be cleared." or similar.

Created PR https://github.com/halcyon-tech/vscode-ibmi/pull/238  (not tested)

What happens if the library cannot be created? (Because of missing permissions for example)
Is the creation of the library really necessary?

Wouldn't be better to use QTEMP?
@szsascha The documentation (https://github.com/halcyon-tech/vscode-ibmi/blob/master/docs/README.md) states that QTEMP can't be used. (If I had to guess why, perhaps the tool needs a library that can be shared among multiple jobs.)

@alanseiden is correct.
QTEMP cannot be used. If ILEDITOR doesn't exist, it tries to create it. If it can't be created, it will default to the users current library.


print current time in website footer

Is your feature request related to a problem? Please describe.
InfraBox states 'started' at some time and as duration 'still running'. As the timestamp does not include any timezone or wintertime, it is unclear what infrabox thinks which time it is.
Describe the solution you'd like
Print the current timestamp in website footer, so user can calculate delta on his/her own.
Describe alternatives you've considered
Do not print 'still running' but current duration.

UI now shows dates in local timezone. Does this solve the issue alread? if not please reopen.


Creating folder to place sample data

What this PR does:
Which issue(s) this PR fixes:
Fixes #
Checklist

[ ] Changes manually tested
[ ] Automated Tests added/updated
[ ] Documentation added/updated
[ ] CLA Signed: DataStax CLA

Assuming created accidentally, closing to clean up PRs.


Disable Resize and Optimization

Is it possible to sync the files to GCS without the resizing/generating thumbs or optimizing images?
I ask this as i have a client with 24gigs of images :(

@alihs currently it is impossible (we are working on separate sync solution). But as a workaround you can try deregister all image sizes and do sync. After that register image sizes back.

Any news on this? It also seems that the bulk processing is not working. It always does one file at a time...


fix: Time Master

fix: 先注册命令再激活 recorder ，防止 recorder 中执行 command
fix: util/recorder 引用包路径有误
fix: 在销毁插件时 disable console 以防 write PIPE

Codecov Report

Merging #778 (5fcc209) into release/0.17.1 (52a0cda) will not change coverage.
The diff coverage is n/a.

@@               Coverage Diff               @@
##           release/0.17.1     #778   +/-   ##
===============================================
  Coverage           57.14%   57.14%
===============================================
  Files                   1        1
  Lines                  70       70
  Branches               15       15
===============================================
  Hits                   40       40
  Misses                 30       30

Continue to review full report at Codecov.

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


Notification to admins when critical part of AMY is modified

[possibly related to #795]
To ensure that no critical component of AMY gets edited without it being noticed, having a notification system with email alerts sent to admins when something in the Django Admin panel is edited would be useful. This is probably going to be critical for the email templates once they are in place, but even for tags or other elements that can be edited, alerting others that it's taken place would make things safer.

Just leaving some notes here:

User actions in Django Admin are getting stored in LogEntry model provided by Django and are visible upon logging into Django Admin

We could perhaps reuse LogEntry to send notification when action occurs, but a more general way would be to react on signals sent out when crucial objects are being edited (e.g. Tags, Roles, Badges, EmailTemplates). Signals can be generated not only from the Django Admin actions, but also during normal using of AMY. Unfortunately they probably wouldn't prevent from the number of cases we had when a bug in Merging Events caused Tags to disappear.

This is old, but is still something we need to consider.
Because these changes need to be presented in context of project and program management work flows, I think automated notifications are only part of the solution.
Cuurently @pbanaszkiewicz  sends out a log with every release  of the changes that have been made.  I will be working on internal systems to ensure our documentation stays up to date  (currently it is behind).  We also need systems to explicitly notify people of these changes and help them understand the context of the changes.
@pbanaszkiewicz  Can you provide some more information about what kinds of notifications could be automated or viewed from the admin panel?

Closing this as this is all covered through existing project management and documentation procedures.


Integrate harvesting with resource manager

The current harvesting implementation is able to extract relevant metadata from a remote GeoNode server. However, it is not yet capable of generating local GeoNode resources with the extracted metadata. This is to be implemented by interacting with the new GeoNode resource manager, which is being introduced via GNIP#89, as per:
https://github.com/GeoNode/geonode/issues/7664
Briefly, the idea is that a harvester worker shall request that the resource manager creates a new local GeoNode resource and provide it with the relevant metadata (and data too, but we will get there after this).

Harvesting workflow
On the harvesting side, the business logic is something like:

harvesting.tasks.harvesting_dispatcher() is called by the celery beat scheduler (or on-demand by the user) - this triggers a call to harvesting.tasks._harvest_resource()
_harvest_resource() instantiates the relevant harvester worker and calls its get_resource() and update_geonode_resource() methods sequentially:

get_resource() extracts metadata from the remote service
update_geonode_resource() takes that extracted metadata and creates a local GeoNode resource

This issue only deals with the implementation of the update_geonode_resource() method - the other parts of the workflow are already implemented.

Goal
Finish the implementation of the geonode.harvesting.harvesters.base.BaseHarvesterWorker.update_geonode_resource()
method.
The default implementation of this update_geonode_resource() method shall receive an instance of RecordDescription and a harvesting_session_id as input parameters and then proceed to:

Ask the GeoNode resource manager to create or update the relevant GeoNode resource. It shall provide the resource manager with the required details which will come from both the input RecordDescription and additional properties on the related models.Harvester (like the default resource access permissions, the default owner, etc)

Add additional information to the harvesting session

Child classes are free to either reuse this default implementation or reimplement the method if they require more complex behavior.
Examples:

The default GeoNode harvester worker does not need any additional functionality. Therefore it shall use the base implementation.
The PDN harvester worker (for Nexus project), shall need to populate custom DB tables with the information extracted from the remote service.

NOTES:

At this point it is not clear how we will signal to the resource manager that a certain resource should be bound to the harvester
Please submit this work as a PR against the harvesting_configuration branch on the ricardogsilva/geonode repo - that branch is currently being used for a PR on the initial harvesting functionality

Related to #176

Closing this, as initial integration has already been merged, and there is PR geosolutions-it/geonode#864 which continues the work


Code snippets in API Doc comments are not rendered properly in VSCode

Description:
please check the screen shot attached herewith,

Will be addressed with https://github.com/ballerina-platform/ballerina-lang/issues/29547


Cannot enlist

After completing the Java enlistment test I've tried enlisting but am brought to the same page. I've linked my GitHub account, filled all information numerous times, and have even tried on a different computer but nothing changes. Also, there are no messages on the page (IE: I need to fill out something else), the page looks the same as before I even tried enlisting the first time

When my friend try to sign up, he also met this problem

I think there might be a certain condition with github signups that causes something to get messed up. The only thing that I can think of off the top of my head is that perhaps the email on the github account isn't set or is different...
This is a high priority item and I will be looking into it within the next few days. Sorry for the inconvenience.

No it's okay! I also had a teacher try without a github, and it did the
same to him. This sounds like an awesome site, I can't wait to use it
On Friday, September 9, 2016, Jake Hoffner<EMAIL_ADDRESS>wrote:

I think there might be a certain condition with github signups that causes
something to get messed up. The only thing that I can think of off the top
of my head is that perhaps the email on the github account isn't set or is
different...
This is a high priority item and I will be looking into it within the next
few days. Sorry for the inconvenience.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Codewars/codewars.com/issues/570#issuecomment-246067393,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVFRphfxgj_lw-J3MdvLQ-KqVZfo-ca7ks5qoerRgaJpZM4J5bV7
.

Hi, I am also experiencing the same problem during the registration process. My Github account is connected, I fill the form and when I click on "Enlist" I get redirected to the same page. Any idea?
Thanks

I do not think this is the issue of github, I try to sign up without linking the github account but it still not work

Yeah it's odd, like maybe the HTML link isn't pointing the right way or
something. Obviously I doubt that's what's wrong but it doesn't seem like a
normal problem. Maybe the server processing enlistments and directing the
user to the next page is falsely redirecting the user back to the sign up
page?
Also, when attempting the first few times I noticed there was a password
input, but after a few tries that went away
On Saturday, September 10, 2016, luomiao55<EMAIL_ADDRESS>wrote:

I do not think this is the issue of github, I try to sign up without
linking the github account but it still not work
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Codewars/codewars.com/issues/570#issuecomment-246156051,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVFRplr-gXlDWSZW7KnRabwNDOicV_C7ks5qo1oKgaJpZM4J5bV7
.

Just tried again and it worked! After tinitially trying I had to do the
test again, but upon completing that I could sign up
On Saturday, September 10, 2016, Brandon DeAlmeida <
<EMAIL_ADDRESS>wrote:

Yeah it's odd, like maybe the HTML link isn't pointing the right way or
something. Obviously I doubt that's what's wrong but it doesn't seem like a
normal problem. Maybe the server processing enlistments and directing the
user to the next page is falsely redirecting the user back to the sign up
page?
Also, when attempting the first few times I noticed there was a password
input, but after a few tries that went away
On Saturday, September 10, 2016, luomiao55<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>> wrote:

I do not think this is the issue of github, I try to sign up without
linking the github account but it still not work
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Codewars/codewars.com/issues/570#issuecomment-246156051,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVFRplr-gXlDWSZW7KnRabwNDOicV_C7ks5qo1oKgaJpZM4J5bV7
.

Could not signup in Edge or IE 11 on Windows 10. The submit button continued to return you to the same question.

Same error on Google Chrome. After completeng C# and trying to press enlist nothing happened.

Same here.
Chrome, Firefox, Safari, with or without github account.

Me too, I tried several times but always the same page show up again and again.

i have the same problem

@purpose50 Did you just try now? I've been investigating and have a error report to indicate each time it happens and havent seen it in 30 minutes. Also I just made a change that I had hoped would fix it.
Can everyone else having this issue please leave the username you signed up with, along with your github username (if you used that), and let me if the loop happens on the code challenge or on the profile setup step. Thanks.

I just tried it again and it worked. i'm in, thanks.

another error, i bypassed the login page but got this: "Fix "Aw, Snap!" page crashes and other page loading errors

able to log in now

It works now for me

I have the same problem, anybody found a solution?

I have this error. SIgning up would Aw Snap! me so I deleted site cookies and tried relogging with no luck.

I am getting this error too.  I just get a message "Failed to connect account" with no further explanation on FF, Chrome, Safari for OS X.

I'm having the same issues, somehow, after clearing cookies and cache it gets back to the sign up page..
Could it have something with it?

same.. what to do? how to fix this damn issue?

I tried again after a day or two and it worked, didn't change anything
though.
On Sat, Aug 12, 2017 at 10:54 AM Henry Cavendish<EMAIL_ADDRESS>wrote:

same.. what to do? how to fix this damn issue?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Codewars/codewars.com/issues/570#issuecomment-321989477,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVFRpmGzjo4_mpYRjGByjAXZw4xyyiWhks5sXcrQgaJpZM4J5bV7
.

This should be fixed now.
Please try again if you haven't already signed up. And please open a new issue if this happens again.


Is 'all_indicators' option replaced by '--indicators'?

Hello,
In the older versions (cs-misp-importer-beta-release-4 etc) there used to be an option all_indicators, allowing you to import all indicators, regardless if they are related to a report or not.
I don't see that option in the latest version(s). Is this replaced with --indicators?
kind regards,
koen

Hi @cudeso -
That is correct!  You can use -i or --indicators to import indicator data.  (You can also achieve this using the --all argument, but this will import adversaries and reports first.)


Dismisses keyboard when logging

Whenever I log something, this line is called and it removes focus from any UITextFields and thus dismisses the keyboard:
https://github.com/tadija/AEConsole/blob/1f9a7ac78a185d8f53e2e4867b82322a880d417a/Sources/AEConsole.swift#L91

I ended up with remove that line of code and added a UIWindow extention to handle shake gesture:
extension UIWindow {
    override open func motionEnded(_ motion: UIEventSubtype, with event: UIEvent?) {
        if motion == .motionShake {
            AEConsole.toggle()
        }
    }
}


txnbuild: Move examples to use new exp/horizonclient

Examples currently use the old client. Move over to the new API in preparation for release.

Related PR: #1191


Generate SRI hashes in nix-generate-from-cpan

Description of changes
This PR changes nix-generate-cpan-to-nix so that it uses SRI hashes in the derivations it outputs, rather than raw sha256 hashes as it did before.
This brings the generated derivations in line with the conventional structure in  pkgs/top-level/perl-packages.nix (which only uses SRI hashes).
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Thanks, I've fixed the commit message.


EH with neutrinos

I'm getting a warning about Eisenstein & Hu not dealing with neutrinos, but I know there is a version that does, because my C++ code uses it... I guess it came from here:
http://background.uchicago.edu/~whu/transfer/power.c
(it also seems like it should be able to figure out sigma8 for itself, without demanding it be set...)

Sorry for the delay, being slammed by other developments. 43c3fcd80e0fe341368981a93f5b735dfe2aa273 implements "einsenstein_hu_nowiggle_variants" engine as specified in https://arxiv.org/pdf/astro-ph/9710252.pdf. I implemented it in a different engine than "einsenstein_hu_nowiggle" since equations do not exactly match in the no-neutrino case. It would be nice at some point to come up with the similar neutrino-friendly transfer function with BAO wiggles.

Thanks. The no-wiggle version is the only one I use (to help create an isolated-wiggle template that removes the low-k, baryon damping part... which probably doesn't matter, but I like to do it "correctly" so I don't need to worry about it).


EDW Database stopped working during ETL process

EDW database (patroni - postgres) stop working during ETL process:
All ETL packages are failed for the last couple of day. Restart the DB will make it recover. However, DB is down whenever run the ETL packages.

According to the response from RocketChat, this issue may related to the PCV capacity. Increased the capacity from 4G to 8G, the issue seems gone. Will observe over the next few days to confirm the fix.


No genneral random quote?

I wanna search a random quote in general without filter

You should be able to just use .random() without arguments, or .search(random=True) if you want more than one quote at once.


really missing mpl::apply alternative

thanks for a great lib, but having mpl::apply alternative would make it even better

It was fun,  time to close and let this repo RIP without any open issues left :)


How to test TfInceptionV3-Armnn.cpp?

Hi, all.
I'm trying to run tests/TfInceptionV3-Armnn/TfInceptionV3-Armnn.cpp
(https://github.com/ARM-software/armnn/tree/master/tests/TfInceptionV3-Armnn)
To do this I did

cloned stb from github(https://github.com/nothings/stb) and added include path and fixed some defines from cmake/GlobalConfig.cmake
(When I included stb library for build, it occured some errors belong -Werror option, so turned off.)
Download and read descriptions for InceptionV3 from https://www.tensorflow.org/tutorials/images/image_recognition#usage_with_the_c_api
-> downloaded inception_v3_2016_08_28_frozen.pb
Transformed frozen graph refered https://www.tensorflow.org/lite/tfmobile/prepare_models#using_the_graph_transform_tool
But I couldn't which transform options needed so just used same command from example, like this.

bazel-bin/tensorflow/tools/graph_transforms/transform_graph \
	--in_graph=inception_v3_2016_08_28_frozen.pb \
	--out_graph=inception_v3_2016_08_28_frozen_transformed.pb \
	--inputs=input --outputs=InceptionV3/Predictions/Reshape_1 \
--transforms='strip_unused_nodes(type=float, shape="1,299,299,3") fold_constants(ignore_errors=true) fold_batch_norms fold_old_batch_norms'

I've got transformed graph(inception_v3_2016_08_28_frozen_transformed.pb) and this is 'summarize_graph' tool's result of that.
 TfInceptionV3-Armnn $ $TF_HOME/bazel-bin/tensorflow/tools/graph_transforms/summarize_graph --in_graph=inception_v3_2016_08_28_frozen_transformed.pb
Found 1 possible inputs: (name=input, type=float(1), shape=[1,299,299,3])
No variables spotted.
Found 1 possible outputs: (name=InceptionV3/Predictions/Reshape_1, op=Reshape)
Found 23824684 (23.82M) const parameters, 0 (0) variable parameters, and 0 control_edges
Op types used: 231 Const, 95 Conv2D, 94 Add, 94 Relu, 24 Mul, 15 ConcatV2, 10 AvgPool, 4 MaxPool, 2 Reshape, 1 BiasAdd, 1 Identity, 1 Placeholder, 1 Softmax, 1 Squeeze
To use with tensorflow/tools/benchmark:benchmark_model try these arguments:
bazel run tensorflow/tools/benchmark:benchmark_model -- --graph=inception_v3_2016_08_28_frozen_transformed.pb --show_flops --input_layer=input --input_layer_type=float --input_layer_shape=1,299,299,3 --output_layer=InceptionV3/Predictions/Reshape_1

Run with this command line from target and it makes errors

# pwd
/root/armnn/tests
# ls
CMakeFiles
ExecuteNetwork
Makefile
TfInceptionV3-Armnn
cmake_install.cmake
data
inception_v3_2016_08_28_frozen_transformed.pb
libinferenceTest.a
#
# ls data/
Cat.jpg
Dog.jpg
grace_hopper.jpg
imagenet_slim_labels.txt
inception_v3_2016_08_28_frozen_transformed.pb
shark.jpg
#
# ./TfInceptionV3-Armnn --data-dir=./data --model-dir=./
ArmNN v20180800

Armnn Error: Input tensor has incorrect size. Expected 268203 elements but got 0.
#

This is where I stucked.
I read almost of github history about this and trying googling but couldn't get any solution.
Could anyone tell me how did you run InceptionV3 with armnn?

Hi @leeanzel maybe the test data is in an unexpected format?  I get:

MatthewARM@workstation:~/gits/devenv/build-x86_64/release/armnn/tests$ ./TfInceptionV3-Armnn --data-dir=../../../../testdata --model-dir=../../../../models
ArmNN v20180800

= Prediction values for test #0
Top(1) prediction is 208 with confidence: 58.8273%
Top(2) prediction is 209 with confidence: 28.6083%
Top(3) prediction is 853 with confidence: 0.600391%
Top(4) prediction is 223 with confidence: 0.537345%
Top(5) prediction is 160 with confidence: 0.180722%
= Prediction values for test #1
Top(1) prediction is 283 with confidence: 48.1306%
Top(2) prediction is 282 with confidence: 31.6746%
Top(3) prediction is 286 with confidence: 10.227%
Top(4) prediction is 288 with confidence: 0.167736%
Top(5) prediction is 284 with confidence: 0.108078%
= Prediction values for test #2
Top(1) prediction is 3 with confidence: 98.6568%
Top(2) prediction is 148 with confidence: 0.0831896%
Top(3) prediction is 234 with confidence: 0.0260615%
Top(4) prediction is 149 with confidence: 0.0158389%
Top(5) prediction is 4 with confidence: 0.0120914%
Total time for 3 test cases: 48.072 seconds
Average time per test case: 16023.922 ms
Overall accuracy: 1.000
MatthewARM@workstation:~/gits/devenv/build-x86_64/release/armnn/tests$ file ../../../../testdata/Cat.jpg
../../../../testdata/Cat.jpg: JPEG image data, baseline, precision 8, 767x1024, frames 3
MatthewARM@workstation:~/gits/devenv/build-x86_64/release/armnn/tests$ file ../../../../testdata/Dog.jpg
../../../../testdata/Dog.jpg: JPEG image data, JFIF standard 1.01, resolution (DPI), density 300x300, segment length 16, Exif Standard: [TIFF image data, big-endian, direntries=0], baseline, precision 8, 960x720, frames 3
MatthewARM@workstation:~/gits/devenv/build-x86_64/release/armnn/tests$ file ../../../../testdata/shark.jpg
../../../../testdata/shark.jpg: JPEG image data, JFIF standard 1.02, resolution (DPI), density 72x72, segment length 16, Exif Standard: [TIFF image data, big-endian, direntries=10, description=SHK0120.  great White Shark; Carcharodon cacharias; most famous, orientation=upper-left, xresolution=236, yresolution=244, resolutionunit=2, software=Adobe Photoshop CS Macintosh, datetime=2006:01:02 08:45:34], baseline, precision 8, 1024x685, frames 3

Hi @MatthewARM  and @myth01
When I failed I used 299x299 sized JPEG file and failed, maybe it makes kind of size align or any other problems,... I don't know anyway
And succeed with other sized image (e.g. 512x512 JPEG).
I think my input image size is not suitable for that.
Thank you for advices :)
Then @MatthewARM,
My progress to run TfInceptionV3-Armnn is right?; transform command and execute command?

Hi @leeanzel your transform and execute commands look good to me. Are you still having problems?

Hi @MatthewARM.
Now I'm fine to run TfInceptionV3-Armnn.  But it makes miss result.
From TfInceptionV3-Armnn.cpp, this source code have to input images for {Dog, Cat, shark} and result label must  {208, 283, 3}.
So I tested with some dog images but it makes result label like this log.
= Prediction values for test #0
Top(1) prediction is 163 with confidence: 77.7477%
Top(2) prediction is 168 with confidence: 3.76775%
Top(3) prediction is 167 with confidence: 0.81855%
Top(4) prediction is 165 with confidence: 0.264387%
Top(5) prediction is 429 with confidence: 0.221858%
Prediction for test case 0 (163) is incorrect (should be 208)
= Prediction values for test #1
Top(1) prediction is 283 with confidence: 54.5648%
Top(2) prediction is 286 with confidence: 19.6256%
Top(3) prediction is 282 with confidence: 13.144%
Top(4) prediction is 288 with confidence: 5.86075%
Top(5) prediction is 729 with confidence: 0.73744%
= Prediction values for test #2
Top(1) prediction is 3 with confidence: 82.1478%
Top(2) prediction is 4 with confidence: 2.87447%
Top(3) prediction is 5 with confidence: 0.357717%
Top(4) prediction is 149 with confidence: 0.159937%
Top(5) prediction is 154 with confidence: 0.10502%
Total time for 3 test cases: 2.756 seconds
Average time per test case: 918.534 ms
One or more test cases failed

And this is an example image what I used
(https://m.post.naver.com/viewer/image.nhn?src=https%3A%2F%2Fpost-phinf.pstatic.net%2FMjAxODAxMDRfMzAw%2FMDAxNTE1MDMwMDA3ODk1.74n16yS0o_UUIdvdgKFZGMO4SLjOK6BExbtC9g46QyEg.htDW6Qp6eZnw8hai7kWuwIAMzvLPPdYRZwZxdEAHa1wg.PNG%2FTJYTYUKU.png)
I couldn't find what cause this problem.
When build this test code, stb library made some errors caused by -Werror option(almost of errors related with type casting)  so I ignored this error by removed -Werror option.
But I don't know this ignoring could make this kind of miss result.
Do you have some clues or opinions why this problem happen?
Thank you for your effort :)

Hi @leeanzel, looks like your network is working fine. class 163 is "beagle" which is exactly the dog picture you are using! In our test we just happen to use a picture of a golden retriever which is class 208.

Hi @MatthewARM.
Thank you for kind reply.  I tried found class label but couldn't found so I confused that.
Now I'm so clear with this issue.

Glad we could help, good luck with your work.

@leeanzel : can you mentions how did you build tests , how did you add stb to includes and what changes did you made in globalconfig.cmake


Finding "Divine Fountain" event b/c of Grimoire

Divine Fountain event is to remove all curses from deck, which is triggered by having >= 1 curses in deck (excluding Ascender's Bane). Grimoire proc's this event by being a curse (even though unremovable).
Following through with the "Remove all curses" event does not actually remove Grimoire though.

Thanks for reporting this issue. Do you know if you encountered it on version 0.37.0 or an earlier version?

Found it 0.37!

Good deal. The next version should have a fix. Thanks!

fixed by #157


Replace dependency on LC_API_V50 with LethalNetworkAPI

The only things this mod are using LC_API_V50 for are asset loading and networking. All the other Harmony patches are written directly.

Asset management can be done using native Unity methods
Networking can probably be done exactly the same through LethalNetworkAPI calls instead

Just looking to decouple this mod from LC_API_V50 since that mod provides a lot more than is necessary here. Also I don't want irrelevant methods to be breaking the functionality in this mod when all I need is networking features.

Fixed in v1.1.3

Had to make another change for this, but still going out with v1.1.3

Unfortunately this change uses the deprecated API classes for now.


Send on create confirmation email after commit

Fix #4062
Call send_on_create_confirmation_instructions in after_commit instead of after_create, I think this is no harm in general and it makes things like async job work.

Got one spec failure and it passed on my  local,  have no idea > <
1) Failure:
ReconfirmableTest#test_should_not_require_reconfirmation_after_creating_a_record_with_#save_called_in_callback [/home/travis/build/plataformatec/devise/test/models/confirmable_test.rb:509]:
Failed assertion, no message given.

All works now, @josevalim @lucasmazza  any comments ? Thanks !

@allenwq Thank you for your PR. I think it would be good to add some spec that mimics that problem you have mentioned, this way avoids regressions in the future. If I get some idea on how to do it, I let you know.

@ulissesalmeida Yes I will add a spec to this.

@ulissesalmeida I reverted those changes, now using the gem and it's only applied to rails 4. Working on a spec for this.

@allenwq Thanks! It's looking good! ✨

@allenwq I know test a race condition is not a easy task. I think ti worth a release and we can add regression test later.

Thanks ! Sorry I am on leave these days, will update the tests in a
separate PR.
On Tuesday, 3 May 2016, Ulisses Almeida<EMAIL_ADDRESS>wrote:

@allenwq https://github.com/allenwq I know test a race condition is not
a easy task. I think ti worth a release and we can add regression test
later.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/plataformatec/devise/pull/4064#issuecomment-216404080

@ulissesalmeida Sorry I cannot get the race condition test work > < but in our production app after this commit all tests passed, there are lot of random failures before.


Add additional options to sbatch submission: -A for accounts

One thing we discovered during tests at FMI today: We currently don't specify the account name with the -A option. On the FMI clusters, those accounts (different from the slurm-username. More like "what group does that user belong to) are being used actively. e.g. my user belongs to the fractal account.
So far, our users had default accounts and those worked well. I still think that will probably be a reasonable setup for many locations. But would be useful to add support to add an account option during user registration and optionally use this during slurm SBATCH submissions.

Sure, we can include a line like
#SBATCH --account=<account_name>       # account name

in the sbatch script.

and optionally use this during slurm SBATCH submissions.

Does "optionally" mean "if the user has an account set, then always use it for their submissions" or does it mean "use it, but not always"?

If it's something that is strictly fixed, for a user, then we should add it to the database (typically upon user registration) and whenever it is present it will be used for submissions. Note that users would not be able to update it themselves, since user edits are restricted to the admin.
If it's something that the user may want  to change over time for whatever reason (as in "project A should count on account B, but project C belongs to account D"), then we should rather add it as an option to workflow-submission (*).

(*) I think that adding the SBATCH line above to worker_init would probably already work in the current version, but if it's an intended use then we should have it as an explicit additional argument.

Does "optionally" mean "if the user has an account set, then always use it for their submissions" or does it mean "use it, but not always"?

Optionally as in, if it's present, set this option. But if it's not, set nothing (i.e. don't enforce that it needs to be present, because we don't use this e.g. in the Pelkmans lab).
Interesting question regarding how constant this is. We didn't use those at UZH, but they are in use at FMI. Can you comment on how they are used @gusqgm ?
My understanding would have been: This should be strictly fixed (minus a very rare chance that the cluster setup gets changed). I think it would fit well as an optional registration parameter. A user should need to think about this.
But I don't know whether they are used in different ways at FMI.
Also, interesting point about worker_init :)

I tried the worker_init approach and happy to confirm that this works :)
Setting #SBATCH -A fractal in worker_init gets us running for the users that had previously gotten a ERROR:slurm_runner:sbatch: error: Batch job submission failed: Invalid account or account/partition combination specified
Let's still talk about how we best pass this option long term. But not an urgent thing to add, given that we have a way the user can set it via worker_init.
And if it's actually something that will change depending on projects or such, then the worker_init may already be the way to do it :)

account is now part of the most recent SLURM-backend configuration in fractal-server 1.2.0, see https://fractal-analytics-platform.github.io/fractal-server/reference/fractal_server/app/runner/_slurm/_slurm_config.
Let's re-open (here or elsewhere) if it doesn't work as expected.

I can confirm that the account settings are working correctly at FMI with the configuration in the slurm config.


zipItem function run slowly

I using zipItem function to zip many files has total size is 60MB. It's take over 2 minutes.
I tested on iPhone 7plus.

Did you measure a DEBUG or RELEASE build?
There's a huge performance difference between both.

I tested RELEASE fast and I realize it's ok. Thanks.


collapse block of code

Issue Type: Feature Request
In earlier versions of VS code, the cases of switch blocks were collapsible. But now it does not collapse.
VS Code version: Code 1.25.0 (0f080e5267e829de46638128001aeb7ca2d6d50e, 2018-07-05T13:11:11.248Z)
OS version: Windows_NT ia32 10.0.17134

Even collapse button[-] and Expand button[+] is not visible.

Which language? Please share a code example

I can confirm in jsx collapse not working
button is not visible

@romanlex That is a duplicate of https://github.com/Microsoft/TypeScript/issues/23273
I'm assuming this issue is for js/ts and closing it as a duplicate of https://github.com/Microsoft/TypeScript/issues/23380


add option for using fused kernel

Summary
The fused_sat_cast kernel can be found here: https://github.com/drisspg/driss_torch/blob/6d1be6ec21c5a56cf8ddfeb12a57cfce316e40bb/src/saturated_cast.cu#L243
The other two kernels can be found here: https://github.com/pytorch-labs/float8_experimental/pull/227/files#diff-a1a29e99a81b48419f66c77a301ca1f09c51bf754baf82e0962c9bc243d89310
Eager numbers from this script: which is a stripped down version of the full benchmark script to compare fused/vs unfused casting
https://github.com/pytorch-labs/float8_experimental/pull/227/files#diff-729d5216ec3b30dea879056f9eb4a9bac9127501b8c8e6d516b640abb2f106ae
Table
Key/Structure:

ref_dtype : the dtype of the equivalent linear forw+backward in that precision
fuse_cast: use the  fused kernels from this PR in eager for some of the casting
pt_fp8_speedup: ref_time_sec/pt_fp8_time_sec

      shape          ref_dtype       fuse_cast  ref_time_sec  pt_fp8_time_sec  pt_fp8_speedup
(16384, 8192, 1280)  torch.bfloat16       True      0.002140         0.002688        0.796081
(16384, 8192, 1280)  torch.bfloat16      False      0.002142         0.004025        0.532102
(16384, 1024, 8192)  torch.bfloat16       True      0.001883         0.002398        0.785198
(16384, 1024, 8192)  torch.bfloat16      False      0.001885         0.003384        0.556938
(16384, 8192, 7168)  torch.bfloat16       True      0.010392         0.007928        1.310714
(16384, 8192, 7168)  torch.bfloat16      False      0.010418         0.011007        0.946480
(16384, 3584, 8192)  torch.bfloat16       True      0.005375         0.004720        1.138892
(16384, 3584, 8192)  torch.bfloat16      False      0.005423         0.006589        0.823073

Traces:
Repro script: https://gist.github.com/drisspg/693b53527859433fc9d8987a1b7e464b

FusedCast | this pr
No Fused Cast | current eager state
Compiled fp8
Bfloat16 Ref

Things left to do still for more perf
During the backward pass we also want the option to transpose so that we can we have prepare inputs for the TN format. I still need to add support for this in the kernel but besides that this is a less contained change since we need to sinnal this to the to_fp8_no_autograd constructor instead of relying on the compiler to generate this.
The same could be done for scale inverse calls as well but again we need to cache these on the fp8 tensor

@y-sq  had a good suggestion to just use amax directly and not the scale to avoid launch of extra kernel: https://github.com/drisspg/driss_torch/pull/5
That will require moving the to_float8 constructor to take in an amax and not a scale, I will work on that tomorrow..


Set the send_distribution_sums_as_monotonic option to true by default

What does this PR do?

Set the send_distribution_sums_as_monotonic config option to true by default. This is a breaking change.
Comment the config option in the config file as they now have the default value
Also set send_monotonic_counter to true by default in the code

Motivation

We already have send_distribution_counts_as_monotonic set to true by default. For consistency, we now also send them as count.
This is what the OpenMetricsV2 implementation does by default now and it's not possible to change this.

Additional Notes

Updating the models is not a breaking change as it is not used yet by this check since it still support Python 2.

Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] PR title must be written as a CHANGELOG entry (see why)
[ ] Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR)
[ ] PR must have changelog/ and integration/ labels attached
[ ] If the PR doesn't need to be tested during QA, please add a qa/skip-qa label.

Current dependencies on/for this PR:

master

PR #14290   👈

PR #14273

PR #14274

PR #14275

PR #14277

PR #14303

This comment was auto-generated by Graphite.


[BUG] update the description of https://github.com/dromara/hertzbeat/releases/tag/v1.3.1

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
The current Upgrade Note⚠. of https://github.com/dromara/hertzbeat/releases/tag/v1.3.1 has some issues.

ALTER table HZB_ALERT_DEFINE modify FIELD varchar(255) default null; should be ALTER table hzb_alert_define modify field varchar(255) default null;
The Chinese 升级注意⚠. part is not corresponding to the English version.

Expected Behavior
No response
Steps To Reproduce
No response
Environment
HertzBeat version(s): 1.3.1

Debug logs
No response
Anything else?
I have updated the release notes. (It's strange I can modify it directly. Maybe I have some permission to do so. :hah)

thanks👍


[XPU] avoid triton import for xpu

avoid triton import for xpu as we don't take triton as dependency.

@youkaichao can you help review this minor change? Thanks.


error: Key-value store with id: default does not exist. - Error: Key-value store with id: default does not exist.

Describe the bug
error: Key-value store with id: default does not exist. - Error: Key-value store with id: default does not exist.
I run the crawler daily as an in-process cron job and after each consecutive run I remove the apify_storage directory. Sometimes I wake up to the above exception. I.e. it happens when the next scheduled run is about to commence and first entries are to be added he doesn't seem to be able to access this default store.
Here's my cleanup code just in case. I always see the 'cleanup successful' message:
			return rmfr('apify_storage')
				.then(() => logging.logLogger.info('Cleanup successfull'))
				.catch((e: Error) => {
					logging.logLogger.error('Cleanup failed: ' + e.toString());
				})
				.finally(() => {
					logging.metricsLogger.flush();
				});

To Reproduce
I don't know how to. It happens inconsistently but haven't seen it happen locally.
Expected behavior
I suppose the store ought to be created. As it happens on a fresh run.
System information:

OS: [e.g. MacOS] : node:14.16.0-stretch-slim
Node.js version [e.g. 14.7]: node:14.16.0-stretch-slim
Apify SDK version [e.g. 0.20.4]:  "apify": "^1.0.1"

Additional context
2021-03-24T00:01:40.174564702Z 2021-03-24T00:01:40.174Z error: Scraper failed: Key-value store with id: default does not exist. - Error: Key-value store with id: default does not exist.
2021-03-24T00:01:40.174638182Z at KeyValueStoreClient._throw404 (/Scraper/node_modules/@apify/storage-local/src/resource_clients/key_value_store.js:338:21)
2021-03-24T00:01:40.174655886Z at KeyValueStoreClient._findFileNameByKey (/Scraper/node_modules/@apify/storage-local/src/resource_clients/key_value_store.js:332:45)
2021-03-24T00:01:40.174671941Z at KeyValueStoreClient._handleFile (/Scraper/node_modules/@apify/storage-local/src/resource_clients/key_value_store.js:306:26)
2021-03-24T00:01:40.174687348Z at KeyValueStoreClient.getRecord (/Scraper/node_modules/@apify/storage-local/src/resource_clients/key_value_store.js:176:22)
2021-03-24T00:01:40.174702385Z at KeyValueStore.getValue (/Scraper/node_modules/apify/build/storages/key_value_store.js:154:24)
2021-03-24T00:01:40.174717051Z at SessionPool._maybeLoadSessionPool (/Scraper/node_modules/apify/build/session_pool/session_pool.js:286:35)
2021-03-24T00:01:40.174731736Z at SessionPool.initialize (/Scraper/node_modules/apify/build/session_pool/session_pool.js:143:9)
2021-03-24T00:01:40.174746384Z at Object.exports.openSessionPool (/Scraper/node_modules/apify/build/session_pool/session_pool.js:321:5)
2021-03-24T00:01:40.174761087Z at CheerioCrawler._init (/Scraper/node_modules/apify/build/crawlers/basic_crawler.js:300:32)
2021-03-24T00:01:40.174775550Z at CheerioCrawler.run (/Scraper/node_modules/apify/build/crawlers/basic_crawler.js:269:9)

What's the time difference between the removal and the new start? If they happen simultaneously there could be a race condition.

The time difference is at least 12 hours.

Roger that.
So this is a workflow which I've carrier over from a pre-sqlLite version of Apify. How would I best go about it for now ?

Hmm, since this is happening intermittently, there must be some race condition. So what you could try is adding this to the beginning of your script:
await Apify.openKeyValueStore()

This will try to open the default key value store and re-create it. I assume there are multiple calls to this function somewhere later in your code and the parallel execution in combination with the deleted folder causes some unexpected problem.
If that does not work, you should keep the apify_storage folder and the folder structure inside. It looks like this:
apify_storage
  datasets
    default
  key_value_stores
    default
  request_queues
    default

If you delete only the contents of those folders and not the folders themselves. Or if you delete it all and re-create it later, there should be no errors.

Closing since the issue is stale and we added some extra functionality. https://github.com/apify/apify-js/pull/1187


WIP aca-py test scenario including a container restart (with aca-py upgrade)

WIP for Issue #3269 - opening draft PR for visibility and feedback.
Script starts agents using docker-compose - alice agent is based on the Aca-Py 1.0.1 release image.  Alice connects with and then issues a credential to bob and then the test shuts down the alice agent, restarts based on the acapy-test image (based on the local aca-py codebase) and then asks for a proof.
This is working!  Next step is to incorporate a wallet upgrade (askar to askar-anoncreds?) - this is WIP.
@jamshale  is there any way to introduce assertions into the test code?  Or how does the test driver know whether the test was successful or not?

I believe you can add assertions into the example.py script. Basically if it exits with exit code 1 it fails and if it exists with exit code 0 it passes. There's some caveats with this though. I had a test exiting with code 0 locally but it failed with github actions because the acapy-controller library never received an event it was expecting.
If the example raises an exception then it will fail.

Some of those docker attrs are pretty complicated and might be fragile to upgrading the docker package, but upgrading it won't be necessary for a testing project so that ok.

Yah I agree.  For some of the docker stuff it was a bit of trial and error so I'm not sure how fragile these tests are going to be :-S

I'm interested in potentially pulling some of that docker management complexity into an extra of the acapy_controller library in the future. That could be a convenient way to develop more of this style of test.

Agree.  I've started a second test (to include an askar-to-anoncreds) upgrade.  For now I'll refactor the common stuff into a util.py (in acapy repo) but agree this should eventually be a feature of the acapy_controller.


Stirr, Newson and other plugins

I thought I would point out some Python code that you might be able to use to add internal support for Stirr TV.
https://stirr.com/
https://github.com/fHDHR/fHDHR_plugin_origin_STIRR
Here is on for NewsOn to get news and local news for some cities.
https://www.newson.us/
https://github.com/fHDHR/fHDHR_plugin_origin_NewsOn
Here are some scripts for pulling Zap2It guide details.
https://github.com/fHDHR/fHDHR_plugin_epg_zap2it
https://github.com/arantius/zap2xml-py
https://github.com/jbreen60030/plex.zap2it.xmltv
https://github.com/edit4ever/script.module.zap2epg

There are always plenty of new providers coming out of the woodwork. The plan is to manage only a few plugins from the Cabernet repo and allow you and others to create new plugins as you see fit.  Not quite there yet with external repo links, but it is comint in the next few months. Cabernet will not be supporting these as plugins.  Some already can use the m3u plugin, if not, then the expectation is to have people create new plugins.


[2pt] Login Module

Here are expected to achieve the following:

Front-end

Should have two fields (username and password fields)
Should have a submit button
Users should be able to toggle password field to see or hide password
Should have a link to the signup component
On click of submit button it sends an api request to the backend and if user exist, return a JWT-Token which is stored on local storage and redirect user to home page
Implement design to suite smaller screens
Write tests for your front-end

Back-end

Implements devise login with integration of JWT
Create a users controller with a login method that takes in user email and password
Generates JWT token if user exists and returns JSON response with following minimum fields

Token
expiry_date
Username

Returns error object if user is unauthorised or data does not exist
Write tests for your controller (request specs)
Write tests for your api

this is the pull request for the back-end  https://github.com/rachidelaid/billionaire-appointment-back-end/pull/23
and this is the pull request for the front-end https://github.com/rachidelaid/billionaire-appointment-front-end/pull/8


switching deployment strategy to recreate for PV

Overview

@dwertent if you wait I can bump node-agent and operator too


Plugin must respect the 'target': 'node' for SSR setup of vue-cli and 'externals'

Example config of SSR setup: vue-cli-ssr-example and vue-cli3-ssr-project.
There is important things:
configureWebpack: () => ({
  target: TARGET_NODE ? 'node' : 'web',
  node: TARGET_NODE ? undefined : false,
  entry: {
    [target]: [`./src/entry-${target}`]
  },
  output: {
    libraryTarget: TARGET_NODE
      ? 'commonjs2'
      : undefined
  }
  // ...
}

And dll-plugin must not extract (or do it somehow else) vendors when running in server-side mode - there is one solid file as the server-entry result: 'vue-ssr-server-bundle.json'. No 'dll_library' variable. Maybe it can work as 'webpack-node-externals' - packages (except the whitelist of forced-transpilation, respect the externals property of webpack config) on the server-side must be taken directly from node_modules folder. It's all there.
Stack trace:
NodeInvocationException: dll_library is not defined
ReferenceError: dll_library is not defined
at eval (eval at dll-reference dll_library (server.js:748:1), <anonymous>:1:18)
at Object.dll-reference dll_library (server.js:748:1)
at __webpack_require__ (server.js:27:30)
at eval (webpack-internal:///./node_modules/vuetify/lib/index.js:1:19)
at Object../node_modules/vuetify/lib/index.js (server.js:319:1)
at __webpack_require__ (server.js:27:30)
at eval (webpack-internal:///./src/plugins/vuetify.js:4:69)
at Module../src/plugins/vuetify.js (server.js:497:1)
at __webpack_require__ (server.js:27:30)
at eval (webpack-internal:///./src/app.js:11:74)

Temporary solution is to set open: !TARGET_NODE && IS_DEVELOPMENT to disable plugin on server side.

Yes, you are right. I will solve this problem.
Thank you for your guidance.


Change for extension

What changes are proposed in this pull request?
Change for extension
Why are the changes needed?
Change for extension
Does this PR introduce any user facing changes?
NA

alluxio-bot, merge this please


Data Sovereignty: Define further contract modules for data sovereignty constraints

As of today, the usage purposes are covered in the ODRL policy, however, some contract modules of a data exchange contract cannot be covered yet such as:
a. Jurisdiction
b. choice of law
c. liability
d. duration
Task

[ ] Define a concept how additional contract modules like the ones named above can be covered in an ODRL policy
[ ] Plan roadmap issues for the next release (25.03) to realize this concept in the ODRL Policy

Removed milestone since it was not discussed in open planning

Arno Weiss as Tractus-X-Committer will review the issue after the Data Sovereignty EG has prepared the relevant PR

Added @arnoweiss will be the committer added milestone

first analysis of contract of data sharing partners and bilaterial contract were done with BASF, CX e.V., SAP and Cofinity-X, will be continued and finalized in 25.03


Add upstream codebase

This PR:

merges code from upstream;
changes the import path;
changes all references from the old repo and image registry to the new one;
vendors dependencies.

couple of comments:
1)I see that Dockerfile.kmm-operator-build and Dockerfile.merge still use openshift images. Are we going to fix it now, or just open a ticket a fixed afterwards? ( i am good with both ways, as long as we don't forget it)
2) vendor directory - do we need it in the upstream?

@yevgeny-shnaidman

1)I see that Dockerfile.kmm-operator-build and Dockerfile.merge still use openshift images. Are we going to fix it now, or just open a ticket a fixed afterwards? ( i am good with both ways, as long as we don't forget it)

This is midstream, so I think it's fine to have Red Hat images here.

vendor directory - do we need it in the upstream?

This is midstream, so I think we need it unfortunately.


Azure AD Connect: Updates to attributes

Adding a note for postOfficeBox, as discussed with the PG.
Updating the text for Lync as suggested in another pull request.

@AndKjell,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by Microsoft. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

@billmath - Please review the proposed changes and add an appropriate comment so that automation can take the corresponding action.  Thanks

#sign-off


Bump carbon registry version

Purpose
This PR bumps carbon-registry version to include the UI permission check added to the Registry > Search page in the management console application.
Related PRs

https://github.com/wso2/carbon-registry/pull/407

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/4301715250


Examples are broken

The examples contain references to external resources (e.g. "github.com/go-gl/examples/data/bitmap_font.png"), which do not exist.
Edit: Sorry, I intended to put the issue in the gltext repo. But I guess this repo is part of the issue. However the gltext examples are broken!

However the gltext examples are broken!

Where do you see gltext examples? Are you looking at a very old commit of this repository?
In any case, gltext is in poor shape and not supported. No one seems to have bandwidth for it. See https://github.com/go-gl/gltext/issues/21. I'll close it because there's no issue in this repository (this repository is actively supported and in good shape).


256-long output states

Hey,
I'm trying to get 256-long output state in Node Red. Checked output_states and output_states_256 after decode and there is no message with topic output_states_256.
Should be something set up on the side of Satel Integra?

Found typo in my project.
Closing.


Let Closure strategy work better with other listeners/subscribers

Fixes #1363

thanks ;)

Can we get a new tagged version that contains this fix?


Help with adding Form Controls to Excel file using Open XML C#.

Hi there,
I am using Open XML SDK in one of the projects I am currently working on to create Excel file that would need to have Check boxes(Form Controls not ActiveX controls) in some of the cells. The problem I have is that no matter what I try for adding those controls it simply doesn't work. I even tried getting the code with Open XML Productivity Tool to see how they are added but that also didn't work, it added VmlDrawingsPart to the Excel file but the Check Boxes were not visible. Also i looked for documentation on how to add FormControls but was unsuccessful in finding it.  So I was wondering if it is even possible to add Controls to excel file using Open XML and if it is could you help me with code or documentation on how to do it.
Thanks in advance.

Hi @bo12l, For "how-to" questions like this, please post to stack overflow, using the openxml-sdk tag.


syntax/make.vim updates

A few small changes:

don't generally parse strings in make code
also highlight file names in 'include' lines
and some cleanup and housekeeping

the maintainer seems to be inactive. Would you volunteer to maintain that file?

Codecov Report

Merging #5315 into master will increase coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #5315      +/-   ##
==========================================
+ Coverage   82.24%   82.25%   +0.01%
==========================================
  Files         134      134
  Lines      147605   147605
==========================================
+ Hits       121392   121412      +20
+ Misses      26213    26193      -20

Impacted Files
Coverage Δ

src/terminal.c
81.77% <0%> (ø)
:arrow_up:

src/window.c
88.3% <0%> (+0.03%)
:arrow_up:

src/os_unix.c
63.5% <0%> (+0.04%)
:arrow_up:

src/gui_gtk_x11.c
58.16% <0%> (+0.04%)
:arrow_up:

src/gui.c
63.78% <0%> (+0.05%)
:arrow_up:

src/term.c
81.12% <0%> (+0.05%)
:arrow_up:

src/if_xcmdsrv.c
86.35% <0%> (+0.17%)
:arrow_up:

src/ui.c
72.32% <0%> (+1.19%)
:arrow_up:

Continue to review full report at Codecov.

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

Roland already took over maintenance :-). I'll include it, thanks.

that should be mentioned in the runtime file then :/

ah, I missed, that it is already there. Sorry.


Hang when debugging Python library.

VSCode Version: 1.28.2 (1.28.2)
OS Version: MacOS Mojave 10.14 (18A391)

Hi All, today I want to debugging one python library call molecule but failed. Hanging in debug mode without step in, step out, continue etc.
Here is my lauch.json:
        {
            "name": "Python: Molecule Test",
            "type": "python",
            "request": "launch",
            "pythonPath": "~/Working/VirtualEnv/python2/bin/python",
            "program": "~/Working/VirtualEnv/python2/bin/molecule",
            "args": [
                "destroy"
            ],
            "console": "integratedTerminal"
        }

Here is my screenshot of VSCode:

Is anyone have same issue with me?

https://github.com/Microsoft/vscode-python/

Okay thank you! @Tyriar


[Q] required_if fieldname by JSON tag

Is it possible when using the required_if validator (or any other validator that will use another field as a parameter) to use the json tag value as a parameter instead of the field's name?
For example:
type MyStruct struct {
    AField string `json:"a_field"`
    BField string `json:"b_field" binding:"required_if=a_field foo"`
}

By default I can only use "required_if=AField foo" for the binding to make it work. Is it possible to somehow use the json tag value for a validator like this? So the binding would become "required_if=a_field foo"
I have already registered a TagNameFunc but I guess thats only works when returning error messages. Thanks in advance!

Thanks for the question, but with default validators, it's not possible, but using a custom validation function you could do that if you really wish to.
https://pkg.go.dev/github.com/go-playground/validator/v10#hdr-Custom_Validation_Functions


Update course-2022-01-06 Session 6 Notes.md

Outlining correction

Are they mis-indented? could you fix the merge conflict?

nvm, just pushed a fix to it

there's also a nice to have newline before "Notes for Chapter 10:"
X)


typia with vite js in development mode: refresh gives the penultimate code version

Summary
Using typia with vite js (vanilla typescript). Follow all the typia setup instructions. When saving file in visual studio code (ctrl+S), vite reload the application, but not the latest code, the penultimate code (second last). So I need to do twice CTRL+S to really refresh.
You can reproduce the code as follow:
clone this repo : https://github.com/jlg-formation/tsr-dec-2022
go to the front directory, and run npm run dev.
Update some part of the typescript code.
do CTRL+S. It refreshes the penultimate code.
do again CTRL+S. It refreshes the last code.
Expected:
One CTRL+S should be enough.
Note that if in the vite.config.ts file you remove the ttypescript plugin, only one CTRL+S is needed (as usual).
So the problem is related with ttypescript and may be typia plugin.

https://github.com/samchon/typia/issues/259
https://github.com/vitejs/vite/issues/10952
It is a bug from vite, but seems something hard.
Sorry for cannot be helpful.

if vite is currently not supported, it is hard to be used in actual production

@hanayashiki @jlguenego No way right now, just click save button twice.
If this vite bug does not be fixed for a long time, what about making a plugin automatically save twice whenever click the save button?

Will support through #509


Add missing space

The heading  of markdown needs one space after sharp.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

CONTRIBUTING.md
:white_check_mark:Succeeded

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


wasm-bindgen-macro-support fails to compile (nightly)

Describe the Bug
wasm-bindgen 0.2.47 requires wasm-bindgen-macro-support 0.2.47, which fails to compile. I am using yesterday's rustc 1.37.0-nightly (433a46781 2019-06-28). I was also using rustc 1.33.0-nightly and it happened there too, and upgrading didn't fix it. I should note this happens with both wasm-pack build and regular cargo check for the current arch.
Expected Behavior
It should compile silently.
Actual Behavior
This is the output of RUSTFLAGS="-Z external-macro-backtrace" cargo check:
   ...
   Compiling wasm-bindgen-macro-support v0.2.47
error: cannot find macro `quote!` in this scope
    |
   ::: /Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/wasm-bindgen-macro-support-0.2.47/src/parser.rs:917:19
    |
917 |               path: syn::parse_quote! { wasm_bindgen::prelude::__wasm_bindgen_class_marker },
    |                     ------------------------------------------------------------------------ in this macro invocation
   --> <::syn::parse_quote::quote_impl macros>:1:28
    |
1   |   ( $ ( $ tt : tt ) * ) => { quote ! ( $ ( $ tt ) * ) } ;
    |   ---------------------------^^^^^----------------------- in this expansion of `quote_impl!`
    |
   ::: <::syn::parse_quote::parse_quote macros>:1:1
    |
1   | / ( $ ( $ tt : tt ) * ) => {
2   | | $ crate :: parse_quote :: parse (
3   | | $ crate :: export :: From :: from ( quote_impl ! ( $ ( $ tt ) * ) ) ) } ;
    | |_____________________________________-----------------------------_______- in this expansion of `syn::parse_quote!`
    |                                       |
    |                                       in this macro invocation

error: aborting due to previous error

Additional Context
Here's my Cargo.lock for the workspace. https://gist.github.com/cormacrelf/a9c4ffbcf829c57aa293c87233ee11bd

Seems to have been resolved by a cargo update which upgraded syn 0.15.22 to 0.15.39. Not sure why that wouldn't have happened already, but there you go.


Convenience API for QPs

Currently, the interface for QPs is like this:
params_obj = (Q, c)
params_eq = (A, b)
params_ineq = (G, h)

osqp = jaxopt.OSQP()
osqp.run(init, params_obj, params_eq, params_ineq)

I propose that we also add the following convenience API:
def guaranteed_quadratic_function(params, params_obj):
   [...]

osqp = jaxopt.OSQP(fun=guaranteed_quadratic_function)
osqp.run(init, params_obj, params_eq, params_ineq)

The idea is that we can, internally, automatically compute Q and c for the user using AD
grad = jax.grad(self.fun)
c = grad(zeros, params_obj)
Q = jax.jacobian(grad)(zeros, params_obj)

Similarly, for solvers like OSQP that can leverage matvecs, we can derive the matvec of Q automatically.
CC @Algue-Rythme

or maybe
def guaranteed_quadratic_function(params, *params_obj):
   [...]

instead

Good idea, I will take a look !


Fixes 291: Add iqe-tests to pr_check

HMSCONTENT-291

I only see the dummy.dummytest (from (junit-dummy.xml))  test, should i see more with this?  (or do we have to merge it first)?

@mshriver question for you^

@jlsherrill yep! @swadeley check out the rest of the pr_check file - it has a block at the end that is a stop-gap for the fact that tests weren't actually being executed in the default bonfire cicd scripts.

/retest

/retest

/retest

/retest

Navigation failure in one test, otherwise check is executing as expected.

Its a Permission error in UI: "You do not have access to Repositories"

/retest

/retest

The failure is not impacted by this PR's content, I'm going to merge to enable pr_checks to run the tests.

Thank you


Add misa to list of state initialized on reset

In the privileged ISA document, section 3.3, "Reset", add CSR misa to the list of state that must be initialized on reset.  The need to initialize misa is made clear in section 3.1.1; however, section 3.3 fails to include misa in its list of state that must be initialized, leaving the state of misa reportedly "unspecified" after reset.

Thanks for pointing that out.


Update Design - Consults Changes

Title of ticket: Update Design - Consults Changes
Description
Design updates discussed to consult screen
Dependencies
Are there any dependencies?
DOD

[x] Remove Public Body Check-Boxes
[x] How will consult look in Queue?

Consult in Queue - my goal with to keep consistency, let me know if you have any changes: https://jacklyn808742.invisionapp.com/console/share/3W2O64AP5C/768088422
Consult Page Updates - let me know if they're are any additional changes https://jacklyn808742.invisionapp.com/console/share/3W2O64AP5C/844636637


ScoreKeeper DynamoDB Setup instructions have the wrong primary key type

DynamoDB Setup instructions in the README for the ScoreKeeper sample say to use "Hash" as the primary key type when it should be "String".

Hi,
i am working on to setup scorekeeper for alexa from the link
https://github.com/amzn/alexa-skills-kit-java/blob/master/samples/src/main/java/scorekeeper/README.md.
I have setup everything as mentioned in the link but while doing testing from Service Simulator, i am getting following error in lambda (CloudWatch)
Class not found: scorekeeper.ScoreKeeperSpeechletRequestStreamHandler: class java.lang.ClassNotFoundException
java.lang.ClassNotFoundException: scorekeeper.ScoreKeeperSpeechletRequestStreamHandler
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
Can you please guide in getting this resolve. Thanks.


ZRS is not supported on ADLS Gen2 at Japan East yet.

[Enter feedback here]
ZRS is available at Japan East.
https://docs.microsoft.com/en-us/azure/storage/common/storage-redundancy-zrs?toc=%2Fazure%2Fstorage%2Fqueues%2Ftoc.json
But it is not available on ADLS Gen2 at Japan East.

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

ID: 4f41dfad-9591-8a8d-6119-259d90da18c7
Version Independent ID: f4bc3316-a230-a486-d1f7-69962ec8030e
Content: Upgrade your big data analytics solutions from Azure Data Lake Storage Gen1 to Azure Data Lake Storage Gen2
Content Source: articles/storage/blobs/data-lake-storage-upgrade.md
Service: storage
GitHub Login: @normesta
Microsoft Alias: normesta

@yuharucan , Thanks for the Comment. We are actively investigating and will get back to you soon.

Hello @yuharucan . Thank you for making us aware of this issue. The issue has now been resolved and ZRS is available on ADLS Gen2 in Japan East.

#please-close


Changed font color for more contrast on screens that use redshift

Having the font be a weird gray color made it tough to read on a screen using redshift.  This pull makes the font almost pure black for better contrast.

Very nice :+1:


Can only type some letters (wfjzn)

Issue Type: Bug
I cannot type any letters other than 'w' 'f' 'j' 'z' 'n' in the application (the text editor and all other input fields). I did ont install any extensions.
VS Code version: Code 1.44.2 (ff915844119ce9485abfe8aa9076ec76b5300ddd, 2020-04-16T17:50:03.709Z)
OS version: Linux x64 5.2.17-1rodete3-amd64

System Info

Item
Value

CPUs
Intel(R) Xeon(R) CPU @ 2.20GHz (64 x 2200)

GPU Status
2d_canvas: unavailable_softwareflash_3d: unavailable_offflash_stage3d: unavailable_offflash_stage3d_baseline: unavailable_offgpu_compositing: unavailable_offmultiple_raster_threads: enabled_onoop_rasterization: unavailable_offprotected_video_decode: unavailable_offrasterization: unavailable_offskia_renderer: disabled_off_okvideo_decode: unavailable_offviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabled_readbackwebgl2: unavailable_off

Load (avg)
2, 2, 1

Memory (System)
56.60GB (7.15GB free)

Process Argv
--no-sandbox --unity-launch

Screen Reader
no

VM
0%

Extensions: none

A browser window is opened to submit this issue from the appli

I also have this problem. I have no idea what caused it. I've tried everything. I reinstalled the program without any extensions, but the problem still exists.
I noticed that double clicking the alt key brings you back to typing. The problem reappears when switching between other programs. It looks like focus and defocus on vscode window isn't working properly.
VScode version: 1.47.2
System: Pop!_OS 20.04 LTS
Shell: Gnome 3.36.3

Are there any updates on this? I'm having the exact same issue (can only type wfjzn). If I alt-tab away and then back to vscode it allows me to type as normal for a fraction of a second before the problem reappears. I have reinstalled vscode several times and the problem reoccurs every time. I have no extensions installed.
Code version: 1.48.1
OS: Ubuntu 20.04.1 LTS
The problem is not present for me in Code-Insiders version 1.49.0.

Is this still an issue with latest insiders https://code.visualstudio.com/insiders ?


Failure to render with "additionalProperties": True

django-reactive version: 0.0.10
Django version: 3.1.8
Python version: 3.8.6
Operating System: ubuntu buster (python buster-slim container, running on OSX via docker),

Description
First, thanks for the library. It seems like early stages but this has the potential to become a n elegant solution to a lot of problems storing semi structured data in django+postgres.
I attempted to use a schema with the additionalProperties attribute set to True. This causes the form (in this case, for the 'tags' field) not to be rendered in django admin:

Because JSON schema are able to use $REFs, it may not always be possible to force additionalProperties to false - and it's certainly not desirable, because it's good to be able to use the schema.
What I Did
I got the documented example to work and render the form in django admin.
Then I attempted to use the following schema:
Fails to render form

    tags = ReactJSONSchemaField(
        schema={
            "title": "Fails with additionalProperties True",
            "type": "object",
            "required": [
                "timezone",
            ],
            "properties": {
                "timezone": {
                    "type": "string",
                    "title": "Timezone",
                    "description": "Because met mast data files don't include timezone. Sigh!"
                },
            },
            "additionalProperties": True
        }
    )

The console output in chrome devtools shows:
**react-dom.js?Expires=1619868979&GoogleAccessId=stuff TypeError: Cannot convert undefined or null to object**
    at keys (<anonymous>)
    at utils.js:541
    at oe (utils.js:600)
    at B (utils.js:260)
    at r.value (Form.js:65)
    at new r (Form.js:35)
    at Yg (react-dom.js?Expires=1619868979&GoogleAccessId=stuff:68)
    at rh (react-dom.js?Expires=1619868979&GoogleAccessId=stuff:98)
    at zj (react-dom.js?Expires=1619868979&GoogleAccessId=stuff:228)
    at Th (react-dom.js?Expires=1619868979&GoogleAccessId=stuff:152)
Me @ react-dom.js?Expires=1619868979&GoogleAccessId=stuff:125
Ih.c.callback @ react-dom.js?Expires=1619868979&GoogleAccessId=stuff:138
Wg @ react-dom.js?Expires=1619868979&GoogleAccessId=stuff:67
oj @ react-dom.js?Expires=1619868979&GoogleAccessId=stuff:127
Aj @ react-dom.js?Expires=1619868979&GoogleAccessId=stuff:160
unstable_runWithPriority @ react.js?Expires=1619868979&GoogleAccessId=stuff:25
Da @ react-dom.js?Expires=1619868979&GoogleAccessId=stuff:60
ab @ react-dom.js?Expires=1619868979&GoogleAccessId=stuff:154
Te @ react-dom.js?Expires=1619868979&GoogleAccessId=stuff:146
Ja @ react-dom.js?Expires=1619868979&GoogleAccessId=stuff:224
md @ react-dom.js?Expires=1619868979&GoogleAccessId=stuff:173
(anonymous) @ react-dom.js?Expires=1619868979&GoogleAccessId=stuff:175
Rh @ react-dom.js?Expires=1619868979&GoogleAccessId=stuff:147
nd @ react-dom.js?Expires=1619868979&GoogleAccessId=stuff:175
I.render @ react-dom.js?Expires=1619868979&GoogleAccessId=stuff:238
djangoReactiveRenderForm @ django_reactive.js?Expires=1619868979&GoogleAccessId=stuff:76
(anonymous) @ (index):518

**react-dom.js?Expires=1619868979&GoogleAccessId=stuff:161 Uncaught TypeError: Cannot convert undefined or null to object**
    at keys (<anonymous>)
    at utils.js:541
    at oe (utils.js:600)
    at B (utils.js:260)
    at r.value (Form.js:65)
    at new r (Form.js:35)
    at Yg (react-dom.js?Expires=1619868979&GoogleAccessId=stuff:68)
    at rh (react-dom.js?Expires=1619868979&GoogleAccessId=stuff:98)
    at zj (react-dom.js?Expires=1619868979&GoogleAccessId=stuff:228)
    at Th (react-dom.js?Expires=1619868979&GoogleAccessId=stuff:152)

(don't worry about google access id stuff, that's just the bucket I serve my static assets from)
By systematically comparing various missing / extra bits compared to the given example, I got the following schema to work:
Works:
    tags = ReactJSONSchemaField(
        schema={
            "title": "Works with additionalProperties False",
            "type": "object",
            "required": [
                "timezone",
            ],
            "properties": {
                "timezone": {
                    "type": "string",
                    "title": "Timezone",
                    "description": "Because met mast data files don't include timezone. Sigh!"
                },
            },
            "additionalProperties": False  # Also works if omitted, since False is default
        }
    )

Suggestion
Whilst it's certainly possible, it's a big undertaking to create a form which will allow on-the-fly creation of additionalProperties. So, maybe you don't actually want to do that. But even if you're not providing the scope for creating that additional data in django admin, I think the widget needs to not crash if the schema allows for it.
That way, the schema that you use for form generation can be made reusable.

@thclark
Thanks for such a detailed ticket. I really appreciate the feedback and the time you put into it.
Definitely, the usage of additionalProperties is not supported in the library at the moment and we mention this in the README: https://github.com/CoverGenius/django-reactive#limitations. I agree, the library should fail it more gracefully though. I'm sorry for the time you spent to debug this problem.
This feature is something that we don't need at the moment at CG. But I agree, there are some good use cases for it, so I would like to implement support for it if it's possible.
Unfortunately, it's unlikely I will be able to work on it in the next month or longer due to some personal circumstances. But if you decide to work on a solution yourself, I and the team will be more than happy to merge it. Please, ping me, @jordaneremieff, @WenminZhao or @rabbit-aaron if you need some help with this. One of us should be here to review your code and release a new version. Otherwise, I will try to dedicate some time later in the year to work on this ticket.

Thanks @tyomo4ka - sorry, I'd obviously not absorbed that limitation in the docs, just got the example and went for it!
I'm suffering from long covid myself, and struggling to make it through a work day, so probably won't get the energy to make a PR for this. But will definitely keep an eye on the project, keep it up!


Datatable - No buttons "Create, Export,..." at upper left

I just wonder if it's normal that there is no button "Create, Export, ..." on the upper left as displayed in this example https://www.youtube.com/watch?v=YC0YXrAF4SA which I followed.
I use Laravel8
Is there any place where we can find a working example that can serve as reference?

I forgot this command : php artisan vendor:publish --tag=datatables-buttons
That said I don't undertand why I did not see any error when I did my first trial, and today, no pb I saw this error "Erreur Uncaught Cannot extend unknown button type: create" that conducts me to the solution.


[Mac, Linux] refactor Mac platform into POSIX base

Here's a refactor of the Mac platform into a POSIX base. (On my end, I did the full refactor of Mac and Linux platforms, then rebased away the Linux changes.) This PR does so without introducing the Mono dependency; just moving code around.
/cc @jrbiggs, #810
/cc @chrisd8088 fyi!

/azp run GitHub VFSForGit Mac Functional Tests

/azp run GitHub VFSForGit Mac Functional Tests

/azp run GitHub VFSForGit Mac Functional Tests

@kivikakk @chrisd8088, @kewillford and I have been unable to kick off the Mac functional tests and we suspect it may be due to the merge conflict in GVFS/GVFS.Platform.Mac/MacPlatform.Shared.cs.
Could you resolve this conflict and we'll try kicking off the tests again?

OK @wilbaker, I've rebased on the latest master and resolved the conflicts and changes which can with that, and all the CI tests pass except the one which seems "stuck".

/azp run GitHub VFSForGit Mac Functional Tests

All test passing. Let me know if this looks okay; cc @wilbaker @jrbriggs.

/azp run GitHub VFSForGit Mac Functional Tests

Looks like Mac Functional Tests timed out after running for more than 3 hours (but passed as far as it got?).

/azp run GitHub VFSForGit Mac Functional Tests

Suggestions taken up 👍

Curious if the following will work for me:

/azp run GitHub VFSForGit Mac Functional Tests

/azp run GitHub VFSForGit Mac Functional Tests

/azp run GitHub VFSForGit Mac Functional Tests

Thanks for your patience with this! :heart:


Unable to add new repo

Ran through a fresh install, using gitlab-ce-8.1.3 on Amazon Linux 2015.09.
When I execute:
./add_mirror.sh --git --project-name zzzz --mirror git@bitbucket.org:acme/zzzz.git
I get back:
Resolving gitlab remote.
Traceback (most recent call last):
  File "lib/manage_gitlab_project.py", line 105, in <module>
    found_project=createproject(project_name)
  File "lib/manage_gitlab_project.py", line 72, in createproject
    'namespace_id': git.find_group(name=gitlab_namespace).id,
AttributeError: 'NoneType' object has no attribute 'id'
There was an unknown issue with manage_gitlab_project.py

The group is Mirrors, under the user gitmirror, per the install guide. The ~/privatetoken is set up as well.

Have you created the Mirror group in GitLab first?  That's a manual step.


Typo fix: remove extra 'scope'

Correct me if scope can actually be set to scope. :)

Coverage remained the same at 36.782% when pulling 480e7c025d1312efbfd04354d4496a9a4e8d66d2 on fureigh:patch-2 into a5390a50b6e8ab83c47c6c64c379c4daf10aa4dc on keeppythonweird:master.

Hah! Nice catch, thanks very much @fureigh :D

I think there is a third scope that we were trying to use here (the default scope, something like 'function'?) but I'm having some trouble finding the docs - @mtomwing ?


make_batch2 in textworld.gym

The following code to train the agent, uses make_batch2. But I have come up with error:
module 'textworld.gym' has no attribute make_batch2
But now the textworld.gym does not have make_batch2. I have checked Textworld.doc but I haven't found the make_batch2 module there.
Can you tell me the alternative code to do the same task as below:
env_id = make_batch2(env_ids, parallel=True)
env = gym.make(env_id)
env.seed(episode_no)

obs, infos = env.reset()
batch_size = len(obs)

The QAit code was developped using the following TextWorld version:

pip install https://github.com/Microsoft/TextWorld/archive/rebased-interactive-qa.zip

*We cannot guarantee reproducibility nor compatibility with recent versions of TextWorld

For completeness, see https://github.com/microsoft/TextWorld/issues/273 to see how to replace make_batch2 when using a recent version of TextWorld.
Note fixing that is not enough to make the QAit code compatible with recent versions of TextWorld.


invoker tests with postgres

closes #3

@h1alexbel thank you for your Pull Request. I'll assign someone to review it soon.
If this PR solves a todo from the code, please don't forget to remove it.