[SOLR-17185] Open ValueAugmenter in ValueAugmenterFactory for extension

https://issues.apache.org/jira/browse/SOLR-17185
Description
Opening up the class ValueAugmenter in the ValueAugmenterFactory to public access level eases the creation of custom document transformers.
Currently, we have to place our custom document transformers in the org.apache.solr.response.transform package to be able to access the package private ValueAugmenter. Changing the visibility to public enables building custom document transformers very slim and quick like the following one in any package:
public class CollectionAugmenterFactory extends TransformerFactory {

@Override
public DocTransformer create(String field, SolrParams params, SolrQueryRequest req) {
  String v = ComponentUtils.getCollectionNameFrom(req.getCore()).orElse("[unknown]");
  return new ValueAugmenterFactory.ValueAugmenter(field, v); }
}

Solution
Change the visibility of ValueAugmenter from package private to public.
Checklist
Please review the following and check all that apply:

[x] I have reviewed the guidelines for How to Contribute and my code conforms to the standards described there to the best of my ability.
[x] I have created a Jira issue and added the issue ID to my pull request title.
[ ] I have given Solr maintainers access to contribute to my PR branch. (optional but recommended)
[x] I have developed this patch against the main branch.
[x] I have run ./gradlew check.
[ ] I have added tests for my changes.
[ ] I have added documentation for the Reference Guide

Usually we add some just compile test to make sure public won't go in future.

@tboeghk please add CHANGES or merge https://github.com/otto-de/solr/pull/1
Thanks for your contribution.

I think small internal refactors like this don't need a CHANGES.txt entry; I don't want contributors to feel there is an extra burden on them to do more digital paperwork.

backporting #2369


[BUG] Failing to push images to the local registry

What did you do
Tried to start K3d with local registry but failed.
Followed the instructions
➜  k3d registry create myregistry.localhost --port 12345
INFO[0000] Creating node 'k3d-myregistry.localhost'
INFO[0000] Successfully created registry 'k3d-myregistry.localhost'
INFO[0000] Starting Node 'k3d-myregistry.localhost'
INFO[0000] Successfully created registry 'k3d-myregistry.localhost'
# You can now use the registry like this (example):
# 1. create a new cluster that uses this registry
k3d cluster create --registry-use k3d-myregistry.localhost:12345

# 2. tag an existing local image to be pushed to the registry
docker tag nginx:latest k3d-myregistry.localhost:12345/mynginx:v0.1

# 3. push that image to the registry
docker push k3d-myregistry.localhost:12345/mynginx:v0.1

# 4. run a pod that uses this image
kubectl run mynginx --image k3d-myregistry.localhost:12345/mynginx:v0.1

➜  k3d cluster create --registry-use k3d-myregistry.localhost:12345
INFO[0000] Prep: Network
INFO[0000] Re-using existing network 'k3d-k3s-default' (8c50df808d4a21ee6c4ac24381a8709df922dca787d9e3737da5d775f567e761)
INFO[0000] Created volume 'k3d-k3s-default-images'
INFO[0001] Creating node 'k3d-k3s-default-server-0'
INFO[0001] Creating LoadBalancer 'k3d-k3s-default-serverlb'
INFO[0001] Starting cluster 'k3s-default'
INFO[0001] Starting servers...
INFO[0002] Starting Node 'k3d-k3s-default-server-0'
INFO[0010] Starting agents...
INFO[0010] Starting helpers...
INFO[0010] Starting Node 'k3d-k3s-default-serverlb'
INFO[0012] (Optional) Trying to get IP of the docker host and inject it into the cluster as 'host.k3d.internal' for easy access
INFO[0014] Successfully added host record to /etc/hosts in 2/2 nodes and to the CoreDNS ConfigMap
INFO[0016] Cluster 'k3s-default' created successfully!
INFO[0016] --kubeconfig-update-default=false --> sets --kubeconfig-switch-context=false
INFO[0016] You can now use it like this:
kubectl config use-context k3d-k3s-default
kubectl cluster-info
➜  docker tag nginx:latest k3d-myregistry.localhost:12345/mynginx:v0.1
➜  docker push k3d-myregistry.localhost:12345/mynginx:v0.1
The push refers to repository [k3d-myregistry.localhost:12345/mynginx]
Get https://k3d-myregistry.localhost:12345/v2/: Service Unavailable

Which OS & Architecture
MacOS
Which version of k3d
k3d version v4.4.8
Which version of docker
docker version
Client:
 Cloud integration: 1.0.17
 Version:           20.10.7
 API version:       1.41
 Go version:        go1.16.4
 Git commit:        f0df350
 Built:             Wed Jun  2 11:56:22 2021
 OS/Arch:           darwin/amd64
 Context:           default
 Experimental:      true

Server: Docker Engine - Community
 Engine:
  Version:          20.10.7
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.13.15
  Git commit:       b0f5bc3
  Built:            Wed Jun  2 11:54:58 2021
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.4.6
  GitCommit:        d71fcd7d8303cbf684402823e425e9dd2e99285d
 runc:
  Version:          1.0.0-rc95
  GitCommit:        b9ee9c6314599f1b4a7f497e1f1f856fe433d3b7
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

Ok, missed that later in the documentation it's mentioned that the host resolving needs to be done.
Fixed by adding <IP_ADDRESS> k3d-myregistry.localhost to /etc/hosts.
Maybe worth changing documentation and mentioning this in the section with local registry right away as a warning.


Arrows (Buttons) and Today Button are all together

Describe the bug
Arrows, Buttons and Today Button all together. Forward and Today can I click (not easy, but it is possible). To Go back, that doesn't work.
Expected behavior
As you see in the screenshot are the button <, Today and > all together.
Screenshots

OS
Windows 10 22H2
Obsidian Version v1.6.5
Theme:
Plugin Mininal Theme → Tried to put it on Inactive → Same error.
I tried also to deactivate all my CSS Add-ons. Nothing changed.
Do you have any Idea, how I can fix this?
Thank you very much for your Time and for your great Plugin!

@MichaelLepori : do you by any chance have the media notes plugin installed and activated?
And if so, does it help to comment out the following CSS instruction:
.arrow {
        position: absolute;
        bottom: 0;
        margin-left: 0px;
        width: 24px;
        height: 24px;
        background-size: contain;
        opacity: 0.8;
        top: 23px;
}

inside .obsidian/plugins/media-notes/style.css ?

I also have the same issue, but it is just arrow button that overlaps, today button is separate.
I think the calendar css is override/clash with other plugin css, but I don't know which plugin does this. I've try with media notes, it's still the same.

@padowi Thank you very much.
That helped me too.
After commenting this out:

Restarting Obsidian
This was the result:

That's great. Thank you. The Creators of the Plugins should use unique names: arrowCalendar for Example.
Commenting that out, will the media-notes plugin break?
I will try that our.
Have a great day and thank you for your suggestion.
ML

@MichaelLepori
Heya!
Glad it helped :)
I'm afraid that I have not used Media Notes extensively enough to dare say anything for certain, but in what little use I have put it through since altering the CSS, I have found nothing immediately or obviously broken.
Best regards,
Patrik

@Derion-writes
Heya!
I could attempt to dig around and figure out which plugin may yet be causing the issue, but I'd need a list of all the plugins you have installed and enabled in your vault.
Would you feel comfortable providing me with that?
Otherwise, what my bug-hunting plan is, is to just enumerate all plugin CSS files, and then look through them for any mention of ".arrow", probably having a "position: absolute;" directive, and temporarily disable the plugin having that CSS file, to see if it alleviates the problem.
So you could do it yourself, if you feel uncomfortable handing out a list of you enabled plugins.

Have same issue, after turning off "Media Note" plugin, Calendar look became normal immediately 🤷🏻♂
Thanks guys for locating routes of this issue.


[Feature] Multiple background colours for a bubble in Bubble Chart

Expected Behavior
When having a Bubble Chart, the capacity to give it an array of colours and display the same bubble divided in multiple slices, similar to a Pie chart.
With a functionality similar to:
var i,
    l = node.colors.length,
    j = 1 / l,
    lastend = 0;
    for (i = 0; i < l; i++) {
        context.fillStyle = node.colors[i];
        context.beginPath();
        context.moveTo(x, y);
        context.arc(x, y, size, lastend, lastend + (Math.PI * 2 * j), false);
        context.lineTo(x, y);
        context.closePath();
        context.fill();
        lastend += Math.PI * 2 * j;
    }

Current Behavior
It only allows for a single colour.
Context
The idea is to show more information in the same Bubble Chart, in our user case, each bubble represent a person that can have multiple affiliations aside from 3 numeric attributes(x, y, z), the idea is to show all affiliations in the chart by using a circle similar to the this. Currently we are forced to show only one.

I don't know if this is a feature that should live in the core or not. You might get away with replacing Chart.elements.Point.prototype.draw with something that does what you want and also changing Chart.controllers.bubble.prototype.updateElement

Closing since this is pretty unique and I think it would better live as an extension to chart.js


Update copyright date from 2016 to 2017

Update copyright date from 2016 to 2017

I'm only approving if it was done by hand

This is not the correct way to update the copyright date.
It should be 2016-2017. You shouldn't be deleting the reference to the 2016
date.
-a
On Thu, Mar 30, 2017 at 5:14 PM, Balthazar Gronon<EMAIL_ADDRESS>wrote:

Merged #329 https://github.com/uber/react-vis/pull/329.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/uber/react-vis/pull/329#event-1023297022, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ASRVQSOPmI202n_7E2T-UjWwkvgjqfOYks5rrEVagaJpZM4MvEvK
.

--
Adam Pavlacka
Information Platform / Tech Brand, Uber Engineering
Uber Engineering Blog http://eng.uber.com/ | The People of #UberEng
http://people.uber.com/eng/ | @UberEng https://twitter.com/ubereng

@gamescan see https://github.com/uber/react-vis/pull/330


Vulkan: QuadMesh-based post-processing shaders no longer work

Godot version
v4.0.dev.20211117.official
System information
Windows 10, gtx 1060, i5 4690k
Issue description
Shaders that require a 2x2 quadmesh with max cull do not funciton properly in Godot 4 prealpha builds
Here is a photo of a shader in Godot 3. It is a simple post process outline

Here is a photo in Godot 4.

There are no apparent errors in the shader, but running in the game and editor there is no effect.
I have tested various shaders, including
PS1 shader - https://godotshaders.com/shader/ps1-post-processing/
Dither shader
Other post process outline shaders - https://github.com/Ainlid/godot3.1.1depthedge
This seems to affect all shaders requiring a 2x2 quadmesh.(Post process shaders)
There is simply no resulting effect.
I do believe this is a Godot side glitch, beacuse I was able to achieve this

with messing around with render_mode, although it may just be a random side effect
Steps to reproduce

Create a new game
load a cube
Load a camera
Load a quadmesh
Set the quad mesh to size 2x2
Load whatever shader you like onto the quadmesh
Results

Minimal reproduction project
GodotShaderBug.zip

Did you update the shader at all? Note especially that the range of depth changed in 4.0 as described here https://docs.godotengine.org/en/latest/tutorials/shaders/advanced_postprocessing.html#depth-texture

Not really. Although, after more testing, I have noticed that render_mode cull_disabled does help fix issues in regards to certain shaders (haven't tested on all of them, only PP outlines)

I reproduced this issue when using a similar outline shader. I narrowed it down to one line, the VIEWPORT_SIZE, not being set correctly (code). I set it to e.g. 1920 and 1080 and the shader works as expected.
The PS1 shader uses FRAGCOORD so I assume there may be a similar issue there.
It seems both these issues are discussed in #51546 and #47711.
As far as I can tell, my VIEWPORT_SIZE is nearly (0.08, 0.04) for 1920x1080.

My planet atmosphere shader is broken as well in Godot4.
It has two modes: box rendering when far enough, and full-screen quad when close enough (it dynamically switches to remain visible and optimize cost, especially when multiple atospheres are visible).
The latter full-screen quad mode does not render anything https://github.com/Zylann/godot_atmosphere_shader/blob/b0e27e6e6b1943545151110eeb312079e295c58b/addons/zylann.atmosphere/planet_atmosphere.shader#L83

Just ran into this issue on a canvas item (tried to make a hud overlay). Tracked it down to me using FRAGCOORD (outputting COLOR = FRAGCOORD.xy, 0.0 gives me totally uniform yellow)
Something is def fishy there, please fix ASAP as FRAGCOORD is very commonly used, especially if people port shaders from Shadertoy (my hud overlay thingy is based on a Shadertoy port)

@Zireael07 I think your issue may be unrelated. COLOR.xy = FRAGCOORD.xy will give uniform yellow except for a one pixel border because FRAGCOORD is in viewport space e.g. it is in pixels, so it will almost always have a value greater than 1

The same FRAGCOORD in 3.x works as expected (.xy outputs green to red colors, similar to UV)
As I said, FRAGCOORD is commonly used in Shadertoy shaders instead of UV. And the shading guide still recommends FRAGCOORD for porting shadertoy stuff


Organize request and response models vs. internal models

src/model/types/index.ts hold all models – for the API And for internal representations without any particular ordering. Models should ideally be sorted together into these two categories or be even defined in separate files.

I think think this issue is very important. I am still learning my way through this repo, but so far I've spent a lot of time creating a mental map of the different models with nearly identical names.
As an example
This is from the Readme.md
async function invoiceHasBeenPaid() {
	const { proofs } = await wallet.requestTokens(200, hash);
	//Encoded proofs can be spent at the mint
	const encoded = getEncodedToken({
		token: [{ mint: '{MINT_URL}', proofs }]
	});
	console.log(encoded);
}

Here's the source for getEncodedToken
function getEncodedToken(token: Token): string {
	return TOKEN_PREFIX + TOKEN_VERSION + encodeJsonToBase64(token);
}

Here's the model Token definition:
export type Token = {
	/**
	 * token entries
	 */
	token: Array<TokenEntry>;
	/**
	 * a message to send along with the token
	 */
	memo?: string;
};

and heres the TokenEntry definition:
**export type TokenEntry = {
	/**
	 * a list of proofs
	 */
	proofs: Array<Proof>;
	/**
	 * the mints URL
	 */
	mint: string;
};**

Somewhere in here, I think we'd benefit from drawing differences between <Token> & <TokenEntry>.  Also I think it's confusing to stay <Token>'s only required field is token: Array<TokenEntry>, are they tokens or tokenEntries?.

@callebtc Pull request here.
https://github.com/cashubtc/cashu-ts/pull/153

@callebtc this can be closed, right?


document workarounds for many/large attachments on 1GB machines

after investigation, the following steps help strengthen 1GB-sized machines for streaming attachments with many or large attachments:

allocate 1GB (or even 2GB) of swap.
~2. adjust the --worker-count from 4 to 1 in the service startup script.~

these should be documented in the DO instructions.

worker count is set automatically based on memory size as of #107.

will be resolved with https://github.com/opendatakit/docs/pull/1132


refactor: resolve minor GitHub code scanning alerts

What this PR changes/adds
Resolves minor code scanning alerts.
Why it does that
Improve code quality
Further notes
--
Linked Issue(s)
Closes # <-- insert Issue number if one exists
Checklist

[ ] added appropriate tests?
[ ] performed checkstyle check locally?
[ ] added/updated copyright headers?
[ ] documented public classes/methods?
[ ] added/updated relevant documentation?
[ ] added relevant details to the changelog? (skip with label no-changelog)
[ ] formatted title correctly? (take a look at the CONTRIBUTING and styleguide for details)

Codecov Report

Merging #1558 (ab1fd71) into main (4bd5b29) will increase coverage by 0.20%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main    #1558      +/-   ##
==========================================
+ Coverage   67.37%   67.57%   +0.20%
==========================================
  Files         737      737
  Lines       16194    16206      +12
  Branches     1058     1060       +2
==========================================
+ Hits        10911    10952      +41
+ Misses       4803     4776      -27
+ Partials      480      478       -2

Impacted Files
Coverage Δ

...ctor/core/base/policy/RuleBindingRegistryImpl.java
100.00% <ø> (ø)

...ract/validation/ContractValidationServiceImpl.java
61.53% <0.00%> (ø)

...ataspaceconnector/policy/model/XoneConstraint.java
70.00% <ø> (ø)

...ne/azurestorage/pipeline/AzureStorageDataSink.java
90.47% <ø> (ø)

...aplane/framework/manager/DataPlaneManagerImpl.java
75.60% <ø> (ø)

...onnector/dataplane/http/pipeline/HttpDataSink.java
76.74% <ø> (ø)

...ceconnector/dataplane/spi/pipeline/DataSource.java
0.00% <ø> (ø)

...pi/configuration/IdsApiConfigurationExtension.java
88.23% <0.00%> (-5.10%)
:arrow_down:

...ector/common/token/TokenGenerationServiceImpl.java
60.86% <0.00%> (-2.10%)
:arrow_down:

...ataspaceconnector/spi/iam/TokenRepresentation.java
0.00% <0.00%> (ø)

... and 15 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 4bd5b29...ab1fd71. Read the comment docs.


Error: Cannot find module build-options.js

`
module.js:340
throw err;
^
Error: Cannot find module '/tmp/apm-install-dir-116617-20638-ztkfdh/node_modules/atom-beautify/script/build-options.js'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:935:3
npm ERR! Linux 4.2.0-42-generic
npm ERR! argv "/usr/share/atom/resources/app/apm/bin/node" "/usr/share/atom/resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/root/.atom/.apm/.apmrc" "--userconfig" "/root/.atom/.apmrc" "install" "/tmp/d-116617-20638-1caf4s7/package.tgz" "--target=0.36.8" "--arch=x64"
npm ERR! node v0.10.40
npm ERR! npm  v2.13.3
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>postinstall: node script/build-options.js
npm ERR! Exit status 8
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>postinstall script 'node script/build-options.js'.
npm ERR! This is most likely a problem with the atom-beautify package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node script/build-options.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls atom-beautify
npm ERR! There is likely additional logging output above.
`
Checklist

[x] I have tried uninstalling and reinstalling Atom Beautify to ensure it installed properly
[x] I have reloaded (or restarted) Atom to ensure it is not a caching issue
[x] Searched for existing Atom Beautify Issues at https://github.com/Glavin001/atom-beautify/issues
so I know this is not a duplicate issue
[ ] Generated debugging information and added link for debug.md Gist to this issue

Looks like a dependency failed to download.  I recommend trying this from the command line apm install atom-beautify.  Please let us know if this resolves the problem.

Same error also doing apm install atom-beautify

I got a E: Unable to locate package apm.
Could this be my ubuntu disto

@Glavin001 Any idea?

face the same problem.

Running apm install atom-beautify returns Unable to locate package apm.? If so, then this is an Atom/apm issue and please contact https://github.com/atom/apm
For the issue that script/build-options.js cannot be found, this is also an apm issue because that file SHOULD be downloaded and installed, however I do want to reduce places where Atom/apm can cause problems and the build-options.js script is one of them. I am currently working on rewriting Atom-Beautify entirely with a lot more features, bug fixes, and enhancements. However, this will take time and I am currently away on vacation for two weeks.
My recommendation is to contact the Atom team at https://github.com/atom/apm and confirm your Atom and apm installation is properly functioning, since the script/build-options.js file should be downloaded by apm upon install and thus this issue should not arrise.
Thank you for your patience and I apologize for the inconvenience. This is definitely an issue I will be addressing when I can.

For Ubuntu, I solved this problem by re-install Atom on the root path, which has usr and tmp folder

[root@username/]

and then install atom-beautify here.
but on Windows 10, I still have no idea.

I've merged https://github.com/Glavin001/atom-beautify/pull/1598 which should resolve these issues.
Published to v0.29.21.


how do i even install it with lazy.nvim

Describe the bug
i tried with lazy.nvim, but lazy.nvim does not detect it
To Reproduce
Steps to reproduce the behavior:

Go to 'add the lazy.nvim code snippet on the lazy_nvim.lua file'

Expected behavior
have lazy detect the dashboard plugin

oh, wait figured it out, and like always, not going to say the anwser
(i used NvDash)


CI Should Upload Snapshot To MVN Repo On Successful Build

Currently it's a manual push, need to tweak CI and getting working automatically.

Snapshot now automatically deployed when a successful build has completed.


fix Failed to find pattern #12 error

i using windows, so i can't modify linux pattern :(

I use arch linux, can I help?

I use arch linux, can I help?

idk

it fixes in commit 75452f5


Remove outdated "Making a release" section from "Developer guide" (#333)

Fixes #333
Its necessary to remove the "Making a release" section from "Developer guide" due to a change
after v0.4 in which several commands were remove from Makefile.
Checklist:

[x] Make tests for new code (at least 80% coverage)
[x] Create/update docstrings
[x] Include relevant equations and citations in docstrings
[x] Docstrings follow the style conventions
[x] Code follows PEP8 style conventions
[x] Code and docs have been spellchecked
[x] Include new dependencies in doc/install.rst, environment.yml, ci/requirements-conda.txt and ci/requirements-pip.txt.
[x] Documentation builds properly (run cd doc; make locally)
[x] Changelog entry (leave for last to avoid conflicts)
[ ] Firt-time contributor? Add yourself to doc/contributors.rst (leave for last to avoid conflicts)

@rafaelmds great work! Thanks for doing this.
Everything looks good to me. Add yourself to doc/contributors.rst and then we're done.
You can do this by making a new commit to your delete-making-release-section branch and pushing it to Github. The PR will be updated automatically. Let me know as soon as you're done and I'll merge this in.

@leouieda Thanks a lot for helping!

It was my pleasure. Thanks for helping out!


Fix service port naming convention

[x] Reproduce the issue with e2e test
[x] Fix unit tests
[x] Fix issue #1360

@jpkrohling I have added an e2e with istio integration which can reproduce the issue #1360

@jpkrohling I have added an e2e with istio integration which can reproduce the issue #1360

That looks awesome! I'm not sure the CI will be able to handle that, but it would be great if this works.

That looks awesome! I'm not sure the CI will be able to handle that, but it would be great if this works.

That looks awesome! I'm not sure the CI will be able to handle that, but it would be great if this works.

Now everything is fine.

That looks awesome! I'm not sure the CI will be able to handle that, but it would be great if this works.

Now everything is fine.

@kevinearls would you like to review this one?

@kevinearls would you like to review this one?

Any other comment?

Any other comment?

@lujiajing1126 No not from me.  Once you take out that error parameter I'll approve the PR.

@lujiajing1126 No not from me.  Once you take out that error parameter I'll approve the PR.

@lujiajing1126 No not from me. Once you take out that error parameter I'll approve the PR.

Thanks for pointing that out, I even didn't notice that. Fixed.

@lujiajing1126 No not from me. Once you take out that error parameter I'll approve the PR.

Thanks for pointing that out, I even didn't notice that. Fixed.

@jpkrohling Could you pls have a final check? Or any other comment?

@jpkrohling Could you pls have a final check? Or any other comment?

If @kevinearls approved, that's good enough for me :-) Thanks for your PR!

Thanks! But it seems a manual click to merge is needed since github workflow files have been changed

If @kevinearls approved, that's good enough for me :-) Thanks for your PR!

Thanks! But it seems a manual click to merge is needed since github workflow files have been changed


Make init.sh more robust

Follow shellcheck advises. In particular:
https://github.com/koalaman/shellcheck/wiki/SC2044
Use strict mode.
Use read only vars.
Add a short usage.
Use explicit functions
Some stuffs are not useful now, but may help later.

This is better, thanks !


BsonMapper.ToDocument(T) throws NullReferenceException

If BsonMapper.ToDocument is used on a type that gets mapped to BsonValue that is not BsonDocument it throws NullReferenceException even though it has performed the mapping to BsonValue. That's because it calls the non-generic method that already returns a null(AsDocument) and then that one can not be casted to AsDocument again.
Ideally I was looking for a method that does map an object to a Bson. I guess I will inherit BsonMapper and expose the Serialize method for such needs(or I have to repeat the code in Serialize).
            var bVal = new BsonValue(str);
            var maper = new BsonMapper();
            var bstr = BsonMapper.Global.ToDocument(typeof(string),str);
            bstr = BsonMapper.Global.ToDocument(str);```

Actually I can't - it's internal not protected.

Maybe it would be nice to have Serialize method be protected so we can call it from sub-classes?
Or add a method that returns a BsonValue not just BsonDocument(or null)?


Model not loading in Firefox Browser

I'm having an issue with loading a specific 3D Model in Firefox 126.0.1 (64-bit). (Works as expected in Chrome and Edge).
Other models are loading without an issue, but with this specific object I'm getting a CORS error for several .glb files.
Console:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://cdn.3d-api.si.edu/d8c646aa-4ebc-11ea-b77f-2e728ce88125/f1961_33-part_01-laser-ortery_texture-20k-512-thumb.glb. (Reason: CORS request did not succeed). Status code: (null).

Screenshot:

Hi @ericpugh - Is this still happening for you? I just tried it in Firefox and it seems fine for me. If so, this might be something for @andrewgunther to comment on.... we are testing 3d delivery via cdn with this model, so that would be the main difference. If it's still happening, can you also try https://3d.si.edu/object/3d/1903-wright-flyer:d8c62e5e-4ebc-11ea-b77f-2e728ce88125 ? This is the other model on the cdn.

No, it loads normally now. Perhaps an issue with some cached asset.


Nyquist plot with imaginary poles, semi-circles only working after 'trick'

I'm plotting the Nyquist diagram of a transfer function which has poles on the imaginary axis:

import control
import matplotlib.pyplot as plt
import numpy as np

K = 1

Gp =  control.tf([1], [1,1,0,0,0])
Gc = control.tf([K], [1])

control.nyquist_plot(Gp*Gc,plot=True,omega_num=1000)
plt.show()

Which results in the following incorrect plot, that does not show infinte semicircles, but something incorrect:

Also using indent_direction and indent_radius did not solve this.
The trick I found that makes it work is if I add omega_limits=[0.001,10000] to nyquist_plot:

Can you please fix such that the incorrect 'line' does not appear?

Yes, the algorithm to determine the default omega vector for the system starts with a lower frequency of 0.1, because the pole of the system is at -1.
https://github.com/python-control/python-control/blob/e81f648431e2a9f2cdf583702522bc2af0e1c360/control/freqplot.py#L1088-L1092
The "trick" to manually define the omega limits is the correct way to override the default omega vector determination.

Perhaps if there is a pole at the origin, the lower limit of the omega vector should be below the indent_radius ?


download dialogue opens

Running signalhub behind a reverse proxy I am now dealing with the problem that, instead of displaying the page like it should, the browsers download dialogue opens. 😟
I use the following .htaccess:
RewriteEngine On
RewriteBase /

RewriteCond %{ENV:HTTPS} !=on
RewriteRule ^(.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

RewriteRule ^(.*) http://localhost:65300/$1 [P]

Adding the following line to the .htaccess solved the problem 😄:
Header set Content-Type text/plain

I dont think we set any headers actually for the status page. You wanna PR that?

You're right. Tested it and works 🚀: https://github.com/mafintosh/signalhub/pull/21


einsum: "ij,ji->" rasing error.

Hi I'm running Linux-64 bit os and I'm getting the following error after running:
import tensorflow as tf
I = tf.constant([[1,0,0],[0,1,0],[0,0,1]])
II_tr = tf.einsum('ij,ji->',I,I)
with tf.Session() as sess:
	res = sess.run(II_tr)
	print res

AssertionError: Indices have incorrect format: ij,ji-> Clearly the result here should be 3.

It works in the current version. What version are you using?

I'm using version 0.11.0
I installed it via pip and https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.11.0-cp27-none-linux_x86_64.whl

tf.einsum is relatively recent and was not fully baked in 0.11. Please try a newer version.

Ok I have installed v0.11.0rc2-py27_0 using conda and its still giving me the same error.

0.11rc2 is earlier than 0.11, you need 0.12.

Is 0.12 released yet? I can't get it via anaconda. If not I can work around it.
Thanks

My bad, not released yet. You could grab tensorflow/python/ops/special_math_ops.py from HEAD.


Feature pipeline dashboard

This is something we've desperately wanted for a long time. Guiding features to stabilazition is the major concern of several of the Rust teams, and requires a major coordination. We have quite a rich and reasonbly well defined lifecycle for introducing new features to the platform, but nowhere a complete view of the entire pipeline.
There's lots of data though, and I think we can piece together most of the picture now, the full picture with incremental process improvements.
Features generally have names and can be in a number of stages:

roadmap: topics on the roadmap, the team wants to talk about and consider for RFCs
pre-RFC: pre-RFCs posted to irlo
proposed: RFC PRs
proposed-FCP: RFCs in final call
accepted: These have RFCs in the repo, and may have tracking issues and in-tree metadata
stable-FCP: Features are in final call
stable: usually along with a version number

Each of these stages may have a date associated with it.
The data comes from a variety of sources: irlo, RFC issues, RFC PRs, RFCs, tracking issues, the in-tree featureck, crates.io.
So we need to scrape lots of stuff to try to associate feature names with pipeline stages and dates. Also likely want a short description, all the links, other goodies.
We might put them in a list, ordered by "progress", where each line contains a the feature name, description, most relevant link, and a bar indicating the progress as richly as the data allows.
As extensions we might also:

indicate who is assigned to it (with avatar)
indicate links/dislikes
indicate scheduled release number
indicate 'hot' features - features on the official roadmap that don't have accepted RFCs
show lib/library/tools/etc distinction
show the number of times the feature is used by crates.io

The data:

RFCs/RFC PRs. Feature names and descriptions, PR numbers, tracking issue numbers, final-comment-period tag
Tracking issues : B-RFC-approved tag, descriptions, final-comment-period tag. scape the link to the RFC and get the feature name there.
rust-lang/rust tree: featureck collects information including the version stabilized, lang/lib distinction
irlo pre-RFCs: Haven't thought about it. Not critical

Off the top of my head, TODO:

[ ] Database migration to add a "repository_fk" column to all github tables
[ ] Parameter for instantiating GitHub scraper across multiple repositories
[ ] Parameters for reporting methods to support specifiying repository
[ ] Figure out how to scrape github reactions
[ ] Clone RFC repo and scrape RFC text (some preprocessing on ingestion will be needing to make database entries machine readable -- can't do NLP/parsing on the fly every time someone hits an HTTP endpoint)
[ ] Clone rust repo and scrape featureck (perhaps one of the libsyntax-based tools could be a starting point here?)
[ ] Set up multiple-tab interface (in progress elsewhere)
[ ] Create controller + template in ember for feature dashboard
[ ] Scrape crates on crates.io and check for feature

Boilerplate: I'm going to refocus this project on rfcbot, since that's the primary usage rusty-dash.com is seeing.


CC: Tweaked

Name: CC: Tweaked
Description: adds programmable computers which can interact with the world
Mod Link: https://www.curseforge.com/minecraft/mc-mods/cc-tweaked
Also consider this mod for integration with Create:
https://www.curseforge.com/minecraft/mc-mods/cccbridge

moved to discord #pack-suggestions


Intero automatically saves buffer when flychecking, which breaks other modes.

The intero-check calls intero-save-silently to save the buffer. This leads to automatic buffer saves in the default flycheck configuration where idle-change and new-line are part of flycheck-check-syntax-automatically. This automatic saving causes at least two problems:

other modes that are triggered by saves don't work correctly. E.g., this breaks GitGutter. Note that C-x C-s runs save-buffer which is "smart" and only saves the buffer if modified, so you can't simply do an extra C-x C-s to work around this.

you lose the visual indication of whether you have any unsaved changes or not. Not really sure why this is a big deal, but I'm used to having this feedback since forever in Emacs.

Related, closed issues: #148, #196.
Work around: put (setq flycheck-check-syntax-automatically '(mode-enabled save)) in your ~/.emacs. For larger projects, also doing (setq haskell-tags-on-save nil) is useful, since that's set by default in Intero, but isn't triggered by intero-save-silently, so you don't notice how slow it is until you disable idle Flychecking.

Hey Nathan!  Thanks for looking into the details of what's going on there.  I've also seen this mess up magit, such that after checkout, I still have the old buffer state, or something along those lines.

The file is actually saved, so you don't have any unsaved changes when using intero with flycheck.
The problematic part of the current implementation is that in order to save the buffer while editing, we need to disable save hooks, otherwise it'll run all sorts of hooks while you're working.
The underlying problem is that making a copy of the file and checking that would require file path munging in various places, but it looks like it may be the only solid solution.

Yes, big +1 for this issue -- the current implementation breaks a number of things for me, from before-save hooks (stylish, hindent) to the simple expectation that I can control when and if to save the file.
I'm happy to help with the temp-file-copying solution, because I agree that it is the only viable solution.

My pull request #248 eliminates the silent saving, and therefore this issue.


Media: Use a single worker for BlurHash generation

Feature Description

Right now, for every image for which we need to generate the blurhash, a new worker thread is created. So potentially mean dozens of threads, which just slows things down.
It would be more performant to have only 1 worker for all the blurhash generation/backfilling and pass messages back and forth, instead of creating 1 per image
At the same time it might be beneficial to use a solution like @koale/useworker, https://www.npmjs.com/package/react-hooks-worker or  https://www.npmjs.com/package/@shopify/react-web-worker (seems tricky to set up as it requires webpack changes) to make working with workers more intuitive and to make this goal easier to achieve.
Alternatives Considered

Additional Context

In earlier versions of the blurhash, I simple generated one blurhash at a time. This can be done by limiting one blurhash at time in the backfill queue. Should I push that change, it is only a couple lines of code.

That's not the goal.
Generation should still happen in parallel, just in 1 worker instead of many workers.

This was what I was discussing for the record - https://github.com/google/web-stories-wp/commit/e386b4f6fc8e197bf1742f4209f63fd1ee1ac845

Right, this is not what is meant here.
This will still generate multiple ones in parallel. Just in 1 worker thread.


Facilitate TDD of components

TDD can make the development of component faster (no need to run within a pipeline) and more robust (unit test). We can have a command that generated a generic boilerplate of a test script based on the component spec:

Generate expected input and output df (or at least the structure)
Add a placeholder for the transform method, assertion test, component definition, ... similar to this

I like this idea. I think it would be better not to have an extra command for generating test boilerplate code. Instead I would include the generation of the test code within the component boilerplate generation. By doing this the implementation of unit tests becomes somewhat mandatory.
Before we tackle this, it would probably be good to note down some guidelines for good test design. Components that apply non-ML related transformations to the dataframes are quite easy to test. Components which include the usage of ML models, loading, or writing data need more abstraction in the test design though.
In my opinion, TDD can significantly speed up development when the test design is not too complicated and the tests can be executed fast locally and in the cicd pipeline. I think, we should propose which parts of the component we are going to mock. In general, I would suggest mocking the output of machine learning models to ensure a fast test execution.
Mocking of specific services adds some complexity which we can't cover in the boilerplate generation I guess.
We already had first discussions about general component test design some weeks ago here #301


closure argument to Easy::write_function() should not need Send bound

(As mentioned here: https://github.com/tokio-rs/tokio-curl/issues/3#issuecomment-247162572)
Is there any particular reason for this bound? My understanding is that all of the work happens on the same thread.

Yeah this is something I've been meaning to fix for awhile as it's too restrictive when using tokio-curl most of the time. The reason here is that the closures are all generics, but I don't want the Easy handle type to have a bazillion type parameters. When erasing through trait objects though I decided to have Easy itself be sendable, which forced closures to be Send.
My preference for how to fix this is something like:
struct Easy2<C> {
    // ...
}

impl<C: EasyCallbacks> Easy2<C> {
    pub fn new(callbacks: C) -> Easy2<C> {
        // ...
    }

    // copy the rest of the `Easy` API here, minus callback functions
}

trait EasyCallbacks {
    // Rust signature for each curl callback
}

That way through the use of generics this should still be quite ergonomic to use and we can plumb through whether it's Send/'static all the way to the end. I think the current Easy type can then be built on top of the Easy2 type as it'd just have an implementation of EasyCallbacks that stores a bunch of trait objects.
I haven't gotten around to implementing this just yet, unfortunately though.


[Android Support] Revive the connectedTests

The android connectedTest have been skipped for some time now.
I'm trying to revive them. They are mainly about the SQLite helper. There were also a couple of checks for ApolloCallback that were not compiling anymore and that I removed. We could certainly deprecate and remove ApolloCallback now that we have RxJava2 and Coroutines extensions. I don't think a lot of users would rely on this.

Tests passed \o/

they could be converted to use Robolectric too.

Yep, I was thinking about that but it looks like SQLiteOpenHelper is not provided by Roboelectric. Maybe if we move everything to androidx but not sure...

androix.sqlite group is supposed to work well with Robolectric.

Great. I created an issue to move to androidx: https://github.com/apollographql/apollo-android/issues/1793


Release/0.2.0

Codecov Report

Merging #40 (35dce23) into main (edb0f1f) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main       #40   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           31        31
  Lines          791       804   +13
=========================================
+ Hits           791       804   +13

Impacted Files
Coverage Δ

pfhedge/instruments/_base.py
100.00% <100.00%> (ø)

pfhedge/instruments/american_binary.py
100.00% <100.00%> (ø)

pfhedge/instruments/european.py
100.00% <100.00%> (ø)

pfhedge/instruments/european_binary.py
100.00% <100.00%> (ø)

pfhedge/instruments/lookback.py
100.00% <100.00%> (ø)

pfhedge/instruments/underlier.py
100.00% <100.00%> (ø)

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 edb0f1f...35dce23. Read the comment docs.


Fixing issue #804 Improving delete command to list affected children

What is the purpose of this change? What does it change?
This PR works to make delete more informative, listing affected children before deletion.
Was the change discussed in an issue?
fixes #804

How to test changes?
Will list as the PR progresses, for now
$ odo component delete nodejs-ex-nodejs-npik
 URL  nodejs-ex-nodejs-npik-8080 ,  nodejs-ex-nodejs-npik-8080-nodejs-ex-qxcx-myproject.<IP_ADDRESS>.nip.io will be removed
Are you sure you want to delete nodejs-ex-nodejs-npik from nodejs-ex-qxcx? [y/N]: n
Aborting deletion of component: nodejs-ex-nodejs-npik

:white_check_mark: odo build 1572 completed and artifacts can be found here (for commit https://github.com/redhat-developer/odo/commit/bebf709b67 by @mohammedzee1000)

Should i list for project as well, seems like a moot point as everything in the project will be deleted, maybe just list apps in this case?

:white_check_mark: odo build 1573 completed and artifacts can be found here (for commit https://github.com/redhat-developer/odo/commit/5aa28a6e9d by @mohammedzee1000)

Output so far :
$ odo project delete myproject
application  nodejs-ex-qxcx  will be deleted

Are you sure you want to delete project myproject? [y/N]: n
 ✗  Aborting deletion of project: myproject

$ odo application delete nodejs-ex-qxcx
Component nodejs-ex-nodejs-npik will be deleted.

 URL  nodejs-ex-nodejs-npik-8080 ,  nodejs-ex-nodejs-npik-8080-nodejs-ex-qxcx-myproject.<IP_ADDRESS>.nip.io will be removed
Are you sure you want to delete the application: nodejs-ex-qxcx from project: myproject? [y/N]: n
Aborting deletion of application: nodejs-ex-qxcx

$ odo component delete nodejs-ex-nodejs-npik
 URL  nodejs-ex-nodejs-npik-8080 ,  nodejs-ex-nodejs-npik-8080-nodejs-ex-qxcx-myproject.<IP_ADDRESS>.nip.io will be removed

Are you sure you want to delete nodejs-ex-nodejs-npik from nodejs-ex-qxcx? [y/N]: n
Aborting deletion of component: nodejs-ex-nodejs-npik

:white_check_mark: odo build 1575 completed and artifacts can be found here (for commit https://github.com/redhat-developer/odo/commit/0ef8b6b892 by @mohammedzee1000)

:white_check_mark: odo build 1584 completed and artifacts can be found here (for commit https://github.com/redhat-developer/odo/commit/be6ef2a816 by @mohammedzee1000)

:white_check_mark: odo build 1597 completed and artifacts can be found here (for commit https://github.com/redhat-developer/odo/commit/6ae9ff22c4 by @)

:white_check_mark: odo build 1602 completed and artifacts can be found here (for commit https://github.com/redhat-developer/odo/commit/dff57d4299 by @mohammedzee1000)

Output Now:
$ odo project delete myproject
This project contains the following applications, which will be deleted

 Application  nodejs-ex-irze

  This application has following components that will be deleted

  component named  nodejs-ex-nodejs-fsfx

    The component has following urls that will be deleted with component

     URL named  nodejs-ex-nodejs-fsfx-8080  with value  nodejs-ex-nodejs-fsfx-8080-nodejs-ex-irze-myproject.<IP_ADDRESS>.nip.io

 Application  test

Are you sure you want to delete project myproject? [y/N]: n
 ✗  Aborting deletion of project: myproject

$ odo app delete nodejs-ex-irze
This application has following components that will be deleted

 component named  nodejs-ex-nodejs-fsfx

  The component has following urls that will be deleted with component

   URL named  nodejs-ex-nodejs-fsfx-8080  with value  nodejs-ex-nodejs-fsfx-8080-nodejs-ex-irze-myproject.<IP_ADDRESS>.nip.io

Are you sure you want to delete the application: nodejs-ex-irze from project: myproject? [y/N]: n
 ✗  Aborting deletion of application: nodejs-ex-irze

$ odo component delete nodejs-ex-nodejs-fsfx
The component has following urls that will be deleted with component

 URL named  nodejs-ex-nodejs-fsfx-8080  with value  nodejs-ex-nodejs-fsfx-8080-nodejs-ex-irze-myproject.<IP_ADDRESS>.nip.io

Are you sure you want to delete nodejs-ex-nodejs-fsfx from nodejs-ex-irze? [y/N]: n
 ✗  Aborting deletion of component: nodejs-ex-nodejs-fsfx

@anmolbabu @kadel PTAL

:white_check_mark: odo build 1619 completed and artifacts can be found here (for commit https://github.com/redhat-developer/odo/commit/beef4c3c43 by @mohammedzee1000)

:white_check_mark: odo build 1621 completed and artifacts can be found here (for commit https://github.com/redhat-developer/odo/commit/37b6b12c91 by @mohammedzee1000)

:white_check_mark: odo build 1657 completed and artifacts can be found here (for commit https://github.com/redhat-developer/odo/commit/1cdee291a7 by @mohammedzee1000)

:white_check_mark: odo build 1717 completed and artifacts can be found here (for commit https://github.com/redhat-developer/odo/commit/ea4fe2d3bc by @mohammedzee1000)

:white_check_mark: odo build 1733 completed and artifacts can be found here (for commit https://github.com/redhat-developer/odo/commit/5a868293ff by @mohammedzee1000)

:white_check_mark: odo build 1736 completed and artifacts can be found here (for commit https://github.com/redhat-developer/odo/commit/2dcd881a26 by @mohammedzee1000)

:white_check_mark: odo build 1737 completed and artifacts can be found here (for commit https://github.com/redhat-developer/odo/commit/f428627572 by @mohammedzee1000)

@mohammedzee1000 is this still in progress?

@kadel im pushing the tests in a few minutes, otherwise its done

:white_check_mark: odo build 1762 completed and artifacts can be found here (for commit https://github.com/redhat-developer/odo/commit/9ad1bedd14 by @mohammedzee1000)

:white_check_mark: odo build 1767 completed and artifacts can be found here (for commit https://github.com/redhat-developer/odo/commit/be94077ecd by @mohammedzee1000)

:white_check_mark: odo build 1772 completed and artifacts can be found here (for commit https://github.com/redhat-developer/odo/commit/ea6c0c5ecd by @mohammedzee1000)

:white_check_mark: odo build 1780 completed and artifacts can be found here (for commit https://github.com/redhat-developer/odo/commit/2c18de1649 by @mohammedzee1000)

:white_check_mark: odo build 1782 completed and artifacts can be found here (for commit https://github.com/redhat-developer/odo/commit/fbe5d61f71 by @mohammedzee1000)

:white_check_mark: odo build 1783 completed and artifacts can be found here (for commit https://github.com/redhat-developer/odo/commit/ef110d2d3d by @mohammedzee1000)

I'm unable to delete app if my cluster doesn't have ServiceCatalog deployed
▶ odo app delete
This application has following components that will be deleted

 component named  nodejs-ex-nodejs-fcop

 ✗  the server could not find the requested resource (get serviceinstances.servicecatalog.k8s.io)

This should be fixed now
$ odo app delete
This application has following components that will be deleted

 component named  odo-nodejs-orbh

  The component has following routes, which will be removed

  This component has following urls that will be deleted with component

   URL named  testu  with value  testu-odo-sihe-testp.<IP_ADDRESS>.nip.io

No services / could not get services

? Are you sure you want to delete the application: odo-sihe from project: testp No
 ✗  Aborting deletion of application: odo-sihe

$ odo app delete -v 4

...
No services / could not get services

I0227 20:09:48.377844   22660 application.go:119] unable to list services: unable to list ServiceInstances: serviceinstances.servicecatalog.k8s.io is forbidden: User "test" cannot list serviceinstances.servicecatalog.k8s.io in the namespace "testp": no RBAC policy matched
?  But this PR code does does touch the link e2e test

:white_check_mark: odo build 1817 completed and artifacts can be found here (for commit https://github.com/redhat-developer/odo/commit/b179a70882 by @mohammedzee1000)

Strange i have not touched the link e2e tests. How are they failing here

Strange i have not touched the link e2e tests. How are they failing here

PR that modifies odo describe output was recently merged, if you rebase your PR with current master it should fix the issue

Strange i have not touched the link e2e tests.


Error while creating a new Klive project

Klive Version:  v0.11.0
Platform: Windows 11
Description: When creating a new project on a fresh installation of Klive I get the following error message Cannot create Klive project in 'D:\Source\ZXN\Klive\app' (TypeError: Cannot read properties of null (reading 'ide')).

@taylorza, Thanks for reporting this issue. The community has already notified me about similar issues, and a few days ago, I created a fix for that. You can download the private build from here: https://1drv.ms/u/s!AqpbKz19ddp5orktBt4VacYmpUQjnA?e=2ewuEW
Please check if you still experience the issue!

@Dotneteer, thanks I just installed it and I am able to create a new project.


Failed to set up development environment

Hi I encountered a problem in setting up my local development environment which @jordibuj was helping me with on Telegram, but documenting it here to capture my problem in a better place.
The problem I have is that when I clone the repo and try to set up a development environment (which I'm defining as being able to run the test suite successfully) - the test suite fails with a cryptic error when trying to run applications.spec.js.
System configuration

Variable
Value

OS
Ubuntu 18.04.3 LTS

Node version
v8.16.1

Yarn version
1.17.3

Android studio installed
false

Xcode installed
false

Steps to reproduce

Clone the repo locally and change into the project directory
Install node dependencies by running yarn install
Copy the .env.sample file in the project root to a file named .env
Insert the following text into the .env file:STORAGE_KEY=48656c6c6f20576f726c6421
SENTRY_DSN=http://sentry.io

Run the tests by executing yarn test

When I follow the above steps I see the following error output:
yarn run v1.17.3
$ eslint . && jest
PASS __tests__/migrations.spec.js
FAIL __tests__/attributes.spec.js
  ● Attribute tests › Add attribute

    Array contains invalid value: 15,NaN

      47 |   const buffer = [];
      48 |   const iv = uuid(null, buffer);
    > 49 |   const aesCbc = new aesjs.ModeOfOperation.cbc(key, iv);
         |                  ^
      50 |   const encryptedBytes = aesCbc.encrypt(paddedBytes);
      51 |   const encryptedHex = aesjs.utils.hex.fromBytes([...iv, ...encryptedBytes]);
      52 |   return encryptedHex;

      at coerceArray (node_modules/aes-js/index.js:40:23)
      at new coerceArray (node_modules/aes-js/index.js:195:20)
      at new ModeOfOperationCBC (node_modules/aes-js/index.js:444:21)
      at encrypt (src/lib/utils.js:49:18)
      at _default (src/redux/modules/attributes.js:158:15)
      at Object.<anonymous> (__tests__/attributes.spec.js:45:21)

  ● Attribute tests › Encrypt

    Array contains invalid value: 15,NaN

      47 |   const buffer = [];
      48 |   const iv = uuid(null, buffer);
    > 49 |   const aesCbc = new aesjs.ModeOfOperation.cbc(key, iv);
         |                  ^
      50 |   const encryptedBytes = aesCbc.encrypt(paddedBytes);
      51 |   const encryptedHex = aesjs.utils.hex.fromBytes([...iv, ...encryptedBytes]);
      52 |   return encryptedHex;

      at coerceArray (node_modules/aes-js/index.js:40:23)
      at new coerceArray (node_modules/aes-js/index.js:195:20)
      at new ModeOfOperationCBC (node_modules/aes-js/index.js:444:21)
      at encrypt (src/lib/utils.js:49:18)
      at Object.<anonymous> (__tests__/attributes.spec.js:51:20)

  ● Attribute tests › Change attribute

    Array contains invalid value: 15,NaN

      47 |   const buffer = [];
      48 |   const iv = uuid(null, buffer);
    > 49 |   const aesCbc = new aesjs.ModeOfOperation.cbc(key, iv);
         |                  ^
      50 |   const encryptedBytes = aesCbc.encrypt(paddedBytes);
      51 |   const encryptedHex = aesjs.utils.hex.fromBytes([...iv, ...encryptedBytes]);
      52 |   return encryptedHex;

      at coerceArray (node_modules/aes-js/index.js:40:23)
      at new coerceArray (node_modules/aes-js/index.js:195:20)
      at new ModeOfOperationCBC (node_modules/aes-js/index.js:444:21)
      at encrypt (src/lib/utils.js:49:18)
      at Object.<anonymous> (__tests__/attributes.spec.js:62:19)

  ● Attribute tests › Change attribute and getAllAttributes

    Array contains invalid value: 15,NaN

      47 |   const buffer = [];
      48 |   const iv = uuid(null, buffer);
    > 49 |   const aesCbc = new aesjs.ModeOfOperation.cbc(key, iv);
         |                  ^
      50 |   const encryptedBytes = aesCbc.encrypt(paddedBytes);
      51 |   const encryptedHex = aesjs.utils.hex.fromBytes([...iv, ...encryptedBytes]);
      52 |   return encryptedHex;

      at coerceArray (node_modules/aes-js/index.js:40:23)
      at new coerceArray (node_modules/aes-js/index.js:195:20)
      at new ModeOfOperationCBC (node_modules/aes-js/index.js:444:21)
      at encrypt (src/lib/utils.js:49:18)
      at Object.<anonymous> (__tests__/attributes.spec.js:72:17)

  ● Attribute tests › Add another attribute

    Array contains invalid value: 15,NaN

      47 |   const buffer = [];
      48 |   const iv = uuid(null, buffer);
    > 49 |   const aesCbc = new aesjs.ModeOfOperation.cbc(key, iv);
         |                  ^
      50 |   const encryptedBytes = aesCbc.encrypt(paddedBytes);
      51 |   const encryptedHex = aesjs.utils.hex.fromBytes([...iv, ...encryptedBytes]);
      52 |   return encryptedHex;

      at coerceArray (node_modules/aes-js/index.js:40:23)
      at new coerceArray (node_modules/aes-js/index.js:195:20)
      at new ModeOfOperationCBC (node_modules/aes-js/index.js:444:21)
      at encrypt (src/lib/utils.js:49:18)
      at Object.<anonymous> (__tests__/attributes.spec.js:81:17)

  ● Attribute tests › Attribute selector

    Array contains invalid value: 15,NaN

      47 |   const buffer = [];
      48 |   const iv = uuid(null, buffer);
    > 49 |   const aesCbc = new aesjs.ModeOfOperation.cbc(key, iv);
         |                  ^
      50 |   const encryptedBytes = aesCbc.encrypt(paddedBytes);
      51 |   const encryptedHex = aesjs.utils.hex.fromBytes([...iv, ...encryptedBytes]);
      52 |   return encryptedHex;

      at coerceArray (node_modules/aes-js/index.js:40:23)
      at new coerceArray (node_modules/aes-js/index.js:195:20)
      at new ModeOfOperationCBC (node_modules/aes-js/index.js:444:21)
      at encrypt (src/lib/utils.js:49:18)
      at Object.<anonymous> (__tests__/attributes.spec.js:97:17)

  ● Attribute tests › All attributes selector

    Array contains invalid value: 15,NaN

      47 |   const buffer = [];
      48 |   const iv = uuid(null, buffer);
    > 49 |   const aesCbc = new aesjs.ModeOfOperation.cbc(key, iv);
         |                  ^
      50 |   const encryptedBytes = aesCbc.encrypt(paddedBytes);
      51 |   const encryptedHex = aesjs.utils.hex.fromBytes([...iv, ...encryptedBytes]);
      52 |   return encryptedHex;

      at coerceArray (node_modules/aes-js/index.js:40:23)
      at new coerceArray (node_modules/aes-js/index.js:195:20)
      at new ModeOfOperationCBC (node_modules/aes-js/index.js:444:21)
      at encrypt (src/lib/utils.js:49:18)
      at Object.<anonymous> (__tests__/attributes.spec.js:105:17)

  ● Attribute tests › All attribute names

    Array contains invalid value: 15,NaN

      47 |   const buffer = [];
      48 |   const iv = uuid(null, buffer);
    > 49 |   const aesCbc = new aesjs.ModeOfOperation.cbc(key, iv);
         |                  ^
      50 |   const encryptedBytes = aesCbc.encrypt(paddedBytes);
      51 |   const encryptedHex = aesjs.utils.hex.fromBytes([...iv, ...encryptedBytes]);
      52 |   return encryptedHex;

      at coerceArray (node_modules/aes-js/index.js:40:23)
      at new coerceArray (node_modules/aes-js/index.js:195:20)
      at new ModeOfOperationCBC (node_modules/aes-js/index.js:444:21)
      at encrypt (src/lib/utils.js:49:18)
      at Object.<anonymous> (__tests__/attributes.spec.js:128:17)

  ● Attribute tests › Filter atlas attributes

    Array contains invalid value: 15,NaN

      47 |   const buffer = [];
      48 |   const iv = uuid(null, buffer);
    > 49 |   const aesCbc = new aesjs.ModeOfOperation.cbc(key, iv);
         |                  ^
      50 |   const encryptedBytes = aesCbc.encrypt(paddedBytes);
      51 |   const encryptedHex = aesjs.utils.hex.fromBytes([...iv, ...encryptedBytes]);
      52 |   return encryptedHex;

      at coerceArray (node_modules/aes-js/index.js:40:23)
      at new coerceArray (node_modules/aes-js/index.js:195:20)
      at new ModeOfOperationCBC (node_modules/aes-js/index.js:444:21)
      at encrypt (src/lib/utils.js:49:18)
      at Object.<anonymous> (__tests__/attributes.spec.js:137:17)

  ● Attribute tests › Filter atlas attributes - all

    Array contains invalid value: 15,NaN

      47 |   const buffer = [];
      48 |   const iv = uuid(null, buffer);
    > 49 |   const aesCbc = new aesjs.ModeOfOperation.cbc(key, iv);
         |                  ^
      50 |   const encryptedBytes = aesCbc.encrypt(paddedBytes);
      51 |   const encryptedHex = aesjs.utils.hex.fromBytes([...iv, ...encryptedBytes]);
      52 |   return encryptedHex;

      at coerceArray (node_modules/aes-js/index.js:40:23)
      at new coerceArray (node_modules/aes-js/index.js:195:20)
      at new ModeOfOperationCBC (node_modules/aes-js/index.js:444:21)
      at encrypt (src/lib/utils.js:49:18)
      at Object.<anonymous> (__tests__/attributes.spec.js:146:17)

  ● Attribute tests › Delete attribute

    Array contains invalid value: 15,NaN

      47 |   const buffer = [];
      48 |   const iv = uuid(null, buffer);
    > 49 |   const aesCbc = new aesjs.ModeOfOperation.cbc(key, iv);
         |                  ^
      50 |   const encryptedBytes = aesCbc.encrypt(paddedBytes);
      51 |   const encryptedHex = aesjs.utils.hex.fromBytes([...iv, ...encryptedBytes]);
      52 |   return encryptedHex;

      at coerceArray (node_modules/aes-js/index.js:40:23)
      at new coerceArray (node_modules/aes-js/index.js:195:20)
      at new ModeOfOperationCBC (node_modules/aes-js/index.js:444:21)
      at encrypt (src/lib/utils.js:49:18)
      at Object.<anonymous> (__tests__/attributes.spec.js:163:17)

  ● Attribute tests › Delete attribute - empty

    Array contains invalid value: 15,NaN

      47 |   const buffer = [];
      48 |   const iv = uuid(null, buffer);
    > 49 |   const aesCbc = new aesjs.ModeOfOperation.cbc(key, iv);
         |                  ^
      50 |   const encryptedBytes = aesCbc.encrypt(paddedBytes);
      51 |   const encryptedHex = aesjs.utils.hex.fromBytes([...iv, ...encryptedBytes]);
      52 |   return encryptedHex;

      at coerceArray (node_modules/aes-js/index.js:40:23)
      at new coerceArray (node_modules/aes-js/index.js:195:20)
      at new ModeOfOperationCBC (node_modules/aes-js/index.js:444:21)
      at encrypt (src/lib/utils.js:49:18)
      at Object.<anonymous> (__tests__/attributes.spec.js:178:22)

  ● Attribute tests › Get application shared attributes - age

    Array contains invalid value: 15,NaN

      47 |   const buffer = [];
      48 |   const iv = uuid(null, buffer);
    > 49 |   const aesCbc = new aesjs.ModeOfOperation.cbc(key, iv);
         |                  ^
      50 |   const encryptedBytes = aesCbc.encrypt(paddedBytes);
      51 |   const encryptedHex = aesjs.utils.hex.fromBytes([...iv, ...encryptedBytes]);
      52 |   return encryptedHex;

      at coerceArray (node_modules/aes-js/index.js:40:23)
      at new coerceArray (node_modules/aes-js/index.js:195:20)
      at new ModeOfOperationCBC (node_modules/aes-js/index.js:444:21)
      at encrypt (src/lib/utils.js:49:18)
      at Object.<anonymous> (__tests__/attributes.spec.js:198:17)

  ● Attribute tests › Get application shared attributes - age range

    Array contains invalid value: 15,NaN

      47 |   const buffer = [];
      48 |   const iv = uuid(null, buffer);
    > 49 |   const aesCbc = new aesjs.ModeOfOperation.cbc(key, iv);
         |                  ^
      50 |   const encryptedBytes = aesCbc.encrypt(paddedBytes);
      51 |   const encryptedHex = aesjs.utils.hex.fromBytes([...iv, ...encryptedBytes]);
      52 |   return encryptedHex;

      at coerceArray (node_modules/aes-js/index.js:40:23)
      at new coerceArray (node_modules/aes-js/index.js:195:20)
      at new ModeOfOperationCBC (node_modules/aes-js/index.js:444:21)
      at encrypt (src/lib/utils.js:49:18)
      at Object.<anonymous> (__tests__/attributes.spec.js:237:17)

PASS __tests__/root.spec.js
FAIL __tests__/applications.spec.js
  ● Application tests › Get shared attributes - sort

    Array contains invalid value: 15,NaN

      47 |   const buffer = [];
      48 |   const iv = uuid(null, buffer);
    > 49 |   const aesCbc = new aesjs.ModeOfOperation.cbc(key, iv);
         |                  ^
      50 |   const encryptedBytes = aesCbc.encrypt(paddedBytes);
      51 |   const encryptedHex = aesjs.utils.hex.fromBytes([...iv, ...encryptedBytes]);
      52 |   return encryptedHex;

      at coerceArray (node_modules/aes-js/index.js:40:23)
      at new coerceArray (node_modules/aes-js/index.js:195:20)
      at new ModeOfOperationCBC (node_modules/aes-js/index.js:444:21)
      at encrypt (src/lib/utils.js:49:18)
      at Object.<anonymous> (__tests__/applications.spec.js:350:22)

PASS __tests__/walkthrough.spec.js

Test Suites: 2 failed, 3 passed, 5 total
Tests:       15 failed, 24 passed, 39 total
Snapshots:   0 total
Time:        2.58s
Ran all test suites.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

I think this has been resolved with some updates to the README. The crucial additions need to be:

The hex string used for testing must be the correct length (16, 24 or 32 bytes).
If you have once run the test suite with an invalid .env file, then you must clear jest's cache after changing it with the following command: yarn test --clearCache


Android / IOS Support

How can we use these stream events over the native android/ios client apps?
For Meteor I'm using native DDP android.

@rodrigok do you've any idea, how it can be utlized in and android app, Do I need to create a method call or something like pub sub?


ViewModel is undefined.

This is with a default setup.
Potentially unhandled rejection [1] TypeError: undefined is not a function
    at /Users/justin/dev/bitballs/public/node_modules/can-ssr/lib/index.js:25:16
    at tryCatchReject (/Users/justin/dev/bitballs/public/node_modules/steal/node_modules/systemjs/node_modules/es6-module-loader/dist/es6-module-loader.src.js:1183:30)

This might be a problem with the generator.  My main was "main": "main.js",

At a minimum, we should give a better error message if the right thing is not loaded.

This still seems to be a problem.  I can confirm that autorender is an instance of a render function after I changed my main to:
"main": "index.stache!done-autorender",

However, it does not have a viewModel property.
My template has:
<can-import from="./app" [.]="{value}" />

properly.

If I look at System.main  it looks like index.stache! which is weird.

Yarg, I had:
var render = require("can-ssr")({
	config: __dirname + "/package.json!npm",
	main: "index.stache!"
});

dumb.

Removing main, I get:
Potentially unhandled rejection [1] TypeError: Cannot call method 'split' of undefined
    at Object.utils.moduleName.parse (evalmachine.<anonymous>:85:33)
    at Object.utils.moduleName.parseFromPackage (evalmachine.<anonymous>:138:44)
    at Loader.System.normalize (evalmachine.<anonymous>:39:43)
    at Loader.import (/Users/justin/dev/bitballs/public/node_modules/steal/node_modules/systemjs/node_modules/es6-module-loader/dist/es6-module-loader.src.js:2291:40)
    at Loader.loader.import (/Users/justin/dev/bitballs/public/node_modules/steal/node_modules/systemjs/dist/system.src.js:103:25)

So, it seems we should be loading the config main instead of just importing the main module?  The following doesn't seem right.  It should look more like what steal / steal-tools do to kick stuff off.
var startup = steal.import(loader.main).then(function(autorender){
		return autorender.importPromise || Promise.resolve(autorender);
	});

The example on this repo's index.md won't work right?  Because it just shows .stache!.

changing it to
var render = require("can-ssr")({
	config: __dirname + "/package.json!npm",
	main: "bitballs/index.stache!done-autorender"
});

has not fixed it.

The problem now seems to be that ./styles.less! is imported.  I think you added something to make relative paths work.  Is it possible that the generators are not matching the version of canjs that supports this?

We should run steal.startup() instead of steal.import(loader.main).  This would make all configuration optional.
I added an error here for when a viewModel is not provided.


zarf: 0.32.2 -> 0.32.4

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/defenseunicorns/zarf/releases.
meta.description for zarf is: DevSecOps for Air Gap & Limited-Connection Systems. https://zarf.dev
meta.homepage for zarf is: https://github.com/defenseunicorns/zarf.git
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.32.3 with grep in /nix/store/8wzxjh60v5qhzd97l490dns1zv7nmrd1-zarf-0.32.3
found 0.32.3 in filename of file in /nix/store/8wzxjh60v5qhzd97l490dns1zv7nmrd1-zarf-0.32.3

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
zarf

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/8wzxjh60v5qhzd97l490dns1zv7nmrd1-zarf-0.32.3 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A zarf https://github.com/r-ryantm/nixpkgs/archive/3392e284e4e033402607b6c6bf87cb925813b71b.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/3392e284e4e033402607b6c6bf87cb925813b71b#zarf

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/8wzxjh60v5qhzd97l490dns1zv7nmrd1-zarf-0.32.3
ls -la /nix/store/8wzxjh60v5qhzd97l490dns1zv7nmrd1-zarf-0.32.3/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

zarf

Maintainer pings
cc @ragingpastry for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/defenseunicorns/zarf/releases.
meta.description for zarf is: DevSecOps for Air Gap & Limited-Connection Systems. https://zarf.dev
meta.homepage for zarf is: https://github.com/defenseunicorns/zarf.git
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.32.4 with grep in /nix/store/gi2k6mcwyrymiw3vfhz4hk1dr278v21h-zarf-0.32.4
found 0.32.4 in filename of file in /nix/store/gi2k6mcwyrymiw3vfhz4hk1dr278v21h-zarf-0.32.4

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
zarf

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/gi2k6mcwyrymiw3vfhz4hk1dr278v21h-zarf-0.32.4 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A zarf https://github.com/r-ryantm/nixpkgs/archive/c9bb159a0fcce1ce6aa73aea5cf12df7f28c55d2.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/c9bb159a0fcce1ce6aa73aea5cf12df7f28c55d2#zarf

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/gi2k6mcwyrymiw3vfhz4hk1dr278v21h-zarf-0.32.4
ls -la /nix/store/gi2k6mcwyrymiw3vfhz4hk1dr278v21h-zarf-0.32.4/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

1 package built:

zarf

Maintainer pings
cc @ragingpastry for testing.


Celery Health Check, "TimeoutError: The task took too long to return a result"

Hello,
we use django health check with celery and redis as a broker. We randomly get an exception "TimeoutError: The task took too long to return a result". We get this error like twice a day.
Is the default timeout for the task to return a result 3 seconds?
Does the error indicate there is possibly a jam in the celery queue?
Thanks

This is triggering a lot of false alarms for us too


libjingle_peerconnection build error

Hello,
this is the error am getting on Android.
Error:Execution failed for task ':react-native-webrtc:transformNative_libsWithSyncJniLibsForRelease'.
> java.io.FileNotFoundException: /Users/test/Documents/jitsi-meet/node_modules/react-native-webrtc/android/build/intermediates/bundles/release/jni/lib/x86_64/libjingle_peerconnection_so.so (No such file or directory)

how to fix this ?

This seems a gradle issue.
please upgrade your gradle plugin in your build.gradle like com.android.tools.build:gradle:2.2.0
see:
https://github.com/oney/react-native-webrtc/issues/149#issuecomment-255791200


Using sidecars is very limited

See https://github.com/opendevstack/ods-pipeline/issues/135.
Proposal: https://github.com/opendevstack/ods-pipeline/pull/404

Closing as #404 allows to specify sidecars via the Helm templates.


[image_picker] Example - ios - missing fetch UIBackgroundMode

Steps to Reproduce

Start example app on ios
Look at the console: You've implemented -[ application:performFetchWithCompletionHandler:], but you still need to add "fetch" to the list of your supported UIBackgroundModes in your Info.plist.

Logs

Analyzing example...
No issues found! (ran in 6.7s)

[✓] Flutter (Channel dev, v1.4.8, on Mac OS X 10.14.4 18E226, locale en-RS)
    • Flutter version 1.4.8 at /Users/boskopopovic/Desktop/work/Flutter/flutter
    • Framework revision fbefd6b816 (4 days ago), 2019-04-01 10:58:30 -0700
    • Engine revision a850016454
    • Dart version 2.2.1 (build 2.2.1-dev.2.1 None)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/boskopopovic/Library/Developer/Xamarin/android-sdk-macosx
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • ANDROID_HOME = /Users/boskopopovic/Library/Developer/Xamarin/android-sdk-macosx
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 10.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.2, Build version 10E125
    • ios-deploy 1.9.4
    • CocoaPods version 1.5.3

[✓] Android Studio (version 3.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 34.0.1
    • Dart plugin version 182.5215
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)

[✓] VS Code (version 1.32.3)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 2.22.1

[✓] Connected device (1 available)
    • Bosko's iPhone • 38e73f2676723efb3bc8a7094dd3fd5494c345e8 • ios • iOS 9.3.5

• No issues found!

@boskokg
Verified this issue using latest image_picker plugin repo on latest stable, but didn't see the [ application:performFetchWithCompletionHandler:] in the AS and Xcode console.

 Android Studio console log
Running Xcode build...
Xcode build done.                                           18.7s
Installing and launching...
Waiting for Darshan's iphone to report its views...
Debug service listening on ws://localhost:55592/ws
Syncing files to device Darshan's iphone...

 Xcode console log
021-02-09 17:16:56.913463+0530 Runner[3144:893456] Metal API Validation Enabled
2021-02-09 17:16:57.190559+0530 Runner[3144:893677] flutter: Observatory listening on http://<IP_ADDRESS>:61626/m9MBz0Otlgg=/
2021-02-09 17:16:57.703822+0530 Runner[3144:893456] [VERBOSE-2:FlutterObservatoryPublisher.mm(155)] Could not register as server for FlutterObservatoryPublisher, permission denied. Check your 'Local Network' permissions for this app in the Privacy section of the system Settings.
2021-02-09 17:17:52.534693+0530 Runner[3144:893456] [Camera] Failed to read exposureBiasesByMode dictionary: Error Domain=NSCocoaErrorDomain Code=4864 "*** -[NSKeyedUnarchiver _initForReadingFromData:error:throwLegacyExceptions:]: data is NULL" UserInfo={NSDebugDescription=*** -[NSKeyedUnarchiver _initForReadingFromData:error:throwLegacyExceptions:]: data is NULL}
2021-02-09 17:17:58.244235+0530 Runner[3144:893456] [Runner] findWriterForTypeAndAlternateType:119: unsupported file format 'public.heic'
2021-02-09 17:18:21.753168+0530 Runner[3144:893456] [Camera] Failed to read exposureBiasesByMode dictionary: Error Domain=NSCocoaErrorDomain Code=4864 "*** -[NSKeyedUnarchiver _initForReadingFromData:error:throwLegacyExceptions:]: data is NULL" UserInfo={NSDebugDescription=*** -[NSKeyedUnarchiver _initForReadingFromData:error:throwLegacyExceptions:]: data is NULL}

Do you feel this is still a valid issue using latest plugin version ?

 flutter doctor -v
[✓] Flutter (Channel stable, 1.22.6, on Mac OS X 10.15.4 19E2269 darwin-x64,
    locale en-IN)
    • Flutter version 1.22.6 at /Users/dhs/documents/Fluttersdk/flutter
    • Framework revision 9b2d32b605 (3 weeks ago), 2021-01-22 14:36:39 -0800
    • Engine revision 2f0af37152
    • Dart version 2.10.5

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
    • Android SDK at /Users/dhs/Library/Android/sdk
    • Platform android-30, build-tools 30.0.0
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.9.3

[!] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.18.1

[✓] Connected device (2 available)
    • sdk gphone x86 arm (mobile) • emulator-5554                            •
      android-x86 • Android 11 (API 30) (emulator)
    • Darshan's iphone (mobile)   • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios         • iOS 14.2

! Doctor found issues in 1 category.

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


DW extension is stealing focus when using the Notebook Variable viewer to copy a variable

Testing #15419

Create IW
Run a cell that generates a DW
Using the old variable viewer open the dataframe in DW
Move the DW to the side so that we have python file, IW and DW all side by side
Go into the variable viewer and right click on the data frame variable.

For no reason the DW will steal focus and the DW panel gets displayed and the debug panel is hidden,

Given the fact that no one else has reported this bug and I'm the author of this, I'm closing this issue.


[roi] setColor do not update the plot

Sounds like from my test that the setColor from ROI object do not trigger a repaint of the plot.
As result the ROI color is updated at the next plot refresh, like a zoom in/out.

The refresh color is in fact not applied if the ROI is actually selected. If it is not, the color looks to be fine.

To reproduce:
from silx import sx
from silx.gui.plot.tools import roi
from silx.gui.plot.items import roi as roi_items

w = sx.plot()
m = roi.RegionOfInterestManager(w)
rect = roi_items.RectangleROI()
rect.setOrigin((10, 10))
rect.setSize((10, 10))
m.addRoi(rect)
m.setCurrentRoi(rect)
rect.setColor('blue')


Remove Frame Sleep() as Pico does a busy wait

Welp.... this was my bad. Thanks @mthiesen for pointing out that sleep() on the Pico does a busy wait and does not give back anything. Deep sleep is the only way to reduce power usage according to the Raspberry Pi Pico SDK.
We can remove sleep and just rely on our timers to make sure we hit polling as fast as possible.

Turns out the sleep() doesn't impact lag, and actually does return a bit of cpu back to reduce power.


Update README to point to an actively maintained morituri fork

builds on recent OS versions
fixed memory leaks: europe can be converted on a regular desktop
IDs in the pbf are properly sorted
properly converted road types

Interesting, thanks!


Nginx alpine image

Removed default site config to enable browsing from localhost address.
Closes #119

Let me know if you would rather have it as an alpine image instead of being the default, or any other thoughts you might have related to this.

@computerfr33k No problem switching to NGINX Alpine. Can you confirm this is working just fine (please test it with a fresh Laravel installation and check if you can see the welcome page)? Also could you please reference what Issues this fixes.. Thanks in advanced.

Working great on my end!
/ # cat /etc/*-release
3.3.3
NAME="Alpine Linux"
ID=alpine
VERSION_ID=3.3.3
PRETTY_NAME="Alpine Linux v3.3"
HOME_URL="http://alpinelinux.org"
BUG_REPORT_URL="http://bugs.alpinelinux.org"

I can confirm that it works with a fresh laravel project & installation.
I have also put in a fix because it wasn't actually logging to the log files when the access_log was set to "on".


How did you edit the logo?

Hi @bchiang7
I really liked your website. And was wondering to make one of my own.
But i'm stuck with the logo.
I tried to edit the logo in figma, made a vector, copied as svg
but the rendering doesn't work
the letter goes to top-left like this

How can i fix this?

and how did you optimize the images?
is it by default or do we have to do it on our own?

Not sure if it is the best way to do it. Try adding auto layout on the letter then adjust the padding according to your need

@backermanbd have you been able to edit it if not I can put you through how I was able to edit the logo for my personal site (https://oladapo.netlify.app/)

@backermanbd have you been able to edit it if not I can put you through how I was able to edit the logo for my personal site (https://oladapo.netlify.app/)

Hi, @backermanbd can you help me with it.

Hi, @OladapoAjala i am facing the same issue, i have very little knowledge of we development. So please me.

@backermanbd have you been able to edit it if not I can put you through how I was able to edit the logo for my personal site (https://oladapo.netlify.app/)

sorry for the late reply, yes please guide me

Hello everyone sorry I didn't reply I don't get notifications for this issue so I wouldn't know if I have a message.

Hello everyone sorry I didn't reply I don't get notifications for this issue so I wouldn't know if I have a message.
Thank you @backermanbd for sending me a mail.

would you please guide us how you edited you site logo?

Yes I'd drop a detailed response here, soonest!

Hello everyone, sorry I took sometime I was engaged.
STEPS

First off you might want to stop the site from leaving the loader page

In the src/components/layout.js file set the isLoading state to always be true

Next in src/components/loader.js, comment out the animation that blurs out the logo

The logo is an SVG file in src/components/icons/loader.js
The letter 'B' svg as an id of 'B' and you can move it to your desired location using it's transform property

Play around with the translate values to see how it affects the positioning of the letter B inside the logo.

Let me know if this helps.
PS: it's over a month I worked on this and I had to study the code again to remember what I did.

If anyone is still wondering how to make an SVG from your name initials (e.g. W for Wali)

Use Figma or Adobe Illustrator, type your name initials, and if you want to use the same font as Brittany's, make sure you get your hands on "Calibre" font family.

Export your text as an SVG. Make sure you get 'path' values for your text.

If anyone is still wondering how to make an SVG from your name initials (e.g. W for Wali)

Use Figma or Adobe Illustrator, type your name initials, and if you want to use the same font as Brittany's, make sure you get your hands on "Calibre" font family.
Export your text as an SVG. Make sure you get 'path' values for your text.
Replace the following path with your initial SVG's path:

<path
   d="M45.691667,45.15 C48.591667,46.1 50.691667,48.95 50.691667,52.2 C50.691667,57.95 46.691667,61 40.291667,61 L28.541667,61 L28.541667,30.3 L39.291667,30.3 C45.691667,30.3 49.691667,33.15 49.691667,38.65 C49.691667,41.95 47.941667,44.35 45.691667,45.15 Z M33.591667,43.2 L39.241667,43.2 C42.791667,43.2 44.691667,41.85 44.691667,38.95 C44.691667,36.05 42.791667,34.8 39.241667,34.8 L33.591667,34.8 L33.591667,43.2 Z M33.591667,47.5 L33.591667,56.5 L40.191667,56.5 C43.691667,56.5 45.591667,54.75 45.591667,52 C45.591667,49.2 43.691667,47.5 40.191667,47.5 L33.591667,47.5 Z"
   fill="currentColor"
/>

Play around with the transform="translate(11.000000, 5.000000)" values to center your initials in the Hexagon.

Hi, Please share your path for the letter 'W'

I changed the logo with the letter 'W'.  I've used Inter Bold with font size 60.
Then export it as svg and open the .svg file in VSCODE.
From there copy the content inside <path d="<COPY EVERYTHING HERE IN THESE QUOTES>"
Paste it in the src/components/icons/loader.js file in the path tag
Now your letter will be shown. Sometimes browsers cache the loading animation so do a hard refresh using Ctrl + Shift + R
The letter might be small/big. Adjust the font size in figma and bring it in again.
The surrounding hexagon might not be aligned. To align it adjust the values in translate in <g id="B" transform="translate(20.000000, 29.000000)">. This will move your letter, not the hexagon so that the loading always stays in the center

Following my svg for the letter "W"
<svg id="logo" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">
    <title>Loader Logo</title>
    <g>
      <g id="W" transform="translate(20.000000, 29.000000)">
        <path
          d="M12.6151 44L0.129261 0.363635H10.2074L17.4304 30.6832H17.7926L25.7614 0.363635H34.3906L42.3381 30.7472H42.7216L49.9446 0.363635H60.0227L47.5369 44H38.5455L30.2358 15.4702H29.8949L21.6065 44H12.6151Z"
          fill="currentColor"
        />
      </g>
      <path
        stroke="currentColor"
        strokeWidth="5"
        strokeLinecap="round"
        strokeLinejoin="round"
        d="M 50, 5
                  L 11, 27
                  L 11, 72
                  L 50, 95
                  L 89, 73
                  L 89, 28 z"
      />
    </g>
  </svg>

You can checkout my portfolio at wilfredalmeida.com/
PS: I keep trying templates so this might not always be active. Connect with me if you need more help.
Additionally I also followed these steps for some convenience.

Hello everyone, sorry I took sometime I was engaged.
STEPS

First off you might want to stop the site from leaving the loader page

In the src/components/layout.js file set the isLoading state to always be true

Next in src/components/loader.js, comment out the animation that blurs out the logo

The logo is an SVG file in src/components/icons/loader.js
The letter 'B' svg as an id of 'B' and you can move it to your desired location using it's transform property

Play around with the translate values to see how it affects the positioning of the letter B inside the logo.

Let me know if this helps.
PS: it's over a month I worked on this and I had to study the code again to remember what I did.

I have made this logo with the animation effect using pure HTML, CSS, JS You can take a look at the code https://codepen.io/moamal-2000/pen/wvYzPJg

and how to changed the code of main files

I have made this logo with the animation effect using pure HTML, CSS, JS You can take a look at the code https://codepen.io/moamal-2000/pen/wvYzPJg

and how to changed the code of main files

Apologies for my delayed response; I've just come across your message. Could you please clarify what you mean? I want to ensure I understand your query accurately.

Hey,
I have cloned your portfolio repo, at first, I have faced some logo
related issues, but I have clarified it from stack overflow and ChatGPT.
Thankyou.
On Mon, Mar 25, 2024, 12:42 PM Moamal Alaa @.***> wrote:

I have made this logo with the animation effect using pure HTML, CSS, JS
You can take a look at the code https://codepen.io/moamal-2000/pen/wvYzPJg
and how to changed the code of main files
Apologies for my delayed response; I've just come across your message.
Could you please clarify what you mean? I want to ensure I understand your
query accurately.
—
Reply to this email directly, view it on GitHub
https://github.com/bchiang7/v4/issues/160#issuecomment-2017360494, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/A5FMFLLR6NW35OCVIHWGJDTYZ7E4RAVCNFSM5DZIIGWKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBRG4ZTMMBUHE2A
.
You are receiving this because you commented.Message ID:
@.***>


(#39) Implement basic game architecture

Closes #39

Thanks @sotiredofyours, I'm able to draw level now.


3-cloud-storage/README.md is out of date

I'm working through putting together the cloud storage project, and I've found a couple spots that are incorrect in the Readme version:
Open config/application.rb, edit the below line to replace bucket with the name of your bucket:
This implies that the config line is already in there, which it isn't.  It'd be good to either put it in there. I stuck it into the Module section of the file, which seems to work.
The readme also mentions fog_credentials.example.yml, but that doesn't exist.  Does that refer to settings.yml?
As a note, when I went back and did the instructions from https://cloud.google.com/ruby/getting-started/using-cloud-storage, things went great.

Thanks for noticing! I updated the title to be a bit more specific. Yes, as you found https://cloud.google.com/ruby/getting-started/using-cloud-storage is up to date.

Moved to internal tracking list.


[beta] some "get a hint" links still broken

Some of the "get a hint" links are still not working in beta. It seems to be ones that had possibly been previously fixed by renaming the guide folder.
Here's a list of challenges with broken hint links...
node:
https://www.freecodecamp.rocks/learn/apis-and-microservices/managing-packages-with-npm/how-to-use-package.json-the-core-of-any-node.js-project-or-npm-package
D3:
https://www.freecodecamp.rocks/guide/certifications/data-visualization/data-visualization-with-d3/use-the-d3.max-and-d3.min-functions-to-find-minimum-and-maximum-values-in-a-dataset
All react lessons with a period in the title
Basically it looks like the guide folders have been renamed at some point to replace the periods with a dash, and I think a fix is to revert the folder title's to have the periods again.

@moT01 There is no reason to rename those files (the .  They should work, but you can not use Windows to test it locally, because it sees the dots and tries to serve as file.  @ValeraS fixed this issue in another PR.   I will let @ValeraS shed more light on this issue.

Quincy mentioned that as a fix on one of those issues, another one has an open PR with that as a fix, and this one merged a fix like that. That's why I thought to go that route. So, I suppose, you just redirect to the current URL instead of changing the names. Yea, that's probably a lot easier. It might make some of the links where the folder name was already changed not work.

@moT01 So I noticed you updated the body of the issue, so my first comment is irrelevant now.  If I am ready this issue correctly now, we just need to rename those two guide articles to include the dots . again and everything will be back to normal for those challenges.  If so, have you created a PR yet.  If not, I don't mind creating it.

Yea, sorry about that - I was going to make a note about that. It's all the react lessons with periods, as well. I was just testing locally to make sure it all works, and was going to make a PR. Do you think I should make changes to the folders in all languages? I would suspect the same issue occurs there.

I imagine so, but put each language changes on a separate PR if you don't mind.

Just to clarify, you are only going to be renaming guide filenames?

Yes, that's the plan if I can test it locally to make it sure it's working.
So...
https://github.com/freeCodeCamp/freeCodeCamp/tree/master/guide/english/certifications/apis-and-microservices/managing-packages-with-npm/how-to-use-package-json-the-core-of-any-node-js-project-or-npm-package
would become
https://github.com/freeCodeCamp/freeCodeCamp/tree/master/guide/english/certifications/apis-and-microservices/managing-packages-with-npm/how-to-use-package.json-the-core-of-any-node.js-project-or-npm-package

You can not use Windows to test the Hint button will properly link to any guide article which has a dot in the folder name.  I discovered this last week.  You need to test on Linux or maybe Mac.

Also, make sure to copy guide/english/certifications folder over to mock-guide/english, so your local build will have all the guide articles.

All PRs involving the fixes to this issue have now been merged, so closing this PR.


Something is wrong with the rehash test recipe

test/recipes/40-test_rehash.t tries to generate hashes of files in the build-tree directory certs/demo.  However, no such directory exists, meaning that the rehash test doesn't test so well.
With the following simple patch, the test goes BAMF:
diff --git a/test/recipes/40-test_rehash.t b/test/recipes/40-test_rehash.t
index fa05ca09f..069c8501f 100644
--- a/test/recipes/40-test_rehash.t
+++ b/test/recipes/40-test_rehash.t
@@ -64,6 +64,9 @@ sub prepare {
                                                                  'cer',
                                                                  'crl');
     my @destfiles = ();
+
+    die "There are no source files\n" if scalar @sourcefiles == 0;
+
     foreach (@sourcefiles) {
         copy($_, curdir());
         push @destfiles, catfile(curdir(), basename($_));

#2594 has been pushed, that fixes this issue...


improve Open SaaS (mobile + desktop) lighthouse page rank score

At the moment, the templates page rank score for mobile is quite bad (desktop is good!), and because that's what Google pushes for, better mobile performance gives you better ranking. So let's improve it!

Thanks to user Brahyam for bringing this to our attention

Hello @vincanger :)
Use contemporary formats like **WebP** to compress images and optimize JavaScript by dividing bundles and delaying unnecessary scripts to raise your mobile Lighthouse score. Reduce layout changes by using fixed sizes for media, improve server response by using a **CDN and caching**, and make sure responsive design is supported by the viewport meta tag. To further improve speed and usability, employ efficient caching, check network performance, and increase touch target sizes.

A user hitting this: https://discord.com/channels/686873244791210014/1289164509277327370/1289164509277327370

I'm working on this issue and will focus on improving performance and accessibility, which should also optimize the page's SEO. I'll start by enhancing tag semantics (such as adding alt text to images) and optimizing both the images and the loading/execution of client-side JavaScript.

I'm working on this issue and will focus on improving performance and accessibility, which should also optimize the page's SEO. I'll start by enhancing tag semantics (such as adding alt text to images) and optimizing both the images and the loading/execution of client-side JavaScript.

I can work on this issue. I'll focus on improving performance and accessibility, which should also optimize the page's SEO. I plan to enhance the tag semantics (such as adding alt to images) and optimize both the images and the loading/execution of JavaScript on the client side.
However, I noticed that the project uses dotenv-vault to manage environment variables, but I couldn't find any information on how to access the required credentials in the contribution documentation. Could you guide me on how to obtain the credentials or if there’s a documented process for new contributors?