Linux Discord won't launch app when "join" pressed.

For some reason some Linux users (So far, on Xubuntu and Arch Linux), Discord just outright does not launch my app when they join.
I'm constantly being told "when I click join nothing happens", from the linux playerbase.
Getting sick of these kinds of issues.

I'm not the one with the problems, so it's up to them to report. But from what I've seen most of the issues are on Arch Linux and similar distros.

Still happening. Played with a user on Ubuntu 14.04, 64-bit. Same issue as before, clicking "join" doesn't work. They have to manually launch the app after clicking "join".

The same person also sometimes sees open lobbies as "ended".
That's an interesting piece of info. What I've seen in the past is that this issue stems from a system clock being off. I don't know how direct of contact you have with the user, but could you ask if their date/time settings on their machine are correct?
I had this happen to me on a test PC a while ago and went mad from trying to debug. If your system date/time is not set properly, Discord gets real confused with the timestamps sent in the UpdateActivity() payload vs. what you've got locally.

Next time I talk to this person, and they get the issue, I'll ask.


Add copyright notices to all files

Following Microsoft CELA guidance for copyright notices across all source files.
Files borrowed from cpprest retain cpprest license (it is up to modifier if we want to add our own contribution, but we must retain the original source files license - so the cpprest header notices are taken directly from the projects github repo)

Thanks for adding the cpprest header. Also, just curious - did you use any tool to automatically add the header to all files?

Thanks @jimson-msft for adding the header to these files!


"About" dialog window is misaligned.

GUI dialogs in "About" dialog window are not formated properly when they are opened first time. On consecutive views they behave properly.

Godot 3.1 dev
Tested on Windows build.
Steps to reproduce:

Run Godot editor and open some/empty/new project
Go to menu Help->About
Click on the tabs inside, especially "Thirdparty License"

Duplicate of #18940.


Add KubernetesVersion Option

Address issue: https://github.com/rancher/rancher/issues/17826
Problem:
There's no configuration for the kubernetes version. The default version is used on cluster creation.
Solution:
Add an option to configure kubernetes version.

LGTM

LGTM

LGTM


Define the interaction with Remote Playback API

https://w3c.github.io/remote-playback/
This is an API which can cause an individual media element to play remotely. Local and remote playback are not mutually exclusive, as it could make sense to play one video locally and another remotely at the same time, either with different people watching each, or more speculatively, with the two being different parts of the same experience, playing in sync.
Key issues:

If a single media element is part of an active media session and begins playing remotely, what should happen?
If multiple media elements are in an active media session and one of them begins playing remotely, what should happen?
How the metadata used for local playback be reused for remote playback? Metadata is currently added at the session level but remote playback happens at the element level.

To me it feels that each remoted media element should belong to its own content-like media session (so one could play one video locally and one remotely or even two remotely without them depending on each other). I don't know what should happen to the currently active media session if one of the media elements starts playing remotely? Seems like it would behave the same way as if the element was stopped? So if it was the only one, the active media session becomes empty, if it wasn't empty, the rest of the elements keep playing.
The metadata could be copied over (makes sense in a single element case) and could also be overridden by the page in case of multiple elements in the same local session?

From a audio focus point-of-view it makes sense that the remoted media element participates in the audio focus system at where remote playback takes place and not locally. But perhaps this is a given... :)
If so, might it make sense to add a remote media session type?  So when initiated for remote playback an element is added to an unique remote media session. As Anton says this unique media session would inherit meta data from the local session. Since it wouldn't request local audio focus it would essentially just be the notification and metadata. But what would .session point to?

Would it make sense to only allow remote playback if there's at most one playing element in the session, to make it impossible for the members of a session to split into a local and a remote group? Then the original session could be allowed to represent the remote playback, and if necessary this could be web-exposed on the media session itself as some new state.
Then, if one tries to play a (previously paused) media element that's in a remote session, it would either replace the existing element, both would play remotely, or it would throw an exception, depending on what seems possible to implement. (Spec would be made to match, of course.)
I think in practice this would mean that remote playback doesn't work great with multi-element media session, but that doesn't seem terrible, given that things one would expect to play remotely are unlikely to be part of some composed media experience.
If the protocols would allow it, I think this could be expanded to allow all members simultaneously to start remote playback, but not for now.

In terms of spec changes, this would mean that RemotePlayback's start() promise would reject if the media element's session has any playing member other than the one for which remote playback is requested.

Going back to this old discussion, we might want to use Chrome Android behaviour as an example. What we do today is that a remotely played element is removed from the default media session and added back when it is no longer played remotely. In term of specs, when the state switches to connected, the remotely played element would be removed from whatever media session it is on and when it's back to disconnected, it would be back. It would apply for the default or a specified media session.
I agree with @avayvod above and I think we should allow multiple remote playbacks. If for some reasons, a user has a device in multiple room it their home, they should be able to control them simultaneously. However, things will be a bit odd with regards to media keys. We don't really mention this in the Media Session API but it is kind of implicit that being the active session gives you media keys access (or is it mentioned?). I would recommend leaving some leeway for implementations to deal with these cases. For example, usually, on Android, if multiple applications have an active MediaSession (as in the Android one), the latest to activate will have the keys so applications will usually ask for it back when focused in case of their are competing).

The spec doesn't spell this out in https://mediasession.spec.whatwg.org/#activate but I think that's an oversight, given the notes for kinds other than "content" you can tell it was intended.
If responding to media keys is no longer synonymous with being the (only) active session with kind "content", then that could require splitting these concepts entirely. That could be a lot of work, but just to entertain it, what is the ideal behavior? If there is one active local session and a number of remote sessions playing (whether or not to include this in "active" I don't know yet), is it just a matter of which session most recently had some kind of user interaction? Or would a script-trigger pause also bump a session to the top of the stack?

Closing this issue since we are moving audio focus out to a separate API.

This issue was moved to WICG/audio-focus#11


Rust Language Server: Failed to start language server

Hi guys,
I am trying to setup rls but, for some reason, the server won't start.
In debug mode, I get this error in the log
session = "384"
client  = ""
buffile = "/home/atomrc/Workspace/synchee/src/main.rs"
version = 1
method  = "textDocument/didOpen"
[params]
, module: kak_lsp::editor_transport:180
Oct 10 22:56:18.481 DEBG Routing editor request to Route { session: "384", language: "rust", root: "/home/atomrc/Workspace/synchee" }, module: kak_lsp::controller:76
Oct 10 22:56:18.481 INFO Starting Language server `rls `, module: kak_lsp::language_server_transport:16
thread '<unnamed>' panicked at 'Failed to start language server: Os { code: 2, kind: NotFound, message: "No such file or directory" }', libcore/result.rs:945:5
note: Run with `RUST_BACKTRACE=1` for a backtrace.

Any idea what I could do wrong?
I am on a fresh install of rust (using rustup).
Thanks for your help.

Hello! Just to double-check, have you installed RLS via rustup component add rls-preview rust-analysis rust-src? Because Rust comes without RLS by default and kak-lsp doesn't manage RLS installation.
If RLS is installed then probably it's not in the PATH for the shell from which Kakoune integration tries to start kak-lsp server, the shell which Kakoune uses for %sh expansion (it's usually /bin/sh I guess). One option is to fix PATH for that shell, and another one is to just copy default kak-lsp.toml to ~/.config/kak-lsp/ and edit it replacing rls with full path to the binary.

Hey @ul
Thanks a lot for your fast reply.
Indeed, for some reason, the binary was not reachable by kakoune. (setting the absolute path in kak-lsp.toml worked).
I am not sure why, because my user has it in the PATH. (I can type rls and it just works).
If you have any tips, I'd be glad to hear it.
Thanks again.

My guess is that shell invoked by Kakounes %sh expansion is different from the one you run in terminal and for somewhat reason rustup didn't update the former one's PATH.


make the config file configurable

-c seems not in the doc.

https://github.com/apache/skywalking-eyes#configurations This should be updated too.

https://github.com/apache/skywalking-eyes#configurations This should be updated too.

The configurations section is all about the contents in config file .licneserc.yaml, and -c is a pointer to the config file itself.

-c seems not in the doc.

It's in the doc, in example command


Add CompoundSelectionBehavior.touch_deselect_last property

As discussed with @matham after https://github.com/kivy/kivy/pull/4782, for making both behaviors available.

@dessant  should the behaviour be like this  ?? -- when touch_deselect_last = False then whatever the value of self.multiselect and touch_multiselect are , the last selected node remaining shouldn't get deselected at any case  and when touch_deselect_last =  True then the behaviour should be normal i.e whatever it is right now.

@saqib1707, mostly yes, but we'll take care of adding this one.

@dessant " we'll take care of adding this one." Can I work on this or  it will be done by a kivy member ?


LOCAL WEB SERVER NOT WORKING TIME TO TIME

Hello,
i am using the preview in browser with the setting:
"swaggerViewer.previewInBrowser": true,
At the beginning is working very good but sometime (very often and i don't know when exactly) it look like the local web serve that hosts the Swagger UI stops to work.
This is the errore that i get from by browser
ERR_CONNECTION_REFUSED
I try to give again the command "Preview Swagger" but it doesn't work.
I have to restart VS Code for make it working.

Give it a try now in the latest version. Some changes has been done on this.

Hello @arjun-g, it look like now is working very good, very stable and changes are real time (i don't have to save the file for preview it).
Congratulation about the work has done on this release :)


Prototype docsite IA based on card sorting findings

Distilling findings from card sorting activity and incorporating current content, future planned content:
Distilling card sorting findings, current content and future planned content:
Home
	#Introduction
		CTA: Documentation
		CTA: Download
	#Features
	#Brag board -> Gallery
	#Stats
+Download

Documentation
	Design principles
	Branding
	Browser support
	For Designers (Sketch, Figma)
		+Download Sketch
		Using Sketch file
	For Developers (npm, Saas, Git)
		+Download code
			#Download components
			#Download Starter Kit
		Environment
		Customisations
			#Changing palette
			#Changing typography
			#Changing an existing component
			#Creating a new component
	Starter Kit (HTML, CSS, JS)
	Implementations
	Contributing
		#Contributors
	Roadmap
		Changelog
			Versions
Release history

Gallery
	#Screenshots
	#Showcase
#Case Studies

About
	#What
	#Vision / Mission
	#Why
	#How
	#Governance
	#Contributors
		##Individuals
		##Orgs
##Countries

Footer
	Support Tier
		#GitHub
		#Forum
		#Slack
	Privacy
	Accessibility
	About
	Contact
	Disclaimer
Site Map


Revert "new gt4py tag"

Reverts C2SM/spack-c2sm#994

https://github.com/C2SM/spack-c2sm/pull/994#issuecomment-2343368634

Ah I see


Upgrade with docker

Hi,
When I wanted to upgrade the lastest version with docker the configuration docker file has been deleted (docker-compose.yml)
I can't run docker-compose build --no-cache now :
root@Docker:~/netbox# docker-compose up -d
ERROR:
        Can't find a suitable configuration file in this directory or any
        parent. Are you in the right directory?

        Supported filenames: docker-compose.yml, docker-compose.yaml

Thanks for your help
Regards,
Thomas V.

The Docker things have moved to https://github.com/digitalocean/netbox-docker, but there's not yet a v2 release available.


Impl graphing (WIP)

Implement the visualisations in the utils package.

[ ] Add plotter base class
[ ] Add LinePlotter class
[ ] Add PiePlotter
[ ] Add BarPlotter
[ ] Add DotPlotter
[ ] Add BubblePlotter

Codecov Report

Merging #40 (ab711a6) into main (dc10dea) will decrease coverage by 15.55%.
The diff coverage is 35.21%.

:exclamation: Current head ab711a6 differs from pull request most recent head d2ce1d3. Consider uploading reports for the commit d2ce1d3 to get more accurate results

@@             Coverage Diff              @@
##              main      #40       +/-   ##
============================================
- Coverage   100.00%   84.45%   -15.55%
============================================
  Files           23       29        +6
  Lines          675      888      +213
  Branches        82      120       +38
============================================
+ Hits           675      750       +75
- Misses           0      138      +138

Flag
Coverage Δ

Unit_Tests
84.45% <35.21%> (-15.55%)
:arrow_down:

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

Impacted Files
Coverage Δ

truelearn/utils/visualisations/_bar_plotter.py
26.08% <26.08%> (ø)

truelearn/utils/visualisations/_dot_plotter.py
26.66% <26.66%> (ø)

truelearn/utils/visualisations/_bubble_plotter.py
27.90% <27.90%> (ø)

truelearn/utils/visualisations/_line_plotter.py
28.94% <28.94%> (ø)

truelearn/utils/visualisations/_base.py
62.85% <62.85%> (ø)

truelearn/utils/visualisations/__init__.py
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

I have added a visualisations folder under examples, there is where you can put an example of generating the diagrams using the PEEK dataset.

@deniselezi Can you add a few examples about how to use visualisations in examples? You can follow the format here.


make this available via bower and npm

would be cool to have it that way

Yeah. I agree. This will require signing up https://www.npmjs.com/signup I think. Would love to add this.

On NPM, I'd suggest no. On Bower, maybe yes.

I can help dockerizing the app if there is any interest in doing it.


FIX: CI failures

Related to nipreps/niworkflows#533 and setuptools killing Python 2 support.

Codecov Report

Merging #204 into master will increase coverage by 4.24%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #204      +/-   ##
==========================================
+ Coverage   67.33%   71.58%   +4.24%
==========================================
  Files          15       15
  Lines         995      996       +1
  Branches      135      135
==========================================
+ Hits          670      713      +43
+ Misses        281      237      -44
- Partials       44       46       +2

Flag
Coverage Δ

#ds005
64.92% <ø> (ø)

#ds054
51.35% <ø> (ø)

Impacted Files
Coverage Δ

smriprep/interfaces/freesurfer.py
60.60% <0.00%> (+0.60%)
:arrow_up:

smriprep/__main__.py
83.33% <0.00%> (+16.66%)
:arrow_up:

smriprep/utils/bids.py
44.16% <0.00%> (+17.50%)
:arrow_up:

smriprep/interfaces/templateflow.py
95.34% <0.00%> (+39.53%)
:arrow_up:

smriprep/conf/__init__.py
100.00% <0.00%> (+100.00%)
:arrow_up:

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 d8fe13d...12195c6. Read the comment docs.


Add undeclared dependency on babel-runtime to dependencies

Also add undeclared devDependency on babelify to devDependencies
Allows usage with pnpm

@jbboehr sorry for super late response to this - thanks


Error renaming on Windows

# lipo -output app -create ./arm64 ./amd64
Error: invalid magic number in record at byte 0x0

Thank you for reaching out to me.
Please give me the following command execution results.
file ./arm64
file ./amd64

I tried again and it succeeded in WSL but there are still some issues about renaming the output on windows.
root@Yane /m/c/U/S/Downloads# file ./arm64
./arm64: Mach-O 64-bit arm64 executable, flags:<NOUNDEFS|DYLDLINK|TWOLEVEL|PIE|HAS_TLV_DESCRIPTORS>
root@Yane /m/c/U/S/Downloads# file ./amd64
./amd64: Mach-O 64-bit x86_64 executable, flags:<NOUNDEFS|DYLDLINK|TWOLEVEL|PIE|HAS_TLV_DESCRIPTORS>
~/Downloads> ./lipo -output fatapp -create ./arm64 ./amd64
Error: rename .\tmp-lipo-out3911926077 fatapp: The process cannot access the file because it is being used by another process.

It seems it is a bug.
I have released a new version. please try using it.


List with Menu: MenuItem is overlapped by other ListItem

What RMWC Version are you using: 4.0.6

Name your build system: Webpack

Describe the bug with as much detail as possible:
I'm trying to build a selectable list which also support an action menu for each list item. I'm able to reproduce the bug in this codesandbox: https://codesandbox.io/s/oovqym05k5. As you can see, when clicking the button to open the menu, the second MenuItem is missing because it is overlapped by the below ListItem.

What happened, and what was supposed to happen:
The Menu should float above all other elements.

What is the estimated version with a permanent fix for this? I noticed v5.1 is out now, but this issue is still not resolved.
Also, I encounter another problem using your workaround. You can see it here: https://codesandbox.io/s/yww0zkn6wj by opening menu of the last item in list, which is contained within a limited height.
I see there is a hoistMenuToBody() method in the MenuSurface, can it be used somehow to tackle this problem?

Yes that is ultimately part of the solution, but since we are in react, using the hoisting functionality will cause react to lose track of the dom element in its render tree. Ultimately the solution to this will involve using a react portal.
This hasn’t been forgotten. 5.x included an insane amount of work, this will be prioritized with any new work.
Even with the above described issue, CSS can still be used to hack around this particular issue.

Available in the 5.2.0-alpha.0. Added a hoistToBody prop.


REOPEN @ApiModelProperty.position not respected #1280

Please reopen the issue #1280.
See there in the comments that a lot of people complain that it has not been solved.
I can confirm the same issue in version 3.0.0 (transitive dependency from springfox-boot-starter).

This is still a problem, apiModelProperty position is ignored and properties are placed in a lexicographical order

same issue found in springfox-boot-starter 3.0.0 with springboot 2.4.2

is there an update?

There is a PR that solves the problem. But It has been closed :
https://github.com/springfox/springfox/pull/3573


Ebox, Unlimited

Home Assistant release (hass --version):
0.64.0
Python release (python3 --version):
Python 3.5.2
Component/platform:
home-assistant/homeassistant/components/sensor/ebox.py
Description of problem:
ebox.py cannot handle unlimited internet bandwith.
Expected:
I expect the download/upload value will be available. I want to know if my consumption is enough to pay for unlimited service... like send me notification at the end of the month.
-- | --
Traceback (if applicable):
2018-03-06 14:15:52 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up platform ebox
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity_platform.py", line 84, in async_setup
    SLOW_SETUP_MAX_WAIT, loop=hass.loop)
  File "/usr/lib/python3.5/asyncio/tasks.py", line 392, in wait_for
    return fut.result()
  File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
    raise self._exception
  File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/sensor/ebox.py", line 71, in setup_platform
    ebox_data.update()
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/sensor/ebox.py", line 138, in update
    self.client.fetch_data()
  File "/srv/homeassistant/lib/python3.5/site-packages/pyebox/client.py", line 154, in fetch_data
    home_data = self._get_home_data()
  File "/srv/homeassistant/lib/python3.5/site-packages/pyebox/client.py", line 109, in _get_home_data
    home_data["limit"] = float(raw_data[1].split()[0])
ValueError: could not convert string to float: 'Illimité'

Additional info:
Warning : Ebox can be in french.... like me :  'Illimité'

I can confirm the same issue here, having unlimited date seems to break this component...

Same thing on my side.


Summon resume link

When accepting a summon, there is no way to resume completing the questionnaire after a break. Maybe we could give the beneficiary a link which can be used to resume the record if they need to take a break. This is already something we would support, because a summon creates a JWT which can then be resumed via the JTI route.
Need to think about how to explain this and where to put it in the UI.
Let tog know once finished.

 Onboarding 3.0 + ease of use


[20.03] codimd: 1.5.0 -> 1.6.0

Motivation for this change
Backport of #81281 to 20.03.
Things done

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

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

[x] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Thank you :+1:


stderr vs return code in is_flag_supported

I noticed that is_flag_supported detects failure by looking for output on stderr. I was wondering if this might be unreliable sometimes. It looks like it currently requires a tricky workaround to remove the -v flag on Clang, for example. Would it be possible to check the return code of the compiler instead, to see if it's non-zero? Or maybe there's some known case where that doesn't work?

I didn't add the support here myself, so it'd probably be best to ping the author? Other than that I'm not sure the best way to check this myself, I don't know the behavior of C compilers  in this regard.


Levene's Test fails on linear regression

"Levene's test is not appropriate with quantitative explanatory variables."

Fixed in #66


RuntimeError when training

I was running the training script but got:
Traceback (most recent call last):
File "neural_style.py", line 231, in
main()
File "neural_style.py", line 225, in main
train(args)
File "neural_style.py", line 70, in train
style = torch.stack(style_batch).to(device)
RuntimeError: invalid argument 0: Sizes of tensors must match except in dimension 0. Got 3 and 4 in dimension 1 at /pytorch/aten/src/TH/generic/THTensor.cpp:711
any ideas?

I think "Got 3 and 4 in dimension 1" means the style images in the same style_batch have a different number of channels so the stack does not work here. Not an expert, but I think most images have three channels for RGB. Make sure all images have the same amount of channels, or you need to find a way to convert the 4-channel image to 3 channels.

thanks! yeah, I had both png's and jpg's in my style folder. I picked one, but now I am getting
File "neural_style.py", line 231, in
main()
File "neural_style.py", line 225, in main
train(args)
File "neural_style.py", line 72, in train
features_style = vgg(utils.normalize_batch(style))
File "/usr/local/lib/python3.7/dist-packages/torch/nn/modules/module.py", line 489, in call
result = self.forward(*input, **kwargs)
File "/home/pi/pytorch-multiple-style-transfer/vgg.py", line 30, in forward
h = self.slice1(X)
File "/usr/local/lib/python3.7/dist-packages/torch/nn/modules/module.py", line 489, in call
result = self.forward(*input, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/torch/nn/modules/container.py", line 92, in forward
input = module(input)
File "/usr/local/lib/python3.7/dist-packages/torch/nn/modules/module.py", line 489, in call
result = self.forward(*input, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/torch/nn/modules/conv.py", line 320, in forward
self.padding, self.dilation, self.groups)
RuntimeError: $ Torch: invalid memory size -- maybe an overflow? at /home/pi/pytorch/aten/src/TH/THGeneral.cpp:188
I tried setting the --batch-size 1, but that didnt help. I am trying to train this on a Raspberry pi 4 with 4gb ram. Is that too optimistic? are there any other flags that I should set?
I have 103 images in my style folder

removing all but one image gave me a different error:
Traceback (most recent call last):
File "neural_style.py", line 231, in
main()
File "neural_style.py", line 225, in main
train(args)
File "neural_style.py", line 106, in train
total_loss.backward()
File "/usr/local/lib/python3.7/dist-packages/torch/tensor.py", line 102, in backward
torch.autograd.backward(self, gradient, retain_graph, create_graph)
File "/usr/local/lib/python3.7/dist-packages/torch/autograd/init.py", line 90, in backward
allow_unreachable=True)  # allow_unreachable flag
RuntimeError: $ Torch: not enough memory: you tried to allocate 0GB. Buy new RAM! at /home/pi/pytorch/aten/src/TH/THGeneral.cpp:201

What are your command arguments, like how large are your style images and do you scale them? Seems you are running out of memory.
FYI, I trained my model on a GPU with 8g of ram.
Sent with GitHawk

python3 neural_style.py train --dataset /home/pi/pytorch-multiple-style-transfer/ --style-image syles/ --save-model-dir /home/pi/pytorch-multiple-style-transfer/save-dir/ --cuda 0 --batch-size 1 --style-size 10
seemed to work thanks! though it took a while. I will keep playing with it

By the way, that last command took about an hour to train.
I was able to then use the neural_style.py script on it, with
python3 neural_style.py train --dataset /home/pi/pytorch-multiple-style-transfer/ --style-image style/ --save-model-dir /home/pi/pytorch-multiple-style-transfer/save-dir/ --cuda 0 --batch-size 1 --style-size 10
which gave me an output, though it just looks like a bunch of noise

What kind of output? Also style-size is the size of style-image, so 10 seems to be too small to learn a meaningful style. Or if you actually mean to learn styles from 10 images?

Consider the initial issue is solved. Discussion can be continued here or by opening a new issue.


Stale DB Lock Entry - DB Entry Not Updated Upon Next Run

Read the documentation
Read the documentation, especially the troubleshooting section.
Update to the latest version.
Describe the bug

Which version do you use

shedlock-provider-mongo-4.39.0
shedlock-spring-4.39.0
shedlock-core-4.39.0
mongodb-driver-core-4.2.3
mongodb-driver-sync-4.2.3
spring-boot-data-mongodb-3.2.1
spring-boot-starter-data-mongodb-2.5.0

Mongo DB 4.4.11

Which Lock Provider
MongoLockProvider

ShedLock configuration

@Scheduled(fixedRate = 60 * 60 * 1000, initialDelay = 30000)
@SchedulerLock(name = "ArcLock",
lockAtLeastForString="#{@configService.getProp(T(com.Constants).LOCK_ATLEAST) ?: 'PT50M'}"
lockAtMostForString="#{@configService.getProp(T(com.Constants).LOCK_ATMOST) ?: 'PT55M'}"
)

@SchedulerLock - shed.core deprecated package
Expected behavior
4) DB Lock Entry should NOT be inserted as the run does not correspond to @Scheduled
5) This run should NOT have happened as there was a lock entry
8) DB Lock Entry should have been updated by Instance 1 from second run.
Actual behavior

Method - loadEveryHour(). This method is annotated with @Scheduled and @SchedulerLock. It is also called by @EventListener(ApplicationReadyEvent.class) at application start up
I cleared all DB Lock entries
Start Instance 1
DB Lock Entry inserted at the time of application startup and this method is run
(Is this correct ? As this run does not correspond to the @Scheduled)
~10 seconds later, this same method is run again by @Scheduled
(Is this correct ? Since a lock entry is made in the previous step, scheduler should not have run)
Start Instance 2 ~20 min later
This method is run at the time of application startup of Instance 2 once. It is not run by @Scheduled -
It is expected as it is locked by Instance 1.
After 1 hour (fixedRate), Instance 1's scheduler is run again but this time DB Lock Entry is not updated.
After 1 hour (fixedDate), Instance 2's scheduler is run again as DB Lock Entry was not updated by Instance 1 which had the old (previous run) time. So now 2 instances are running the same code.

Other Observations :
There are 10 other schedulers and schedulerlock which isn't called at application startup. When 2 instances are started/deployed at almost the same, sometimes one/some of these other schedulers's entry is not made by the first instance that started.
Both of the above does not seem to happen with mongo-java-driver-3.12.8 shedlock-provider-mongo-3.0.0 mongodb-driver-3.12.8 mongodb-driver-core-3.12.8

Hi, thanks for exhaustive report. I am unfortunatelly not able to follow the scenario. So just a few notes

ShedLock v4 switched to AOP by default whcih means that the lock is applied even if the method is called normally and not by a scheduler. if you do not want the lock to be applied, either switch the interceptMode or use a different method for scheuler and different one for the EventListener
What time is returned by "#{@configService.getProp(T(com.Constants).LOCK_ATLEAST)" ?

Thanks for the reply Lukas. I tried to elaborate as much as possible and bear with some repititions.
Step (4)(Instance 1) was not so much an issue. I was just wondering why a lock entry was made when a method is called at application startup. (jfyi, calling this method at application startup is unnecessary as this method is going to be called by the @Scheduled almost immediately after startup but that is how it is)
ArcLock lockedAt=14:00:00, lockUntil=14:50:00
configService returns the same - PT50M and PT55M for atleast and atmost.
Step (5) (Instance 1) is an issue - "ArcLock" entry was made at Step (4) for 50Min during application startup. In this step (that is Step (5)), scheduler for the same method loadEveryHour which is annotated with @Scheduled ArcLock kicks in few seconds after Step (4). Expectation here is, since there is already a lock for ArcLock for 50Min, this method should not be executed. But it was executed ignoring the lock ! (It could have honored the existing lock or replaced the lock with its own timings although honoring the lock is what is expected. But neither happened !)
Method Entry Logger Time - 14:00:15 which means the method is run again (due to @Scheduled) 15sec after lock entry is made in Step (4) and when the lock is still in force until 14:50:00 !
Step (6), Step (7) - Instance 2 starts at 14:30:00. Runs the method loadEveryHour at application startup. Instance 2's loadEveryHour (due to @scheduled) did not run honoring the lock (lock is until 14:50:00) which is expected and correct.
Step (8) is an issue - When Instance 1's scheduler's turn comes again at 15:00:15, it should replace/update the ArcLock with lockedAt=15:00:15, lockUntil=15:50:15 but that did not happen ! Entry still remains at ArcLock lockedAt=14:00:00, lockUntil=14:50:00.
Step (9) is an issue - When Instance 2s' scheduler's turn comes again at 15:30:00, it also did not update the lock entry.
So none of the instances are checking and/or updating the lock entry and so effectively there is no lock and 2 instances are running at the same time (i.e time overlap is there).

Hi, I really do not have capacity to dive into the report. I can recommend only:

Switch-on the debug log and see what it says.
You can use Lock assert to ensure that the infrastructure is working as expected
I recommend to check if the clocks on both machines are approximatelly in sync.

Please ignore the above report as it includes many other observations/factors as well.
The actual issue is, shedlock not locking (not inserting a lock entry in DB) when the method that is annotated with @Scheduled is in a class that implements an interface

In this case, please read some article about how Spring AOP works


make omniauth a configurable option to prevent devise errors

*devise does not like more than one model in an application being omniauthable


Gocql driver does not recover after a node failover

Please answer these questions before submitting your issue. Thanks!
What version of Scylla or Cassandra are you using?
Scylla Enterprise 2020.1.7
What version of Gocql are you using?
replace github.com/gocql/gocql => github.com/scylladb/gocql v0.0.0-20210425135552-909f2a77f46e
What version of Go are you using?
1.13
What did you do?

Inserted some data to the Scylla.
Run a workload that reads a random partition key from the database with gocql client.
Restart 1 scylla node - the coordinator metrics starts to look odd - client still ok.
Restarted a second scylla node - the coordinator metrics are really bad, client still ok.
Restarted the third scylla node - the client returns error no hosts available.

What did you expect to see?
That the gocql client realize that the restarted node(s) are back online, and direct traffic to them.
What did you see instead?
After restarting scylla nodes, the driver does not send the requests, only after restarting the gocql application.
When 3 nodes have been restarted, the client gets no hosts available errors.

After a node failover, the client does not direct traffic to the restarted node, but instead it directs the traffic to the other 2 nodes.
Following that, we restarted another node, which caused the client to direct all the traffic to a single coordinator node, even that all of the nodes are online.
Meanwhile In the cluster metrics in Grafana - the other nodes does accept requests, but only from a single coordinator node (the node that didn't restarted).
When we restarted the last node, all of the client requests failed with no hosts available errors.
To fix this situation we restarted the client.
I attached a trace of the gocql client before the restart, and after the restart, and the go client code (+go.mod) that run this this workload here in this: B0004DAC-92E9-46EB-A366-F8F044DC9E12
Thanks!

no hosts available is a longstanding issue in the upstream gocql.
Is there any progress on that @martin-sucha.
Maybe https://github.com/gocql/gocql/commit/312a614907c8d2e19f6b14aff16015436cb78423?

@mmatczuk  - the main issue is that when a node goes down, the driver doesn't connect to it after the node goes back up.

Indeed https://github.com/gocql/gocql/commit/312a614907c8d2e19f6b14aff16015436cb78423 fixes regression that was introduced in https://github.com/gocql/gocql/pull/1369
scylladb/gocql has https://github.com/gocql/gocql/pull/1369 but not https://github.com/gocql/gocql/commit/312a614907c8d2e19f6b14aff16015436cb78423. The latter should fix the problem with reconnecting (to the extent that it should work as before the regression).

@mmatczuk @martin-sucha  - do we have any time-line to get this fix into scylladb/gocql?

That is entirely up to Scylla folks when they merge changes from upstream to this fork, I don't have write access to this repo.
@mmatczuk I've just merged https://github.com/gocql/gocql/pull/1571 upstream that fixes another regression in Session.close (introduced in https://github.com/gocql/gocql/commit/312a614907c8d2e19f6b14aff16015436cb78423), so when merging please include these changes as well.

@mmatczuk Is it possible to pull the latest gocql drivers?
If it's a simple fix we really need this for our production workload.
Thanks!

Done.

Thanks @mmatczuk 😄 , we'll try the new version ASAP


webpack:dev-server not emitting files on /compiled/ directory

In my Symfony3 app, i use php built-in server with app running on localhost:8000 in dev environment(runs app_dev.php). js and css files gets emitted with updated code when running bin/console maba:webpack:compile and gets served from /localhost:8000/compiled/. If I run webpack:dev-server, it doesn't provide updated css,js files but files gets served from /localhost:8080/compiled/. In fact when i deleted /compiled/ directory, dev-server command doesn't create compiled folder and respective compiled files at all. So what is the problem? If i am missing something or doing something wrong please point me in right direction.

That's how it's supposed to work. dev-server does not emit files to the disk, it compiles them on the fly and serves them itself - that's why URLs point to localhost:8080.
Why do you need those files to be emitted by dev-server?

OK, I understood dev-server does in-memory compilation, but there is no changes in output even when i change js files. If i remove /compiled/ directory, No route found for "GET /compiled/*.bundle.js" is shown, that means localhost:8080 is not serving bundle files from memory.

My apologies, issue was not related to webpack-bundle or webpack itself. I had 8080 port preoccupied by nginx server for another old app, that caused the problem. Thanks for reply.


Add xRec to Event Sales Header - OnBeforeInitRecord()

Hi there,
we need an additional parameter xRec in Sales Header Event Publisher OnBeforeInitRecord():
        IsHandled := false;
        //OnBeforeInitRecord(Rec, IsHandled); // OLD
        OnBeforeInitRecord(Rec, **xRec**, IsHandled); // NEW
        if not IsHandled then

    [IntegrationEvent(false, false)]
    local procedure OnBeforeInitRecord(var SalesHeader: Record "Sales Header"; **xSalesHeader: Record "Sales Header";** var IsHandled: Boolean)
    begin
    end;

Thanks,
Carsten

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


chore(deps): update dependency @types/react to v16.9.38

This PR contains the following updates:

Package
Type
Update
Change

@types/react
devDependencies
patch
16.9.36 -> 16.9.38

Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

Available now for Enterprise: Renovate Pro with real-time webhook handling and priority job queue.

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

v5.1.3
GitHub release

Your semantic-release bot :package::rocket:


Table <-> DataFrame roundtrip failing

Hi,
I can create an Arrow table with a column containing empty lists forced to have type string. But in a roundtrip through pandas the string type is lost, it seems, and subsequently attempts to convert to pandas then fail.
To reproduce in Arrow 0.8.0:
import pyarrow as pa

# Create table with array of empty lists, forced to have type list(string)
arrays = {
    'c1': pa.array([["test"], ["a", "b"], None], type=pa.list_(pa.string())),
    'c2': pa.array([[], [], []], type=pa.list_(pa.string())),
}
rb = pa.RecordBatch.from_arrays(list(arrays.values()), list(arrays.keys()))
tbl = pa.Table.from_batches([rb])
print("Schema 1 (correct):\n{}".format(tbl.schema))

# First roundtrip changes schema
df = tbl.to_pandas()
tbl2 = pa.Table.from_pandas(df)
print("\nSchema 2 (wrong):\n{}".format(tbl2.schema))

# Second roundtrip explodes
df2 = tbl2.to_pandas()

This results in the following output:
Schema 1 (correct):
c1: list<item: string>
  child 0, item: string
c2: list<item: string>
  child 0, item: string

Schema 2 (wrong):
c1: list<item: string>
  child 0, item: string
c2: list<item: null>
  child 0, item: null
__index_level_0__: int64
metadata
--------
{b'pandas': b'{"index_columns": ["__index_level_0__"], "column_indexes": [{"na'
            b'me": null, "field_name": null, "pandas_type": "unicode", "numpy_'
            b'type": "object", "metadata": {"encoding": "UTF-8"}}], "columns":'
            b' [{"name": "c1", "field_name": "c1", "pandas_type": "list[unicod'
            b'e]", "numpy_type": "object", "metadata": null}, {"name": "c2", "'
            b'field_name": "c2", "pandas_type": "list[float64]", "numpy_type":'
            b' "object", "metadata": null}, {"name": null, "field_name": "__in'
            b'dex_level_0__", "pandas_type": "int64", "numpy_type": "int64", "'
            b'metadata": null}], "pandas_version": "0.21.1"}'}

...

> ArrowNotImplementedError: Not implemented type for list in DataFrameBlock: null

I.e., the array of empty lists of strings gets converted into an array of lists of type null, and in the pandas schema to lists of type float64.
If I change the empty lists to values of None in the creation of the record batches, then the roundtrip doesn't explode, but it will silently convert the column to a simple column of type float (i.e. I lose the list type) in pandas. This doesn't help, since other batches from the same source might have non-empty lists and would end up with a different inferred schema, and so can't be concatenated into a single table.
(If this attempt at a double roundtrip seems weird, in my use case I receive data from a server in RecordBatches, which I convert to pandas for manipulation. I then serialize this data to disk using Arrow, and later need to read it back into pandas again for further manipulation. So I need to be able to go through various rounds of table->df->table->df->table etc., where at any time a record batch may have columns that contain only empty lists).

Can you please report this as a bug on the Arrow JIRA? Thank you

Ok. Created as JIRA ticket ARROW-1941.


chore: logo filled/outline variants svg

I have added two variants (filled/outline) and I think the filled variant looks better for the application notification icon.

closes #144

@annalbirena Thanks for your valuable contribution
You can checkout issue #141 if you further want to contribute more!


Add summary description for News pages

Worldwide News pages will be tagged to World Loctaions and as such
will display on World Location navigation pages. We want a specific hard
coded summary of "Updates, news and events from the UK government in
[country]" to display under these.
This commit adds a description helper to display the summary.
The only way to determine if a page is a worldwide news page is to test
the base path returned by Rummager.

Hmm, I think I don't really understand what's going on and what problem this is trying to solve. Could you add some screenshots of before/after? I think we should avoid hard coding this stuff at all cost, but I'm not sure what it's trying to achieve.

Closing in favour of https://github.com/alphagov/whitehall/pull/3314


I have a unique installation use-case where automatic login is needed

I looked through /etc/xrdp/sesman.ini and the /etc/xrdp/xrdp.ini and checked the man pages.
What I'm looking for is this.
Does xrdp (or could it) support an automatic/anonymous login.   On Ubuntu you can setup lightdm to allow users you specify in a .conf file to be automatically logged in.
Does such a feature exist in xrdp?   Or could it?    Reason I am asking is that I'm using Guacamole & its RDP connection capability to connect to Ubuntu desktop servers using xrdp.
However, users are required to double enter their ID & passwords.   First for Guacamole and then again when presented with the xrdp authentication login.
In my use case the users have to be configured in a Guacamole encrypted mysql dbms so if a "guacamole admin" configures them with an account I'd like to create the similar account on the ubuntu desktop servers (manually)... but when an end-user logs in to guacamole & selects an Ubuntu server to connect to ... I'd prefer they get logged directly into the target Ubuntu Desktop server than be reprompted by xrdp for another credential (ID & password) entry..?
Just fyi but Neutrinolabs & xrdp could benefit from this feature as well !    In case you weren't aware Guacamole was recently accepted as an Apache Incubator Project   so this could provide a lot of synergy & integration of Guacamole & Linux via XRDP ... at least from a usability point of view.
Thanks for any guidance & info.
Brian

Any update on this? I'm hitting the same problem.

If you are using Guacamole and xrdp you can take advantage of what Guacamole calls Parameter Tokens:
http://guacamole.apache.org/doc/gug/configuring-guacamole.html#parameter-tokens
In particular:
${GUAC_USERNAME}
${GUAC_PASSWORD}
If you use these 2 for the UserName and Password when you configure the "connection":
https://github.com/bmullan/ciab-remote-desktop/blob/master/CIAB - README.pdf
And use the same UserName & Password on your Linux system or Windows system that "connection" connects to then Guacamole will pass the UserName and Password to XRDP and the user will only have to enter them once.
Brian


FOR loops

Please, @dgarroDC, as I said here #115, document the new feature and add some tests to the LDPL test battery. If you cannot make it, please tell me and I'll do it myself.
Thank you very much and have a great day!

Done :+1:

Wonderful! Thank you very, very much


Consider different substitution character-don't conflict w/Scala

The current substitution ${foo} mechanism conflicts with Scala's string interpolation:
val stuff = "hey"
val c = s"""foo {
bar:${something}
other: $stuff
}"""
val cfg = ConfigFactory.parseString(c)
Since both Scala and Config are looking for '$' they get confused (actually Scala gets confused).  Optionally supporting another character besides '$' would avoid the confusion.

I think $$ is as good as anything I can think of, so closing for now, anyone feel free to discuss the topic though.


Adapt automation to consider the results from all previous iterations…

… instead of only the last run

The $MERGE_FILE to store all previous concatenated merged_mses.csv need must not be touched in advance, because the program will fail reading the empty file. So, the $MERGE_FILE should not exist before the simulation.

The $MERGE_FILE to store all previous concatenated merged_mses.csv must not be touched in advance, because the program will fail reading the empty file. In fact, it should be removed if exists. So, the $MERGE_FILE must not exist before the simulation.

Can you add this detail to the Hamilton README file please? Or could the script delete it automatically, or fail if it exists?

Build failure was because secrets aren't available in @parnumeric's copy of the repo. #150 is a replacement branched from the DurhamARC org, so closing this PR.


Incorrect state being indicated

I have a line graph showing the voltage of a particular lithium battery consisting of 16 separate cells (3 V each, in series, to form a 48 V battery). The image below shows the information correctly depicted. A line graph above showing the cell voltage minima and maxima, the difference between the two and a discrete panel (v0.5) showing the cell balancing activity (depicted by either a 0 or 1 in the InfluxDB database).

Sometimes, however the discrete panel doesn't function correctly. As you can see in the image below there is no data for the time period shown (i.e. the blank line graph), however the discrete panel tells me balancing is occurring 100% of the time.

This issue also comes up in other circumstances. Take a look at the image below and notice the balancing state at this particular cursor position (i.e. no balancing):

Now if I take the exact same graphs and just zoom in a little bit, notice what the balancing state is at the exact same timestamp as the image above (i.e. balancing):

I'm really not sure what is going on here but it is fairly critical to the usefulness of this panel. Just for reference purposes, here is the InfluxDB query I'm using:
SELECT distinct("balancing_state") FROM "bms_balancer_status" WHERE "bms_balancer_id" =~ /^$bms_balancer_1$/ AND $timeFilter GROUP BY time($interval) fill(none)

Just let me know if I can be of any further help to sort this issue out.

There are two issues here

This panel assumes the last value it got continues.  This does funny things if you are looking at the edges of real data.  We should add an issue to make this optional.  This is what I think you are seeing in your first example.

I am not sure i understand using 'distinct' in this query and a GROUP BY.  Have you tried just using distinct without the GROUP BY?  If you are worried about too many results you could do a GROUP BY and use 'mode("balancing_state") -- but this will obviously have lower precision

As you can see in the image below there is no data for the time period shown (i.e. the blank line graph), however the discrete panel tells me balancing is occurring 100% of the time.

Have you checked the chrome developer console to see what queries are actually getting sent to influx?  If it is showing 'balancing' that is coming from the query somehow

also, maybe try fill(previous) rather than fill(none)

Upon your recommendations I now have the following query and it seems to be producing a more acceptable result:
SELECT "balancing_state" FROM "bms_balancer_status" WHERE "bms_balancer_id" =~ /^$bms_balancer_1$/ AND $timeFilter fill(previous)

This matches the suggested query for annotations with InfluxDB.
The reason for the distinct() part in my original query was, I thought, to ensure no averaging takes place. If you take a look at the following image you will notice the seemingly continuous balancing block on the right hand half of the discrete panel:

However if I zoom in and place my cursor on the same spot, it shows it as being in a no balancing state:

Despite my previous thoughts about using distinct(), it is not practical to show each and every balancing/no balancing state when there is such a high density of state changes.

Can you do distinct without a group by and add a LIMIT 10000 (or something like that)?
Then you would have everything until you zoom out far.  I'm not really sure the best solution when you have LOTS of transitions.
I'll close this issue and let you open a new one about showing the last value beyond the the last value returned from the query


Update the design system version for the project

What is the context of this PR?
Updates the build to use the latest version of the design system templates
How to review
Check that the css loaded in the header is https://cdn.ons.gov.uk/sdc/design-system/70.0.17/css/main.css

@zerolab maybe we can discuss this MR today if you have time. After running fab build this change is not actually updating the CSS for me.
I am wondering if now we have front-end tooling set up, we could consider installing with npm instead of the current system: https://service-manual.ons.gov.uk/design-system/guidance/install-with-npm


[rv_dm] Revert DMI CDC architecture - DO NOT MERGE

This reverts the CDC mechanism used inside the RV_DM back to the method that used prim_fifo_async.
The kokoro lint error can be ignored.

In order to rule out issues with the new CDC scheme, it would be good to try the bitstream generated with this PR and see whether it exhibits the same issues.

I've taken the bitstream from CI, loaded it through Vivado, and ran a basic test in which OpenOCD simply connects to rv_dm on the FPGA. That failed 3/5 runs with TDO-stuck-at-one symptoms. So it's unlikely that the DMI CDC is causing our problems

ok that's good news. Thanks for trying this @andreaskurth!


Eufy cam E330 pro

Will the Eufy Cam E330 pro stream or image supported in the futre?
Now only the debug device sensor is detected.

Same problem.

Also curious about the E220.  It only half-way works.

Looks like it's coming in the next release of eufy-security-ws: https://github.com/bropat/eufy-security-ws/issues/263

@bropat the E330 as added in https://github.com/bropat/eufy-security-client/issues/422 is still incomplete. The only available sensor is "Debug" and there are no controls available.
Do you need access to an E330 to be able to add all the sensors and controls? I have one and would be happy to give you access.

It’s working as expected here and has been since March


How to add a pin below the Popup Panel anchored at it's marker just like google earth?

How to add a pin below the Popup Panel anchored at it's marker just like google earth? This will help if there is a mass of markers because I can kown exactly which marker the Popup Pane is linked.

Hi @244226077, can you provide an image that shows what you mean?

Hi @244226077, can you provide an image that shows what you mean?

@rorystephenson

Hi @244226077 You could put your custom in a column with a triangle that you can create following this SE answer: https://stackoverflow.com/a/56945726/4791411

Agreed with @Dereumaux-Adrien that this can be implemented by the widget you decide to use for the popup!
It would be nice to have an example for this but I don't have the time right now.
Closing but feel free to ask again if you don't manage to get this working!

I found out how to later, you add clippy_flutter and then this in a column after your container:
Triangle.isosceles(
  edge: Edge.BOTTOM,
  child: Container(
    color: Colors.blue,
    width: 20.0,
    height: 10.0,
  ),
)

Great @Dereumaux-Adrien 👏 !


Don't let the backend app run if any environment variables aren't present

assert statements and what not

@bsteephenson @barieom @bmfahey Is this Done?


Set up docs container

:slightly_smiling_face:
I was gonna try out using issues to queue up the work to do, but we decided it is preferable for these initial setup tasks to simply open PRs for each.


electron-cash: fix build on darwin

Motivation for this change
Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Relase notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 129466 run on x86_64-darwin 1

1 package built:

electron-cash

no backport?


Trying to make it run for the first time...

Hi,
Thank you for your code. I have just installed it and try to run an example
"microphone_recognition.py". I typed this in examples directory.
"python microphone_recognition.py". Following are the error I got.
Can you direct to me where to start?
==========================
Traceback (most recent call last):
File "microphone_recognition.py", line 9, in
with sr.Microphone() as source:
AttributeError: 'module' object has no attribute 'Microphone'
==========================

Do you have pyaudio installed?

You are right. After posting, I figured I didn't install PyAudio properly. Currently working on that right now...

Yes. It is working. Having other errors but at least sr.Microphone() is recognized. Thanks.

Great! Any issues I'd default to the demo code, it's pretty broad in usage covered.

Hi @levanolis,
Feel free to post any other errors you're having. Also check out the troubleshooting guide for more solutions to common problems!

Thank you again. It is up and running. :-)


pow: replace the thread-base mining loop with a future-based mining worker

This removes the thread-based mining loop and replaces it with a future-based mining worker. The worker starts a future that must be pulled, it will fill in metadata of a mining worker. The worker does not start mining, but only holds the necessary information. Callers are now responsible for starting the threads and do the actual mining work, using the handle of the worker.

gitlab-check-polkadot-companion-build test failure seems unrelated to this PR.

@sorpaas could you once more merge master?

bot merge


OS dependent postinstall script routine

Uses the additional package run-script-os instead of an seperate bin/postinstall.js to keep the folder structure simple.
See Issue https://github.com/collective-soundworks/soundworks-template/issues/7 for the discussion.

Tested on Win10 64bit with PowerShell Desktop 5.1, PowerShell Core 7.1.2 & cmd

Thanks !


Runtime arguments support

Hello,
these 5 commits add runtime arguments support to fblept and v4l2lepton tools. These tools are then able to run on other platforms than RPi without modifying/recompiling them (tested on i.MX6 & i.MX6UL SOMs from Armadeus Systems) .
Kind regards,
Julien

From the v4l2lepton side, these changes look good. I'll add a todo to test this on RPi but it will not be right away.

Hello,
any news about this pull request ?
Regards,

I don't have the means to test this right now either. I'll go ahead and merge it, looks fine by review here too. Thanks for the contribution!!


Naming

There are some inconsistent names, we should rename them.
pub struct InstantiateMsg {
    pub staked_token: Addr,
    pub reward_token: TokenInfo,
    pub start_time: u64,
    pub end_time: u64,
    pub pool_limit_per_user: Option<Uint128>, => stake_limit_per_user?
    pub pool_owner: Addr, => farm_owner
    pub whitelist: Addr, => reward_provider?
}

Pool -> Farm
PoolInfos -> FarmInfoResponse
RewardTokenAsset -> PendingRewardResponse
TotalStaked -> thừa, đã có ở query khác

@hoanm @haitranwang


Vuforia CardboardEye script

you can modify this script to allow the camera to occupy its entire portion of the screen, not just a square at its center?

Did you follow the guidelines on their site for modifying the Cardboard scripts?  There's a step in there you have to undo.

I commented this line: Vuforia.VuforiaBehaviour.Instance.ApplyCorrectedProjectionMatrix(proj, eye == Cardboard.Eye.Left);
But not work... Same small viewport, and yes i have follow the guidelines

Is the square in the very center of the phone, or along the bottom edge?  And does it happen also when you don't use Vuforia?

Galaxy S4:

In other project (only vr) cardboard views are ok

I want this: https://www.google.it/search?q=cardboard+vuforia&espv=2&biw=1920&bih=911&source=lnms&tbm=isch&sa=X&ved=0CAYQ_AUoAWoVChMIu_eVgcHqxwIVC9caCh3XWwH_#imgrc=MynDtCZ1XjGJ2M%3A

Setting the fov of all rooms ar and cardboard 60 I managed to get a good improvement but not yet vr as the classic, also the right chamber is slightly shifted to the right, leaving a small black border on the left, how can I solve it?

I haven't used Vuforia enough to know.  The one line you commented out worked for my project, because it didn't show the video passthrough.  You may want to ask the question on the Vuforia forums.

Ok, Thanks for the help :)

@smdol  you could report the portion of code that fits the lens distortion in game via the "scanned" the qrcode?

The lens distortion is handled in native code.  The function BaseCardboardDevice.PostRender() is where the native code is called (through GL.IssuePluginEvent).

Closing as this isn't really an SDK issue. "How to" questions should be posted to our stack overflow page.


Notify on status change -Issue 637

@GalGend ?

Hi @yaelal server tests failing on the deposit email send, can you please check? Thank you

Hi @yaelal, let's try to make this pass first- let me know the status so I can assess who could help with this


Change all M_PI to CGFloat.pi for Swift 3.0

For old versions of Swift, you use M_PI to refer to the pi constant. Swift 3 integrates the pi constant in the Float, Double and CGFloat types:
Float.pi
Double.pi
CGFloat.pi

That makes sense!


Remove the QUIC Support section from readme?

The linked issue is marked as resolved, so on the first glance the notice is outdated.

I believe this was resolved by https://github.com/RustCrypto/rustls-rustcrypto/pull/70


No console bar

Describe the bug
No console tray at the bottom of the webview when you create a new vanilla javascript project
Link to the blitz that caused the error
https://stackblitz.com/edit/vitejs-vite-rw8cyj?file=index.html&terminal=dev
Steps to reproduce

Go to stackblitz homepage
create a new vanilla javascript project from the template
Webview is on the right side, bottom of the webview used to be the console tray.

Expected behavior
Console tray was useful and handy. Instead of referring to the browser console.
Parity with Local

[X] I have run the project in my local machine and I could not reproduce the issue.

Screenshots
No response
Platform
Browser name  = Chrome
Full version  = <IP_ADDRESS>
Major version = 120
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
performance.memory = {
  "totalJSHeapSize": 64829156,
  "usedJSHeapSize": 61067296,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}
Hash = 6f234770

Additional context
It was used to be simple before with firebase extension plugged but now it uses a server from vite

Hey @mamiabudat ! :wave:
We recently sunsetted our EngineBlock starters in favor of having new ones powered by WebContainer and Vite (which provide more flexibility for users that want access to the terminal).
You can see this comment for more information.
TL;DR: Open the preview in a separate tab and Ctrl+Shift+I (Option + ⌘ + I on macOS) -> to see the console.


RUSTC_BLESS=1 cargo test modifies source files instead of targets

Reproduction:
# make a target file wrong
> echo > tests/target/5131_module.rs

# run tests with blessing enabled
> RUSTC_BLESS=1 cargo test

# check what it changed
> git diff
diff --git tests/source/5131_module.rs tests/source/5131_module.rs
index 3e913917..763024d6 100644
--- tests/source/5131_module.rs
+++ tests/source/5131_module.rs
@@ -9,8 +9,7 @@ mod a {
         }
     }

-    use crate::a::b::Data;
-    use crate::a::b::Data as Data2;
+    use crate::a::b::{Data, Data as Data2};

     pub fn data(a: i32) -> Data {
         Data { a }
diff --git tests/target/5131_module.rs tests/target/5131_module.rs
index 763024d6..8b137891 100644
--- tests/target/5131_module.rs
+++ tests/target/5131_module.rs
@@ -1,32 +1 @@
-// rustfmt-imports_granularity: Module

-#![allow(dead_code)]
-
-mod a {
-    pub mod b {
-        pub struct Data {
-            pub a: i32,
-        }
-    }
-
-    use crate::a::b::{Data, Data as Data2};
-
-    pub fn data(a: i32) -> Data {
-        Data { a }
-    }
-
-    pub fn data2(a: i32) -> Data2 {
-        Data2 { a }
-    }
-
-    #[cfg(test)]
-    mod tests {
-        use super::*;
-
-        #[test]
-        pub fn test() {
-            data(1);
-            data2(1);
-        }
-    }
-}

My expectation is that this should be writing to target, but it was originally implemented for ./x support in the main tree, so I'm not sure if that expects it to modify source files instead for some reason.
https://github.com/rust-lang/rustfmt/blob/ead0fc9529ef787bc0e3f7f1b92dccd00cf45915/src/test/mod.rs#L838

It was necessary to modify the source because the logic was used to dogfood rustfmt iirc.

Ah, in a self-test/idempotent-test you want to write to the source. But also from what I can see in those cases the target is the source too.

Ah yea, in that case, we should only write to the target

I'd also expect this to write to the target file.


Add ssh-agent usage example

Just added a small example of ssh-agent usage for Git push

Is git-credentials the ID of these credentials? If so, should be made explicit (or show a UUID instead to be super clear it's an ID).

Yes it is the ID of the SSH credentials. What would you put as the credentials ID ? "git-ssh-UUID" ? Tell me and I'll change the code accordingly.

Well, git-credentials-ID would be a solid improvement already. Change the previous use (credentialsId: MyID) accordingly for consistency and it should be clear enough IMO.

Hmm I'm not sure we want to use the same Id in both examples because it could be confusing to read twice the same Id for different use cases (username/password and SSH)

I've modified both credentialsId, I'll let you judge if that's fine for you.

@orevial Thank you!


[Bugfix] Fix broadcasting logic for multi_modal_kwargs

Currently multi_modal_kwargs are placed on GPU before distributed broadcast. Since the broadcast operation only allows flat dictionaries of tensors, custom logic is required to handle nested tensors. Currently, it only handles singly-nested dictionaries and fails to consider nested lists of tensors. It is complicated and even inefficient to extend this to arbitrarily nested structures such as interleaved nested dictionaries and lists.
This PR addresses the root issue by keeping the tensors in CPU before the broadcast operation, only moving them to GPU right before they are inputted to the model. This lets us broadcast them as opaque Python objects, removing the need to handle nested structures.
FIX #5905 (comment)
FIX #6946
cc @xwjiang2010 @youkaichao

Closing as superseded by #6925.

Hmm, does this have performance impact? Like given a CPU tensor, how do you compare the following

CPU-side broadcasting followed by multiple CPU-to-GPU transfers
Single CPU-to-GPU transfer followed by NCCL GPU-to-GPU broadcast

I feel like on a single node with high bandwidth NCCL, option 2 may be faster?

@xwjiang2010 the tensor here to broadcast is small, and NCCL does not have a win here. It only adds code complexity.

@xwjiang2010 the tensor here to broadcast is small, and NCCL does not have a win here. It only adds code complexity.

yeah while I am happy that I don't have to think of a way of making nested list of nested dict of nested list work.
But just want to make sure that we all on the same page that these tensors are small?
For example, are they small when there are dozens of queries in a batch? Or multiple images per query? Or when we are sending in embeddings (in the future)? Or when factors like these are compounding together?

In the future we will only broadcast CPU data, without sending any GPU data via broadcast. GPU data should live in the process that produces it.

And this also applies to things like input_ids right?


Introduce the concept of an abstract execution context

This can be used by bindings that wish cached Realms to be keyed on something other than the thread they were created on, such as a JavaScript context or Python interpreter state.
Related to realm/realm-js#552, and will allow realm-js to easily fix realm/realm-js#473.
This should allow the thread ID changes from c34b3db85d86bf542fb57cd34f393efeac87b929 to be dropped from the js branch, making it possible for realm-js to use master directly.

@tgoyne, can you please take a look at the new changes in 31f87ab that are needed for Android?


Mission Cleaning Configuration Problem. Can't find 'getlastcommand' file.

I'm on Windows 10. I have tried both the 1.4 plugin as well as the 1.5 beta 2 plugin. Node 18.
How do I setup the Mission configuration.  When I follow the instructions it gives me an error - 'getlastcommand' not found.  I went to the folder and it's not there.  However, getpassword command is there.
Any help would be appreciated.

Can confirm, I'm having the same issue. When I run npm run I get the following output
`Lifecycle scripts included in<EMAIL_ADDRESS>test
node dist/index.js
available via npm run-script:
build
tsc
clean
rimraf dist
getrobotpwd
get-roomba-password
getpassword
get-roomba-password
lint
eslint src/*.ts
watch
tsc --watch`

I have not tried it yet but i just noticed the “lastcommand” script is in the src directory of the plug-in. Try navigating there first then running the script.
On a side note, for now at least I stopped using this plugin and setup rest980 (dorita980).  In conjunction with the http switch plug-in.  I now have clean by room working in Homebridge for my i7+ roomba.

Same issue here. Anyone found a solution?

Same issue here. Anyone found a solution?

See my solution above. Also try including full path to the lastcommand file

Same issue here. Anyone found a solution?

See my solution above. Also try including full path to the lastcommand file

Thanks for the reply.
I tried from src however I have no “src” folder included in my homebridge install. I’ve tried with multiple versions of roomba2, and for whatever reason it’s not there.
Can you confirm you have a “src” folder included on your homebridge? (If you still have it)

I’m not using that plugin so I can’t confirm. I only happened to see the lastcommand.ts file in the src directory of this repo. I never used it.
However, the work around would be to install the rest980 repo and use Postman to interact with the  API and get the lastcommand. That’s what I did.

I just ran into the same issue. getlastcommand is available in the beta version. Run the command npm install -g homebridge-roomba2@beta and then you should have access to it.

Is there already a solution ? It doesn't work with the beta version either. Is there any other way to read the maps?


[BUG] Timeline event order issue

Hello,
It looks to have an issue about the event order in the timeline :

Not merging this one and CJ's as it may be a separate one due to CJ using FC.

@Zorgonaute84 I think there has been a misunderstanding. This is not the timeline but the order of the events in the campaign (I guess). Can you confirm it?

@Zorgonaute84 I think there has been a misunderstanding. This is not the timeline but the order of the events in the campaign (I guess). Can you confirm it?

Exact, sorry for the misunderstanding. The Timeline is good, but the event order in the campagne note is not. (Looks ordered by creation date).
I prefere to use the event order instead of timeline, because I feel that the timeline is less readable. (Looks to have font size issue)

@Zorgonaute84 Thanks for the clarification. I have fixed the ordering in the list of events, and I will look into the strange behaviour of the timeline. I bet it is a CSS issue

As far as events on a campaign page, appears fixed in 3.4.05.


Adjust last animation change to fix test

Was getting error:

Chrome 70.0.3538 (Mac OS X 10.14.0) $uibModal option by option openedClass should not add the modal-open class if modal is closed before animation FAILED

Tried to debug and see why the test was failing.  Looking at the code just led to not knowing how the test ever even could pass since modal.close when called immediately after open, always checks the $modalStack before the new modalInstance is even added to it.  Regardless, moved that part of the backdrop close listener outside of the postDigest call.

wrong branch


Feature repositories

UPDATE
I have decided branches are too noisy and difficult to manage. We will offload features onto seperate repositories.
I have created a redux and apollo repo (see README.md for links).
We need to decide on ownership for the following feature branches and move them to seperate repos:

[ ] postcss-sass (created by @strues)

Here is an example workflow:
# Clone required incubator branch into target new repo folder
git clone https://github.com/ctrlplusb/react-universally -b incubator/state/redux react-universally-redux

# Enter repo folder
cd react-universally-redux

# Create a master branch
git checkout -b master

# Rename the remote
git remote rename origin upstream

# Add the new repo target as origin remote
git remote add origin https://github.com/ctrlplusb/react-universally-redux.git

# Push master rebinding it to origin
git push -u origin master

# Remove the old incubator branch
git branch -d incubator/state/redux

#
# Now you can use the following workflow to update your repo...

# Fetch the latest changes from react-universally master
git fetch upstream

# Merge any new changes from upstream master
git merge upstream/master

# Fix the merge conflicts and commit

Current tasks:

[ ] Merge v10.0.0 into incubator/state/redux
[ ] Merge v10.0.0 into incubator/state/apollo
[ ] Merge v10.0.0 into incubator/tests/jest
[ ] Merge v10.0.0 into incubator/tools/docker
[ ] Complete incubator/state/redux
[ ] Complete incubator/state/apollo
[ ] Complete incubator/tests/jest
[ ] Complete incubator/tools/docker

Have just checked out the new react-universally with config changes. Having a look and then will try to replay my relay changes into it.

Proposal: delete postcss feature as it's covered in the sass feature. The others are CSS-in-JS imps which are standalone.

And... rename sass to postcss-sass

I like the idea of condensing the two.

We have too many CSS-in-JS implementations I think.
I think we should choose one.  styletron is heavily leaning itself as a universal targetted solution so perhaps this would be the most natural choice?
Sorry @lucianlature I know you have spent a lot of effort on all of these branches, but I am already seeing the complexity of management they bring to the table.  I want to cut them right down to a few choice technologies.

Thoughts @strues @lucianlature @bkniffler @carsonperrotti @enten?

Perhaps we could reconsider the strategy and have the extensions hosted seperately.
I would be happy to link them from the official readme.  @lucianlature so instead of deleting your branches we could recreate them on your github.  I would appreciate you taking ownership of them as me maintaining the merging of them all takes some effort. :)

Thinking about it more and more I think the separate repo strategy may be the best.  Then I don't need to limit anything, as anyone can create any extension they like and all I have to do is maintain a list of links. :)
It makes cloning off a target implementation far easier too.

Here is the workflow I used for creating my react-universally-redux repo:
# Clone required incubator branch into target new repo folder
git clone https://github.com/ctrlplusb/react-universally -b incubator/state/redux react-universally-redux

# Enter repo folder
cd react-universally-redux

# Create a master branch
git checkout -b master

# Rename the remote
git remote rename origin upstream

# Add the new repo target as origin remote
git remote add origin https://github.com/ctrlplusb/react-universally-redux.git

# Push master rebinding it to origin
git push -u origin master

# Set tracking of the master branch of react-universally
git branch --track up/master upstream/master

# Remove the old incubator branch
git branch -d incubator/state/redux

#
# Now you can use the following workflow to update your repo...

# Fetch the latest changes from react-universally master
git fetch upstream

# Merge any new changes from upstream master
git merge up/master

# Fix the merge conflicts and commit

Please let me know if you want to take ownership of any repos.
I am going to claim the apollo branch too.

Also, please try follow the example of react-universally-redux, i.e. have a small note at the top of the README.md that links to a FEATURE.md (sorry @lucianlature I told you BRANCH.md before).  It's best to keep the README.md the same across them to avoid merge issues on prose, which is far trickier.

I might steal jest and styletron as I am going to use these two a lot moving forward.  But will add you as a collaborators @strues and @lucianlature.

Ok, so that leaves me koa2, glamor and styled-components. Happy to host them in my GitHub account, but maybe some links from master's README.md could be also useful.

If you are happy to maintain them that would be awesome. :-)
Yeah follow the example I did in the react-universally-redux repo.
Also, you could consider the preact feature now ;)

I've added you as a contributor in the master repo.

Cool, cheers mate!

I liked the branches a lot more.  Trying to integrate apollo into redux, it seems easier doing it on my own based on the redux repository as opposed to checking the related -apollo repository because i can't find out what code is related to apollo compared to the base repo.

I was eyeballing styled-components, but
is there even the slightest twist with styletron? Looks amazing!
@lucianlature If you could keep the koa2 branch alive for a little while that would be great! Thats definitely something I want to investigate further. Thanks for the great work :)

@codepunkt - the Apollo feature already includes redux. :-)
I hear what you are saying, but I think if you choose one rep from each category(state/style/test) you can still attach them as up upstream and merge them into your target project. The projects all have their commit history maintained too. I'll play with a couple of workflows in this regard and document it.
I'm sorry if it's a disappointment but I feel like having any more branches than what we had was gonna get noisy, and like the openness that external repos provide. Each repo can then maintain their own master/next branches and issue lists etc. It's also easier for people to take ownership which takes workload off my plate.
Let's try find a happy medium. :-)

@ctrlplusb talking about workflows...
If all the feature branches were to be built ON TOP of master, one could also use a rebase-based workflow approach for the feature branches. I've found this to be a little less annoying than merging, but one might loose some history and in order to update one needs to force push which is probably not something everybody is comfortable with.

Yeah here you.we need to play. The current workflow I have been using its essentially a similar experience as merging master into a branch. Git does a great job of taking into account previous merges etc.
I guess if you plan to break away from react-universally completely in a project - then a rebase is highly appealing.

@LorbusChris I'm using koa2 for my projects instead of express, so that branch will stay alive for a long time, hopefully.
As decided, I will take care of my branches in my account.
Next to be released are the repositories for hapi support and preact integration instead of React, once they will be available I will drop the links.

@codepunkt
Ok, I managed to merge multiple repositories with minimal effort/issues.  I only had to deal with 2 merge conflicts even. :)
In my case I used react-universally-apollo and react-universally-jest.
Workflow:
# Select your "primary" repository (generally a "state" category I think)
git clone react-universally-apollo my-project

# Rename the "origin" appropriately
git remote rename origin upstream/apollo

# Add your project's repo remote target
git remote add origin https://github.com/ctrlpusb/my-project

# Push the current code to it, rebinding the master branch to the "origin" remote.
git push -u origin master

# Now select whatever other features you would like.
# In my case I wanted "jest"
git remote add upstream/jest https://github.com/ctrlplusb/react-universally-jest

# Fetch the latest from it
git fetch upstream/jest

# Merge into your project
git merge upstream/jest/master

# Deal with the conflicts, commit and push.

# Then any time you want updates it is a matter of repeating the above two
# steps. For example:
git fetch upstream/apollo
git merge upstream/apollo/master

Merging the yarn files are a pain.  I generally just select "merge all from theirs" and then kill the yarn file and run the yarn command again to rebuild it based on the current dependencies.

@ctrlplusb @LorbusChris
Created repositories for:

koa2: https://github.com/lucianlature/react-universally-koa2
Glamor: https://github.com/lucianlature/react-universally-glamor
Styled Components: https://github.com/lucianlature/react-universally-styled-components

Now you can tick off from the list above these three items, and then add these links to Extensions paragraph in README.md. :)

Awesome work @lucianlature!

The styletron feature repo is live too.
I now have a project with apollo, jest, and styletron merged.  :)
Working nicely so far! :)

Yep, same here ;)
Great stuff, I'm loving it!

@lucianlature please check out my styletron branch and let me know if you think it looks okay. Thanks.
https://github.com/ctrlplusb/react-universally-styletron

@ctrlplusb Looks good to me, sir 👍

@smirea - actually, that makes a lot of sense.
Do you know if I can fork my own repo though?

oh... that's unfortunate, github doesn't apparently allow for you to fork yourself :| annoying. Well hopefully others do it with other feature branches ^^

it might be extra work, but what do you think about having a standard "canonical" branch on every feature repo, that gets updated whenever the feature repo is rebased? (that gets fast forwarded on every rebase) That way we can use the branch diff tool.
It might even be better since the diff would reflect more relevant changes - as opposed to a fork diff which would compare against the current HEAD that probably has upstream commits

Some great feedback @smirea
I'll do some investigation! :)

The missings diffs are my main problem with that too.
However, you can rename a fork, see react-universally-found.
If one singular person can't maintain several forks of the same repo, maybe an organization can?

An organisation may be the way to go. Could be a cool option as all the features would be collocated then.
Currently you have to manually clone, add upstream remote and then do a git diff upstream/master.

Hmm, oki I tried creating an organisation and then forking within the org - it doesn't work. :(
Buuuut, if I moved react-universally into the org I could then fork the repo to produce feature repos.

The compare view of @LorbusChris's repo:
https://github.com/ctrlplusb/react-universally/compare/master...LorbusChris:found
It is useful. :)

Would rebasing of the fork affect the compare view?

Forks feel like the simplest/sanest solution for now...
Yep, the compare may be running against a master that is ahead in terms of commits like you point out @smirea but I am afraid of complexity here.
Any other ideas chaps?

Argh, actually one other issue with forks: you can only fork a repo once. :(
Clones are unfortunately the only way forward, but perhaps we could bake in tooling that allowed you to view a diff?
Feels more complex than I would have liked though...

Hopefully I'm not derailing the conversation too much here. I've been skimming over the recent discussions and am wondering if it might be worth looking into writing the additional repos as a yeoman generator instead?
From everything we've been discussing, it honestly feels like we're doing everything we can to give the flexibility of a yeoman generator, without actually providing a yeoman generator.

@strues - please, derailing is welcome! :)
Hmm, I don't think generators quite have the same value here.  In our current case we can merge together any of the repos (or branches) to suite our needs.  With generators we would need to create pre-baked combinations to achieve the similar as I don't think we could rely on a script to execute merging automatically.

I have been looking at this more and more and I am going to do a 180 on this decision.
I'm sorry guys, it's my bad, I was a bit hasty in this decision without involving you all.  I'll do the copy and pasting into branches.  It will be much easier to manage the branches in the repo.  I think we can have them follow the same strategy of having a FEATURE.md.  I'll just need to add more collaborators to the project if need be.
I am going to change the branching strategy though.  No more "incubation".  It'll just be straight up "feature/branchname".  This way it will feel much easier to grok and maintain the branches.  We can use the PR system to prove updates to branches.  It's the master branch which needs an "incubation" branch (i.e. next).
I humbly apologise to everyone!
@codepunkt - you were right! :)
I am going to start creating the branches for my feature repos now.  I'll leave the repos be for now just in case someone comes up with an amazing strategy, but for now I think the simple branching strategy is the easiest for everyone to use all round.

Oooh maaaan... 😠

@lucianlature - I know I know - I am so sorry for wasting your time like this.  But I think its better to do what is right for everyone.  I am really really really sorry.
Don't worry about merging your branches.  I am already doing it for you.

Could this help?

I don't think so no. :(

Phew... okay I have done the initial porting.  That was some karmic reaction!

@codepunkt @strues @LorbusChris @bkniffler @enten @carsonperrotti @smirea
Hey everyone!  I have finally finished the admin of bringing in and updating all branches.... phew.
I am so sorry for the rollercoaster I put you all on. And I am especially sorry to you @lucianlature - I know the time you invested in this and I can completely understand your frustration.  I'll try be a bit less hasty with future decisions.  I really hope this doesn't deter your enthusiasm for the project, which I was really enjoying.
I have updated all branches to be inline with the latest release (10.2.0).  We need a strategy for maintaining the quality of the branches, ensuring that they are always inline with the latest project version (or that they become deprecated).  Here is my proposed strategy:

Have a next branch which lines up all changes to become a new master version.
When we are happy with the state of next and are ready for a push we start a PR update process of all existing branches, merging in the changes from next.
Then we can deploy the new version side by side to accepting all PRs.

Thoughts?

And you're right: you need to be clear about the feature branch's lifecycle. Maybe it's the moment to start a contributing guide (based on your post above).
I'm not a git expert but the strategy that you describe sound good for me.

Closing this...

Just got caught up here. I agree with @enten's point above here. Happy to help out and still contribute as much as I can to the branches. I'll have much more time too as we start approaching the holidays.


Is it possible to compute a hash function (md5Hash) inside security rules?

Hello,
I would like to create a custom security rule where I check if md5Hash(auth.uid) === "foo". Is there any way to do it using bolt?
Thanks,

This isn't really related to bolt, but just whatever functions are available in Firebase Database Rules, so I'm going to close this out (but we got your feature request, so thanks!)

@rockwotj I kind of have a use case for the same. Is there a link where I can check the current status of this feature request?

Sadly, we don't have a public issue tracker or anything available for you to track @justi-n

@botmane @justi-n Can you explain what your use cases are?

/cc @scottcrossen @ryanpbrewster

Hi @scottcrossen! I'm having trouble getting correct hash values. Posted a question earlier here: https://stackoverflow.com/questions/61565409/firebase-security-hashing-uid-doesnt-match-client-computed. Basically the result of hashing.md5(request.auth.uid.toUtf8()).toBase64() don't match what I'm computing in other libraries. Any thoughts?

I had a use case for this as well. Great feature.

An example that works:
Rule:
match /doc/{userID} {
        allow read, write: if hashing.md5(request.auth.uid.toUtf8()).toHexString() == userID;
}

Dart: (similar in your programming language of choice)
 String _getHashedUid(String uid) => md5
      .convert(uid))
      .toString()
      .toUpperCase();


Images - Too much space with 1 or 2 images

This image does not need all this space. It appears with 1 or 2 images.
Suggested solutions

Recode CSS to make some dynamic with of the element, like inline-block or flexbox. Make it feel the width by letting the images pressing the walls.
Make cases for the first and second image.

Actually I'm already doing both. Need to investigate why for you the 1/2 image cases don't trigger.

Ahh, wait! Don't do anything!

Ahh. Yes, PHP counts the files/images and applies a class for 1, 2, default or more then 12. And based on these classes some min-width and stuff is applied.

Solved then but if it's possible to do it with pure CSS I think it would be nicer but it works so it's fine.


Support command attribute on languages contribution

I know opening custom editors for non text files has been raised before but discussion seems to have stalled. Instead, I'll propose the start of a solution.
The example that brought this to the forefront again was the vscode-pdf extension. It's probably the best done that I've seen but is still a huge hack and you still get a pretty weird user experience.
It listens for onDidOpenTextDocument and if the document has the language id it added, i.e. "pdf", it closes the active editor (assuming I guess that the current document is in the active editor), and opens up it's custom editor that renders pdf files instead.
That is essentially the behavior we're looking for. But I can imagine it would be much cleaner if we were allowed to register a command id with the language that would be run when opening the text document that short circuits the hack needed in the extension.
That still leaves hooking up editor menu commands like undo and save, but at least we could get viewers like the PDF one working much more cleanly.

/duplicate of https://github.com/Microsoft/vscode/issues/12176

Closing as dupe of https://github.com/Microsoft/vscode/issues/12176. Adding a command to the languages is really not the right layer for this. This should be done somewhere in the opening world...


sccache: 0.2.11 -> 0.2.12

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/sccache/versions.
meta.description for sccache is: '"Ccache with Cloud Storage"'.
meta.homepage for sccache is: '"https://github.com/mozilla/sccache"
Compare changes on GitHub

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 0.2.12 with grep in /nix/store/2cwh4b2brnxbvg41cgwsbsaxkabmldq4-sccache-0.2.12

directory tree listing: https://gist.github.com/53f695e7ab4ae74fe9bd8fc2e1716898

du listing: https://gist.github.com/043671a70bfe1964c648508679275d0c

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

4 total rebuild path(s)
1 package rebuild(s)
1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
sccache

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/2cwh4b2brnxbvg41cgwsbsaxkabmldq4-sccache-0.2.12 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A sccache https://github.com/r-ryantm/nixpkgs/archive/4adf207fae575b75b59dda0028bc4d0e3be8c0f5.tar.gz

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

cc @doronbehar for testing.

Seems to be working with --help. Haven't tried a real world Rust project but I don't expect any surprises.


How can I help with the GithubActions-to-Nuget work?

I'm interested in helping with that if neccesary. I don't have much knowledge about it, but I'm willing to learn.
Where should I start?

I've actually been playing with it in my spare time with another xamarin library I work on and I think I got that covered. I appreciate your interest in helping, I'm always accepting pull requests for bugs and new charts.

I've actually been playing with it in my spare time with another xamarin library I work on and I think I got that covered. I appreciate your interest in helping, I'm always accepting pull requests for bugs and new charts.

That's great news. Thanks for your work on this

That's great news. Thanks for your work on this