Wed. July 27 - Notes

Stand Up

@MachikoYasuda - looking for pair - https://github.com/fullstackla/hoodie-map-chat-demo + https://github.com/hoodiehq/camp/issues/14
@IanDCarroll is working on https://github.com/fullstackla/pairing-meetup/issues/55 - do you want a pair?
maybe @jaimemendozadev on reaction
@jendiamond is working on https://github.com/exercism/exercism.io/pull/2981

Announcements

LA tech world: MaxCDN acquired
LA open source world: MaptimeLA & OSM @ State of the Map
A local LA open source company: Reaction Commerce
Outreachy applications: https://www.gnome.org/outreachy/

Looking for a project? Ideas

First timers: This is all for you: https://github.com/fullstackla/pairing-meetup/wiki/Your-first-project-ever%3F-Welcome!-Start-here.
More for first-timers only: https://twitter.com/first_tmrs_only
Our curated list here: https://github.com/fullstackla/pairing-meetup/issues/57
@jdorfman's Awesome Help Wanted https://github.com/jdorfman/awesome-help-wanted
https://www.codemontage.com/
https://www.codetriage.com/
https://openhatch.org/
Meteor/Mongo/Node http://blog.reactioncommerce.com/how-to-get-involved-with-reaction-commerce/ https://docs.reactioncommerce.com/reaction-docs/development/installation

Can't wait. See you all Wednesday.

@jendiamond hi

I'm sure I'm not alone in exploring something with meteor

@machikoyasuda I'd vote for Homebrew as a project going forward

https://tracker.hood.ie/

nvm install v4.4.7
node -v
(verify that you have v4.4.7)
npm install --global npm
npm -v
(verify that you have 3.10.5)
@dj-m @davidtansf

Changelog

Awesome JSON Datasets: Fixed Encoding issue
Awesome Help Wanted: Added Documentation Section
Awesome Help Wanted: Added more repos to Documention

Submitted a request to change the documentation:
https://github.com/jaimemendozadev/documentation/commit/e43981d7b437989655063d184fae2e73a652404f
*My small contribution for the night. 😄


Empty column in locations.csv

There's an empty column in auxiliary-data/locations.csv which is causing read problems

library(dplyr)
#>
#> Attaching package: 'dplyr'
#> The following objects are masked from 'package:stats':
#>
#>     filter, lag
#> The following objects are masked from 'package:base':
#>
#>     intersect, setdiff, setequal, union
hub_path <- system.file("testhubs/flusight", package = "hubValidations")
popn_file_path <- "auxiliary-data/locations.csv"
popn_full_path <- fs::path(hub_path, popn_file_path)

switch(fs::path_ext(popn_full_path),
       csv = arrow::read_csv_arrow(popn_full_path),
       parquet = arrow::read_parquet(popn_full_path),
       arrow = arrow::read_feather(popn_full_path)
)
#> # A tibble: 53 × 11
#>    abbreviation location location_name  population    `` count_rate1 count_rate2
#>    <chr>        <chr>    <chr>               <int> <???>       <int>       <int>
#>  1 US           US       US              332200066     .        3322        6644
#>  2 AL           01       Alabama           5063778     .          51         101
#>  3 AK           02       Alaska             711426     .           7          14
#>  4 AZ           04       Arizona           7341018     .          73         147
#>  5 AR           05       Arkansas          3041878     .          30          61
#>  6 CA           06       California       38886551     .         389         778
#>  7 CO           08       Colorado          5803748     .          58         116
#>  8 CT           09       Connecticut       3621089     .          36          72
#>  9 DE           10       Delaware          1014872     .          10          20
#> 10 DC           11       District of C…     668576     .           7          13
#> # ℹ 43 more rows
#> # ℹ 4 more variables: count_rate2p5 <int>, count_rate3 <int>,
#> #   count_rate4 <int>, count_rate5 <int>

Created on 2023-09-25 with reprex v2.0.2


add profile APIs for model and task

Signed-off-by: Xun Zhang<EMAIL_ADDRESS>Description
Add profile API to return runtime information of cached ML tasks.
Example of usage:
GET _plugins/_ml/profile/model/{model_id}
or
GET _plugins/_ml/profile/task/{task_id}
or
GET _plugins/_ml/profile // return all profile for all tasks in training status
{
"nodes" : {
"9smbhzFHRgCOwuzp48j3xw": {
"task_id" : "111-222-222-333",
"model_id" : "test_id_1",
"task_type" : ""
"function_name" : "Linear Regression"
"state" : ""
"input_type" : "dataframe"
"progress" : ""
"output_index" : ""
"worker_node" : "9smbhzFHRgCOwuzp48j3xw"
"create_time" : ""
"last_update_time" : ""
"error" : ""
"is_async" : true
},
"PBCe4MIqSlWtjGIxKmCzFw" : {
"task_id" : "222-222-222-666",
"model_id" : "test_id_2",
"task_type" : ""
"function_name" : "Kmeans"
"state" : ""
"input_type" : "dataframe"
"progress" : ""
"output_index" : ""
"worker_node" : "PBCe4MIqSlWtjGIxKmCzFw"
"create_time" : "1663614771890"
"last_update_time" : "1663614771890"
"error" : ""
"is_async" : false
}
}
}
Issues Resolved
https://github.com/opensearch-project/ml-commons/issues/410
Check List

[x ] New functionality includes testing.

[ x] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #446 (7bc3366) into main (890a70b) will increase coverage by 0.32%.
The diff coverage is 94.30%.

@@             Coverage Diff              @@
##               main     #446      +/-   ##
============================================
+ Coverage     91.36%   91.69%   +0.32%
- Complexity      530      604      +74
============================================
  Files            59       67       +8
  Lines          1540     1721     +181
  Branches        125      144      +19
============================================
+ Hits           1407     1578     +171
- Misses           90       94       +4
- Partials         43       49       +6

Flag
Coverage Δ

ml-commons
91.69% <94.30%> (+0.32%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...java/org/opensearch/ml/rest/RestMLStatsAction.java
94.89% <ø> (-0.06%)
:arrow_down:

...ain/java/org/opensearch/ml/stats/MLStatsInput.java
89.07% <ø> (-0.16%)
:arrow_down:

...ain/java/org/opensearch/ml/task/MLTaskManager.java
87.61% <ø> (ø)

.../java/org/opensearch/ml/utils/RestActionUtils.java
86.84% <83.33%> (-1.62%)
:arrow_down:

...java/org/opensearch/ml/profile/MLProfileInput.java
89.58% <89.58%> (ø)

...main/java/org/opensearch/ml/utils/MLNodeUtils.java
92.30% <90.90%> (-7.70%)
:arrow_down:

...pensearch/ml/action/profile/MLProfileResponse.java
94.73% <94.73%> (ø)

...earch/ml/action/profile/MLProfileNodeResponse.java
95.23% <95.23%> (ø)

...va/org/opensearch/ml/rest/RestMLProfileAction.java
97.56% <97.56%> (ø)

.../opensearch/ml/action/profile/MLProfileAction.java
100.00% <100.00%> (ø)

... and 4 more

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


Need help with dict file

First of all, thank you for this great set of examples and code, really helped simplify wav2vec2. I'm actually trying to train hindi model with custom dataset and need help with the dict file.
Can you please suggest or share what kind of dict file you're using.

you can download the dictionary for any language from here https://github.com/Open-Speech-EkStep/vakyansh-models


How to send ONLY model json in response

Currently migrating a web API to F# using Giraffe. Here's my testing setup (a bit simplified):
[<CLIMutable>]
type SignInParams =
  {cardId: string
   password: string}

let signInHandler =
  fun (next: HttpFunc) (ctx: HttpContext) ->
    let args = ctx.BindModel<SignInParams>()
    ctx.WriteJson args

let webApp = POST >=> route "/sign_in" >=> signInHandler

I have tried with ctx.WriteJson (as above), json, and customJson.
When calling this API with some cardId and password form values I expect to get the following back:
{
  "cardId": "12345",
  "password": "qwerty"
}

What I actually get back is the following:
{
  "result": {
    "cardId": "12345",
    "password": "qwerty"
  },
  "id": 28,
  "exception": null,
  "status": 5,
  "isCanceled": false,
  "isCompleted": true,
  "creationOptions": 0,
  "asyncState": null,
  "isFaulted": false
}

Why do I get all the other stuff back, and how can I return only my serialized model? Since I need to stick to the existing API signature, this is a no-go for me. It seems my only recourse would be to serialize the object manually and return it using text.

Use the example in BindModel (async)...
https://github.com/dustinmoris/Giraffe#bindmodel

Use the example in BindModel (async)...
https://github.com/dustinmoris/Giraffe#bindmodel

That's an old example that is not preferred and doesn't fix a bug if there is one ... @cmeeren almost has it correct but will explain

Ooh, my bad, I didn't see the bang after let. Many thanks for clarifying!

@cmeeren  there is one slight issue with the code (async binded as sync) should be causing a runtime/compile error so if you would like to leave this open, I would prefer if we test and eliminate edge cases like this as other users may stumble into same issue (BindModel should not accept Tasks<'T> so easily without warning)
let signInHandler : HttpHandler =
  fun next ctx -> task {
    let! args = ctx.BindModel<SignInParams>()
    return! ctx.WriteJson args
}

note the BindModel methos is async so must be wrapped in task {} if bound value to be used in handler before returning a Task
As a side note, it's cleaner and nicer to write handlers like let handler : HttpHandler = fun next ctx -> ...

@gerardtoconnor Reopening. Did you want me to do something or just leave the issue open so you can fix something?
Thanks for the style tip, I agree.

@cmeeren just leave open and we can discuss options.
@dustinmoris from quick think there are three options, one breaking (but more correct), one is bit of a performance pain, other leaving as is.

Follow .net/c# conventions of appending async method names with 'Async' such that BindModel<'T>() => BindModelAsync<'T>() so that devs clearly know they are getting a task back and need to bind in task {} to get value (but this would extend to whole libraries naming and be big change)
Put a runtime typecheck warning in bind methods to provide log feedback if it is Task (this is a pretty expensive check to do every time method is called, just to prevent such fringe cases!?)
Leave as is and hope users don't trip up on this

STRP are not much use here to restrict Tasks as we want to prevent access rather then grant, so compile time Type restriction is not easy.

Hmm... yeah even though this might be a pain, I think deep down I'd prefer to name it properly to BindModelAsync but I'll have a look if this convention is consistent across other F# libraries too and then I'll let you know what I think. My least favourite option is 2.

Agreed, option 2 is not really an option, can't be over validating everything in runtime.
Not all F# libraries follow the strict ending in Async convention but still include Async in name eg:
MailboxProcessor
member this.PostAndAsyncReply : (AsyncReplyChannel<'Reply> -> 'Msg) * int option -> Async<'Reply>

Renamed all async methods according to the .NET convention of ending with Async.


Remove circular dependencies created by handling of deprecated constructors

added member functions to GraphicsDevice and Application that allow us to detect if the class is an instance of those. This avoids having to do 'instanceof Application'

closing in favour of https://github.com/playcanvas/engine/pull/4736


Chargebacks without rollups :: Allocated metrics for HyperV

We don't have usage rollups for SCVMM, so we charge only based on allocation.

Depends on #13229 (merged).
@miq-bot add_label enhancement, chargeback
@miq-bot assign @gtanzillo

@isimluk thanks for all the work around chargebacks. this stuff is not easy

@kbrock this pr includes another pr, that is a dependency. It would be great to keep discussion in the first pr.
Sorry, for keeping this so divided. I like to do one thing per pr.

To put more light into this. We cannot do chargebacks without rollups in general.
Although, for providers that do not yet collect metric (like hyperv), we can emulate allocation statistics and fixed_compute/fixed_storage metrics.

@miq-bot remove_label wip

@isimluk could you link to the other PR up in the first message? That way if we need to backport to e or something, we can more easily determine the dependencies.

Good idea, @kbrock, will do.
Merry Christmas to You and Your family.

Backported to Euwe via https://github.com/ManageIQ/manageiq/pull/13419


[enhancement] do not discard unsend message when the application is reopened

When I have to quickly do something in another app, I minimize the concept e-mail I currently have opened. I open another app and do something. I want to go back to the e-mail I was writing on, or I forgot about it and just want to check my mail. I do not regualry check if an app is already opened, I just find the shortcut to the app in my menu bar or in the list of apps I have installed and open te app that way.
Expected behavior
I expect the app to open on the same scree at which I left it, which is the composing new e-mail screen. The content should still be there, and I should be able to save it as a draft, send it as an e-mail, or discard it after confirming I want to discard it.
Actual behavior
The app does open on the composing screen, but immidiatly (within less than a second) switches over to the account overview screen. The message I was writing is immidialty discarded without confirmation. I am left trying to recall what I had written down, and if I have to rewrite it or should just forget about it. And ofcourse this is very frustrating. I worked on that e-mail, and all that work was for nothing just because I did not check if the app was already open.
It is normal for android apps to be reopned in this manner, and open on the same screen at which they were left open.
Environment
K-9 Mail version:
5.403
Android version:
7.0
Account type (IMAP, POP3, WebDAV/Exchange):
IMAP

Sounds like the app crashes and is restarted by the OS. Can you enable debug logging and grab a log the next time this happen? See https://github.com/k9mail/k-9/wiki/LoggingErrors

No debug log provided.

The phone on which this happened (A Moto G5 Plus) was pick-pocketed (rip). On my new phone the issue does not occur. I can no longer provide a debug log for this issue. To anyone who encounters the same issue, feel free to add a debug log here and ask cketti to reopen it.


docs(read-only): number input docs

Closes #3267

Changed
Usage:

Updated States content
Updated States images

Note:* I revised this image to have 2 states in each row instead of 3. I tried to have an empty block in the very last slot of the image with keeping 3 states per row like we do for normal images, but it doesn't work well with the tab image component.

Style:

Updated Interactive states table content
Updated Interactive states images

A11y:

Updated images to show body-compact-01 type token

*Note: I revised this image to have 2 states in each row instead of 3. I tried to have an empty block in the very last slot of the image with keeping 3 states per row as we do for normal images, but it sort of breaks the tab image component.


install

Hello!
im a little confused here, how do i install it?

You must uncomment the [[header]] and api_key at a minimum for *add apps.

does that mean remove # from :
#[[sonarr]]
api_key = "fdsfsdfsdsdfsdf"

Yes.

Thanks :)
and remove # from #   paths = ["/downloads"] so it looks the right place for the downloaded stuff?

Correct.

Great thanks a million :-)

Great, thanks a million :-)


Custom img model and metadata (UI) with serveless

Actions before raising this issue

[X] I searched the existing issues and did not find anything similar.
[X] I read/searched the docs

Is your feature request related to a problem? Please describe.
I couldn't find anything in the serveless documentation to customize this image or metadata.
  annotations:
    name: P0005 Baguette Scarring
    type: detector

The same goes for this topic, I don't know how to choose the documentation label.

Describe the solution you'd like
I'd like to be able to enrich the metadata, description, date, algorithm, image, for example.

Describe alternatives you've considered
No response
Additional context
No response

Hello,

customize this image

No way here.

or metadata.

What metadata? All things are configured in corresponding .yml files for the function, e.g. serverless/pytorch/mmpose/hrnet32/nuclio/function.yaml

Ok, that was easier than I thought:
${model.version}
${model.description}
etc...depending on what's in function.yaml.
It works. And if I want to add more, I go to the MLModel...class.


Update flatpickr dependency for SSR support

The upgrade to flatpickr 4 broke server-side rendering, re-breaking #9.
It's been fixed in flatpickr v4.0.5, via chmin/flatpickr#1069, so this bumps the minimum version dependency.

Thanks!


Research WHCM VRT

Let's see if we can get Windows High Contrast Mode support in VRT.

Trying to get Playwright to support us in doing this, here: https://github.com/microsoft/playwright/issues/4591

Looks like there is nothing we could do now because of chromium:1130859. Once the change 2333043 got resolved, this feature should probably available through page .emulateMediaFeatures (features) on puppeteer. A screenshot for WHCM should be able to capture with the following code snippet.
const puppeteer = require('puppeteer');

(async () => {
  const browser = await puppeteer.launch({ headless: false });
  const page = await browser.newPage();
  await page.setViewport({
    width: 1280,
    height: 1280,
    deviceScaleFactor: 1,
  });
  await page.emulateMediaFeatures([
    { name: 'forced-colors', value: 'active' },
  ]);
  await page.goto('https://opensource.adobe.com/spectrum-css/actionbutton.html');
  await page.screenshot({ path: 'screenshot.png' });
  await browser.close();
})();

I've subscribed to all the above open issues and will continue once I got unblocked.

An update to this older issue. We now use Chromatic for VRT, and this is available! https://www.chromatic.com/docs/media-features/#test-high-contrast-color-schemes


Question - Do SPFX extensions custom actions work in First Release tenants yet?

Thank you for reporting an issue or suggesting an enhancement. We appreciate your feedback - to help the team to understand your needs, please complete the below template to ensure we have the necessary details to assist you.
Category

[ X] Question
[ ] Typo
[ ] Bug
[ ] Additional article idea

Are spfx custom actions for extensions disabled in First Release tenants? Specifically for tenant wide deployment.
Expected or Desired Behavior
I am experimenting with SPFX extensions.  I can get them to load in a Dev tenant (using both the url, and loading the app package/custom action via csom).  However in a First Release tenant only the url works.  I can successfully load the app, add it via custom action, but it never actually executes.
Observed Behavior
After loading the custom action, nothing happens.  If I remove the dist files, it errors or in the console (can't find files), so it is loading, just not executing. There are no errors displayed.
Steps to Reproduce
Create app, load in admin center, load using custom action and app id

Hi Brent, Extensions are enabled in first release tenants. As long as you have the clientsidecomponentID for the custom action matching on the manifest ID of the extension, you should be good. There are however some nuances around this related on the scope of the user custom action and how it's being associated with the site.
If you do however follow the tutorials (https://dev.office.com/sharepoint/docs/spfx/extensions/get-started/build-a-hello-world-extension) - you should get the extension to be visible on the site if it's deployed to the CDN.
To be able to figure out what actually goes wrong, we'd need either more details on your code - what's there and how it's being deployed or you can potentially share the solution as attached (without node_modules) and we can have a quick look if we can solve the issue fast.
Have you btw tested the extension with dev tenant? - is it working there, but not in the first release? - Would give us again more details on the possible issue.

At this point, I am attempting just the most basic hello world type concept, with only a console.log inside the onInit.
Attached is the solution.
spfxExtTest.zip
I have tested my exact same process in the dev tenant, and it worked there.  Dist files are just placed in a SP doc library at the moment.  This was based of of the latest yeoman template.  skipFeatureDeployment was set to Yes/True.  I added an elements.xml in the sharepoint/assets folder.  This ultimately will be a Google Analytics script (based on the spfx extensions sample).
There is no error message at all.  Just nothing happens.  When I remove the dist files, I do get a 404 error because it can't find the files, so that is how i know it is at least loading.
My CSOM for adding the extension (manifest ID is 8bf4d1a4-bb69-4a86-bdc0-1a191e98fb47)
$rootWeb = $clientContext.Web $context.ExecuteQuery()<br> $customActions = $rootWeb.UserCustomActions $context.Load($customActions) $clientContext.ExecuteQuery() $custAction = $customActions.Add() $custAction.Name = "SampleName" $custAction.Title = "Sample title" $custAction.Description = "Sample description" $custAction.Location = "ClientSideExtension.ApplicationCustomizer" $custAction.ClientSideComponentId = "8bf4d1a4-bb69-4a86-bdc0-1a191e98fb47" $custAction.Update() $clientContext.ExecuteQuery()

Looking at manifest from the package and  the /dist/ files in the solution you attached, it looks like the manifest points at some localized resource (named "buckmanconnect-spfx-ga-buckmanconnectspfxgaapplicationcustomizerstrings_en-us_1a63e9a4daf2c987b4658937de66fd3a.js") and that file is not on the /dist/ folder.
This may lead to the extension trying to load, but failing to load the localized resources.
Can you confirm whether or not you have the localized string files uploaded to your doc lib?
I see your code doesn't use any localized string. Another option would be to remove the localized resources from your config.json
If that doesn't work, could you please press Ctrl + F12 and provide us with any error message that may show up there?

from what I have read, those files are actually in the /temp/deploy/ folder.  Those are the files that I am putting into my online directory / cdn
Loading the resources isn't the problem, the 404 error is only if I DON'T include the files in /temp/deploy/ (which appear to be the same as /DIST/ but just with a unique id appended to the end of it).  My app package is looking for the files with the unique id appended to the end.
My process is:

gulp --ship
gulp bundle --ship
gulp package-solution --ship

No error actually shows up in the Ctnl + F12 console.  (If i remove my manifest and .js /dist/ or /temp/deploy/ files from the sharepoint library, then I get a 404 error).  As soon as I upload them back, there are zero errors.  Just the onInit never runs.

I am seeing the same issue. Extensions are not working, except on modern pages. But they are not working on modern site contents page, modern list/library, modern recyclebin etc. Only on modern pages.
I have tried that in a dev tenant as well as a normal tenant in first release. I have tested both options, first release for users and first release for everyone.
Also there is no difference if you deploy it to azure cdn or try to run it locally.
Same applies for trying to run it with the debug querrystring ?loadSPFX=true&debugManifestsFile..... It will not work. The onInit never runs...

My experience is slightly different.  I can easily get the extension to work flawlessly with the debug querystring (on every type of modern page, library, list, etc).  It is only when trying to physically deploy it that nothing happens.

did you ever do a gulp clean? i often have problems if i don't. i do it before any deploy.

I did, I left that off my post, but I do that first.  As far as I can tell
everything builds and deploys like it should.
Again works flawlessly in Dev tenants
I still pose something isn't turned on in production.  Has ANYONE gotten an
extension to work in First Release tenants?
On Sep 13, 2017 7:34 PM, "Russell gove"<EMAIL_ADDRESS>wrote:

did you ever do a gulp clean? i often have problems if i don't. i do it
before any deploy.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/SharePoint/sp-dev-docs/issues/847#issuecomment-329335165,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABZ1JsJedpHoiofyPyStpav2Y_-sw9qIks5siHSdgaJpZM4PTGS7
.

Yes, first release entire tenant
On Sep 15, 2017 12:27 PM, "GrahaMc"<EMAIL_ADDRESS>wrote:

Hi @Brentless https://github.com/brentless - is your tenant setting for
first release set to whole tenant (not specific users)? We only support
first release for the entire tenant.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/SharePoint/sp-dev-docs/issues/847#issuecomment-329846419,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABZ1Jl41RxG4z5Y4_juqsbp_wKRai0WHks5sirNygaJpZM4PTGS7
.

If you send me a fiddler trace of your page loading that is giving you problems I can take a look at it from our end.  GrahaMc is my Microsoft alias.

Email sent with attachment.  Let me know if you don't receive it.

For me it seems pretty the same than for you, Brent.
I did not fiddle it but I tried the "2 deployment ways":

Deploy to a CDN, nothing happened and I couldn't even find any 'traces' within browser dev tools
Deploy leaving out the CDN PATH so it should try to get from local Gulp. Nothing happened and local Gulp did not even mark any "Request"
@mcmynn83 If I can help for comparison reasons let me know

Almost the same here. I do see a request to /temp/manifest.js in my gulp console though. But only on modern pages I can then see the additional request for my customizer.js file. On lists, libraries, recycle bin etc I do not see this second request.

@Brentless - Sorry for not getting back to you, we are having an issue with how we rolled out to first release.  We have not determined the problem but you are correct that it is not working.  We are working on a solution.

More information about First Release:
in Command Set extension this.context.listView.columns is always an empty array.

Good news, I hope:
Since Microsoft announced GA for the extensions yesterday my solution (Application Customization placeholder, deployed more than a week ago under RC0) is now working without any modification.

I can confirm the same!  My test extensions are now working flawlessly.

Closing this one, since it was confirmed in the thread that this is no longer an issue. Thx everyone for your input.


Corrected filtering on basis of IoU

The IOU filtering process aims to remove duplicate predictions of the same objects and ends up choosing the box with highest probablity. To validate this Pull Request, kindly run prediction on this
sample image at the confidence threshold of 0.1.
Using the earlier code, you will notice that though the person was detected, but on comparing its IOU with cycle, led to ignoring it in the final results. This is because it makes no sense to compare a cycle with a man or any different object.

Hi @pra-dan, thank you for contribution.
You are right about it, but it can cause another problem - duplication of detection with another similar class.

This is something that can be controlled by choosing an appropriate value of iou_threshold.
If, two objects of same class (say dog1 and dog2) are far away and compared, their IoU will certainly be low and causes no issue. But if both the dogs are sitting close, it is possible that their IoU will be high; this can be mitigated by an appropriate value for the threshold.

That's not what I meant.
Sometimes (e.g. in road scenario) one object has several detection boxes with different, but close, classes (e.g. car and truck). In that case this algorithm would leave both box. I've already had such situations, so I want warn you about it. Sometimes it could be fixed by increasing threshold value.

Jenkins: test this please


Properly handle nested objects

It seems the parser is not handling nested objects properly.
For example, this URL: http://aaronparecki.com/notes/2014/07/04/2/indiewebcamp-latergram
It appears the comment authors and comment URLs all show up under the main h-entry when in reality they should be under children of the main h-entry as their own h-cite objects.
Compare the result of the PHP parser

I tried to parse http://tantek.com/ and it crashed the parser on something like this:

    test .

with:
URI::InvalidURIError: bad URI(is not URI?): test .

It would be nice if the parser at least wouldn't crash.

@jeena It seems like the parser is pretty much abandoned by the G5 folks. We got paid to build it (when I was still there) as a part of a larger product. But if it does as much as G5 needs and they're otherwise too busy, it's not likely to get the attention it deserves.
If you're able and willing to submit a pull request with a patch, I could apply it for you.
Unfortunately, (like too many open source projects) this doesn't really have a maintainer anymore. :/

Oh ok, that's sad, but understandable. Perhaps one could write that somewhere into the README so people know and perhaps someone will be able to take it over. I'm not sure I will be able to fix something like this but if then I will make a pull request.

@jeena @aaronpk  I believe this is fixed in 3.0. I just did a test and it looks good to me. Please upgrade and run your comparison too. Re-open this issue if necessary.


Timeout with histogram on csv table #238.

@walter-weinmann hello walter, sorry for let you hanging with this pr, we discussed with @stoch and an initial value of 1 minute for the timeout should be enough as we wouldn't like process waiting forever in case of a bug or incomplete operation.


Not sure how this will behave on Windows though...

Pre-submit checklist:

Branch

[ ] Tests are provided (if possible)
[ ] Commit sequence broadly makes sense
[ ] Key commits have useful messages
[ ] Relevant tickets are mentioned in commit messages
[ ] Formatting, materialized Nix files, PNG optimization, etc. are updated

PR

[ ] Self-reviewed the diff
[ ] Useful pull request description
[ ] Reviewer requested

Converting this to draft, so it doesn't consume CI unnecessarily...

CI does build drafts!


winwave: mediadev support

This PR is an  implementation of set_available_devices in winwave module.
Testing environment:

Cross compilation from Ubuntu 16.04.1 ( i686-w64-mingw32 toolchain, following https://github.com/alfredh/baresip-win32 )
Binaries tested on Win10

thank you @nicotyze
really nice work :)


feat: Added time to each line

Description
Added time to end of each line. Helps identify if program hangs.
Testing
Ran program with both out of stock and fake in stock messages. Verified that time is at the end of each line.

A quick google suggests you can just change the Logger itself instead. It shouldn't be the responsibility of lookup to keep track of the time in my opinion.
https://stackoverflow.com/questions/10271373/how-can-i-add-timestamp-to-logs-using-node-js-library-winston

A quick google suggests you can just change the Logger itself instead. It shouldn't be the responsibility of lookup to keep track of the time in my opinion.
https://stackoverflow.com/questions/10271373/how-can-i-add-timestamp-to-logs-using-node-js-library-winston

Good point, moved it to logger.

@wuruochong I tried making a similar change with Logger native format.timestamp() but I couldn't get passed a lint error with the template literal:  https://github.com/jef/nvidia-snatcher/pull/51/files
Either way, I like this format having the timestamp consistently on the front of the line, like you have it in your latest commit.

@wuruochong I tried making a similar change with Logger native format.timestamp() but I couldn't get passed a lint error with the template literal: #51 (files)
Either way, I like this format having the timestamp consistently on the front of the line, like you have it in your latest commit.

I too was doing this originally, but decided just to leave it out. I think at this point we definitely need timestamps.


get_top() and get_controversial() stop at low number of posts when iterating through them with Subreddit objects

Note: This is only an issue for get_top() and get_controversial(), and it only applies to non-default Subreddits, which seem to behave normally.  /r/programming is very large and runs into the issue, but /r/leagueoflegends, which is of similar subscriber size (but more activity) does not run into this issue.  get_new() and get_hot() seem to work normally.
When I perform either of the following, I only get output up to low numbers around 10-30.
r = praw.Reddit('...')
subreddit = r.get_subreddit('classicalmusic')#or most non-defaults
posts = subreddit.get_top(limit = 1000)
for i, post in enumerate(posts):
    pass
print i
posts = subreddit.get_controversial(limit = 1000)
for i, post in enumerate(posts):
    pass
print i

I am running this in Python 2.7.6 in Ubuntu 14.04 LTS.

Hi mcandocia,
Because you're using a logged-out reddit session, I think you're getting the results for "past 24 hours", even though you probably have the default set to "all time" in your browser. /r/programming/controversial/?t=day shows only 30 items at the moment, just like you said.
The defaults and LoL are showing more simply because they get more posts per day. /r/programming doesn't get a lot of submissions despite having a pretty large subscriber count.
You probably want to try get_controversial_from_all and get_top_from_all. You can also just log in so that it uses the same sort that you use in the browser.

Yes, that works.  Thank you.


cilium: Small health cleanup improvements

(see commit msg)

/test

/test

/test-ci-e2e-upgrade

/test

/test

/test

Interestingly, the cleanup in the beginning still did not help:
[...]
2024-07-11T13:06:11.305181694Z time="2024-07-11T13:06:11Z" level=info msg="Restoring endpoints..." subsys=daemon
2024-07-11T13:06:11.305185120Z time="2024-07-11T13:06:11Z" level=debug msg="Killing old health endpoint process" pidfile=/var/run/cilium/state/health-endpoint.pid subsys=cilium-health-launcher
2024-07-11T13:06:11.305196952Z time="2024-07-11T13:06:11Z" level=debug msg="Didn't find existing device" error="Link not found" interface=cilium_health subsys=cilium-health-launcher
2024-07-11T13:06:11.305199717Z time="2024-07-11T13:06:11Z" level=debug msg="Didn't find existing device" error="Link not found" interface=lxc_health subsys=cilium-health-launcher
2024-07-11T13:06:11.305202552Z time="2024-07-11T13:06:11Z" level=debug msg="Removing old health endpoint state directory" endpointID=2527 file-path=/var/run/cilium/state/2527 subsys=daemon
2024-07-11T13:06:11.305205157Z time="2024-07-11T13:06:11Z" level=debug msg="Restoring endpoint" ciliumEndpointName=/ endpointID=2959 subsys=daemon
[...]
2024-07-11T13:06:59.063745646Z time="2024-07-11T13:06:59Z" level=debug msg="Controller func execution time: 7.720565ms" name=ct-map-pressure subsys=controller uuid=98a32dc0-b5da-455b-8f4d-6618ec7af3dd
2024-07-11T13:06:59.064512265Z time="2024-07-11T13:06:59Z" level=info msg="Launching Cilium health endpoint" subsys=daemon
2024-07-11T13:06:59.065306735Z time="2024-07-11T13:06:59Z" level=debug msg="Starting new controller" name=cilium-health-ep subsys=controller uuid=899e6e16-9003-4a06-b216-d3d268d84391
2024-07-11T13:06:59.065948300Z time="2024-07-11T13:06:59Z" level=info msg="Cleaning up Cilium health endpoint" subsys=daemon
2024-07-11T13:06:59.065955123Z time="2024-07-11T13:06:59Z" level=debug msg="Killing old health endpoint process" pidfile=/var/run/cilium/state/health-endpoint.pid subsys=cilium-health-launcher
2024-07-11T13:06:59.066043027Z time="2024-07-11T13:06:59Z" level=debug msg="Didn't find existing cilium-health endpoint to delete" subsys=daemon
2024-07-11T13:06:59.066047125Z time="2024-07-11T13:06:59Z" level=debug msg="Didn't find existing device" error="Link not found" interface=cilium_health subsys=cilium-health-launcher
2024-07-11T13:06:59.066050050Z time="2024-07-11T13:06:59Z" level=debug msg="Didn't find existing device" error="Link not found" interface=lxc_health subsys=cilium-health-launcher
2024-07-11T13:06:59.075560441Z time="2024-07-11T13:06:59Z" level=debug msg="Compiling datapath" clang="clang version 17.0.6 (https://github.com/llvm/llvm-project.git 6009708b4367171ccdbf4b5905cb6a803753fe18)\nTarget: unknown\nThread model: posix\nInstalledDir: /usr/local/bin\n" debug=true subsys=datapath-loader
2024-07-11T13:06:59.075939908Z time="2024-07-11T13:06:59Z" level=debug msg="Launching compiler" args="[-I/var/run/cilium/state/globals -I/var/run/cilium/state/templates/40cd79ad4efe0858c6dddfc5d87fbf57b44f0930942d12240d3bb96ad21aa672 -I/var/lib/cilium/bpf -I/var/lib/cilium/bpf/include -E -O2 --target=bpf -std=gnu89 -nostdinc -Wall -Wextra -Werror -Wshadow -Wno-address-of-packed-member -Wno-unknown-warning-option -Wno-gnu-variable-sized-type-not-at-end -Wdeclaration-after-statement -Wimplicit-int-conversion -Wenum-conversion -D__NR_CPUS__=4 -mcpu=v3 -c /var/lib/cilium/bpf/bpf_lxc.c -o -]" subsys=datapath-loader target=clang
2024-07-11T13:06:59.084486312Z time="2024-07-11T13:06:59Z" level=debug msg="Created veth pair" subsys=endpoint-connector vethPair="[cilium lxc_health]"
2024-07-11T13:06:59.095243265Z time="2024-07-11T13:06:59Z" level=info msg="Started healthz status API server" address="<IP_ADDRESS>:9879" subsys=daemon
[...]
2024-07-11T13:06:59.118809675Z time="2024-07-11T13:06:59Z" level=debug msg="Controller func execution time: 21.568989ms" name=node-neighbor-link-updater subsys=controller uuid=505b153c-19b7-4289-85e3-f237ec485b3a
2024-07-11T13:06:59.120142649Z time="2024-07-11T13:06:59Z" level=debug msg="Controller run failed" consecutiveErrors=1 error="unable to determine next hop IPv4 address for eth1 (<IP_ADDRESS>): remote node IP is non-routable\nunable to determine next hop IPv6 address for eth1 (fc00:c111::4): remote node IP is non-routable\nunable to determine next hop IPv4 address for eth1 (<IP_ADDRESS>): remote node IP is non-routable\nunable to determine next hop IPv6 address for eth1 (fc00:c111::5): remote node IP is non-routable" name=node-neighbor-link-updater subsys=controller uuid=505b153c-19b7-4289-85e3-f237ec485b3a
2024-07-11T13:06:59.120158228Z time="2024-07-11T13:06:59Z" level=debug msg="Created lxc_health devices!!!" subsys=cilium-health-launcher
[...]
ime="2024-07-11T13:11:40Z" level=debug msg="Inserted program handle_policy into cilium_call_policy slot 3813" subsys=datapath-loader
2024-07-11T13:11:40.494169001Z time="2024-07-11T13:11:40Z" level=error msg="Error while reloading endpoint BPF program" ciliumEndpointName=/ containerID= containerInterface= datapathPolicyRevision=0 desiredPolicyRevision=1 endpointID=3813 error="retrieving device lxc_health: Link not found" identity=4 ipv4=<IP_ADDRESS> ipv6="fd00:10:244::8f21" k8sPodName=/ subsys=endpoint
2024-07-11T13:11:40.507246888Z time="2024-07-11T13:11:40Z" level=debug msg="Reverting endpoint changes after BPF regeneration failed" ciliumEndpointName=/ containerID= containerInterface= datapathPolicyRevision=0 desiredPolicyRevision=1 endpointID=3813 identity=4 ipv4=<IP_ADDRESS> ipv6="fd00:10:244::8f21" k8sPodName=/ subsys=endpoint
2024-07-11T13:11:40.508978725Z time="2024-07-11T13:11:40Z" level=debug msg="Reverting proxy redirect removals" ciliumEndpointName=/ containerID= containerInterface= datapathPolicyRevision=0 desiredPolicyRevision=1 endpointID=3813 identity=4 ipv4=<IP_ADDRESS> ipv6="fd00:10:244::8f21" k8sPodName=/ subsys=endpoint
2024-07-11T13:11:40.515374522Z time="2024-07-11T13:11:40Z" level=debug msg="Finished reverting proxy redirect removals" ciliumEndpointName=/ containerID= containerInterface= datapathPolicyRevision=0 desiredPolicyRevision=1 endpointID=3813 identity=4 ipv4=<IP_ADDRESS> ipv6="fd00:10:244::8f21" k8sPodName=/ subsys=endpoint
2024-07-11T13:11:40.517227445Z time="2024-07-11T13:11:40Z" level=debug msg="Reverting proxy redirect additions" ciliumEndpointName=/ containerID= containerInterface= datapathPolicyRevision=0 desiredPolicyRevision=1 endpointID=3813 identity=4 ipv4=<IP_ADDRESS> ipv6="fd00:10:244::8f21" k8sPodName=/ subsys=endpoint
2024-07-11T13:11:40.526316210Z time="2024-07-11T13:11:40Z" level=debug msg="Finished reverting proxy redirect additions" ciliumEndpointName=/ containerID= containerInterface= datapathPolicyRevision=0 desiredPolicyRevision=1 endpointID=3813 identity=4 ipv4=<IP_ADDRESS> ipv6="fd00:10:244::8f21" k8sPodName=/ subsys=endpoint
2024-07-11T13:11:40.535427326Z time="2024-07-11T13:11:40Z" level=debug msg="Finished reverting endpoint changes after BPF regeneration failed" ciliumEndpointName=/ containerID= containerInterface= datapathPolicyRevision=0 desiredPolicyRevision=1 endpointID=3813 identity=4 ipv4=<IP_ADDRESS> ipv6="fd00:10:244::8f21" k8sPodName=/ subsys=endpoint
2024-07-11T13:11:40.537228281Z time="2024-07-11T13:11:40Z" level=info msg="generating BPF for endpoint failed, keeping stale directory" ciliumEndpointName=/ containerID= containerInterface= datapathPolicyRevision=0 desiredPolicyRevision=1 endpointID=3813 error="retrieving device lxc_health: Link not found" file-path=3813_next_fail identity=4 ipv4=<IP_ADDRESS> ipv6="fd00:10:244::8f21" k8sPodName=/ subsys=endpoint
2024-07-11T13:11:40.553245035Z time="2024-07-11T13:11:40Z" level=debug msg="removing directory" ciliumEndpointName=/ containerID= containerInterface= datapathPolicyRevision=0 desiredPolicyRevision=1 directory=3813_next_fail endpointID=3813 identity=4 ipv4=<IP_ADDRESS> ipv6="fd00:10:244::8f21" k8sPodName=/ subsys=endpoint
2024-07-11T13:11:40.554469286Z time="2024-07-11T13:11:40Z" level=debug msg="removing directory" ciliumEndpointName=/ containerID= containerInterface= datapathPolicyRevision=0 desiredPolicyRevision=1 directory=3813_next endpointID=3813 identity=4 ipv4=<IP_ADDRESS> ipv6="fd00:10:244::8f21" k8sPodName=/ subsys=endpoint
2024-07-11T13:11:40.555065818Z time="2024-07-11T13:11:40Z" level=debug msg="Completed endpoint regeneration with no pending regeneration requests" ciliumEndpointName=/ code=OK containerID= containerInterface= datapathPolicyRevision=0 desiredPolicyRevision=1 endpointID=3813 endpointState=ready identity=4 ipv4=<IP_ADDRESS> ipv6="fd00:10:244::8f21" k8sPodName=/ policyRevision=0 subsys=endpoint type=0
2024-07-11T13:11:40.561285586Z time="2024-07-11T13:11:40Z" level=warning msg="Regeneration of endpoint failed" bpfCompilation=0s bpfLoadProg=1.639026581s bpfWaitForELF="209.771µs" ciliumEndpointName=/ containerID= containerInterface= datapathPolicyRevision=0 desiredPolicyRevision=1 endpointID=3813 error="retrieving device lxc_health: Link not found" identity=4 ipv4=<IP_ADDRESS> ipv6="fd00:10:244::8f21" k8sPodName=/ mapSync=0s policyCalculation="95.999µs" prepareBuild=3.13949ms proxyConfiguration="9.368µs" proxyPolicyCalculation=521ns proxyWaitForAck=0s reason="updated security labels" subsys=endpoint total=4m40.369994788s waitingForCTClean=10.346679ms waitingForLock=4m38.649503748s waitingForPolicyRepository=781ns
2024-07-11T13:11:40.562000108Z time="2024-07-11T13:11:40Z" level=debug msg="Error regenerating endpoint: retrieving device lxc_health: Link not found" ciliumEndpointName=/ code=Failure containerID= containerInterface= datapathPolicyRevision=0 desiredPolicyRevision=1 endpointID=3813 endpointState=ready identity=4 ipv4=<IP_ADDRESS> ipv6="fd00:10:244::8f21" k8sPodName=/ policyRevision=0 subsys=endpoint type=200
2024-07-11T13:11:40.569426315Z time="2024-07-11T13:11:40Z" level=debug msg="EventQueue event processing statistics" eventConsumeOffQueueWaitTime="315.989µs" eventEnqueueWaitTime=1.934585ms eventHandlingDuration=4m40.376406694s eventType="*endpoint.EndpointRegenerationEvent" name=endpoint-3813 subsys=eventqueue
2024-07-11T13:11:40.572378476Z time="2024-07-11T13:11:40Z" level=error msg="endpoint regeneration failed" ciliumEndpointName=/ containerID= containerInterface= datapathPolicyRevision=0 desiredPolicyRevision=1 endpointID=3813 error="retrieving device lxc_health: Link not found" identity=4 ipv4=<IP_ADDRESS> ipv6="fd00:10:244::8f21" k8sPodName=/ subsys=endpoint
2024-07-11T13:11:40.576671254Z time=2024-07-11T13:11:40Z level=debug msg="upserting health status" module=health lastLevel=none reporter-id="agent.controlplane.endpoint-manager.cilium-endpoint-3813 (/).datapath-regenerate" status="agent.controlplane.endpoint-manager.cilium-endpoint-3813 (/).datapath-regenerate: [Degraded] Endpoint regeneration failed: retrieving device lxc_health: Link not found"
2024-07-11T13:11:40.577546725Z time="2024-07-11T13:11:40Z" level=debug msg="Deleting endpoint" ciliumEndpointName=/ code=OK containerID= containerInterface= datapathPolicyRevision=0 desiredPolicyRevision=1 endpointID=3813 endpointState=disconnecting identity=4 ipv4=<IP_ADDRESS> ipv6="fd00:10:244::8f21" k8sPodName=/ policyRevision=0 subsys=endpoint type=0
2024-07-11T13:11:40.584349501Z time="2024-07-11T13:11:40Z" level=debug msg="Registered BPF map" path=/sys/fs/bpf/tc/globals/cilium_call_policy subsys=bpf
2024-07-11T13:11:40.589723724Z time="2024-07-11T13:11:40Z" level=debug msg="Unregistered BPF map" path=/sys/fs/bpf/tc/globals/cilium_call_policy subsys=bpf

logs-cilium-df9gx-cilium-agent-20240711-132748.log
This one looks interesting as well which could have caused an unexpected removal in between:
2024-07-11T13:10:00.339933129Z time="2024-07-11T13:10:00Z" level=debug msg="Cannot find socket" error="stat /var/run/cilium/health.sock: no such file or directory" file-path=/var/run/cilium/health.sock subsys=cilium-health-launcher
2024-07-11T13:10:01.024499589Z time="2024-07-
[logs-cilium-df9gx-cilium-agent-20240711-132748.log](https://github.com/user-attachments/files/16190622/logs-cilium-df9gx-cilium-agent-20240711-132748.log)
11T13:10:01Z" level=info msg="Cleaning up Cilium health endpoint" subsys=daemon
2024-07-11T13:10:01.024764002Z time="2024-07-11T13:10:01Z" level=debug msg="Killing old health endpoint process" pidfile=/var/run/cilium/state/health-endpoint.pid subsys=cilium-health-launcher
2024-07-11T13:10:01.028980479Z time="2024-07-11T13:10:01Z" level=debug msg="Killed endpoint process" pid=749 pidfile=/var/run/cilium/state/health-endpoint.pid subsys=cilium-health-launcher
2024-07-11T13:10:01.029171454Z time="2024-07-11T13:10:01Z" level=debug msg="Removing existing cilium-health endpoint" subsys=daemon
2024-07-11T13:10:01.030259441Z time=2024-07-11T13:10:01Z level=debug msg="delete health sub-tree" module=health
prefix="agent.controlplane.endpoint-manager.cilium-endpoint-3813 (/)" deleted=0

/test

/test

/test

/test

/test

Turns out the failure is reliably triggered with lb-acceleration: 'testing-only' enabled in the setup 7 test.

/test

/test

/test

/test

In one of the recent runs:
[...]
1:09:05.786827495Z time="2024-07-15T11:09:05Z" level=debug msg="GET /endpoint request" params="{HTTPRequest:0xc0027159e0 Labels:[]}" subsys=daemon
2024-07-15T11:09:05.786854756Z time="2024-07-15T11:09:05Z" level=debug msg="Processing API request with rate limiter" name=endpoint-list parallelRequests=87 subsys=rate uuid=945d0040-94fd-4b02-82f2-556971a7efdb
2024-07-15T11:09:05.786861178Z time="2024-07-15T11:09:05Z" level=debug msg="API request released by rate limiter" burst=175 limit=86.50/s maxWaitDurationLimiter="-48.771µs" name=endpoint-list parallelRequests=87 subsys=rate uuid=945d0040-94fd-4b02-82f2-556971a7efdb waitDurationLimiter=0s waitDurationTotal="57.818µs"
2024-07-15T11:09:05.786866237Z time="2024-07-15T11:09:05Z" level=debug msg="API call has been processed" name=endpoint-list processingDuration=1.685331ms subsys=rate totalDuration=1.771191ms uuid=945d0040-94fd-4b02-82f2-556971a7efdb waitDurationTotal="57.818µs"
2024-07-15T11:09:06.631291891Z time="2024-07-15T11:09:06Z" level=info msg="Cleaning up Cilium health endpoint" subsys=daemon
2024-07-15T11:09:06.631309674Z time="2024-07-15T11:09:06Z" level=debug msg="Killing old health endpoint process" pidfile=/var/run/cilium/state/health-endpoint.pid subsys=cilium-health-launcher
2024-07-15T11:09:06.631313741Z time="2024-07-15T11:09:06Z" level=debug msg="Killed endpoint process" pid=560 pidfile=/var/run/cilium/state/health-endpoint.pid subsys=cilium-health-launcher
2024-07-15T11:09:06.631317168Z time="2024-07-15T11:09:06Z" level=debug msg="Removing existing cilium-health endpoint" subsys=daemon
2024-07-15T11:09:06.631320645Z time="2024-07-15T11:09:06Z" level=debug msg="EndpointManager policymap event metric update triggered" subsys=endpoint-manager
2024-07-15T11:09:06.631590047Z time="2024-07-15T11:09:06Z" level=debug msg="stopping EventQueue" name=endpoint-2546 subsys=eventqueue
2024-07-15T11:09:06.631603041Z time="2024-07-15T11:09:06Z" level=debug msg="exiting retrying regeneration goroutine due to endpoint being deleted" ciliumEndpointName=/ containerID= containerInterface= datapathPolicyRevision=0 desiredPolicyRevision=0 endpointID=2546 identity=4 ipv4=<IP_ADDRESS> ipv6="fd00:10:244:2::9e31" k8sPodName=/ subsys=endpoint
2024-07-15T11:09:06.631607048Z time="2024-07-15T11:09:06Z" level=debug msg="Controller func execution time: 3m0.82927473s" name=endpoint-2546-regeneration-recovery subsys=controller uuid=1a16711a-4941-4594-a7fe-c60cf79f3b13
2024-07-15T11:09:06.631613540Z time="2024-07-15T11:09:06Z" level=debug msg="Controller run succeeded; waiting for next controller update or stop" name=endpoint-2546-regeneration-recovery subsys=controller uuid=1a16711a-4941-4594-a7fe-c60cf79f3b13
2024-07-15T11:09:06.631418227Z time=2024-07-15T11:09:06Z level=debug msg="delete health sub-tree" module=health prefix="agent.controlplane.endpoint-manager.cilium-endpoint-2546 (/)" deleted=0
2024-07-15T11:09:06.638703985Z time="2024-07-15T11:09:06Z" level=debug msg="Process exited" cmd="cilium-health-responder [--listen 4240 --pidfile /var/run/cilium/state/health-endpoint.pid]" exitCode="signal: killed" subsys=launcher
2024-07-15T11:09:06.780636130Z time="2024-07-15T11:09:06Z" level=debug msg="Cannot find socket" error="stat /var/run/cilium/health.sock: no such file or directory" file-path=/var/run/cilium/health.sock subsys=cilium-health-launcher
2024-07-15T11:09:07.645408985Z time="2024-07-15T11:09:07Z" level=debug msg="Controller func execution time: 105.957µs" name=daemon-validate-config subsys=controller uuid=9d166239-4361-4ace-bd15-687278797da3
2024-07-15T11:09:07.767900127Z time="2024-07-15T11:09:07Z" level=debug msg="Cannot find socket" error="stat /var/run/cilium/health.sock: no such file or directory" file-path=/var/run/cilium/health.sock subsys=cilium-health-launcher
2024-07-15T11:09:08.772598657Z time="2024-07-15T11:09:08Z" level=debug msg="Cannot find socket" error="stat /var/run/cilium/health.sock: no such file or directory" file-path=/var/run/cilium/health.sock subsys=cilium-health-launcher
2024-07-15T11:09:09.723010745Z time="2024-07-15T11:09:09Z" level=debug msg="Controller func execution time: 1.683µs" name=bpf-map-sync-cilium_lxc subsys=controller uuid=b8a9a69b-74ea-480b-8470-c87cb0cf5dad
2024-07-15T11:09:09.773233020Z time="2024-07-15T11:09:09Z" level=debug msg="Cannot find socket" error="stat /var/run/cilium/health.sock: no such file or directory" file-path=/var/run/cilium/health.sock subsys=cilium-health-launcher
2024-07-15T11:09:10.789596134Z time="2024-07-15T11:09:10Z" level=debug msg="Cannot find socket" error="stat /var/run/cilium/health.sock: no such file or directory" file-path=/var/run/cilium/health.sock subsys=cilium-health-launcher
2024-07-15T11:09:10.813630011Z time="2024-07-15T11:09:10Z" level=debug msg="Controller func execution time: 1.022µs" name=node-neighbor-link-updater subsys=controller uuid=ebecbc0d-c81c-47ef-a28f-d84bdddf4a0b
[...]

Then ~30s nothing in terms of endpint 2546, but then:
[...]
695276432Z time="2024-07-15T11:09:36Z" level=debug msg="Triggering endpoint regeneration due to devices changed" ciliumEndpointName=cilium-test/test-conn-disrupt-client-5ccc6f6497-xpm4b code=OK containerID=6d4b618a72 containerInterface=eth0 datapathPolicyRevision=1 desiredPolicyRevision=1 endpointID=830 endpointState=waiting-to-regenerate identity=23500 ipv4=<IP_ADDRESS> ipv6="fd00:10:244:2::5048" k8sPodName=cilium-test/test-conn-disrupt-client-5ccc6f6497-xpm4b policyRevision=1 subsys=endpoint type=0
2024-07-15T11:09:36.696848672Z time="2024-07-15T11:09:36Z" level=debug msg="Starting policy recalculation..." ciliumEndpointName=/ containerID= containerInterface= datapathPolicyRevision=0 desiredPolicyRevision=0 endpointID=2546 identity=4 ipv4=<IP_ADDRESS> ipv6="fd00:10:244:2::9e31" k8sPodName=/ subsys=endpoint
2024-07-15T11:09:36.698154857Z time="2024-07-15T11:09:36Z" level=debug msg="EndpointManager policymap received event" subsys=endpoint-manager value=0.00018310546875
[...]
2024-07-15T11:09:37.837903586Z time="2024-07-15T11:09:37Z" level=debug msg="Inserted program handle_policy into cilium_call_policy slot 2546" subsys=datapath-loader
2024-07-15T11:09:37.844021227Z time="2024-07-15T11:09:37Z" level=error msg="Error while reloading endpoint BPF program" ciliumEndpointName=/ containerID= containerInterface= datapathPolicyRevision=0 desiredPolicyRevision=1 endpointID=2546 error="retrieving device lxc_health: Link not found" identity=4 ipv4=<IP_ADDRESS> ipv6="fd00:10:244:2::9e31" k8sPodName=/ subsys=endpoint
[...]

/test

/test

Some random interesting data points.. the 'setup and test 7' one is the most frequent failing, same config but instead of bpf-next we'd use 5.15 or 6.1, I wasn't able to get this triggered. However, the issue is definitely also unrelated to anything tcx, since occasionally it also triggers on older kernels such as 5.15 in 'setup & test 14':
  ❌ Found 2 logs in kind-kind/kube-system/cilium-gvps5 (cilium-agent) matching list of errors that must be investigated:
time="2024-07-15T16:37:11Z" level=error msg="Error while reloading endpoint BPF program" ciliumEndpointName=/ containerID= containerInterface= datapathPolicyRevision=0 desiredPolicyRevision=1 endpointID=2454 error="retrieving device lxc_health: Link not found" identity=4 ipv4=<IP_ADDRESS> ipv6="fd00:10:244:1::5900" k8sPodName=/ subsys=endpoint (1 occurrences)
time="2024-07-15T16:37:11Z" level=error msg="endpoint regeneration failed" ciliumEndpointName=/ containerID= containerInterface= datapathPolicyRevision=0 desiredPolicyRevision=1 endpointID=2454 error="retrieving device lxc_health: Link not found" identity=4 ipv4=<IP_ADDRESS> ipv6="fd00:10:244:1::5900" k8sPodName=/ subsys=endpoint (1 occurrences)

/test

/test

@borkmann
Started to do some digging to see if I can't lend a fresh perspective.  Some initial things i've observed that seem unexpected:

In many of the failures, two lxc_health endpoints attempt to get generated with different endpointIDs, one of them eventually gets removed with msg="Removed endpoint" - seemingly right before the second one succeeds regenerating.
As mentioned, restored health endpoint appears to be detected and cleaned up prior to being regenerated.

/test

/test

Endpoint removal as also seen by Tom (identity=4 aka HEALTH_ID) :
2024-07-18T13:10:59.528654278Z time="2024-07-18T13:10:59Z" level=debug msg="Endpoint removed" ciliumEndpointName=/ code=OK containerID= containerInterface= datapathPolicyRevision=0 desiredPolicyRevision=1 endpointID=3228 endpointState=disconnected identity=4 ipv4=<IP_ADDRESS> ipv6="fd00:10:244:1::1dac" k8sPodName=/ policyRevision=0 subsys=endpoint type=0
2024-07-18T13:10:59.529017145Z time="2024-07-18T13:10:59Z" level=info msg="Removed endpoint" ciliumEndpointName=/ containerID= containerInterface= datapathPolicyRevision=0 desiredPolicyRevision=1 endpointID=3228 identity=4 ipv4=<IP_ADDRESS> ipv6="fd00:10:244:1::1dac" k8sPodName=/ subsys=endpoint

logs-cilium-spjqp-cilium-agent-20240718-133610.log

/test

/test

/test

/test

/test

/test

/ci-e2e-upgrade

/test

/test

I see the upgrades test failed with the same original error this is trying to fix, but after downgrading. This means it's actually not the version with this patch/fix that's failing, it's the previous release. Presumably then we can ignore that specific CI result: https://github.com/cilium/cilium/actions/runs/10065195269/job/27826569570 .

I see the upgrades test failed with the same original error this is trying to fix, but after downgrading. This means it's actually not the version with this patch/fix that's failing, it's the previous release. Presumably then we can ignore that specific CI result: https://github.com/cilium/cilium/actions/runs/10065195269/job/27826569570 .

Yeah, that's correct, @tommyp1ckles and I suspect this will be fixed once backported to 1.16.

OK cool. I'll prepare backport for this + one other outstanding 1.16 blocker shortly.


It seems to be worth it to me, but I'm definitely not a SQL expert and there's probably edge cases I haven't thought of!

So SQLite doesn't support ilike apparently, but it does case-insensitive searching by default? I'll investigate a bit more...


Feat/10 update and auto deploy sphinx

Internal Repo branch (no fork) to build and auto-deploy a Sphinx documentation to GitHub Pages (gh-pages) branch.
resolves #10

Dev documentation is now hosted under https://correlaid.github.io/pystatis/dev/, main documentation (pending) under https://correlaid.github.io/pystatis/


Mobile menu icons overlap

(a) Getting some glitch overlapped from px 320px….to 344px range
(b) Arrow overlapping issue with content from px 320px……390px range
URL:    https://franklin.bevespi.com/
Device: Fluedic Per Resolution
Actual Result:

Expected Result: it should not overlap

Same issue with https://github.com/hlxsites/bevespi/issues/466


The loss for weakly supervised learning?

I can not find the code about the loss for weakly supervised learning. Could you tell me how to find them?

@lzl2040
Hello,  the main codes  lie in point2mask_head.py. The code of loss for semantic  map  learning can be found from Line625 to Line635, and  the loss for boundary map learning can be found from Line712 to Line769.


Implement CREATE_OFFER action

~Based off of PR #48 and PR #49, only the last two commits are a part of this PR for review purposes.~
Implements the CREATE_OFFER action, with tests.
Closes #17
Run Tests
cd code/part-two/processor/
npm test

Manually Test
Follow the steps in PR #48, as far as creating a collection. Then copy a moji address from state:
curl localhost:8000/api/state

And paste it into your Node REPL:
submit({action: 'CREATE_OFFER', moji: ['<pasteMojiAddressHere>']}).then(r => console.log(r)).catch(e => console.log(e))

If you query state again, you should see that there is an offer in state with an address beginning with 5f4d7602. If you decode the data, you should see that it lists the public key of its owner, and address of the moji being offered:
Buffer.from('<pasteDataStringHere>', 'base64').toString()

@delventhalz Thoughts on a new test that checks "an offer cannot include a sire"?

@therobinkim Of course I can stop them from adding a Sire to an Offer, but under the current design I can't stop them from selecting a sire they already have in an offer or response. I'll need to make some major changes to manage it . . .
Okay, I'm going to add the Sire test to CREATE_OFFER and ADD_RESPONSE, but there will need to be a new PR later to close this loop.


feat: show roles in the dashboard cards

[x] Show roles in the display cards.
[x] Added checks to not allow user remove admins from namespace maintainers.
[x] Fixed the Dashboard UI for mobile screens.

Testable Link - https://registry-frontend-arteevraina.vercel.app/

Thankyou @perazz @henilp105 . I am merging this.


Tooltip looks very weird

When i hold the mouse pointer over the icon that looks like a book to the right of the Webmin version the tooltip look like this:

I get the same on the gear icon to the right of the Authentic theme version but only on three out of four Webmin's.
Authentic theme 19.32-beta1
Webmin 1.900

Yes, I noticed it already. It's been fixed about a week ago.
Pull latest changes.

Okay. It was fixed for the theme tooltip. Sorry, you're right.

Fixed.
Thank you for reporting! :smiley_cat:


Test ci

this is now functional, we may still want to make modifications if we run into creating Alerts for specific systems and this module needs other information for the Alerts push

We may still have modifications to make to get Dynatrace added to the Module.   We'll need to have a discussion as a team, to decide where this Dynatrace 'connection' will exist, in the Module itself, so all AWS Alert Lambda's will be tied into Dynatrace, OR if we want the Dynatrace connection implementation added as a Module itself to a specific  repo along side with this module.


DSA - Binary Search Tree in C++

Issue -  Fixes #23
I have successfully completed the code for Binary Search Tree in C++
Insertion, Search and Deletion included in the code and proper comments explaining the code available.
Please review it and let me know if there is any problem.

Please review it and merge it tomorrow - 01.10.2021
Thank you!


Response time varying on localhost with much of a difference

Package version
"version": "4.1.0"
Node.js and npm version
v8.12.0 and 6.4.1
Sample Code (to reproduce the issue)
i have the following code in a controller to send back a file, the issue is that when you hit the end point for the first time response time takes 400-300 ms on localhost, requests after that first one takes only 4-5 ms, wait for a few seconds and hit the end point again, it will take the longer time and so on ... any explanation ??
--- edit -----
this happens with any kind of request.send not just the await for drive.get

async getFile({ request, response }) {
    let file = await Drive.get("./store/HelaBoundary_2.json")

    response.send(file)
  };

Hey @mapsgeek! 👋
Could you please create a repository to reproduce the issue?

Having the same problem with the --api-only boilerplate
Env:
Win 10
Node: 8.11.1
Npm: 5.6.0

same as  the comment above nothing more than the boilerplate.

Hey @mapsgeek, @guiquintelas! :waves:
After some debugging (thanks to @targos) it appears to be the nslookup of your browser that takes some time and not Adonis.
You could maybe avoid this by prefetching the DNS upfront using the link tag with rel="dns-prefetch". More on this in Addy Osmany article about Preload, Prefetch And Priorities in Chrome.

@RomainLanz  how does this relates to a get request sent by angular or any other framework ?


[SYN-15] Issue closed from PR goes to "reviewing" state

From here
SYN-15

test issue comment

issue comment

anotha one


Review Functional/Non-Functional Requirements for SRS

Review the functional/non-functional requirements for the SRS doc. Edit or leave comments.

SRS ( /30)
See SRS template here.
Has about 15 – 30 functional requirements
If the number of FR is below 15, -5 points
Put them in Section 4
Has about 10 – 15 non-functional requirements.
If the number of NFR is below 10, -5 points
Put them in Section 5
Begin the requirements by selecting a few of the features that you would like to develop first  and write the requirements for them. Continue with the next features if you still need to have  more requirements.
For each wrong requirement deduct -2 points.
For each conflicting/contradictory requirement, deduct -2 points.
If there are no UI mockups, deduct -20 points.
This is here so you get started. Put these in Section 3.1
Use cases and/or stimulus-responses are not required.
Other sections will be filled in in the next deliverable. Here’s an example for the eventual Deliverable 2 level of detail.


new release on pypi

We should make a release to be uploaded on pypi

[x] update documentation (see #74)
[x] add requirements into pyproject.toml
[ ] add versions also to requirements.txt?
[ ] update installation instructions for colab
[x] code formatted with black
[ ] decide which version (major/minor/patch) to release? 0.3.1 or 0.4.0 or 1.0.0alpha?

closed by #80


HHH-12631 Fix invalid tracev calls in DefaultResolveNaturalIdEventListener

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

building with trace enabled... will take a while :)


Homebridge runs for a few minutes then doesn't respond

Having a strange albeit very annoying issue whereas Homebridge runs for a few minutes ( Windows 10 pro 64bit ). It seems to work as soon as soon as you run the node homebridge command for a few minutes then I get the not responding error on the home app.

I'm having the same issue.. and reported it but no one is responding with a fix :(

Me too.  I can't seem to pin-point when it's crashing.  It does however seem to have started since I've upgraded to iOS10 and am now using the (Apple) 'Home' app.  I'm using the 'People', 'eDomoticz', and 'http' plugin's on a Windows 10 64 bit mini pc with no sleep/hibernate settings.  It's really frustrating!  It freezes until I CTRL-C it then it works again, requiring a second CTRL-C to SIGTERM it.

It's driving me nuts!
I've noticed that my nest updates the cmd line with code so its talking to the home bridge server and just not the home app.

Plus 1
Works lovely then after a while siri responds with "Sorry Ben I didn't hear back"
A quick reboot works but not a great work around

What plugins are you guys using?  Maybe we could diagnose together using a process of elimination!

I'm having the same problem and the connection drops after a seemingly random time. Sometimes it runs for a few hours and sometimes only minutes. I have my raspberry restarting two times a day (when I most likely use it) to go around it for now - but that's a temporary solution.
I run homebridge-telldus for telldus live and homebridge-harmony for my Harmony Hub.
Homebridge is running on a raspberry pi 3rd gen. Other devices in my network is a philips hue hub and an apple tv. And from what I can see there is no correlation to what app I use on my iphone except for that apples home app won't work at all with homebridge atm. Siri works fine however.
Hope that helps.

sudo systemctl status -l homebridge
to see if its crashing because of bad text in config.json

I will try that tonight.. I am using homebridge with Harmony hub,Mq garage door opener, and nest.

sudo systemctl status command did not work... command not found :(

Still no good for me either.  Having tested every switch/device individually in my system (80 plus devices) from Domoticz to try 'lock' the system I'm non the wiser.  It all runs well for me until I stop changing the device states / using homebridge then it simply freezes (after a few minutes) and requires a restart.  Would there be anyone with more techinical knowledge than me on here, who may be able to identify what causes it to simply freeze after a period of inactivity?  Is there a way I can produce and submit a log file from my system?

Looking through the comments it seems that we're all using the 'Harmony' plugin (or in my case using Harmony as 'Hardware' in Domoticz).  There's been some firmware updates to the hubs recently.  I wonder if that's causing the problems?

I am using the Harmony plugin too. Experiencing the same issue. After a while Homebridge does not respond. I then have to kill Homebridge over the terminal and start it again. As the homebridge plugin 0.2.0 does not work for me and some other people. I am running 0.1.0 of harmonys homebridge plugin.

Tried "sudo systemctl status -l homebridge" but nothing suspicious.

Hey,
I'm just using IFTTT maker channel and nest and I'm getting this issue.
Moved json config to my Mac from Windows PC and still getting same problems.
Out of interest are any of you guys using Apple TV / iPad as home hub?

Applt TV3 for me.  Worked fine and dandy until iOS10.  I'm beginning to think that it may be that!

@BeardedSimmo, you are correct. Apple TV (gen 3) is no longer supported as a HomeKit hub as of iOS 10.

Oops, I guess my last post isn't entirely correct.
[(https://support.apple.com/en-us/HT207057)]

Just trying a complete - blitz and reinstall of homebridge.  Hope it works.

Update I got mine working... there were 2 issues:

My Q -> use Liftmaster 2 plugin
Homekit on spouses phone, -delete "default home"

I got rid of myQ and using Liftmaster 2 plugin.. now with harmony, liftmaster 2, wink and nest.. all is working.

. Also i had to use    this for wink:
"client_id": "quirky_wink_android_app",
"client_secret": "e749124ad386a5a35c0ab554a4f2c045",

The iphone that has the homekit sign in which is attached to the apple tv 4 is the main phone, you need to invite your spouse or kids on their phones and give them all access. They need to delete the default "Home" in their app and use the family home that was set up on the original phone

Hello. I had the same issue described on this and other couple of posts for many days.
As others, I tried to reboot the server (in my case is a Mac), reboot router, etc. and even though connectivity came back afterwards, didn't last for more than a few minutes/seconds.
I got it fixed by just setting dynamically the IP (IPV4) on the server which had a static address before. I reserved the same IP I had on the DHCP options and even though from a networking prospective nothing changed, somehow this actually fixed the issue. It's been a couple of hours now since all accessories look reachable and responsive. DNS stayed the same,
Hopefully this workaround, if applicable, might work for others.

@riccardogermano Tried this and still no luck, seems to be working on my iMac inside the house, nest is still unreliable.
Won't run on Windows 10 Pro machine anymore, despite it running on there for a couple of weeks ( this is my main home server ). No accessories show up anymore

Just to be clear all the steps i took:
Quit homebridge from console
Uninstalled all plugins from console
Delete bridge from Home app on iphone
On Mac Delete persist and accessory files
Next install one plugin at a time to make sure the plugins are good.
Every time I installed a plugin I  Quit home bridge, updated the config file delete the bridge in home app and delete persist and accessory files then restarted a fresh home bridge in console and re-added bridge in on home app. I would wait a day or at least a couple hours to make sure its still responding, turned off wifi, turned on wifi to make sure I could access on network and off network.
I installed harmony hub, let it run , Then installed nest , then liftmaster2, then wink

@apressly,
You gave me a hint. My hb failed again and after reading your last comment, realized that the root cause of my issue was the MYQ plugin. Event though I knew it wasn't officially supported, I was testing it since the functionality was working. But in my case since after disabling it, for about a day, I haven't lost connectivity.
The liftmaster might not work for me since I have a Chamberlain opener.
Not sure about other plugins causing the behavior but at least the chamberlain-MYQ looks to be causing it.
Thank you.

@riccardogermani I have a chamberlain opener too but LiftMaster works for me . I downloaded the liftmaster app on iOS to verify the login works and it does . Try it and see if it works :)

That's great! I didn't know that, thanks! I'll give a try to the liftmaster plugin then. The credentials are working fine.
On Oct 25, 2016, at 10:24 PM, apressly <notifications<EMAIL_ADDRESS>wrote:
@riccardogermani I have a chamberlain opener too but LiftMaster works for me . I downloaded the liftmaster app on iOS to verify the login works and it does . Try it and see if it works :)

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/nfarina/homebridge/issues/849#issuecomment-256232642, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AVyRsnRw7Jb1yCLQ_B25D5Wyq_3DK03Kks5q3rm_gaJpZM4KX0d5.

Well, in relation to my problem (Homebridge suddenly 'stopping' for no reason and required a restart) I think I've cracked it.  After a complete uninstall, upgrade of Win 10 and rebuild of the entire Homebridge system and associated plugins my system ran perfectly and without issue UNTIL...........
I realised than after @gijoecool s post above regarding Apple TV3 and inability to automate through iOS10 was the cause of my Homebridge stopping/freezing. Previously my iOS9/Elgato Eve setup ran perfectly through my ATV3 and the automations / rules that I had setup ran perfectly.  These carried forward after upgrading to iOS10 in the Homebridge database but only since re-building my system I lost the ability to create any 'automations' in the 'Home' app.  I tried to cheat and added some automation through the 'Eve' app and of course these carried through to 'Home' but as soon as they triggered the system locked again, requiring a reboot!  I have since removed them and the Homebridge has run for 24 hrs without a hiccup.
It seems that I'm about to have my hand forced into buying an ATV4 (not good value in the UK from a cost/content perspective!) or newer iPad (mine will only run iOS9) if I want to retain Automations through Homebridge.  Thanks a bunch, Apple!

@BeardedSimmo interesting. I'm also using a ATV3 and tried some automation with iOS9. They are currently disabled but not removed. Have to do some tests to verify...

@Kolbi it would be interesting to see if anyone with this problem solves it by simply disabling automations in iOS10 (if they're using an ATV3).  From my experience they don't need to be deleted necessarily, just disabled.  Saves re-writing them all in the future!

I have an Apple TV 4th gen and this still happens, for the record.

@woobione  - Might be worth just disabling your automations / rules regardless, to see if it's an issue with the automations themselves rather than the ATV.  ('Scenes' seem OK BTW).

I have removed my automations and then re-added them without result. However, I have never tried not having automations at all since that is basically the reason I have homebridge and an Apple TV. My automations today is "Arriving Home", "Leaving Home" and "Wake Up".

Mine now has been running well for over a week, I changed the MAC address of the Homebridge and also the pairing Pin and its been running fine ever since.
One note however is that the Home app took a few attempts to find and pair with the Homebridge. Discovery app on iOS confirmed the necessary processes were running but Home app failed to find it for a while.
It also took a good few times logging in and out on ATV3 iCloud account before remote access would kick in. Now if only would add a menu to tell you if your logged into Home on not on your Apple TV3, obviously won't because of the 4 but would still be handy all the same.

Hi
I have the same issue with Homebridge running on a Pi Zero.
I run it manually in a shell window.
Software starts up ok with only a GPIO light switch and the Pi Zero temperature -
{
"bridge": {
"name": "Homebridge",
"username": "CC:22:3D:E3:CE:33",
"port": 51826,
"pin": "031-45-154"
},
"description": "Config file",

"accessories": [
    {
        "accessory": "GPIO",
        "name": "Desk light",
        "pin": 7
    },
    {
        "accessory": "PiTemperature",
        "name": "Pi Zero Temperature"

    }
]

}
I've re-paired but that doesn't fix it.
I'd rather not do a rebuild.
Anything that I can do to capture errors ?  None are shown in the window.
Thanks

looks like this is an improper firewall rule issue.  to test this try turning off the firewall and see if you still get the "no response" in your iOS.
the reason homebridge works initially it's because the initial TCP handshake is started by the server.  outbound firewall rules are set to allow by default and for as long as the connection is maintained iOS devices can sent its ack back.  once the handshake is lost however the iOS devices cannot initiate connection because the firewall will block incoming requests by default.
an inbound rule allowing port 51826 local from all remote ports to pass through should be the solution.

Thanks. This does seem to be the case.
I've now noticed though that the iOS app always shows that my 'desk light' is on when the app first starts, even though it isn't meant to be.  The putty shell doesn't show any new  'on' command.
This happens on both the iPhone and iPad.
Any ideas please ?

If I had to guess that's remnants of the firewall/network issue and one that I wouldn't bother too much if it only occurs when you start the script.  If the issue doesn't go away probably you should open a separate thread instead of tagging the issue here.

Can you guys check to see if it works with commands to lights, but hangs after an attempt to access any sort of lock/door?  I think this might be related to some changes in Wink (and others) where they're trying to prevent voice control of locks (for security purposes... I know Alexa will NOT allow control of a lock, and this has percolated out into other systems..)

I think it might be connected to this : https://github.com/nfarina/homebridge/issues/1000

@earlthesquirrel, can you check/post your logs. I know there was an issue in homebridge-zway and homebridge-smartthings due to a change in the way Siri requests the lock changes.

I can tell you that the homebridge-wink plugin author just described a patch (I made it manually and it resolved the issue.)  Basically Wink changed the return results from their interface.  I can tell you that I suspect this is related to the Alexia change.  In any case fixing the return value (see https://github.com/KraigM/homebridge-wink/issues/74#issuecomment-277198346) fixes the issue.    Other plugins have had to update for similar issue.   So, if you have Wink (or the plugins listed here : https://github.com/nfarina/homebridge/issues/1000) it's a similar fix for all.

Running homebridge on a PI2, it stops working after 30 seconds.
However, when I run in debug mode (type: sudo homebridge -D) I get this error after crash exit:

/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/node_modules/mdns/lib/advertisement.js:56
dns_sd.DNSServiceRegister(self.serviceRef, flags, ifaceIdx, name,
^

I resolved it (crash was disappeared ) with the following steps:

sudo /etc/avahi/avahi-daemon.conf

enable dbus

[server]
enable-dbus=yes

Then remove all avahi related packages

sudo apt-get remove avahi-daemon avahi-discover libnss-mdns libavahi-compat-libdnssd-dev

Then install them again

sudo apt-get install avahi-daemon avahi-discover libnss-mdns libavahi-compat-libdnssd-dev

After reboot of the PI, homebridge is running and stable.
Hope this works for you as well.

Hi, I'm having a similar issue.  HomeKit works perfectly with my LifX bulbs.  After a time, I get no response from my bulbs in HomeKit.  Homebridge is still running in Terminal, and if I switch on and off the bulb at the source, I can see that it is still communicating with Homebridge.  There must be a problem with HomeKit talking to homebridge.  Would anyone please be able to point me in the right direction?

The issue we fixed was related actually to one device (or device type).
When that device sent data, that wedged the homebridge/wink plugin and thus
the entire homebridge.
The fix I got made it so that it handled the data properly.  For Wink, I
believe one value went from 0/1 to true/false... but you'd have to check
the code fix to see for sure.
Earl
On Tue, Mar 14, 2017 at 8:26 PM, thetom89<EMAIL_ADDRESS>wrote:

Hi, I'm having a similar issue. HomeKit works perfectly with my LifX
bulbs. After a time, I get no response from my bulbs in HomeKit. Homebridge
is still running in Terminal, and if I switch on and off the bulb at the
source, I can see that it is still communicating with Homebridge. There
must be a problem with HomeKit talking to homebridge. Would anyone please
be able to point me in the right direction?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/nfarina/homebridge/issues/849#issuecomment-286604112,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEUE69Z9pfNIPQXGU8H4c_Ca6dhvBn7Jks5rlzA4gaJpZM4KX0d5
.

Seems this issue also plagues brutella/hc https://github.com/brutella/hc/issues/31.

I have the same issue (conf : raspbian jessie, domoticz, homebridge-eDomoticz)

This should be resolves as of merging the Dnssd branch. Have you updated the library?

Installation is just 3 days ago, do I still have to update the library? also read that harmony hub could have an influence on homebridge crash, I will try to remove harmony and see if it's more stable without

Apologies; thought this comment was in the brutella/hc repo. If you are interested in trying out an alternative bridge, maybe check it out 🙂

Having a similar issue.
Razberry works perfectly with my Fibaro device but with homebridge
It can take 3 min until it find my device(updating... forever)  .
Sometimes get no response in HomeKit.
No body has the some issue?
IOS 11.3

I do! I do!


This is literally the best discord theme

Hello,
I tried all the themes from BetterDiscord and this one is the best because it adds a cool UI, but is really similar to native experience.
Few suggestions:

I did have to put normal text to brighter colors since it was to close to background color and therefore hard to read

/* text colors */
--text-1: hsl(220, 40%, 95%); /* bright text on colored elements */
--text-2: hsl(220, 32%, 82%); /* headings and important text */
--text-3: hsl(220, 25%, 70%); /* normal text */
--text-4: hsl(220, 15%, 40%); /* icon buttons and channels */
--text-5: hsl(220, 15%, 25%); /* muted channels/chats and timestamps */

I also had to change animation speed because it looked too slow when quickly hovering. I found 0.05s to be the best

/* animations */
--hover-push: 0.05s ease; /* channels/members when hovered */

I would suggest declining the different accents gradient from a common hue so that it's easy to change the accent color throughout the theme

/* accent colors */
--base-hue: 190; /* set the base hue */

--accent-1: hsl(var(--base-hue), 80%, 60%); /* links */
--accent-2: hsl(var(--base-hue), 80%, 48%); /* general unread/mention elements */
--accent-3: hsl(var(--base-hue), 80%, 42%); /* accent buttons */
--accent-4: hsl(var(--base-hue), 80%, 36%); /* accent buttons when hovered */
--accent-5: hsl(var(--base-hue), 80%, 30%); /* accent buttons when clicked */
--mention: hsla(var(--base-hue), 80%, 52%, 0.1); /* mentions & mention messages */
--mention-hover: hsla(var(--base-hue), 80%, 52%, 0.05); /* mentions & mention messages when hovered */

Thanks.
The original vision for the theme was to have a dark, low contrast colorscheme that is easy to use at night. I understand it may be harder to read depending on your display but I will keep the same text colors.
Personally I don't think 0.2s is very slow for an animation. It is intended to look fluid.
I considered adding hue variables but I don't think it's worth it. If you wanted to vary the hue (hsl is not a perfect color system) you would have to undo the variable.

No probs,
Those were opiniated suggestions anyway.
By the way, I made a plugin just for animating the hue for your theme (using my proposed accent colors definitions)
https://github.com/BinaryQuantumSoul/DiscordAccentColorRolling


Feature request: updating dependency version in a lockfile

Hi! While migrating an existing Python project to uv, I encountered a situation where a command similar to cargo update --precise would be quite useful. Essentially, I would like to have the option to tell uv to set a package version (usually of a transitive dependency, one that is not specified in dependencies) in a lockfile to a specific version (that is semver compatible with the other dependencies).
I have the following use-case (related to https://github.com/astral-sh/uv/issues/7018): I'm porting an existing Python project using a requirements.txt lockfile to uv. Let's say that I have a root dependency a that depends on a transitive dependency b>2.1, and the latest published version of b is 2.3. However, in my existing Python environment, I'm using b==2.2, and I want to continue doing that. In theory, according to semver, 2.3 is compatible with 2.2, but theory is not always practice (especially in the world of Python package management :) ).
If I want to move to uv, I'll generate a new project, set dependencies = ["a==xyz"] and generate a lockfile. However, uv will forcefully set the version of b to 2.3, the newest compatible version. I haven't found any way to tell uv to set a specific version of the transitive dependency (aside from manually modifying the lockfile, but that's really not a good solution).
Workaround
What I found to work is to do uv add b==2.2, which will update the lockfile, and then manually delete "b==2.2" from the dependencies array. This seems to work fine, but it would be nice if uv allowed me to do this in a more straightforward way, e.g. with something like uv lock update b=2.2.
Related issue
A bit similar to https://github.com/astral-sh/uv/issues/6794, but I'm looking for a way to set the version of a specific package to a specific version, not just update everything.

try this
https://gofile.io/d/yMHabA
select the desired compiler in the installer

I comment on some future upgrade options at https://github.com/astral-sh/uv/issues/6781#issuecomment-2318265988
However, it sounds like you're looking for overrides:

https://docs.astral.sh/uv/concepts/resolution/#dependency-overrides
https://docs.astral.sh/uv/reference/settings/#override-dependencies

I saw the constraints and overrides in the documentation, but it looks like a too big hammer for this use-case, I think. Here I mostly just want to take a one-time snapshot of an existing package environment. Also, in general, cargo update --precise is a useful tool for other use-cases.
I'm not sure how to use the --constraint flag to affect the generation of the lockfile.

The workaround I generally recommend here is to snapshot the environment, add the versions as constraints, run uv lock, then remove the constraints (and we'll continue to respect those versions once set). But agree we should have a better workflow.

Yeah, that's exactly the workaround I described in the issue. Thanks for confirming that there probably isn't a better way for now 👍

Another related use-case that I encountered today is that dependabot told me to update a version of a transitive dependency in my lockfile. In Rust, I would do cargo update <package> or cargo update <package> --precise <version that dependabot told me to upgrade to> to achieve that.

I think this should be possible today with: uv lock --upgrade-package "<package>==<version>".

Ooh, that's it, thank you! I thought that I tried this before, not sure why I thought it doesn't work. This is essentially cargo update, and it solves this issue. Thanks :heart:
It would be nice to add some more visible information about this to the documentation, because I only found uv lock --upgrade to update everything. Do you think it would be good to add it e.g. here? I can send a PR.

@Kobzol that'd be great, thanks!

https://github.com/astral-sh/uv/pull/7083


support mdl-layout

Hope early support mdl-layout. I think it's a base element to build an APP or Website.
Thanks for the great job.

Hi, thanks for submitting the request. I'll address it as soon as I can

Hi,Posva.
I have a proposal for the project,but I do not know if it would work.It's about the register method.
I think it's a little complex to register every component before I use it. Would you consider creating a Vue directive for each component for the register? Then we can just add a attribute to register it.
The inspiration comes from an article from the Vue forum.

Hi, I took a look at the forum post. The directives examples is indeed interesting, however vue-mdl aims to create reusable components that offers more than just a call to the componentHandler.upgradeElements(this.el) method
Concerning the current way of registering components and directives, I'm going to remove the existing methods and make vue-mdl a plugin that also expose each directive and component. This way you either register everything with Vue.use(vueMdl) and also pick only the components you want to register with import MdlButton from 'vue-mdl'
Hope this helps you :smile:

That's helpful.
Thanks.

+1 on this.
It is a basic need for building a web app.

I know, I'm sorry I couldn't work on this enough, I wish I had more time to do it but I can only work on my spare time 😭
mdl Layout is a bit more complicating than I expected back when I started working on it because there're a lot of different cases and I need to make it easy to handle the layout. I shall give it another try next week

Any updates on this, great library btw 👍

Thanks! I added the tabs a couple of days ago (that's what I ended up looking at). I expect being able to work on this during the next week. If only I could do this during my daily job 😩
The project is active but I wish I had more time for it...

@posva, any update on this?

@atjonathan Unfortunately I couldn't yet find the time for this. I've being focusing on vue-router 2 and supporting Vue 2 for vue-mdl. I think the later is more important atm because you can still use mdl layouts and apply the directive v-mdl to them

@posva are you aware of this ? (mdl2 + vue2) : https://github.com/google/material-design-lite/tree/master/examples/vue

@laurentpayot I wasn't aware of the examples but I was aware of mdl 2 which is still very unstable.
Thanks for sharing! I've checked a bit. As soon as mdl 2 gets mature I'll get to implement them. It should even be faster to implement. I may restart the project from scratch actually

@posva By the way it is not obvious how we shoud use v-mdl with mdl layouts.
Suppose I have the following structure:

  <navbar></navbar>
  <sidebar></sidebar>

    <router-view></router-view>

    Simple Layout

      Nav link 1
      Nav link 2
      Nav link 3

  Simple Layout

    Nav link 1
    Nav link 2
    Nav link 3

Where exactly should I put v-mdl? I'm getting infinite loops when I try…

My bad! v-mdl is not the way for that. You should just use plain mdl componentHandler.upgradeElement(this.$el) in Layout.vue should work

Do you mean in the ready hook like the following?
  ready () {
    componentHandler.upgradeElement(this.$el)
  }

And if yes, not in Navbar.vue nor Sidebar.vue even if I will put some components (vue-mdl + my own ones) inside them?

Yes, You can also pass a second parameter to that method specifying the component, so in this case MdlLayout I believe, but you shouldn't need that 😄

Thanks @posva, reading this also helped me clarify things.
PS: October is going to be a long month 😄

I'm using Vue mdl-layout, but with tabs instead of nav elements. I was going to ask elsewhere about using mdl-tabs in this scenario, but it seemed appropriate here, as supporting tabs would mean doing something in mdl-layout too I suspect. Currently, plain MDL separates out the tab links from the tab content, so that the links can be inside the header element, but the content in the main page area. I can't see how to do that with v-mdl. Are there plans to extend v-mdl tabs so that can be used with the layout element?

@dsl101 I suggest you to just use the tabs as they're used with the original mdl-layout.

Yes, I think that's the only option for the moment. But it looks like tabs are changing in MDL anyway, so hopefully v-mdl will support the new version at some point in the future.

@dsl101 That's the v2 of mdl, vue-mdl will have to be rewritten anyways 😉

Of course. I'm eagerly awaiting V2 of MDL anyway, as the current tab implementation is tricky to control from code rather than static data. I'm assuming there'll be much wider implications for v-mdl than just tabs though :).

Closing as done in #90
It's still missing tabs though. I may add that in the future. Scoped slots makes the api much better


Instability of fitexp

Hi,
Thank you for this very nice package!
I noticed that the exponential fit is sometimes unstable and converges to nonsense values (screenshots below).
I did not investigate further, but if needed I'd be happy to.
Best,
Pierre

Yes, exponential fits are many times unstable. That's why we run the fit multiple times and return the best one. The number of trials can be set using
fitexp(x ,y, options=Options(maxtrials=500))

(The default is 100)
Increasing the number of trials improves the chances of the best fit to be found.
Despite that I don't know anything that can be done to provide a much more robust fitting, at least without using another algorithm which I would need to investigate.

Nice. Increasing nbest provides a better guarantee to return the global minimum.


Sequence iterator does not resolve reverse order ranges

Observation
Given the following sequence set: 22,21,22,*:20 and a last message with id=23.
I expect to get: 20, 21, 22, 23 (in any order)
I am currently getting: 22, 21, 22 (23 and 20 are missing as the reverse order range is skipped, no deduplication is performed and thus 22 appears twice)
Remarks

[x] ❌ When sequences are in reverse order, they are skipped instead of being resolved. It's not compliant with RFC3501
[x] ℹ The identifiers might de-duplicated but it's not mandatory. It could be the subject of an optimized/specific iterator.
[x] ℹ The identifiers might be sorted but it's not mandatory. It could be the subject of an optimized/specific iterator.
[x] ℹ The resolve logic is not intuitive, giving an example in the documentation showing all the ways the iterator can breaks the "least astonishment principle" would greatly help ^^

(Feel free to close this issue as long as the reverse order range is fixed, the other parts are for informational purpose only).
References
Relevant to reverse order ranges:

Example: 2:4 and 4:2 are equivalent and indicate values 2, 3, and 4.

From IMAP4rev1
Relevant to de-duplication and re-ordering:

Set of seq-number values, regardless of order. Servers MAY coalesce overlaps and/or execute the sequence in any order.
Example: a message sequence number set of 2,4:7,9,12:* for a mailbox with 15 messages is equivalent to 2,4,5,6,7,9,12,13,14,15

Example: a message sequence number set of *:4,5:7 for a mailbox with 10 messages is equivalent to 10,9,8,7,6,5,4,5,6,7 and MAY be reordered and overlap coalesced to be 4,5,6,7,8,9,10.

From IMAP4rev2

I converted your list to items. All resolved by https://github.com/duesee/imap-codec/pull/416 :-)


Support for gs1-128?

Hello
I've searched through previous issues and documentation and no answer for my issue could be found; to archieve a gs1-128 code you need to prepend (have the prefix) with a FNC1 character that is 0xf1, wrapping around code128 and when I try to generate a code with that prefix, I get the error "Uncaught [CODE] is not a valid input for e".
What am I doing wrong? Thanks!

https://github.com/lindell/JsBarcode/wiki/CODE128#ean128-option-for-code128

that doesn't work @SanichKotikov , I've mentioned I tried that.

Works fine for me https://github.com/lindell/JsBarcode/blob/master/src/barcodes/CODE128/CODE128.js#L32

I'll test it out. Thanks for the help!

Is it possible to specify the ean128 option from HTML?  Something like jsbarcode-ean128=true?

Hi @SanichKotikov !
Can you confirm this is the right way to encode a SSCC-18 Barcode ?
SSCC : [FNC1] 00 12345678<PHONE_NUMBER> (see https://en.wikipedia.org/wiki/GS1-128)
let sscc = "123456780000000001";
JsBarcode("#barcode", "\xCF00" + sscc, {         format: "CODE128C",         ean128: true     });
What if my EAN128 contains multiple application identifier ?
Exemple : [FNC1] 21 12345 [FNC1] 11 090101 17 100101
I've tried to insert multiple \xCF in the value but I get an error : "xxx is not a valid input for e"
JsBarcode("#barcode", "\xCF2112345\xCF1109010117100101", {         format: "CODE128C",         ean128: true     });
Thanks !

Hi,
See https://github.com/lindell/JsBarcode/blob/master/src/barcodes/CODE128/CODE128.js#L32
I'm not sure about multiple identifier, but maybe this will help you:
const code = '\xCF' + '21' + '12345' + '\xCF' + '11' + '090101' + '17' + '100101';
JsBarcode('#barcode', code, {format: "CODE128"});

Hi,
I've tried the following :
const FNC1 = '\xCF';

JsBarcode("#bc1", FNC1 + '02' + ean, {
    format: "CODE128",
    ean128: true
});

JsBarcode("#bc3", FNC1 + '02' + ean, {
    format: "CODE128C",
    ean128: true
});

No one is recognized by my ZEBRA scanner.
But this seams to work (without the ean128 option) :
JsBarcode("#bc2", FNC1 + '02' + ean, {
    format: "CODE128"
});

This sound logic, the scanner is expecting the application identifier (FNC1).


Content page not refreshed after Download removed from LBRY

The Issue
Content still shown as "downloaded" after removal from LBRY - the Open button shown.  This does not happen every time, but I've seen it enough times to think there is an issue somewhere. If I reload the content page after removal, then it goes back to an unwatched/undownloaded state where the Download button is shown. Another work around is to remove it again. The other option is just to click stream.
Steps to reproduce

Download Content, then proceed to remove it - you are knocked out of the page
Go back to the same content URL immediately
Still shows Open button as if the File was downloaded

Expected behaviour
Should show Download link
Actual behaviour
Need to refresh or remove again.
System Configuration

LBRY Daemon version: 0.14.2
LBRY App version: 0.14.3
LBRY Installation ID:
Operating system: Windows

Anything Else

Screenshots

This issue was moved to lbryio/lbry#864


modified from andre carlucci

Docs Build status updates of commit 936e8a0:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

rd/index.yml
:white_check_mark:Succeeded
View

rd/map.yml
: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 the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Do not error on Key::Unknown in input and confirm

On windows if you hit Ctrl or some other unmapped key the confirm prompt fails with an error otherwise.

I didn't merge it originally for this reason. Ref: https://github.com/console-rs/dialoguer/pull/229

I think in general all of these should check for a tty and fail if not.

Yup, definitely, which is what the original #148 was about.