Update to kolibri-tools 0.16.0-dev.4

This has several fixes that we upstreamed and hopefully fixes some strange linting issues in the frontend.

Wait, maybe not just yet. I ran yarn run lint-frontend and it gave a pile of errors that I don't understand:
Kolibri Linter:
Kolibri Linter: Linting errors for kolibri_explore_plugin/assets/src/views/DiscoveryPageEkIguana.vue
Kolibri Linter: TypeError: Class extends value undefined is not a constructor or null

Wait, maybe not just yet. I ran yarn run lint-frontend and it gave a pile of errors that I don't understand:
Kolibri Linter:
Kolibri Linter: Linting errors for kolibri_explore_plugin/assets/src/views/DiscoveryPageEkIguana.vue
Kolibri Linter: TypeError: Class extends value undefined is not a constructor or null

The problems go away if I borrow the update to vue-cli 5/webpack 5 from #777.

Wait, maybe not just yet. I ran yarn run lint-frontend and it gave a pile of errors that I don't understand:
Kolibri Linter:
Kolibri Linter: Linting errors for kolibri_explore_plugin/assets/src/views/DiscoveryPageEkIguana.vue
Kolibri Linter: TypeError: Class extends value undefined is not a constructor or null

The problems go away if I borrow the update to vue-cli 5/webpack 5 from #777.

Yeah, I think if you’re doing anything to do with this you’ll want the full stack of changed dependencies from #777.

I split out those commits from #777 and added the change to build with --no-module. I tested this locally and I think it's good on its own. It will cause a small conflict with #793 since it operates on the welcome-screen package. I'm happy to rebase if that lands soon.

It seems to be working now. I think the sass problems magically went away because loading-screen got completely decoupled from ek-components in #793. Still waiting for the apps-bundle build to complete (my god is it slow to webpack 60 apps), but I think this should be good to go.


How to obtain the target_lane_index parameter from intersection_env.py

I want to import "steering_control" function which in the class "ControlledVehicle" in control.py  to intersection_env.py.  It need "target_lane_index" parameter,how to obtain the target_lane_index parameter from intersection_env.py
I am looking forward to your reply.
Sincerely

you don't need to importe anything, if you have access to a vehicle you can directly check its target lane index.
For instance:
vehicle = env.vehicle
or
vehicle = env.road.vehicles[0]
and
print(vehicle.target_lane_index)

I just want to get ego-vehicle.Is this method used to obtain the target_lane_index of ego-vehicle
| |
@.***
|
|
@.***
|
---- Replied Message ----
| From | Edouard @.> |
| Date | 05/13/2022 23:09 |
| To | @.> |
| Cc |<EMAIL_ADDRESS>|
| Subject | Re: [eleurent/highway-env] How to obtain the target_lane_index parameter from intersection_env.py (Issue #306) |
you don't need to import anything, if you have access to a vehicle you can directly check its target lane index.
For instance:
vehicle = env.vehicle
or
vehicle = env.road.vehicles[0]
and
print(vehicle.target_lane_index)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

Then print(env.vehicle.target_lane_index)

I just want to get ego-vehicle.Is this method used to obtain the target_lane_index of ego-vehicle
thank you for your replay
| |
@.***
|
|
@.***
|
---- Replied Message ----
| From | Edouard @.> |
| Date | 05/14/2022 00:38 |
| To | @.> |
| Cc |<EMAIL_ADDRESS>|
| Subject | Re: [eleurent/highway-env] How to obtain the target_lane_index parameter from intersection_env.py (Issue #306) |
Then print(env.vehicle.target_lane_index)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

Thank you so much
| |
@.***
|
|
@.***
|
---- Replied Message ----
| From | Edouard @.> |
| Date | 05/14/2022 00:44 |
| To | @.> |
| Cc |<EMAIL_ADDRESS>|
| Subject | Re: [eleurent/highway-env] How to obtain the target_lane_index parameter from intersection_env.py (Issue #306) |
yes
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


--widevine in Electron 16.0.6 is broken (app doesn't display any window)

Homework

[x] I looked at nativefier --help and https://github.com/nativefier/nativefier/blob/master/API.md
[x] I checked the Troubleshooting section of the README.
[x] I searched existing issues, open & closed. Yes, my bug is new.
[x] I'm using the latest version available at https://github.com/nativefier/nativefier/releases

Bug description
Apps built using the --widevine flag refuse to open.
Steps to reproduce
nativefier --verbose -n "Hulu" "https://www.hulu.com/" --tray --enable-es3-apis --widevine --background-color "#333333" --internal-urls ".*?" --icon "res/icon.ico" --user-agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36" "%PROGRAMFILES%/NativeApps" && python3 -m castlabs_evs.vmp sign-pkg --persistent "%PROGRAMFILES%/NativeApps/Hulu-win32-x64"

Expected behavior
App should open when launched.
Actual behavior
Nothing opens when launched. Looking in task manager displays the process running in the background but nothing actually opens.
If you look for the settings folder in %USERPROFILE%\AppData\Roaming you will notice it only contains a LOCAL STATE file and nothing else.
Debug info
Running in verbose mode! This will produce a mountain of logs and is recommended only for troubleshooting or if you like Shakespeare.

    Hi! Nativefier is minimally maintained these days, and needs more hands.
    If you have the time & motivation, help with bugfixes and maintenance is VERY welcome.
    Please go to https://github.com/nativefier/nativefier and help how you can. Thanks.

Processing options...
rawOptions {
  icon: 'C:\\Users\\Joshu\\Nativefier-Apps\\Hulu\\res\\icon.ico',
  i: 'C:\\Users\\Joshu\\Nativefier-Apps\\Hulu\\res\\icon.ico',
  _: [ 'https://www.hulu.com/', 'C:\\Program Files\\NativeApps' ],
  verbose: true,
  n: 'Hulu',
  name: 'Hulu',
  tray: 'true',
  'enable-es3-apis': true,
  enableEs3Apis: true,
  widevine: true,
  'background-color': '#333333',
  backgroundColor: '#333333',
  'internal-urls': '.*?',
  internalUrls: '.*?',
  'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36',
  u: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36',
  userAgent: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36',
  c: false,
  conceal: false,
  'no-overwrite': false,
  noOverwrite: false,
  overwrite: true,
  portable: false,
  'always-on-top': false,
  alwaysOnTop: false,
  'disable-context-menu': false,
  disableContextMenu: false,
  'disable-dev-tools': false,
  disableDevTools: false,
  'full-screen': false,
  fullScreen: false,
  'hide-window-frame': false,
  hideWindowFrame: false,
  m: false,
  'show-menu-bar': false,
  showMenuBar: false,
  maximize: false,
  'single-instance': false,
  singleInstance: false,
  zoom: 1,
  'user-agent-honest': false,
  honest: false,
  userAgentHonest: false,
  'clear-cache': false,
  clearCache: false,
  'block-external-urls': false,
  blockExternalUrls: false,
  'disable-gpu': false,
  disableGpu: false,
  'ignore-gpu-blacklist': false,
  ignoreGpuBlacklist: false,
  'disable-old-build-warning-yesiknowitisinsecure': false,
  disableOldBuildWarningYesiknowitisinsecure: false,
  'ignore-certificate': false,
  ignoreCertificate: false,
  insecure: false,
  flash: false,
  bounce: false,
  counter: false,
  'darwin-dark-mode-support': false,
  darwinDarkModeSupport: false,
  f: false,
  'fast-quit': false,
  fastQuit: false,
  '$0': 'nativefier',
  targetUrl: 'https://www.hulu.com/',
  out: 'C:\\Program Files\\NativeApps'
}
Inferred arch x64
Normalized URL https://www.hulu.com/ to: https://www.hulu.com/
Running in verbose mode! This will produce a mountain of logs and is recommended only for troubleshooting or if you like Shakespeare.
Using widevine release suffix "+wvcus"

ATTENTION: Using the **unofficial** Electron from castLabs
It implements Google's Widevine Content Decryption Module (CDM) for DRM-enabled playback.
Simply abort & re-run without passing the widevine flag to default to 16.0.6+wvcus
Inferred platform win32

Performing async options post-processing.
mozilla/5.0 (windows nt 10.0; win64; x64) applewebkit/537.36 (khtml, like gecko) chrome/97.0.4692.99 safari/537.36 not found in [ 'edge', 'firefox', 'safari' ]
Got icon from options. Using it, no inferring needed
Sanitized filename for Hulu : Hulu
options {
  packager: {
    appCopyright: undefined,
    appVersion: undefined,
    arch: 'x64',
    asar: false,
    buildVersion: undefined,
    darwinDarkModeSupport: false,
    dir: 'C:\\Users\\Joshu\\AppData\\Roaming\\npm\\node_modules\\nativefier\\app',
    electronVersion: '16.0.6+wvcus',
    icon: 'C:\\Users\\Joshu\\Nativefier-Apps\\Hulu\\res\\icon.ico',
    name: 'Hulu',
    out: 'C:\\Program Files\\NativeApps',
    overwrite: true,
    platform: 'win32',
    portable: false,
    targetUrl: 'https://www.hulu.com/',
    tmpdir: false,
    upgrade: false,
    upgradeFrom: undefined,
    win32metadata: {
      ProductName: 'Hulu',
      InternalName: 'Hulu',
      FileDescription: 'Hulu'
    }
  },
  nativefier: {
    accessibilityPrompt: true,
    alwaysOnTop: false,
    backgroundColor: '#333333',
    basicAuthPassword: undefined,
    basicAuthUsername: undefined,
    blockExternalUrls: false,
    bookmarksMenu: undefined,
    bounce: false,
    browserwindowOptions: undefined,
    clearCache: false,
    counter: false,
    crashReporter: undefined,
    disableContextMenu: false,
    disableDevTools: false,
    disableGpu: false,
    diskCacheSize: undefined,
    disableOldBuildWarning: false,
    enableEs3Apis: true,
    fastQuit: false,
    fileDownloadOptions: undefined,
    flashPluginDir: undefined,
    fullScreen: false,
    globalShortcuts: undefined,
    hideWindowFrame: false,
    ignoreCertificate: false,
    ignoreGpuBlacklist: false,
    inject: [],
    insecure: false,
    internalUrls: '.*?',
    lang: undefined,
    maximize: false,
    nativefierVersion: '46.0.4',
    processEnvs: undefined,
    proxyRules: undefined,
    showMenuBar: false,
    singleInstance: false,
    titleBarStyle: undefined,
    tray: 'true',
    userAgent: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36',
    userAgentHonest: false,
    verbose: true,
    versionString: undefined,
    width: 1280,
    height: 800,
    minWidth: undefined,
    minHeight: undefined,
    maxWidth: undefined,
    maxHeight: undefined,
    widevine: true,
    x: undefined,
    y: undefined,
    zoom: 1
  }
}

Preparing Electron app...
Copying electron app from C:\Users\Joshu\AppData\Roaming\npm\node_modules\nativefier\app to C:\Users\Joshu\AppData\Local\Temp\nativefier-23-57-14-app--12908-RlmGRV7VOkU9
Writing app config to C:\Users\Joshu\AppData\Local\Temp\nativefier-23-57-14-app--12908-RlmGRV7VOkU9\nativefier.json {
  accessibilityPrompt: true,
  alwaysOnTop: false,
  appBundleId: undefined,
  appCategoryType: undefined,
  appCopyright: undefined,
  appVersion: undefined,
  arch: 'x64',
  asar: false,
  backgroundColor: '#333333',
  basicAuthPassword: undefined,
  basicAuthUsername: undefined,
  blockExternalUrls: false,
  bounce: false,
  browserwindowOptions: undefined,
  buildDate:<PHONE_NUMBER>389,
  buildVersion: undefined,
  clearCache: false,
  counter: false,
  crashReporter: undefined,
  darwinDarkModeSupport: false,
  derefSymlinks: undefined,
  disableContextMenu: false,
  disableDevTools: false,
  disableGpu: false,
  disableOldBuildWarning: false,
  diskCacheSize: undefined,
  download: undefined,
  electronVersionUsed: '16.0.6+wvcus',
  enableEs3Apis: true,
  executableName: undefined,
  fastQuit: false,
  fileDownloadOptions: undefined,
  flashPluginDir: undefined,
  fullScreen: false,
  globalShortcuts: undefined,
  height: 800,
  helperBundleId: undefined,
  hideWindowFrame: false,
  ignoreCertificate: false,
  ignoreGpuBlacklist: false,
  insecure: false,
  internalUrls: '.*?',
  isUpgrade: false,
  junk: undefined,
  lang: undefined,
  maximize: false,
  maxHeight: undefined,
  maxWidth: undefined,
  minHeight: undefined,
  minWidth: undefined,
  name: 'Hulu',
  nativefierVersion: '46.0.4',
  osxNotarize: undefined,
  osxSign: undefined,
  portable: false,
  processEnvs: undefined,
  protocols: undefined,
  proxyRules: undefined,
  prune: undefined,
  quiet: undefined,
  showMenuBar: false,
  singleInstance: false,
  targetUrl: 'https://www.hulu.com/',
  titleBarStyle: undefined,
  tray: 'true',
  usageDescription: undefined,
  userAgent: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36',
  userAgentHonest: false,
  versionString: undefined,
  width: 1280,
  widevine: true,
  win32metadata: {
    ProductName: 'Hulu',
    InternalName: 'Hulu',
    FileDescription: 'Hulu'
  },
  x: undefined,
  y: undefined,
  zoom: 1,
  oldBuildWarningText: ''
}
No files to inject, skipping copy.
Updating C:\Users\Joshu\AppData\Local\Temp\nativefier-23-57-14-app--12908-RlmGRV7VOkU9\package.json 'name' field to hulu-nativefier-519f9e

Converting icons...
Building for Windows and icon is already a .ico, no conversion needed
Copying icons if necessary
Copying icon C:\Users\Joshu\Nativefier-Apps\Hulu\res\icon.ico to C:\Users\Joshu\AppData\Local\Temp\nativefier-23-57-14-app--12908-RlmGRV7VOkU9\icon.ico

Packaging... This will take a few seconds, maybe minutes if the requested Electron isn't cached yet...
2022-01-30T06:57:16.508Z electron-packager Electron Packager 15.4.0
Node v17.3.0
Host Operating system: win32 10.0.22000 (x64)
2022-01-30T06:57:16.508Z electron-packager Packager Options: {"arch":"x64","asar":false,"darwinDarkModeSupport":false,"dir":"C:\\Users\\Joshu\\AppData\\Local\\Temp\\nativefier-23-57-14-app--12908-RlmGRV7VOkU9","electronVersion":"16.0.6+wvcus","icon":"C:\\Users\\Joshu\\Nativefier-Apps\\Hulu\\res\\icon.ico","name":"Hulu","out":"C:\\Program Files\\NativeApps","overwrite":true,"platform":"win32","portable":false,"targetUrl":"https://www.hulu.com/","tmpdir":false,"upgrade":false,"win32metadata":{"ProductName":"Hulu","InternalName":"Hulu","FileDescription":"Hulu"},"appBundleId":"com.electron.nativefier.hulu-nativefier-519f9e"}
2022-01-30T06:57:16.508Z electron-packager Target Platforms: win32
2022-01-30T06:57:16.508Z electron-packager Target Architectures: x64
2022-01-30T06:57:16.508Z electron-packager Requiring author in package.json, as CompanyName was not specified for win32metadata
2022-01-30T06:57:16.515Z electron-packager Inferring appVersion from version in C:\Users\Joshu\AppData\Local\Temp\nativefier-23-57-14-app--12908-RlmGRV7VOkU9\package.json
2022-01-30T06:57:16.515Z electron-packager Inferring win32metadata.CompanyName from author in C:\Users\Joshu\AppData\Local\Temp\nativefier-23-57-14-app--12908-RlmGRV7VOkU9\package.json
2022-01-30T06:57:16.515Z electron-packager Application name: Hulu
2022-01-30T06:57:16.515Z electron-packager Target Electron version: 16.0.6+wvcus
2022-01-30T06:57:16.516Z electron-packager Ignored path regular expressions: [
  '/package-lock\\.json$',
  '/yarn\\.lock$',
  '/\\.git($|/)',
  '/node_modules/\\.bin($|/)',
  '\\.o(bj)?$'
]
2022-01-30T06:57:16.517Z electron-packager Downloading Electron with options {"platform":"win32","arch":"x64","version":"16.0.6+wvcus","artifactName":"electron"}
Packaging app for platform win32 x64 using electron v16.0.6+wvcus
2022-01-30T06:57:16.520Z electron-packager Creating C:\Program Files\NativeApps\win32-x64-template
2022-01-30T06:57:16.521Z electron-packager Extracting C:\Users\Joshu\AppData\Local\electron\Cache\d67181015b23e5ceb82e43069da80659f0625a0288c4fcb5f303a0c6be7b8ed8\electron-v16.0.6+wvcus-win32-x64.zip to C:\Program Files\NativeApps\win32-x64-template
2022-01-30T06:57:21.018Z electron-packager Initializing app in C:\Program Files\NativeApps\Hulu-win32-x64 from C:\Program Files\NativeApps\win32-x64-template template
2022-01-30T06:57:21.077Z electron-packager Ignored paths based on the out param: [ 'C:\\Program Files\\NativeApps' ]
2022-01-30T06:57:21.249Z electron-packager Validating bundled Electron app
2022-01-30T06:57:21.249Z electron-packager Checking for a package.json file
2022-01-30T06:57:21.250Z electron-packager Checking for the main entry point file
2022-01-30T06:57:21.250Z electron-packager Validation complete
2022-01-30T06:57:21.251Z electron-packager Renaming electron.exe to Hulu.exe in C:\Program Files\NativeApps\Hulu-win32-x64
2022-01-30T06:57:21.252Z electron-packager Running rcedit with the options {"version-string":{"FileDescription":"Hulu","InternalName":"Hulu","OriginalFilename":"Hulu.exe","ProductName":"Hulu","CompanyName":"Jia Hao"},"file-version":"1.0.0","product-version":"1.0.0","icon":"C:\\Users\\Joshu\\Nativefier-Apps\\Hulu\\res\\icon.ico"}

Finalizing build...
App built to C:\Program Files\NativeApps\Hulu-win32-x64, move to wherever it makes sense for you and run the contained .exe file.
Signing: C:\Program Files\NativeApps\Hulu-win32-x64\Hulu.exe
 - Verifying existing VMP signature
 - Signature invalid: Failed to verify signature
 - Verifying matching VMP signature in cache
 - Signature is valid [persistent, 3091 days of validity], use cached signature

This bug happens with any app that uses the --widevine flag. Not just Hulu.
Context

Nativefier: 46.0.4
Node.js: v17.3.0
Npm: 8.3.0
OS: Windows 11 Version 21H2 (OS Build 22000.434)
Is it a regression?: Yes. According to a response below, it would appear the be a regression with the Electron version that is causing the issue. Adding -e 15.3.5 to the command seems to have fixed the issue for the person who tested this option.

humm get the same error here, tried with diferent electron version and worked just fine!
i used the -e tag and the 15.3.5 version...
Example:

nativefier --name "HBO Max" "https://play.hbomax.com/" --tray --widevine --enable-es3-apis -e 15.3.5 --internal-urls ".*?" --background-color "#333333" -u firefox

Thanks!

hmmm so it's the electron version that broke it. ok thanks for the info

Also not working on MacOS.

Can confirm, only 15.3.5 works. I tried above and below 19, no luck.

Using version 15.3.5 also fixes this error:
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
All newer versions give me the above error upon running the app.

I've just run into the same error. Building the app without --widevine to fall back to the original Electron version resolves the problem, but then of course pages like Spotify don't work.
With --widevine and the castLabs unofficial build the window never opens and the process(es) just linger in the background with no visible window.


lit: support long paths on Windows

Use ctypes to call into SHFileOperationW with the extended NT path to allow us
to remove paths which exceed 261 characters on Windows. This functionality is
exercised by swift's test suite.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@357778 91177308-0d34-0410-b5e6-96231b3b80d8
(cherry picked from commit 11ab360eb5df0efebfb77e6745c75a6dd8e27089)

CC: @bob-wilson @gottesmm @dexonsmith
This just pulls lit support to ensure that we can deal with long paths.  This should have no impact on generated code or the tests on non-Windows targets.


nvidia-l4t-optee: add 'bash' as RDEPENDS

Regarding this PR, I did the test on my custom meta-layer and having the change included in the meta-tegra resulted in the following error:

Sorry for the previous broken change.

Thanks for fixing this.


[Bug]: MistralAI- Undefined array key "type"

Description
Hi,
I'm using this API implementation with both OpenAI models and MistralAI ones.
My implementation works perfectly with both, except for the tool_calls function which is the only thing that goes wrong with MistralAI models.
When calling a function with a compliant model (example: open-mixtral-8x22b), I get this error message:
Message: Undefined array key "type"

Filename: Chat/CreateResponseToolCall.php

Line Number: 23

It only happens when the model intends to use the tool.
It's able to recognise its tools though, but as soon as it tries to use them, there is this error occuring.
Steps To Reproduce
Create a MistralAI account and get an API key.
Use this base URI: api.mistral.ai/v1
Make a chat resource with a tool and use it with a MistralAI compliant model (example: open-mixtral-8x22b).
OpenAI PHP Client Version
v0.8.5
PHP Version
8.3
Notes
No response

@doc- Could you make a PR for that?

Sadly I did not find the way to fix it.

Going to close this, as supporting the Mistral API is not a goal of this package.
If someone opens a PR to add support, I am happy to review.


Extract Line scalar values not correct

Tested with line_angle = 90 (rad), pnt = (-2.7, 0) on the 2D test data.

Potentially connected to interpolation error at edge of data array.

Error caused by vector to scalar conversion


Can't update or insert when map OwnsOne a class to many classes

Can't update or insert when map OwnsOne a class to many classes.
E.g. :
Class model (simplified)
class Foo
{
    public Address Address { get; set; }
    public String Name { get; set; }
}

class Bar
{
    public Address Address { get; set; }
    public string Bar { get; set; }
}

class Address
{
    public string Street { get; set; }
    public string No { get; set; }
}

Mapping
class FooMapping: IEntityTypeConfiguration<Foo>
{
        public void Configure(EntityTypeBuilder<Foo> builder)
        {
            builder.OwnsOne(t => t.Address);
        }
}
class FooMapping: IEntityTypeConfiguration<Bar>
{
        public void Configure(EntityTypeBuilder<Bar> builder)
        {
            builder.OwnsOne(t => t.Address);
        }
}

When BulkInsert or BulkUpdate List or List, it does not work.
I created some pull requests to fixed this, pls review it.

I have review the issue and yours pull requests are fine.
However code added in TableInfo does not cover all situations, it still throws error
()
when Property of owned Type has custom name Column, i.e.
[Owned]
class Address
{
    [Column(nameof(Street))] // Keeps Columna name only 'Street' without prefix 'Address_'
    public string Street { get; set; }

    public string No { get; set; }
}

I have found a fix for custom name Column, and have integrated all changes into new NuGet 2.1.9.


Leaderboard command: Migrate to slash commands

Because

Update Odin bot old command !leaderboard into the new slash command /leaderboad which has 2 sub commands, one for fetching server ranking, and the second for fetching a specific user's points. The latter will fix an old broken command !points which was supposed to show a specific user's current points.
This PR

Replace !leaderboard command with /leaderboard slash command.
Integrate testing to the new slash commands
Provide sub command /leaderboard user which take a user as required option, then provide points for that specific user
Provide sub command /leaderboard ranking which have 2 Optional parameters, limit and offset, returns the server ranking for all users.
Remove old broken command !points create tests for it and add it as the subcommand /leaderboard user
Cleanup snapshots and tests, to work with the new commands
Added subdirectory tests which will be holding the tests for new-era-commands and add it as ignored in index.js's glob

Issue

Closes #356
Additional Information

The new changes will work with the current API. No changes to the API required, but some changes could be beneficial.
The changes right now will fetch a user's format properly and show the users' points, but it will not show the user's Rank. In order for that to work, I need to make a change on the API level as mentioned previously in #356 . When the API change happens, this update will automatically reflect the changes, no further changes required to be done in the leaderboard command. Unless the goal is to refactor and clean up.
Pull Request Requirements

[x] I have thoroughly read and understand The Odin Project Contributing Guide
[x] The title of this PR follows the location of change: brief description of change format, e.g. Callbacks command: Update verbiage
[x] The Because section summarizes the reason for this PR
[x] The This PR section has a bullet point list describing the changes in this PR
[x] If this PR addresses an open issue, it is linked in the Issue section
[x] If this PR adds new features or functionality, I have added new tests
[x] If applicable, I have ensured all tests related to any command files included in this PR pass, and/or all snapshots are up to date

@ManonLef I would appreciate your input on this, you have always been good with designs and I feel my naming and descriptions could be improved.

@Mclilzee I'd love to but I haven't worked with the points yet. Feel free to add me to a test server or link me the points-bot / token guide (if any) so I can jump into it later!

@01zulfi I hope we are not giving you too much work for this bot. If you can please give this a quick review. @ManonLef had a brilliant idea to implement. Instead of having the leaderboard and points commands separate we can combine them into :

/points help
`/points leaderboard'
/points user

So I will be working on migrating that.
If you have any input as well on the testing methods that I have used, I wasn't sure how to go about testing the slash commands, so I implemented the best way I came up with.
Also further more about the 3 points i said earlier in the issue, after further consideration the change of API I provided will not work. It is true it show the correct rank for a specific member, but we don't have yet a way to filter active from inactive members, so the rank is most likely gonna be off from what the leaderboard actually shows. Right now the bot will just show points without a rank, in order to show a rank my only option for now is to make the call for all data and filter them inside the bot itself finding my user + the index as a rank.
Which further more makes the /api/points/{discord_id} dead code in the backend, any input on that?

@ManonLef had a brilliant idea to implement. Instead of having the leaderboard and points commands separate we can combine them

Needs this context I added : Not saying it's a good option but we could explore it. See what's possible when it comes to grouping them.
😂

It's great option!

@01zulfi I can do that certainly, I can move the functions into services/points/points.service.js and points.service.test.js That will certainly simplify the testing process into actual unit tests.
I still need your input about how to proceed with getting the rank, so far the only way right now is to loop through all records of the leaderboard. Should I proceed?

I still need your input about how to proceed with getting the rank, so far the only way right now is to loop through all records of the leaderboard. Should I proceed?

Yup!

@01zulfi This should be ready to give it a test. Special thanks to @ManonLef couldn't have done it without my twin ❤
I tried to keep the class consistent with the other services, I had handleInteraction static method inside the service. But I didn't feel this was the right way to do it, I would have personally separated the Service from handling the interaction and their commands. Services to only return embed data instead of calling the reply themselves. Which in return will change the way I could handle the unit tests without mocking the Interaction heavily.
I didn't want to change the way it is now for consistency, but that can be a new issue opened afterward to separate Services from Interaction handling, for all related Services.

@01zulfi There might have been confusion with the rebase I did earlier from main which included some files, I will explore them later today and clean it up with rebase -i.
As for the filtering that was the default behavior we currently have, if a user leaves the server their rank will be ignored and the person below them will take on their rank and so on. Was this not the behavior expected? I feel it would be unfair for someone's rank to be lower than a person who is not currently on the server, or has been banned.

@Mclilzee Thanks for the update. Let's keep the filtering then!

@01zulfi I updated my rebase and removed the commit you requested. I'm sorry for giving you trouble with my old rebase mess up, I should have checked it myself.
I'm quite sure my problem was rebasing from upstream main rather than pulling the newest changes into my origin main and then rebasing from there. All the commits that have already been merged with upstream main are now discarded from this PR.
If there is anything else you need changing, please let me know.
PS: If you know what messed up my rebase the first time, let me know too. This would be an educational moment for me <3

PS: If you know what messed up my rebase the first time, let me know too. This would be an educational moment for me <3

Honestly I have no idea, git can be confusing at times lol 😄


Slight change to handling temporary sync workers

Changes based on: https://github.com/rwmt/Multiplayer-Compatibility/pull/275#issuecomment-1463019723

I'm not sure how feasible is to query MP itself so we don't add syncworkers that exist in MP already. It should warn us that it already exists so we can remove it safely.
Either CanHandle or SyncDict.syncWorkers.TryGetValue directly. I'm thinking CanHandle is the safest option because it's what gets tested when it outputs "No Syncworker for this type".

Well... I wanted to look into it, but (as I tend to do) I did significantly overthink it... Yep, it should be pretty easy to check.

And updated it now to check MP for sync worker

All good, nice


Refuse /payload command on PRs to repositories not contributing to OCP

/cc @openshift/test-platform
/hold
Require https://github.com/openshift/ci-tools/pull/2583

/hold cancel

/payload 4.10 nightly informing


Audit Plot3D read options for automation

The Plot3D reader has a number of options that kinda seem like they should just be automagically handled...

Iblanking...is there any reason VisIt should not iblank if the associated field is defined?
3D...is there any reason we can't effectiently detect this during open/popmd?
Big endian...is there nothing in the format itself that tells us this?
Double precision...for ascii isn't this meaningless and, again, is there no way to detect this?

If answers to all of the above are no, we cannot automate them then my next question is whether it makes sense for VisIt to define some additional keywords/keycodes in the format to support this and try to evangelize its use, similar to what we sometimes do with other formats (materials, expressions in VTK, mixed materials in Exodus, etc.)

Another option is the C vs. Fortran ordering (and maybe array indexing if that is relevant in Plot3D files).
One alternative to customizing the format is to defeine a json wrapper file like so...
{
    "ordering": "C",
    "3d": true,
    "precision": 4,
    "endian": "big",
    "path": "./foo.vp3d"
}

Any file VisIt is asked to open that has the original PLOT3D extensions (.q, .x or .vp3d) with a .json or maybe a -json following it would be processed similarly to options.
In fact, this might be a general way of handling this kind of thing in VisIt...Allow a json wrapper file to capture information the format itself doesn't conveniently define and then pass the json object down to the format.

Was this ticket made before the vp3d file was supported?

Was this ticket made before the vp3d file was supported?

Nope. This ticket was added April of this year and vp3d looks like it was added back in 2009.

Got it. Thanks for following up. I only ask because I believe VisIt already handles binary PLOT3D files automatically, and it seems like the .vp3d file, which the user can create himself, does what this ticket suggests.


fix container to accept HTML elements

Currently, selectors only acceptable as a container passed in options. Passing an HTML element produces the error 'Container must either be a selector string or an HTMLElement.'.
After the fix, both selectors and HTML elements will work the same

I'm sorry, it's already there in #21
I'll close the PR


Search method to send multiple search request

To manage front-end display of facets and range sliders, MeiliSearch needs to perform multiple searches.
For the moment, contrary to the Algolia search engine, there is no way to send multiple requests of search in the same HTTP call. Thus, we need to send multiple HTTP calls to get the same result.
However, for a better user experience we should create a method to apply this in our SDK:
function multipleSearch(array searchParameters) -> array searchAnswers

This method will take as a parameter an array of the search objects. These objects will contain the search parameters (including the q).
The return will be an array of the MeiliSearch answer objects, corresponding to the different search requests, so the order should be the same.
⚠ We all know this method will not be optimized: an array of 4 requested would mean 4 HTTP calls! However, this is currently the only way to manage this kind of front-end issue. So providing the method would at least help in terms of coding experience if the developer definitely needs this feature.
Plus, MeiliSearch will integrate a way to send multiple requests in one HTTP call in the future, so the method would already be ready.
Todo
We need to test this kind of method in the most used repos for front-end, so meilisearch-js (to apply it into instant-meilisearch).
Then we could do the implementation in meiliserach-php, ruby, python... (other languages used in famous web frameworks)

I came from the future, and I can say this will be implemented very soon!
See the following issue: https://github.com/meilisearch/meilisearch/issues/3427
Since this will be present in the central issue for v1.1 or maybe v1.2, I don't think we should keep this open, let me know if I'm wrong!


Top level completion implementation

Looks awesome !
I'll release a new version online today or this week-end.
Thanks a lot :D

It's online, though I don't think it works, since autocompletion is only triggered by ( and ..
Is it supposed to work as is ?

Nevermind, I wasn't aware of Ctrl+Space :p
Awesome contribution, thanks again :D


gh-817 - fixed a few issues with the ui

Codecov Report

Merging #818 into develop will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             develop     #818   +/-   ##
==========================================
  Coverage      57.81%   57.81%
  Complexity      2567     2567
==========================================
  Files            475      475
  Lines          12051    12051
  Branches        1323     1323
==========================================
  Hits            6967     6967
  Misses          4508     4508
  Partials         576      576

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 7c63896...5cda973. Read the comment docs.


Use private network addresses on documentation

The ip <IP_ADDRESS> used in tests is publicly routable, https://whatismyipaddress.com/ip/<IP_ADDRESS> and trying to connect and/or send data there is not advisable. Use something like <IP_ADDRESS> instead.
    --log-opt relpHostname=<IP_ADDRESS> \

and
        relpHostname: "<IP_ADDRESS>"

replaced public IPs with <IP_ADDRESS>


Maximum update depth exceeded.

Current Behavior
I'm trying to reset my stack due a user auth. But it's causing a loop.

My scenes tree is this:

Checker
Intro
Tabs

On the checker, I'm doing the validation of userdata this way:
AsyncStorage.getItem("userdata").then((value) => {
                         if...
			const resetAction = NavigationActions.reset({
			  index: 0,
			  actions: [
			    NavigationActions.navigate({ routeName: screen})
			  ]
			})
			this.props.navigation.dispatch(resetAction);
		});

This used to work on previous apps.
Your Environment

software
version

react-navigation
1.0.0-beta.15

react-native
0.49.3

node
v6.9.2

npm or yarn
npm 3.10.9

Fixed. It's a props.navigation.setParams bug. Setting a setTimeout fixed the problem. Don't ask me why.


Event breadcrumbs have incompatible types between Python and JS SDKs

How do you use Sentry?
Sentry Saas (sentry.io)
Version
1.9.0
Steps to Reproduce
Background: I use sentry_sdk in Python running in the browser with Pyodide to collect a serialised Sentry event about a Python exception without actually sending it, because Python code for sending network requests doesn't work in the browser. The code for that is here: https://github.com/alexmojaki/futurecoder/blob/e09f016bd69f893d3eb81e1a4bfa804953aedb4e/core/utils.py#L205-L225 . The event is returned to JS which sends it to the server using Sentry.captureEvent. I'm @sentry/react, and it and all its dependencies like @sentry/browser are on version 7.8.1.
In summary:

In Python, use sentry_sdk.init() to set a custom transport to intercept events.
Then sentry_sdk.capture_exception() to collect an event, but don't send it.
Pass the captured event to Sentry.captureEvent() in JS.

Expected Result
The event is captured successfully and can be viewed on sentry.io. This has in fact been working great for a while, and the UI shows me info from both the JS and Python SDKs in one event.
Actual Result
Sentry.captureEvent() in JS runs into a TypeError: (e.breadcrumbs || []) is not iterable, which itself actually gets captured by Sentry and sent instead:

The problem is that in the Python event, breadcrumbs is a dict with a key values mapping to a list. But JS expects breadcrumbs to just be the list (array) rather than a dict (object). If I set event.breadcrumbs = event.breadcrumbs.values in JS, then everything goes back to working perfectly. However this doesn't mean much since in this case event.breadcrumbs is just {values: []}. I don't know if there are sometimes keys other than values, or if the lists themselves are also sometimes incompatible between the SDKs.
I don't know to what extent the different SDKs are meant to have compatible schema, but it seems like it's been working well so far and it'd be a pity to lose that. Also, I don't know if this issue belongs here or in a JS repo.

hey @alexmojaki this is a really unconventional use case, but bonus points for creativity! I'm surprised the rest of the SDK works at all since we never tested in webassembly before. ^^

I don't know to what extent the different SDKs are meant to have compatible schema, but it seems like it's been working well so far and it'd be a pity to lose that. Also, I don't know if this issue belongs here or in a JS repo.

Yes, there might be some inconsistencies between SDKs in this regard, because our event schema allows both a direct list of objects or nested under values as noted for exception here. The same holds for breadcrumbs.

The exception attribute should be an object with the attribute values containing a list of one or more values that are objects in the format described below. Alternatively, the exception attribute may be a flat list of objects in the format below.

Unfortunately, this really counts as an unsupported use case so you'll just have to deal with the inconsistencies on your end, sorry! If you need me to confirm something about the schema, you can ask me here again, but I'll close this issue.


Pact checking

Feedback please. Things that still need to be done:

Emit trace steps for resets (@bts I started working on this but had some trouble with it -- if you want to tackle it that would be amazing. If not I can continue with your guidance)
The method we currently use for resets is pretty lame -- we just free everything that could be changed between steps, without considering what could actually be changed with the API presented by the module. This is pretty weak (in terms of what we can prove). It would be better to take the closure of sequences of operations available in the module. Unfortunately I'm not sure how to do this. Also I'm not sure which things need to be freed between steps in the current method.
If someone declares (property (= (column-delta accounts 'balance) 1)) for a pact, does that mean that the sum of that column is the same when the pact finishes executing, or that the code in the pact itself doesn't change the sum of the column?
Need to do a lot of testing. This is partly dependent on questions like the previous.
Note: please ignore that I commented out all the other tests

I can add the trace steps once I take care of the pending capability analysis tweaks I need to finish up


Add border for the chart

Feature Proposal

Feature Use Case

Possible Implementation

hmm I not sure if this is necessary

This should be possible in 3.0 by using scriptable options to make the first and last gridline a darker color
https://www.chartjs.org/docs/latest/general/options.html#scriptable-options
https://www.chartjs.org/samples/next/scales/gridlines-scriptable.html


Vertical tab flyout setting not consistent after exiting compact overlay

Description
After setting 'Display the vertical tab flyout on the title bar' to off, the button still appears after switching to compact overlay mode. Exiting out of compact overlay mode, the button is permanently in the title bar.
Steps To Reproduce

Go to Settings > Multitasking
Turn off "Display the vertical tab flyout on the title bar"
Close settings
Turn on compact overlay mode (Ctrl+Alt+Up)
Notice the vertical tab flyout button is in the title bar
Exit compact over mode (Ctrl+Alt+Down)
Notice the vertical tab flyout button is still in the title bar

Expected behavior
After turning the setting off, the button should not appear in the title bar even after switching to compact overlay mode.
Files Version
Version: <IP_ADDRESS> OS Version: 10.0.22000.282
Windows Version
Edition	Windows 11 Home Version	21H2 Installed on	8/24/2021 OS build	22000.282 Experience	Windows Feature Experience Pack 1000.22000.282.0
Relevant Assets
No response

Since vertical tabs arnt included anymore im going to close this.


Added a note about winrm basic auth in PS to mfa-connect-to-exchange-online-powershell.md

https://github.com/MicrosoftDocs/office-docs-powershell/issues/6251.
@chrisda what do you think if we add a note here? As it's a very common issue.

Docs Build status updates of commit 52d5434:
:clock10: Full build: the average full build time is 17 min(s) 39 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit 52d5434:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/docs-conceptual/mfa-connect-to-exchange-online-powershell.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit b303675:
:clock10: Full build: the average full build time is 17 min(s) 39 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit b303675:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/docs-conceptual/mfa-connect-to-exchange-online-powershell.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit f00b5ff:
:clock10: Full build: the average full build time is 17 min(s) 39 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit f00b5ff:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/docs-conceptual/mfa-connect-to-exchange-online-powershell.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 1ccf25a:
:clock10: Full build: the average full build time is 17 min(s) 39 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit 1ccf25a:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/docs-conceptual/mfa-connect-to-exchange-online-powershell.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Is it possible to deploy docsify on bitbucket server

Hey guys.
Thank you for this nice tool. I've tried to use it in our projects and deploy it on our bitbucket server.
But I am a noob and don't know how to do it as it's not mentioned in the doc.
Maybe it needs some add-on for bitbucket? Did anyone do this before?

@tky753 For deployment, you need to be able to access your files from some URL
For example:
https://myrepo.bitbucket.io/ → <git-repo>/index.html
then
https://myrepo.bitbucket.io/#/my-section → <git-repo>/my-section.md
With Github Pages, you might need to put them in <git-repo>/docs or in a branch. If Bitbucket lets you host in a similar way, then docsify should work automatically :)


[Distributed] improve ad-hoc requirement typechecking

Improves the matching of ad-hoc protocol requirements remoteCall / remoteCallVoid.
Dealing with the generics there is a pain in the neck but we're almost there...
This isn't a complete impl still, it has to check the param of the Act and the SerializationRequirements still

@swift-ci please smoke test and merge

Made good progress here -- lots of cleanup and moving around utilities to work with the associated types (serialization req) and desugaring it etc... I think I should have this complete tomorrow.

Thanks -- done a lot here and going to try to get this step in; there's one more protocol to handle the result handler with its onReturn but I'll do this in a small PR

@swift-ci please smoke test

@swift-ci please smoke test

Had some issues with the mutable checking but will revisit this later

@swift-ci please smoke test and merge

@swift-ci please smoke test and merge

@swift-ci please smoke test and merge

@swift-ci please smoke test and merge

Flaky lldb tests:

  lldb-api :: lang/swift/implementation_only_imports/library_resilient/TestLibraryResilient.py
  lldb-shell :: SwiftREPL/BreakpointSimple.test

@swift-ci please smoke test macOS

  lldb-api :: lang/swift/implementation_only_imports/library_resilient/TestLibraryResilient.py

@swift-ci please smoke test macOS

@swift-ci please smoke test macOS

@swift-ci please smoke test macOS

@swift-ci please smoke test macOS

@swift-ci please build toolchain

resolves rdar://88111680


Add swagger API/UI support

As a user
I want my generated app to use Swagger
So that my API is standard and documented

Partially added.  Currently blocked due to an issue with hapi-swagger.


Do we have demo code for maplibre-provider

As title, do we have demo or example code for maplibre-provider, we can load .comt file to explor it like the m tremmel
Here is the link [m tremmel](https://www.youtube.com/watch?v=oqyQ3wo7n18)
Thanks

@zimmermannpeter can you please provide your example code for running the demo with MapLibre?
In general the video you referring is related to version 2 of PMTiles.
PMTiles recently published a revised version 3 which strongly improves in terms of size and latency.


Passing API Key

I would like to use one function to send to multiple Thingspeak channels.
My function identifies unique variable, then assigns a known API Key.
var Node = JSON.parse(msg.payload);
var api_key
if (Node == 100) {
var api_key = "xxxxxxxx1";
}
if (Node == 200) {
api_key = "xxxxxxxx2";
}
msg.payload = api_key;
return msg;

Agreed.  A switch block is the right way to do this.  The API keys should be kept in secure storage and should probably not be sent around in messages.


[BUG] Parent POM references not resolving on build

Describe the bug
Parent POM references not resolving on build
Exception or Stack Trace
When building blob storage SDK:
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  2.002 s
[INFO] Finished at: 2019-10-18T11:55:41-07:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project azure-storage-blob: Could not resolve dependencies for project com.azure:azure-storage-blob:jar:12.0.0-preview.5: Failed to collect dependencies at com.azure:azure-core:jar:1.0.0-preview.7: Failed to read artifact descriptor for com.azure:azure-core:jar:1.0.0-preview.7: Could not find artifact com.azure:azure-sdk-parent:pom:1.5.0 in ossrh (https://oss.sonatype.org/content/repositories/snapshots/) -> [Help 1]

To Reproduce
Steps to reproduce the behavior:
Ran
mvn -f sdk/storage/azure-storage-blob -Dgpg.skip -DskipTests clean install

A workaround is to navigate to parent and run
mvn  -Dgpg.skip -DskipTests install

Expected behavior
The build should complete, as this specific syntax is documented in Contributing.md
Setup (please complete the following information):

OS: Ubuntu 18.04LTS
IDE : bash
Version of the Library used: Master branch, 347a4a90d39b70b5711f3ddec4f656ca832a51dc

Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[x] Bug Description Added
[x] Repro Steps Added
[x] Setup information Added

The CONTRIBUTING.md file should be up to date with how to build and install locally.


k8s: Bump k8s version check interval to 15 minutes

At 1k nodes, a 5 minute interval still leads to 3.33 apiserver interactions per
second. The health is primarily determined when the last event has been received
so we can be more conservative in forcing a full version check.

This change is

Coverage remained the same at ?% when pulling 727018390bd36e8f363685193dc30a927e859c99 on pr/tgraf/bump-k8s-version-check-interval into 588dc0f46b1cfad382d848bc2bbbaf7440cb69d4 on master.

test-me-please


Searching Keyboard Updates

The keyboard remains active when someone is searching on the discover page.

[ ] Discover
[ ] Group Finder
[x] Determine if "Enter" can be added to native keyboard
[ ] add if we want

as @benwiley pointed out, this should be as easy as disabling focus on the text field after submitting

We should include Group Finder search in this as well.

iOS does give you access to setting a custom string for the "return" button at the native level, or in a web view. We can use predefined values for that field.
At the web view level, this involves:

wrapping text inputs in a  tag
adding an action attribute to the
ensuring the action doesn't do anything on form submission
setting an appropriate text input type on form elements

Here are the possibilities at the web view level:
Go

Search

Return

I'm not sure what these do for third party keyboards. Probably assumes they will implement the same way.
At the native level, you can use the native UITextInputTraits on a UITextField or UITextView element. Documentation here.
Basically, this amounts to "return", "Go", "Google", "Join", "Next", "Route", "Search", "Send", "Yahoo", "Done", "Emergency Call", "Continue". Using one of these that isn't available in the web view will involve rendering a native text input over the top of the web view, and communicating back and forth. Messy, not scalable, and IMO not worth it.

@johnthepink this is great! Lets go with search


codeberg-pages: 4.6.2 -> 5.0

Things done
#ZurichZHF

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 270141 run on x86_64-linux 1

1 package built:

codeberg-pages


It's impossible to install ingestor_cloudfoundry-firehose  and logsearch/ingestor_syslog on the same VM

Hello. While trying create a single job for ingestors (logsearch/ingestor_syslog and  logsearch-for-cloudfoundry/ingestor_cloudfoundry-firehose)  i'm receiving this error. Shouldn't this templates be able to live on single bosh job? Thank you.
Error 80011: Package name collision detected in job ingestor': template logsearch/ingestor_syslog' depends on package logsearch/logstash', template logsearch-for-cloudfoundry/ingestor_cloudfoundry-firehose' depends on `logsearch-for-cloudfoundry/logstash'. BOSH cannot currently collocate two packages with identical names from separate releases.

I don't see why not - its just a case of renaming the logsearch-for-cloudfoundry/logstash package to something like logsearch-for-cloudfoundry/logstash_for_ingestor_cloudfoundry-firehose
Feel free to submit a PR to make that change.

Thank you for quick response. I'll do after some testing

Closing in favour of #63


The Discord bot will not go online even after doing all the steps correctly. Any help

EDIT: Actually I am having an Unexpected Identifier. Any help would be greatly appreciated.

@peytonb123 can you provide some snippets of your code where the error is occuring?


⚠ Cioos National CKAN has degraded performance

In 8bbfcd4, Cioos National CKAN (https://catalogue.cioos.ca/) experienced degraded performance:

HTTP code: 200
Response time: 5998 ms

Resolved: Cioos National CKAN performance has improved in be4d396 after 8 minutes.


Added support for 'ignore-rest-args' option in 'no-any' rule

PR checklist

[X] Addresses an existing issue: #4437
[X] New feature, bugfix, or enhancement

[X] Includes tests

[X] Documentation update

Overview of change:

Added option ignore-rest-args to no-any lint rule.
Added tests to cover ignore-rest-args functionality.
Documented new rule by adding an option example and describing it's functionality.

CHANGELOG.md entry:
[new-rule-option] Added ignore-rest-args option to no-any

Thanks for your interest in palantir/tslint, @vmk1vmk! Before we can accept your pull request, you need to sign our contributor license agreement - just visit https://cla.palantir.com/ and follow the instructions. Once you sign, I'll automatically update this pull request.

👋 just a heads up @vmk1vmk, you don't need to force push. We squash commits on PRs anyway, and it's actually more useful to us as reviewers to see the commits as originally created.

Sorry didn't know that, and thanks for putting the effort into the review.
I changed the code according to your changes so you can check if something is still missing.


cant't show remote branches with ssh remote

GitLens Version: 11.5.1
Git Version: <IP_ADDRESS>

VSCode Version: 1.57.1
OS Version: win10

When use ssh remote development with a github repo. Can't show remote branches
output as:
[2021-06-25 10:21:04:331] [/root/projects/binary_life] Git Command failed: /usr/bin/git -c core.quotepath=false -c color.ui=false for-each-ref --format=%3ch%3e%(HEAD)%3cn%3e%(refname)%3cu%3e%(upstream:short)%3ct%3e%(upstream:track)%3cr%3e%(objectname)%3cd%3e%(committerdate:iso8601) refs/heads refs/remotes • unknown field name: HEAD • 7 ms
[2021-06-25 10:21:04:541] [/root/projects/binary_life] Git Command failed: /usr/bin/git -c core.quotepath=false -c color.ui=false for-each-ref --format=%3ch%3e%(HEAD)%3cn%3e%(refname)%3cu%3e%(upstream:short)%3ct%3e%(upstream:track)%3cr%3e%(objectname)%3cd%3e%(committerdate:iso8601) refs/heads refs/remotes • unknown field name: HEAD • 10 ms
[2021-06-25 10:21:07:809] [/root/projects/binary_life] Git Command failed: /usr/bin/git -c core.quotepath=false -c color.ui=false for-each-ref --format=%3ch%3e%(HEAD)%3cn%3e%(refname)%3cu%3e%(upstream:short)%3ct%3e%(upstream:track)%3cr%3e%(objectname)%3cd%3e%(committerdate:iso8601) refs/heads refs/remotes • unknown field name: HEAD • 7 ms
[2021-06-25 10:21:08:026] [/root/projects/binary_life] Git Command failed: /usr/bin/git -c core.quotepath=false -c color.ui=false for-each-ref --format=%3ch%3e%(HEAD)%3cn%3e%(refname)%3cu%3e%(upstream:short)%3ct%3e%(upstream:track)%3cr%3e%(objectname)%3cd%3e%(committerdate:iso8601) refs/heads refs/remotes • unknown field name: HEAD • 9 ms
[2021-06-25 10:21:08:142] [/root/projects/binary_life] Git Command failed: /usr/bin/git -c core.quotepath=false -c color.ui=false for-each-ref --format=%3ch%3e%(HEAD)%3cn%3e%(refname)%3cu%3e%(upstream:short)%3ct%3e%(upstream:track)%3cr%3e%(objectname)%3cd%3e%(committerdate:iso8601) refs/heads refs/remotes • unknown field name: HEAD • 11 ms
[2021-06-25 10:21:08:373] [/root/projects/binary_life] Git Command failed: /usr/bin/git -c core.quotepath=false -c color.ui=false for-each-ref --format=%3ch%3e%(HEAD)%3cn%3e%(refname)%3cu%3e%(upstream:short)%3ct%3e%(upstream:track)%3cr%3e%(objectname)%3cd%3e%(committerdate:iso8601) refs/heads refs/remotes • unknown field name: HEAD • 11 ms

$ git remote -vv
origin  git@github.com:Jedore/binary_life.git (fetch)
origin  git@github.com:Jedore/binary_life.git (push)

Can you give me some advice?

Same issue with remotes using ssh.github.com domain.

@Jedore The issue here is that your version of Git is prior to 1.9 and is missing features that GitLens relies on. Can you upgrade to a more recent version of Git?

@Jedore The issue here is that your version of Git is prior to 1.9 and is missing features that GitLens relies on. Can you upgrade to a more recent version of Git?

Yeah, when I upgrade git to 2.30.1, it's resolved. Thank you very much.


add base callback url to config

This PR adds full URL to the config. The urls are used on subscriptions callbacks, because it doesn't work with relative callbacks.
Fixes #5

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

When is´t going to be merged?

I'm working on a couple of additional enhancements here so it may be a couple more weeks. Thanks.

Any news on this @andypiper?

Maybe this project is alive again and this PR can be considered to merge?  Thanks


When I look at my file to see if there is a missing tab or something of the sort, it looks like the tabs are correctly situated.

Above is a vim forward slash on the tab character.
Error message
| 20240202 11:42:58.030 | FATAL | pigeon classify ERROR: error loading reference annotations for reference: CM061257.1
GFF/GTF file error, improperly formatted record
  reason : missing gene_name attribute
  record : CM061257.1   02.11.2023.17_33_46.HLtadBra3_v1.gp     transcript      104022  137695  .       +       .       gene_id "ENST00000310340.PIGG.4"; transcript_id "ENST00000310340.PIGG.4";

This implies to me that it expects to see "gene_name"?
However this format seems to me the same as the compatible file in isoseq.how
chr1    ENSEMBL transcript      17369   17436   .       -       .       gene_id "ENSG00000278267.1"; transcript_id "ENST00000619216.1"; gene_type "mi
RNA"; gene_status "KNOWN"; gene_name "MIR6859-1"; transcript_type "miRNA"; transcript_status "KNOWN"; transcript_name "MIR6859-1-201"; level 3; tag "
basic"; transcript_support_level "NA";

So I wouldn't expect this to fail, or run into this issue.
To Reproduce
I ran classify module on such a file, let me know files to provide for reproduction.
Expected behavior
Provides output from the classify script

found error

found error

It would be helpful if you document what was your problem and how you've fixed it.

It was missing the gene_name field. In the example posted to the isoseq.how, while it begins similarly to my file, there is indeed a gene_name field in column 9, just a few entries farther down. The gtf that I was using did not have this field, and I overlooked that this is mentioned as one of the three required fields.
I used the following awk script to add the transcript id to each line of my file, and I was able to proceed after that:
awk 'BEGIN{FS=OFS="\t"} {if (split($9, arr, "transcript_id \"") > 1) {split(arr[2], id, "\""); $9 = $9 " gene_name \"" id[1] "\"";} print;}' input.gtf > output.gtf


feat(zkevm-circuits): support type 126 transaction

add rlp encoding functions to GethTransaction. (eth-types::geth_types)
change 'to' field of tx to optional. (in circuit_input_builder.rs)
add source hash to tx table and every tx structs.
fix constraints of tx_circuit and rlp circuit to support type 126 tx.

I think there is a mistake on commit body.
Didn't you meant .../circuit_input_builder/transaction.rs on the second bullet point?


fix: Use STATIC_URL in development server

publicPath was not set to STATIC_URL when making use
of development server. This prevented properly put dashboard
under subdir in some cases in development mode.
Without it, it was always served form under /

PR intended to be tested with API branch: n/a
Screenshots
n/a
Pull Request Checklist

[x] All visible strings are translated with proper context.
[x] All data-formatting is locale-aware (dates, numbers, and so on).
[x] Translated strings are extracted.
[x] Number of API calls is optimized.
[x] The changes are tested.
[x] Data-test are added for new elements.
[x] Type definitions are up to date.
[] Changes are mentioned in the changelog. => IMHO not important enough.
[x] The changes are tested in different browsers (Chrome, Firefox, Safari).
[x] The changes are tested in light and dark mode.

Test environment config
n/a
API_URI=https://master.staging.saleor.cloud/graphql/

Good catch, thanks!


Crashing upon loading of video in the client

The program was working fine for some time... I've attempted to re-install, to no avail.
When I enter a url, and then hit enter to begin to load the file, the wheel will spin and then freeze and the app will force close shortly after.  I've tried a few different links as well.
Let me know if I can add any additional information!
Thank you,
Aaron

I've found some successes with restarting the PC and the program will seem to work for a few videos... and then the same issue will occur.  Force-quitting.  Now even with a restart it happens at times.

@routinetrafficstop it's nice to see that someone uses the application! Could you please give me more details on your setup? Is this happening on Windows?

Yes this is windows 10, i9, 32gb ram
Not sure what other details to give.  I started up my computer today and I got 3 videos to work for me, then whatever url I would put in it would just keep the last video and it would have some sort of dll error in the title to the left of the URL bar.  No matter what url I put in.
Upon closing the program and opening it back up - it would start force closing again.
I'll take a screen cap the next time I'm able to get the program working and reproduce this again.  Currently I cannot reproduce because i'm just getting the wheel to spin and it force closes again.  Not certain why it will only work on occasion.
I'll be sure to post when I have more info, and if there is anything specific that I can get you let me know!
The application is very useful for me when it's working! :)  Its a great tool for twitch streamers to find videos online and convert them into webm and clip them in one spot - this format is great for uploading to streamlabs OBS.
Thank you,
Aaron

I have the same problem, it worked fine for some time, but now it will crash after inserting a link and hitting enter even when i restarted my computer.
Reinstalling didnt solve the problem.
I really like your program, it fits all my needs and is very easy to use, just a shame it doesnt work.
Im using WIndows 10.
Let me know if you need more info.


Screensaver Creates Excessive Downloading

Awesome screensaver.  I just have the issue of noticing excessive downloading of content or something when the screensaver is running.  It runs into the 100's of MB each time it runs.  I've had to disable it just to save my data plan.  Isn't it possible to download all content and keep it locally rather than downloading something at each time the screensaver runs?
Please advise,
AfricanTechie

If you try the latest beta you'll be able to cache the videos on your Mac.
https://github.com/JohnCoates/Aerial/releases/tag/v1.2beta5

Thanks, let me give it a shot ASAP.

Superb - all done and working like a charm without additional downloads while running...  Thank you very much for the prompt response and solution.


Move the controllerDataStore property to MTRDeviceController_Concrete.

Non-concrete controllers are not initialized with a datastore.

Fast-tracking platform-specific fix with platform owner review.


black digivice from butterflys

i found a black butterfly to change my digivice when i did it went to a purple and black missing texture box

How is this related to this project?
You're on an issue tracker, not some meme group.

I was told to post it in here but I might also be on the wrong thread so sorry if I am


Add AssignmentToConcatenation test

It reproduces the WIDTH warning from https://github.com/chipsalliance/UHDM-integration-tests/pull/329

It waits for antmicro/verilator#370


Logo suggestion

As I looked up the roadmap I saw the entry of "nicer Logo" as I don't know what you're aiming for I just throw up a random idea:

I think it's probably the most cutest box I've ever seen but not sure if you're aiming for a more symbolic or a more industrial design or what ever. So it's just a shot in the dark here.
If you want to look at the svg you can do so in my design branch

That is very cute, but I was thinking of something more in-line with the GNOME HIG
https://developer.gnome.org/hig/guidelines/app-icons.html

Not sure if these are any closer you decide 😄

I've changed the proportions to the GNOME template and changed the colour scheme to their pallette. What do you think?

This looks incredibly good!

Awesome, gonna make this the new logo then, thank you!


ModuleNotFoundError: No module named 'pysofamyroom.internal'

I know the error doesn't belong to this repo, but I am getting this error from the pysofamyroom that is required for creating the dataset for this repository.
Are you know the source of the error?
Thanks

ModuleNotFoundError                       Traceback (most recent call last)
Cell In[58], line 7
5 from scipy import signal
6 import random
----> 7 from audiogen.audiogen.noise.synthetic import SSN
8 import matplotlib.pyplot as plt
9 import matplotlib.gridspec as gridspec
ModuleNotFoundError: No module named 'audiogen.audiogen'


asyncio should not put under requirements.txt

Hi community,
I am now using python 3.7+ with pip-compile.
And I will get error with asyncio if I installed it from pip.
From the doc in asyncio,
asyncio requires Python 3.3 or later! The asyncio module is part of the Python standard library since Python 3.4.

And also,
This version is only relevant for Python 3.3, which does not include asyncio in its stdlib.

So, my suggestion here is to remove the asyncio and release the okta package with 3.3+ only.
Thank you!

Hi @RyanSiu1995 , thank you for this issue and PR, currently we're on discussion on this here - https://github.com/okta/okta-sdk-python/pull/149.

Hi @sergiishamrai-okta, I don't see the update in the #149. Maybe you can first check out #158 and merge it to master.
It is a simple removal in the asyncio. Then, #149 can be rebased from the change in #158.

Hi @RyanSiu1995 , I've included both commits into one and just merged to master - https://github.com/okta/okta-sdk-python/pull/159. Need to wait until we can release v1.2.2. Thanks for your contribution.

@RyanSiu1995 we decided to include some additional changes, so we released v1.3.0. It is ready. I'm closing this issue as resolved. Thanks again.


feat: ResetContext func to allow resetting initialized context

The feature allows a context to be reset before reusing it in multiple go-routines (see the issue).
An alternative solution would be to always create a new context, which would be overkill for 99.9% of single-threaded use cases.

My concern on this one is the unexpected effects that reseting the context could cause.

Children
Scripts
CSS
Once
Security Nonces

We should either mitigate these in some way with this solution, or document the possible outcomes.


Keybase folder is empty

After the last update /keybase folder is empty. The actual keybase filesystem is accessible in /run/user/1000/keybase/kbfs (which is what opens when you press "Show in finder" in GUI). I guess the redirector is not working.

Keybase version: 2.6.0-20180905164621+778a9e6742
Ubuntu: 18.04.1
Kernel: 4.15.0-33-generic

Today's update (2.6.0-20180906180040+a665896692) fixed the issue.


problem in using without console on windows, AttributeError: 'NoneType' object has no attribute 'flush'

I am using python 3.11.5 (windows 11)
When i am trying to running my script without console, which is downloading data through yfinance, it is not working.
when i am running with console, then only script is proper functioning.
following is error:
Traceback (most recent call last):
  File "E:\share market\yahu finance\instent running\automated_analysis\5_EMA\second_approach\run_ema.pyw", line 96, in third
    data = yf.download(tickers=f'{company}', period='60d', interval='5m', group_by='ticker', auto_adjust=False)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\abhishek\AppData\Roaming\Python\Python311\site-packages\yfinance\utils.py", line 103, in wrapper
    result = func(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\abhishek\AppData\Roaming\Python\Python311\site-packages\yfinance\multi.py", line 177, in download
    shared._PROGRESS_BAR.completed()
  File "C:\Users\abhishek\AppData\Roaming\Python\Python311\site-packages\yfinance\utils.py", line 862, in completed
    _sys.stderr.flush()
    ^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'flush'

any solution?

same issue, python 3.9

I have a solution y can try it,
" use .history() instead of  .download() "
code here:
def yfinance():
    import datetime
    from dateutil.relativedelta import relativedelta
    import yfinance as yf
    date = datetime.datetime.now().date()

    end_date = date
    start_date = date + relativedelta(months= -63)

    msft = yf.Ticker("MSFT")

    # get historical market data
    hist = msft.history(start=start_date, end=end_date, interval="1mo")
    hist.to_excel("ms.xlsx", index=None)

yfinance()

the detail ref url here
https://pypi.org/project/yfinance/
god bless y


POC - All Participants

Deploy all web portals to public addresses and start doing a full integration testing.

Integration work complete


[BUG]: Error: browserType.connect: WebSocket error: wss://westeurope.api.playwright.microsoft.com/api/authorize/connectSession 401 Unauthorized

Error: browserType.connect: WebSocket error: wss://westeurope.api.playwright.microsoft.com/api/authorize/connectSession 401 Unauthorized
Call log:
-  wss://westeurope.api.playwright.microsoft.com/api/authorize/connectSession
- 1a04d19f-4e3a-40b3-bada-b4e52d696993
-  wss://westeurope.api.playwright.microsoft.com/api/authorize/connectSession 401 Unauthorized
-  wss://westeurope.api.playwright.microsoft.com/api/authorize/connectSession error WebSocket was closed before the connection was established
-  wss://westeurope.api.playwright.microsoft.com/api/authorize/connectSession WebSocket was closed before the connection was established
-  wss://westeurope.api.playwright.microsoft.com/api/authorize/connectSession code=1006 reason=

HI @parafix86,
We checked our telemetry and found the request is genuine 401 failure due to token expiry being in past 03/08/2024 07:39:54, can you please generate new token from https://playwright.microsoft.com/ and try it again.

Getting same issue with Playwright VSCode extension
Error: browserType.connect: WebSocket error: wss://westus3.api.playwright.microsoft.com/api/authorize/connectSession 401 Unauthorized
Call log:

 wss://westus3.api.playwright.microsoft.com/api/authorize/connectSession
b1ace247-9d06-4b73-9010-70321ea10c9a
 wss://westus3.api.playwright.microsoft.com/api/authorize/connectSession 401 Unauthorized
 wss://westus3.api.playwright.microsoft.com/api/authorize/connectSession error WebSocket was closed before the connection was established
 wss://westus3.api.playwright.microsoft.com/api/authorize/connectSession WebSocket was closed before the connection was established
 wss://westus3.api.playwright.microsoft.com/api/authorize/connectSession code=1006 reason=

Hi @darshandp007 , I looked into your request in your telemetry and it seems you are also hitting the genuine 401 issue because your access Key is expired (12/12/2023 04:26:51), please generate a new key by following this and try again. https://learn.microsoft.com/en-us/azure/playwright-testing/how-to-manage-access-tokens

Hi @darshandp007 , I looked into your request in our telemetry and it seems you are also hitting the genuine 401 issue because your access Key is expired (12/12/2023 04:26:51), please generate a new key by following this and try again. https://learn.microsoft.com/en-us/azure/playwright-testing/how-to-manage-access-tokens

@puagarwa I'm using in my local not cloud service. And It was work perfectly 2 day's back.
This extension: https://marketplace.visualstudio.com/items?itemName=ms-playwright.playwright

Hi @darshandp007 , I looked into your request in our telemetry and it seems you are also hitting the genuine 401 issue because your access Key is expired (12/12/2023 04:26:51), please generate a new key by following this and try again. https://learn.microsoft.com/en-us/azure/playwright-testing/how-to-manage-access-tokens

@puagarwa I'm using in my local not cloud service. And It was work perfectly 2 day's back. This extension: https://marketplace.visualstudio.com/items?itemName=ms-playwright.playwright
I think that's issue on latest(1.1.1) release of VSCode extension, It's woking fine with previous version.

Hi @darshandp007 , Can you provide below info
Are you using MPT service ?
If yes, then please check the value of env variable PLAYWRIGHT_SERVICE_ACCESS_KEY and parse it in jwt.io and check expiry.
if this is expired, please generate a new token and try it.

HI @parafix86, We checked our telemetry and found the request is genuine 401 failure due to token expiry being in past 03/08/2024 07:39:54, can you please generate new token from https://playwright.microsoft.com/ and try it again. please follow this link for reference https://learn.microsoft.com/en-us/azure/playwright-testing/how-to-manage-access-tokens

HI @paradix86 , Just checking if you get chance to check with new access key.

hey  @puagarwa,
Sorry for not being able before to give the feedback
Yes, that was the issue.
I honestly think that the error message can be improved, and I don't understand why if I'm running locally, playwright, if I have a playwright.service.config.ts in my project with an expired token (  PLAYWRIGHT_SERVICE_ACCESS_KEY ), you cannot even run local test. We were trying the "cloud" preview services a long time ago and honestly even forgot about that feature, but a local test must not fail for an expired token of a non-used service.
Is there already a feature request or bug opened about that?

HI @paradix86 ,  Our service usage is irrespective of local vs CI agent, customers do like to use the service even when running test from local.
However, if you are looking to control how to switch between running with service vs without service, there are two options

You can run your test using your default playwright.config.ts file which doesnt have service integration (npx playwright test --config playwright.config.ts)
You could as well add env variable to control the service integration toggle in service config file. like this https://github.com/microsoft/playwright-testing-service/pull/108

@paradix86 closing the issue. feel free to open issue if you need any help.


Running set_onedark  inside tmux has a delay for sometime, and the ps1 disappears

While i tried to run use fish as my default shell in tmux, I encountered this bug.
set_onedark is running fine in all the cases except while in tmux.
It experience a 1s delay and the prompt is not present

after entering any command I get prompt back

Same problem with me using Tmux on Termux and fish shell with this theme.


 Learn more about stacking.

Join @rphmeier and the rest of your teammates on  Graphite


Update Alpine CI legs to test on Alpine 3.20

Alpine 3.20 is projected to be released soon. The Alpine CI legs should be update to test on it.

[Triage] This is being included in https://github.com/dotnet/source-build/issues/4399.


Get to know pgadmin4 and postgreSQL

http://pga.lm1.local/browser/
From https://github.com/Janis-Rullis-IT/flexi-tic-tac-toe/issues/42

Temporary priv

Seq.

[x] https://github.com/Janis-Rullis-IT/sql/blob/master/postgresql/Seq.md


Feature1

JS link override waits for body to load so that it can inject correctly even for publishing sites

Thx Ken for fixing branch target properly.


manages submodule scenario

related with s #633

nested submodule support added, now I will try to understand how to test this stuff

@gbenguria Should I go ahead and close this PR, doesn't seem to have much activity?


Add support for python 3.6

Changed the Dockerfile to use python:3.6 base image;
Updated PyPI classifiers to include it;
Added it to tox/travis environments for CI.

Automated docker build also succeeded.

This is great, love python 3.6, thanks @samueldg


x/pkgsite: package removal request for [https://pkg.go.dev/github.com/huweihuang/golib/logger]

What is the path of the package that you would like to have removed?

help to remove the three pkg on pkg.go.dev site, because they are discard.

https://pkg.go.dev/github.com/huweihuang/golib/logger
https://pkg.go.dev/github.com/huweihuang/golib/db
https://pkg.go.dev/github.com/huweihuang/golib/gin

Are you the owner of this package?

yes ,I am the owner of the packages.
What is the reason that you could not retract this package instead?

because they are discard.

@bcmills @findleyr help to review the package removal request, thanks!

This is done, though it might take an hour or so to propagate.

thanks so much


Chunk bencher

[ ] I added an entry to CHANGELOG.md if knowledge of this change could be valuable to users.

Here is a brief summary of what I did:
I created a benchmark that measures produced chunks or tiles

 Implementierung des Workflow-Tracing als Benchmark-Tool

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 51 (0.0%)  changed or added relevant lines in 2 files are covered.
2 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.03%) to 89.16%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

operators/src/util/gdal.rs
0
4
0.0%

operators/src/pro/engine/execution_context.rs
0
47
0.0%

Files with Coverage Reduction
New Missed Lines
%

operators/src/util/gdal.rs
1
90.26%

services/src/datasets/external/pangaea/mod.rs
1
87.59%

Totals

Change from base Build<PHONE_NUMBER>:
-0.03%

Covered Lines:
102802

Relevant Lines:
115300

💛  - Coveralls


Automated cherry pick of #10127

Cherry pick of #10127 on release-6.6.
/cc  @jfrerich
NONE

Will try to auto merge this PR once all tests and checks are passing. This might take up to an hour.

Trying to auto merge this PR.

Pull Request successfully merged
SHA: 279295a7ad1fd538e186881fc9486e43e34ebc32


Fix #1511 Search in home page freezes

Description
Fix the issue of Freezing of Search Bar while typing.
Used Debounce to fix the issue as well as to prevent unnecessary network calls & optimize the performance
Relevant Issues
Fixes #1511
Checklist

[x] Compiles and passes lint tests
[x] Properly formatted
[x] Tested on desktop
[x] Tested on phone

Screenshots

Typing Maharashtra

Typing Madhya Pradesh

@jeremyphilemon
Please have a look as it can be High Priority.

@chinmaydalvi hey thank you, this looks good! I see that you've used a debounce hook. We're currently using react-use and it has a useDebounce hook already defined, would it be possible if you could use that if they're both performing the same function? :)

@jeremyphilemon Ok Let me try.

@jeremyphilemon
Used debounce from  react-use & working fine.

@ravindranrahul
For your issue #1486 solution might be the same which I have implemented

Awesome, thanks :D


Include ledger_index in validations subscription stream

Current coverage is 49.73%

Merging #1422 into develop will not affect coverage as of 563cfde

@@            develop   #1422   diff @@
=======================================
  Files           963     963
  Stmts         66985   66986     +1
  Branches          0       0
  Methods           0       0
=======================================
- Hit           33317   33314     -3
  Partial           0       0
- Missed        33668   33672     +4

Review entire Coverage Diff as of 563cfde

Powered by Codecov. Updated on successful CI builds.

You have to check if it's present before you include it. It's (technically) optional.

Interesting. I didn't know that. I'll add a check.

:+1:

Trivial change
:+1:

@vinniefalco I tried using auto but it resulted in call to 'to_string' is ambiguous for
jvObj [jss::ledger_index]      = to_string (seq);

Try
auto const seq = *(*val)[~sfLedgerSequence];

This decreases test coverage

Merged as 05c248f297ed2debccd8f7e583b67944c8826820


Black-Screen window goes crazy when running npm install.

This issue is not related to the black-screen repo, but to npm install in general.

More likely this is caused by for NPM > v3.* since it has updated loading bar.

Fixed.


Production website deployed in Cpanel is diiferent from the what it should have been as per the source code on the github repositories

Reason
1). Local branches might have been pushed without pulling/merging the changes which led to this difference
@Aviral09 do check this out

Addressed.


Upgrade assistant updates

Summary

[x] Update with new example project

[x] WPF
[ ] ~WinForms~
[ ] ~ASP.NET~

[x] Rewrite articles to use the latest Update Assistant release

[x] WPF
[x] WinForms
[ ] ~ASP.NET~

WPF Internal Preview

Any updates to the ASP.NET portion will need to get updated in the new Learn Module: https://docs.microsoft.com/learn/modules/modernize-aspnet-framework-to-core/

Any updates to the ASP.NET portion will need to get updated in the new Learn Module: https://docs.microsoft.com/learn/modules/modernize-aspnet-framework-to-core/

I'm going to skip ASP.NET in this PR. I need these published for the presentation.

Looks great!


Feature/dependency injection

THIS PR SHOULD BE MERGED AFTER #6 NOT BEFORE
This PR uses features of the directory clean up PR. It also sets up basic dependency injection for the repo. We can use this to loosely couple the components of the system whilst also ensuring that we adhere to the Interface Segregation principle of SOLID.
It also allows us to look into things like the Moq framework for building automatic tests for our services without having to worry about affect the actual database.

The automatic checks have failed for this PR because the github actions need to be updated.


Added gcc-10.2.0 patches

It looks like a good many of the patches from 9.x have been dropped. Are they all upstream? I notice the s390x arch support patch is still there but m68k was dropped, so was one of these upstreamed but not the other? And in particular, omitting the the invalid tls model and gth-weak patches would produce silent breakage if they're not upstream.

@richfelker hey, yes, I didn't include only those patches, which are in upstream. So it seems to be safe :)

@richfelker  Are we merging this PR ?

i think it would be preferable to merge the patches done by szabolcs nagy, as he's a long-time contributor to both musl and gcc and certainly did a careful forward port of the missing patches.
note that he also provided most of the existing patch sets.

@rofl0r Looking at https://port70.net/~nsz/musl/gcc-10.1.0/, it seems there are patches missing that are included in this set: s390x ldso, time64 futex support, and m68k sqrt, at least. It sounds like the test fixes might be fixed upstream and no longer needed though.
Also, the time64 futex patch needs a fix to be riscv32-ready. I've pushed some pending changes I had here that can be incorporated.

superceded by https://github.com/richfelker/musl-cross-make/pull/124 , this can be closed.


Added the option for vm max_map_count.

This PR request added the option to configure  vm max_map_count in node_pool.
linux_os_config, sysctl_config and vm max_map_count do not have to be specified in tfvars as they are set to optional.
The default value of vm max_map_count is null if it is not specified.
Reference: https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/kubernetes_cluster_node_pool

Fixes #418


Cannot insert duplicate key row in object

Hi,
I'm trying to bulk insert/update records using the BulkInsertOrUpdateAsync method and I'm getting a 'Cannot insert duplicate key row in object' error.
The CowDbEntity has a PK on Id. Unique index on ShipToId, InternationalCowId and Date. (IX_cows_ShipToId_InternationalCowId_Date)
public class CowDbEntity
 {
     public int Id { get; set; }
     public int ShipToId { get; set; }
     public string Json { get; set; }
     public string InternationalCowId { get; set; }
     public DateTime Date { get; set; }
     public Species Species { get; set; }
     public decimal AgeInYears { get; set; }
     public DateTimeOffset Created { get; set; }
     public DateTimeOffset Updated { get; set; }
 }

BulkConfig:
new EFCore.BulkExtensions.BulkConfig
{
    UpdateByProperties = new List<string>
    {
        nameof(CowDbEntity.ShipToId),
        nameof(CowDbEntity.InternationalCowId),
        nameof(CowDbEntity.Date)
    },
}

When running a batch which has entities needed to update instead of insert I'm getting the exception:
"Cannot insert duplicate key row in object 'cow.cows' with unique index 'IX_cows_ShipToId_InternationalCowId_Date'. The duplicate key value is (19318, DE0359391104, Apr 12 2022 12:00AM).\nThe statement has been terminated."
I've added a profiler and seeing this Merge query:
MERGE [cow].[cows] WITH (HOLDLOCK) AS T USING (SELECT TOP 153 * FROM [cow].[cowsTemp211bbf1b] ) AS S ON 1=0 WHEN NOT MATCHED BY TARGET THEN INSERT ([Created], [Json], [Species], [Updated]) VALUES (S.[Created], S.[Json], S.[Species], S.[Updated]) WHEN MATCHED AND EXISTS (SELECT S.[Created], S.[Json], S.[Species], S.[Updated] EXCEPT SELECT T.[Created], T.[Json], T.[Species], T.[Updated]) THEN UPDATE SET T.[Created] = S.[Created], T.[Json] = S.[Json], T.[Species] = S.[Species], T.[Updated] = S.[Updated];
I am a bit confused by the 1=0 because it means there wont be any matches and always run a Insert on the table? Maybe I'm missing something obvious?

Regarding 1=0, it removes Identity constrain, there is a comment in the code:
https://github.com/borisdj/EFCore.BulkExtensions/blob/904a4f6cd310b9545b7cc64ff64f9def4917db18/EFCore.BulkExtensions/SqlQueryBuilder.cs#L24

We we're using computed columns for the ShipToId, InternationalId and Date field. After changing them to regular columns the update works as expected:
MERGE [cow].[cows] WITH (HOLDLOCK) AS T USING (SELECT TOP 153 * FROM [cow].[cowsTemp7e9227e7]
ORDER BY [ShipToId], [InternationalCowId], [Date]) AS S ON T.[ShipToId] = S.[ShipToId] AND T.[InternationalCowId] = S.[InternationalCowId] AND T.[Date] = S.[Date]
WHEN NOT MATCHED BY TARGET THEN INSERT ([ShipToId], [InternationalCowId], [Date], [Json], [Species], [Updated]) VALUES (S.[ShipToId], S.[InternationalCowId], S.[Date], S.[Json], S.[Species], S.[Updated])
WHEN MATCHED AND EXISTS (SELECT S.[ShipToId], S.[InternationalCowId], S.[Date], S.[Json], S.[Species], S.[Updated] EXCEPT SELECT T.[ShipToId], T.[InternationalCowId], T.[Date], T.[Json], T.[Species], T.[Updated])
THEN UPDATE SET T.[Json] = S.[Json], T.[Species] = S.[Species], T.[Updated] = S.[Updated];


dimension mismatch due to flat weight matrix

Hello,
I encountered the following problem. For some reason, the weight matrix is flat in the Linear4bit module, causing a dimension mismatch error in the forward pass here:
  File "/private/home/mikaelhenaff/projects/vlms/MiniGPT-4/minigpt4/models/modeling_llama.py", line 293, in forward
    query_states = self.q_proj(hidden_states)
  File "/private/home/mikaelhenaff/.conda/envs/minigpt4-clean/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1194, in _call_impl
    return forward_call(*input, **kwargs)
  File "/private/home/mikaelhenaff/.conda/envs/minigpt4-clean/lib/python3.9/site-packages/accelerate/hooks.py", line 165, in new_forward
    output = old_forward(*args, **kwargs)
  File "/private/home/mikaelhenaff/.conda/envs/minigpt4-clean/lib/python3.9/site-packages/bitsandbytes-0.41.0-py3.9.egg/bitsandbytes/nn/modules.py", line 253, in forward
    out = bnb.matmul_4bit(x, self.weight.t(), bias=bias, quant_state=self.weight.quant_state)
  File "/private/home/mikaelhenaff/.conda/envs/minigpt4-clean/lib/python3.9/site-packages/bitsandbytes-0.41.0-py3.9.egg/bitsandbytes/autograd/_functions.py", line 585, in matmul_4bit
    return MatMul4Bit.apply(A, B, out, bias, quant_state)
  File "/private/home/mikaelhenaff/.conda/envs/minigpt4-clean/lib/python3.9/site-packages/bitsandbytes-0.41.0-py3.9.egg/bitsandbytes/autograd/_functions.py", line 521, in forward
    output = torch.nn.functional.linear(A, F.dequantize_4bit(B, state).to(A.dtype).t(), bias)
RuntimeError: mat1 and mat2 shapes cannot be multiplied (74x4096 and 1x8388608)

I tried simply replacing the shape in self.weight.quant_state to the right size, but this then causes low-level CUDA errors. Has anyone else encountered this and found a solution?
This error has also been reported here, but no solutions have yet been posted.
Thanks!

Same issue!

same issue, have you solve it?


Apple card generation function added

card will be generated/regenerated on vcard issue and update

do not merge this version, the requirements.txt update is missing


Support returning clause to avoid database hits

Hello,
I took a look at discussions and haven't found nothing, so I am opening this issue to discuss something important.
We need to  support returning clauses in updates and insert clauses.
Rationale
Sometimes, we need to perform batch operations, by means of multiple inserts or updates which affect more than one record and, at the same time, have the newly inserted / the updated records back in the same database operation.
This is needed, for example, when you need to insert records and have their auto incremented generated ids back to store somewhere for latter use, or when you need to update one or more records and, at the same time, get back columns you didn't have when you performed the update operation.
The way sql handles this is by using a returning clause on the query, making the database, in one operation, perform inserts / updates and also returning information you need instead of forcing you to make a latter select.
Proposal
We propose an extension to the current sea-orm api.
update_many
The UpdateMany struct should have another method, called returning.
Kind of code below
pub fn returning<T>(mut self, record_info: RecordInfo) -> Self

RecordInfo should be an enum like
pub enum RecordInfo {
  Columns(Vec<Entity::Columns>,
  FullRecord,
  PrimaryKey,
}

The returning function would generate a returning sql clause, as follows:
let returning_sql = match RecordInfo {
  Columns(c) => c.map(| col | col.to_string()).join(", "),
FullRecord => "*".into(),
  PrimaryKey: // build list of columns making part of the primary key
}

The insert_many would go the very same path.
The ExecResult would need to ave a vector of ActiveModels with the appropriate columns set for each returned record.
What do you think?
I could try to implement that, I would need some mentoring but I am now more focused in stablishing the api, latter we can think in the implementation.

Sounds good to me! But note that only Postgres support returning syntax. We have to take account of that.

To deal with that we have some options:

Enable the returning only when postgres is being used with features.
For non postgresql databases, investigate a way of producing the same results either by using transactions where we can update and then select / insert and then select or issue more than one connection if we don't want to use transactions.

I would first implement strategy one and then with more time implement strategy 2.
Why?
Because postgres users like me are likely to need it soon and we can give the bonus to non postgres users latter.
What do you think?

Reasonable!! @marlon-sousa

Just to summarise the support of RETURNING syntax across various databases...
Postgres

All versions

MySQL

Not supported

MariaDB

Supported since version 10.5.0
Have INSERT...RETURNING
Have REPLACE...RETURNING but doesn't have UPDATE...RETURNING

SQLite

Supported since version 3.35.0 (2021-03-12)
RETURNING


#48in24: pangram 2024-04-23

[ ] docs: instructions unsynced: pangram
[ ] pangram: missing 1 test case

a-m and A-M are 26 different characters but not a pangram (7138e389-83e4-4c6e-8413-1e40a0076951)

[ ] Sync test metadata to tests
[ ] Drop unnecessary strict types comments

Can be done according to: http://forum.exercism.org/t/48in24-exercise-04-23-pangram/10470


Padding crop modifier

Hey James. First off, thanks for your work on image-resizer. It has been a great starting point for us.
So, a common task we get is to be able to maintain an image's proportions while resizing it, but having the resulting image be of whatever dimensions you've provided. So if you have a 600x600 image, you could request w300-h400-cpad, which results in a 300x400 image, with white bars filling in the rest of the image (in this case on the top/bottom, but can be on the left/right). Turns out this is handled really easily by sharp. By default I've set this value to white as that's what we commonly use, but it's in the config so it could be any valid color that can be passed to sharp.
Transparency would be nice, but that would only work for certain formats. Adding a way to check for formats that support this would be a cool addition. For our purposes, having the color defined has historically been enough. It basically just helps us spit out images with the right dimensions without having to worry about alignment.
The changes for this part are pretty minimal. Hope you find this to be a useful feature. I added an example to /test-page that might do a better job explaining this than I did.
The other feature I've got some code for is doing local disk caching. I won't go into details now, but for future reference, what's your preferred method for discussing these? Github Issue? Let me know.
Thanks again

This looks good, thanks @ernestopye. Merging.
If you are able, would love to know what image-resizer is being used for.

Great! Thanks for merging.
We have a lot of .NET projects and .NET image resizing solutions are either lackluster, or very expensive for our needs. We're looking to set up a few linux servers running image-resizer to serve dynamically resized images for several internal projects of varying size/budget (mainly asp.net websites at first, but if this works out for us, mobile apps in the future). image-resizer turned out to be the best starting point I found while looking for node.js solutions (seemed like a good fit for this use case).
One of the changes that I've worked on in my fork, is a way to cache images to disk, in lieu of having a CDN setup. For smaller projects, the cost of a CDN is usually not worth it and since storage is cheap, we'd keep a local disk cache of images (with images not accessed after x minutes getting deleted every so often). For larger projects, the CDN costs are usually covered so we'd point the origin to a dedicated server for that particular client.