Add PHP runtime configuration from composer.json

To aid it a more idiomatic and friendly developer experience, when building for a PHP application, allow the runtime to be configured from composer.json, e.g.:
{
    "require": {
        "php": "^8.3",
        "myorg/mypackage": "^0.7"
    },
    "scripts": {
        "gcp-build": "my-script"
    },
    "extra": {
        "laravel": {
            "dont-discover": [
                "myorg/mypackage"
            ]
        },
        "google-buildpacks": {
            "document_root": "public",
            "front_controller": "index.php",
            "php-fpm": {
                "enable_dynamic_workers": true,
                "workers": 4
            },
            "serve_static": true
        }
    }
}

You can omit this entirely, or omit individual fields, so just specify the bits you want to customise.
This should work for both App Engine Flex, plus Cloud Run.
RFC @sonnysasaka @sl0wik @jama22 @kennethye1
I don't necessarily intend to have this merged as is, but use it as a starting point for a further discussion, unless you are all happy - what do we think?

I like it in general. It feels like some of those things should be set in app.yaml instead. For example php-fpm behavior might be different in different environments.

Good point @sl0wik , like if you're wanting to deploy the same repository on test/staging with a smaller instance and less concurrency, vs perhaps a larger instance and more concurrency in production?
If we're talking using build packs to builder a docker container image for Cloud Run, there isn't really anything like an app.yaml file - so perhaps the environment variable options on the pack command are the best choice?
If we want it to be a file in the repository, I suppose those settings could be included in a cloudbuild.yaml file.
And do we think document_root, front_controller and possible serve_static are the kind of settings that would be global to all deployments that they'd be suitable to be optionally defined in composer.json?

In terms of the php-fpm options specifically, would this be something that's useful to tune with runtime environment variables, rather than build time environment variables?
The configuration files are generated during the build and static inside the container for the Cloud Run style builds, however, on App Engine Standard, serve is dynamically generating the php-fpm configuration at start-up - would we be better placed to switch to something like this for Cloud Run?
I say this as imagine you are using Cloud Deploy for a deployment pipeline into Cloud Run, you build a single docker image from source, then pass it to Cloud Deploy to roll out onto test/staging, then onto production - your instance size / concurrency could be different between the two environments, but you've got to use the same docker image.

It's nice that common features can be tweaked without replacing the whole file. I support making these configs easy! Not sure about composer.json though, maybe environment variables will be more generic?

Ok, thanks @sonnysasaka , I think it’s looking like the consensus is becoming environment variables rather than composer.json, which is fair.
What are your thoughts on the php-fpm settings being runtime environment variables rather than build time variable, when on Cloud Run?

@iamacarpet I agree with @sonnysasaka that env sounds like a better solution. You can pass env variables to both, App Engine and Cloud Run. I'm already using it to set composer version.

Hi @iamacarpet,

What are your thoughts on the php-fpm settings being runtime environment variables rather than build time variable, when on Cloud Run?

I am a bit wary about php-fpm settings being runtime config, since it might make troubleshooting harder. I think build time is already convenient enough.


However, if I make a symlink from youtube-dl to yt-dlp and run baka-mplayer (frontend of mpv, mpv can use youtube-dl) and feed an URL to video to it, it runs the following according to strace:
/usr/bin/youtube-dl --no-warnings -J --flat-playlist --sub-format ass/srt/best --format bestvideo+bestaudio/best --all-subs --no-playlist -- 'https://www.youtube.com/watch?v=DTegiRe2NRc'
and playback speed and quality in baka-mplayer is watchable, not 1 KiB/s
Download speed of short videos (e.g. 10 min) is good, 7 MiB/s.
Old youtube-dl-2021.06.06 does not have this problem, doesnload speed is good with it, so this is a regression:
$ youtube-dl 'https://www.youtube.com/watch?v=DTegiRe2NRc'
[youtube] DTegiRe2NRc: Downloading webpage
[youtube] DTegiRe2NRc: Downloading MPD manifest
WARNING: Requested formats are incompatible for merge and will be merged into mkv.
[dashsegments] Total fragments: 5511
[download] Destination: Конференция ОS DAY 2021 – 14 октября, Москва _ Прямая трансляция-DTegiRe2NRc.f248.webm
[download]  10.1% of ~1.44GiB at  9.82MiB/s ETA 13:35

The same problem is with another long video https://www.youtube.com/watch?v=cSxzp7fLvpk

Yes, I have identified the issue. Will fix soon

Seems to work now. Thanks!


refactor: extra booking info refactored to avoid gotcha with context

refactoring to avoid gotcha with React context - described here: https://reactjs.org/docs/context.html#caveatsLiveURL: https://smartfaq-refactoring-extra-info.surge.sh

Then just one last note. If this fixes a behavior, I think it should be "fix" in the commit message


Remove app internal cached files

Cached files may contain sensitive information that should not be stored indefinitely

#14


TextBox may paint cursor outside of its bounds

There are a couple of ways to reproduce this:

Scroll within the textbox such that the cursor position is no longer visible
Resize the textbox so the cursor position is hidden

In both cases the cursor is still painted

This also occurs with the scrollbar


MelBands features buffer contains many zeros

I noticed that some combinations of numBands and windowSize (i.e., fftSize) writes a lot of zeros into the features buffer. In a FluidWaveform these show up as black bars.

I poked at it a bit (see below). I'm guessing this has to do with the scaling that's happening under the hood, but it feel like a mistake.

Can the channels that would be all zeros just be removed (but of course then it would have fewer channels than requested numBands)?
Or can the useful values be copied into the channels that would have all zeros (so that the image can be correct)?
Or is this a different underlying issue?

s.boot;

~drums = Buffer.read(s,FluidFilesPath("Nicol-LoopE-M.wav"));

// show mels
~mels = Buffer(s);
FluidBufMelBands.processBlocking(s,~drums,features:~mels,numBands:512,windowSize:2048,action:{"done".postln});

// if you're on the right branch... (https://github.com/flucoma/flucoma-sc/tree/enhancement/FluidWaveform)
FluidWaveform(bounds:Rect(0,0,1600,400),rasterBuffer:~mels,rasterColorScheme:1);

// if not just look here:
(
~mels.loadToFloatArray(action:{
	arg mels;
	mels = mels.clump(~mels.numChannels);
	mels.dopostln;
});
)

~mels.numChannels.postln;

This is interesting and probably due to bands not having any bins at that level. This is a question for @g-roma for the behaviour of the algo, with a side one for @weefuzzy to see how the max plotter would act in this case (if any different). Also @tedmoore did you try to ask for 1 band per pixel and not more, so you avoid having empty channels-bands?

What I'm demonstrating is agnostic of pixels. This is happening at the FluidBufMelBands level. There are some channels in the buffer that are all zeros.

I will need to try, as SC drawing is far from the best when pixel need under/oversampling (as I explained before).
Also, if your filters at the bottom don't have anything in them, they just don't. What I reckon iZotope is doing is smoothing.
At the moment I cannot test @weefuzzy because it draws in the wrong dimension. But I'll check values. This looks like Nicol, right?

Yep. It's Nicol.

I thought it might be a bug, but I've check central frequencies of 512 bands between 20 and 20k like this:
(
~lowMel =  1127.010498 * ((20/700) + 1).log;
~highMel = 1127.010498 * ((20000/700) + 1).log;
~rangeMel = ~highMel - ~lowMel;
~stepMel = ~rangeMel / 513;
512.collect({
    arg i;
    var freqMel = (~stepMel * (i +1)) + ~lowMel;
    var freq = ((freqMel/ 1127.01048).exp - 1 ) * 700;
	freq;
});
)

and I get
24.729342702168, 29.489749912775, 34.281426006089, 39.104576372737, 43.959407752462, 48.846128242982, 53.764947308914, 58.716075790746, 63.699725913883, 68.716111297734, 73.765446964878, 78.847949350275, 83.963836310543, 89.113327133301, 94.296642546564, 99.514004728205,<PHONE_NUMBER>1548,<PHONE_NUMBER>1462,<PHONE_NUMBER>1045,<PHONE_NUMBER>7616,<PHONE_NUMBER>8302,<PHONE_NUMBER>1025,<PHONE_NUMBER>5492,<PHONE_NUMBER>4194,<PHONE_NUMBER>3405,<PHONE_NUMBER>4197,<PHONE_NUMBER>3452,<PHONE_NUMBER>4891,<PHONE_NUMBER>01,<PHONE_NUMBER>9567, 18...etc...
===
so it means that at the bottom there are 5Hz between the bands... at 2048 fft you get 22Hz between each bin. Now @g-roma  will have to let us know if that is an expected behaviour but for now, the number of pixel (which is the same as the number of mel bands you need on the y axis) could be made to match as the lower it is (with this implementation) the largest the distance betweem the melbands at the bottom so the lowest the fft oversampling will have to be.
to get 4 Hz, I needed to get the fft size above 11k, which I can do by windowSize:11000 or by oversampling the fft (fftSize: 16384) - the latter is slower but both yield no 0s.
Is it clear-ish? @g-roma am I understanding right?

You'll get the same with librosa too, FWIW. Though they warn (the first time) about empty channels.
import librosa
import librosa.display
import matplotlib.pyplot as plt
import numpy as np
y, sr = librosa.load('/Users/owen/dev/flucoma-core/AudioFiles/Nicol-LoopE-M.wav',sr=None)
S = librosa.feature.melspectrogram(y=y, sr=sr,n_mels=512)
fig, ax = plt.subplots()
S_dB = librosa.power_to_db(S, ref=np.max)
img = librosa.display.specshow(S_dB, x_axis='time',y_axis='mel', sr=sr,ax=ax)
fig.colorbar(img, ax=ax, format='%+2.0f dB')
ax.set(title='Mel-frequency spectrogram')

Throwing a warning seems like a fine solution.
Regarding the plotting, FluidWaveform won't know if the imageBuffer is composed of melBands, so it won't know that it should drop certain channels. I think if FluidBufMelBands documents the possibility for empty channels then the user can figure out why there are black bars. (and we can document it in the FluidWaveform examples as well).

For now, can I suggest you oversample the fft for the drawings you need to do if that works for you, so you get to one band per pixel, check the space you need in Hz and oversample accordingly?

Yeah, I think this should be the use pattern when wanting to plot Mels.

Well, unfortunately we can't warn at the moment because we have no mechanism to do it from wrapped real-time objects. But when we do 🥳 🎈 🎉 ✨

This can be closed when https://github.com/flucoma/flucoma-docs/pull/78 is merged.


Need to create analytical graphs of the instantsearch results

Is the the any way to create analytics graphs of the instantsearch resultats. For example, if we
do a search on the films and we want to display some analytics graphs showing the istribution of films by category or year or ...
I thought to add a custom widget that creates the graphics.  I've read through both instantsearch docs and the helper docs but just not getting it. I don't find how to get the resultas values !! Can anyone guide me on creating this? Or suggest me another solution ?
Thank you and any help would be great!

Hey @hajjoura11,
Did you see the guide on customisation on the website? Your idea seems very interesting, what data do you want to create the graph, is it created with the hits? If so, you can use connectHits, what is also interesting is the stats about the current search, you can find those in connectStats.
Does that give you help? Feel free to continue asking more information
guide on connectors: https://community.algolia.com/instantsearch.js/v2/guides/customization.html

Hey @Haroenv ,
Thank you so much for your super quick and helpfull response.
Yes I see the guide on customisation on the site but I don't get it.
Concerning the data, I need the hits and the facet results. For example, if I do my search on the films. I will need the values of 'category' and 'year' attributes and their stats to show the distribution of films by category or year ..
The connectors seems to be a good solution, I will try it and tell you the results..
Thank you again for your help ..

Aha, for having the data on the facets, you can use connectMenu or connectRefinementList
I'll close this for now, but feel free to reopen if there's more information needed.
It would also be helpful afterwards if you posted your stats solution (it's very innovative 🎉) on our forum

Ok thank you ! I will post my solution when when it turns well ...


Post Processing Selected only works for models?

For the post processing example:
https://cesiumjs.org/Cesium/Build/Apps/Sandcastle/?src=Per-Feature Post Processing.html
If you replace the model:
model : {
        uri : url
    }

with:
box : {
        dimensions : new Cesium.Cartesian3(400000.0, 300000.0, 500000.0),
        material : Cesium.Color.BLUE
    }

The color-on-mouse-over no longer works. The docs are a bit vague on what it applies to, since it only says that this allows you to select the "features", which at first made me think of 3D Tiles features.
Is this expected to work? If not, maybe needs a better doc explanation.
Came up on the forum.
@bagnell

I think the answer is yes, it doesn't work for entities yet, because there's currently no API for getting the underlying primitive from an entity. There's a feature request for it here: https://github.com/AnalyticalGraphicsInc/cesium/issues/6705

Congratulations on closing the issue! I found these Cesium forum links in the comments above:
https://groups.google.com/d/msg/cesium-dev/n3ErwO3DDPo/Q3B1l8MkAAAJ
If this issue affects any of these threads, please post a comment like the following:

The issue at https://github.com/AnalyticalGraphicsInc/cesium/issues/7288 has just been closed and may resolve your issue. Look for the change in the next stable release of Cesium or get it now in the master branch on GitHub https://github.com/AnalyticalGraphicsInc/cesium.


Ability to use setDebugViewProvider in Transformer.Builder without the need to create an Output file

When filing a feature request:
[REQUIRED] Use case description
Ability to use setDebugViewProvider in Transformer.Builder without the need to create an Output file
When we checked the code for getDebugPreviewSurfaceView this
and the transformer.start(composition, outputPath);  this
it seems FinalShaderProgramWrapper doesnot need to create any file as its just implements the GlShaderProgram  also even when we try to mix audio and video the Video is created and the output file works perfectly however the debugpreview doesnot play any audio so there is no need to create a separate file just for the preview.
Proposed solution
allow ability to pass null for oputputpath so we dont need to create a file just for the preview  transformer.start(composition, null);
Alternatives considered
We tried passing null for the oputputpath  however it gives an error.

Transformer is intended for exporting files, not previewing. What is your use case, for outputting to a SurfaceView? If the goal is to use this for previewing, ExoPlayer.setVideoEffects may allow you to play a video or image and output with VideoFrameProcessor effects applied.

we want to have the ability for the user to preview the live edits, we know about ExoPlayer.setVideoEffects
But it has lot of limitations
which  I  mentioned here
we have following requirments

ability to handle each video separately which I think is currently in development
I tried to implement the picture in picture overly but there seems to be no Textureoverlay that can manage this
Exoplayer applies changes to all the videos which will require additional management which seems to be repletion of existing code
FinalShaderProgramWrapper  is the prefect code that will satisfy various requirements for developers who want to manage various effects instead of writing their own logic which might be just a repletion of the code
creating an additional file just for a preview will take up precious disk space
if we can manage the PIP effect using just  ExoPlayer.setVideoEffects  it will be great for other requirements we will try to manage other things although handling individual video is much easier.
our main aim is to avoid repeating the same code for exoplayer  that has already been implemented in the Transformer

@pawaom thank you for clarifying your requirements in such detail.
The team is currently working on the new feature to allow editing preview before the export without the need to create an output file. It should cover all your requirements for the preview.
To cover the PIP effect question, I will reply in more detail in the original question (806)

@droid-girl @dway123 thanks for the reply,
at the moment we have decided for a hybrid solution, have the pip effect in glsurfaceview and rest of the things using  ExoPlayer.setVideoEffects
Its great to know the multiple input videos (ex. PIP)  is in development
hopefully these features will be in focus

ability to handle the Audio of mulitple inputs simultaneously, since both or multiple videos might have audio an (audio on audio ) feature will be required
ability to handle effects on  each video separately and in combination for example we can scale the "Anchor/Background video", rotate the overlay video individually and apply grayscale effect to all the videos simultaneously

@pawaom thank you for your input.

We currently support 2 sequences: where 1 sequence is a sequence of videos and the second sequence is an audio track. The library does support audio mixing with a limitation that the second audio track is a looping track. The team is working on supporting more functionality
this enhancement is on our roadmap


Fixed wrong values in german translation

In the about Dialog (Help -> Info) Node.js is literally translated to "knot".
In the menu Translation for "Open recent", the sentence is translated literally which causes that the word for "files" is missing.

Hi @squarerootfury, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

 Where can I contribute this translation fixes?

@dbaeumer will know

@squarerootfury we are currently working on this. For the meantime the only thing you can do is to open an issue here.
@johnliu2016 I assign this to you. Can you please feed the corrections back into the translation repository.

Thanks, ported this issue to loc side for translation fix

Loc fix's in.


(fix): The Alignment of two Assets

Description
The alignment of assets on the Hero page and Features page is currently misaligned, leading to a visual inconsistency in our project.
Current Behavior:
On the Hero page, assets are not aligning as intended, causing a lack of visual harmony.
The Features page also exhibits a different alignment, compounding the inconsistency.
Screenshot:

Expected Behavior:
Assets on both the Hero and Features pages should align correctly, creating a cohesive and visually pleasing presentation.

Relevant Design Files:
Check out our Design File

Hey @Arindam200 I would like to take this up

Go Ahead @mehulrnsit !

@Arindam200 Please let me know if any more changes are required


Requesters and Alias Certificates

Related issue with the SPDM specification : https://github.com/DMTF/SPDM-WG/issues/2585.
https://github.com/DMTF/libspdm/blob/6684f43117784b12e25e665df65d1d122540f11f/library/spdm_common_lib/libspdm_com_crypto_service.c#L589-L604 is common to both Requesters and Responders. Note that it uses the peer's ALIAS_CERT_CAP. However the Requester does not advertise its ALIAS_CERT_CAP, so the Responder does not have an easy way to determine if the Requester is using device certificates or alias certificates. This information is used to check whether the leaf certificate has a SPDM hardware identity OID.
https://github.com/DMTF/libspdm/blob/6684f43117784b12e25e665df65d1d122540f11f/library/spdm_crypt_lib/libspdm_crypt_cert.c#L824-L839

It seems https://github.com/DMTF/libspdm/pull/1956 added some function to help to fix.
@xiangfeima , would you please take a look to see if you can take and fix this one?


Minor issues with filesystem and grid/vertical layout

reported by @fuenfundachtzig :
          First of all, thanks for the great work on marimo!

I noticed a few inconveniences:

When there is a bad symbolic link in a directory, this line will lead to an "Internal Server Error". ("Bad" can either be a recursive link (ln -s broken) or a link pointing to a non-existing file (ln -s broken notthere).)
Saving will allow filenames such as "." or ".." to be used as regular filenames.
When switching to the grid layout in app mode and back to vertical layout, the layout file is not deleted, in my case leading to an empty app being shown with marimo run ...

Originally posted by @fuenfundachtzig in https://github.com/marimo-team/marimo/issues/503#issuecomment-2027717863

Mini PR to fix first issue in #1034

Thanks for fixing these!


Roll Flutter Engine from 61f0a3fbabbe to e8723f48157b (1 revision)

https://github.com/flutter/engine/compare/61f0a3fbabbe...e8723f48157b
2024-09-23<EMAIL_ADDRESS>Roll Skia from a402d3c60c16 to c20cce6273fb (1 revision) (flutter/engine#55359)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC chinmaygarde@google.com,rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Issue mml3 extension not working even though it is loaded correctly

I am trying to execute the following:
./bin/mml2svg "<m:math><m:mstack><m:mn>101</m:mn><m:msrow><m:mo>-</m:mo><m:mn>63</m:mn></m:msrow><m:msline/></m:mstack></m:math>" --extensions "TeX/noErrors,TeX/noUndefined,MathML/mml3"
I have done a little bit of debugging and I've been able to determine the extension did load by setting messages to print:
Loading [MathJax]/jax/input/TeX/config.js
Loading [MathJax]/jax/input/MathML/config.js
Loading [MathJax]/jax/input/AsciiMath/config.js
Loading [MathJax]/jax/output/SVG/config.js
Loading [MathJax]/jax/output/CommonHTML/config.js
Loading [MathJax]/extensions/toMathML.js
Loading [MathJax]/extensions/TeX/noErrors.js
Loading [MathJax]/extensions/TeX/noUndefined.js
Loading [MathJax]/extensions/MathML/mml3.js
Loading [MathJax]/jax/element/mml/jax.js
Loading [MathJax]/jax/input/TeX/jax.js
Loading [MathJax]/jax/output/SVG/jax.js
Loading [MathJax]/extensions/TeX/AMSmath.js
Loading [MathJax]/extensions/TeX/AMSsymbols.js
Loading [MathJax]/extensions/TeX/autoload-all.js
Loading [MathJax]/jax/output/SVG/fonts/TeX/fontdata.js
Loading [MathJax]/jax/input/AsciiMath/jax.js
Loading [MathJax]/jax/input/MathML/jax.js
MathML - Unknown node type: mstack

I've tested the exact same MathML using a simple example.html and it rendered to svg using MathJax.js?config=TeX-MML-AM_SVG so I know everything is valid.

The mml3 extension uses XSLT transformations to convert the MathML3 constructs into MathML that MathJax understands, and mathjax-node uses the JSDOM library to implement the DOM needed by MathJax to do its work.  Unfortunately, JSDOM doesn't implement the XSLTProcessor, and so mathjax-node can't do the XSLT transformation.  That is why you are getting the error message you are seeing, because the nodes have been left as they were as tags that mathjax-node doesn't understand.
I did a quick check to see if there was an XSLTProcessor extension to JSDOM, but I don't see one.  So for now, there doesn't seem to be a way to get this to work in mathjax-node.  The long-term solution is to convert the mml3 extension to use javascript rather than XSLT to do the conversion (like the content-mathml extension), but that is not currently high on our priority list.

Hi there, is there any updates on this issue?

@ruirui19, it is unlikely that there will be work done on this, as mathjax-node is based on MathJax v2, and that is no longer under development now that version 3 is out.  Since MathJax v3 can be used in node directly, without the hacks used in mathjax-node, you might find that that meets your server-side needs.  The mml3 extension was recently added to version 3 (see #2515), so you should be able to make use of the elementary math tags in version 3 within node, just as you can with version 2 in a browser.


Get kubernetes user from exec logs

suppose a user open shell in a pod and performs some commands. Can I get kubernetes user of this user (not container user e.g root)?

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Provide feedback via https://github.com/falcosecurity/community.
/lifecycle stale

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close.
Provide feedback via https://github.com/falcosecurity/community.
/lifecycle rotten

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.
Provide feedback via https://github.com/falcosecurity/community.
/close

@poiana: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.
Provide feedback via https://github.com/falcosecurity/community.
/close

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

/reopen
/remove-lifecycle rotten

@Andreagit97: Reopened this issue.

In response to this:

/reopen
/remove-lifecycle rotten

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

sorry we missed this, no at the moment is not possible but we are tracking it here https://github.com/falcosecurity/falco/issues/2895, so I will close this since it is already tracked. BTW thank you for reporting it!

/close

@Andreagit97: Closing this issue.

In response to this:

/close

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.


UI changes -- Developer Profile card

#Issue 909
Developer profile Card --> UI changes
Changes that are done--
--> The font inconsistencies
--> Image is changed acc. to the profile
--> Spacing errors are sorted
--> Gradients are used (mod. palette)
-->Like functionality design is added (only design)
-->Soft transitions added
-->Positioning issues
@harshit-paneri @TusharKesarwani

[https://deploy-preview-987--frontendprojects.netlify.app/projects/developer profile card](https://deploy-preview-987--frontendprojects.netlify.app/projects/developer profile card)
not working

[https://deploy-preview-987--frontendprojects.netlify.app/projects/developer profile card](https://deploy-preview-987--frontendprojects.netlify.app/projects/developer profile card)
not working

I don't know why it's not getting deployed. Was it working before?

You should write as Closes #909


[Ubuntu] youtube-dl does not downolad the the most recent file from playlist

Introduction.
I want to download the the most recent file from playlist [https://www.youtube.com/playlist?list=PLRSGEZKuzW-5VWfGU8FuYTNV1rd6p7-7C]. I am using a bash script.
The bash script compares current recordings number from youtube chanel with a record numbers which have saved previous day in a file. When is new video youtube-dll should downolad file - please see the fragment of script below.
# URL = URL to playlist
# path - path to file
# temp - temporary file name where is saved previous checking
#...

LAST=$(cat $path/$temp)
NOW=$(youtube-dl -s --get-filename $URL | wc -l)
        if [ "$NOW" -gt "$LAST" ]; then
                echo $NOW>$path/$temp
                NEW_VIDEO_ID=$(youtube-dl -s --playlist-items $NOW --get-id $URL)
				cd $path && youtube-dl --extract-audio --audio-format mp3 "https://www.youtube.com/watch?v=$NEW_VIDEO_ID"

#...

Youtube-dl does not downolad the most recent file from playlist. How can I improve this?
Thanks.

https://github.com/rg3/youtube-dl#how-do-i-download-only-new-videos-from-a-playlist


Propose STAC assets summary to  STAC Core

To get https://github.com/linz/stac/issues/143 adopted by the community, we would like to propose this change to STAC Core,
Acceptance Criteria
Tasks

Duplicate of https://github.com/linz/geostore/issues/886


Is it possible to flatten a nested type declaration in generic function?

Case: A function's parameter is a nested generic type, and output is a flatted generic object, just like this:
interface IMap<T> {
  en: T;
  cn: T;
}

type IN<T> = {
  [P in keyof T]: IMap<any>;
}

function build<T extends IN<T>>(input: T): ? {
  const out: any = { en: {}, cn: {} }
  for (let p in input) {
    out.en[p] = input[p].en
    out.cn[p] = input[p].cn
  }
  return out
}

const strings = build({
  str: { en: 'en', cn: 'cn' },
  arr: { en: ['en'], cn: ['cn'] },
})

I hope the typeof strings is:
interface IS {
  en: {
    str: string;
    arr: string[];
  };
  cn: {
    str: string;
    arr: string[];
  };
}

What should be the return value type ? of this function build?
I know that there is used for bug reporting, but no one answer my question at stackoverflow. T_T

Hmm, this looks similar to a question I just answered on Stack Overflow, but with the structure altered slightly.

@jcalz It's me, thanks very much~


fix: should not announce github releases

What:

Additional issues:

:tada: This PR is included in version 10.0.6 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 10.0.6 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 10.0.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 10.0.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


node-ffi does not build with NodeJS 9.x on Linux

I have a very simple Dockerfile which looks like:
FROM node:8

WORKDIR /app

COPY . .
RUN npm install --production

CMD ["node", "prototype.js"]

My package.json dependencies look like this:
    "dependencies": {
        "ffi": ">=2.2",
        "ref": ">=1.3",
        "ref-array": ">=1.2",
        "ref-struct": ">=1.1"
    },

node9-failure.log

Also getting exactly like this; manual clone-then-build works fine.

Downgrading to node@8 worked for me too FYI


split line into 2 sub-expressions

I want to resolve #53 with splitting one long line of code into 2 sub-expressions

Migration Recommended
It appears you are still using the CoPilot OAuth App - we recommend you migrate to the GitHub App

Migration Recommended
It appears you are still using the CoPilot OAuth App - we recommend you migrate to the GitHub App

Black Duck Security Report
Merging #54 into develop will not change security risk.
Removed Components
Clean:       2
Click here to see full report

Black Duck Security Report
Merging #54 into develop will not change security risk.
Removed Components
Clean:       2
Click here to see full report

Hi @leviathan88, this looks not the best to every time adding new tmp :)
Could you create array of UInt8 from OP-codes and use Data(<#T##elements: Sequence##Sequence#>) init to create Data?

@impul not sure I understood everything, also does order of codes matter
is it possible to do something like this
let opCodes: [UInt8] = [
            OpCode.OP_DUP.value,
            OpCode.OP_HASH160.value,
            UInt8(pubKeyHash.count),
            OpCode.OP_EQUALVERIFY.value,
            OpCode.OP_CHECKSIG.value
]
return Data.init(opCodes) + pubKeyHash

could you provide more input ?

@leviathan88 yes, it matters. You've done almost right. Just do [[UInt8]] and flat map over them.

@impul and map it to what ? could you be more clear I want to help, thanks

@leviathan88, here is how I see it, flat map would not work here, sorry for confusing:
let values: [UInt8] =
         [OpCode.OP_DUP.value, OpCode.OP_HASH160.value, UInt8(pubKeyHash.count)]
         + pubKeyHash.bytes
         + [OpCode.OP_EQUALVERIFY.value,  OpCode.OP_CHECKSIG.value]
return Data(values)

And also we need Unit-test for that:
    func testPublickKeyHashOutFromPubKeyHash() {
        let expected = "76a9210392030131e97b2a396691a7c1d91f6b5541649b75bda14d056797ab3cadcaf2f588ac"
        let entropy = Data(hex: "000102030405060708090a0b0c0d0e0f")
        let mnemonic = Mnemonic.create(entropy: entropy)
        let seed = Mnemonic.createSeed(mnemonic: mnemonic)
        let privateKey = PrivateKey(seed: seed, coin: .bitcoin)
        let publicKey = privateKey.publicKey.data
        let hash = Script.buildPublicKeyHashOut(pubKeyHash: publicKey)
        XCTAssertEqual(hash.toHexString(), expected)
    }

@impul no problem, that seems to work, and I can do it like that but I'm afraid that line would once again be too long, what do you say we do it like this:
let values: [[UInt8]] = [
            [OpCode.OP_DUP.value, OpCode.OP_HASH160.value, UInt8(pubKeyHash.count)],
            pubKeyHash.bytes,
            [OpCode.OP_EQUALVERIFY.value,  OpCode.OP_CHECKSIG.value]
]
 return Data(values.reduce([], +))

@leviathan88 it should not, I but your solution is also good. And don't forget about tests, thank you for your support.

@impul thank you, one last thing in which Test file should I include the test, thanks!

@leviathan88 in CryptoTests


motion retargeting train problem

sorry to interupt.when I train it ,after run"python train.py --save_dir=./training/". it show these:
load from file ./datasets/Mixamo/Aj.npy
Traceback (most recent call last):
File "train.py", line 54, in
main()
File "train.py", line 23, in main
dataset = create_dataset(args, characters)
File "/home/cjlnet/文档/deep-motion-editing-master/retargeting/datasets/init.py", line 28, in create_dataset
return MixedData(args, character_names)
File "/home/cjlnet/文档/deep-motion-editing-master/retargeting/datasets/combined_motion.py", line 63, in init
tmp.append(MotionData(new_args))
File "/home/cjlnet/文档/deep-motion-editing-master/retargeting/datasets/motion_dataset.py", line 30, in init
motions = np.load(file_path, allow_pickle=True)
File "/home/cjlnet/.local/lib/python3.8/site-packages/numpy/lib/npyio.py", line 417, in load
fid = stack.enter_context(open(os_fspath(file), "rb"))
FileNotFoundError: [Errno 2] No such file or directory: './datasets/Mixamo/Aj.npy'
please tell me the reason. Thank you a lot

Hi, it seems you need to prepare training dataset. Please follow this section in readme.

你好，我从把从百度网盘上面下载的数据集放到datasets里面了，我的环境是VMWARE下的Ubuntu系统，抱歉再次叨饶你了


Consider making Anti Forgery internal classes public.

Most of the Anti forgery classes are internal today,  the main reason for that is we do not want to expose the internal details as we have never come across users wanting to replace the AF sub system.
However this does not seem to be a functional limitation and hence we want to review and see if the classes can be made public.

Fixed here: https://github.com/aspnet/Antiforgery/commit/9eeb1de68f7aa04a9088bd849e21820b00ac4364
will close this issue once MVC is updated to make use of the new Antiforgery codebase.

Done in Beta6. See here: https://github.com/aspnet/Announcements/issues/34


Cannot get anything other than a 404 out of the ngrok url

What url exactly are we supposed to put into Microsoft Teams? Because when I put my ngrok url into Microsoft teams all I get is 404 not found in ngrok and nothing whatsoever happens in the coordinate logging app.


Use Topiary as a library in some client application

We currently only test Topiary as a binary. In order to show the validity of using Topiary as a library in some other application, it would be worth trying this out. With #165 being actively worked on it might be worth considering Nickel as a candidate (also written in Rust t.ex).
Another other project would also work.

I believe this is the same as #137.

Right, thank you.


failed to execute script pyi_rth_multiprocessing

hi all,
today I downloaded gyb-1.35-windows-x86_64.zip (also gyb-1.35-windows-x86_64.msi) tried...
one thing here
when changing pyinstaller version, you have to write that requires
VC++ 2015 runtimes. microsoft download
the main issue is that
when execute the gyb-setup.bat getting

C:\gyb>gyb-setup
Please enter your Google email address<EMAIL_ADDRESS>Traceback (most recent call last):
File "Lib\site-packages\PyInstaller-4.0.dev0+a1f92c6a08-py3.8.egg\PyInstaller
loader\rthooks\pyi_rth_multiprocessing.py", line 17, in
File "C:\python\lib\site-packages\pyinstaller-4.0.dev0+a1f92c6a08-py3.8.egg\Py
Installer\loader\pyimod03_importers.py", line 489, in exec_module
File "multiprocessing_init_.py", line 16, in
File "C:\python\lib\site-packages\pyinstaller-4.0.dev0+a1f92c6a08-py3.8.egg\Py
Installer\loader\pyimod03_importers.py", line 489, in exec_module
File "multiprocessing\context.py", line 6, in
File "C:\python\lib\site-packages\pyinstaller-4.0.dev0+a1f92c6a08-py3.8.egg\Py
Installer\loader\pyimod03_importers.py", line 489, in exec_module
File "multiprocessing\reduction.py", line 16, in
File "C:\python\lib\site-packages\pyinstaller-4.0.dev0+a1f92c6a08-py3.8.egg\Py
Installer\loader\pyimod03_importers.py", line 489, in exec_module
File "socket.py", line 49, in
ImportError: DLL load failed while importing _socket: The parameter is incorrect

when executing the gyb.exe
C:\gyb>gyb

Traceback (most recent call last):
File "Lib\site-packages\PyInstaller-4.0.dev0+a1f92c6a08-py3.8.egg\PyInstaller
loader\rthooks\pyi_rth_multiprocessing.py", line 17, in
File "C:\python\lib\site-packages\pyinstaller-4.0.dev0+a1f92c6a08-py3.8.egg\Py
Installer\loader\pyimod03_importers.py", line 489, in exec_module
File "multiprocessing_init_.py", line 16, in
File "C:\python\lib\site-packages\pyinstaller-4.0.dev0+a1f92c6a08-py3.8.egg\Py
Installer\loader\pyimod03_importers.py", line 489, in exec_module
File "multiprocessing\context.py", line 6, in
File "C:\python\lib\site-packages\pyinstaller-4.0.dev0+a1f92c6a08-py3.8.egg\Py
Installer\loader\pyimod03_importers.py", line 489, in exec_module
File "multiprocessing\reduction.py", line 16, in
File "C:\python\lib\site-packages\pyinstaller-4.0.dev0+a1f92c6a08-py3.8.egg\Py
Installer\loader\pyimod03_importers.py", line 489, in exec_module
File "socket.py", line 49, in
ImportError: DLL load failed while importing _socket: The parameter is incorrect
.
[2952] Failed to execute script pyi_rth_multiprocessing

then came across with
pyinstaller/pyinstaller - Failed to execute script pyi_rth_multiprocessing
an author with the same error, used pypi to pack the files and the error disappear.

Can you offer more details about the version of windows you are running?

tested on two machines with Windows7x64

please read also this :
https://github.com/pyinstaller/pyinstaller/wiki/Recipe-subprocess

so, I download Python v3.8 installer, didnt start

where is no KB2533625 ref - stackoverflow
ms download
and finally

thanks for your time @jay0lee


Node: Rename instances of Redis to Valkey

Changelog?

You're too fast :P I was in the middle of adding it.


Active tab indicator wrong size when used in modal

Expected Behavior

When you create a modal which contains tabs in it, you expect it to render like this:

Current Behavior

Currently however, when you place tabs in a modal; you get the following behaviour:

Possible Solution

We currently work around this by delaying the initialization of the tabs until the modal is done rendering; however this introduces a lot of boilerplate code and complexity.
Steps to Reproduce (for bugs)
I created a StackBlitz that demonstrates the problem.
Context
We have complex web applications that often contain dialogs with multiple tabs (ex: viewing and editing tabs in a dialog).
Your Environment

Version used: v1.0.0 (latest at the time of writing)
Browser Name and version: Chrome 69 & Firefox 61
Operating System and version (desktop or mobile): Windows 10 (Desktop)

This is due to the tab initializing before the modal, so the data its collecting to initialize isn't right.
There's a crappy work around I've found which is to delay the updateTabIndicator() by using a timeout.
        setTimeout( () => {             instance.updateTabIndicator();         }, 500);
This means you do see it update, if the timer is reduced it can screw up in other ways.

You can use the onOpenEnd callback on modal to update the tab indicator so it renders properly.

I am facing the same issue. There is heavy data rendering on the tab content.  I am using setTimeout(), any other way to solve this problem? How ccan I use this onOpenEnd?

Putting this here for others. As mentioned above, you can use the onOpenEnd callback on the modal:
  // update tabs in modal after opening
  var modalOpts = { onOpenEnd: () => { tabInst.updateTabIndicator() } };
  M.Modal.init(modalElement, modalOpts);


e2e: Remove unused variables

This PR removes a few variables, which are never changed, and effectively are bool constants.

Codecov Report

Merging #3671 (7eae01d) into main (c83b94b) will increase coverage by 0.39%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #3671      +/-   ##
==========================================
+ Coverage   67.04%   67.43%   +0.39%
==========================================
  Files         178      181       +3
  Lines        8696     8773      +77
==========================================
+ Hits         5830     5916      +86
+ Misses       2835     2824      -11
- Partials       31       33       +2

Flag
Coverage Δ

unittests
67.43% <ø> (+0.39%)
:arrow_up:

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

Impacted Files
Coverage Δ

pkg/service/types.go
25.00% <0.00%> (-8.34%)
:arrow_down:

pkg/kubernetes/announcement_handlers.go
71.42% <0.00%> (-5.72%)
:arrow_down:

pkg/configurator/methods.go
68.49% <0.00%> (-0.53%)
:arrow_down:

cmd/osm-controller/osm-controller.go
14.09% <0.00%> (-0.29%)
:arrow_down:

pkg/envoy/xdsutil.go
89.13% <0.00%> (-0.18%)
:arrow_down:

pkg/utils/service.go
100.00% <0.00%> (ø)

pkg/configurator/mock_client_generated.go
0.00% <0.00%> (ø)

pkg/constants/constants.go
0.00% <0.00%> (ø)

pkg/catalog/gateway.go
100.00% <0.00%> (ø)

cmd/osm-controller/log_handler.go
84.00% <0.00%> (ø)

... and 13 more

Continue to review full report at Codecov.

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


rule for testing phpdoc

Hi Michael,
I'm looking for a role for phpmd.
This role should identify if a script has been sufficiently documented.
I think that the number of lines of a file in the relation of the comment lines must be evaluated. Can you help with an idea?
Greeting Stephan

The only rule for commentsbin this repo is this on: https://github.com/mi-schi/phpmd-extension/blob/master/rulesets/naming.xml#L47-L50
Unseless comments
The structure of comments are defined in PHPCS:
https://github.com/squizlabs/PHP_CodeSniffer/tree/master/src/Standards/Squiz/Sniffs/Commenting


Adding XOOPS

As a former user of XOOPS, I think this is well-deserved.

Thanks for the PR.
According to w3techs stats XOOPS has a market share of less than 0.1%. While I agree it is a great system, we cannot add all PHP CMSs to the timeline and keep it clean and comprehensible.

This is a "php-timeline", and not "php current market share", right?  :)
While we might not have the market share that we used to have, I believe that XOOPS has made significant contributions to the growth of PHP, as the number of books, awards, and articles proves.
It would be a shame if you would ignore and forgot projects that helped to make PHP to what it is today!

I agree with @mambax7.
Google trends also suggests that Xoops, Drupal, Joomla, and WordPress competing with each other, and even being more mature and with a more search trends by the time.

@Ayesh, thanks for the Google trends chart, clearly showing that historically, XOOPS has made significant contributions to popularize PHP!

Ah, I see, thanks for clarification, that makes sense to me now.


chore: bump to nightly-2023-07-19

bors is not doing anything at the moment, and I'm about 2/3 of the way through CI locally, so let's just try this:
bors merge

bors merge


Update utils.py parse_varint(tx)

Fix for the parse_varint(tx)
if varint>252

I don't think this is right.
For 0xFC and bellow, the encoding is a single byte with no prefix (2 hex values).
For 0xFD, it translates to 1 byte prefix plus 2 bytes data (that's 3 bytes, 6 hex values).
For 0xFE, it translates to 1 byte prefix plus 4 bytes data (that's 5 bytes, 10 hex values).
For 0xFF, it translates to 1 byte prefix plus 8 bytes data (that's 9 bytes, 18 hex values).
Your current approach is leaving no prefix as it was, but adding an additional byte for the prefix in the rest of the cases, while the prefix was already accounted for.

I tested this solution with witness TX (i will push it later) and if I use your approach it leads to tx.offset overshift. My solution works perfectly.
for example: txid 45a0335fa9cef557a966d4b9764b084d7342f25f889c495812c468cbba7340f9
decoderawtransaction
02000000000104564cbd188db7178dac57cf7a5fd09812c947a5cfb75d66a1a46ca27465fc21b10000000017160014c3eb4c03b0df78ffc211f72ea8d08d0eca74e281fdffffff672e57b9693ca48089016849aa809a189d75f4982422c00baf5bfa05ceb11db90100000017160014fd074bd35ce52c61f8855b61ed72c690923e5a87fdffffffbed5f7848ae630b804a6f7732059d3fc1d86df8def8a9bf014ded8c274dcffb80c000000171600140de01b667a614191920b4686dea2db8973bb35bafdffffffe58cfb3212e988e05682e4dd4530239e7913455755ea41358e6ee87e3d48692400000000171600141d9764cb5906eaa5c07a987624f93189f287971bfdffffff010065cd1d0000000017a9144d856ff4875decf91c413f194de7ec38859a7a3c87024730440220338f13d154910ceef62039753a0d3394ad6715b45bbc9945a5d1b31899a8a6b602206bb4371b204ccd1a9da759188feff7ba268540c4c0c65a2632fa9eddc14ce60a0121036b7ed62f4026d8a484640953af4490f866565875f8c4c952114aa71c42e21aac0247304402205bead2ee73bfec6fc879a185e30d1f1cf901df46cc8a7e715baf1a2d5801267102200268cca107105b7d1e40879250c1e6b08418b37773a1ceba323340c7b946fd0e012103e162a4070a16a73d44d00e66abaf639eacf48a8c38108656622d842bb7873a030247304402203e3adbee9e095153ae16b47de13a69d534aa3eb0f194e7b870be75b34c9df657022027f67be4ce4f480c8e60e51c132ec1949f887edee1c80e87e2f299b632e1290b012103803fe60d6e9497ba760ae71c7924eabdf2673c299ef2f9df4bb8c87797e6b3bd0247304402207e6160a5a90c6ea4855d71acb4803a30661001d81f754b00a786a830f7e3bbd302201a7a1b7832f716dbbd12bb378bdfe5f6172988550832a64d1d03d1e1a4cf44ae012103dd39b5b603fc1eac34a371c6f3f3a419bd2098bb7c80b45738260c9402dfdb8a73f00900

Oh, got you. The problem is not there though, but in TX.deserialize.
The output of parse_varint should be input to decode_varint, but TX.deserialize is casting that to int straight away without taking into account the prefix.
Replacing the instances of int(parse_varint(tx), 16) for decode_varint(parse_varint(tx)) should do the trick.

BTW SegWit deserialisation is not part of master, but I added partial coverage in split branch a while ago, that may be a better way to start from if you're looking into do something with segwit.

It seems that in case of refactoring all int(parse_varint(tx)) to decode_varint(parse_varint(tx)) requires a lot of work, maybe better get rid of decode_varint(tx) and make all checks and changes in the parse_varint(tx) as in my patch?

BTW SegWit deserialisation is not part of master, but I added partial coverage in split branch a while ago, that may be a better way to start from if you're looking into do something with segwit.

I didn't notice that branch, so I will check how to merge it with my fork...

It seems that in case of refactoring all int(parse_varint(tx)) to decode_varint(parse_varint(tx)) requires a lot of work, maybe better get rid of decode_varint(tx) and make all checks and changes in the parse_varint(tx) as in my patch?

There are only 4 instances of that in the whole codebase, and they are all in TX.deserialise, so it should be easy enough. Besides, your current approach is doing both parsing + decoding. Removing decoding means that there is no way of decoding a varint without parsing it from a transaction.

Ok, agreed. Will you push an updated version?

Can do, but I can also accept your PR if you ammend it with the changes. Whatever you'd rather.

Ok, will push it in 1-2 days...

Emm... finished...
Unintentionally added some formatting...

Several things here:

This should be squashed to a single commit, given that the first commits are meaningless now.
Do not push your custom .gitignore
The formatting should be removed, given that it creates too big of a diff for a simple 4 lines update.

I don't mind doing this final tweaks for you, just let me know.

Yes, please.

fixed in the patch-3


Get week

Calculates the week number according to iso 8601

Can you change the commit title to "Calculates the week number according to iso 8601" instead of the current one?


Observable.FromEventPattern<TSender, TEventArgs>(object target, string eventName) ignores TSender

When Observable.FromEventPattern<TSender, TEventArgs>(object target, string eventName) is invoked with a target of type System.Windows.Data.ListCollectionView and TSender System.Collections.Specialized.INotifyCollectionChanged this exception will be thrown:
Could not find event 'CollectionChanged' on object of type 'System.Windows.Data.ListCollectionView'.

at System.Reactive.ReflectionUtils.GetEventMethods[TSender,TEventArgs](Type targetType, Object target, String eventName, MethodInfo& addMethod, MethodInfo& removeMethod, Type& delegateType, Boolean& isWinRT)   at System.Reactive.Linq.QueryLanguage.FromEventPattern_[TSender,TEventArgs,TResult](Type targetType, Object target, String eventName, Func`3 getResult, IScheduler scheduler)   at System.Reactive.Linq.QueryLanguage.FromEventPattern_[TSender,TEventArgs](Object target, String eventName, IScheduler scheduler)   at System.Reactive.Linq.QueryLanguage.FromEventPattern[TSender,TEventArgs](Object target, String eventName)   at System.Reactive.Linq.Observable.FromEventPattern[TSender,TEventArgs](Object target, String eventName)   at UserQuery.WatchCollection(INotifyCollectionChanged inc)   at UserQuery.Main()   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)   at System.Threading.ThreadHelper.ThreadStart()

Could it be that the problem is here? and instead of:
private static IObservable<EventPattern<TSender, TEventArgs>> FromEventPattern_<TSender, TEventArgs>(object target, string eventName, IScheduler scheduler)
{
        return FromEventPattern_<TSender, TEventArgs, EventPattern<TSender, TEventArgs>>(target.GetType(), target, eventName, (sender, args) => new EventPattern<TSender, TEventArgs>(sender, args), scheduler);
}

it should be:
private static IObservable<EventPattern<TSender, TEventArgs>> FromEventPattern_<TSender, TEventArgs>(object target, string eventName, IScheduler scheduler)
{
    return FromEventPattern_<TSender, TEventArgs, EventPattern<TSender, TEventArgs>>(typeof(TSender), target, eventName, (sender, args) => new EventPattern<TSender, TEventArgs>(sender, args), scheduler);
}

I found that (somewhat surprisingly, to me at least) CollectionChanged is declared as protected and hence is not found by our reflection logic which only considers public members.

Closing as by design.
We only consider public events because there's no "binding context" (similar to the machinery inside dynamic) in which we can evaluate visibility (e.g. if one is in a derived class, protected events could be considered). Even if we would go there, we can't change behavior due to possible breaking changes, so this would have to be added with new overloads. In such a case, we'd likely delegate all responsibility to determine the event to the user (e.g. pass an EventInfo) and the simplicity of FromEventPattern taking in a string is starting to vanish. (An alternative with BindingFlags has similarly weak ergonomics.)
Given all of this, it's much more recommended for users to steer away from the reflection-based overloads and instead use the variants with add/remove handler parameters, e.g.:
Observable.FromEventPattern<NotifyCollectionChangedEventHandler, NotifyCollectionChangedEventArgs>(h => view.CollectionChanged += h, h => view.CollectionChanged -= h)

With this variant, the compiler will barf about visibility of CollectionChanged when not used in a class derived from CollectionView where this event is declared as protected.

Hi @bartdesmet,
If the API allows the specification of the type of the sender it should honor it.
The run-time type should not matter here because the user has "casted" it to something else.
If the user specifies a base type or an interface it should be honored.
This also applies to shadowed (C#) events.

I think the confusion is around the semantics of TSender versus the type of the target.
The sender represents the type of the first parameter passed to the event callback, and not the type of the target object to find the event on (see remarks on TSender around here: https://github.com/dotnet/reactive/blob/0df65334173b10528828eea04010ae0936be27a7/Rx.NET/Source/src/System.Reactive/Linq/Observable.Events.cs#L761). It's a generic parameter so we can have a strongly typed sender coming out on the reified representation of the event invocation, i.e. EventPattern generic types. It's particularly useful with WinRT which has static types for the sender (on TypedEventHandler).
While typically sender and target are related, it doesn’t have to be the case. One is the parameter on the callback, while the other is the declaring type of the event. In fact, specifying object for TSender should work for any typical .NET event using EventHandler delegate types which only strongly type TEventArgs. Clearly looking for events on System.Object won't find anything.
It also won't help your particular case, because the event is still protected on typeof(TSender), so we won't find it. We've only ever considered public members. We don't know the context in which this is used (in fact, if we were to have such context, we'd have to resolve events within Subscribe and Dispose lazily, and not earlier, because that's when += and -= take place, which brings a slew of issues with it).
Changing the behavior here would be a massive breaking change. It has had the current behavior of looking on the target's dynamic type (can be more derived or completely unrelated to the sender type) and only considering public events all the way since Rx 1.0.
The only thing I can think of is yet another family of overloads where we support a TTarget generic parameter for the target parameter, and where we use typeof(TTarget) rather than the dynamic type for binding purposes. Right now, FromEvent behaves likes this:
dynamic target = ...;
target.Foo += ...;
but without a context in which the event binding takes place, thus only considering public events.
With a TTarget parameter, it'd be equivalent to:
TTarget target = ...;
target.Foo += ...;
That may be an option worth considering, if it doesn't introduce ambiguity (nor does it make existing code bind to an overload with these different semantics for lookup) because we already have quite a few reflection-based overloads floating around.
Arguably, even the specification of a BindingFlags parameter could make sense. FromEvent is non-trivial since Rx 2.0 due to it doing implicit Publish/RefCount and capturing of scheduler contexts (due to complexities that arose in Windows XAML on thread-affine events). So it's a pretty steep cliff to fall off when FromEvent overloads don't provide what you're looking for and you end up having to build the equivalent construction.
This said, I do have a complex relationship with these reflection-based overloads exactly because of these types of issues (and any kind of change can have a far stretching impact on existing code). Overloads with add/remove handler delegates don't have this ambiguity (but are perceived to be more complex to use) and should likely be recommended. They'd work perfectly fine for your case, and even the protected nature of the event won't cause problems as far as I can tell.
Maybe a Roslyn analyzer and code fix provider could be built to suggest converting code from reflection-based variants to the strongly-typed variants (although the dynamic binding behavior described here makes this type of refactoring unsound, it can't be done based on static type info alone; only if we can prove a static type for the target parameter, the code fix is semantics preserving).

I've reopened this issue to reconsider the points mentioned above. We won't make breaking changes, but may be able to provide additional APIs to handle other cases (again, if we can guarantee that upgrading Rx doesn't result in a change of behavior, e g. failure to compile due to overload woes, or a change in runtime behavior to do existing code starting to bind to another overload).

It's been more than 3 months since I filed this issue and, in hindsight, I could have done a better work with it.
This was prompted from this stackoverflow question.


Multiple k8s cluster support

Hello
Great work on building the chart. This helped me do a POC on setting up openldap very quickly. We have a requirement to build and deploy openldap on 2 k8s each in a different regions so that we can have 2 pods in master to master replication in region1 for HA and same in another region and also master to master replication between the pods from each region
Is it possible to achieve this with this chart ?

Hi,
Thanks 😊
Out of the box , no the chart can’t deploy such configuration.
I think with few tweaks you can achieve it , adding a bring your own server URI config in the values.yaml and use them in the configmap-replication-acls.yaml
Feel free to submit a PR if you’d like to give it a try

My initial thought was that to keep the chart as is, and then add a custom ldif file mounted inside the cluster with the configuration specific to the replication between the two kubernetes cluster. I thought of exposing the service as LoadBalancer type so that it gets a private IP address from the virtual network ( I use Azure) and then use that IP in configuring the replication so that both the openldap installations can talk to each other. Theoretically it could work even though k8s will forward the requests to one one the running pods in the other k8s, as each pods inside the same cluster will also replicate. I am not quite sure if practically how difficult it is or even feasible.
My challenge is to understand how to setup replication. I did review configmap-replication-acls.yaml and also the actual ConfigMap helm produced after installing the release. I am going through openldap documentation to understand what each keyword means.
Any thoughts on the above approach to inject a custom ldif or does it need to be part the same configmap you've in the chart?

Interesting, so the customAcls won't be applied (at the moment) once the bitnami image creates the initial database and restarts for the first time.
Since it is a onetime apply, I was wondering if we can mount the config and then manually ssh into the bitnami openldap pod and apply it through commandline. (or use a custom sidecar)
The other option is what you have suggested, which is to modify the chart and add a flag for remote sync on configmap-replication-acls.yaml so that it is applied initially when the database is built.
The serverID is something I've to tackle when running multiple installations. For example, in one aks it would be 1 and 2 for the 2 pods

This would be the same for the other k8s installation as well. Still reading through openldap documentation but my assumption is that it needs to be unique.
 olcServerID: {{ $index1 }} ldap://{{ $name }}-{{ $index0 }}.{{ $name }}-headless.{{ $namespace }}.svc.{{ $cluster }}:1389
https://github.com/jp-gouin/helm-openldap/blob/af8ea7cb04a26c59e024757b9a04ce01a42f546a/templates/_helpers.tpl#L62
I don't know if anyone in this community has attempted with a multi cluster installation. I am going to attempt downloading the helm chart and make changes to see if it works. Any direction on this is appreciated.

That would work , you'll have to provide the complete configuration for the replication through the customAcls variable because you are modifying the cn=config object.
Although due to #115 I wouldn't recommend using this in production because you won't be able to use the chart to update the configuration.

Is there a reason why a new ACL is required to be created if we are using same admin password for both the k8s installations?


'modules' Folder?

Describe the bug
Doing 'git clone https://github.com/logicguy1/The-all-in-one-discord-tool.git' brings you all the stuff you need along with a "modules" folder with these contents.

I'm not sure if main.py runs any of these but I wonder why it is there.
To Reproduce
Steps to reproduce the behavior:

Do 'git clone https://github.com/logicguy1/The-all-in-one-discord-tool.git' in a folder
Click on the 'The-all-in-one-discord-tool' Folder
Click on the 'modules' folder contained in it
See what I am talking about.

Expected behavior
I didn't expect a 'modules' folder and thought the people about it were faking it.
Screenshots
Screenshot of the modules folder is at the Describe the bug section.
Desktop (please complete the following information):

OS: Windows 10
Version Dev (OS Build 21364.1011) (I'm thinking of leaving the insider program)

Smartphone (please complete the following information):

Device: Motorola One 5G UW
OS: Android 11
Version 11

Additional context
Nope, I'm just wondering what it is.

You don't have to git clone it, just click on main.py and copy its full code and open your notepad and then paste the code and save it as py. You can name it whatever you want.

that's from the all in one discord tool he made, https://github.com/logicguy1/The-all-in-one-discord-tool


prepare_ml_data.py should save separate logs to OutputData.filepath/<SplitName>/<DataSource>

Detailed Description
Save log to OutputData.filepath so that, in the future, it's possible to diagnose issues with the saved batches.
Also send log to the console.

This would be handy

Now that each DataSource runs separately, it might make sense to save separate logs to OutputData.filepath/<SplitName>/<DataSource>
That will make it easier to diagnose errors specific to a data source.
(Perhaps also save a unified log to OutputData.filepath)

I'm going to work on this now because it'll be useful to help diagnose issues with nowcasting_dataset...


Play sound notification when pinged

This currently works on mac. I have no way of testing it on Windows/Linux.
@Arrinao Could you do a windows test maybe?
Should tick box 3 in #142

https://user-images.githubusercontent.com/76887896/148661961-2b9d49a4-7545-4f16-9c8f-90185d38624e.mp4

@Akuli Would you please black the code to fit the project settings?

Now fix the test failures, and this is ready to be merged :)


[Task] Sign Up with Code-Climate

Since bithound service is no more we need to switch to another service. From the search I made code-climate (use the link to install it as a GitHub app) looks like it serves our needs, as it provides code review and code coverage. In that process, we can drop the codecov service.

Sign up has been completed. Thanks @robertohuertasm.


refactor(sage-cli): export should use npx install-local by default for NPM projects

NPM is quite bad at managing local dependencies, which is especially problematic for Robo.js at it is stateful at a global level. This makes installing and developing plugins locally a bad experience for developers because NPM decides to have multiple copies of Robo.js when there should only be one even for the same version.
Other package managers don't have this issue, and neither does NPM workspaces. Only NPM projects without workspaces have this issue, which is unfortunately going to be most people.
For projects using npm as their package manager and not using workspaces, we should install plugins via npx install-local instead of npm install during Sage CLI's export command, after the step where we ask if they would like to install the plugin locally. This will emulate "production" (registry) installs and prevent multiple copies of Robo.js from being installed. Only downside is that watch mode will no longer work this way, so be sure to include a warning to let people know.
Changeset: patch

It is correctly using, npx install-local when using npm as packagemanager.


Always on NumLock

Description of the new feature / enhancement
It keeps NumLock on.
Scenario when this would be used?
If someone turns off the NumLock (assume accidentally) or (in my case) a VM turns it off, the tool would turn it back on.
Supporting information
No response

This seems too small and niche to be a standalone PowerToys utility. Is there any more supporting information you could share for this idea to make it more of a complete utility? /needinfo

I would consider this common. Just seach about keeping numlock on and you'll see quite a few posts about small tools, scripts and registry hacks.
I'm a developer and I often have to test things in a virtual machine. Most VM's for whatever reason will default the numlock to off, so when the VM boots the numlock will turn off for my keyboard everywhere including the host computer. That's really annoying for me (and many others on the Internet). I've tried a number of these solutions but they don't seem to be reliable, and MS isn't making an option in Hyper-V to set it.
I'm not trying to be rude or argumentative, but my understanding of the Powertoys is that it is comprised of many 'small & niche' utilities: Always On Top, Awake, Quick Accent -- to name a few. And I like many others use them. 'Small & niche' is why they're power toys and not full blown features built into Windows.
I feel like this would be appreciated by the community.

All of the PowerToys utilities have some sort of UI outside of the settings app, with the exception of the Keyboard Manager. A new utility which sits in the background listening for NumLock change then changing it back would be a unique type of utility for PowerToys. There are also a few questions which would detail the feasibility of this utility.

Is there an API in Windows which can listen for NumLock to change state?
Is there an API in Windows to programmatically set the state of NumLock or would that be done through a simulated key press?
Should this be wrapped into Keyboard Manager?
Are there other "keyboard states" which should be allowed: Scroll Lock, Caps Lock, etc?
Do you have any good open-source examples of how this has been solved today?

I want that too. But for NUM, CAPS and SCROLL
But not just as a "disable the physical key" but more as a "do not allow me to turn this on, and if it is turned on for some reason, please turn it off"
Three possible states:

normal behavior (feature disabled)
always on
always off

/dup https://github.com/microsoft/PowerToys/issues/26902


fix mangling issues, and comment a few tests

Reference issue

What does this implement/fix?

Additional information

Sorry, opened PR at wrong place.


pip install fails on colab python 3

When I run
!pip3 install -q ktrain
in a new colab notebook I get:
  Building wheel for keras-bert (setup.py) ... done
  Building wheel for langdetect (setup.py) ... done
  Building wheel for seqeval (setup.py) ... done
  Building wheel for syntok (setup.py) ... done
  Building wheel for gast (setup.py) ... done
  Building wheel for keras-transformer (setup.py) ... done
  Building wheel for sacremoses (setup.py) ... done
  Building wheel for keras-pos-embd (setup.py) ... done
  Building wheel for keras-multi-head (setup.py) ... done
  Building wheel for keras-layer-normalization (setup.py) ... done
  Building wheel for keras-position-wise-feed-forward (setup.py) ... done
  Building wheel for keras-embed-sim (setup.py) ... done
  Building wheel for keras-self-attention (setup.py) ... done
ERROR: tensorflow-probability 0.10.0rc0 has requirement gast>=0.3.2, but you'll have gast 0.2.2 which is incompatible.

I had no problem running this a few days ago.  Doing some googling I found something that works:
import sys
!{sys.executable} -m pip install -q ktrain

Thanks for letting me know.  Note that, despite the error, ktrain should still works.  I tested it using a DistilBert model and everything trained as normal despite the ERROR.
The error may have something to do with the fact that Colab is now using TensorFlow 2.2.0-rc3 for some reason.  ktrain currently uses TensorFlow 2.1.0, which is the stable version on PyPi.
The error may go away once TF 2.2.0 is officially released and we upgrade ktrain to use 2.2.0.
Thanks again.

ktrain now supports TensorFlow 2.2.0 which is the currently the default on Google Colab.


Performance Profile

Description
This PR adds Performance Profile feature in meshery. Following are the APIs added in the meshery server:

CRUD for Performance profiles
CRUD for schedules (this is not yet exposed in the UI)
CRUD for performance profiles test results

Following is a short demo of performance profle UI:

Notes for Reviewers
APIs for schedules are in place but they aren't yet exposed in the UI. So the "next run" column in the profiles table is missing (code is commented) and form for the same is also missing.
Signed commits

[ ] Yes, I signed my commits.

Well-done demo and recording of this feature, @utkarsh-pro. This user experience is sophisticated, intriguing, involved, complex, powerful. Additional thought needs to be given as to how to simplify the interaction, increasing its intuitiveness. The current design isn't far from achieving that. A verbal walk-through will be the most helpful in explore what tweaks will get it across the line.


Non-Evm

Hi!
Sir many people need a non-Evm system. So kindly add this feature.
It means a single address and we'll receive multiple coins(trx,xrp,ada,dot, etc) through a single address

Thanks for the attention. Can you specify a bit more in detail what you need ?

I mean to say :
Let c we receive multiple coins( trx , xrp , eth, btc, etc )
one Address for all chains coins receiving :
1 receiving address  = if send TRX then deposit this address and if send
SOL then deposit also this address.
And wallet show all coins
I think you understand
On Tue, Aug 9, 2022 at 2:07 PM Nam Phạm @.***> wrote:

Thanks for the attention. Can you specify a bit more in detail what you
need ?
—
Reply to this email directly, view it on GitHub
https://github.com/Koniverse/SubWallet-Extension/issues/534#issuecomment-1209117177,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANK35ALDBGK6JGUQNIGU5DTVYINWDANCNFSM557ZVNVA
.
You are receiving this because you authored the thread.Message ID:
@.***>

Okay, I get what your idea. We're working toward a solution where users can just use 1 address (or 1 account) for all parachains in Polkadot/Kusama ecosystem so be patient with us. But we don't have any plan to integrate blockchains that are not in the Polkadot/Kusama ecosystem (TRX, XRP, SOL,...). Hope this can clear things out for you.


Fixed workspace install and missing prisma binary

This pull request fixes the yarn install problem and fixes the prisma migrations.
Unfortunately the cal.com main repo installs prisma as a development dependency, therefore installin production mode won't work. We could accept the larger image size for now and look further into slimming the image back down in the future, while gaining full functionality back.
This should close #85, #91, #92

Sure, I'll rebase my fork and update the PR


fix: envFromSecrets spacing in helm chart

Previous, the spacing in the in the envFromSecrets caused a problem in yaml > json conversion and errored when attempting to use:
Error: UPGRADE FAILED: YAML parse error on superset/templates/deployment-worker.yaml: error converting YAML to JSON: yaml: line 71: did not find expected key

Fixing the spacing seems to have solved the issue.
Cheers!

Hi, i have to change your PR title to start running test.. can you provide more details and fill out the pr template? thanks.

Hi @junlincc, really sorry but actually this was fixed in https://github.com/apache/superset/commit/08bda27a433b558b9fee588185d2ee576504bf3b#diff-c5c7a406f329bb56e94d0390abb6243a7dce24c20309fc882d747e280905724d.
I was working off of a previous tag to support k8s 1.18 and I could have sworn I double-checked that it wasn't fixed in any other commit, but i was wrong.


Bug: Schemes output differs slightly from what Xcode wants

Describe the bug
 <?xml version="1.0" encoding="UTF-8"?>
 <Scheme
    LastUpgradeVersion = "1320"
-   version = "1.3">
+   version = "1.7">
    <BuildAction
       parallelizeBuildables = "YES"
       buildImplicitDependencies = "YES">
@@ -52,13 +52,13 @@
       buildConfiguration = "Debug"
       selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
       selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
+      customLLDBInitFile = "$(BAZEL_LLDB_INIT)"
       launchStyle = "0"
       useCustomWorkingDirectory = "NO"
       ignoresPersistentStateOnLaunch = "NO"
       debugDocumentVersioning = "YES"
       debugServiceExtension = "internal"
-      allowLocationSimulation = "YES"
-      customLLDBInitFile = "$(BAZEL_LLDB_INIT)">
+      allowLocationSimulation = "YES">
       <BuildableProductRunnable
          runnableDebuggingMode = "0">
          <BuildableReference

Reproduction steps
Edit a scheme in Xcode, revert your edits in Xcode. Compare the XML.
Expected behavior
XML should be unchanged, as Xcode shouldn't adjust anything to its expected values.
Additional context
For the customLLDBInitFile ordering it looks like we will need to patch (and try to upstream) XcodeProj to set the order correctly.

Put up this PR in XcodeProj https://github.com/tuist/XcodeProj/pull/686/files. Should fix the ordering issues

I think this is still slightly off:

Put up a new XcodeProj PR here for the missed TestAction ordering


Adds service install target

Adds service install target so that it can be enabled for auto startup using systemctl enable refresh-glauth-config.

looks good
will merge and backport


Added Landing page

With reference to issue #3 , a responsive landing page has been added.

Navbar login button centered, image for reference.


[Frontend] Integration of List of influencers api and list of brands api with frontend.

When users click search button on bottom bar on home page then list of influencers page will open and when user will click brands button at bottom bar on homepage  then list of all brands registered with us will open. Keep the css same.

Hello @RohitGupta1237  @Kajol-Kumari
I'm interested to resolve the issue.
Please assign it to me

@BHS-Harish  hey assigned u this

@RohitGupta1237  can you please assign this to me.


[Proposal] Pjax as EventEmitter?

At the moment, events are emitted via document using native dispatchEvent.
This (I think) causes issues if multiple instances of pjax are used.
Better to have Pjax as a EventEmitter emit its own events. This does increase the size of the library (4-5kb?).

Good idea.

I think this will make testing easier and cleaner, as it will be easier to remove event listeners and avoid issues of event listeners on document carrying over between tests.

Oddly enough, I ran into this issue tonight.
I'm using multiple pjax instances to load in different URLs // selectors.
Once both are used, one stops working (events never fired, switches never fired, etc).
Sending in custom options via loadUrl isn't working either.
Is there a workaround for this?

Why do you need multiple instances?

@BehindTheMath I have one instance that loads in urls with specific selectors (main content), and another that's being used with a realtime filter (updates the filter's content, filter results)

It's a bit hard to picture without seeing it, but Pjax is only meant to be used with links and submitting forms, not for filtering data.

Pjax is only meant to be used with links and submitting forms, not for filtering data.

I'm using pjax to click a link, and selectively fetch the content from the URL - nothing different than what's detailed in the README, etc.
I just happen to be using multiple pjax instances :)

The issue itself is really hard to reproduce - so I'll table it for now. Just wasn't sure if there was a recommended way of handling the scenario of needing multiple instances.
Thanks!


tools/gen_istio_image_list.sh is broken

Is this the right place to submit this?

[X] This is not a security vulnerability or a crashing bug
[X] This is not a question about how to use Istio

Bug Description
The tools/gen_istio_image_list.sh script is broken.
First, the regex it uses to check the version number that is supplied is wrong. It only allows a single digit for each component, and thus is unusable for any version >= 1.10.0. The proper regex is ^[0-9]+\.[0-9]+\.[0-9]+.
https://github.com/istio/istio/blob/18c73bb98e3fa7cafb120eccbc86d5f667b4ca18/tools/gen_istio_image_list.sh#L142
Even after fixing that issue, the script does not function. I tried running ./tools/gen_istio_image_list.sh --version 1.16.5 but it did not output anything.
Running the script without any parameters, which is supposed to use the latest version, does not work either.
Version
n/a

Additional Information
No response
Affected product area

[ ] Ambient
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
[ ] Upgrade
[ ] Multi Cluster
[ ] Virtual Machine
[ ] Control Plane Revisions

That's really a question. Can I have a try?

/assgin

So far, this is broken and here's why:
Line 67 - bad regex - needs to be corrected.
    TAGS="$(curl --silent 'https://api.github.com/repos/istio/istio/tags' | grep -o '"name": "[0-9]\+\.[0-9]\+\.[0-9]\+"' | tr -d '"' )"

Worse yet:
Starting at 1.14.0 - the format of https://github.com/istio/istio/blob/release-1.14/tools/istio-docker.mk  has changed.
This one is still okay, but won't help. https://github.com/istio/istio/blob/release-1.13.5-patch/tools/istio-docker.mk
Debug output is showing this:
?= docker.pilot docker.proxyv2 docker.app docker.app_sidecar_ubuntu_xenial \
?= docker.pilot docker.proxyv2 docker.app docker.app_sidecar_ubuntu_xenial docker.app_sidecar_ubuntu_bionic docker.app_sidecar_ubuntu_focal docker.app_sidecar_debian_9 \
?= docker.pilot docker.proxyv2 docker.app docker.app_sidecar_ubuntu_xenial docker.app_sidecar_ubuntu_bionic docker.app_sidecar_ubuntu_focal docker.app_sidecar_debian_9 docker.app_sidecar_debian_10 docker.app_sidecar_centos_8 docker.app_sidecar_centos_7 \

I am still trying to debug this to get a sane list so this can be built to ship in an airgapped network without parsing templates through.
:/
@howardjohn - The build logic changed - is there a way we can generate a list of dependencies for containers we can just pull from docker.io rather than having to clone the whole repo or rebuild everything ?

I think I will have an incoming patch here that should work with everything 1.13.9 and below and 1.14.0 and above.
I'll need some feedback (or someone can patch it) to let me know if certain things aren't needed..


Comments and likes username wrong

In the case of self like or self comment, the like and comment data we get from the go layer has the peer id (or the first part of it) as username instead of the actual username.

Going to ping @sanderpick about this.


Don't try to parse hostname for RFC3164 over unix socket.

One way of taking care of it at least. I only changed RFC3164. Not sure if the other formats occur over unix sockets? Is perhaps something that should be configurable on the API side?
Some fragments wrt hostname history in Go's syslog can be found here:
https://github.com/golang/go/issues/5803
fixes #42

Need to update some tests as well. But please comment before I do that.


Issue #150

I've resolved the issue where searches for "contract" jobs on Indeed USA were incorrectly returning full-time positions. Additionally, I fixed a related problem where the system was not properly filtering out non-remote jobs.

updated the readme. dont believe this was an issue as indeed api does not allow certain combos of params (that im aware of). let me know if this is not the case


chore: add secret rbac file

What type of PR is this?
/kind flake
What this PR does / why we need it:
add secret rbac file in deploy directory.
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Release note:

/lgtm
/approve


Added quotes arround dir in lastdir to support special characters

Before, it did not support paths with characters such as spaces or brackets.

Thanks a lot!


Add "getMassPropertiesPerCandidate" RPC operation

This adds the ability to get mass properties for multiple elements separately with just a single request. The existing "getMassProperties" aggregates mass properties of all given candidates.
This PR is a copy of an earlier PR, but all the changes are applied to the master branch (merge to the previous branch/PR was problematic): #3361
Q: I assume you were seeing issues with having this loop on the frontend? How many elements are you getting mass properties for?
A: It will be up to 1000 elements with each request. The reason for this whole PR is this article: https://www.itwinjs.org/learning/rpcinterface/#rpcinterface-performance ("RpcInterface methods must be "chunky" and not "chatty"").
This RPC method will be used by another backend application, so with each request to that application there would be up to 3000 requests (1000 elements all with 3 different MassPropertiesOperations) to the RPC getMassProperties.
The request round trip time adds up, so the performance degrades. Also, I did not want to put that much more load on the backend (handling 1 request instead of 3000 in a small amount of time).
I have tested the performance. Both the RpcInterface implementation and the "client" backend was running on the same machine, so network latency should have very little impact. The "client" backend implementation used caching for the getMassPropertiesPerCandidate method results, that is, get mass properties for 1000 elements and cache it in memory, so that for the next 999 elements you do not need to make additional RPC calls to get mass properties. That kind of caching does not make much sense for the older getMassProperties implementation, because it only returns mass properties for a single element, so for those tests the caching was removed. There were a total of 3438 elements processed, split up into 4 batches - 3x1000 + 438. Here are the numbers:
1st batch of 1000 elements with the new implementation was processed in 3440ms, while the old implementation took 20346ms
2nd batch of 1000 elements - 3705ms vs 20046ms
3rd batch of 1000 elements - 4418ms vs 19734ms
4th batch of 438 elements - 3746ms vs 10570ms

Agree with @pmconne that you'll need a non-@internal way to call this, at which point it will need proper documentation.
Seems like some documentation for mass properties in general would be nice...  IModelConnection.getMassProperties is already public and the only description for it I can find is "Get the mass properties for the supplied elements."
What are the mass properties?  What would I use them for?  When should I use getMassPropertiesPerCandidate over getMassProperties?  Those answers might seem obvious, but if they're not documented then we can't be surprised when people misuse this...

What are the mass properties?

Those should be documented on MassPropertiesResponseProps, but they're not.

Checking with David now for what to say about products of inertia and principle moments...will reply with document suggestion in a bit...


cucumber-expressisons: parenthesis character class (javascript)

Summary
Javascript implemention for bugfix. See: https://github.com/cucumber/cucumber/pull/461
Types of changes

[x] Bug fix (non-breaking change which fixes an issue).
[-] New feature (non-breaking change which adds functionality).
[-] Breaking change (fix or feature that would cause existing functionality to not work as expected).

Checklist:

[x] I've added tests for my code.
[-] My change requires a change to the documentation.
[-] I have updated the documentation accordingly.

Hi @spicalous,
Thanks for your making your first contribution to Cucumber, and welcome to the Cucumber committers team! You can now push directly to this repo and all other repos under the cucumber organization! 🍾
In return for this generous offer we hope you will:

✅ Continue to use branches and pull requests. When someone on the core team approves a pull request (yours or someone else's), you're welcome to merge it yourself.
💚 Commit to setting a good example by following and upholding our code of conduct in your interactions with other collaborators and users.
💬 Join the community Slack channel to meet the rest of the team and make yourself at home.
ℹ Don't feel obliged to help, just do what you can if you have the time and the energy.
🙋 Ask if you need anything. We're looking for feedback about how to make the project more welcoming, so please tell us!

On behalf of the Cucumber core team,
Aslak Hellesøy
Creator of Cucumber


Sorting/ordering of buffers in tabline

Hello. Would it be possible to provide a configuration hook for deciding the ordering of buffers displayed in the tabline? Right now there doesn't seem to be any relationship between the order in which the buffers are displayed in the bufferline and where you're going to end up when you do :bnext/:bprev.
I believe the :bnext and :bprev commands just follow the buffer numbers, so it would be useful if I could get airline to display the tabs in the same order. I imagine it would be useful in other situations to allow the user to just provide some arbitrary comparison function by which to sort the buffer, but I'm not sure whether this would be too complicated or unperformant.

Here's the behavior I'm seeing right now for reference:

You can see the order in which the buffers are displayed does not correspond to the buffer numbers.

I believe it already happens per buffer number. Test with the output of :ls. How is your configuration? It looks interesting.

Here's what I get with :ls

but the buffer list shown is:

Specifically, the order is 8, 2, 4, 6 in the displayed bufferlist, whereas I want 2, 4, 6, 8, so that I don't get the somewhat confusing navigation behavior below:

(I'm just using :bnext here).

hm, I never noticed. How to reproduce?

and please show your configuration.

I have airline related config in a few different places, but here's the bits I found by grepping for airline:
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
" ...

let g:airline#extensions#ale#enabled=1
" ...

let g:airline_powerline_fonts=1
let g:airline_skip_empty_sections=1

let g:airline#extensions#tabline#enabled=1
let g:airline#extensions#tabline#ignore_bufadd_pat=
  \ 'gundo|undotree|vimfiler|tagbar|nerd_tree|startify|!|term'
let g:airline#extensions#tabline#tab_nr_type=2
let g:airline#extensions#tabline#buffer_nr_show=1
" ...

I'll also pull out my vim dotfiles and share them (unfortunately I have some encrypted files in my dotfiles repo that prevents me from sharing it directly).

I can't quite work out a consistent set of reproduction steps, just opening random files seems to trigger the issue after a while. Here's an asciinema showing the issue:
https://asciinema.org/a/aDWDwxEGKXTQ1Qw80kMq316gh

does it only happen after using ranger?

Sorry, I'm going to close this and get back to you once I figure out how to systematically create a repro.

I encounter the same issue and I can not reproduce it. Are you found the solution.

I can reproduce it now, the buffers order seem to depend on its alphabetical order


Multibot

Short Description:
Python doesn't actually support %s as an argument to strftime
This Change is more OS fiendly, (also not dropping EMs for Windows users.
Fixes/Resolves/Closes (please use correct syntax):

Fixes #6229
-Closes #6229

@rakuuhwa There's a conflict, I'll close this PR and I'll open a new one. Tested it on my MacOS, work good.


ros_tutorials: 0.5.4-0 in 'indigo/distribution.yaml' [bloom]

Increasing version of package(s) in repository ros_tutorials to 0.5.4-0:

upstream repository: git@github.com:ros/ros_tutorials.git
release repository: https://github.com/ros-gbp/ros_tutorials-release.git
distro file: indigo/distribution.yaml
bloom version: 0.5.20
previous version for package: 0.5.3-0

ros_tutorials

No changes

roscpp_tutorials

No changes

rospy_tutorials

No changes

turtlesim
* update the coordinate system in /spawn service for consistency (#25 <https://github.com/ros/ros_tutorials/pull/25>)

Waiting for other releases before merging...


Semantic Segmentation - Is it possible to subdivide the pedestrian class?

CARLA version: 0.9.13
Platform/OS: Ubuntu 20.04.4 LTS
Hello,
I use the semantic segmentation sensor of CARLA, but noticed that riders of motorcycles, bikes and other 2-Wheelers are classified seperately from the 2-Wheelers as Pedestrians.

Is it possible to create 2 seperate classes of Pedestrians:

Pedestrians who are walking
Pedestrians who are driving 2-Wheelers

In the follow-up, my goal is to merge 2-Wheelers and riders of 2-Wheelers (currently Pedestrians) into one class.
In issue #5003 the question was also asked, but not specifically answered. I managed to distinguish between 4-Wheelers and 2-Wheelers after instructions in #5003 and #175 . There, you can specifiy the path to the related folders in Tagger.h, but there is no distinction of pedestrians based on folder structure as far as I understand. Is there a possible solution for this distinction?

Greetings, and sry for delay.
I think that best option is to duplicate the rider pedestrian, move the duplicate to a different folder of your choice, assign the new pedestrian to the vehicle, and create the new Semantic class for that folder.
If you have doubts, ask again,

I've an update
We've been working on a new semantic segmentation,
Riders have their own semantic class,
We'll update this week, maximum next week,
You just will have to update, is this good for you? else you can try the pipeline I proposed you.
Regards

Thank you very much for the answers and the suggested pipeline! Nice that there is an update coming. I will wait and try it out.
Regards


Stop adding misleading documentation messages to non core eslint rules

Rules from plugins generally have a rule namespace and a rule id.
react/jsx-no-bind

Documentation for that does not exist at www.eslint.org/docs/rules/react/jsx-no-bind yet we've been linking to it.

two small comments, but otherwise LGTM

👍


Update repo from humacs to .emacs.d

Co-Authored-By: Hippie Hacker<EMAIL_ADDRESS>

Thanks so much for contributing.
Ownership in Open Source comes from contribution.


Reduce call to get iceberg TableStatistics (#5679)

What type of PR is this：

[ ] bug
[ ] feature
[X] enhancement
[ ] others

Which issues of this PR fixes ：

Fixes #5679
reduce iceberg table's call, and the  TableStatistics function has been call in previous step.
Problem Summary(Required) ：

[FE PR Coverage check]
:disappointed: fail : 0 / 4 (00.00%)
file detail

path
covered line
new line
coverage

:large_blue_circle:
com/starrocks/sql/optimizer/statistics/StatisticsCalculator.java
0
4
00.00%


Remove the formato reference

I created the 'formato' project because I didn't know about Numbro. This is now deprecated.

@andrerpena where is located the formato reference? This is solved?

Formato was being used for number/currency conversion. I did this because I didn't know Numbro existed. Fortmato is in the gearz-lab org. Keep me assigned on this. As soon I can take a look at it I'll remove it.

Cool! Keep this issue as is :)

@andrerpena I have been looking at redux-autoform and seems that formato it's not in the core. Maybe you have advanced on it. So I will close this issue. If I make a mistake, please re open it!


Icons are not rendered correctly from icon sets with svg sprites

Reproduction
https://stackblitz.com/edit/angular-gbzhv4
Steps to reproduce:

Create an SVG sprite with symbol element with viewBox
Register the icon set with MatIconRegistry
Use the icon with mat-icon and svgIcon

For me the stackblitz link is not working, but if you download the project, then you can check the issue with npm install & ng serve.
Expected Behavior
SVG correctly rendered.
Actual Behavior
The SVG element is correctly placed inside the DOM, but the icon is not visible.
Probable root cause
If the viewbox is large enough, only the top left 24x24 pixels are shown on the screen. This is because the viewBox attribute is not copied from the symbol element. Manually adding it to the svg element in DevTools fixes the error.
Environment

Angular: 8.2.4
CDK/Material: 8.1.4
Browser(s): Chrome Version 76.0.3809.132
Operating System (e.g. Windows, macOS, Ubuntu): Windows 10 (Version 1809 Build 17763.678)

https://github.com/angular/components/pull/16896 will fix the viewBox not being added.


[ENHANCEMENT] Localization for Kannada Language

Please confirm these before moving forward.

[X] I have searched for my feature proposal and have not found a work-in-progress/duplicate/resolved/discarded issue.
[X] This improvement refers to an existing feature. If you want to suggest a new feature, please use this template.
[X] This improvement is not a bug. If you want to report a bug, please use this template.

Describe the improvement
Support Kannada language.
Describe how this improvement could help users
This could help avoid errors like: #2358

The UI Should support special characters. I am afraid #2358 is a duplicate of #2242

The UI Should support special characters. I am afraid #2358 is a duplicate of #2242

#2242 says about Chinese #2358 says about Kannada.

Yes, but the root of the issue is the same

If you want to add Kannada language, please read https://github.com/marticliment/WingetUI/wiki#translating-wingetui


Add TypeKind::HUGEINT to Type dispatch templates

Add TypeKind::HUGEINT support in
VELOX_DYNAMIC_SCALAR_TEMPLATE_TYPE_DISPATCH
VELOX_DYNAMIC_TYPE_DISPATCH_IMPL
VELOX_DYNAMIC_SCALAR_TYPE_DISPATCH

Need https://github.com/facebookincubator/velox/issues/4864 for the linux-adapters CI to pass.

@majetideepak The failure in pyVelox is because I think it uses bundled folly without hugeint support. Might need a change in setup.py:build_extension to pass right flags to fix this.
cc @assignUser

@kgpai I likely did not rebase this branch after the script changes. I pushed again. Let's see if that fixes the CI job.

@kgpai it now passes. Can you please help review/merge?

@majetideepak Please give me a day or two to merge this as it requires some changes internally.


NebraHub?

Wondering if with the move to openbalena we should create our own landing page for "NebraHub" which has links for all of our helium images etc ready for people to easily deploy on their devices?
Similar to how OpenFleets / balenaHub fleets used to work before they pulled the rug from under us?
What do you think @KevinWassermann94 ?

Maybe @Louisreed @ChristopherRush could work on a design for a landing page type thing

https://github.com/NebraLtd/nebra-hub

https://hub.nebra.com
Work in progress adding the images etc

Closing as completed now see repo at https://github.com/NebraLtd/nebra-hub/


[Error transcribing chunk 0]

Transcription is failing - {{transcript}} is being replaced by [Error transcribing chunk 0] in the target note.
Project API Key has full permissions:

Hey @0xSeanG, can you provide me with the episode that's failing? I'll take a look!

@chhoumann

It seems to work for me on those episodes. Are you getting any errors in the developer console? You can access it with CTRL + Shift + i, or CMD instead of CTRL if you're on Mac.

May be PEBCAK but I am not seeing the connection:

After OpenAI introduced the new Project-based management of Osage and API keys, I had an issue where not all projects used my billing information. One was in my personal "default" project and another in my business' projects - and the billing isn't shared between them, of course.
So can you check that you've set up billing for the project & organization your API key is associated with? Because it seems like there may not be credits available.

Yes - billing issue in the project - thank you!

Happy to help. Hope you find the new feature useful!


Machine mac-39 lost external connection from iPhone device.

Machine mac-39 lost external connection from iPhone device.

External connection has been restored by rebooting machine mac-39.