Switching the PartialEq bound in eq(...) for better compiler error

Currently, in eq(...), we are enforcing that ExpectedT : PartialEq<ActualT>. This does not generate the most helpful message. Consider the following example:
#[derive(PartialEq, Debug)]
struct A;

#[derive(PartialEq, Debug)]
struct ComparableWithA;

impl PartialEq<ComparableWithA> for A {
    fn eq(&self, other: &ComparableWithA) -> bool {
        true
    }
}

#[derive(PartialEq, Debug)]
struct B;

#[derive(PartialEq, Debug)]
struct ComparableWithB;

impl PartialEq<ComparableWithB> for B {
    fn eq(&self, other: &ComparableWithB) -> bool {
        true
    }
}

#[test]
fn compilation_error() -> Result<()> {
    verify_that!(A, eq(B))
}

The compiler message would be:
    = help: the trait `PartialEq<A>` is not implemented for `B`
    = help: the following other types implement trait `PartialEq<Rhs>`:
              <B as PartialEq>
              <B as PartialEq<ComparableWithB>>

This is not very helpful as we would like to know which types are comparable with A.
However, switching the bound to ActualT : PartialEq<ExpectedT> lead to more useful error message:
 = help: the following other types implement trait `PartialEq<Rhs>`:
              <A as PartialEq>
              <A as PartialEq<ComparableWithA>>

DO NOT SUBMIT this currently break type deduction in gtest_rust unittest.

I forgot about this WIP PR and submitted this change in #344. Closing.


Test Issue

This is test issue.

this is test comment

this is test comment2

test

test

test

Issue

this is test issue

this is test issue

this is test issue

this is test issue

Sorry, This is my misstake

Sorry, This is my misstake

Sorry, This is my misstake

Sorry, This is my misstake

Sorry, This is my misstake

Sorry, This is my misstake

Sorry, This is my misstake

This is test comment No.1.

This is test comment No.2.

This is a test comment No.1 by GitHub API

This is a test comment No.2 by GitHub API

This is a test comment No.3 by GitHub API

This is a test comment No.4 by GitHub API

This is a test comment No.3 by GitHub API


info icon about voting power is dead link

The info icon relative to voting power on the voting submission page leads to a deleted discussion on github. This shows when connected to a wallet with 0 voting power. Currently links to https://github.com/snapshot-labs/snapshot/discussions/1015#discussioncomment-1599447

Good catch! Thanks!


Limit number of Ethereum request retries (defaults to 10)

Resolves #1276.
This adds a new GRAPH_ETHEREUM_REQUEST_RETRIES environment variable that defines the number of times Graph Node retries requests made to Ethereum. This avoids retrying requests indefinitely, which can lead to subgraphs being stuck and problems not being noticed.

Now that I've created the PR I'm already reconsidering it.
The indefinite eth_getLogs retries allowed the 2key subgraphs to recover once Alchemy fixed the issue that caused requests to fail, without us having to do anything. If the subgraphs had failed, we would've had to restart the graph-node manually.
Instead of failing after e.g. 10 retries like this PR suggests, I think it would be better to add probes for problems like indefinite retries and expose them to developers (e.g. on a health tab in the explorer subgraph details). @olibearo Do you think that would be possible with Prometheus?

@lutter suggested we retry with exponential fallback (until the retry interval is like 5s) and log a warning as soon as we're reaching e.g. that max retry interval of 5s, and expose the problem to users that way.

Sounds good. I would make the maximum wait time longer though, something like 5 minutes, in case a lot of subgraphs hit problems that need retrying, so that we don't do too much work with the retries.

We ended up doing this in #1396.


All spans of a trace share sampling state

Initial stab at sharing span state. Part of #449.
Signed-off-by: Prithvi Raj<EMAIL_ADDRESS>
Which problem is this PR solving?

This allows sampling decisions to be updated

Short description of the changes

All spans for an individual trace share the sampling state

I used per-span sampling decisions to dynamically skip unimportant sub-spans (ie too short to be interesting).
After this change I have:

some spans are already sent to agent, therefore they are visible, but has no root span.
spans after "non-important" ones are not visible at all...

"Backward compatibility" is great, yeah...


Adjusted count values

Hi,
What does exactly "adjusted values" mean?
thank you in advance!

This corresponds to AC_Adj in the ExAC VCF, which only includes individuals with at least GQ (Genotype Quality) >= 20 and depth >= 10, described in the README on the FTP site: ftp://ftp.broadinstitute.org/pub/ExAC_release/release0.3/README.population_annotations


Can we add labels in both x / y axis?

For looking at the docs, is not clear to me I can add lables in both axes, all examples use at most only one, giving the feeling this feature is missing.
I would even recommend to having an example with "all the complementary info you can add".
Library looking good!

@tomyo Currently the framework doesn't supports labels on both axes.

Hoping this can be supported in the future. I just discovered this framework yesterday and I'm thrilled with how easy it is to implement, use, and manipulate, but I'd really love to have Y-axis labels on column c harts at some point. Every example in the docs made me go "ok but what about the Y-axis?

@eea76 I know, it should be simple to add Y-axis labels but I'm still debating how to implement this feature. Y-labels are in my roadmap.

@ramiy Slightly off-topic, but is your roadmap public? Don't worry, not looking to hold you to your own roadmap haha, just curious :)

The roadmap is public but not updated.

@tomyo @eea76 see https://chartscss.org/components/axes/#axis-title


Add character:  to font:

Character : w
Font : boomer

ensure that this does not happen. It should align with the bottom


Added feature, converting all hdtreplay in folder to hsreplay

I add a new features and a bash system
main.py -all [folder]  ( will convert all files in .hdtreplay in hsreplays files ( without spaces in the name ))
main.py -help ( display help )

forget to remove testing lines
if i == 100:
break

Please move this to a separate script.

how can i import the main.py code in a new script ?

You're not supposed to.


Feature/list

Note: I've added re #314 and re #315 which relate to the list but the style will probably have to be fixed in chlorophyll


 I'm looking for a more robust solution.
I have a social media type model with Posts that have a User (i.e. author). The JSON delivered by the server's /feed API contains a cut down version of the user.
/feed:
[
  {
    "content": "Eating dinner :-)",
    "author": {"id":"1", "username": "bob"}}
    …
  }
]

The full list of users is delivered by another API
/friends:
[
  {
    "id":"1",
    "username": "bob",
    "first_name": "Robert",
    "avatar": "http://example.com/avatar.gif"
    …

My User model contains:
  public var modelIdentifier: String? {
    return "User:\(id)"
  }

In order to prevent the cut-down version from overwriting the full version of the User, I am using the following hack in my User.init?(data):
authorData["id"] = "Author~\(authorData["id"] ?? "")"

Every time I add a child model that could come as a cut-down version I need to remember to add this hack. This hack causes problems when comparing user objects too, as an author no-longer has the same ID as a friend.
Has anyone encountered this issue and can point me towards a more robust solution?

Have you taken a look at projections? https://linkedin.github.io/RocketData/pages/095_projections.html
It allows you to have two different classes for each use case (think of a mini user and a full user). Rocket data will keep these consistent so if the username changes, it'll change in both models.

That sounds like just what I need. Thanks.


update to boilerplate v5

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@6491c9e). Click here to learn what that means.
The diff coverage is 88.23%.

@@            Coverage Diff            @@
##             master       #5   +/-   ##
=========================================
  Coverage          ?   87.93%
=========================================
  Files             ?        3
  Lines             ?       58
  Branches          ?        6
=========================================
  Hits              ?       51
  Misses            ?        7
  Partials          ?        0

Impacted Files
Coverage Δ

src/Marker.js
100% <100%> (ø)

src/Bookmark.js
92.85% <85.71%> (ø)

src/Timeline.js
84.61% <88.46%> (ø)

Continue to review full report at Codecov.

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


Provide go vet and gosec in Github action

Is your feature request related to a problem? Please describe.
Use go vet and gosec to ensure the code is following the best practice with security check

Per @marceloamaral https://pkg.go.dev/github.com/ossf/scorecard/v2#section-readme

/assign
@rootfs will do it.

https://github.com/sustainable-computing-io/kepler/blob/main/.golangci.yml#L49
please double check if go vet is covered in current golangci or not.

also https://github.com/sustainable-computing-io/kepler/blob/f7d6dbd2d3980dba10dd19b554631a32849ed104/Makefile#L207 test script.

https://github.com/sustainable-computing-io/kepler/blob/main/.golangci.yml#L49
please double check if go vet is covered in current golangci or not.

It is covered in the current .golangci-lint

@SamYuan1990 the reason behind addding govet ghaction is visibility. golangcilint has like this many message related to different linting violations or warnings
$ golangci-lint run --out-format json | jq '.Issues | length'
50

```So, while it's good to let it be there but differentiating outputs would be difficult for a beginner. So I think it would be a good idea to have dedicated govet action. Does it makes sense.

We should not have duplications. If we're moving it to a GitHub Action, we should remove it from the other tests.

we should not have duplications.
hence another two questions comes are

if we implement in golangci-lint why we have duplicate implementations?
if we implement in go vet, but as golangci-lint able to run/cover go vet... why we have different limitations ?

golangcilint covers many static scan rules of code, as a single command to cover everything which is great isn't it?
the beginner also can learn form other static scan/lint rules, which benefits for them right? @sbdtu5498

We should not have duplications. If we're moving it to a GitHub Action, we should remove it from the other tests.

we should not have duplications. hence another two questions comes are

if we implement in golangci-lint why we have duplicate implementations?
if we implement in go vet, but as golangci-lint able to run/cover go vet... why we have different limitations ?

golangcilint covers many static scan rules of code, as a single command to cover everything which is great isn't it? the beginner also can learn form other static scan/lint rules, which benefits for them right? @sbdtu5498

As you say that golangci-lint covers a lot of tests and that's a positive remark, but at the same time, it makes it a bit difficult for anyone to understand the lining results as it has lots of other forms of error. Any standard linting steps in my opinion should be implemented independently and we should use golangci-lint just to provide a unified way to run all the lints. Adding them in CI two times, doesn't makes much difference either. But the point being use of CI and its visibility should be loud and clear to all the stakeholders.


chore: bdd-spring-1590244836 to 0.0.1

chore: Promote bdd-spring-1590244836 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign
You can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Scrape timeouts for 15 minutes after Fortigate failover

I have experienced a scraping timeout that lasts around 15 minutes after Fortigate node failover. exporter logs shows the following errors for the whole duration
2023/05/12 00:02:27 Error: API connectivity test failed, Get "https://forti.net:8443/api/v2/monitor/system/status": context canceled
2023/05/12 00:02:27 Probe of "https://forti.net:8443" failed, took 29.901 seconds

It's probably related to how Fortigate handles session pickup, however I found that disabling http2 for exporter solves this issue. As a workaround one can set environment variable GODEBUG=http2client=0, however would be good to have support in exporter for this scenario.

Just to add more details about this issue.
It seems it related to how fortigate handles HTTPS session pickup. But by the look of it failure mode is a following:

Secondary unit picks up TCP session, but not HTTPS (our boxes have different TLS certs, so secondary box don't have certificate of the primary and vice versa), I don't really experimented much with certificates though, so might not be the root cause, nevertheless it feels like it's something TLS related.
This cause Fortigate to ignore all incoming packets from exporter
On the other hand, exporter is using http2 persistent connection, which lead to it trying to reuse http connection if this is available
Because Fortigate never reply with TCP RST, rather just ignoring packets, exporter keeps getting timeouts until http2 timeout expires
exporter initiates new http2 session, which now established using correct TLS cert and everything begins to work as expected.

Just to add more details about this issue. It seems it related to how fortigate handles HTTPS session pickup. But by the look of it failure mode is a following:

Secondary unit picks up TCP session, but not HTTPS (our boxes have different TLS certs, so secondary box don't have certificate of the primary and vice versa), I don't really experimented much with certificates though, so might not be the root cause, nevertheless it feels like it's something TLS related.
This cause Fortigate to ignore all incoming packets from exporter
On the other hand, exporter is using http2 persistent connection, which lead to it trying to reuse http connection if this is available
Because Fortigate never reply with TCP RST, rather just ignoring packets, exporter keeps getting timeouts until http2 timeout expires
exporter initiates new http2 session, which now established using correct TLS cert and everything begins to work as expected.

So by switching off http2 via that GODEBUG env variable we force exporter to establish new http session for every scrap, thus work around this issue.
Probably solution would be to add some control to disable http2 when scrapping HA endpoint in config file, so user can control it, especially combined with #208, so you still can use http2 for scrapping metrics from individual nodes, ond only disabling http2 for HA endpoints.

Did you set it in the systemd unit?
I've tried this and i still have a timeout of about 6-8 minutes. This is running 7.0.12

Did you set it in the systemd unit?, mine looks like this Environment="GODEBUG=http2client=0" I've tried this and i still have a timeout of about 6-8 minutes. This is running 7.0.12

Sorry, for the late answer. In my case I'm running it inside kubernetes, so no systemd, just pod with certain environment variables set:
          env:
            # Workaround issue https://github.com/bluecmd/fortigate_exporter/issues/220
            - name: "GODEBUG"
              value: "http2client=0"


pagechange event fires two times when user changes page

Link to PDF file (or attach file here):
Base file at https://mozilla.github.io/pdf.js/web/viewer.html
Configuration:

Web browser and its version: Chrome 50
Operating system and its version: Mac OSX 10.10.5
PDF.js version: 1.5.230
Is an extension: No

Steps to reproduce the problem:

Open devtools and add a breakpoint in viewer.js (currently line 2741):

eventBus.on('pagechange', function (e) {
  var event = document.createEvent('UIEvents'); // <-- Add breakpoint here
  event.initUIEvent('pagechange', true, true, window, 0);
  event.updateInProgress = e.updateInProgress;
  event.pageNumber = e.pageNumber;
  event.previousPageNumber = e.previousPageNumber;
  e.source.container.dispatchEvent(event);
});

Change page number using toolbar, say to page 2 of 14.
See that breakpoint is triggered twice

What is the expected behavior? (add screenshot)
'pagechange' event should be fired only once
What went wrong? (add screenshot)
'pagechange' event is fired twice, once from the setting of currentPageNumber, and another when the screen updates.
1st time: http://screencast.com/t/kdjojgK0cC
2nd time: http://screencast.com/t/9ssbszRNQ
Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):
https://mozilla.github.io/pdf.js/web/viewer.html

@tonyjin, looks like it's not a regression, right?

Agreed, looks like this has been happening for a while.

I think we can safely assume that people don't want previousPageNumber==pageNumber event. Can we break this behavior for everyone?

/cc @brendandahl

I think we can safely assume that people don't want previousPageNumber==pageNumber event. Can we break this behavior for everyone?

SGTM

PDF 32b8b4b630401348e21c91fb96935fb3 [1.7 secPdfProducer / Scan Assistant] (PDF.js: 2.0.950)
Use the viewer's page   Outside calls   PDFViewerApplication.page = 3
and  pagechange handler two times

iframe element src ： /generic/web/viewer.html?file='xxxx'#page=1#zoom=100
Call to order  PDFViewerApplication.page and  url params
I'm not going to call back twice when I remove the argument（#page） to the url
I look forward to your reply. Thank you


Onboarding Experts from other area of expertise

This is more of a way to keep track of the TODO than a proper issue, more detailed Analysis/discussion can be done "privately" with Docs and more detailed issues and TODOs will be added to the repo in the future
Currently the app is tailored to fit the "tracking needs" of Technology Google Experts.
The need to track activities is for other area of expertise too so why reinvent the wheel? :)
Some points of discussion about tracking activities for other areas of expertise are the following:

Do they need a Google + ID or we want to support other Auth methods? <- Yes, needed for the Cloud endpoints
New Activity Types (with associated tags) for each area of expertise and new Activity groups needs to be defined.
Are there "Products" for other area of expertise?

Changes to the current data structure are needed to support the features listed above.

@1: They do need to have a Google account or authentication with Google Cloud endpoints doesn't work to submit/edit data in the tracking app, it doesn't need to be a Google+ account, but Google account and Google+ account share an ID anyway.

That is my view
On 26 Jun 2015 00:49, "Gerwin Sturm"<EMAIL_ADDRESS>wrote:

@1 https://github.com/1: They do need to have a Google account or
authentication with Google Cloud endpoints doesn't work to submit/edit data
in the tracking app, it doesn't need to be a Google+ account, but Google
account and Google+ account share an ID anyway.
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleDeveloperExperts/gde-app-backend/issues/3#issuecomment-115368545
.

K understood about 1, edited

We need to refactor the backend to manage the following new tags, categories and activities
Tracking
All Experts should track using the general Experts tag (#experts), their Category, Product, and Activity. [example: #experts #marketing #branding #book]
(NEW) Tags for Experts (general)
Program: #experts
Categories: : #gde/ #marketing/ #ProductStrategy/ #UX/UI
Product:
Marketing: #branding #monetization #distribution #DataAnalysis
Product Strategy: #ProductStrategy
UX/UI: #uxdesign #MaterialDesign
(NEW) Additional product tags for gde
#brillo
#GCMiOS
#GCMtopics
#diagnostics (connected with #Android)
#appindexing (connected with #Android)
#deeplinking (connected with #Android)
#AndroidM
#analytics
(Changes) to existing tags
#gdeprogram: needs to be changed to #expertsprogram
Activity Type Tags
Let's consolidate the current activity tags to fall under the following larger 4 categories:
Content: #blogpost,#video,#article,#tutorial,#forumpost,
#techdocs,#book,#translation,#opensourcecode
Speaking: #techtalk
Testing: #bugreport
Pack Leader: #interview, #community
Mentoring: for mentoring activities and design sprints, they don't need to be reported. We receive and track those activities when Experts register for the event with the Regional Leads or through the global program. (we will update you if this will change in the future)

Making products available by category should be simple (just by adding a category property on the Product; ex. #android = gde, #branding = marketing), we'll still need a separate entity to include descriptions.
My doubt is how we want to manage the "connected with" tags:

enforce the "connect with", ex. if I forget the #android tag the activity is not picked up/ we mark it as incomplete
just the "child" tag is enough, ex. #diagnostics alone will mark the activity as #android and #diagnostics
Aggregate or keep them separated, (mostly on the reporting side of things, asked in the original doc); Ex. if I look at an #android chart/repo, should #diagnostics activities be included or not? should I be able to see a #diagnostics only chart/repo?

Answers from Natalie:
A. #UX/UI -> #ux_ui is cool
B. "connected with" -> Just the "child" tag is enough, the activities will be aggregated as Android in the reports, it's stated clearly in the description that those tags are #android activities only
I'll open an issue for B on the front End to keep track of the request to aggregate the tags for reporting only... maybe will need a displayAs tag on the PG object to handles this cases in a configurable manner.

So we would have a structure like this:

Category
Product
Area

#gde
#android
#diagnostics

#appindexing

#deeplinking

#AndroidM

...

#marketing
#branding

#monetization

#distribution

#DataAnalysis

#ProductStrategy
#ProductStrategy

#ux_ui
#uxdesign

#MaterialDesign

From the reporting side, wouldn't it make sense to offer the user the possibility to view reports on whatever of those levels they want to see. a big overview on "Category" level. a general product specific report, or going down in all detail into product areas?
To achieve this it might be useful to create the "Product group" entities like this:

Category
Product
Area

#gde
#android
#android

#gde
#android
#diagnostics

#gde
#android
#appindexing

#gde
#android
#deeplinking

#gde
#AndroidM
#AndroidM

#gde
#chrome
#chrome

#gde
#chrome
#polymer

#marketing
#branding
#branding

#marketing
#monetization
#monetization

#marketing
#distribution
#distribution

...
...
...

That way, defining the "area" in a post would be enough to uniquely assign it to a product and a category, e.g. just with the tags #experts #branding the rest would be clear.
One thing we have to be careful about (need to discuss this with Natalie/Ola) is that we don't run into the same "problem" with using #experts as we were with using #gde. But we might want to rethink our tracking approach for this and only pick-up posts that have a minimum requirement of #experts + category/product/area-tag

I think picking up posts with #experts + category + area can be safely the new minimum... if I'm making a post with #gde #experts #polymer ... even if I'm not making an activity... I probably should

As i work through this I am adding a couple of properties to the
ProductGroup entity for
'category' and 'product' while the tag represent #area.
We need to ensure that #area is unique across the PG's
I also pushed all the tags from the PG AT AG sheet
I have uploaded a test implementation on firefly which can be observed here
and am running some test and I think we can just harvest with the main tag
#experts / #gde (temp) and the area hash tag to pick up post.
Have a look and let me know what you guys think.
https://apis-explorer.appspot.com/apis-explorer/?base=https://4-dot-elite-firefly-737.appspot.com/_ah/api#p/expertstracking/v1.0b2/expertstracking.product_group.list
https://10-dot-gdetracking.appspot.com/#/
Pushed some code to my fork which can be seen here
https://github.com/patt0/gde-app-backend/commit/12608c43f5ee839d60823fb95ab9b52b8d7a4d14
Patrick Martinent
On 9 July 2015 at 02:29, Mauro Solcia<EMAIL_ADDRESS>wrote:

I think picking up posts with #experts + category + area can be safely the
new minimum... if I'm making a post with #gde #experts #polymer ... even if
I'm not making an activity... I probably should
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleDeveloperExperts/experts-app-backend/issues/3#issuecomment-119729182
.

I have run a complete update cycle for all the tasks, everything seems to be working, I am inclined to push the new tags and the harvesting code to the existing API so we can tell Ola and gang that they can start pushing new users to us and they can start using the app, reporting their activities. What you say @Scarygami @SmokyBob

Sounds good to me :+1:

Sorry for the late response.
The PR will match any PG as long as the post have #experts or #gde?
I think the PG should be considered correct, only if the PG.category matches the expert.Category
For now we can assume is always #gde because we have only this category of accounts.
Going to open an issue about updatint the Experts Masterlist to create accounts with other categories and validate the configured PGs by Category.

But wouldn't that limit the activities of e.g. Android GDEs who already now post amazing stuff about (material) design/ux without being a UX/Design-Expert by name? Those activities would (in my opinion) be interesting for the UX-reports as well. This is basically the same discussion we had in the beginning with GDEs having activities in other than their "assigned" PG, where the decision then was to track all activities across PGs.

I see tour point but in my understanding the category on pgs is to filter and see how many activities each expert group have... But I might be mistaken.. I'll ask as soon as I've finished lunch

I also think we should not exclude post that are across pg's rather we can
filter at the report level, and if a few experts cross pollinate, all the
better.
Patrick Martinent
On 13 July 2015 at 17:47, Mauro Solcia<EMAIL_ADDRESS>wrote:

I see tour point but in my understanding the category on pgs is to filter
and see how many activities each expert group have... But I might be
mistaken.. I'll ask as soon as I've finished lunch
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleDeveloperExperts/experts-app-backend/issues/3#issuecomment-120907533
.

Ok so an example post tagging could be
#gde #experts #monetization #android #admob
or
#marketing #experts #monetization #android #admob
and they'll both count in 2 categories and 3 PGs?
Mail to Nat coming in seconds with the same example
P.S. Sorry for being telegraphic

Sorry for writing only now, busy interviewing another possible Polymer Expert.
Just to keep track with what Nat said:

Activities PGs: track only the one from the same category as the Expert's
Activities are tracked as long as they have #experts, category tag is not required (#gde, #marketing, etc..)

Was starting to work on #13 but remembered that the update_gplus.py service checked the account.typeto be active (here).
We have to possibilities:

add a category field to the account object, and leave the type as is
use the type field to store the category and change the update job and other places where type is checked, and check it against 'deleted'

What are your thoughts on this?

... or we could infer the Category on the Expert from the first of its PGs, trusting we don't change the Category on the PGs...

I am happy to make it as simple as possible for you, its just a couple of line here and there in the update service checking for the account type.
For now I am going to accept active and all the category types, then when you give me an ok, I can remove the active type from the accept list.
I can't seem to see any 'admin' or 'administrator' type anymore.
If we are happy with ...
'gde'
'marketing'
'productstrategy'
'ux_ui'
Then I have pushed the following commit to the backend https://github.com/patt0/gde-app-backend/commit/53212d225dc6a1ab07bfe9f206472477ec64db0c

@patt0 Looks good to me.
I'll clean up the MasterList and WebApp code to us the account.type instead of infer the category from the account's PGs.

Today's updated on the tags after the discussing with Nat & Ola some issued on the creation of ux_ui Experts.
for UX please use the following # instead:
#UserResearch
#InteractionDesign
#VisualDesign
#MaterialDesign (which is kind of like App Indexing on Android)
I'll update the tags in the PG AT AG Masterlist and do all the pushes to the backend as soon as I get out of the office (or let me know if you do it before 7 PM CEST)

DONE
does this mean we remove the #uxdesign ?
Patrick Martinent
On 15 July 2015 at 18:49, Mauro Solcia<EMAIL_ADDRESS>wrote:

Today's updated on the tags after the discussing with Nat & Ola some
issued on the creation of ux_ui Experts.
for UX please use the following # instead:
#UserResearch
#InteractionDesign
#VisualDesign
#MaterialDesign (which is kind of like App Indexing on Android)
I'll update the tags in the PG AT AG Masterlist and do all the pushes to
the backend as soon as I get out of the office (or let me know if you do it
before 7 PM CEST)
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleDeveloperExperts/experts-app-backend/issues/3#issuecomment-121612524
.

Thx.
Yes uxdesign would have been the combination of InteractionDesign and VisualDesign but the "fear" is that if it was available everything was tracked under it.
these changed provide a more consistent mapping with the Area of expertise for ux_ui experts too.


Error clicking policy violation

As received in Gitter:
Hey guys, we are seeing an error when i believe we click on a policy violation where it looks like the compliance API is attempting to call into ES to get recommended actions but that index doesent exist, com.tmobile.pacman.api.commons.exception.ServiceException: java.lang.Exception: unable to execute post request to http://ESENDPOINT:80/recommended_actions/action/_count because Not Found, im assuming that this is just a feature that hasnt been open sourced yet? If so i can just comment out the call in our webapp so we dont see the error anymore but thought i would double check to make sure we didnt break anything

We need to remove the UI integration for this API until the feature is supported..

This is fixed


Crash report

Traceback (most recent call last):
  File "/usr/local/Cellar/mitmproxy/0.14.0/libexec/lib/python2.7/site-packages/libmproxy/proxy/server.py", line 120, in handle
    root_layer()
TypeError: 'NoneType' object is not callable

mitmproxy has crashed!
Please lodge a bug report at: https://github.com/mitmproxy/mitmproxy
----------------------------------------
Error in processing of request from <IP_ADDRESS>:50212
Traceback (most recent call last):
  File "/usr/local/Cellar/mitmproxy/0.14.0/libexec/vendor/lib/python2.7/site-packages/netlib/tcp.py", line 799, in connection_thread
    self.handle_client_connection(connection, client_address)
  File "/usr/local/Cellar/mitmproxy/0.14.0/libexec/lib/python2.7/site-packages/libmproxy/proxy/server.py", line 64, in handle_client_connection
    h.handle()
  File "/usr/local/Cellar/mitmproxy/0.14.0/libexec/lib/python2.7/site-packages/libmproxy/proxy/server.py", line 151, in handle
    self.channel.tell("clientdisconnect", root_layer)
  File "/usr/local/Cellar/mitmproxy/0.14.0/libexec/lib/python2.7/site-packages/libmproxy/controller.py", line 65, in tell
    m.reply = DummyReply()
AttributeError: 'NoneType' object has no attribute 'reply'

----------------------------------------
Traceback (most recent call last):
  File "/usr/local/Cellar/mitmproxy/0.14.0/libexec/lib/python2.7/site-packages/libmproxy/proxy/server.py", line 120, in handle
    root_layer()
TypeError: 'NoneType' object is not callable

mitmproxy has crashed!
Please lodge a bug report at: https://github.com/mitmproxy/mitmproxy
----------------------------------------
Error in processing of request from <IP_ADDRESS>:50210
Traceback (most recent call last):
  File "/usr/local/Cellar/mitmproxy/0.14.0/libexec/vendor/lib/python2.7/site-packages/netlib/tcp.py", line 799, in connection_thread
    self.handle_client_connection(connection, client_address)
  File "/usr/local/Cellar/mitmproxy/0.14.0/libexec/lib/python2.7/site-packages/libmproxy/proxy/server.py", line 64, in handle_client_connection
    h.handle()
  File "/usr/local/Cellar/mitmproxy/0.14.0/libexec/lib/python2.7/site-packages/libmproxy/proxy/server.py", line 151, in handle
    self.channel.tell("clientdisconnect", root_layer)
  File "/usr/local/Cellar/mitmproxy/0.14.0/libexec/lib/python2.7/site-packages/libmproxy/controller.py", line 65, in tell
    m.reply = DummyReply()
AttributeError: 'NoneType' object has no attribute 'reply'

----------------------------------------

Could you please update to mitmproxy 0.15 and check if that fixes things?

::ffff:<IP_ADDRESS>


[Performance] How does it scale as more/bigger notes are created?

I see the app saves all notes in a single file in the repository (so far): takenote-data/notes.json
I'm sure it works fine for the first months or so but some of you probably used it for a few years with a few thousand notes.
I wonder if notes.json becomes one or two hundred MB every sync request might struggle.

Is there a system in place to automatically split it up or archive old notes?
As a user, should I care of not copy-paste big chunks of text into notes?

I just noticed there is a limit of 1 MB for API requests like this: https://github.com/taniarascia/takenote/blob/master/src/server/handlers/sync.ts#L88-L91

This API returns blobs up to 1 MB in size. The requested blob is too large to fetch via the API, but you can use the Git Data API to request blobs up to 100 MB in size.

Incorrect. I'm using the Git data API which can receive blobs up to 100MB.

The code is making the commit through the Git Data API (here) but when reading it's using the Repositories API as you can see in the link I sent before. Probably for performance, I guess, since the Data API requires you to get the SHA of the file first.
Not sure what you mean, then. Are you using a different codebase?


403 Forbidden

I install package and run install command, then without any change in config I point browser to /docs but I get 403 Forbidden
I double check that auth middleware is disabled. Checking route:list command, I can see "docs" route.

Not sure where was the problem, maybe cache. All other pages worked fine, only /docs not worked.
It start work day after I checked..
Thanks

Same here !
@kamov did you find a solution for this please ?


Problem with item dropdowns

Summary
When you click add an item, then click on the item you want very quickly,  sometimes it reverts to the first item on the list.
Why fix
Bank frustration
Details
You can reproduce this on a new distribution, or anywhere else that has the "add an item" functionality.
It appears that if you click too soon (before the list is fully loaded?) the selection is not preserved.
On a local, if you have a fairly fast machine, you have to be really quick to reproduce this, but it is happening frequently "in the wild".
Criteria for completion

[ ] fix the problem
[ ] demonstrate to yourself, at least, that you have fixed it (We'll be manually testing ourselves before merging.)

@cielf could you please add the screenshots or screen recording of how to reflect this. I see this doesn't happen a lot, Could you please atleast share a recording how I need to try to reflect this error.

Easy way to reproduce this is using DevTools network throttling @Naraveni @cielf

Go to new distributions page
Pick a storage location
Set network throttling to Slow 3g under Performance tab (help article)
Click "Add new item", then click on "choose an item". Wait a second, it will load in and automatically select the first item. If you select anything in the dropdown after this automatic selection the selection will be discarded. (If you select before the automatic selection it works fine).

Recording here:
screen-capture.webm

Your point 4 seems a bit off to me -- because in real life if I wait a second or to before selecting, it's fine.  Looking at your screen capture - is it possible that having opened the dropdown before the auto select is the factor?

@cielf yes you have to open the dropdown before the auto select, edited my comment to clarify


Implement gettimeofday system call for Windows platform

#5 implements this for Unix-like platform.
Make implementation for Windows.

@mximp let's do this after #14


[es] Add Glossary feature gate

HI @ManriqueGarcia ! Please sign the CLA.

You need to add<EMAIL_ADDRESS>to GitHub Setting > Email and sign the CLA agreement.
Please let us know if there are any issue.

Where did this translation come from?
I don't see content/en/docs/reference/glossary/feature-gate.md file in English.
And in your full_link metadata, the cli-ref/feature-gates is totally different with this.
/hold /retitle [es] Add Glossary feature gate

I saw the _index.md file has an extra toc-hide: true line which maybe is affecting the rendering. @ManriqueGarcia can you remove that extra line.

toc-hide: true

I only see one line with toc-hide:true in the file should the whole line be removed?

/retitle [es] Add Glossary entry for feature gate
/hold
This is not localizing an existing English file, and for that reason we should not merge it.

/retitle [es] Add Glossary entry for feature gate
/hold This is not localizing an existing English file, and for that reason we should not merge it.

so, do I create the entry also in English?

Hey @ManriqueGarcia,
Thanks for purposing this PR, but our policy doesn't want pages diverged in each language.
If you think this page is good (and so do I), please open a new PR to add this page in English first.
This intention is really good, but I'm afraid that I have to close this.
/close


Bug: in dark mode footer not stay at bottom

What happened?
on time of scroll footer goes upward direction in some sections like podcast, devrel, etc
Add screenshots

What browsers are you seeing the problem on?
No response
Record

[X] I have checked the existing issues
[ ] I want to work on this issue

can i work on this issue?

@manavjain2002
the same issue happended in light mode as well.
can I work on this issue?


Avoid using cwd to find setup.cfg to get version

forwarder_launch.py --version should work when executed from any directory.

Codecov Report

Merging #54 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #54   +/-   ##
=======================================
  Coverage   93.65%   93.65%
=======================================
  Files          11       11
  Lines         410      410
  Branches       54       54
=======================================
  Hits          384      384
  Misses         20       20
  Partials        6        6


Implements Number.toFixed() as a helper

Is your feature request related to a problem? Please describe.
There is currently no way to define the number of digits after the decimal point.
Describe the solution you'd like
Implements Number.toFixed() as a helper
An example: https://github.com/helpers/handlebars-helpers/blob/master/lib/number.js#L153

Thanks for this guys, makes a huge difference for mocking E-commerce using templating calculations


The fetch, fetch_many commands never return server errors

The fetch, fetch_many commands never return server errors. the AsciiMultiLineParser parser simply calls cancelled error.

For example, when sending a valid get command, the memcached server with SASL authentication returns a Client ERROR... However, our get command will not be able to get this error because AsciiMultiLineParser is trying to get valid data right away. As a result, there is simply a cancelled error

We can close this issue. Problem resolve


Opening a folder in vscode.dev with a domain (i.e. *.com) as its name through Remote Tunnels returns a “blocked” page

Type: Bug

Open https://vscode.dev
Connect to a Remote Tunnel
Attempt to open a folder like /home/demo/sime.demo.com
Observe the page being blocked
Manually change the page URL to add a trailing slash
Observe the page loading successfully

VS Code version: Code 1.95.3 (f1a4fb101478ce6ec82fe9627c43efbf9e98c813, 2024-11-13T20:05:02.650Z)
OS version:
Modes:
System Info: Mozilla/5.0 (iPad; CPU OS 18_1_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.1.1 Mobile/15E148 Safari/604.1Extensions: none

Easily reproducible with a path like https://vscode.dev/tunnels/foo/home/demo/sime.demo.com


Update theo to the latest stable version

Breaking change
Lodash's implementation of kebabCase was dropped because it separated numbers as words:

Lodash: A1 -> a-1
Theo: A1 -> a1

@jandolina @erlswtshrt you may encounter issues with this update (see breaking change above). This is not a mandatory upgrade if you think it may break some things on your end.
For Summer ’17 however, please upgrade to Theo v5


RealSense D435i - unusable depth frames after using the device outside

Required Info

Camera Model
{D435i}

Firmware Version
<IP_ADDRESS>

Operating System & Version
Ubuntu 18

Kernel Version (Linux Only)
4.18.0-25-generic

Platform
PC

SDK Version
2, RealSense Viewer

Language
C++ / RealSense Viewer

Segment
Depth

Following a firmware update to version <IP_ADDRESS>, I am experiencing severe issues with the depth frames after using the device outdoors.
To reproduce, I use the device either through my own code, or through the RealSense viewer. I go outside, and then I go back inside. After this process, every depth frame returns has almost no density until the pipeline is restarted. The images below show before and after going outside.
I am using the default auto-exposure settings in the RealSense viewer. In code, I am not altering the device configuration at all after opening the pipeline.
It may be related to the emitter, as after going outside and coming back inside I can no longer see IR being emitted if I look at the detector.

There have been a couple of past cases I know of where the depth has been badly affected by light when outdoors (e.g freezing or becoming very sparse) and a reset of the pipeline corrected the problem.
https://support.intelrealsense.com/hc/en-us/community/posts/360033445713-D435-Sunlight-saturation-problem
Some advice by a member of Intel's RealSense team (agrunnet) is given here:
https://github.com/IntelRealSense/librealsense/issues/2875#issuecomment-446788177
https://github.com/IntelRealSense/librealsense/issues/4022
Also, a new firmware, <IP_ADDRESS>,  was released a couple of weeks ago and is now the current recommended firmware on the SDK Releases download page, so updating to that firmware may be worth a try.

Thank you Marty, I agree that it appears to be the same issue as #4022. I only checked the new production build; I haven't had a look at the most recent dev build. I will do this and update.

The later firmware version resolved the issue.


trust and device group not completing

primary device declaration:
{
    "async": true,
    "schemaVersion": "1.0.0",
    "label": "Cloudinit Onboarding",
    "class": "Device",
    "Common": {
        "poolLicense": {
            "licensePool": "BIGIPVEREGKEYS",
            "licenseType": "licensePool",
            "bigIqHost": "<IP_ADDRESS>",
            "bigIqUsername": "admin",
            "bigIpPassword": "f5c0nfig",
            "bigIpUsername": "admin",
            "bigIqPassword": "admin",
            "reachable": true,
            "class": "License"
        },
        "ntpServers": {
            "class": "NTP",
            "servers": [
                "0.pool.ntp.org",
                "1.pool.ntp.org",
                "2.pool.ntp.org"
            ]
        },
        "HA-self": {
            "trafficGroup": "traffic-group-local-only",
            "vlan": "HA",
            "allowService": "all",
            "class": "SelfIp",
            "address": "<IP_ADDRESS>/24"
        },
        "HA": {
            "interfaces": [
                {
                    "tagged": false,
                    "name": 1.1
                }
            ],
            "class": "VLAN",
            "mtu": 1450
        },
        "configsync": {
            "configsyncIp": "/Common/HA-self/address",
            "class": "ConfigSync"
        },
        "activeStandbyGroup": {
            "saveOnAutoSync": false,
            "autoSync": true,
            "fullLoadOnSync": false,
            "members": [
                "primary-waf-instance.local",
                "secondary-waf-instance.local"
            ],
            "asmSync": false,
            "type": "sync-failover",
            "class": "DeviceGroup"
        },
        "hostname": "primary-waf-instance.local",
        "dnsServers": {
            "nameServers": [
                "<IP_ADDRESS>"
            ],
            "search": [
                "example.openstack.com"
            ],
            "class": "DNS"
        },
        "provisioningLevels": {
            "ltm": "nominal",
            "class": "Provision",
            "asm": "nominal"
        },
        "default": {
            "gw": "<IP_ADDRESS>",
            "class": "Route",
            "network": "default",
            "mtu": 1450
        },
        "dbvars": {
            "ui.advisory.enabled": true,
            "ui.advisory.text": "This device is under centralized management.",
            "class": "DbVariables",
            "ui.advisory.color": "orange"
        },
        "internal": {
            "interfaces": [
                {
                    "tagged": false,
                    "name": 1.2
                }
            ],
            "class": "VLAN",
            "mtu": 1450
        },
        "external": {
            "interfaces": [
                {
                    "tagged": false,
                    "name": 1.3
                }
            ],
            "class": "VLAN",
            "mtu": 1450
        },
        "failoverAddress": {
            "class": "FailoverUnicast",
            "address": "/Common/HA-self/address"
        },
        "trust": {
            "localUsername": "admin",
            "remoteHost": "<IP_ADDRESS>",
            "localPassword": "f5c0nfig",
            "remotePassword": "f5c0nfig",
            "remoteUsername": "admin",
            "class": "DeviceTrust"
        },
        "internal-self": {
            "trafficGroup": "traffic-group-local-only",
            "vlan": "internal",
            "allowService": "default",
            "class": "SelfIp",
            "address": "<IP_ADDRESS>/24"
        },
        "class": "Tenant",
        "external-self": {
            "trafficGroup": "traffic-group-local-only",
            "vlan": "external",
            "allowService": "none",
            "class": "SelfIp",
            "address": "<IP_ADDRESS>/24"
        }
    }
}

secondary device declaration:
{
    "async": true,
    "schemaVersion": "1.0.0",
    "label": "Cloudinit Onboarding",
    "class": "Device",
    "Common": {
        "poolLicense": {
            "licensePool": "BIGIPVEREGKEYS",
            "licenseType": "licensePool",
            "bigIqHost": "<IP_ADDRESS>",
            "bigIqUsername": "admin",
            "bigIpPassword": "f5c0nfig",
            "bigIpUsername": "admin",
            "bigIqPassword": "admin",
            "reachable": true,
            "class": "License"
        },
        "ntpServers": {
            "class": "NTP",
            "servers": [
                "0.pool.ntp.org",
                "1.pool.ntp.org",
                "2.pool.ntp.org"
            ]
        },
        "HA-self": {
            "trafficGroup": "traffic-group-local-only",
            "vlan": "HA",
            "allowService": "all",
            "class": "SelfIp",
            "address": "<IP_ADDRESS>/24"
        },
        "HA": {
            "interfaces": [
                {
                    "tagged": false,
                    "name": 1.1
                }
            ],
            "class": "VLAN",
            "mtu": 1450
        },
        "configsync": {
            "configsyncIp": "/Common/HA-self/address",
            "class": "ConfigSync"
        },
        "activeStandbyGroup": {
            "saveOnAutoSync": false,
            "autoSync": true,
            "fullLoadOnSync": false,
            "members": [
                "primary-waf-instance.local",
                "secondary-waf-instance.local"
            ],
            "asmSync": false,
            "type": "sync-failover",
            "class": "DeviceGroup"
        },
        "hostname": "secondary-waf-instance.local",
        "dnsServers": {
            "nameServers": [
                "<IP_ADDRESS>"
            ],
            "search": [
                "example.openstack.com"
            ],
            "class": "DNS"
        },
        "provisioningLevels": {
            "ltm": "nominal",
            "class": "Provision",
            "asm": "nominal"
        },
        "default": {
            "gw": "<IP_ADDRESS>",
            "class": "Route",
            "network": "default",
            "mtu": 1450
        },
        "dbvars": {
            "ui.advisory.enabled": true,
            "ui.advisory.text": "This device is under centralized management.",
            "class": "DbVariables",
            "ui.advisory.color": "orange"
        },
        "internal": {
            "interfaces": [
                {
                    "tagged": false,
                    "name": 1.2
                }
            ],
            "class": "VLAN",
            "mtu": 1450
        },
        "external": {
            "interfaces": [
                {
                    "tagged": false,
                    "name": 1.3
                }
            ],
            "class": "VLAN",
            "mtu": 1450
        },
        "failoverAddress": {
            "class": "FailoverUnicast",
            "address": "/Common/HA-self/address"
        },
        "trust": {
            "localUsername": "admin",
            "remoteHost": "<IP_ADDRESS>",
            "localPassword": "f5c0nfig",
            "remotePassword": "f5c0nfig",
            "remoteUsername": "admin",
            "class": "DeviceTrust"
        },
        "internal-self": {
            "trafficGroup": "traffic-group-local-only",
            "vlan": "internal",
            "allowService": "default",
            "class": "SelfIp",
            "address": "<IP_ADDRESS>/24"
        },
        "class": "Tenant",
        "external-self": {
            "trafficGroup": "traffic-group-local-only",
            "vlan": "external",
            "allowService": "none",
            "class": "SelfIp",
            "address": "<IP_ADDRESS>/24"
        }
    }
}

Dies with partial roll back.. both devices are named bigip1 after rollback.
Things to note:

the hostnames supplied are not resolvable via DNS
the hostnames are not what is set via DHCPv4 for management
both devices accept the declaration (passes schema validation)
both devices license
the remote host is the mgmt IP of the secondary (reachable from all addresses)
all interface selfip are reachable

primary device responses after partial rollback
{"code":500,"message":"java.net.ProtocolException: status:500, body:{\"id\":\"70851f2e-eb60-4df6-a8d7-720319f811f2\",\"selfLink\":\"https://localhost/mgmt/shared/declarative-onboarding/task/70851f2e-eb60-4df6-a8d7-720319f811f2\",\"code\":500,\"status\":\"ERROR\",\"message\":\"rollback failed\",\"errors\":[\"URI path /mgmt/shared/identified-devices/config/device-info not registered.  Please verify URI is supported and wait for /available suffix to be responsive.\",\"01071413:3: Cannot delete IP (<IP_ADDRESS>) because it is used by a system unicast address.\"],\"result\":{\"class\":\"Result\",\"code\":500,\"status\":\"ERROR\",\"message\":\"rollback failed\",\"errors\":[\"URI path /mgmt/shared/identified-devices/config/device-info not registered.  Please verify URI is supported and wait for /available suffix to be responsive.\",\"01071413:3: Cannot delete IP (<IP_ADDRESS>) because it is used by a system unicast address.\"]},\"declaration\":{\"async\":true,\"schemaVersion\":\"1.0.0\",\"label\":\"Cloudinit Onboarding\",\"class\":\"Device\",\"Common\":{\"poolLicense\":{\"licensePool\":\"BIGIPVEREGKEYS\",\"licenseType\":\"licensePool\",\"bigIqHost\":\"<IP_ADDRESS>\",\"bigIqUsername\":\"admin\",\"bigIpUsername\":\"admin\",\"reachable\":true,\"class\":\"License\",\"unitOfMeasure\":\"monthly\",\"overwrite\":false},\"ntpServers\":{\"class\":\"NTP\",\"servers\":[\"0.pool.ntp.org\",\"1.pool.ntp.org\",\"2.pool.ntp.org\"]},\"HA-self\":{\"trafficGroup\":\"traffic-group-local-only\",\"vlan\":\"HA\",\"allowService\":\"all\",\"class\":\"SelfIp\",\"address\":\"<IP_ADDRESS>/24\"},\"HA\":{\"interfaces\":[{\"tagged\":false,\"name\":\"1.1\"}],\"class\":\"VLAN\",\"mtu\":1450},\"configsync\":{\"configsyncIp\":\"/Common/HA-self/address\",\"class\":\"ConfigSync\"},\"activeStandbyGroup\":{\"saveOnAutoSync\":false,\"autoSync\":true,\"fullLoadOnSync\":false,\"members\":[\"primary-waf-instance.local\",\"secondary-waf-instance.local\"],\"asmSync\":false,\"type\":\"sync-failover\",\"class\":\"DeviceGroup\",\"networkFailover\":false},\"hostname\":\"prim

secondary device response after partial rollback
{"code":500,"message":"java.net.ProtocolException: status:500, body:{\"id\":\"96779d00-43f6-4b89-bd8c-8130aec61f18\",\"selfLink\":\"https://localhost/mgmt/shared/declarative-onboarding/task/96779d00-43f6-4b89-bd8c-8130aec61f18\",\"code\":500,\"status\":\"ERROR\",\"message\":\"rollback failed\",\"errors\":[\"tryUntil: max tries reached: Device group activeStandbyGroup does not exist on this device.\",\"01071413:3: Cannot delete IP (<IP_ADDRESS>) because it is used by a system unicast address.\"],\"result\":{\"class\":\"Result\",\"code\":500,\"status\":\"ERROR\",\"message\":\"rollback failed\",\"errors\":[\"tryUntil: max tries reached: Device group activeStandbyGroup does not exist on this device.\",\"01071413:3: Cannot delete IP (<IP_ADDRESS>) because it is used by a system unicast address.\"]},\"declaration\":{\"async\":true,\"schemaVersion\":\"1.0.0\",\"label\":\"Cloudinit Onboarding\",\"class\":\"Device\",\"Common\":{\"poolLicense\":{\"licensePool\":\"BIGIPVEREGKEYS\",\"licenseType\":\"licensePool\",\"bigIqHost\":\"<IP_ADDRESS>\",\"bigIqUsername\":\"admin\",\"bigIpUsername\":\"admin\",\"reachable\":true,\"class\":\"License\",\"unitOfMeasure\":\"monthly\",\"overwrite\":false},\"ntpServers\":{\"class\":\"NTP\",\"servers\":[\"0.pool.ntp.org\",\"1.pool.ntp.org\",\"2.pool.ntp.org\"]},\"HA-self\":{\"trafficGroup\":\"traffic-group-local-only\",\"vlan\":\"HA\",\"allowService\":\"all\",\"class\":\"SelfIp\",\"address\":\"<IP_ADDRESS>/24\"},\"HA\":{\"interfaces\":[{\"tagged\":false,\"name\":\"1.1\"}],\"class\":\"VLAN\",\"mtu\":1450},\"configsync\":{\"configsyncIp\":\"/Common/HA-self/address\",\"class\":\"ConfigSync\"},\"activeStandbyGroup\":{\"saveOnAutoSync\":false,\"autoSync\":true,\"fullLoadOnSync\":false,\"members\":[\"primary-waf-instance.local\",\"secondary-waf-instance.local\"],\"asmSync\":false,\"type\":\"sync-failover\",\"class\":\"DeviceGroup\",\"networkFailover\":false},\"hostname\":\"secondary-waf-instance.local\",\"dnsServers\":{\"nameServers\":[\"<IP_ADDRESS>\"],\"search\":[\"example.openstack.com\"],\"class\":\"DNS\"}

Full logs: active-stanby-pair-artifacts.tar.gz

AT-345 opened for internal tracking

I've tried setting hostnames and using the hostnames in the DeviceGroup class.. and then secondary's mgmt IP in the DeviceTrust.  Same results.
I've tried using all mgmt IPs in both DeviceGroup and DeviceTrust. Same results.
On rollback the device names are both bigip1. Just appreciate that you can not 'require' the API user to know the difference between a hostname, a device name, and an IP address. (Hint: in my use case, the hostname provided by DHCPv4 is dynamically generated and is not known when the declaration is built - before the VE is booted. The device name is never known..or exposed by DO management... nor should I care about it.. do discovery!)
We seem to be exposing too much of how TMOS works to the API user. We have two use cases:

Failover cluster members
Configuration sync cluster members

As long as the devices can be discovered (meaning the API user provide any address iControl REST listeners can be reach on and credentials) why are we exposing trusts at all?
Look how this does a declarative API for a device group (the trust is completely hidden.. as it should be)
https://github.com/jgruber/TrustedDevices
The write only attributes of targetUsername and targetPassphrase in combination withe read-write attributes targetHost, targetPort gives us everything we need to discover all the rest necessary to provide for both use cases above.

can replicate with aws 1az units:
{"code":500,"message":"java.net.ProtocolException: status:500, body:{\"id\":\"ddf028af-1be4-4e09-a032-0ea37260bca4\",\"selfLink\":\"https://localhost/mgmt/shared/declarative-onboarding/task/ddf028af-1be4-4e09-a032-0ea37260bca4\",\"code\":500,\"status\":\"ROLLING_BACK\",\"message\":\"invalid config - rolling back\",\"errors\":[\"tryUntil: max tries reached: Device group single-nic-failover does not exist on this device.\"],\"result\":{\"class\":\"Result\",\"code\":500,\"status\":\"ROLLING_BACK\",\"message\":\"invalid config - rolling back\",\"errors\":[\"tryUntil: max tries reached: Device group single-nic-failover does not exist on this device.\"]},\"declaration\":{\"$schema\":\"https://raw.githubusercontent.com/F5Networks/f5-declarative-onboarding/master/schema/base.schema.json\",\"schemaVersion\":\"1.3.0\",\"class\":\"Device\",\"async\":true,\"label\":\"Onboard BIG-IP into an HA Pair\",\"Common\":{\"class\":\"Tenant\",\"hostname\":\"ip-10-0-1-242.us-west-2.compute.internal\",\"myLicense\":{\"class\":\"License\",\"licenseType\":\"regKey\",\"regKey\":\"PJSKH-ZZUFS-TJMGF-WLJJE-IUSLMIX\",\"unitOfMeasure\":\"monthly\",\"overwrite\":false},\"myDns\":{\"class\":\"DNS\",\"nameServers\":[\"<IP_ADDRESS>\"],\"search\":[\"us-west-2.compute.internal\"]},\"myNtp\":{\"class\":\"NTP\",\"servers\":[\"0.pool.ntp.org\",\"1.pool.ntp.org\",\"2.pool.ntp.org\"],\"timezone\":\"UTC\"},\"admin\":{\"class\":\"User\",\"userType\":\"regular\",\"shell\":\"bash\"},\"myProvisioning\":{\"class\":\"Provision\",\"ltm\":\"nominal\",\"asm\":\"nominal\"},\"internal\":{\"class\":\"VLAN\",\"tag\":4093,\"mtu\":1500,\"interfaces\":[{\"name\":\"1.0\",\"tagged\":false}]},\"internal-selfip\":{\"class\":\"SelfIp\",\"address\":\"<IP_ADDRESS>/24\",\"vlan\":\"internal\",\"allowService\":\"default\",\"trafficGroup\":\"traffic-group-local-only\"},\"default\":{\"class\":\"Route\",\"gw\":\"<IP_ADDRESS>\",\"network\":\"default\",\"mtu\":1500},\"configsync\":{\"class\":\"ConfigSync\",\"configsyncIp\":\"/Common/internal-selfip/address\"},\"failoverAddress\":{\"class\":\"Failo

This specific example was found to be missing the "owner" parameter within "DeviceGroup" class.

interesting i dont have an owner either, but i havent needed that in 1.3, is this new?

UH? why close?

Original issue was found to be working after "owner" was added. In attempt to keep issues isolated, please open a separate issue with info around additional failures.


When will the code be open-sourced?

This is a great project. When will the code be open-sourced?

Thanks. The repo has been open-sourced, please refer to: https://github.com/miaTian99/PO-SLAM. While the latest paper is under reviewing, you are available to the IEEE techXiv version for more details : )


Update canyon-steep.json

aesthetic improvement
before it looked too steep

I took a look at this change and I like it. This still makes it looks unique but doesn't make it look like a literal cliff, but more like a well-carved-out river.


fix(sql-lab): Allow User Impersonation in SQL Lab

SUMMARY

Previously, when users execute an ad-hoc query through the SQL lab interface,
their username was not provided, and the current_user global was not available.
This resulted in the error described in #20455

This patch provides the DB_CONNECTION_MUTATOR override the user executing the
ad-hoc query so that their credentials can be properly looked up.

TESTING INSTRUCTIONS
Implement DB_CONNECTION_MUTATOR method to enable user impersonation when executing ad-hoc queries. Then, issue a query from the SQL-Lab page.
ADDITIONAL INFORMATION

[ x ] Has associated issue:
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

I mistakenly made this against master, while it should be a fix onto 1.5.1


fix(compiler-core): When using v-for and v-bind in a template, if v-bind has no expression, an error should be thrown

close #11322

What about v-if?

What about v-if? v-if 怎么样？

The key of v-if is set internally. If the user manually sets the key, it will not take effect.

Thanks for the explanation, perhaps we'd add a warning or improve the document


DeepDiff integration with historical shipment

This PR addresses the maintainability of HistoricalShipment changes diff computation with the use of the DeepDiff library.

I was hoping this change would reduce complexity/improve maintainability - it looks like it has the opposite effect, and you mentioned a big performance hit. I think it's probably not worth merging this. Thank you for the POC!


Define _jsonpickle_exclude to omit attributes from encoding

Initial PR to talk about concept.

The test failures are from Ruff, from a previous commit having an unused variable. I'll make a PR to fix that now.

@dwagon If you could rebase this on the main branch which'll fix the tests, and if @davvid approves this, then I think this'll be ready to merge!

I implemented the sugs, and rebased everything down alongside a new commit to add the changelog entry. Once @Theelx approves this seems good to merge for me.

Oops sorry, I see now I forgot to review this. Either way though, it looks good to me, thanks for merging davvid and thanks for the PR dwagon!


Explore usage of xarray.Coordinates

I remember that when writing some pieces of our code, I would have welcome xarray.Coordinates object. Now that it is available, we should explore whether it could simplify some bits of our code.

xarray.Coordinates is mostly useful as an intermediate object to pass to a Dataset or DataArray (either via their __init__ or assign_coords method), for example if one wants Xarray 1-d dimension coordinates with no default index or coordinates created from an existing (non-Xarray) index object (like Coordinates.from_pandas_multiindex).
Here I'm not sure if building indexed coordinates from an existing shapely.STRtree object would be a common case? We also have Dataset.xvec.set_geom_indexes that replaces existing indexes, if any.


How does changedetection.io work? Is it like Distill in firefox ?

Is it as easy as Distill too ?

no, you run it (read the "README") or we host it for you as a website that you log into


Add perfect eq preset to default presets

Here's the link to the EQ setting.
I hope you include it in the next version of your app 😄
https://www.ziyadnazem.com/post/956431457/the-perfect-eq-settings-unmasking-the-eq

https://github.com/nodeful/eqMac2/issues/164

Hey everyone. Excuse me for the lack of updates. I have been really busy on the new version of eqMac. I am happy to announce an open beta release.
You can download it here: https://eqmac.app
There are a lot of known bugs that I could not fix just yet:

Driver not installing from the first try. Sometimes need to restart eqMac a couple times.
Complex Device switching logic is not perfect (for example when switching off the device that's currently playing, plugging in new device etc.)
UI takes long to load (a lot can be done to improve that)
UI dimensions are not synching properly
There's a noticeable audio delay in the playback, so not suitable for video yet (I know where the problem lies just haven't had the time to fix yet)
Sometimes the playback doesn't start, in that case please try to switch the output to the device you want and eqMac should try and build the audio pipeline again.

So as you can see there's still some work to be done but at least it's a completely modern tech stack that I am fully willing to work on: 100% Swift, User Space driver and a Web UI, instead of C++, Kernel Drivers. As I said, should work on Catalina and should not have any pesky ear drum blasting volume bugs (at least I didn't come across any).
I'm open to feedback and issue reports here: https://github.com/bitgapp/eqmac
That repo will become the main repo for eqMac and this repo will be archived eventually.
And yes it's called just eqMac, not eqMac3 :) And it will stay that way forever.

Hey everyone 👋
I will be open sourcing the new version of eqMac, therefore, I am closing this issue and repository as I will be transfering nodeful/eqMac2 repo to bitgapp/eqMac
Please bear with me for the next couple of days as I setup that new repo. The eqMac2 code will be living in the old-eqMac2 branch if anyone is interested in referencing it for whatever reason.
Please try out the new version and report bugs to the new repo.
Thanks for using eqMac.


How to increase time expires_in

Hi @lchhieu, you cannot increase the default expiration time. This is enforced for security reasons. However, using gapi.auth2, you don't have to worry about that as the library will automatically refresh tokens. Closing this issue, works as intended.


⚠ Slack has degraded performance

In bbc6063, Slack (https://status.slack.com/api/v2.0.0/current) experienced degraded performance:

HTTP code: 200
Response time: 47 ms

Resolved: Slack performance has improved in 242bf98 after 2 hours.


Value in CKEditor does not update when the value of the same attribute in a textArea is changed

Open testproject
Click DataView - Editable
Edit color code to "Test"

Result:
Value of CK Editor does not update
Expect result:
Value of CK Editor updates to "Test"

By design


[1.0.x] Version-insensitive type activation on .NET Framework

Consider backporting the fix for https://github.com/aspnet/DataProtection/issues/187 to 1.x. The fix was added to 2.0.0 in this PR: https://github.com/aspnet/DataProtection/pull/223
cc @Eilon

This issue impacts the ability of 2.0 and 1.1 apps to share auth cookies. https://github.com/aspnet/Release/issues/181

Changed this bug to be 1.0.x-specific, and logged https://github.com/aspnet/DataProtection/issues/265 to be 1.1.x-specific. That way we make sure to fix it everywhere (if we take this fix).
For future reference: please don't set any labels, the triage team will do that.

This patch is approved for 1.0.x. Please follow the patch creation instructions that were sent by email, and submit a PR to the correct branch.

@natemcmaster all yours.

Resolved in https://github.com/aspnet/DataProtection/pull/268. This fix will be in the 1.0.4 patch update of DataProtection (when that is released).


No fight detected. Gamestate not updated.

No fight detected. Gamestate not updated.

HELP!? How do u fix this?

I think you need to change the 'player_data_pointer_offset' variable in MemoryAddressEnum.py, you can find this with the help of Cheat Engine.
Just look l127 in the TekkenGameState.py
player_data_base_address = self.GetValueFromAddress(processHandle, self.module_address + MemoryAddressOffsets.player_data_pointer_offset.value, is64bit = True)
                if player_data_base_address == 0:
                    print("No fight detected. Gamestate not updated.")
                    self.needReaquireGameState = True

how?

Well if you don't details more about your game version, etc. it's difficult to help you
Have you read the "Updating Memory Addresses with Cheat Engine after patches" part in README.md ?
Try uncomment this line :
#player_data_pointer_offset = 0x0337A450 #pc patch 0
and comment the other one above, this might mean you still have pc patch 0
If this doesn't work:
Cheat Engine is a tool that helps you figure out the variable used by the game, and their adresses.

Download Cheat Engine and check Tekken 7 with it

Go in training mode, check a row with a value of 32769 when you're character is standing Standing, and a value of 32770

When you have that row, copy/paste the adress inside the variable

I'm using nonsteam I think it's v1.0 ?,..

I'm noob with this,..
I dunno where to find the " #player_data_pointer_offset = 0x0337A450 #pc patch 0 "
And where can I find the 32769 value? Imma scan it or in the memory viewer?
Can u teach me step by step?,.. U have facebook or messenger or discord?

Well, I told you 'player_data_pointer_offset' variable is in MemoryAddressEnum.py
Delete the # from #player_data_pointer_offset
and add it just before 'player_data_pointer_offset =  0x03360450 #pc patch 1',
So you resort with this:
#player_data_pointer_offset =  0x03360450 #pc patch 1
player_data_pointer_offset = 0x0337A450 #pc patch 0

Relaunch the game, maybe you will need to use the .bat file again
CheatEngine was only in the case this doesn't solve your problem

Aw Sorry,.. but I don't have any MemoryAddressEnum.py or the ".bat" file here,..

Like this right?

Yes I think it should solve the problem :)
But to be honnest I couldn't even test the overlay myself, I'm not at home for the moment so I can only read the source code and find a solution
Did this work ?

Didn't work still the same,..

Well an easy way to solve this is just to update the game to the latest version, like this you wouldn't need to change the variable
But I think the reason why it's still the same is because you need to recompile the .py files
I don't know if you're familiar with python or programmation, but when a .py file is compiled, .pyc files are created, so basically the program still reading the old file version
Sorry I can't help you more :/ hope you will find a solution soon

Nyahahaha I'm Using Cracked Version Can't Update,.. xDD

T_T

Yeah I know that's why I suggested to you the tricky solution aha, well try a way or another to recompile the python files and it should be good

I'm not so familiar with batch files, but what does it do if you double click on it, have you tried it ?
It is not supposed to clean all the .pyc files and recompile .py files ?
build_project.bat

Yeah I did that earlier,..

Okay, I've added a config file to the next release in TekkenData/memory_address.config. Uncommenting the values inside should allow cheat engine users, pirates, and legit users who haven't patched in a month to use older versions without having to rebuild the entire project.


Bug : Voyager + TinyMCE codesample Plugin

Laravel Version: 5.4.28
Voyager Version: 0.11.14
PHP Version: 5.6.24
Database Driver & Version: Mysql 10.1.16-MariaDB

Description:
I installed the CodeSample plugin to publish some posts about development but when I use "?>" in my content, Voyager don't show the code in edit post page. In spite of "pre" and "code" balises, php code looks to be interpreted.
Steps To Reproduce:

Install codesample plugin in TinyMCE (plugins: [
'advlist autolink lists link image charmap print preview hr anchor pagebreak',
'searchreplace wordcount visualblocks visualchars code fullscreen',
'insertdatetime media nonbreaking save table contextmenu directionality',
'emoticons template paste textcolor colorpicker textpattern imagetools codesample toc'
],).
Create a new post and insert this code in a sample code <?php echo "test"; ?>
Save post
The code will be save in database but is not show in edit post

I encounter the same problem. I also tested with TinyMCE 4.6.4 and the problem is still here.

It appeared that the content is escaped, and, by one way or another, tinyMCE removes the code. For a temporary fix, I edited the voyager view for the rich text box and used the function htmlentities around my text :
File I modified : my_laravel_project/vendor/tcg/voyager/resources/views/formfields/rich_text_box.blade.php
<textarea class="form-control richTextBox" name="{{ $row->field }}" id="richtext{{ $row->field }}">
    @if(isset($dataTypeContent->{$row->field}))
        {!! htmlentities(old($row->field, $dataTypeContent->{$row->field})) !!}
    @else
        {{old($row->field)}}
    @endif
</textarea>

I may add that this is maybe not the best answer, but as a temporary fix, maybe it can help you. And if anybody else has something better to propose, I will appreciate it.

Your temporary fix do not work for me. Nice try :confused:

Labels: possible bug, help wanted

It is now possible to customize TinyMCE with Voyager 1.1.x
https://voyager.readme.io/docs/tinymce

Guys please help me how to fix this problem ??? when I use "?>" in my content, Voyager don't show the code in edit post page.
Create a new post and insert this code in a sample code
Save post
The code will be save in database but is not show in edit post and client side. please help how to fix it ???

some variables and javascript code not showing in client side too what is happening ? terrible framework !!! why developers dont fix it ?  what a problem ???

This issue is very old. Please open your own if you think you found a bug.
Also your issue is unrelated to this issue.


Can [new_]http_archive support .tgz as well as .zip?

new_http_archive seems like a convenient way to bring in prebuilt binary releases from non-Bazel projects (e.g., from a GitHub project's Releases archive), but .tgz seems to a common choice for Linux/OSX releases (e.g., https://github.com/halide/Halide/releases, which uses .tgz for Linux and OSX, and .zip only for Windows). Any chance we could get formats other than .zip supported as well?

It does support .tar.gz and .tgz. It was just undocumented. The documentation has been updated and will be fixed on our next push to githb


Improve Breadcrumb design system

Need to improve this component on Breadcrumb/breadcrumb-design-system.mdx
Improvements required :
Replace word Badges to Breadcrumb
Any reference image?

@Rajdip019 Please Assign this to me

Also there are no types available in breadcrumb, so should I completely remove it, the Types of Breadcrumb section ?

Done @Rajdip019


Support Private Network Access (RFC1918)

What's the problem this feature will solve?
See this doc. Eventually public websites that hit local addresses will require the server to respond to a pre-flight request for the Access-Control-Request-Private-Network header. http-server should support an option for this like it does for --cors.
Describe the solution you'd like
--private-network-access (or something better named) should respond to these pre-flight requests appropriately with Access-Control-Request-Private-Network: true.
Alternative Solutions
I'm not sure there are any if this RFC is put into play by all browsers.
Additional context

https://developer.chrome.com/blog/private-network-access-update/ talks about Chrome's timeline for this

Chrome 105 seems to now be actively blocking PNA (localhost in a development workflow). Until this issue is picked up,  and purely as a temporary stop-gap, I added the following to allow continuing my debug workflow https://github.com/http-party/http-server/blob/master/lib/http-server.js#L102
this.headers['Access-Control-Allow-Private-Network'] = 'true';

This is purely a temporary solution for anyone with a similar debug/local dev workflow need and nothing more. As the OP specified, this should be controlled via the inclusion of the Access-Control-Request-Private-Network header in the request.


Change links in README.md by issue 126

As explained in issue 126, the Readme has some links pointing to the leaflet's homepage. The issue was responded with very precise links, and marked as help-wanted. So, i change the links here.

Thanks for the contribution!


⚠ Roblox Devforum has degraded performance

In aeb1699, Roblox Devforum (https://devforum.roblox.com) experienced degraded performance:

HTTP code: 200
Response time: 1036 ms

Resolved: Roblox Devforum performance has improved in 17d1ed1 after 16 minutes.


Add Orwsot based Map CvRDT

Builds off of #5
This PR adds an implementation for a Orswot based Map CRDT which supports nested CRDT's
This implementation does not follow riaks map exactly but the underlying ideas are the same.
The main difference is that this is a pure CvRDT, ie. it does not support Op based replication.
This change simplifies the structure a bunch, we don't need to track deferred removes since tagging entries with a vclock gives us all the information we need for resolving merges.

@spacejam this is ready for review once you get some time, this PR also contains the work done in #5 so up to you if you want to review them separately or together in this larger PR!

superseded by #7


Responding to HTTP challenges statelessly

I guess this is tangentially related to #128
The use case here is an environment that is composed of multiple httpd servers in an active/standby fashion for a set of domains.
At the moment, only active servers can issue and renew certificates because of two reasons:

Each mod_md installation uses a different ACME account key, resulting in a different challenge response between servers.
Only known challenge tokens are responded to - the challenge token must have been previously registered with md_store_save(..., MD_SG_CHALLENGES, ...).

What I would love to see is the ability for both active and standby servers to be able to issue certificates, regardless of their role.
In other web servers, this can be achieved rather elegantly by reflecting the requested challenge token alongside the known JWK thumbprint.
In mod_md, I think this would require two things to change:

[ ]  Allow mod_md to be configured with an ACME account key (MDCAPrivateKeyFile (optional))
[ ] Eschew the store/load tracking of HTTP-01 challenges and respond to them statelessly.

My only hesitation about this is that it introduces a mode of operation that is only valid for HTTP, not for TLS-ALPN. That may be torpedoing your laudable goal of keeping it simple and easy to use.
On the other hand, this is an advanced, multi-serve use case that people are not exactly going to walk into by accident.  It can be fully described and documented on a wiki/whatever page.
And if you are amendable to implementing it, you may be one of the only ACME clients in existence that make addressing this use case easy!

Hey @alexzorin ,
I like the idea of configuring an account key. I know that Let's Encrypt matches JWS keys to accounts, so that a client can detect its account url. I'd have to look of the ACME protocol itself says anything about that (interoperability).
As to the "stateless" setup: hmmm.

the acme.sh example you linked means that anyone can find your thumbprint just by GET on /.well-known/acme-challenge/123. I am not sure if this is a good idea.
you are right that this would not work for other challenge types

I think the real solution would be a mod_md store that does not use the file system but a central storage accessible from all your server instances. Would that address the user case, should be ever find such a magical thing?

Hey, thanks for the quick response.

anyone can find your thumbprint

I don't think that JWK thumbprints are considered sensitive information in ACME. At least, they are already the result of cryptographic digest and are sent over a cleartext port anyway. I've seen a few major providers and SaaS expose their thumbprints in this way (like OVH).

not use the file system but a central storage accessible from all your server instances

Well, yes. For example, this is what projects like Caddy do - it can persist certificate data to Consul and places like that. But it attracts a high complexity cost - you probably won't want a repository of storage backends in your source tree just for this one exotic feature. I was hoping to jump on the opportunity to avoid sharing state entirely thanks to HTTP-01's design.
But I fully accept if you don't feel like jumping on the stateless train ;) .

 I'd like to check these things with the ACME working group...if they agree to your security assessment, the http-01 challenge responder could be made simpler.
There are some other internal changes necessary for the fixed account key, though...

The use case here is an environment that is composed of multiple httpd servers in an active/standby fashion for a set of domains.

I am also in favor of this request. My setup is similar except that the standby server is actually online and public facing. Where the active server is reachable at www.domain.com, the standby is at standby.domain.com. When the active server needs maintenance, we simply swap A records for the switch.
@icing am I correct to assume that mod_md, in its current state, will fail to issue certificates on each server? Since the servers are mirrors, they actually share the same configuration file. This is what I had in mind:
MDomain www.domain.com standby.domain.com
<VirtualHost IP_www.domain.com IP_standby.domain.com>
   ServerName www.domain.com
  ServerAlias standby.domain.com
</VirtualHost>

Would the above fail?

Yes. The domain authorizations, performed by Lets Encrypt, would not complete on both server, since challenges for one of the domains is made to the "other server". I believe that certbot and other clients would also have problem with such a setup.
If the feature requested here would be implemented, http-01 challenges could be answered by both machines - IF they shared the ACME account key. And you'd need to control somehow which of the two does renewals - with a standby as well, obviously.

Thanks for the quick reply.

Cleaning up my issues list: this situation can now be resolved by using MDMesssageCmdto register a script that distributes challenge files among servers.
The script would act on the challenge-setup:* arguments to copy/rsync the files from md/challenges to the other server. When the script returns after copying, the other server will be able to answer the ACME challenges.


CUDA EULA references

Description of changes
Continuing the work in https://github.com/NixOS/nixpkgs/pull/76233.
The motivation is that we want to positively eliminate even the potential of having any legal issues with NVidia, and that we know there's a precedent of Anaconda distributing patchelf-ed cuda binaries on the grounds of an exclusive permission from NVidia, and that part of the anaconda-nvidia deal seems to have been concerned with the EULA notices as seen at https://anaconda.org/conda-forge/cudatoolkit. This just ensures that we follow the example and display similar notices on https://search.nixos.org
Example
❯ nix eval .#cudaPackages.cuda_nvcc.meta.description
"CUDA NVCC. By downloading and using the packages you accept the terms and conditions of the CUDA EULA"
❯ nix eval .#cudaPackages.cuda_nvcc.meta.license
{ deprecated = false; free = false; fullName = "CUDA Toolkit End User License Agreement (EULA)"; redistributable = true; shortName = "CUDA EULA"; url = "https://developer.download.nvidia.com/compute/cuda/redist/cuda_nvcc/LICENSE.txt"; }

Things done

Built on platform(s)

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

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

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

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

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

[ ] Fits CONTRIBUTING.md.

@NixOS/cuda-maintainers

Why put these in lib.licenses when they all apply to only a single package?

Why put these in lib.licenses when they all apply to only a single package?

I'd be more than happy to inline all of these definitions! The question is, is it the declared purpose of lib.licenses to be the comprehensive index of all licenses referenced in the repo?
E.g. @AndersonTorres just above:

Well, if there are two possibilities, then it should be an extra entry on the licenses - something like nvidiaCudaRedistributable

This is also how @tbenst populated their own PR
P.S. It's not a single package, but a single recipe/expression reused for a bunch of packages 🙃

Do we want to just merge this then?

Inlined the license for cudnn (as suggested by @alyssais) since that one really is us4d only by one package

ofborg complains

So, OfBorg has one passthru.tests job pending for 8 days (aarch64-darwin) and the other passthru.tests skipped (expected as unfree), but otherwise seems green. @AndersonTorres?


"ReferenceError: "Calendar" is not defined. (line 307, file "Code")"

Hey,
first of all thank you very much for finding a solution to a problem that has been nagging me for months now. I was extremly happy when I found your script, alas, I can't get it to work.
I followed your instructions from here to the letter, but unfortunately received the following mail a couple of hours later:

Don't really know what to do with this and could use some help. In my file, the lines around line 307 are as follows:

In case you need any more information, please let me know. Thank you!

Hello @DrKrakower, thank you for reporting this: let's see what I can do to help you.
I am sorry, but I have to ask you this: are you absolutely positive that you completed all the Activate the API for the script steps? In particular you have to enable the Calendar API both in the Google Script page and in the Google API Console page.
It's really easy to overlook one of these steps and the error message seems to indicate that this is the source of the problem.
If this is not the case I'll try to debug this further.

Thank you very much for your quick reply!
Now I feel embarrassed. I enabled it in the API Manager, but in the Advanced Google Services, I accidentally activated the "Google Classroom API" instead of the "Calendar API" right above it. Sorry for my mistake and again thank you for the quick reply. I would have never found this if you hadn't pointed me in the direction. I'm sure it'll work fine now.

No problem at all! This is exactly why I've built this project for ;)
Now, if you want to test the script without having to wait just find the line that reads  var fakeTestDate = 'SOMEDATE; (it should be around line 100) and change the date to any date you know sould trigger a notification (to explain: if you have set notification for the day before a birthday set the date to a day before the birthday of any of your contacts). Watch out for the format: you must keep it yyyy/mm/dd hh:mm:ss.
Once you've done this go to the menu at the top and click "Run" -> "test". If everything went right you should receive your test notification.

Works like a charm!

Can't believe this is finally solved. Thank you!


phpDocumentor does not recognize a composer installation when using a custom vendor directory.

Expected Behavior
When a custom "vendor-dir" is set in composer.json to a sub-directory, phpDocumentor should be able recognized that it was installed via composer.
Actual Behavior
phpDocumetor looks for composer.json in the parent directory of the vendor directory, regardless of whether a custom vendor directory is set. When "vendor-dir" does not have the same parent as composer.json, we get the following error:
PHP Fatal error:  Uncaught RuntimeException: phpDocumentor expected to find an autoloader at "<redacted>/example/untracked/vendor/phpdocumentor/phpdocumentor/src/phpDocumentor/../../vendor/autoload.php" but it was not there. Usually this is because the "composer install" command has not been ran yet. If this is not the case, please open an issue at http://github.com/phpDocumentor/phpDocumentor2 detailing what installation method you used, which path is mentioned in this error message and any other relevant information. in <redacted>/example/untracked/vendor/phpdocumentor/phpdocumentor/src/phpDocumentor/Bootstrap.php:101
Stack trace:
#0 <redacted>/example/untracked/vendor/phpdocumentor/phpdocumentor/src/phpDocumentor/Bootstrap.php(60): phpDocumentor\Bootstrap->createAutoloader('<redacted>...')
#1 <redacted>/example/untracked/vendor/phpdocumentor/phpdocumentor/bin/phpdoc(23): phpDocumentor\Bootstrap->initialize()
#2 {main}
   in <redacted>/example/untracked/vendor/phpdocumentor/phpdocumentor/src/phpDocumentor/Bootstrap.php on line 101

Steps to Reproduce the Problem

Create an empty directory and cd into it.
Create a composer.json file with these contents:

{
	"require-dev": {
		"phpdocumentor/phpdocumentor": "^2.0"
	},
	"config": {
		"vendor-dir": "untracked/vendor"
	}
}

Run composer install
Run ./untracked/vendor/bin/phpdoc

Your environment

phpDocumentor version2.9
Installation methodcomposer
PHP version7.0
Operating systemUbuntu 16.04

I gave all these details to be complete, but this is clearly an issue with the assumptions behind phpDocumentor\Bootstrap::findVendorPath().

Thanks for reporting. Please note that we do not recommend using phpdocumentor via the composer install method because there are more issues with this way of installing phpdocumentor.
Currently all time we have is spend on phpdoc v3. But we are open for PR's for this issue.

Then the composer install method should probably be removed from the front page of the site. Or at least a warning should be put there.

I have an idea on how to solve this particular issue, so I can look into it (I have very little time, though, so no promises on a PR).

@kwvanderlinde Having the same issue with a custom vendor path, in my case it is /public/vendor/. Issue seems to be that phpdocumentor only searches five directories above itself in findVendorPath in Bootstrap.php
Trying to think of a logical solution that searches a couple of directories above but stops at the root drive.

See my commit here; https://github.com/iAmiAdam/phpDocumentor2/commit/ec98f146bce42838c1b1a23ad10c2aabdea1a685
Read the contribution guidelines after I'd made the change so I'll make the changes properly for 2.x later when I can.

We are not working on phpDoc v2 anymore, users will have to move forward to run phpDocumentor.
we do support old project code, back to php5, however phpDocumentor itself requires php 8.1 to run. This can be done using docker.


How to send multiple tasks to Label Studio or Update tasks dynamically (using in Vue 3)

Hi, I am using Label Studio in my Vue 3 project. The project setup looks as follow
Component LabelStudioHelper.vue
<template>

</template>

Parent annotation.vue
<template>

        <button @click="Next_Image">Next Image</button>
        <LabelStudioHelper :task="task" :config="config" :interfaces="interfaces" />

</template>

The above setup works perfectly for one image, But I want to initialize the LabelStudio with multiple images or dynamically update the images for annotation.
So I have create a json file with tasks list and try to pass that json object to the task prop in LabelStudio but It throwing error.
data.json
[
    {
        "id": 1,
        "data": {
            "image": "https://htx-misc.s3.amazonaws.com/opensource/label-studio/examples/images/nick-owuor-astro-nic-visuals-wDifg5xc9Z4-unsplash.jpg"
        },
        "annotations": [],
        "predictions": []
    },
    {
        "id": 2,
        "data": {
            "image": "https://htx-misc.s3.amazonaws.com/opensource/label-studio/examples/images/history-in-hd-e5eDHbmHprg-unsplash.jpg"
        },
        "annotations": [],
        "predictions": []
    },
    {
        "id": 3,
        "data": {
            "image": "https://htx-misc.s3.amazonaws.com/opensource/label-studio/examples/images/soroush-karimi-crjPrExvShc-unsplash.jpg"
        },
        "annotations": [],
        "predictions": []
    }
]

Passing of data.json to labelstudio in annotation.vue
import LabelStudioHelper from<EMAIL_ADDRESS>import data from<EMAIL_ADDRESS>
export default{
components: { LabelStudioHelper },
    data() {
        return {
            task: { data }
            },
            config: `
            <View>
                <Image name="img" value="$image"></Image>
                <RectangleLabels name="tag" toName="img">

                </RectangleLabels>
            </View>`,
            interfaces: [
                "panel",
                "update",
                "controls",
                "side-column",
                "annotations:delete",
                "submit",
                "infobar",
                "topbar",
                "annotations:history",
                "annotations:tabs",
                "annotations:menu",
                "annotations:current",
                "edit-history"
            ],
        };
    },

};

If anybody know how to dynamically update the images for annotation after initializing the LabelStudio or initializing the label studio with multiple images, please help me. Thanks :)

Hi! We have hidden ability to display multiple images in a gallery, if you provide array of image urls instead of usual one: data: { images: ['url1', 'url2'] }
But they have to be the same size and they all be labeled in one place with the same regions, so it's only suitable for different layers of the same object/shot, like R G B.
To update task in LSF you can use assignTask + some other methods, it's not very clear and convenient and we'll improve this soon.
Also we are planning to release real multi-image segmentation, stay tuned! It's already in beta.


Change ShooterIdle Implementation

Use the modes init to set the ShooterIdle or ShooterDoNothing.

@Java4First  Isn't this handled by the mode-specific command setting done through Robot and BaseSubsystem?


screen resolution gets reset every time you open the game

Describe the bug
A clear and concise description of what the bug is.
every time you close and re open the game with retina mode enabled the screen resolution gets reset
System Information (please complete the following information):

macOS: [e.g. 13.3.1 Ventura]
Device: [e.g. MacbookPro 14inch 2021]
CPU: [Apple M1 Pro]
RAM: [e.g. 16G ]

the in game settings about the screen resolution are not saved
when changed in game:

when both the game and the launcher are completely closed and opened again:

This issue affects me too. It may be important to mention that other graphics settings are preserved across restarts, only screen resolution is reset.

Do you still have this issue?


Update practice-quiz-authentication.md

The correct answer is a ticket-granting ticket

Thanks for your contribution!

Thanks for your contribution!

Great, I’m happy to help


MXNet MultiGPU

@ThomasDelteil I have been trying to re-run the mxnet example on V100s, however still end up with the same error as on the P100s:

MXNetError: [11:35:49] /home/travis/build/dmlc/mxnet-distro/mxnet-build/3rdparty/mshadow/mshadow/./stream_gpu-inl.h:62: Check failed: e == cudaSuccess CUDA: an illegal memory access was encountered

MXNet:  1.3.0
GPU:  ['Tesla V100-PCIE-16GB', 'Tesla V100-PCIE-16GB', 'Tesla V100-PCIE-16GB', 'Tesla V100-PCIE-16GB']
CUDA Version 9.0.176
CuDNN Version  7.0.5

Also do you know if any further updates on MXNet have reduced the need for the boiler-plate code e.g. "Hot fixing DataLoader for multi-processing and RecordFileDataset"? Also, perhaps to avoid using tfrecords and just the raw images as with the other frameworks? It would be cool to match the conciseness of other frameworks (e.g PyTorch)

@ThomasDelteil Thanks! The image download code in common/ now also does resize the images to 264 so the other frameworks just random-crop to 224 for training or resize to 224 for validation

I see, that should make it easier them, I'll redownload the images then. The PyTorch dataset code worked almost as a drop-in in Gluon :+1:


[#3798] Extra dump method to ByteBufUtil

Motivation:
Dumping the content of a ByteBuf in a hex format is very useful.
Modifications:
Move code into ByteBufUtil so its easy to reuse.
Result:
Easy to reuse dumping code.

@trustin please check :)

@normanmaurer That's all. Please cherry-pick!

Ugh, I spoke too soon. Could you also add a method that allows you to specify offset and length?

@trustin sure will do.

@trustin please check again

Please feel free to cherry-pick once you addressed all comments.

Cherry-picked into 4.1 (4570f30dd9f9a4dbc17dd58347b4a6d2c343f17a) , and master (46183ed91805849e6c48e9bb9d64e01e7ecdba32). Will try to port it to 4.0 as well


Does the introduced memory bank for metric loss boost the performance of Person Re-ID?

Memory bank is quite unstable on Person ReID, most of the time, it brings no gain and no drop, but sometime it lead to minor increment .
Actually, metric learning contributes at most 1% performance in my experiments. That's no wonder memory bank doesn't affect much.

ok, thank you! According to the original XBM paper, the memory bank improved the performance significantly in vehicle-ReID and
general image retrieval task,  may be 16x4 batchsize for hard example mining in  person Re-ID is good enough.


Question about demo

Thanks for releasing the code implementation of TransTrack.
I noticed that you have mentioned in the requirements about demo. Is there a timeline to release demo files so that we can test the pre-trained models on our own videos?

Hi~
Please refer to step6 in README.

Hello, I went through the txt2video.py under the track_tools for the demo. It looks like they are only for MOT train/val videos. Is it possible to test on our own videos?

Yep~

Convert your own videos annotations as the format
Run the evaluation code
Change txt2video.py and run it