[Feature] Wildcard for type Id

Hello, sometimes there may be a need to group the types into Ids as follows;
user:john
relation: access
object: permission:contoso/action/action1
user:john
relation: access
object: permission:contoso/component/component1
Is it possible to create a usage scenario like below, so I can check the nested grouped privileges;
user:john
relation: access
object: permission:contoso/action/*
user:john
relation: access
object: permission:contoso/*
user:john
relation: access
object: permission:contoso/component/*

I'm also interested in this use case. I'd like a group of users to have access to all objects of a type. Is this possible currently?

@guipace
You should be able to model that with OpenFGA currently, e.g. the example below, all admins can read all the documents from a specific organization:
`model
schema 1.1
type user
type organization
relations
define admins : [user]
type document
relations
define parent: [organization]
define can_read: admins from parent`

@xXAvoraXx
I think you can model that in a similar way:
model
  schema 1.1
type user
type organization
  relations
    define member: [user]
    define admin: [user]

type action
  relations
    define parent: [organization]
    define access: admin from parent

type component
  relations
    define parent: [organization]
    define access: admin from parent

If you want John to have permissions to access every component/action for the contoso organization, you'd add it to the contoso admin group.

@aaguiarz thanks for the quick response. I currently have a very similar model to what you proposed. I guess my question here is if there's a way to avoid having to create tuples for each individual document (or action / component in @xXAvoraXx 's case)?
If I create the following tuple as follows:
User = user:john
Relation = admin
Object = organization:my_org
I still have to create a tuple defining the organization to each document separately if I want john as an admin to have access to each document:
User = organization:my_org
Relation = parent
Object = document:1
Is there a way to wildcard the document so it applies to all documents without having to explicitly define it each time?

If I understand correctly, in the context of the model I described above, you want to get a positive result when you call check(user:john, can_read, document:1) without adding a tuple for document:1?
Wouldn't that be equivalent to add the permission at the organization level?
type organization
  relations
    define member: [user]
    define admin: [user]
    define can_read_all_documents : admin

That would imply you calling check on the organization, not the document check(user:john, can_read_all_documents, org:1)

Hum, I guess that's one way of going about it. I'm new to ReBAC and OpenFGA.
Yes, your assumption is correct. The idea is that the consuming application wouldn't need to know what org a user belongs to, just perhaps their ID and OpenFGA would infer the relationship down to the document level.

What I'm trying to do is actually:
All actions on the backend side correspond to a type called action in an openfga service.
I divided the frontend side into three,
route: Path extensions that represent pages.
component: Components inside the pages. Each component can have a route parent or component parent.
action: Represents the actions on the backend side.
Access relation tuples are added to the users for the relevant "route, component and action", so we have full control of what can and cannot be seen on the frontend.
Now when I give an action tuple to a user, I can check if that user has the tuple for that action. However, in order for some components to work, the user must have permission on the relevant action type. But the problem here is that it is unnecessary to allow 2 times for both the component and the action. To solve this, I made a relationship between component and action, if a user has permission on the related component type, they can access this action type.
But the problem here is that while running the check query on the backend, I check whether the user has access to the relevant action. If it does not have permission to the Action type, I have made the necessary connection to the component type, but I cannot make any progress because I am using the context structure here.
You can access the relevant schema from the link below.
https://play.fga.dev/stores/create/?id=01H16SNVJQHE8B3BMZ9FH5J405
We provide automation solutions to many businesses. After logging in, businesses manage their own businesses from a panel screen.
System administrators design a plan and define action, component, route types in the plan. It must be defined once in the system.

Businesses subscribe to a plan.
Users become members of the business.
A user can be a member of more than one business.
-- I am able to resolve this last item with contextual_tuple method.

If the problem is that the action type denies can_access access, this time it needs to check the isViewer relationship, but when the component type is reached, the permission_in_context relationship is not in the tuples in the check method, so even if the user has permission in the relevant component type, access cannot be achieved.
I solve this problem by defining each action over and over for each business, but this time it both inflates the database and makes the openfga service very tiring. For these reasons, I started to develop the scheme I shared in the link above. The problems in this scheme are the reasons I explained above.
The following image will summarize the problem.

The following image shows a flow while the check method is running.
In this example, if the user is denied access from the permission:contoso/action/action1 type, the action type goes to the component type with which it is related and looks for the user's relationship with that component. However, we cannot define it as a contextual_tuple because we do not know which component has a relationship with the action during the query.
If I could add a relationship like the one below, I think I could find out if the user has a relationship with the relevant component.

@xXAvoraXx
I think you can model that in a similar way:
model
  schema 1.1
type user
type organization
  relations
    define member: [user]
    define admin: [user]

type action
  relations
    define parent: [organization]
    define access: admin from parent

type component
  relations
    define parent: [organization]
    define access: admin from parent

If you want John to have permissions to access every component/action for the contoso organization, you'd add it to the contoso admin group.

The main problem in this example is to save the same action types for every business over and over. If I need to delete the relevant action from the system, this time I need to find and delete this relationship network for 100 businesses. So I started developing the new schema.
Or when a new action is defined in the system, I need to define this action for all businesses.

+1
my use case is a bit simpler: permission to create things (since there's no ID for things that weren't yet created)
here's the model
model
  schema 1.1

type user

type thing
  relations
    define admin: [user]
    define viewer: [user]

    define can_create: admin

here is what the tuple would look like
{ "user": "user:john", "relation": "admin", "object": "thing:*" }

here's some pseudocode for the check
check(
  user = "user:john", // check if the user `user:john`
  relation = "can_create", // has a `can_create` relation
  object = "thing:*", // with any object of type `thing` (or "with the `thing` type" also works as an explanation for me)
  authorization_id = "some-authorization-model-id"
);

Reply: true

or have I perhaps missed an already existing solution for the permission to create?

btw, any plans to fully support one-line comments in the fga language?
the playground linter complains if I add comments anywhere outside of empty lines or if I use certain symbols in the comments, like (, ) or backticks (same with the vscode extension, although it doesn't complain about ( and ) for some reason)

Hi @robyte-ctrl
For that use case, in general you'd have another type that's higher in the hierarchy, e.g.
model
  schema 1.1

type user

type system
   relations
      define admin : [user]
      define can_create_thing : admin

type thing
  relations
    define system : [system]
    define viewer: [user]

    define can_create: admin from system

In B2B multi-tenant scenarios the system would be the tenant and you'll define tenant-level permissions there. In a single tenant scenario system would be the app itself.
Does this help?
About comments, the VS Code tool supports comments if they start at the beginning of the line. We'll improve that so they can start anywhere. We'll be soon using the same language engine for VS code and the Playground so they'll be more consistent.

Yeah sorry, I made a mistake, can_create can only live in the system type.
The admin relationship might also need to be in the system, unless you plan to add an admin relationship for every thing. If you do that, you'd need to establish the system/thing relationship too.


fix: update Octopus.Client NuGet package to support Octopus >3.11.2

Appveyor will be decomming the Visual Studio 2017 RC image (see: https://github.com/appveyor/ci/issues/1179#issuecomment-286522092).


What exactly do App.js and run.js do?

Hi -- I'm still very new to React/Redux so apologies if this is a poor question. However I'm having a difficult time understanding exactly what these two files are doing in the generator.
I've started a fresh project and simply added a console.log(this); to the render method of App.js and run.js, and neither appears to be executed when the app runs.
If I do the same inside Main.js render function, I get the component logged out.
What do these files do, and why does it appear that editing them has zero affect on the application?

Hey @tconroy,
which version of the generator are you using, please upgrade to 0.5.0
The template, I am depending on was updated and does no longer use run.js as the entry point, this is why you are not seeing your console logs. This should be fixed in version 0.5.0 though.

Hi @stylesuxx,
thanks for the quick reply. :) Indeed it seems I was on an old version -- which is really weird since I only ran npm install -g generator-webpack-redux last night! Is the default install an older version?
I updated the generator just now and started a new project, and run.js has disappeared and I'm getting log output from App.js. Sweet!
Does this mean the Provider has been removed from the generator?

No it is still there. Formerly run.js was the entry point to the app, but now index.js is the entry point to the app, this is also the place where the Provider lives now.
Not sure about why you got the "old version", but I only released it two days ago,...

Oh I see! Excellent. Thank you for your help + great work on this generator!
Cheers.


adjustment for generator 4.1.0 and above

relates to https://github.com/Kentico/kontent-generators-net/releases/tag/4.1.0

After discussing the update with @petrsvihlik elsewhere, I've changed the code to use the dotnet tool command instead of a Windows exe. Looks OK to merge now.


After editting an event, going back, and then attempting to view event list you get sent back 1 month

Not really sure how to totally explain this but if you do the following it'll happen:
1.) Make an event for today.
2.) Go to today and edit that event.
3.) Leave the event by back button or by saving
4.) Press 'ok' to view list of events again.

The event will not be highlighted
The event cannot be highlighted again
If you press 'ok' again to return to the calendar, you'll see you're 1 month in the past.

pls try again

Fixed. (although a little slow to select the current event but no big deal)


Major Refactor

Purpose of this PR is to extract all logic from react into separate js class components so its easier to understand / use / grow
PR for #79

Small bug I noticed, the platform appears when you launch the app
main branch

batch-export-json branch

src/library/sceneInitializer.js:        const modelPath = "/3d/Platform.glb"
src/library/PlatformLoader.js:    //     const modelPath = "/3d/Platform.glb"

new branch not making icons of the characters

compared exports + VRM validator from main and refactor branch, and there were not many differences between them (exported with mtoon atlas for both) except for this error appearing in refactor branch:
Anata 214:

I noticed this error in Anata 32 as well

12a13,18
"code": "GLB_CHUNK_LENGTH_UNALIGNED",
"message": "Length of 0x4e4f534a chunk is not aligned to 4-byte boundaries.",
"severity": 0,
"offset": 12
},

exported VRMs: compare.zip


ListPopupWindow and Toast intergation

Hi guys!
First of all - thanks for your work!
Can you take a look on KToast and KListPopupWindow and give me some hints (maybe it's just an overkill and it could be done with KView and KListView?
https://gist.github.com/Chesteer89/767ad1b1584e2920a9758bd1dfe95b36
https://gist.github.com/Chesteer89/d6bfe7383c287935ce938e9dfa98c0a1

Hey there! Thanks a lot for your interest in our project.
Regarding your question: it can be done via KView and KListView. We have inRoot() function located at BaseAssertions.
And we have RootBuilder class which helps you to perform this kind of checks.
Take a look at the example:
fun test() {
    screen { list {
        inRoot { isPlatformPopup() }
        childAt(0) { hasText("TEST") }
    } }
}

fun testToast() {
    screen { toast {
        inRoot { withMatcher(ToastMatcher()) }
        hasText("TOAST")
    } }
}

Are you sure we're able to get list in popup?
What kind of matcher should i pass in Screen? (id is not set, withClassName doesnt work, withAnyText matches multiple views)

You can try using isInstanceOf matcher for your list. And are you sure that list doesn't have an id?

Also you can match the list by matching it's items with use of withDescendant

Well, yes. We're using ListPopupWindow which doesnt have an id on list (contains DropDownListView). So the idea is to find a popup first (the real diff is inAdapterView(matcher) changed to inRoot(RootMatchers.isPlatformPopup())).
Toast is similiar story. That's why I've changed view to:
override val view = this.builder.getViewInteraction().inRoot(ToastMatcher())

For toast, as I said previously, you can declare a view with text matcher, for example, and then immediately apply root matcher:
val toast = KView {
    withText("TOAST")
} perform {
    inRoot { withMatcher(ToastMatcher()) }
}

This will return you the KView with view interaction inside, which already has root matcher.
Regarding ListView situation, I think we should ask someone else. @cdsap @VerachadW what do you guys think on this?

@Chesteer89 You may try to send the matcher for list with the parent matcher. The popup needs to anchor with the view or the screen window. So, I think we can create a matcher for the parent view and pass it to withParent() for list. This is my idea.

We already have withParent matcher inside ViewBuilder class.

Thanks guys! Optional parameter or withParent() sounds good.
I'll migrate to new version after update :)
Did you think about Snackbar tests? Is it possible right now or should i write my custom view + actions?

No, right now we don't have prebuilt view classes for that, but this is good idea, to make KSnackBar and KToast. Is this issue resolved?

I'm currently trying to achieve the same thing here with an AutoCompleteTextView suggestion matcher (PopupWindow/DropDownListView), did you manage to find a resolve using withParent()?

Hi there!
The thing is, right now this behavior is not achievable due to specifics of these classes. PopupWindow and Toast actually create new Window instance when they show up. And espresso is explicitly bound to your activity's window with ViewRootImpl inside. It cannot access other windows through instrumentation.

We added KSnackBar support though.

My understanding is that you could use:
onData(equalTo("ITEM"))
  .inRoot(RootMatchers.isPlatformPopup())
  .perform(click())

for an autocomplete item?
I'm just not quite sure how to integrate that with a KListView, or if at all it's possible to do so at the moment.

As I recall, we have root matching.
So you can match your KListView by any means comfortable to you (by id, by class name, by searching through parent class name, etc.) and then apply root matcher during your actions/assertions:
screen {
  list {
    inRoot { isPlatformPopup() }
    // Do your stuff here
  }
}

Yep, but the difficulty is creating list in our Screen<T> class, the suggestion was to use withParent and isRoot, but I've not had much success, what might be a way of selecting it?

  val list = KListView(...) {
    isInstanceOf(ListView::class.java)
  }

  ...

  screen {
    list {
      inRoot { isPlatformPopup() }
      // Do your stuff here
    }
  }

That's what I've tried, but I'm getting a NoMatchingViewException 😞

Can you provide the dumps of layouts when you open your popup and the results of adb shell dumpsys window windows and adb shell dumpsys activity?

Also, what exact class do you use to spawn your popups?

I looked through the source code, and your view uses ListPopupWindow class inside, which uses DropdownListView class (not appcompat). So I would try to match by exact class name, not by parent class name.

Tried by class name also, the issue seems to be that the view hierarchy dumped with NoMatchingViewException is that of the activity window, which doesn't display the DropDownListView or the popup decor view, I've tried tweaking with withParent, inRoot to no avail 😞

Can you provide your screen class and test code where you try to access your list?

Sorry for the delay, I didn't see the notification
Screen
val list = KListView(
    builder = {
      isInstanceOf<ListView>()
      withParent {
        isRoot()
      }
    },
    itemTypeBuilder = {
      itemType(::Item)
    }
)

class Item(interaction: DataInteraction) : KAdapterItem<Item>(interaction) {

  val text = KTextView(interaction) {
    withId(android.R.id.text1)
  }
}

Test
screen {
list {
inRoot {
isPlatformPopup()
}
firstChild<FinanceCalculatorScreen.Item> {
perform {
click()
}
}
}
}

Hey there!
Try removing this:
withParent {
  isRoot()
}

I'm not sure that your list view is a direct descendant of platform popup view.

Still get a NoMatchingViewException, would it help if I submitted a PR to the samples with the problem I'm trying to solve?

I just noticed. isInstanceOf<ListView>() is very weird. Kakao doesn't have that function. Kakao's function signature is isInstanceOf(clazz: Class<*>). It's not templated.

@Unlimity yep sorry this was an extension function in our code base, just an inline reified alias to Kakao's method
inline fun <reified T> ViewBuilder.isInstanceOf(): Unit = isInstanceOf(T::class.java)

Hm, I don't actually know how to help you now :(
Could you make a public repo with simple activity and test that reproduces your problem?

@Unlimity Hey! I've created a sample so you can see what I'm trying to achieve

Sure, I'll take a look as soon as I have free time


Multi-data connections support for Github

Description
To be filled
Describe the solution you'd like
A clear and concise description of what you want to happen.
Has the Feature been Requested Before?
Please link any other
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

@likyh

ok, I'll try to finish it.

Finished


publish and use rancher image for the "reach k8s without rancher feature"

image is currently coming from erik's repo need to build, deploy, and update it

image is rancher/kube-api-auth:v0.1.1

IT shows up as a deployment in the user's cluster

rancher/rancher:master 2/21
Cluster auth is correctly using "authImage": "rancher/kube-api-auth:v0.1.1"


Infinite Artificer Thunderbolt Summon Bug

When using your primary during the cast of Thunderbolt, it will place far too many instances of it, causing significant lag. It also spouts a single error message in the logs each time it places a new Thunderbolt. Screenshot of repeated log output attached.

Currently attempting to see if "Must Key Press" config being true fixes the issue

Changing config did not fix the issue, and in fact appears to have made it worse?


Update logging.rst

Links to source code on a GitHub updated to current version rc1.

Hi @SychevIgor, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by .NET Foundation and real humans are currently evaluating your PR.
TTYL, DNFBOT;

Looks like project have some issues with CI. Because links are valid.

Please, see this pull request https://github.com/aspnet/Docs/pull/732


Inverse Intrinsic version support is incorrect

Inverse intrinsic support is listed as 1.25.0 in the driver. In reality, the minimum firmware which supports it is 1.30.xxx (need to double-check the patch version)

That's true. This was caused by some internal scheduling issue. A minimum of version 1.30.xxxx is needed.


Removed the select with perf_cols when querying metrics for capacity planning

This is necessary because some of the columns that were passed in are not actual columns but are actually methods that calculate values on the fly.
Examples would be - :max_cpu_usagemhz_rate_average, :total_vcpus, :max_derived_memory_used, :used_space, :total_space

Fixes issue #8067
/cc @kbrock

@kbrock @gtanzillo please label with either darga/yes or darga/no


Add Stubber to the docs.

Closes boto/boto3#378
When I added the stubber, I forgot to add it to the generated docs.
cc @jamesls @kyleknap

:ship:


Full artists from tracks

I'm loading tracks and for their artists, I'd like to show images and other full artist properties, including related artists. However, tracks only come with simplified artists. I'm now thinking if it's easier to do the joins or contribute.
I assume the challenge is to register when the user is asking for full properties and then do extra requests. I glanced at the resolvers and it looks like you're already doing something similar for tracks. I tried the following query in your new interactive console (👍):
{
  track(name: "Little Bit of This") {
    name
    album {
      name
      label  // null
      popularity  // null
      release_date  // null
    }
  }
}

I get autocomplete for the full object properties. But in the response everything that isn't in simplified albums is null. I'm not sure why, and I couldn't find where variable.full is set.
Can you tell me what needed to be done in order to access full artists from tracks?

Hello @rshkv !
In fact, this is more complex than the tracks.album because for the album case I only have to do a API cal to /v1/albums/{id} using track.album.id (because /v1/tracks/{id}/album do not exists.
For the tracks.artists is more complicated because I'll have to iterate over track.artists[].id and manage to call /v1/artists?ids={ids} (considering that ids maxlength is 50)
It's totally feasible don't worry.
I'll also refactor the internal API to make more clear (especially to limitConcurency and pooling things!)
I'll keep you updated, this will be done in the week-end
Cheers 👋

I understand. Looking forward to it! 😀

@rshkv Sorry, I did not have the time this week end to work on it, I'll try to fix it today.

Hi @rshkv
sorry for the delay, I had a lot of work on the other side and I found a lot of "bugs" while adding this features
Result now:

Don't worry, thank you very much 🙂


Ensure homes from initial load are canonicalized

For the address canonicalization logic to work and properly detect collisions with newly created homes (e.g. by public survey users), we need to ensure all addresses from the initial data load are canonicalized. This should already be happening automatically (we have an after_save trigger that calls the canonicalization logic), and we call home.save! (see code).
We should verify the homes table after initializing it with the latest CanonicalizeAddressJob changes to verify what values the status column has. If we see canonicalized for all of them, then that's fine. If we're still seeing unrecognized values, then we need to check why – it's possibly another Pelias issue. To get a useful answer on this, we probably need to make sure we're using the latest version of Pelias (we know the address lookups will currently fail).

Findings from discovery today:

We do in fact run CanonicalizeAddressJob for each thing we save, but this will be a lot so we likely want to do this one time locally and then save the output as our seed.
We want to update the seed task to skip the CanonicalizeAddress Job once we've manually geocoded the seed.
We can only make a single request at a time to Pelias's structured geocoding endpoint, so we will need to see how many requests we can send at a time, and/or stand up our own instance to increase capacity and lower amount of time to geocode, or just wait for it to happen serially.
Using the "place" endpoint we can search for multiple at a time.

Next week:
Write rake task to go through and canonicalize the existing seed data. Then we will export it as a CSV in the format we have and update it.

We decided this will be done after we collect the data.


Property 'autocomplete' does not exist on type 'DetailedHTMLProps<InputHTMLAttributes, HTMLInputElement>'.

TypeScript Version:  3.7.2
Search Terms:
autocomplete does not exist on type
Code
import React, { Fragment} from 'react';

const User: React.FunctionComponent = () => {
  return (
    <Fragment>
      <form autocomplete="on">
        <input autocomplete="off" value="test"/>

      </form>
    </Fragment>
  )
};

export default User;

Failed to compile.

/home/colby/git/mern-backback/client/src/pages/Admin/Users/User/User.tsx
TypeScript error in /home/colby/git/mern-backback/client/src/pages/Admin/Users/User/User.tsx(8,16):
Type '{ autocomplete: string; value: string; }' is not assignable to type 'DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>'.
  Property 'autocomplete' does not exist on type 'DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>'.  TS2322

     6 |       <form autocomplete="on">
     7 |         <input autocomplete="off" value="test"/>

  >  8 |       </form>
       |                ^
     9 |     </Fragment>
    10 |   )
    11 | };

Expected behavior:
to compile correctly
Actual behavior:
Failed to compile.
Related Issues:
<form autocomplete="on">, <input autocomplete="off" />. both have the same issue
as describe at https://www.w3schools.com/tags/att_input_autocomplete.asp
chrome should be able to use this field since 17.0

<form data-autocomplete="off"> works...

that didn't work, this did
declare module 'react' {
  interface HTMLAttributes<T> extends AriaAttributes, DOMAttributes<T> {
    // extends React's HTMLAttributes
    autocomplete?: string;
  }
}```

ended up being autoComplete="off"

For anyone visiting in the future not looking for a react solution but rather a plain Typescript solution, this works:
input.setAttribute('autocorrect', 'off');


add option.exclude

add option.exclude so we can exclude dependencies in Gruntfile.
A example would be:
If compiling More, have the option to exclude Core by adding:
exclude: ['Core/*']

LGTM. :+1:

@anutron thanks for nice input! Fixed all your suggestions.


Add Jeroen to team page

Please let me know if you'd like any amendments. Thanks.

Before I forget - have added a commit that removes that mention of you in the about page - I think you'd probably prefer that. This was picked up by @maelle previously.

Hi @jeroen are you ok to merge this? Thanks.

Yes go ahead thanks


docs: add note on testing vite locally

Clarify how to test Vite locally without pnpm quirks, especially since vite-plugin-svelte relies on Vite too.
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

[ ] It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC: https://github.com/sveltejs/rfcs
[x] This message body should clearly illustrate what problems it solves.
[ ] Ideally, include a test that fails without this PR but passes with it.

Tests

[ ] Run the tests with pnpm test and lint the project with pnpm lint and pnpm check

Changesets

[ ] If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpx changeset and following the prompts. All changesets should be patch until SvelteKit 1.0

thanks!!


can not save xml file on win10

when I have finished annotation the image that I can't save xml files in window 10.when I tick the button to save the xml file to my folder .I can find nothing in my computer. I have installed python2.7, pyQt4, numpy, and lxml, PIL on my computer.

@Luke,
Currently, I didn't have PC with win 10. I can't help u recently

@LukeHe I tried on win10，and there is a way to solve this problem.
First ,change the
import sys

to
import sys
reload(sys)
sys.setdefaultencoding('utf-8')

Secound,the path where you save the xml can't have chinese.

@LukeHe ,
I try to fix this problem. If you have free time, could you help to try again on your side?
https://github.com/tzutalin/labelImg/commit/50a079edc40555f6dfecad64103a99ba615975be


Add option to press escape on keyboard when in preferences

Just an enhancement. I noticed a lot of screensavers (specifically OS X defaults ones) you can press the esc key to exit the preferences menu. Just something to make it a little more refined and streamlined.

Just looked thru other [native] settings and noticed that this is normally the case on screens that have buttons Cancel and OK (e.g. Network -> Advanced)
However, Esc doesn't work on screens that only have Done button (e.g. Mission Control -> Hot Corners).
So maybe the point of this issue is to change the buttons from "Done" to "Cancel/OK"

This seems like a simple little request. But it requires the PreferencesWindowsController to be almost all rewritten.
The implication of Cancel and OK buttons is that you hit OK and it saves your changes, and you hit Cancel and it forgets your changes. But the way the PreferencesWindowsController is written right now is that any changes are made immediately. Which makes sense.
For example: if it was rewritten to have Cancel and OK button, what should happen if someone has enabled the cache feature, downloaded all the movies and then hits the Cancel button?

Great point! I say close this ticket. Won't fix. It is perfectly fine now.


ios7 height offset on tableview

Looks like there is a slight height offset issue (the top of the tableview is going underneath the navbar).  This only happends on ios7 and only after you have opened the keyboard.  This is iPhone 4s, but I would guess it happends on 5's too.
For example, this picture is the demo app scrolled all the way up to the top:

I got the same issue, so I just used the following code in viewDidLoad
self.automaticallyAdjustsScrollViewInsets = NO;
self.edgesForExtendedLayout = UIRectNone;

Leaving it here, in case it helps someone (or if anyone can provide explanation).


⚠ Bofrost.at has degraded performance

In 7cde872, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1091 ms

Resolved: Bofrost.at performance has improved in 02cf73c after 8 minutes.


Live compnent with Knppaginator Pagination

Hello,
I'm trying to use live component with knp paginator bundle to make a little search engine on  lots of boottrap cards.
SearchComponent:
<?php

#[AsLiveComponent]
class SearchComponent
{
    use DefaultActionTrait;

    #[LiveProp(writable: true)]
    public ?string $query = null;

    public function __construct(private PackRepository $packRepo, private PaginatorInterface $paginator)
    {
    }

    public function getPacks(): pageint
    {
        $packs = $this->packRepo->findAllPaginate($this->query);
        return $this->paginator->paginate($packs);
    }
}

Twig template:

    <input
        type="search"
        data-model="query"
        placeholder="Rechercher un pack ..."
        class="form-control">

        {% for pack in this.packs %}
            {# component representing a card with the details #}
            {{ component('cardpack', {id: pack.id}) }}
        {% endfor %}

        {{ knp_pagination_render(this.packs) }}

The problem is with the pagination render. It sends me this error:

An exception has been thrown during the rendering of a template ("Some mandatory parameters are missing ("_live_component") to generate a URL for route "ux_live_component".")

If I delete the {{ knp_pagination_render(this.packs) }}, it works fine.
I try to open an issue on KNP github, but they answered me that:

The pagination links are rendered with all the parameters passed in the query string, so I guess your problem is in the live component, not here.

How can I send the query when the component autoupdate when typing some text in my search field ?
Thank you.

Yes... when the component re-renders, it's on a different route than on the page. I think you just need to explicitly set the route:
    public function getPacks(): pageint
    {
        $packs = $this->packRepo->findAllPaginate($this->query);
        $pager = $this->paginator->paginate($packs);
        $pager->setUsedRoute('blog_articles');

        return $pager;
    }

Let me know if that helps - it might make for a nice demo too :)

Thanks Ryan, it's helping but got another problem.
With the setUsedRoute() function, the pagination is generated. Great.
But the url in this pagination  looks like that:

https://<mywebsite.local>/?props=%7B%22query%22:%22fre%22,%22@attributes%22:%7B%22data-live-id%22:%22live-2616551061-0%22%7D,%22@checksum%22:%22qq75z9qsdqsdqsCjFawsqX9kfum0D1P9f4BEaC4XQeRzM%3D%22%7D&updated=%7B%22query%22:%22free%22%7D&page=3

Not pretty :)
And when I click on a page number, I lost the search value in the input.
For having the page number, I add in my constructor a RequestStack $requestStack.
#[AsLiveComponent]
class SearchComponent
{
    use DefaultActionTrait;

    #[LiveProp(writable: true)]
    public ?string $query = null;

    public function __construct(private PackRepository $packRepo, private PaginatorInterface $paginator, private RequestStack $requestStack)
    {
    }

    public function getPacks(): pageint
    {
        $request = $this->requestStack->getCurrentRequest();
        $packs = $this->packRepo->findAllPaginate($this->query);
        $pagination = $this->paginator->paginate($packs, $request->query->getInt('page', 1), 6);
        $pagination->setUsedRoute('app_list_packs');

        return $pagination;
    }
}

Have you a trick for not having this url ? And for conserve the query on my search ?
Thank you.

Not pretty :)

Agreed :D

And when I click on a page number, I lost the search value in the input.

That is always going to happen... at least right now. You would need to include some sort of ?query= in each pagination link, then pass this as the default value for your query when rendering the component on each page. There is a feature we have planned, but this is a little clunky right now.
So, I don't have any great answers yet. KnpPaginator doesn't work well with LiveComponents & pagination rendering. I don't blame it - it's just that it relies on grabbing the route and query parameters from the current page... and when a live component re-renders, it has a VERY different set of query parameters.
The ideal solution right now would probably be to loop over and render the pagination links manually.
{# helpful vars to make this real - https://github.com/KnpLabs/KnpPaginatorBundle/blob/7586f90b24073643fac66fb18ec64a1d6c642a15/src/Pagination/SlidingPagination.php#L40 %}
{% set pagerVars = pagination.getPaginationData() %}
 1, 'query' => query])">1

In this case, you can control the route and query params passed. You can use the underlying template from KnpPaginator - https://github.com/KnpLabs/KnpPaginatorBundle/blob/7586f90b24073643fac66fb18ec64a1d6c642a15/templates/Pagination/twitter_bootstrap_v4_pagination.html.twig - as inspiration (local variables in that template should be what's inside of pagerVars above). You could even turn this into a reusable <twig:Pagination :pagination="pagination" route="some_route" :extraQueryParams="{query: query}" /> to use in different pages.
Cheers!

Thanks again for the feedback.
I made some changes and it's not bad at all 👍
Only one last thing ...

I land on my search page
I type a search word, the component makes its update and render new content
I click on a page in the pagination navigation: it makes a query with page and query in parameters, and render the new content
I change le search word in the input: it renders the new content and land on page 1 ... perfect ! But in my url, I conserve the old values for page and query

I think we can't do anything because the page is not reloaded and can't erase parameters in the url.
Personally, I think it doesn't matter a lot but I stay in touch in case you have an idea about that.
Again, thank you Ryan for your help.

My new code, just in case:
Search Component:
#[AsLiveComponent]
class SearchComponent
{
    use DefaultActionTrait;

    #[LiveProp(writable: true)]
    public ?string $query = null;

    public function __construct(private PackRepository $packRepo, private PaginatorInterface $paginator, private RequestStack $requestStack)
    {
        if ($this->requestStack->getCurrentRequest()->query->has('query')) {
            $this->query = $this->requestStack->getCurrentRequest()->query->get('query');
        }
    }

    public function getPacks(): pageint
    {
        $request = $this->requestStack->getCurrentRequest();
        $packs = $this->packRepo->findAllPaginate($this->query);
        $pagination = $this->paginator->paginate($packs, $request->query->getInt('page', 1), 6);
        $pagination->query = $this->query;

        return $pagination;
    }
}

Twig component:

    <input
        type="search"
        data-model="query"
        placeholder="Rechercher un pack ..."
        class="form-control"
    >

        {% for pack in this.packs %}
            {{ component('cardpack', {id: pack.id}) }}
        {% endfor %}

        {% set pagerVars = this.packs.getPaginationData() %}
        {% include 'list_packs/_pagination.html.twig' with {'pagerVars': pagerVars} %}

Template pagination:
{% if pagerVars.pageCount > 1 %}

    {% set classAlign = (pagerVars.align is not defined) ? '' : align=='center' ? ' justify-content-center' : (pagerVars.align=='right' ? ' justify-content-end' : '') %}
    {% set classSize = (pagerVars.size is not defined) ? '' : size=='large' ? ' pagination-lg' : (pagerVars.size=='small' ? ' pagination-sm' : '') %}

        {% if pagerVars.previous is defined %}

                « Précédent

        {% else %}

                « Précédent

        {% endif %}

        {% if pagerVars.startPage > 1 %}

                1

            {% if pagerVars.startPage == 3 %}

                    2

            {% elseif pagerVars.startPage != 2 %}

                    …

            {% endif %}
        {% endif %}

        {% for page in pagerVars.pagesInRange %}
            {% if page != pagerVars.current %}

                    {{ page }}

            {% else %}

                    {{ page }}

            {% endif %}

        {% endfor %}

        {% if pagerVars.pageCount > pagerVars.endPage %}
            {% if pagerVars.pageCount > (pagerVars.endPage + 1) %}
                {% if pagerVars.pageCount > (pagerVars.endPage + 2) %}

                        …

                {% else %}

                        {{ pagerVars.pageCount -1 }}

                {% endif %}
            {% endif %}

                {{ pagerVars.pageCount }}

        {% endif %}

        {% if pagerVars.next is defined %}

                Suivant »

        {% else %}

                Suivant »

        {% endif %}

{% endif %}

Yes... when the component re-renders, it's on a different route than on the page. I think you just need to explicitly set the route:
    public function getPacks(): pageint
    {
        $packs = $this->packRepo->findAllPaginate($this->query);
        $pager = $this->paginator->paginate($packs);
        $pager->setUsedRoute('blog_articles');

        return $pager;
    }

Let me know if that helps - it might make for a nice demo too :)

I came across this issue when searching for a similar problem using a mixture of LiveListener and Pagerfanta in a live component. The pagination would work as expected until the component refreshed via the listener.
If it helps anyone using Pagerfanta I resolved it using the options param in the twig Pagerfanta function and setting my route there.
{{ pagerfanta(pager, null, {routeName: 'app_my_route', routeParams: {dinosaur: this.dino.id}}) }}


fix: fix openai get_user_message

opts.message is of type AvanteLLMMessage. The message.content field should be used. Otherwise, table.concat(opts.messages) will fail.

@yetone  Can you help confirm this issue? Version 0.0.8 doesn't have this problem, but version 0.0.9 introduced it.

Are you using get_user_message in your custom providers?
since I don't think we use this anywhere

Are you using get_user_message in your custom providers?
since I don't think we use this anywhere

Yes, I use it in custom providers.


Some "ineffassign" fixes

Just some issues that I found on Go Report Card.
Let me know if they're not necessary or the messages aren't quite right, happy to close it out or modify as needed.

Coverage remained the same at 89.563% when pulling 3431fa6cfb484b5258b0c4646faf2427505a57a1 on shawnps:ineffassign-fixes into 7e67db816c509811a4bf4fbbd04b43329f7f1616 on square:master.


Issue Response Time Endpoint

/timeseries/issues/response_time
[
	{
		"date": "2015-01-01T00:00:00.000Z",
		"issues_opened": 2,
		"issue_comments": 5,
		"response_time": 24 // hours
	}
	...
]

Checking status


Add isort and black

adds isort
adds black
adds checkqa env to tox
runs checkqa env on python3
cleanup the code

Travis got stuck :(

Finally it's passed out!

@blueyed are we okay with this PR?


added dates calculator functions, templates and styles

I created a form for two dates. One is for the first date we start from and the second is for the date we end with.
After clicking on the button "calculate" we get the difference in days between the two dates.
We don't have to enter data to the first date input, what will happen is that the first date will become the current date.

Codecov Report

Merging #274 (f85d59f) into develop (856c843) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #274   +/-   ##
========================================
  Coverage    99.06%   99.06%
========================================
  Files           48       48
  Lines         2251     2251
========================================
  Hits          2230     2230
  Misses          21       21

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 856c843...1e5b909. Read the comment docs.


[WIP] code/format: Fix/update and shift owner checks -> envoy.code.check

Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

cc @jmarantz

tested and it worked for me

/lgtm deps

@jmarantz i have tested this using both the non/bazel ways
i tested against the PR <> main so essentiall it was checking the following files (most of which are ignored):
BUILD
CODEOWNERS
tools/base/requirements.in
tools/base/requirements.txt
tools/code/BUILD
tools/code_format/check_format.py
tools/local_fix_format.sh

timings for current non-bazel way:
$ time ./tools/local_fix_format.sh -skip-bazel -main
... skip ...
real    0m2.322s
user    0m2.194s
sys     0m0.506s

and for using bazel:
$ time ./tools/local_fix_format.sh -main
... skip ....
real    0m1.348s
user    0m0.529s
sys     0m0.179s

The reason for this is using the loop adds a huge overhead - the timings should be equivalent - running the same code on the same files
This included spellchecking - which exaggerates the differences and the poor performance of the loop - i tested without it and the times were ~1.8s non-bazel v ~1.3s bazel
its true that bazel adds some overhead - ~300/400ms in my local setup (which uses RBE so slower)
the only case i can find using the non-bazel way faster is running on a single file

the only case i can find using the non-bazel way faster is running on a single file

or removing the loop (which is possible with this PR)
in that case non-bazel wins as it doesnt have the overhead and is otherwise running ~the same code

its true that bazel adds some overhead - ~300/400ms in my local setup (which uses RBE so slower)

testing this further and im getting a slightly higher overhead so i removed RBE and it drops to more 1-200ms


Support prevent_destroy feature for cloud resources

A few users kept asking whether we can support preventing cloud resources from being deleted. We asked them to use the delete protection feature if the cloud provides the option like https://registry.terraform.io/providers/aliyun/alicloud/latest/docs/resources/ess_scaling_group#group_deletion_protection.
Now Terraform officially provides prevent_destroy in lifecycle with a resource since v1.3 https://developer.hashicorp.com/terraform/tutorials/state/resource-lifecycle#prevent-resource-deletion. We might also need to support it.

Good idea! Let's hold the issue and see how many people need it.


429 adapt secir model structure

Adaptation of the Secir model to the structure of the Secirvvs and Seir model.
Therefore, A new name space osecir was inserted. In addition, the examples were adjusted accordingly.
Merge Request - GuideLine Checklist
Guideline to check code before resolve WIP and approval, respectively.
As many checkboxes as possible should be ticked.
Checks by code author:

[x] There is at least one issue associated with the pull request.
[x] The branch follows the naming conventions as defined in the git workflow.
[x] New code adheres with the coding guidelines
[x] Tests for new functionality has been added
[x] A local test was succesful
[ ] There is appropriate documentation of your work. (use doxygen style comments)
[ ] If new third party software is used, did you pay attention to its license? Please remember to add it to the wiki after successful merging.
[ ] If new mathematical methods or epidemiological terms are used, has the glossary been updated ? Did you provide further documentation ?
is present or referenced. Please provide your references.
[ ] The following questions are addressed in the documentation*:  Developers (what did you do?, how can it be maintained?), For users (how to use your work?), For admins (how to install and configure your work?)
For documentation: Please write or update the Readme in the current working directory!

Checks by code reviewer(s):

[ ] Is the code clean of development artifacts e.g., unnecessary comments, prints, ...
[ ] The ticket goals for each associated issue are reached or problems are clearly addressed (i.e., a new issue was introduced).
[ ] There are appropriate unit tests and they pass.
[ ] The git history is clean and linearized for the merge request.
[ ] Coverage report for new code is acceptable.

Closes #429

Codecov Report
Base: 90.84% // Head: 90.84% // Decreases project coverage by -0.00% :warning:

Coverage data is based on head (ea6f2c9) compared to base (7f3cc33).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #434      +/-   ##
==========================================
- Coverage   90.84%   90.84%   -0.01%
==========================================
  Files          91       91
  Lines        6881     6879       -2
==========================================
- Hits         6251     6249       -2
  Misses        630      630

Impacted Files
Coverage Δ

cpp/models/ode_secir/parameters_io.h
97.00% <ø> (ø)

cpp/models/ode_secir/analyze_result.h
100.00% <100.00%> (ø)

cpp/models/ode_secir/model.h
99.27% <100.00%> (ø)

cpp/models/ode_secir/parameter_space.cpp
100.00% <100.00%> (ø)

cpp/models/ode_secir/parameters.h
75.12% <100.00%> (ø)

cpp/models/ode_secir/parameters_io.cpp
89.54% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Run python unittests; configure codecov via YAML

fixing #2509, adding recommended YAML file for better codecov.io integration

What about these failing python unit tests though?  It appears to work fine on my Mac, so maybe it is not deterministic? or ordering is based on something different for Linux vs. Darwin?

Maybe we need to sort these or use set()/frozenset()?

Current coverage is 81.46% (diff: 100%)

No coverage report found for master at 7d9c373.

Powered by Codecov. Last update 7d9c373...a677d1f

@arv PTAL, using sorted instead of frozenset. unittest2 package has assertElementsEqual but we aren't using that. Python 3.2+ unittest has another similar option, but we are using Python 2.7.

Still LGTM


Hostdb failure modes

The hostdb is often empty. I'm not sure why hosts are getting dropped, but if there are hosts online (which there always should be), then they should be reachable according to the hostdb.
If the hostdb ever detects that the number of hosts has dropped below some threshold, it needs to check through all of the hosts that have ever been announced and find more people who are online.

The new renter-host strategy that is planned will obsolete this issue.


Update PolymerProxyMixin class.

This should have everything here https://www.polymer-project.org/1.0/docs/devguide/utility-functions.html

@jakemac53 here is some detailed api for the Polymer.Base class:
http://polymer.github.io/polymer/

ah nice thanks

Also, the array modification apis should most likely be translated to the dart list equivalents, see https://github.com/dart-lang/polymer-dart/blob/0.17-0-dev-interop-reverse/lib/src/common/polymer_mixin.dart#L40 for an example.

As mentioned in the bug I linked here, this class should probably be renamed to PolymerBase as well.

done


Update docs for setup w/ Hapi Local

Add directions for ifconfig and setting the config.js appropriately.

Fixed with https://github.com/bartonhammond/snowflake/releases/tag/0.1.3

do I have to install hapijs manually?

When you clone the Snowflake hapi server project, you do the typical npm install and you have a server.  Be sure to do ipfconfig to get the ip
address.  This is discussed in the README for both project.  You have to
set up both project to use the ip address.
On Aug 17, 2016 8:13 AM, "Muhaimin"<EMAIL_ADDRESS>wrote:

do I have to install hapijs manually?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/bartonhammond/snowflake/issues/115#issuecomment-240406632,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABORPEYO6AVZeH8OaRThF39Tr10IF6f2ks5qgwkNgaJpZM4JiZNp
.


Reduce duplication in sharded tests in .cirrus.yml

Description
The .cirrus.yml file contains much duplication because we configure each shard individually, and all shards have the same configuration. @nturgut pointed out the existence of yaml templates that help with the duplication. We used it successfully in the engine repo for sharded web tests.
Tests
If Cirrus tests pass, we should be good to go.
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I signed the CLA.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Did any tests fail when you ran them? Please read Handling breaking changes.

[x] No, no existing tests failed, so this is not a breaking change.
[ ] Yes, this is a breaking change. If not, delete the remainder of this section.

[ ] I wrote a design doc: https://flutter.dev/go/template Replace this with a link to your design doc's short link
[ ] I got input from the developer relations team, specifically from: Replace with the names of who gave advice
[ ] I wrote a migration guide: Replace with a link to your migration guide

what dark magic is this


Change OpeningKey to VerificationKey/VerifierKey

This has been taken from Benedikt Wagner's document.
After checking what gnark and arkworks does, I agree that this should be changed to VerifierKey/VerificationKey.
Related to #246

I lean towards VerificationKey, but both are fine :+1:


Update customize_autogenerated_columns.md

Fixes #388
What changes to the docs does this PR provide?
Fixes C# Example Typo
PR Checklist
Please check if your PR fulfills the following requirements:

[ ] Correctly picked the right branch to base the change off (master for new features, live for typos/improvements)
[ ] For new pages, used the provided template
[ ] For new features, added an entry in the Table of Contents
[x] Ran against a spell and grammar checker
[x] Contains NO breaking changes

Other information

Docs Build status updates of commit ba29a7a:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/controls/datagrid_guidance/customize_autogenerated_columns.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


npm run build - builds the framework without any console messages

why did we add this step?
we should at least add a message that this is being built

Due to npm ecosystem BS.
We needed the Detox source to be in a specific place in order to build a .framework on the client side in postinstall. Since that cannot be guaranteed (wonders of npm / yarn), we now build it before publish.

Fixed with 03b0988


Links aren't detected if h-breadcrumb mf2 is used on source page

For example please try to send webmentions for source url https://dogada.org/dvd/blog/known-review
It will be detected single  link. However for version of page without h-breadcrumb
https://dogada.org/dvd/blog/known-review?breadcrumbs=off
all links are detected.
Looks like it's same issue that was fixed in Bridgy yesterday:  https://github.com/snarfed/bridgy/issues/621

Interesting, I haven't seen anyone use h-breadcrumb as the first thing on the page before. It looks like the solution for Bridgy was to look for the first h-object of a known type. I could probably do the same here.

This discovery is actually done by the mention-client-php library so I've opened an issue there: https://github.com/indieweb/mention-client-php/issues/29


Allow specifying start and end times for filters and measurements

Being able to gate e.g. a FFT to a certain part of a signal would be nice.

This should be fixed once we merge the "extract region of waveform" filter that @602p is working on.

We have the "window" filter but leaving this open until we get some GUI glue to make it easier to specify the end points


Connection reset by peer

[x] I have read the README.md file and visited the Documentation to see if the information there helps.

Describe the bug
Not reconnecting to MQTT
Expected behavior
The software to reconnect to the MQTT server, or exit with a fatal error
Error messages and traceback
2021-12-06 00:24:39 mqtt_io.server [INFO] Digital output 'relay11' set to False (off)
2021-12-06 00:24:39 mqtt_io.server [INFO] Digital output 'relay12' set to False (off)
failed to receive on socket: [Errno 104] Connection reset by peer

Config
mqtt:
  host:
  port: 1883
  user: ""
  password: ""
  topic_prefix: relay/rack

gpio_modules:
  - name: raspberrypi
    module: raspberrypi

digital_outputs:
  - name: relay1
    module: raspberrypi
    pin: 2
    on_payload: "ON"
    off_payload: "OFF"

More outputs are defined, in an identical fashion
Hardware

Platform: Raspberry Pi 1 Model B 512MB
Connected hardware:  N/A

System:

Version: 2.2.6
OS: Raspbian
Python version: 3.7.3
User you're running as: pi
Using a virtualenv?: no

Additional context
I believe this is also happening to some pi zeros too, but I do not have the logs to verify

I have the same issue. However no error message.
I am also running only digital outputs. On an RPI 2B with bullseye installed. Everything works fine with mosquito server running as addon in home Assistant. After HA reboot or restart of the mosquito addon, nothing is received on the mqtt-io client. Only restarting the process seems to fix it. Basically reinitiating the connection.

The problem has existed since the switch to asynchronous. You have to control an input first and it reconnects. I went back to the old version, it works great.

The problem has existed since the switch to asynchronous. You have to control an input first and it reconnects. I went back to the old version, it works great.

Thanks. Could you tell me which version is the old one? Everything below 2.0.0?

I forked and removed everything but PIFace and GPIO. If that is enough for you, you can use this. I added installation instructions in German. You can use the translator.

My solution to this issue has been to switch to use an esp32 running esphome (connecting to home assistant)


line graph will not start at zero or first tick as minimum value

Current chart
A little explanation: My graph is built on a given time interval. The time interval is calculated depending on the selected item in the drop-down list. Now the interval is set to "month".
The line starts its path from the point where the first value appeared. I tried to make exactly the same graph on codepen, but the graph starts its way from the zero point.
How i can draw a graph line from zero to the first value so that the graph looks normal?
Example on Codepen
And my current chart options
scales: {
                xAxes: [
                    {
                        ticks: {
                            maxTicksLimit: 31,
                            maxRotation: 90,
                            minRotation: 45,
                        },
                        type: "time",
                        time: {
                            min: window.minDate,
                            max: window.maxDate,
                            parser: "DD.MM.YYYY HH:mm:ss",
                            unit: window.unit,
                            stepSize: window.stepSize,
                            displayFormats: {
                                day: "DD.MM",
                                month: "MMMM",
                                week: "DD.MM",
                                minute: "HH:mm",
                                hour: "HH:mm",
                            },
                            display: false,
                        },
                    },
                ],
                }

beginAtZero: true - doesn't work, I've tested it so many times, and for the y axis too.
In fact, I can output the entire graph by adding the date range for "year" to the Ajax query selection condition. But in this case some of other functions stop working. Help to avoid this.
Ajax with "year" condition

I don't understand the problem, but maybe min: 0 is what you are looking for (in the y-axis)?


etcd support on IPv6

Does etcd support IPv6 ? Haven't seen any document specifying about IPv6 etcd cluster.

I guess the docs are limited on this but if you use IPv6 address vs IPv4 this should just work, have you tried it? Please let us know if you have any issues with it.


All "Lua script API" downloading as XMLs.

Describe your bug here.
Hi.
I tried downloading the cutscene Lua script but it downloaded as a .zip.xml. Tried opening up and says this:
AccessDeniedAccess denied.Anonymous caller does not have storage.objects.get access to the Google Cloud Storage object.
Happens with all the Lua files.
Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Lua
What is your build target?
Mac
Did you edit anything in this build? If so, mention or summarize your changes.
No.

then you have an issue with chrome

Tried using many different browsers

It's an issue with the documentation's links


Add Whimsy static install page for mozorg get involved tests.

Quick summary:
We're going to be running a couple test iterations on the get involved page. These tests will list 6 specific tasks for the user to complete. One of these tasks will be to install Whimsy and, optionally, go to AMO, sign in/up, and review the add-on.
We'd like the user to be able to install without leaving the flow, hence this static page.
Very similar to the pages created for Fx 35.0.1 firstrun tests in #440.

Would this stay forever or would there be a point where we can remove it? If so, could we file a bug for removing it at some point in the future.

Looks good, thanks @jpetto !
r+
Please let us know when this should be removed, so we can create a bug for that ;)

The failing test was unrelated and fixed on master already.

Removal bug has been filed.
Thanks!


Update SMTP

SMTP for acc and prod needs to be updated

[x] Test on acc
[x] Set on production
[x] Test again on August 31

It's tested and works properly a80ba62e220eda1a8591a575088e49d321975533


[BUG] GET /_cluster/stats and GET /_nodes bcw broken

Describe the bug
The change in https://github.com/opensearch-project/OpenSearch/pull/12271 resulted in a breaking change within 2.x as GET /_cluster/stats and GET /_nodes both contain the PluginInfo object in their response bodies, and the opensearch_version field has changed from a string to an array.
Related component
Plugins
To Reproduce
GET /_cluster/stats
GET /_nodes

Expected behavior
Revert to 2.12 behavior.
Additional Details
No response

@abseth-amzn

@abseth-amzn are you looking into it on priority?

Looking into it

PR - https://github.com/opensearch-project/OpenSearch/pull/12537

PR for main - https://github.com/opensearch-project/OpenSearch/pull/12543


docs: contribution guide

Add contribution guide
Include the contribution guide in docs/dev.rst

Codecov Report

Merging #278 (9cb46b6) into dev (dbf4ae7) will decrease coverage by 7.54%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##              dev     #278      +/-   ##
==========================================
- Coverage   71.69%   64.14%   -7.55%
==========================================
  Files          49       32      -17
  Lines        3377     2114    -1263
==========================================
- Hits         2421     1356    -1065
+ Misses        956      758     -198

Impacted Files
Coverage Δ

...athology/luna/pathology/common/annotation_utils.py
32.57% <0.00%> (-59.10%)
:arrow_down:

...a-pathology/luna/pathology/common/build_geojson.py
70.74% <0.00%> (-10.21%)
:arrow_down:

pyluna-pathology/luna/pathology/common/ml.py
48.90% <0.00%> (-8.76%)
:arrow_down:

...core/luna/api/radiologyPreprocessingLibrary/app.py

pyluna-pathology/luna/pathology/cli/dsa/utils.py

...athology/luna/pathology/cli/dsa/dsa_api_handler.py

.../luna/api/radiologyPreprocessingLibrary/service.py

...-pathology/luna/pathology/cli/infer_tile_labels.py

setup.py

...adiology/luna/radiology/cli/generate_scan_table.py

... and 10 more

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 dbf4ae7...9cb46b6. Read the comment docs.


Fix #257, Correct links to community mailing list

Checklist (Please check before submitting)

[x] I reviewed the Contributing Guide.
[x] I signed and emailed the appropriate Contributor License agreement to<EMAIL_ADDRESS>and copied<EMAIL_ADDRESS>
Describe the contribution
Fixes #257
The mailing list system migrated to a new server resulting in a new subscription process.
Testing performed
Tested subscription method from separate personal emails.
Users should receive an email looking like the screenshot below upon subscription.

Expected behavior changes
No behavior changes on cFS codebase
System(s) tested on
n/a
Additional context
Streamlined subscription method, new system only requires a single email interaction as opposed to a request/approve/confirm loop
Code contributions
None

Add instructions to unsubscribe

Subscribe and unsubscribe worked for me.

Subscribe and unsubscribe worked for me.

THANKS!


Side modals

Closes #27033, closes #24718
Implementation "drawer modals".
I used this hack to make sure the .modal-footer sticks to the bottom in IE. I wrapped this in a media query to prevent strange behaviour on mobile browsers (see screenshot here https://css-tricks.com/the-trick-to-viewport-units-on-mobile/#post-274409)
// IE fix:
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  min-height: 100vh;
}

Side modals can be positioned on the left and right side of the screen and are compatible with the sizing classes.

Hi @MartijnCuppens should this be a new component instead of a reposition of the modal? Maybe something like a drawer?

Thought about that, but I think there's a lot of functionality that is the same like:

The header (with title & close button), body & footer
The backdrop
The whole js-functionality (keyboard navigation, events, prevent page scrolling,...)

Apart from that, I've made these modals compatible with the sizing classes of the modals.
But maybe I can rename them to Drawer modals in stead of Side modals, this is maybe a more frequently used term? Or do you have another suggestion, @andresgalante?

I'm more in favor of a new composant with some refactoring

Hmm, I'll need some help with the refactoring (especially the js part) if we 're going for a new component.

Wasn't this already done before in another PR?

@MartijnCuppens I would love to work with you on a separate plugin 😉

Rebased, hopefully nothing broke :)
LGTM BTW.

As it would said before your comment @XhmikosR, we'll work on a separate plugin, we won't tweak our modal to do that

If you can refactor the code to be shared between both components, sure. Otherwise there will be a lot of duplication and this solution seems pretty good as a first step.

I prefer to have two separate files, because if we have to evolve the drawer (and it'll happen) we will be scared to break things in the Modal, it's important to separate component which do not achieve the same things

Well, sure but there's a balance. There's no point in reinventing the wheel and increasing our JS code just yet when this works just fine.

That's not because it works fine, we should accept that. That's not the responsability of the Modal component to show/hide a Drawer, or if it's the case we should use our Modal component to show/hide everything...

True that's a valid point. But I care about sharing the common code so that we don't bloat the JS code needlessly

But I agree we should work on refactoring things if we add this component, I want to work on that with @MartijnCuppens

Fine by me 👍

Where is work happening on this now? I cannot find a reference to it.

Maybe some inspiration from https://material-ui.com/demos/drawers/ can help? I really like the functionality persistent/permanent and the "mini" variant. Keep up the good work :) !

Is anyone working on this?
This is what I think is most needed in Bootstrap today.
Can I contribute or give a bounty directly to this issue via opencollective or similar services?


Theme is not being provided as prop at tests (jest + react testing lib).

Hey, I'm working on a monorepo project by using Nx's + react - typescript + styled components + mui.
I also have a shred UI lib that contains my overrides to mui components with sc.
Environment
System:

OS: macOS 11.6
CPU: (4) x64 Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz
Memory: 571.96 MB / 16.00 GB
Shell: 5.8 - /bin/zsh

Binaries:

Node: 14.17.5 - /usr/local/bin/node
Yarn: 1.22.11 - /usr/local/bin/yarn
npm: 6.14.14 - /usr/local/bin/npm

npmPackages:

babel-plugin-styled-components: 1.10.7 => 1.10.7
styled-components: 5.3.3 => 5.3.3

Steps to reproduce

I have created a custom renderer with a theme provider and passed the theme.
I use props.theme inside my component
I get error message "TypeError: Cannot read property 'backgroundColor' of undefined"

Expected Behavior
I just want the theme to be provided as props while testing with react-testing-lib
Actual Behavior
jest/ typescript has not recognized the props.theme and it's undefined.
My custom renderer
`
import { ReactElement, ReactNode } from 'react';
import { render as customRender, RenderOptions } from '@testing-library/react';
import { ThemeProvider } from 'styled-components';
import { I18nextProvider } from 'react-i18next';
import i18n from './i18nForTests';

interface IProps {
  children: ReactNode;
}

export interface IRendersOptions extends RenderOptions {}

const mockTheme = {
    colors: {
      backgroundColor: '#41444f'
    }
};

function render(component: ReactElement, { ...renderOptions }: IRendersOptions = {}) {
  const Wrapper = ({children}: IProps) => {
    return (
            <I18nextProvider i18n={i18n}>
              <ThemeProvider theme={mockTheme}>
                {children}
              </ThemeProvider>
            </I18nextProvider>
      </UserSessionContext.Provider>
    );
  }
  return customRender(component, {wrapper: Wrapper, ...renderOptions});
}
export { render };
`

The component file:
import styled from 'styled-components';
import { MenuItem as MuiMenuItem } from '@mui/material';

export const MenuItem = styled(MuiMenuItem)`
  align-items: center;
  justify-content: flex-start;
  &:last-child {
    border-bottom: none;
  }
  &:hover {
    background: ${(props) => `${props.theme.colors.backgroundColor}`};
  }
`;`

Sorry, I'll have to close this due to inactivity ✌ The issue doesn't really have anything to do with styled-components per se, but as far as I can tell it seems to be something with your setup that prevents that theme from being provided, e.g. due to duplicate provider instances maybe.
We do have our Discord and StackOverflow for questions. But we're working on setting the former up more visibly

I was so wishing this could have been answered. My exact set up as well. I do think it is related to styled-components as it doesn't happen with my React providers which are used in the exact same way.
I have gone through the usual suspects. I am using Vite to bundle and make sure that styled-components is a peer dependency. It is a monorepo, so there is only one copy of styled-dependency in my single node_modules folder. If I publish my package and use the published version, the error is no longer there. But if I try to run my tests in my monorepo, the theme property on styled-components ThemeProvider is an empty object {}
Using vitest to run the tests.

@oravecz Maybe try checking whether you've got two separate installations of styled-components (or even two separate instantiations of the ThemeContext)
Apart from that without a reproduction it's simply down to searching for such issues in your codebase to be honest 😅
We've got a Discord though, as pointed out above that's available for any related questions. To link it directly this time: https://discord.gg/hfGUrbrxaU

I had pretty much the same issue: monorepo, pnpm, styled components, vite, vitest, and of course undefined theme while testing.
importing ThemeContext from styled-components and then export it to the other packages so they will import ThemeContext from this specific package instead of styled-components has solved my issue.
I'm not exactly sure it happens only in tests, but now everything seems to work just fine.

I think it is due to tests running using UMD (or cjs) bundling and it brings this problem to the surface. Using the components via an ESM loader, and the theme object is populated as expected. Also, noticing the theme object is supplied via the context properly when using a hook to expose it to the child, but not when accessing the theme via styled-component's ${props => props.theme} syntax. Again, only when running tests using my UMD bundle.

Why has this been closed?

Any updates on this? Facing the same issue.

Not sure why this has been closed. It's still an issue

same issue here

same issue

Same issue here.

same issue

In vitest case, replacing
import { ThemeProvider } from "@mui/material/styles";toimport { ThemeProvider } from "@emotion/react";`
has solved my issue.


Adding tests for Altinity Grafana Plugin

shall fix https://github.com/Altinity/clickhouse-grafana/issues/510

also, remove pycache recusivelly
and add pycache to .gitignore

@antip00
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

let's rename job tests to testflows
and upgrade to actions to v4

could you merge latest master?


Verify vague

Unclear what is meant by highlighting a group on the Group rules tab and choosing Summary and highlighting a user on the Users page, and then clicking Summary. Also some guidance please on whether to remove the direct assignments after group rules are in place.

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

ID: 4e193f57-621f-6b4b-6609-4cf6ab9fbdeb
Version Independent ID: 26c4fcee-8a9b-d12c-426d-567b2f7cd768
Content: Migrate to group-based resource management
Content Source: docs/accounts/migrate-to-group-based-resource-management-in-VSTS.md
Service: unspecified
GitHub Login: @erickson-doug
Microsoft Alias: chcomley

@riezebosch Thanks for letting us know. I've added a few screenshots for some clarity and this should be live sometime today. I've also added a work item to the backlog for guidance on whether to remove the direct assignments after group rules are in place. Thank you!


Update deploy-control-plane.md

Added to fix Issue
    export CONFIG_REPO_PATH="${HOME}/Azure_SAP_Automated_Deployment/sap-automation-samples/Terraform/WORKSPACES"
    export SAP_AUTOMATION_REPO_PATH="${HOME}/Azure_SAP_Automated_Deployment/sap-automation"

@KimForss

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


Install environment deps in root

This will install everything in the root conda environment.
I have also removed nb_conda and nb_conda_kernels so that
there is just one environment available and students don't
have to be exposed to the weirdness of having to select the
"root" or "default" environment, when these are in fact the
same.
@lwasser if you need other functionality from nb_conda, it
can be added again to the environment.yaml file!
Solves #2

@lwasser my main question relevant to this PR is: do you need nb_conda, or can we drop that dependency for this environment?
Not having it ensures that just one kernel appears in the notebook. Having nb_conda leads to students needing to choose between the "root" and "conda default" environments, which are actually the same, but this might cause some extra confusion. That said, if you need to have nb_conda, it would be easy to add back in.

ok a few things

binder is now broken. I wonder if it's the dockerfile that it doesn't like?
speaking of the above - we will now need to maintain 2 repos without the nb_conda and the kernel packages. because i think we do want this for the class (for those running locally). i think it's a bad idea to ahve students always install into their root dir on their laptops.

I'm going to merge this for now but do you have any thoughts on this? it would be ideal to only have to deal with one yaml file! i'm merging this because i'm curious if binder works again after. if not - maybe i have a repo for the dockerimage and a repo for the yaml envt?

ok @mbjoseph  i've looked into this a bit more. I DO WANT nb_conda for teaching. what happens with notebooks is it abstracts away a lot of the backend. having a nice tab to show them a bit of that is really really powerful.
BUT here is my question for you. If we have this - does that give them the ability to modify the jupyter environment? If that is the case it's dangerzone! just curious how it would work with a cloud implementation.

Heya @lwasser - see following for some thoughts!
I think 1. Can be a separate issue. I'm not sure whether binder prioritizes environment.yaml files after Dockerfiles, or something like that.
For 2: To clarify, students running locally can still install this into a non-root environment following your instructions in the README. I override the name in the Dockerfile to install in the root env:
conda env update -n root -f environment.yml

Students can still do this to create a new env:
conda env create -f environment.yml

If students have nb_conda I think they will have an easier time installing things, which may or may not be a good thing. Easy to add if we want it though! I don't think maintaining two repos will be fun long-term.

agreed. so my thought is if the nb_conda isn't in the yaml file it's one more thing for them to have to install into the earth-analytics-python envt . Although perhaps that could be a good learning moment to teach them how to do that? i'm testing docker and binder right now to see what happens :) i'll open another issue for binder not working! and perhaps an issue to consider whether we want nb_conda or not!!

thank you so much for all of the help with this! i'm so excited to try jupyterhub again with it!


Dsc.Parse returns True if file can be opened but data fails to parse

The exception in Dsc.Parse at https://github.com/ydkhatri/UnifiedLogReader/blob/master/UnifiedLog/Lib.py#L1504 does not sets the result to False hence the method returns True even if the code between the try except fails.
Also the Except is very broad and will catch things like ImportErrors, could you reduce the except to IOError, OSError, and struct related exceptions?

I've made some changes in https://github.com/ydkhatri/UnifiedLogReader/pull/14/commits/14c40873ca315fbafae672396c3acc79ccf0ddfd#diff-f76a8f6cff79cdf7dd95a5aebd1a729bR125 for the broad except. See if you agree.

@ydkhatri I'm having a look at refactoring the Parse method
An FYI https://github.com/ydkhatri/UnifiedLogReader/blob/master/UnifiedLog/Lib.py#L1369
            for i in range(self.num_range_entries):
                uuid_index, v_off, data_offset, data_len = struct.unpack("<IIII", buffer[pos:pos+16])
                self.range_entries.append([uuid_index, v_off, data_offset, data_len])
                pos += 16

there is no sanity check on self.num_range_entries and if this value is large range(self.num_range_entries) consumes vast amount of memory. See https://github.com/google/binplist/issues/8 for a similar issue.

https://github.com/joachimmetz/UnifiedLogReader/tree/fix16

Currently, there aren't many sanity checks in the code, we should add a few to fix at least some of the predictable failures due to file corruption.

Agree; thought this can sometimes be tricky to determine what the exact bounds should be, limiting the use of range() will prevent memory consumption to explode.

Immediate issue has been addressed.


Android version open to a blank screen

Are you on the latest version of the app (not the game files)? This is a bug I fixed on newer versions of it in theory.

Yes i installed the lastest update of the app

Mine keeps getting connection errors even though the internet is running smoothly

I'm going to close this for now since I don't really have much more information to go off of; just make 100% sure that the app is updated, and I'd double check that your device can run the browser version of the game as well, just in case it's not the app's fault.


Feature: Update devcard with new design

Suggested solution
We have a slightly updated Devcard design to implement

Assets

Priority order:

Oscr title in orange
Add the ’top X%’ badge
replace bg chart with gradient
update table in the back

Nice to haves:

repo badges

Can we also add score/300?

Did abit of data analytics on the ~400,000+ contributors we've crunched the OSCR on:

Maybe not surprising, there's a huge weight near 0. My hypothesis is that most people are not actively contributing to an open source project or participating in conversation. Anyone above 250 is a true unicorn and in the 1%. The spread from 1% to 5% looks pretty even. What I suggest is the following:
250+ is top 1%
235+ is top 2%
225+ is top 3%
215+ is top 4%
200+ is top 5%
100+ is top 10%


Keywords to search on each element

Is that possible to set a data-attribute on each item to be searched and, if it has the attribute data-keywords (or whatever), the plugin filter only that words instead of the element content?
I'm making a dashboard on my job where I list every clients and all of them has links to their applications, but all the links has the same names, with different hrefs. Example:

${name}

        Stable

        Admin

        CRM

        Master Data

Sometimes I would like to type zeedog, but the client name is Zee.Dog, hiding it just because I can't set some keywords specifics to that list item.

Hi, if I understand correctly, you want to search against a custom attribute such as data-keywords... That can be done by setting the name of the attribute to the option attribute:
$('#search').hideseek({
    attribute: 'data-name'
});

Here is an example based on your html code: https://jsfiddle.net/dkrestos/8Ldkb1qd/


Sort user created EIDR events by creation date

The event creation date is now saved and is the default sorted field for the user event list

👍


Updated Ash Furrow’s original.

The central issue with the original implementation is that the changes of both sections and items were not coalesced for UICollectionView.
This update coalesces the changes. Where items are inserted into sections that are already being inserted, or deleted from sections already being deleted, it discards the updates.
It also alters the move requests, when moving to or from inserted or deleted sections, to be item insertion and deletions.

Coooool. Really great PR. Two things I'd like to see changed:

There are a few occurrences of if (array.count), which isn't obvious to Objective-C beginners, so if we could use if (array.count > 0), that would be awesome.
Could you update the README to reflect the new changes (still point to the Swift version, but take out the "don't use this" bit), and also give yourself some well-deserved credit?

Updates have been added. Feel free to merge it in.

Looks great, thanks!


Added pre-commit to build documentation with Sphinx.

@delucchi-cmu that is correct. This is just meant to attempt to build the documentation and notify the user if the the build is broken.


[FLINK-19934][Connector] Add a new API: SplitEnumeratorContext.runInC…

…oordinatorThread(Runnable)
What is the purpose of the change
This PR adds a new API in SplitEnumeratorContext so that enumerator can run all actions in the source coordinator thread.
Verifying this change
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (yes)
If yes, how is the feature documented? (JavaDocs)

+1 from my side
@becketqin Unless you have any concerns, I'd merge this before the feature freeze.

+1. No concerns from my side.

I think this PR breaks the master @StephanEwen because MockSplitEnumeratorContext does not implement SplitEnumeratorContext.runInCoordinatorThread.

Sorry I think the problem was introduced with #13574.

I've fixed the problem with a1ec69a75f7e3512b8de698619d53f5d89897973


Fix empty proposal table

Description
See #905
Motivation
See #905
Fixes:

Removed private variable for token in ScicatDataService

Tests included/Docs Updated?

[ ] Included for each change/fix?
[ ] Passing? (Merge will not be approved unless this is checked)
[ ] Docs updated?
[ ] New packages used/requires npm install?
[ ] Toggle added for new features?
[ ] Requires update of catamel API?

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 1 (0.0%)  changed or added relevant line in 1 file are covered.
23 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.004%) to 74.151%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/app/shared/services/scicat-data-service.ts
0
1
0.0%

Files with Coverage Reduction
New Missed Lines
%

src/app/shared/services/scicat-data-service.ts
23
6.06%

Totals

Change from base Build<PHONE_NUMBER>:
-0.004%

Covered Lines:
3569

Relevant Lines:
4435

💛  - Coveralls


error cross compilation for aarch64

Description
Hi,
I'm trying to cross-compile libedgetpu for aarch64 using the makefile approach in order to update the lib on coral dev board.
I used the suggested commit for TF2.5. I aldo downloaded the source code for abseil-cpp, flatbuffers and libusb that are the dependecies and edited the makefile_build/Makefile in order to add the include path of these libraries.
I have a bounch of error compiling $(TFROOT)/tensorflow/lite/util.cc :
error: no matching function for call to 'tflite::Pool2DOptions::VerifyField<int8_t>(flatbuffers::Verifier&, tflite::Pool2DOptions::FlatBuffersVTableOffset)
error: no matching function for call to 'tflite::DepthwiseConv2DOptions::VerifyField<int8_t>(flatbuffers::Verifier&, tflite::DepthwiseConv2DOptions::FlatBuffersVTableOffset) const'
and so on..
Can someone help me?
Regards
Click to expand!
Issue Type
Support
Operating System
Mendel Linux, Linux, Ubuntu
Coral Device
Dev Board
Other Devices
No response
Programming Language
C++
Relevant Log Output
Compiling /data/tensorflow/tensorflow/lite/util.cc
In file included from /data/tensorflow/tensorflow/lite/util.cc:30:
/data/tensorflow/tensorflow/lite/schema/schema_generated.h: In member function 'bool tflite::QuantizationParameters::Verify(flatbuffers::Verifier&) const':
/data/tensorflow/tensorflow/lite/schema/schema_generated.h:3241:58: error: no matching function for call to 'tflite::QuantizationParameters::VerifyField<uint8_t>(flatbuffers::Verifier&, tflite::QuantizationParameters::FlatBuffersVTableOffset) const'
            VerifyField<uint8_t>(verifier, VT_DETAILS_TYPE) &&
                                                          ^
In file included from /data/flatbuffers/include/flatbuffers/flatbuffer_builder.h:32,
                 from /data/flatbuffers/include/flatbuffers/flatbuffers.h:27,
                 from /data/tensorflow/tensorflow/lite/schema/schema_generated.h:21,
                 from /data/tensorflow/tensorflow/lite/util.cc:30:
/data/flatbuffers/include/flatbuffers/table.h:115:8: note: candidate: 'template<class T> bool flatbuffers::Table::VerifyField(const flatbuffers::Verifier&, flatbuffers::voffset_t, size_t) const'
   bool VerifyField(const Verifier &verifier, voffset_t field,
        ^~~~~~~~~~~
/data/flatbuffers/include/flatbuffers/table.h:115:8: note:   template argument deduction/substitution failed:
In file included from /data/tensorflow/tensorflow/lite/util.cc:30:
/data/tensorflow/tensorflow/lite/schema/schema_generated.h:3241:58: note:   candidate expects 3 arguments, 2 provided
            VerifyField<uint8_t>(verifier, VT_DETAILS_TYPE) &&
In file included from /data/flatbuffers/include/flatbuffers/flatbuffer_builder.h:32,
                 from /data/flatbuffers/include/flatbuffers/flatbuffers.h:27,
                 from /data/tensorflow/tensorflow/lite/schema/schema_generated.h:21,
                 from /data/tensorflow/tensorflow/lite/util.cc:30:
/data/flatbuffers/include/flatbuffers/table.h:115:8: note: candidate: 'template<class T> bool flatbuffers::Table::VerifyField(const flatbuffers::Verifier&, flatbuffers::voffset_t, size_t) const'
   bool VerifyField(const Verifier &verifier, voffset_t field,

Hello @liviolima80 can you please try to cross compile with bazel+docker: https://github.com/google-coral/libedgetpu#bazel--docker

@hjonnala I've been running into the same thing. It works fine in the bazel+docker flow, but when I try to build it in a arm64v8/ubuntu:latest image, I get similar errors.
For me, I'm using TF 2.12, and there might be a chance that the debian/ubuntu package used may be too old.

Updated builds and repo available here:
https://github.com/feranick/libedgetpu


Fe assignment 3

Documentation
https://valuable-warrior-a8a.notion.site/Mini-Project-on-Stock-Market-06d6dc3fb9d54db28ed99ab416a5e0bc

Metric
Value

alert_status
:white_check_mark: OK

bugs
3

code_smells
16

reliability_rating
D (at least 1 Critical Bug)Note: A being best, E being worst

security_rating
A (0 Vulnerabilities)Note: A being best, E being worst

vulnerabilities
0

Metric
Value

alert_status
:x: ERROR

bugs
3

code_smells
15

reliability_rating
D (at least 1 Critical Bug)Note: A being best, E being worst

security_rating
A (0 Vulnerabilities)Note: A being best, E being worst

vulnerabilities
0

Metric
Value

alert_status
:x: ERROR

bugs
3

code_smells
15

reliability_rating
D (at least 1 Critical Bug)Note: A being best, E being worst

security_rating
A (0 Vulnerabilities)Note: A being best, E being worst

vulnerabilities
0


Consider using the EventEmitter

Using the EventEmitter might help decoupling actions. For example logging, tracking. It also helps with dependencies. SendMessage Handler could emit 'connections-in-room-changed' which will trigger a message being send to connections in the room. The main drawback I see at the moment is that is harder to see how pieces work together in the system. It's harder to follow execution paths.
The main advantage is standardisation. The system defines actions and reacts to those actions.

Consider using a sqs instead to handle asynchronous actions like tracking events or broadcasting system messages like connections-in-room-changed


Hanging intercepted request

Hi!
I'm trying to load a URL: https://kyfw.12306.cn/otn/login/init , but the loading is always interrupted due to a hanging OPTIONS request. This only happens when request interception is enabled.
I'm using "puppeteer": "^0.10.2"
const puppeteer = require('puppeteer');

(async() => {
const browser = await puppeteer.launch({
    slowMo: 250, // slow down by 250ms
    headless: false,
    ignoreHTTPSErrors: true,
    dumpio: true,
});
const page = await browser.newPage();
await page.setRequestInterceptionEnabled(true);
page.on('request', request => {
    request.continue(request);
});

await page.goto('https://kyfw.12306.cn/otn/login/init');
browser.close();
})();

And this is the console output for the hanging request. No more requests are performed/intercepted afterwards:
[97788:45059:0912/180943.664278:ERROR:service_manager.cc(156)] Connection InterfaceProviderSpec prevented service: content_utility from binding interface: content::mojom::FieldTrialRecorder exposed by: content_browser
(node:97787) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Navigation Timeout Exceeded: 30000ms exceeded
(node:97787) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Thanks!

@itrmit thank you fro for the report, I can reproduce. Looks like a bug in chromium, I'll investigate.

@aslushnikov same problem with some post requests.

12306,good question

I have narrowed it down. The problem persists when ignoreHTTPSErrors: true is used with page.setRequestInterceptionEnabled(true); and the loaded website has SSL problems. Same settings work with google.com for example.
Here's a minimal example to test with, just change the badSite/goodSite variable
'use strict';
const puppeteer = require('puppeteer');
(async() => {
const browser = await puppeteer.launch({ args: ['--no-sandbox', '--disable-setuid-sandbox'], ignoreHTTPSErrors: true });
const page = await browser.newPage();
await page.setRequestInterceptionEnabled(true);
page.on('request', request => request.continue());

const goodSite = 'https://google.com';
const badSite = 'https://expired.badssl.com/';
await page.goto(goodSite, {timeout: 5000});

await browser.close();
})();

I have the same issue. Any updates on this?


Access management service

Codecov Report
Base: 17.55% // Head: 11.72% // Decreases project coverage by -5.82% :warning:

Coverage data is based on head (cc0f4f5) compared to base (eebfdb3).
Patch coverage: 23.33% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #1159      +/-   ##
============================================
- Coverage     17.55%   11.72%   -5.83%
============================================
  Files           295       29     -266
  Lines         45646     5960   -39686
  Branches       4713        0    -4713
============================================
- Hits           8012      699    -7313
+ Misses        36861     5261   -31600
+ Partials        773        0     -773

Impacted Files
Coverage Δ

dart/lib/src/provider_service.dart
32.60% <11.42%> (+5.18%)
:arrow_up:

dart/lib/src/trustregistry_service.dart
25.00% <16.66%> (+1.92%)
:arrow_up:

dart/lib/src/template_service.dart
38.46% <20.00%> (+0.96%)
:arrow_up:

dart/lib/src/wallet_service.dart
29.41% <20.00%> (+2.13%)
:arrow_up:

dart/lib/src/account_service.dart
57.97% <33.33%> (+2.41%)
:arrow_up:

dart/lib/src/credential_service.dart
64.70% <57.14%> (-0.52%)
:arrow_down:

dotnet/Trinsic/AccountService.cs

dotnet/Trinsic/CredentialService.cs

dotnet/Trinsic/ProviderService.cs

dotnet/Trinsic/TemplateService.cs

... and 262 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Deprecate sct_pipeline

It has been replaced by sct_run_batch. There is no point in maintaining sct_pipeline.

Do we have a standard operating procedure for deprecation? My usual policy is issue a deprecation warning with an explicit version code for when the function will be deleted.

since sct_pipeline is already broken, v4.3 gives me:
julien-macbook:~ $ sct_pipeline
Traceback (most recent call last):
  File "/Users/julien/code/sct/scripts/sct_pipeline.py", line 48, in <module>
    import sys, io, os, types, copy, copy_reg, time, itertools, glob, importlib, pickle
ModuleNotFoundError: No module named 'copy_reg'

i wouldn't worry about a deprecation message (in this case), although in general i agree with @cfhammill this is good practice

Should we just delete it then? Happy to add this to #2732, or do it as a separate PR after.

@cfhammill sorry i'm seeing this late, i guess this will be another pr then 😊

Looks like sct_pipeline was already removed as part of #2759


Checked up to line 20k.

Getting there!

Wow, halfway! I checked your work and it's clear you're being very careful.

I’m getting there!  I’m glad it looks good to you— I’m trying to be as conservative as possible, but still thorough.  It’s been kind of fun, too; I hadn’t realized how many bonkers names exist in Latin texts.
I’ve done some preliminary stuff on the Issue #75 project, but I’d kind of like to finish the names list before getting to heavy into that.  I have a number of projects happening w/ school right now, too, and I’m spread a bit thin.  But I have some more free time later this week, so I should be able to knock out the names list by the end of the weekend.

On Apr 7, 2015, at 8:11 AM, Kyle P. Johnson<EMAIL_ADDRESS>wrote:
Wow, halfway! I checked your work and it's clear you're being very careful.
—
Reply to this email directly or view it on GitHub https://github.com/cltk/latin_proper_names_cltk/pull/4#issuecomment-90603077.

Cool, great to hear you can keep at this. I'm excited to see how we can leverage it!
Nobody else is watching this repository, so I'm going to try out the new musical emoji: /play danielsan