Unable to add/update keypad code

Hi, I am having a problem with adding/updating a keypad code using the MQTT. I followed the docu and ended up with this approach:

Can someone point me in the right direction, please?
Thanks a lot!

Looks fine. You have to send the "action" last ... maybe don't choose a code like 666666. The lock has certain checks built-in, for example no code can start with "12", to prevent people from using 123456 as a code. For me, something like 334455 worked.
Also, did you pass the lock PIN to NUKI Hub?

Looks fine. You have to send the "action" last ... maybe don't choose a code like 666666. The lock has certain checks built-in, for example no code can start with "12", to prevent people from using 123456 as a code. For me, something like 334455 worked.
Also, did you pass the lock PIN to NUKI Hub?

Thanks for the answer. I did provide the PIN code to the NUKI Hub and the lock itself works as expected. Regarding the keypad codes - can you please elaborate on the statement "You have to send the "action" last...". I am providing the JSON as a whole and AFAIK the order doesn't matter. Or am I wrong? Thanks!

I'm not really sure in which way you use JSON here, but the firmware doesn't accept JSON as input. Maybe this is specific to your smarthome solution, maybe elaborate a bit about your setup.
NUKI Hub subscribes to nodes in MQTT, the order you set those nodes is important: First set the parameters, then trigger the command.

I'm not really sure in which way you use JSON here, but the firmware doesn't accept JSON as input. Maybe this is specific to your smarthome solution, maybe elaborate a bit about your setup.
NUKI Hub subscribes to nodes in MQTT, the order you set those nodes is important: First set the parameters, then trigger the command.

Thanks for all the input. I finally managed to solve it. I didn't realize that those are separate topics and you need to publish each of them individually. Now it makes sense and everything works as expected :)

Actually, I was able to add a keypad code, but I am unable to disable a keypad code :( Steps I performed:

topic nuki/keypad/command/id with  payload
topic nuki/keypad/command/enabled with 0 payload
topic nuki/keypad/command/name with "" payload
topic nuki/keypad/command/code with "" payload
topic nuki/keypad/command/action with "update" payload

The keypad code stays enabled. Am I missing something, please?
Thanks.

Please have a closer look at the readme:
keypad/command/action: The action to execute. Possible values are add, delete and update
You're updating the code, not deleting it. To delete a node, use the "delete" command. Also the only node you have to set is id, but this is not the path "code_id", but a plain number you read from the "id" node within the codes subtree.

ok I see, so as far as I can see it should work then. Is it still not updating?

ok I see, so as far as I can see it should work then. Is it still not updating?

Finally, I managed to get it to work. My problem was that I encapsulated the values of the payload to quotes for string :) It works now as expected. Thanks for the help.

I am using Home Assistant, so right now I created a script to enable/disable keypad code that, based on parametrization, publishes all the topics with appropriate payload.

@kordys, could you maybe share the script? I'm having troubles updating the the nodes.
I always get "error" in the response. I suspected it was due to a code name with a whitespace, but this wasn't the case.

Here is what I'm using:
#!/usr/bin/env bash

name="User 1"
id="5"
code="376123"
enabled="1"

mosquitto_pub -t nuki/keypad/command/id -m $id
mosquitto_pub -t nuki/keypad/command/code -m $code
mosquitto_pub -t nuki/keypad/command/name -m "$name"
mosquitto_pub -t nuki/keypad/command/enabled -m $enabled
mosquitto_pub -t nuki/keypad/command/action -m update

Are you sure you got the correct id? You read it from the "id" node, not the name of the parent node (e. g. not "code_5", but the content of "code_5/id"). I know it's a bit confusing, but hard to wrap into an mqtt tree otherwise.

Yes, as you can see from the example, the id variable is only composed about the number, not the whole code_10.
I'm not sure if MQTT distinguishes between integers and strings, but I assumed that they are all strings, so the quotes won't matter.
In the example I just used the quotes around $name because it might contain whitespaces.

What I'm saying is you can't use "10" if the parent node is "code_10". you have to look at the content of the "id" node that's under "code_10" and use that as id. It can be and is most likely different than 10.

Hi, ok the id should be fine then, I just wanted to make sure.
"error" means for whatever reason the smartlock firmware didn't like some parameter that was sent to it. Can you get logs, mqtt logs should be fine in this case? Enable "Enable MQTT logging" on NUKI Hub side, on the broker side you need to get a history of what's published to the mqtt log topic.

Hi, sorry for the delay. I think I'll be able to test it at the end of June, I don't have access to it now.
I'll post here again.


Doesn't work on Mac Version 71.0.3578.98 (Official Build) (64-bit)

New Issue Checklist (tick off like this: [x])

[x] I checked existing issues (open and closed) for possible duplicates
[x] I can reproduce the problem on the latest stable version (not nightly!)

What is your browser?

[ ] Firefox
[x] Chrome

What is your operating system?

[ ] Linux
[x] Mac
[ ] Windows

Description (please include examples/screenshots where applicable)
Ctrl-clicking links and selecting "open link in new tab" opens the tab in the background.

Opening a link from the context menu is not supported, only clicking links directly.


[RN] Unable to get the package working...

Prerequisites

Version: 4.3.1
Are you running from source/master: y
Are you using a released build: probably
Operating system: macOS 11.4
Bits:

Step to reproduce
Step 1: Use React Native
Step 2: Try to use the package:
import { Iconoir } from 'iconoir-react-native';
/* ... */
<Iconoir color={'black'} height={25} width={25} />

Step 3: Fail miserably :(
Actual behavior
see screenshot below...
Any message or error
see screenshot below...
Additional info or screenshots
I'm not sure if it's the devDependencies, because it looked like they were not installed, so I manually installed them, but I still can't get the package working... Also my project is free of Typescript code maybe that could be the root of all of this?

@paescuj @PianoManDanDan

I took a quick glance but couldn't find the cause.
Unfortunately, I've no time to take a closer at the moment, but will do asap.

@paescuj I really appreciate your work bringing this package to React Native! Thanks in advance!

We should not include 'react-native-svg' in our bundle - it should be installed separately (like react & react-native).
I've published<EMAIL_ADDRESS>where this has been fixed.
Please see #56 for new installation instruction.
Tested with expo!


No Ads Blocked

I'm on an A501DL running Android 8.1.0 and I have no indication the app is doing anything, even on logcat.  Spotify plays all the ads, showing a distinctive notification for them too.  I tried the music note button in the app, and it will silence the playback when I ask, it just doesn't do it on its own.

seems like an issue with the notification listener. Did you properly enable it? You can try to disable and enable it in the system settings app ("notification access"). Another thing to try is to remove ad-free among the list of battery saved apps so that services aren't killed ("battery optimization"). Can you post the logcat output?

fixed in version #52


Fails during installation

Im getting following error during installation,

This happens regardless of whether i use
add https://github.com/ai-ku/Morse.jl
or
dev https://github.com/ai-ku/Morse.jl

Currently, I suggest to use git clone option for replicating and using
experiments.
On Fri, Feb 15, 2019 at 10:00 AM Eren<EMAIL_ADDRESS>wrote:

Im getting following error during installation,
[image: image]
https://user-images.githubusercontent.com/17107724/52864309-efadda80-314a-11e9-8df1-7403d14621e4.png
This happens regardless of whether i use
add https://github.com/ai-ku/Morse.jl
or
dev https://github.com/ai-ku/Morse.jl
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ai-ku/Morse.jl/issues/1, or mute the thread
https://github.com/notifications/unsubscribe-auth/AOpr8aVHOusV-fLmwqDSb2oMqGeRuVu3ks5vNsuagaJpZM4a90jv
.

Thanks

strictly pin*
On Fri, Feb 15, 2019 at 10:14 AM Ekin Akyürek<EMAIL_ADDRESS>wrote:

Since I strictly free package versions by Manifest.toml, add and dev
options will likely cause problems. I will resolve this after finalizing
package. However, by using activate ., you will use local environment and
versions will conform Manifest.toml. You will get exact same environment
that we use.
Best,
Ekin
On Fri, Feb 15, 2019 at 10:01 AM Ekin Akyürek<EMAIL_ADDRESS>wrote:

Currently, I suggest to use git clone option for replicating and using
experiments.
On Fri, Feb 15, 2019 at 10:00 AM Eren<EMAIL_ADDRESS>wrote:

Im getting following error during installation,
[image: image]
https://user-images.githubusercontent.com/17107724/52864309-efadda80-314a-11e9-8df1-7403d14621e4.png
This happens regardless of whether i use
add https://github.com/ai-ku/Morse.jl
or
dev https://github.com/ai-ku/Morse.jl
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ai-ku/Morse.jl/issues/1, or mute the thread
https://github.com/notifications/unsubscribe-auth/AOpr8aVHOusV-fLmwqDSb2oMqGeRuVu3ks5vNsuagaJpZM4a90jv
.

I keep open this issue, until it resolves. @Navhkrin if you have more questions/issues about setup please let me know

@ekinakyurek given that the current master works without Manifest.toml and with the latest julia / package versions, can we close this issue?


Add Manyfold to software listing

Manyfold is building out Fediverse features, so I thought it might be nice to add it here. The NodeInfo stuff is working, instances already work on fedidb (e.g. https://fedidb.org/network/instance/manyfold.floppy.org.uk), so I assume this is what's needed to provide an aggregation page for them?

Done!
https://fedidb.org/software/manyfold


Viewfinder in camera

I have a requirement to take photo with a viewfinder. Means, when launching the camera, there is a rectangle or square area to pick up the image,  rather than the full screen image.   I read the doc and code a bit, but not a clear view on this so far.
I am not sure if viewfinder is the proper term to describe in this project.  Is there any way to fulfil my requirement in the current framework?
Thanks for any comment.

This library in not designed for custom camera interface. In fact it uses only Intent for camera.
I think you should look at this


google-drive-ocamlfuse: 0.7.2 -> 0.7.21

Motivation for this change
Update google-drive-ocamlfuse and its dependencies ocamlfuse and gapi-ocaml to their latest version. In order for ocamlfuse to build, it has to be at its latest, untagged, commit.
Things done

Made sure google-drive-ocamlfuse is able to mount a drive folder locally

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

Built on platform(s)

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)

[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"

[x] Tested execution of all binary files (usually in ./result/bin/)

[ ] Determined the impact on package closure size (by running nix path-info -S before and after)

[ ] Ensured that relevant documentation is up to date

[x] Fits CONTRIBUTING.md.

The update of gapi_ocaml has been merged into master as 1771d468c499722ba6e10384c52da4fe7ebb31d2

@GrahamcOfBorg build ocamlPackages.google-drive-ocamlfuse


Could I use " this.register('myPost', Meteor.subscribe('blogPost', params.postId));" in Template Level?

Could I use  this.register('myPost', Meteor.subscribe('blogPost', params.postId)); in template level:
Template.myTpl.onCreated(function (){
    this.register('myPost', Meteor.subscribe('blogPost', params.postId));
})

Template.myTpl.onRendered(function (){
    this.register('myPost', Meteor.subscribe('blogPost', params.postId));
})

And then I check isSubReady(...) on Template.html

Nope you can't.
You can read more about this here: https://kadira.io/academy/meteor-routing-guide/content/subscriptions-and-data-management

Thanks, for your reply.
But now I don't clear about pub/sub (When)?
For example I use aldeed:tabular and Flow Router. I my flow router I use sub, but it have problem with large data (more then 10000 records).

You should not try to send a larger set of data. I hope rest of your question not suites here. Try Meteor Forums.


why the flutter_view example is slow?

this example contains a page half native and half flutter, the flutter part needs to wait for seconds before showing up.
Why is that? I suppose flutter should have good performance.

Steps to Reproduce

...
...
...

Logs

Can you please provide more details about the issue?
Debug builds are not representative for performance evaluation. Ensure you are using a profile or release build.

when I run the example, It firstly shown as the first image, after seconds it become the second image.
there's  an obvious delay.

Debug build or release build?
Please also add the output of flutter doctor

╔════════════════════════════════════════════════════════════════════════════╗
║ WARNING: your installation of Flutter is 51 days old.                      ║
║                                                                            ║
║ To update to the latest version, run "flutter upgrade".                    ║
╚════════════════════════════════════════════════════════════════════════════╝
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, v0.4.4, on Mac OS X 10.13.4 17E199, locale en-CN)
[!] Android toolchain - develop for Android devices (Android SDK 27.0.3)
! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses
[!] iOS toolchain - develop for iOS devices (Xcode 9.4.1)
✗ ios-deploy not installed. To install:
brew install ios-deploy
! CocoaPods out of date (1.5.0 is recommended).
CocoaPods is used to retrieve the iOS platform side's plugin code that responds to your plugin usage on the Dart side.
Without resolving iOS dependencies with CocoaPods, plugins will not work on iOS.
For more info, see https://flutter.io/platform-plugins
To upgrade:
brew upgrade cocoapods
pod setup
[✓] Android Studio (version 3.0)
[!] IntelliJ IDEA Community Edition (version 2017.3.4)
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
[!] VS Code (version 1.23.0)
[!] Connected devices
! No devices available
! Doctor found issues in 5 categories.

it's debug build

There is a new beta version out since a while and debug builds are not representative for performance comparison.


Cu 86bxfvvhg tabs denis popov

Description
The new React component for UI Kit (tabs) was added. It was created according the layout on Figma.
It is my first PR here, hope everything is well.

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

Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] Any dependent changes have been merged and published in downstream modules

@deniolp: congrats on your first PR for this app. 🎉 But please could you change the branch it targets to be main-next, instead of main? Thank you.

Sorry 😃, I’ve changed..


Mutating Webhook is being ignored

I have deployed k8s-image-swapper into my cluster and it looks like the webhook is being ignored. No log in webhook server regarding pod creation could be found.
Some details:
Platform: EKS, v1.24
swapper helm chart version: 1.8.0
swapper image version: 1.5.7
Values:
image:
  tag: "1.5.7"
awsSecretName: k8s-image-swapper-aws
config:
  ImageSwapPolicy: "always"
  ImageCopyPolicy: "immediate"
  source:
    filters:
      - jmespath: "contains(container.image, '.dkr.ecr.') && contains(container.image, '.amazonaws.com')"
      - jmespath: "obj.metadata.namespace == 'kube-system'"
  target:
    type: aws
    aws:
      accountId: "my-account-id-number"
      region: eu-west-1
      ecrOptions:
        tags:
          - key: cluster
            value: my-cluster

testing:
# executed:
kubectl apply -f https://k8s.io/examples/pods/simple-pod.yaml

# result
pod/nginx created

logs on webhook server:
{"level":"info","file":"/.k8s-image-swapper.yaml","time":"2023-11-20T18:53:24Z","message":"using config file"}
6:53PM DBG auth token set, schedule next token renewal expiryAt=2023-11-21T06:53:24Z renewalAt=2023-11-21T06:51:24Z
6:53PM INF Listening on :8443

@EinavDanielDX The config appears to be incorrect, e.g. there is no config prefix for ImageSwapPolicy.
Here is an example: https://github.com/estahn/k8s-image-swapper/blob/main/.k8s-image-swapper.yml
I think I need to find a better way of surfacing config issues.

Thank you for your response.
My configuration was set according to this helm chart, where I figured config prefix is meant to represent swapper configuration.
Anyway, I am using Kyverno instead now, its a bit more complicated but got the job done.
A note worth mentioning:
When using external CNI in EKS (for example, we are using Calico instead of default EKS CNI), there will be an issue with the communication between the K8S API server and the webhook. in such case it's best to expose the relevant services using
  hostNetwork: true
  dnsPolicy: "ClusterFirstWithHostNet"

Could be helpful to add this note to an installation\configuration guide

Right, I didn't realise it is the helm config 🤦🏼
That is good feedback. I will try to add this to the documentation. I haven't worked with EKS yet, so not sure where exactly this should go.

You can read about the issue with EKS here, it is relevant to any webhook service.
So in case a user of k8s-image-swapper is using EKS with 3rd party CNI, he should have the following applied in the deployment corresponding to the webhook
hostNetwork: "true"
dnsPolicy: ClusterFirstWithHostNet

Kyverno had documented it pretty well in their helm chart and I find it most convenient:
  # -- Change `hostNetwork` to `true` when you want the pod to share its host's network namespace.
  # Useful for situations like when you end up dealing with a custom CNI over Amazon EKS.
  # Update the `dnsPolicy` accordingly as well to suit the host network mode.
  hostNetwork: false

  # -- `dnsPolicy` determines the manner in which DNS resolution happens in the cluster.
  # In case of `hostNetwork: true`, usually, the `dnsPolicy` is suitable to be `ClusterFirstWithHostNet`.
  # For further reference: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy.
  dnsPolicy: ClusterFirst

@EinavDanielDX Awesome, thanks for that!

tl'dr:
kyverno + aws pull through cache could replaces the k8s-swapper, but its harder to configure and maintain.
Longer version:
I won't say its a 1:1 replacement, though you can achieve the same results combining Kyverno with AWS pull through cache
I'd say that Kyverno is much more robust solution for mutating whatever Kubernetes objects, not just pods.
It's more complicated to configure and could be used for lots of other scenarios beside swapping images.
Combining this with AWS pull through cache will solve the swapping-image issue for most of the repositories, as we are limited by AWS to use only the following registries:
Docker Hub (registry-1.docker.io)
Kubernetes (registry.8s.io)
Quay (quay.io)
GitHub (ghcr.io)
Azure (*.azurecr.io)
I would have been happy to implement k8s-image-swapper as it is a less complicated solution, though I failed and had to come with an alternative ASAP.
One more feedback I would suggest: With Kyverno I can mutate imagePullSecrets, so I can use my private registry with swapped images, given the secret exists in the namespace. If the pull secret is missing I will be prompted with a warning but the deployment will continue as planned. I think this feature is rather easy to implement as "optional" and will benefit many of this projects' users.


Please add the memory requirement estimate if run with cpu and vram request for run with GPU for each model in model list.

What are you trying to do?
I want to know if my computer can support the model or not, but currently no one can tell me.
How should we solve this?
Add the memory needed for each model tag if run on cpu.
Add the vram needed for each model tag if run on GPU.
What is the impact of not solving this?
All users had to download each model and test, this will be a big waste of resources.
Anything else?
No response

To provide memory (RAM) and video memory (VRAM) requests for each model in a model list, I'll assume you are referring to machine learning or deep learning models commonly used in AI applications. Keep in mind that these are approximate values and actual resource requirements may vary based on specific implementations, dataset sizes, and hardware configurations. Also, GPU memory requirements can vary based on the batch size used during training.
Here is an example list of models along with their approximate memory and VRAM requests:

ResNet50:

CPU Memory Request: Around 4-8 GB RAM
GPU VRAM Request: Around 2-4 GB VRAM

MobileNetV2:

CPU Memory Request: Around 2-4 GB RAM
GPU VRAM Request: Around 1-2 GB VRAM

BERT (Base):

CPU Memory Request: Around 8-16 GB RAM
GPU VRAM Request: Around 6-12 GB VRAM

YOLOv3:

CPU Memory Request: Around 4-8 GB RAM
GPU VRAM Request: Around 4-8 GB VRAM

GPT-3 (Small):

CPU Memory Request: Around 16-32 GB RAM
GPU VRAM Request: Around 8-16 GB VRAM

InceptionV3:

CPU Memory Request: Around 4-8 GB RAM
GPU VRAM Request: Around 2-4 GB VRAM

VGG16:

CPU Memory Request: Around 8-16 GB RAM
GPU VRAM Request: Around 4-8 GB VRAM

LSTM (Long Short-Term Memory):

CPU Memory Request: Around 8-16 GB RAM
GPU VRAM Request: Around 4-8 GB VRAM

These are rough estimates and can vary based on factors such as batch size, input data size, model complexity, and specific hardware configurations. It's always a good practice to monitor resource usage during model training to optimize resource allocation and performance.

Context (KV cache) memory estimates would be particularly useful, because models have wildly differing KV cache sizes, which cannot be guessed from model size. This should include information about effective context size, which is usually default (see #1005), but it can be modified in model file. In order to set context size in front-ends correctly, it would be useful to know how many tokens fit in 1GB.


smarter color reducer?

Hi Andras,
Would it be possible to have a smarter color reducer?
Converting the attached png

to svg with strokewidth 0 scale 1 numberofcolors 8

results in ~4 colors visually (I'm sure pixels are slightly different):
white, yellow, brown, red
The blue in crown was converted to brown. Instead, black outlines could be converted to brown (closer visually).
Actually, if the colors are close visually, I'd prefer to have just one instead of two separate black and dark brown (the one with most pixels).
What do you think?

Also, there is some red in wings, instead of only black.

Hi,
Yes, I see your problem and agree with you that the color quantization is very basic in imagetracerjs.
I tried these with better results, but still not great:
node nodecli s.png colorsampling 0 numberofcolors 8

node nodecli s.png colorsampling 0 numberofcolors 27

You can experiment with the color quantization options, but for best results, you can try to get a palette from another color quantization library (See below), and use that in imagetracerjs:
// colorquantcycles should be 0, because we have the palette already
var options = { colorquantcycles:0, strokewidth:0, numberofcolors:8 }; // Any option can be omitted which will be set to the default

// Adding custom palette. This will override numberofcolors. TODO: get the actual palette from another tool
options.pal = [{r:0,g:0,b:0,a:255}, {r:0,g:0,b:255,a:255}, {r:255,g:255,b:0,a:255}];

// Using these options and appending the SVG to an element with id="svgcontainer"
ImageTracer.imageToSVG(
	'panda.png', /* input filename / URL */

	function(svgstr){ ImageTracer.appendSVGString( svgstr, 'svgcontainer' ); }, /* callback function on SVG string result */

	options /* custom options object */
);

There are many color quantization algorithms and libraries, I recommend searching GitHub or the web for "javascript color quantization" or similar. Here are some suggestions, but I haven't tried these.
https://github.com/leeoniya/RgbQuant.js
https://github.com/miguelemosreverte/imagetracerjava <- Octree based color quantization, could be backported

Thank you, Andras!


Badge doesn't get added

After completing https://arcade.makecode.com/beta--skillmap#github:riknoll/skillmap-branch/rewards I'm not seeing the badge added to my user profile

This is intended, the repo is unapproved


Carthage support

please support Carthage..
I know it wont be easy because its dependencies do not support Cartharge :(
but any change?

I'll have a look what is the simplest way to make it work. Worst case I'll have to provide a custom repository for libsodium.

@shamatar thank you and love you

Added support for carthage and swift package manager
github "BANKEX/web3swift" ~> 1.1

I get an error Missing required modules: 'BigInt', 'CryptoSwift', 'PromiseKit', 'PromiseKit', 'Result', 'Result', 'secp256k1'


Please add 'A1 Radio'

Website is: www.a1radio.co.uk
Main stream: https://a1radio.zapto.org:8000/shd
United Kingdom

Done! Thank you.


forgot password

need to add forgot password in signin page please assign me @pr label hactoberfest and gssoc ext

Hey Akshat,
I noticed that our sign-in page could benefit from having a "Forgot Password" option to enhance user experience. I'd like to implement this feature and ensure it's available for users who need it.
Task:
Add a "Forgot Password" link on the sign-in page.
Ensure the link redirects users to the password recovery process.
Could you please assign me this task with the @pr label? Additionally, I'd like to tag this for Hacktoberfest and GSSoC.


DRAFT: Aws checkpoint

DON'T MERGE
It's horrible -- needs discussion.
Just saved here in case hard drive crashes.

Closed - was for information - no further action required.


Configurable heuristics parameters

This PR makes it possible to configure some of the heuristics parameters used during the analysis with a JSON file.
The file can be specified with the --heuristics PATH_TO_CONFIG parameter.
The argument is optional, and parameters that are not specified are set to a default value.
Most of the parameters can be set, with a few exceptions:

kSourceSinkTreeWideningHeight, kMaxNumberLocalPositions, and kPropagationOutputPathTreeWideningHeight cannot be specified at runtime, as they are needed at compile time.
kPropagationMaxOutputPathSize, kPropagationMaxOutputPathLeaves are used in Frame. Adding a pointer to the Heuristics instance would require many non-trivial modifications to the codebase.
kPropagationMaxCollapseDepth is used in BackwardTaintEnvironment and BackwardTaintTransfer. Adding a pointer to the Heuristics instance would require many non-trivial modifications to the codebase.

I think it would still be possible to make kPropagationMaxOutputPathSize, kPropagationMaxOutputPathLeaves, and kPropagationMaxCollapseDepth configurable at runtime, but this might result in a less polished interface for the Frame, BackwardTaintEnvironment, and BackwardTaintTransfer classes.
The Model class required non-trivial modifications to have access to the Heuristics object.
Nevertheless, this changes did not impact the codebase too much.
The documentation has been updated.

One more thing, regarding these:

kPropagationMaxOutputPathSize, kPropagationMaxOutputPathLeaves are used in Frame. Adding a pointer to the Heuristics instance would require many non-trivial modifications to the codebase.
kPropagationMaxCollapseDepth is used in BackwardTaintEnvironment and BackwardTaintTransfer. Adding a pointer to the Heuristics instance would require many non-trivial modifications to the codebase.

Not sure if I missed something, but it looks like all instances of these configs would still be using the constant value defined in Heuristics rather than what is configured in the JSON? In that case, let's make these ones not-configurable for now?

Thanks everyone for the useful comments! I fixed the nits, and now the PR should be ready. Let me know if you want me to squash the fixes. 🙂


Close #46: Separate lexer stage for parsing keywords

Closes #46

Note to self: We should really implement some form of polymorphism/subclassing for Lexer and TrackLexer.
Could try do that manually in C, but this might also be the reason to switch to C++...

Note to self: Looks like we're not consistent with setting the Lexer's finished and error flags in all cases where a subroutine fails. Need to think about when this is appropriate and how to potentially simplify this.

Note that the keywords suggested here are not implemented yet in this PR, but may for example with the rebase of #44 .


[WIP] Support JIRA and dynamic repositories

Now GitTools.IssueTrackers supports JIRA, we can improve GitReleaseNotes to support it as well (should be out of the box, but doing some testing and minor improvements).

I am confused...
How does the files that have changed enable JIRA support?

Or is this a Work in Progress?

It's WIP ;-)

Coolio, just wanted to check :-)
Was curious what you do here, as I will do something similar in GitReleaseManger :-)

Then we probably need some more code, but it will look exactly like this:
https://github.com/CatenaLogic/JiraCli/blob/develop/src/JiraCli/Services/VersionService.cs

It uses local references (that's because I need GitTools.Core and GitTools.IssueTrackers released first). @JakeGinnivan can you release a beta for these 2 packages?


Feature/commands

Added checks when there is no stream or streaming a different game than "osu!".
Added new settings commands!
Added beatmap request cooldown (30 secs).
Ignore self requests unless channel is in test mode.

Closes #6 , closes #5, closes #2


Fixing tags

#51  👈
main

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

Join @tazarov and the rest of your teammates on  Graphite


add podcast support to content meta data scraper

sharing a podcast from the top ios and android applications should result in proper meta data being scraped and displayed. as part of this task, you may need to complete https://github.com/daviswhitehead/shayr/issues/33.

review some samples from a few of the top ios and android apps to make sure scraper is working properly
https://www.google.com/search?ei=HfeCW_g_8KH9BsarmOgF&q=top+podcast+apps&oq=top+podcast+apps&gs_l=psy-ab.3..35i39j0i67j0l3j0i22i30l5.33815.34222..35007...0.0..<IP_ADDRESS>......0....1..gws-wiz.......0i71.TZaZgliO9Dk


Delete redis pvc on merge into main

Description of change
Delete redis pvc on merge into main
Currently have 260 of these sitting around. This should
help future tidy up
Notes for reviewer
kubectl get pvc | grep redis | wc -l

the failure of the GHA on this branch was due to redis being in the name and the fact that when  the redis chart detects this it calls the pvc master-0, not redis-master-0. its pretty rare but we could emulate this logic but does not seem worth it


Explain this project for the new users

Hello i have a interesting in this project, can you make a explain or video explain with motivations and how do use this project ?

Good Suggestion, we will do it in few days ^^

Hello i have a interesting in this project, can you make a explain or video explain with motivations and how do use this project ?

Hi~ Sorry for the late! We developed a project aptos_e2e_test_tool based on web3_aptos_ex:
Here is the repo link:

https://github.com/NonceGeek/aptos_e2e_test_tool

And here is the video for introduction:

https://youtu.be/L5wAM1X9O30

It's glad to chat with me on telegram(@leeduckgo) , if you would like to contribute or use our sdk or tool!


Cleaning up MapControls

We have taken an initial step in using a shared MapControl. Now we have to clean this up further and move more code to the shared project.
Some things I want to achieve:

No code in the shared MapControl that is not used at all. Actually this a general rule for all software. There is 'no nice for later'. If you need it later, then add it later.
All code in the shared MapControl should actually be used by all four platforms.
There should be no #if's in the shared MapControl except for the usings. EverAll code should be equal to all. If it is specific for a platform then add it to that platforms MapControl.

First I am going to remove the methods that are not used at all.

Are you now ready with deleting functions? With this way, there wouldn't much progress in the shared MapControl. To create a new function in shared MapControl, you have to implement it on all platforms. But how many people know all platforms (WPF, UWP, Android, iOS and so on)? If you know WPF and implement there a new function, you wouldn't look, if such a function is already implemented in all other MapControl except WPF. And if someone creates a new MapControl, should we than remove all shared functions until s/he as implemented them all in the new MapControl? Isn't it better to have a default function in the shared code, and when someone comes and thinks, that it is usefull for this or that MapControl alter the code of that MapControl?
And the #if's in the code: sometimes a native control has the function already, but all others not. What to do with the override or new?
I used this functions for the Xamarin.Forms implementation. So I have to reimplement the functions, you are deleted, in my MapControl. Is this right?

Perhaps a larger part of the rotation logic could be move to the shared project, and there will be other parts too, but this is not something I actively work on now. We do it for the code we work on for some other feature.


Technical blog on implementing full datascience pipeline

Checklist

[X ] You have read the Contribution Guidlines before creating this PR.
[X ] You created a branch from dev branch
[ X] Blog follows Blog Guidelines.
[X ] Checked for all grammatical errors in the blog.
[X ] Checked for any duplicate blog entry.
[X ] You PR is raised on dev branch and not onmaster.

Author Details for Blog Post Entry
id: Rinki Nag
bio: Hi, I'm Rinki, an AI enthusiast and currently 🔭 working with the AIML team. at Fractal analytics. I love experimenting and learning new technologies ⚡
github:eaglewarrior
stackoverflow:
linkedin:https://www.linkedin.com/in/rinki-nag/
medium:
twitter:

@puneetsingh24  please review this one .Thanks

@puneetsingh24  and @vyasriday  is my blog published in loginradius website

I just have to make a separate folder named with my blog and upload all the code @puneetsingh24

@puneetsingh24  opened a pull request #83


Relative symlink test on Windows isn't working

I tried enabling the "can be invoked" test in standalone_test.dart on Windows when the dart2native executable exists (because dart-lang/sdk#37897 is no longer a factor), but the relative symlink executable assertion failed with:
ProcessException: The filename, directory name, or volume label syntax is incorrect.

Command: C:\Users\travis\AppData\Local\Temp\dart_test_2cca631b-f072-11e9-8356-00155d619c92\foo-relative

I can't figure out what's going wrong a priori, so it will probably require debugging on a real Windows device.

I dug into this and determined two issues:

The symlink itself needs to be named .bat or Windows won't know it's an executable. This is easy enough to solve.

When a script is invoked through a symlink on Windows, its understanding of "the script's location"—which we access through the metavariable %~dp0—points to the symlink rather than the original .bat file. We could work around this by repeatedly parsing the output of dir /a %0 to follow symlinks and eventually get to the concrete file, but that would require a lot of fairly complex batch scripting. I don't have the expertise or desire to do that and there's not a strong expectation that executables work through symlinks on Windows anyway, so I'm going to mark this as "wontfix" for now. If someone else comes along and wants to fix this in the future, I'd be more than happy to accept a patch.


Remove Markdoc from i18nNotReady in docgen script

What kind of changes does this PR include?

Something else!

Description
Removes the Markdoc integration from the set of pages not ready for i18n in the generator script for integration READMEs.
#3578 changed this manually but we need this change to make sure the CI bot doesn’t try to flip it back every day.

Going to live on the edge and merge before checks pass because this script is not even being run in those checks. 😎


added test cases for publicly exposed functions

in reference to https://github.com/ApoorvSaxena/lozad.js/issues/61


NK1 updates from the official HL7 v2 to FHIR mapping

User Story:
As ResportStream, I want to follow the HL7 org's HL7 v2 to FHIR mapping as close as possible, so our FHIR data conforms to a community created spec.
Description/Use Case
We followed the published HL7 v2 to FHIR spec to generate our HL7 v2 to FHIR and FHIR to HL7 v2 conversions.  The original mappings are published via their HL7 v2 to FHIR mapping pages. HL7 has published updates to the mappings via published via Google Docs (these Google docs are now the official delivery of the mappings).  We want to update any mappings used by the UP now while we are not processing data as doing it later can impact data already processed by the pipeline.
Risks/Impacts/Considerations

The result of changing the mappings while we are processing data in UP is the same as updating the COVID 19 schemas.  Replaying a piece of data may fail as the mappings are different, or a mapping change while data is being processed may cause an issue in the data as well. A future plan to be able to update these mappings is needed, such as adding mappings to the HL7 v2 to FHIR conversion first for 60 days, then to the FHIR to HL7 v2 after.
Mappings labeled as under construction can be a risk, so bring up to the team for review before implementing them.
Skip any HL7 fields that we do not have data for, otherwise you have nothing to test with.
Do not change the source HL7 v2 test data for the integration tests as they are based on real data and we want to keep those as pristine as possible.

Dev Notes:

You need to carefully inspect our mapping docs vs the new mappings.
Comparing the mappings for a segment will take you down to inspecting the mappings for data types which are reusable in other segments, so coordinate with other developers inspecting other segments to limit duplicate work.
You will also need to verify extension names. E.g. some are at the original website linked from the resource that uses them.  We may be able to reduce the number of reportstream.cdc.gov or ibm.com extensions being used in favor of official extension names.
Some of the mappings are not possible either because of limitations in our conversion library or due to repetitions having multiple values for data that otherwise if supposed to go into just one FHIR property (e.g. Provenance to store multiple Observation values). See the comments in our mapping docs, but you may need to ask the team for feedback on those.

Acceptance Criteria

The NK1 segment ReportStream mapping docs are updated with the latest HL7 v2 to FHIR mapping changes as appropriate. We need to make sure we are still functionally lossless, so some mappings may not be appropriate for this mission.
The Linux4Health NK1 HL7 v2 to FHIR UP conversion mappings are updated with the latest HL7 v2 to FHIR mapping changes as appropriate.
The RS NK1 FHIR to HL7 v2 UP conversion mappings are updated with the latest HL7 v2 to FHIR mapping changes as appropriate.
The Data Tests integration test data is updated to reflect the changes to the conversion mappings.

The RelatedPerson mapping has not changed either in the definition or in the library, so no changes are needed there. Still investigating changes on Patient.


Add context menu for text editing

This adds missing context menu in text editing.
As Electron does not have built-in context menu, the following package was used: https://github.com/sindresorhus/electron-context-menu
macOS example:

Discussion:
https://github.com/jgraph/drawio-desktop/issues/204

Thanks for this one, but my vote is no, unfortunately. It's just rather minor a feature to add for an extra dependency. Sorry.


Adding Feedback Form

@Priyaaa1 Currently, the page is lacking a feedback form .i can create feedback form for your page .
Kindly assign me this under GSSOC'24

Can you please assign me the issue .

I agree to follow this project's Code of Conduct
I'm a GSSOC'24 contributor
I want to work on this issue

Can you please assign this problem ?


Work on setting up Code Mirror component

[ ] Download npm library
[ ] Work on setting it up
[ ]Familiarize yourself with properties/methods


Cannot redisplay this drawable, its resources have been disposed.

From time to time this issue arises, it's coming from SelfDisposingBitmapDrawable.SetIsDisplayed()
IMO it's easy to fix. We should make additional checks when getting the image from cache.

Should be fixed by 0708dbfc6106df44356b81d8dc18ec45955019b5

@daniel-luberda Could you play with the heavy list and tell me if you still get it?
I cannot reproduce it anymore.

@molinch Couldn't reproduce it either.

Ok let's close it for now then


chore: pin event-routing-backends to 5.2.2

Description
This PR pins the version of event-routing-backends

Thanks for the pull request, @Ian2012!  Please note that it may take us up to several weeks or months to complete a review and merge your PR.
Feel free to add as much of the following information to the ticket as you can:

supporting documentation
Open edX discussion forum threads
timeline information ("this must be merged by XX date", and why that is)
partner information ("this is a course on edx.org")
any other information that can help Product understand the context for the PR

All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here.
Please let us know once your PR is ready for our review and all tests are green.

I was holding off for your next changes in there, but this is fine. :) Going to need a rebase then I'll merge it.

@Ian2012 🎉 Your pull request was merged!  Please take a moment  to answer a two question survey so we can improve your experience in the future.


Updated application files

Used Bootstrap :|

You are supposed to ignore the node_modules while committing, read more about .gitignore file, also you are not supposed to commit the js file... The main idea is to commit the necessary stuff, folders/files that are autogenerated (like node_modules are generated when you npm install) or transpiled files (like js files generated when you run tsc) should be ignored.

Also don't change the main files. Create a folder for your app, and create a link to redirect to it from the main app folder.

Few notes:
1- You are not supposed to change the main files, add a new folder with your app. like this PR https://github.com/mrtensai/typescript-git-training/pull/5
2- You are not supposed to check in the js file, since it's generated using tsc.
Add it to the gitignore file, also check in the previous PR.
3- Try to work on your code style, spacing before and between operators, space before curly braces, indentation and stuff...
4- you don't need jQuery, bootstrap or any other library.
5- I left you few comments in the ts file.


Add missing accepts TypeScript signatures

Currently methods like req.accepts and others only have one signature defined in the Request interface. We should support all possible variations like it is in Express.

hello, can I work on this?

Yes, you can. Please go ahead and raise a PR once done.
On Oct 4, 2023, at 5:04 AM, Róbert Kovalčuk @.***> wrote:

hello, can I work on this?
—
Reply to this email directly, view it on GitHubhttps://github.com/tinyhttp/tinyhttp/issues/396#issuecomment-1746449286, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKO6F3NB3CAFPBZX7ENBMSTX5URDDAVCNFSM6AAAAAA2VT5G5KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBWGQ2DSMRYGY.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

@Robert-Kovalcuk I assigned you to the issue, feel free to PR

Hi @Robert-Kovalcuk, has there been any update?

Hey is the issue still relevant?


write script to create analysis-ready table ("ForC-simplified")

As a first step for most data analyses and to facilitate use of the database, I'd like to create a script that does some preliminary data manipulation and outputs a single spreadsheet containing the fields that will most commonly be used in analysis.
Script should do the following:

[ ] convert all measurements to units of C (use IPCC default C=0.47*biomass).
[ ] resolve duplicate records (following guidelines of issue #68)
[ ] potentially, combine variables to calculate others according to a set of equations governing relationships among variables (issue #67).

Fields to be contained in this table will be defined through issue #69.

I have created a folder for and described this spreadsheet here.

Yes, that's correct. Thank you!
One other minor thing for now: Please rearrange column order to put the fields from measurements first (so first field is measurement.id.

ok done!

Thank you!!

@ValentineHerr, Please modiffy the code such that true (1) values in management.other.ID do not get counted towards true values in managed field of ForC-simplified.

@teixeirak, what do you mean by "true (1) values" ?

value = 1, following convention that 1=true, 0=false.

Ok I fixed that in this comit: 6e6f337
That affected 8 records. Let me know if that doesn't sound right.

Sounds right, thanks.

@ValentineHerr, I added a field to MEASUREMENTS that flags suspicious records that shouldn't be used in analyses until they are checked. Could you please modify your code to exclude any records with flag.suspicious=1? There are currently only two records in this category.

@teixeirak, at what stage should I deal with this ?
1- When creating ForC_simplified? (removing all flag.suspicious=1)
2- When doing analysis and average per Biomes ?
Note, I remove managed and disturbed sites at stage 2 (the 2 fields are created in stage 1).

We remove suspicious records when creating ForC_simplified


Threshold to mask

Heya! Thanks for working on vips and for being so helpful to people like me that come around with questions on how to use it. I appreciate that a lot!
I'd like to accomplish the following thing:

Load an image (jpeg most likely)
Create an image masking out the brightest 1% and the lowest 30% of the image.
Get the resulting non-masked images in a color space of my choice

nips2 has this really handy Image_select_item.Threshold_percent_item.action, but I don't know how to translate that to lua code. I also didn't find a lot of documentation about working with color spaces. For example, which color space are the pixels in after I loaded the jpeg? I'd like to work in a color space that has a good mapping of chroma / hue values to human perception (OKLab / CIELab / HSLuv would be great), how is the support for that in vips / lua-vips? Are there any examples, documentation or tutorials to take a look at to answer these questions?
Thanks again for any help!

Hi @heyarne, I'm glad it's useful.
Masking by percent is best done with a cumulative histogram. I would make a histogram, transform it to a cumulative, then search for the 1% and 70% points to get your two thresholds. Use the relational operators (more, less etc.) to make an alpha.
libvips uses the interpretation tag to keep track of how pixel arrays should be interpreted. JPEGs load as either RGB or CMYK, depending on the image type. You can do image:colourspace("lab") to transform whatever it is to CIELAB.

... I made a tiny demo prog:
#!/usr/bin/luajit

vips = require "vips"

local image = vips.Image.new_from_file(arg[1])

-- find the normalised cumulative histogram from the monochrome image
-- we could use the RGB image, but we'd get an alpha for each channel, and we
-- want just one alpha
local mono = image:colourspace("b-w")
local hist = mono:hist_find():hist_cum():hist_norm()

-- find the threshold which "percent" pixels are brighter than
function threshold_percent(hist, percent)
    -- build the column and row profiles
    local col, row = hist:more(percent / 100 * hist:width()):profile()

    return row:avg()
end

local low = threshold_percent(hist, 1)
local high = threshold_percent(hist, 70)
print("1% thresh is", low)
print("70% thresh is", high)
local alpha = mono:more(low):andimage(mono:less(high))

-- to CIELAB and add the alpha
image = image:colourspace("lab"):bandjoin(alpha)

image:write_to_file(arg[2])

I can run it like this:
$ ./try341.lua ~/pics/nina.jpg x.v
1% thresh is	9
70% thresh is	178

You need a file format that can handle float CIELAB with alpha, of course. I can view with vipsdisp:

that's all i needed, thanks!


Dead link on "Working with Throttling"

Description:
Dead link on "Working with Throttling" section on https://apim.docs.wso2.com/en/latest/getting-started/overview/#traffic-manager
Steps to reproduce:
Content Positioning in Documentation:

Link: https://apim.docs.wso2.com/en/latest/getting-started/overview/#traffic-manager

Heading (& Step):

Under Traffic Manager, click on "Working with Throttling"

Any other reference:

Optional Fields
Related Issues:

Suggested Labels:

Suggested Assignees:

Fixed in https://github.com/wso2/docs-apim/pull/772/commits/475980cb6a6cd02f0872cfc4d91b4adf506deb56


NUsight Reaction View

Having a reaction view (like @TrentHouliston mentioned in #627) with reaction statistics about individual reactions and aggregate statistics would be sweet. We could perhaps even have charts indicating the performance of regular reactions.

Each reaction also tells you what reaction triggered it etc, so it's possible to make full on graphs


Error (SKErrorDomain error 0.) when fetching subscriptions with .getSubscriptions()

Version of react-native-iap
v.4.5.3
Version of react-native
v.0.62.2
Platforms you faced the error (IOS or Android or both?)
iOS (currently not developing for Android)
Expected behavior
Retrieve a list of subscriptions from Apple with each subscription productId, price, etc.
Actual behavior
I get the following error:

Tested environment (Emulator? Real Device?)
Emulator
Steps to reproduce the behavior
In App.js

const iapSkus = [ 'ProductId1', 'ProductId2', 'ProductId3' ] // These match the product ids defined in Appstore

  useEffect(() => {
    fetchSubscriptions();
  }, []);

  const fetchSubscriptions = async () => {
    try {
      const subscriptions = await inAppPurchase.getSubscriptions(iapSkus);
    } catch (e) {
      console.log('Error fetching subscriptions', e);
    }
  };

When I first created this part of the app, everything was working as expected. Both on device and emulator. Now for some reason I am getting this error. Any ideas on what could be missing/what could be causing this?
I've also checked and made sure the bundle Identifier in Appstore and in Xcode matches.
I've also checked and made sure that the 'In-App Purchase' capability in xcode is enabled.

What is your ios emulator version? The iap is having a problem in ios 14 especially in the emulator followed by the issues.


Specification of options for multiple Paths

Since there is currently no propagation of options for plots (see #638), I quite often find myself specifying the same plotting options for one specific element, say a Curve, and all elements which might wrap this element, such as Overlay or Layout. This results in quite some repetition when done using the %opts-magic:
%opts Curve [width=900, height=500] Overlay [width=900, height=500] NdOverlay [width=900, height=500]

Ideally, I would like to be able to specify multiple paths at once for which the following styles should be applied, like so:
%opts Curve Overlay NdOverlay [width=900, height=500]

This, I think, is legal right now, it just has different semantics: The options are only applied to NdOverlay, while for both Curve and Overlay this is a no-op. Since I do not expect the specification of no-ops to be of any use, it should not be too bad to change it.
I would be happy to get my feet wet with holoviews and implement this myself. If you can point me into the right direction, I will get started.

Thanks for filing this issue!
This feature is one I have considered before and would be happy to support. The place I would implement this is here in the OptsSpec parser. Here is a little demo of how it works currently:
from holoviews.ipython.parser import OptsSpec
OptsSpec.parse('Image [width=100] (s=3) Curve [width=100] (s=3)')
{'Curve': {'plot': Options(width=100), 'style': Options(s=3)},
 'Image': {'plot': Options(width=100), 'style': Options(s=3)}}

What we need for this feature to work is for this to happen:
from holoviews.ipython.parser import OptsSpec
OptsSpec.parse('Image Curve [width=100] (s=3)')
{'Curve': {'plot': Options(width=100), 'style': Options(s=3)},
 'Image': {'plot': Options(width=100), 'style': Options(s=3)}}

Currently the return value is this:
 {'Curve': {'plot': Options(width=100), 'style': Options(s=3)}, 'Image': {}}
You shouldn't need to worry about the pyparsing stuff in that file and can probably just copy the dictionaries as appropriate at the end of the parse method (if you detect empty dictionaries).
One worry is about the semantics as I think this is a bit of a special case:

This copying semantics should only apply to plot options.
I guess supplying style options 'interrupts' this copying behavior so if you want to copy plot options but still specify style options you would need to do something like this:

%%opts Image Curve [width=100] Image (s=3)

(note that Image is specified once for the plot options then again just for the style options)

Here is another example to consider:

%%opts Image Curve [width=100]  Spikes (lw=3)  Histogram RGB [height=200]

Here I would expect only width=100 shared between Image and Curve, Spikes would only have the lw=3 style option and then height=200 would be the only plot option for Histogram and RGB.
Anyway, hope that gets you started! I don't think it should be too hard to implement and would be a useful feature. The main reason I wouldn't want to accept this feature is if we find it breaks backwards compatibility somehow (I don't think it does).

As discussed on gitter, option grouping should work for all types of options, such that
%opts A B {x} [y] (z)

is strictly equivalent to
%opts A {x} [y] (z) B {x} [y] (z)

and also generalizes to more than two pathspecs.
Additionally, we noticed that option definitions are not properly merged right now:
hv.ipython.parser.OptsSpec.parse("Image (c='b') Image (s=3)")
{'Image': {'style': Options(s=3)}}

While we're at it, this should also be fixed to result in
{'Image': {'style': Options(c='b', s=3)}}

I've added the issue to the milestone so we don't forget to mention it in our release notes. But since this is now implemented I'll close.


Detect the latest executor version at build time

Description
fixes: https://github.com/creek-service/creek-system-test-gradle-plugin/issues/17
Adds a gradle task to determine the latest executor version at build time and to write this version to a resource file.
The plugin then loads this resource file and uses this as the default executor version.
Reviewer checklist

[ ] Ensure relevant issues are linked (description should include text like "Fixes #")
[ ] Ensure any appropriate documentation has been added or amended

Coverage decreased (-1.9%) to 98.148% when pulling be280b2c40dd3b82189573eef29a7227938f4823 on executor_ver into 853aade1d5e2493ca253d7fcf14b206dccd255d3 on main.


Uncaught exception in QuizWizard located in ella/polls/views.py

There is no problem with adding new quiz(test) via newman.
But opening url of the quiz raises this exception. The exception is IndexError: list index out of range.

Is everything created properly prior to opening quiz page?
Please attach full traceback.

Well, this is mostly an polls issue after all which should act more error-prone and definitely not raise an exception when there is no question available.
Please, post this issue to ella-polls project instead of this one as no refactoring related to plugins will probably occur here anymore. This also relates to newman which cannot be responsible for quiz page not being validated properly. All validation should occur in models and admin.py / newman_admin.py where not possible .
And please, have a look at markdown syntax supported thorough GitHub (blue link saying "GitHub Flavored Markdown") and try to make the traceback more human-readable posting it as code block or something.

Closing this, as it's not related to Ella anymore.

Okey ;)


[SUPPORT]: Data loss with Concurrent operations on Hudi MOR

Describe the problem you faced
While running two concurrent operations on Hudi MOR Table , we are facing data loss.
To Reproduce
Steps to reproduce the behavior:

Run upsert at 10:30 AM on Husi MOR Table
Run cleaner utility on same MOR table 10:31 AM while upsert is still going on

Note: Hoodie Cleaner is running as a separate process
Hudi MOR Table configuration:
{
        'hoodie.table.name': asset,
        'hoodie.datasource.write.recordkey.field': id,
        'hoodie.datasource.write.table.name': asset,
        'hoodie.upsert.shuffle.parallelism': 400,
        'hoodie.keep.max.commits': 50,
        'hoodie.keep.min.commits': 49,
        'hoodie.compact.inline.max.delta.commits': 6,
        'hoodie.clean.automatic': 'false',
        'hoodie.clean.async': 'false'
}

Cleaner Utility:
/usr/local/bin/spark-submit
--conf spark.hadoop.fs.s3a.impl=org.apache.hadoop.fs.s3a.S3AFileSystem
--conf spark.hadoop.fs.s3a.aws.credentials.provider=com.amazonaws.auth.InstanceProfileCredentialsProvider,com.amazonaws.auth.DefaultAWSCredentialsProviderChain
--conf spark.hadoop.fs.AbstractFileSystem.s3a.impl=org.apache.hadoop.fs.s3a.S3AFileSystem
--conf spark.jars.packages=org.apache.spark:spark-avro_2.12:3.0.1,org.apache.hadoop:hadoop-aws:3.2.2,com.amazonaws:aws-java-sdk-bundle:1.12.180,org.apache.hudi:hudi-spark3.3-bundle_2.12:0.13.0
--class org.apache.hudi.utilities.HoodieCleaner /home/ubuntu/hudi-utilities-bundle.jar
--target-base-path s3a://bucket_name/table_path/reference/
--hoodie-conf hoodie.cleaner.policy=KEEP_LATEST_COMMITS
--hoodie-conf hoodie.keep.max.commits=50
--hoodie-conf hoodie.keep.min.commits=49
--hoodie-conf hoodie.cleaner.commits.retained=48
--hoodie-conf hoodie.cleaner.parallelism=400

Expected behavior
All data should be available in Hudi MOR Table.
Environment Description

Hudi version : 0.13.0

Spark version : 3.3.1

Storage (HDFS/S3/GCS..) : S3

Running on Docker? (yes/no) : No

@ketkidev Can you post the table configuration and timeline during that time?

@ad1happy2go
Table Configuration:
{
        'hoodie.table.name': asset,
        'hoodie.datasource.write.recordkey.field': id,
        'hoodie.datasource.write.table.name': asset,
        'hoodie.upsert.shuffle.parallelism': 400,
        'hoodie.keep.max.commits': 50,
        'hoodie.keep.min.commits': 49,
        'hoodie.compact.inline.max.delta.commits': 6,
        'hoodie.clean.automatic': 'false',
        'hoodie.clean.async': 'false'
		'hoodie.datasource.write.operation': 'upsert',
		'hoodie.datasource.write.precombine.field': 'cdc_timestamp',
		'hoodie.datasource.write.table.type': 'MERGE_ON_READ',
		'hoodie.cleaner.policy': 'KEEP_LATEST_COMMITS',
		'hoodie.schema.on.read.enable' : "true",
		'hoodie.datasource.write.reconcile.schema' : "true",
		'hoodie.compact.inline' : "true",
		'hoodie.datasource.write.keygenerator.class': 'org.apache.hudi.keygen.NonpartitionedKeyGenerator'
}

@ketkidev Also can you share your cleaner configuration?

@ad1happy2go When you are asking for Cleaner config what exactly are you looking for?
We have deployed cleaner utility on EC2 instance and running with below command:
/usr/local/bin/spark-submit
--conf spark.hadoop.fs.s3a.impl=org.apache.hadoop.fs.s3a.S3AFileSystem
--conf spark.hadoop.fs.s3a.aws.credentials.provider=com.amazonaws.auth.InstanceProfileCredentialsProvider,com.amazonaws.auth.DefaultAWSCredentialsProviderChain
--conf spark.hadoop.fs.AbstractFileSystem.s3a.impl=org.apache.hadoop.fs.s3a.S3AFileSystem
--conf spark.jars.packages=org.apache.spark:spark-avro_2.12:3.0.1,org.apache.hadoop:hadoop-aws:3.2.2,com.amazonaws:aws-java-sdk-bundle:1.12.180,org.apache.hudi:hudi-spark3.3-bundle_2.12:0.13.0
--class org.apache.hudi.utilities.HoodieCleaner /home/ubuntu/hudi-utilities-bundle.jar
--target-base-path s3a://bucket_name/table_path/reference/
--hoodie-conf hoodie.cleaner.policy=KEEP_LATEST_COMMITS
--hoodie-conf hoodie.keep.max.commits=50
--hoodie-conf hoodie.keep.min.commits=49
--hoodie-conf hoodie.cleaner.commits.retained=48
--hoodie-conf hoodie.cleaner.parallelism=400

Had a discussion with @ketkidev. The issue started happening after they switch the job from inline clean to clean using cli.
We suspect that The archival and cleaner configuration might be creating this problem. Trying to reproduce with the same configuration but didn't noticed any data loss yet. Will continue trying to reproduce.

@ketkidev This was not reproducible. I still keeping this issue open, Let us know if you face this again. Thanks a lot.

@ad1happy2go As suggested, tried apply  --hoodie-conf hoodie.cleaner.policy.failed.writes=LAZY but still found data loss in few tables.


Updates for Debug

This will fix the debug options as well as did some validating to make sure that this works as intended (it does).

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/promiseofcake/workflow-queue?version=dev:7ba912928a50223a89754280dd61c837f4dede0b

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/promiseofcake/workflow-queue?version=dev:ce4dfd9fd953f79d7967376722a040a67077ae07

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/promiseofcake/workflow-queue?version=dev:f84212da13796bf556b6fa6e13022d9c68d2f5ca

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/promiseofcake/workflow-queue?version=dev:da9c07f1813165fa2b6f902c50068d6eceba93de

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/promiseofcake/workflow-queue?version=dev:ae15c31a09997e21c60f16d4dec6d16b47ca4698

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/promiseofcake/workflow-queue?version=dev:637c37a921e15dedc179de78f957099ad79cb59b

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/promiseofcake/workflow-queue?version=dev:c146a706a1f2bb8edbae6343614f91e14aba041f

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/promiseofcake/workflow-queue?version=dev:d97a4df66d2c65c43d7e9e07d5886536bcfd7df8

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/promiseofcake/workflow-queue?version=dev:99c0f04a07a5fa675ab3d24684091e8a537a217c

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/promiseofcake/workflow-queue?version=dev:a00a803df01fe47012352baf4d8ccd40d8397328

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/promiseofcake/workflow-queue?version=dev:fcddbc45f3415fa4bd4d589a7668f39663ab93c2

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/promiseofcake/workflow-queue?version=dev:0f2f2536ce2e5e8f1abfb08f356fcc1a48adfcde

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/promiseofcake/workflow-queue?version=dev:4e4761f2f1d4f4ec5f56633711e15c566656f57f

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/promiseofcake/workflow-queue?version=dev:1eb2c5134300290fba3e0f1e8a36b2bb4cde2508

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/promiseofcake/workflow-queue?version=dev:da00851ae7fc734938d44a64eaa0e4e2f319b44f

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/promiseofcake/workflow-queue?version=dev:85d619f04de68e40b6dabd14aa4d6ca2de494579

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/promiseofcake/workflow-queue?version=dev:9d042f8fb4c895e7803f5c1b8f8a9506e7728f25

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/promiseofcake/workflow-queue?version=dev:6b9d13a9fc9af02196ce25e8d8ea9b457f36adde

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/promiseofcake/workflow-queue?version=dev:6f9be4ab43f3bb10fb1658a448053471c4d667b6

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/promiseofcake/workflow-queue?version=dev:7d21678fb260bf29c40ffd6e8ffb18358b7ce0b3

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/promiseofcake/workflow-queue?version=dev:d929f635020408ee31cbb97468fe7f18b06d5bdc

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/promiseofcake/workflow-queue?version=dev:90ab4d93e074af3e07a8ab41ae06f7c14c37f4d6

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/promiseofcake/workflow-queue?version=dev:90ab4d93e074af3e07a8ab41ae06f7c14c37f4d6


clippy: resolve all warnings about useless format!()

r? @alexcrichton
(rust_highfive has picked a reviewer for you, use r? to override)

@bors: r=dwijnand

:pushpin: Commit 2cd9cce6e345f1f15c32a13e5098ff02aae97cf4 has been approved by dwijnand

:hourglass: Testing commit 2cd9cce6e345f1f15c32a13e5098ff02aae97cf4 with merge 638d82522a644813697d49a52eb1548526e00672...

something wrong with appveyor?
Build cloud 'lw-host-14-d' does not support 'Visual Studio 2015' image.

@bors retry

:hourglass: Testing commit 2cd9cce6e345f1f15c32a13e5098ff02aae97cf4 with merge dd196e024e4cb87bbf967389fa70f465ae82cc2e...

:sunny: Test successful - status-appveyor, status-travis
Approved by: dwijnand
Pushing dd196e024e4cb87bbf967389fa70f465ae82cc2e to master...


Error When Upgrading from v5.11 to v6.0

Summary of problem or feature request
When I run 'composer require yajra/laravel-datatables-oracle:~6.0', I get the error;
' laravel/framework v5.0.33 requires ext-mcrypt * -> the requested PHP extension mcrypt is missing from your system.'
I have mcrypt installed and composer is working well with other Laravel projects
Code snippet of problem

Problem 1
- laravel/framework v5.0.33 requires ext-mcrypt * -> the requested PHP extension mcrypt is missing from your system.
- laravel/framework v5.0.33 requires ext-mcrypt * -> the requested PHP extension mcrypt is missing from your system.
- laravel/framework v5.0.33 requires ext-mcrypt * -> the requested PHP extension mcrypt is missing from your system.
- Installation request for laravel/framework == <IP_ADDRESS> -> satisfiable by laravel/framework[v5.0.33].

System details

OSX Yosemite Version 10.10.5
PHP 5.6.19
Laravel Framework version 5.0.33
Laravel-Datatables Version 5.11

Hmm not sure about this one but I think this is not related to the package. Issue raised was on the framework itself.
Anyways, can you check if mcrypt is enabled on your php cli config file? Are you using homestead?

@yajra No am not using homestead. mcrypt is enabled in my php.ini and other mcrypt operations are fine

@lawrence615, the error above is not related to the package. Better ask on Laravel forums and related sites. Thanks!


5.1.0 rocketmq version update

What is the purpose of the change
rocketmq version update to 5.1.0
Todo's

MQAdminExtImpl have some unimplemented methods.

@Oliverwqcwrw Please check this

@Oliverwqcwrw Please check this

I recommend handling all compilation errors before reviewing

@Oliverwqcwrw Please check this

@Oliverwqcwrw @zhangjidi2016 please let me know if any futher change is needed when available.

@Oliverwqcwrw original issue is still pending we have to fix it asap and that depends on this PR.
If this will be reviewed and merged then I can start working on others too.

Let's wait patiently for other reviewer's opinions

@Abhijeetmishr ,Thanks for your contribution :-)


Some tests fails when run in parallel

Sometimes, (randomly) a test fails when all tests are run together, but run individually they all pass.

View test execution results in this gist

Closing as a dup of #1400


[iOS] Null reference exception from GetPositionAsync

[iOS] Null reference exception from GetPositionAsync
Version Number of Plugin: 4.0.0-beta4
Device Tested On: iPhone 5s
Expected Behavior
Position to be returned, normal GetPositionAsync behaviour.
Actual Behavior
A null reference exception is being thrown.
Steps to reproduce the Behavior
Nothing special.
readonly int _gpsSearchTimeout = 20000;
var locator = CrossGeolocator.Current;
locator.DesiredAccuracy = 50;
position = await locator.GetPositionAsync(_gpsSearchTimeout);

Sorry I can't give you more useful information. That's all I get from the exception.
If it helps these are my info.plist keys:
<key>NSLocationAlwaysUsageDescription</key>
<string>Can we use your location?</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string>Can we use your location?</string>

Please upgrade to https://www.nuget.org/packages/Xam.Plugin.Geolocator/4.0.0-beta12 as it is the only valid beta


Improve Scroll Bar UI

Description
The current Scroll bar Ui has a very basic layout and outdated design. The Thumb and Track has outdated and default styling.  Enhancing the color scheme of Thumb and Track, improving spacing and modernizing the scroll bar design would greatly improve the user experience and website present
https://github.com/user-attachments/assets/37ac81fd-ad7d-401e-bc62-5ef8ffd7ac85

@GarimaSingh0109 please assign this issue to me


Admin Brief command

Adds a new admin command
Allows the user to specify an outfit set, name, and mob (or any entity) to transfer your mind to temporarily (until the command is rerun).
Makes it significantly easier and faster for admins to temporarily appear as an entity in the round.
:cl:

add: Added a Brief command for admins, allowing transferring to and from a mob of choice with a custom outfit and name.

Please configure your IDE to lint your code.

Is there any reason to use this over controlmob?

Is there any reason to use this over controlmob?

speed

@DEATHB4DEFEAT are you coming back to this

maybe, I'm a bit busy currently


Fix #97 text overflow

Fix #97

Thanks for taking a look at this! I decided to fix both axes at once in https://github.com/Fauntleroy/tandem.io/commit/a8d7142ad755bf49bd2886751a60ae7867b17e92


[Feature] Add documentation for Theme object

What problem does this feature solve?
Add documentation for Theme object.
Currently documentation doesn't contain any information about theme properties or how it's applies to the chart.
What does the proposed API look like?
Just documentation like this

Theme source - self explanatory
Theme builder - interactive helper app
Most don't need anything else.

Options object has examples too, but it's documented.
Is that source an exhaustive reference of all available properties? Does it explain how different styles cascade? Does it explain how to set styles for different series types?
Figuring out how the theme works is a constant experimentation process.


WIP: HBitcoin integration

Please review those you don't agree with.
Do not merge until issue https://github.com/stratisproject/Breeze/issues/20 is resolved.

Thank you for this PR.
I have a few general comments (as well as some inline):

Private fields shouldn't have an underscore but they should start with a lower case, as in the other classes of the project.
I didn't put the specifications in place yet but I wasn't expecting anyone to submit a pull request on these classes.

All the WalletJob methods: startAsync, SendTransactionAsync etc.. I don't think we're there yet. We need to have a wallet that can receive blocks and transactions and work without running its own block puller, mempool and connecting to nodes. The full node is already doing that. Hbitcoin can still do all of these things but the wallet and the walletJob need to be separated.

Who are Alice and Bob?

We agreed that Load should be a POST.

success = true and success = false in Json response is redundant as we have HTTP error codes for that. This is one of the things I want to change in the APi document. I guess we don't need a SuccessModel class.

I'm a bit surprised to have received a pull request on this code, I didn't know anyone else was working on the endpoints.

This PR shouldn't be called a refactoring. Refactoring are typically agreed in advance. They respond to a need to improve the internal workings of a solution and don't add functionalities. Please only submit pull requests on work agreed in advance to 'add' functionalities rather than to 'fix' someone else's code.

Done. https://github.com/stratisproject/Breeze/pull/21/commits/02e2d75be563981e2ebf459f3457f75667b7a043
Comment on this later...
The two default account of the safe.
The TumbleBit whitepaper was based on these actors.
The TumbleBit proof of concepts (C++, Python) also hardcoded these actors.
NTumbleBit (C#) also hardcoded these actors, so it's pretty much official terminology now.
"We agreed that Load should be a POST."
Sorry I misremembered, because, DevOtion had a comment on slack, something like "is the load already GET?". So I assumed, anyway changed it.
Fixed it: https://github.com/stratisproject/Breeze/pull/21/commits/374ae2da4330dcc00352f85a228ca29b29838de1
Comment on this later...
(^-^)
We are at the beginning, the code should move fast without much administrative overhead. Anyway I am just exploring the project and write code where it needed. I'd like to keep this organic process for now, if that's ok for you.

I dived into the code and continued the implementation, but I'm afraid I'm not able to go through and implement the API without changing things those might not be compatible with your vision for the API. I am also not a fan of to procrastinating on every little detail at this stage.  So I close this PR, but leave it up for reference to you.


Remove restriction to V2

There is a discrepancy between this page and https://ui5.sap.com/#/topic/965ef5b2895641bc9b6cd44f1bd0eb4d

Hi Dirk, thanks for your contribution. We appreciate it and will look into this.

Hi @drktfl ,
I've made some changes to the topic that will hopefully resolve the confusion.
The change will be visible with release 1.110.
Thanks!

Hi @drktfl ,
Could you please check if the topic is fine now for you?
If so, please close this issue.

thanks! looks fine now.


How  to specify the previous workload to promote/reject.

In the section “To promote/reject the green workload created by the above snippet, the following YAML snippet could be used:” It  is not clear how I can specify the previous workload to promote/reject. Could  you please answer and elaborate in the Readme.
Is ${{ event.run_id }} system generated value or something that developer need to specify.
Should developer somehow ensure that ${{ event.run_id }} for create and corresponding reject yaml spec?
Another minor typo in https://github.com/Azure/k8s-deploy#to-promotereject-the-canary-created-by-the-above-snippet-the-following-yaml-snippet-could-be-used-1
In line action: reject #substitute reject if you want to reject
Should be action: promote

What “idle”label means? Should I do something to attract attention to the question?

You just need the manifests passed to both actions to be the same. event.run_id is generated and it's a way to specify a specific tag with artifact substitution.
If artifact substitution is used, the tag needs to be the same when promoting / rejecting.


Remastering ISO Documentation

I am remastering the ISO to add kernel parameters to grub.cfg.  I found a couple of differences between the process I had to take vs the documented process.  This was done on Ubuntu 16.04.
Problem: grub-mkrescue: warning: Your xorriso doesn't support `--grub2-boot-info'
Solution: sudo apt-get install xorriso
Problem:  (grub-mkrescue -o k3os-new.iso iso/ -V K3OS), the -V option only outputs the version info, it does not set the volume ID or create the ISO.  This will display a warning when booting from the ISO.
Solution: grub-mkrescue -o k3os-new.iso iso/ -- -volid K3OS

Fixed by #165


Idea: fallback to summary for other post types?

I tried to federate this bookmark before I remembered there's no e-content in my bookmark posts. The logs appeared to create the post with no content, but it doesn't show up in Mastodon (which is fine, better than a blank post):
{
  "published": "2022-12-03 14:53-0800",
  "url": "https://fed.brid.gy/r/https://gregorlove.com/2022/12/bookmarked-farewell-twitter/",
  "@context": "https://www.w3.org/ns/activitystreams",
  "type": "Create",
  "object": {
    "targetUrl": "https://colly.com/articles/farewell-twitter"
  },
  "id": "https://fed.brid.gy/r/https://gregorlove.com/2022/12/bookmarked-farewell-twitter/",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "actor": "https://fed.brid.gy/gregorlove.com"
}

I know the docs don't mention p-summary, but I tried it as an experiment. That sent the update:
{
  "published": "2022-12-03 14:53-0800",
  "summary": "Bookmarked: Farewell, Twitter",
  "url": "https://fed.brid.gy/r/https://gregorlove.com/2022/12/bookmarked-farewell-twitter/",
  "@context": "https://www.w3.org/ns/activitystreams",
  "type": "Update",
  "object": {
    "targetUrl": "https://colly.com/articles/farewell-twitter"
  },
  "id": "https://fed.brid.gy/r/https://gregorlove.com/2022/12/bookmarked-farewell-twitter/",
  "to": [
    "https://www.w3.org/ns/activitystreams#Public"
  ],
  "actor": "https://fed.brid.gy/gregorlove.com"
}

Maybe BF could support p-summary? Would that drop the bookmarked link, or would that still appear since BF shows it as the targetUrl?
Current mf2:
{
    "type": [
        "h-entry"
    ],
    "properties": {
        "summary": [
            "Bookmarked: Farewell, Twitter"
        ],
        "author": [
            "https://gregorlove.com/"
        ],
        "url": [
            "https://gregorlove.com/2022/12/bookmarked-farewell-twitter/"
        ],
        "published": [
            "2022-12-03 14:53-0800"
        ],
        "bookmark-of": [
            {
                "type": [
                    "h-cite"
                ],
                "properties": {
                    "name": [
                        "Farewell, Twitter"
                    ],
                    "url": [
                        "https://colly.com/articles/farewell-twitter"
                    ]
                },
                "lang": "en",
                "value": "https://colly.com/articles/farewell-twitter"
            }
        ]
    },
    "lang": "en"
}

Yeah sadly summary is complicated in AP: Mastodon [ab]uses it for their "content warning" feature. Lots more background in https://github.com/snarfed/bridgy-fed/issues/47. I don't actually know Mastodon or the CW feature well enough, but @fluffy-critter and others do. Happy to tweak things if we're confident we know what we want!


Client credentials with user id

Currently, I'm using the client_credentials grant to give access to specific clients but I need to way to associate the client id and client secret to an user of my application (REST API)
I looked for the owner_id on the oauth_sessions which can be get with Authorizer::getResourceOwnerId() but for this grant it's set up to the same client id. I looked for other options to set this up and I have two ideas but I'm not sure if there is a better way to handle this with the package.

Create a table oauth_app_client where I store the relation between the user id and the client id, and everytime I try to get the user id, I'll need to call getResourceOwnerId and then look in the table for this id but I don't think it's a good choice because I'll have to do a lot of calls everytime.

Generate a client id with my user id but hashed which it's insecure because it will be easy to decode

When the user request the access token, add the relation of client and user_id then I'll retrieve the id and get the information, but I think it's not the best way to handle this in another storage.

What it's the best way to do it with the package?
Thanks

This already works out of the box, try setting up the password grant. This grant will work for users.

@vinkla Yes, I know, but for this case, I don't want them to use their username and password to get an access token, I just want them to use their client credentials and with this they will only have access to their account just like PayPal or Twilio does with their APIs, where Ibonly need to add the client id and secret on the request and they already know which user is trying to authenticate.

The client credentials isn't connected to every specific user. The client id and secret is specific for your application. In order to login users you've to use something to check if they are valid users or not.

Yes, I think that's the issue because I don't want them to give me their username and password to authenticate.
But, if I create some sort of association between the client and a user as I mentioned in my first idea, it would be a bad idea? Or if I want to achieve the kind of authentication, what do you recommend to do using this package?

Yes, it would be a bad idea to not follow the spec. You've to authenticate the user somehow. What kind of information do you get from your users?

Just to give you some context, I want to create an API using this grant which can be used inside my clients platform without worrying for username and password, their developers will only have to put the client id and client secret and they would be able to make requests.
Currently, I'm only receiving the client id and secret but I can get the username and password, but again, I don't think it's a good idea because they will have to store somewhere their credentials to send on the request for the access token.

So you will give out client credentials to third-party apps?

Yes, the idea it's have a section in my Web application for authenticated users to create an "app"  which will generate the client id and secret,  that app will have an association with the authenticated user that create that app and every request using those credentials will be limited to that user only, in this way, it's easier for them to integrate the API, besides that, they will be in charge of securing their credentials.

Yeah, then I would suggest adding a user_id to the clients table.

Ok, the last part of the question (I hope I'm not getting out of context), which one would be a better idea?

Add the user id column and for each call of the Authorizer to getResourceOwnerId, create another call to the database to get the user id? Maybe extending the Authorizer to modify that method to get the user id on that call?

Create a custom grant which will put the user id as owner id on the oauth_sessions table?

Thanks

No, the API should work with the grants just as it does otherwise you don't follow the spec.

Ok, that sounds good, then I'll add the user_id in the oauth_clients table, and I'll extend the Authorizer to get the user_id when I call Authorizer::getResourceOwnerId, thanks a lot for your help.

Ok, sounds good, then I'll add the user_id column on the oauth_clients table, and I'll extend the Authorizer to get the user_id when I call Authorizer::getResourceOwnerId, thanks a lot for your help

Authorizer::getResourceOwnerId() method shouldn't fetch the user_id from the oauth_clients table. It should only fetch the owner ID if you use the correct access token. Modifying this is at your own risk. This won't be secure if you can fetch data with the client credentials.

Mmm ok, then it would be better to implement something else to retrieve the user_id from the table after I retrieve the owner_id with the Authorizer::getResourceOwnerId()?

Mmm ok, then it would be better to implement something else to retrieve the user_id from the table after I retrieve the owner_id with the Authorizer::getResourceOwnerId()?

Yes.

Thanks a lot @vinkla for the help, I'll do it.

Anytime!

I had the same problem and didn't manage to find something. Thank you very much @OscarRPR and @vinkla !!


Check if OpenCV expects input and output GpuMat to have the same types when using basig arithmetic CUDA kernels

Done, it does, therefore we can skip asking for the output type in many cases, since it will not change.


Creation multiple users and databases

Execute for test:
docker run --name some-postgres -p 5432:5432 -e POSTGRES_USERS="user1:user1pass|user2:user2pass|user3:user3password" -e POSTGRES_DATABASES="database1:user1|database2:user2|database3:user3" -e POSTGRES_CONFIGS="work_mem:15MB|fsync:off|full_page_writes:off" -d xtimon/postgres

Is there anything could be done to merge this? In case there's a reason this is not going to be merged – what is the official / proper way for adding new users / databases?

Related issues: https://github.com/docker-library/mysql/issues/213, https://github.com/docker-library/mysql/pull/86, https://github.com/docker-library/mysql/pull/18, https://github.com/docker-library/mariadb/pull/63.
So, the answer is to just put scripts in /docker-entrypoint-initdb.d/:

https://github.com/docker-library/mysql/pull/86#issuecomment-188316391
https://github.com/docker-library/mysql/pull/18#issuecomment-232431316

The official way for adding new users / databases is the same. I didn't broke it. All the environments POSTGRES_PASSWORD, POSTGRES_USER, POSTGRES_DB work as expected.

@yosifkit
The init script doesn't really solve my issue. Databases and usernames can be static but I'd much rather have random passwords which I can pass to my other containers.
Now I get I'd be able to generate a script before calling docker compose, but having it be more integrated would be nicer. I want to pass some Docker-compose variables to the DB which this PR would enable.
I also get you're annoyed having to answer similar questions all the time, but this PR is very much different from anything you're linking and solves a different problem. I hope you can look at it from my perspective and re-evaluate the value of this PR.

The point @yosifkit is making is that this PR can be implemented entirely as a drop-in script in /docker-entrypoint-initdb.d, and as such we'd rather not add additional behavior to an already overly complex initialization script we maintain as a delta over what upstream provides.


Update Title

Not sure how to update title via pull request,    but the title needs to be updated to something more SEO friendly than  BarterDEX GUI :  https://barterdex.com
Try this:
BarterDEX:  The World's First Decentralized Atomic Swap Based Exchange by Komodo Platform
Official Site : https://www.komodoplatform.com/en/technology/barterdex

updated readme file.
please close this issue if all is good.


Fastapi 0.76.0 fails to start with python 3.9

First Check

[X] I added a very descriptive title to this issue.
[X] I used the GitHub search to find a similar issue and didn't find it.
[X] I searched the FastAPI documentation, with the integrated search.
[X] I already searched in Google "How to X in FastAPI" and didn't find any information.
[X] I already read and followed all the tutorial in the docs and didn't find an answer.
[X] I already checked if it is not related to FastAPI but to Pydantic.
[X] I already checked if it is not related to FastAPI but to Swagger UI.
[X] I already checked if it is not related to FastAPI but to ReDoc.

Commit to Help

[X] I commit to help with one of those options 👆

Example Code
from fastapi import FastAPI

app = FastAPI()

@app.get("/")
def read_root():
    return {"Hello": "World"}

Description
When running FastAPI 0.76.0 with Python 3.9 the exception mentioned in this Starlette issue is thrown: https://github.com/encode/starlette/issues/1474.
Operating System
Linux
Operating System Details
Arch Linux
FastAPI Version
0.76.0
Python Version
Python 3.9.12
Additional Context
In Starlette 0.19.0 a version dependency for typing-extensions was added, see this PR: https://github.com/encode/starlette/pull/1475. After installing that version of typing-extensions manually everything seems to work as expected.

This PR updates the dependency for Starlette to 0.19.0, which has the dependency included for a newer version of typing-extensions: https://github.com/tiangolo/fastapi/pull/4488

Fastapi 0.77.0 has been released with an updated dependency for Starlette 0.19.0: https://github.com/tiangolo/fastapi/releases/tag/0.77.0