Requiring using the launcher is silly

Failing with #6, we're proceeding with python3.7 -m venv .... Looking at setup.py there're bunch of dvr-* entrypoint. But running them have no effect:
(.venv) dvrip$ dvr-info
Usage:  info
(.venv) dvrip$ dvr-info <IP_ADDRESS>
Usage:  info
(.venv) dvrip$ dvr-info -h <IP_ADDRESS>
Usage:  info

That's apparently because "calling conventions" for subcommands have changed, and nowadays
	if host() is None:
		usage()

is always true.

But from https://github.com/alexshpilkin/dvrip/issues/6#issuecomment-546443510 we know that "calling conventions" are still exec'ing individual dvr-* executables!
Now the reason behind funkiness like:
		environ[DVR_HOST] = host
		environ[DVR_SERV] = str(serv)
		environ[DVR_USERNAME] = username
		environ[DVR_PASSWORD] = password

becomes clear - dvrip.cmd.__init__ parses command line options (with getopt! In 2019 with python3.7!), and passes their values via child process environment!

There's a bit more funkiness for reverse engineers among us:
	port = environ.get('DVR_PORT', '34567')
...
		environ[DVR_SERV] = str(serv)

So, dvr command can take port from DVR_PORT envvar, but will pass it to downstream commands via DVR_SERV. And for majority of people, "serv" is abbreviation of "server", though of course reverse engineers among us will find out, that in this case, it's abbreviation of "service" (as in: textual name of a port number).

The dvr-* commands never did work standalone. I admit that my attempt to factor out some of the boilerplate into the dvr launcher came out a bit silly, but... it made sense at the time, and I haven’t gotten around to fixing it. (I should.)
You don’t have to reverse engineer anything, you can just ask :)

The dvr-* commands never did work standalone. I admit that my attempt to factor out some of the boilerplate into the dvr launcher came out a bit silly,

If you take votes on this, I'd suggest to drop individual dvr-* commands and exactly use "launcher" with subcommands. You know, OS command namespace is not made of rubber, so dropping 1 new command into user environment is generally better than dropping a dozen (depends of course, with a dozen you get "free" shell completion for those commands).
Likewise, I'd second suggestion to make it runnable using Python's -m switch. Because dvr runs with whatever Python version is hardcoded into it, whereas with -m, user chooses which version to run, and that may be useful.

You don’t have to reverse engineer anything, you can just ask :)

Thanks for quick replies, but I'm that kind of guy who thinks that looking at the code is easier than asking stupid questions ;-). It's only when there're too many questions, some have to be asked.
I also probably should elaborate why this bunch of comments/tickets posted. I just looked at https://github.com/topics/xmeye , and got following thoughts: "There seems to be a club of folks who hack on that Sofia protocol, but each seem to duplicate work. Why would be that?" and "One of the project seems to be ahead of others in terms of project organization, let's look into that first. Uggh, still not stellar (well, just doesn't really work for me). But given all the effort put into the project already, perhaps the author would be interested in feedback on some problem spots".
Dunno how well the last part goes ;-). But I definitely would need to give myself reasons why I'd join "duplicate effort" club, and the idea that doing that aloud might help wider community (because otherwise I of course just hack up yet another crappy tool which doesn't work for anybody else but me). Sorry if that's not the case ;-).

Is there a command to turn off the DVR?
Can you tell me how to safely turn off the DVR before turning off the power?


LLM Chosen: Mistral. Connect to Mistral 7B locally first.

The size of this model is around 4 GB, and due to size constraints, we found a workaround on downloading the model locally using code, which was much more efficient in loading time and integrating with our RAG implementation.

Changed the model as this quantized model didn't give the best results, went for a bigger model which took longer to respond but gave more accurate answers.


change standard name for gateway serviceaccount

If deploying aqua server helm chart in an other namespace than "aqua", the service account name has to be specified in values.yaml of aqua server helm chart:
https://github.com/aquasecurity/aqua-helm/blob/2022.4/server/values.yaml#L207
Server helm chart is using "aqua-sa" as the default serviceaccount:
https://github.com/aquasecurity/aqua-helm/blob/d53355f72fb2c26ea7bf21e418a4f4b82d9c031f/server/templates/_helpers.tpl#L30-L31
But gateway helm chart, which is a dependency of server chart, will create a serviceaccount including the namespace:
https://github.com/aquasecurity/aqua-helm/blob/d53355f72fb2c26ea7bf21e418a4f4b82d9c031f/gateway/templates/_helpers.tpl#L75
Because of this, it would simplify a standard deployment, if gateway chart uses "aqua-sa" as the standard serviceaccount name, if not specified otherwise.

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


How are plugins defined? General tools that Mac dev use?

I was thinking about making a plugin for Go lang with update scripts and package installations.
Is that a niche tool that should not be included?

I think that would be a niche tool, however you can add that as a plugin and ask in the wizard if you would like to include that plugin in the list of tools. Thanks for your suggestion! 😀


Precision in the SSL certificate requirement

The requirements for the SSL certificate is missing the FQDN of each office server in the farm in the SAN field. It also needs the FQDN of the Office Server Farm.

FQDN for individual servers in the farm is not a standard requirement, only the farm load balanced URL FQDN.


Join forces

Might be worthwhile to join forces - cf. https://github.com/IHPSystems/PylonCameras.jl

Maybe the wrong place to ask, but does any of your two packages support time of flight cameras for 3D vision, like the Basler Blaze?

@maxfreu I am not sure, but I think you might need to wrap the Blaze SDK - these packages wrap the Pylon SDK - similar to https://github.com/basler/pypylon

@paulmthompson Great! Feel free to comment/improve. We are also using FFMPEG for output - one of our ideas is to let image inputs and outputs behave like Channels for easy plug-in into a producer/consumer-pipeline.


Bug fixes + message/reply shortcuts

Resolved various node errors that were flooding the console

Friend not found
Bad callbacks to the command handler

Added shortcut options for reply and message functions (see README)
Minor formatting changes/comments/clean up

@mjkaufer once this is merged (if you're happy with it), I can make a PR for the ES6 refactor with might include colours 😀 🎉

@mjkaufer got a couple people forking this branch, might be worth getting it to master

Looks awesome, thank you very much! Sorry for the crazy wait!


user get 1/3 space in pvc when filesystem replication is enabled

Describe the bug
On AWS SNC cluster, Default replication is set to 3 so when user create the pvc he/she gets only 1/3 of usable space.
How to Reproduce?
Please list the steps to help development teams reproduce the behavior

...

Expected behavior
A clear and concise description of what you expected to happen.
Data Collection and Debugging
Environmental output

What openshift/kubernetes version are you running, and the architecture?
kubectl get pods -o wide -n < csi driver namespace>
kubectl get nodes -o wide
CNSA/Spectrum Scale version
Remote Spectrum Scale version
Output for ./tools/spectrum-scale-driver-snap.sh -n < csi driver namespace> -v

Tool to collect the CSI snap:
./tools/spectrum-scale-driver-snap.sh -n < csi driver namespace>
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Add labels

Component:
Severity:
Customer Impact:
Customer Probability:
Phase:

Note : See labels for the labels

Fixed as part of scalecore#4088


Angular v16 Support

I'm submitting a...
I want to help upgrade this library to support the latest version of angular.
Current behavior
Docs mention proper support till 14
Expected behavior
Should support 16 and beyond also.
What is the motivation / use case for changing the behavior?
Support for the latest version of angular.
Environment
Angular version: 16.2.0
For Tooling issues:

Node version: v18.16.0
Platform:   Mac

I have created a PR for it #84  , But I am waiting for maintainer inputs to remove or get rid of @angular/material

thanks @gethari


Misspelled Variable

https://github.com/open-mmlab/OpenSelfSup/blob/b869bba153fadddf9e4841ab9ffbe17112398f20/openselfsup/datasets/data_sources/cifar.py#L45
Misspells split as spilt.

Fixed with thanks.


organize the metadata in the platform position record

[x] towards #29

the utils / transformers might need a clean-up, right now there are itertoolz and dicttoolz mixed in (like unique and rename)


Add CSS Transition end output on mat-progress-bar value animation

Demo of the issue: https://stackblitz.com/edit/matprogressanimation?file=app%2Fprogress-bar-determinate-example.html

crisbeto - we need a notifier for when the animation completed to avoid it being cutoff if we're just relying on the value. This demo shows the problem: https://stackblitz.com/edit/matprogressanimation?file=app%2Fprogress-bar-determinate-example.html
If we attach transitionend on mat-progress-bar tag would it be hard to distinguish on which element animation ended? I haven't tried this but would all transitionend on value or bufferValue bubble up together? The event added here is specific for value transition and it feels cleaner that way. Thoughts?

You can look at the event.target to filter out only the events that you care about.

Thanks Cris, cmiiw: that works but I would need to know the specific details of elements inside mat-progress-bar which I think breaks encapsulation of this component.


Fix GHC 9 compatibility

This looks good to me! Unfortunately I'm not a maintainer of this repository, so I may end up publishing this as a fork. Or if you want to publish this, Tristan, that would work too.

maybe it would be time to publish the fork @tfausak?

I will release a new version with support for ghc-9 today. Sorry for the delay.

@lspitzner many thanks for find some time to take care and dont worry
any chance to consider add some other maintainer to the project and hackage?

I just uploaded https://hackage.haskell.org/package/czipwith-<IP_ADDRESS>. I was testing my package-testing scripts so I stupidly ignored this PR and pushed my own commits for ghc-9 support. Nonetheless, thank you @mithrandi for your PR!
@jneira the other brittany-maintainers also have push-rights on hackage, but I am fine to add more if it is useful for the future. Who is volunteering? I probably need the hackage-username to add.

Oh, I didn't realize I was a package maintainer of czipwith on Hackage. Sorry!


[FEATURE REQ] [Diagnostics] Please include critical dependency information in diagnostics

Please include critical dependency version information in the diagnostics (at-least when detected as un-expected).

Suggestions - We can do this at CosmosClient initialization.
How to do it - This needs to be investigated.

Closing this as we have removed most of the dependencies from Java SDK, and are brought up by azure core SDKs, making them more compatible with each other.


Accelerate extract_patches, making it tens of times faster!

Rebase of #32 .  You can see the perf improvement and correctness ensurance below.
require 'torch'
require 'cunn'
require 'cutorch'

cutorch.setDevice(1)

ntimes = 1000
img = torch.randn(256,32,32):cuda()
nDim = 3
patch_size = 1   -- you can set different patch_size and stride
stride = 1

local timer1 = torch.Timer()
local patches
for i = 1, ntimes do
    local C, H, W = img:size(nDim-2), img:size(nDim-1), img:size(nDim)
    local nH = math.floor( (H - patch_size)/stride + 1)
    local nW = math.floor( (W - patch_size)/stride + 1)

    -- extract patches
    patches = torch.Tensor(nH*nW, C, patch_size, patch_size):typeAs(img)
    for i=1,nH*nW do
        local h = math.floor((i-1)/nW)  -- zero-index
        local w = math.floor((i-1)%nW)  -- zero-index
        patches[i] = img[{{},
        {1 + h*stride, 1 + h*stride + patch_size-1},
        {1 + w*stride, 1 + w*stride + patch_size-1}
        }]
    end
end
print('Method 1: '..timer1:time().real..' seconds')
local input_windows
timer2 = torch.Timer()
for i = 1, ntimes do
    local kH, kW = patch_size,patch_size
    local dH, dW = stride,stride
    input_windows = img:unfold(2, kH, dH):unfold(3, kW, dW)

    local i_1, i_2, i_3, i_4, i_5 = input_windows:size(1), input_windows:size(2), input_windows:size(3), input_windows:size(4), input_windows:size(5)
    input_windows = input_windows:permute(2,3,1,4,5):contiguous():view(i_2*i_3, i_1, i_4, i_5)
end
print('Method 2: '..timer2:time().real..' seconds')

print(torch.sum(input_windows - patches))

Method 1: 0.24451613426208 seconds
Method 2: 0.022691955566406 seconds
0

Thanks, this is nice. I never thought of this even after learning about subpixel convs, but technically the whole operation is called im2col which should actually have a Torch implementation.. but I'm too busy to fix this now.

I haven't found im2col in torch, however in pytorch expose im2col is WIP.


hypercore doesn't fire .ready(cb) when random-access-memory

in our project

when we run npm start and no files have been created yet:

it needs one start which doesn't work, but creates the first hypercore files
it needs a restart which doesn't work, but creates the second hypercore files
from then on - every additional restart makes it work finally

if we start using random-access-memory for creating hypercores here and here it stops working altogether and it is not calling the .ready(cb) callback here and here anymore no matter how often we restart.

@RangerMauve I made a little screencast https://www.loom.com/share/8e926897bc494bcbad033d41511bd1c5
@mafintosh I am not sure if you'll be able to understand what we are doing here, because Mauve has some additional info that was not shared here. But still, if you have any idea what I am doing wrong, please let me know :)
Thanks so much in advance

Ooops, @RangerMauve I just saw your tip about getting some logs from this._storage.openKey(....
So, this is what I get. I get self, I get key and the state, but there's nothing for state key and sig.

You'll either see an error or a ready event fired, can you check which one is triggered?

@mafintosh Where? In Hypercore module ?

Yep, feed.on('error', ...) or feed.on('ready, ...)

It's super weird, I tried both and I get ready! logged
    origHypercore.on('error', (err) => {
      console.log('ERROR', err)
    })
    origHypercore.on('ready', () => {
      console.log('READY')
    })

Ready gets logged. The thing is that @RangerMauve showed me the trick to use reallyReady function to start fetching data from the hypercore only when reallyready
function reallyReady (origHypercore, cb) {
  if (origHypercore.peers.length) {
    origHypercore.update({ ifAvailable: true }, cb)
  } else {
    origHypercore.once('peer-add', () => {
      origHypercore.update({ ifAvailable: true }, cb)
    })
  }
}

So, in my example (when I don't use ram), I check on the receiver side if reallyReady and then read and encode the data. And it works fine. If I trigger fetching data after only .on('ready'...) it doesn't work.
But when I then switch to ram, the code in reallyReady doesn't execute.

The above will only trigger if you have a peer connected, is that true in your case?
Other than that I should work, which call is hanging exactly in the above snippet?

I did a little screencast again. Hope this explains it.
https://www.loom.com/share/9e2bae0fc1c64d849d95f69a02b7de5b

Just fixed this problem I had with using ram for my hypercore.
Ha! The problem was I created a hypercore AND immediately started working with it. So after hours of banging my head against the wall I went back to the beginning and read the whole hypercore docs and removed all the code and checked out your example.js when I discovered a magic word flush
I think it would be super great to add flush to the docs

I think I was bitten by not using flush() recently as well. 😁

Why do you need to call flush?

Because I create a new hypercore and then in the same process also join the
swarm and seed data to another peer and all this is running in the same
process. Without flush() it created a hypercore but when I appended some
data and then logged .length it was 0. After I ran flush, I get the length
and all the other processes run ok after that.
On Mon, Feb 10, 2020 at 11:00 PM Mathias Buus<EMAIL_ADDRESS>wrote:

Why do you need to call flush?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/mafintosh/hypercore/issues/242?email_source=notifications&email_token=AAIGZS3LYVPROCSAVEX6YO3RCJEIXA5CNFSM4KIPHYS2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELLMN5Q#issuecomment-584500982,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIGZS5VUM4XEIVWBGJG2UTRCJEIXANCNFSM4KIPHYSQ
.

--
Kind regards,
Nina Breznik, Vision Baker
playproject.io
wizardamigos.com
twitter.com/ninabreznik
Telegram: +1 510 747 84 39
gitter.im/ninabreznik

Same thing seemed to be happening to me.

Sweet. This does the job. I replaced the flush with append cb. DIdn't think
of that :) Thanks
On Tue, Feb 11, 2020 at 3:30 PM Mathias Buus<EMAIL_ADDRESS>wrote:

Did you wait for the append cb?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/mafintosh/hypercore/issues/242?email_source=notifications&email_token=AAIGZS3WZP6JDK2TVJFYWMDRCMYJXA5CNFSM4KIPHYS2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELOREAI#issuecomment-584913409,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIGZS5XYRWLT7SLL2TGTTDRCMYJXANCNFSM4KIPHYSQ
.

--
Kind regards,
Nina Breznik, Vision Baker
playproject.io
wizardamigos.com
twitter.com/ninabreznik
Telegram: +1 510 747 84 39
gitter.im/ninabreznik


chore: bump to next version rc.2.0

Context

Describe the objective or issue this PR addresses, as well as the impact of the change.
Try to keep the description accessible to newcomers.
If you're resolving a specific issue, add "Fixes #issue_number" or "Closes #issue_number".

Solution

Describe the approach taken to achieve the objective / resolve the issue.

Migration Guide (optional)

If this PR contains a breaking change relative to the main branch, provide an instruction on how affected parties might need to adapt to the change.

Review notes (optional)

For complex PRs, try to provide some information on how to approach the review more effectively.
For example, is there a natural order in which the affected files should be reviewed?

Checklist

[ ] I've read CONTRIBUTING.md.
[ ] (optional) I've written unit tests for the code changes.
[ ] All review comments have been resolved.
[ ] All CI checks pass.

Should merge after dickerfile fix


Should have TLS client certificates auth

Cert based auth is very typical with Kafka especailly when you have func running on a container or on Azure where Kafka clusters are running on VM/Confulent Cloud. Having this support could be important to target production workloads.

Where would such certificates be stored?

Key Vault when running on service plan?
Secrets when running in K8s?

KV would be very Azure based appraoch I would like to have that as an option. but any thoughts to have secrets as part of application seetings (SaslUsername & Password) with Client Cert as part of the App as file ? (not sure if we can leverage ssl cert store as this could be only applicable for app service plan- i am guessing)  (. More ref here https://github.com/confluentinc/confluent-kafka-dotnet/blob/master/examples/ConfluentCloud/Program.cs

There is a PR open for this @agowdamsft  could you please take a look through https://github.com/Azure/azure-functions-kafka-extension/pull/78 and see if you approve.
I would add you as reviewer, but i can't for some reason.
Probably because you're not a member of the team / org or something.

Thanks Ryan I am attached to the Org may not be this project though. Either way I saw the changes https://github.com/Azure/azure-functions-kafka-extension/compare/fbeltrao/basic-auth and they looked good. I did not see a sample/example updated in this PR to view how its usage would be and test it myself (maybe I missed it).
Thanks,
Amar
From: Ryan CrawCour<EMAIL_ADDRESS>Sent: Sunday, April 14, 2019 9:42 AM
To: Azure/azure-functions-kafka-extension<EMAIL_ADDRESS>Cc: Amar Gowda<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [Azure/azure-functions-kafka-extension] Should have TLS client certificates auth (#67)
There is a PR open for this @agowdamsfthttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fagowdamsft&data=02|01|Amar.Gowda%40microsoft.com|81d667a0d97a4370dac608d6c0f81ba2|72f988bf86f141af91ab2d7cd011db47|1|0|636908569181037402&sdata=Fv8rMPDnLAETZKqpMApqMrqeVLfkEx4DzZA3oTbkaJ4%3D&reserved=0 could you please take a look through #78https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2Fazure-functions-kafka-extension%2Fpull%2F78&data=02|01|Amar.Gowda%40microsoft.com|81d667a0d97a4370dac608d6c0f81ba2|72f988bf86f141af91ab2d7cd011db47|1|0|636908569181047427&sdata=2qBkF%2Ft1lMH2Ey79YzLXG%2B68dP1kt4CYV%2BzTGJ0%2BJ4Y%3D&reserved=0 and see if you approve.
I would add you as reviewer, but i can't for some reason.
Probably because you're not a member of the team / org or something.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2Fazure-functions-kafka-extension%2Fissues%2F67%23issuecomment-483013940&data=02|01|Amar.Gowda%40microsoft.com|81d667a0d97a4370dac608d6c0f81ba2|72f988bf86f141af91ab2d7cd011db47|1|0|636908569181047427&sdata=jkGtqoT2O6g%2FLuPdK76w3MEgAQeCinFPpYQJKi3p5pI%3D&reserved=0, or mute the threadhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAjCoELs130goe88HD2-WPh_F5GnLEY05ks5vg1pUgaJpZM4coSzN&data=02|01|Amar.Gowda%40microsoft.com|81d667a0d97a4370dac608d6c0f81ba2|72f988bf86f141af91ab2d7cd011db47|1|0|636908569181057423&sdata=OEEzRta3kxsUwcrEJ6aro%2BODNA4Zy3CcYZXGUY%2F1OQc%3D&reserved=0.

No. I do not believe you missed it. @fbeltrao did open a new issue #77 to go back and add tests, which is likley where the "example" will be. Will merge this for now, and if you find an issue after you've tried it yourself, or after the tests are published, we can always reopen the issue.
Thanks.


Login link gets pre-fetched by Outlook.com, invalidating it immediately

http://stackoverflow.com/a/42147812/264409

Fixed via f7c9526127bb43bcf5e004b52631efd901f84f45.


[Feature/Improvement] Skip Intervals During a Workout

Purpose:
As a user, I want to skip to a specific interval by clicking on it, because I stopped the workout by swiping on the screen.
More details:
The workout / interval starts every time on the beginning. Sometimes I want to skip some parts. For me it would be perfect, to move to the part which I click on.
Acceptance Criteria:
Intervals are skipped by click on later interval.
BTW: it's a really nice app and works great, thank you 😊👍

Thank you for taking the time to open a feature request, your input and support is appreciated! I will get this added to the todo list

Blocked by / relates to https://github.com/a-mabe/background_hiit_timer/issues/22


Live preview update requests - Request updates here

Please comment here if you need the live preview updated. I shall also comment if it is updated without request.

Updated to latest commit. 344ce94f631cc3b566874a9287310124b45f1df0

I'd like to have the blog updated so that people can see my blog, but first I need to change one link in the sidebar.

Add input wanted? :P

@The-Cheese-Eater Added, could you please update the site now? :)

Update request acknowledged. Updating blog...

Blog updated as per @Liam4's request.

Does it look good? :D

Very cool! Lets talk about this blog on the forums to keep this clean.

Can you add the about section to the site?

Update site ^

I can't at the moment, sorry. I'm tethering my laptop to my phone with a 250MB data limit. I can do it at approximately 6PM tonight.

Live preview updated.

awesome

In the online file manager, is there a way to mass-upload/upload compressed files?

Do you want to decompress on-server or leave it compressed? Can't you just upload files as normal? I use coreFTP instead of messing around with online FTP stuff.

I've used a file manager on 000webhost before that allows you to upload .zip files and it decompresses it on-server.

@Firedrake969 How. Tell me.

@GrannyCookies http://www.hostinger.com/ has the same feature too

@GrannyCookies

Upload .zip
Site opens it and uploads it as a set of files

That's how...

Blog and site updated.

On my iPhone, the login popup is broken - the box is weirdly left

Lol, the register page is throwing so many errors since it's not done.

From @Firedrake969, please DO NOT update the user page -

Thanks, @GrannyCookies

Righto

Update all pages in /register, please.

Done. :)

@Firedrake969 Is the register done? :D

theoretically?  xD

https://github.com/OpenSprites/OpenSprites/issues/85

Acknowledged.

Updated main-style.css and upload folder.
See http://dev.opensprites.x10.mx/upload/

Please can you update main-style.css?

Done! :)

Thanks.

Better-ish
http://prntscr.com/6cs58e

Can't we just shrink the pictures?

I think adding a margin to the footer on that page would work better

Go ahead. :) @GrannyCookies

@The-Cheese-Eater can you approve my forum request?

Done. :) I'm loving the new theme, btw!

@The-Cheese-Eater Thanks! I did it on the main site too :)

@GrannyCookies Cool! It looks great!

Please update Site/assets/includes/connect.php and forums/themes/all.css.

Could you update? I wanna test my welcome box.

@andrewjcole I'll assign that to @GrannyCookies if he doesn't mind. I'm tethering my laptop to a phone at the moment. :stuck_out_tongue:

I've now updated to the latest commit.

Thanks! Should I change it for the dark site or is it fine?

Update please?

Done!

Hmm... they still aren't changing for the dark theme for some reason.

@andrewjcole I'll look into it- I've been at a birthday party for the past 6 hours.

Fixed- it just wasn't updated on the server. Pure black looks... not amazing- changing to brightness(70%);  instead.

Scratch that (pun not intended)... I didn't see the colour change. Reverting.

Sorry about how sloppy I did everything there. :anguished:

Heh, it was pretty good. I've added different coloured buttons based on your code- .btn is orange, .btn.red, .btn.blue, .btn.green, and .btn.yellow. Try 'em!

Those are so awesome!

I've hardly tested them... welll actually, not at all, yet.
I'm doing the removal of "Login" and "Sign Up" when logged in now.

You probably already knew everything here: http://esotalk.org/forum/456-simple-esotalk-login-integration/0

Yup. Only problem is, dev.opensprites is considered a different domain- so cookies are differentiated. So I have to edit the EsoTalk sourcecode.

Oh, that makes it more of a pain.

It probably would have been easier in the end to host it on the dev.opensprites subdomain.

It still is easier. But oh well.

Good luck, soldier!

I did it on the x10 site- I've forgotten how...

Does cheeseeater have an archive?
This issue is going offtopic. Maybe it would be better to discuss in Gitter?

Yeah.

I believe you still have FTP access to the x10 site @GrannyCookies? I've got a full backup from the old host on my computer, but I can only upload it on Monday.

I do, yeah. I've fixed it now.

Great. :)

Please update when you have the chance.

Doen

http://osdev.aputurk.tk updates automagically :P

Yeah, so I guess we don't need this open any more. :P

I need the forums updating, please.

@MegaApuTurkUltra's thingy doesn't have the forums on it.

That's because the source isn't on the repo! What am I supposed to do?

Forums updated ;)

@MegaApuTurkUltra:
That's because the source isn't on the repo! What am I supposed to do?
Not add it- I was just stating why.

We shouldn't need this now with MATU's OSdev. If you desperately need sometime on the site updating, email or comment on my profile. :P

Except, like, for the login and register pages.

Yeah


Create custom profile programmatically

Is there a way to programmatically create the custom profile. Looking for an onboarding model for multi tenant solution in which ISV want to onboard many Azure AD customers. In B2E with admin conscent can easily make it.

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

ID: bf203c92-3847-c2f9-f966-edaca7b59818
Version Independent ID: 76f7519d-3040-646d-93a0-2657812d81e9
Content: Set up sign-in with an Azure Active Directory account in Azure Active Directory B2C using custom policies
Content Source: articles/active-directory-b2c/active-directory-b2c-setup-aad-custom.md
Service: active-directory
GitHub Login: @davidmu1
Microsoft Alias: davidmu

@sowsan Thanks for the feedback! We are currently investigating and will update you shortly.

@sowsan Creating custom policy is in private preview currently.  Please refer to this user voice.  You can also refer to sample available over here however you need to send mail to<EMAIL_ADDRESS>to enable this in your tenant.

@sowsan We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


chore(main): release 1.1.3

:robot: I have created a release beep boop
1.1.3 (2024-01-28)
Bug Fixes

update CI environment variable reference (6d74943)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/jwbennet/project-base/releases/tag/v1.1.3 :sunflower:


test

Welcome to UESTC Open Source Commnunity 👏

Add a issue link after Fix:, if you have created a issue

Fix:

/lgtm
/approve


Node.js Foundation Community Committee Meeting 2018-02-22

Time
UTC Thu 22-Feb-2018 17:00 (05:00 PM):

Timezone
Date/Time

US / Pacific
Thu 22-Feb-2018 09:00 (09:00 AM)

US / Mountain
Thu 22-Feb-2018 10:00 (10:00 AM)

US / Central
Thu 22-Feb-2018 11:00 (11:00 AM)

US / Eastern
Thu 22-Feb-2018 12:00 (12:00 PM)

London
Thu 22-Feb-2018 17:00 (05:00 PM)

Amsterdam
Thu 22-Feb-2018 18:00 (06:00 PM)

Moscow
Thu 22-Feb-2018 20:00 (08:00 PM)

Chennai
Thu 22-Feb-2018 22:30 (10:30 PM)

Hangzhou
Fri 23-Feb-2018 01:00 (01:00 AM)

Tokyo
Fri 23-Feb-2018 02:00 (02:00 AM)

Sydney
Fri 23-Feb-2018 04:00 (04:00 AM)

Or in your local time:

http://www.timeanddate.com/worldclock/fixedtime.html?msg=Node.js+Foundation+Community Committee+Meeting+2018-02-22&iso=20180222T17
or http://www.wolframalpha.com/input/?i=05PM+UTC%2C+Feb+22%2C+2018+in+local+time

Links

Minutes Google Doc: https://docs.google.com/document/d/1ZeWyJLVu4-e-urEPGNW6MnjiGxeXFtbT7i6RC7CGiks/edit

Agenda
Extracted from cc-agenda labelled issues and pull requests from the nodejs org prior to the meeting.
nodejs/TSC

reaching out to irccloud.com #292

nodejs/community-committee

Meeting for reviewing membership guidelines #234
Current Strategic Initiatives Review #222
Issuing badges for contributors #212
Explain inclusivity better #117

Invited

CommComm Members: @nodejs/community-committee

Observers

@therebelrobot (Oz Haven - observer)
@ParidelPooya (Pooya Paridel - observer)
@rykerrumsey (Ryker Rumsey - observer)
@baez (Behzad Karim - observer)
@BinarySo1o (Therese Stirling - observer)
@amiller-gh (Adam Miller - observer)
@yosuke-furukawa (Yosuke Furukawa - observer)
@Maurice-Hayward (Maurice Hayward - observer)
@mikehostetler (Mike Hostetler - observer)
@sarahkconway (Sarah Conway - observer)
@Tiriel (Benjamin Zaslavsky - observer)
@DiegoZoracKy (Diego ZoracKy - observer)
@ZibbyKeaton (Zibby Keaton - observer)
@tobyfarley (Toby Farley - observer)
@Bamieh (Ahmad Bamieh - observer)
@pchrysa (Chrysa - observer)
@foadlab (observer)
@codeekage (Abraham Agiri - observer)
@Voskan (Voskan Voskanyan - observer)

Notes
The agenda comes from issues labelled with cc-agenda across all of the repositories in the nodejs org. Please label any additional issues that should be on the agenda before the meeting starts.
Joining the meeting

link for participants: Will be added a few minutes before meeting starts
For those who just want to watch:
youtube admin page: https://www.youtube.com/my_live_events?filter=scheduled

I'll be at IBM Index (giving a workshop), so I won't be able to make it.
Also update from last weeks coffee spill over my mac: I got it back, but it was a hella expensive coffee spill ¯\_(ツ)_/¯

I'm at Index as well, but might be able to make it depending on what is going on at that time (I'm not speaking at that time but still need to check what else is going on at that time).  I'd say in 50/50.

Hooray! 🙌
See y'all there. 🎉

Finally, joining in for my first meeting!! HooRRRAYY!!!

Hope to become a champion soon (at the end of the meeting)!!

Sorry folks, won't be able to make this one got two meetings in a row this thursday 😞

I may have a hard time attending, since I'll be traveling on Thursday. Is there anyone else that could drive it who has used Zoom before?
cc @mhdawson, @hackygolucky, @rachelnicole

I'm quite late to the meeting at the moment, sorry! But I'd still love to join if I can get the zoom link?

@obensource I think you are an hour off. It occurs in about 30 min.

@tobyfarley Oh yes–you're right! My mistake. Awesome, thank you! 🙌

I’ve asked @mhdawson to help run this meeting since both @rachelnicole and I may not be entirely available for the meeting.

Just to verify–a zoom link hasn't already been shared, correct?

Link for participants in case its not already in the issue
https://zoom.us/j/209550902

Will post YouTube line for those who want to watch once we start the stream.

Youtube loink https://www.youtube.com/watch?v=uZKB27_Xu4A

BTW, the meeting notes for the last meeting are not published yet.

NO!!! I missed the whole Meeting!! So, Sad Poor Network Ruined It All.....

@oe How many meetings do I have to attend to become to moved my status from observer to member??Please, what's the link to the mentorship programme?

@codeekage Usually 6 meetings, meaning 3 months' worth of attendance. For the mentorship initiative: https://github.com/nodejs/mentorship

Today's meeting had a discussion about adding licenses. The TSC has requested that the Legal Committee review the topic and will be providing some feedback soon. We should hold off on adding new licenses until that information has been made public. PRs are OK- but lets not accept them just yet. Changing them after the fact may not be possible!
See: https://github.com/nodejs/TSC/issues/195

Sidenote: The YouTube video for this meeting links to the wrong issue

@williamkapke I'm concerned that that issue has been stalled, seemingly without progress.
@mrhinkle I'd like to add a request for an update from the Legal team if at all possible, or a comment that one isn't possible. We do have some work pending on this discussion, including licensing several of the newer CommComm initiatives.

@bnb Yes, it mostly sat without progress for a very long time. So... I joined the Legal Committee, my attorney and I attended the meeting, and we are seeing this though. It is now in the process of finalizing the deliverable on it.
It needs to get approval from the Board before I can do anything else publicly. I hope to see this done at the next board meeting- but that's not a guarantee.

@williamkapke if there's not resolution in the next board meeting, would you be able to let us know? 🙏


Code for generating identity.csv

Hi, could you kindly share the code for generating identity.csv? Thanks!

Hi LMdeLiangMi,
Thanks for your question. We first use dump_coeff(model, vectorizer) to dump the coefficients of a linear classifier, as shown in run_baselines.py. Then we manually identified 25 group identifiers to construct our identity.csv.


Issue with running bfswitchd

Hi, after changing the .json to:
Ports:
`{
"ports": [
{
"dev_port": 3,
"port_name": "ens3",
"mempool_name": "MEMPOOL0",
"pipe_name": "pipe",
"pipe_in":"pipe",
"pipe_out":"pipe",
"port_dir": "default",
"port_in_id": 0,
"port_out_id": 0,
"port_type": "tap",
"tap_port_attributes": {
"mtu": 1500
}
},
{
"dev_port": 5,
"port_name": "ens5",
"mempool_name": "MEMPOOL0",
"pipe_name": "pipe",
"port_dir": "default",
"port_in_id": 1,
"pipe_in":"pipe",
"pipe_out":"pipe",
"port_out_id": 1,
"port_type": "tap",
"tap_port_attributes": {
"mtu": 1500
}
}
]

}`
switch config:
{     "chip_list": [         {             "id": "asic-0",             "chip_family": "dpdk",             "instance": 0         }     ],     "instance": 0,     "p4_devices": [         {             "device-id": 0,             "eal-args": "-n 1 -c 0x1",             "mempools": [                {                    "name": "MEMPOOL0",                    "buffer_size": 2304,                    "pool_size": 1024,                    "cache_size": 256,                    "numa_node": 0                }             ],             "p4_programs": [                 {                     "program-name": "l1switch",                     "bfrt-config": "/home/p4project/l1switch/tdi.json",                     "port-config": "/home/p4project/l1switch/ports.json",                     "p4_pipelines": [                         {                             "p4_pipeline_name": "pipe",                             "core_id": 1,                             "numa_node": 0,                             "context": "/home/p4project/l1switch/context.json",                             "config": "/home/p4project/l1switch/main.spec",                             "pipe_scope": [                                     0,                                     1,                                     2,                                     3                             ],                             "path": "/home/p4project/l1switch/"                         }                     ]                 }             ]         }     ] }
build.sh :
`#!/bin/bash
p4c-dpdk main.p4
-o main.spec
--arch psa
--bf-rt-schema main.bfrt.json
--context context.json
--p4runtime-files main.pb.txt
--p4runtime-format text
--tdi tdi.json
Basic environment variables we need
export SDE=$HOME/sde
export SDE_INSTALL=$SDE/install
export LD_LIBRARY_PATH=$SDE_INSTALL/lib:$SDE_INSTALL/lib64:$SDE_INSTALL/lib/x86_64-linux-gnu/:/usr/local/lib64:/usr/local/lib
We need to put SDE executable path before the system one since the bfrt_python
needs to use Python libraries from it and use the Python executable from SDE
export PATH=$SDE_INSTALL/bin:$PATH
hash -r
For security reason, the PATH and LD_LIBRARY_PATH won't pass to root user even if we use "sudo -E"
We must pass them in sudo to make sure it is correct.
sudo -E PATH=$PATH LD_LIBRARY_PATH=$LD_LIBRARY_PATH $SDE_INSTALL/bin/bf_switchd --install-dir $SDE_INSTALL --conf switch_config.json
`
but sill see issues:
`p4project@p4project-S5520HC:~/l1switch$ ./build.sh
Install dir: /home/p4project/sde/install (0x564c18724c20)
bf_switchd: system services initialized
bf_switchd: loading conf_file switch_config.json...
bf_switchd: processing device configuration...
Configuration for dev_id 0
Family        : dpdk
bf_switchd: processing P4 configuration...
P4 profile for dev_id 0
P4 EAL args -n 1 -c 0x1
Debug CLI disable
num mempool objs 1
mempool_name: MEMPOOL0
buffer_size:  2304
pool_size:    1024
cache_size:   256
numa_node:    0
num fixed functions 0
num P4 programs 1
p4_name: l1switch
bfrt_config: /home/p4project/l1switch/tdi.json
port_config: /home/p4project/l1switch/ports.json
p4_pipeline_name: pipe
core_id: 1
numa_node: 0
context: /home/p4project/l1switch/context.json
config: /home/p4project/l1switch/main.spec
Pipes in scope [0 1 2 3 ]
Timer values []
Mirror Config
n_slots: 4
n_sessions: 64
fast_clone: 0
diag:
accton diag:
non_default_port_ppgs: 0
SAI default initialize: 1
Operational mode set to DPDK MODEL
Initialized the device types using PAL handler registration
STUB:port_mgr_platform_init DPDK
bf_switchd: drivers initialized
EAL: Detected CPU lcores: 16
EAL: Detected NUMA nodes: 2
EAL: Detected shared linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'PA'
EAL: VFIO support initialized
EAL: DPDK is running on a NUMA system, but is compiled without NUMA support.
EAL: This will have adverse consequences for performance and usability.
EAL: Please use --legacy-mem option, or recompile with NUMA support.
EAL: Device 0000:01:00.0 is not NUMA-aware
EAL: Device 0000:01:00.1 is not NUMA-aware
EAL: Device 0000:03:00.0 is not NUMA-aware
EAL: Using IOMMU type 8 (No-IOMMU)
EAL: Ignore mapping IO port bar(2)
EAL: Probe PCI driver: net_ixgbe (8086:10fb) device: 0000:03:00.0 (socket -1)
EAL: Device 0000:07:00.0 is not NUMA-aware
EAL: Ignore mapping IO port bar(2)
EAL: Probe PCI driver: net_ixgbe (8086:10fb) device: 0000:07:00.0 (socket -1)
TELEMETRY: No legacy callbacks, legacy socket not created
bf_switchd: dev_id 0 initialized
bf_switchd: initialized 1 devices
bf_switchd_switchsai_lib_init
starting SAI
bf_switchd: spawning cli server thread
bf_switchd: spawning driver shell
bf_switchd: server started - listening on port 9999
    ********************************************
    *      WARNING: Authorised Access Only     *
    ********************************************

bfshell> bfrt_python
cwd : /home/p4project/l1switch
We've found 1 p4 programs for device 0:
l1switch
Creating tree for dev 0 and program l1switch
Devices found :  [0]
/home/p4project/sde/install/lib/python3.10/site-packages/IPython/core/history.py:226: UserWarning: IPython History requires SQLite, your history will not be saved
warn("IPython History requires SQLite, your history will not be saved")
Python 3.10.8 (aaaf517424:aaaf517424, Dec 27 2022, 12:59:27) [GCC 11.3.0]
Type 'copyright', 'credits' or 'license' for more information
IPython 7.31.1 -- An enhanced Interactive Python. Type '?' for help.
In [1]: bfrt
------> bfrt()
Available symbols:
dump                 - Command
enable               - Command
info                 - Command
l1switch             - Node
port                 - Node
bfrt> l1switch.enable
----> l1switch.enable()
2022-12-28 18:27:04.276807 BF_PIPE ERROR - error :thread pipeline enable
2022-12-28 18:27:04.276956 BF_PIPE ERROR - Failed to Build Pipeline pipe
2022-12-28 18:27:04.277010 BF_BFRT ERROR - bf_rt_enable_pipeline:120 failed
`
What should we write in switch_config.json and ports.json?
We would appreciate a link to a full tutorial \ guide on how to write these .json files.
Thank you

Hi @guy-davidi, how did you solve this? I'm seeing similar issues.

Hi
unfortunately no

Hi, I was was trying to run the P4-DPDK-Target example, and encounter some similar kind of error. Please suggest what could be the possible reason behind this error.
switch_conf.json

{
"chip_list": [
{
"id": "asic-0",
"chip_family": "dpdk",
"instance": 0
}
],
"instance": 0,
"p4_devices": [
{
"device-id": 0,
"eal-args": "dummy -n 4 -c 3",
"mempools": [
{
"name": "MEMPOOL0",
"buffer_size": 2304,
"pool_size": 1024,
"cache_size": 256,
"numa_node": 0
}
],
"p4_programs": [
{
"program-name": "pna",
"bfrt-config": "/home/p4dpdk/install/share/dpdk/pna/bf-rt.json",
"p4_pipelines": [
{
"p4_pipeline_name": "pipe",
"core_id": 1,
"numa_node": 0,
"context": "/home/p4dpdk/install/share/dpdk/pna/pipe/context.json",
"config": "/home/p4dpdk/install/share/dpdk/pna/pipe/simple_lpm.spec",
"pipe_scope": [
0,
1,
2,
3
],
"path": "/home/p4dpdk/install/share/dpdk/pna"
}
]
}
]
}
]
}

:~/p4dpdk/install/bin$ sudo -E PATH=$PATH LD_LIBRARY_PATH=$LD_LIBRARY_PATH $SDE_INSTALL/bin/bf_switchd --install-dir $SDE_INSTALL --conf-file $SDE_INSTALL/share/dpdk/pna/switch_conf.json  --init-mode=cold --status-port 7777
Install dir: /home/p4dpdk/install (0x562661a53c80)
bf_switchd: system services initialized
bf_switchd: loading conf_file /home/p4dpdk/install/share/dpdk/pna/switch_conf.json...
bf_switchd: processing device configuration...
Configuration for dev_id 0
Family        : dpdk
bf_switchd: processing P4 configuration...
P4 profile for dev_id 0
P4 EAL args dummy -n 4 -c 3
Debug CLI disable
num mempool objs 1
mempool_name: MEMPOOL0
buffer_size:  2304
pool_size:    1024
cache_size:   256
numa_node:    0
num fixed functions 0
num P4 programs 1
p4_name: pna
bfrt_config: /home/p4dpdk/install/share/dpdk/pna/bf-rt.json
port_config:
p4_pipeline_name: pipe
core_id: 1
numa_node: 0
context: /home/p4dpdk/install/share/dpdk/pna/pipe/context.json
config: /home/p4dpdk/install/share/dpdk/pna/pipe/simple_lpm.spec
Pipes in scope [0 1 2 3 ]
Timer values []
Mirror Config
n_slots: 4
n_sessions: 64
fast_clone: 0
diag:
accton diag:
non_default_port_ppgs: 0
SAI default initialize: 0
Operational mode set to DPDK MODEL
Initialized the device types using PAL handler registration
STUB:port_mgr_platform_init DPDK
bf_switchd: drivers initialized
EAL: Detected CPU lcores: 8
EAL: Detected NUMA nodes: 1
EAL: Detected shared linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'PA'
TELEMETRY: No legacy callbacks, legacy socket not created
bf_switchd: dev_id 0 initialized
bf_switchd: initialized 1 devices
bf_switchd_switchsai_lib_init
starting SAI
bf_switchd: spawning cli server thread
bf_switchd: spawning driver shell
bf_switchd: server started - listening on port 9999
    ********************************************
    *      WARNING: Authorised Access Only     *
    ********************************************

bfshell> bfrt_python
cwd : /home/p4dpdk/install/bin
We've found 1 p4 programs for device 0:
pna
Creating tree for dev 0 and program pna
Devices found :  [0]
/home/p4dpdk/install/lib/python3.10/site-packages/IPython/core/history.py:226: UserWarning: IPython History requires SQLite, your history will not be saved
warn("IPython History requires SQLite, your history will not be saved")
Python 3.10.9 (1dd9be6584:1dd9be6584, Dec 13 2023, 10:31:12) [GCC 10.5.0]
Type 'copyright', 'credits' or 'license' for more information
IPython 7.31.1 -- An enhanced Interactive Python. Type '?' for help.
In [1]: bfrt
------> bfrt()
Available symbols:
dump                 - Command
enable               - Command
info                 - Command
pna                  - Node
port                 - Node
bfrt> pna.enable
----> pna.enable()
2023-12-13 15:22:32.227229 BF_PIPE ERROR - dal_enable_pipeline line:165  Pipeline build failed
2023-12-13 15:22:32.227266 BF_PIPE ERROR - Failed to Build Pipeline pipe
2023-12-13 15:22:32.227278 BF_BFRT ERROR - bf_rt_enable_pipeline:120 failed
bfrt>


Paginate not working with SQLAlchemy Table

I have a table like this:
ReportView = Table(
  'report_view',
  MetaData(),
  Column('col1', db.String),
  Column('col2', db.String)
)

But this not working:
#...more imports
from flask_restful import fields
report_fields = {
  'col1': fields.String,
  'col2': fields.String
}

context_query = db.session.query(ReportView)
page = pagination.paginate(context_query, report_fields)

Issue: In this case, the mapping not working currectly why the result is a list of tuple.

This plugin uses the flask-sqlalchemy's paginate method. It is a method in the flask_sqlalchemy.Model class. It would not work on the Query object or Table object.

Thanks


.reactionroles not responding to my input

simply typing something like:
.reactionroles PA :PA: NJ :NJ: DE :DE: NY :NY: MD :MD:
does nothing for me. not sure what to do. the bot has all the required permissions (add reactions, manage roles).
EDIT: .reactionroleslist is also not working at all.

You can close this ticket


Add dolby-vision-rpu to EbSvtAv1EncConfiguration

Is your feature request related to a problem? Please describe.
There is not a way to load RPU units into the svt encoder from ffmpeg using svtav1-params.
Describe the solution you'd like
add the path parameter to the svtav1-params (EbSvtAv1EncConfiguration and svt_av1_enc_parse_parameter).
Describe alternatives you've considered

I believe (haven't tried) there is a way to pass stdout from ffmpeg into the EncApp, however I do think a proper param would be nice.
The best solution would be to try to obtain the RPU units directly from the source file, perhaps checking for existence of dovi metadata, and parsing units if so. This way, the need to accept a path variable (uint8_t*), which I haven't seen any other param be like that in my brief look, is not needed in the first place.

Additional context
none.

I'm pretty sure this functionality is addressed by FFmpeg 7.0, so I don't know if DoVi support outside of the SvtAv1EncApp binary is a big concern for us at this point

The 7.0 release did add support but only for dovi profile 10. My example test encode with profile 7 does not get included in the side data in the output. I was hoping that libdovi/dovi_tool would help fill in the gaps, until (if) ffmpeg starts supporting more profiles in the side data.


Fixed *ngFor for checkbox and radio-button

Fix behavior where we were unable to select a value with checkbox and radio-button when using *ngFor on mz-x-container (#121)

Reopening, got a way better fix


@NotBlank not working to mark field as required

Please take the time to search the repository, if your question has already been asked or answered.

[x] What version of the library are you using? Is it the latest version? The latest released version is

What kind of issue is this?

[ ] Question. Is this a question about how to do a certain thing?

[ ] Bug report. If you’ve found a bug, spend the time to write a failing test. Bugs with tests or
steps to reproduce get fixed faster. Here’s an example: https://gist.github.com/swankjesse/6608b4713ad80988cdc9

[ ] spring xml/java config that is relevant
[ ] springfox specific configuration if it makes sense
[ ] include any output you've received; logs, json snippets etc.; and what the expected output should be
[ ] if you have a repo that demonstrates the issue for bonus points! See this example

[x] Feature Request. Start by telling us what problem you’re trying to solve. Often a solution
already exists! Don’t send pull requests to implement new features without first getting our
support. Sometimes we leave features out on purpose to keep the project small.

Please do consider starring this repository if you do like this project and find it useful.

@NotNull is covered but @NotEmpty is not. Could this be added? it seems similar to @NotNull


Support for reverse queries for

Summary
Is there a way to do reverse lookup of users and subjects?
I'm evaluating OpenFGA against SpiceDB. One very nice feature in SpiceDB is it supports both LookupResources and LookupSubjects. I only saw 'list-objects' API in OpenFGA (that would be equivalent of 'LookupResources) but I could not find the opposite.
I.e. I want both 'which users have READER relation with DOC1' and 'Which docs can USER1 access as READER'

Hi @fsedano! Thanks for asking.
Right now we do not have it yet, however it is an upcoming feature in our roadmap as ListUsers
https://github.com/orgs/openfga/projects/1/views/1?pane=issue&itemId=24490812

@aaguiarz We discussed about this on Kubecon today, from what I understood is already shipping? Your response above suggests it's on roadmap.

Hi @fsedano , what we shipped is ListObjects, we are currently working on ListUsers, the RFC is here https://github.com/openfga/rfcs/blob/main/20231214-listUsers-api.md


Add missing config.json properties

The following properties were added:

listenPort.
pubnubSubscribeKey.
pubnubPublishKey.
mixpanelToken.

LGTM


X-Client-Info

we're rolling out a header similar to Stripe's App-Data in all of the client libs so issues can be debugged more easily between the client and the backend
the javascript libs are done already: supabase/supabase-js#238
the format is: X-Client-Info: supabase-js/1.11.0
for client libs that wrap others (like how supabase-js wraps gotrue-js) we allow the wrapper lib to overwrite the wrapped lib's header (given that we can infer the gotrue-js version based on which supabase-js was used to make the call)
any help with rolling this out here would be incredible, it also ideally would be rolled out into any wrapped libs (gotrue-rb etc.)

I can do it on this weekend ;)

assigned you in case you're still keen @marcelobarreto but no worries if you're busy!

done @awalias

Amazing! @marcelobarreto thanks a ton 👏


Test: Add FQDN test with multiple specs

To make sure that the UUIDs are working correctly in Cilium when
multiples specs are in place and is correctly translated to Cilium
Policy
Signed-off-by: Eloy Coto<EMAIL_ADDRESS>

This change is

test-me-please

test-me-please

Coverage decreased (-0.02%) to 42.9% when pulling 5433234b2a7e9322fb3d48a11a66df9758a916d0 on eloycoto:MultipleFQDNSpec into a2d3a56496c5f69d6c46a9a9e1d99455fa8fd0fe on cilium:master.


timeout operator

New operator timeout that ends iteration after a specified number of milliseconds:
timeout(ms: number)

@RebeccaStevens What do you think? :wink:
UPDATE
Previously, I thought this was achievable via operator stop, but then I realized it would not account for the time spent getting the first value, so it's no good.
This new operator simplifies it a lot, and it accounts for the first iteration value also.

Added implementation in branch timeout ;)
It just needs tests to finish fully.

I'm now thinking about, maybe, adding a second parameter - optional callback that's called only when the timeout was triggered.

The operator has been fully finished, and released with v2.0.0-beta.8


pdo_mysql

EConnection failed: could not find driver
Could you add this ?

Hello, What are you getting that error from? Are you attempting to connect to a database?

D'oh, I just read the title, pdo_mysql. Let me see what I can do!

Completed - Docker Hub image is updated as is repo


Translations Batch: 2024-05-02

Request and update CiviForm translations using Transifex.
Check weekly if there are new strings needing translations on transifex.
The last string we requested translation for was: {0}. {1} / label.blockIndexLabel (9 translations)
Follow the instructions at go/civiform-translations to

[ ] Request a new batch of translations
[ ] Create a ticket for the next batch of translations, and assign to the next Google.org Works SWE (when translations are sent out)
[ ] Upload translations into Transifex

I've requested translation for everything except Somali, which was erroring for some reason. I reached out the localization team for help.


Possibility for language selection

The names of the stations, routes, trips, headsigns and so forth are in English by default. We should add a flag to our script to generate dutch or french instead, and provide different GTFS files at http://gtfs.irail.be

This has been added to config.php and documented in README.md


x86 assembly issues

Some registers in x86 assembly like eax and ebx are highlighted as numbers.
I think this is responsible for it:
      // Number in H,X,D,T,Q,O,B,Y suffix
      {
        className: 'number',
        begin: '\\b(?:[0-9A-Fa-f][0-9A-Fa-f_]*[HhXx]|[0-9][0-9_]*[DdTt]?|[0-7][0-7_]*[QqOo]|[0-1][0-1_]*[BbYy])\\b'
      },

But don't really know how HLJS works to fix this. I think that registers should have a priority over numbers in such case (don't even know if x suffix is used by any assembler).

It seems that there isn't x suffixing for hexadecimal numbers in x86 and I ended up just removing that so this issue is fixed.
Thanks for reporting this.

Thanks!


[BUG] AzureADPreview supports PIM (Privileged Role Management Cmdlets) however AzureAD.Standard.Preview does not.

To Reproduce
# in cloudshell
gmo *azuread* | ft -AutoSize

ModuleType Version  PreRelease Name                     ExportedCommands
---------- -------  ---------- ----                     ----------------
Script     <IP_ADDRESS>            AzureAD.Standard.Preview {Add-AzureADApplicationOwner, Add-AzureADDeviceRegisteredOwner, Add-AzureADDeviceRegistere

gcm *Privileged*

>

gcm -module AzureAD.Standard.Preview | measure

Count             : 174

# outside of cloudshell in pwsh 7.2.1

gmo *azuread* | ft -AutoSize

ModuleType Version   PreRelease Name           ExportedCommands
---------- -------   ---------- ----           ----------------
Binary     <IP_ADDRESS>            azureadpreview {Add-AzureADAdministrativeUnitMember, Add-AzureADApplicationOwner, Add-AzureADApplicationPolicy, Ad…

gcm *Privileged*

CommandType     Name                                               Version    Source
-----------     ----                                               -------    ------
Cmdlet          Add-AzureADMSPrivilegedResource                    <IP_ADDRESS>  azureadpreview
Cmdlet          Close-AzureADMSPrivilegedRoleAssignmentRequest     <IP_ADDRESS>  azureadpreview
Cmdlet          Get-AzureADMSPrivilegedResource                    <IP_ADDRESS>  azureadpreview
Cmdlet          Get-AzureADMSPrivilegedRoleAssignment              <IP_ADDRESS>  azureadpreview
Cmdlet          Get-AzureADMSPrivilegedRoleAssignmentRequest       <IP_ADDRESS>  azureadpreview
Cmdlet          Get-AzureADMSPrivilegedRoleDefinition              <IP_ADDRESS>  azureadpreview
Cmdlet          Get-AzureADMSPrivilegedRoleSetting                 <IP_ADDRESS>  azureadpreview
Cmdlet          Get-AzureADPrivilegedRole                          <IP_ADDRESS>  azureadpreview
Cmdlet          Get-AzureADPrivilegedRoleAssignment                <IP_ADDRESS>  azureadpreview
Cmdlet          New-AzureADPrivilegedRoleAssignment                <IP_ADDRESS>  azureadpreview
Cmdlet          Open-AzureADMSPrivilegedRoleAssignmentRequest      <IP_ADDRESS>  azureadpreview
Cmdlet          Set-AzureADMSPrivilegedRoleAssignmentRequest       <IP_ADDRESS>  azureadpreview
Cmdlet          Set-AzureADMSPrivilegedRoleSetting                 <IP_ADDRESS>  azureadpreview

gcm -Module azureadpreview | measure

Count             : 319

Observed Behavior
There are no PIM modules/Cmdlets in CloudShell.
Expected behavior
I would like to be able to manage PIM from CloudShell
https://docs.microsoft.com/en-us/azure/active-directory/privileged-identity-management/powershell-for-azure-ad-roles
I believe AzureAD.Standard.Preview was written for CloudShell since azureadpreview requires WindowsPowerShell.
So adding this extra functionality would be very helpful.

going to close this.
I have found the beta priviledged graph modules.
install-module Microsoft.Graph.Authentication
install-module Microsoft.Graph.Identity.Governance
Select-MgProfile -Name beta
These may solve my problem. .. will re-open if I get blocked.


Error running on Docker

Hey, I followed the installation quide, got the docker running, opened index.html, but when I enter a domain url to start a project I get the following error and docker stops:

process 13: D-Bus library appears to be incorrectly set up; failed to read machine uuid: Failed to open "/etc/machine-id": No such file or directory
See the manual page for dbus-uuidgen to correct this issue.
Traceback (most recent call last):
File "/app/slyd/slyd/splash/ferry.py", line 144, in wrapUrl
return wrap_url(text(url), self.protocol.user.tabid, text(baseuri))
File "/app/slyd/slyd/splash/css_utils.py", line 17, in wrap_url
url = urljoin_rfc(base, url)
File "/usr/local/lib/python2.7/dist-packages/w3lib/url.py", line 60, in urljoin_rfc
str_base = unicode_to_str(base, encoding)
NameError: global name 'unicode_to_str' is not defined
Aborted

Any idea how to work around this?

hi @vicgrad as you can see here, the latest version of this library actually breaks stuff
https://github.com/scrapy/w3lib/issues/51
For now, just clearly state the library version in the requirements, then you will be fine
So, all you have to do is open file /slyd/requirements.txt , put this line w3lib==1.13.0 in, then build again and you are good to go

new w3lib v1.14.2 is out.
@vicgrad , can you check if the issue is solved with this new release?

Hi,
@devNo0b Thanks for the tip, I managed to move past the error and to load a page. After trying to annotate the page though, the docker image failed again.
The error reads:

Traceback (most recent call last):
File "/app/slyd/slyd/splash/ferry.py", line 165, in sendMessage
self.protocol.sendMessage(metadata(self.protocol))
File "/app/slyd/slyd/splash/commands.py", line 83, in metadata
socket.tab.loaded = True
AttributeError: 'NoneType' object has no attribute 'loaded'
Aborted

@redapple Tried v1.14.2 and it behaves similar to v1.13.0
When I build the docker image it shows the following in the logs:

...
Downloading/unpacking w3lib==1.14.2 (from -r /app/slyd/requirements.txt (line 1))
Downloading w3lib-1.14.2-py2.py3-none-any.whl
...
Requirement already satisfied (use --upgrade to upgrade): w3lib>=1.8.0 in /usr/local/lib/python2.7/dist-packages (from scrapy==1.0.0->-r /app/slybot/requirements.txt (line 2))
...

@redapple I got that error exactly the same to you. Not sure why also. Sometimes, it can be this error too, when we annotate the page.
[(https://github.com/scrapinghub/portia/issues/438)]
Still no respond


static build linux

Codecov Report

Merging #58 (e3a4d83) into main (9f77a14) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #58   +/-   ##
=======================================
  Coverage   69.65%   69.65%
=======================================
  Files           7        7
  Lines        1984     1984
=======================================
  Hits         1382     1382
  Misses        602      602


pipewire: 0.3.52 -> 0.3.53

Description of changes
https://gitlab.freedesktop.org/pipewire/pipewire/-/releases/0.3.53
Things done
Built pipewire itself & tried running the results, didn't try a full system rebuild.

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Rebased because eval was broken.

@GrahamcOfBorg eval

0.3.54 is out with a bunch more fixes, we should just skip to that.

Oh no


adds "completion" command for bash auto-complete

The "completion" command outputs to STDOUT the necessary script to add
bash auto-complete.
This can be used by adding the following to ~/.bash_profile:
temp_compl=$(mktemp)
function finish {
  rm -rf "$temp_compl"
}
trap finish EXIT

kf completion > $temp_compl
source $temp_compl

fixes #91

Is there a reason `eval "$(kf completion)" wouldn't work?

Is there a reason eval "$(kf completion)" wouldn't work?

Ah perfect! I was going off of the source method and it wasn't working well.


feat: output request and session costs

[!IMPORTANT]
Adds functionality to calculate and log token usage and costs for requests and sessions in LogManager, with updates to logmanager.py, message.py, and util/__init__.py.

Behavior:

LogManager.append() in logmanager.py now logs token and cost information using costs() when a message from the assistant is appended.
New function costs() in logmanager.py calculates and logs token usage and cost per request and session.

Functions:

Adds _tokens_inout() and _cost() in logmanager.py to compute token input/output and cost for messages.
Adds cost() method to Message class in message.py to calculate cost based on token count and model pricing.

Utilities:

Updates get_tokenizer() in util/__init__.py to log a warning if a tokenizer for a model is not found, using a default tokenizer instead.

This description was created by  for 9741158df045840cc7dcbdae78559809f67c66a0. It will automatically update as commits are pushed.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 72.33%. Comparing base (5ec053f) to head (d093b48).

:white_check_mark: All tests successful. No failed tests found.
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #293      +/-   ##
==========================================
+ Coverage   72.24%   72.33%   +0.09%
==========================================
  Files          64       64
  Lines        4331     4360      +29
==========================================
+ Hits         3129     3154      +25
- Misses       1202     1206       +4

Flag
Coverage Δ

anthropic/claude-3-haiku-20240307
71.12% <100.00%> (+0.10%)
:arrow_up:

openai/gpt-4o-mini
70.98% <100.00%> (+0.10%)
:arrow_up:

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Been running this for a while now, this morning I kept to a single session and compared it to Anthropic spend at the end:
Anthropic console: $6.39
gptme cost estimate: $5.335
Difference could be due to tokenization differences (we assume cl100k), but close enough.

Good enough, merging this.


Remix v2

FYI We'll release v2 support in our next major bump to avoid breaking changes for users in minor/patch releases.

This is just to track the required changes for supporting Remix v2.
~I had to add a few @ts-ignore due to a bug in the types: https://github.com/remix-run/remix/issues/7246~ Fixed!
Should be fixed for v2 stable I think.
Todos:

[x] Update demo-store, hello-world and examples
[x] Remove old code for v1
[x] Remove bug related @ts-ignore comments
[x] Update support for JSDoc when #1334 is merged

~Note: the preview environment in this PR shows the demo-store and it has unrelated errors due to the new CSP~

I think we should note breaking change in changeset?

I had links to the Remix release notes in the demo-store changeset but I've now added the same links to the other packages. Also added a couple of common examples 👍


QA Process Batch 3

Provide support to RTB and FISH for Annual Report submission between MEL and CLARISA
We expected to recieved information from Fish

SLOs
Policies
OICRs
Innovations
Publications.
Capdev
External Partnertships (Optional)
MELIA

from RTB we expected to recieved information

Publications.

we recieved a request from Cristiano Rossignoli to include FISH milestones

we created all milestones in CLARISA and share information to be exposed through CLARISA and he replied confirming the data.

Can we close this issue? @yeyo2k3

IS this issue related only to RTB and FISH? If so, what about GLDC?

@htobon this issue was is related to RTB and FISH updates. GLDC was not part of Batch 3
@RodrigoOrtizM we can not close this issue yet, we have to wait to round 2 of QA with any expected update from FISH based on QA assesors comments

Nothing did happen for this last batch. Closing the issue.


Fix a few typos in ETS examples

These examples are super handy, thanks!

Good catch @jc00ke, thank you 👍

Thank you!


Seemingly random line jumps

Unfortunately, this plugin appears to be nearly completely broken on 1.34. Tested on Linux. I first disabled all other third party packages, and opened atom in folder view from command line (atom .). I then clicked on three different lines in the file, and pressed alt - -. One of several improper behaviors would occur:

skipping a line that was previously visited
mixing up the order of lines visited
adding new lines that were never visited

Sorry, going to close this for now. Problems 1 & 2 seemed to be resolved by updating last-cursor-position (oops!) and problem 3 comes from my use of page up and page down