jaeger-agent doesn't write logs to collector for no apparent reason

I'm trying to setup a tracing system, using sidecars with jaeger-agent to send data to a Grafana Tempo instance.
From the logs below, it appears that the jaeger agent is able to successfully connect to the collector over gRPC, and is also able to receive spans. However, there is no data actually reaching the collector, and there is no errors being logged, either here or on the Tempo side, and there is no "Span written to the storage by the collector" being logged as is stated on: https://www.jaegertracing.io/docs/1.29/troubleshooting/#increase-the-logging-in-the-backend-components
2022/02/14 17:06:09 maxprocs: Updating GOMAXPROCS=1: using minimum allowed GOMAXPROCS
{"level":"info","ts":1644858369.8950822,"caller":"flags/service.go:117","msg":"Mounting metrics handler on admin server","route":"/metrics"}
{"level":"info","ts":1644858369.8951235,"caller":"flags/service.go:123","msg":"Mounting expvar handler on admin server","route":"/debug/vars"}
{"level":"info","ts":1644858369.8952322,"caller":"flags/admin.go:104","msg":"Mounting health check on admin server","route":"/"}
{"level":"info","ts":1644858369.8952727,"caller":"flags/admin.go:115","msg":"Starting admin HTTP server","http-addr":":14271"}
{"level":"info","ts":1644858369.8952825,"caller":"flags/admin.go:96","msg":"Admin server started","http.host-port":"[::]:14271","health-status":"unavailable"}
{"level":"info","ts":1644858369.8959668,"caller":"grpc/builder.go:71","msg":"Agent requested insecure grpc connection to collector(s)"}
{"level":"info","ts":1644858369.8960056,"caller":"channelz/logging.go:50","msg":"[core]original dial target is: \"dev-monitor-tempo.monitor.svc.cluster.local:14250\"","system":"grpc","grpc_log":true}
{"level":"info","ts":1644858369.8960443,"caller":"channelz/logging.go:50","msg":"[core]parsed dial target is: {Scheme:dev-monitor-tempo.monitor.svc.cluster.local Authority: Endpoint:14250 URL:{Scheme:dev-monitor-tempo.monitor.svc.cluster.local Opaque:14250 User: Host: Path: RawPath: ForceQuery:false RawQuery: Fragment: RawFragment:}}","system":"grpc","grpc_log":true}
{"level":"info","ts":1644858369.896053,"caller":"channelz/logging.go:50","msg":"[core]fallback to scheme \"passthrough\"","system":"grpc","grpc_log":true}
{"level":"info","ts":1644858369.8960655,"caller":"channelz/logging.go:50","msg":"[core]parsed dial target is: {Scheme:passthrough Authority: Endpoint:dev-monitor-tempo.monitor.svc.cluster.local:14250 URL:{Scheme:passthrough Opaque: User: Host: Path:/dev-monitor-tempo.monitor.svc.cluster.local:14250 RawPath: ForceQuery:false RawQuery: Fragment: RawFragment:}}","system":"grpc","grpc_log":true}
{"level":"info","ts":1644858369.896074,"caller":"channelz/logging.go:50","msg":"[core]Channel authority set to \"dev-monitor-tempo.monitor.svc.cluster.local:14250\"","system":"grpc","grpc_log":true}
{"level":"info","ts":1644858369.8960888,"caller":"channelz/logging.go:50","msg":"[core]ccResolverWrapper: sending update to cc: {[{dev-monitor-tempo.monitor.svc.cluster.local:14250  <nil> <nil> 0 <nil>}] <nil> <nil>}","system":"grpc","grpc_log":true}
{"level":"info","ts":1644858369.896097,"caller":"channelz/logging.go:50","msg":"[core]ClientConn switching balancer to \"round_robin\"","system":"grpc","grpc_log":true}
{"level":"info","ts":1644858369.8961036,"caller":"channelz/logging.go:50","msg":"[core]Channel switches to new LB policy \"round_robin\"","system":"grpc","grpc_log":true}
{"level":"info","ts":1644858369.8961244,"caller":"grpclog/component.go:55","msg":"[balancer]base.baseBalancer: got new ClientConn state: {{[{dev-monitor-tempo.monitor.svc.cluster.local:14250  <nil> <nil> 0 <nil>}] <nil> <nil>} <nil>}","system":"grpc","grpc_log":true}
{"level":"info","ts":1644858369.9462626,"caller":"./main.go:85","msg":"Starting agent"}
{"level":"info","ts":1644858369.9463217,"caller":"healthcheck/handler.go:129","msg":"Health Check state change","status":"ready"}
{"level":"info","ts":1644858369.9465525,"caller":"channelz/logging.go:50","msg":"[core]Subchannel Connectivity change to CONNECTING","system":"grpc","grpc_log":true}
{"level":"info","ts":1644858369.9465759,"caller":"channelz/logging.go:50","msg":"[core]Subchannel picks a new address \"dev-monitor-tempo.monitor.svc.cluster.local:14250\" to connect","system":"grpc","grpc_log":true}
{"level":"info","ts":1644858369.9470215,"caller":"grpc/builder.go:110","msg":"Checking connection to collector"}
{"level":"info","ts":1644858369.9470634,"caller":"grpc/builder.go:121","msg":"Agent collector connection state change","dialTarget":"dev-monitor-tempo.monitor.svc.cluster.local:14250","status":"IDLE"}
{"level":"info","ts":1644858369.9471204,"caller":"app/agent.go:69","msg":"Starting jaeger-agent HTTP server","http-port":5778}
{"level":"info","ts":1644858369.9471831,"caller":"grpclog/component.go:71","msg":"[balancer]base.baseBalancer: handle SubConn state change: 0xc00025ec50, CONNECTING","system":"grpc","grpc_log":true}
{"level":"info","ts":1644858369.947205,"caller":"channelz/logging.go:50","msg":"[core]Channel Connectivity change to CONNECTING","system":"grpc","grpc_log":true}
{"level":"info","ts":1644858369.9472177,"caller":"grpc/builder.go:121","msg":"Agent collector connection state change","dialTarget":"dev-monitor-tempo.monitor.svc.cluster.local:14250","status":"CONNECTING"}
{"level":"info","ts":1644858369.9565043,"caller":"channelz/logging.go:50","msg":"[core]Subchannel Connectivity change to READY","system":"grpc","grpc_log":true}
{"level":"info","ts":1644858369.956581,"caller":"grpclog/component.go:71","msg":"[balancer]base.baseBalancer: handle SubConn state change: 0xc00025ec50, READY","system":"grpc","grpc_log":true}
{"level":"info","ts":1644858369.9566445,"caller":"grpclog/component.go:71","msg":"[roundrobin]roundrobinPicker: Build called with info: {map[0xc00025ec50:{{dev-monitor-tempo.monitor.svc.cluster.local:14250  <nil> <nil> 0 <nil>}}]}","system":"grpc","grpc_log":true}
{"level":"info","ts":1644858369.9566615,"caller":"channelz/logging.go:50","msg":"[core]Channel Connectivity change to READY","system":"grpc","grpc_log":true}
{"level":"info","ts":1644858369.956675,"caller":"grpc/builder.go:121","msg":"Agent collector connection state change","dialTarget":"dev-monitor-tempo.monitor.svc.cluster.local:14250","status":"READY"}
{"level":"debug","ts":1644858540.8622842,"caller":"processors/thrift_processor.go:120","msg":"Span(s) received by the agent","bytes-received":2629}
{"level":"debug","ts":1644858550.8626077,"caller":"processors/thrift_processor.go:120","msg":"Span(s) received by the agent","bytes-received":5141}
{"level":"debug","ts":1644858550.8657024,"caller":"processors/thrift_processor.go:120","msg":"Span(s) received by the agent","bytes-received":1813}

Is it possible to send a raw request to the collector to see if it's working?
values for ingress-nginx helm chart:
        controller:
          kind: Deployment
          replicaCount: 1
          admissionWebhooks:
            enabled: false
          config:
            http2-max-concurrent-streams: "16"
            use-gzip: "true"
            enable-opentracing: "true"
            jaeger-collector-host: <IP_ADDRESS>
            jaeger-collector-port: 6831
          ingressClassResource:
            name: public-nginx
            enabled: true
          extraContainers:
          - name: jaeger-agent
            image: jaegertracing/jaeger-agent:latest
            ports:
            - containerPort: 5775
              protocol: UDP
            - containerPort: 5778
              protocol: TCP
            - containerPort: 6831
              protocol: UDP
            - containerPort: 6832
              protocol: UDP
            command:
              - "/go/bin/agent-linux"
              - "--reporter.grpc.host-port=dev-monitor-tempo.monitor.svc.cluster.local:14250"
              - "--log-level=debug"
            resources:
              limits:
                memory: 50M
                cpu: 100m
              requests:
                memory: 50M
                cpu: 100m

Version (please complete the following information):

OS: Linux, containers
Jaeger version: 1.31
Deployment: Kubernetes

the logs should be happening, assuming you configured debug verbosity for the collector:
https://github.com/jaegertracing/jaeger/blob/aa4c2e6c95fac0c0cddb4ccd426e86c7bdca898c/cmd/collector/app/span_processor.go#L148
however, my first tool would be /metrics endpoint where you can see how many spans the collector is receiving / writing.

I found these metrics being reported, which kind of indicates that it has been able to submit batches.
# HELP jaeger_agent_reporter_batches_submitted_total batches.submitted
# TYPE jaeger_agent_reporter_batches_submitted_total counter
jaeger_agent_reporter_batches_submitted_total{format="jaeger",protocol="grpc"} 41

# HELP jaeger_agent_thrift_udp_server_packets_processed_total thrift.udp.server.packets.processed
# TYPE jaeger_agent_thrift_udp_server_packets_processed_total counter
jaeger_agent_thrift_udp_server_packets_processed_total{model="jaeger",protocol="binary"} 0
jaeger_agent_thrift_udp_server_packets_processed_total{model="jaeger",protocol="compact"} 41
jaeger_agent_thrift_udp_server_packets_processed_total{model="zipkin",protocol="compact"} 0

So, it does submit batches, just doesn't log it with --log-level=debug for some reason?

did you check similar collector metrics?

Turns out it was user error. The traces were stored, just that I needed to supply the correct TraceIDs ro read back. It's still a bit weird that the messages about Spans being written to the collector didn't show up, but at least it works.


bug: refresh table after setting streak

table is not up to date after max streak change

create a list with one word and streak = 2
complete the list
set the streak to 5

-->table is still showing complete

fixed in commit a1bb192


Creating mockups/assets for the landing page

The website could use some phone mockups which display screens where the icons are being used. We can highlight them and write some captivating texts which can make the user use these icons.
These mockups can be used for the hero section of the landing page to enhance it and will result in a better design of the website.
Please assign me this issue so i can improve the landing page with better pictures/assets.
sanya
ggsoc 23 contributor

@sanya031 sorry for the late reply. Do you want to contribute in design only? or code it too?

I would like to contribute to design only if it's okay. But I sure can and have collaborated on projects with developers and can help in the process with some knowledge I have on development.
But mainly I would like to re-design the ui for the landing page and add custom mockups as mentioned before.
Thankyou

Is there a deadline i should keep in mind ? My end-sem exams finish on 29th june so I should be able to handover the designs by 5th july or sooner.
Thankyou for assigning me !

@AshutoshDash1999 Can you please share the icon set file so I can use them in the designs? Thanks

There is no deadline for now. But please keep us updated every 2-3 days after your exam so that we can be in sync.
Icon set file:
https://www.figma.com/file/NJ3P5hqp1qKSKF6E8lMTnN/Icons?type=design&node-id=0%3A1&t=DmnV81b7NsXGSGlX-1

Hi I have started my work.
Starting by Categorizing the icons so that people can view different groups of icons by category instead of the only option of viewing them all at once.

Should i just draw a sketch and share ? I also wanted to ask if i can create multiple pages ? or do you want a single page website

How about you create a different page with categories? the main page will have all the icons.

sure, please go ahead

Everything is good except in section 4, i am think of adding all icons. section 5 will not be needed. for footer just add about bookingjini and social icons

well... let's not go with the category part and show all icons in 1 place.

sure !

hey @sanya031, our team has decided to add categories. And they really liked your idea. Only thing is that we will mention the categories and what icons to include in them. Please go forward with your idea. I am really sorry for bothering you. 😅

@sanya031 please continue with the rest of the page. We are brainstorming on the category names and what icons to add on. Ping me once you start working on that particular section.

@sanya031 any update on this?

Hi @AshutoshDash1999 To view the prototype on your screen click on Opions>Fit Width. Its on top left corner
here is the link to the prototype : prototype
here is the link to the figma file : figma file

Please check the hover on the last icon only
I have not made any categories as you said you'll be categorizing the icons and sharing it with me. I have made only one category just to show you how it will look.
I was hoping you could let me know in what format you'll be providing the icons.

@sanya031 this is a very good work
Some suggestions though:

add some border radius here:

remove the border and add some shadow and reduce the text size

here is the official bookingjini icon for your reference

I was hoping you could let me know in what format you'll be providing the icons.

For now, it has click to copy like <i class="jini-Arrow-1"></i> . We want to add more options for downloading the icons in various format or customise it. Do you want to work on it?

Yeah I'd love to design that.
The svg list you had shared with me (figma file) has less number of icon than the ones on the original website. I used a figma plugin to get the website in figma editable format.
So when you do send the correct and all icons by caregory can you please send the figma file in this format for the icons. It will be a lot easier for me

I also wanted to request if you could increase the level number on this issue. Since it is a lot of work. It's ok if you can't and thanks for considering.

I also wanted to request if you could increase the level number on this issue. Since it is a lot of work. It's ok if you can't and thanks for considering.
@AshutoshDash1999

The svg list you had shared with me (figma file) has less number of icons than the ones on the original website.
Can you recheck, we have 290 icons in website and 300 icons in figma file.

can you please send the figma file in this format for the icons
Do you need the file with the name and icon?

Our team decided that you can give the category names by yourself. Feel free to do that. Also, you have write access to the Figma file that I shared earlier.

Do you need the file with the name and icon?

Yes that would be great. icon and name just like on the website.

So when you do send the correct and all icons by caregory can you please send the figma file in this format for the icons. It will be a lot easier for me

Sorry, we don't have that now....but you can get the json file from the website directory. There we have added the icons with their names.

hey @AshutoshDash1999. I just wanted to show that these are the categories i am working with.

Cool

hey @AshutoshDash1999 I have designed the page according to the new category designs.
I have done the navigation for the prototype for the first 4 categories. And the first icon of all those categories have hover effect.
Prototype link

good work @sanya031
Will you be developing their code too?

No just the design i'm afraid. Please let me know if ypu want my help in any other design related work for this website.

Ok @sanya031 let me know if the design is complete. We will then proceed with the pr then.

@AshutoshDash1999 Only the light mode is left. I have completed the home page and the developers page and there is a 'coming soon' page on the designer's page till the plugin is developed

Ok Ok take your time.

hey Everything is done. You can check and let me know if there are any changes else we can merge this
figma file - https://www.figma.com/file/XwQqLhjYKxub4uv1qjHgd4/bookingjini-website?type=design&node-id=0%3A1&mode=design&t=sTxy0KZwTwpVPrQg-1
https://github.com/Bookingjini-Labs/bookingjini-icons/assets/69260951/4ecdf22d-164b-4cb5-85ee-7f84d23e25f3

@sanya031

Create a new folder and rename it as New Website Design.
Add a readme file there and add the figma links and add screenshot of every page there and make a pr


Docs on SGHMC / SGLD?

Hey,
There are stochastic samplers in the Turing codebase, but there is no information how to actually use these.
Do they actually work? How do you define mini-batches?
I could add something to the BNN tutorial about it if someone could explain to me how these samplers work?
Thanks

No, there is currently no support for mini-batching out of the box. Also, it is generally not a great idea to spin BNNs with Turing since we currently don't support GPUs.

On very small datasets (+-100 observations), I've managed to get okay results at a fraction of a time to NUTS. The NNs I've tested aren't very large either (e.g. 4 layers of 8 neurons each). In my experience, it is very sensitive to random variation, so I've had to make a point of setting a random number seed when tweaking parameters and resampling, and the step size needed to be around 1e-3 to avoid NaNs, so try setting that smaller if you get that with the default configs.
Big caveat though: convergence of individual weights isn't very strong, but I've found it doesn't make a huge impact on results. Here, NUTS is the clear winner  in y experience though it takes much, much longer to sample.
Invoking SGLD looks something like this:
N_sims = 10_000
ch_SGLD = sample(
	Xoshiro(323),
	bayes_nn(Xs, ys),
	SGLD(; stepsize=PolynomialStepsize(1e-3), adtype=AutoTracker()),
	N_sims;
	discard_adapt=false)

(takes about 8 secs p/10 000 samples on my laptop)
Agree though that mini-batching would be great one day along with GPU support to tackle larger datasets.

Hi, thanks very much for clarifying! I did not realise that

From: Kyurae Kim @.>
Sent: Sunday, 14 July 2024 22:15
To: TuringLang/Turing.jl @.>
Cc: Patrick Moehrke @.>; Mention @.>
Subject: Re: [TuringLang/Turing.jl] Docs on SGHMC / SGLD? (Issue #2270)
Hi, @patrickm663https://github.com/patrickm663 , just to be clear, what you just did is technically not SGLD but unadjusted Langevin/Langevin Monte Carlo. SGLD is the special case where minibatching is used. Without minibatching, it is very unlikely for unadjusted Langevin to be competitive against NUTS for such high dimensional problems.
—
Reply to this email directly, view it on GitHubhttps://github.com/TuringLang/Turing.jl/issues/2270#issuecomment-2227471604, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ASSHES2UV5C6PKOJVWE5UFTZMLL5VAVCNFSM6AAAAABJUGBAIOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRXGQ3TCNRQGQ.
You are receiving this because you were mentioned.Message ID: @.***>


FOL Axioms for CCO?

I know the canonical version of CCO is in OWL, but would a FOL version be of any interest to CUBRC, particularly if it required no work on your end?

Working on this now.


⚠ API (search) has degraded performance

In e1f0fe0, API (search) (https://api.dev.package-search.services.jetbrains.com/search-packages) experienced degraded performance:

HTTP code: 200
Response time: 6655 ms

Resolved: API (search) performance has improved in fba0638 after 9 minutes.


Error in SDIRK23 tableauxs

In line (406) of ODE.cpp, the SDIRK23 Butcher tableaux is given by
// with a = gamma:
//   a   |   a
//  1-a  |  1-2a  a
// ------+-----------
//       |  1/2  1/2

This is not correct for an L-stable scheme (which can only be 2nd-order accurate with two stages, but still seems to be an option/parameter). For L-stable it should look like
// with a = gamma:
//   a   |   a
//  1    |  1-a  a
// ------+-----------
//       |  1-a  a

See 4.1.2., eq (221) here:
https://ntrs.nasa.gov/archive/nasa/casi.ntrs.nasa.gov/20160005923.pdf

This method is taken from the books: http://dx.doi.org/10.1007/978-3-540-78862-1 (volume 1) and http://dx.doi.org/10.1007/978-3-642-05221-7 (volume 2). Specifically, see Table 7.2 in the first volume and Table 6.4 in the second volume regarding L-stability.

Table 7.2 gives the 3rd-order A-stable version, which is correct in MFEM. That Butcher tableaux is specifically from a family of 3rd-order DIRK schemes. Table 6.4 in volume 2 gives the one-parameter family defining two-stage, second-order L-stable schemes, with $gamma = \frac{2\pm\sqrt{2}}{2}$, but that is not the same $\gamma$ as in Table 7.2. The $\mathbf{b}$ vector in the Butcher tablueax must depend on $\gamma$ for a stiffly accurate two-stage L-stable scheme.

Maybe I do not understand something but I think in both cases \gamma stands for the entries on the diagonal of the table which are all the same for SDIRK method.
Also, as far as I understand, there are multiple solutions of the order equations plus the L-stability condition - one is given by the method implemented in mfem, another is the method you mention above.

Oh, you're right! Actually identical stability function oddly enough. Maybe an equivalent method, because I had read that the 2nd-order stiffly accurate L-stable solution is unique to the \pm, which is what had me confused here.

Yes, "stiffly accurate" means that the last two rows of the tableaux are equal -- see the paragraph after proposition 3.8 in chapter IV, volume 2 of the above-mentioned books. This makes the method unique up to the \pm.
We can definitely add this "stiffly accurate" version to mfem -- it should be straightforward.


featrue check output type in some node

Proposed changes
ERROR 1105 (HY000): errCode = 2, detailMessage = (<IP_ADDRESS>)[INTERNAL_ERROR]build side type Int64, not match probe side type Nullable(Int64) , node info

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall


Bad token from PHP SAS generator

The current link for PHP SAS generator currently return bad token. When used, it gave "40103: Invalid authorization token signature". After trying with Powershell generator, everything is working just fine.
https://docs.microsoft.com/en-us/rest/api/eventhub/generate-sas-token

@thala321 Thanks for the feedback. We are investigating into the issue and will update you shortly.

@thala321 Thanks for reporting this issue. This is being assigned to the content author to evaluate and update as appropriate.
@spelluru Could you please look into this issue?

@thala321 - please assign it to @ShubhaVijayasarathy. Thanks.

@ShubhaVijayasarathy Could you look into this issue?

it is correct.

@sethmanheim - Updated you to be the assignee for this issue because you are listed as the current document owner in the article metadata. Could you please work to address the feedback and close the issue? See these instructions. Thanks.

@v-thepet I don't work on Event Hubs anymore.

@sethmanheim - Ok... I'm working on User Story https://mseng.visualstudio.com/TechnicalContent/_queries/edit/1585612/?triage=true which states: "Check the currently published version of the article to see who the current author is - we just completed metadata scrubs and all author metadata is current now and for a person who actually works here. After you have identified the current author, go back to the issue and update the assignee to be the current author. Remove the old one." Any ideas who author could be? Thanks.

@v-thepet You should probably reassign it to @ShubhaVijayasarathy (PM), or @spelluru (current writer for Event Hubs). It looks like the metadata for the REST API reference hasn't been updated.

@sethmanheim OK. It's been assigned to both of those people in the past but I can try again. Thanks.

@spelluru @ShubhaVijayasarathy - Updated you to be the assignees for this issue at @sethmanheim suggestion as article metadata is inaccurate. Could you please work to address the feedback and close the issue? See these instructions. Thanks.

Added it to our backlog. We will get to it as soon as possible.
#please-close

Added it to our backlog. We will get to it as soon as possible.
#please-close


shell per project

I'd like to have different default shells per project.
Sometimes I work within WSL and need the WSL/Bash to be my default shell, but sometimes I work on Windows and then I need powershell/cmd.
Currently I always change the "terminal.integrated.shell.windows" setting manually to have the right shell, but I'd like to have a way for vscode to just know which shell to use.

nvm this seems to be solved via https://github.com/microsoft/vscode-remote-release

Just in case - have you tried to put "terminal.integrated.shell.windows" in Workspace settings (.vscode/settings.json)?
If you have different workspaces for these two cases you can have different configs for each of them.


Convert to support es2015

This applies to all sub-packages (I am using pascal-case and param-case directly).
Currently, es2016 syntax doesn't work:
import * as changeCase from 'change-case'

You would need to use the regular require syntax. I don't think I'll be making this change anytime soon myself, at least not until native ES6 node modules land.

It prevents using these libraries in es6 modules, such as bundling using rollup.
Too bad I don't have much spare time, if not I can do some PRs. 🌷

I don't think it's useful to pre-emptively split the ecosystem to try and support tooling I don't use myself. Best to use CommonJS until node.js native support lands and find a migration path from there.

Oh, not really. Just something like this would be fine:
https://github.com/JsCommunity/make-error/blob/master/index.js#L141-L142
I'm using your mark-error-cause that works in both:
const makeErrorCause = require('make-error-cause')

import * as makeErrorCause from 'make-error-cause'

import { BaseError } from 'make-error-cause'

t.is(makeErrorCause.BaseError, BaseError)

Ok, so that should work for this module already. So it's just all the dependency that would need to be updated? What's the benefit of updating them to have an extra export property? Note that each of the sub-modules are already as small as they could be and if it works on this module then it should import only the required pieces already right?

I think so.
I can change one (pascal-case) to demo it.

What's the benefit of updating them to have an extra export property?

Without that extra export, that's the error I got in the OP, tsc can't compile when target: 'es2015'
btw, when you are talking about two bundles, ideally yes.
That's what I'm doing. e.g.:
https://github.com/unional/color-map
The way make-error-cause (and make-error) work has a slightly weird behavior:
// typescript
const mec = require('make-error-cause')
import * as makeErrorCause from 'make-error-cause'

t.is(typeof makeErrorCause, 'function')
t.is(mec, makeErrorCause)

Normally * as makeErrorCause would be an immutable object.
I have not tried in babel, but with the "bad" synthetic import, this should work:
// babel
import makeErrorCause from 'make-error-cause'
t.is(typeof makeErrorCause, 'function')

new CustomError = new makeErrorCause.BaseError(...)

I'm using gulp, so ended up doing this:
gulp.src('node_modules/change-case/change-case.js')
      .pipe(bro({standalone: '_changeCase'}))
      .pipe(concat('change-case.min.js'))
      .pipe(gulp.dest('node_modules/change-case')),

Here's a workaround for Rollup; use 'rollup-plugin-commonjs' in conjunction with 'rollup-plugin-node-resolve' for an input file like the following;
import camel from 'camel-case';

// use camel() where needed

and this Rollup config;
export default {
  //
  plugins: [
    resolve(),
    commonjs();
    // babel and/or uglify may come here
  ],
};

Done on master.


Docker dev polish

Add a seed that corresponds to wireguard-client wg0.conf that works on first compose up
Rewrite Contributing guide to use docker dev env
Triage why exactly Docker Desktop will never work with Host-based wireguard clients

Fixes firezone/product#387

Pull Request Test Coverage Report for Build f46bfe79ae23ce6e0361362b54f1a78b774c98d0-PR-803

2 of 2 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.02%) to 68.791%

Totals

Change from base Build e7c711eec5d44d1e6b99fcd4c6b0849725ed5a20:
0.02%

Covered Lines:
939

Relevant Lines:
1365

💛  - Coveralls


Trakt broken in Beta <IP_ADDRESS>3

Here is the log for trakt it's not synchronizing at all
trakt broken.txt

Added fix for the error from log however for the underlying cause (missing episode ref) would need a full log with this fix in place, next daily release will have it and in doubt can always ask on discord :)
In the meantime will let Trakt sync a few times to see if I can reproduce it here.

Hi,
I am still having this issue with the current stable.
Here the logfile from today:
2017-05-22.txt


[GLUTEN-4896] Upgrade Spark33 version to Spark3.3.4

What changes were proposed in this pull request?
Close #4896
How was this patch tested?
Exist UT

I think this may need to upgrade the docker image which contains Spark 331 code
https://github.com/apache/incubator-gluten/blob/main/.github/workflows/velox_be.yml#L177

I think this may need to upgrade the docker image which contains Spark 331 code https://github.com/apache/incubator-gluten/blob/main/.github/workflows/velox_be.yml#L177

Thanks for you info, i will go on with this.

I think this may need to upgrade the docker image which contains Spark 331 code https://github.com/apache/incubator-gluten/blob/main/.github/workflows/velox_be.yml#L177

@zhouyuan Hi, I'm still confuse how to upgrade docker image, is here any document about this?

I think this may need to upgrade the docker image which contains Spark 331 code https://github.com/apache/incubator-gluten/blob/main/.github/workflows/velox_be.yml#L177

@zhouyuan Hi, I'm still confuse how to upgrade docker image, is here any document about this?

Hi @zwangsheng ,
The dockerfile is hosted here:
https://github.com/apache/incubator-gluten/blob/main/tools/gluten-te/ubuntu/dockerfile-buildenv#L111
on our nightly Jenkins it will try to build the new image, and push to local docker registry.
I'm trying to remove spark compile when run gluten UTs, in this way the spark source code can be removed.
Would you mind wait for this patch if it's not urgent request?
https://github.com/apache/incubator-gluten/pull/4955
Btw, for now all the tests are running on servers inside intel lab, we are migrating to Apache servers gradually. https://github.com/apache/incubator-gluten/issues/4917
Thanks,
-yuan


Design of C Union/Struct

struct scope1 {
    union { // Anonymous union
        char alpha;
        int num;
    };
};

struct scope2 {
    struct { // Anonymous structure
        char alpha;
        int num;
    };
};

union foo {
    struct {
        int low;
        int high;
    };
    double flt;
};

Use virtual fields:
type scope1 struct {
    m1 [sizeof(int)]byte
}

type Goptvf_scope1_alpha = char // type of virutal-field
type Goptvf_scope1_num = int

const (
    Gopvfl_scope1 = "alpha,num" // virtual-field list
    Gopvf_scope1_alpha = "f:0" // field
    Gopvf_scope1_num = "f:0"
)

type scope2 struct {
    m1 struct {
        alpha char
        num int
    }
}

const (
    Gopvfl_scope2 = "alpha,num"
    Gopvf_scope1_alpha = "a:m1.alpha" // alias
    Gopvf_scope1_num = "a:m1.num"
)

Anonymous structure or union should have a name.
type Gopau_1 struct { // anonymous union
    num int // use longest member as default
}

type scope1 struct {
    Gopau_1
}

type Gopas_1 struct { // anonymous struct
    alpha char
    num int
}

type scope2 struct {
    Gopas_1
}

type Gopas_2 struct {
    low int
    high int
}

type foo struct {
    Gopas_2
}

https://github.com/goplus/c2go/releases/tag/v0.2.0


[WelcomeUX] Elements get cut off when resize window

Testing #18091
See below, where the top of the welcome screen is cut off. Scrolling using mouse wheel also doesn't work.

@chrmarti it seems we have some custom scroll capability (not standard overflow:scroll-y
Can you tell me how to enable vertical scrolling for this?

It should do that automatically. I think you only need to make sure the outer div grows with the content and doesn't stop at 100%. The reason we're doing something custom made is that we want our custom scrollbars. /cc @joaomoreno

ScrollableElement doesn't work with absolute positioned content. This seems to work better (needs proper selector):
.monaco-workbench > .part.editor > .content .monaco-scrollable-element > div {
  align-items: center;
  display: flex;
  justify-content: center;
}

@chrmarti If you just want lookalike scrollbars, check the ::-webkit-scrollbar* styles in https://github.com/Microsoft/vscode/blob/master/src/vs/workbench/parts/html/browser/webview.ts

I've assigned this to January, move it out if not applicable.

@joaomoreno I have already hacked up my own pageUp/Down actions. Should I turn back now? :D

@chrmarti Why the candidate tag? It's meant to be used for candidate issues for a recovery build.

@joaomoreno I need to read the instructions again, thought we start adding candidate on Thursday's fixes.


switch to AUTH_SERVICE_JWT_SECRET

Description
follow up of https://github.com/owncloud/ocis/pull/7523, to use the right env variable for auth service
Related Issue

Fixes a part of #406
Follow up of https://github.com/owncloud/ocis/pull/7523

Motivation and Context
How Has This Been Tested?

run it in minikube

Screenshots (if appropriate):
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Technical debt
[ ] Tests only (no source changes)

Checklist:

[x] Code changes
[ ] Unit tests added
[ ] Acceptance tests added
[ ] Documentation generated (make docs) and committed
[ ] Documentation ticket raised:
[ ] Documentation PR created:

@kobergj could you please give this PR a review in order to keep next some sort of up to date


Decimal and thousands separators

Would it be possible to add which separators are used for decimal and thousands?

@renedekat Sure, but since this feature is language related (not a country attribute), it's coming in our next package Rinvex Language. Stay tuned 😉


[Module interface] Drop marker protocols from inheritance clauses for backward compatibility

When printing a protocol definition whose inheritance clause includes
a marker protocol in a module interface, print an alternative definition
of the protocol that drops the marker protocol for compilers that
don't understand marker protocols. This only works for marker protocols
because they have no impact on the ABI. The end result is something like:
#if compiler(>=5.3) && $MarkerProtocol
public protocol MP3 : FeatureTest.MP {
}
#else
public protocol MP3 {
}
#endif

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

@swift-ci please smoke test

@swift-ci please smoke test macOS

It might be simpler if you printed marker protocols as a typealias to Any instead:
#if compiler(>=5.3) && $MarkerProtocol
@_marker protocol M {}
#else
typealias M = Any
#endif

protocol N : M {} // inheriting from M is a no-op on older compilers

This is a fantastic idea! And way, way simpler than what I've been doing. Thanks!

Dropping this in favor of the simpler solution, https://github.com/apple/swift/pull/36049


Simplify if condition, use this.cConditionalColumn > 0 only once

Simplified if condition in order to use this.cConditionalColumn > 0 only once in according to DRY principle.

I agree that it simplifies the code, but I think the conditions are less readable so I'm going to keep it as is. I do appreciate you reaching out to help with this code though!


Wikimania Hackathon Ideas

Wikimedia's annual conference, Wikimania is happening in less than two weeks from now.
Before the conference, there would be a two-day hackathon. It would be great if you could help in collating ideas for the hackathon. Bunch of small or tasks or a couple of medium sized tasks would be apt for the 2-day hackathon.
I would be there and hopefully, more people from the Commons App community would be there too. :)

Nice! I'm thinking these enhancements are fairly standalone and fun/interesting:

#1514 Upload photo using Google Assistant
#1296 Improve app widget (if @madhurgupta10 hasn't already started work on the improvements?)
#1118 Itinerary covering Nearby places

Btw, oof, I just realized that we have 300+ open issues, lol! Need to go through those and start closing the obsolete ones at some point...

I have created a task on the phabricator workboard about implementing the first task ie. #1514. If other contributors come up to help we can pick more tasks as well. :)


Unsupported Architecture for Vision Model Conversion to GGUF in Ollama

Model: Llama-3.2-11B-Vision-Instruct-abliterated
Error Output:
transferring model data 100%
converting model
Error: unsupported architecture

Description:
I'm trying to use the model huihui-ai/Llama-3.2-11B-Vision-Instruct-abliterated from HuggingFace in Ollama, but I'm encountering an "unsupported architecture" error when attempting to import the model.
Based on what I understand, the issue seems to be related to vision model support in Ollama. Currently, Llama Vision is supported, but it seems that importing this model fails due to the architecture (Mllama), which isn't recognized during the conversion process to GGUF.
Additionally, trying to manually convert the model to GGUF using llama.cpp doesn't work either, as the conversion script does not support the Mllama architecture required by this vision model.
Steps to Reproduce:

Attempt to import the model into Ollama.
The transfer process completes but fails during conversion, with the error: "unsupported architecture."

Expected Behavior:
Support for importing and converting vision models like huihui-ai/Llama-3.2-11B-Vision-Instruct-abliterated into GGUF format, or at least a workaround for vision architectures beyond standard Llama Vision.
Additional Notes:

The model is in safetensor format from Hugging Face.
It appears Ollama tries to convert it back to GGUF, but this fails due to unsupported architecture.
Request: Please add support for vision models to handle Mllama architecture.

Any guidance or updates on expanding Ollama’s vision model support would be appreciated.

I encountered the same issue with vision models not being converted correctly to GGUF. I tested with the following model:
https://huggingface.co/Guilherme34/Llama-3.2-11b-vision-uncensored
https://huggingface.co/sdasd112132/Vision-8B-MiniCPM-2_5-Uncensored-and-Detailed-4bit
https://huggingface.co/cognitivecomputations/dolphin-vision-72b
and as you said, trying to manually convert the model to GGUF using llama.cpp  python script,  convert_hf_to_gguf.py can not convert them. so there seems no way to use these vision model for ollama.

I encountered the same issue with vision models not being converted correctly to GGUF. I tested with the following model:
https://huggingface.co/Guilherme34/Llama-3.2-11b-vision-uncensored https://huggingface.co/sdasd112132/Vision-8B-MiniCPM-2_5-Uncensored-and-Detailed-4bit https://huggingface.co/cognitivecomputations/dolphin-vision-72b
and as you said, trying to manually convert the model to GGUF using llama.cpp python script, convert_hf_to_gguf.py can not convert them. so there seems no way to use these vision model for ollama.

yeah saddly it seems that way

Thank you for reporting, we are working on updating this for ollama create. Sorry for the wait!

Absolutely no problem. However, I have found this behavior for pretty much all safetensor imports with a vision aspect like Phi Vision or Vision-8B-MiniCPM. So if you can look into that as well that would be amazing

Also, I am more than happy to do testing and stuff. Also, I am some sort of a programmer so if you can direct me to what I should try to modify or how to help that would be awesome

Thank you for reporting, we are working on updating this for ollama create. Sorry for the wait!

Any update ? I am trying to convert, merge llm gguf and vision gguf.


(mini.files) FEATURE: Add delete_cmd

This option allows users to define the way they would like files to be deleted. It's one of those features you assume you'll never use but will regret not having when you need it.
An example would be:
opts = {
  options = {
    delete_cmd = "trash-put"
  }
}

Feedback on documentation and implementation details would be appreciated as always. I just wanna see this useful feature happen.

[x] I have read CONTRIBUTING.md
[x] I have read CODE_OF_CONDUCT.md

Thanks for taking your time writing this.
At the moment I don't think this extra option is a good fit for "usefulness vs. complexity/maintenance" traid-off. Also having a way to customize deleting but not other actions seems a bit off, which only adds to the complexity/maintenance.
Am I correct understanding that your main issue with current vim.fn.delete() approach is that it deletes entirely while you want to move into trash?
I'll think about the best way to handle this, but my hopes are not high for this to end up implemented.

I have updated this PR to greatly reduce complexity and scrap callbacks idea

I am still thinking about whether this is a good fit to 'mini.files', to be honest. Really tempted to say "this is not meant as fully functional file explorer". Not just there yet, though, as I see how this can be an important to some people. May still take a while for me to decide.

🎉

@mrshmllow, I've opted to adding module-specific "trash" functionality behind a new options.permanent_delete option. If set to false, it will move deleted entries to 'mini.files/trash' directory of Neovim's standard data path ('~/.local/share/nvim' on Unix). Here is full info.
My main reason for not going with delete_cmd is mostly because it is virtually Unix-only; Windows users probably won't install any CLI apps.
Although I did not accept these changes, thanks for your enthusiasm to get this type of feature added.


Fix Build problem on Mac

With setting 'Children' to false I can compile the demo under Mac

thx @CapitanFuture :)


Problems with scipy's optimize

I have a random bug with scipy's optimize . I use it in the context of SageMath 9 (Python 3.7.3). I checked 3 algorithms : shgo, dual_annealing and full_optimize. All don't work well (at all !).
I optimise with a 3 parameters functions with given bounds. The algorithm randomly sends to my error function the "1e-8" value for any of the 3 parameters. I displayed the vector + error to understand it. AS you can see, in this case, the first parameter is 1e-8 whereas it is outside the bounds. Sometimes it happens for the second parameter, or the 3rd .... Here is an example, I displayed the values. First the vector of parameters, then the error.

[3.95049282e-19 3.03055607e-20 1.96212098e+29] 0.0030238733573031864
[3.95273920e-19 3.05821352e-20 1.90997635e+29] 0.002957956545311753
[3.95037412e-19 3.04080173e-20 1.93312145e+29] 0.0029572689364709224
sage.all_cmdline:33: IntegrationWarning: The occurrence of roundoff error is detected, which prevents
  the requested tolerance from being achieved.  The error may be
  underestimated.
[1.00000000e-08 3.04080173e-20 1.93312145e+29] 1.0713560755245306
Overflow
[3.95037412e-19 3.04080173e-20 1.93312145e+29] 0.0029572689364709224

The behaviour is the same for all of them. However the value inserted is not always the same, I noticed 3 : 1e-10, 1e-8 and 1.49011612e-08
full_optimize works the "best" as this behaviour comes when the optimization has already workd for a while. For the two others methods it's ... awful ...
my bounds are :

bounds = [(1e,4e),(0.1e,0.5e),(1e5,1e40)]

with e=1.6e-19
Is there an alternative for optimization in sagemath ?
regards, Mike

@Mike-HubGit we'd be happy to assess whether this is a bug if you can include SciPy code that reproduces the issue. We don't provide support for SageMath here, though, even if it uses SciPy as a dependency. This is for bugs reports and feature requests for SciPy.

e=1.6e-19

I don't think this problem is a bug with the solvers, but it is likely that you will need to play around with a lot of the tolerances of the solvers. As an example I will assume you used the default behaviour of shgo which calls SLSQP in the local minimisation step by default. The default step size used for numerical approximation of the Jacobian is 'eps' = 1.4901161193847656e-08 so that is probably why you get this value outside your bounds.
Try passing
minimizer_kwargs = {'eps': e * 1e-8,
                    'ftol':  e * 1e-06}

or similar to shgo as well as modifying the tolerances of the other solvers.

Dear Stefan,
thanks a lot ! I am however surprized, I believed these algorithms were based on random generation and could not give values outside the bounds. It does not work like genetic algorithm ? Is there a genetic algorithm somewhere in scipy ?
I have a very last question : is it possible to enable multiple processors computation of these optimizations ?
Thanks again, best regards,
Mike

I believed these algorithms were based on random generation and could not give values outside the bounds.

The sampling in the global optimization step can not sample outside the bounds. The issue is that the local minimization step (using a different sovler) that tries to compute a Jacobian step that is larger than your bounds. This can also be resolved by using for example a non-gradient descent local optimizer such as Nelder-Mead. It is also possible third variable in your problem might also lead to floating point errors because the bounds for the first two variables are relatively small. It is likely that it will take some further work to find the right settings for solving your particular problem.

Is there a genetic algorithm somewhere in scipy ?

The differential evolution algorithm is purely stochastic.

is it possible to enable multiple processors computation of these optimizations ?

You can supply the workers argument to DE for this purpose (see the documentation). Not all algorithms support multiple processors yet.

I am sorry but ... I do not understand.
I read in the differential_evolution algorithm documentation :

Differential Evolution is stochastic in nature (does not use gradient methods) to find the minimum, and can search large areas of candidate space, but often requires larger numbers of function evaluations than conventional gradient based techniques.

So there is no gradient estimation I guess ? Or do you say these algorithms combine two optimizations, one stochastic + one deterministic using for example a gradient ? That was not what I guessed when I displayed the values, I believed every evaluation was based on stochastic parameters. But I perhaps dit not understand the pattern.
The minimization methods you mention seem to work with the "minimize" function and not with the differential_evolution function, isn't it ?
There are instead "strategies" but I think they are not described in the documentation.
Perhaps may I switch to the "minmize" function ?
I am sorry for all these questions ...

A deterministic algorithm does not always need to evaluate a gradient, but to try and keep it simple:

Differential evolution: purely stochastic
shgo: purely deterministic

The two algorithms are both global optimisation algorithms, but only DE should be considered stochastic or a GA.

The minimization methods you mention seem to work with the "minimize" function and not with the differential_evolution function, isn't it ?

Yes, they are for the local step in shgo which calls the scipy.optimize.minimize function. The shgo algorithm has 2 steps per iteration. The first step tries to understand the geometry of the global objective function surface and attempts to generate subproblems with locally unimodal sub-domains. In the second step these subproblems can then be solved using any of the the local minimize routines. These routines may, or may not, need to compute the gradient.

shgo (with default settings): deterministic sampling without computing gradients + deterministic  step using gradient
shgo (using a gradient free local solver): deterministic sampling without computing gradient + deterministic step without using gradient

There are instead "strategies" but I think they are not described in the documentation.

It is technically described, but the connection is very difficult to make since it relies on calling other functions documented on a separate page. It is more appropriate to describe this in an optimisation tutorial than the documentation. In general many deterministic global optimisation algorithms are hybrid algorithms and work very differently from GA.

Perhaps may I switch to the "minmize" function ?

If you don't need the global minimum and/or more than one minima and/or your problem is convex/unimodal; yes. We can't really tell you which solver is the best solver without knowing more about your problem (solver selection in general is not an easy task), but either way I do not think this is the appropriate platform, the user mailing list might be more appropriate as this is not an issue with the code currently in scipy.

Thanks Stefan, again ...
However, I still do not understand why, when using a pure stochastic algorithm, It can feed my function with values outside the bounds : differential_evolution sends me, when the optimization has enougth advanced, values outside the bounds, randomly on one or another variable. Is this normal ?
Thanks again,
Mike

I'd be surprised if differential_evolution sends your objective function outside the bounds, unless it's at the polishing stage at the end (polish=True).
Please send a minimal working example that can reproduce the problem.

Dear Andyfaff,
you are right ! the problem was polish=True. with polish=False everything is ok (I tested 4 times and no problem).
Very Nice ! So finally, by default, the Differential_Evolution algorithm is not fully stochastic ;-)
Thanks a lot,
Mike
P.S. : Problem solved.

In the last stage DE uses minimize to get to the very best possible location. The default method for that polish step is LBFGSB. If the bounds are so tight I can imagine there may be problems.


[HOLD for payment 2023-07-20] Display money request reports as a card in the chat report

Currently, money request reports are displayed in-chat as plain text like so:
Potato owes $535.35
It doesn't look great. Let's change it so it is styled like a card (like individual requests) in preparation for receipts
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01b4227ab04073e43a
Upwork Job ID:<PHONE_NUMBER>412647424
Last Price Increase: 2023-06-16

@mallenexpensify, I just realized I forgot to add the newFeature label back when I created this. I think we just need to handle payment for the C+ reviewer

Is the payment part handled yet?

Friendly bump @mallenexpensify

Checking on payment formatting here

No payment dude, @narefyev91 is with Callstack


Is it possible to further reduce the RAM?

I use multiple A6000 cards for pretraining. The RAM of each card is 49140MiB.
I tried to pretrain LLaMA-7B with bf16-mixed,
batch_size = 60 # 125
micro_batch_size = 1 # 1 × 4 = 4 for each iterations

it works well before the backpropagation. Before backpropagation, it takes 47+/48G. But it's OOM when it reach the 15th step (When backpropagation is operated).
It's a way to make this work? I can come up with the following ideas, both of which can work. But I don't think they are the best choice.

change the precision from bf16-mixed to bf16-true. But as BLOOM) said, bfloat16 mixed precision training can solve the instability problem
Reduce the context length (Block size)

Yes, those are ways to reduce the memory requirement. I will also make a fix soon that enables back flash attention: https://github.com/Lightning-AI/lit-parrot/pull/171

Hi @carmocca , can https://github.com/Lightning-AI/lit-parrot/pull/171 save some RAM while pretraining and fine-tuning？

Yes, would you like to port the changes from that PR here? I can do it otherwise

Hi @carmocca , I am not familiar with that, so I am afraid I can't port the change from lit-parrot to lit-llama here.

@carmocca I made a PR for lit-llama by following your PR. However, after I ran finetune/adapter.py on A100, the memory increased from 19.5G to 20.3G. Any idea what I did wrong?


is_tensor_or_variable in losses#get_config not defined

System information

Have I written custom code (as opposed to using example directory):  yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):  macOS
TensorFlow backend (yes / no):  yes
TensorFlow version:  v1.14.0-rc1-22-gaf24dc91b5 1.14.0
Keras version:  2.3.0 88ca804d94a0f978d0522d82a2e2bda26362076a (current master branch)
Python version:  3.7.4
CUDA/cuDNN version:  n/a
GPU model and memory:  Intel HD graphics

Describe the current behavior
When storing a checkpoint using the ModelCheckpoint callback, a call to the undefined is_tensor_or_variable is performed.
  File ".../keras/losses.py", line 137, in get_config
    config[k] = K.eval(v) if is_tensor_or_variable(v) else v
NameError: name 'is_tensor_or_variable' is not defined

The function is used but not defined here:
https://github.com/keras-team/keras/blob/88ca804d94a0f978d0522d82a2e2bda26362076a/keras/losses.py#L137
Describe the expected behavior
I assume that this should be something like https://github.com/tensorflow/tensorflow/blob/e2a6861c2be77412d86bdf433b640ed7dd1de32c/tensorflow/python/keras/utils/tf_utils.py#L384, to act accordingly.
Code to reproduce the issue
import keras

inputs = keras.layers.Input(shape=(1, ))
outputs = keras.layers.Dense(1)(inputs)
model = keras.models.Model(inputs=inputs, outputs=outputs)
model.compile(optimizer='adam', loss=keras.losses.BinaryCrossentropy())

cb = keras.callbacks.ModelCheckpoint('chkpts', period=1)
model.fit([[0]], [[1]], callbacks=[cb])

Maybe is_tensor_or_variable(v) can be replaced by K.is_tensor(v) or K.is_variable(v)?


nvim-comment shows lags when working with ts-context-commentstring

https://user-images.githubusercontent.com/71810726/126464445-63899653-f860-4676-b432-944d881e3a4e.mp4
while tpope/vim-commentary still works properly in the same situation

It would be because ts-context-commentstring only triggers on CursorHoldIand CursorHold meaning that if you issue your commenting issue before those events fired you will still have previous value set for commentstring. You could try my PR https://github.com/terrortylor/nvim-comment/pull/23 which allows you to set hook and update commentstring on demand.

yeah I'd not say this is a problem with this plugin.
@gegoune is working on a PR to give ability to hook third party stuff in, from his readme change explicitly for the plugin you mentioned too.


[fix] handle redirects in handle hook while processing data request

Fixes #7787
During fixing this, I wondered why the tests also pass without the fix, and discovered that this specific behavior will only occur if there's no root +layout.server.js (because then it wouldn't try to rerequest the data, failing again, resulting in a fallback to the server where the redirect would be handled correctly), which we have in the tests. I'm not sure if it's worth creating another test suite for this, so I left it like this.
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

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

Tests

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

Changesets

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

Reading this surprised me, because I found this issue in a project that had +layout.server.js.
After some tests I here's what I found:

if you redirect in hooks.server.js and you don't have +layout.server.js, kit will load that route. If you have +page.server.js in that route, it will fail with a 500 error.
if you have +layout.server.js, the redirect will work.
but then if you don't have +page.server.js, the redirect won't work.

if you have a +page.js that fetches some stuff from an endpoint (which you may also be blocking with hooks) that fails, the page will fail with a 500 error.
if you don't have that, the page will display as normal, even though it shouldn't.


OmniAdvancedRequest.WhatsApp property is missing

I could not find OmniAdvancedRequest.WhatsApp property and WhatsAppData class. Is it not implemented?
https://dev.infobip.com/#programmable-communications/omni-failover/send-omni-failover-message

Hi,
Yes, WhatsApp OMNI flow is currently not implemented.
We just released a new major version of the library.
We are considering adding WhatsApp API standalone endpoints to the new library soon.


Quote filenames generated by a glob, which have whitespace in them

This is in relation to #350.
I also tried to escape the spaces or to use single quotes, but cabal doesn't like either of those.

For reference, the Cabal docs describe the syntax.
Two cases that this patch doesn't handle but probably ought to:

Newline in filename
Double quote in filename

Cases I'd like to see tested:

Single quote in filename
Leading non-space whitespace (e.g., tabs)

This isn't going to be a panacea because Cabal has no way to escape globs, but it's an improvement, and I guess spaces in filenames are common enough that they shouldn't bite people.

Ah, backslashes will also need escaping, since they're legal POSIX path characters and Windows's path component separators.

Currently given the file 'hehe\ kakakaka', hpack outputs ../scenes/hehe\\ kakakaka, which when surrounded with quotes I would expect to work. However it doesn't. I do not understand this.
So
"../scenes/hehe\\ kakakaka"

outputs
Warning: File listed in benchmark.cabal file does not exist: ../scenes/hehe\ kakakaka

However
"../scenes/hehe\\\\ kakakaka"

is fine, there is no warning.
I created the file with
touch 'hehe\\ kakakaka'

(in zsh, don't know if it matters).

Currently given the file 'hehe\ kakakaka', hpack outputs ../targetdir/hehe\\ kakakaka, which when surrounded with quotes I would expect to work. However it doesn't. I do not understand this.
So
"../targetdir/hehe\\ kakakaka"

outputs
Warning: File listed in blabla.cabal file does not exist: ../targetdir/hehe\ kakakaka

However
"../targetdir/hehe\\\\ kakakaka"

is fine, there is no warning.
I created the file with
touch 'hehe\\ kakakaka'

(in zsh, don't know if it matters).
I assume that either

I am stupid
this is some cabal peculiarity

Obviously I can make this work by also escaping \, but I am asking if you could link something relevant so that I don't do something stupid.
(in my package.yaml I have ../targetdir/* listed in extra-source-files)

What command exactly is producing that error?

stack build --fast --file-watch

results in
Warning: File listed in blabla.cabal file does not exist: ../targetdir/hehe\\

Warning: File listed in blabla.cabal file does not exist: kakakaka

after which I modify the blabla.cabal
From:
../targetdir/hehe\\ kakakak

to
"../targetdir/hehe\\ kakakak"

after which
stack build --fast --file-watch

Which results in:
Warning: File listed in blabla.cabal file does not exist: ../targetdir/hehe\ kakakaka

Pushed it to https://github.com/quasicomputational/extra-source-files-backslash
cabal new-build all works fine without warning and new-sdist generates a fine-looking tarball, so I suspect a Stack bug.

Yeah, it's not the box, it's my brain malfunctioning.
I did
touch 'hehe\\ kakakaka'

which, obviously creates a file with two backslashes in it...
Sorry for the waste of time :(
In any case I also fixed backslash escaping. I'm going to push it now.

Should I also fix #342 here?

Good idea. Should be easy now, yeah.

@googleson78 @quasicomputational sorry for joining the party late.  Big thanks to the two of you for taking care of this.  I added some notes that I think we should address before this is good to go.

Ping (?) because I'm not sure if you were actually notified by the last changes here.

I ended up with https://github.com/sol/hpack/commit/89ecd9962ec2d258160119cc185afd5f1c6b5a2f on top of your existing changes. Released to Hackage, thanks a lot for bringing this up.


Etudes Causing Crashes

Describe the bug
Starting etudes causes Toybox to crash.
To Reproduce
Steps to reproduce the behavior:

Search for etudes in Search n Pick
Click start on any listed etude
Toybox crashes

Screenshots

Error message when Toybox crahses
Version Info:

ToyBox Version: 1.4.15
Wrath Version: 1.2.1h

Crashes appears to be resolved for me in ToyBox version 1.4.16, so I am closing the issue.


radarr: <IP_ADDRESS>54 -> <IP_ADDRESS>48

Motivation for this change
https://github.com/Radarr/Radarr/releases/tag/v<IP_ADDRESS>48
Things done
Used the provided ./update.sh to update, I've also updated my own running instance and encountered no issues.

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[x] other Linux distributions

[x] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Added a release notes entry if the change is major or breaking
[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 123932 at ec09f4b7 run on aarch64-linux 1

1 package built successfully:

radarr

1 suggestion:

warning: missing-phase-hooks
installPhase should probably contain runHook preInstall and runHook postInstall.
Near pkgs/servers/radarr/default.nix:28:3:
   |
28 |   installPhase = ''
   |   ^


When will the API documentation for the RAG Evaluation Toolkit be completed?

Checklist

[x] I've searched the project's issues.

❓ Question

At the moment all articles under this URL https://docs.giskard.ai/en/stable/reference/rag-toolset/index.html are empty. When can we expect to get documentation for the API of the RAGET?

@kevinmessiaen, is it related to #2037 ?

@kevinmessiaen, is it related to #2037 ?

Yes it is relates but not fixed yet. I need to find you what is making those page empty when building the doc for production. When building for dev locally those page are well populated.

Hey @LordSyd, could you check again the docs webpage? We have fixed it.
https://docs.giskard.ai/en/latest/reference/rag-toolset/index.html


Need more info on PVS,

[Enter feedback here]
Need better explanation on contents of slog and how it helps the recovery and log truncation?
What happens new when the transaction is committed? Does that get written to version store?
What happens new in checkpoint process?
The article leaves most of the internals for imagination and guess work. It would help to have separate pages for PVS, slog and how it works, so that readers can combine the concepts and understand ADR
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: a825ecf0-9d63-29be-8e8a-aab285a53c7a
Version Independent ID: 4e25d0f7-56b5-3229-89d8-7509264647a5
Content: Accelerated database recovery - Azure SQL
Content Source: articles/azure-sql/accelerated-database-recovery.md
Service: sql-database
Sub-service: high-availability
GitHub Login: @MashaMSFT
Microsoft Alias: mathoma

@githubnagaraj Thank you for the detailed feedback. We are actively investigating and will get back to you soon.

Thanks

@githubnagaraj We really appreciate your concerns and thanks for bringing this to our notice. You can also refer to one of the Whitepaper  published on the same article at Microsoft Research for more details.
Meanwhile, this is being assigned to the content author to evaluate and update as appropriate.

#assign: kfarlee

Hi @githubnagaraj , thank you so much for sharing your feedback! My sincerest apologies for the delay, we've been going addressing a greater than average volume of Git Issues.
I agree there is some value in adding some additional information for how ADR works.  I have created an internal work item to track this work and added it to our backlog to be addressed based on priority: 1799729.
I'm going to close out this Git Issue for the time being but please feel free to comment should you need anything further in the meantime.
Thanks again and I hope you have a wonderful rest of your day!
Masha from the SQL Docs team
#please-close


README file error

The "Fast Youtube Downloader - Downloads YouTube videos quickly with parallel threads using aria2c." doesn't have a link attached to it. The 404 error page is being flashed. The error would be fixed i am on it.

How to use github

How to use github
learn it gradually

How to use github

learn it gradually

Yes


Add textScaleFactor to SelectableText

Related Issues
Closes #44674
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

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

Breaking Change
Does your PR require Flutter developers to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (Please read Handling breaking changes). Replace this with a link to the e-mail where you asked for input on this proposed change.
[x] No, this is not a breaking change.

@goderbauer All done

Sorry i don't know how to write it...

@KagurazakaHanabi
I think this is something you can try
testWidgets('has expected defaults', (WidgetTester tester) async {
    await tester.pumpWidget(
      const MediaQuery(
        data: MediaQueryData(devicePixelRatio: 1.0),
        child: Directionality(
          textDirection: TextDirection.ltr,
          child: SelectableText('selectable text', textSacleFactor: 1.3),
        ),
      ),
    );

   RenderBox box = tester.renderObject(find.byType(SelectableText));
    expect(box.size.height, <some expected value>);
    await tester.pumpWidget(
      const MediaQuery(
        data: MediaQueryData(devicePixelRatio: 1.0),
        child: Directionality(
          textDirection: TextDirection.ltr,
          child: SelectableText('selectable text', textSacleFactor: 1.9),
        ),
      ),
    );
  });
  box = tester.renderObject(find.byType(SelectableText));
    expect(box.size.height, <some different expected value>);


To polyfill or not to polyfill?

Currently SimpleBar use babel-preset-env with a Browserlists setup. During transpilation, some polyfill are added via core-js.
The problem is that the user might not need these polyfills if they target only modern browser.
Our Browserlists setup is the default recommended one so the polyfills are not that big but I'm not sure what's the industry standard regarding this. I know that it's recommended to transpile but it can be done in so many different ways that I'm not sure anymore.

Should we keep transpiling with polyfills?
Is there a way to provide 2 bundles, 1 with polyfills and 1 "raw"? I don't think that's possible.

cc @andersk @adjourn

As far as I can tell, the JS community hasn’t yet standardized on a specification for distribution of pre-transpiled code. We only have pkg.main for CJS/UMD modules of ES5 code and pkg.module for ES6 modules of otherwise-ES5 code. There’s a pkg.ecma proposal that doesn’t seem to have had any adoption by bundlers yet.
One thing we could do easily is include src/ in the package so that users who know what they’re doing can import SimpleBar from "simplebar/src/simplebar.js" directly. We probably ought to be including src/ anyway because dist/simplebar.esm.js.map refers to it.

Yeah afaik the current setup was the most optimised possible but I was still wondering if there was any way to improve that.
However even by doing import SimpleBar from "simplebar/src/simplebar.js" with a bundler like Webpack and usual setup node_modules are not being transpiled, so user would have to configure his bundler etc. So no much benefit.
One thing tho, the bundle could probably be reduced a bit because right now some features are transpiled down to ES5. I think we could transpile down only to anything ES-stable (so prob ES6-7?) and let the user's bundler do the job if they want to polyfill lower than the default.
Of course that's only for consumers of the module version (so in theory modern setups that likely use Babel or equivalent anyway). The UMD would stay untouched.
Thanks for your input!

Because (like you said) node_modules are not usually transpiled, dist/simplebar.esm.js should also stay the way it is. It would be unexpected for import SimpleBar from "simplebar" to pull in anything other than ES5 code.
Adding src/ to the package would give users a way to explicitly opt into pulling in the ES6+ code and accepting responsibility for configuring their bundler to handle it as desired.


Week 4 Review Ticket

[x] Iteration / 2D Array Mini-Lab
[x] Analysis and Completion of Methods and Control Structures FRQ

Name
Review Ticket
Fastpages
Pair Grade

Nicolas Mounier
link
link
2.7

Rohan Gaikwad
link
link
2.7

Bailey Say
link
link
2.7+

Andrew Meng
link
link
2.7+

2.7+/3
Graded by: Evan Sanchez

Good collaboration

Scrum board set up
Crossover reviews

FRQ

Answered correctly
Thorough explanation
Two versions of FRQ

Array
Changed array to OOP instead of imperitive

Grade: 2.7+/3
You guys really pushed yourself in these labs and demonstrated your knowledge! Great job! :)

Good demonstration of collaboration

Scrum board
Roles outlines

Crossover for FRQ

Well completed and good understanding

Bailey and Andrew turned the array lab into object-oriented coding rather than imperative
Rohan reversed the code so that it goes from 1 up

started with team roles and group policies
team work on scrumboard and distributing work
good explainations of 2019 and 2021 frqs, concise
the 2d array labs were unique and included the object oriented method
2.7

Grade: +2.7/3.0

Nicolas and Andrew had unique codes that show their greater understanding of code
Rohan and Bailey choose a harder FRQ --> but had good initiative and persistence in solving the code
Unique ideas for 2D Arrays and weren't afraid to mention that they were confused but still figured the assignment out

2.7+/3

nice explanation on FRQ; could be a bit more concise
great iteration labs! went above and beyond with extra hacks

2.7+/3 for everyone

made a scrum board
finished FRQs and gave an in-depth explanation on the code
finished the iteration lab with hacks like changing the loop and printing horizontally

2.7+/3.0

Made a scrum board
Finished their FRQs with comments for the code\
great presentation overall

Nicolas - Focus on collaboration.   Created a scrum board and roles.  Worked in Pairs.  Nice crossover plans for additional work.
Andrew and Nicolas leap year frq.  Andrew introduced problem and part A.  Andrew focus was on year calc and talked about math.
Rohan and Bailey.  Rohan introduced secret word guess.  Bailey, guess a substring discussed repeating word  and problem of duplicate matching.  Rohan talked about if complexity with examples, better than code by code.  Perhaps comment examples in code would help.  Better guess discussed a lot as op has two params.
Andrew and Bailey worked on horizontal, but big thing was a Dino object.  Figure out dynamics of ArrayList.  Real cool example.
Nicolas and Rohan.  Rohan made cats and focussed on horizontal.  Rohan discussed infinite loop problems.  Nicolas did horizontal with original.
2.9 for Andrew and Bailey with OOP work.
2.8 for Rohan and Nicolas
Really like team planning and work

Score: 2.7+/3 for everyone

Thorough explanation of FRQs
Had Scrum Board prepared
Really interesting iteration labs

2.7+/3 for everyone

Created a good scrum board
FRQs are all completed well
Showed collaboration

2.7+/3

scrumboard looked good and showed clear collaboration
frqs were explained well with the questions and what they did, each step was expalined clearly for find the day, month, year
2021 frq the question was shown and explained difficulty, for the answers, explained with proper vocabulary and the issues that they had and what they did to overcome them
iteration with the dinos, used arraylist which was creative, can edit what is outputted
iteration with cats was done well horizontally is was explained how they did it


repeat install failures for reserde (author pointed me here)

Problem
cargo install reserde
Updating crates.io index
Installing reserde v0.0.4
Compiling proc-macro2 v1.0.32
Compiling unicode-xid v0.2.2
Compiling syn v1.0.81
Compiling serde_derive v1.0.130
Compiling serde v1.0.130
Compiling version_check v0.9.3
Compiling proc-macro-hack v0.5.19
Compiling autocfg v1.0.1
Compiling unicode-segmentation v1.8.0
Compiling libc v0.2.107
Compiling fnv v1.0.7
Compiling static_assertions v1.1.0
Compiling hashbrown v0.11.2
Compiling utf8-ranges v1.0.4
Compiling regex-syntax v0.6.25
Compiling beef v0.5.1
Compiling ryu v1.0.5
Compiling memchr v2.4.1
Compiling wyz v0.2.0
Compiling lazy_static v1.4.0
Compiling unicode-width v0.1.9
Compiling cervine v0.0.6
Compiling gnaw v0.0.2
Compiling debugless-unwrap v0.0.4
Compiling itoa v0.4.8
Compiling percent-encoding v2.1.0
Compiling enum_properties v0.3.0
Compiling strsim v0.8.0
Compiling matches v0.1.9
Compiling tap v1.0.1
Compiling ansi_term v0.11.0
Compiling vec_map v0.8.2
Compiling linked-hash-map v0.5.4
Compiling bitflags v1.3.2
Compiling serde_json v1.0.69
Compiling either v1.6.1
Compiling dtoa v0.4.8
Compiling paste v1.0.6
Compiling half v1.8.2
Compiling joinery v2.1.0
error: failed to run custom build command for serde_derive v1.0.130
Caused by:
could not execute process /tmp/cargo-installXelQ41/release/build/serde_derive-f96c5142af5abcf7/build-script-build (never executed)
Caused by:
Permission denied (os error 13)
warning: build failed, waiting for other jobs to finish...
error: failed to compile reserde v0.0.4, intermediate artifacts can be found at /tmp/cargo-installXelQ41
Caused by:
build failed
Steps

cargo install reserde

Possible Solution(s)
unknown
Notes
the author suggested to take this up with team cargo following issue 36
Version
cargo version --verbose
cargo 1.55.0 (32da73ab1 2021-08-23)
release: 1.55.0
commit-hash: 32da73ab19417aa89686e1d85c1440b72fdf877d
commit-date: 2021-08-23

Can you provide some more information?  Such as:

What operating system and version are you on?
What filesystem is /tmp?
Is the noexec flag set for that mount?
Do you have any sort of anti-virus?

hey, thanks for the excellent questions
the /tmp is indeed set to no exec, there is no explicit mention this is the root cause but i can check
okay, that's it, thanks, i could not deduce this from the information i had available
i assume this could be a request for improvement to alert on what specific permission denied origin is calling this error message

closing

It may be a good idea to suggest the --target-dir option in a case like this, maybe with a link to https://doc.rust-lang.org/cargo/reference/config.html#buildtarget-dir for how to set that up globally.
Is there a way to configure a fallback only when not building a local project?


sendOperationRequest Retry on Server 503 error

Is your feature request related to a problem? Please describe.
There is an issue where if the server returns HTTP status 503 error, the code seems to fail without retrying from a glance at the code (but I am not deeply familiar with Azure SDK for JavaScript). Here is the code:
https://github.com/Azure/azure-sdk-for-js/blob/2a9480e520e2ee772eb6578037ea5bc74538b883/sdk/core/core-client/src/serviceClient.ts#L217C10-L217C10
According to the code, it doesn't check to see if HTTP status 503 was returned.
Info on HTTP 503 error:
https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/503
Describe the solution you'd like
Retry HTTP 503 errors.
Describe alternatives you've considered
Retry from code that consumes the SDK, but it is not feasible for user to wrap all SDK calls in retry code to handle HTTP 503 errors.
Error
Creating resource group: azure-sample-javascript-resourcegroup
node : Error occurred in one of the operations
At line:1 char:51
+ npm install | Out-Host; npm run build | Out-Host; node . 2>&1 | Out-H ...
+                                                   ~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Error occurred in one of the operations:String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError

CredentialUnavailableError: endpoints_resolution_error: Error: could not resolve endpoints. Please check network and
try again. Detail: ClientAuthError: openid_config_error: Could not retrieve endpoints. Check your authority and verify
the .well-known/openid-configuration endpoint returns the required endpoints. Attempted to retrieve endpoints from:
<login endpoint>/<tenant ID>/v2.0/.well-known/openid-configuration
    at MsalClientSecret.handleError (F:\ArcAInstall\ArcADeployment\CloudTest\Tests\Microsoft.AzureStack.Workloads.E2ETe
sts\content\DeveloperExperience\Arc-A\samples\Hybrid-JavaScript-Samples\resourcegroup\node_modules\@azure\identity\dist
\index.js:455:28)
    at MsalClientSecret.doGetToken (F:\ArcAInstall\ArcADeployment\CloudTest\Tests\Microsoft.AzureStack.Workloads.E2ETes
ts\content\DeveloperExperience\Arc-A\samples\Hybrid-JavaScript-Samples\resourcegroup\node_modules\@azure\identity\dist\
index.js:3177:24)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Object.withSpan (F:\ArcAInstall\ArcADeployment\CloudTest\Tests\Microsoft.AzureStack.Workloads.E2ETests\con
tent\DeveloperExperience\Arc-A\samples\Hybrid-JavaScript-Samples\resourcegroup\node_modules\@azure\identity\node_module
s\@azure\core-tracing\dist\index.js:140:28)
    at async tryGetAccessToken (F:\ArcAInstall\ArcADeployment\CloudTest\Tests\Microsoft.AzureStack.Workloads.E2ETests\c
ontent\DeveloperExperience\Arc-A\samples\Hybrid-JavaScript-Samples\resourcegroup\node_modules\@azure\core-rest-pipeline
\dist\index.js:1890:32)
    at async beginRefresh (F:\ArcAInstall\ArcADeployment\CloudTest\Tests\Microsoft.AzureStack.Workloads.E2ETests\conten
t\DeveloperExperience\Arc-A\samples\Hybrid-JavaScript-Samples\resourcegroup\node_modules\@azure\core-rest-pipeline\dist
\index.js:1898:17)
    at async Object.defaultAuthorizeRequest [as authorizeRequest] (F:\ArcAInstall\ArcADeployment\CloudTest\Tests\Micros
oft.AzureStack.Workloads.E2ETests\content\DeveloperExperience\Arc-A\samples\Hybrid-JavaScript-Samples\resourcegroup\nod
e_modules\@azure\core-rest-pipeline\dist\index.js:2014:25)
    at async Object.sendRequest (F:\ArcAInstall\ArcADeployment\CloudTest\Tests\Microsoft.AzureStack.Workloads.E2ETests\
content\DeveloperExperience\Arc-A\samples\Hybrid-JavaScript-Samples\resourcegroup\node_modules\@azure\core-rest-pipelin
e\dist\index.js:2064:13)
    at async ResourceManagementClient.sendOperationRequest (F:\ArcAInstall\ArcADeployment\CloudTest\Tests\Microsoft.Azu
reStack.Workloads.E2ETests\content\DeveloperExperience\Arc-A\samples\Hybrid-JavaScript-Samples\resourcegroup\node_modul
es\@azure\core-client\dist\index.js:1894:33)

Other details
Package details:
  "dependencies": {
    "@azure/arm-resources-profile-2020-09-01-hybrid": "^2.0.0",
    "@azure/identity": "^3.3.0",
    "axios": "^0.26.1"
  },

https://github.com/Azure-Samples/Hybrid-JavaScript-Samples/blob/winfield/resourcegroup/package.json

So our default retry policy should retry on 503: https://github.com/Azure/azure-sdk-for-js/blob/26a626b01b44763613c281a3505c03dea11cab29/sdk/core/core-rest-pipeline/src/retryStrategies/exponentialRetryStrategy.ts#L86C17-L86C43
But I'd like to understand the scenario you are facing a bit better, since it appears that you are using the Identity package and one of the managed identity credentials. Can you add some details about which exact credential you are using, what version of @azure/identity you are using, what package/client/operation you are using this credential with, and the environment you are running this inside of?
The endpoints_resolution_error itself looks like something from the underlying msal-node library.

Hi @xirzec, the version of @azure/Identity is 3.3.0. I am using a service principal secret credentials. I think I am running this in a Windows Datacenter 2019 or 2022. I don't know which one specifically, so I will have to get back to you on that if it is urgent.
Here is the code that was run:
https://github.com/Azure-Samples/Hybrid-JavaScript-Samples/blob/winfield/resourcegroup/index.ts

Closing this issue as it seems JavaScript SDK does use retries. Seems to be a coincidence on our end that JavaScript SDK is failing. Not 100% sure if that is the case but can re-open this issue if it is.


ACM-2428 Do not apply certain subscription temptifly styles to wizard

Before:

After:

/cc @jeswanke


BUG: Fix place_poles return values

place_poles was not returning nb_iter and rtol set accordingly to the docstring in some specific cases (when the solution is obvious and when we can't improve the transfer matrix at all, i.e it is unique).
Furthermore the docstring of these two return values was really unclear and the comments in the code were misleading too because of some early assumptions I never updated.

LGTM. Squashed and merged in df8a137. Thanks @I--P.


Added tests for video next/previous frame

Added test for the new set_current_frame function. Fixed the next/previous frame tests. (Also changed video overlay test, because it requires the video to be stopped.)

Note, The test_stop_video-test has been removed because it is a duplicate of another test (test_set_stop_video).


Datetime plotting skew incurred by 000 microseconds (not milliseconds).

Version
4.8.0
Reproduction link
https://jsfiddle.net/n24awcmL/16/
Steps to reproduce
Plot a simple line chart with the following datapoints:  [['2020-08-26T20:30:01.698Z', 0], ['2020-08-26T20:30:01.698000Z', 10]]
What is expected?
Should see a vertical line at 1:30pm PDT. (or whatever timezone you are at).
What is actually happening?
One of the data points is plotted at [1:41PDT, 10]. a full 11 minutes skewed forward in time!?

We use Django for the backend. Python's iso8601 date formatter goes to six decimal places, by default.  We are working around this issue by using a custom timedate formatter on the backend, but echarts really should not be thrown off by a bunch of zeros.  The drift is not a fixed 11 minutes in our experience. It seems to vary according to other aspects of the datetime string.

Seems like a bug when converting time from string to timestamp (698000 ms is exactly about 11 minutes).


feat: Support per-output parameter aggregation. Fixes #2393

Currently Argo only supports the {{tasks.<TASKNAME>.outputs.parameters.<NAME>}} placeholder for the outputs of normal nodes. (For the outputs of the loop nodes there is the {{tasks.<TASKNAME>.outputs.parameters}} placeholder, which is replaced with JSON-serialized list of parameter value maps.
This PR adds support for the {{tasks.<TASKNAME>.outputs.parameters.<NAME>}} placeholder for the outputs of the loop nodes. The placeholder is replaced with JSON-serialized list of parameter values.
Fixes #2393
Checklist:

[x] Either (a) I've created an enhancement proposal and discussed it with the community, (b) this is a bug fix, or (c) this is a chore.
[x] The title of the PR is (a) conventional, (b) states what changed, and (c) suffixes the related issues number. E.g. "fix(controller): Updates such and such. Fixes #1234".
[x] My organization is added to USERS.md.
[x] I've signed the CLA.
[ ] I have written unit and/or e2e tests for my change. PRs without these are unlikely to be merged.
[ ] My builds are green. Try syncing with master if they are not.

@Ark-kun please mark this as "Ready for Review" when it's so and I'll take a look

@Ark-kun we're going to review some unfinished PRs to determine if we should finish them. Do you plan to continue on this, please?

@Ark-kun we're going to review some unfinished PRs to determine if we should finish them. Do you plan to continue on this, please?

Hello. I think this PR should be ready.
For some reason I'm getting several tests failures in the areas I have not touched.

Can we add a test please?

This would be great, but I have not found the tests for the main feature (parameter aggregation), so it looks like this will require non-trivial amount of work.

Will we see this PR released in argo v2.13?


offline database docs stopped working

Issues downloading offilne db...
$ wget https://github.com/aquasecurity/trivy-db/releases/latest/download/trivy-offline.db.tgz
--2021-09-12 21:57:24--  https://github.com/aquasecurity/trivy-db/releases/latest/download/trivy-offline.db.tgz
Resolving github.com (github.com)... <IP_ADDRESS>
Connecting to github.com (github.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github.com/aquasecurity/trivy-db/releases/download/v1-2021091218/trivy-offline.db.tgz [following]
--2021-09-12 21:57:24--  https://github.com/aquasecurity/trivy-db/releases/download/v1-2021091218/trivy-offline.db.tgz
Reusing existing connection to github.com:443.
HTTP request sent, awaiting response... 302 Found
Location: https://github-releases.githubusercontent.com/216830441/2215ba84-a5cf-4da9-bc67-37d5e96b10d2?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210912%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210912T215548Z&X-Amz-Expires=300&X-Amz-Signature=684903f16b84cce33c66e0b06325f5638962606893839bec6f01b1ed84798218&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=216830441&response-content-disposition=attachment%3B filename%3Dtrivy-offline.db.tgz&response-content-type=application%2Foctet-stream [following]
--2021-09-12 21:57:24--  https://github-releases.githubusercontent.com/216830441/2215ba84-a5cf-4da9-bc67-37d5e96b10d2?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210912%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210912T215548Z&X-Amz-Expires=300&X-Amz-Signature=684903f16b84cce33c66e0b06325f5638962606893839bec6f01b1ed84798218&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=216830441&response-content-disposition=attachment%3B filename%3Dtrivy-offline.db.tgz&response-content-type=application%2Foctet-stream
Resolving github-releases.githubusercontent.com (github-releases.githubusercontent.com)... 2606:50c0:8001::154, 2606:50c0:8000::154, 2606:50c0:8003::154, ...
Connecting to github-releases.githubusercontent.com (github-releases.githubusercontent.com)|2606:50c0:8001::154|:443... failed: Connection timed out.
Connecting to github-releases.githubusercontent.com (github-releases.githubusercontent.com)|2606:50c0:8000::154|:443... failed: Connection timed out.
Connecting to github-releases.githubusercontent.com (github-releases.githubusercontent.com)|2606:50c0:8003::154|:443... failed: Connection timed out.
Connecting to github-releases.githubusercontent.com (github-releases.githubusercontent.com)|2606:50c0:8002::154|:443... failed: Connection timed out.
Connecting to github-releases.githubusercontent.com (github-releases.githubusercontent.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2021-09-12 22:06:08 ERROR 403: Forbidden.
Interestingly enough:
curl -LJO https://github.com/aquasecurity/trivy-db/releases/latest/download/trivy-offline.db.tgz
Works.

Looks like there are wget IPv6 DNS queries on one of my systems. Strange - but I'll close as it works when I set to IPv4.


What is the difference between the support for reflection in Codon and Python?

I did not see any relevant search instructions in the document.
Can someone give me some guidance？

I have another question, when will there be more than one occurrence in RecordType:: flatten(). I see such comments in the relevant code:
/**
 * A static integer type (e.g. N in def foo[N: int]). Usually an integer, but
 * can point to a static expression.
 */

but I don't quite understand this scenario. Can you give a specific example?

Codon has no reflection whatsoever (well, there is limited RTTI info for polymorphic classes, but it is not exposed).
flatten is there to support cases such as Tuple[5, int] which expands to Tuple[int,int,int,int,int]. It is not pretty and will be removed in the next versions.


fix: add ID numbers for AutoCharger message definitions

206xx was the fist range in the vendor-specific range with 100 IDS free


Set pageSize of table based on height

so that we don't need a vertical scrollbar

Coverage increased (+0.007%) to 71.702% when pulling cd36ec64c69a35cc43c199bbe54caacffb1e4765 on pagesize-table-height into c1dad3fc2c497cbe931a02ad464bb67c98e31621 on master.

Coverage increased (+0.02%) to 71.715% when pulling 706752a5f8dcc5f4091129d42d53f61b237ca93c on pagesize-table-height into c1dad3fc2c497cbe931a02ad464bb67c98e31621 on master.


refactor(app): use LocalStorage to save recent used sortKey for protocols lilst

Overview
use LocalStorage to save the used sort key for the protocols list
Close RAUT-227

Changelog

add a custom hook
add a test case for useLocalStorage

Review requests

[ ] If there is a better way to do this, please let me know.
[ ] Currently, put under ProtocolsLanding, but we may need to call this custom hook from a different page/screen
Should I move this function to a different folder? If so, any suggestions?
[ ] change the sort key from alphabetical to something and close the app then re-open the app and check the sort key

Risk assessment
low

[ ] fix test errors

[ ] switch this to the way to use a config file in app-shell

Close this because I created another branch to fix this issue. The PR will be open in this month


How to use your plugin?

It was written 2 years ago, for an old version of Insomnia. I'm not using it anymore, and it might not work at all with latest versions - it's possible that they introduced some breaking changes.

thx for answer!
have your solution to send array from environment? i dont know jow to do that
if i try to do tha - i got:
{
"str" :  "[object Object],[object Object]"
}


Fail to start kreator.js

Hi there,
First, thanks a lot for the GUI editor initiative (and a free alternative to slid.es)!
I downloaded all the files, run npm install and got no issue at this point, but something goes wrong when I try to actually run kreator.js with npm run start. Here is what I get in npm-debug.log:

0 info it worked if it ends with ok
1 verbose cli [ 'C:\Program Files\nodejs\\node.exe',
1 verbose cli   'C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js',
1 verbose cli   'run',
1 verbose cli   'start' ]
2 info using<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 verbose node symlink C:\Program Files\nodejs\node.exe
5 verbose run-script [ 'prestart', 'start', 'poststart' ]
6 info prestart kreator.js@
7 info start kreator.js@
8 verbose unsafe-perm in lifecycle true
9 info kreator.js@ Failed to exec start script
10 error kreator.js@ start: ./node_modules/http-server/bin/http-server
10 error Exit status 1
11 error Failed at the kreator.js@ start script.
11 error This is most likely a problem with the kreator.js package,
11 error not with npm itself.
11 error Tell the author that this fails on your system:
11 error     ./node_modules/http-server/bin/http-server
11 error You can get their info via:
11 error     npm owner ls kreator.js
11 error There is likely additional logging output above.
12 error System Windows_NT 6.2.9200
13 error command "C:\Program Files\nodejs\\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "run" "start"
14 error cwd C:\Users\user\Desktop\kreator.js-master
15 error node -v v0.10.26
16 error npm -v 1.4.3
17 error code ELIFECYCLE
18 verbose exit [ 1, true ]

I am trying to run it on Windows 8.1. Any ideas on how to solve that? Thanks in advance!
[Edit] Alright, I got the server running by using npm run start in kreator.js-master\node_modules\http-server directory, but still can't use the editor (the interface is unresponsive if I open index.html and try to create/edit my presentations there). I suppose I should only go to localhost:8080 but it only shows the node.js rocket/tortoise picture. I guess running npm run start from the above directory does not start every requirements.
[Edit 2] Managed to get npm run start working in a Linux VM, but the interface of kreator.js on localhost:8080 is still unresponsive in Firefox. The theme menu kind of works, but the selected theme won't apply. What doesn't work: uploading an index.html, adding slides, setting a title, downloading, hiding the side bar, showing tour, adding anything to the slide (I have not the toolbar I've seen in the kreator.js Youtube video), using device as remote. It seems clicking on buttons and links just does nothing, clicking on the background doesn't either, and the toolbar is missing.

Updated the README.


'docker push' should figure out which images to push in one pass

At somewhere around a second per layer-attempt, this is just silly:
Pushing tag for rev [fbfaa6e4936f] on {https://cdn-registry-1.docker.io/v1/repositories/wking/gentoo-openrc/tags/latest}
The push refers to a repository [wking/gentoo-syslog] (len: 1)
Sending image list
Pushing repository wking/gentoo-syslog (1 tags)
6500a7bbc835: Image already pushed, skipping
50deaa9560b4: Image already pushed, skipping
35d81e7b8526: Image already pushed, skipping
c13686ec3c49: Image already pushed, skipping
96b283b060c2: Image already pushed, skipping
…

Maybe we need an endpoint so the client can say “I'm about to push these images: [6500a7bbc835, 50deaa9560b4, …]” and the registry can say, “actually, I already have some of those, you only need to push: […]”.

ping @dmcgowan @jlhawn @steeve @dmp42

@jfrazelle I don't think there is a point in making this happen for v1.
I would close this issue (for the reasons I pointed out in https://github.com/docker/docker/issues/8188#issuecomment-62758748 - the desire for this arose from the fact the performance sucks, and this is what should be fixed, and what is fixed by the new protocol).

@dmp42 as this one is now closed and push is still ridiculously slow is there an issue to track work on the new protocol?

@Maxim-Filimonov are you having issues with a private registry? what storage backend is it using? what version of docker are you using? are you using a v2 registry?
I would suggest you file an issue on https://github.com/docker/distribution - providing the informations listed in https://github.com/dmp42/distribution/blob/docs-rework/CONTRIBUTING.md#reporting-an-issue-properly

@dmp42 I'm not sure which registry version is used by hub.docker.com. That is the registry we push to.

@Maxim-Filimonov Hub runs both versions.
Which one is used depends on docker version (1.6 goes to registry 2, older versions go to registry 1).
Definitely interested in hearing feedback about your experience with it.
There is a lot to explain about the design choices that were made (security and ACL simplicity over pure push performance is a conscious choice, and also emphasis on pull performance over push), and also about what is going to be done to enhance the performance on push now that the ground is laid down for the new protocol.
I would definitely recommend you reach on irc #docker-distribution (@stevvooe or me) if you want to discuss this, or indeed opening an issue on https://github.com/docker/distribution with your use case that should be optimized.
Thanks for taking the time to discuss this.


deploy audited Prepayment, RR and VRF contracts on Baobab

Description
This PR is includes deployment of latest Prepayment, RR, and VRF contract on Baobab.

Prepayment contract: 0xf37a736b476fCEaB261371A3B3B330772630b0bF
RR Coordinator contract: 0x9c73342afD279Cb3106a8F45788973F512d9e40a
VRF Coordinator contract: 0x6B4c0b11bd7fE1E9e9a69297347cFDccA416dF5F

Fixes # (issue)
Type of change
Please delete options that are not relevant.

[x] New feature (non-breaking change which adds functionality)
[x] This change requires a documentation update

Checklist before requesting a review

[x] I have performed a self-review of my code.

LGTM! Can you please remove the old VRFCoordinator and RequestResponseCoordinator from this directory? https://github.com/Bisonai/orakl/tree/i-660/feat/deploy-audited-contracts/contracts/deployments/baobab

Yes, let's keep it clean.


Check ABRecord for type?

I'm trying to distinct between people and organization during a sync process.
Now I'm stuck with detecting whether it's an organization or a person I'm trying to sync.
Here's the code which throws a "unexpected nil" exception:
if let companies = swiftAddressBook?.allPeopleInSource(defaultSource){
    for company in companies{
        if company.type == .organization{ // <= error is thrown here

Which seems to be thrown in SwiftAddressBook over here:
public enum SwiftAddressBookPersonType {

case person, organization

init(type : CFNumber?) {
    //error is thrown on next line because "type" is nil
    if CFNumberCompare(type, kABPersonKindPerson, nil) == CFComparisonResult.CompareEqualTo

Any Idea why the error is thrown? Unfortunately I need to resolve this issue asap because I have to finish the App till the end of this week :(
Any help is highly appreciated.

Ok I think I tracked down the error: It only occurs during syncing a person with a "MiddleName".
That pointed me into the right direction - as I stumbled across the following piece of code which is responsible of setting/getting the SwiftAddressBookPersonType:
public var type : SwiftAddressBookPersonType? {
    get {
        return SwiftAddressBookPersonType(type : extractProperty(kABPersonMiddleNameProperty))
    }
    set {
        setSingleValueProperty(kABPersonMiddleNameProperty, newValue?.abPersonType)
    }
}

Seems like a property mismatch here. I assume the kABPersonMiddleNameProperty should be named kABPersonKindProperty ?
However, after inserting the kABPersonKindProperty instead of kABPersonMiddleNameProperty the sync seems to run fine.

Sorry for not answering yet. The reason is simple: CFNumberCompare(number1, number2, nil) throws an exception if either number1 or number2 or both are nil - thus, if no type is set on a user, initializing the SwiftAddressBookPersonType struct from type nil will crash.

At least I hope that was your issue. Otherwise you can of course reopen that one!

Sorry, I have read your comments too late. I´ve fixed one bug, however, that bug was not the only one  responsible for the issue.