some deployment spec options are not applied from ConfigMap.data.deployment

Is this a BUG REPORT or FEATURE REQUEST?: BUG
What happened: I configured my deployments by setting in the ConfigMap:
data:
  deployment: '{"spec": {"template": {"spec": {"enableServiceLinks": false}}}}'

But it was not reflected in a Function's deployment and it defaults to true.
What you expected to happen: enableServiceLinks: false is set on my function deployment.
How to reproduce it (as minimally and precisely as possible): see 'What happened'
Anything else we need to know?: other settings like dnsPolicy were applied.
Environment:

Kubernetes version (use kubectl version):

➜ kubectl version
Client Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.4", GitCommit:"d360454c9bcd1634cf4cc52d1867af5491dc9c5f", GitTreeState:"archive", BuildDate:"2020-11-15T17:26:49Z", GoVersion:"go1.15.5", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.9", GitCommit:"4fb7ed12476d57b8437ada90b4f93b17ffaeed99", GitTreeState:"clean", BuildDate:"2020-07-15T16:10:45Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}

Kubeless version (use kubeless version): manifest of 1.0.7
Cloud provider or physical cluster: cloud

The root cause is that the go.mod uses a very old k8s api version: k8s.io/api v0.0.0-20180308224125-73d903622b73 which is two and a half years old, while currently the latest release is v0.19.4 according to https://pkg.go.dev/k8s.io/api, released roughly two weeks ago.

Also I would propose to not silently omit if someone tries to configure something which is not understood by kubeless, but log a warning at least. I could not find anything in the function controller logs regarding this issue with the default deployment manifests (info level).

The root cause is that the go.mod uses a very old k8s api version: k8s.io/api v0.0.0-20180308224125-73d903622b73 which is two and a half years old, while currently the latest release is v0.19.4 according to https://pkg.go.dev/k8s.io/api, released roughly two weeks ago.

I agree, that's the cause of the issue. Maybe you can send a PR updating that version? I am not sure if something else would break since there has been several breaking changes in the API spec.

Also I would propose to not silently omit if someone tries to configure something which is not understood by kubeless, but log a warning at least. I could not find anything in the function controller logs regarding this issue with the default deployment manifests (info level).

The problem is that the unmarshalling of the content don't fail when there are extra properties. This is the code:
		err := yaml.Unmarshal([]byte(deploymentConfigData), &deployment)
		if err != nil {
			logrus.Errorf("Error parsing Deployment data in ConfigMap kubeless-function-deployment-config: %v", err)
			return err
		}

So AFAIK there is not much we can do there unless there is some method I'm not aware of.

Sure, I can address this via a PR, although I think the breaking changes should be explored and explained in the release docs, so I try to come up with a summary in that regard too.
The golang JSON decoder can do this: https://golang.org/pkg/encoding/json/#Decoder.DisallowUnknownFields, so it should not be impossible.

The k8s API update is quite a complex thing. All the triggers need updates too.

@andresmgot I succeeded with the k8s API update, but because the triggers and kubeless are in a circular dependency, I am not sure how can I submit PRs for this. Any advice?

@andresmgot I succeeded with the k8s API update, but because the triggers and kubeless are in a circular dependency, I am not sure how can I submit PRs for this. Any advice?
What is the reason behind splitting the triggers code from the main code base?

Yes, the problem is that this repo requires the triggers to generate the command line utils and the triggers need this repo to get core functionalities. The reasoning behind this is to be able to develop triggers separately (so it's not needed to release a new version of kubeless to release a new trigger for example). In theory a hard-coded old version of the triggers should work (or some replacement in go.mod) but I would need to double check that. I will take a look when I have the chance.

If I understand the codebase correctly two binaries are built from the kubeless repository: the function-controller and the cli. Would it make sense to extract the cli from the Kubeless repo to lets say kubeless-cli to break the circular dependency?

yes, as far as I can remember that's the only place where the trigger's code is used so extracting the cli would help with that (but I haven't checked the code so I'm not 100% sure).

Thanks, I will give it a shot then.


Enhance file: link support

As a summary:

Complete org files on 'file:'

https://user-images.githubusercontent.com/31262046/138616359-e4f256f7-af76-4983-b5a1-945f5e56542b.mp4

Complete headers based on current 'file:' context

https://user-images.githubusercontent.com/31262046/138616389-346f8e01-4d5f-4826-b19c-db7a850834c9.mp4

Support jumping to specific section in file from hyperlink

https://user-images.githubusercontent.com/31262046/138616420-61c4f986-d2ab-4d07-9a0b-002f05058fa3.mp4

For original Emacs functionality, see here. I still have some things to review myself and clean up before I would consider this "non-WIP", but the main functionality is there.

Rebased it into a single commit @kristijanhusak, in hindsight that makes it a bit harder to review "net new" changes so apologies for that. Versus what existed before (that you'd reviewed), I've added the changes from your comments above and one other small change to ensure we modify the filename to be an absolute path before handing it off to Files.get(...) such that both relative and include things like ~ as part of the path.

Everything looks good. Thanks for contributing!

Thanks for this important contribution, file links are most useful. I wonder if you could extend so that some more variants for file links are supported, as seen in the examples here. In particular, for my use case the possibility to use custom-id for the links is fundamental, since those links can be made unique and persistent (whereas the title of the header may be changed often, rendering the link broken). There doesn't seem to be a way to link using ‘file:projects.org::#custom-id’ or complete the custom-id strings.
By the way, thanks very much @kristijanhusak for making this totally awesome plugin, I have been thinking to use Orgmode for quite some time but did not want to switch editor, now I got the chance and it is great. Your plugin works very well, it is very smooth and quick to work with, splendid work!

This would be relatively easy to add, can you make a new issue with the specific request @cands (and mark it as an enhancement)? I can take a look from there.

@cands @levouh there was actually a small bug with finding the headlines by custom id. Should be fixed now.

Thanks for the bug fix @kristijanhusak It fixed the possibility to use custom-id, which is great! I don't think the possibility to use id strings (by Orgmode default is an UUID string that becomes globally unique and can be found even when the headline is moved around in the different org files). Also, we would need the ability to store links, see 'M-x org-store-link' Handling Links (The Org Manual) to easily retrieve links by custom-id and id (from org files and agendas). Do you want me to open a new issue for this?

@cands yeah, open up a separate issue, and please write an explanation how it exactly works in emacs orgmode. I never used it, and it's a bit hard to understand it from this documentation. I managed to store the links and insert it via prompt, but I didn't see any UUIDs or anything.


Issue accessing tokenlists programmatically | Captcha cloudflare block

Hi,
It seems like the tokenlists on your API are not made for programmatic consumption.
curl https://api-polygon-tokens.polygon.technology/tokenlists/default.tokenlist.json -H 'Content-Type: application/json'

Fetching them with curl, returns a cloudflare captcha error in HTML.
It would be awesome for the community if these could be fetched like an API! Ideally you could also get added to https://tokenlists.org/

PS for anyone encountering this issue, fetching the list directly from github rawusercontent is a good alternative :) https://raw.githubusercontent.com/maticnetwork/polygon-token-list/master/src/tokens/default.json


MWPW-159197 Invoke onReady of standalone gnav when it is rendered #2962

We now do await gnav.init() so that onReady is called only when gnav.init is finished executing
Resolves: MWPW-159197
Test URLs:
Before: https://main--milo--adobecom.hlx.page/?martech=off
After: https://await-gnav-init--milo--sharmrj.hlx.page/?martech=off
QA: https://adobecom.github.io/nav-consumer/navigation.html?env=stage&navbranch=await-gnav-init

Validation done on the below url in slow network
https://adobecom.github.io/nav-consumer/navigation.html?env=stage&navbranch=await-gnav-init

login flow :


First attempt at making multi-layer solving work

related to #2
This is an implementation that adds a new WFCLayeredTileMapMapper2D class that will store cells as Array[Vector4i] instead of Vector4i to handle multiple layers.
It's working but it has many downsides:

It's really slower than the flat 2D approach
Not having weights makes the map go crazy quite easily (like say you have one dirt tile alone and one dirt + tree tile, you have 50% to get a tree, making it quite high)
Having to store these as Array[Vector4i] means that we're duplicating coords instead of just storing coords and then cell+alt in a better structure, that being said I'm not sure it'd make things much faster

This PR is mostly to open discussions on the implementation, it's clearly not ready for a release
Performance
Perf wise, the profiler shows 70ms avg per frame on my machine for the layered mapper vs 20ms for the flat one, this is way too much to be considered as a viable solution imho.
It appears that the # of entries in the sample is affecting performances quite hard, presumably because it creates more rules, but this shows a possible performance issue with cases that would be too complex.

Not having weights makes the map go crazy quite easily (like say you have one dirt tile alone and one dirt + tree tile, you have 50% to get a tree, making it quite high)

That's expected behavior until tile probabilities (which are totaly independent issue) are implemented.

Having to store these as Array[Vector4i] means that we're duplicating coords instead of just storing coords and then cell+alt in a better structure, that being said I'm not sure it'd make things much faster

Nothing is duplicated there. Coordinares received from map.get_cell_atlas_coords(layer, coords) are coordinates of a tile in texture atlas. map.get_cell_source_id(layer, coords) is index of a texture. So if there is only one texture and no alternative tiles in tile set, map.get_cell_atlas_coords(layer, coords) will be the only value that is different between a tree and dirt.

It appears that the # of entries in the sample is affecting performances quite hard

I guess, a dictionary cannot work as a hash map when keys are mutable values (arrays) and thus it has to sequentially compare new value to all available keys. If that's the problem, I can suggest a possible solution

suggestion
I suggest to use a tree of dictionaries instead of single dictionary. E.g. instead of
{
  [Vector4i(tile_from_layer_0), Vector4i(tile_from_layer1), ...]: 1
}

store
{
  Vector4i(tile_from_layer0): {
    Vector4i(tile_from_layer1): {
      ...: 1
    }
  }
}

That will make dictionary access functions more complicated:

instead of _read_cell_attrs there will be two functions - one for learn_from that creates nested dictionaries when necessary and one for read_cell that returns -1 when cannot find mapping on any nesting level.
additional counter will be necessary to generate integer indices for tile types
_ensure_reverse_mapping will have to generate arrays from keys in dictionary tree

But dictionary access time will become O(average_tile_types_per_layer * layers) (or even O(layers) if the dictionary will start working as a hash map) instead of O(total_tile_combinations * layers).

However, I'm not sure if it's really a significant issue - learn_from/read_cell calls are not really frequent. What's more worth looking at is write_cell, which is called a lot if render_intermediate_results is enabled in generator. In fact, even write_cell isn't called that frequently when render_intermediate_results is disabled. And it is most likely to be disabled everywhere excapt this addon's examples. So, maybe performance of a mapper doesn't really matter that much.

Perf wise, the profiler shows 70ms avg per frame on my machine for the layered mapper vs 20ms for the flat one, this is way too much to be considered as a viable solution imho.

Did you measure it with the same single-layer map, same sample (and same rules)? If the multi-layer mapper did actually work with more than one layer or rules were different then these measurements are not representative.

Yeah I realized that nothing was duplicated and forgot to remove that part of my message 😄
So I made another performance test by recording start time and logging milliseconds duration when done signal emits, here are the results:
WFCLayeredTileMapMapper2D:

With intermediate rendering: 14.2s
Without intermediate rendering: 13.1s

WFCTileMapMapper2D

With intermediate rendering: 10.7s
Without intermediate rendering: 9.6s

Tests made using the exact same setup, just swapped the mapper in the generator
So turns out ms per frame isn't really representative here, I guess measuring like that is better 😄 . It shows that the most expensive part is not write_cell neither, I checked the learning phase and it's <1ms too so my guess is that the solver is the slow part here (which totally makes sense, we're introducing more possibilities and thus more rules).
I think your suggestion regarding using a 2 dimensions dictionary can help but I don't think I can implement that for now, my knowledge is too limited on the topic to make sure I'm not doing something bad.
The possible improvements I see are:

Have the solver be more performant, if that's even possible, I didn't check it at all
Have a way to lazy generate a map (like, render a given rect and trigger generator to generate more on demand instead of generating the whole map at once)

To elaborate more on the second one, we're generating a 121*68 map here, which is 8228 tiles in total, while the typical screen of a tilemap-based game would contain way more in its viewport (a rough check on my game, I'm around 20 * 12) which we could render as a priority part and then render the rest either while the player is moving or just in background as they start exploring the area.

I just tested both multi-layer and single-layer mappers on a single-layer tilemap (from original tilemap demo). This way all the other variables (including different rules) are excluded. And, suddenly multi-layer mapper works even a tiny bit faster than single-layer - generation takes 22.26 seconds instead of 22.38 seconds (average of 4 samples in each case).
So, I guess, it's ok to drop a single-layer mapper in favour of new multi-layer one.
I do have couple of comments for this PR and after resolving them it can be merged.

Have the solver be more performant, if that's even possible, I didn't check it at all

I have spent some time optimizing it, so I guess it's current performance is about 80-90% of what is possible to acheive without dramatically changing the algorithm and/or technology.

Have a way to lazy generate a map (like, render a given rect and trigger generator to generate more on demand instead of generating the whole map at once)

I think this can be done using some sort of higher-level node that spawns generators when player approaches ungenerated area. But it's not trivial. The generators should generate some extra area to ensure that there may be no contradictions in still unpopulated regions. Just like with multithreading. Also, it all just won't work for some rule sets and there is yet no correct way implemented to recognize such rules automatically.
One approach to this problem is to fill the whole map with some sort of "ground" tiles and then erase tiles in blocks before generating them, as described here. But it's likely to leave visible block borders in some rule sets.

I feel like you should probably squash this when merging to have a better commit history than what's in the PR ^^"


[3.0] Enhance ExtensionLoaderTest

enhance ExtensionLoaderTest
remove unused code and clean code

Codecov Report

Merging #8646 (d492bd9) into 3.0 (3f59150) will increase coverage by 0.01%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                3.0    #8646      +/-   ##
============================================
+ Coverage     63.23%   63.25%   +0.01%
- Complexity      311      313       +2
============================================
  Files          1118     1118
  Lines         46827    46827
  Branches       7061     7061
============================================
+ Hits          29610    29619       +9
+ Misses        13927    13926       -1
+ Partials       3290     3282       -8

Impacted Files
Coverage Δ

...apache/dubbo/common/extension/ExtensionLoader.java
81.70% <ø> (+2.28%)
:arrow_up:

.../remoting/transport/netty4/NettyServerHandler.java
62.79% <0.00%> (-9.31%)
:arrow_down:

.../dubbo/remoting/transport/netty4/NettyChannel.java
64.35% <0.00%> (-1.99%)
:arrow_down:

.../client/metadata/ServiceInstanceMetadataUtils.java
87.50% <0.00%> (-1.93%)
:arrow_down:

...etadata/report/support/AbstractMetadataReport.java
60.76% <0.00%> (-0.96%)
:arrow_down:

...he/dubbo/registry/multicast/MulticastRegistry.java
66.66% <0.00%> (-0.93%)
:arrow_down:

.../apache/dubbo/remoting/transport/AbstractPeer.java
65.21% <0.00%> (ø)

...pache/dubbo/registry/support/AbstractRegistry.java
79.92% <0.00%> (+0.36%)
:arrow_up:

.../src/main/java/org/apache/dubbo/rpc/RpcStatus.java
71.42% <0.00%> (+1.19%)
:arrow_up:

.../exchange/support/header/HeaderExchangeServer.java
68.86% <0.00%> (+1.88%)
:arrow_up:

... and 3 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 3f59150...d492bd9. Read the comment docs.

Please resolve conflict

Please resolve conflict

done, thanks


testing Gtk.jl method

Branch and PR for testing Travis

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@d8a8084). Click here to learn what that means.
The diff coverage is n/a.

@@          Coverage Diff           @@
##             master   #11   +/-   ##
======================================
  Coverage          ?    0%
======================================
  Files             ?     6
  Lines             ?   449
  Branches          ?     0
======================================
  Hits              ?     0
  Misses            ?   449
  Partials          ?     0

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 d8a8084...f56a31c. Read the comment docs.


Library reference is a GPL library, but this library is not GPL-licenced

The Python unidecode library (https://pypi.python.org/pypi/Unidecode) which is listed as the reference for this library is released under the GPL version 2, which requires derivatives to also be released under GPL version 2 or later.

its probably too late but i think you isunderstand the legal definition.
It is a conceptual derivative:idea,but not code itself.
So they have full right to put it in any license they want.
Those license generally license the codes and resources. not the mindset nor process.
eg,xxx has tiktok,concept short video. x year later,youtube has youtube shorts.
and there are thousands more example if you pay attention to the large business with international scale.
The idea as you can see is copied.but not code itself.


Feature/togglable

Codecov Report

Merging #16 into master will decrease coverage by 0.42%.
The diff coverage is 33.33%.

@@            Coverage Diff             @@
##           master      #16      +/-   ##
==========================================
- Coverage   51.59%   51.16%   -0.43%
==========================================
  Files          26       26
  Lines         502      514      +12
  Branches       40       41       +1
==========================================
+ Hits          259      263       +4
- Misses        241      249       +8
  Partials        2        2

Impacted Files
Coverage Δ

rplugin/python3/curstr/action/cursor.py
34.78% <33.33%> (-0.52%)
:arrow_down:

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 68a74ac...8bfce68. Read the comment docs.


Fix unhandled promise rejection warnings

Connects to https://github.com/bucharest-gold/opossum/issues/68

Coverage remained the same at 99.278% when pulling 338249e09773de0c075eb2c669567005372a48e8 on opossum-68 into dd4e1f202abef6ca5b9b46e2da24806496d5b514 on master.

LGTM - feel free to merge and close #68


WHS-Bregma Translator

User requested a general formula to translate coordinates from WHS to bregma. Is this general formula available? Would it perhaps be possible to create a translator/calculator for this?

Simple converter: http://www.nesys.uio.no/QuickNII/Q2WHSBregma.html
Page expects comma separated coordinate triplets. Triplets can be separated by comma or new line:
x1,y1,z1,x2,y2,z2
x3,y3,z3
Calculations:
xbregma=(xvox-246)*0.0390625
ybregma=(yvox-653)*0.0390625
zbregma=(zvox-440)*0.0390625
where vox coordinates are expressed in voxels and bregma coordinates are in millimeters.

Could you test it Ingrid?


feat: add children method to XmlElement and XmlFragment

Summary by CodeRabbit

New Features

Introduced a new children function in both the XmlElement and XmlFragment modules for retrieving child elements in a structured manner.

Bug Fixes

Improved error handling in XML fragment fetching to ensure successful retrieval.

Tests

Added new test cases to validate the functionality of the children methods in both XmlElement and XmlFragment, enhancing overall test coverage.

coverage: 85.357% (+0.3%) from 85.036%
when pulling c523ee3e14ad38066067d7d9af2cc54c4c1a4002 on children
into 6444fffd681157a75e6c45b1fa87ee9f4bd3a0be on main.


Feature Request: Compile and Run

Rider supports starting your scene from the IDE but doesn't have a 'Compile and Start' option.  Meaning if you have modified the game script code at all, you have to switch back to unreal, click compile, then switch back to Rider.

I've added the new checkbox "Compile Before Play".


notFoundComponent doesn't render when notFound is thrown in the loader since 1.28.2

Describe the bug
A route wrapped in Suspense either by setting the prop wrapInSuspense to true or defining a pendingComponent doesn't render the notFoundComponent or the defaultNotFoundComopnent  when the notFound function is thrown in the loader.
Your Example Website or App
https://codesandbox.io/p/devbox/beautiful-archimedes-7vwmwj
Steps to Reproduce the Bug or Issue
To reproduce :

Go to index route
Loading is rendered instead of Not found

Things that doesn't trigger the bug :

There is no Promise in the loader or the Promise is faster
The prop wrapInSuspense is set to false
The prop pendingComponent is not set

Expected behavior
The prop notFoundComponent should be rendered when the notFound function is thrown in the loader even if the route is wrapped in Suspense and the Promise is taking longer to resolve.
Screenshots or Videos
No response
Platform

OS: Windows
Browser: Chrome
Version: 124

Additional context
No response

router.hasNotFoundMatch() also always returns false, I think this is related.

Also ran into this today. This seems to be an intermittent issue; roughly 10% of the time, the notFound component is shown correctly. Maybe there's a race somewhere?
Maybe useful: When the bug appears, the router devtools show that the route's loaderPromise is pending.

Personally, I encounter the issue 100% of the time.
I also noticed that the route's loaderPromise stay stuck to pending when the bug happen.

Seems I encountered similar behaviour in #1796

The same undesired behaviour seems to occur from the beforeLoad function aswell. docs seem to suggest it's possible to throw this here although I could be wrong...

Yes I think it's a bug. The docs explicitly state:

You, the developer must throw a not-found error when a resource cannot be found. This can be done in beforeLoad, loader, or components using the notFound utility.

https://tanstack.com/router/latest/docs/framework/react/guide/not-found-errors


How to get Decryption Key ID & Decryption Key?

thank you so much for this app , really helpful since udemy has updated their policy which caused major disappointment

As I said in the README, its up to you to acquire the key and key ID. I don't want to have instructions for it that could get the repository issued a DMCA take down. The most I will say is that there's a Chrome extension that you have to use.

yes thank you , i will look into it right away

yes thank you for the clue , i will look into it right away

bro, can you pls tell me the chrome extension name?

yes thank you for the clue , i will look into it right away

bro, can you pls tell me the chrome extension name?

Won't work


[Lab 3.0] Run and Export buttons are disabled on pipelines

When opening an existing pipeline on lab 3.0, both Run and Export buttons are disabled despite runtimes being present:

However, these buttons become enabled when selected the Runtimes icon in the toolbar:

Yet they still fail to bring up any kind of dialog when selected:

Fixed in jupyterlab3 branch with upstream updates to JupyterLab 3.0


Add auth selection to 0.4

cf #301

Thank you for this! Sorry for the delay.

No worries! Any chance you could cut a new release?

Done


"resolve the IP address to each of the following fully qualified domain"

In the Deployment chapter, https://labs.sysdeseng.com/5g-ran-deployments-on-ocp-lab/4.12/sno-intro.html#deployments, under the requirements for SNO section
It is mentioned that "You must configure the DNS to resolve the IP address to each of the following fully qualified domain names (FQDN)" Was there an intend to list those?

Fixed. Thanks @braultatgithub


Investigate bun for testing

First Attempt
Bun: 18.27s
SWC + Jest: 19.148 s
Second Attempt
Bun: 19.99s
SWC + Jest: 20.044 s
Third Attempt
Bun:  19.90s

We'll stick with jest swc for now


[MXNET-1299] Perl: sync with Python API

Description
Two more gluon loss classes.
Visualization fixes.
Gluon RNN rework, including hybridization.
Exposed GPU memory info to perl level.
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[x] The PR title starts with [MXNET-$JIRA_ID], where $JIRA_ID refers to the relevant JIRA issue created (except PRs with tiny changes)
[ ] Changes are complete (i.e. I finished coding on this PR)
[x] All changes have test coverage:
Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
[x] Code is well-documented:
For user-facing API changes, API doc string has been updated.
For new C++ functions in header files, their functionalities and arguments are documented.
For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
Check the API doc at http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
[x] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes
Two more gluon loss classes.
Visualization fixes.
Gluon RNN rework, including hybridization.
Exposed GPU memory info to perl level.
Comments

@tlby Please check when you have time.

@mxnet-label-bot add[Perl]


How to use Awkward Arrays on GPUs

Which documentation?
Python docstrings
What needs to be documented?
I am wondering if I can use the awkward arrays on GPUs similar to dataframes or numpy arrays, (provided by rapids.ai and other tools). I came across this link
https://awkward-array.org/how-to-math-gpu.html
but it seems to be not in priority list. I just wanted to check if an implementation already exists. In case yes, an example will be really useful.
Thanks.

This is understandably confusing: we did some work last summer and had some GPU demonstrators, but GPUs are not ready for use in analysis. The documentation stub is prominent because when this feature is available, it should be highly featured.
The detailed status is that the demonstrators have shown that it's possible with the current architecture, but we wouldn't be able to remove synchronization points between kernel calls that might kill performance if we continue the way we've been headed. Because of this and difficulties extending Awkward Array with JAX and Dask, we started an internal refactoring that replaces a lot of C++ objects with Python objects. (Ironically, that would help us fix the above-mentioned performance issue because we'll be able to delay evaluation of the kernels in such a way that the parallel process won't be interleaved with synchronization points.) We're in the middle of that refactoring.
GPUs are definitely in the plans: OAC-2103945 has complete GPU support as one of its major goals, though that is a 3 year project.

Thanks a lot for details Jim. I will continue the usual way in the mean time.


Want to add a web browser script

Aim
-Web browser is created on our own
Details

It will have normal things as other web browsers are having

Go Ahead @Silentshooter


Adding description column

Add DESCRIPTION column to the get catalog command.
Towards: https://github.com/giantswarm/giantswarm/issues/21129

⚠ Headsup! Branch master has been renamed to main
Your PR has already been modified to merge to main.
If you have a local clone, you can adapt that one like this:
git branch -m master main
git fetch origin
git branch -u origin/main main
git remote set-head origin -a


OSSM-3737 Refactor TestSMCPAnnotations (T29)

Jira: https://issues.redhat.com/browse/OSSM-3737
Refactored T29 test cases:

Change code to the new way of the framework
Create functions to reuse the code in the subtest cases: DeployTestSsl to deploy Ssl pod to make test of annotation, GetPodAnnotations to get all the annotations from a pod to compare. If is needed we can move the GetPodAnnotations to pod package but now is only used in this test
getTestSSLImage move to env package because is used in two separated test

@luksa Changes made, I moved getTestSSLImage to env package because is used by two test and does not have much sense have it duplicated in both test cases


How to use in objective-C

Hi
I have added the pod file in objective -c project. Can u tell me the steps how can i follow and use it.

#import "LTMorphingLabel-Swift.h"       // these won't be in the pod. You'll have to fetch
#import "LTMorphingLabel.h"             // from the demo project

-(void)viewDidLoad{
    [super viewDidLoad];

    LTMorphingLabel *lbl = [[LTMorphingLabel alloc] initWithFrame:frame];
    lbl.font = titleFont;
    lbl.textAlignment = NSTextAlignmentCenter;
    lbl.text = @"Some super awesome string";
    lbl.textColor = [UIColor colorWithWhite:0 alpha:0.7];
    [self.view addSubview:lbl];
    lbl.morphingEffect = LTMorphingEffectEvaporate;
    lbl.morphingDuration = 2.0f;
    lbl.morphingCharacterDelay = 0.1f;
}

Is there any way to use this in Objective-C? This is a great library, I want to use it for existing project made in Objective C.
Thanks.


Add explanation for remote hosted ga4.json

Hi David, is there any particular reason for hosting the ga4.json remotely versus adding it inline?
According to amp-analytics docs:

If configuration data from more than one of these sources is used, the configuration objects (vars, requests, and triggers) will be merged together such that:

Remote configuration takes precedence over inline configuration and
Inline configuration takes precedence over vendor configuration.

One reason is getting updates automatically.
All Analytics vendors on AMP and served remotely from AMP servers in any case.

Thanks for the quick response! That makes sense in the vendor scenario. I was thinking of an owned and operated site (first-party) where we manage all aspects of development. For example, merging the remote config with inline to have it in one place should technically work, right?
Example:
<amp-analytics type="googleanalytics">
  <script type="application/json">
    {
      "cookies": {
        "_ga": {
          "value": "$IF(LINKER_PARAM(_gl, _ga),GA1.0.LINKER_PARAM(_gl, _ga),)"
        }
      },
      "linkers": {
        "_gl": {
          "enabled": true,
          "ids": {
            "_ga": "${clientId}"
          },
          "proxyOnly": false
        }
      },
      "triggers": {
        "page_view": {
          "enabled": "${DEFAULT_PAGEVIEW_ENABLED}",
          "on": "visible",
          "request": "ga4Pageview"
        },
        "doubleClick": {
          "enabled": "${SEND_DOUBLECLICK_BEACON}",
          "on": "visible",
          "request": "ga4Dc"
        },
        "webVitals": {
          "enabled": "${WEBVITALS_TRACKING}",
          "on": "timer",
          "timerSpec": {
            "interval": 5,
            "maxTimerLength": 4.99,
            "immediate": false
          },
          "request": "ga4Event",
          "vars": {
            "ga4_event_name": "web_vitals"
          },
          "extraUrlParams": {
            "event__num_first_contenful_paint": "FIRST_CONTENTFUL_PAINT",
            "event__num_first_viewport_ready": "FIRST_VIEWPORT_READY",
            "event__num_make_body_visible": "MAKE_BODY_VISIBLE",
            "event__num_largest_contentful_paint": "LARGEST_CONTENTFUL_PAINT",
            "event__num_cumulative_layout_shift": "CUMULATIVE_LAYOUT_SHIFT"
          }
        },
        "performanceTiming": {
          "enabled": "${PERFORMANCE_TIMING_TRACKING}",
          "on": "visible",
          "request": "ga4Event",
          "sampleSpec": {
            "sampleOn": "${clientId}",
            "threshold": 100
          },
          "vars": {
            "ga4_event_name": "performance_timing"
          },
          "extraUrlParams": {
            "event__num_page_load_time": "${pageLoadTime}",
            "event__num_domain_lookup_time": "${domainLookupTime}",
            "event__num_tcp_connect_time": "${tcpConnectTime}",
            "event__num_redirect_time": "${redirectTime}",
            "event__num_server_response_time": "${serverResponseTime}",
            "event__num_page_download_time": "${pageDownloadTime}",
            "event__num_content_download_time": "${contentLoadTime}",
            "event__num_dom_interactive_time": "${domInteractiveTime}"
          }
        }
      },
      "vars": {
        "documentLocation": "SOURCE_URL",
        "clientId": "CLIENT_ID(AMP_ECID_GOOGLE,,_ga,true)",
        "dataSource": "AMP",
        "isDebugEnabled": "$IF($EQUALS(QUERY_PARAM(_dbg),1), _dbg, __dbg)",
        "endpoint": "$IF(${DISABLE_REGIONAL_DATA_COLLECTION},https:\/\/${GA4_ENDPOINT_HOSTNAME}, https:\/\/$IF($EQUALS($MATCH(${timezoneCode}, Europe, 0),Europe), $REPLACE(${GA4_ENDPOINT_HOSTNAME},www.google-analytics.com,region1.google-analytics.com), ${GA4_ENDPOINT_HOSTNAME}))",
        "GA4_MEASUREMENT_ID": "G-THYNGSTER",
        "GA4_ENDPOINT_HOSTNAME": "www.google-analytics.com",
        "DEFAULT_PAGEVIEW_ENABLED": true,
        "GOOGLE_CONSENT_ENABLED": false,
        "WEBVITALS_TRACKING": false,
        "PERFORMANCE_TIMING_TRACKING": false,
        "SEND_DOUBLECLICK_BEACON": false
      },
      "extraUrlParams": {
        "sid": "$CALC(SESSION_TIMESTAMP, 1000, divide, true)",
        "sct": "SESSION_COUNT",
        "seg": "$IF($EQUALS(SESSION_ENGAGED, true),1,0)",
        "_et": "$CALC(INCREMENTAL_ENGAGED_TIME,1000, multiply)",
        "gcs": "$IF($EQUALS(${GOOGLE_CONSENT_ENABLED},TRUE),G10$IF($EQUALS(CONSENT_STATE,sufficient),1,0),)"
      },
      "extraUrlParamsReplaceMap": {
        "user__str_": "up.",
        "user__num_": "upn.",
        "event__str_": "ep.",
        "event__num_": "epn."
      },
      "requestOrigin": "${endpoint}",
      "requests": {
        "ga4IsFirstVisit": "$IF($EQUALS($CALC(SESSION_COUNT, $CALC($CALC(${timestamp}, 1000, divide, true),$CALC(SESSION_TIMESTAMP, 1000, divide, true), subtract), add),1), _fv, __nfv )",
        "ga4IsSessionStart": "$IF($EQUALS($CALC($CALC(${timestamp}, 1000, divide, true),$CALC(SESSION_TIMESTAMP, 1000, divide, true), subtract),0), _ss, __nss)",
        "ga4SharedPayload": "v=2&tid=${GA4_MEASUREMENT_ID}&ds=${dataSource}&_p=${pageViewId}&cid=${clientId}&ul=${browserLanguage}&sr=${screenWidth}x${screenHeight}&_s=${requestCount}&dl=${documentLocation}&dr=${externalReferrer}&dt=${title}&${ga4IsFirstVisit}=1&${ga4IsSessionStart}=1&${isDebugEnabled}=1",
        "ga4Pageview": {
          "baseUrl": "\/g\/collect?${ga4SharedPayload}&en=page_view"
        },
        "ga4Event": {
          "baseUrl": "\/g\/collect?${ga4SharedPayload}&en=${ga4_event_name}"
        },
        "ga4Dc": {
          "origin": "https:\/\/stats.g.doubleclick.net",
          "baseUrl": "\/g\/collect?v=2&tid=${GA4_MEASUREMENT_ID}&cid=${clientId}&aip=1"
        }
      }
    }
  </script>
</amp-analytics>

I'd advise you to keep the gtag.json as it. you don't have to use my CDN you can host it yourself and then do all your custom tracking.
That should work I guess, just try it.

In the above example, I kept the gtag.json as is and just merged in the inline json.
I can confirm that it works exactly the same as remote hosting the config. Thanks!

Great. This way you could update the main gtag.js at any point without needing to merge again the code.


Resolve syncing conflicts from FromPrivateRepo to live

Pull request opened by OPS to resolve syncing conflicts from FromPrivateRepo to live.

@openpublishbuild : Thanks for your contribution to the Azure documentation! The author, @douglaslMS, has been notified to review your proposed change.

@rmca14 @Lisaco88 The comment about reviewing proposed changes was directed to me. What's the expectation, please? This PR seems to involve content from @rothja as well as from me.


ExpireTime for NSMgr and NSE in registry

Overview
We have a standing problem of how to deal with NSMgrs and NSEs that disappear without telling us.  We have several ways we seek to autodetect this but are generally missing a good fallback mechanism.
This becomes particularly difficult in the case of interdomain, where we have Pods registering as NSEs with different domains that are floating or living in different clusters.
An approach to solving this problem is to let the NSMgr and NSE in the Registry declare an expiration timestamp after which, if not renewed, they are considered to be expired.
API Changes
NSMr currently has a TimeLastSeen field - transition this field to be ExpirationTime
LastSeen should be removed from NetworkServiceManagerStatus and ExpirationTime should be added to NetworkServiceManagerSpec
Introduce an ExpirationTime field into NSE
Introduce a BulkRegisterNSE API call in NetworkServiceRegistry:
rpc BulkRegisterNSE (stream NSERegistration) returns (stream NSERegistration);

for use in doing Bulk Updates to NSE registrations by nsmd upon hitting ExpirationTime.
NetworkServiceEndpointSpec should be updated to have an ExpirationTime.
Configuration of ExpirationTime
Change nsmd to have a default ExpirationTime of 5 minutes, settable by an Env variable.
Internal tracking of ExpirationTime in nsmd
Have the nsmd keep an internal notion of its own expiration time.
When sending its first RegisterNSE call, the NSMgr should set its internal ExpirationTime to 5 minutes in the future.
Updating of ExpirationTime by nsmd
Once initially set, every ExpirationTime/2 (half way through the ExpirationTime) the NSMgr should:

Update its internal ExpirationTime
Send Updates for all of its NSEs with the new ExpirationTime to nsmd-k8s via BulkRegisterNSE.

Setting ExpirationTime for NSEs in RegisterNSE
All RegisterNSEs sent should have the ExpirationTime for the NSMgr and NSE set to the internal ExpirationTime of the nsmd.
Handling of ExpirationTime in nsmd-k8s
nsmd-k8s should write ExpirationTime for NSMgr and NSE to the CRDs when it receives them from the NSMgr.
When receiving updates via BulkRegisterNSE, the nsmd-k8s should seek to write them to CRDs in the K8s API Server as a bulk update to limit the number of updates reflected down from the K8s API Server to all the other nsmd-k8s in the system.
Periodically (by default, every 5 minutes, configurable via Env variable) the nsmd-k8s should go through its cache of the NSMgrs and NSEs and remove any that have an expiration time older than current time.  It should seek to do this as a bulk update to the K8s API Server to number of updates reflected down from the K8s API Server to all the other nsmd-k8s in the system.

Waiting for #1672  been merged


cli: implement retention-rules-show command

Closes reanahub/reana-client#620

Codecov Report

Merging #137 (20095a8) into master (3fb4b87) will increase coverage by 0.12%.
The diff coverage is 88.15%.

Additional details and impacted files

@@            Coverage Diff             @@
##           master     #137      +/-   ##
==========================================
+ Coverage   83.08%   83.21%   +0.12%
==========================================
  Files          36       37       +1
  Lines        2944     3020      +76
==========================================
+ Hits         2446     2513      +67
- Misses        416      422       +6
- Partials       82       85       +3

Impacted Files
Coverage Δ

cmd/retention_rules_show.go
87.14% <87.14%> (ø)

cmd/root.go
80.76% <100.00%> (+0.65%)
:arrow_up:


docs: update row_number for qualify

Fixed: https://github.com/datafuselabs/databend-docs/issues/673

qualify use for window function, not only for row_number()
https://docs.snowflake.com/en/sql-reference/constructs/qualify


Support for C, C++ and C# secrets in Keyword plugin

This Pull Request introduces some regex in the KeywordDetector plugin to detect secrets in C, C++ and C# files. Some examples of this secrets are:
C:
char* password = "foo";
char password[25] = "foo";
C++:
string secret = "foo";
std::string secret("foo");
secret.assign("foo",17);
C#:
string password = @"foo";
string password = "foo";
string password[] = "foo";

Hi @domanchi, what do you think about that? Thank you!


CN_ZR138 need help ...

Hi,dear olli991 teamers:
I got a mibstd2_VW_CN_ZR_P0138T old machine ,i can't update to the newer firmware now .and the toolbox says: "Unknown file size detected" when i patching the CP/swdl/swap,   so i looking for some help ,(please forgive my poor English) :D
Thanks very much.  good luck .
MST2_CN_VW_ZR_P0138T.zip

Hi,dear olli991 teamers: I got a mibstd2_VW_CN_ZR_P0138T old machine ,i can't update to the newer firmware now .and the toolbox says: "Unknown file size detected" when i patching the CP/swdl/swap, so i looking for some help ,(please forgive my poor English) :D Thanks very much. good luck . MST2_CN_VW_ZR_P0138T.zip

Added https://github.com/olli991/mib-std2-pq-zr-toolbox/archive/refs/heads/master.zip
I suggest you do not apply CP patch as it is reported that on 1xx firmares it leads to boot loop.
You can try it ONLY if you enabled permanent console access in Network menu, otherwise you will need to restore stock fw via emergency. This requires stock MST2_CN_VW_ZR_P0138T and I doubt that it's available).
Alternatively you may need to solder and restore eMMC image backup.


Add new signatures for cellnoise to support higher dimensions of seed…

…, but also to generate Vec3 results.  These methods are consistent with the OSL implementation of cellnoise.
Change Worley noise to use cellnoise to pick the offsets in the cell (rather than mx_hash_vec3()).  This is a more generic form that only uses public API calls in OSL so it can be implemented without any changes to the core OSL library.

nice


Roll Flutter Engine from 05fdaa6edc12 to 8806f4f89458 (3 revisions)

https://github.com/flutter/engine/compare/05fdaa6edc12...8806f4f89458
2024-12-02<EMAIL_ADDRESS>Always check for errors when propagating task values. (flutter/engine#56856)
2024-12-02<EMAIL_ADDRESS>Roll Skia from 2c4ce1d953ba to ac934b9e9df9 (1 revision) (flutter/engine#56904)
2024-12-02<EMAIL_ADDRESS>Fix linux on vivante drivers. (flutter/engine#56862)
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<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.


Burnout / neuron death

I seem to be getting horribly burnt out images no matter what i do.
I've tried eliminating all extensions, i tried custom (non anime) and stock VAE, i'm not using any hypernetworks or LoRAs.
I tried with my own fine-tuned (generalist) models as well as stock SD1.5 and 2.0.
I first thought that using too many upvote/downvote images causes burnout, which would make sense - eventually, one would expect the effect to be somewhat similar to neuron death or divergence with training gone wrong or just overtraining.
However, it can happen even with just one upvote or downvote image too.
Generating upvote/downvote images with one model, then applying them to another model seems to make it happen less.
Absolutely worst cases are >3 images generated with the same model and prompt they are applied to.
What am i doing wrong / is there an expected procedure to this?
Or is there a bug somewhere / lack of normalization of some kind leading to unet weights blowing up?

I’ve run into similar problems myself before, but it’s kind of difficult to reproduce. Do you have some example feedback for which this reliably happens? Or some generation parameters to reproduce the behavior?

Unfortunately, no, that's part of the problem - it appears very randomly.
I'll try and create some kind of a repro case.

Yes, on one hand that sounds plausible, but on the other hand I’ve tested the plugin by replicating one image ~10 times without the model burning out. I suspect it has something to do with specific features in the image. For example dark patches with one solid color could be disproportionally influential on the generated image.

Yeah, i had that thought too, but sometimes it's a dark or contrasty image that causes this, and sometimes a very non-contrasty flat one, without histogram extremes... I thought of testing it by manually tweaking feedback images, or even producing synthetic ones to see what happens, but didn't have time to do it yet.

(WARNING: super long post)
I think i might be onto something...
I used this as a dumb, simple testbed for a synthetic feedback:

I'm only using positive prompts, and only positive feedback to simplify things. The first thing to confirm was, how easy simple properties of the feedback image, like saturation, contrast and hue, transfer onto the generated images. So i took that image, created higher contrast version, lower contrast version, higher saturation version, lower saturation version, and shifted hue version and ran all of the variants with same seeds.
Original batch:

Lower contrast feedback:

Higher contrast feedback:

Lower saturation:

Higher saturation:

Hue shift:

The conclusion - changes in hue, contrast, saturation VERY easily transfer from feedback images to generated images. And higher values seem to be especially sticky. So it's kind of obvious now why sometimes generations drift off into full on burnout.
Next thing i wanted to test is - how much does similarity (similar content) between the feedback image and images generated by the prompt affect, so i fabricated a feedback image that's just a circle on a background using the same dominant colors. Kind of an extreme simplification of the images generated:

This is the result with it as feedback:

Lowered contrast:

Increased contrast:

Desaturated:

Saturated:

Hue:

Sort of clearly evident most of the effect is on the sky and grass - i.e. areas that match by complexity / surface area.
So, in conclusion - global properties like contrast, hue, saturation, etc. easily transfer to the generated images, and the effect is progressively stronger the higher the similarity between the subjects or elements.
What to do about it?
No clue at the moment...

Another unrelated thing i've noticed by accident, that i cannot quite understand...
Using images generated by model A as feedback for model B often times (always?) results in glitches and complete gibberish.
Talking "related" models here, so e.g. SD1.5 and fine tuned SD1.5.

Very interesting, thanks for putting this together! I’ve definitely seen even more extreme examples where patches of the image are completely black or where the brightness is so low that the entire image is essentially black. I haven’t really thought about it in terms of contrast.
As far as finding a solution goes, I think it will require looking for a pattern in the model activations that’s different between burned-out images and normal images. It might also help finding more extreme examples because there it might be more obvious where exactly it goes wrong.
I’ve also never noticed that using different models for generating feedback results in glitches. Do you have some examples for that? It might well be related to the burnout issue.

Yeah, these were very mild examples, but also, it didn't take a lot to produce them.
I've seen complete burnouts too.
I'll try and make different model glitch repro case too.
What i think might maybe help is bounding the maximum weights of the feedback to some range.
Question is what that range should be... i think i've seen a similar issue way back a year or so ago in the early days of SD when someone was trying to prevent the image "burn" at high CFGs. It turned out that it's not as easy as it initially sounds, because there's no good way to map latent space value ranges to image value ranges (i.e. 0-255) across different generations.

I've been able to find a pair of feedback images that reliably produces burnout, so I'm posting them here for future reference. Some observations I've been able to make so far:

Larger CFG scales produce more burnout
Bunout heavily depends on the prompt

the prompt used here is award winning oil painting of a corgi sitting in a garden, soothing tones, colorful, high contrast, (masterpiece), (best quality:1.2), absurdres, intricate details, wide angle, in the style of monet

The effect can be somewhat diminished by using an appropriate negative prompt, e.g. black background
Either one of the feedback images is enough to produce burnout, but combining both amplifies the effect.

Feedback image 1:

Feedback image 2:

Example generation with/without feedback:

Interesting...
The pattern visible in the worst examples is similar to what you sometimes get with img2img when accidentally using the same seed on both the original image and the current generation.

Oh interesting, this might be an indication that predicted noise updates are too large or otherwise OOD. Not very familiar with the img2img failure mode, but do you know if adaptive CFG scale and/or more denoising steps help at all?

They usually just make the pattern less/more obvious.
I have no idea what causes it, but i think it's probably reinforcement of existing noise in some way.
As in, any leftover noise is very similar and gets signal-boosted through repetition.

It's been a while, but I've finally found a way to mitigate this issue and mostly prevent it from happening.


Power BI Template App Samples - Page Not Found

I'm trying to access template app samples Template app samples from the link below
https://docs.microsoft.com/en-us/power-bi/connect-data/service-template-apps-samples
I'm looking for the QBO Power BI template app specifically. I keep getting a "Page not found" error when clicking the link.

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

ID: 7b777f61-d4cf-bc8e-64b5-43c2e695051b
Version Independent ID: 20c2b71c-b805-b5e1-4de3-f5bc51de91e5
Content: Template apps samples - Power BI
Content Source: powerbi-docs/connect-data/service-template-apps-samples.md
Service: powerbi
Sub-service: powerbi-template-apps
GitHub Login: @paulinbar
Microsoft Alias: painbar

Thanks for your comment, @primetimeai3000. This issue has been assigned to the doc author for review.

Hi @primetimeai3000, The samples article is indeed out of date and I just removed it. Those samples are no longer available, and in a number of cases the template apps don't exist anymore either.
You can find template apps on appsource, or by going into the apps page in Power BI and choosing Get apps.
Thanks for bringing this obsolete article to my attention.


java.net.URISyntaxException when use BundleFile with zip-file on Windows

[info]   java.net.URISyntaxException: Illegal character in opaque part at index 11: jar:file:C:\Users\DPOBEG~1\AppData\Local\Temp\7027814362110989432\query.zip
[info]   at java.net.URI$Parser.fail(Unknown Source)
[info]   at java.net.URI$Parser.checkChars(Unknown Source)
[info]   at java.net.URI$Parser.parse(Unknown Source)
[info]   at java.net.URI.<init>(Unknown Source)
[info]   at ml.combust.bundle.BundleFile$.apply(BundleFile.scala:28)

Problem in this line.
new URI(s"jar:file:${file.getAbsolutePath}") generate an incorrect URI jar:file:C:\Users\... (the correct one is jar:file:/C:/Users/...).
The possible solution is to replace this line to
new URI(s"jar:${file.toURI}")

@xdemonx Should be fixed with this PR: https://github.com/combust/mleap/pull/333


Fix redefinitions and global pollution

There is no need to create new local variables when overwriting arguments of a function
Do not put operator into _G by default

Closing since operator is now local and other changes are cosmetic.


[BUG] Interference With Some Express Middlewares

Describe the bug
If using an existing Express server, some middlewares (express.json() for example) interfere with the middleware used in TESjs.
To Reproduce
Steps to reproduce the behavior:

have an Express server with express.json() middleware being used for all routes
subscribe to an event (have debug on in config)

Expected behavior
Event subscription/notifications should come through fine
Actual behavior
The TESjs middleware does not work correctly, making any request from Twitch fail

The clear solution to this problem is likely to include a middleware with TESjs that will interface with other middleware to ignore the /teswh/event route:
// Example:
app.use(ignoreTES(express.json());


Components added via registerEditorComponent lose their events

Describe the bug
Components added via registerEditorComponent lose their events (onClick was tested) on the preview panel.
To Reproduce
Load this editor component and click the yellow box. It has an alert set for onClick but it never fires.
import React from 'react';

class Test extends React.Component {
	render() {
		return <div style={{
			background: 'yellow',
			width: 200,
			height: 200
		}} onClick={() => alert('yellow')}/>
	}
}

const TestEditorComponent = {
	id: 'test-events',
	label: 'Test events',
	fields: [],
	pattern: /{"widget":"test-events"}/,

	fromBlock: match => {
		return {widget: "test-events"};
	},

	toBlock: obj => {
		return `{"widget":"test-events"}`;
	},

	toPreview: obj => {
		return <Test/>;
	},
};

export default TestEditorComponent;

Expected behavior
An alert should pop.

It seems that components are rendered using renderToString which causes them to lose all hooks: https://github.com/netlify/netlify-cms/blob/f801b192211b1e1953ced969a3093eab9e04e14d/packages/netlify-cms-widget-markdown/src/serializers/remarkRehypeShortcodes.js#L41

Yeah they're really not meant to be interactive components that way, the widgets used for the individual fields can be interactive, though.


SES v2 Transport - ReplyTo address incorrectly configured

Laravel Version
9.52.9 - All versions will be impacted
PHP Version
8.0
Database Driver & Version
No response
Description
SESv2 mail transport is incorrectly configuring the reply to address to be the email from address.
This seems to have come about as the SES v2 API method that's now being used is called sendEmail and I suspect when this new transport was created a number of items were copied over from the original transport class without updating them.
This is affecting all Versions of Laravel and anyone using the SES v2 transport.
Steps To Reproduce
Create and send an email via the ses-v2 transport.
The received email will have the optional reply-to address set to the sender address.
If a reply-to the address has been specified it will be ignored.

@ArthurGuy but the method never changed? It was always sendEmail from the start? See https://github.com/laravel/framework/pull/45977/files#diff-29d25548df61d32037ab7810dfd1004a3b26d1b3760b7c96278de4688598bf12R60
Ping @jacobmllr95

@driesvints Yep, I am pretty certain the v2 transport has always been a bit broken.
sendRawEmail is the method used in the original ses transport.

Weird because we have not gotten any reports about this so far and it's live since 4 months already. Will see what @jacobmllr95 says.

I don't think the ses-v2 transport is documented anywhere so I doubt many people are using it, coupled with not many people using the ReplyTo functionality there probably aren't many people doing this.

@ArthurGuy You are totally right, the "reply to" addresses handling was completely broken with the SES v2 transport.
We haven't used "reply to" addresses, so I didn't noticed.
I created a PR to fix this.

Thanks @jacobmllr95

v2 must be default in Laravel 11

@ankurk91 See: https://github.com/laravel/laravel/pull/6205

This is fixed now.


fatal error stack overflow when using PrecisionTiming.String()

the code in event/precisiontiming.go has the String function calling the Payload function, and the payload function returns the precision timing object  - this is causing infinite recursion.
package main

import "fmt"

type PrecisionTiming struct {
	Name string
}

func (e PrecisionTiming) Payload() interface{} {
	return e
}

func (e PrecisionTiming) String() string {
	return fmt.Sprintf("{Value: %+v}", e.Payload())
}

func main() {
	p := PrecisionTiming{}
	fmt.Printf("%s\n", p)
}

This was observed when I tried to use the same key in both PrecisionTiming and Incr using buffered client - Issue https://github.com/quipo/statsd/issues/28
The Update function in PrecisionTiming finds out that they are not of the same type and when it calls the .String() inside the fmt.Errorf this recursion starts.

@quipo can you open this again ? I don't think it is fixed yet.
package main

import (
	"fmt"
	"github.com/quipo/statsd/event"
	"time"
)

func main() {
	st := time.Now()
	time.Sleep(2 * time.Second)
	duration := time.Now().Sub(st)
	p := event.NewPrecisionTiming("mystat", duration)
	fmt.Printf("%v", p)
}

src/github.com/algrebe/statest$ go run statest.go
runtime: goroutine stack exceeds<PHONE_NUMBER>-byte limit
fatal error: stack overflow

runtime stack:
runtime.throw(0x50fb00, 0xe)
	/usr/local/go/src/runtime/panic.go:527 +0x90
runtime.newstack()
	/usr/local/go/src/runtime/stack1.go:800 +0xb17
runtime.morestack()
	/usr/local/go/src/runtime/asm_amd64.s:330 +0x7f


Fatal error: Uncaught Error: Class 'RateLimit\Rate' not found

Please guide me how to fix this error
Fatal error: Uncaught Error: Class 'RateLimit\Rate' not found
`<?php
use RateLimit\Exception\LimitExceeded;
use RateLimit\Rate;
use RateLimit\RedisRateLimiter;
use Redis;
require_once("./vendor/autoload.php");
$rateLimiter = new RedisRateLimiter(Rate::perMinute(100), new Redis());
$apiKey = 'abc123';
try {
$rateLimiter->limit($apiKey);
//on success
} catch (LimitExceeded $exception) {
//on limit exceeded
}`

use RateLimit\Exception\LimitExceeded;
use RateLimit\Rate;
use RateLimit\RedisRateLimiter;
use Redis;
require_once("./vendor/autoload.php");
$rateLimiter = new RedisRateLimiter(Rate::perMinute(100), new Redis());
$apiKey = 'abc123';
try {
$rateLimiter->limit($apiKey);
//on success

} catch (LimitExceeded $exception) {
//on limit exceeded
}

Hi, which version are you using?
Also, put require_once("./vendor/autoload.php"); at the top of your script, before use statements. Also, make sure that vendor/autoload.php really exists on that path, i.e. make sure you run composer install.

php version is 7.4 and "nikolaposa/rate-limit": "^1.0"
As you said, I changed the script, but the error is still displayed

Did you run composer install? Did you check whether this file ./vendor/autoload.php exists on that location on your machine?

Yes, there is an autoload.php file in the ./vendor path
I ran the composer install command again and it was ok
composer install
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Nothing to install, update or remove
Generating autoload files
But still there is the following error
Fatal error: Uncaught Error: Class 'RateLimit\Rate' not found

Well that's very weird, seems like some basic miss-configuration in your setup. Class loading is a basic thing, no one else complained with this type of issues.


Two minor suggestions

Really love skeleton’s “minimal” approach, @dhg!
Two minor suggestions:
pre > code {
    overflow: auto;
}

and
table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

Thank you!

:+1:  for implementing this.


Adds nullability and generics support

The point of this PR is to introduce nullability and Obj-C generics on collection classes.
This should drastically help with using the library in Swift.
IMO there are only a handful of properties that ca should be nullable so I tried to keep properties and arguments as non nullable.

This looks good. Kind of hard to measure and verify until we have an example project in Swift. I'm ok with merging this when tests pass.


Donations form

There should be a way to donate to @yvolk directly on andstatus.org.

Webmoney
PayPal button

Maybe flatter also

I added the donation page to andstatus.org site. No "Donate buttons" yet though :-)


Updating react template with TypeScript + codegen support.

TypeScript
Codegen with Apollo.

Done:
https://github.com/nhost/nhost/tree/main/templates/web/react-apollo


SMS verification code does not come

Hi,
I open a new membership. SMS verification code does not come. I made changes to the sections below. I deleted the "changeme" parts and added my own information. But the error did not recover.
TWILIO_ACCOUNT_SID=changeme
TWILIO_AUTH_TOKEN=changeme
TWILIO_PHONE_NUMBER=changeme
Thank you.

On which environment @UfukAntep ?
The SMS feature was disable as default on Development mode, if you want to test your feature, just enable it in here barong_app/config/initializers/fake_twilio.rb

Hello, I'm testing in my own local area. I went to the address you said. How do I activate? Is it enough to write my own Client instead of FakeSms?
if Rails.env.development?
Twilio::REST::Client = FakeSMS
end
Thank you.

Just comment all of that @UfukAntep

Thank you problem solved

Can I ask you one more question? How can I produce the test bitcoin?


Create an appimage Linux package for Etcher

http://appimage.org

Done, can be downloaded from https://bintray.com/probono/AppImages/Etcher/view#files.
See this Recipe for how it was produced. It would be nice if this project would provide AppImages for all architectures (Intel 64-bit, Intel 32-bit, ARM) natively.

@probonopd Thank you very much, you're amazing! :D I'll give this a try very soon, and will import your script to our current Makefile.


[feature request] Broader HuggingFace model compatibility

I'd like to use the framework to obtain model behaviors from a T5 model (flan-alpaca-gpt4-xl) but currently, the framework's HuggingFaceAPI class is designed to work only with AutoModelForCausalLM, which limits its use to decoder-only models and not encoder-decoder models like T5
Request: Extend the HuggingFaceAPI class to support a broader range of HuggingFace model architectures, e.g. Seq2Seq models (e.g., T5, BART) using AutoModelForSeq2SeqLM
Seq2Seq models aren't especially frontier but it could still be useful to collect their responses and allow a wider range of models to be compared

We don't have plans to do this as the main use cases for the library are centered on decoder only chat models. Would certainly be open to a PR for this though.
Note that we have lots of users also using Ollama (which can use HF models: https://huggingface.co/docs/hub/en/ollama) and vLLM (which can also use HF models: https://docs.vllm.ai/en/latest/models/supported_models.html). Not sure whether this helps at all for these model types though.


test(#1902): Implement unit tests for pipeline element 'TextFilterProcessor'

Purpose

closes #1902
Remarks

PR introduces (a) breaking change(s): no
PR introduces (a) deprecation(s): no

@bossenti, will you check my pull request

@bossenti, I have made some changes to the file will you check them.

@Aditi840 I had a look at your test and want to give some feedback:

The test class is intended for the TextFilterProcessor class, but your code added is in a module that doesn't contain a dependency on the processors-filters-jvm module which provides the class to test.
The code you provided uses imports that cannot be resolved due to missing dependencies.
The code uses invented methods which are not present in our codebase, such as resetCollectedEvents from the SpOutputCollector class or a ModelDeclaration class which doesn't even exist.

We are a friendly and open community and are willing to help non-experienced coders, but my general advise is that you don't provide contributions to open source projects that are based on ChatGPT and which are completely untested and wrong. Note that many people who provide real code to open source projects do that in their spare time. Reviewing PRs which come out to be mostly nonsense is a waste of time and just not nice.
Having said that, I'll close this PR.


Fix an issue where path dependencies were displayed in the coverage report

This fixes an issue where path dependencies that not included in the workspace were displayed in the coverage report.

bors r+


Fixed issue in setting up the default value

Fixed issue in setting up the default value of Deploy Test Agent WinRM Port. If default value is set in task.json, for the old definition this will be auto pre-filled, which can break old def.

Looks fine.

internal bug: 529554


Problem when resolving controlPoints for "c"

I found this problem on https://swiftvg.mike-engel.com ...
For curves with differential param (lowercase c), the controlPoints aren't calculated well.
Actually, the same dx1 dy1 and dx2 and dy2 are given as result without adding the previous reference point.
Regards!

@fcoleon Hi, and thanks for the issue! Can you provide an example that renders incorrectly, as well as how it should render? Thanks.

For example this path:
M538.47,744.72l30-90.78L449.58,518l.81-.54c37.74-25.17,96.54-61.18,162.33-89.79l.71-.31,173.92,313-.75.41A433.23,433.23,0,0,0,658.37,848.53l-.56.69Z
Should render like this image:

The solution I did was adding the previous point to the dx1, dy1, dx2, dy2 parameters of the lowercase c path section. On the image is the upper section.
Also, there's a problem with arcs(uppercase A on svg) (the lower part of the previous image). I just finished the math(it's a LOT of math...) so I can sent to you if you need it.
Regards

@fcoleon Thanks for the update! I'll take any code/math/whatever you have. Do you happen to have an example of how this is supposed to be written in swift?

Are you going to fix it?? =[

Pull requests are always welcome 😃

If I had time
I love coding great utils
I have a util that I feed with RGB values and get UIColor initializer
Saved me a lot of calculator time
ב-18 בנוב׳ 2018, בשעה 20:51, Mike Engel<EMAIL_ADDRESS>כתב/ה:

Pull requests are always welcome 😃
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.


Keep pickadate open as a calendar

Hi,
Although picker.open() works to trigger open the calendar but when focused and then clicked anywhere else in the document, i.e. once focused and then blurred, it collapses.
Is there any way to prevent it without changing any css as I use pickadate in some other elements as a normal date selector.

Just use:
picker.open(false);
Then it will stay open as long as the user won't click 'Close' button.

Even on using picker.open(), the calendar closes once it gets blur or focusout i.e. once it gets clicked on and then clicked somewhere else in the document.

Copy/pasting my response in #990

I've solved this issue with CSS. Simply put the styling on .picker__holder inside of .picker. Here's my code (using Sass):
.picker {
  color: $black;
  float: left;
  font-size: 16px;
  height: 25rem;
  line-height: 1.2;
  position: relative;
  text-align: left;
  user-select: none;

  &:first-of-type {
    width: 80%;
  }

  &:last-of-type {
    width: 20%;
  }

  // this makes the picker appear all the time
  .picker__holder {
    max-height: 25rem;
    opacity: 1;
    transform: translateY(0) perspective(600px) rotateX(0);
  }
}

Please note that I have custom styling in here for my own project.


Idiomatic Deictic Expression improvements

This is a proposed fix for an issue described here https://github.com/mattt/FormatterKit/issues/163
I recognize a certain awkwardness in my constructedDateComponents but it seemed like a path of least resistance because the alternative would have been refactoring localizedIdiomaticDeicticExpressionForComponents and all the locale-specfic functions it calls.

Thanks for submitting this, @eflath, and sorry for not responding sooner. I just merged #189, which should also fix #163.


add repo to CodeIgniter

Ion Auth is a simple and lightweight authentication library for the CodeIgniter framework.

He isn't Indonesia

I think this should be closed.


Execution failed for task ':app:checkDebugAarMetadata'. > Could not resolve all files for configuration ':app:debugRuntimeClasspath'.

Guys I have an exception raised in android :
Flutter assets will be downloaded from https://pub.flutter-io.cn. Make sure you trust this source!
Launching lib\main.dart on Redmi Note 9S in debug mode...
Flutter assets will be downloaded from https://pub.flutter-io.cn. Make sure you trust this source!

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:checkDebugAarMetadata'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
   > Could not find io.flutter:arm64_v8a_debug:1.0.0-d1b9a6938ad77326ac3a94d92bbc77933ed829ed.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/io/flutter/arm64_v8a_debug/1.0.0-d1b9a6938ad77326ac3a94d92bbc77933ed829ed/arm64_v8a_debug-1.0.0-d1b9a6938ad77326ac3a94d92bbc77933ed829ed.pom
       - https://repo.maven.apache.org/maven2/io/flutter/arm64_v8a_debug/1.0.0-d1b9a6938ad77326ac3a94d92bbc77933ed829ed/arm64_v8a_debug-1.0.0-d1b9a6938ad77326ac3a94d92bbc77933ed829ed.pom
       - https://pub.flutter-io.cn/download.flutter.io/io/flutter/arm64_v8a_debug/1.0.0-d1b9a6938ad77326ac3a94d92bbc77933ed829ed/arm64_v8a_debug-1.0.0-d1b9a6938ad77326ac3a94d92bbc77933ed829ed.pom
       - https://jcenter.bintray.com/io/flutter/arm64_v8a_debug/1.0.0-d1b9a6938ad77326ac3a94d92bbc77933ed829ed/arm64_v8a_debug-1.0.0-d1b9a6938ad77326ac3a94d92bbc77933ed829ed.pom
       - https://jitpack.io/io/flutter/arm64_v8a_debug/1.0.0-d1b9a6938ad77326ac3a94d92bbc77933ed829ed/arm64_v8a_debug-1.0.0-d1b9a6938ad77326ac3a94d92bbc77933ed829ed.pom
     Required by:
         project :app
   > Could not find io.flutter:x86_debug:1.0.0-d1b9a6938ad77326ac3a94d92bbc77933ed829ed.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/io/flutter/x86_debug/1.0.0-d1b9a6938ad77326ac3a94d92bbc77933ed829ed/x86_debug-1.0.0-d1b9a6938ad77326ac3a94d92bbc77933ed829ed.pom
       - https://repo.maven.apache.org/maven2/io/flutter/x86_debug/1.0.0-d1b9a6938ad77326ac3a94d92bbc77933ed829ed/x86_debug-1.0.0-d1b9a6938ad77326ac3a94d92bbc77933ed829ed.pom
       - https://pub.flutter-io.cn/download.flutter.io/io/flutter/x86_debug/1.0.0-d1b9a6938ad77326ac3a94d92bbc77933ed829ed/x86_debug-1.0.0-d1b9a6938ad77326ac3a94d92bbc77933ed829ed.pom
       - https://jcenter.bintray.com/io/flutter/x86_debug/1.0.0-d1b9a6938ad77326ac3a94d92bbc77933ed829ed/x86_debug-1.0.0-d1b9a6938ad77326ac3a94d92bbc77933ed829ed.pom
       - https://jitpack.io/io/flutter/x86_debug/1.0.0-d1b9a6938ad77326ac3a94d92bbc77933ed829ed/x86_debug-1.0.0-d1b9a6938ad77326ac3a94d92bbc77933ed829ed.pom
     Required by:
         project :app
   > Could not find io.flutter:x86_64_debug:1.0.0-d1b9a6938ad77326ac3a94d92bbc77933ed829ed.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/io/flutter/x86_64_debug/1.0.0-d1b9a6938ad77326ac3a94d92bbc77933ed829ed/x86_64_debug-1.0.0-d1b9a6938ad77326ac3a94d92bbc77933ed829ed.pom
       - https://repo.maven.apache.org/maven2/io/flutter/x86_64_debug/1.0.0-d1b9a6938ad77326ac3a94d92bbc77933ed829ed/x86_64_debug-1.0.0-d1b9a6938ad77326ac3a94d92bbc77933ed829ed.pom
       - https://pub.flutter-io.cn/download.flutter.io/io/flutter/x86_64_debug/1.0.0-d1b9a6938ad77326ac3a94d92bbc77933ed829ed/x86_64_debug-1.0.0-d1b9a6938ad77326ac3a94d92bbc77933ed829ed.pom
       - https://jcenter.bintray.com/io/flutter/x86_64_debug/1.0.0-d1b9a6938ad77326ac3a94d92bbc77933ed829ed/x86_64_debug-1.0.0-d1b9a6938ad77326ac3a94d92bbc77933ed829ed.pom
       - https://jitpack.io/io/flutter/x86_64_debug/1.0.0-d1b9a6938ad77326ac3a94d92bbc77933ed829ed/x86_64_debug-1.0.0-d1b9a6938ad77326ac3a94d92bbc77933ed829ed.pom
     Required by:
         project :app
   > Could not find io.flutter:flutter_embedding_debug:1.0.0-d1b9a6938ad77326ac3a94d92bbc77933ed829ed.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/io/flutter/flutter_embedding_debug/1.0.0-d1b9a6938ad77326ac3a94d92bbc77933ed829ed/flutter_embedding_debug-1.0.0-d1b9a6938ad77326ac3a94d92bbc77933ed829ed.pom
       - https://repo.maven.apache.org/maven2/io/flutter/flutter_embedding_debug/1.0.0-d1b9a6938ad77326ac3a94d92bbc77933ed829ed/flutter_embedding_debug-1.0.0-d1b9a6938ad77326ac3a94d92bbc77933ed829ed.pom
       - https://pub.flutter-io.cn/download.flutter.io/io/flutter/flutter_embedding_debug/1.0.0-d1b9a6938ad77326ac3a94d92bbc77933ed829ed/flutter_embedding_debug-1.0.0-d1b9a6938ad77326ac3a94d92bbc77933ed829ed.pom
       - https://jcenter.bintray.com/io/flutter/flutter_embedding_debug/1.0.0-d1b9a6938ad77326ac3a94d92bbc77933ed829ed/flutter_embedding_debug-1.0.0-d1b9a6938ad77326ac3a94d92bbc77933ed829ed.pom
       - https://jitpack.io/io/flutter/flutter_embedding_debug/1.0.0-d1b9a6938ad77326ac3a94d92bbc77933ed829ed/flutter_embedding_debug-1.0.0-d1b9a6938ad77326ac3a94d92bbc77933ed829ed.pom
     Required by:
         project :app > project :firebase_core
         project :app > project :geolocator_android
         project :app > project :flutter_plugin_android_lifecycle
         project :app > project :awesome_notifications
         project :app > project :google_maps_flutter
         project :app > project :sqflite
         project :app > project :flutter_share
         project :app > project :url_launcher_android
         project :app > project :path_provider_android
         project :app > project :webview_flutter_android
         project :app > project :shared_preferences_android
         project :app > project :geocoding
         project :app > project :firebase_auth
         project :app > project :flutter_ringtone_player
         project :app > project :fluttertoast
         project :app > project :uni_links
         project :app > project :flutter_phone_direct_caller
         project :app > project :stripe_android

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 1m 4s
Running Gradle task 'assembleDebug'...                             66.2s
Exception: Gradle task assembleDebug failed with exit code 1

I have no idea why. I tried flutter clean doesn't worked.
Here's my flutter doctor:

C:\Users\Johnmelodyme>flutter doctor -v
Flutter assets will be downloaded from https://pub.flutter-io.cn. Make sure you trust this source!
[√] Flutter (Channel stable, 3.0.0, on Microsoft Windows [Version 10.0.18358.1], locale en-US)
    • Flutter version 3.0.0 at C:\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ee4e09cce0 (13 days ago), 2022-05-09 16:45:18 -0700
    • Engine revision d1b9a6938a
    • Dart version 2.17.0
    • DevTools version 2.12.2
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://pub.flutter-io.cn

Checking Android licenses is taking an unexpectedly long time...[√] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at C:\Users\Johnmelodyme\AppData\Local\Android\Sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.11+9-b60-7590822)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Android Studio (version 2021.1)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.11+9-b60-7590822)

[√] VS Code (version 1.67.2)
    • VS Code at C:\Users\Johnmelodyme\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.40.0

[√] Connected device (2 available)
    • Redmi Note 9S (mobile) • 59c2bd61 • android-arm64  • Android 11 (API 30)
    • Chrome (web)           • chrome   • web-javascript • Google Chrome 101.0.4951.67

[√] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

@sethladd @ianloic @anaisbetts @sgraham @gmoothart

update
It worked after I replaced Maven() with jcenter() in build.gradle and upgrade the Gradle version to 7.4.


[Feature Request]: Giving suggestions for the user based on user's interest

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
after the login page add a feature of taking their interests and we can suggest them books  based on their interests using the gemini AI
Use Case
This would increase the engagement of user to this platform
Benefits
Quick selection of the books because delay leads to decrease the interest and change the mood of the user
Add ScreenShots
not yet
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

Is there an existing issue for this?

[x]  I have searched the existing issues

Feature Description
after the login page add a feature of taking their interests and we can suggest them books based on their interests using the gemini AI
Use Case
This would increase the engagement of user to this platform
Benefits
Quick selection of the books because delay leads to decrease the interest and change the mood of the user
Add ScreenShots
not yet
Priority
High
Record

[x]  I have read the Contributing Guidelines
[x]  I'm a GSSOC'24 contributor
[x]  I have starred the repository

Hello @MohithMalla, Go for it
All the Best


Preparing for new kinds of monitoring

I'm aiming towards solving both #9 and #10. IMHO, there're some changes that were required so that we can extend this project with new features and monitorings. So, the main changes are:

Added a dev environment with docker. This looks much easier, IMHO, to work on a project, since anyone wouldn't need to handle different versions of ruby, it's dependencies and so on, letting everything else to an automated script that sets up his or her dev environment;

Refactored the current checks to use external classes instead, this way we can group related monitorings into a single place, for example: a Redis class is responsible for monitoring redis stuff, while a Sidekiq class monitors sidekiq stuffs.

Removed the custom error feature: I think that this decision is far more polemic than the other changes, and thus I want to hear your opinions on this... I opted to remove it since I'm going to add new monitoring in another PR that breaks with how the custom_error  method works because it's template maybe won't apply into new error messages. I thought to use a lambda, or a proc, and pass down the custom_error to translate specific errors, but this can be overkill. WDYT?

Maybe the next time, you could split this PR in 3, like the items you described! I think this would help to review.


Unable to submit transaction on Mainnet

What did you do?
I have built a transaction on Stellar Laboratory Mainnet new version under Windows11 / Brave. Once signed, there's no way to submit the transaction, the submit button is grayed out.
What did you expect to see?
Be able to submit the transaction to the network.
What did you see instead?
No actions possible at the submitting stage.

@Labetto I think you need to add a RPC url for mainnet. You can find publicly available ones from our dev docs: https://developers.stellar.org/docs/data/rpc/rpc-providers#publicly-accessible-rpc-urls

We will add some messaging indicating the need for providing mainnet third party URLs.

I have tried with both public RPC's and I am able to submit the transaction now. But it won't get through even when increasing the fees a lot and I get a blank screen with "Application error: a client-side exception has occurred" each time having to rebuild the transaction from scratch. Network is busy right now so I will try later to see if it goes trough then.

@Labetto We saw other reports of "Application error: a client-side exception has occurred". Ops is going to take a look

When I try to submit transaction on Mainnet, I get an error
Refused to connect to 'https://soroban-rpc.****my-domain****/' because it violates the following Content Security Policy directive: "connect-src 'self' https://9sl3dhr1twv1.statuspage.io/api/v2/ https://stellar-mainnet.liquify.com/ https://stellar.liquify.com/ https://soroban-rpc.mainnet.stellar.gateway.fm/ https://soroban-rpc.testnet.stellar.gateway.fm/ *.stellar.org".

Why can't I submit a transaction without entering an rpc-server? In the old lab everything is submits perfectly well without rpc-servers, including soroban transactions. Make the "Submit transaction" button active and "Simulate transaction" inactive if no rpc-server is entered.

has anyone found a solution to this yet? I have no clue how to use what they suggest.

So, do we just hangout until they fix this bug?? God forbid there is a power outage or something.

Please try to use validation cloud: https://developers.stellar.org/docs/data/rpc/rpc-providers#ecosystem-providers
And add the URL to the network tab.
Alternatively you can use Horizon to submit a TX here https://lab.stellar.org/endpoints/transactions/post?$=network$id=testnet&label=Testnet&horizonUrl=https:////horizon-testnet.stellar.org&rpcUrl=https:////soroban-testnet.stellar.org&passphrase=Test SDF Network /; September 2015;;
We're adding a fix for this in the coming weeks.

I guess I will wait for the fix in the coming weeks. I cant seem to get any of the solutions to work without creating a custom network. Which isnt what I really want to do. I want to post on the main net. Thank you for your attention to the matter. I appreciate it. I Cant wait for this to be fixed.

I guess I will wait for the fix in the coming weeks. I cant seem to get any of the solutions to work without creating a custom network. Which isnt what I really want to do. I want to post on the main net. Thank you for your attention to the matter. I appreciate it. I Cant wait for this to be fixed.
Having your own rpc-server doesn't help in any way:) I have one, but it still doesn't work. I'll also be waiting for the fix.

@Labetto  This is now fixed. Thank you for your patience 🙏
https://lab.stellar.org/transaction/submit?$=network$id=mainnet&label=Mainnet&horizonUrl=https:////horizon.stellar.org&rpcUrl=&passphrase=Public Global Stellar Network /; September 2015;;


modularization of connection/command components; migrate from ginkgo

First steps in making reusable 'connection' objects for each of github/jira, which we can persist and through which we can invoke commands.
Also moved some tests from ginkgo, but encountering some return-value aliasing I can't figure, so I'm going to see what happens with CI to see if it's something wrong with my local.

Hey @oceanc80    Any feedback on this pr?


Flutter tool launches the Flutter Android app with a different intent than Android Studio

Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 1.22.2, on Microsoft Windows [Version 6.1.7601], locale zh-CN)
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.0-rc1)
[√] Android Studio (version 4.0)
[!] Android Studio (version 4.1.0)
    X Flutter plugin not installed; this adds Flutter specific functionality.
    X Dart plugin not installed; this adds Dart specific functionality.
[!] VS Code, 64-bit edition (version 1.18.0)
    X Flutter extension not installed; install from
      https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[√] Connected device (1 available)

! Doctor found issues in 2 categories.

Steps to Reproduce
https://github.com/Rickyballs/FlutterWebViewBugDemo/tree/launchMode
branch: launchMode

Run Application from flutter/native.
Click the Home button in the lower right corner of the screen to open the plug.
Click home to get app back to the background
Click the app icon to bring the app to front.

before:launcherAcitvity(standard)-finish->MainActivity(singleTask)->Plugin/Activity(standard)
Expected results:
native launch:MainActivity(singleTask)->Plugin/Activity(standard)
flutter launch:MainActivity(singleTask)->Plugin/Activity(standard)
Actual results:
native launch:MainActivity(singleTask)->Plugin/Activity(standard)
flutter launch:MainActivity(singleTask)

Logs
launch from Flutter
        Hist #1: ActivityRecord{faf0962 u0 com.ricky.web_app/.MainActivity t1971}
          Intent { flg=0x10000000 cmp=com.ricky.web_app/.MainActivity }
          ProcessRecord{67ba46b 28216:com.ricky.web_app/u0a472}
        Hist #0: ActivityRecord{31ee1e1 u0 com.ricky.web_app/.LaunchActivity t1971}
          Intent { act=android.intent.action.RUN flg=0x30000000 cmp=com.ricky.web_app/.LaunchActivity (has extras) }
          ProcessRecord{67ba46b 28216:com.ricky.web_app/u0a472}

launch from Native
        Hist #2: ActivityRecord{b09a063 u0 com.ricky.web_app/com.sangcomz.fishbun.ui.album.AlbumActivity t1973}
          Intent { cmp=com.ricky.web_app/com.sangcomz.fishbun.ui.album.AlbumActivity bnds=[79,1364][247,1532] }
          ProcessRecord{dd539b9 28604:com.ricky.web_app/u0a472}
        Hist #1: ActivityRecord{726f91b u0 com.ricky.web_app/.MainActivity t1973}
          Intent { flg=0x10000000 cmp=com.ricky.web_app/.MainActivity }
          ProcessRecord{dd539b9 28604:com.ricky.web_app/u0a472}
        Hist #0: ActivityRecord{b3c2c2 u0 com.ricky.web_app/.LaunchActivity t1973}
          Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=com.ricky.web_app/.LaunchActivity }
          ProcessRecord{dd539b9 28604:com.ricky.web_app/u0a472}

The cat and flg are different.

I just want to know where this flutter launch setting is configured

@Rickyballs
This is doesn't seem to be a bug or a feature request, I suggest you to ask this question on support channels like StackOverflow to get help on it.
Closing from here.

@Rickyballs your question isn't stated very clearly. You'd have to state a bit more what those terms are. Describe the app a bit. What is native startup and flutter startup. What plugins are they. What are the 2 activities. Then describe a bit what the specific issue is (ideally using concrete code or class names) and describe why it's an issue with your business use case, and why you think it's a bug in the Flutter framework or engine.

@xster
从IDE flutter工程处运行APP-》打开带Activity的插件-》HOME键最小化-》点击桌面图标打开-》重新走了LaunchPage
从IDE android工程处点击运行APP-》打开带Activity的插件-》HOME键最小化-》点击桌面图标打开-》显示了最小化前的页面

ahhh I understand. You're saying https://github.com/flutter/flutter/blob/e8c3ce6bd1254d90a942c5b5da35b5c160877f00/packages/flutter_tools/lib/src/android/android_device.dart#L618 is a different intent being launched than what Android Studio does when you select to launch it as an Android app instead of a Flutter app?

你是说作为 Flutter 应用启动的时候，flutter_tools 启动时使用的 intent 在https://github.com/flutter/flutter/blob/e8c3ce6bd1254d90a942c5b5da35b5c160877f00/packages/flutter_tools/lib/src/android/android_device.dart#L618跟通过 Android Studio 启动一个安卓应用用的 intent 不一样是吗？

What's your ideal solution? For Flutter to use the same intent as Android Studio?

你期待的行为时 Flutter 跟 Android Studio 用同一个 intent 吗？

The ask is to launch with Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] } like Android apps via Android Studio rather than Intent { act=android.intent.action.RUN } currently.
@jonahwilliams what do you think?

I don't really have full context in the original choice here, but as long as it doesn't break anything I don't see the issue

@jonahwilliams  If it is not set in this way, people who come into contact with the android launch differences will have to adapt and learn from it。

What is the impact of launching with a different intent?

I don't really have full context in the original choice here

I don't either. Though it appears to have been this way from over 5 years ago https://github.com/flutter/flutter/pull/1334. It may have been arbitrary.

@jonahwilliams The LauncherActivity will be launched by clicking app icon when enter background.The native way doesn't.

It looks like this was fixed by #104135:
     final List<String> cmd = <String>[
       'shell', 'am', 'start',
-      '-a', 'android.intent.action.RUN',
+      '-a', 'android.intent.action.MAIN',
+      '-c', 'android.intent.category.LAUNCHER',

after the related issue #103234 was filed.


Fix recurring build issues

Background
The build process is facing repetitive errors from name collisions during deployments. The build Firewall IP Address for example failed to delete a resource because the wrong IP address was used to grant access to the resource. This caused subsequent builds to error because the resource group names for new builds were conflicting with the old build. To address this the team deleted the resource groups manually. The build failures presented recently however show that not all resources were deleted when deleting the resource group. Errors in recent builds are due to existing resources, with name conflicts, that are causing the build to fail.
Desired change

We want to be able to run more than one build at a time (remove the concurrency block)
We want the builds to have unique names so that a previous build does not conflict with the new one
We want the system to be cost optimized so that an unused resource is not left in the subscription after a build

Closed by #163


Adjustable Chunk Size

My actions before raising this issue

[x] Read/searched the docs
[x] Searched past issues
This is a feature request
I am not sure if this is possible, however, the way I see it, chunk size is more to do with the client side, and not so much on the server side. Because of this, being able to change the chunk size in the UI as a user, so you can use large chunk size on fast machines and small ones on slower machines would be beneficial.

Expected Behaviour
On the task page, change a variable for the chunk size for the task
Current Behaviour
You have to set the chunk size when uploading
Possible Solution
uploading each task with multiple chunk sizes so people with different machines can use different chunk sizes
Context
I'd prefer having as high of a chunk size as possible, as this enables much faster loading of the files. But due to difference in peoples hardware, there are some limitations on what some machines can handle. Thus if we want to achieve as good throughput as possible we must upload the same task multiple times to enable optimal performance
Your Environment

Git hash commit (git log -1):
Docker version docker version (e.g. Docker 17.0.05):
Are you using Docker Swarm or Kubernetes?
Operating System and version (e.g. Linux, Windows, MacOS):
Code example or link to GitHub repo or gist to reproduce problem:
Other diagnostic information / logs:
Logs from `cvat` container

Next steps
You may join our Gitter channel for community support.

Is there any progress about it?


SB Swagger Spec

Hi @sazeesha, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (sazeesha). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;

@sazeesha it's ok just to push new commits to your fork when you have an open PR, GitHub will see that and update the PR automatically.  That way we can see the changes from version-to-version, and fixes to lines will hide the line comments 😸

👍
Looks Good To Me ™
@amarzavery looks like everything in yours and mine comments addressed. What do you think?

Otherwise the spec LGTM.

No modification for Python

No modification for NodeJS