Problems reading NGAC grib files

I'm trying to read the NGAC grib files http://www.ftp.ncep.noaa.gov/data/nccf/com/ngac/prod/ngac.20180918/
It seems that the way that NCEP is storing the data is a little incompatable with pygrib.  Is it an issue of using the correct grib table to define these?  Can the eccodes backend handle that?
In [1]: import pygrib

In [2]: f = pygrib.open('ngac.t00z.a2df00.grib2')

In [3]: f.read()
Out[3]:
[1:104:104 (instant):regular_ll:atmosphere:level 0 -:fcst time 0 hrs:from<PHONE_NUMBER>00,
 2:103:103 (instant):regular_ll:atmosphere:level 0 -:fcst time 0 hrs:from<PHONE_NUMBER>00,
 3:102:102 (instant):regular_ll:atmosphere:level 0 -:fcst time 0 hrs:from<PHONE_NUMBER>00,
 4:102:102 (instant):regular_ll:atmosphere:level 0 -:fcst time 0 hrs:from<PHONE_NUMBER>00,
 5:102:102 (instant):regular_ll:atmosphere:level 0 -:fcst time 0 hrs:from<PHONE_NUMBER>00,
 6:102:102 (instant):regular_ll:atmosphere:level 0 -:fcst time 0 hrs:from<PHONE_NUMBER>00,
 7:102:102 (instant):regular_ll:atmosphere:level 0 -:fcst time 0 hrs:from<PHONE_NUMBER>00,
 8:102:102 (instant):regular_ll:atmosphere:level 0 -:fcst time 0 hrs:from<PHONE_NUMBER>00,
 9:Mass mixing ratio:mass fraction in air (instant):regular_ll:atmosphere:level 0 -:fcst time 0 hrs:from<PHONE_NUMBER>00,
 10:11:11 (instant):regular_ll:atmosphere:level 0 -:fcst time 0 hrs:from<PHONE_NUMBER>00,
 11:12:12 (instant):regular_ll:atmosphere:level 0 -:fcst time 0 hrs:from<PHONE_NUMBER>00,
 12:Surface dry deposition mass flux into stomata	kg.m-2.s-1:unknown (instant):regular_ll:atmosphere:level 0 -:fcst time 0 hrs:from<PHONE_NUMBER>00,
 13:10:10 (instant):regular_ll:atmosphere:level 0 -:fcst time 0 hrs:from<PHONE_NUMBER>00,
 14:Mass mixing ratio:mass fraction in air (instant):regular_ll:atmosphere:level 0 -:fcst time 0 hrs:from<PHONE_NUMBER>00,
 15:11:11 (instant):regular_ll:atmosphere:level 0 -:fcst time 0 hrs:from<PHONE_NUMBER>00,
 16:12:12 (instant):regular_ll:atmosphere:level 0 -:fcst time 0 hrs:from<PHONE_NUMBER>00,
 17:Surface dry deposition mass flux into stomata	kg.m-2.s-1:unknown (instant):regular_ll:atmosphere:level 0 -:fcst time 0 hrs:from<PHONE_NUMBER>00,
 18:10:10 (instant):regular_ll:atmosphere:level 0 -:fcst time 0 hrs:from<PHONE_NUMBER>00,
 19:Mass mixing ratio:mass fraction in air (instant):regular_ll:atmosphere:level 0 -:fcst time 0 hrs:from<PHONE_NUMBER>00,
 20:11:11 (instant):regular_ll:atmosphere:level 0 -:fcst time 0 hrs:from<PHONE_NUMBER>00,
 21:12:12 (instant):regular_ll:atmosphere:level 0 -:fcst time 0 hrs:from<PHONE_NUMBER>00,
 22:Surface dry deposition mass flux into stomata	kg.m-2.s-1:unknown (instant):regular_ll:atmosphere:level 0 -:fcst time 0 hrs:from<PHONE_NUMBER>00,
 23:10:10 (instant):regular_ll:atmosphere:level 0 -:fcst time 0 hrs:from<PHONE_NUMBER>00,
 24:Mass mixing ratio:mass fraction in air (instant):regular_ll:atmosphere:level 0 -:fcst time 0 hrs:from<PHONE_NUMBER>00,
 25:11:11 (instant):regular_ll:atmosphere:level 0 -:fcst time 0 hrs:from<PHONE_NUMBER>00,
 26:12:12 (instant):regular_ll:atmosphere:level 0 -:fcst time 0 hrs:from<PHONE_NUMBER>00,
 27:Surface dry deposition mass flux into stomata	kg.m-2.s-1:unknown (instant):regular_ll:unknown:level 0:fcst time 0 hrs:from<PHONE_NUMBER>00,
 28:10:10 (instant):regular_ll:unknown:level 0:fcst time 0 hrs:from<PHONE_NUMBER>00,
 29:Mass density:concentration (instant):regular_ll:surface:level 0:fcst time 0 hrs:from<PHONE_NUMBER>00,
 30:Mass density:concentration (instant):regular_ll:surface:level 0:fcst time 0 hrs:from<PHONE_NUMBER>00,
 31:Total column:integrated mass density (instant):regular_ll:atmosphere:level 0 -:fcst time 0 hrs:from<PHONE_NUMBER>00,
 32:Total column:integrated mass density (instant):regular_ll:atmosphere:level 0 -:fcst time 0 hrs:from<PHONE_NUMBER>00]

Notice that this doesn't give the short names correctly but rather the variable long name description as the name.  This is almost indeciferable.  wgrib2 output looks way different.
1:0:d=2018091200:ASYSFK:entire atmosphere:105 hour fcst:aerosol=Total Aerosol:aerosol_size <2e-05:aerosol_wavelength >=3.38e-07,<=3.42e-07
2:88995:d=2018091200:SSALBK:entire atmosphere:105 hour fcst:aerosol=Total Aerosol:aerosol_size <2e-05:aerosol_wavelength >=3.38e-07,<=3.42e-07
3:173734:d=2018091200:AOTK:entire atmosphere:105 hour fcst:aerosol=Total Aerosol:aerosol_size <2e-05:aerosol_wavelength >=5.45e-07,<=5.65e-07
4:257495:d=2018091200:AOTK:entire atmosphere:105 hour fcst:aerosol=Dust Dry:aerosol_size <2e-05:aerosol_wavelength >=5.45e-07,<=5.65e-07
5:308070:d=2018091200:AOTK:entire atmosphere:105 hour fcst:aerosol=Sea Salt Dry:aerosol_size <2e-05:aerosol_wavelength >=5.45e-07,<=5.65e-07
6:381840:d=2018091200:AOTK:entire atmosphere:105 hour fcst:aerosol=Sulphate Dry:aerosol_size <7e-07:aerosol_wavelength >=5.45e-07,<=5.65e-07
7:434792:d=2018091200:AOTK:entire atmosphere:105 hour fcst:aerosol=Particulate Organic Matter Dry:aerosol_size <7e-07:aerosol_wavelength >=5.45e-07,<=5.65e-07
8:496510:d=2018091200:AOTK:entire atmosphere:105 hour fcst:aerosol=Black Carbon Dry:aerosol_size <7e-07:aerosol_wavelength >=5.45e-07,<=5.65e-07
9:551432:d=2018091200:AEMFLX:entire atmosphere:105 hour fcst:aerosol=Dust Dry:aerosol_size <2e-05:
10:559057:d=2018091200:SEDMFLX:entire atmosphere:105 hour fcst:aerosol=Dust Dry:aerosol_size <2e-05:
11:598927:d=2018091200:DDMFLX:entire atmosphere:105 hour fcst:aerosol=Dust Dry:aerosol_size <2e-05:
12:646148:d=2018091200:WLSMFLX:entire atmosphere:105 hour fcst:aerosol=Dust Dry:aerosol_size <2e-05:
13:684570:d=2018091200:WDCPMFLX:entire atmosphere:105 hour fcst:aerosol=Dust Dry:aerosol_size <2e-05:
14:718763:d=2018091200:AEMFLX:entire atmosphere:105 hour fcst:aerosol=Sea Salt Dry:aerosol_size <2e-05:
15:766737:d=2018091200:SEDMFLX:entire atmosphere:105 hour fcst:aerosol=Sea Salt Dry:aerosol_size <2e-05:
16:830919:d=2018091200:DDMFLX:entire atmosphere:105 hour fcst:aerosol=Sea Salt Dry:aerosol_size <2e-05:
17:897610:d=2018091200:WLSMFLX:entire atmosphere:105 hour fcst:aerosol=Sea Salt Dry:aerosol_size <2e-05:
18:952870:d=2018091200:WDCPMFLX:entire atmosphere:105 hour fcst:aerosol=Sea Salt Dry:aerosol_size <2e-05:
19:1000818:d=2018091200:AEMFLX:entire atmosphere:105 hour fcst:aerosol=Black Carbon Dry:aerosol_size <2.36e-08:
20:1020808:d=2018091200:SEDMFLX:entire atmosphere:105 hour fcst:aerosol=Black Carbon Dry:aerosol_size <7e-07:
21:1066505:d=2018091200:DDMFLX:entire atmosphere:105 hour fcst:aerosol=Black Carbon Dry:aerosol_size <7e-07:
22:1104627:d=2018091200:WLSMFLX:entire atmosphere:105 hour fcst:aerosol=Black Carbon Dry:aerosol_size <7e-07:
23:1140259:d=2018091200:WDCPMFLX:entire atmosphere:105 hour fcst:aerosol=Black Carbon Dry:aerosol_size <7e-07:
24:1168276:d=2018091200:AEMFLX:entire atmosphere:105 hour fcst:aerosol=Particulate Organic Matter Dry:aerosol_size <7e-07:
25:1186046:d=2018091200:SEDMFLX:entire atmosphere:105 hour fcst:aerosol=Particulate Organic Matter Dry:aerosol_size <7e-07:
26:1231200:d=2018091200:DDMFLX:entire atmosphere:105 hour fcst:aerosol=Particulate Organic Matter Dry:aerosol_size <7e-07:
27:1280346:d=2018091200:WLSMFLX:no_level:105 hour fcst:aerosol=Particulate Organic Matter Dry:aerosol_size <7e-07:
28:1327429:d=2018091200:WDCPMFLX:no_level:105 hour fcst:aerosol=Particulate Organic Matter Dry:aerosol_size <7e-07:
29:1359326:d=2018091200:MASSDEN:surface:105 hour fcst:aerosol=Dust Dry:aerosol_size <1e-05:
30:1391056:d=2018091200:MASSDEN:surface:105 hour fcst:aerosol=Dust Dry:aerosol_size <2.5e-06:
31:1427968:d=2018091200:COLMD:entire atmosphere:105 hour fcst:aerosol=Dust Dry:aerosol_size <1e-05:
32:1468168:d=2018091200:COLMD:entire atmosphere:105 hour fcst:aerosol=Dust Dry:aerosol_size <2.5e-06:

I realize this is a little different time from the wgrib2 output but the file contents are the same other than a different time

Looks like the ECCODES does not populate the shortName key, only the parameterName.  Don't know if this is an issue with the file or the library.

@jswhit is it that eccodes does not read table 4 template 48?  It appears that this is how the files are encoded.

I have no idea - would have to dig into the ecCodes source code to figure that out.  It's [here] (https://confluence.ecmwf.int//display/ECC/Releases) if you want to take a look.

It is strange.  The table is there but when you go to http://apps.ecmwf.int/codes/grib/format/grib2/templates/4/ it doesn't show template 4.48


Problem with screen sharing during a call

My Setup

Operating System: Windows 10 Pro
App Version: Rocket.chat 3.1.1 and Rocket.chat 3.2.3
Installation type: exe

[x] I have tested with the latest version
[ ] I can simulate the issue easily

Description

1.there is a call between two users
2.the first user shows their screen
3.the second user looks in full screen mode
4.the call ends
5.the second user sees a blank screen in all rooms
Current Behavior
Expected Behavior

Please test if the problem persists with our latest release. I will be closing the issue but if there is any problem yet, we will open it again.


daemon: listen on IPv4 and IPv6 for health endpoint

If the agent liveness/readiness probe host is set to the IPv6 address
::1 instead of the default IPv4 <IP_ADDRESS>, Cilium never becomes ready in
an IPv6-only environment. This is because the daemon health endpoint
currently listens on localhost:9876 which will not listen on both IPv4
and IPv6.
To fix this, listen on both IPv4 and IPv6 explicitly (depending on the
daemon's enable-ipv{4,6} flags) and only fail with an error if both of
them fail or one was disabled and the other one fails.
Also change liveness and readiness probes to perform the requests on <IP_ADDRESS> or ::1 depending on the enable-ipv4 flag as suggested in https://github.com/cilium/cilium/issues/13165#issuecomment-694086544.
Fixes #13165
Fix agent liveness/readiness probes for IPv6-only environment.

test-me-please

Manually tested in the dev VM as follows:

IPv4 and IPv6:

# check that lo interface has both IPv4 and IPv6 address
$ ip addr show lo
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet <IP_ADDRESS>/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
$ sudo journalctl -u cilium | grep "healthz status API server"
Sep 17 10:25:10 runtime1 cilium-agent[16392]: level=info msg="Started healthz status API server on address <IP_ADDRESS>:9876" subsys=daemon
Sep 17 10:25:10 runtime1 cilium-agent[16392]: level=info msg="Started healthz status API server on address [::1]:9876" subsys=daemon
$ curl -I <IP_ADDRESS>:9876/healthz
HTTP/1.1 200 OK
Date: Thu, 17 Sep 2020 10:44:13 GMT
$ curl -I [::1]:9876/healthz
HTTP/1.1 200 OK
Date: Thu, 17 Sep 2020 10:44:34 GMT

IPv4 only:

# disable IPv6 address on lo interface
$ sudo ip addr del ::1/128 dev lo
$ ip addr show lo
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet <IP_ADDRESS>/8 scope host lo
       valid_lft forever preferred_lft forever
$ sudo systemctl restart cilium
$ sudo journalctl -u cilium | grep "healthz status API server"
Sep 17 10:49:09 runtime1 cilium-agent[24453]: level=info msg="Started healthz status API server on address <IP_ADDRESS>:9876" subsys=daemon
Sep 17 10:49:09 runtime1 cilium-agent[24453]: level=info msg="healthz status API server not available on [::1]:9876" subsys=daemon
$ curl -I <IP_ADDRESS>:9876/healthz
HTTP/1.1 200 OK
Date: Thu, 17 Sep 2020 10:49:46 GMT
$ curl -I [::1]:9876/healthz
curl: (7) Couldn't connect to server

IPv6 only:

Currently, Cilium fails to come up propery if the lo interface is IPv6 only.

Thanks for your review @sayboras

We have conformance test with ipv6 only cluster, just curious why underlying issue happened thinking

Just a guess, maybe because the helm chart was always hard-coding <IP_ADDRESS> and likely the lo interface in the ipv6 cluster still has IPv4 configured? I see the PR is currently failing on that GH action, so I will try to replicate and investigate further in a local kind cluster.

I have checked the log in smoketest ipv6 failure, and notice below log, seems like newly built docker image was not used. Fixed in https://github.com/cilium/cilium/pull/13204
2020-09-17T11:40:22.747698085Z level=info msg="Started healthz status API server on address localhost:9876" subsys=daemon

I have checked the log in smoketest ipv6 failure, and notice below log, seems like newly built docker image was not used. Fixed in #13204
2020-09-17T11:40:22.747698085Z level=info msg="Started healthz status API server on address localhost:9876" subsys=daemon

Thanks, will rebase this PR once #13204 is approved and merged.

Just a guess, maybe because the helm chart was always hard-coding <IP_ADDRESS> and likely the lo interface in the ipv6 cluster still has IPv4 configured?

You are right, thanks :100:
$ ksysex cilium-gsws6 -- /bin/bash
root@kind-worker:/home/cilium# ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet <IP_ADDRESS>/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever

test-me-please

retest-net-next

test-me-please


⚠ Samsung has degraded performance

In 41e2404, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2715 ms

Resolved: Samsung performance has improved in 97dc7e0.


Bug/#369 sentry logging crash

This pull request reorganizes the logging dependencies to put everything into the lib/logging subdirectory of Jetty.  They have also been removed from the war file to avoid conflicts between versions.  The guava dependency version has also been changed to use the version in the main pom.xml file everywhere.

Connected to #369.


Add new rook env variables to rook install script

Add new env variables to the dummy configmap created by rook install script

/override ci/prow/ocs-operator-bundle-e2e-aws


Codestar support

Issue #, if available:
#382
Description of changes:
This PR adds CodeStar connection support for pipelines source action.
Using CodeStar connection support adds functionality needed for use-case described in #382 and is the recommended  source action for BitBucket, GitHub & GitHub Enterprise (see docs)
This PR includes tests for the new method
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

closing this PR because of massive file lint that make it hard to only review the changes introduced in this PR


feat: solve year 2022, day 1

https://adventofcode.com/2022/day/1

:tada: This issue has been resolved in version 1.1.0 :tada:
The release is available on:

v1.1.0
GitHub release

Your semantic-release bot :package::rocket:


Re-implement the prefetcher using backpressure mechanism

Description of change
The prefetcher now uses only one GetObject request to fetch data in advance. This request has a range of entire object but use backpressure mechanism to control how much data it wants to fetch into the part queue instead of spawning up to two requests in parallel.
This should make the throughput more stable because previously the two request tasks could compete with each other when fetching data from S3. Also, it will be easier to control how much data we want to store in the part queue.
Does this change impact existing behavior?
No, the change only for internal interface.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and I agree to the terms of the Developer Certificate of Origin (DCO).

I'm going to split this into smaller PRs.


Can it support to read vsdm file?

#65 The only thing stopping it from doing so was a TypeError if the filename didn't end in vsdx.


When react-redux@8 is installed, type is not normally found in dispatch.

What version of React, ReactDOM/React Native, Redux, and React Redux are you using?

React: 17.0.2
ReactDOM/React Native: 17.0.2 / 0.68.1
Redux: 4.2.0
React Redux: 8.0.1

What is the current behavior?
TS2345: Argument of type 'AsyncThunkAction<TicketEntity[], void, {}>' is not assignable to parameter of type 'AnyAction'. Property 'type' is missing in type 'AsyncThunkAction<TicketEntity[], void, {}>' but required in type 'AnyAction'.
const dispatch = useDispatch();
...
useEffect(()=>{
  dispatch(anyAction()) ; // error
},[dispatch])

### What is the expected behavior?

dispatch type changed before version

// v7
const dispatch: Dispatch
<AsyncThunkAction<ILoadNoticeListReturn, boolean | QueryDocumentSnapshot<INotice> | undefined, {}>>(action: AsyncThunkAction<...>) => AsyncThunkAction<...>

// v8
const dispatch: Dispatch
<AnyAction>(action: AnyAction) => AnyAction

### Which browser and OS are affected by this issue?

_No response_

### Did this work in previous versions of React Redux?

- [X] Yes

This was actually a bug in the past. since the default dispatch type does not take the redux-thunk middleware into consideration and so always returned a wrong return value from the dispatch call. In short, it was possible to dispatch anything that was not a valid action.
To have redux-thunk's typings for a store with thunk, you need to set up correctly typed hooks:
// store.ts

import { configureStore } from '@reduxjs/toolkit'
// ...

const store = configureStore({
  reducer: {
    posts: postsReducer,
    comments: commentsReducer,
    users: usersReducer
  }
})

// Infer the `RootState` and `AppDispatch` types from the store itself
export type RootState = ReturnType<typeof store.getState>
// Inferred type: {posts: PostsState, comments: CommentsState, users: UsersState}
export type AppDispatch = typeof store.dispatch

// hooks.ts

import { TypedUseSelectorHook, useDispatch, useSelector } from 'react-redux'
import type { RootState, AppDispatch } from './store'

// Use throughout your app instead of plain `useDispatch` and `useSelector`
export const useAppDispatch = () => useDispatch<AppDispatch>()
export const useAppSelector: TypedUseSelectorHook<RootState> = useSelector

@phryneas In version 7, dispatch took care of the type inference, so is there no way to update it?

No, in version 7 that was a bug. The dispatch just accepted whatever you put in there and returned exactly that.
dispatch(validAction) // returns valid action <- this is correct
dispatch(thunk) // returns the return value of the thunk, but the type said it would return the thunk instead
dispatch(5) // this should have never been possible, but the types allowed it and said it returns 5

@phryneas oh! Thank you for the reply. Hope you have a nice day :)

You too!


TypeError: this.m_Background is undefined

CBattleSelectionState.prototype.Shutdown
https://steamcommunity-a.akamaihd.net/public/javascript/saliengame/game.js:1232:2

CGame.prototype.Update
https://steamcommunity-a.akamaihd.net/public/javascript/saliengame/game.js:123:4

CGame.prototype.Start/<
https://steamcommunity-a.akamaihd.net/public/javascript/saliengame/game.js:84:3

[120]</i</t.prototype.emit
https://steamcommunity-a.akamaihd.net/public/javascript/saliengame/pixi/pixi.min.js:16:18820

[119]</c</t.prototype.update
https://steamcommunity-a.akamaihd.net/public/javascript/saliengame/pixi/pixi.min.js:16:17776

t/this._tick
https://steamcommunity-a.akamaihd.net/public/javascript/saliengame/pixi/pixi.min.js:16:15959

g</< eval:2:479

ja/c[d] eval line 1 > Function:52:483

Error gets printed right after Joining Zone. Error does not occur with the script disabled. Firefox with Tampermonkey on Windows.

I'm almost positive this is due to a few of the setTimeouts not waiting long enough. If you replace the 5000s to 10000 in the script, I think that may help

worked, thanks

replacing it to 15000 worked for me


Scopes with hyphens in their name are not extracted correctly

I'm submitting a...

[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report
[ ] Performance issue
[ ] Feature request
[x] Documentation issue or request
[ ] Support request
[ ] Other... Please describe:

Current behavior
I have an app with lazy loaded modules. When adding transloco to those modules and naming scopes something like "public-module" transloco-keys-manager extract is extracting keys to main json file, not in subfolder. When I change scope name to something without hyphens, like "public" everything works as expected.
Also keys in component class, wrapped in TranslocoService.translate('key', null, 'public-module') end up in correct folder, but cannot be read by application. In browser console I see, that Transloco is loading this key from "publicModule".
Expected behavior
I expect either this feature to work correctly with various scope names or to have documentation about scope naming.
Minimal reproduction of the problem with instructions
I have created a repo with reproduction of this behaviour:

Clone https://github.com/uberpwner/transloco-key-manager-error
Run yarn install
Run yarn run i18n:extract
Observe contents of assets/i18n folder (part of lazy component keys are located in main json files
Change "lazy-module" to "lazy" in lazy.module.ts, lazy.component.html and lazy.component.ts and delete contents of assets/i18n folder
Run yarn run i18n:extract
Observe keys from lazy component located in correct subfolder under i18n

Environment

Angular version: 10.1.4

For Tooling issues:
- Node version: 14.9.0
- Platform:  Windows 10

Others:
Package manager: Yarn v1.22.5

Keys manager config

module.exports = {
	rootTranslationsPath: 'src/assets/i18n/',
	langs: ['en', 'ru'],
	defaultLang: 'en',
	keysManager: {
		defaultValue: '',
		unflat: true,
	},
};

@uberpwner Thanks for providing a detailed issue with reproduction 🙂 Would you like to create a PR for it?

@shaharkazaz I'd like to, but I think I'll have time only next month. If it's okay - could you advice me on which parts of code should I look into?

@uberpwner I didn't try to debug it yet myself but I would look at extractTsServiceKeys & buildKeysFromASTNodes and try to understand what's going on in this scenario.

@uberpwner Do you still want to do it? 🙂

@shaharkazaz I'm very sorry! I completely forgot about this issue. Let me look into it and I'll write you back this wednesday.

@shaharkazaz I managed to find some time to look into this issue. Unfortunately it wasn't enougn to find its cause.
Since I'm still having trouble finding more free time and this issue is easily solved by removing hyphen from scope name (i.e. my-scope could be changed to myScope), I suggest closing this issue.
Sorry again for disappearing for a long time.

@uberpwner I had some time so I took a look at your use case.
I think you missed something regarding the scope name which led to misconfiguration, from the scope's namespace section of the docs:

By default, the namespace will be the scope name (camel cased), but we can override it by providing custom alias name in the module/component scope provider...

In the reproduction you provided you have the following scope provider configuration:
{ provide: TRANSLOCO_SCOPE, useValue: 'lazy-module' }

This means that when you want to refer to that scope you need to use lazyModule as the docs state.
If you wanted to refer to the scope as lazy-module you need to use the custom alias:
{ provide: TRANSLOCO_SCOPE, useValue: {scope: 'lazy-module', alias: 'lazy-module' }}

Once I changed the provider the issue was resolved 🙂


BUG: PR comment about Commit Quality malformed

See below screenshot take from https://github.com/sonatype-nexus-community/community-handbook.sonatype.com/pull/28:

Further investigation of what was posted reveals the below (with indents fixed):

Logs from Production of interest:
│ {"level":"info","ts":1726644877.6613202,"caller":"github/github.go:319","msg":"Commits Reviewed for PR #28","Missing Author":1,"Missing Verification":2}
...
 {"level":"debug","ts":1726644880.1788666,"caller":"github/github.go:361","msg":"Adding Comment to Issue","Issue #":28,"Comment":"Thanks for the contribution. Unfortunately some of your co │
│ mmits don't meet our standards. All commits must be signed and have author information set.\n\t\t\n\t\tThe commits to review are:\n\t\t\n\t\t- 0b34e00b4c566b162d46d237fba7a22de8d0ecdc - missing author :cop:- 0b34e00b4c566b162d46d237fba7a22de8d0ecdc - missing author :cop:- 0b34e00b4c566b162d46d237fba7a22de8d0ecdc - unsigned com │
│ mit :key:- 0b34e00b4c566b162d46d237fba7a22de8d0ecdc │
│  - missing author :cop:- 0b34e00b4c566b162d46d2 │
│ 37fba7a22de8d0ecdc - missing author :cop:- 0b34 │
│ e00b4c566b162d46d237fba7a22de8d0ecdc - unsigned commit :key:- 1d5fa320530873ae967dd511e2370d74d670c7ac - unsigned commit :key:"}

Expected PR comment should have included:

0b34e00b4c566b162d46d237fba7a22de8d0ecdc - Unknown Author
0b34e00b4c566b162d46d237fba7a22de8d0ecdc - Commit not signed
1d5fa320530873ae967dd511e2370d74d670c7ac - Commit not signed


Add correlation matrix

As we agreed in #65, separate implementation of correlation matrix.

:green_heart: :blue_heart: :purple_heart: :yellow_heart: :heart:


Enable remote-write-receiver feature

Description

Fixes https://cloudnativedays.slack.com/archives/C02MAP9EHAA/p1646489926065459?thread_ts=1646472545.459179&cid=C02MAP9EHAA
To enable remote write, we need to add 'remote-write-receiver' feature flag in a prometheus.
see https://prometheus.io/docs/prometheus/latest/feature_flags/#remote-write-receiver
Type of change

[ ] Document update or simple typo fix
[ ] Maintenance/update components
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?

[ ] I have checked backward/forward compatibility that may cause regarding this change.

起動オプションに関してはPrometheus Opetratorの実装待ちなので、それ次第かなぁ

ちょうど昨日Issueが上がっていた
https://github.com/prometheus-operator/prometheus-operator/issues/4613
現時点ではFeature Flagを使うしかなさそうなので入れちゃいます


ReflectionValue and decimal

I have objects that I am exposing to Cottle scripts using ReflectionValue.  It all seems to work well, except that I cannot obtain decimal values.  From looking at the code it appears that ReflectionValue does not support decimal.  Is it possible to add decimal to the list of supported types?

Hello @mcdee , you're right decimal type and a few others were missing. I just fixed that in version <IP_ADDRESS>, you'll find it on nuget in a few minutes :) (or you can just build from current master)


Problem with required field, when type is set

Hello!
Found such a case - if field is not set to required, but value is set to false:
[                 'required' => false,                 'validators' => [],                 'filters' => [],                 'name' => 'debug',                 'field_type' => 'boolean',             ]
On request like this:
{"debug":false}
It will give an error:

{"validation_messages":{"debug":{"isEmpty":"Value is required and can't be empty"},"type":"http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html","title":"Unprocessable Entity","status":422,"detail":"Failed Validation"}

0 => [
                'required' => false,
                'validators' => [],
                'filters' => [],
                'name' => 'debug',
                'description' => 'Output debug information.',
            ],

Here it is.

I have the exact same problem with an identical setup. If you pass boolean true then it's fine. If you don't set the element at all, it's fine (not required after all). But boolean false always triggers {"isEmpty":"Value is required and can't be empty"}. Seems the easiest way around this is to add 'allow_empty' => true to your configuration and condition your data accordingly at the other end. Probably just assume if it aint a boolean true then it's false.

For future readers, validate boolean input (with Checkbox input) like so:
    $this->add(
        [
            'name'       => 'testBooleanInput',
            'required'   => false,
            'filters'    => [
                [
                    'name'    => ToNull::class,
                    'options' => [
                        'type' => ToNull::TYPE_BOOLEAN,
                    ],
                ],
            ],
            'validators' => [
                [
                    'name'    => InArray::class,
                    'options' => [
                        'haystack' => [true, false],
                    ],
                ],
            ],
        ]
    );

(for completeness, the fieldset input)
    $this->add(
        [
            'name'       => 'testBooleanInput',
            'required'   => false,
            'type'       => Checkbox::class,
            'options'    => [
                'label'              => 'Test boolean input',
                'use_hidden_element' => true,
                'checked_value'      => 1,
                'unchecked_value'    => 0,
            ],
        ]
    );

This repository has been closed and moved to laminas-api-tools/api-tools-content-validation; a new issue has been opened at https://github.com/laminas-api-tools/api-tools-content-validation/issues/4.


[SPARK-23566][Minor][Doc] Argument name mismatch fixed

Argument name mismatch fixed.
What changes were proposed in this pull request?
col changed to new in doc string to match the argument list.
Patch file added: https://issues.apache.org/jira/browse/SPARK-23566
Please review http://spark.apache.org/contributing.html before opening a pull request.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

ok to test

It's fine. Can you double check if there are same instances in this file or other files?

Test build #87888 has started for PR 20716 at commit 5d2bb9d.

Test build #87888 has finished for PR 20716 at commit 5d2bb9d.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/87888/
Test PASSed.

@HyukjinKwon Sure, shall do.

Test build #87932 has started for PR 20716 at commit 84d08e9.

Test build #87932 has finished for PR 20716 at commit 84d08e9.

This patch fails Python style tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/87932/
Test FAILed.

Test build #87934 has started for PR 20716 at commit 98ef4a1.

Test build #87934 has finished for PR 20716 at commit 98ef4a1.

This patch fails Python style tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/87934/
Test FAILed.

Test build #87935 has started for PR 20716 at commit 91d8473.

@HyukjinKwon Found couple more, have updated the same.

BTW, it doesn't need a JIRA for minor fixes.

Test build #87936 has started for PR 20716 at commit 258bae4.

Test build #87936 has finished for PR 20716 at commit 258bae4.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/87936/
Test PASSed.

Do check @gatorsmile

Merged to master

@HyukjinKwon Its minor, so may not be required. Had tagged Gator just for a check.


Tracking bug for generated libraries

Update
This is closed, all the bugs can be found in the All GCP Services have a GA library milestone.
Instructions
This issue lists all the libraries we need to generate and/or hand-craft (as of 2022-01). It is mostly intended as a way to coordinate work. Before generating a library do these things:

Convert the entry to a bug (GitHub has a handy button to do this)
Assign the bug to yourself
If you find that a library cannot be generated, say because the generator is missing features, or some other reason, then:

Document what these blockers are in the newly created bug
If you are not going to fix these immediately just release the newly created bug

Follow the instructions in doc/contributor/howto-guide-adding-generated-libraries.md
If you find that a service already has a generated (or hand-crafted) library, then just mark it as done in this list.

Library List

[x] #7826
[x] #7851
[x] #7871
[ ] #7900
[x] #7916
[x] #7980
[x] #7816
[x] #8003
[ ] #8104
[ ] #8175
[ ] #8176
[ ] #8177
[ ] #7989
[x] Cloud Bigtable API: bigtable.googleapis.com
[x] Cloud Bigtable Admin API: bigtableadmin.googleapis.com
[x] #7809
[x] #8106
[x] #7973
[x] #7808
[x] #7892
[x] #8115
[x] #8118
[x] #8148
[ ] #8134
[x] #7921
[x] #7813
[ ] #8178
[ ] #8179
[x] #7894
[x] #7811
[x] #7944
[x] Cloud Tasks API: cloudtasks.googleapis.com
[x] #8160
[x] #7869
[ ] #7810
[ ] #8180
[ ] #7981
[x] #8108
[ ] #8181
[x] #7889
[ ] #8182
[ ] #8174
[ ] #7990
[x] #8029
[ ] #7976
[x] #7903
[ ] #8183
[ ] #7988
[x] #8020
[x] #8010
[x] Identity and Access Management (IAM) API: iam.googleapis.com
[x] IAM Service Account Credentials API: iamcredentials.googleapis.com
[ ] #8184
[x] #7912
[x] #7897
[ ] #8185
[ ] #7796
[ ] #8186
[x] #8152
[x] #8161
[x] #8044
[x] #7986
[x] #7904
[x] #7987
[x] #7945
[x] #7956
[x] #8026
[x] Cloud Pub/Sub API: pubsub.googleapis.com
[x] Pub/Sub Lite API: pubsublite.googleapis.com
[x] #7906
[x] #8154
[ ] #8023
[x] #7971
[x] Secret Manager API: secretmanager.googleapis.com
[x] #8136
[ ] #8132
[x] #8082
[x] #8046
[x] #8081
[x] #8034
[x] Cloud Spanner API: spanner.googleapis.com
[ ] #7991
[x] Cloud Storage API: storage.googleapis.com
[x] #7907
[x] #8017
[x] #8014
[x] #7999
[x] #7959
[x] #7943
[x] #7896
[x] #7860
[x] #7847
[x] #7819
[x] Workflow Executions API: workflowexecutions.googleapis.com
[x] Workflows API: workflows.googleapis.com

This issue is no longer useful to track the remaining bugs. Closing.


Copy-DBALinkedServer does not copy network name of linked server

Before submitting a bug report:

[ ] Ensure you are able to reproduce it on the latest released version (we release often)
[ ] Verified this bug is not already reported in an issue
[ ] Verified errors are not related to permissions
[ ] Can reproduce in a clean PowerShell session (clean = powershell -NoProfile)

Steps to Reproduce
Create a linked server via the GUI or T-SQL.
Example T-SQL:
--T-SQL to run on source server
USE [master]
GO
EXEC master.dbo.sp_addlinkedserver @server = N'LINKTEST', @srvproduct=N'SQL Server'
GO
--update network name
exec sp_setnetname 'LINKTEST','SRV01'
--Check data_source differs in sys.servers
select * from sys.servers where name = 'LINKTEST'
Copy-DBALinkedServer -Source SRVSrc -Destination SRVDest -LinkedServer LINKTEST

## Expected Behavior

--Run following T-SQL on SRVDest
--Check data_source differs in sys.servers
select * from sys.servers where name = 'LINKTEST'
<!--
Expected behaviour is that the name = LINKTEST and data_source = SRV01
-->

## Actual Behavior
<!--
The data_source column matches the name column which is incorrect.
-->

## Environmental data

<!-- Provide output of the following two commands -->

 - PowerShell:
Name                           Value
----                           -----
PSVersion                      5.1.14409.1012
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.14409.1012
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>

 - - SQL Server: <!-- SELECT @@VERSION output -->
Microsoft SQL Server 2008 (SP4) - 10.0.6535.0 (X64)   Apr 17 2015 19:49:03   Copyright (c) 1988-2008 Microsoft Corporation  Enterprise Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1)

thanks for the T-SQL - it's exactly what I needed. I'll take a look soon. hit me up if I havent addressed this in a week

Thanks for the quick response! I'll keep on the lookout for the update.
Don't work too hard :)
On Thu, 27 Sep 2018 at 15:06, Chrissy LeMaire<EMAIL_ADDRESS>wrote:

thanks for the T-SQL - it's exactly what I needed. I'll take a look soon.
hit me up if I havent addressed this in a week
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/sqlcollaborative/dbatools/issues/4087#issuecomment-425105606,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ApnyyAOHQIPMl5jQ8O9-jRSFXEIW2yJrks5ufNtIgaJpZM4W8t__
.

@potatoqualitee : https://gph.is/1mDYMCI

When @srvproduct of LinkedServer is not 'SQL Server' (something defined manually, for example 'SQL' ) and @provider = 'SQLNCLI', it fails with error:
Issue adding linked server [SERVERNAME]. | You cannot set network name on server 'LINKEDSERVERNAME' because it is not a linked SQL Server.
This error connected to sp_setnetname SP.
Please fix that to this error does not interrupt execution.
A workaround for now is commenting next block in the function in allcommands.zip archive:
#if ($copyLinkedServer.Name -ne $copyLinkedServer.DataSource) {
$sql2 = "EXEC sp_setnetname '$($copyLinkedServer.Name)', '$($copyLinkedServer.DataSource)'; "
$destServer.Query($sql2)
#}


Set visibility of multiple columns at once

Hi,
I'm trying to hide/show multiple columns at once,  but after every column visibility change,  grids gets rendered,  which makes performance an issue for me.
Is there some way to update multiple columns at once, or stop grid from rerendering until the end of setting visibility for all columns?

Figured it out by myself - note for people having this same kind of issue in a future.
Each call to fieldOption calls a method to once again render a grid, so the easiest way was to change each field as wanted by getting it by jsGrid.fields, and after setting each column as wanted calling $('#jsGrid').jsGrid("render"). Thanks to that grid is rendered only once, but with all desired columns visible.

Glad that you figured it out!
Thanks for sharing the solution!


Fix typo in hybrid-computing-integrated.md

@Bradben

Can you review this PR?

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


Xcode Task: Provisioning profiles not included in ExportOptions.plist when exportOptions set to 'specify'

https://developercommunity.visualstudio.com/spaces/21/index.html )
Required Information
Entering this information will route you directly to the right team and expedite traction.
Question, Bug, or Feature?
Type: Bug
Enter Task Name: Xcode
list here (V# not needed):
https://github.com/microsoft/azure-pipelines-tasks/blob/master/Tasks/XcodeV5
Environment

Server - Azure Pipelines

If using TFS on-premises, provide the version:

If using Azure Pipelines, provide the account name, team project name, build definition name/build number:

Agent - Hosted or Private: Hosted macOS

If using Hosted agent, provide agent queue name:

If using private agent, provide the OS of the machine running the agent and the agent version:

Issue Description
The provisioning profiles are only included in the generated ExportOptions.plist file when exportOptions is set to 'auto'.
The provisioning profiles should also be included in the generated ExportOptions.plist when exportOptions is set to 'specify'
Task logs
[Enable debug logging and please provide the zip file containing all the logs for a speedy resolution]
Troubleshooting
Checkout how to troubleshoot failures and collect debug logs: https://docs.microsoft.com/en-us/vsts/build-release/actions/troubleshooting
Error logs
[Insert error from the logs here for a quick overview]

Is this issue still being investigated?

Is this issue still being investigated?


Update type annotations

We need to update all of the legacy type annotations from the old ol.foo.Bar style to the new module:ol/foo/Bar~Bar style.

@ahocevar - I'm curious about default exports.  Do we always repeat the module name?  For example:
/**
 * @module ol/geom/GeometryType
 */

/**
 * @enum
 */
export default {
  POINT: 'Point' // ...
};

Will module:ol/geom/GeometryType~GeometryType be right here?  Or is module:ol/geom/GeometryType right?

For babel-plugin-jsdoc-closure and type checking it does not matter. For JSDoc there is a difference: the shorter will link to the module page (which also contains typedefs and named exports of that module, if any). The longer will link to the enum directly.
I also went a bit back and forth on this, and in the end decided to use the long version because we do the same for all other default exports, e.g. classes.

A git grep 'ol[.]render' src/ (for instance) still give me results like:

https://github.com/openlayers/openlayers/blob/master/src/ol/render/canvas.js#L67 (link)
https://github.com/openlayers/openlayers/blob/master/src/ol/render/webgl/Immediate.js#L359 (type)
https://github.com/openlayers/openlayers/blob/master/src/ol/render/webgl/Immediate.js#L91 (param)
and other ref.

I'll improve what I can.
Should we care about things outside of the "src/" ? because there is a lot of these notations in examples and the doc folders.
It mainly concerns:

[ ] ol.format
[ ] ol.pointer
[ ] ol.render
[ ] ol.DeclutterGroup
[ ] ol.Canvas* (mutiples)
[ ] ol.structs
[ ] ol.source
[ ] ol.ImageLoadFunctionType

@ger-benjamin Thanks for any help you can provide. Examples and docs should also no longer use the ol.* notation.

But what do you want for the documentation ? Like here: https://github.com/openlayers/openlayers/blob/master/doc/faq.md, for instance, for a new ol.Map({...}). Do you want that, in the code section, we add a line import Map from ol.Map, then use new Map({...}) ?

@ger-benjamin: Yes, adding the imports in code examples like the FAQ is the way to go. I've done that in some inline docs already. Also note that you can now use the re-exported modules, e.g.
import * as layer from 'ol/layer';

const tileLayer = new layer.Tile({
  //...
});

Thanks again for your help!

I think we should avoid suggesting that people use * imports.  To benefit from tree shaking, import just what you need.
import {Tile as TileLayer} from 'ol/layer';
Or
import TileLayer from 'ol/layer/Tile';
These are two equivalent ways of getting the TileLayer constructor.  The first is useful if you want to import more than one layer constructor in a single statement.


Why rex_text for UILabel returns not optional string

Hello,
UILabel has var text: String?
Why rex_text does not have MutableProperty<String?> type?
currently have to write in many places label.rex_text <~ optionalText.map { $0 ?? "" }
Thanks!

Good point, we would need to make a new major release for this change tho. 😕

We're still on 0.x releases so we can safely change this in 0.x+1 and be semver compliant.

I found the type being a non optional String a feature rather than a bug. When setting the text property there's no difference between nil or an empty String, both have the same result, being an empty UITextField. Hence MutableProperty<String> simplified the use. Now, when testing whether a UITextFieldis empty, we have to test whether the value is nil and whether it's an empty String.
Logically, an empty UITextField contains an empty String, the nil situation is/was an old Objective-C side-effect. Imho.
For instance a ViewModel exposes a username property of type MutableProperty<String>, this used to match with rex_text without having to add map's everywhere and manually handling the nil situation.

@ynnckcmprnl we have tried to be coherent with what the different APIs expose and respect it. In this particular case, having a new look at it, I kinda agree with you. @dmcrodrigues what do you think?

@ynnckcmprnl thanks for your feedback and I agree in reverting this. To ground this decision there's a discussion in the documentation that clearly states:

This string is @"" by default.

I also have done a few tests and even when you clear a text field with a nil value you always receive an empty string while accessing text property.
@ynnckcmprnl are you interested in contributing this change?

Note however that UILabel, which was the issue stated here, should remain an optional string because it's nil by default as we can see in the documentation.

Darn, I seem to have mixed up UILabel & UITextField. My issue was indeed with UILabel though, the post should have said UILabel instead of UITextField. I'll update the post to prevent further confusion.
I still stand by my original opinion, but the documentation stating nil as default value does make it a hard sell.
Good catch regarding UITextField, the change to MutableProperty<String> should be inarguable.

@ynnckcmprnl I don't think we should change this for UILabel, the documentation clearly states that by default it's nil so it's not case where the API exposed is not coherent but a case where we are making an assumption.
One thing we can do to help with this change is cherry-picking the support for binding with optionals.

@dmcrodrigues That would be exactly what I need.

I wish that was included in RAC 4.x but unfortunately it will become available only in RAC5. Until then, I think we can provide it through Rex but I'll ask the opinion of @neilpa and @RuiAAPeres about this.

@ynnckcmprnl kinda wasted effort to add this to Rex and just remove it again later on. It might be preferable to add this on your own codebase as a small extension and remove it, once you adopt RAC5.


Add sample data in downloads page

[ ] Link to the generic data available for users https://abibuilder.informatik.uni-tuebingen.de/archive/openms/Tutorials/Data/.
[ ] Describe available examples specific data:

https://github.com/OpenMS/OpenMS/tree/develop/share/OpenMS/examples
https://github.com/OpenMS/OpenMS/tree/develop/doc/code_examples/data
https://github.com/OpenMS/pyopenms-docs/tree/master/src/data
https://github.com/OpenMS/pyopenms-docs/tree/master/src/examples/data

Hello @tapaswenipathak
The 1st link for the "generic data available for users" is showing not found
If the issue is still open for work could you please send the new link here?


[DO NOT MERGE] Added UI form information to metadata fields for parsing by OpenShift

Added UI form information to metadata fields for parsing by OpenShift UI.
https://github.com/openshift/ansible-service-broker/blob/master/docs/proposals/form-metadata.md
Changes proposed in this pull request

Add json regarding parameter order, groups, and display type to metadata in the json-schema-form definition.
Unit tests

 (8) Parameter Ordering and Grouping

https://github.com/fusor/ansible-playbook-bundle/pull/99


Information mismatch between problem statement and solution

Hi! I am going through some of the problems in the collection and I stumbled upon problem 10.11 in dataset/original/fund_sol.json (it's the 3rd there). The problem states that there is a disk mounted on a fixed horizontal axle with a hanging block from a cord wrapped around the rim of the disk. The disk starts at rest with an angular acceleration of $\alpha = -24 \mathrm{rad/s}^2$ and the mass produces a tension of $T = 6\mathrm{N}$. Then, it asks for the rotational kinetic energy $K$ at $t=2.5 \mathrm{~s}$.
In the problem statement, there is no information about the mass of the disk or its radius. Nevertheless, the solution makes extensive use of it to compute the result, using the relationships $K=\frac{1}{2}I\omega^2$ and $I=\frac{1}{2}mr^2$. The solution assigns $m=2.5 \mathrm{kg}$ and $r=0.2\mathrm{m}$, which are not provided in the problem statement.
Given the problem description, it'd be expected to use the tension to compute the moment of inertia from the torque $\tau = I \alpha$, where the torque $\tau = Tr$. This approach still needs the radius though. Indeed, if one assumes $T = I \alpha$ the resulting $I$ is 5 times larger than it should, indicating that the radius is, indeed, $r = 0.2\mathrm{m}$.
Could the problem statement not be complete?

Thanks for your information. This problem refers to a previous problem and I have added the condition mentioned from the previous problem and updated the file. Please let me know if there is any other question.

That's great, thanks! 😄

I have spotted problem 9.03 in the same file that requires an image to know the masses of the particles (I assume) and the directions of the forces they are feeling. Could it be?

The image is provided at dataset/img/problem_solution/25.

Oh, I see. I understood that only the problems within dataset/img/ were the ones that required images to be solved and that those in dataset/original where text-only problems. When looking for a text-only assessment, what is the correct way to detect whether a problem inside dataset/original requires an associated image and locate it in the dataset/img/ folder?
For instance, in this case, where can I find that problem 9.03 inside dataset/img/fund_sol.json requires an image found in dataset/img/problem_solution/25/img_question.png?

You could consider using a string comparison to filter out. We'll create a dedicated folder for this purpose at a later stage.


package:analyzer When the parameter type is Function type , type.element is getting 'null'

I am using package:analyzer to do custom static analysis.
when I have dart code like below :
class MyType{

    final void Function(MyItemType) callback ;
}

When I try to access the element of the callback type : I am getting null
That is :
parameterElement.type.element evaluates to be null .
Therefore I cannot get the source file of the Types involved in the Function to import those source files.
This issue happens only when I use a Function type that is anything other than just Function().
parameterElement is of Type ParameterElement from analyser package.
My requirement is that I want to import all the files that contain the Types involved in the Function. In my example code shown above , I wish to import the file that contains the MyItemType class.
Also if the return type of the function was some other Type other than void , I want to import the corresponding source file.
Please see this SO question here : https://stackoverflow.com/questions/61651285/dart-analyser-when-the-parameter-type-is-function-type-type-element-is-getting

Sorry, very late answer to your question:
Yes, function types (FunctionType) do not have Elements. But you should not need that to get the elements of any InterfaceTypes in their signature. If .returnType is an InterfaceType, then .returnType.element gives you its element. Each parameter in .parameters (ParameterElements) should have a .type, and for each of those that is an InterfaceType, .element will get you its element.
For future reference, usage questions like this are best asked on our user mailing list<EMAIL_ADDRESS>


🐛 BUG: "Got error: multipart: message too large" when deploying for Next JS SSR app

Which Cloudflare product(s) does this pertain to?
Pages
What version of Wrangler are you using?
3.0.1
What operating system are you using?
Windows
Describe the Bug
I am having issue with Pages deployment after running next-on-pages (npx @cloudflare/next-on-pages@1) to generate static files and _worker.js dir (SSR).
Below is the screenshot of the deployment log from connected Github build.

As what I can see now is the next-on-pages command success on both locally (my dev machine) and Pages, but seems Pages pops this "multipart: message too large" error when I try to deploy the app.
I tried both deployment methods, Github (build log as in above screenshot) and npx wrangler pages deploy .vercel/output/static (files upload success), but both failed when publishing on Pages.
More info:
Framework: Next JS v13.3.4
Next-on-pages: v1.0.1
SSR pages: 20+
_worker.js dir (unzipped) size: 14MB+

Have same issue

I'm seeing the same issue as well. I'm still trying to figure out why. I know that simplifying a server action file allows it to deploy, but the file was pretty simple as it was. I'm currently trying to narrow down what bit of code causes the multipart: message too large error.

I narrowed this down to using the qs library. I don't think it would be that much of a problem, though, right? It doesn't seem large enough to cause an issue<EMAIL_ADDRESS>

We experience this when there are a lot of files rather than large files.
Some complex library can create a lot of chunks. We have more than 1,000 chunks. The total file size didn't exceed the worker limit, but the multipart encoding and overhead from the number of files probably hit the limit.
00:45:45.903 | - __next-on-pages-dist__/chunks/92941.js (esm)
00:45:45.904 | - __next-on-pages-dist__/chunks/92961.js (esm)
00:45:45.904 | - __next-on-pages-dist__/chunks/93090.js (esm)
00:45:45.904 | - __next-on-pages-dist__/chunks/93157.js (esm)
00:45:45.904 | - __next-on-pages-dist__/chunks/93192.js (esm)
..

Looks related: https://github.com/golang/go/commit/1e43cfa15b4b618812e85c00c9e92c2615b324c8
cc @dario-piotrowicz

I made some progress here: https://github.com/cloudflare/next-on-pages/pull/349
but unfortunately my changes there don't seem to reduce the number of files enough to solve the issue, I'll try to reduce the number of files further (or @james-elicx which I think had some ideas regarding this)

If the issue is really the number of files, worker should be able to upload many files, not uploading less files. I don't see any documented limit on the number of files.
Can you just zip, upload and unzip?

Hopefully this should be fixed, @oscar-iolab, @Piotrovskyi, @TimothyKrell and @elbaro could you try again with the latest next-on-pages release (1.4.0) and let me know if things work now? 🙏

I suspect that this issue is not yet fixed, so I'm reopening it as I am looking into it further

I'm having some trouble reproducing this on my side, I'll keep looking into this, but anyways if anyone could potentially share their source code that would be really helpful 🙂 🙏

@dario-piotrowicz next-on-pages v1.5 reduced 1,000 files to 100 files and the deploy succeeded.

However the issue remains. Our app will grow over time and we don't know when it will break - 200 files? 500?
Since the doc says the limit of 20,000 files, it should be supported.

the limit seems to be dependent on an external dependency

In the golang link above, it says you can set GODEBUG=multipartmaxheaders=<values> or GODEBUG=multipartmaxparts=<value>. I think it is reasonable to limit a single request size and the correct solution is CF splitting the request into smaller ones or archive to avoid multipart header overhead.

@elbaro thanks for confirming that not next-on-pages works for you 🙏
Regarding the issue, yes we ideally should find a way to properly fix it
I did eventually manage to make a reproduction of it: https://github.com/dario-piotrowicz/cf-workers-and-pages-bugs-reproductions/tree/master/pages/workerjs-dir-message-too-long
Hopefully we can address this in wrangler soon 🙂

@elbaro we've looked into this and we're looking into increasing the limits you mentioned in your comment 👍
(Splitting the request into smaller requests would drastically increase the complexity of our implementation and it doesn't look necessary so we've opted not to go that route)
(PS: the pages 20000 limit is for assets, but here we indicate js module files, so it's not the same thing, although I appreciate that the docs wording doesn't make that too clear)

I'm closing this issue since we've drastically decreased the amount of files generated by Next.js adaptor and also significantly increased the amount of files deployable (5000 to be precise for the time being, which should be plenty for even very large applications, if this turns out not to be enough we can always increase it further later)
So it should be very hard to hit this limit now
@oscar-iolab, @Piotrovskyi, @TimothyKrell and @elbaro if you still encounter this issue please let me know 🙂


Strange bug with furnaces

I'm having a weird issue where If I exit my single player world and then reload it, furnaces no longer drop their item thus being destroyed completely. This happens even with only three mods enabled, tiny tweaks, mod menu and fabric api.
Furnaces do begin to drop again if I restart the game client and load the world but upon exiting and rejoining the error re-appears.

I'll look into this tonight.

Can you confirm if this is fixed in the latest version?

I made an account just to say this, its still not fixed


Release

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: jameshawkes:x: Nicolau ManubensNicolau Manubens seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Export ExtensionRuntime (or LanguageClient) for other extensions

This change would export the ExtensionRuntime object that is created such that other extensions can access it.
This would, for example, allow other extensions to depend on this extension and use the LanguageClient it creates to send requests without the need to start their own LanguageClient.
With the current changes other extensions could access the LanguageClient like this:
const client: LanguageClient = vscode.extensions.getExtension('dafny-lang.ide-vscode')?.exports.client;
client.sendRequest(...)

Note: Perhaps if exporting ExtensionRuntime is a bit too broad, only the LanguageClient could be exported instead.

Seems good, thanks


chore: import repository https://github.com/q1323829945/test3.git

this commit will trigger a pipeline to generate the CI/CD configuration which will create a second commit on this Pull Request before it auto merges

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

Needs approval from an approver in each of these files:

OWNERS

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

@q1323829945: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

verify
0493adb11f7e9bece28327bbe940194ac57ca226
link
/test verify

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.


[ko] translate the glossary term cAdvisor

Glossary Term
cAdvisor

Contributor

got it i'm gonna figure out

Hi @tonyhan18
This PR has two individual commits. (eviction, Advisor) I think the commit about eviction is a mistake. Please remove the commit from this PR. Also, #35899 is a similar case.
[ko] translate the glossary term eviction
[ko] translate the glossary term cAdvisor


Animation Without rigging

How are you?
I found Idea for character animation without rigging or bones. This idea created by pixar studios called character articulation through profile curves or Curvenent system.
They have been released the paper about this idea, So please if you able to do this As standalone Free application for Windows OS or inside engine. It will be great
Watch the video and download the paper too
https://youtu.be/gUJ4RxMdVn8
Download the paper here :-
https://graphics.pixar.com/library/ProfileMover/paper.pdf
Please let me know your opinion
Thank you

Sorry for the late reply. It looks interesting but not sure If I have the time to do something like that anytime soon

Never mind brother,
It's great idea and easy, no time for setup bones nor weight painting nor Old fashioned way at all that takes hours for one character!!
I hope just try, just focus on it these months. Try to implement standalone software for Windows OS based on Pixar's paper, only for character animation. I'm sure not takes more time cause you will not create full 3d animation software ( modelling, render, etc... )
Here you are. New video about a new paper that shaping Faces instead of blend shapes
https://youtu.be/PMCrk7H_knI?si=y04YT7GfCplzdN5z
Just try please.

Hi jmorton
Any news?


Encoded text is not recognized as Unit8Array in testEnvironment "node"

🐛 Bug Report
Encoded text is not recognized as Unit8Array in testEnvironment "node".
when encoding a text using the node util.TextEncoder the resulting text is not uint8Array. This does not happens using jsdom environment or directly in node.
To Reproduce
Steps to reproduce the behavior:
test case:
describe("test unit encoding",()=>{

	it("encodes to unit8",()=>{
		const util = require('util');
		const enc = new util.TextEncoder('utf-8');
		 expect(Uint8Array.prototype.isPrototypeOf(enc.encode("fsdfsd"))).toBeTruthy()
	})
})

jest config
module.exports = {
	testEnvironment: 'node'
};

run npm test
Expected behavior
the test should pass as is does in jsdom environment or running the following code in node:
		const util = require('util');
		const enc = new util.TextEncoder('utf-8');
		 console.log(Uint8Array.prototype.isPrototypeOf(enc.encode("fsdfsd")))

Link to repl or repo (highly encouraged)
https://github.com/rulonder/ts-jest-unit8
just deleting jest.config.js makes the test pass
Run yarn test
Paste the results here:
Test Suites: 1 failed, 1 total
Tests:       1 failed, 1 total
Snapshots:   0 total
Time:        0.694s, estimated 1s
Ran all test suites.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

I wonder if this is caused by #2549?


Kwm crashes, sometimes

Kwm will sometimes crash, so far no idea what triggers it.
This does not happen frequently for me, and I'm unable to "remember" what sequences of events I went through, during the cases where this happens. This crash happens without the use of external monitors.
I suspect this started happening after implementing the AXObserver, as well as the UTF8 part of the code.

Note for  future references:
(gdb) bt
#0  0x0000000100013c81 in ApplyNodeContainer (Node=0x10000000100714ff, Mode=SpaceModeBSP) at kwm/tree.cpp:500
#1  0x0000000100013cc5 in ApplyNodeContainer (Node=0x10071ab70, Mode=SpaceModeBSP) at kwm/tree.cpp:504
#2  0x0000000100013cc5 in ApplyNodeContainer (Node=0x10071a7a0, Mode=SpaceModeBSP) at kwm/tree.cpp:504
#3  0x0000000100021864 in AddWindowToBSPTree (Screen=0x10060ccc8, WindowID=25725) at kwm/window.cpp:584
#4  0x00000001000204e4 in ShouldBSPTreeUpdate (Screen=0x10060ccc8, Space=0x100213178) at kwm/window.cpp:495
#5  0x000000010001f63c in ShouldWindowNodeTreeUpdate (Screen=0x10060ccc8) at kwm/window.cpp:470
#6  0x000000010001e918 in UpdateWindowTree () at kwm/window.cpp:330
#7  0x0000000100001eee in KwmWindowMonitor () at kwm/kwm.cpp:121
#8  0x00007fff8e945c13 in _pthread_body () from /usr/lib/system/libsystem_pthread.dylib
#9  0x00007fff8e945b90 in _pthread_start () from /usr/lib/system/libsystem_pthread.dylib
#10 0x00007fff8e943375 in thread_start () from /usr/lib/system/libsystem_pthread.dylib
#11 0x0000000000000000 in ?? ()


discord is blocking photonengine

Hi, im making discord activity game on unity. For multiplayer I'm using Photon Fusion. In browser everything works great, but inside of discord I'm getting this error.
Refused to connect to 'wss://ns.photonengine.io/?libversion=<IP_ADDRESS>&sid=30&app=8a16b0a3-846a-4362-9e7e-e1af98122584&IPv6' because it violates the following Content Security Policy directive: "connect-src 'self' https://discord.com/ https://canary.discord.com/ https://ptb.discord.com/ https://cdn.discordapp.com/ https://media.discordapp.net/ wss://1221359697018486794.discordsays.com data: blob:".
Refused to connect to 'wss://ns.photonengine.io/?libversion=<IP_ADDRESS>&sid=30&app=8a16b0a3-846a-4362-9e7e-e1af98122584&IPv6' because it violates the following Content Security Policy directive: "connect-src 'self'".
Because of this, my multiplayer doesn't work inside the discord 😢

In your URL mapping settings create a map for /photonengine -> ns.photonengine.io then you can use wss://{appId}.discordsays.com/photoengine... query parameters ....
Remember, Discord's iframe only allows Discord domains to be used, and your site is proxied through {appId}.discordsays.com.

Oh, thanks! I'll try that way

Does not work
There are no errors in the web console about this, but it looks like discord does not redirect the link to ns.photonengine.io

Right now this is my photon settings. Maybe I'm missing something...

Activities don't support UDP connections at this time. You could attempt changing Photon's protocol from UDP to TCP

Well I figured out how to fix it all


Support Ascend NPU adapter loading

What does this PR do?

This PR introduces Lora and related  adapter methods into npu since Accelerate has already provided support for npu.
Btw, thanks to abhilash1910 for his outstanding contribution, it is more convenient to support third-party accelerators.

@BenjaminBossan @younesbelkada could you please review this PR and trigger the CI workflow for tests?

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

LGTM, thx.
Just a more general question: Do we have any kind of test to show that NPU (or XPU for that matter) actually work?

Thanks for your reply. I verified the effectiveness of this PR at LLaMA-Efficient-Tuning, which integrates peft.
If necessary, I could include additional test cases for third-party accelerators like NPU/XPU in a separate PR. This would be done under the assumption that these accelerators have comparable APIs within the PyTorch ecosystem.

I verified the effectiveness of this PR at LLaMA-Efficient-Tuning, which integrates peft.

Very nice, thanks for the pointer.

If necessary, I could include additional test cases for third-party accelerators like NPU/XPU in a separate PR. This would be done under the assumption that these accelerators have cuda-like APIs within the PyTorch ecosystem.

For me it was just important to ensure that someone has actually tested it. I don't know if we need these additional tests. On the one hand, it would be nice to have those to catch regressions, on the other hand they're probably not easy to integrate. I'll leave it up to the other maintainers to decide.


Annotations are not suggested for specific completion patterns

Description:
Completions for the following patterns are not suggested
@<cursor>
function testFunction() {}

@h<cursor>
function testFunction() {}

@http:<cursor>
function testFunction() {}

@http:P<cursor>
function testFunction() {}

Affected Versions:
v0.991.0 at least

Closing since the fix has been merged


verbose logging: add counts to vendor directory lists

What does this do / why do we need it?
This change adds counts to some of the verbose logging lists:

dry-run vendor directories (Would have written..)
normal run vendor directories (Wrote.../Failed to write..., previously logged Writing... prior to work)
normal run vendor errors list (Failed to write dep tree...)

2 is concurrent and I/O limited, so this should help communicate progress to the user. 1 and 3 log immediately, but I still think the count/total is valuable for reference, grouping, and just scrolling through a really long list.
Example:
...
(46/84) Wrote<EMAIL_ADDRESS>(47/84) Wrote github.com/go-openapi/validate@master
(48/84) Wrote github.com/golang/groupcache@master
(49/84) Wrote github.com/go-openapi/analysis@master
(50/84) Wrote<EMAIL_ADDRESS>(51/84) Wrote<EMAIL_ADDRESS>(52/84) Wrote<EMAIL_ADDRESS>(53/84) Wrote<EMAIL_ADDRESS>(54/84) Wrote github.com/spf13/afero@master
...

What should your reviewer look out for in this PR?

concurrency simplifications
better logs messages
more places to add counts

Which issue(s) does this PR fix?
Follow up from #1037

One thing I regret not doing in retrospective, especially after going through #903, is that we really want to stop writing vendor as soon as an error occurs (since continuing is useless). This impacts logging somehow, but we can merge these changes and apply that after.

I went ahead and added this because I was playing around with it and, although it's more complex, it actually ended up cleaner, plus we can control the number of concurrent writers.


factory builds for ESP8266 incompatible with ESP-01 modules

Environment

Development Kit:      none
Module or chip used: ESP-01
Operating System:     [Windows|Linux|macOS]
Power Supply:         USB

Problem Description
the single most common ESP module, the outrageously prolific ESP-01, available for years for less than a dollar US,
does not have a working build target.
there are 2 issues:

the build target for the 8266, which presupposes a 2Mbyte flash chip, is too big for both the common 512KB and 1MB flash devices.
ESP-01 modules use a 26Mhz oscillator, so the bootloader messages and AT commands are at 72000 Baud, even if the ESP-01 has been ugraded with a larger flash device.

Expected Behavior
flashing a ESP-01 acually produces a working ESP-01
Actual Behavior
the ESP-01 build target is too large at 2MB
the ESP-01 build target interacts with the serial port at 72000 baud due to crystal mismatch
Steps to repropduce

download factory_WROOM-02.bin from ESP8266-IDF-AT_V<IP_ADDRESS>.zip
esptool.py --chip esp8266 --port /dev/ttyUSB0 --no-stub write_flash 0 factory_WROOM-02.bin

Debug Logs
esptool.py v3.2
Serial port /dev/ttyUSB0
Connecting....
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: c8:2b:96:00:36:ae
Enabling default SPI flash mode...
Configuring flash size...
Flash will be erased from 0x00000000 to 0x001fffff...
Erasing flash...
Wrote 2097152 bytes at 0x00000000 in 203.9 seconds (82.3 kbit/s)...

Leaving...
Hard resetting via RTS pin...

connecting via a terminal program is useless, and 2 above oscilloscope screenshots show that the baud rate
is around 72000.  given that the crystal on the module is 26mhz, I would expect code built for a 40 Mhz crystal
to produce a baud rate of 74880, which is what we see.

Issue 1: there is a 1MB choice for ESP8266. please switch to release/v<IP_ADDRESS>_esp8266 branch, and choose Platform name PLATFORM_ESP8266, Module name ESP8266_1MB in the compilation phase. the firmware of ESP8266-IDF-AT_V<IP_ADDRESS>.zip is for WROOM-02 module, not ESP-01.
Issue 2: ESP8266/ESP8285 uses the 26 MHz oscillator by default. you can config it at ./build.py menuconfig -> Component config -> ESP8266-specific -> Main XTAL frequency.
if ESP-01 modules also use a 26Mhz oscillator, please check your UART configurations.

https://github.com/jandrassy/UnoWiFiDevEdSerial1/wiki/files/ESP8266-1MB-tx1rx3-AT_V2.2.zip

which manual?  there are so many docs, most of which refer to the ESP32 and
say nothing of the 8266.
which compiler suite did you use? on which platform?  what version?
on my ubuntu box, when I try to run menuconfig, it fails.  the esp8266 is
not well supported, certainly not well documented.
if you can point me to a document that says to do a git clone using this
url, etc, that would be great.  until then, maybe a little
less gate keeping would be better for the community.
On Thu, Feb 10, 2022 at 10:08 AM Juraj Andrássy @.***>
wrote:

https://github.com/jandrassy/UnoWiFiDevEdSerial1/wiki/files/ESP8266-1MB-tx1rx3-AT_V2.2.zip
thank you for building this and solving my immediate problem. how did you
build it?
I read the manual :-)
—
Reply to this email directly, view it on GitHub
https://github.com/espressif/esp-at/issues/606#issuecomment-1035258866,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJJUTK7WC6IYZPW4RLLVTUDU2P5KFANCNFSM5NKH5KEQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you modified the open/close state.Message
ID: @.***>

--
I refine, they debug, he/she patches, they kludge.

which manual?

the one linked on the main page of this repository.

Either.
the build is broken.

@.***:espressif/ESP8266_RTOS_SDK.git./build.py menuconfig

module_name ESP8266_1MB
platform_name=ESP8266,module_name=ESP8266_1MB
Setting IDF_PATH environment variable: /home/curt/src/esp/esp-at/esp-idf
Checking Python dependencies...
Python requirements from /home/curt/src/esp/esp-at/esp-idf/requirements.txt
are satisfied.
Executing action: menuconfig
Running make in directory /home/curt/src/esp/esp-at/build
Executing "make -j 18 menuconfig"...
[  0%] Performing build step for 'mconf-idf'
make[4]: warning: jobserver unavailable: using -j1.  Add '+' to parent make
rule.
make[4]:
/home/curt/src/esp/ESP8266_RTOS_SDK/tools/kconfig/lxdialog/check-lxdialog.sh:
No such file or directory
In file included from
/home/curt/src/esp/ESP8266_RTOS_SDK/tools/kconfig/mconf.c:23:
/home/curt/src/esp/ESP8266_RTOS_SDK/tools/kconfig/lxdialog/dialog.h:38:10:
error: #include expects "FILENAME" or
38 | #include CURSES_LOC
|          ^~~~~~~~~~
/home/curt/src/esp/ESP8266_RTOS_SDK/tools/kconfig/lxdialog/dialog.h:103:9:
error: unknown type name ‘chtype’
103 |         chtype atr;     /* Color attribute */
|         ^~~~~~
/home/curt/src/esp/ESP8266_RTOS_SDK/tools/kconfig/lxdialog/dialog.h:200:16:
error: unknown type name ‘WINDOW’
200 | int on_key_esc(WINDOW *win);
|                ^~~~~~
/home/curt/src/esp/ESP8266_RTOS_SDK/tools/kconfig/lxdialog/dialog.h:221:17:
error: unknown type name ‘WINDOW’
221 | void attr_clear(WINDOW * win, int height, int width, chtype attr);
|                 ^~~~~~
/home/curt/src/esp/ESP8266_RTOS_SDK/tools/kconfig/lxdialog/dialog.h:221:54:
error: unknown type name ‘chtype’
221 | void attr_clear(WINDOW * win, int height, int width, chtype attr);
|                                                      ^~~~~~
/home/curt/src/esp/ESP8266_RTOS_SDK/tools/kconfig/lxdialog/dialog.h:223:21:
error: unknown type name ‘WINDOW’
223 | void print_autowrap(WINDOW * win, const char *prompt, int width,
int y, int x);
|                     ^~~~~~
/home/curt/src/esp/ESP8266_RTOS_SDK/tools/kconfig/lxdialog/dialog.h:224:19:
error: unknown type name ‘WINDOW’
224 | void print_button(WINDOW * win, const char *label, int y, int x,
int selected);
|                   ^~~~~~
/home/curt/src/esp/ESP8266_RTOS_SDK/tools/kconfig/lxdialog/dialog.h:225:18:
error: unknown type name ‘WINDOW’
225 | void print_title(WINDOW *dialog, const char *title, int width);
|                  ^~~~~~
/home/curt/src/esp/ESP8266_RTOS_SDK/tools/kconfig/lxdialog/dialog.h:226:15:
error: unknown type name ‘WINDOW’
226 | void draw_box(WINDOW * win, int y, int x, int height, int width,
chtype box,
|               ^~~~~~
/home/curt/src/esp/ESP8266_RTOS_SDK/tools/kconfig/lxdialog/dialog.h:226:66:
error: unknown type name ‘chtype’
226 | oid draw_box(WINDOW * win, int y, int x, int height, int width,
chtype box,
|
^~~~~~
/home/curt/src/esp/ESP8266_RTOS_SDK/tools/kconfig/lxdialog/dialog.h:227:15:
error: unknown type name ‘chtype’
227 |               chtype border);
|               ^~~~~~
/home/curt/src/esp/ESP8266_RTOS_SDK/tools/kconfig/lxdialog/dialog.h:228:18:
error: unknown type name ‘WINDOW’
228 | void draw_shadow(WINDOW * win, int y, int x, int height, int width);
|                  ^~~~~~
/home/curt/src/esp/ESP8266_RTOS_SDK/tools/kconfig/mconf.c: In function
‘conf’:
/home/curt/src/esp/ESP8266_RTOS_SDK/tools/kconfig/lxdialog/dialog.h:97:29:
error: ‘KEY_MAX’ undeclared (first use in this function)
97 | #define ERRDISPLAYTOOSMALL (KEY_MAX + 1)
|                             ^~~~~~~
/home/curt/src/esp/ESP8266_RTOS_SDK/tools/kconfig/mconf.c:671:59: note: in
expansion of macro ‘ERRDISPLAYTOOSMALL’
671 |                 if (res == 1 || res == KEY_ESC || res ==
-ERRDISPLAYTOOSMAL)
|
^~~~~~~~~~~~~~~~~
/home/curt/src/esp/ESP8266_RTOS_SDK/tools/kconfig/lxdialog/dialog.h:97:29:
note: each undeclared identifier is reported only once for each function it
appears in
97 | #define ERRDISPLAYTOOSMALL (KEY_MAX + 1)
|                             ^~~~~~~
/home/curt/src/esp/ESP8266_RTOS_SDK/tools/kconfig/mconf.c:671:59: note: in
expansion of macro ‘ERRDISPLAYTOOSMALL’
671 |                 if (res == 1 || res == KEY_ESC || res ==
-ERRDISPLAYTOOSMAL)
|
^~~~~~~~~~~~~~~~~
/home/curt/src/esp/ESP8266_RTOS_SDK/tools/kconfig/mconf.c: In function
‘show_help’:
/home/curt/src/esp/ESP8266_RTOS_SDK/tools/kconfig/mconf.c:793:26: warning:
implicit declaration of function ‘getmaxx’ [-Wimplicit-function-declaration]
793 |         help.max_width = getmaxx(stdscr) - 10;
|                          ^~~~~~~
/home/curt/src/esp/ESP8266_RTOS_SDK/tools/kconfig/mconf.c:793:34: error:
‘stdscr’ undeclared (first use in this function); did you mean ‘stderr’?
793 |         help.max_width = getmaxx(stdscr) - 10;
|                                  ^~~~~~
|                                  stderr
In file included from
/home/curt/src/esp/ESP8266_RTOS_SDK/tools/kconfig/mconf.c:23:
/home/curt/src/esp/ESP8266_RTOS_SDK/tools/kconfig/mconf.c: In function
‘conf_choice’:
/home/curt/src/esp/ESP8266_RTOS_SDK/tools/kconfig/lxdialog/dialog.h:97:29:
error: ‘KEY_MAX’ undeclared (first use in this function)
97 | #define ERRDISPLAYTOOSMALL (KEY_MAX + 1)
|                             ^~~~~~~
/home/curt/src/esp/ESP8266_RTOS_SDK/tools/kconfig/mconf.c:855:23: note: in
expansion of macro ‘ERRDISPLAYTOOSMALL’
855 |                 case -ERRDISPLAYTOOSMALL:
|                       ^~~~~~~~~~~~~~~~~~
|                       ^~~~~~~~~~~~~~~~~~
make[4]: ***
[/home/curt/src/esp/ESP8266_RTOS_SDK/tools/kconfig/Makefile:173: mconf.o]
Error 1
make[3]: *** [CMakeFiles/mconf-idf.dir/build.make:146:
mconf-idf-prefix/src/mconf-idf-stamp/mconf-idf-build] Error 2
make[2]: *** [CMakeFiles/Makefile2:1811: CMakeFiles/mconf-idf.dir/all]
Error 2
make[1]: *** [CMakeFiles/Makefile2:1845: CMakeFiles/menuconfig.dir/rule]
Error 2
make: *** [Makefile:430: menuconfig] Error 2
make failed with exit code 2
idf.py build ret: 2
idf.py build failed
On Sat, Feb 19, 2022 at 2:20 AM Juraj Andrássy @.***>
wrote:

which manual?
the one linked on the main page of this repository.
—
Reply to this email directly, view it on GitHub
https://github.com/espressif/esp-at/issues/606#issuecomment-1045985057,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJJUTK2MNHOLUCTTZQ7BHBLU35VIHANCNFSM5NKH5KEQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you modified the open/close state.Message
ID: @.***>

--
I refine, they debug, he/she patches, they kludge.


Issue in downloading a course, says Download failed, click to retry every time.

https://www.udemy.com/tableau-for-marketing/
Issue in downloading a course, says Download failed, click to retry every time.

Please read https://github.com/FaisalUmair/udemy-downloader-gui/issues/269#issuecomment-496080793

where i found this mtd file?

Issue in downloading a course, says Download failed, click to retry every time. for Udemy business account
Ive deleted the mtd file as well . How to download the files . Which version of this app supports to download the videos from udemy business.

@pihyper @FaisalUmair @nishantcx @rodrigodevelms @m4dbra1n

Any solution  ?

same for me

same for me

I tried to download a course using udeler. It stuck at "building course data"

i fixed this error by going to the settings and skip attachments files


Tickets list is not updated automatically after creating new Ticket

Is it a ?

[x] Bug Report

[ ] Feature Request

[ ] Chore

Bug Report
Actual Behaviour
Tickets list is not updated automatically after creating new Ticket.
Expected Behaviour
It should automatically get updated after it.
Steps to reproduce it
Add a new ticket using CreateTicketFragment.
Screenshots of the issue

Android version and Phone Model
NA
Would you like to work on the issue?
Yes

Hello @srv-twry! I would like to work on it. Please let me know if you are not working on it already.

@abhaymaniyar Hi, I am working on it.

@abhaymaniyar What's the status of this issue?

I think this issue is resolved. @iamareebjamal Please close this.


Update a Custom Permission in Profile

I am trying to enable a Custom Permission in a Profile but I am not getting any response. I get no error but the Custom Permission is not enabled in the Profile.
public void assignPermissionSetToProfile(String pCustomPermission, String pProfile){

    MetadataService.Profile profile = (MetadataService.Profile) service.readMetadata('Profile', new String[] { pProfile }).getRecords()[0];

        MetadataService.ProfileCustomPermissions permission = new MetadataService.ProfileCustomPermissions();
        permission.enabled = true;
        permission.name = pCustomPermission;
        MetadataService.ProfileCustomPermissions[] permissions = new MetadataService.ProfileCustomPermissions[]{permission};
        profile.customPermissions = permissions;
        profile.custom = true;
        service.upsertMetadata(new MetadataService.Metadata[] { profile });

}

I am calling the function as engine.assignPermissionSetToProfile('Permission_2', 'quepasa');
The Custom Permission is already created inside the ORG, I just want to enable it for that profile.

Thanks in advance.

You need to handle errors in your code, the wrapper will not parse the response and throw exceptions for you. Take a look at the MetadataServiceExamples.cls at the bottom there is some utility methods to handle responses from the CRUD methods like the one your using. You can also run your code from execute annonymous and see in the debug log the XML request and responses used for more information on what is being returned.

@jmam6392 please comment further if you are still having issues here.


Select the max total from the max timestamp.

Fixes #4730

Worth noting that this is dependent upon an ever-increasing value in the quantity column.
In Engrish, this does: SELECT the max quantity FROM each day GROUPED BY the day
NOT: SELECT the last quantity of a day GROUPED BY the day
The latter would require a subquery and is thus not as efficient.
:+1: :shipit:


stm32h7 tests: spi_loopback fails due to mem_region

Describe the bug
The tescase tests/drivers/spi/spi_loopback/  now fails when ruuning on a stm32h7 target
After the merge of https://github.com/zephyrproject-rtos/zephyr/pull/57786
There is a mem region definition missing to PASS the testcase
To Reproduce
Steps to reproduce the behavior:

west build -p auto -b nucleo_h753zi tests/drivers/spi/spi_loopback/
west flash
connect D11 <--> D12 on the nucleo 144 target board
See error

Expected behavior
test PASSED
PASS - test_spi_loopback in 0.049 seconds
===================================================================
TESTSUITE spi_loopback succeeded

------ TESTSUITE SUMMARY START ------

SUITE PASS - 100.00% [spi_loopback]: pass = 1, fail = 0, skip = 0, total = 1 dus
 - PASS - [spi_loopback.test_spi_loopback] duration = 0.049 seconds

------ TESTSUITE SUMMARY END -----

Impact
CI failure
Logs and console output
*** Booting Zephyr OS build zephyr-v3.4.0-1785-gdfeb2d902756 ***
Running TESTSUITE spi_loopback
===================================================================
START - test_spi_loopback
I: SPI test on buffers TX/RX 0x240001b5/0x240009ce
I: SPI test slow config
I: Start complete multiple
E: Code -14

    Assertion failed at WEST_TOPDIR/zephyr/tests/drivers/spi/spi_loopback/src/spi.c:111: spi_complete_multiple: (ret is true)
SPI transceive failed
 FAIL - test_spi_loopback in 0.024 seconds
===================================================================
TESTSUITE spi_loopback failed.

Environment (please complete the following information):

OS: Ubuntu
Toolchain  0.16.1
Commit SHA : dfeb2d902756863c7bb1ae47c0996be678669f20

@dgastonochoa what would be a right definition to prepare a spi buffers in no cache region ?

@dgastonochoa what would be a right definition to prepare a spi buffer in no cache region ?

Hi @FRASTM ,
First, enable a memory region that DMA can access and set it as NOCACHE, e.g.:
&sram2 {
	status = "okay";
	zephyr,memory-region-mpu = "RAM_NOCACHE";
};

Then, declare a buffer in that region, e.g.:
#define NOCACHE_SECTION __attribute__((section("SRAM2")))
#define ALIGNED __attribute__((aligned(32)))
...
static uint32_t s_buf[32] NOCACHE_SECTION ALIGNED;

Finally, you can use it normally:
    s_buf[0] = 0xaaaaaaaa;
    s_buf[1] = 0x55555555;
    struct spi_buf tx_buf = {
        .buf = s_buf, .len = 8,
    };
    struct spi_buf_set tx_bufs = { .buffers = &tx_buf, .count = 1 };

    int rc = spi_write(spi1, &cfg, &tx_bufs);

You can see a complete example in https://github.com/zephyrproject-rtos/zephyr/pull/57786#issuecomment-1549500051, see "How to test" section.
Regards.

I have tried to reproduce the error as explained in the description but I get a build failure. However, I can build and run the same test for h743.

That does not seem sufficient, the SPI test on buffers TX/RX 0x24000260/0x24000240

That does not seem sufficient, the SPI test on buffers TX/RX 0x24000260/0x24000240  --> not SRAM2 area

I think I see the problem. The buffers in this test are declared as __attribute__((__section__(".nocache")));. That puts them in a nocache memory area (sram0) but that is not declared as so in devicetree. Because of this, even them being in a nocache region, the STM32 SPI driver does not recognize them as so.
As a quick solution for the tests, I would set sram2 as nocache in the required devicetree files and then declare the buffers to be in this region, in other words, replace this
static __aligned(32) char buffer_tx[BUF_SIZE] __used __attribute__((__section__(".nocache")));

by this
static __aligned(32) char buffer_tx[BUF_SIZE] __used ALIGNED NOCACHE_REGION

and so on for the rest of the buffers. Also, sram0 could be made "zephyr,memory-region" in  stm32h743.dtsi, and then mark it as nocache in devicetree. Although I imagine if it is not "zephyr,memory-region" yet, it is for a reason.
As I see it, the problem is that sram0 is not marked as nocache in devicetree, but it ends app being so by a different mechanism, or more in general, there are 2 different mechanisms to achieve a nocache area and they can clash. One solution would be to abandon the __attribute__((__section__(".nocache"))); mechanism in favor the devicetree mechanism, so there are no room for contradictions. However, I understand this breaks backwards compatibility. Then, the STM32 SPI driver should check if the region is nocache regardless of what devicetree says but I'm not sure how to do this.

I have a branch https://github.com/FRASTM/zephyr/tree/issue60977 for testing on the nucleo_h753zi
(should also add the following to the the prj.conf when building $ west build -p auto -b nucleo_h753zi tests/drivers/spi/spi_loopback/) :
CONFIG_SPI_STM32_DMA=y
CONFIG_SPI_STM32_INTERRUPT=n
CONFIG_SPI_ASYNC=n
CONFIG_NOCACHE_MEMORY=y

I have tried that branch and still don't see any reference to h753 in tests/spi/spi_loopback.

Adding the
&sram2 {
	zephyr,memory-attr = "RAM_NOCACHE";
};

to the overlay file for that board tests/drivers/spi/spi_loopback/boards/nucleo_h753zi.overlay
will improve the test result:
START - test_spi_loopback
I: SPI test on buffers TX/RX 0x300200a0/0x30020080
I: SPI test slow config
I: Start complete multiple
I: Passed
I: Start complete loop
I: Passed
I: Start null tx
E: Code -14

    Assertion failed at WEST_TOPDIR/zephyr/tests/drivers/spi/spi_loopback/src/spi.c:230: spi_null_tx_buf: (ret is true)
SPI transceive failed

I have tried that branch and still don't see any reference to h753 in tests/spi/spi_loopback.

Use the existing https://github.com/zephyrproject-rtos/zephyr/tree/main/tests/drivers/spi/spi_loopback

Use the existing https://github.com/zephyrproject-rtos/zephyr/tree/main/tests/drivers/spi/spi_loopback

Not sure what do you mean, I have checked out your branch and executed the command you provided above and the still the tests don't build. I still cannot find references to h7 so it seems to me the tests don't exist in this branch.
With regards to the test that fails:
The test that keeps failing says:
/* According to documentation, when sending NULL tx buf -
		 *  NOP frames should be sent on MOSI line
		 */

To achieve this, the if ((tx_bufs != NULL && !spi_buf_set_in_nocache(tx_bufs)) statement needs to be modified to account for the fact that, if tx_bufs contains one buffer and it is NULL, it should not return error. So replace this
if ((tx_bufs != NULL && !spi_buf_set_in_nocache(tx_bufs))

by
static bool is_null_buffer(const struct spi_buf_set *tx_bufs)
{
   return (tx_bufs.count >=1 && tx_bufs.buffers[0].buf == NULL;
}

if ((tx_bufs != NULL && !is_null_buffer(tx_bufs) && !spi_buf_set_in_nocache(tx_bufs))

Or something similar.

Use the existing https://github.com/zephyrproject-rtos/zephyr/tree/main/tests/drivers/spi/spi_loopback

Nevermind, I needed to pull.

also check the tx_bufs->buf and/or the tx_bufs->len ?

I think https://github.com/zephyrproject-rtos/zephyr/issues/60977#issuecomment-1658605836 answers this, doesn't it? Also, the provided patch fixes this problem.

Yes, it is. I am currently preparing the PR. thank for your support

fixed by the https://github.com/zephyrproject-rtos/zephyr/pull/61265


Is Azure AZ powershell support "Custom domain Suffix" setting for ASEv3?

As describe in this wiki: https://learn.microsoft.com/en-us/azure/app-service/environment/how-to-custom-domain-suffix?pivots=experience-azp custom domain suffix can be set up from the Azure portal, but I can not find any powershell API here https://learn.microsoft.com/en-us/powershell/azure/?view=azps-9.2.0, can the "custom domain suffix" be set up by azure az powershell?

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

ID: 8bc5f9fe-cf6a-d250-f263-f97cfeea02f4
Version Independent ID: 88e20bef-6a3c-7a16-06ff-8d6559c08ae1
Content: Configure custom domain suffix for App Service Environment - Azure App Service Environment
Content Source: articles/app-service/environment/how-to-custom-domain-suffix.md
Service: app-service
GitHub Login: @seligj95
Microsoft Alias: jordanselig

@bashe99 Thanks for the question! We are investigating and will update you shortly.

Thanks for the help!
One additional question: After I setup the custom domain suffix and export the ARM template, I didn't see the configured url in my ARM template, is this a bug?

According to @seligj95's script, I guess I should set the ARM template like this:
"customDnsSuffixConfiguration": {"dnsSuffix" : "abc.net", "certificateUrl": "https://kv-test/...", "keyVaultReferenceIdentity": "/subscriptions/123/resourcegroups/abc-RG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/useridentity"}

I can add the custom Dns suffix following @seligj95's script, thanks.
But when I try to do "Deploy a custom template" using the ARM template above, the custom dns suffix is not configured, any suggestion? thanks.

You should see the custom domain suffix config in that template. It should look like the below. Can you check the custom domain suffix blade in the portal and see if the config was set there?
"resources": [
{
    "apiVersion": "2022-03-01",
    "type": "Microsoft.Web/hostingEnvironments",
    "name": ...,
    "location": ...,
    "identity": {
        "type": "SystemAssigned"
    }
    "properties": {
        "customDnsSuffixConfiguration": {
            "dnsSuffix": "antares-test.net",
            "certificateUrl": "https://kv-sample-key-vault.vault.azure.net/secrets/wildcard-antares-test-net",
            "keyVaultReferenceIdentity": "systemassigned"
        },
        "internalLoadBalancingMode": "Web, Publishing",
        etc...
    }
}

Hey @seligj95  - can you clarify if specifying customDnsSuffixConfiguration is supported at deployment time?
I keep getting The parameter CustomDnsSuffixConfiguration has an invalid value. and while ARM spec has customDnsSuffixConfiguration, other docs say that ASE v3 is a pre-requisite to DNS configuration.


Checks: Create Checks Result List webview

As a member of the translation team, I want to be able to see and interact with the results of running checks on my project.
Assume we will recreate something similar to what was done in PT9 unless UX has a different design in place.
From PT9:

This is more-or-less done. There's a small amount of work to do to hook up the rerun action so that the Reerun button will display and can be used to regenerate the test data, but I wanted to get this into review before disappearing for a few days. I'm not exactly sure if the Rerun button is even something that UX will want. If so and someone else wants to hook it up, great. otherwise, I'll do it next week.

I'm not exactly sure if the Rerun button is even something that UX will want.

In PT9 "Rerun" is the key to finding out whether your fixes really fixed anything. "Are there fewer errors when I press rerun?"
If in PT10 how will the checks run? Are they always running or will they be triggered by the user manually. If they're ever triggered manually, a rerun button would be essential.

If in PT10 how will the checks run?
The intent (at least initially) is for users to enable checks to run automatically but not require it. That is not a locked in decision but how we're thinking about it right now. I'm assuming we will still allow manual runs.

For the case where users maybe don't want the checks to auto-run, it's possible that it might make sense to have an accordion control at the top that can be expanded to show each check (rather than a comma-separated list that runs off the screen). Then there could be a re-run button associated with each check, perhaps in addition to a "re-run all" button.

Hi, for a future design of the result list ux envisions different changes. We are happy to involve you @tombogle in person or just throw the idea into the design efforts. For now we think that it's probably the best to merge the PR with the current style / components and follow up with other iteration(s). If you like to do a small adjustment in here, you may change the button variant to ghost for the buttons inside of the table component.
Meanwhile it would make sense to talk through with devs if there is any generic tree component that we would like to create or consume (e.g. from external shadcn-extension or shadcn#355). Then conder using this tree as a base for the reference list component.

I definitely don't need to be part of that discussion, but I'm willing to participate if you would find it helpful (as long as it's after June 29). Since I'm still tweaking things, I did switch buttons to "ghost". Unexpectedly, that messed up the appearance of the indentation, but happily that got me looking at the Tailwind styling problem and I think I've solved the mystery!
I did briefly poke around looking at possible tree implementations (actually before I saw your comment). Assuming we can find (or create) something suitable, the probably is the way to go. At least for now, my implementation more-or-less functions like a tree.

Feedback for testing from Tom
You can check that each of the grouping options works as expected, that the Rerun button produces new results and updates the time. Also if you expand or collapse any groups, those should be remembered when you rerun, so for example, if Luke was expanded and you rerun, if there is still an error in Luke, it should remain expanded. If there is no error in Luke, but then you rerun and a new error appears for Luke, it should still be expanded. (There is probably room for future enhancements, such as adding expand-all and collapse-all buttons or maybe automatically expanding results for the current book.)
+
Also check that if you click a detail row (no matter which grouping option is selected), that row appears selected (subtle change in the background color) and any previous row selection is cleared.

Verified the Checks Result List based on the feedback. The functionality of grouping is working as it is supposed to.
The style of the display list is working as it is supposed to.
However, the scroll bar feature is missing when there are more results displayed.


How to use this library?

By reading the readme I'm not getting on how to actually use this library to turn map tiles into a material for my sphere buffer geometry.
I'm not getting on how to initialise the lib and then use it for myself. Can you please let me know any examples that'll give me clear understanding about it?

Hello @MeRahulAhire
To use the library you first must create a three.js scene and rendering setup.
Then you import the objects from this library into the three.js scene.
You will need a data provider for tile data. The lib already supports a couple of services out of the box.
Thanks a lot!

Do you have a specific example on how to use this library as a texture to sphereBufferGeometry?  I also tried this approach but it's making a hole at both the poles.
I don't want to import the object from this library as I have blender animation that I want to import it natively in it as I assume that'll be much easy. Any suggestion on how should I approach it?

You cannot use this library to dinamically generate texto for your sphere buffer,
I can use the sphere object from this library to map the tiles into a sphere surface.

I guess then this lib wont be fit for what I'm trying to do but can you please let me know that how can I cover this hole at the poles?
Thanks

Hi, @tentone I've have completed this project https://experientia.in/nasa-black-marble where it does work but is not super optimised. I wanted to know if I can bring my camera gltf animation and use it with geo-three to be able to make it run on mobile devices. Right now it's a 16k Basis texture which does hogs the ram on low spec machine.
I'm indeed thinking to look into the code base of this library to see how can I implement it in near future.


add pyyaml - 24

[Auto generated]
Number: [#24]

python-utility-scripts(czoHT)[PR 24]: Closing issue for PR: add pyyaml.
PR was closed.


fixes missing ACE install step

closes #131

@paskino, please check if travis failures are related to all the other things only. If so, accept this PR.

This and this build do build ACE and they passed.


Recursive submodule checkout

Failed without this - https://travis-ci.org/PX4/Firmware/builds/66620528

@LorenzMeier When I update nuttx_next to use @pavel-kirienko 's master which has submodule - this was needed and may be needed on PX4 master when updated as well.