Add functionality to load external label files

Added code to look for and load external label files. I.E. labels that are not embedded into the script. These can be labels that have PRs submitted, but not yet approved into a build release, or private labels that people have created for their own use.
These labels should be saved to this directory:
"/usr/local/Installomator/managed-labels"
Ownership of the directory and the label file are both checked to insure that they are root:wheel owned to prevent potential tempering with the code contained in the labels.
There is also code (that is currently commented out), that would be usable for implementing a separate Installomator signed daily/weekly/monthly (some interval) label only pkg update that would separate the imbedded script labels and potentially place labels into this path: "/usr/local/Installomator/labels"
Code to download, install and verify the signed pkg with the label updates would need to be added if this were to be implemented.
This is all based on the comments in this issue request: https://github.com/Installomator/Installomator/issues/1999

Mac admins would be responsible for implementing their own system to get their custom labels saved to the managed-labels directory and insuring the permissions on the file and folder were correct. Management systems like JAMF, Munki, Intune, etc could be utilized to make all that happen.

This looks pretty nice! Might I suggest using /Library/Management/installomator instead? We work with some other apps that seem to like using the management folder. (Thinking things like SUPER update script)

@ReArmedHalo - I like that path too, but since the existing Installomator.pkg installs the script to /usr/local/Installomator, I thought it would be best in a similar path. Having said that, I do look at this as a proof of concept and am completely open to changing it based on community consensus, if it is determined to be a viable addition to the script.

Forgot to attach some test results for verification...
I used this PR label that is not yet approved: https://github.com/Installomator/Installomator/pull/1876
Dropped the sh file into the correct path ( /usr/local/Installomator/managed-labels ) and set the file and folder permissions:

assemble.sh outputhub
2024-12-07 07:52:53 : REQ   : outputhub : ################## Start Installomator v. 10.7beta, date 2024-12-07
2024-12-07 07:52:53 : INFO  : outputhub : ################## Version: 10.7beta
2024-12-07 07:52:53 : INFO  : outputhub : ################## Date: 2024-12-07
2024-12-07 07:52:53 : INFO  : outputhub : ################## outputhub
2024-12-07 07:52:53 : DEBUG : outputhub : DEBUG mode 1 enabled.
2024-12-07 07:52:53 : INFO  : outputhub : Found a matching managed label locally: outputhub
2024-12-07 07:52:53 : INFO  : outputhub : Verified root:wheel ownership of managed label: outputhub
2024-12-07 07:52:54 : DEBUG : outputhub : name=Output Hub
2024-12-07 07:52:54 : DEBUG : outputhub : appName=
2024-12-07 07:52:54 : DEBUG : outputhub : type=dmg
2024-12-07 07:52:54 : DEBUG : outputhub : archiveName=
2024-12-07 07:52:54 : DEBUG : outputhub : downloadURL=https://d3tas2olp7glw9.cloudfront.net/Hub2/Output+Hub-<IP_ADDRESS>8-mac-x64.dmg
2024-12-07 07:52:54 : DEBUG : outputhub : curlOptions=
2024-12-07 07:52:54 : DEBUG : outputhub : appNewVersion=2.0.21
2024-12-07 07:52:54 : DEBUG : outputhub : appCustomVersion function: Not defined
2024-12-07 07:52:54 : DEBUG : outputhub : versionKey=CFBundleShortVersionString
2024-12-07 07:52:54 : DEBUG : outputhub : packageID=
2024-12-07 07:52:54 : DEBUG : outputhub : pkgName=
2024-12-07 07:52:54 : DEBUG : outputhub : choiceChangesXML=
2024-12-07 07:52:54 : DEBUG : outputhub : expectedTeamID=M4BQRFQ23V
2024-12-07 07:52:54 : DEBUG : outputhub : blockingProcesses=
2024-12-07 07:52:54 : DEBUG : outputhub : installerTool=
2024-12-07 07:52:54 : DEBUG : outputhub : CLIInstaller=
2024-12-07 07:52:54 : DEBUG : outputhub : CLIArguments=
2024-12-07 07:52:54 : DEBUG : outputhub : updateTool=
2024-12-07 07:52:54 : DEBUG : outputhub : updateToolArguments=
2024-12-07 07:52:54 : DEBUG : outputhub : updateToolRunAsCurrentUser=
2024-12-07 07:52:54 : INFO  : outputhub : BLOCKING_PROCESS_ACTION=tell_user
2024-12-07 07:52:54 : INFO  : outputhub : NOTIFY=success
2024-12-07 07:52:54 : INFO  : outputhub : LOGGING=DEBUG
2024-12-07 07:52:54 : INFO  : outputhub : LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns
2024-12-07 07:52:54 : INFO  : outputhub : Label type: dmg
2024-12-07 07:52:54 : INFO  : outputhub : archiveName: Output Hub.dmg
2024-12-07 07:52:54 : INFO  : outputhub : no blocking processes defined, using Output Hub as default
2024-12-07 07:52:54 : DEBUG : outputhub : Changing directory to /Users/gilburns/GitHub/Installomator/build
2024-12-07 07:52:54 : INFO  : outputhub : name: Output Hub, appName: Output Hub.app
2024-12-07 07:52:54.825 mdfind[80065:5634362] [UserQueryParser] Loading keywords and predicates for locale "en_US"
2024-12-07 07:52:54.825 mdfind[80065:5634362] [UserQueryParser] Loading keywords and predicates for locale "en"
2024-12-07 07:52:54.852 mdfind[80065:5634362] Couldn't determine the mapping between prefab keywords and predicates.
2024-12-07 07:52:54 : WARN  : outputhub : No previous app found
2024-12-07 07:52:54 : WARN  : outputhub : could not find Output Hub.app
2024-12-07 07:52:54 : INFO  : outputhub : appversion:
2024-12-07 07:52:54 : INFO  : outputhub : Latest version of Output Hub is 2.0.21
2024-12-07 07:52:54 : INFO  : outputhub : Output Hub.dmg exists and DEBUG mode 1 enabled, skipping download
2024-12-07 07:52:54 : DEBUG : outputhub : DEBUG mode 1, not checking for blocking processes
2024-12-07 07:52:54 : REQ   : outputhub : Installing Output Hub
2024-12-07 07:52:54 : INFO  : outputhub : Mounting /Users/gilburns/GitHub/Installomator/build/Output Hub.dmg
2024-12-07 07:52:55 : DEBUG : outputhub : Debugging enabled, dmgmount output was:
expected   CRC32 $F1D14D60
/dev/disk4          	GUID_partition_scheme
/dev/disk4s1        	Apple_HFS                      	/Volumes/Output Hub 2.0.21

2024-12-07 07:52:55 : INFO  : outputhub : Mounted: /Volumes/Output Hub 2.0.21
2024-12-07 07:52:55 : INFO  : outputhub : Verifying: /Volumes/Output Hub 2.0.21/Output Hub.app
2024-12-07 07:52:55 : DEBUG : outputhub : App size: 194M	/Volumes/Output Hub 2.0.21/Output Hub.app
2024-12-07 07:52:56 : DEBUG : outputhub : Debugging enabled, App Verification output was:
/Volumes/Output Hub 2.0.21/Output Hub.app: accepted
source=Notarized Developer ID
origin=Developer ID Application: Output Inc (M4BQRFQ23V)

2024-12-07 07:52:56 : INFO  : outputhub : Team ID matching: M4BQRFQ23V (expected: M4BQRFQ23V )
2024-12-07 07:52:56 : INFO  : outputhub : Installing Output Hub version 2.0.21 on versionKey CFBundleShortVersionString.
2024-12-07 07:52:56 : INFO  : outputhub : App has LSMinimumSystemVersion: 10.11.0
2024-12-07 07:52:56 : DEBUG : outputhub : DEBUG mode 1 enabled, skipping remove, copy and chown steps
2024-12-07 07:52:56 : INFO  : outputhub : Finishing...
2024-12-07 07:52:59 : INFO  : outputhub : name: Output Hub, appName: Output Hub.app
2024-12-07 07:52:59.538 mdfind[80175:5634675] [UserQueryParser] Loading keywords and predicates for locale "en_US"
2024-12-07 07:52:59.538 mdfind[80175:5634675] [UserQueryParser] Loading keywords and predicates for locale "en"
2024-12-07 07:52:59.573 mdfind[80175:5634675] Couldn't determine the mapping between prefab keywords and predicates.
2024-12-07 07:52:59 : WARN  : outputhub : No previous app found
2024-12-07 07:52:59 : WARN  : outputhub : could not find Output Hub.app
2024-12-07 07:52:59 : REQ   : outputhub : Installed Output Hub, version 2.0.21
2024-12-07 07:52:59 : INFO  : outputhub : notifying
ERROR: Notifications are not allowed for this application
2024-12-07 07:52:59 : DEBUG : outputhub : Unmounting /Volumes/Output Hub 2.0.21
2024-12-07 07:53:00 : DEBUG : outputhub : Debugging enabled, Unmounting output was:
"disk4" ejected.
2024-12-07 07:53:00 : DEBUG : outputhub : DEBUG mode 1, not reopening anything
2024-12-07 07:53:00 : REQ   : outputhub : All done!
2024-12-07 07:53:00 : REQ   : outputhub : ################## End Installomator, exit code 0

I think this PR will take awhile to review, debate, and decide on. But I want to keep this PR open.. it's pretty interesting at first glance.


save mtime to the files themselves for downloaded objects

add ability for modified dates on files, attachments, photos, databases, and json message bundles to be applied to the saved versions of those files. This patch code originally comes from frankkkkk, with a lot of further updates.

Looks good to me


Upgrade wgpu to 0.7.0

It is currently using 0.5.0. Please keep the comments approximately consistent where things changed.

Shelved on account of switching to a web app frontend for the short term.


Individual Proxy Setting needed

Description
Firstly, please let me describe the situation I'm in.
I'm using k3s(you can just treat it as k8s), and I do need clash proxy to make my pods function well, including jellyseer establishing connection with imdb/tmdb.
But it costs a lot packing clash into every docker image I deploy, so I made a clash pod, using k8s DNS for each pod to get proxy like this:
export http_proxy=http://clash-pre-ix-chart.ix-clash-pre:7890
export https_proxy=http://clash-pre-ix-chart.ix-clash-pre:7890
...

It works properly most of the time.
However, in some application(like jellyseer), they use localhost for checking its own api's health. The env variables will cause all network going into clash pod, which don't know the so called localhsot is which address. And it lead it to clash pod's localhost. So the jellyseer cannot launch properly, the internal error log is like this:
[AxiosError: Request failed with status code 502]
{
  code: 'ERR_BAD_RESPONSE',
  config: {
    transitional: {
      silentJSONParsing: true,
      forcedJSONParsing: true,
      clarifyTimeoutError: false
    },
    adapter: [Function: httpAdapter],
    transformRequest: [ [Function: transformRequest] ],
    transformResponse: [ [Function: transformResponse] ],
    timeout: 0,
    xsrfCookieName: 'XSRF-TOKEN',
    xsrfHeaderName: 'X-XSRF-TOKEN',
    maxContentLength: -1,
    maxBodyLength: -1,
    env: { FormData: [Function] },
    validateStatus: [Function: validateStatus],
    headers: {
      Accept: 'application/json, text/plain, */*',
      'User-Agent': 'axios/0.27.2',
      host: 'localhost:10241'
    },
    method: 'get',
    url: 'http://localhost:10241/api/v1/settings/public',
    data: undefined
  },
  request: <ref *1> ClientRequest {
    _events: [Object: null prototype] {
      abort: [Function (anonymous)],
      aborted: [Function (anonymous)],
      connect: [Function (anonymous)],
      error: [Function (anonymous)],
      socket: [Function (anonymous)],
      timeout: [Function (anonymous)],
      prefinish: [Function: requestOnPrefinish]
    },
    _eventsCount: 7,
    _maxListeners: undefined,
    outputData: [],
    outputSize: 0,
    writable: true,
    destroyed: true,
    _last: true,
    chunkedEncoding: false,
    shouldKeepAlive: false,
    maxRequestsOnConnectionReached: false,
    _defaultKeepAlive: true,
    useChunkedEncodingByDefault: false,
    sendDate: false,
    _removedConnection: false,
    _removedContLen: false,
    _removedTE: false,
    _contentLength: 0,
    _hasBody: true,
    _trailer: '',
    finished: true,
    _headerSent: true,
    _closed: true,
    socket: Socket {
      connecting: false,
      _hadError: false,
      _parent: null,
      _host: 'clash-pre-ix-chart.ix-clash-pre',
      _readableState: [ReadableState],
      _events: [Object: null prototype],
      _eventsCount: 6,
      _maxListeners: undefined,
      _writableState: [WritableState],
      allowHalfOpen: false,
      _sockname: null,
      _pendingData: null,
      _pendingEncoding: '',
      server: null,
      _server: null,
      parser: null,
      _httpMessage: [Circular *1],
      write: [Function: writeAfterFIN],
      [Symbol(async_id_symbol)]: 1831,
      [Symbol(kHandle)]: null,
      [Symbol(lastWriteQueueSize)]: 0,
      [Symbol(timeout)]: null,
      [Symbol(kBuffer)]: null,
      [Symbol(kBufferCb)]: null,
      [Symbol(kBufferGen)]: null,
      [Symbol(kCapture)]: false,
      [Symbol(kSetNoDelay)]: false,
      [Symbol(kSetKeepAlive)]: true,
      [Symbol(kSetKeepAliveInitialDelay)]: 60,
      [Symbol(kBytesRead)]: 66,
      [Symbol(kBytesWritten)]: 173,
      [Symbol(RequestTimeout)]: undefined
    },
    _header: 'GET http://localhost:10241/api/v1/settings/public HTTP/1.1\r\n' +
      'Accept: application/json, text/plain, */*\r\n' +
      'User-Agent: axios/0.27.2\r\n' +
      'host: localhost:10241\r\n' +
      'Connection: close\r\n' +
      '\r\n',
    _keepAliveTimeout: 0,
    _onPendingData: [Function: nop],
    agent: Agent {
      _events: [Object: null prototype],
      _eventsCount: 2,
      _maxListeners: undefined,
      defaultPort: 80,
      protocol: 'http:',
      options: [Object: null prototype],
      requests: [Object: null prototype] {},
      sockets: [Object: null prototype],
      freeSockets: [Object: null prototype] {},
      keepAliveMsecs: 1000,
      keepAlive: false,
      maxSockets: Infinity,
      maxFreeSockets: 256,
      scheduling: 'lifo',
      maxTotalSockets: Infinity,
      totalSocketCount: 1,
      [Symbol(kCapture)]: false
    },
    socketPath: undefined,
    method: 'GET',
    maxHeaderSize: undefined,
    insecureHTTPParser: undefined,
    path: 'http://localhost:10241/api/v1/settings/public',
    _ended: true,
    res: IncomingMessage {
      _readableState: [ReadableState],
      _events: [Object: null prototype],
      _eventsCount: 4,
      _maxListeners: undefined,
      socket: [Socket],
      httpVersionMajor: 1,
      httpVersionMinor: 1,
      httpVersion: '1.1',
      complete: true,
      rawHeaders: [Array],
      rawTrailers: [],
      aborted: false,
      upgrade: false,
      url: '',
      method: null,
      statusCode: 502,
      statusMessage: 'Bad Gateway',
      client: [Socket],
      _consuming: false,
      _dumped: false,
      req: [Circular *1],
      responseUrl: 'http://localhost:10241/api/v1/settings/public',
      redirects: [],
      [Symbol(kCapture)]: false,
      [Symbol(kHeaders)]: [Object],
      [Symbol(kHeadersCount)]: 4,
      [Symbol(kTrailers)]: null,
      [Symbol(kTrailersCount)]: 0,
      [Symbol(RequestTimeout)]: undefined
    },
    aborted: false,
    timeoutCb: null,
    upgradeOrConnect: false,
    parser: null,
    maxHeadersCount: null,
    reusedSocket: false,
    host: 'clash-pre-ix-chart.ix-clash-pre',
    protocol: 'http:',
    _redirectable: Writable {
      _writableState: [WritableState],
      _events: [Object: null prototype],
      _eventsCount: 3,
      _maxListeners: undefined,
      _options: [Object],
      _ended: true,
      _ending: true,
      _redirectCount: 0,
      _redirects: [],
      _requestBodyLength: 0,
      _requestBodyBuffers: [],
      _onNativeResponse: [Function (anonymous)],
      _currentRequest: [Circular *1],
      _currentUrl: 'http://localhost:10241/api/v1/settings/public',
      [Symbol(kCapture)]: false
    },
    [Symbol(kCapture)]: false,
    [Symbol(kNeedDrain)]: false,
    [Symbol(corked)]: 0,
    [Symbol(kOutHeaders)]: [Object: null prototype] {
      accept: [Array],
      'user-agent': [Array],
      host: [Array]
    },
    [Symbol(kUniqueHeaders)]: null
  },
  response: {
    status: 502,
    statusText: 'Bad Gateway',
    headers: { connection: 'close', 'content-length': '0' },
    config: {
      transitional: [Object],
      adapter: [Function: httpAdapter],
      transformRequest: [Array],
      transformResponse: [Array],
      timeout: 0,
      xsrfCookieName: 'XSRF-TOKEN',
      xsrfHeaderName: 'X-XSRF-TOKEN',
      maxContentLength: -1,
      maxBodyLength: -1,
      env: [Object],
      validateStatus: [Function: validateStatus],
      headers: [Object],
      method: 'get',
      url: 'http://localhost:10241/api/v1/settings/public',
      data: undefined
    },
    request: <ref *1> ClientRequest {
      _events: [Object: null prototype],
      _eventsCount: 7,
      _maxListeners: undefined,
      outputData: [],
      outputSize: 0,
      writable: true,
      destroyed: true,
      _last: true,
      chunkedEncoding: false,
      shouldKeepAlive: false,
      maxRequestsOnConnectionReached: false,
      _defaultKeepAlive: true,
      useChunkedEncodingByDefault: false,
      sendDate: false,
      _removedConnection: false,
      _removedContLen: false,
      _removedTE: false,
      _contentLength: 0,
      _hasBody: true,
      _trailer: '',
      finished: true,
      _headerSent: true,
      _closed: true,
      socket: [Socket],
      _header: 'GET http://localhost:10241/api/v1/settings/public HTTP/1.1\r\n' +
        'Accept: application/json, text/plain, */*\r\n' +
        'User-Agent: axios/0.27.2\r\n' +
        'host: localhost:10241\r\n' +
        'Connection: close\r\n' +
        '\r\n',
      _keepAliveTimeout: 0,
      _onPendingData: [Function: nop],
      agent: [Agent],
      socketPath: undefined,
      method: 'GET',
      maxHeaderSize: undefined,
      insecureHTTPParser: undefined,
      path: 'http://localhost:10241/api/v1/settings/public',
      _ended: true,
      res: [IncomingMessage],
      aborted: false,
      timeoutCb: null,
      upgradeOrConnect: false,
      parser: null,
      maxHeadersCount: null,
      reusedSocket: false,
      host: 'clash-pre-ix-chart.ix-clash-pre',
      protocol: 'http:',
      _redirectable: [Writable],
      [Symbol(kCapture)]: false,
      [Symbol(kNeedDrain)]: false,
      [Symbol(corked)]: 0,
      [Symbol(kOutHeaders)]: [Object: null prototype],
      [Symbol(kUniqueHeaders)]: null
    },
    data: ''
  }
}

Version
1.3.0
Steps to Reproduce
When setting the proxy env, and the proxy is not on this server, it will reproduce.
Screenshots
No response
Logs
No response
Platform
desktop
Device
PC
Operating System
Debian 9
Browser
Edge
Additional Context
What I think can fix this problem properly is to make a way for user to set proxy for jellyseer's tmdb or other external api connection, like I've seen in some other applications.
Thanks a lot for your viewing and glad to help or discussion.
Code of Conduct

[X] I agree to follow Overseerr's Code of Conduct

How are you setting up jellyseerr? Using localhost? 🤔

How are you setting up jellyseerr? Using localhost? 🤔

nope... It's jellyseer's self healthcheck using localhost, I didn't modify that.

#181 It's in fact the same problem with this closed issue.

#181 It's in fact the same problem with this closed issue.

I think that issue was fixed in discord. I should have posted the fix

Have you tried exporting the no proxy env?
export http_proxy=http://clash-pre-ix-chart.ix-clash-pre:7890
export https_proxy=http://clash-pre-ix-chart.ix-clash-pre:7890
export no_proxy="localhost,<IP_ADDRESS>"
...

Have you tried exporting the no proxy env?
export http_proxy=http://clash-pre-ix-chart.ix-clash-pre:7890
export https_proxy=http://clash-pre-ix-chart.ix-clash-pre:7890
export no_proxy="localhost,<IP_ADDRESS>"

I used to do this exact thing on jellyfin before I got transparent proxy setup in router level. And my jellyfin health check would fail back then. Then I added the no_proxy and it started working
Not the solution to the exact the issue raised by worth a try as it might just solve the healthcheck thing

You just taught me something new... Thanks and I'll try it.

Great, it works~ I didn't know there's a env variable for no_proxy, I even tried on modifying /etc/hosts.. btw, thanks for your help

Great, it works~ I didn't know there's a env variable for no_proxy, I even tried on modifying /etc/hosts.. btw, thanks for your help

Glad to have been of help and you got it working! c:


[$1000] Make Avatar upload "go back" / "Undo" experience better

Problem
Right now on native devices, NewDot lets you choose from your photo album and edit, but if you decide not to select the photo you chose (bc the edit crop wasn’t right) you have to start over— the screen takes you back to the profile page and you have to select upload or take a photo.
Reported in Slack here: https://expensify.slack.com/archives/C01GTK53T8Q/p1678602259345699

cc @joaniew since you suggested this idea

Solution
It would be great if you X’ed out of a photo selection, if it took you back to the camera album where you left off in your scrolling to choose a new photo rather than have you start over.
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01fdfd3d864ed3da09
Upwork Job ID:<PHONE_NUMBER>103022080
Last Price Increase: 2023-03-12

Job added to Upwork: https://www.upwork.com/jobs/~01fdfd3d864ed3da09

Triggered auto assignment to @garrettmknight (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

Triggered auto assignment to Contributor-plus team member for initial proposal review - @Santhosh-Sellavel (External)

Triggered auto assignment to @danieldoglas (External), see https://stackoverflow.com/c/expensify/questions/7972 for more details.

Sorry @danieldoglas I assigned myself right after creating this issue, so I guess the webhook didn't know I was assigned yet when you got assigned 😅

Proposal
Please re-state the problem that we are trying to solve in this issue.
If you decide not to select the photo you chose (bc the edit crop wasn’t right) you have to start over— the screen takes you back to the profile page and you have to select upload or take a photo.
What is the root cause of that problem?
We're dismissing the crop modal without reopening the AttachmentPicker. This is a feature request.
What changes do you think we should make in order to solve the problem?

In https://github.com/Expensify/App/blob/bbfdc5ceabb949d1cd31148b6f77e0f4cfe6b1d8/src/components/AttachmentPicker/index.native.js#L123, we should introduce a new param to indicate which attachment selection method we select (camera, gallery, documents, ...)
Then in completeAttachmentSelection and onPicked we need to pass the attachment data along with the attachment selection method to the caller.
In https://github.com/Expensify/App/blob/77497a2e5ef62bc48e0965e62914d3971e3a8b8f/src/components/AvatarWithImagePicker.js#L203, we need to additionally save the attachment selection method to the page state.
When we close the crop modal, we can reopen the correct attachment method (take photo/gallery/documents) based on the information saved in the state.
What alternative solutions did you explore? (Optional)
NA

For this requirement I don't think it's possible to achieve, since the native gallery image picker will not preserve our scrolling location, I haven't seen such behavior in any other app as well. @Beamanator @joaniew do you think it's ok to skip it (it will show the gallery picker again but will not scroll to the last location)?

I think that's fine, but @joaniew I wonder if you've seen other apps that do preserve the last image you were looking at in your gallery? Like is this part (preserving scroll location) something you've seen in other apps or no?

i'm not sure if i'm explaining correctly but here's the video of what Whatsapp does that I think we should do https://expensify.slack.com/archives/C01GTK53T8Q/p1678741740754179?thread_ts=1678602259.345699&cid=C01GTK53T8Q

@garrettmknight, @Beamanator, @Santhosh-Sellavel Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

May be should remove helpwanted and plan this first @Beamanator

I think that's fair - @Beamanator / @joaniew wanna work out what you want to happen and then reopen this?

That's fair - I don't think I'm advocating for a huge feature change, so maybe @Beamanator you and i can sync up real quick in iceland to chat over what's possible here?

Ya I looked at https://github.com/react-native-image-picker/react-native-image-picker for a bit (this is what we use for the image picker on native) and yeahhhh it doesn't look like the feature we want is available, as @tienifr mentioned.
@joaniew I do kinda feel like this is a pretty small improvement and would require quite a big effort to get working, so maybe we should probably :donothing: for now 🤷

preserve the last image you were looking at

@Beamanator just a note only this part is not possible. The rest like this part It would be great if you X’ed out of a photo selection, if it took you back to the camera album where you left off is totally possible if we want to improve it now.
cc @joaniew


Create new lone-executable-definition rule

Description
Adds the suggested rule from #1311 to require one file per query/fragment/mutation/subscription. Fixes #1311.
Type of change
Please delete options that are not relevant.

[x] New feature (non-breaking change which adds functionality)

How Has This Been Tested?
I've created new unit tests for the rule, and also ran npm test to be sure that I did not break anything.
Test Environment:

OS: Ubuntu 22.04
NodeJS: 16.18.0

Checklist:

[x] I have followed the
CONTRIBUTING doc and the
style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests and linter rules pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules

Further comments
The latest commit (b0b0cc802ea5d66da3d1939416df81b08284d6d2) were automatically generated with npm run prettier. I'm happy to revert it if required.

Amazing! Hope it was fun! Will be part of next release 🎉

It was! And actually relatively easy to implement.


Stub: Make a note in the README about where you can download a .phar file.

It wasn't immediately obvious for users unfamilar with GitHub.
This is a stub. I'll submit a pull later!

There is a link to the releases page in the README.md:

Do you think 1 more is needed?

Bizarre. Thanks for taking the time to look at this, and sorry for wasting it. I could swear both I and a colleague missed that!
Cheers.


[AutoPR alertsmanagement/resource-manager] Add SmartDetectorAlertRules swagger

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/6124

Codecov Report

Merging #5481 into restapi_auto_alertsmanagement/resource-manager will not change coverage.
The diff coverage is n/a.

@@                               Coverage Diff                               @@
##           restapi_auto_alertsmanagement/resource-manager    #5481   +/-   ##
===============================================================================
  Coverage                                           48.34%   48.34%
===============================================================================
  Files                                                6599     6599
  Lines                                              189119   189119
===============================================================================
  Hits                                                91439    91439
  Misses                                              97680    97680

Continue to review full report at Codecov.

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


Allow ability to specify Grafana image version/tag in the Grafana CustomResourceDefinition

Lots of other operators allow the ability to specify the base image used for the resource in the CustomResourceDefinition. We've found this to be really useful, as we can upgrade/patch the image without also having to also change/upgrade the operator.
For the grafana-operator, we could add a version/tag/image field to the Grafana CustomResourceDefinition to allow doing this. Is this something you'd consider doing / accepting a PR for?
Couple of examples from other operators:

Prometheus Operator (see baseImage  in https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#prometheusspec)]
Elastic Operator (see 'version' field in https://www.elastic.co/guide/en/cloud-on-k8s/current/k8s-quickstart.html#k8s-deploy-elasticsearch)

You can currently override the Grafana image using a flag: https://github.com/integr8ly/grafana-operator/blob/master/documentation/deploy_grafana.md#operator-flags

Sure, you can override in the grafana-operator, but I was hoping ideally for a way on specifying this on the actual Grafana resource. This allows you to e.g. upgrade between different Grafana versions easily (because you can run two different versions of Grafana at the same time). At the moment, to update Grafana version, you have to rollout a new version of the grafana-operator and there's no way of running more than one version at a time.

Prometheus Operator (see baseImage  in [https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#prometheusspec)]](https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#prometheusspec)%5D)
Elastic Operator (see 'version' field in https://www.elastic.co/guide/en/cloud-on-k8s/current/k8s-quickstart.html#k8s-deploy-elasticsearch)

@robbieheywood That's interesting.
One reason I've been reluctant to add support for specifying images is to ensure upgrading between different versions is more controlled. If the operand image can be changed by the user, then it makes it difficult for the operator to give any guarantees of supportability with different versions of the operand, particularly upgrading between 2 versions that would require some changes.
Specifying a different image version/tag that what was tested would probably be fine for minor or patch differences (with no future support guarantee), but definitely needs some thought about different major version support.

By allowing the operand image version to be specified as an argument for the operator, doesn't the operator already need to support different versions

I guess you're right.
I think we made a concession when hit with the problem of having upstream & downstream (community vs. productised) image support. @pb82 Do you recall how that conversation went and what was agreed?
I'm starting to wonder if we might be putting the cart before the horse in terms of imposing restrictions before we know of specific restrictions that are needed to prevent problems.

@david-martin I think we decided to allow overriding the image so that we can use the productized image for our purposes, while still defaulting to the Grafana community image upstream (which is more suitable there).

@pb82 This makes more sense. Which kind of format will be preferred, image:tag or image@shaxxxxx?  Or should we have both. Currently we use the hash and ocp also use this kind too.


[App Service] az webapp deploy and az webapp deployment using local file: Added checksum header to check file integrity in service, for linux app service

Related command
az webapp deploy
az webapp deployment source config-zip
Description
For Linux app service, we have been seeing multiple customer issues where the service side logs indicate that the file sent in the deployment request is corrupt. But we do not know the source of these errors - client, network or service.
Adding file checksum to the request header and matching that with the checksum computed on the service side would enable us to identify the root cause of these errors.
This change is only for linux app service.
Testing Guide
Tested the following scenarios using args in launch.json

az webapp deploy -g sumali-prod-test-2023 -n dotnet-8-3108 --src-path D:\test\net8.0.zip
az webapp deployment source config-zip -g sumali-prod-test-2023 -n dotnet-8-3108 --src D:\test\net8.0.zip

History Notes

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

[ ] I adhere to the Error Handling Guidelines.

App Service

please fix the style check issue: https://dev.azure.com/azclitools/public/_build/results?buildId=176994&view=logs&j=36dd4138-4d53-5e46-00d9-e5cd9744be05&t=1cf3879c-0a42-5ccd-7693-7a4781d739d8

please fix the style check issue: https://dev.azure.com/azclitools/public/_build/results?buildId=176994&view=logs&j=36dd4138-4d53-5e46-00d9-e5cd9744be05&t=1cf3879c-0a42-5ccd-7693-7a4781d739d8

Fixed


Add Implicit Regularized Gaussian notebook by Jasper

Minor modifications to come to show version and author

Great. We good to merge?


Enable TD for native tests

@bot-gradle test QFN

Sorry I don't understand what you said.
Currently I support the following commands:

@bot-gradle test {BuildStage} to trigger a build

e.g. @bot-gradle test SanityCheck plz
SanityCheck/CompileAll/QuickFeedbackLinux/QuickFeedback/ReadyForMerge/ReadyForNightly/ReadyForRelease are supported
test this means test ReadyForMerge
test and merge to trigger a pre-tested commit build
cancel to cancel a running pre-tested commit build or remove it from queue
SanityCheck can be abbreviated as SC, ReadyForMerge as RFM, etc.
Specific builds:

AST: AllSmokeTestsReadyForMerge
AFT: AllFunctionalTestsReadyForMerge
ASB: AllSpecificBuildsReadyForMerge
ACC: AllConfigCacheTestsReadyForMerge
ACT: AllCrossVersionTestsReadyForNightly
APTN: AllPerformanceTestsReadyForNightly
AFTN: AllFunctionalTestsReadyForNightly
ACTR: AllCrossVersionTestsReadyForRelease
AFTR: AllFunctionalTestsReadyForRelease

@bot-gradle help to display this message
@bot-gradle clean to clear the conversation history

@bot-gradle test RFN

OK, I've already triggered ReadyForNightly build for you.

@bot-gradle test RFN

OK, I've already triggered ReadyForNightly build for you.

Superseded by #18054


Refactoring: Agent Base Architecture

We decided to modify the architecture slightly. Currently, we process instructions one by one. We search for an appropriate handler for each instruction, which is fast but not easily extendable. Right now, we have relatively high coupling between classes.
We can try implementing a different agent-based architecture. Instead of instructing handlers on which instruction to handle, we can implement a set of agents that would scan the entire instruction stack and independently decide how to decompile different parts of it.
This might make the architecture much more flexible.
In the beginning, we should create a sketch: just a few classes that would partially describe the entire solution.

@volodya-lombrozo 2 puzzles #383, #384 are still not solved.

@volodya-lombrozo the puzzle #383 is still not solved; solved: #384.


django 3.2 upgrade and minor changes to admin

upgrades to Django 3.2
change the order of people in the admin dashboard

Karen has decided she doesn't want the new fields in the model, so removing them


Convert examples/ and tests/ into sub-workspaces

This PR resolves the problem of rules_postcss dependents pulling in Sass and TypeScript because of our examples, even if they won't actually use Sass or TypeScript.
The way this PR chooses to resolve the problem is by turning examples/ and tests/ into sub-workspaces, where the Sass and TypeScript dependencies are added.
Solving this problem using sub-workspaces also allows us to create new examples with npm deps that won't affect the root workspace.
(For example, Tailwind is a highly popular PostCSS plugin for UI development, with 25.7k stars on GitHub—for reference, PostCSS has 23k stars at time of writing. If it was decided to merge a Tailwind example, then merging this PR followed by merging such an example wouldn't affect downstream users of rules_postcss.)
Closes #43

This is well outside my Bazel expertise. Maybe @alexeagle should take a look at this one as well?

My last commit on rules_python shows how nested example workspaces can be integration tested. It also detects breaking changes where users WORKSPACE files would need to change due to a dangling dev dependency.
I don't think tests should be a nested workspace though. They are cumbersome. Just exclude test folders from your distribution artifact.

It seems like the approach from https://github.com/bazelbuild/rules_python/pull/337/files and https://github.com/bazelbuild/rules_python/pull/338/files is quite hefty, particularly the setup of .bazelrc + tools/bazel_integration_test/update_deleted_packages.sh.
Could you expand on the nested test workspace being cumbersome? It seems to me like making tests a nested workspace is much lighter in comparison to the rules_python approach; Bazel CI works as expected, and the primary disadvantage is that local testing requires developers to cd into the tests dir. Though the cd issue could potentially be alleviated using a package.json script, which would be not entirely surprising in a Node.js environment.


Neuroscience

The discussion of neuroscience in the Plural World chapter is inadequately informed and missing parts.  This needs to be fixed.

Hey, I believe I could help with this. Could you please orientate me to what you would like to be added?

@i2kmt, absolutely and thanks so much!  See the Plural World chapter.  There is a section on Neuroscience you should be able to find easily.  This section is very weak, compared to the sections on ecology, mathematics and physics.  I'd like to see it improved to both have the quality of these other sections (both in substance and citation support) and to parallel them in formatting.  Do you have the neuroscience background to do so?  Don't worry about writing tone matching too much...I can submit a PR to address any stylistic inconsistency.

Great! Well I am a medicine student, I have taken courses like neurophysiology and neuroanatomy. Besides that, I have just started reading and doing some brain modeling tutorials (there is a repository in my profile). I hope these make me qualified :) Is this okay?

Absolutely!  Let’s see what you come up with.
From: Ioanna Kakomyta @.>
Sent: Tuesday, June 20, 2023 3:39 PM
To: pluralitybook/plurality @.>
Cc: pluralitybook @.>; Author @.>
Subject: Re: [pluralitybook/plurality] Neuroscience (Issue #27)
Great! Well I am a medicine student, I have taken courses like neurophysiology and neuroanatomy. Besides that, I have just started reading and doing some brain modeling tutorials (there is a repository in my profile). I hope these make me qualified :) Is this okay?
—
Reply to this email directly, view it on GitHub https://github.com/pluralitybook/plurality/issues/27#issuecomment-1599397472 , or unsubscribe https://github.com/notifications/unsubscribe-auth/A3BRRPTBWCCNM463FLFAMT3XMH36FANCNFSM6AAAAAAZJLK63U .
You are receiving this because you authored the thread.  https://github.com/notifications/beacon/A3BRRPQTN4D7XQXDYDXOTOLXMH36FA5CNFSM6AAAAAAZJLK63WWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTS7KTPGA.gif Message ID: @.*** @.***> >

 Gov4Git notices
On Friday, 12-Jan-24 22:29:00 UTC by Gov4Git dev
Notice 7ntd3f
Started managing this issue as Gov4Git concern 27 with initial priority score of 0.000000.
This project is managed by Gov4Git, a decentralized governance system for collaborative git projects.
To participate in governance, install the Gov4Git desktop app.

We removed most scientific material so I am closing this issue.

 Gov4Git notices
On Thursday, 22-Feb-24 16:07:44 UTC by Gov4Git dev
Notice gdafgc
This issue, managed as Gov4Git proposal 27, has been cancelled 🌂
The issue priority tally was 0.000000.
Refunds issued:
Tally breakdown by user:


Only use activeTab permission

The activeTab permission gives an extension temporary access to the currently active tab when the user invokes the extension - for example by clicking its browser action. Access to the tab lasts until the tab is navigated or closed.
This serves as an alternative for many uses of <all_urls>, but displays no warning message during installation:

Without activeTab
With activeTab

Good suggestion! I did some research and in order make full use of the activeTab permission it requires some refactoring to remove the content_scripts.


Which rotation matrix to use?

Is the direction cosine matrix correct?

Use scipy spacial rotation matrix function?

Solved: Use James Avros Algorithm "Fast Random Rotation Matrices" to get uniformly distributed random rotations.


added new flag -t to assume credentials in terminal along with web co…

Describe your changes

Added a new flag (-t) in order to assume credentials on console along with web console, having the following behaviour (taken from a Common Fate community discussion):
No -t or -c: terminal
-t : terminal
-c console
-t and -c: terminal and console

Type of change

[ ] 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)
[x] This change requires a documentation update

Issue and Documentation

#280

Testing
Please describe how the reviewer can test the changes. Also include steps to reproduce the testing environment.

assume -c -t should assume credentials to both terminal and web console
assume -c should assume credentials to web console
assume -t or just assume should assume credentials to terminal

Checklist before requesting a review

[x] I have performed a self-review of my code.
[x] I have commented my code, particularly in hard-to-understand areas.
[ ] I have added tests that prove my fix is effective or that my feature works.
[ ] Do analytics need to be implemented?
[ ] I have made corresponding changes to the documentation, docs PR has been linked.
[x] New and existing unit tests pass with my changes.
[ ] Any dependent changes have been merged and published in downstream modules.

Hey @JoshuaWilkes, in regard to:

I have a feeling the library we use actually treats -ct the same as -c -t I might be wrong though.

the cli library does provide a way to combine options, but I wasn't able to make it work even though I set the UseShortOptionHandling.
I need to check this out later.


arrays_baris_zirhli.py

You can't use NumPy without import it, right?

Sorry about that,exactly I can not manipulated without using the Numpy I will fix ASAP and review once more time Thanks for patience and supporting

Check the tests, you have failed some of them. The problem is the way you are using to raise the error.

I can not find out failure reason, even if I tried other who upload guys codes but result did not change.
failed cases force to show up wrong values in parameter. My exception handle lines, respond related answer to them.
What should I have been expected as output? I have no idea but, I know that if someone put (2,5,13) test codes will not allow pass.


[BACKLOG-25980] Adding custom step analyzer for SingleThreader

Build Completed
:x: This pull request has errors. They will need to be addressed before it can be accepted. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
mvn -B -f 'pom.xml' -pl 'engine' -P '!assemblies' -Dsurefire.runOrder=alphabetical -Daudit -amd clean install

Cleanup Commands
mvn -B -f 'pom.xml' -pl 'engine' -P '!assemblies' -amd build-helper:remove-project-artifact

Changed files
  engine/src/main/java/org/pentaho/di/trans/steps/singlethreader/SingleThreaderMeta.java

Unit Test Coverage
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.

:warning: Coverage Changes (click to expand)
org.pentaho.di.trans.step.StepMeta

Branch Change: -0.6% :small_red_triangle_down:
Complexity Change: -0.5% :small_red_triangle_down:
Instruction Change: -0.2% :small_red_triangle_down:
Line Change: -0.3% :small_red_triangle_down:

org.pentaho.di.trans.steps.dbproc.DBProcMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.dimensionlookup.DimensionLookupMeta

Branch Change: -1.8% :small_red_triangle_down:
Complexity Change: -1.1% :small_red_triangle_down:
Instruction Change: -0.4% :small_red_triangle_down:
Line Change: -0.3% :small_red_triangle_down:

org.pentaho.di.trans.steps.groupby.GroupByMeta

Branch Change: -5.1% :small_red_triangle_down:
Complexity Change: -5.3% :small_red_triangle_down:
Instruction Change: -0.3% :small_red_triangle_down:
Line Change: -0.7% :small_red_triangle_down:

org.pentaho.di.trans.steps.ldapoutput.LDAPOutputMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.sortedmerge.SortedMergeMeta

Instruction Change: -0.2% :small_red_triangle_down:

org.pentaho.di.trans.steps.symmetriccrypto.symmetriccryptotrans.SymmetricCryptoTransMeta

Branch Change: -3.3% :small_red_triangle_down:
Complexity Change: -1.8% :small_red_triangle_down:
Instruction Change: -0.3% :small_red_triangle_down:

org.pentaho.di.trans.steps.gpload.GPLoadMeta

Branch Change: -0.9% :small_red_triangle_down:
Complexity Change: -0.8% :small_red_triangle_down:
Instruction Change: -0.2% :small_red_triangle_down:

License header violations

:heavy_exclamation_mark: Copyright year is not the current year on engine/src/main/java/org/pentaho/di/trans/steps/singlethreader/SingleThreaderMeta.java. Found 2017. Was expecting 2018

Build Completed
:fire: This pull request has some issues. It would be preferable to fix them in order for it to be just perfect. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
mvn -B -f 'pom.xml' -pl 'engine' -P '!assemblies' -Dsurefire.runOrder=alphabetical -Daudit -amd clean install

Cleanup Commands
mvn -B -f 'pom.xml' -pl 'engine' -P '!assemblies' -amd build-helper:remove-project-artifact

Changed files
  engine/src/main/java/org/pentaho/di/trans/steps/singlethreader/SingleThreaderMeta.java

Unit Test Coverage
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.

:warning: Coverage Changes (click to expand)
org.pentaho.di.job.entries.waitforsql.JobEntryWaitForSQL

Branch Change: -0.8% :small_red_triangle_down:
Complexity Change: -1% :small_red_triangle_down:
Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.step.StepMeta

Branch Change: -0.6% :small_red_triangle_down:
Complexity Change: -0.5% :small_red_triangle_down:
Instruction Change: -0.2% :small_red_triangle_down:
Line Change: -0.3% :small_red_triangle_down:

org.pentaho.di.trans.steps.calculator.CalculatorMetaFunction

Branch Change: -8.7% :small_red_triangle_down:
Complexity Change: -3% :small_red_triangle_down:
Instruction Change: -0.7% :small_red_triangle_down:
Line Change: -0.9% :small_red_triangle_down:

org.pentaho.di.trans.steps.singlethreader.SingleThreaderMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.sortedmerge.SortedMergeMeta

Instruction Change: -0.2% :small_red_triangle_down:

org.pentaho.di.trans.steps.webservices.WebServiceMeta

Branch Change: -1.7% :small_red_triangle_down:
Complexity Change: -1.2% :small_red_triangle_down:
Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.ui.repository.pur.repositoryexplorer.model.UISecurityRole

Branch Change: -1.8% :small_red_triangle_down:
Complexity Change: -1.5% :small_red_triangle_down:
Instruction Change: -0.2% :small_red_triangle_down:
Line Change: -0.5% :small_red_triangle_down:

org.pentaho.di.trans.steps.salesforceinsert.SalesforceInsertMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.salesforceupdate.SalesforceUpdateMeta

Instruction Change: -0.2% :small_red_triangle_down:

org.pentaho.di.trans.steps.salesforceupsert.SalesforceUpsertMeta

Instruction Change: -0.1% :small_red_triangle_down:

@pentaho/r2d2


Release 0.3.0

Make sure you have:

[x] added the necessary updates to doc/content/whatsnew.rst
[x] added documentation for new features
[x] updated sklearn_xarray/version.py if you are preparing a new release

Coverage remained the same at 93.183% when pulling 76b46f3c9815bf12bed9fda89f44060bea033244 on develop into bacb54bfe1db83c3cd4a9f2e365a574ea1a3d0e8 on master.


Camera won't work when impeller enabled on IOS

When I activate impeller on iOS a blank white screen appears instead of the camera screen.

I recently upgraded from mobile_scanner major version 2 to 3, while using Flutter 3.7.3 on iOS with impeller enabled. On both versions of mobile_scanner, our scanning solution is working and the camera is displayed properly.
The issue you experienced may be specific to another aspect of your particular solution.


Manual sync feature

💡 Is your feature request related to a problem? Please describe.
Since VS Code Sync seems to be permanently broken: Issue #1079 #983 etc. ... can we be guided to a manual sync of extensions settings file?
💡 Describe the solution you'd like
Some documentation to be able to manually sync the settings using third party options like mackup, dropbox etc. would be super useful.
💡 Additional context

Some documentation to be able to manually sync the settings using third party options like mackup, dropbox etc. would be super useful.

Duplicate of #256


Loading JSON data in JS?

Feel like I must be missing something obvious, but have looked thru docs and nothing's jumping out
Have a JSON loaded into lab.beakernotebook.com in my files and cloud resources section.  how do i get it into a variable?
in JS I'd normally use let data = require('data.json'), but it looks like require is coopted by the beaker & not avail for this particular use.
ETA: tried this snip
var bush = require(["/mnt/scratch/bush.json"]), but just returns this:
$ beaker.print(bush)
function localRequire(deps, callback, errback) {
                    var id, map, requireMod;

                    if (options.enableBuildCallback && callback && isFunction(callback)) {
                        callback.__requireJsBuild = true;
                    }

                    if (typeof deps === 'string') {
                        if (isFunction(callback)) {
                            //Invalid call
                            return onError(makeError('requireargs', 'Invalid require call'), errback);
                        }

                        //If require|exports|module are requested, get the
                        //value for them from the special handlers. Caveat:
                        //this only works while module is being defined.
                        if (relMap && hasProp(handlers, deps)) {
                            return handlers[deps](registry[relMap.id]);
                        }

                        //Synchronous access to one module. If require.get is
                        //available (as in the Node adapter), prefer that.
                        if (req.get) {
                            return req.get(context, deps, relMap, localRequire);
                        }

                        //Normalize module name, if it contains . or ..
                        map = makeModuleMap(deps, relMap, false, true);
                        id = map.id;

                        if (!hasProp(defined, id)) {
                            return onError(makeError('notloaded', 'Module name "' +
                                        id +
                                        '" has not been loaded yet for context: ' +
                                        contextName +
                                        (relMap ? '' : '. Use require([])')));
                        }
                        return defined[id];
                    }

                    //Grab defines waiting in the global queue.
                    intakeDefines();

                    //Mark all the dependencies as needing to be loaded.
                    context.nextTick(function () {
                        //Some defines could have been added since the
                        //require call, collect them.
                        intakeDefines();

                        requireMod = getModule(makeModuleMap(null, relMap));

                        //Store if map config should be applied to this require
                        //call for dependencies.
                        requireMod.skipMap = options.skipMap;

                        requireMod.init(deps, callback, errback, {
                            enabled: true
                        });

                        checkLoaded();
                    });

                    return localRequire;
                }

@ildipo says:
The file has to be uploaded in the project associated files. beaker.beakerLab.storageServicePath provides a URL to the file directory and he can use that url to load it from JS.
beaker.beakerLab.storageFilePath is for loading it in any other language.


Tests hangs sometimes in IE11 when a js-error appeared on page load

https://travis-ci.org/testcafe-build-bot/testcafe/jobs/124008762

I'm working on this


Extremely slow performance after update from ESLint 5 to 6 or 7

We have a huge project, and on ESlint 5 linting time looked like this:
import/no-unresolved           | 12226.921 |    18.8%
import/no-named-as-default     | 10055.898 |    15.5%
indent                         |  8877.540 |    13.6%
react/display-name             |  2663.403 |     4.1%
react/no-deprecated            |  2431.606 |     3.7%
react/no-direct-mutation-state |  2063.651 |     3.2%
react/no-string-refs           |  1353.248 |     2.1%
react/jsx-no-bind              |  1315.276 |     2.0%
react/require-render-return    |  1282.926 |     2.0%
import/extensions              |  1075.427 |     1.7%

After update to ESLint 6 or 7 (both produce same picture), linting time of eslint-plugin-import rules extremely degraded (10 minutes instead of 20 seconds):
import/no-unresolved              | 446864.448 |    61.4%
import/no-named-as-default-member | 233939.116 |    32.1%
indent                            |   9687.283 |     1.3%
react/jsx-no-bind                 |   2519.813 |     0.3%
react/no-deprecated               |   2486.111 |     0.3%
react/no-direct-mutation-state    |   2041.882 |     0.3%
react/display-name                |   1853.400 |     0.3%
react/no-string-refs              |   1379.716 |     0.2%
import/no-duplicates              |   1294.837 |     0.2%
react/require-render-return       |   1279.207 |     0.2%

I tried updating plugin version with no luck.
I found out that exactly this commit in ESLint is at fault: https://github.com/eslint/eslint/commit/6ae21a4bfe5a1566f787fbad798182a524b96d28 (PR https://github.com/eslint/eslint/pull/11546)
That's a pretty huge PR, and I couldn't find out what exactly has gone wrong. I also created an issue in ESLint repo: https://github.com/eslint/eslint/issues/13722
May be you could take a look at discussion and help to find out the problem?
I am afraid that for many projects which update from ESLint 5, eslint-plugin-import will be too slow and we will have to remove it. But it's a great plugin, and I'd like to debug and fix the problem :)

This hasn't been the case on many large projects I've run eslint on. Additionally, you can use jest-eslint-runner and jest to parallelize your eslint runs.
I'll close this in favor of the eslint issue you filed, since there's nothing we can really do about it.

This hasn't been the case on many large projects I've run eslint on.

I suppose, out project is really large - more then 10.000 JS files.

Additionally, you can use jest-eslint-runner and jest to parallelize your eslint runs.

Yup, I alreay tried this. Still, with jest time still doubles in comparison with old ESLint version, and CPU time is very expensive.

I'll close this in favor of the eslint issue you filed, since there's nothing we can really do about it.

I hoped you could communicate with ESLint developers to find out and fix the bottleneck.


Ensure a defaut logger is set before using glogi

This should prevent Failure: Root logger has no level set. errors when logs are produced, e.g. while registering default handlers when loading the namespace.
This assumes a consumer of freerange then sets their own default log level anyway if they also use glogi, so my understanding is this shouldn't impact consumers.

I think it actually makes sense to do this in Glögi directly, as you say consumers can always set their own level but then logging at least works out of the box.
I wonder if this is another Closure library change, I'm not sure I've seen that error before.

Released in Glögi 1.0.136


Reflection

Please post the issue noticed and when/why it occurs, one person can create the final reflection-milestone2 markdown file

Noticed issue is some traits do not follow the same levels, for instance a 5 is desirable for playfulness but not for shedding level despite them having the same representation.

Hyperlinks for selected dog breeds implementation, replacing the duplicate graph with dog images.

Slidebars are not functional, buggy when deselecting traits. Table is not able to be formatted currently and interactivity is low.


Re-implement eth_getBlockByNumber / eth_getBlockByHash jsonrpc endpoint tests

The scenario inside ethportal-peertest testing eth_getBlockByNumber was removed in #514 & #508. This is a tracking issue to make sure that it is re-implemented after #508 lands.

the test for an unsupported request (post-merge blocks) was left in, so the test just needs to validate a supported block number (pre-merge)

closing since these endpoints are no longer supported


Quick config switcher

Description
It would be nice to have a quick config switcher somewhere, for example a combo/menu at the top-right of the page, like this :

I know we can load a config directly by specifying its name in the URL, but in my case, I created a config that I use occasionally and I'd like to quickly switch to it from my main config when needed.
Thanks ;)
Priority
Low (Nice-to-have)
Please tick the boxes

[X] You've read the docs
[X] You've checked for duplicate issues

You can switch configs in settings. Quickly access it by pressing Ctrl+L.

Yes, but this is not practical on mobile...

So you would want it in the search bar on mobile ?

Yes, but this is not practical on mobile...

What do you mean, not practical? The actions are the same on mobile as on desktop. It's three clicks and you're done.

I'm not using the search bar.
I know it "only 3 clicks", but on mobile it's not very convenient to go to settings and select a config. That's why I was thinking of a menu or a button on the main screen which let you quickly switch config :

I'm not using the search bar.
I know it "only 3 clicks", but on mobile it's not very convenient to go to settings and select a config. That's why I was thinking of a menu or a button on the main screen which let you quickly switch config :

ok thank you for the feedback 😊


Status on the project?

Is this still maintained or was this abandoned?
theres pull requests open since last year, a lot of issues never touched, no releases after the last commits (and those quite a while ago)..

Thanks for poking me, I've certainly been slacking behind :-)
So yes, this project is alive and still maintained!
Any input is welcome! If you happen to find an uncommented ticket, please free free to comment :-) Also, please let me know if anything has still gone unnoticed.
I'll leave this ticket open as a reminder to tag a new release… :shipit:

so, how did that work out ;)

so, how did that work out ;)

v1.0.0 just released :shipit: :+1:

Any input is welcome! If you happen to find an uncommented ticket, please free free to comment :-) Also, please let me know if anything has still gone unnoticed.

So, how did that work out? :grinning:


midi type detector

Created MIDI filetype detector. Updated tests to reflect the new format. Added free midi file for test from here http://www.angelfire.com/fl/herky/images/teddybear.mid.

Cool. Thank you!

This was the fastest accepted PR I've ever seen :) Well done.


XWalkViewWithScrollViewParentAsync is not working

running XWalkViewWithScrollViewParentAsync shows nothing on beta:18.48.477.6

@jacky-young, @Shao-Feng this deserves an XWALK Jira bug, I think. Do you have one?

Hi @zqzhang This is the original bug XWALK-4876, it's still unresolved. My pr is just a demonstration or usecase to show the problem, And after bug fixed, my case should work fine.

Thanks, closing this.


emailOutputTo(x, true) sends email to '1'

Laravel Version: 5.4.*
PHP Version: 7.1.0
Database Driver & Version: SQLite 3.17

Description:
When the method is called like<EMAIL_ADDRESS>true)  it will result in the following Exception:
  [Swift_RfcComplianceException]
  Address in mailbox given [1] does not comply with RFC 2822, 3.6.2.

I made a pull request #18179 to fix it, but apparently my proposed fix isn't in line with how it's meant to function.
Steps To Reproduce:
Call<EMAIL_ADDRESS>true) .

You need to write<EMAIL_ADDRESS>if you want to be able to use that second boolean parameter.


Allow users to create club

Working on this over at https://github.com/jadekler/git-reactjs-pongboard/tree/add_club_form


Updated plugin to change range when inputs are typed in

Cool. Can you revert all the whitespace changes? I think the Drip pull request has it without all those changes.

@djreimer Yikes. Did a copy and paste of the entire plugin from Drip. Would have been faster just to grab the relevant methods. Darn auto formatting.


support graphqljs v15

Perceived Problem

nexus schema does not support grpahqljs v15

Ideas / Proposed Solution(s)

needs investigation

Duplicate of #410


Built in Auth Notification classes implement ShouldQueue interface and Queueable trait

I think the ResetPassword and VerifyEmail notifications should implement the ShouldQueue interface and Queueable trait by default. This does not effect the current default behavior because the default queue driver is set to sync in the .env.
This benefits the end users because it maintains the current functionality, and also allows the user to seamlessly utilize a queue driver for the ResetPassword and VerifyEmail notifications.
I recently needed to use a background queue to send these notifications, and I had to dig inside the vendor directory to find these base classes, create new classes that extend these and manually add the ShouldQueue interface + Queueable trait. I think that friction is avoidable and it would simply be better to have that done in the core.

Just for my curiosity - why did you need to make these notifications queuable in your application?

Just for my curiosity - why did you need to make these notifications queuable in your application?

I was using a redis queue in my app to send emails via background worker & keep the UI snappy. Maybe "need" was not the right word.


Add ignition-complete.target

From the comment block of the unit:
This target is reached when Ignition finishes running. Note that it
gets activated *only* on first boot (or if ignition.firstboot=1 is
provided).  Thus, it is also an API for units to use so that they
are activated only on first boot. Simply add a link under
ignition-complete.target.requires in the initrd.

Thus, units themselves don't need to add explicit Requires=; the
canonical way to get pulled into the transaction is through
ignition-complete.target.
This will also be used by the upcoming CoreOS units that are required
for separate /var support.

OK, renamed to ignition-complete.target, updated the PR description with the commit message, and dropped WIP!

LGTM

Second commit LGTM.  Re the first commit, how do you plan to differentiate ignition-setup behavior on live PXE systems?

Re the first commit, how do you plan to differentiate ignition-setup behavior on live PXE systems?

Can we use unit overrides for this? My main goal here was keeping things clean and easy to follow by making ignition-setup.service its own file.

Could do.  It might be cleaner to get an ignition-setup cmdline arg from an env var.  I'm fine moving the service to its own file; just wanted to check.

It's possible, depending on how we implement things that we won't need a separate behaving ignition-setup.service in the future. Maybe we just cross that bridge when we add live PXE support?

Are we good to merge this then?

:+1: Fine by me


Add support for Kubernetes 1.30

Updates the k8sVersions list in the build.gradle.kts to include k8s 1.30. Does this need to bump the pklPackageVersion?
As an aside, I was surprised to see the lengthy list of k8s versions supported by this repo. Are there plans to trim the supported k8s versions as support for new versions is added?

Thanks! Yes, we should bump the package version by a minor version.
For backwards compatibility, we also need to add moved resources to Overrides.kt in package org.pkl.k8s.templates.
In movedTypes, add these two pairs:
Pair("api.resource.v1alpha2.ResourceClaimSpec", "ResourceClaimParametersReference") to "api.resource.v1alpha2.ResourceClaimParametersReference"),
Pair("api.resource.v1alpha2.ResourceClass", "ResourceClassParametersREference") to "api.resource.v1alpha2.ResourceClassParametersReference"

Thanks! Yes, we should bump the package version by a minor version.
For backwards compatibility, we also need to add moved resources to Overrides.kt in package org.pkl.k8s.templates.
In movedTypes, add these two pairs:
Pair("api.resource.v1alpha2.ResourceClaimSpec", "ResourceClaimParametersReference") to "api.resource.v1alpha2.ResourceClaimParametersReference"),
Pair("api.resource.v1alpha2.ResourceClass", "ResourceClassParametersREference") to "api.resource.v1alpha2.ResourceClassParametersReference"

Bumped minor, added the movedTypes, and regenerated the templates 👍


Exception: Assert_failure ("src/base/misc/owl_dataframe.ml", 753, 2).

I was checking out the dataframe examples and I rewrote the first function just a bit to deal with some price data from Binance (11 columns; all floats) and I ran that function using a file of ETC/BTC price data with 1.2 million lines and it returned:
Exception: Assert_failure ("src/base/misc/owl_dataframe.ml", 753, 2).
I also run the function with a different (much smaller) file of price data and it worked just fine.
The function:
let csv_parser path =
    let fname = path ^ "ETC-BTC.csv" in
    let types = [|"f";"f";"f";"f";"f";"f";"f";"f";"f";"f";"f"|] in
    let df = Dataframe.of_csv ~sep:',' ~types fname in
    Owl_pretty.pp_dataframe Format.std_formatter df

Here's a sample of the price data:
open_time,open,high,low,close,volume,close_time,quote_asset_volume,number_of_trades,taker_buy_base_asset_volume,taker_buy_quote_asset_volume,ignore
1507800720000,0.00223,0.00223,0.00223,0.00223,10.0,1507800779999,0.0223,1,10.0,0.0223,900.48

What should I be doing differently in order to use this with larger files?

We should add a task to remove all asserts from the code. My guess is that there is a row with a different length. Can you check if I am wrong?

Consider using https://github.com/Chris00/ocaml-csv

Looks like the assertion fails exactly when the csv has >100 lines.


Support UnreachableStrategy format schema with absence reason.

Undocumented as of now, but observable in real-world installation and on the DC/OS issue tracker, the UnreachableStrategy field may come as a flat string-only schema alternative describing the absence reason (currently only disabled). We extend our struct accordingly to handle both schemas.
We also move the currently existing test into the newly created test file.

@gambol99 @marco-jantke PTAL.
@Juliens for the Traefik end. :-)

LGTM 👍


[Question] How to use multi GPUs with LlavaLlamaForCausalLM.from_pretrained

Hi! Thank you for your great work, and I want to realize it on my own server. However, I currently only have 8 24G-RTX 4090, and running the inference process on one 4090 will cause OOM error. After viewing previous issues, I see that there are some methods to use multi gpus, but I failed to use them in my own case. LlavaLlamaForCausalLM.from_pretrained does not supported the parameter device_map, so I'm a bit confused. Thanks!

I have the same problem, do you sovle it?


feat: add DPRTextEncoder

@bwanglzu That property is not related to HF, but to our documents. It just says under which tag key is the title of the document located - the title is recommended to use, as the model was trained with titles.


Add end-to-end test for NFS volumes.

The test uses a container with NFS server and as such must be executed
on Kubernetes cluster with --allow_privileged=True.
It follows the example in examples/nfs.

cc/ @vishh @thockin

Any progress with the container policy? I have mostly finished glusterfs test, waiting for some rules how/where to create appropriate container images.

My apologies for the delay in responding.
gcr.io/google_containers appears to be the most common home for containers used in e2e tests right now (see below).  I'm fine with that.  Try to re-use one of the existing containers listed below if you can.  If nothing is suitable, submit a PR proposing the addition of a new one, with a brief motivation why the existing containers are unsuitable.  Adding the most recent stable Fedora, Debian or Ubuntu base distro as a container to the mix seems reasonable.
======= snip snip ==========
$ grep "Image:" test/e2e/*.go
test/e2e/docker_containers.go:					Image: "gcr.io/google_containers/eptest:0.1",
test/e2e/empty_dir.go:					Image: "kubernetes/mounttest:0.1",
test/e2e/es_cluster_logging.go:						Image:   "gcr.io/google_containers/ubuntu:14.04",
test/e2e/events.go:						Image: "gcr.io/google_containers/serve_hostname:1.1",
test/e2e/networking.go:						Image: "gcr.io/google_containers/nettest:1.1",
test/e2e/pd.go:					Image: "gcr.io/google_containers/pause",
test/e2e/pods.go:						Image: "gcr.io/google_containers/pause",
test/e2e/pods.go:						Image: "gcr.io/google_containers/nginx:1.7.9",
test/e2e/pods.go:						Image: "gcr.io/google_containers/nginx:1.7.9",
test/e2e/pods.go:						Image: "gcr.io/google_containers/serve_hostname:1.1",
test/e2e/pods.go:						Image:   "gcr.io/google_containers/busybox",
test/e2e/pods.go:						Image:   "gcr.io/google_containers/busybox",
test/e2e/pods.go:						Image:   "gcr.io/google_containers/liveness",
test/e2e/pods.go:							Image: "nginx",
test/e2e/pods.go:							Image: "nginx",
test/e2e/rc.go:							Image: image,
test/e2e/secrets.go:						Image: "kubernetes/mounttest:0.1",
test/e2e/service.go:						Image: "gcr.io/google_containers/test-webserver",
test/e2e/service.go:						Image:   "gcr.io/google_containers/busybox",
test/e2e/service.go:						Image: "gcr.io/google_containers/test-webserver",
test/e2e/service.go:					Image: "gcr.io/google_containers/pause",
test/e2e/util.go:							Image: image,

If you create a Makefile for building and pushing the containers e.g. https://github.com/GoogleCloudPlatform/kubernetes/blob/master/cluster/addons/fluentd-elasticsearch/es-image/Makefile then I think one of us can help to push it.

Let's continue in PR #7435.


seems to be an issue with lodash in knex dependencies

$ DATABASE_URL=<IP_ADDRESS>:5432  node utils/createQueuedTable.js
at createTable <IP_ADDRESS>:5432
/Users/kuanbutts/Documents/cfa/courtbot/node_modules/knex/node_modules/lodash/lodash.js:8878
throw new TypeError(FUNC_ERROR_TEXT);
^
TypeError: Expected a function
at Function.rest (/Users/kuanbutts/Documents/cfa/courtbot/node_modules/knex/node_modules/lodash/lodash.js:8878:15)
at Object.knex.schema.(anonymous function) [as createTable] (/Users/kuanbutts/Documents/cfa/courtbot/node_modules/knex/knex.js:78:58)
at createTable (/Users/kuanbutts/Documents/cfa/courtbot/utils/createQueuedTable.js:11:22)
at Object. (/Users/kuanbutts/Documents/cfa/courtbot/utils/createQueuedTable.js:25:1)
at Module._compile (module.js:435:26)
at Object.Module._extensions..js (module.js:442:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:313:12)
at Function.Module.runMain (module.js:467:10)
at startup (node.js:136:18)

Problem coming from knex.js loc 78: return SchemaInterface[key].apply(schemaBuilder, _.rest(arguments));
arguments is an object instead of a function in this situation and _.rest() is expecting a function. in this situation, it appears perhaps there is something happening wrt use of a Promise? Logging the arguments var shows { '0': 'queued', '1': [Function] }... So the item is queued perhaps but the thing it is looking for is perhaps arg[1]?

Wondering if this has anything to do with knex requiring >= older version of lodash and the newer version of lodash just not playing nice with knex. updating knex revealed: Knex:warning - knex.initialize is deprecated, pass your config object directly to the knex module
Next step will be to perhaps replace the initialize tool?


Implement a clean version of a cqld4 driver

The previous integration of Cassandra driver version 4 had a few complications. The driver did not easily allow for users to make dynamic changes, nor did it use backwards-compatible APIs for sharing logic between sync and async modes of usage. The resulting integration was not satisfactory.
This issue proposes a better implementation:

Initially, a simple synchronous mode integration, using only externally provided configuration profiles.

If possible the effective configuration profile should be written to the log directory

A separate driver for async mode, using only externally provided configuration profiles.

If possible the effective configuration profile should be written to the log directory

As an enhancement, possibly adding the ability to make dynamic changes to the driver settings if/when the APIs for doing so are capable of such without inordinate effort and additional complexity.

Development on this has advanced significantly on the 4.17 branch. This issue will be replaced by specific feature requests as needed.


COMPRESSION

The compression step is actually happening on the alignment outputs files. So it happens before the evaluate. It is a skipable step. And if it is run the files are actually saved as compressed. It should create a copy during compression because the un-compress version is actually passed to the evaluation step as that can not read compressed files.

The file is compressed by pigzip (pgzip) module.


SourceCodePro+Powerline+Awesome Icons not loading at startup

Hello everyone.
I'm kinda new to using zsh and powerlevel9k but after configuring it I encountered the following issue:
When i open my terminal (Tillix) the icons aren't loaded, as you can see below. But when I source ~/.zshrc all icons appear nicely. What I'm missing? I'm using the SourceCodePro+Powerline+Awesome font.

This is my .zshrc
export ZSH=/home/jonathan/.oh-my-zsh

ZSH_THEME="powerlevel9k/powerlevel9k"

plugins=(
    git
    zsh-autosuggestions
)

source $ZSH/oh-my-zsh.sh

if [ $TILIX_ID ] || [ $VTE_VERSION ]; then
          source /etc/profile.d/vte.sh
fi

POWERLEVEL9K_MODE='awesome-patched'
POWERLEVEL9K_PROMPT_ON_NEWLINE=true
POWERLEVEL9K_DISABLE_RPROMPT=true
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(ssh context dir_writable dir vcs)

I'd try moving your last 4 lines of your .zshrc above the line source $ZSH/oh-my-zsh.sh.  That's how I have my .zshrc set up.

@areinmeyer
Thank you so much. It worked perfectly.


Atom updates

How does Atom handle its updates? As apparently it uses the Squirrel framework, but according to the atom-shell docs, Squirrel isn't implemented in atom-shell for Windows yet.

It uses Squirrel on Windows and Mac.
It shells out to Squirrel on Windows, API support in Atom Shell is planned.

@kevinsawicki if API support is planned (i.e. not implemented yet) and Atom uses atom-shell, then how does it do it?

if API support is planned (i.e. not implemented yet) and Atom uses atom-shell, then how does it do it?

Squirrel launches Atom with certain arguments telling it that it was installed, updated, uninstalled and Atom installs shortcuts, context menus, etc. when these happen.
https://github.com/atom/atom/blob/184aecb4a4348bd4e58c0d3c35948583665cbfea/src/browser/squirrel-update.coffee#L207
https://github.com/atom/atom/blob/184aecb4a4348bd4e58c0d3c35948583665cbfea/src/browser/auto-updater-win32.coffee#L36

Also why does Atom require to be installed via the installer instead of the ZIP for the updates to work?

Squirrel assumes certain locations and installs updates to the same location that the installer installs the app too.
I'd assume perhaps we could somehow offer a .zip that auto updates, but I don't think anyone has ever looked into it.
The goal was to provide easy installation and automatic updates at the same time.

Going to close this out since it seemed like a question that has now been answered.

Still confused about this :P
Are you saying that the Atom Editor has to implement Squirrel itself rather than use the one within the atom-shell framework as it's not implemented on Windows yet?


Update apache 2.4.23-->2.4.25.

Installation was broken because the old distro was removed from the web page.

Thanks


libs/zstd: Add

Thanks, hopefully all implemented.

I also have a zst - recipe... Some older version but build with cmake (and from git...): Maybe cmake also works for newer zstd?
inherit: [cmake]

metaEnvironment:
   PKG_VERSION: "1.4.8"
   PKG_LICENSE: "BSD-3-Clause"

checkoutSCM:
   - scm: git
     url<EMAIL_ADDRESS>     tag: v${PKG_VERSION}
     commit: 97a3da1df009d4dc67251de0c4b1c9d7fe286fc1

buildScript: |
   cmakeBuild $1/build/cmake

multiPackage:
   dev:
      packageScript: |
         cmakePackageDev
   tgt:
      packageScript: |
         cmakePackageTgt
   tool:
      packageScript: |
         cmakePackageBin
      provideTools:
         zstd: "usr/bin"

I took myself the freedom to push an updated version with all the fixes that came up when looking at it. Please have a look if it still works for you.

Oh, now that I see it. This recipe should go to basement-gnu-linux, unless it is going to be used by some other recipe in basement... :thinking:

It should go to basement as it's needed for llvm...

@jkloetzke: build successful with your updated version.

It should go to basement as it's needed for llvm...

Good point. So let's merge it. :+1:

Thanks!


🔌 Plugin: TechDocs Addon Allowing Self Service Refresh

🔖 Summary
It would be nice to have a TechDocs Addon that would allow for self service refresh. To go along with that the date and time of the last generation. For example:

🌐 Project website (if applicable)
No response
✌ Context
At Keyloop we have built some internal plugins around TechDocs generation and we created an addon like this for our Teams so they can quickly refresh their TechDocs on demand when they have updates. Also knowing the last generated date helps with context as to how old the docs are as we also use events to keep them up to date
👀 Have you spent some time to check if this plugin request has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
No, I don't have time to work on this right now

👀


chore: upgrade actions pinning

Check this one manually before updating v1 tag

@sabotagebeats to check this one, I think make or update a repo with uses: ApeWorX/github-action@chore/upgrade-actions as a step, such as https://github.com/fubuloubu/WETH8 or something sufficiently complex

Am I doing this right @fubuloubu https://github.com/ApeWorX/ape/pull/1234

Am I doing this right @fubuloubu ApeWorX/ape#1234

Oh, you should be doing this on an ape project repo, like the one I linked or something you have

Am I doing this right @fubuloubu ApeWorX/ape#1234

Oh, you should be doing this on an ape project repo, like the one I linked or something you have

OK great I'll give that a shot. Thanks!

Checked it working here: https://github.com/fubuloubu/WETH8/pull/2#issuecomment-1400795615
Might want to test with a different project though, appears like that project's test aren't currently functioning


Module file location

Hi,
I was playing with the plugins but couldn't apply anything but the default setting (the modules where not working).
i removed the module and did a git clone of the repo but no change.
i did check by running the script manually and did get that message:
➜ [.tmux/plugins/tmux-catppuccin] ( main) --> ./catppuccin.tmux
./catppuccin.tmux: line 220: /home/dylan/.tmux/plugins/tmux-catppuccin/custom/window_default_format.sh: No such file or directory
./catppuccin.tmux: line 230: /home/dylan/.tmux/plugins/tmux-catppuccin/status/window_default_format.sh: No such file or directory
./catppuccin.tmux: line 220: /home/dylan/.tmux/plugins/tmux-catppuccin/custom/window_current_format.sh: No such file or directory
./catppuccin.tmux: line 230: /home/dylan/.tmux/plugins/tmux-catppuccin/status/window_current_format.sh: No such file or directory
./catppuccin.tmux: line 220: /home/dylan/.tmux/plugins/tmux-catppuccin/custom/application.sh: No such file or directory
./catppuccin.tmux: line 220: /home/dylan/.tmux/plugins/tmux-catppuccin/custom/session.sh: No such file or directory
./catppuccin.tmux: line 220: /home/dylan/.tmux/plugins/tmux-catppuccin/custom/user.sh: No such file or directory
./catppuccin.tmux: line 220: /home/dylan/.tmux/plugins/tmux-catppuccin/custom/host.sh: No such file or directory
./catppuccin.tmux: line 220: /home/dylan/.tmux/plugins/tmux-catppuccin/custom/date_time.sh: No such file or directory
./catppuccin.tmux: line 220: /home/dylan/.tmux/plugins/tmux-catppuccin/custom/application.sh: No such file or directory
./catppuccin.tmux: line 220: /home/dylan/.tmux/plugins/tmux-catppuccin/custom/session.sh: No such file or directory

i just did a copy of the script from /status/ and /window/ to custom/ and now i have the module working :)

Found my problem. Had an old version of the plugin installed that wasnt updating without removing folder.


Station Plots

Station plots are almost here! Seems like this is starting to get in good shape. I'll squash down these commits later, but I want this out there to see if I can get some eyes on this and see if the APIs seem good.
Still remaining:

Add some built-in layouts:

[x] Very simple (not sure if it's GEMPAK's or not) with ~4 fields
[ ] NWS: http://oceanservice.noaa.gov/education/yos/resource/JetStream/synoptic/wxmaps.htm
[ ] Full WMO
Others?

[x] Example notebooks
[x] Check that docs appear on readthedocs
[x] Add lots of tests (there are quite a bit of moving pieces)

The layouts are going to require standardizing on some names. Hopefully, the CF list of standard names doesn't let me down...

Ok, looking good. Time to clean up the commits...

Punting WMO layout to later (when we finally have data to do it)...and may wait until someone asks for it.


pClient.CreateLinkToken undefined

amazing effort here - I got a bug booting up docker.
=> [ 6/10] WORKDIR /usr/src/app/backend_go                                0.7s
=> [ 7/10] RUN go get github.com/derekparker/delve/cmd/dlv               19.5s
=> [ 8/10] COPY ./backend_go ./                                           0.3s
=> [ 9/10] RUN go mod vendor                                              3.5s
=> ERROR [10/10] RUN go build -gcflags "all=-N -l" -o /server main.go    37.4s

[10/10] RUN go build -gcflags "all=-N -l" -o /server main.go:
#13 36.01 # fin-go/routes/plaid
#13 36.01 routes/plaid/plaid.go:80:38: pClient.CreateLinkToken undefined (type *plaid.Client has no field or method CreateLinkToken)
#13 36.01 routes/plaid/plaid.go:80:55: undefined: LinkTokenConfigs
#13 36.01 routes/plaid/plaid.go:242:23: pClient.CreateLinkToken undefined (type *plaid.Client has no field or method CreateLinkToken)
#13 36.01 routes/plaid/plaid.go:242:40: undefined: LinkTokenConfigs

executor failed running [/bin/sh -c go build -gcflags "all=-N -l" -o /server main.go]: exit code: 2
ERROR: Service 'fin-go' failed to build : Build failed
maybe upstream library got bumped?
also in credentials - I believe this is phased out?
PLAID_PUBLIC_KEY=XXX

A note on Plaid keys
All implementations of Plaid created after July 23, 2020 will use a link_token instead of a public_key. To learn more, view our docs.

If you have downtime and looking for contract work - I could shoot you some
send email to<EMAIL_ADDRESS>/ + hourly rates. and how many hours you could work on this per work.

seems like it's a simple switch around ot LinkTokenCreateRequest
createLinkTokenResp, _, err := testClient.PlaidApi.LinkTokenCreate(ctx).LinkTokenCreateRequest(*request).Execute()

I made some progress refreshing the library - merging / cherry picking some of the golang from plaid sample repo.
https://github.com/johndpope/fin/tree/refresh


数据渲染问题

Vue version
3.2.47
Link to minimal reproduction
无
Steps to reproduce

What is expected?
渲染数据的时候必须要判断一下productList的值才能正确渲染，否则不能正确渲染数据，导致报错
What is actually happening?

System Info
No response
Any additional comments?
No response

「请提供最小重现」

Please follow the template and provide a minimal reproduction. Feel free to open a new issue when ready.


Upgrade isort to 5.12.0

This fixes an installation issue due to a new
version of poetry triggered by precommit

for reference this was fixed in https://github.com/PyCQA/isort/pull/2078


Added ability to set alternate keys in fluent syntax

Fix for issue #421
Added an alternative to Key() named AltKey() that can be used with both an anonymous object or a dictionary (names are mandatory)
Followed the original pattern where non matching keys are ignored
Added an associated test

Refactored the code to use the Key() syntax (removed the AltKey syntax altogether). This mimics the behaviour of the odata spec on keys and alternate keys, while being backwards compatible with Simple.

A collection of values is treated as a primary key by zipping the values together with the names. If less values are provided the query will fail on execution. If more are provided the extra values are ignored.
A key/value pair collection scans all keys (primary first) for exact matches and selects the first occurance. If no match is found it falls back to trying to extract the primary key from the key/value pairs. This is necessary for backwards compatibility (this is how a whole entity passed in Key is treated).

We can handle the entity instance as key seperately (by making sure the type or type name match before treating it as a key). Then it would be possible to actually throw an exception when no other matches are found. I suggest we talk about this in another PR.
I added a collection of tests for any combination of keys I could think about.

Agreed on using another PR to tackle some of the validation logic (one I considered was calling Key without any primary key in the case where no alternate keys exist).

Thanks for the PR. Tested and merged.


[Bug] Subpath isn't correctly used with "pagination" navigation links

Description
After logging in (at the user dashboard), users are presented with their commit history and such...but the navigation at the bottom does not use correct links (subpath issue). Everywhere else they appear to be correct, but here is the actual HTML (cleaned up for sake of posting):

      First

      Previous

    1
    2

      Next

      Last

There is a missing forward-slash after SUBPATH. All other links generated by Gitea appear to be correct (/SUBPATH/).
I believe the issue is in paginate.tmpl, the way links are generated using {{$.Link}} instead of {{$.Link}}/ or perhaps {{AppSubUrl}}/? I don't do Go. All of that paginating uses broken linkage.
I do use Forgejo, but the issue is present in Gitea as well.
Gitea Version
1.21.3
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
Docker behind a reverse-proxy with a subpath.
Database
MySQL/MariaDB

If I understand correctly, that's by design. In Gitea, the URLs are always considered to equal no matter they have trailing slash or not.
So maybe you could make your reverse proxy to serve http://.../subpath as http://.../subpath/?

Without the forward-slash users are told to login again (Gitea destroys the session maybe?).

I think the "login" (cookie) problem is related to the cookie path. The cookie is only set on "/subpath/" IIRC ......

After looking into the problem:

The "Link" can't have trailing slash, because it is heavily used in code like this: {{.Link}}/other-path. It would cause double-slashes if there is a trailing slash:

//other-path : it is even worse, because browsers would use it as "http://other-path".
/subpath//other-path: not a good URL path ....

The cookie is only set on "/subpath" (for security), so only "/subpath/" accesses could use it?
The workaround could be: make reverse proxy always redirect all "/subpath?..." requests to "/subpath/?...."

To completely fix the problem, it needs more designs & improvements ..... not that easy by a simple fix.

Oops .... I found the root problem now. That's my fatal (regression of #24107)
->  Fix incorrect cookie path for AppSubURL #29534

More details in https://github.com/go-gitea/gitea/pull/29534#issuecomment-1974851486
If you focus on "fixing the trailing slash", I could remove the "fix" operation from that PR, and keep this issue open.

Edit: I took a peek around, I think maybe something in templates/user/dashboard/feeds.tmpl could address it? {{template "base/paginate" .}} That period, does that help to generate a link?

Nope. The dot syntax is a Golang template syntax, it means "pass all current data into the sub template"

resolved by #29534

original fixer misunderstood this bug because another was found at the same time.

Well, TBH I do not think I misunderstand this issue (actually I won't call the "slash" problem is a "bug").
Maybe you misunderstand the problem. I will quote my explanations and summarize them again:

The fact is: it is a requirement that making Gitea work with both https://host/SUBPATH and https://host/SUBPATH/, the document has said so:

https://docs.gitea.com/administration/reverse-proxies#apache-httpd-with-a-sub-path
# Note: no trailing slash after either /git or port

Based on the fact, a URL href="/SUBPATH?page=2... should work, it doesn't need an extra slash.
Gitea never adds extra slash to a full path

so you only see: https://host/SUBPATH , https://host/SUBPATH/user, https://host/SUBPATH/user/repo
you won't see: https://host/SUBPATH/ , https://host/SUBPATH/user/, https://host/SUBPATH/user/repo/

The root problem of your bug report is: "Without the forward-slash users are told to login again (Gitea destroys the session maybe?)."

I think it is caused by incorrect cookie path
After the fix (29534), I think it should have been resolved. Users won't get logout, nor they need to "manually edit the URL"

I don't see why you wouldn't follow the document and why you insist to add an extra trailing slash for some links, I don't see such a real use-case for end users either.
If you think the trailing slash is a must, please show some real bad cases for no-trailing-slash. Without a real bad case, I couldn't figure out what you mean.

Calling #29534 a fix is a hackjob following non-standard practice to assume a file is a directory to circumvent fixing the issue.

As I explained before, Gitea requires to make "/SUBPATH" the same as "/SUBPATH/". Since it is a "proxy path", it is not  related to file or directory. There is no file nor directory in this case.

https://docs.gitea.com/administration/reverse-proxies#apache-httpd-with-a-sub-path
# Note: no trailing slash after either /git or port

The document was written there to help users configure their instances correctly. If some users don't follow, then that's another problem.
As I explained above, Gitea never adds extra slash to the full path. So if you think it is a problem, then not only "pagination"  is affected, a lot of hard-coded links are also affected, then it is not a simple problem, it is a new proposal to totally refactor the Gitea's link system.
Would you like to edit the title to clarify what you mean? For example: Always add an extra slash when the AppSubURL is used without other sub paths ("pagination" is just a tip of the iceberg)

Yes, Gitea DOES add forward-slashes, you can grep the code for it all over.

I guess I have explained many times ... Gitea never adds extra slash to a full path:
* so you only see: `https://host/SUBPATH` , `https://host/SUBPATH/user`, `https://host/SUBPATH/user/repo`
* you won't see: `https://host/SUBPATH/` , `https://host/SUBPATH/user/`, `https://host/SUBPATH/user/repo/`

There could be more cases that the SUBPATH misses the correct trailing slash .... for example, I just fixed some: #29535
Anyway, if you believe only the "dashboard" page needs to be fixed, it's fine to me. It could be fixed by this:
->  Add an trailing slash to dashboard links #29555
You could apply this patch to your instance to see whether it satisfy your requirement, I will add some tests later.

Oh one more thing, since we have a long discussion for this simple problem, I think maybe we could try to improve the communication in the future.
What I understand:

Gitea requires to make "/SUBPATH" and "/SUBPATH/" work equivalently.
"SUBPATH" is only a proxy path.
So the trailing slash shouldn't be a hard requirement, so using "/SUBPATH" should be right in Gitea's deployment.

What you proposed if I understand correctly now:

Some users need to deploy Gitea in a subpath where the subpath could point to an existing file, they don't follow the document.
There are some mentioned RFC standards (could you share the link? I'd like to take a deep look).

Fortunately, eventually, we could understand each other better. 🙏 In the future if there would be some real cases for a proposal/bug report, I think I could catch you up more quickly. Thank you again for the constructive discussion.

I also had to disable Notifications because of an Apache bug with reverse-proxies that prevents multiple threads (ends up blocking new threads because of concurrently held threads)

Do you mean this? #19265 I also participated in it .... 🤣


An error occurred while running MCrunch

How to solve the missing.COMP file

Dear @May0048,
DelFile.m containing function DelFile() is source file of MCrunch.  Do you have the Source directory of MCrunch in your MATLAB search path?
Best regards

Dear @May0048,
DelFile.m containing function DelFile() is a source file of MCrunch. Do you have the Source directory of MCrunch in your MATLAB search path?
Best regards

Dear @jjonkman
Thanks for your reply, I have solved the above problem.
Best regards


UnicodeDecodeError when calling put_photo with an image generated with PIL

For some reason, images generated with PIL throw a UnicodeDecodeError when trying to upload to Facebook.
Tested opening the image in Photoshop and saved as a new copy, and that image uploaded fine.

I am pretty sure that this issue has been fixed by moving to requests (which involved significant changes to how put_photo works). Closing.


Add support for GLM/chatGLM models

chatGLM-6B is an open source model based on GLM fine tuned on over 1 trillion tokens of dialogue and RLHF for chat.
It's quickly becoming one of the most popular local models despite no good fast CPU inference support (yet).
Official Repo:
https://github.com/THUDM/ChatGLM-6B/blob/main/README_en.md

Are you aware of any differences between GLM's architecture and GPT-NeoX? If not then all we need to do is quantize it.
Also, it's LICENSE seems to have the similar restrictions to LLaMas. Any ideas on what format its int4 quantized version in?


feat: Keep track of the last time a Session was used

Assume that the session was used (i.e. a RPC was made) just prior to it
being returned to the pool.
I debated doing this in Stub() which would be marginally more accurate,
but would require taking a lock we don't otherwise have to take. Since
our notion of "last use time" is already just an approximation of what
the backend considers "last use time" and the timeframes we care about
are measured in minutes, it didn't seem to be worthwhile.

This change is

You can probably get away with a different source for now, but because the change is so small this is a wild guess on my part. Let's see what happens in the next PR.

+1. I think creating a Clock class/interface is going to be overkill. I think we only need a something that can return a "now", like std::function<std::chrono::steady_clock::time_point()> now that can be "injected".


Corrupt image checking

A corrupt image will halt inference. This adds a try-except to avoid that.

btw, I highly advise moving to webdataset format instead of the simple files format. img2dataset can now output it, and this tool can now input it. It makes things easier
(but totally agree this should still be fixed)

@rom1504 hmm - does img2dataset support conversion from stem-matching file-pairs (coco-style; i guess) to WebDataset? I know @robvanvolt's DALLE-models has a script for that.
I think I would prefer to simply provide that conversion as an optional preprocessing stage? I guess that has some pitfalls as well like potentially requiring a lot of duplication.
In that case I still think a pre-processing script that simply verifies your images is perhaps the better approach than anticipating that the size of the dataset can change, etc. What do you think?

@rom1504 hmm - does img2dataset support conversion from stem-matching file-pairs (coco-style; i guess) to WebDataset? I know @robvanvolt's DALLE-models has a script for that.
I think I would prefer to simply provide that conversion as an optional preprocessing stage? I guess that has some pitfalls as well like potentially requiring a lot of duplication.
In that case I still think a pre-processing script that simply verifies your images is perhaps the better approach than anticipating that the size of the dataset can change, etc. What do you think?

well i have unfortunately lost all motivation now that I've seen the light of webdataset - apologies.

Haha it's ok, I'm going to do it