GrantType Questions

I am trying to implement authentication with OAuth but I am experiencing problems initially in these two situations:
1 - The framework I'm using to build the API says the following:

Tokens are refreshed through the same endpoint, but with a payload that only contains the refresh token and grant_type=refresh_token.

grant_type=refresh_token&refresh_token=kjasdiuz9u3namnsd

How can I handle this?
2 - What would be the best way to enter customer and service settings (eg client id, endpoint, secret) without placing them directly in the code. I would like to use the same code for different requests and users, configuring without being directly in the code.
Thanks for all,

In regards to #1, that's completely normal for OAuth2 providers. When you call .setTokenUrl('...') you are setting the URL to be used for both exchanging a code for a token and for refreshing tokens. The library handles all of the refresh logic for you.
For #2, it's usually best to have a single client ID for your code rather then require every user to register their own. If not possible or feasible, then you could build a UI for your script that allows the user to enter the information and then you store it in user properties.

Okay, I had problems with the construction of the connector using the OAUth flow steps but I think that due to specific API issues I'm using.
Thanks for this.


Update specs2-core to 4.12.10

Updates org.specs2:specs2-core from 4.12.9 to 4.12.10.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.specs2", artifactId = "specs2-core" } ]

labels: test-library-update, semver-patch

Codecov Report

Merging #37 (9b444d0) into master (252fb5f) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #37   +/-   ##
=======================================
  Coverage   31.78%   31.78%
=======================================
  Files          17       17
  Lines         258      258
  Branches        6        6
=======================================
  Hits           82       82
  Misses        176      176

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 252fb5f...9b444d0. Read the comment docs.

Superseded by #38.


[Improvement]: ams dashboard fully support i18n

Search before asking

[X] I have searched in the issues and found no similar issues.

What would you like to be improved?
so far,  the i18n support of ams dashboard is very limited: Menu items Only.
How should we improve?
All views should support i18n.
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Subtasks
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Can this issue be assigned to me?

Can this issue be assigned to me?

Absolutely yes.

Can this issue be assigned to me?

Absolutely yes.

Thanks you! I will complete it in recent days.


Fetching gcdump gives System.ApplicationException: RootIndex not set Error

Hello,
Getting error when fetching gcdump for subsequent flows .
Steps :

Perform some flows in the application.
Fetch gcdump using command /dump, .gcdump is fetched successfully.
Continue the execution once fetching completed i.e."Finished writing xyz bytes" comes on Debug console.
Perform few more flows and fetch gcdump again with command /dump
It gives  this error
Now, restart execution and error is gone.
But I need snapshots in real time to compare dump files, please let me know how can this be resolved.

ERROR] System.ApplicationException: RootIndex not set.
at Graphs.Graph.AllowReading() in /Users/nromanov/Work/DotNet.Meteor/src/DotNet.Diagnostics/src/Tools/dotnet-gcdump/DotNetHeapDump/Graph.cs:line 241
at Graphs.MemoryGraph.AllowReading() in /Users/nromanov/Work/DotNet.Meteor/src/DotNet.Diagnostics/src/Tools/dotnet-gcdump/DotNetHeapDump/MemoryGraph.cs:line 100
at Microsoft.Diagnostics.Tools.GCDump.CollectCommandHandler.TryCollectMemoryGraph(CancellationToken ct, Int32 processId, String diagnosticPort, Int32 timeout, Boolean verbose, MemoryGraph& memoryGraph) in /Users/nromanov/Work/DotNet.Meteor/src/DotNet.Diagnostics/src/Tools/dotnet-gcdump/CommandLine/CollectCommandHandler.cs:line 153
at Microsoft.Diagnostics.Tools.GCDump.CollectCommandHandler.<>c__DisplayClass4_0.b__0() in /Users/nromanov/Work/DotNet.Meteor/src/DotNet.Diagnostics/src/Tools/dotnet-gcdump/CommandLine/CollectCommandHandler.cs:line 100
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__272_0(Object obj)
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Microsoft.Diagnostics.Tools.GCDump.CollectCommandHandler.Collect(CancellationToken ct, Int32 processId, String output, String diagnosticPort) in /Users/nromanov/Work/DotNet.Meteor/src/DotNet.Diagnostics/src/Tools/dotnet-gcdump/CommandLine/CollectCommandHandler.cs:line 109

Hi @kavitap081 ! Can you repost this issue to .NET Diagnostics? I think there are people out there who are better at this =)

I found a solution, I will try to fix it as soon as possible!


[TRACKING] Create a more coherent stats model for libs and consumer

As stated in the most recent libs stats refactor/extension PR #1433: https://github.com/falcosecurity/libs/pull/1433#issue-1955107915, I am creating this issue to track future refactors that, instead of adding more metrics that we urgently need, aim to create a new, more coherent stats model (software interface/API) across scap, lisinsp, and consumers such as Falco.
CC @jasondellaluce

@Andreagit97 answering here re https://github.com/falcosecurity/libs/pull/1433#issuecomment-1807694658

If the final goal is to expose only a Prometheus endpoint using something like https://github.com/jupp0r/prometheus-cpp, are we doing the right thing by exposing a vector of struct scap_stats_v2? At this point we could directly create Prometheus structs in sinsp and expose them to the consumers, so they can add them to the registry and expose them.

The Falco client shall continue to support (1) a simple file sink and (2) the internal rule (JSON formatted) and (3) a prometheus exporter was requested as additional option, but it's not yet on the concrete roadmap, maybe Falco 0.38?
As infrastructures / environments are very complex and vary among adopters I believe each of these option is valid and needed. Personally I have experienced that Prometheus only will not solve all of your problems when looking at monitoring very large and diverse environments holistically and the "bring your own metrics" over the internal Falco rule can shine in terms of simplicity and ease of integration into the existing alert output sink that you have to setup anyways if you use Falco (especially non Kubernetes environments).
That being said if the Prometheus struct will have advantages why not? Furthermore, I think the current scap stats v2 schema is not bad and we would be able to convert to Prometheus easily.
@Andreagit97 since you brought this up I was actually already thinking about How To for Falco. Let me attempt to share some more thoughts. On the one hand we have already decided that we want the Prometheus exporter, on the other hand we have also experienced firsthand that such items are a significant LOE and may be only needed or relevant for some time until the next trend arises (see for example the old k8s client or mesos etc) -- we would not know beforehand.
And maybe instead of a full client we can create a solution that pushes some JSON we already have up (I have to first explore options and learn what's possible).
In summary, I think we should discuss our output sinks in general before rushing into decisions as we have to maintain them as well (more maintenance overhead than our current internal metrics btw) and all we want is some custom metrics to check if Falco goes wonky, it's not our tools primary mission to emit metrics. Maybe @leogr you would have additional thoughts?
Let's also checkout some related projects:

https://github.com/sustainable-computing-io/kepler/blob/main/cmd/exporter/exporter.go
https://www.jaegertracing.io/docs/1.18/operator/

OpenTelemetry should be on our radar as well and lastly for example the jaeger project changed approaches frequently wrt to the output sinks.

There was an additional comment by @Andreagit97 https://github.com/falcosecurity/libs/pull/1433#pullrequestreview-1717437206
First the pain of scap <-> sinsp separation that doesn't really apply to the stats / metrics anyways becomes very evident. Perhaps significant renaming can help for sure.
And in addition yes that get... method will go away in the future in favor of a better approach, likely a lean stats CPP class that integrates with scap more elegantly. First however we need to agree on a design and everyone is so busy right now. That's actually why we agreed on this intermediary patch in the Oct 2023 core maintainers meeting as we will benefit from finally having these metrics in prod around the libsinsp state rather sooner than later.
Therefore, to reiterate the patch in https://github.com/falcosecurity/libs/pull/1433 is an intermediary step only that basically extends the buffer that was initially only created for the sinsp resource utilization metrics.

[1] I always encourage collaboration with SREs to gain insights into their day-to-day approaches. For instance, writing to (log rotated) files and subsequently monitoring them for log transport options is a well-established practice in infrastructure management.
[2] Prometheus: There may be more options to support a Prometheus exporter than implementing a full Prometheus client or adding a new dependency to the project. For instance, Prometheus also supports push, not just pull, and /metrics could be exposed via atomically writing to a file with a POM-compatible string per line containing the metrics. If this approach is suitable for Falco, it would be fast, easy, and low-maintenance. Given that these potential approaches are based on some informal discussions, I would recommend conducting initial experiments.
[3]
I understand that for example scap has undergone numerous refactoring efforts this year. However, transparent plans outlining these changes were not shared or discussed beforehand. I'm curious about the rationale behind treating metrics differently in this refactoring.
Proposing that we move forward with the current PR, deploy and test it in production, and gather real-world data to inform our decision-making process. This data will help us ensure that the project's best interests are met.
I'm eager to collaborate with the team in December and beyond to develop a more cohesive stats model that aligns with our overall objectives. I recognize that the current PR involves significant cleanup of previous metrics code, which is a valuable contribution. Deferring the implementation of a comprehensive stats model until we have gathered more data will allow us to make more informed decisions and avoid overburdening this PR.

Reminder: https://github.com/falcosecurity/falco/pull/2883#issuecomment-1828247361
there are some metrics that could be used just for internal usage, maybe we don't want to expose them to the final user

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Provide feedback via https://github.com/falcosecurity/community.
/lifecycle stale

More ideas for possible follow up PRs by @FedeDP:

[ ] https://github.com/falcosecurity/libs/pull/1652#discussion_r1521019383
[ ] https://github.com/falcosecurity/libs/pull/1652#discussion_r1521015899

Tackled second point here: https://github.com/falcosecurity/libs/pull/1745

/milestone 0.15.0

@incertum: The provided milestone is not valid for this repository. Milestones in this repository: [0.17.0, TBD, next-driver]
Use /milestone clear to clear the milestone.

In response to this:

/milestone 0.15.0

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

/milestone 0.17.0


Tab inside group with conditional refer to select is not changing the data of the field

Bug Report
Tab inside group with conditional that is refer with a selection of value tab is not changing the field correctly inside the tab.
Expected Behavior
The expected behaviour is, when you change the tab into another tab, the field text with data is keep
Current Behavior
Current behaviour is the value inside text field is persist even we switched the tab
Possible Solution
Steps to Reproduce

Create invitation collection
Copy attached code
yarn dev

import { CollectionConfig } from "payload/types";
import ListInvitation from "../components/Invitations/ListInvitation";
import { isAdmin, isAdminOrCreatedBy } from "../utils/accessRole";

const Invitation: CollectionConfig = {
  slug: "invitations",
  admin: {
    useAsTitle: "slug",
    description: "This is where you create your invitation, atm, the system only accept one invitation per-user :)",
    components: {
      views: {
        List: ListInvitation,
      },
    },
  },
  access: {
    read: isAdminOrCreatedBy,
    create: async (ctx) => {
      if (isAdmin(ctx)) return true;

      // check in db how many invitation is already created by the user
      const invitation = await ctx.req.payload.find({
        collection: "invitations",
        where: {
          createdBy: {
            equals: ctx.req.user.id,
          },
        },
      });
      // make sure only one invitation are able to be created by the user
      if (invitation.totalDocs === 0) return true;

      return false;
    },
    update: isAdminOrCreatedBy,
    delete: isAdminOrCreatedBy,
  },
  fields: [
    {
      label: "URL Invitation",
      name: "slug",
      type: "text",
      required: true,
      unique: true,
      // need to add localized to have a unique properties in mongo
      localized: false,
      admin: {
        position: "sidebar",
      },
    },
    {
      label: "Invitation Type",
      type: "select",
      name: "type",
      options: [
        {
          label: "Wedding",
          value: "wedding",
        },
        {
          label: "Metatah",
          value: "metatah",
        },
      ],
    },
    {
      label: "Wedding",
      type: "group",
      name: "wedding",
      admin: {
        description: "Please fill all the details for your next wedding invitation",
        condition: (data) => {
          if (data.type === "wedding") {
            return true;
          }
          return false;
        },
      },
      fields: [
        {
          label: "Identity Details",
          type: "tabs",
          tabs: [
            // Cowok
            {
              label: "Groom Details",
              description: "Here is the detail for the Groom (Male)",
              fields: [
                {
                  label: "Groom Name",
                  type: "row",
                  fields: [
                    {
                      label: "Full Name (Groom)",
                      name: "groom-name",
                      type: "text",
                      admin: {
                        width: "80%",
                      },
                    },
                    {
                      label: "Birth Order (Groom)",
                      name: "groom-birthorder",
                      type: "number",
                      admin: {
                        width: "20%",
                      },
                    },
                  ],
                },
                {
                  label: "Parent Name (Groom)",
                  type: "row",
                  fields: [
                    {
                      label: "Mother Name (Groom)",
                      name: "groom-mother",
                      type: "text",
                    },
                    {
                      label: "Father Name (Groom)",
                      name: "groom-father",
                      type: "text",
                    },
                  ],
                },
              ],
            },
            // Cewek
            {
              label: "Bride Details",
              description: "Here is the detail for the Bride (Female)",
              fields: [
                {
                  label: "Bride Name",
                  type: "row",
                  fields: [
                    {
                      label: "Full Name (Bride)",
                      name: "bride-name",
                      type: "text",
                      admin: {
                        width: "80%",
                      },
                    },
                    {
                      label: "Birth Order (Bride)",
                      name: "bride-birthorder",
                      type: "number",
                      admin: {
                        width: "20%",
                      },
                    },
                  ],
                },
                {
                  label: "Parent Name (Bride)",
                  type: "row",
                  fields: [
                    {
                      label: "Mother Name (Bride)",
                      name: "bride-mother",
                      type: "text",
                    },
                    {
                      label: "Father Name (Bride)",
                      name: "bride-father",
                      type: "text",
                    },
                  ],
                },
              ],
            },
          ],
        },
        {
          label: "Wedding Location",
          name: "wedding-location",
          type: "point",
        },
      ],
    },
    {
      name: "createdBy",
      type: "relationship",
      relationTo: "users",
      access: {
        update: () => false,
      },
      admin: {
        // TODO: this need to be hide whenever the development phase end
        hidden: true,
        readOnly: true,
        position: "sidebar",
        condition: (data) => Boolean(data?.createdBy),
      },
    },
  ],
  hooks: {
    beforeChange: [
      ({ req, operation, data }) => {
        if (operation === "create" || operation === "update") {
          if (req.user) {
            data.createdBy = req.user.id;
            return data;
          }
        }
      },
    ],
  },
};

export default Invitation;

Detailed Description
Payload version: 1.0.19
Browser: Chrome
Database: MongoDB Atlas

@henrytrianta is this issue available to work on?

@henrytrianta is this issue available to work on?

As far as I know, none of the maintainers have started this one.

Hey @henrytrianta — this is now fixed and will be released in an upcoming patch version shortly!


Support for _react= selector strategy

Hi, I was browsing through Playwright docs and noticed that React selectors are experimentally supported. https://playwright.dev/python/docs/selectors/#react-selectors Is there a plan to add this selector strategy to Browser as well?
Describe the solution you'd like
Would be nice to have this added to the available selector strategies https://marketsquare.github.io/robotframework-browser/Browser.html#Finding elements so something like Keyword    _react=Tab[labe="Home"] would be possible.
Describe alternatives you've considered
I guess I could write a JS extension that accomplishes the same by circumventing Browser and calling Playwright directly.
Thank you for this project by the way. I used to work with Selenium for a long time and it is great to have such a powerful library that goes a different way!

We pass in the selector as is (unless it's frame piercing selector) to the playwright side. Because we don't alter the selector, I would assume I would assume that everything listed in NodeJS would just work out of the box.

Interesting, the selector strategy indeed works, I should've realized that. And I managed to assert visibility over some of the react components, but not for others. I tried it with just "Playwright for Python" and it's the same problem.
What I am trying to do exactly:

I Downloaded and built (unminified) React app from https://github.com/alexanmtz/material-sense
With RF Browser I'm trying to do the following:

*** Settings ***
Library   Browser

*** Variables ***
${page}    http://localhost:8000

*** Test Cases ***

Check React elements
    Setup browser and context
    New Page    ${page}
    Wait For Elements State
    ...    _react=Tab[label = "Home"]

I do something similar with Playwright for Python with the same results. In both cases, the assertion times out because for some reason the element is deemed not visible.
However, for some elements of the app it works, for example asserting visibility of _react=Topbar works just fine.
I realize now that this is not connected to the RF Browser library but rather it might be something in Playwright proper. React selectors are after all an experimental feature.

Closing because this is a problem in Playwright side.

I created a new issue at https://github.com/microsoft/playwright/issues/10438


Merged ScheduleRunnerSettings into ScheduleRunnerPlugin

Objective
ScheduleRunnerPlugin was still configured via a resource, meaning users would be able to change the settings while the app is running, but the changes wouldn't have an effect.
Solution
Configure plugin directly

Changelog

Changed: merged ScheduleRunnerSettings into ScheduleRunnerPlugin

Migration Guide

instead of inserting the ScheduleRunnerSettings resource, configure the ScheduleRunnerPlugin

The docs.rs links in the doc string is a bit of an anti-pattern. But they actually make sense in this specific situation, and they were already this way before.

Thank you for doing this!


Replace deprecated try! with ?

Removes lots of warnings when building. Special thanks to https://github.com/google/rerast which made this much easier :)

Thanks!


dont work with blade

hello i use .blade.php file and not workint
thx for help

same here with phpstorm 9 + blade

Did you manage to have the plugin working? I've installed it and the plugin is currently active, but no way to make the live template working. I also so not see any Live Template regarding bootstrap in the Preferences...

It only works within a <?php block

this is not working on my mac +php 9, any suggestion? thanks.


Can't run on Mac Os X

I get this error when trying to run on OS X mountain lion:
subliminal
Traceback (most recent call last):
File "/usr/local/bin/subliminal", line 5, in
pkg_resources.run_script('subliminal==0.6.2', 'subliminal')
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 489, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 1214, in run_script
exec script_code in namespace, namespace
File "/Library/Python/2.7/site-packages/subliminal-0.6.2-py2.7.egg/EGG-INFO/scripts/subliminal", line 24, in
File "build/bdist.macosx-10.8-intel/egg/subliminal/init.py", line 18, in
File "build/bdist.macosx-10.8-intel/egg/subliminal/api.py", line 18, in
File "build/bdist.macosx-10.8-intel/egg/subliminal/core.py", line 22, in
File "build/bdist.macosx-10.8-intel/egg/subliminal/videos.py", line 21, in
File "build/bdist.macosx-10.8-intel/egg/enzyme/core.py", line 25, in
File "build/bdist.macosx-10.8-intel/egg/enzyme/strutils.py", line 27, in
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/locale.py", line 496, in getdefaultlocale
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/locale.py", line 428, in _parse_localename
ValueError: unknown locale: UTF-8

To bump this issue. Attempting to grab subs for a file results in:
Traceback (most recent call last):
  File "/usr/local/bin/subliminal", line 9, in <module>
    load_entry_point('subliminal==0.7.5', 'console_scripts', 'subliminal')()
  File "/Library/Python/2.7/site-packages/subliminal/cli.py", line 140, in subliminal
    if not os.path.exists(p)])
  File "/Library/Python/2.7/site-packages/subliminal/video.py", line 63, in fromguess
    return Episode.fromguess(name, guess)
  File "/Library/Python/2.7/site-packages/subliminal/video.py", line 110, in fromguess
    raise ValueError('Insufficient data to process the guess')
ValueError: Insufficient data to process the guess

On OSX Yosemite 10.10.2


How do I update an ASA Module

I have successfully deployed my ASA Module to IoT Edge.  However, when I make a change to my ASA query I don't know how to deploy it.  In IoT Hub, I click on "Set Modules", then "Configure" on my ASA module.  It brings up a dialog on the right side of my screen that shows that I need to update my module.  I click on that button, but the ACR version does not increase, so my IoT Edge does not download a new version.  The only way I could make it work was to delete the module and have it download again.  Could you provide documentation on how to push newly updated ASA modules to the edge?

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

ID: 6d9b59ae-612d-c38f-2060-6a8300fb77fd
Version Independent ID: 4db63f6d-34eb-f373-5c0a-f012504dc6b6
Content: Azure Stream Analytics on IoT Edge
Content Source: articles/stream-analytics/stream-analytics-edge.md
Service: stream-analytics
GitHub Login: @mamccrea
Microsoft Alias: mamccrea

@terrymandin Thanks for the question! We are investigating and will update you shortly.
@mamccrea Could you please look into this issue?

Thanks everyone!  Adding some documentation on deploying and updating ASA modules through Visual Studio Code tools would also be appreciated.  I haven't found much information on them.

Hi terrymandin, ASA edge job update will generate a new Blob SASURL pointing to the updated job plan. The SASURL is located in "ASAJobInfo" of module twin property. The image version won't change per job update. Once you click "update", follow the same workflow as a regular deployment, and you will see update notification logs on device. Let us know if you hit any problem. Thanks!

@terrymandin - We will update the documentation with that information as well. Please let us know if there is anything else we can assist with.

Thanks Xitia!

@terrymandin - We will update the documentation with that information as well. Please let us know if there is anything else we can assist with.

So what exactly was the answer?
Is one required to manually update the "ASAJobInfo"-property in the Module Twin configuration?
So there is no Visual Studio Code Iot Edge Tool command for this?


how to create react app

how to create react app

https://create-react-app.dev/
plz reference the above link


Understanding Lending and Borrowing in DEFI

Title :
Understanding Lending and Borrowing in DEFI
Description :

Lending and Borrowing are one of the major services that take place in financial markets. We all are aware and have some basic knowledge about how these services work in the centralized finance, but what about decentralized finance where there is no centralized authority like banks to handle services like loans or to determine a certain interest rate, how are these decisions taken in a decentralised space and how is trust built among lender and borrower ?
With the medium of this talk I would like to answer the above questions and  explain the difference between centralized and decentralized lending and how lending and borrowing work in defi, how supply and borrow rates are determined and how is trust built in defi.
I will be covering the 2 major defi lending protocols in detail - Compound and Aave and explain how does each of them work in detail and also cover the difference between both the protocols.
I will also explain how are these protocols used by various dapps.
DEFI is a vast field and I feel this topic could be great start for beginners to dive into DEFI and understand how do different financial services vary in centralised and decentralised finance and also they will get to know about the 2 major defi lending protocols and their application.

Talk Style :
30 min Regular Talks
Talk Audience Type :
Beginner
About Me:
Hello, I am Drishti Peshwani currently an SWE Intern at Microsoft and a 3rd-year undergrad student.  I am a Web3 enthusiast and have been exploring the Web3 space for quite some time and have also built some Web3 projects. I was one of the 20 fellows who were selected for the Ethereum Women  Fellowship 2022 by ETHIndia and Devfolio. I think this conference is a great way for people to come together and explore various aspects of Web3 and I will be glad to be a part of it by sharing a bit about the things I have learned.
My LinkedIn - https://www.linkedin.com/in/drishti-peshwani/
My Twitter - https://twitter.com/Drishti0901

Hello, @drishtipeshwani  Congratulations on getting shortlisted for a talk at Web3Conf India. Please share your email so that we can take it further.

Thank you !! My Email -<EMAIL_ADDRESS>


Get a public video-chat channel for people to ad-hoc join dev meetings

To avoid people to sign-up beforehand (with me) to get invited for dev meetings, we should allow people to freely / anonymously hop on and off to dev meetings. We need to decide which tool to use. Options:

Paid Slack subscription
Zoom provided by LF
https://zulip.com/
NitroChat / Nitrokey Meet, see https://www.nitrokey.com/news/2020/secure-messenger-and-video-conferencing-sovereign-communication
https://www.microsoft.com/en-us/microsoft-teams/free

* Zoom provided by LF

@kestewart would this be feasible?

@sschuberth - yes,  I'm working through the approvals to set up a new zoom account, that the project can use.

Create a Microsoft account for ORT so we could also use free account of Teams


[Bug] The Sum operation (with multi inputs) outputs wrong result

Description
When compiling following model, TVM will produce wrong result. The model(with ONNX as frontend) with error is as follows, check bug.onnx in reproduce.zip
The semantic of the model is to sum up input tensors with five times. For example, the first element in the input tensor is -0.7491791248321533, so the first element in output should be -0.7491791248321533 * 5 = -3.74, however, the element in the output is -11.986866.

How to reproduce
Expected behavior
Output should be as follows:
 [array([[[[-3.7458956 ,  2.2319033 ,  4.721547  ]],

        [[-2.5541332 , -1.010938  , -1.2561022 ]],

        [[-2.432028  ,  2.1270378 , -2.2868755 ]]],

       [[[ 0.14414614, -3.7024972 ,  3.4796305 ]],

        [[ 1.8737267 ,  0.38758603,  1.1408547 ]],

        [[-2.7563024 ,  3.4405584 , -3.7759078 ]]]], dtype=float32)]

Actual behavior
This is the output of running model with TVM compiled.
[[[[-11.986866     7.142091    15.108952  ]]

  [[ -8.173226    -3.2350018   -4.019527  ]]

  [[ -7.78249      6.806521    -7.3180013 ]]]

 [[[  0.46126765 -11.847991    11.134817  ]]

  [[  5.9959254    1.2402753    3.6507351 ]]

  [[ -8.820168    11.009787   -12.082905  ]]]]

Environment
Python3, with tvm, onnx, numpy, onnxruntime(optional)

Download  reproduce.zip

Run python check.py.

To check with the actual output, you could check with the commented code.

I reproduced it as you said and the output seems to be correct.
output_compare

Ohh, my TVM version for testing is too old, I updated the TVM and the output is correct.


Prediction index is wrong with weekly frequency

Description
Gluon-ts uses pandas' date_range function to create an index this will change the start day and shift the following ones.
To Reproduce
import numpy as np

from gluonts.dataset.common import ListDataset
from gluonts.distribution import MultivariateGaussianOutput
from gluonts.model.deepar import DeepAREstimator
from gluonts.trainer import Trainer
from gluonts.evaluation.backtest import make_evaluation_predictions

train_dataset = ListDataset(
    data_iter=[
        {
            "start": "2019-01-01 00:00:00",
            "target": np.ones(shape=(4, 4)),
        },
    ],
    freq="W",
    one_dim_target=False,
)

test_dataset = ListDataset(
    data_iter=[
        {
            "start": "2019-01-01 00:00:00",
            "target": np.ones(shape=(4, 5)),
        },
    ],
    freq="W",
    one_dim_target=False,
)

estimator = DeepAREstimator(
    'W', prediction_length=1, trainer=Trainer(epochs=3, hybridize=False),
    distr_output=MultivariateGaussianOutput(dim=4),
)

predictor = estimator.train(train_dataset)

forecast_it, ts_it = make_evaluation_predictions(dataset=test_dataset, predictor=predictor, num_samples=10)

forecast_list = list(forecast_it)
ts_list = list(ts_it)

Error message or code output
Where ts_list starts on the first sunday it found: '2019-01-06' instead of the provided start date: '2019-01-01'
DatetimeIndex(['2019-01-06', '2019-01-13', '2019-01-20', '2019-01-27',
               '2019-02-03'],
              dtype='datetime64[ns]', freq='W-SUN')

Environment

Operating system: Amazon Linux
Python version: 3.6
GluonTS version: a5539612 internal

Gluonts aligns time stamps to the pandas frequency. Since "W" is short for "W-SUN", all time stamps in the dataset are aligned to sundays.  We can relatively easily include support for other pandas frequencies such as "W-TUE", which would be weekly time series with time stamps falling on tuesdays.
What we cannot easily support are a dataset with weekly time series where each series can start on a different day, because the feature processing relies on global time stamps that all time series align with.
Would the inclusion of additional frequencies like "W-TUE" solve your problem?

Hi,
The inclusion of additional frequencies would definitely help as one can have more control. However, this feature should also be supported by the estimator as the DeepAREstimator is the one complaining about 'W-MON' for example.
On the other hand we loose important information on the time features side as repeating weekly on a Wednesday shouldn't be the same as repeating every week on a Sunday (or at 1pm vs 8am).
We can still add those as static features but it seems like a hack. Do you think there is a better way to keep this information?
Thanks a lot !

I think there is a mismatch between how we understand frequencies and how you want to use them.
We generally use them as aggregates, in the sense that, for example, we sum up all electricity consumption over a week. We then align any time-stamp of a week to the same representative datetime-value.
I assume your use-case is different, and you have events which occur once a week (rather than being the accumulation of that week), and thus the day-information matters.
When adding time-features, we don't add information about finer granularities. (E.g. for monthly frequency we use the month and the year, but not the day).

We can still add those as static features but it seems like a hack. Do you think there is a better way to keep this information?

Yes, and no. I think the time features we add are also only static features, so there is no real difference here. I certainly see that there could be a way to enable finer granularities when adding time-features, re-using existing code.

Is there any update related to supporting weekly frequency for any day of the week instead of default Sunday week frequency?


Link env variables reference to summary

Shouldn't the references/environment-variables show up in the https://kontena.io/docs/ ToC anways? Or is the docs site just trailing behind git master?

Oh... I suppose the new docs site uses the SUMMARY.md as the ToC? Are the old ToC headers not used anymore?


[MRG] Create MANIFEST.in

Hey-lo,
I'm building a version of scikit-optimize using conda for conda-forge. When possible, we try to include a link to the license file in the meta.yaml specification for the build; doing so requires the license be indexed in an explicit MANIFEST.in file so that it gets included in the source distribution. This pull adds a MANIFEST.in that will bundle the license, other .md files, and other .rst files with the source distribution.

Codecov Report

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

@@            Coverage Diff            @@
##             master     #447   +/-   ##
=========================================
  Coverage          ?   86.43%
=========================================
  Files             ?       22
  Lines             ?     1563
  Branches          ?        0
=========================================
  Hits              ?     1351
  Misses            ?      212
  Partials          ?        0

Continue to review full report at Codecov.

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

Looks uncontroversial to me. Waiting for travis.
Thanks for building a conda forge package!

Travis is happy! Merging :)
Really looking forward to have scikit-optimize as a conda forge package. We should really try to release 0.4 though, lots of nice new gems have been added since then.


Fix/travis allowed failures

Now the travis script for osx builds on osx 10.13/12 (xcode 10.1 and 9.2), with gcc 8, llvm 7, and Apple clang.

About the first point of https://github.com/kit-parco/networkit/pull/271#issuecomment-440222076: I would agree that it is worth to avoid updating python in every build. Are you suggesting to remove it from the homebrew package lists?

Well that kinda depends on which version is pre-installed on the respective images. Sadly this is not listed anywhere so it comes down to experimenting.
I would assume that that the Xcode 10.x images have python 3.7.x pre-installed and the xcode9.x ones have python 3.6.x. In my opinion it could be removed in every build.
At least the conservative way would be to keep the entries in the xcode10 builds (as an upstream build) and remove them from the xcode9 builds (because they are legacy builds to ensure compatibility)

@rbange let's move the discussion https://github.com/kit-parco/networkit/pull/271#issuecomment-440229732 in #275


Add contextual menu component

One application could be to move a measurement to another category.

After #260

I don't those two issues have to be related.

I think this component can reuse the part that renders the menu which also has to be implemented in #260

I think these are different kinds of menus and are unlikely to share an important part of the code.

Okay maybe I need more concrete examples to understand, I don't see how they are different conceptually.
I was imagining that anything that can be used in a dropdown menu could also be used in a contextual menu.
For example if we added support for cascading menus (https://codesandbox.io/s/re2i7e) wouldn't it make sense to have shared code for that?

Maybe I don't see "dropdown" the same way as you. To me it's something potentially much more complex than a contextual menu.

I you think that both will render the same thing, we should have a third issue for that thing (then dropdown and contextual menus just render it using different triggers)

Maybe I don't see "dropdown" the same way as you. To me it's something potentially much more complex than a contextual menu.

I agree with that but I wanted to scope it to just a DropdownMenu not a general Dropdown. I think Dropdown and Menu cannot really be decoupled if we want to support keyboard navigation (you can see it in headlessui's api).
That's also a big difference between those 2 components, contextual menu won't have keyboard navigation and it won't use headlessui I guess.

That's also a big difference between those 2 components, contextual menu won't have keyboard navigation and it won't use headlessui I guess.

I'm not sure about that. In Microsoft Edge for example, both the top-level menus and the contextual menus look the same and support keyboard navigation.

To me it seems that either we need two entirely different things, or just one thing that can be used in two different ways.

I'm not sure about that. In Microsoft Edge for example, both the top-level menus and the contextual menus look the same and support keyboard navigation.

Do you know if the contextual menu can be triggered with the keyboard?

Some keyboards have a key dedicated to it. Otherwise you can use Shift+F10

@targos I modified the API in #260 so that it also can be used as a contextual menu
Closing now as duplicate


Module crypto

ModuleNotFoundError: No module named 'Crypto'

Hi, did you install pronotepy correctly? Run pip install -U pronotepy to install the latest stable release.

@bain3 Hey, everything is up to date but it doesn't work, i also tried to install pycrypto, to remove it and reinstall it, etc but nothing works

The crypto module is from our pycryptodome dependency. Make sure that it's installed. I'm sorry but this is an environment issue, that is kinda hard to debug like this and is out of scope. It looks like the pip command installs the dependency somewhere else and python can't find it. :/

Input, I have this working fine with my main OS and container, both on ubuntu 22.04
I tried two methods

full pronotepy install
a step-wise adding of packages, i.e. adding Crypto, BT4 via pip ... and pronotepy only (!) as folder


Gating run success on (buildMode, emulator) tuple is incorrect

We currently fail to run if we think the user is attempting to run a profile or release build on an emulator.
That's fundamentally the wrong check to perform.  What we mean to check is "do we have the right binary artifacts for the target platform?"  In a world where we provide profile and release x86* engine artifacts and can produce profile and release x86* apps, it's perfectly acceptable to run such things on an emulator.
The current check clashes with our heuristic-based approach for detecting whether the current device is an emulator (there's no fool-proof way to detect if something is an emulator on Android, since people can craft their own system images and report whatever they want to adb).  When the heuristic fails, causing us to think a physical device is actually an emulator (as happens in #10203), the user is prevented from running their release-mode app on their physical device.

The origin of this check is a belief that we should discourage people from profiling on hardware that doesn't reflect the characteristics of the actual target device. If you profile an app in an emulator where you're doing software rendering and the CPU is a quad-core beast and your GPU and CPU can run simultaneously at full power for hours, but your target hardware has a much more powerful GPU than its CPU, does GPU hardware rendering, and throttles the CPU and GPU such that only one can run at a time, and throttles everything when the battery gets hot after 50 seconds, you'll be optimising for wildly the wrong things.

I figured as much.  However, there are times where users need to present (as in: project or cast) Flutter apps during talks and choose to use an emulator to do so.  Being able to produce an optimized build for that purpose would be nice.
Also, there's the fact that this issue combined with #10203 yields a horrible user experience.

#8824 seem related

This would be a nice-to-have feature (perhaps could be enabled through flutter config?, but in practice if performance of a Flutter app in this scenario is critical, there are other ways to get decent performance. Some examples:

Mirroring your Android device
Connecting an Android phone to a projector
Mirroring your iPhone using QuickTime Player
Projecting an iPhone through HDMI

Given these viable alternatives, and the legitimate concerns from @hixie, I'm willing to close this as "by design" if you are, @tvolkert.


Extending RecordTransaction middleware

Hello, I was wondering which would be the most appropiate way to extend the RecordTransaction middleware. The main concern I'm facing is that I want to record additional information from each request, for example body params, aswell as more information about the user and session.
Would happily work on a PR if we can agree on a solution!
Thank you!

Hi @rogercbe,
One way to achieve sending extra information to the current transactions is using the ApmAgent facade. You could do the following in one of your existing middlewares, or create a new for this purpose.
<?php

namespace App\Http\Middleware\Auth;

use Closure;
use AG\ElasticApmLaravel\Facades\ApmAgent;

class MyMiddleware
{
    public function handle($request, Closure $next)
    {
        $response = $next($request);

        try {
            ApmAgent::getCurrentTransaction()->setCustomContext([
                'body' => $request->all(),
                ...
            ]);
        } catch (Exception $e) {
            // The connection with Elastic might fail, better be safe than sorry
        }

        return $response;
    }
}

Thank you, working perfectly with this approach. For anyone having problems with the mappings on APM indexes I followed this thread: https://discuss.elastic.co/t/apm-index-not-refreshing/195884/5
Refreshing the index alone didn't make the trick and the fields could'nt be used for search/operations


fix: Prevent debugger crashing on circuits with no opcodes

Description
Problem*
Resolves #4231
The REPL debugger is not handling the case when the compiled circuit has no opcodes and since it assumes there will be some opcodes, it panics on continue.
Summary*
With this PR, the REPL debugger will start in a "finished" stated in those cases and the DAP will not start the main loop.
Additional Context
This edge case is very unlikely to happen, especially after applying #4185 which changes the default mode for the debugger to Brillig (seems to generate at least a trampoline-like fragment even for empty programs) and after the introduction of debugging instrumentation. Nevertheless it will still be possible (eg. empty program and passing --acir-mode option).
Documentation*
Check one:

[X] No documentation needed.
[ ] Documentation included in this PR.
[ ] [Exceptional Case] Documentation to be submitted in a separate PR.

PR Checklist*

[X] I have tested the changes locally.
[X] I have formatted the changes with Prettier and/or cargo fmt on default settings.

Good to merge once the clippy warning is fixed.


System.ArgumentNullException: 'null string' - Component with String Property

Hello,
a Component with an uninitialized public string property cause a null string exception in "Urho3D\CSharp\Managed\Scene\Serializable.cs" line 284:
case VariantType.VarString:
dest.Set((string) _field.GetValue(ptr));
In my case this property cause the issue:
public string KeyName { get; set; }
If I modified it to "public string KeyName { get; set; } = String.Empty;" then there is no execption.

Thanks for a report. Now null strings are treated as empty strings. If no default value is provided - they wont even be written to saved file. 👍🏻


[8.x] Fix not found records when using implicit model binding and UUID's

My fix proposal I shared here https://github.com/laravel/framework/issues/37549 and @driesvints asked me to do the PR.

The rescue() helper by default has $report = true as the third parameter. Is this an exception that should be reported by the framework?

The rescue() helper by default has $report = true as the third parameter. Is this an exception that should be reported by the framework?

If the exception is thrown because of a typo, IMHO, no, by any mean. If the exception is thrown by another thing (like an error connecting with the DB), you might want to have that reported.

I'm afraid this could hide legitimate errors during development that we may want to know about and could be confusing to debug.
You could always override this method on a base model of your application to customize its behavior.

what about a condition that checks if the environment is on debug mode? I still don't like the idea of a typo generating a 500 error.

Also - just do this?
Route::get('/users/{id}', ...)->whereUuid('id');

Ok, as a short patch I think that works, but in the future I'll make a PR that allow whereUuid to work with model binding.

Ok, I just realized it also works with model binding, I need to do
Route::get('/users/{user:id}', ...)->whereUuid('user');


Closing modal with escape key prevents it from showing again

It appears that there is an issue with closing the modal using the escape key on version 4. I know there are a few issues related to modal display issues, so perhaps it is a regression of some sort?
To trigger the issue, open a modal, press escape, then try opening the modal again. The modal should display, then immediately disappear.
For convenience, here is a script to replicate it on the demo application:
http://thednp.github.io/bootstrap.native/
var el = document.querySelector('button[data-target="#myModal"]'); el.click(); setTimeout(() => {var e = new Event("keydown"); e.keyCode = 27; document.dispatchEvent(e)}, 300); setTimeout(el.click, 1000)

We have also observed this behaviour with clicking on the backdrop to dismiss, and via a data-dismiss attribute.

I cannot duplicate the issue, works for me on EDGE, Opera, Chrome and Firefox.

I'm on Linux (Ubuntu), a colleague also on Linux (Arch Linux) was able to replicate. Will try a different OS to see if I can replicate.

Can't duplicate, too. I close via ESC key and can open modal again.
(using debian testing, latest chromium)

Able to replicate the behaviour on a Mac using Chrome by the following:

Visit http://thednp.github.io/bootstrap.native/
Click the modal button, it works as expected.
Open dev tools. Run the script:

var el = document.querySelector('button[data-target="#myModal"]'); el.click(); setTimeout(() => {var e = new Event("keydown"); e.keyCode = 27; document.dispatchEvent(e)}, 300);

Now when you click the Modal button it consistently shows then disappears.

HTH

Able to replicate on Arch / Chrome too.

Do you guys have a console error?

Here's a recording of it triggering including the console (using the code snippet from the original issue.)

I was also able to replicate on EDGE, chrome and Firefox on Windows 10 with the script above.

@Gazler please test the latest master, demo page also updated.


More Descriptive Names for Layer Parameters

I guess this more of a feature request, but I'm trying to render some visualizations of my model weights from the h5 files and I'm having a hard time figuring out which parameters are which. I have no idea if this would break anything but it seems like giving parameters names in addition to being able to name layers would be fairly straightforward and might be a big help to some people.

Hey @mdering
It's actually possible to do this with Keras.
https://github.com/fchollet/keras/issues/431
However, I too would like further description for the saved models.

this seems like its for visualizing the convolutions, right? I'm actually working on the 3D Conv layers which are still in PR, which is why i'm trying to use an external tool, and while each layer has a bad name (which is my fault), the parameters are just called param_0, param_1, etc. My sense is that param_0 is the weight and param_1 is the bias, based on dimensionality alone (?) but I'm not sure about that.

Aah, right. I am currently experiencing the same problem, but with 5D outputs given by the TimeDistributedConvolution2D layer in keras-extra.
I have begun an issue there today, so perhaps the answer will be the same (seeing as we're both working with similar outputs)?
https://github.com/anayebi/keras-extra/issues/7


Repeated dependency

Hello,
I'm building a little JS library which is a router to use in RactiveJS web apps.
This library will have two direct dependencies (pagejs and object-assign) and another provided one (ractive itself).  The main entry point of the library is its main file, not the bundle file.
I have this library as a NPM module (right now locally) and I have another demo app where I want to use it.
From the demo app, I require RactiveJS because it's an app dependency and I also require my router library.
When I run webpack, Ractive is getting twice into the generated bundle. It seems one for the demo itself and another one for the router library.
I was expecting webpack to be aware that it's the same dependency and thus, only put it once into the bundle.
Am I missing something?
This is the webpack log:
$ webpack -c --display-modules --display-chunks --display-origins -v
Hash: d3d0f28ac53ac87bb2e9
Version: webpack 1.10.5
Time: 3527ms
                  Asset    Size  Chunks             Chunk Names
./dist/js/app-bundle.js  943 kB       0  [emitted]  main
chunk    {0} ./dist/js/app-bundle.js (main) 911 kB [rendered]
    > main [0] ./app/js/app.js
    [0] ./app/js/app.js 2.42 kB {0} [built]
    [1] ../ps-ractive-router/src/index.js 193 bytes {0} [built]
        cjs require ps-ractive-router [0] ./app/js/app.js 10:23-51
        cjs require ps-ractive-router [14] ./app/js/components/home-page.js 10:23-51
        cjs require ps-ractive-router [16] ./app/js/components/user-page.js 10:23-51
        cjs require ps-ractive-router [33] ./app/js/components/layout/search-user.js 13:23-51
    [2] ../ps-ractive-router/src/router-manager.js 990 bytes {0} [built]
        cjs require ./router-manager [1] ../ps-ractive-router/src/index.js 3:31-58
        cjs require ./router-manager [7] ../ps-ractive-router/src/base-app.js 5:20-47
        cjs require ../router-manager [11] ../ps-ractive-router/src/components/base-page-component.js 5:20-48
    [3] ../ps-ractive-router/~/page/index.js 14 kB {0} [built]
        cjs require page [2] ../ps-ractive-router/src/router-manager.js 3:13-28
    [4] (webpack)/~/node-libs-browser/~/process/browser.js 2.02 kB {0} [built]
        cjs require process [3] ../ps-ractive-router/~/page/index.js 1:0-160
    [5] ../ps-ractive-router/~/page/~/path-to-regexp/index.js 5.06 kB {0} [built]
        cjs require path-to-regexp [3] ../ps-ractive-router/~/page/index.js 9:21-46
    [6] ../ps-ractive-router/~/page/~/path-to-regexp/~/isarray/index.js 120 bytes {0} [built]
        cjs require isarray [5] ../ps-ractive-router/~/page/~/path-to-regexp/index.js 1:14-32
    [7] ../ps-ractive-router/src/base-app.js 1.78 kB {0} [built]
        cjs require ./base-app [1] ../ps-ractive-router/src/index.js 4:25-46
    [8] ../ps-ractive-router/~/ractive/ractive.js 423 kB {0} [built]
        cjs require ractive [7] ../ps-ractive-router/src/base-app.js 3:14-32
        cjs require ractive [10] ../ps-ractive-router/src/components/router-component.js 3:14-32
        cjs require ractive [11] ../ps-ractive-router/src/components/base-page-component.js 3:14-32
    [9] ../ps-ractive-router/~/object-assign/index.js 896 bytes {0} [built]
        cjs require object-assign [7] ../ps-ractive-router/src/base-app.js 4:19-43
        cjs require object-assign [11] ../ps-ractive-router/src/components/base-page-component.js 4:19-43
   [10] ../ps-ractive-router/src/components/router-component.js 1.1 kB {0} [built]
        cjs require ./components/router-component [7] ../ps-ractive-router/src/base-app.js 6:22-62
   [11] ../ps-ractive-router/src/components/base-page-component.js 1.29 kB {0} [built]
        cjs require ./components/base-page-component [1] ../ps-ractive-router/src/index.js 5:26-69
   [12] ./app/views/app.html 810 bytes {0} [built]
        cjs require ../views/app.html [0] ./app/js/app.js 12:20-48
   [13] ./app/js/config/routes.js 1.06 kB {0} [built]
        cjs require ./config/routes [0] ./app/js/app.js 18:20-46
   [14] ./app/js/components/home-page.js 714 bytes {0} [built]
        cjs require ../components/home-page [13] ./app/js/config/routes.js 9:26-60
   [15] ./app/views/home-page.html 89 bytes {0} [built]
        cjs require ../../views/home-page.html [14] ./app/js/components/home-page.js 12:25-62
   [16] ./app/js/components/user-page.js 1.74 kB {0} [built]
        cjs require ../components/user-page [13] ./app/js/config/routes.js 13:26-60
   [17] ./app/views/user-page.html 292 bytes {0} [built]
        cjs require ../../views/user-page.html [16] ./app/js/components/user-page.js 12:25-62
   [18] ./app/js/components/user/profile-section.js 652 bytes {0} [built]
        cjs require ./user/profile-section [16] ./app/js/components/user-page.js 16:26-59
   [19] ./~/ractive/ractive.js 423 kB {0} [built]
        cjs require ractive [18] ./app/js/components/user/profile-section.js 9:15-33
        cjs require ractive [21] ./app/js/components/user/repos-section.js 9:15-33
        cjs require ractive [23] ./app/js/components/user/notes-section.js 9:15-33
        cjs require ractive [25] ./app/js/components/user/notes/add-note.js 9:15-33
        cjs require ractive [31] ./app/js/components/user/notes/notes-list.js 9:15-33
        cjs require ractive [33] ./app/js/components/layout/search-user.js 9:15-33
   [20] ./app/views/user/profile-section.html 1.32 kB {0} [built]
        cjs require ../../../views/user/profile-section.html [18] ./app/js/components/user/profile-section.js 13:35-86
   [21] ./app/js/components/user/repos-section.js 842 bytes {0} [built]
        cjs require ./user/repos-section [16] ./app/js/components/user-page.js 20:24-55
   [22] ./app/views/user/repos-section.html 409 bytes {0} [built]
        cjs require ../../../views/user/repos-section.html [21] ./app/js/components/user/repos-section.js 13:33-82
   [23] ./app/js/components/user/notes-section.js 958 bytes {0} [built]
        cjs require ./user/notes-section [16] ./app/js/components/user-page.js 24:24-55
   [24] ./app/views/user/notes-section.html 115 bytes {0} [built]
        cjs require ../../../views/user/notes-section.html [23] ./app/js/components/user/notes-section.js 13:33-82
   [25] ./app/js/components/user/notes/add-note.js 984 bytes {0} [built]
        cjs require ./notes/add-note [23] ./app/js/components/user/notes-section.js 17:20-47
   [26] ./app/js/models/user.js 2.8 kB {0} [built]
        cjs require ../models/user [13] ./app/js/config/routes.js 17:18-43
        cjs require ../../../models/user [25] ./app/js/components/user/notes/add-note.js 13:18-49
   [27] ./app/js/plugins/ajax.js 1.57 kB {0} [built]
        cjs require ../plugins/ajax [26] ./app/js/models/user.js 13:19-45
   [28] ./~/imports-loader?this=>global!./~/exports-loader?global.fetch!./~/whatwg-fetch/fetch.js 8.59 kB {0} [built]
        cjs require fetch [27] ./app/js/plugins/ajax.js 1:0-65
   [29] ./~/lscache/lscache.js 10.5 kB {0} [built]
        cjs require lscache [27] ./app/js/plugins/ajax.js 11:15-33
   [30] ./app/views/user/notes/add-note.html 329 bytes {0} [built]
        cjs require ../../../../views/user/notes/add-note.html [25] ./app/js/components/user/notes/add-note.js 17:33-86
   [31] ./app/js/components/user/notes/notes-list.js 791 bytes {0} [built]
        cjs require ./notes/notes-list [23] ./app/js/components/user/notes-section.js 21:22-51
   [32] ./app/views/user/notes/notes-list.html 319 bytes {0} [built]
        cjs require ../../../../views/user/notes/notes-list.html [31] ./app/js/components/user/notes/notes-list.js 13:35-90
   [33] ./app/js/components/layout/search-user.js 1 kB {0} [built]
        cjs require ./components/layout/search-user [0] ./app/js/app.js 24:34-76
   [34] ./app/views/layout/search-user.html 413 bytes {0} [built]
        cjs require ../../../views/layout/search-user.html [33] ./app/js/components/layout/search-user.js 15:33-82

Run npm dedupe

npm dedupe does not change anything when running webpack.

@PaquitoSoft Please check out the docs about deduplication. I hope that helps.


Datetimer incorrectly loading

Describe the bug
Datetimer loads dates from carbon incorrectly
To Reproduce
Steps to reproduce the behavior:
DateTimer::make('dico.date')
                ->format('d/m/y')
                ->required()
                ->title(__('Date'))
                ->value(Carbon::parse('2018-01-08'))
                ->placeholder(__('Date')),

Expected behavior
input should show 08/01/18
Screenshots

Hey @G3z Method format set value on input with JS. It waits for values in the same format to come from the server. To achieve this, there is a serverFormat('d/m/y') method. To bring to a unified form.
DateTimer::make('dico.date')
                ->format('d/m/y')
                ->serverFormat('d/m/y')
                ->required()
                ->title(__('Date'))
                ->value(Carbon::parse('2018-01-08'))
                ->placeholder(__('Date'))

These methods are not combined because data can come as a string, such as time (23:40).
When wrapping it in Carbon or other time objects, this can be a problem.
If you have suggestions for improvement please feel free to suggest.


AMQTT --> LWT (last will and testament)

Hi everyone,
I would like to set up a a lwt-topic (with retain)
/.../.../online
--> connect = true
--> lwt = false
Is there a way to define it or is it a todo? I could not find it...
Thanks + best regards
Sascha

Not in our Todo. I'll have to read up on it's implemention and use. Looks like one sends a message on MQTT connect with retain flag.

Async MQTT
https://github.com/marvinroger/async-mqtt-client/blob/master/docs/2.-API-reference.md#asyncmqttclient-setwillconst-char-topic-uint8_t-qos-bool-retain-const-char-payload--nullptr-size_t-length--0
PubSubClient
https://pubsubclient.knolleary.net/api.html#connect5

@SmilyHM Could you check the LWT implementation? It is the develop branch, we will be merging with master soon.

@SmilyHM Could you check the LWT implementation? It is the develop branch, we will be merging with master soon.

Hi! Of course --> I think I got it done until Saturday!

@debsahu: lt works :)
Only at "definitions.h" it should be changed:
const char mqtt_will_payload[] = "false";      (or "OFFLINE")
instead of const char mqtt_will_payload[] = "ONLINE";
The will_payload is the message, the mqtt-boker broadcasts, if the mqtt-client is dead --> so it should be "OFFLINE" or "false".
I am using FHEM: The reading stays "OFFLINE" until a new message "OFFLINE" is send from the broker.
For example "Shelly"-Devices are sending a "true" on first connect to the broker an the lwt is "false".
Or could this be "hardcoded"? --> on 1st connection to the broker a message "true" is send using the "mqtt_will_topic"?
Best regards
Sascha

Thanks Sacha, now it all makes sense.
What do you mean by first time? On boot? Or first configuration ever?

Check develop, I only did the on-boot action to send ONLINE to mqtt_will_topic and broker will take care of sending OFFLINE if there are disgraceful MQTT disconnection.

Hi @debsahu,
I meant an "alive" with each first connection establishment to the broker -> that you already have correctly understood and implemented :-)
It works fine now! Thank you for this upgrade! :-)
Screenshots (FHEM):
"PowerOn / connect to broker (=alive)"

"PowerOff without sign-off from broker (=dead)"

Best regards
Sascha

@SmilyHM Quick question, why the first MQTT connect message should be "ONLINE"? Shouldn't for subsequent reconnects ESP8266 send "ONLINE" MQTT message?

@debsahu
Hi, I'm not exactly sure what you mean. When starting, "ONLINE" is set. After a restart, "ONLINE" is set again. That's ok for me.
Or do you mean, if the MQTT Broker was offline and the ESP connects again? I did not test this. Basically, the MQTT broker should be consistently available - otherwise there is a bigger problem. For me personally, it would not be a big problem to restart the devices once. If it is not a big problem to send the lwt every time you connect to the broker, that would of course be the best solution.
Best regards
Sascha


chore: update the CoC to the latest version

Things added/changed:

Update the CoC to the latest version.

Great job @Panquesito7!!

Great job @Panquesito7!!

Thanks! Glad to contribute. 😄


Use 'Comment' color for IndentBlacklineChar color

So, reading through :h indent-blankline.txt, I noticed that, in order to change the color of the lines, I need to run:
highlight IndentBlanklineChar guifg=#00FF00 gui=nocombine

But, I would like to be able to make it use the color of the Comment highlight. Also, I noticed the helpfile says that, by default, it takes guifg color from 'Whitespace', so, that means it is possible.
How can I feed it the color of the Comment highlight? Also, how can I include this in my nvim config file?

Normally you can just do highlight link Foo Bar to link 2 highlight groups together, so they are both the same.
But in this case it is more complicated. To work properly, the IndentBlanklineChar highlight group needs to have gui=nocombine. And Comment for example does not have that.
You have to define your own highlight group to set this.
You can get the color value out of a highlight group, and then use that to create a new one. That is what I do for the default value. It gets the color from Whitespace.
But this requires some code.
You can take a look at the implementation here
https://github.com/lukas-reineke/indent-blankline.nvim/blob/347e3358e3ebf5ce18baf15d960d01eca5e42c6f/lua/indent_blankline/utils.lua#L205-L251

Yeah, like I said, you shouldn't use link, because it doesn't have the gui=nocombine option. If you don't have that, the indent guides inherit style options from the surrounding code. So for example, if a section of the code is italic, the indent guides will also become italic.
To do this properly, you'll have to write your own function that takes the Comment color and creates a new color group. Using im.fn.hlID, vim.fn.synIDtrans, etc. Similar to how the plugin does it.


Analog Clock face got scrambled

Hi,
After the update to V2.1.0 it got scrambled analog clock face. I resize analogSize to 150px and 300px and then it looks nice but after one day its again scrambled. Before the update i had 550px and it was fine. I disabled also all modules beside the analog clock and nothing changed, my analog face is still scrambled. I tested other faces and all are also scrambled. Someone know why this happend to me after updating MM?
http://i.imgur.com/wvjDlV5.png
Forum
Forum

It seems to work fine here ... could you share thes cononfig section of your clock module so I can try it?

Hi, thats my config part for the clock module:
`{
module: 'clock',
position: 'top_center',
config: {
						displayType: 'analog',
						analogSize: '300px',
						analogFace: 'face-001', // options: 'none', 'simple', 'face-###' (where ### is 001 to 012 inclusive)
						analogPlacement: 'right', // options: 'top', 'bottom', 'left', 'right'
						analogShowDate: 'bottom', // options: false, 'top', or 'bottom'
						secondsColor: '#e20f0f',

								}
	},`

I updated my MM first with this:
git fetch origin git reset --hard origin git clean -f and then git pull
and then just replaced my Config and custom.css and after that my clock looks scrambled.

could you try it without your custom.css?

Hi,
I try it without my custom.css, but the clock looks the same. I try it also to fetch and reset again but its still the same.

Ah, indeed... got the same issue in Electron. Not in Safari.

I just pushed a fix to the develop branch. Goed you give it a try?
NB. Make sure you run npm install after pulling the develop branch, since it needs some new node modules.

 It works know like a charm. Thank you for your help and work!

Cool, thanks for testing.


Best Practices

Attributes: m_name
Every implementations in .cpp
normalization of function and class names
and more...

https://google.github.io/styleguide/cppguide.html

Attributes: m_ is fixed

Every Implementation was moved to .cpp

All functions that change the model of something to a string is now called toString() and not some fancy name


[CLOSED] Building does not verify gonixutils version

 Issue by clintonskitson
Tuesday Mar 22, 2016 at 16:28 GMT
Originally opened as https://github.com/emccode/libstorage/issues/10

I ran into an issue building libStorage for testing today because of a stale version of gonixutils that was present.
dicey1:libstorage clintonkitson$ make deps
go build -o /Users/clintonkitson/go/bin/printf-gnix github.com/akutz/gnixutils/cli/printf
can't load package: package github.com/akutz/gnixutils/cli/printf: cannot find package "github.com/akutz/gnixutils/cli/printf" in any of:
	/usr/local/go/src/github.com/akutz/gnixutils/cli/printf (from $GOROOT)
	/Users/clintonkitson/go/src/github.com/akutz/gnixutils/cli/printf (from $GOPATH)

This was fixed by removing the old version with rm -Rf $GOPATH/src/github.com/akutz/gonixutils and re-running make deps.

 Comment by akutz
Tuesday Mar 22, 2016 at 17:09 GMT

Hi @clintonskitson,
Thanks for filing this. OOC, why invoke make deps directly? Is there an issue using make install or one of its cross variants? I think I fixed the issue of deps not working for cross builds.

 Comment by akutz
Tuesday Mar 22, 2016 at 17:26 GMT

Hi @clintonskitson,
Understood. Makes sense. I should set Travis up to dogfood the fix.

 Comment by clintonskitson
Tuesday Mar 22, 2016 at 17:22 GMT

In troubleshooting it, I was just replicating what I saw in the Travis-CI log to make sure I aligned against a known working method.


Added Elasticsearch Vector Store

In this pull request, I have:

added Elasticsearch component on Vector Store
functionality is basic to get started quickly

Set up a Single-node Elasticsearch cluster on localhost on docker

sudo docker network create elastic
sudo docker run --net elastic -p 9200:9200 -e "discovery.type=single-node" -e "xpack.security.enabled=false" -e "xpack.security.http.ssl.enabled=false" -d docker.elastic.co/elasticsearch/elasticsearch:8.11.3
curl http://localhost:9200
{
"name" : "994a10c1dab5",
"cluster_name" : "docker-cluster",
"cluster_uuid" : "p_iQ88F-T2agFpIdzJN7Ow",
"version" : {
"number" : "8.11.3",
"build_flavor" : "default",
"build_type" : "docker",
"build_hash" : "64cf052f3b56b1fd4449f5454cb88aca7e739d9a",
"build_date" : "2023-12-08T11:33:53.634979452Z",
"build_snapshot" : false,
"lucene_version" : "9.8.0",
"minimum_wire_compatibility_version" : "7.17.0",
"minimum_index_compatibility_version" : "7.0.0"
},
"tagline" : "You Know, for Search"
}
curl -GET http://localhost:9200/_cat/indices
No indices are available

Set up Langlow:

make backend
make frontend
open localhost:3000
New Project -> Import from JSON: elasticsearch-langflow.json  elasticsearch-langflow.json
poetry add elasticsearch or pipenv install elasticsearch or pip install elasticsearch
Select text file to load
Provide OpenAPI keys for OpenAIEmbeddings and ChatOpenAI
Build
Verify that document is indexed: curl -GET http://localhost:9200/_cat/indices
health status index      uuid                   pri rep docs.count docs.deleted store.size pri.store.size dataset.size
yellow open   test-index pt9_ZOACR8mWCNx7GO3scA   1   1          1            0     39.3kb         39.3kb       39.3kb
Open Chat and you can ask: "What is the document about?"

Elastic search is not showing in sidebar components list?


Update NSFW.md

Outdated doc said to change the '.invokeai' file, but it's now named 'invokeai.init' afaik.

Thanks for the update!


fix facebook/hf-seamless-m4t-medium crash

What does this PR do?

Fixes # (issue)
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@sywangyi  Could you explain why other two models work but not  facebook/hf-seamless-m4t-medium  ?

facebook/hf-seamless-m4t-medium hit the condition that decode input id length is 2.  and  decoder_start_token_id is not in the decode input id, which cause issue in https://github.com/huggingface/optimum-habana/blob/main/optimum/habana/transformers/generation/utils.py#L249

facebook/hf-seamless-m4t-medium hit the condition that decode input id length is 2. and decoder_start_token_id is not in the decode input id, which cause issue in https://github.com/huggingface/optimum-habana/blob/main/optimum/habana/transformers/generation/utils.py#L249

Is this only model that you are aware of which has decode input id length of 2?   What other tests do you recommend us to run to make sure this new code doesn't break any other models run?

facebook/hf-seamless-m4t-medium hit the condition that decode input id length is 2. and decoder_start_token_id is not in the decode input id, which cause issue in https://github.com/huggingface/optimum-habana/blob/main/optimum/habana/transformers/generation/utils.py#L249

Is this only model that you are aware of which has decode input id length of 2? When does below statement return true? Is this model specific, and only happening on this ht-seamless-m4t model? elif (decoder_input_ids[:, 0] != decoder_start_token_id[:, 0]).all().item():
What other tests do you recommend us to run to make sure this new code in utils.py doesn't break any other models run?

yes. not so much encoder-decoder model are supported by optimum-habana now. this is the only model I am aware of in OH. For the logic I think this is common.

@sywangyi   Could you also change the Readme file to add this model back? We removed it from v.1.14 release due to the error.

Also, please update
What does this PR do?
Fixes # (issue)

@regisss  Can we merge this change to main. text generation CI tests were tested without an error.


cannot import models directly in colab!

previously this issue was not there!
now it shows not available in model zoo!
@wat3rBro

Same issue Urgent!! RuntimeError: faster_rcnn_fbnetv3a_C4.yaml not available in Model Zoo! in d2go
Pytorch Verison -: 10.2
CUDA -: 10.2


Request support for new massacre system

Hello, love the tool. I wonder how modular it is! Is it possible to replace the minor factions easily?
I have a system, HIP 108701, that is a viable AFK Imperial grind.
The HIP 108701 tab in the following spreadsheet outlines the minor factions in play here.
https://docs.google.com/spreadsheets/d/1SBNSOunQFqlCuk3b-5OHF7B1KUBjycbchCDD7QQbfzU/edit?usp=sharing
These are the minor factions and systems they're in.

HIP 108701 Autocracy

location: HIP 108729

HIP 108729 Empire League

location: HIP 108729

HIP 108729 Central Corp.

location: HIP 108729

HIP 108729 Free

location: HIP 108729

HIP 108729 Industry

location: HIP 108729

Chanarsi Justice Party

location: HIP 108729

HIP 108729 Crimson Raiders

location: HIP 108729

Social Goplang Democrats

location: Goplang

The Kuun-Lan

location: Goplang

Goplang Citizens of Tradition

location: Goplang

Goplang Jet Interstellar

location: Goplang

Goplang Purple Syndicate

location: Goplang

Co-op of Yaguvit

location: HIP 109787 / Goplang

HIP 108971 Guardians

location: HIP 109787

HIP 109787 Nobles

location: HIP 109787

HIP 109787 State Industry

location: HIP 109787

HIP 109787 United & Co

location: HIP 109787

HIP 109787 Collective

location: HIP 109787 / Goplang

HIP 109787 Silver Brothers

location: HIP 109787

HIP 107994 Worker's Party

location: Syntheng

Syntheng Gold Natural PLC

location: Syntheng

Syntheng Universal Corporation

location: Syntheng

Revolutionary Syntheng Values Party

location: Syntheng

Syntheng Imperial Society

location: Syntheng

Syntheng Silver Ring

location: Syntheng

Not an issue, my mistake. Thanks for the tool.


No Response From AlexaPI

Thank you for reporting an issue with AlexaPi.
Make sure you are running the latest version of AlexaPi, and look through issues before submitting.
Check out our Wiki, and make sure to look at Debugging, and Audio debugging in particular before filing an issue.
In order to help troubleshooting, be sure to include the following information:
Output of the audio debugging script.
Your OS (including version) where you are running AlexaPi:

Your hardware platform and model you are running on:

Python release (python2 --version):

Description of problem:
Had Clean install of AlexaPI. Originally heard "Hello" but could not input any requests. Followed debugging advice and went to Running PA in system-wide mode . Made all changes. On reboot all I hear is 2 bursts of static. Here is the terminal output:
pi@raspberrypi:~ $ /opt/AlexaPi/src/main.py
2017-05-30 17:14:20 INFO: Checking Internet Connection ...
2017-05-30 17:14:20 INFO: Connection OK
2017-05-30 17:14:20 INFO: AVS token: Requesting a new one
2017-05-30 17:14:20 INFO: AVS token: Obtained successfully
[6bf004d8] alsa audio output error: cannot estimate delay: Input/output error
pi@raspberrypi:~ $ sudo systemctl status AlexaPi.service
● AlexaPi.service - Alexa client for all your devices
Loaded: loaded (/usr/lib/systemd/system/AlexaPi.service; disabled)
Active: inactive (dead)
Docs: https://github.com/alexa-pi/AlexaPi/wiki
May 30 16:44:12 raspberrypi systemd[1]: Starting Alexa client for all your devices...
May 30 16:44:12 raspberrypi systemd[1]: Started Alexa client for all your devices.
May 30 16:44:26 raspberrypi python[549]: INFO: Checking Internet Connection ...
May 30 16:44:27 raspberrypi python[549]: INFO: Connection OK
May 30 16:44:27 raspberrypi python[549]: INFO: AVS token: Requesting a new one
May 30 16:44:27 raspberrypi python[549]: INFO: AVS token: Obtained successfully
May 30 16:44:29 raspberrypi python[549]: [6bf004d8] alsa audio output error: cannot estimate delay: Input/output error
May 30 17:03:59 raspberrypi systemd[1]: Stopping Alexa client for all your devices...
May 30 17:03:59 raspberrypi systemd[1]: Stopped Alexa client for all your devices.

**Expected:**

**Problem-relevant `config.yaml` entries:**
```sound:
  # Name of your ALSA microphone/soundcard in arecord -L
#  input_device: "plughw:CARD=Device,DEV=0"
  input_device: "pulse"
 # This is here if none of the listed device: "raspberrypi"
  # This is an override that is normally not needed and is a last resort.
  allow_unlisted_input_device: false

  playback_handler: "vlc"

  # you can go here with alsa, pulse or others
  # keep blank for the best audio output selected by the underlying code
  output: "pulse"
  # output device: "raspberrypi"
  # currently supports ALSA only
  output_device: "pulse"

Steps to reproduce:

Traceback (if applicable):

Additional info:

I got it to work but I need to be right on top of microphone for it to pickup

You can adjust the volume of your mic using sudo alsamixer, then save your settings with sudo alsactl store.
You can also adjust the sensitivity of the trigger word detection within /etc/opt/AlexaPi/config.yaml.
Maybe one of those will make it more receptive.
Good luck!


[Feature] Reference make.wordpress.org/openverse resources in repository READMEs

We should refer to the Handbook in our README files, so that folks who discover the project from the repositories can quickly engage with our documentation and community. We should link to:

The handbook
The public slack channel
The make blog
Extra: Should link to the project board too! https://github.com/orgs/WordPress/projects/3

Perhaps we could format these nicely, similarly to the links here, as part of a prettier header for each README file.

This is done, we can create a new issue for README templates!


Move away from deprecated/unmaintained sphinx_testing

Describe the bug
context
When trying to mark support for Python 3.11 to sphinx-tabs in our Gentoo packaging, we had to stop because one of its test dependencies, sphinx_testing, fails tests with Python 3.11 and is now archived upstream & unmaintained.
expectation
I expected all test dependencies to support Python 3.11.
bug
sphinx-tabs relies on an unmaintained package (sphinx_testing) for tests which prevents Python 3.11 compatibility.
problem
This is a problem for people migrating their systems and distributions to Python 3.11 because they can't test sphinx-tabs correctly first, which is often a blocker for making the migration at all (if it can't be tested, people don't feel comfortable using it with Python 3.11, so the package is usually removed instead).
Reproduce the bug

Install Python 3.11.
Try to run the sphinx-tabs test suite.

List your environment

Python 3.11
Gentoo

This came up at https://github.com/executablebooks/sphinx-tabs/issues/126#issuecomment-1001989574 before too.

Removed this dependency in the latest release


bug: ion-Slides and ion-segment-button mode="ios" does not go pretty well together

Bug Report
Ionic version:

[x] 5.x
Current behavior:

I have added iOS Mode to the ion-segment and ion-segment-buttons that I have used, inside of ion-slides, while if the user slides on the button, it slides ion-slide and it stuck between, so basically it does not get the slide event to trigger, i tried to add ionFocus but the event is not firing.
Expected behavior:

I need it not to have an issue with ion-slide so that when user swipes it swipes for the ion-slide and not for the ion-segment-button. i want the ion-segment-button to be only clickable. i tried swipeable="false", but did not work.
Steps to reproduce:

I want to have an option to disable the slide in ion-segment, which i could not find any option, or so that we can have an ionFocus and ionBlur event so that we know when to disable/enable the ion-slide to swipe. This way i think that when the user is on focus of that button i can disable it and when it blurs out i can enable the swipe, or have an option for mode="ios" so that the ion-segment wont be swipeable.
Related code:
Youtube VIdeo Link here
https://www.youtube.com/watch?v=lqVKD3VZGvc&feature=youtu.be
<ion-slides pager="false" (ionSlideWillChange)="slideChanged($event)" #slides [options]="slideOpts" style="z-index: 100;">

  <ion-slide >
<div style="padding-top: 20px;">

          <ion-segment mode="ios" (ionChange)="slide1Segment($event)" value={{slide1Segmenti}} >
            <ion-segment-button mode="ios"  value="yes">
              <ion-label>{{'yes' | translate}}</ion-label>
            </ion-segment-button>
            <ion-segment-button mode="ios"  value="no">
              <ion-label>{{'no' | translate}}</ion-label>
            </ion-segment-button>
          </ion-segment>
          </div>

</ion-slide>
</ion-slides>

Ionic:

   Ionic CLI                     : 6.3.0 (C:\Users\Milot\AppData\Roaming\nvm\v12.16.1\node_modules\@ionic\cli)
   Ionic Framework               : @ionic/angular 5.0.5
   @angular-devkit/build-angular : 0.900.7
   @angular-devkit/schematics    : 8.3.25
   @angular/cli                  : 9.0.7
   @ionic/angular-toolkit        : 2.2.0

Cordova:

   Cordova CLI       : 9.0.0<EMAIL_ADDRESS>   Cordova Platforms : android 8.1.0
   Cordova Plugins   : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.1.3, (and 11 other plugins)

Utility:

   cordova-res (update available: 0.13.0) : 0.10.0
   native-run (update available: 1.0.0)   : 0.3.0

System:

   Android SDK Tools : 26.1.1 (D:\Cache\Sdk)
   NodeJS            : v12.16.1 (C:\Program Files\nodejs\node.exe)
   npm               : 6.13.4
   OS                : Windows 10

Try adding scrollable=true to your ion-segment. According to the docs this should disable the swipe possibility:
scrollable

If true, the segment buttons will overflow and the user can swipe to see them. In addition, this will disable the gesture to drag the indicator between the buttons in order to swipe to see hidden buttons.

Note that this will only work if you do not have many segments which will again cause a clash of the two swipe gestures.

Thanks for the issue. I am going to close this as this is not a bug in Ionic Framework. Nesting components that use conflicting gestures is not something we recommend or support. You can use the workaround provided in https://github.com/ionic-team/ionic/issues/21133#issuecomment-619591001 to disable the swipe gesture.


god gem causes rails console to puts "irb: warn: can't alias exit from irb_exit."

When running a rails console in any environment with the god gem included in the Gemfile, we get the warning:
irb: warn: can't alias exit from irb_exit.
Ruby 1.8.7
Rails 3.0.3
God 0.11.0

Thanks!


[UI][Feature] Auto-generate a template from entering no of questions and their type, etc

Is your feature request related to a problem? Please describe.
Auto-generate a template from user inputs. This is useful for quizzes, quick surveys, etc.
Describe the solution you'd like
Apart from the template json, we should maybe provide a docx file that allows editing the question labels, add institute logo and other designs that don't involve moving the generated bubbles area.
Describe alternatives you've considered
Some online generators already exist like: https://products.aspose.app/omr/create-answer-sheet
We can make OMRChecker compatible with them as well.
Additional context

We can create something similar, and provide a template.json in our format.

i'm working on this

Okay, good to know @prandt! You can also join over discord if you need to discuss any queries quickly

@prandt any issues faced so far? What's the tech stack you're thinking of using?
I am tagging this issue to be a React based too if anyone wants to make a web UI like the one in description

@Udayraj123 Well I thought of using vue and vuetify

@prandt Okay, let me know if you need any help with requirements/specification

I'm working on it

Where are you now

hi @Udayraj123, I would like to work on this issue.

Thanks for showing interest @r0nz-29, will assign you the ticket as we've discussed open opportunities on Discord

Discord thread here https://discord.com/channels/590134763784896514/1230017139688079430/1230017149804871743
Please feel free to remove my post if participants feel that it does not add value to the discussion or might breach privacy.


Add COMPLETE pragma to (:/)

I originally didn't add that due to us being on a version of GHC that's too old; have you checked that we're on a new enough one now?

@ryantrinkle Reflex Platform develop now only uses GHC 8.4, and presumably we'll bump to that version at least before releasing Obelisk master.

How about I add an #ifdef for now, and it'll get removed on the next pass cleaning up older ghc support?

Hoping to merge https://github.com/obsidiansystems/obelisk/pull/400/ soon.

We're on ghc 8.4 now

@alexfmpe please add a release notes entry

@ali-abrar Rebased and done

Thanks


How can I render a transparent image using accumulation?

I saw the 'sigma' related code part has been changed to 'depth' part.
https://github.com/ingra14m/Specular-Gaussians/blob/main/gaussian_renderer/__init__.py#L107
I used to render the foreground image into an RGBA image using the 'result[acc]'.
In this repo, how can I do this? Thanks.

You can refer to the alpha branch. It only has the forward pass. If you also want a backward pass for both depth and alpha, you can refer to https://github.com/ashawkey/diff-gaussian-rasterization

Got it, Thanks！


Empty files or IDE hangs when looking at sources from installed modules

Comma told me that it can't find the sub "ddt", so I went looking. ctrl-clicking on the name in the "use" statement has the same effect as double-clicking in the "external libraries" tree: either i get an empty file, or i see the source, but it's not highlighted, and the IDE freezes, apparently forever.

I can say that this has been extensively poked at and -- hopefully -- fixed in entirety. Please re-open if you run into any other expressions of this.


Reformat blog layout and added responses/comment links for each post.

PTNFLY-1339 Reformat Blog layout such that each post appears within a box on a gray background.
PTNFLY-1341 Created links for user to comment and show the number of responses.

LGTM

LGTM


Integrated client side environment tools

Issue: softbrew/phr-core#1

Added webpack
Added bower

:+1:


Keystatic docs site

Still a bit of a WIP, but this PR contains the new Keystatic website, with docs which are managed in its own keystatic setup.

Copied keystatic-site into the docs folder
Added /docs section to the docs site with content editable in keystatic
Added a bunch of content
Changed voussoir npm scripts from docs to designsystem, e.g. npm run build:docs -> npm run build:designsystem so we could steal the docs commands (sorry Joss). I'll update the voussior vercel app with this change before merging.

For now, have a custom block with a text field for the image url

Closing the PR as we no-longer need it right now.
All PR feedback has been put in Linear.


A11y_SQLAzureDataStudio_SQLServerBigDataCluster_Summary_Keyboard:Focus is not visible on the copy and close button.

“Check out Accessibility Insights! - Identify accessibility bugs before check-in and make bug fixing faster and easier.”
GitHubTags:#A11y_SQLAzureDataStudioBenchmark;#A11yMAS;#A11ySev2;#A11yTCS;#SQL Azure Data Studio;#Benchmark;#DesktopApp;#MacOs;#MAS2.4.7;#Keyboard;
Environment Details:
Application Name: Azure Data Studio
Version: 1.15.0-insider
Commit: 3a8b74a
Date: 2020-02-11T05:49:41.181Z
VS Code: 1.42.0
Electron: 7.1.11
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Darwin x64 19.3.0
Mac OS:10.15.3
Additional Details:
Mac OS:10.15.3
MAS References:MAS2.4.7
Repro Steps:

Launch Azure Data Studio.
Select the Connections icon (if not already selected) from left bar.
Click on the ellipses '...' and select "New Deployment".
Select "SQL Server Big Data Cluster" card under deployment options.
Select the version & checkbox.
Navigate till Selet button & hit enter.
Select Configuration profile --> Update Azure settings --> Update Cluster settings --> Update Service settings & hit Next.
Navigate to the copy and close button using tab key.

Actual:
On navigating using tab to the close and copy button the focus is not visible on them.
Expected:
The focus should be clearly visible through black dotted lines on the button.
User Impact:
Keyboard users will face difficulty in knowing where the current focus is.
Attachment link for Reference :
A11y_SQLAzureDataStudio_SQLServerBigDataCluster_Summary_Keyboard1.zip

focus rectangle not visible for information level

As "SQL Server Big Data Cluster" feature has been removed.
GithubTags:#Closed;

GitHubTags:#SQLADS-MAC-Feb2020;


Remove the need for a build step

Since you're using require('6to5/register') there should now be no need to have an extra build step to make node/.

but how about requiring it as a module ? I would need an entry point file that loads 6to5 instead

Also, to be completely honest, I think the build approach is better and faster than runtime + uncached build

I actually pushed a fix to make slackin(1) startup faster just now :)

hmm—you're right, you do lose the ability to require('slackin'), but then again that's actually not supported right now (you don't have index.js or a "main" entry in package.json) ;)

well, I should :) Thanks for mentioning that

e68a5c2


support for custom handling a authentication failure

PROBLEM
Like we have a custom callback that we can define for successful authentication, wouldn't it be useful to have a similar callback option for handling authentication failure. (I am using laravel 5.1.24)
Let me explain this in detail
This is how we would handle an authentication request from a login form
Step 1. Set up the route
Route::post('login', 'Auth\AuthController@postLogin');

Step 2. Write the controller which use the Foundation AuthenticatesUsers trait which is provided
out of the box by laravel
namespace App\Http\Controllers\Auth;

use App\Models\User;
use Validator;
use Auth;
use Input;
use App\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\ThrottlesLogins;
use Illuminate\Foundation\Auth\AuthenticatesUsers;

class AuthController extends Controller
{
  use ThrottlesLogins, AuthenticatesUsers;

  /**
   * Override the default laravel login path.
   *
   * @var string
   */
  protected $loginPath = "login";

  /**
   * Override the default laravel redirect path.
   *
   * @var string
   */
  protected $redirectPath = "s";
}

Note that I am able to customize the login path to redirect(in case of an authentication failure) and a home path to redirect(in case of an authentication success)
Step 3: Suppose I do not want to redirect to a path on success and instead want to do my own preprocessing on successful authentication, I can do that too by adding an "authenticated" method in my AuthController like this
namespace App\Http\Controllers\Auth;

use App\Models\User;
use Validator;
use Auth;
use Input;
use App\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\ThrottlesLogins;
use Illuminate\Foundation\Auth\AuthenticatesUsers;

class AuthController extends Controller
{
  use ThrottlesLogins, AuthenticatesUsers;

  /**
   * Override the default laravel login path.
   *
   * @var string
   */
  protected $loginPath = "login";

  /**
   * Override the default laravel redirect path.
   *
   * @var string
   */
  protected $redirectPath = "s";

/**
   * Callback to call on successful authentication
   *
   * @var function
   */
  protected function authenticated($request, $user){
    // Do any operations required like logging etc and then redirect to the home page
  }
}

How this works can be can be easily understood by looking into the Auth Foundation class
at Illuminate\Foundation\Auth\AuthenticatesUsers.php. I am pasting the required parts here.
    public function postLogin(Request $request)
    {
        $this->validate($request, [
            $this->loginUsername() => 'required', 'password' => 'required',
        ]);

        // If the class is using the ThrottlesLogins trait, we can automatically throttle
        // the login attempts for this application. We'll key this by the username and
        // the IP address of the client making these requests into this application.
        $throttles = $this->isUsingThrottlesLoginsTrait();

        if ($throttles && $this->hasTooManyLoginAttempts($request)) {
            return $this->sendLockoutResponse($request);
        }

        $credentials = $this->getCredentials($request);

        if (Auth::attempt($credentials, $request->has('remember'))) {
            return $this->handleUserWasAuthenticated($request, $throttles);
        }

        // If the login attempt was unsuccessful we will increment the number of attempts
        // to login and redirect the user back to the login form. Of course, when this
        // user surpasses their maximum number of attempts they will get locked out.
        if ($throttles) {
            $this->incrementLoginAttempts($request);
        }

        return redirect($this->loginPath())
            ->withInput($request->only($this->loginUsername(), 'remember'))
            ->withErrors([
                $this->loginUsername() => $this->getFailedLoginMessage(),
            ]);
    }

    /**
     * Send the response after the user was authenticated.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  bool  $throttles
     * @return \Illuminate\Http\Response
     */
    protected function handleUserWasAuthenticated(Request $request, $throttles)
    {
        if ($throttles) {
            $this->clearLoginAttempts($request);
        }

        if (method_exists($this, 'authenticated')) {
            return $this->authenticated($request, Auth::user());
        }

        return redirect()->intended($this->redirectPath());
    }

WHAT IS THE POINT I AM TRYING TO MAKE ??
I have a single page application which has a login page, I make a post request using jquery and expect a json result which I can use to take appropriate action. I do not want laravel to force me to redirect to a particular page in case of an authentication error.
Like we have a custom callback that we can define for successful authentication, wouldn't it be useful to have a similar callback option for handling authentication failure.(So I can create a JSON object and return instead of redirecting).
Sorry for the lengthy description. I just wanted to be very clear on the point that I am trying to make.
Any comments or suggestions would be helpful.
Thanks in advance

If you need more and more custom things, just write your own code. Even start by copying/pasting stuff from the trait if you want.

Alternatively, if you can fix what you want with a small PR here, please send one.


[RFR] Implement text input types

[x] Allow to customize <TextInput /> fields
[x] Display differently emails and URLs depending of <TextField /> type

Moving the boolean field into another PR. Switching to RFR.

Code review applied.


Black Fails

Black fails, see the output:
[WARNING] Unstaged files detected.
[INFO] Stashing unstaged files to /home/erayerdin/.cache/pre-commit/patch1563987583.
Trim Trailing Whitespace.................................................Failed
hookid: trailing-whitespace

Files were modified by this hook. Additional output:

Fixing LICENSE.txt

Fix End of Files.........................................................Failed
hookid: end-of-file-fixer

Files were modified by this hook. Additional output:

Fixing requirements.txt
Fixing LICENSE.txt
Fixing sozluk/architecture.drawio

Check Yaml...............................................................Passed
Check for added large files..............................................Passed
black....................................................................Failed
hookid: black

Files were modified by this hook. Additional output:

reformatted /foo/apps.py
All done! ✨ 🍰 ✨
1 file reformatted, 18 files left unchanged.

seed isort known_third_party.............................................Passed
isort....................................................................Passed
[WARNING] Stashed changes conflicted with hook auto-fixes... Rolling back fixes...
[INFO] Restored changes from /home/erayerdin/.cache/pre-commit/patch1563987583.

Black fails on staged files. Redoing git add . and git commit fixes the issue.


COR-415 remove urls.self server option

The urls.self was ignored (overwritten) anyways

/cc internetti
/cc neb42

/lgtm


Adding resources for a few Asian countries

Adding resources for the following countries in Asia:

Bangladesh
India -- Added 2 more communication channels
Indonesia
Mongolia -- Did not have a contact for Mongolia, so have added<EMAIL_ADDRESS>looking out to connect with someone and possibly update it.
Nepal
Sri Lanka

Let me know if they are any changes, thank you!
cc: @bhousel

Thanks so much @jinalfoflia !!