Support custom URLs for backend

Useful for on-premises, custom and staging backends.

Packagemanager
Map/tilejson
online routing
online geocoding

This is now implemented. Some notes:

For CartoOnlineTileDataSource, the source can be URL to custom tiles.json
For CartoPackageManager the source can be URL to custom packages.json for country packages. For bbox based packages, the source should be an URL template with '{tilemask}' tag
For CartoOnlineRoutingService the source can be an URL to OSRM-compatible 'viaroute' service
There is no CartoOnlineGeocodingService with source id right now

@Nikituh please test with staging backend server URL and share in advancedmap develop branch

Newest builds instantly crash:
Jun  4 11:54:55  AdvancedMap.Swift[840] <Info>: BaseMapView::onSurfaceCreated()
AdvancedMap.Swift(840,0x16c5e7000) malloc: *** mach_vm_map(size=1610612736) failed (error code=3)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
libc++abi.dylib: terminating with uncaught exception of type std::bad_alloc

The app crashes on startup, in the gallery view, without even rendering a map.
Build #498 is fine, 499# is broken. The only commit between them is: https://github.com/CartoDB/mobile-sdk/commit/ec418c05d64cc5b43e86d49484642d60e7382ad8

Closing this, this was implemented in 4.1.4.

@mtehver i want to implement my custom PackageManager to download offline map packages.
Can you guide me on how to make it work.
I have the example JSON from your server here but i am not sure how to build it for me. I dont need encryption key.
Thanks

@farfromrefug You should be able to use PackageManager class directly, by using empty strings as encryption keys.
I have just published a repository containing scripts required for building offline packages:
https://github.com/nutiteq/mobile-sdk-scripts

@mtehver that s pretty awesome. So this supposes you have a mbtiles for the whole planet?
Like one generated by OpenMapTiles. Cause now i generate my own OpenMapTiles mbtiles (for france only right now).
So let me guess if i am correct:

i could modifiy the repo structure to only use "france" as a country
i could then pass to the build_map_packages my own build mbtiles? It will be splitted right by regions right?
for the route/geocoding i could then pass the pbf file of France only

Thank a lot for that sharing, it is pretty awesome!

@farfromrefug Yes, that's correct.
For map packages the input is a 'master' mbtiles file that has to contain all the tiles needed by the packages. If you just want to make packages for France, then only a small subset of the planet.mbtiles is actually required.
For routing and geocoding packages a corresponding .osm.pbf file is required (you can get one for France from Geofabrik, for example).
And to make packages for just France, use the 'packages-carto.json.template' file from the repo and simply keep the France packages, delete everything else.

OK though as I generate my own mbtiles it can only be France for now. Really to long to do the world on my machine ;). Will try your script with my mbtiles. Maybe tweak your script to work with it.
BTw the script for offline is there to split the mbtiles right ? I wonder if there already existing tools somewhere which would do this faster using SQL requests.
Thanks again!

Found this https://github.com/mapbox/mbtiles-extracts

@farfromrefug The splitting script does a bit more than just copying tiles. It cleans up 'empty' tiles and tiles filled with a single polygon. And it prunes unnecessary subtiles. But for dense areas none of these steps are essential and simply copying tiles should work fine.

@mtehver thanks for the explanation. Will look a little bit deeper at the script.


[5.2] Fix updated_at ignoring $options

If you pass ['timestamps' => false] in save method, updated_at column will nevertheless be updated because update method in Eloquent\Builder just ignores $options.

Timestamp => false is never meant to be passed and is not documented anywhere in the documentation as far as I know.

@taylorotwell
But in Model@performUpdate and Model@performInsert there is already check for ['timestamp' => false]
if ($this->timestamps && Arr::get($options, 'timestamps', true)) {
    $this->updateTimestamps();
}

which does not work due to the bug
Also, there is special test case for ['timestamps' => false].

@taylorotwell
Found PR for this: https://github.com/laravel/framework/pull/5840


Update Zeebe version to 0.24.2

This PR updates the default Zeebe version to 0.24.2.

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

Needs approval from an approver in each of these files:

OWNERS

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


Repack not working with latest react native version 0.75.2

Describe the bug
I am just starting a new project and downloaded the latest react native template from official website and i used the "npx @callstack/repack-init" command and it successfully set up the repack configuration. However when trying to run the app, I'm getting the following below error.  I can see the build is successful but I'm guessing there might me some compatibility issues with new version of RN.
i [10:11:09.515Z][DevServer] Server listening at http://[::1]:8081
i [10:11:09.518Z][DevServer] Server listening at http://<IP_ADDRESS>:8081
i [10:11:16.124Z][DevServer] GET 200 /status request completed { responseTime: 3.9408000707626343 }
-> [10:11:17.233Z][LoggerPlugin] Compiling android: 3% setup (watch run)
i [10:11:17.271Z][DevServer] Successfully run: C:\Users\rakes\AppData\Local\Android\Sdk/platform-tools/adb reverse tcp:8081 tcp:8081
-> [10:11:18.841Z][LoggerPlugin] Compiling android: 23% building (2/8 entries 118/181 dependencies 9/87 modules)
-> [10:11:20.698Z][LoggerPlugin] Compiling android: 30% building (3/8 entries 730/839 dependencies 101/250 modules)
-> [10:11:22.241Z][LoggerPlugin] Compiling android: 30% building (3/8 entries 1413/1460 dependencies 167/409 modules)
-> [10:11:25.192Z][LoggerPlugin] Compiling android: 30% building (3/8 entries 1600/1683 dependencies 219/436 modules)
-> [10:11:26.946Z][LoggerPlugin] Compiling android: 30% building (3/8 entries 2223/2300 dependencies 334/576 modules)
-> [10:11:28.601Z][LoggerPlugin] Compiling android: 65% building
i [10:11:29.599Z][DevServer] GET 200 /index.bundle?platform=android&dev=true&lazy=true&minify=false&app=com.myremote&modulesOnly=false&runModule=true request completed { responseTime: 13256.02059996128 }
x [10:11:29.511Z][LoggerPlugin] Failed to build bundle due to errors
x [10:11:29.511Z][LoggerPlugin] Error in<EMAIL_ADDRESS>Module not ### ### found: Error: Can't resolve 'react-native/Libraries/Utilities/LoadingView' in 'C:\Users\rakes\react-native-cli\myRemote\node_modules@callstack\repack\dist\modules'
i [10:11:30.220Z][DevServer] React Native client connected { clientId: 'client#0' }
i [10:11:30.343Z][DevServer] React Native client disconnected { clientId: 'client#0' }
-> [10:11:29.558Z][LoggerPlugin] Compiling android: 100%
System Info
System:
  OS: Windows 11 10.0.22631
  CPU: "(16) x64 AMD Ryzen 7 6800H with Radeon Graphics         "
  Memory: 2.34 GB / 15.19 GB
Binaries:
  Node:
    version: 20.13.1
    path: C:\Program Files\nodejs\node.EXE
  Yarn:
    version: 3.6.4
    path: ~\AppData\Roaming\npm\yarn.CMD
  npm:
    version: 10.8.1
    path: C:\Program Files\nodejs\npm.CMD
  Watchman: Not Found
SDKs:
  Android SDK:
    API Levels:
      - "34"
      - "35"
    Build Tools:
      - 34.0.0
      - 35.0.0
    System Images:
      - android-35 | Google Play Intel x86_64 Atom
    Android NDK: Not Found
  Windows SDK:
    AllowAllTrustedApps: Disabled
IDEs:
  Android Studio: AI-241.15989.150.2411.11948838
  Visual Studio: Not Found
Languages:
  Java: 17.0.11
  Ruby: Not Found
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.3.1
    wanted: 18.3.1
  react-native:
    installed: 0.75.2
    wanted: 0.75.2
  react-native-windows: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: false
iOS:
  hermesEnabled: Not found
  newArchEnabled: Not found

Re.Pack Version
4.2.0
Reproduction
https://github.com/rakesh200023/myRemote
Steps to reproduce
Run "npm install" and then run "npm run android". Hopefully the build will be successful but the error will be thrown during the app launch

Hi @rakesh200023,
this was fixed in https://github.com/callstack/repack/pull/703 - new version 4.3.0 with a fix will be released tomorrow. Closing since it's not relevant anymore.


Cannot localize Superset to RU language when run with docker compose.

Try to set it with docker/pythonpath_dev/superset_config.py
How to reproduce the bug

go to superset root
open docker/pythonpath_dev/superset_config.py  add BABEL_DEFAULT_LOCALE = "ru" and save
launch docker-compose -f docker-compose-non-dev.yml up -d
open <IP_ADDRESS>:8088

Expected results
UI would be in Russian language
Actual results
UI still in English language

Solution is probably the same as described here: https://github.com/apache/superset/issues/14848#issuecomment-1313322076

Hopefully, the answer above is sufficient to close this thread. I'll do so anyway since it's been so long since there was a comment here. If this needs revisiting/reopening, just say the word.


[QUERY] How to pause the EventProcessorClient?

Query/Question
Is there a way to pause the EventProcessorClient without stopping it. I do not need to lose the partition ownerships and terminate the underlying connections, what I need is to pause receiving events until I resume it again.
The purpose here is that we have a high throughout system where we need to buffer the received events in memory before processing them and I need to pause the processor when spikes occur to avoid OOM exceptions. Stopping the processor is not an instantaneous operation (could take up to one minute) and we flush the memory every few seconds, so I need some functionality to pause reading the data for a few seconds and then resume it. I believe if pulling the events from EH is supported then we can achieve this by ourselves, but I believe it was not recommended last time I checked.
Environment:

Name and version of the Library package used: Azure.Messaging.EventHubs.Processor 5.4.0
Hosting platform: Azure App Services, .Net Core 3.1

Hi @ibradwan.   Thank you for reaching out and we regret that you're experiencing difficulties.  There's no formal support for pausing processing; it is either started or stopped.   That said, it would be possible to simulate by taking advantage of the processor waiting for the handler to complete when dispatching events.   If your event handler were to pause, the processor would effectively pause while waiting for the handlers to complete.
There are some corner cases to be aware of:

The handler may be invoked once per partition,  so if you block the handler you'd need to either decide to do that using a shared construct or would need to think about a mechanism to do that only on the desired partitions.

If there is scaling taking place and partition ownership changes, you may see the processor initialize new partitions and dispatch to the handler, or you may lose ownership for a partition while your handler is blocked; that partition would start processing elsewhere but your hander may still have an (older) event held in memory.

I believe if pulling the events from EH is supported then we can achieve this by ourselves, but I believe it was not recommended last time I checked.

The PartitionReceiver and EventHubConsumerClient support pull-based patterns.  The recommendation that I believe your referring to exists as general guidance for those new to the Event Hubs developer ecosystem.  The other clients are a valid and reasonable approach to consuming events so long as you're willing to hold responsibility for resilience and recovery - such as checkpointing.
It would also be possible to to create a custom event processor by deriving from EventProcessor<TPartition> (sample) and adding the ability to pause there, which would give you a bit more control over event dispatch but would largely be similar to the approach of blocking in the handler.

Thanks for the comprehensive explanation, I will be thinking about the different approaches you mentioned and will reopen this issue if needed.


[Javadocs] add to o.o.rest, snapshots, and tasks packages

Adds javadocs to org.opensearch.rest, snapshots, and tasks packages.
relates #221
relates #2868

start gradle check


sudo make install Can not find the framework, please build first. Or download the latest release zip: https://github.com/Sunnyyoung/WeChatTweak-macOS/releases/latest.

sudo make install
Can not find the framework, please build first.
Or download the latest release zip: https://github.com/Sunnyyoung/WeChatTweak-macOS/releases/latest.

Did you see Or download the latest release zip: https://github.com/Sunnyyoung/WeChatTweak-macOS/releases/latest.?


Fix formatting of a couple error messages

What type of PR is this?
cleanup
What this PR does / Why we need it?
Fixes formatting of a couple error messages
Which Jira/Github issue(s) does this PR fix?
Resolves #
Special notes for your reviewer
Pre-checks (if applicable)

[ ] Ran unit tests locally
[ ] Validated the changes in a cluster
[ ] Included documentation changes with PR

Codecov Report

Merging #133 (abaefae) into main (54f57fc) will not change coverage.
The diff coverage is 100.00%.

Additional details and impacted files

@@           Coverage Diff           @@
##             main     #133   +/-   ##
=======================================
  Coverage   49.62%   49.62%
=======================================
  Files          45       45
  Lines        3045     3045
=======================================
  Hits         1511     1511
  Misses       1270     1270
  Partials      264      264

Impacted Files
Coverage Δ

cmd/ocm-backplane/login/login.go
68.85% <100.00%> (ø)

/lgtm


Still saving data on error on required relation

Only tested on mongo connector
When creating a new Element which has a required relation, but points to a missing one, prisma still saves the element, which produces an error on query.
Steps to reproduce the behavior:
Datamodel
type Item {
    id: ID! @id
    subitem: SubItem! @relation(link: INLINE)
}
type SubItem  {
    id: ID! @id
    name: String
}

then write an Item
mutation {
  createItem(data: { subitem: { connect: { id: "123" } } }) {
    id
  }
}

which gives this error as expected "message": "You provided an ID that was not a valid MongoObjectId: 123", but still saves the item
So when selecting:
query {
  items {
    id
    subitem {id}
  }
}

returns error (data can't be accessed anymore)
"errors": [
    {
      "message": "Cannot return null for non-nullable type (line 4, column 5):\n    subitem {\n    ^",
      "path": [
        "items",
        0,
        "subitem"
      ],
      "locations": [
        {
          "line": 4,
          "column": 5
        }
      ]
    }
  ]

Expected behavior
Not saving anything on error
Versions:

Connector:  MongoDB
Prisma Server: 1.33.0
prisma CLI:  `prisma/1.33.0

The Prisma SQL connectors provide the guarantee of transactional execution of nested mutations. This means that if any part of the nested mutations fail everything will be rolled back.
The Mongo connector does not make use of transactions yet. Therefore if a part of a nested mutation fails every query Prisma generated and executed against the MongoDB already to execute that nested mutation will not be rolled back. Therefore there can be partial data in your DB.
Enabling transactional execution on the Mongo connector solves this problem, but while it works in a prototype already we will need to invest more time to properly implement and test this before we can roll this out.

Any estimated time of release?
Is there any temporary workaround for end users?

I fixed deleting id: ID! from @embedded relation.

Is there any chance to see the last inserted ids of prisma? So we could do some kind of manual rollback?


[Feature] Ability to remove 'seconds' from time picker

Problem - The time picker plugin when used in the date-picker, creates the ability to add time but most of the times, we don't really need 'seconds' input in practical cases. I tried removing "SS" from Date Picker's format prop (format = "D MMMM YYYY, hh:mm A") but it only removes seconds from the date picker's input label but doesn't remove the second's input from time-picker
Solution -

So there should be a custom prop for , something like,
<TimePicker
isSeconds = false //A custom prop which removes seconds input field
>

or

<TimePicker
format="HH:MM" //custom format to remove seconds. (In this case, it should also override the main picker's format)
>

Thanks for mentioning it.
I will work on it.

Your suggested feature was added to the time picker & analog time picker.
<TimePicker hideSeconds />

Working fine. Thanks for adding it!

You're welcome.


Entering commands in one tmux pane causes the other to scroll.

Which operating system does the issue occur on?
Linux
If on linux, are you using X11 or Wayland?
Believe alacritty is using X11. I have both installed, so which ever it defaults to when running Cinnamon is what it is using.
If I enter a command in one tmux pane the other pane scrolls down from where it is currently at. I believe this happens whenever alacritty has to redraw the terminal. Could detecting tmux panes and only redrawing applicable parts of the screen be a workable solution that's also an optimization?

Is this an issue with Alacritty or also present in other terminal emulators?

@chrisduerr as far as, I'm aware most terminals use the cpu for processing text output. So, yes most terminals are slow at printing multiple lines to the terminal. A normal terminal might print a single line faster, but not a couple hundred.

I'm still not entirely sure what you're talking about, but it's not possible to "detect tmux panes". If tmux is scrolling its panels in a way that you don't like, this is likely something that is done in tmux and not Alacritty.

@chrisduerr Sorry, I thought this was a different issue about Alacritty, from another repo, which was over launching Alacritty to compile a long compilation process. I was trying to convince them the terminal used impacts performance. Mostly, went into Jetbrain's taking forever to start a process in comparison to tilda.
Yes, other terminals behave differently with tmux. guake or tilda do not have the same scrolling behavior. It's as if the multiple panes are separate terminals entirely in terms of normal usage, which includes reading the output of one pane, while inputing commands in the other pane.
It's not possible to use linear algebra for determining where each pane is within a set error tolerance? I'm not referring to there being a tmux interface for the absolute position of the pane in terms of the current terminal. Though, that would probably be easier and faster than any custom solution for algorithmically figuring out where panes should exist at.

We don't control what tmux does. It does not scroll a pane down when you type a command in another pane by default and if it does that might be something wrong with your configuration.
If tmux sends escapes and these are interpreted incorrectly by Alacritty, that's absolutely Alacritty's fault. But I think what you're talking about is largely a configuration issue if anything.

Well, it does not happen in other terminals. It's probably not handling tmux's different vim and emac modes properly. Whatever the actual cause of the issue is it only happens in alacritty.

Could you provide a minimal example for reproducing this issue?

I'm lost (sorry), a screen recording of the issue would go a long way here, possibly with a comparison with your expected behavior in another terminal?

I'm lost (sorry), a screen recording of the issue would go a long way here, possibly with a comparison with your expected behavior in another terminal?

I've been trying to get it to happen again since then. I'll have something up in a couple days. I'm thinking it might be from detaching and retaching to tmux.

I have had some serious issues with the recently released tmux 2.9 (probably) and 2.9a (definitely) and the main-vertical and main-horizontal layouts, where changes in the non main pane messed up the content of the main one. Although for me the problems also reproduce in iTerm and Kitty, and are in no way isolated to Alacritty. This and some other oddnesses in these releases actually prompted me to start a long overdue transition to abduco/dvtm. I never got to the bottom with the problems in tmux other than avoiding the main-layouts.


when redeploy in swarm mode: constraints are ignored

Before you start please confirm the following.

[X] Yes, I've searched similar issues on GitHub.
[X] Yes, I've checked whether this issue is covered in the Portainer documentation or knowledge base.

Problem Description
As the title implies: I'm using a cluster of docker in swarm mode.
In my deploy yaml, I've set up a constraint for a service: "node.hostname==hostID"
When I redeploy or calling the webhook, the image is pulled on a random host.
Expected Behavior
Deploy should follow the constraints.
My case is pretty simple: only one valid host is allowed by the constraints, so pull and deploy should only be done on that host.
Actual Behavior
The constraint is ignored and the image may be pulled to an unexpected host.
Steps to Reproduce
Requred:

portainer at a swarm environment with multiple hosts. follow swarm/linux installation guid
portainer has access to a docker registry (where you pull images from).

Add a stack (very short example):

version: "3.8"

services:
  app:
    image: conquer-the-world:latest
    deploy:
      placement:
        constraints:
        - "node.hostname==someHostname"

update the image.
Trigger the webhook or click "Pull and redeploy".

If ":latest" or no tag is specified: the service may continue with an outdated version,
otherwise: the service may stop and didn't came back, because the requested image isn't available.
Portainer logs or screenshots
No response
Portainer version
2.19.4
Portainer Edition
Business Edition (BE/EE) with 5NF / 3NF license
Platform and Version
Docker 25.0.3, build 4debf41
OS and Architecture
Ubuntu 22.04.4 LTS
Browser
No response
What command did you use to deploy Portainer?
No response
Additional Information
No response

We haven't been able to reproduce this behavior here - every time we redeploy our service stays on the node we constrained it to.  Do you see the same behavior if you create / redeploy the stack from the CLI (ie, outside of Portainer)?

We haven't been able to reproduce this behavior here - every time we redeploy our service stays on the node we constrained it to.

Okay, then I may messed up some configuration (maybe Ubuntu, DNS or I've missed a migration notice for an update),
I think, I should set up a fresh environment...

Do you see the same behavior if you create / redeploy the stack from the CLI (ie, outside of Portainer)?

If I redeploy a stack, everything works fine.
traefik:latest and portainer-ee:alpine+agent:alpine I redeploy manually when updates are available via:
docker stack rm [stack] && docker stack deploy -c deploy.yml [stack]

Is redeploy via webhook doing it similar?

Now I found an answer: https://github.com/moby/moby/issues/34153
Could confirm my problem with this, it's unrelated to portainer.


Why doesn't SQLiteAsyncConnection implement IDisposable?

SQLiteConnection does implement IDisposable. Why doesn't the Async version? Are the connection resources being disposed somehow?

The connections are pooled so it does not really make sense to dispose them yourself I guess since it is an app resource.
Calling SQLiteAsyncConnection.ResetPool() when your app go to sleep usually do the trick
Hope this helps


luci-app-opkg: show disk space consistent with overview

Show Disk space graph consistent with the Status->Overview page
Brought up in https://forum.openwrt.org/t/software-space-is-going-to-full/187112
Leading whitespaces reformatted by vscode

I'm attaching screenshot of the change, which is consistent how space is displayed in Status->Overview

I did not run test it, but looks nice.
However, I am thinking if the percentage number is actually useful at all, as the remaining free space in MiB is the most relevant info at the package installation page (to determine how much can still be installed).
I wonder if it might be more useful to drop the percentage number from text (but keep the graph bar), and change the text to be something like "7.2 MiB used of 16 MiB, 8.8 MiB still free"

However, I am thinking if the percentage number is actually useful at all, as the remaining free space in MiB is the most relevant info at the package installation page (to determine how much can still be installed).
I wonder if it might be more useful to drop the percentage number from text (but keep the graph bar), and change the text to be something like "7.2 MiB used of 16 MiB, 8.8 MiB still free"

This matches the suggestion on the forum as well, to display the available space in MiB better. Let me sleep on it/play with various options and I'll update PR within 72-96 hours.

@jow- @hnyman please re-review.

It's a small enough change I feel I can merge it with reviews from @hnyman and @systemcrash -- thank you gentlemen for quick responses.
@jow-, @McGiverGim thank you for the feedback helping improve this PR!


Adding permissions claims API for granting more resource for VirtualWorkspace

Summary

Can now selectively add internal APIs (configmaps,serviceaccounts, etc...)
Can now selectively add APIs provided by an APIExport into an apiexport
VirtualWorkspace.

Related issue(s)
Fixes #1221

/restet

/retest

To be honest, I get lost in the APIExport VW implementation change. This needs more clarity to be able to say whether it is correct.

/retest

/retest

need rebase

/lgtm
/approve


[Bug]: Building Hangs When Setting splitChunks.maxSize

System Info
  System:
    OS: macOS 13.2.1
    CPU: (8) x64 Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz
    Memory: 2.44 GB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 16.20.2 - ~/.nvm/versions/node/v16.20.2/bin/node
    Yarn: 1.22.19 - ~/.nvm/versions/node/v16.20.2/bin/yarn
    npm: 8.19.4 - ~/.nvm/versions/node/v16.20.2/bin/npm
    pnpm: 8.14.0 - ~/.nvm/versions/node/v16.20.2/bin/pnpm
  Browsers:
    Chrome: 121.0.6167.184
    Chrome Canary: 123.0.6305.2
    Safari: 16.3
  npmPackages:
    @rspack/cli: 0.5.4 => 0.5.4
    @rspack/core: 0.5.4 => 0.5.4

Details
I've encountered a bug where the build process hangs when both the splitChunks configuration is set to chunks: 'all' and maxSize is specified. The build process freezes indefinitely.
However, when chunks is set to async or maxSize is not set, the build completes successfully.

Reproduce link
https://github.com/Moudicat/rspack-split-chunk-building-hangs-repo
Reproduce Steps

Configure splitChunks with chunks: 'all' and maxSize: 100000.
Attempt to build the project.

It seems like the issue might be related to the rspack.HtmlRspackPlugin. After swapping this plugin with html-webpack-plugin, the build works as expected.

Thank you !


On Linux check CPU frequency governor

On Linux systems, we should probably check the CPU frequency governor, just in case it is set to something like powersave.
If we can confirm that the various Linux distributions we support do not enable CPU frequency scaling on their server versions, we might be okay.  However we don't make the distinction of server vs desktop version.
It's easiest to just check or capture the contents of the file /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor.  If this file doesn't exist, then no CPU frequency scaling is active.  If it does exist, a support agent can check the contents to ensure it is not powersave.

I'm assuming this requires elevated privileges though, right? That's actually becoming an issue, since a lot of things system wise often fail because the person running doesn't have the proper permissions. And will the above work across distributions?

Added for next release.


Add ability to update a Quickpick placeholder text dynamically

VSCode Version: 1.10.0-insider 256d76fed7947e7289f921df10658d7a69233b65
OS Version: macOS Sierra 10.12.3 (16D32)

I would love to be able to change the placeholder text after showQuickPick has been called. That way I could have the quickpick say something like Searching for blah... while the promise is still waiting, and then switch to different text once its resolved.
Currently I am mimicking this behavior by showing 1 quickpick with the Searching for ... text, and then when the promise resolves I am cancelling that quickpick and show a new one -- but if there was text typed during that time it would be lost.

We could use the progress API that is the works and use that area for the progress presentation

We now have API for that.


fix: set high default forwarding fee on channel ready event

so it also applies on counterparty-initiated channels
Fixes https://github.com/getAlby/nostr-wallet-connect-next/issues/494

@im-adithya this will also be an issue with LND, can you check it when you have time


Add support for Connectors on Cloud Foundry

When used in a Cloud Foundry environment, Connectors also need

Cloud Foundry Configuration (nuget ref and .AddCloudFoundryConfiguration())
Cloud Foundry Connector nuget ref Steeltoe.Connector.CloudFoundry

The .AddCloudFoundryConfiguration() looked to be already present.
Added NuGet references for Steeltoe 3.x projects if options specified include:

hosting-cloud-foundry
any connector


Changed Readme, tested for Flutter 3 compatibility and updated selection color

Tested the code with a new flutter 3 installation, everything works as expected. Some warnings about a redundant check that something isn't null, according to a quick google search changing anything isn't required
Updated readme to clarify that a Mac is required (and that a free developer account is enough)
Changed the selection colors to match those on an iPod by taking them from an old image found on Apples Website using archive.org

Accidentally closed the pull request... sorry :(

Looks good to me 👍


Remove dependency on RGL

According to @inariksit details
we only need a small portion of RGL so it's possible to store it as a resource in project repo instead of requiring full dependency on RGL.
This will simplify build process which will benefit both new joiners and also we can set up CI.

Have we considered the possibility of making gf-rgl a git submodule? Would this approach make the build easier by allowing the GF_LIB_PATH to just point to a relative dir under the source tree?

I was unclear in my comment in the last issue, I apologise for misleading. I was confusing two things even for myself:

The core grammar, which has just the syntactic functions, and new lexicon is just constructed as strings. This one we can commit to the repo as a PGF, and that way not need to depend on RGL or Wordnet.
Dynamically created lexicon for each L4 file. This lexicon is generated from the lexicon tag in the L4 file, and compiled on the fly.

Alternative to 2 is that we have one large PGF file that includes all of WordNet. But longer-term, I don't think that's a feasible solution, because not all words are in WordNet and we want to allow the user to define their own lexicon. So some dynamic lexicon management is needed.
There are ongoing developments in the GF core team that will allow dynamic lexicon, and not need to recompile the GF grammars when adding new lexicon. I don't know how long it will take that this is usable, but I see new pushes frequently, and this is a priority to more people than just us. So I am very confident that this will be a thing soon.
Short-term, I see a couple of ways to make this work:

We do dynamic lexicon and require everyone in the development team to have GF, GF-RGL and GF-Wordnet in their paths.
We don't do dynamic lexicon, either

We commit in a huge GF grammar with all of WordNet  lexicon, or
We commit in the current syntactic-functions-only grammar, and create new lexicon as string literals (will only work for English).

Should I close this for now?


What permission do you need to view the policy details ?  Security Reader does not seem to be enough.

[Enter feedback here]

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

ID: ce36344d-67bf-68cb-5004-9ac6f27ebf51
Version Independent ID: 89a7d7e7-c643-eb06-d844-b97b80633b68
Content: Create, test, and tune a DLP policy - Microsoft 365 Compliance
Content Source: microsoft-365/compliance/create-test-tune-dlp-policy.md
Service: o365-seccomp
GitHub Login: @chrfox
Microsoft Alias: chrfox

Closing as it is duplicate of #2538


achieve the green background

Thanks for having created such a great and easy to use project!
I have successfully installed ARKit-Live2D on my iPad Pro (3rd gen, iOS 15.1) and it works well when cast my face to the live2d model on iPad.
However, when I clicked the i (on the top right corner) for Live Broadcast, the app got stuck - the button icannot be clicked again.
I also tried using OBS (v27.1.3) on macOS (12.0.1) to cast the screen of iPad. However, I cannot make the green background (what I achieved was just the screen mirroring with the gray background).
I wonder what Live Broadcast will do and how to achieve the alpha model (green background) in OBS as you shown in your post https://www.mzyy94.com/blog/2020/02/25/virtual-bishoujo-meeting/?

Alright, I have found the option in Settings to change background color lol.
But I still don't know what are the functions of Live Broadcast...

Green screen can be removed with OBS function or Zoom option. Please google "OBS chroma key".
Live Broadcast feature means an extension for ReplayKit.
It's available in combination with ReplayKit-enabled Apps, such as YouTube, Mobcrush and so on.


Fix a bug in VectorArithmetic::processAsDense

Fix wrong judgement in func VectorArithmetic::processAsDense, which should return true to allow apply as a dense type loop

@mbasmanova can someone review this pr?

I refer to some PRs and change the title and description, is it ok now?
I have not run a benchmark because time is limited, maybe later.
But as you mentioned, VectorArithmetic.cpp is just an example,  all arithmetic functions is scalar functions now, did you compared the performance between implementation in Arithmetic.h and VectorArithmetic.cpp？Compiler can optimize loop in SimpleFunctionAdapter too? Why not make it can be used in production code, and which vector functions are ready to be used?
Thanks:)

Thanks, I see what you mean.
My question is why not make it ready for production, it seems have higher performance.
Other vector functions registered by VELOX_REGISTER_VECTOR_FUNCTION can not be use too?

My question is why not make it ready for production, it seems have higher performance.

Too many things to do, not enough time :-)

Other vector functions registered by VELOX_REGISTER_VECTOR_FUNCTION can not be use too?

All functions except VectorArithmetic can be used.


6/16 Taxonomy Publishing

Docs Build status updates of commit 7a47932:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

trace-processor-reference-docs/docfx.json
:white_check_mark:Succeeded

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 the docs.microsoft.com contributor guidesPost your question in the Docs support channel


allow setting deployment environment variables/GOMAXPROCS in helm charts

What should the feature do:
It would be nice if the kubernetes helm charts would allow setting environment variables for the golang components via the values.
What is use case behind this feature:
Typically in golang programs you want to define the variable GOMAXPROCS to be in the range of the cpu limit of the deployment, otherwise golang uses the hosts logical cpu number as the limit which causes a lot of unnecessary overhead and throttling on larger machines.
(Alternatively you could use a go module like https://github.com/uber-go/automaxprocs to let it tune itself automatically)
For example in our clusters consisting of hardware with 40-128 physical cpus the topolvm-controllermanager uses more than half of a cpu purely for goproc overhead and frequently is throttled when some computation starts up 256 threads for a couple ms, setting GOMAXPROCS to 2 (cpu limit of 1) completely removes the overhead.

Hi @juliantaylor,
Thank you for your feature request. We've addressed the issue in #727. This patch will be available after next helm chart release planned in this month.

oh that was fast, thanks


Improve diagnostics of Copy method

Fixes https://github.com/pivotal/image-relocation/issues/6

Codecov Report

Merging #7 into master will decrease coverage by 26.57%.
The diff coverage is 40%.

@@            Coverage Diff             @@
##           master      #7       +/-   ##
==========================================
- Coverage   84.17%   57.6%   -26.58%
==========================================
  Files           4       7        +3
  Lines         158     250       +92
==========================================
+ Hits          133     144       +11
- Misses         14      95       +81
  Partials       11      11

Impacted Files
Coverage Δ

pkg/registry/remote.go
0% <ø> (ø)

pkg/registry/layout.go
0% <0%> (ø)

pkg/registry/client.go
47.82% <54.54%> (ø)

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 33c944d...dfb2b4c. Read the comment docs.


Add support for casting environment variables to standard types.

What could be done is the Env map could be turned to a type and some convenience methods could be added for type casting, to avoid doing .(int) etc.
Something like Env.Int("param_name") or similar.

What would be the benefit over type assertions (eg: .(int)) ? This is the same amount of typing, and type assertions seem more Go-ish.

It's just nicer this way, you get autocomplete for some common types, also ForceType is also nice to have for convenience.
I've stolen this idea from https://godoc.org/github.com/garyburd/redigo/redis#hdr-Reply_Helpers , feel free to browse through it.

I thing the benefit is caller does not assert type itself. Maybe the method can be assert and return zero value when Env cannot assert.

Exactly!
On Wed, Jan 20, 2016 at 11:36 AM Thanabodee Charoenpiriyakij <
<EMAIL_ADDRESS>wrote:

I thing the benefit is caller does not assert type itself. Maybe the
method can be assert and return zero value when Env cannot assert.
—
Reply to this email directly or view it on GitHub
https://github.com/ant0ine/go-json-rest/issues/168#issuecomment-173165798
.


:mute: remove WIP warning on local backend

For @evaline-ju
The context is that this warning could be misleading for any caikit module users. While the local backend is registered by default. the "WIP" (work in progress/beta) message shows up in any library using caikit, and individual caikit library module users would not be dealing with the backend directly.

Yeah, it is suuuuper wip


Integration with teamcity

Hi,
Do you happen to plan integration with teamcity, I will love to get the output properly reported on my CI, all I get now is a exit code 1.

Guess some custom reporter is needed for RuboCop to work properly with TeamCity. Provide us with more details out the expected output and we'll get this done (eventually).

It all boils down to passing messages in a special format to teamcity city, details can be found here https://confluence.jetbrains.com/display/TCD9/Build+Script+Interaction+with+TeamCity#BuildScriptInteractionwithTeamCity-Reporting.NETCodeCoverageResults

There checkstyle custom formatter exists, check the https://github.com/eitoball/rubocop-checkstyle_formatter. It integrates nicely with Teamcity, you just need to add build step that fires rubocop, and then add "XML report processing" Build Feature to load the results from the generated xml file.
Only one problem here is that rubocop exits with non-zero code, so teamcity thinks that build step is failed.
It will be nice to have an option to exit with 0, even if there any errors/warnings.

If you run rubocop --fail-level F, then it will only exit with error if there are parsing errors.

Yeah, just found that in documentation :)
Thanks!

So I guess everything is all right then.

If you are still looking for a formatter, there is one here: https://github.com/GovTechSG/rubocop-teamcity-formatter


refactor the final HTML report

Is your feature request related to a problem? Please describe.
I have stumbled upon better frameworks to easily build simple dynamic websites (Bootstrap, Vue, Dash); I can use them to create the final MAPP report. But I need to investigate these frameworks first.
Describe the solution you'd like
Refactor MAPP script related to HTML-report generation.
Additional context
Just for aesthetics and so that the results are presented in a more readable manner.

add links to the FASTQC reports?

remember to link to fastqc reports<?>


[FEATURE] Add snippet to position and change dimensions of an  image

Thank you for the great snippet! ❤


Preparing new Release.

We're retrieving the Current Weather.

Codecov Report

Merging #64 into master will increase coverage by 0.5%.
The diff coverage is 97.94%.

@@            Coverage Diff            @@
##           master      #64     +/-   ##
=========================================
+ Coverage   99.04%   99.55%   +0.5%
=========================================
  Files          41       43      +2
  Lines        1052     1114     +62
  Branches       81       86      +5
=========================================
+ Hits         1042     1109     +67
+ Misses          5        0      -5
  Partials        5        5

Impacted Files
Coverage Δ

...weather/openweather/model/ForecastDataBuilder.java
100% <ø> (ø)

...her/openweather/model/OpenWeatherForecastData.java
100% <ø> (ø)
:white_check_mark:

...nzalezf/weather/openweather/model/WeatherData.java
100% <ø> (ø)

.../weather/openweather/OpenWeatherApiRepository.java
100% <ø> (ø)
:white_check_mark:

...zalezf/weather/openweather/model/ForecastData.java
100% <100%> (ø)

...ther/openweather/model/OpenWeatherCurrentData.java
100% <100%> (ø)

...er/openweather/network/OpenWeatherApiResponse.java
100% <100%> (ø)
:white_check_mark:

...her/openweather/network/OpenWeatherApiRequest.java
100% <100%> (ø)
:white_check_mark:

...ather/openweather/network/OpenWeatherExecutor.java
100% <100%> (ø)
:white_check_mark:

...zf/weather/openweather/OpenWeatherApiCallback.java
100% <100%> (ø)
:white_check_mark:

... and 10 more

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 ea235a5...d2c1f52. Read the comment docs.


Decisions

A decision is a function that returns either true or false. The function can be written in any language, even english. Oracles look at decisions in the consensus state, and they decide whether the outcome is true or false.
Decisions in flying fox need to be able to exist inside of channels. When the channel state is published to the blockchain, then the decision is added to the consensus state.
The text of a decision never gets published onto the blockchain. Only the hash of the text is published.
Decisions have expiration dates. The oracle cannot judge on the outcome until after the expiration.
If a decision exists in the channel state of one of your channels, then you and your partner can bet on the outcome of the decision.

I decided that the decision will only be a hash.
The oracle can look at evidence that matches the hash, and decide what to do.


BD-1028: Compliance Issues in Lightning gh-pages repo

Hi @wouterlucas
Could you please review and merge this PR?

Hi @wouterlucas ,
Can you please merge this change-set? or Please suggest if you have any review comments.


Sync branch deletions after a squash merge

This is my thought on a possible solution to https://github.com/github/hub/issues/1359.
It provides a --delete-all option to the sync command that will attempt to delete all branches that were deleted on the remote, even those that do not appear merged. This will let us delete branches that were merged through a squash commit. By itself, the option prompts for confirmation on every branch similar to the delete command with the same override option --yes that will confirm all branches. I'm open to suggestions on better naming for that option; I'm not a big fan of it but haven't thought of anything better.
This also refactors the confirmation logic into the utils in order to allow sharing the same approach across both commands. Because in my opinion the (yes/N) piece of the prompt really belongs with the confirmation itself rather than the caller prompt, the order of the output switched slightly in the delete command and its test.
Side note: I'm not a Go developer so please feel free to be pedantic with any comments or suggestions here.

Please let me know if I can provide any more context. Like I said in the description, I don't particularly like the --delete-all option name either, so if you have an idea for that I would love to hear it.

--squashed or --include-squashed might make sense

@jeffg-hpe I thought about something specific to squashed, but technically this deletes all branches that don't look merged, not only those that were squashed, so I believe it would also include all branches deleted on the remote that really weren't merged too. That's why I went with "all," since it is deleting all of them to match the remote.

So maybe --delete-stray? Inspired by git-trim.


Use neodoc for CLI

Hey, this is a take it or leave it, no hard feelings, "might as well" PR. I was looking at using your project to implement "Did you mean?" functionality for neodoc (https://github.com/felixSchl/neodoc/issues/68) and found your cli is the perfect kind of cli for neodoc to handle. cli.js could look even slicker with template strings, but I saw you're targeting node 0.11 and up (in package.json) so no luck.

Hi! Thanks, and cool project, neodoc.
However, I’m going to decline (I’ll take you up on those “no hard feelings” 😉). I’d rather keep the CLI super small and super simple!


add support for manually switching camera ids, primarily for non-Pixel phones without automatic Camera2 zoom-based camera switching

This is somewhat blocked on CameraX adding APIs but may be possible via the Camera2Interop API already.

Along related lines, would it be possible to manually select cameras on Pixel instead of relying exclusively on the level of zoom? The problem on Pixels is that you can't, right now, pick a specific camera without having some level of image scaling kicking in and obviously reducing the quality of the shot.
Coming from a pixel 6 pro, the scenarios where image scaling is presumably not present are;

First time starting up the main side camera where it comes in at 1:1.
Zooming out FULLY on the main side camera where it switches to the wide angle lens without applying image scaling (zoom).
Zooming out FULLY on the screen side camera (the default mode on this side is scaled).

There is currently no way to select the telephoto lens without image scaling since it is impossible to select the exact threshold for when it switches.

If possible, just add a button to select the ultra-wide lens, just like in the OpenCamera.
Thanks

@ASerbinski That might be possible but I expect it would be significantly different.
Pixel 6 Pro telephoto lens switches at a dynamic point rather than at exactly 4x even though the telephoto camera is 4x since there are some disadvantages to using it. For example, it doesn't work as well in low light, so it will extend the zoom or avoid using it at all in low light. Not clear exactly what heuristics they use for this. There may be a way to switch manually with the multi-camera API but I think they present the cameras as a single camera ID with multi sub cameras so handling this would be different from other devices even if it's possible to change this.


[plugin|tiling] bind names to spaces for use with focus command

After implementing #583 it could be useful to have the ability to name spaces, as it is no longer strictly cosmetic, but could be passed to the focus desktop command. This is useful when a space has been moved to a different monitor, but we could still allow it to be focused by name, rather than a number.
This would allow the user to designate whatever amount of desktops desired and switch between them without having to care which desktop number they are, or which monitor they are on.
Following this train of thought, it would also be helpful to be able to query the last monitor that was active, to make a command that can move the space to the last focused monitor.

This reminds me of spaces-renamer. Could this possibly be integrated into chunkwm with this functionality?

If spaces-renamer sets the name through the CGSSpaceSetName (or _SLSSpaceSetName) in addition to the visual patch it performs - then chunkwm would be able to retrieve the name and we could gain compatibility that way, yeah.

The relevant code is all in this directory: https://github.com/dado3212/spaces-renamer/tree/master/spaces-renamer
It appears to do this via swizzling. The code is very interesting—it's a very different approach.

We could probably do it directly through the Dock with chunkwm-sa as we can access spaces there.
There is an interesting class called Dock.ManagedSpace with the following definition:
@interface _TtC4Dock12ManagedSpace : NSObject {
    id uuid;
    id space;
    id name;
}

It appears we can set the name directly.

Sounds promising and might take chunkwm to the next level when this is integrated everywhere ids are currently accepted.

This + #332 are currently the only big features remaining that I'd really like to have in my workflow. Hopefully at some point they will be realized as well.


Enable paste into UIInputBox

The UI element UIInputBox doesn't let you paste text into it
There are use cases where this would be really useful, like pasting an address, or a code

this is already possible, problem is that unity is using CTRL+V for paste shortcut instead of CMD+V for OSX

This issue is invalid, as pasting does work currently. What's tricky is that pasting works in mac with Control + V instead of Command + V as it usually does everywhere else.
If this behavior must be changed, it should be done in Unity, not at the SDK level.


Automated cherry pick of #9597: fix(cloudmon): deal cannot get  azure metric

Cherry pick of #9597 on release/3.5.
#9597: fix(cloudmon): deal cannot get  azure metric

Codecov Report

Merging #9608 (4a0fd8d) into release/3.5 (6a15e02) will increase coverage by 11.92%.
The diff coverage is 1.85%.

@@               Coverage Diff                @@
##           release/3.5    #9608       +/-   ##
================================================
+ Coverage         5.98%   17.90%   +11.92%
================================================
  Files              796       85      -711
  Lines           125693     8923   -116770
================================================
- Hits              7522     1598     -5924
+ Misses          117504     7153   -110351
+ Partials           667      172      -495

Flag
Coverage Δ

aFlag
17.90% <1.85%> (+11.92%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/apigateway/handler/auth.go
0.00% <0.00%> (ø)

.../monitor/alerting/conditions/suggestrulereducer.go
0.00% <0.00%> (ø)

pkg/monitor/alerting/conditions/suggestquery.go
2.00% <2.00%> (ø)

pkg/util/seclib2/seclib.go
80.39% <0.00%> (-5.66%)
:arrow_down:

pkg/util/ansiblev2/session.go
0.00% <0.00%> (ø)

pkg/multicloud/aws/sts.go

pkg/multicloud/aws/instancenic.go

pkg/cloudcommon/db/standalone.go

pkg/monitor/tsdb/driver/influxdb/query_part.go

pkg/baremetal/tasks/deploy.go

... and 590 more

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 b3b0b83...4a0fd8d. Read the comment docs.


added support for HackerEarth | issue #4

Added hackerEarth function in scraping.js that returns the array of objects in the given format.
please let me know if you need any changes.
Thanks :)

@roshan1337d can you please review the code.
Thanks :)


unsupervised pre-training on the model

Before fine-tuning the model, did you perform unsupervised pre-training on the model? Can you provide the script for unsupervised pre-training and the required training resources?

这个项目出来是否意味着vicuna-13b-16k马上就出来了。

@wqn1 No, we simply apply the condensing RoPE technique, which is a monkey patch in code. Then we just do fine-tuning on conversation data.
The pre-training directory was there for a historical reason. We tried some unsupervised pre-training before without the condensing RoPE technique, but realized that it it not needed anymore. I will probably going to refactor out the directory. Thx for the question!

@ahkimkoo Vicuna is another model targeted on 2K sequence length, and LongChat is our new series of models targeting on larger sequence length. Basically Vicuna = llama-2K + ShareGPT, and LongChat = llama-nK + ShareGPT. So there won't be a Vicuna-13b-16k, but LongChat-13b-16k will be conceptually the same as a "Vicuna-13b-16k".

@DachengLi1 Thanks for your answer. I also have a question to consult. If I want to train a long-chat model in a specific domain, but I don't have a lot of supervised dialogue data available, would unsupervised pre-training help improve the model's performance in domain-specific question answering? Could you please provide me with some advice on this?

@wqn1 I think there are two things to adapt (1) context length: 2K > nK (2) general -> domain specific. Right now I just throw 18K conversations in and LlaMA adapt quite well to both within this many conversations. If you have less conversations data, which is really necessary only in (2), I think using some other long-context data(e.g. books) to help llama learns (1) should work. But you can probably start by trying whether llama can do well with your number of data?


chore: import repository https://github.com/cns-ubiwhere/jx3.git

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

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

Needs approval from an approver in each of these files:

OWNERS

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

@cns-ubiwhere: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

verify
665723001b9ec40da89878348a247e606a6f6ac1
link
/test verify

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


[Meross] Unable to reach Meross, retrying in 30 seconds [login() - ENOTFOUND].

What issue do you have? Please be as thorough and explicit as possible.
After updating the Homebridge plugin to homebridge-meross v9.0.0 I start having this error:
[Meross] Unable to reach Meross, retrying in 30 seconds [login() - ENOTFOUND].

Details of your setup.
Homebridge UI-X

Which version of Homebridge/HOOBS do you have?
Homebridge - [v1.6.0]

Which platform do you run Homebridge/HOOBS on (e.g. Raspberry Pi/Windows/HOOBS Box)? Please also mention your version of Node.js/NPM if known.

Homebridge - Raspberry Pi
Node Version - v18.15.0

Which version of this plugin (homebridge-meross) do you have? Has the issue started since upgrading from a previous version?

homebridge-meross v9.0.0

Which Meross devices do you have that are causing issues? Please include product models if applicable.

MSS550L - Light Switch
Please paste any relevant logs below.
[Meross] Unable to reach Meross, retrying in 30 seconds [login() - ENOTFOUND].

I have the same issue.
Running homebridge V1.6.0 in docker on a Synology RS822+
Node.js Versie | v18.13.0
Downgraded to homebridge-meross v8.5.3 and it worked again.
9 Merros MSS210 plugs Hardware version 7.0.0 Firmware version 7.2.15

Please try 9.0.1-beta.0 version, if this works then I will release a new version, thanks!

I can confirm it is all working with the new version 9.0.1.

For me to, the V9.0.1 is working perfect


testing CodiumAI PR-Agent

/review

@CodiumAI-Agent /review

PR Reviewer Guide 🔍

⏱ Estimated effort to review: 1 🔵⚪⚪⚪⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ No key issues to review

@CodiumAI-Agent /ask

Ask❓
Answer:
It appears that there are no specific questions listed in the "PR Questions" section. However, I can provide a general review and feedback on the new code introduced in the PR.
General Review:
The PR introduces a simple C program that prints "Hello World" to the console. This is a common introductory program to demonstrate basic syntax and functionality.
Feedback:

Code Structure and Style:

The code is well-structured and follows standard C programming conventions.
The use of #include <stdio.h> is appropriate for the printf function.

Functionality:

The main function correctly prints "Hello World" to the console.
The program returns 0, which is a standard way to indicate that the program executed successfully.

Improvements:

Newline Character: It is a good practice to include a newline character (\n) at the end of the printed string to ensure the output is properly formatted. This can be done by modifying the printf statement as follows:printf("Hello World\n");

Comments: Adding a comment to describe the purpose of the program can be helpful for future reference, especially in larger codebases. For example:// This program prints "Hello World" to the console

Example of Improved Code:
#include <stdio.h>

int main()
{
    // This program prints "Hello World" to the console
    printf("Hello World\n");
    return 0;
}

If you have any specific questions about the code or need further assistance, please let me know!

@CodiumAI-Agent /ask what is the content of the merged file

Ask❓
what is the content of the merged file
Answer:
The content of the merged file code.c after applying the changes from the PR will be:
#include <stdio.h>

int main()
{
    printf("Hello World");
    return 0;
}

This code includes the standard input-output library <stdio.h>, defines the main function, prints "Hello World" to the console, and returns 0, indicating successful execution.

@CodiumAI-Agent /ask explain the code change

Ask❓
explain the code change
Answer:
The code change introduces a new C program in the file code.c. The added code includes:

The inclusion of the standard input-output library with #include <stdio.h>.
The definition of the main function, which is the entry point of a C program.
Inside the main function, the printf function is used to print the string "Hello World" to the standard output (typically the console).
The main function returns 0, indicating that the program executed successfully.

In summary, this change adds a simple "Hello World" program written in C.


CallWithChatComposite component fails to extract chat thread ID from Teams meeting link containing "thread.tacv2"

Describe the bug; what happened?
CallWithChatComposite component cannot properly parse Microsoft Teams meeting link and extract chat thread id. The problem is probably in the parseTeamsUrl.ts file. The regular expression is only working for links containing "thread.v2", but not "thread.tacv2"
What are the steps to reproduce the issue?

Navigate to https://azure.github.io/communication-ui-library/?path=/story/composites-call-with-chat-jointeamsmeeting--join-teams-meeting
In the navigation pan select "Preview"
Provide all information required to join meeting (including meeting link containing "thread.tacv2")
Result: The control is not initialized and console displays error message  Uncaught (in promise) Error: Could not get chat thread from teams link

What behavior did you expect?
Proper initialization of a component
If applicable, provide screenshots:
Not applicable
In what environment did you see the issue?
Production

@azure/communication-react npm package version: 1.4.0

@azure/communication-calling npm package version: 1.6.3

@azure/communication-chat npm package version: 1.3.0

OS & Device: Windows/PC

Browser: tested in Edge (Chromium)

Browser Version: 107.0.1418.24

Is there any additional information?
No

Hi @mamazgut, unfortunately channel-scheduled meetings are not supported today: https://learn.microsoft.com/en-us/azure/communication-services/concepts/join-teams-meeting#limitations-and-known-issues.
We'll look into making the error thrown more appropriate to highlight this.


gide on mac not responding to "hide"

Command-H: Hide the windows of the front app. To view the front app but hide all other apps, press Option-Command-H
I use this all the time.

works now!  because we're using the default mac main menu..


Components > Client Resource > After submitting unable to save client resource details, Data is not shown in action

While going through the application process, found following issue,
Actual Result:
After submitting unable to save client resource details, Data is not shown in action.
Screenshot:

There were three similar components, Api Scope Resource, Claim & Client Resource. Out of that Api Scope Resource & Client Resource are Hide.

Same as

--

[Components > Api scope resource > Button alignment issue · Issue #401 · Wai-Technologies/raaghu-react (github.com)](https://github.com/Wai-Technologies/raaghu-react/issues/401) so clsing this bug

same as 401


Use one pattern out of permissions(scopes) or scopes(permissions)

Describe the issue:
Use one pattern out of permissions(scopes) or scopes(permissions)  to keep consistency.

Check role's permission assignment and API resource creations/edits

Improvement;

Current representation is invalid (Need to be swapped).
Using one pattern won't work as the Role and API resource are two concepts.
For an API resource --> Scope need to be assigned not Permission. Therefore all the wordings referred to as Permission should be updated to Scope in API resource related interfaces.
For a Role --> Permission need to be assigned not Scope (Even though we use scopes under the hood).


Update windows download link

Windows Installer link has broken.

Thanks for the fix @casion! I just merged Pull Request #135, which applied the same fix. Regardless, I really appreciate the quick PR!


Setting new dynamic markers breaks infowindow

I have an ng-repeat for the markers and they can click on a form to search for new markers around that location. The infowindow works on page load but when the marker array changes, the infowindow for those new markers are broken.
Here is a hard coded plunkr of the issue. Click on the "Find Stores" button to load in new markers, thats when the infowindow breaks.
http://plnkr.co/edit/0Cy9UYEbxE8Ew3ndZQJB?p=preview

This is broken since 1.4.7.. it works with 1.4.5. sigh
Need to find out what makes (x) button hides info window forerver.

fixed, please check


Issues in initNode

Hi, after using the library for a while, it works pretty fine.
However, there is a minor problem with initNode.
Sometimes, exception will raise when there is failure in connection which is normal.
(For example, connection refused, no route found, which caused by Linux or Router Routing Table respectively)
However, the issue is that with re-establishing the connection (Or re running initNode), the failure will not be raised.  Everythings is going to be looking good, but of course, the connection between a flutter app using the library and the computer running ROS melodic is still not success.
To rebuild the issue, the sample code of a button click to establish connection between ROS will be like
void connectToROS(BuildContext context) async {
try
{
node = await initNode('App', [], rosMasterUri: 'http://<IP_ADDRESS>/').timeout(Duration(seconds: 10));
/*
And here will be some topic subscription and service advertisement
*/
}  catch (e) {
print(e.toString());
}
}
To be simple, error will only be raised for the first time, not for the trial later.
I guess if there is any missing in the catch statement, or it is a bug for initNode.  I appreciate if any helps can be provided here.

Currently initNode is not intended to be run more than once. It only initializes the first time, then it returns a singleton. This is an artifact of how rosnodejs did it, but I'd like to be able to init / shutdown multiple nodes so I can connect to different rosmasteruris which I think is what you are trying to do as well. Anyways, it's on the roadmap, but I don't know exactly when I will have the time to get it done. Glad to accept any contributions if you want to figure it out and submit a PR.

Can you explain your use case some more? Why are you re-running initNode instead of running it once in main? Do I need to be catching more failures in connections? A minimally reproducable sample would be helpful. I'm working on what I think to be a fix, but I'm not sure if your use case is the same as mine.

I have built a simple universal robot controller app, and probably there will be a button for connecting to robots using ROS.  The interface will provide a button for connecting to ROS, and probably after a successful connection, the button may able to disconnect to ROS, and sometime changing the ip to connect to another robot using the same app.
In connection failure, after the first call in initNode, the button was still there, and it is easy for the users to connect by pressing the button again, so initNode will be called twice, and more.
I think the current failures catching are good enough.
For reproducing the samples of reconnection, probably I have reimplemented a similar project with the following links.  It used another libraries of dart implementation ros, and I am using your library to reimplement that, for a more advance controller.
https://github.com/Rongix/ros_navigation_command_app
I hope the information is helpful for advancing the library.


Optional client certs

Fixes #18681
Internal review URL

@Tratcher  is this in the right direction or do you want to provide a draft?

Should I add/edit the following:
You set up bindings for my.domain and clientcert.my.domain on the same site. The base site doesn't require a client cert but the subdomain does.
If you get to a part of the site that requires a client cert and doesn't have one, you redirect to the same page using the clientcert.my.domain host.
Since it's a different host name the client will establish a different connection and the client cert will be provided.
To sign out you redirect back to the my.domain version of the site with a connection: close header to close the old connection behind you.

Do you think people will be able to follow those steps without some concrete examples? Or should we include a sample using Kestrel or IIS? Or at least link to other docs that cover how you'd accomplish each step?

link to server docs
Link to authorization. Give an example of the 5.0 improvements to the cert auth handler for Challenge.
(just an observation)
Drop the part about sign-out. I realized it's misleading because it doesn't actually remove any state.

@Tratcher

Do you think people will be able to follow those steps

I added a link to a discussion alias to find out what we should add.

Or at least link to other docs that cover how you'd accomplish each step?

Please provide links.


haskellPackages: update stackage and hackage

This Merge
This PR is the regular merge of the haskell-updates branch into master.
This branch is being continually built and tested by hydra at https://hydra.nixos.org/jobset/nixpkgs/haskell-updates. You may be able to find an up-to-date Hydra build report at cdepillabout/nix-haskell-updates-status.
We roughly aim to merge these haskell-updates PRs at least once every two weeks. See the @NixOS/haskell team calendar for who is currently in charge of this branch.
haskellPackages Workflow Summary
Our workflow is currently described in pkgs/development/haskell-modules/HACKING.md.
The short version is this:

We regularly update the Stackage and Hackage pins on haskell-updates (normally at the beginning of a merge window).
The community fixes builds of Haskell packages on that branch.
We aim at at least one merge of haskell-updates into master every two weeks.
We only do the merge if the mergeable job is succeeding on hydra.
If a maintained package is still broken at the time of merge, we will only merge if the maintainer has been pinged 7 days in advance. (If you care about a Haskell package, become a maintainer!)

This is the follow-up to #169513. Come to #haskell:nixos.org if you have any questions.

Continuing from https://github.com/NixOS/nixpkgs/pull/169513#issuecomment-1111860187: will wait for pulseaudio to be fixed on master, @turion, I hope that's ok

https://github.com/NixOS/nixpkgs/pull/171660 @cdepillabout Looks like I had a similar idea. I should have coordinated. How can I help?

Looks like I had a similar idea. I should have coordinated. How can I help?

We try and get at least one update every 2 weeks, this involves bumping the snapshot, and fixing anything in the mergeable set which breaks.
One good way to help would be to add yourself as a maintainer for some packages in /pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml, that way if anything breaks on an update you'll be pinged and have an opportunity to fix it.

@expipiplus1 We always (or at least almost always) immediately open a new PR after closing the current haskell-updates PR.  In fact we have a script that does it for us:
https://github.com/NixOS/nixpkgs/blob/46e402fc6e4c403f29d793bdda5d5ed4313bcf69/maintainers/scripts/haskell/merge-and-open-pr.sh
The next PR is https://github.com/NixOS/nixpkgs/pull/171763.
If you want to get this PR in as quick as possible, then basically we need help fixing packages that have become broken by this hackage bump (or possibly due to other changes in the rest of Nixpkgs).
You can find the Hydra status in https://hydra.nixos.org/jobset/nixpkgs/haskell-updates, and an easier-to-read build report at https://github.com/cdepillabout/nix-haskell-updates-status.
At this very moment, it appears there was some flakey failure on aarch64-linux, which makes the build report look like there are lots of failures, but if we restart the failed builds on Hydra, it is likely that most of these errors go away.  It is quite possible that there are few errors that need fixing.


Release 4.4.0 before going 5.0.0?

Hi! :wave:
Since release 4.3.1 we have merged the following pull requests to master:

#644
#674
#702
#704
#712
#713
#717
#718
#720
#721
#722
#723

I believe it would be nice to have one last 4.x.x release 4.4.0 with these changes before going 5.x.x.
@kevin1024  would you be up for cutting a release 4.4.0 from latest master shortly?
(Latest commit is 8b97fd65512a52f4d90b10a80fa4eca7bc8f07b9 as of the moment.)
Thanks and best, Sebastian
CC @jairhenrique @amosjyng

PS: Known upcoming for soon 5.0.0 so far:

#681
#695

Nice! Yes I should have time to cut a release this weekend.  Excellent work!  Lots of good stuff in this release.

@kevin1024 cool! :tada:

@kevin1024 any news?

v4.4.0 is released!

With both https://github.com/kevin1024/vcrpy/pull/681 and https://github.com/kevin1024/vcrpy/pull/695 merged now, if you're still in releasing mode: 5.0.0 would be ready to go in my view. What do you think?

Let's GOO!

@kevin1024 cool!

It's live!  https://pypi.org/project/vcrpy/

@kevin1024 very nice, thank you!


[extractor/thesun]: Update _VALID_URL

IMPORTANT: PRs without the template will be CLOSED
Description of your pull request and other information

ADD DESCRIPTION HERE
Fixes #6479
Template

Before submitting a pull request make sure you have:

[x] At least skimmed through contributing guidelines including yt-dlp coding conventions
[x] Searched the bugtracker for similar pull requests
[x] Checked the code with flake8 and ran relevant tests

In order to be accepted and merged into yt-dlp each piece of code must be in public domain or released under Unlicense. Check all of the following options that apply:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[x] Fix or improvement to an extractor (Make sure to add/update tests)
[ ] New extractor (Piracy websites will not be accepted)
[ ] Core bug fix/improvement
[ ] New feature (It is strongly recommended to open an issue first)

Nice


Add support for git attributes, keep legacy filters for now

Changes

🎁  Switch from using find to git ls-files, which will only pick up files managed by git
🧹  Use Git attributes (from .gitattributes) to determine which files need linting, so repos can customize the linted files more easily.

/kind cleanup
/kind enhancement

closing b/c wrong repo

closing b/c wrong repo


Some fixes to torchaudio

use pytorch 2.1.0 due to strict version matchup required
don't use openmp on linux because the gnu openmp is being incorrectly linked against, and changing that requires more work than it's worth
whitelist windows python modules for same reason as others
pin pybind11 because it's a compiled package
remove ffmpeg from run, it's handled via a run_export in ffmpeg
tidy up definition of skipped tests
remove pip deps from test dep list for unit tests; skip tests for kaldi-io related functionality

Linter check found the following problems:
ERROR conda.cli.main_run:execute(125): `conda run conda-lint /tmp/abs_c7zczlnez2/clone` failed. (See above for error)
The following problems have been found:
===== WARNINGS =====

clone/recipe/meta.yaml:67: host_section_needs_exact_pinnings: Linked libraries host should have exact version pinnings.
===== Final Report: =====
0 Errors and 1 Warning were found

Linter check found the following problems:
ERROR conda.cli.main_run:execute(125): `conda run conda-lint /tmp/abs_ab6xfc4hb5/clone` failed. (See above for error)
The following problems have been found:
===== WARNINGS =====

clone/recipe/meta.yaml:67: host_section_needs_exact_pinnings: Linked libraries host should have exact version pinnings.
===== Final Report: =====
0 Errors and 1 Warning were found

Linter check found the following problems:
ERROR conda.cli.main_run:execute(125): `conda run conda-lint /tmp/abs_56bfoh1_5m/clone` failed. (See above for error)
The following problems have been found:
===== WARNINGS =====

clone/recipe/meta.yaml:67: host_section_needs_exact_pinnings: Linked libraries host should have exact version pinnings.
===== Final Report: =====
0 Errors and 1 Warning were found

Linter check found the following problems:
ERROR conda.cli.main_run:execute(125): `conda run conda-lint /tmp/abs_09py48xlwi/clone` failed. (See above for error)
The following problems have been found:
===== WARNINGS =====

clone/recipe/meta.yaml:67: host_section_needs_exact_pinnings: Linked libraries host should have exact version pinnings.
===== Final Report: =====
0 Errors and 1 Warning were found

Linter check found the following problems:
ERROR conda.cli.main_run:execute(125): `conda run conda-lint /tmp/abs_19kk0tagy7/clone` failed. (See above for error)
The following problems have been found:
===== WARNINGS =====

clone/recipe/meta.yaml:67: host_section_needs_exact_pinnings: Linked libraries host should have exact version pinnings.
===== Final Report: =====
0 Errors and 1 Warning were found

Linter check found the following problems:
ERROR conda.cli.main_run:execute(125): `conda run conda-lint /tmp/abs_639t4dgjy8/clone` failed. (See above for error)
The following problems have been found:
===== WARNINGS =====

clone/recipe/meta.yaml:67: host_section_needs_exact_pinnings: Linked libraries host should have exact version pinnings.
===== Final Report: =====
0 Errors and 1 Warning were found

Linter check found the following problems:
ERROR conda.cli.main_run:execute(125): `conda run conda-lint /tmp/abs_a7v2b0zb1o/clone` failed. (See above for error)
The following problems have been found:
===== WARNINGS =====

clone/recipe/meta.yaml:67: host_section_needs_exact_pinnings: Linked libraries host should have exact version pinnings.
===== Final Report: =====
0 Errors and 1 Warning were found


adds support for Swift async API

Adds support for Swift async/await as discussed in https://github.com/maticzav/swift-graphql/issues/51#issuecomment-1229222662
I also skipped async analogue for subscribe methods. Such methods have awkward result types like AsyncThrowingPublisher<AnyPublisher<DecodedOperationResult<T>, any Error>>.
Thus, I think it's more handy to just use Combine's "native" async binding .values for the returned publisher:
let subscription = try client.subscribe(to: Objects.Subscription.time())

for try await time in subscription.values {
     print(time)
}

I'd suggest that once you add test cases in the demos, you copy them to the documentation (or mention me under appropriate lines, and I can help you there).

Sure, sounds nice

@elfenlaid is there anything besides tests and demos that needs further attention?

@maticzav I think only demos are needed. A bit more testing won't hurt as well 🙇

Any chance to have it finished? :-)

Any updates on where this is at? It is complete async support? I was planning on adding it myself, but glad to see this PR seems to be close?

Sorry folks, feel free to edit this PR if you need to. It seems that all that is left is documentation and examples.
I can't handle it now 🙇

Sorry folks, feel free to edit this PR if you need to. It seems that all that is left is documentation and examples. I can't handle it now 🙇

Understood! I'll take a stab cause I need this 😬
Thanks for posting the update so I know 👍

GraphQLClient is not thread safe.
Its a problem with existing Combine APIs but even more so with async APIs.
I think its critical to be able to perform queries/mutations from different tasks.

Closing as this work will be continued on a new branch


[REQ]Remove the nececety of the install option.

Hello if you add the feature that adding install is not necessary u would save the human race billions of hours in the future. You could just run a check that checks if its one of the options and if it's not assumed it's the name of the program u want installed.
That's how yay from arch does it and yay is by far the best package manager like program.

Adhering to punctuation and grammar rules would also allow readers of this issue save countless brain cells. So please stop creating new issues needlessly add add your feedback to existing issues.

@NicTanghe I'm not sure what the feature ask is here.
Is this a suggestion to assume anything that isn't a "command" or "argument" is a package, and the implied behavior would be to install?
Something like winget vscode would attempt to install Visual Studio Code?
As we are still adding commands and arguments, I'd be concerned about a possible conflict. We've recently added additional aliases for commands to "shorten" the amount of typing necessary. We've recently added "i" for install as an example. It's also possible to use the argument completer for [tab] autocomplete.


Make sure the "Token label" can be displayed in one line

As a cupcake website content creator

I need to make sure the Token label is displayed in one line,

So that our adopters can see the Token label correctly.

Additional information

[ ] Status labels and Token labels work will be done via issue #227

Acceptance criteria

[ ] Token label can be displayed in one line on the live website.

@jeffchew I am not sure if you or Anna worked on this fix already?

This has already been completed @JennySanchez .
cc: @jacobottesen-dgc @RobertaJHahn


Regarding accuracy of current Oklab matrix used in Color.js

While playing with Okhsl and Okhsv, I noticed that the current XYZ matrix is not the best for Oklab.
The implementation notes provide both conversions to/from XYZ D65 and Oklab and to/from sRGB Linear and Oklab.
What is interesting to note is this:

The matrices were updated 2021-01-25. The new matrices have been derived using a higher precision sRGB matrix and with exactly matching D65 values. The old matrices are available here for reference. The values only differ after the first three decimals.

It appears that the XYZ matrices were not updated when the sRGB Linear matrices were. Or it appears that way as the results do differ. This is most noticeable around white. Color.js still uses the XYZ matrix:
> new Color('white').to('oklab').coords
[
  0.9999998095202896,
  -0.000010091754967744837,
  -0.00008610878004533529
]
> new Color('white').to('oklch').coords
[ 0.9999998095202896, 0.00008669812869505855, NaN ]

Now, notice the results when using the sRGB linear matrices (I've currently implemented it in my library). Now, I didn't bother just using what he has but calculated the inverse matrix without the rounding he does so roundtrips are good.
>>> Color('white').convert('oklab').coords()
[0.9999999934735462, 8.095285553011422e-11, 3.727390762708893e-08]
>>> Color('white').convert('oklch').coords()
[0.9999999934735462, 3.727399553519285e-08, nan]

Converting grayscale colors in RGB pretty far out -0x600 - 0x600 used for the RGB channels. The distance of a, b, and chroma from 0 is found below:
oklab: maximum a: 0.00000000023776158819543979916488751769065856933593750
oklab: maximum b: 0.00000010947514450521111939451657235622406005859375000
oklch: maximum chroma: 0.00000010947540269398270465060779175689442688224062294

You could definitely relax the epsilon you currently use ε = 0.0002.
If going the route of adding Oklab\Oklch to the CSS spec, it may be best to use the matrix with the best results. With that said, if it is desired to have a direct conversion from XYZ D65 instead of passing through XYZ D50 -> sRGB Linear -> Oklab, then it may be possible, but I didn't bother to look into that much at this time.
Thought this info might be useful.

If there is any interest, I've recalculated all the matrices. This includes the sRGB Linear to LMS and the XYZ D65 to LMS.
The LMS ** 1/3 to Oklab are unchanged. This brings the XYZ matrices up to date with the recent sRGBL calculations. The latter isn't really needed unless there is interest in implementing Okhsl and Okhsv.
It's possible I brought this whole topic up before, but this is the first time I think I bothered to go through the effort to see the difference in results. And definitely the first time I bothered to recalculate the XYZ D65 matrix.
Obviously, if the old XYZ matrices are preferred, this can all be disregarded, but generally, the higher precision, new matrices seem to give better results. Personally, I'll be using these matrices as it is the only way to get clean Okhsl and Okhsv roundtrip values if using Oklab values calculated with the XYZ matrix (I guess one could use the older sRGBL matrices in Okhsl and Okhsv, but there is nothing to gain using the lower precision matrices).  The script is found here https://github.com/facelessuser/coloraide/blob/master/tools/calc_oklab_matrices.py. Calculations are based on the D65 values of 0.3127, 0.3290.
===== sRGB Linear => lms =====
[[0.4122214708 0.5363325363 0.0514459929]
 [0.2119034982 0.6806995451 0.1073969566]
 [0.0883024619 0.2817188376 0.6299787005]]
===== lms -> sRGB Linear =====
[[ 4.076741661347994    -3.3077115904081933    0.23096992872942793 ]
 [-1.2684380040921763    2.6097574006633715   -0.3413193963102196  ]
 [-0.004196086541837079 -0.7034186144594495    1.7076147009309446  ]]
===== XYZ D65 Linear => lms =====
[[ 0.8190224432164319   0.3619062562801221  -0.12887378261216417]
 [ 0.0329836671980271   0.9292868468965546   0.0361446681699984 ]
 [ 0.04817719956604624  0.2642395249442277   0.6335478258136936 ]]
===== lms -> XYZ D65 =====
[[ 1.2268798733741557  -0.5578149965554813   0.28139105017721594]
 [-0.04057576262431372  1.1122868293970594  -0.07171106666151696]
 [-0.07637294974672142 -0.4214933239627916   1.5869240244272422 ]]
===== lms ** 1/3 -> Oklab =====
[[ 0.2104542553  0.793617785  -0.0040720468]
 [ 1.9779984951 -2.428592205   0.4505937099]
 [ 0.0259040371  0.7827717662 -0.808675766 ]]
===== Oklab -> lms ** 1/3 =====
[[ 0.9999999984505196   0.39633779217376774  0.2158037580607588 ]
 [ 1.0000000088817607  -0.10556134232365633 -0.0638541747717059 ]
 [ 1.0000000546724108  -0.08948418209496574 -1.2914855378640917 ]]

Following discussion in CSSWG https://github.com/w3c/csswg-drafts/issues/6642 fixed by https://github.com/LeaVerou/color.js/commit/b7c04458ed779c246edd875f1d9feb8915223f30 for which my thanks


goreleaser: correct version

It's not this, it's that. https://github.com/goreleaser/goreleaser-cross/releases/tag/v1.21.5

It's not this, it's that. https://github.com/goreleaser/goreleaser-cross/releases/tag/v1.21.5

Hmm, https://github.com/goreleaser/goreleaser-cross/releases/tag/v1.22.0 also exists?


Other players can see the floating text message when you emag something

Description
When you emag a door a message pops above your head The card zaps something in the airlock. Everyone else can see the same message.
Screenshots
Zapping an airlock:

Additional context
This is a problem because it can artifically give away the player using the emag.
There are already physical clues that someone is using the emag:

The emag is held in your hand(might be another issue because the emag currently has no in hand sprite).
There is an audible zap and buzz when the emag is used.
The airlock lights up and then goes dark before opening.

Players should have to be aware and specifically looking for this happening if they want to catch someone using an emag. The blatent The card zaps something in the airlock is artfical and very easy to spot even if you are not looking for it.
emags are supposed to be a stealth option, having a large amount of text float above your head for a few seconds is anything but stealthy and offputting.
Open to sugestions and opinions!

good idea will pr

other players cant see the message, tested on #20725 branch but that just passes type so doesnt matter
emagger pov

other pov

This was an error on my part then. I assumed that everyone else could see the text popup, since everyone can see other popups such as spilling and building messages, and assumed it was the same. I neglected to test it with two different accounts and just switched over to a new body when i did the testing. Glad to hear it is working as intended!

ok so close it :trollface:


Error migrating Kong OSS from 2.8.3 to 3.1.1.

Discussed in https://github.com/Kong/kong/discussions/11421

Originally posted by mayankmurari August 17, 2023
I am trying to migrate Kong from 2.8.3 to 3.1.1. Kong 3.1.1 pods are not coming up and below error is present in the logs.
Current Kong version is 2.8.3 with KIC 2.8.2 and Postgres DB.
 [emerg] 1#0: bind() to unix:/kong_prefix/worker_events.sock failed (98: Address in use)
 [notice] 1#0: try again to bind() after 500ms```</div>

@mayankmurari, is it possible for you to test 3.4.0, just to check if the issue has already been fixed? I remember we have done some changes there.

Hi @bungle
I was able to upgrade Kong from 2.8.3 to 3.0.1 without any issues and I running with Kong 3.0.1 now.
After that I tried upgrading from 3.0.1 to 3.1.1 and got the same error.
2023/08/28 12:29:50 [emerg] 1#0: bind() to unix:/kong_prefix/worker_events.sock failed (98: Address in use)
nginx: [emerg] bind() to unix:/kong_prefix/worker_events.sock failed (98: Address in use)
2023/08/28 12:29:50 [notice] 1#0: try again to bind() after 500ms

Then as per you recommendation I tried upgrading to 3.4.0 from 3.0.1 and it worked. So now as per Kong documentation below is the recommended upgrade path and if we jump from 2.8.3-->3.0.1-->3.40 is it still recommended?
2.8.x	Traditional	No	Upgrade to <IP_ADDRESS>, upgrade to 3.2.x, upgrade to 3.3.x, and then upgrade to 3.4.x.
[(https://docs.konghq.com/gateway/latest/upgrade/)]

Would also be interested to know if docs vs whats actually feasible are not in order w minimal stepping stones. maybe 2.8.x latest to 3.1.1.x to 3.4.0 possible?

Updating this thread with one more observation which we see while upgrading to 3.0.1 from 2.8.3 or downgrading from 3.0.1 to 2.8.3.
In both the cases we are observing 404 on Kong routes while our pods are migrating. Also there are no other errors in kong logs during this time and after few minutes all the 404s are automatically resolved.
Also we do observe Kong response headers showing version as 2.7.1 intermittently while migrating from 2.8.3 to 3.0.1 and vice versa. Once migration is over we do not see 2.7.1 version in response headers.

@outsinre Do you have an answer for @jeremyjpj0916 ?

@hanshuebner from my memory, this is a bug. Probably upgrading to newer versions can help.
Will locate the fix commit.

@outsinre So you mean upgrade from 2.8.3 to 2.8.4 and then to 3.4.1?

Seems already fixed in 3.0: https://github.com/Kong/kong/pull/9254. The root cause is the previous running socket file is not removed.
This is weird. If it is fixed in 3.0, why not 3.1.1.

seems related to internal ticket: https://konghq.atlassian.net/browse/KAG-328

@outsinre
I do see issue with 3.0.1 as well sometimes and after restarting kong pod it goes away.
Tried same with 3.2.2 and I see dangling sockets are getting cleaned up and "address in use" error is not coming.


AbandonedBaby.hasPattern is not a function

I try to run this code:
'use strict';
var AbandonedBaby = require( 'technicalindicators' ).AbandonedBaby;
var threeDayInput = {
	open: [31.10,26.18,27.47],
	high: [31.80,26.91,30.94],
	close: [28.10,26.18,30.62],
	low: [27.50,25.40,27.03]
}
var result = AbandonedBaby.hasPattern(threeDayInput);
console.log('Is Abandoned Baby : '+ result);

Unfortunately but it gives me an error: AbandonedBaby.hasPattern is not a function.
What do I do wrong here?
node.js v9.4.0
MacOS 10.12

@ProgrammingLife I'll take a look

My bad I haven't updated the examples after few changes,
try this
var AbandonedBaby = require( 'technicalindicators' ).abandonedbaby;
var threeDayInput = {
	open: [31.10,26.18,27.47],
	high: [31.80,26.91,30.94],
	close: [28.10,26.18,30.62],
	low: [27.50,25.40,27.03]
}
var result = AbandonedBaby(threeDayInput);
console.log('Is Abandoned Baby : '+ result);

https://runkit.com/anandaravindan/abandoned-baby

@ProgrammingLife reopen if not working.


chore: Add detector package initialization file

Pull Request
Description
This change introduces a new detector package by adding an empty __init__.py file. This establishes the detector directory as a Python package, allowing its contents to be imported and used in other parts of the project.
fixes #40

#39  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @JackPlowman and the rest of your teammates on  Graphite

Merge activity

Oct 17, 3:06 AM EDT: A user merged this pull request with Graphite.


Ability to view all rack diagrams for specific site on the same page

I think it would be nice to have a view of all racks from a specific site on the same page.
Eg. I can click on the Chicago site, and all my rack diagrams for Chicago are shown.
Lots of times I am looking for one or more devices, and I am not sure in which rack they are, or want to look at 2-3 racks from same site at same time.
Being able to view all rack diagrams for a site together on the same page would be very useful.

This is provided by navigating to Racks > Rack Elevations and filtering the racks by site.

Ahh, I was using older version (1.9.5) thats why I didnt see it.
After upgrading to 2.0.7 I see it now.
Thanks!


Webpack expects 'browser' export to be commonjs

It's actually a global export. We can find a better way to have webpack resolve things nicely.

Some reference, maybe?
https://webpack.js.org/guides/author-libraries/#final-steps

@2xAA this was resolved with #204 right?

Yes it was!


Removed unused parameter options in toJSON method

This is left in place to show users that the method will be called with 'options', we don't actually use it anywhere. (See #2201, #1535, #1616, #3228)


Does not work on ubuntu

@reisraff See https://github.com/danielbayerlein/zazu-battery#supported-operating-systems
Currently only macOS is supported. I would be happy about a PR!


Suggest latest version of the mock client

The mock client stable first stable version has been released, and
should be used because otherwise tests would be run with old versions of
the php-http libraries.

thanks!


Preserve folder structure of input files [Published Fork on NPM]

Published my fork here: https://www.npmjs.com/package/image-2-min
Feel free to use that one 😃

Came across the same problem as @djforth in #191 #192. Thought it would be a good idea to be able to call globby with a configurable cwd and changed the resolution of the input and output paths.
Files are now read from
path.join(opts.cwd, input)

and written to
path.join(output, input)

Tests
Directory structure
test
└─── fixtures
│   │   fixture.jpg
│   │   fixture.1.jpg
│   └─── folder
│         │   fixture.jpg

Testcases
test('output the file in {temp}', async t => {
    const files = await m(['**/*.jpg'], tmp, {plugins: imageminJpegtran(), cwd: 'fixtures/folder'});

    t.is(files.length, 1);
    t.is(files[0].path, path.join(tmp, 'fixture.jpg'));
});

test('output the file in {temp}/folder', async t => {
    const files = await m(['folder/**/*.jpg'], tmp, {plugins: imageminJpegtran(), cwd: 'fixtures'});

    t.is(files.length, 1);
    t.is(files[0].path, path.join(tmp, 'folder', 'fixture.jpg'));
});

test('output the file in {temp}/fixtures/folder', async t => {
    const files = await m(['fixtures/folder/**/*.jpg'], tmp, {plugins: imageminJpegtran()});

    t.is(files.length, 1);
    t.is(files[0].path, path.join(tmp, 'fixtures', 'folder', 'fixture.jpg'));
});

Thank you for this fix.

It's been more than a year on this issue, any chance it will make it to next release?

@antgonzales, yes. I'm currently reviewing it.

Sure be nice if this option would be merged in. I tried it locally and it seems to work fine.

allright.. @reedling78 @antgonzales @mtrules  i published my fork here https://www.npmjs.com/package/image-2-min

So what?

@stfsy I don't recall what I originally did, I also left the company where I came up with a solution, but I don't think a fork is the way to go. I think a better solution would be to write a gist that we could include in the documentation that shows how to create the behavior we want by leveraging node's api.
I don't have time at the moment right now, but I'll put it on my ticker to write something up. Feel free to write up a gist though if you have time.

@antgonzales no, it's definitely not the way to go. i'd be willing to create a new pull request based on your master branch with my original changes and tests, but only if you are ready to merge it^^. that's imho the way to go.

@stfsy ehhh I'm confused. I don't have a master branch. This isn't my project.

My Fork imagemin-keep-folder form imagemin.

support keep and customize folder structure

Install
$ npm install --save-dev imagemin-keep-folder

Usage
// as usual
const imagemin = require('imagemin-keep-folder');

imagemin(['images/*.{jpg,png}'], 'build/images', {

}).then(files => {
	console.log(files);
	//=> [{data: <Buffer 89 50 4e …>, path: 'build/images/foo.jpg'}, …]
});

// keep folder structure as input
const imagemin = require('imagemin-keep-folder');

imagemin(['images/**/*.{jpg,png}'], {

});
// for example
// images/a.jpg => images/a.jpg
// images/foo/a.jpg => images/foo/a.jpg
// images/foo/bar/a.jpg => images/foo/bar/a.jpg

// keep folder structure as input use imagemin-webp
const imagemin = require('imagemin-keep-folder');
const imageminWebp = require("imagemin-webp");

imagemin(['images/**/*.{jpg,png}'], {
  use: [
    imageminWebp({})
  ]
});
// for example
// images/a.jpg => images/a.webp
// images/foo/a.jpg => images/foo/a.webp
// images/foo/bar/a.jpg => images/foo/bar/a.webp

// customize folder structure as input use imagemin-webp
const imagemin = require('imagemin-keep-folder');
const imageminWebp = require("imagemin-webp");

imagemin(['images/**/*.{jpg,png}'], {
  use: [
    imageminWebp({})
  ],
  replaceOutputDir: output => {
    return output.replace(/images\//, '.webp/')
  }
});
// for example
// images/a.jpg => .webp/a.webp
// images/foo/a.jpg => .webp/foo/a.webp
// images/foo/bar/a.jpg => .webp/foo/bar/a.webp


Hangs when Button is clicked

I did nothing, downloaded and run the demo app.
Pressed on one of the buttons once and it wount detect anymore touches. This happens everytime I run the demo app

Fixed with the latest push.


[FIX] #252 ConversationWidget does not refresh

Summary
Fixing #252 by updating the similarityQuery if Smarti analysis results have changed
Other Information
The fix is a kind of crude. Maybe there is a more elegant option.
@Peym4n Do you have any ideas how to pass the similarityQuery into the ConversationWidget without using global vars?

This PR accidentally went against master instead of develop.