text:
Update stylelintrc and new dependencies for it

Alaska Airlines Pull Request
Fixes: #83
Summary:
This is a refactor and expansion of our .stylelintrc configuration in order to better support and enforce our desired styleguide.
This change includes adding stylelint-order. This package enables stylelint to enforce the order of declarations in order to improve readability. idiomatic order of attributes is configured in the .stylelintrc file in order to group related properties.

alphabetic ordering

color: red;
height: 300px;
left: 20px;
position: absolute;
top: 0;
width: 300px;

idiomatic

position: absolute;
top: 0;
left: 20px;

height: 300px;
width: 300px;

color: red;

Additionally stylelint-scss and associated lint rules have been added so that we can properly lint declarations that are scss specific (e.g. @extend, nested rules).
Finally, the lint script has been changed. Previously the workflow was to compile the SCSS files into style.css and then lint that CSS file. This created three connected issues.

Lint errors were not clearly linked back to the code written by the developer. Linting the SCSS file directly results in direct line # reference to the issue.
The lint rules should be enforcing the style guidelines for local code only. We shouldn't block commits for styleguide issues with third party code.
Some of the common @imports we already use don't meet all style guide expectations. By linting the compiled CSS we block commits for issues that are not addressable within scope of the component.

Lint rules changes overview:
Generally speaking - lint rules that were previously in place continue to exist as they did before. The main change is around how the "extends" aspect of the config file works. Previously we had a small set of local rules that extended off the "standard" config which in turn extended off the "common" config. After implementing stylelint-order the config is now extended off the idiomatic config which contains only rules for ordering. All of the rules that were contained in the "common" and "standard" rules used in the old format are ported into the new .stylelintrc file as local rules in order to preserve them in the new config. Additionally, a review of all stylelint and stylelint-scss rules have been reviewed and gaps in the common and standard configs have been added to our local config.
Type of change:
Please delete options that are not relevant.

[ ] New capability
[x] Revision of an existing capability
[ ] Infrastructure change (automation, etc.)
[ ] Other (please elaborate)

Checklist:

[x] My update follows the CONTRIBUTING guidelines of this project
[x] I have performed a self-review of my own update

By submitting this Pull Request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Pull Requests will be evaluated by their quality of update and whether it is consistent with the goals and values of this project. Any submission is to be considered a conversation between the submitter and the maintainers of this project and may require changes to your submission.
Thank you for your submission!
-- Auro Design System Team

Good to see the improvements to the lint script.
This does seem like a lot of rules to maintain, especially since this will be copied between components. If possible, we should extend the recommended + order configs (see review comment). If this is not possible or there's still a lot of rules left, I'd like to look into adding a remote stylelint config like we're doing for ESLint (#100) to make updating it between components easier.

Yes! I was thinking the same thing, @geoffrich. I believe @blackfalcon was wanting to tackle that as a separate issue where we may move even more items into external dependencies.

I am really confused? Was this merged? I see that this was closed, but it's not in commits for the next branch?

I am really confused? Was this merged? I see that this was closed, but it's not in commits for the next branch?
@blackfalcon This definitely should not have been closed. Looks like maybe I accidentally clicked close with comment when replying to Geoff above. I just reopened it.

Two things.

The commit Update stylelintrc and new dependences for it needs to be updated to have a proper prefix and correct typo.
the list of rules, where did this come from? Is there a doc out there that has examples of all these rules?

@blackfalcon on these bullet points:

I sent you a message earlier today asking if this would be a ci or a build change. Guessing it's ci but I am not sure. Let me know which is best and I'll update.
All the rules used are the standard rules as outlined in the stylelint and stylelint-scss documentation.

I sent you a message earlier today asking if this would be a ci or a build change. Guessing it's ci but I am not sure. Let me know which is best and I'll update.

Didn't see that message. It 'could' be ci, build or test, it's kind in the middle of all of that. I would suggest that whatever you do with, pass in linter in the scope of the prefix.
E.g. ci(linter): ...

2. All the rules used are the standard rules as outlined in the stylelint and stylelint-scss documentation.

This is what I was looking for: https://github.com/kristerkari/stylelint-scss#list-of-rules
I submitted a PR to the repo to see if we can get the rules out of the README and into an independent page, then we can add this document to the doc site like we do with the eslint rules.

We need to note somewhere that there is a healthy list of issues to reference if they run into issues with developing new Sass.
https://github.com/kristerkari/stylelint-scss/issues?page=1&q=is%3Aissue+is%3Aopen

repo: AlaskaAirlines/WC-Generator


text:
关于python中 Web3.isChecksumAddress方法问题

发现Web3.isChecksumAddress  方法体 直接返回true,不能判断地址,请查看
def is_checksum_address(val):
return True

不需要关注该接口了，直接使用Web3.isAddress接口，由于之前的改了，没有及时更新文档，等后期更新下文档即可

source: gharchive/issue

authors: lyc-huc zhanglonglongSH

repo: AlayaNetwork/client-sdk-python

license: MIT

license_type: permissive

license_source: github-api


text:
Run cargo update

Replaces https://github.com/AleoHQ/snarkOS/pull/1709 and https://github.com/AleoHQ/snarkOS/pull/1710.

running 1 test
test helpers::block_requests::tests::test_block_requests_case_2cbb ... FAILED

failures:

---- helpers::block_requests::tests::test_block_requests_case_2cbb stdout ----
thread 'helpers::block_requests::tests::test_block_requests_case_2cbb' panicked at 'assertion failed: `(left == right)`
  left: `AbortAndDisconnect(TwoCBA, ExceededForkRange)`,
 right: `Proceed(TwoCBB, BlockRequestHandlerProceed { start_block_height: 608, end_block_height: 857, ledger_is_on_fork: true })`', network/src/helpers/block_requests.rs:573:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

failures:
    helpers::block_requests::tests::test_block_requests_case_2cbb

Cc https://github.com/AleoHQ/snarkOS/issues/1634

source: gharchive/pull-request

repo: AleoHQ/snarkOS


text:
why use execFileSync to check if support powershell but execFile

Related source code is list below:
https://github.com/Alex-D/check-disk-space/blob/d678b42e13facb8bf0803e5b410c78fde4f056ff/src/functions/hasPowerShell3.ts#L17
I cant figure out why not use execFile  which is async and does not block ui（especially in Electron）.
Appreciate to anyone reply.

You're right, I should use an async call ^^'

Now fixed in 3.4.0

authors: Alex-D zhoushaokun

repo: Alex-D/check-disk-space

license: mit

license_source: bigquery


text:
Help, error - (25)

Please help bot displays error:
Error: There was an error accepting this trade offer.  Please try again later. (25)

#121
Also,
LimitExceeded = 25;

You have too many trade offers, either total or too one person.

sorry


text:
Patrocinadores

wachalo

quedo cabron

repo: AlexNachoVC/Meditec


text:
Please remove all Console.WriteLine calls in the parsers

Console.WriteLine is not the appropriate way to log debug information (example: https://github.com/AlexPoint/SubtitlesParser/blob/master/SubtitlesParser/Classes/Parsers/MicroDvdParser.cs#L77)
Not only it brings noise to the Console applicaitons, it also crashes when this code is ran in Windows Service environment.

You're right, this "Console.WriteLine" statement is probably a remnant of my debugging.
It would be great if you can a pull request fixing this issue.

authors: AlexPoint NikolayIT

repo: AlexPoint/SubtitlesParser


text:
coin coges. init error. (5р в 10р тубе. )

лежал 5 в 3 трубе
probe device=coin required=true: coin.init: coin.ExpansionSendDiagStatus: Diag response must be 0..8 words of 16 bit
как зытычка required=false:

fix

repo: AlexTransit/vender


text:
Hangs with black screen at Starting VM 'macOS-VM' (3 minutes in the VM)...

To Reproduce
Steps to reproduce the behavior:
Setup: on macOS 10.14.6 trying to create a Catalina virtual machine

run make all
VirtualBoxVM -> macOS-VM hangs with black screen at the first Starting VM 'macOS-VM' (3 minutes in the VM)...
when pressing enter it successfully ejects the installer medium and starts the vm ending on Trying to find a bootable device... Failed. as of course nothing has been installed in step 2

Expected behavior
That it boots the installer medium and Catalina gets installed.
I used this script earlier to install other versions than Catalina and it always worked like a charm.
Additional context
The log file seems fine except for the following error. Not sure what it means though:
VBoxManage: error: VDI: cannot create image '/Users/fakob/VirtualBox VMs/macOS-VM.efi.vdi'
VBoxManage: error: Error code VERR_ALREADY_EXISTS at /Users/vbox/tinderbox/6.0-mac-rel/src/VBox/Storage/VDI.cpp(680) in function int vdiImageCreateFile(PVDIIMAGEDESC, unsigned int, PVDINTERFACEPROGRESS, unsigned int, unsigned int)
VBoxManage: error: Cannot create the disk image "/Users/fakob/VirtualBox VMs/macOS-VM.efi.vdi": VERR_ALREADY_EXISTS

Complete log file
[2019-12-21 16:40:12] Running checks (around 1 second)...
[2019-12-21 16:40:12] .
[2019-12-21 16:40:12] Creating image '/Users/fakob/VirtualBox VMs/macOS-VM.dmg' (around 20 seconds, version 15.2.02, will need sudo)...
[2019-12-21 16:40:12] .
created: /Users/fakob/VirtualBox VMs/macOS-VM.dmg

/dev/disk2          	Apple_partition_scheme
/dev/disk2s1        	Apple_partition_map
/dev/disk2s2        	Apple_HFS                      	/Volumes/macOS-VM
WARNING: "--applicationpath" is deprecated in macOS 10.14 and greater. Please remove it from your invocation.
Erasing disk: 0%... 10%... 20%... 30%... 100%
Copying to disk: 0%...
 10%...
 20%...
 30%...
 40%...
 50%...
 60%...
 70%...
 80%...
 90%...
 100%
Making disk bootable...
Copying boot files...
Install media now available at "/Volumes/Install macOS Catalina"
"disk2" ejected.
[2019-12-21 16:48:59] Creating iso '/Users/fakob/VirtualBox VMs/macOS-VM.iso.cdr' (around 25 seconds)...
[2019-12-21 16:48:59] .
Reading Driver Descriptor Map (DDM : 0)…
Reading Apple (Apple_partition_map : 1)…
Reading  (Apple_Free : 2)…
Reading disk image (Apple_HFS : 3)…
Elapsed Time:  5m 11.748s
Speed: 32.8Mbytes/sec
Savings: 0.0%
created: /Users/fakob/VirtualBox VMs/macOS-VM.iso.cdr
[2019-12-21 16:54:11] Creating VM HDD '/Users/fakob/VirtualBox VMs/macOS-VM.vdi' (around 1 minute)...
[2019-12-21 16:54:11] .
created: /Users/fakob/VirtualBox VMs/macOS-VM.sparseimage
Converting from raw image file="/dev/disk2" to file="/Users/fakob/VirtualBox VMs/macOS-VM.vdi"...
Creating dynamic image with size 34359738368 bytes (32768MB)...
Disk /dev/disk2 ejected
[2019-12-21 16:56:43] Adding APFS drivers to EFI in '/Users/fakob/VirtualBox VMs/macOS-VM.efi.vdi' (around 5 seconds)...
[2019-12-21 16:56:43] .
created: /Users/fakob/VirtualBox VMs/macOS-VM.efi.sparseimage
Volume EFI on /dev/disk2s1 mounted
Volume EFI on disk2s1 unmounted
Converting from raw image file="/dev/disk2" to file="/Users/fakob/VirtualBox VMs/macOS-VM.efi.vdi"...
Creating dynamic image with size 1048576 bytes (1MB)...
Disk /dev/disk2 ejected
[2019-12-21 16:56:46] Creating VM 'macOS-VM' (around 2 seconds)...
[2019-12-21 16:56:46] .
Virtual machine 'macOS-VM' is created and registered.
UUID: 70dd8e49-fe9d-4e39-8bf2-659b3e14661b
Settings file: '/Users/fakob/VirtualBox VMs/macOS-VM/macOS-VM.vbox'
[2019-12-21 16:56:47] Adding installer DVD for VM 'macOS-VM'...
[2019-12-21 16:56:47] .
[2019-12-21 16:56:47] Adding APFS drivers to EFI in '/Users/fakob/VirtualBox VMs/macOS-VM.efi.vdi' (around 5 seconds)...
[2019-12-21 16:56:47] .
Volume EFI on /dev/disk2s1 mounted
Volume EFI on disk2s1 unmounted
Converting from raw image file="/dev/disk2" to file="/Users/fakob/VirtualBox VMs/macOS-VM.efi.vdi"...
Creating dynamic image with size 1048576 bytes (1MB)...
VBoxManage: error: VDI: cannot create image '/Users/fakob/VirtualBox VMs/macOS-VM.efi.vdi'
VBoxManage: error: Error code VERR_ALREADY_EXISTS at /Users/vbox/tinderbox/6.0-mac-rel/src/VBox/Storage/VDI.cpp(680) in function int vdiImageCreateFile(PVDIIMAGEDESC, unsigned int, PVDINTERFACEPROGRESS, unsigned int, unsigned int)
VBoxManage: error: Cannot create the disk image "/Users/fakob/VirtualBox VMs/macOS-VM.efi.vdi": VERR_ALREADY_EXISTS
Disk /dev/disk2 ejected
[2019-12-21 16:56:48] Starting VM 'macOS-VM' (3 minutes in the VM)...
[2019-12-21 16:56:48] .
Waiting for VM "macOS-VM" to power on...
VM "macOS-VM" has been successfully started.
[2019-12-21 16:56:52] Press enter to stop the VM and to eject the installer medium (to avoid an installation loop)...
[2019-12-21 16:56:52] .
0%...
10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
[2019-12-21 17:05:15] Ejecting installer DVD for VM 'macOS-VM'...
[2019-12-21 17:05:15] .
[2019-12-21 17:05:15] Starting VM 'macOS-VM' (3 minutes in the VM)...
[2019-12-21 17:05:15] .
Waiting for VM "macOS-VM" to power on...
VM "macOS-VM" has been successfully started.

Seems Oracle will fix it in the next update: https://www.virtualbox.org/ticket/19188

@AlexanderWillner VB v6.1.4 was released yesterday. I've just upgraded my guest Catalina to 10.15.3 without issues.

repo: AlexanderWillner/runMacOSinVirtualBox


text:
Fix german translations

Fixes some wrong german translations

@DJaeger Thank you!
P.S. Would be great if you could give a star to the repo :) Thanks

authors: AlexandrErohin DJaeger


text:
FileNotFoundError: [Errno 2] No such file or directory: './Allen_Pat02_ID/output/vcf_files_corrected/cancer_clustered/INDEL/output/ID/cancer_clustered.ID83.all'

Hi,
when I used SigProfilerClusters to generate clustered indel result using the code as below
import sys
from SigProfilerMatrixGenerator import install as genInstall
from SigProfilerSimulator import SigProfilerSimulator as sigSim
from SigProfilerClusters import SigProfilerClusters as hp
if __name__ == '__main__':
	sigSim.SigProfilerSimulator("cancer", "./Allen_Pat110_ID/", "GRCh37", contexts = ["ID"], simulations=100)
	hp.analysis("cancer", "GRCh37", "ID", ["ID"], "./Allen_Pat110_ID/", analysis="all", interdistance='ID', sortSims=True, subClassify=True, correction=True, calculateIMD=True, max_cpu=1, TCGA=True, sanger=False)

I got error message in "SigProfilerClusters_cancer_GRCh37_2022-04-25.err" file:
Traceback (most recent call last):
File "/share/home/shuo.shi/APOBEC/SigProfiler//script/cluster.ID.py", line 7, in
hp.analysis(sys.argv[1], "GRCh37", "ID", ["ID"], sys.argv[2], analysis="all", interdistance='ID', sortSims=True, subClassify=True, correction=True, calculateIMD=True, max_cpu=1, TCGA=True, sanger=False,exome=True)
File "/share/home/shuo.shi/anaconda3/lib/python3.9/site-packages/SigProfilerClusters/SigProfilerClusters.py", line 590, in analysis
regions, imds = hotspot.hotSpotAnalysis(project, genome, contexts, simContext, ref_dir, windowSize, processors, plotIMDfigure, exome, chromLengths, binsDensity, original, signature, percentage, firstRun, clustering_vaf, calculateIMD, chrom_based, correction)
File "/share/home/shuo.shi/anaconda3/lib/python3.9/site-packages/SigProfilerClusters/hotspot.py", line 1151, in hotSpotAnalysis
with open(ref_dir + "output/vcf_files" + path_suffix + "/" + project + "_clustered/INDEL/output/ID/" + project + "_clustered.ID83.all" ) as f:
FileNotFoundError: [Errno 2] No such file or directory: './Allen_Pat110_ID/output/vcf_files_corrected/cancer_clustered/INDEL/output/ID/cancer_clustered.ID83.all'
And I also tried with the BRCA_example.vcf (https://osf.io/qpmzw/wiki/5. Quick Start Example/) with the same parameter setting like below
import sys
from SigProfilerMatrixGenerator import install as genInstall
from SigProfilerSimulator import SigProfilerSimulator as sigSim
from SigProfilerClusters import SigProfilerClusters as hp
if __name__ == '__main__':
	sigSim.SigProfilerSimulator("BRCA", "./example/", "GRCh37", contexts = ["ID"], simulations=100)
	hp.analysis("BRCA", "GRCh37", "ID", ["ID"], "./example/", analysis="all", interdistance='ID', sortSims=True, subClassify=True, correction=True, calculateIMD=True, max_cpu=1, TCGA=True, sanger=False)

However, this time I got the error message in SigProfilerSimulator_BRCA_GRCh37_2022-04-26.err file as below:
Traceback (most recent call last):
File "/share/home/shuo.shi/APOBEC/SigProfiler/cluster.ID.example.py", line 6, in
sigSim.SigProfilerSimulator("BRCA", "./example/", "GRCh37", contexts = ["ID"], simulations=100)
File "/share/home/shuo.shi/anaconda3/lib/python3.9/site-packages/SigProfilerSimulator/SigProfilerSimulator.py", line 395, in SigProfilerSimulator
sample_names, mut_prep = simScript.mutation_preparation(catalogue_files, log_file)
File "/share/home/shuo.shi/anaconda3/lib/python3.9/site-packages/SigProfilerSimulator/mutational_simulator.py", line 498, in mutation_preparation
with open (catalogue_files[context]) as f:
FileNotFoundError: [Errno 2] No such file or directory: './example/output/ID/BRCA.ID83.all'
Please let me know how to fix it ?

Hi,
This is caused by your sample(s) not having clustered mutations present. I have updated the tool to now include an output statement notifying the user that no clustered mutations (1.0.9). Please update your version the tool.
The example BRCA sample does not contain indels, which is why you are seeing this issue with that file.
Thanks!

Hi,
Thanks for your quick reply. And I updated SigProfilerClusters to version 1.0.9 as you suggested and run the code with an vcf contained indels. This time it seems work. However when I check the result file "output/clustered/ID/test.vcf", I can not found the cluster info.
#CHROM	POS	ID	REF	ALT	QUAL	FILTER	INFO
X	15429073	test	T	CTC	.	.	ClusteredAnalysis
X	15429355	test	G	ATC	.	.	ClusteredAnalysis
X	16603461	test	C	GTC	.	.	ClusteredAnalysis
X	16603493	test	C	ATC	.	.	ClusteredAnalysis
X	16603885	test	C	GTC	.	.	ClusteredAnalysis
X	16603954	test	C	GTC	.	.	ClusteredAnalysis
X	16604434	test	C	TTC	.	.	ClusteredAnalysis
X	16604571	test	C	TTC	.	.	ClusteredAnalysis
X	16606097	test	C	GTC	.	.	ClusteredAnalysis

How so?

Hi,
I have run your example file; however, given the small number of events, there are no statistically significant clustered events present (the lower number of clustering could still happen by chance, therefore, they are not classified as confident clustered events). Thus, you will not expect to see any clustered info within the clustered/ID/test.vcf file. Additionally, if you expect clustered mutations, you also need to have subClassify=True to create these outputs.
The error that you are experiencing is also attributed to having too few mutations for this analysis. To help in running and understanding the indel analysis, I have now uploaded a new breast cancer sample that has only indels to the OSF wiki page. I recommend running this sample to see the expected output.
Please try the example file, and let us know if this still gives you issues.
Thanks.

Hi,
I used the BRCA-EU_SP117344.indel.vcf file and the code as below, in which subClassify=True. However the result file "example/output/clustered/ID/BRCA-EU_SP117344.vcf" still not contained cluster info (groupNumber info). Ps. "ID/BRCA-EU_SP117344.vcf" is the only one file under the "example/output/clustered/".
import sys
from SigProfilerMatrixGenerator import install as genInstall
from SigProfilerSimulator import SigProfilerSimulator as sigSim
from SigProfilerClusters import SigProfilerClusters as hp
if __name__ == '__main__':
	sigSim.SigProfilerSimulator("cancer", "./example/", "GRCh37", contexts = ['ID'], simulations=100)
	hp.analysis("cancer", "GRCh37", "ID", ["ID"], "./example/", analysis="all", interdistance='ID',sortSims=True, subClassify=True, correction=True, calculateIMD=True, max_cpu=1, TCGA=True, sanger=False)

head 10 lines of "example/output/clustered/ID/BRCA-EU_SP117344.vcf" file:
#CHROM	POS	ID	REF	ALT	QUAL	FILTER	INFO
X	13755496	BRCA-EU_SP117344	GTT	G	.	.	ClusteredAnalysis
X	13756920	BRCA-EU_SP117344	ACTGATATAAAAATATGTCTACTTAGTAACCTATTTTTTCTTAAGGTATTTACTATGCAGGATCTATTACAACTCATTAAAATCAACCCTACTTCCAGT	A	.	.	ClusteredAnalysis
X	48399674	BRCA-EU_SP117344	ATGGTGATGGGGCCCC	A	.	.	ClusteredAnalysis
X	48400142	BRCA-EU_SP117344	GACTTAGGATTTTTCA	G	.	.	ClusteredAnalysis
1	193426800	BRCA-EU_SP117344	AT	A	.	.	ClusteredAnalysis
1	193427119	BRCA-EU_SP117344	GGAAAGACTACT	G	.	.	ClusteredAnalysis
2	17656445	BRCA-EU_SP117344	TCATATTATTTAAAAACATAAC	T	.	.	ClusteredAnalysis
2	17657570	BRCA-EU_SP117344	TATGG	T	.	.	ClusteredAnalysis
2	179799847	BRCA-EU_SP117344	CTT	C	.	.	ClusteredAnalysis

Hi,
This is the expected output as we do not provide group numbers for clustered indels. I will close this issue now that you appear to be getting the expected output. Please feel free to reopen, or open a new issue if you experience additional issues.
Thank you!
-Erik

repo: AlexandrovLab/SigProfilerClusters


text:
Feature request: view module for hikari compositor

Hikari is a stacking Wayland compositor using wlroots.
It would be nice to have a Waybar module for hikari's views (the same as workspaces for river and sway)

It depends on itsvWayland compositor itself, sigh. Join the matrix room.

repo: Alexays/Waybar


text:
Icons off centered

css:

* {
    border: none;
    font-family: Iosevka, FontAwesome, Noto Sans CJK, Jetbrains Nerd Font, sans-serif;
    font-size: 16px;
    min-height: 0;
    margin-bottom: 0;
}

window#waybar {
    font-family: Iosevka, FontAwesome, Noto Sans CJK, "JetBrains Mono NerdFont";
    background-color: transparent;
    font-size: 0.8rem;
}

.module {
    background: rgba(5, 1, 13, 0.5);
    border-radius: 8px;
    margin: 3pxS;
}

#custom-launcher {
    color: @BLUE;
    border-radius: 10px;
    padding: 8px 8px 8px 8px;
    /* font-size: 2.5rem; */
}

config:
    "custom/launcher": {
        "format": "󰣇",
        // "on-click": "bash $HOME/.config/rofi/launcher.sh",
        //    "on-click": "wofi --show drun -I -a -n -W 500 -H 376 -s ~/.config/wofi/themes/gruvbox.css",
        // "on-click-right": "bash $HOME/.config/rofi/run.sh"
        //    "on-click-right": "wofi --show run -I -a -n -W 500 -H 376 -s ~/.config/wofi/themes/gruvbox.css"
    },

uncertain if theres other factors that need to be included.
im using waybar from arch extra repo
using hyprland

for some reason     padding-left: 12px; fixes it?

I'm also have trouble with that.
Padding different amounts on left, right etc not always solves for me; Having a space or spaces on the config helps... sometimes.
This "format": " <icon_here> " instead of this "format": "<icon_here>"; and some icons behave differently from other even being from the same source (nerdfonts on my case).

margin: 3pxS;

You have a misspell here that you probably already fixed and wouldn't (probably) make no difference.

i also have this

When I try for example FontAwesome Fedora  icon and Nerd Fonts Fedora  icon on the same custom item, they act differently in the same configuration. Font Awesome stays correctly centered, Nerd Fonts' one acts like is right aligned of if a another space was added to push it to the right.
On the other hand, if I get the Tux/Linux icon (,) they both go slight to the right too. Of course they're different fonts, but still a weird behavior.

I was setting just one font, Inter Variable, as my font with some features enabled and just had some Nerd Fonts Installed Font Awesome 6 (Free and Brands) were also installed. My CSS files had this:
* {
    all: unset;
    font-size: 16px;
    font-family: 'Inter';
    animation-timing-function: steps(12);
    animation-duration: 0.3s;
    transition: all 0.3s cubic-bezier(0.79, 0.33, 0.14, 0.53);
}

Showing just changed/added lines from now on.
I changed to
    font-family: 'Inter Variable';
    font-feature-settings: '"zero", "tnum", "ss01", "ss02", "ss03", "cv01"';

After this
    font-family:'Inter Variable','SpaceMono Nerd Font','JetBrainsMono Nerd Font','Symbols Nerd Font Mono';

One thing I noticed just today, because I never read the README.md, from one of the Nerd Fonts, is that for GUI:

Which font?
TL;DR

Pick your font family:

If you are limited to monospaced fonts (because of your terminal, etc) then pick a font with Nerd Font Mono (or NFM).
If you want to have bigger icons (usually around 1.5 normal letters wide) pick a font without Mono i.e. Nerd Font (or NF). Most terminals support this, but ymmv.
If you work in a proportional context (GUI elements or edit a presentation etc) pick a font with Nerd Font Propo (or NFP).

So now set it to this to test:
font-family:'Inter Variable','Symbols Nerd Font';

Becoming this, at the end
* {
    all: unset;
    font-size: 16px;
    font-family: 'Inter Variable', 'Symbols Nerd Font';
    font-feature-settings: '"zero", "tnum", "ss01", "ss02", "ss03", "cv01"';
    animation-timing-function: steps(12);
    animation-duration: 0.3s;
    transition: all 0.3s cubic-bezier(0.79, 0.33, 0.14, 0.53);
}

I changed completely my configuration and style for Waybar (and Swaync, wlogout et): I don't use PX as a unit anymore. I'm using REM instead, just the main reset have it the PX since REM will be calculated from that. With all my changes I'll have to test it to see if using a non-mono font for symbols solves the misalignment issue. In my current configuration + style I'm not seeing it. I'll test in the old one. Encourage everybody make the changes to a copy of their CSS to test it.

After a lot of tries to fix this, I can confirm  switching to a nerd font which isn't monospaced worked for me. I got the font name with fc-list | grep "nerd symbols" , and put it at the * in my styles.css. Hope you figure it out too, thanks for sharing the docs which I would've never read.

After a lot of tries to fix this, I can confirm switching to a nerd font which isn't monospaced worked for me. I got the font name with fc-list | grep "nerd symbols" , and put it at the * in my styles.css. Hope you figure it out too, thanks for sharing the docs which I would've never read.

After that change I see not problems on my main and other CSSs that I have. Even the ones I'm playing with, I'm not seeing the problem happen.


text:
bar height less than 30px

Hi
https://github.com/eoli3n/dotfiles/tree/wayland/roles/sway/files/waybar
I tried to set font size to 5, to see if padding does that heavy bar, but it still is 30px.

~/.config/waybar
❯ grep -ri height

Is there any way to have a bar flatter than 30px ?
Adding
{
    "layer": "bottom",
    "position": "top",
    "height": 10,
...

Results in this weird thing. Size of the area is reduced, but not the bar itself. Window area overrides bar.

This issue appears to be due to the GTK+3 theme that's applied to Waybar, which is setting that minimum height. See #185 for more on that (as well as a workaround).

Yeah as @Exemplive said it's a duplicate of #185

authors: Alexays Exemplive eoli3n


text:
Fix GTK crash due to wlr/workspace module upon reconnecting monitor

This pull request fixes abnormal termination of waybar when using the wlr/workspace module and reconnecting a monitor.
Currently the behavior of disconnecting a monitor is the following: The workspace manager is destroyed immediately, but the compositor can send further messages. This results in GTK exiting with the following error message:
Gdk-Message: 16:01:27.831: Error reading events from display: Invalid argument

This pull request adds sending a stop request to instruct the compositor not to send any further messages. This is the same principle used in b79301a5bd.
Fixes #1783.

LGTM

authors: Alexays julianschuler


text:
Add debug log message to print each bar's widget tree

This is very useful when writing CSS that affects more than just a single widget. Pass -l debug to enable debug logging and show this information.
Example output:
[2020-11-30 12:38:51.141] [debug] GTK widget tree:
window#waybar.background.bottom.eDP-1.:dir(ltr)
  decoration:dir(ltr)
  box.horizontal:dir(ltr)
    box.horizontal.modules-left:dir(ltr)
      widget:dir(ltr)
        box#workspaces.horizontal:dir(ltr)
      widget:dir(ltr)
        label#mode:dir(ltr)
      widget:dir(ltr)
        label#window:dir(ltr)
    box.horizontal.modules-center:dir(ltr)
    box.horizontal.modules-right:dir(ltr)
      widget:dir(ltr)
        box#tray.horizontal:dir(ltr)
      widget:dir(ltr)
        label#idle_inhibitor:dir(ltr)
      widget:dir(ltr)
        label#pulseaudio:dir(ltr)
      widget:dir(ltr)
        label#network:dir(ltr)
      widget:dir(ltr)
        label#cpu:dir(ltr)
      widget:dir(ltr)
        label#memory:dir(ltr)
      widget:dir(ltr)
        label#temperature:dir(ltr)
      widget:dir(ltr)
        label#backlight:dir(ltr)
      widget:dir(ltr)
        label#battery:dir(ltr)
      widget:dir(ltr)
        label#clock:dir(ltr)

Updated with commits that bump the bundled spdlog version, since the one we had previously doesn't have spdlog::should_log().

Thanks, useful!

Maybe, add a sentence to the github wiki about this?

Done: https://github.com/Alexays/Waybar/wiki/Styling#viewing-the-widget-tree.

authors: Alexays tchebb


text:
Add AnnData sections to merged objects docs page

Broken out of #219
The scope of this issue is wrapping up all AnnData object contents in the merged_objects.md docs page.

Closed with #260 and #262 🚀

repo: AlexsLemonade/scpca-docs


text:
No more _zigbee entities for gateways

Issue first appeared after component upgrade to v1.2.3.
After full HA host restart - still the same: no _zigbee entities for gateways created in ~3 hours.

After downgrade to 1.2.0 back - still have no _zigbee entities for gateways.
Can it be related to HA OS 2021.6.x ???

Check integration settings. Is "Zigbee and BLE performance data" enabled?

Yes, enabled - before and now for both XG3.
_zigbee entities present for devices, but not gateways. See attached screenshot.
_zigbee entities for gateways existed before upgrade to v1.2.3, and disappeared then.

Probably information parsing for v1.4.7_0160 not working anymore.
Just upgraded both gateways to custom firmware 1.5.0_0026 - _gateway entities populated with RSSI/uptime/load info after ~5 minutes after gateway loading.
Below see: XG3 H upgraded to 1.5.0_0026, XG3 S still 1.4.7_0160:

So, solution for me for that particular issue - is to upgrade gateways to 1.5.0_0026.


text:
Aqara Magic Cube - the actual side it was flipped to

Currently MiHome integration reports flip90 event without any additional details.

raw event
{
    "event_type": "state_changed",
    "data": {
        "entity_id": "sensor.0x158d00054b8644_action",
        "old_state": {
            "entity_id": "sensor.0x158d00054b8644_action",
            "state": "",
            "attributes": {
                "action": "flip90",
                "friendly_name": "Aqara Cube Action",
                "icon": "mdi:bell"
            },
            "last_changed": "2021-10-02T18:55:36.433942+00:00",
            "last_updated": "2021-10-02T18:55:36.433942+00:00",
            "context": {
                "id": "7834e9f5119e8990f803994f10580fe9",
                "parent_id": null,
                "user_id": null
            }
        },
        "new_state": {
            "entity_id": "sensor.0x158d00054b8644_action",
            "state": "flip90",
            "attributes": {
                "action": "flip90",
                "friendly_name": "Aqara Cube Action",
                "icon": "mdi:bell"
            },
            "last_changed": "2021-10-02T18:55:36.989665+00:00",
            "last_updated": "2021-10-02T18:55:36.989665+00:00",
            "context": {
                "id": "745c3bf1444ac1e9331a09d89b72e676",
                "parent_id": null,
                "user_id": null
            }
        }
    },
    "origin": "LOCAL",
    "time_fired": "2021-10-02T18:55:36.989665+00:00",
    "context": {
        "id": "745c3bf1444ac1e9331a09d89b72e676",
        "parent_id": null,
        "user_id": null
    }
}

Looking at ZHA blueprints cube also reports the activated_face, relative_degrees and reacts to knock command. See https://community.home-assistant.io/t/aqara-magic-cube-zha-51-actions/270829

code sample, see  trigger.event.data.args.*
trigger:
  - platform: event
    event_type: zha_event
    event_data:
      device_id: !input 'remote'
action:
  - variables:
      command: '{{ trigger.event.data.command }}'
      value: '{{ trigger.event.data.args.value }}'
      flip_degrees: '{{ trigger.event.data.args.flip_degrees }}'
      relative_degrees: '{{ trigger.event.data.args.relative_degrees }}'
      flip_90: !input 'flip_90'
      flip_180: !input 'flip_180'
      slide_any_side: !input 'slide_any_side'
      knock_any_side: !input 'knock_any_side'
      flip90: 64
      flip180: 128
      slide: 256
      knock: 512
      shake: 0
      drop: 3
      activated_face: "\n{% if command == \"slide\" or command == \"knock\" %}\n\n \
      \ {% if trigger.event.data.args.activated_face == 1 %} 1\n\n  {% elif trigger.event.data.args.activated_face\
      \ == 2 %} 5\n\n  {% elif trigger.event.data.args.activated_face == 3 %} 6\n\n\
      \  {% elif trigger.event.data.args.activated_face == 4 %} 4\n\n  {% elif trigger.event.data.args.activated_face\
      \ == 5 %} 2\n\n  {% elif trigger.event.data.args.activated_face == 6 %} 3\n\n\
      \  {% endif %}\n\n{% elif command == 'flip' %}\n\n  {{ trigger.event.data.args.activated_face\
      \ | int }}\n\n{% endif %}\n"
      from_face: "\n{% if command == \"flip\" and flip_degrees == 90 %}\n\n  {{ ((value\
      \ - flip90 - (trigger.event.data.args.activated_face - 1)) / 8) + 1 | int }}\n\
      \n{% endif %}\n"

I would love to help and fix it myself, just nudge me in the right direction.

This is limitation from Xiaomi. Basic software doesn't provide this info. You can use it only in ZHA or z2m.
Or you can parse raw zigbee data from cube if you know how to do it.

Or you can parse raw zigbee data from cube if you know how to do it.

Frankly no. Any example somewhere so I can take a look?

Just check MQTT topics from gateway. There are a lot raw zigbee data from Gateway. I'm using it only for statistics sensors

It will supported in Integration 2nd version

In v2.0-alpha.1 rotate is missing. But sides work like charm 🥇

As you can see support table, Cube marked as 3 (the device works, but it is missing some functionality). Will fix later :)
https://github.com/AlexxIT/XiaomiGateway3/tree/converters#supported-xiaomi-zigbee

Supported in latest integration version

authors: AlexxIT rfvermut


text:
MCCGQ02HL xiaomi door/windows sensor entity status no update after few hours

Hi AlexxIT,
I having issue with one of the MCCGQ02HL xiaomi door/windows sensor status no update since v3 integration although Mi Home side working fine . I got 3pcs of MCCGQ02HL, only this particular sensor most of the time not working, my gateway is ZNDMWG03LM, Firmware: 1.5.0_0102.
If I try remove it from Mi Home & re-add back, it will work for few hours then not update again & stuck at the last state while Mi Home side still working fine.
By the way, I have 2pcs of ZNDMWG03LM gateway, both using fixed IP & same firmware 1.5.0_0102. Initially tot is gateway firmware issue, I try upgrade to 1.5.4_0090(did reset gateway after upgrade) but problem still the same. I already downgrade back to 1.5.0_0102.
my HA is the latest version 2023.2.3

or is that possible I have too many gateway? I not able to disable the camera & ceiling light gateway as there is no option to disable the bluetooth gateway.

You need to collect debug logs

can I message you in telegram for the debug logs?

You need to collect debug logs

can I message you in telegram for the debug logs?

or is that possible I have too many gateway? I not able to disable the camera & ceiling light gateway as there is no option to disable the bluetooth gateway.

Try click in multi gateway, can you find that MCCGQ02HL xiaomi door/windows sensor?
I've similar problem before, sensor updated in Mi app but no response in GW3
and I found that my sensor was not under multi gateway, which was under camera......
So, that make sense why no response in GW3
Then I turned off camera's bluetooth gateway (maybe few hours later, I forgot)
sensor returned under multi gateway, and GW3 works well
Hope this will helps you

or is that possible I have too many gateway? I not able to disable the camera & ceiling light gateway as there is no option to disable the bluetooth gateway.

Try click in multi gateway, can you find that MCCGQ02HL xiaomi door/windows sensor?
I've similar problem before, sensor updated in Mi app but no response in GW3 and I found that my sensor was not under multi gateway, which was under camera...... So, that make sense why no response in GW3
Then I turned off camera's bluetooth gateway (maybe few hours later, I forgot) sensor returned under multi gateway, and GW3 works well
Hope this will helps you

MCCGQ02HL was found on both gateway & one of the camera. I got try off the camera for few hours, then on back, the sensors will appear back after few hours on camera, seem like it already stick to camera as sensor is very near to that camera.
I also notice this issue will temporary solved(integration detect back the sensor activity) once I restart the HA but problem will appear back after few hours once the sensor go to sleep(presume) & wake back.

or is that possible I have too many gateway? I not able to disable the camera & ceiling light gateway as there is no option to disable the bluetooth gateway.

Try click in multi gateway, can you find that MCCGQ02HL xiaomi door/windows sensor?

I've similar problem before, sensor updated in Mi app but no response in GW3 and I found that my sensor was not under multi gateway, which was under camera...... So, that make sense why no response in GW3

Then I turned off camera's bluetooth gateway (maybe few hours later, I forgot) sensor returned under multi gateway, and GW3 works well

Hope this will helps you

MCCGQ02HL was found on both gateway & one of the camera. I got try off the camera for few hours, then on back, the sensors will appear back after few hours on camera, seem like it already stick to camera as sensor is very near to that camera.
I also notice this issue will temporary solved(integration detect back the sensor activity) once I restart the HA but problem will appear back after few hours once the sensor go to sleep(presume) & wake back.

Turn off the gateway function of the camera

or is that possible I have too many gateway? I not able to disable the camera & ceiling light gateway as there is no option to disable the bluetooth gateway.

Try click in multi gateway, can you find that MCCGQ02HL xiaomi door/windows sensor?

I've similar problem before, sensor updated in Mi app but no response in GW3 and I found that my sensor was not under multi gateway, which was under camera...... So, that make sense why no response in GW3

Then I turned off camera's bluetooth gateway (maybe few hours later, I forgot) sensor returned under multi gateway, and GW3 works well

Hope this will helps you

MCCGQ02HL was found on both gateway & one of the camera. I got try off the camera for few hours, then on back, the sensors will appear back after few hours on camera, seem like it already stick to camera as sensor is very near to that camera.
I also notice this issue will temporary solved(integration detect back the sensor activity) once I restart the HA but problem will appear back after few hours once the sensor go to sleep(presume) & wake back.

 Turn off the gateway function of the camera

Mines dont have this option, I believe u login to china region but mines one on SG region.

Latest fw?
Mines 4.3.4_0407

Latest fw? Mines 4.3.4_0407

If I join china region then I will have that Bluetooth gateway disable switch, SG region don't have that function. Problem is china region in our country is slow respond when watch the camera playback.

@kei81131 , let me try this method, I try join CN region to disable the gateway on camera & light then add back SG region to see if sensor still stick to camera or not. I also notice the ZNDMWG03LM gateway firmware version also got effect on this matter, old version of firmware seem like made sensor won't stick to other gateway.

@kei81131 , let me try this method, I try join CN region to disable the gateway on camera & light then add back SG region to see if sensor still stick to camera or not. I also notice the ZNDMWG03LM gateway firmware version also got effect on this matter, old version of firmware seem like made sensor won't stick to other gateway.

I'm afraid not, cause it requires factory reset before pairing
I've tried a method to assign which ble under which gateway.
It works for me but it sounds stupid...
You can take a look
In your case, open a new mi account to separate camera, and SHARE camera to original account.
Then you can use original account to watch camera also camera's gateway will not interact ble devices under original account.
BTW, side effect is no automations in different accounts in mihome app

@kei81131 , let me try this method, I try join CN region to disable the gateway on camera & light then add back SG region to see if sensor still stick to camera or not. I also notice the ZNDMWG03LM gateway firmware version also got effect on this matter, old version of firmware seem like made sensor won't stick to other gateway.

I'm afraid not, cause it requires factory reset before pairing
I've tried a method to assign which ble under which gateway. It works for me but it sounds stupid... You can take a look
In your case, open a new mi account to separate camera, and SHARE camera to original account. Then you can use original account to watch camera also camera's gateway will not interact ble devices under original account.
BTW, side effect is no automations in different accounts in mihome app

sound like interesting, I do have both SG & CN account in Mi Home, but I haven try the share user feature of the Mi Home. I will give a try.

I just try, look like can share device to same region only or else you wont see any invitation.

or another solution is change all motion sensor to zigbee type.

or another solution is change all motion sensor to zigbee type.

Yes, zigbee devices is more suitable in your case

or another solution is change all motion sensor to zigbee type.

Yes, zigbee devices is more suitable in your case

For all the bluetooth motion sensor, I now temporary use Xiaomi BLE integration from official HA & add one ESP32 module as a bluetooth proxy module, so far so good.

Please reopen the issue if it is still relevant

authors: AlexxIT kei81131 lysiong


text:
[Feature] Add option to add timestamp to feed

Would be good for a some type of cameras which do not have it, to be able to add timestamp to the feed.
Some research indicate it would be easy to do it with ffmpeg, most of the cases i imagine would be in using ffmpeg too.
Is this possible and reasonable?
Would love to see it.

In case you're not aware this would involve decoding the stream, adding the timestamp, and reencoding the stream (via ffmpeg) which is a lot of work for your cpu and will add latency.
Also worth noting is that go2rtc already supports ffmpeg commands so you can do this yourself today.

https://github.com/AlexxIT/go2rtc/issues/402#issuecomment-1606026909

https://github.com/AlexxIT/go2rtc/releases/tag/v1.6.0


text:
In version 1.6.1 url: stream-name doesn't work

Hi there,
After the update I noticed that all my webrtc cards stopped working saying can't update camera url.
this is the card config:
type: custom:webrtc-camera
url: doorbell
ui: true

Changing url: doorbell to entity: camera.doorbell (entity id) makes it work again. So this might be a bug.
the following is the go2rtc config:
streams:
  doorbell:
    - rtsp://admin:pass@doorbellcamera.asus/cam/realmonitor?channel=1&subtype=0
    - ffmpeg:doorbell#audio=opus
webrtc:
  listen: ":8555"
  candidates:
    - hidden_public_ip:8555
ffmpeg:
  output: "-user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp {output}"
api:
    origin: "*"
rtsp:
  listen: ":554"
log:
  level: info  # default level
  api: trace
  exec: debug
  ngrok: info
  rtsp: trace
  streams: error
  webrtc: fatal

same problem me too

I tried to change the link but it doesn't work:

I seem to have the same.
https://github.com/AlexxIT/WebRTC/issues/534

Good work!
With version 1.6.2 it is working again

https://github.com/AlexxIT/go2rtc/releases/tag/v1.6.2

Thank you.
пт, 21 июл. 2023 г. в 00:24, Alex X @.***>:

Closed #535 https://github.com/AlexxIT/go2rtc/issues/535 as completed.
—
Reply to this email directly, view it on GitHub
https://github.com/AlexxIT/go2rtc/issues/535#event-9879275172, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AXNMXIFAH7MDYXBMJDMEK5DXRGOZ3ANCNFSM6AAAAAA2RE2MEQ
.
You are receiving this because you commented.Message ID:
@.***>

--
З повагою,
https://www.google.com/search?q=atari+breakout&safe=active&rls=com.microsoft:ru:{referrer:source%3F}&biw=1440&bih=783&source=lnms&tbm=isch&sa=X&ved=0ahUKEwiX5ZW1xYLcAhXsO5oKHYd5CZgQ_AUICigB
Сергій Токарев http://sta.ua/tokarev-sergej.html
тел.: +3 8 067 280 28 31 <380672802831>
e-mail: @.*** @.***>
ТОВ "С.Т.А." http://sta.ua/
Каталоги продукції, що випускається
Загальний, Українською мовою http://sta.ua/sta_catalog_ua.pdf / Загальний,
Російською мовою http://sta.ua/sta_catalog_ru.pdf / Загальний,
Англійською мовою http://sta.ua/sta_catalog_en_fr.pdf
Тепла підлога http://sta.ua/sta_catalog_tp.pdf / Колектори
http://sta.ua/collektor_ru.pdf
https://www.google.com/search?q=atari+breakout&safe=active&rls=com.microsoft:ru:{referrer:source%3F}&biw=1440&bih=783&source=lnms&tbm=isch&sa=X&ved=0ahUKEwiX5ZW1xYLcAhXsO5oKHYd5CZgQ_AUICigB

authors: AlexxIT TokarevSergey sdavides teymur1988


text:
Knapsack algorithm

The Knapsack Problem is a classic optimization problem where the goal is to select items with given weights and values to maximize the total value without exceeding a given capacity.
Problem Description
You have a knapsack with a fixed weight capacity, and you are given a set of items, each with a weight and value. Your task is to determine the number of each item to include in the knapsack so that the total weight does not exceed the capacity and the total value is maximized.
Time Complexity
The time complexity of the 0/1 knapsack problem using dynamic programming is O(n * W), where:
n is the number of items.
W is the capacity of the knapsack.
@pankaj-bind Please accept my PR #304 and provide suggestions.
Thank You.

Can you please assign this issue to me? I want to work on it.

repo: AlgoGenesis/C


text:
GitHub pages compatibility

تغییرات اعمال شده:

محتویات پوشه های
_BSc , _MSc
همه به
docs/XXX
منتقل شدند.

تمام فایل های خام (غیر متنی) به پوشه
artifacts
در ریشه پروژه منتقل شدند، که البته باعث شکسته شدن تمام لینک ها میشه ولی از پراکندگی جلوگیری میکنه.
(یعنی باید بعد از تایید لینک هارو درست کنیم، حدود ۶ تا لینک)

فایل
_config.yml
اضافه شد که باعث میشه یه صفحه در
https://alirazavi-edu.github.io/PNU_3991
ساخته بشه که این پروژه روش قابل مشاهدست که اگر قالب بندی ها و لینک هارو درست کنیم مرتب میشه، ینی الان خیلی نامرتبه چون از اول برای سازگاری با اون برنامه ریزی نشده بوده.
صفحه ایجاد شده هم از پوسته
https://github.com/rundocs/jekyll-rtd-theme
استفاده میکنه که خودم راست چین کردم (برای یه پروژه خودم) و اینجا هم استفاده کردم.
نمونه:
http://amkherad.ir/PNU_3991/MSc/AdvancedAlgorithms/
که البته الان اسم من خورده چون روی ریپازیتوری منه...
بعد اسم سازمان میخوره
ینی
AliRazavi-edu

سلام.شما نمیتونید سازمان پروژه رو تغییر بدین.پیشنهادی دارید لطفا در واتساپ برای من بفرستین تا ببینم چطور هستش بعد با استاد مشورت میکنم اگر تایید کردن اون موقع تغییر ایجاد میشه

authors: amkherad saharzeinivand


text:
Form Input Handling With JS

Add error handling for empty input fields
Add functionality to people count buttons
Verify if email is correct
Validate date and time

LGTM!

repo: AljoschaNy/dine-landingpage


text:
query6 in 04_select.ipynb, 05_join.ipynb does not work

Thanks for making these tutorials! I am learning how to analyze Gaia data and use ADQL, and the notebooks have been very helpful.
I am having trouble running query6. It was an exercise in notebook 04 and the answer was given in notebook 05; when I try to run it it returns
HTTPError: Error 500:
null

I tried to submit query6 on https://gea.esac.esa.int/archive/ under the "Search", then "Advanced (ADQL) tab. It gives me this error:
Cannot parse query 'SELECT source_id, ra, dec, pmra, pmdec FROM gaiadr2.gaia_source WHERE parallax < 1 AND bp_rp
BETWEEN -0.75 AND 2 AND 1 = CONTAINS(POINT(ra, dec), POLYGON(135.306, 8.39862, 126.51, 13.4449, 163.017, 54.2424,
172.933, 46.4726, 135.306, 8.39862)) AND 1 = CONTAINS(POINT(pmra, pmdec), POLYGON( -4.05037121,-14.75623261,
-3.41981085,-14.72365546, -3.03521988,-14.44357135, -2.26847919,-13.7140236 , -2.61172203,-13.24797471,
-2.73471401,-13.09054471, -3.19923146,-12.5942653 , -3.34082546,-12.47611926, -5.67489413,-11.16083338,
-5.95159272,-11.10547884, -6.42394023,-11.05981295, -7.09631023,-11.95187806, -7.30641519,-12.24559977,
-7.04016696,-12.88580702, -6.00347705,-13.75912098, -4.42442296,-14.74641176)) ' for job '1691464891205O':
[esavo.adql.validator.OutOfRangeException] Coordinate 0 [esavo.adql.query.operand.NegativeOperand@6aa06ef2] of POLYGON
is out of range.

I wasn't able to figure out the issue even after some googling and documentation reading. Any chance you see the problem?

Thanks for letting me know about these issues. I will look into them as soon as I can, but in the meantime, you might want to switch to the Foundations of Astronomical Data Science, a curriculum based on the material in this repo and maintained by The Carpentries:
https://datacarpentry.org/astronomy-python/

Thanks for pointing me to the Carpentries curriculum site.
I went through their lessons and actually found the answer to this issue in https://datacarpentry.org/astronomy-python/05-select.html:

You may be wondering why we used BETWEEN for proper motion when we previously used POLYGON for coordinates. ADQL intends the POLYGON function to only be used on coordinates and not on proper motion. To enforce this, it will produce an error when a negative value is passed into the first argument.

authors: AllenDowney caseylam

repo: AllenDowney/AstronomicalData


text:
TableColumn throws error on select if dataFormat is used

When using dataFormat on TableHeaderColumn, the returned value gets displayed but if I select a row, an error is thrown in TableColumn.js:64.

Uncaught TypeError: Cannot read property 'props' of undefined

The correspondent function shouldComponentUpdate gets called multiple times and crashes in the second call at the following statement:
if (children[0].props.type === 'checkbox' || children[0].props.type === 'radio')
In the first call of the function shouldComponentUpdate, children is an array containing multiple objects that have multiple properties like props. props has a property called type which equals to "checkbox" for the first call.
In the second call however, children is an object with the same properties like the first object in children has in the first call. Therefore, children[0] is undefined because children isn't an array. Also, children.props.type equals to "div" and children.dangerouslySetInnerHTML.__html equals to "Jonas Reitmann".
My code
<TableHeaderColumn dataField="firstName" dataSort dataFormat={this.fullName}>Name</TableHeaderColumn>

fullName is a function that simply returns the combined firstName and lastName and looks like this:
fullName(cell, row) { return `${row.firstName} ${row.lastName}`; }

Again, displaying the works like a charm, selecting a row just does not.
Is there anything I am doing wrong? Help is greatly appreciated. Thanks in advance!

Sorry, seems like I used an old version of the library. Updated and works perfectly so far. Closing it.

repo: AllenFang/react-bootstrap-table


text:
Add the MGI alleles as a csv

Is your feature request related to a problem? Please describe.
We want to have the MGI allele IDs in the subject metadata
Describe the solution you'd like
there is a rpt file here: https://www.informatics.jax.org/downloads/reports/MGI_PhenotypicAllele.rpt
convert this to a csv, add it to the repo, and construct the allele class
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Updating this request with what we think the current requirements are, @saskiad can weigh in:
Is your feature request related to a problem? Please describe.
Need to add MGI alleles as a model that we can validate against
Describe the solution you'd like
there is a rpt file here: https://www.informatics.jax.org/downloads/reports/MGI_PhenotypicAllele.rpt
construct an Allele class that validates against this external resource

Duplicated

authors: dbirman jtyoung84 saskiad


text:
Alluxio worker K8S storage management

*Is your feature request related to a problem? Please describe.
Alluxio manages the worker storage according to the user-given storage space (e.g. alluxio.worker.tieredstore.level0.dirs.quota).
However in K8S, sometimes the storage space is shared by multiple applications.
K8S may not know the available storage space for Alluxio beforehand so configure a wrong storage size (large than actual).
Or during runtime, the storage space may be used out by other applications. When Alluxio thinks there are 10GB left but there may be only 1GB or none left.
Describe the solution you'd like
Alluxio has disk space detection.
Say when Alluxio is configured to have 30GB storage and Alluxio used 10GB. Other applications used 10GB.
Alluxio will know that it has 10GB left and will not fully use out the whole storage space which the whole pod (Alluxio) may be killed by K8S.
Describe alternatives you've considered
Users do disk space management outside Alluxio with K8S ways.
It's more complicated that way.
Urgency
Important, is a blocking issue
Additional context
Add any other context or screenshots about the feature request here.

@apc999 @beinan FYI

Does this mean that we need to check the available space from time to time at runtime？ Is it possible to use a small and safe quota (say <10GB ) as a workaround?

thanks @LuQQiu  for tracking our issues. 🌹
@beinan
Disk management is not a major problem on bare metal machine or dedicated servers. However, when it comes to k8s, everything changes.
We deploy alluxio with fluid(an alluxio controller responsible for deployment) on k8s shared with multiple applications.  Claiming 10GB is not a good idea because it may be scheduled on a machine with only 1GB disk left.
Our preliminary idea is that alluxio claims the disk usage, k8s-scheduler schedules alluxio workers based on the claim. Then alluxio has to make sure it can't exceed the usage.
Any other ideas are welcome. If there is any roadmap on this issue, pls let us know.

@ssz1997 FYI

@LuQQiu Is it possible to reserve 30GB?

According to @beinan it's hard for us to know how much storage actually left. We can reserve any number based on Alluxio configuration, but not based on actual storage space

Yes, as @LuQQiu mentioned, the quota could not be working based on the actual storage space unless k8s could provide this information.  But even though we know the actual storage when the alluxio starts, other application running on the same machine might still preempt the space during the alluxio running.   I don't have a workaround for this issue so far.
I'm thinking if we could reserve the space during the server start in the future, it sounds like a reasonable feature request to me.

Thanks for your kindly reply. It sounds that it's k8s responsibility for disk management.

Thanks for your kindly reply. It sounds that it's k8s responsibility for disk management.

Yeah, I'm not an expert of k8s, not sure if the disk management has already been there or not.

Close because Alluxio cannot know how many disk spaces left

authors: JySongWithZhangCe LuQQiu beinan umialpha

repo: Alluxio/alluxio


text:
Fix Caching doc typo

What changes are proposed in this pull request?
fix some typo
Why are the changes needed?
Does this PR introduce any user facing changes?
No

alluxio-bot, merge this please


text:
[ALLUXIO-1857] Fixes to the dependencies in the pom.xml of underfs swift

Swift underfs contains wrong entries in the pom.xml.
It still points to hadoop modules, which are not needed anymore.
In addition joss updated to recent version.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/9110/
Test PASSed.

Merged build finished. Test PASSed.

authors: AmplabJenkins gilv


text:
[SMALLFIX] Converted field to local variable in HdfsFileInputStreamIntegrationTest

Converted a field to a local variable in the HdfsFileInputStreamIntegrationTest class.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/10177/
Test PASSed.

LGTM

authors: AmplabJenkins HorizonNet ifcharming


text:
[ALLUXIO-2069]correct @param descriptions in UnderFileSystemRegistry.java

https://alluxio.atlassian.net/browse/ALLUXIO-2069
Removes capitalization from param descriptions in UnderFileSystemRegistry.java.

Can one of the admins verify this patch?

Jenkins, ok to test

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/10827/
Test PASSed.

Thanks for the contribution @dantongz! Seems like the commits are not associated with your github account.
Here are instructions to get your commits associated with your github account: https://help.github.com/articles/setting-your-email-in-git/#commits-on-github-arent-linking-to-my-account

Sorry @jsimsa , I missed a dot in my user.email. I have made a new commit, PTAL.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/10828/
Test PASSed.

LGTM

LGTM

alluxio-bot, check this please

authors: AmplabJenkins dantongz gpang ifcharming jsimsa


text:
Particle System Slowing Down the Whole Thread

I have explosion emitters going off when a bullet hits an asteroid in my space invaders game and when the emitter goes off it freezes everything moving across the screen for a second than everything jumps to where it should be. I would just throw it on another thread using the executor but it says not to change the game scene on a different thread.

This is a known issue and is linked to #494 In short we are trying to be clever about drawing and only engage the graphics context when there are particles. Hence, the immediate slow down in drawing. We might be able to off-load the particle drawing to a background thread but this is not trivial as there are potential synchronization issues. The solution to this needs to be carefully designed but generally it is of the following form:

Detect when drawing of this frame has finished.
Take the canvas off the active scene graph and give it to a bg thread.
Async: Clear and draw particles
Wait for async to finish and insert the canvas back into the active scene graph.

Also, I wonder if we can keep two buffers and keep swapping them for performance...

This was fixed and merged into 0.5.0

repo: AlmasB/FXGL


text:
Adding background music and scroll/select sounds

I Want to add background music depending on which system you are in the menu of and have some basic SFX for scrolling up and down as well as selecting games and platforms.

+1 for this :grin:

scroll effects are supported already
edit /etc/emulationstation/simple/simple.xml
add this line between line 66 and 67
<scrollSound>./common_resources/scroll_sound.wav</scrollSound>
then add this file (you can pick any sound you like)
/etc/emulationstation/themes/simple/common_resources/scroll_sound.wav

Have a look at github.com/recalbox/recalbox-emulationstation for the background music for each system.

authors: GM-Script-Writer-62850 destructorrph igungor smartroad

repo: Aloshi/EmulationStation


text:
Fix displaying assets preview for erc721ForTickets #5114

Closes #5114

Before PR
After PR

repo: AlphaWallet/alpha-wallet-ios


text:
Extended struct functionalities

These are some various extended struct functions I use quite often.
/// @func struct_merge(source, dest)
/// @arg source
/// @arg dest
/// @desc adds or overwrites the destination struct key/values pairs from the source struct
/// @returns {struct}
function struct_merge(_source, _dest){
	struct_foreach(_source, method({dest : _dest}, function(_name, _value){
		dest[$ _name] = _value;
	}));
	return _dest;
}

/// @func struct_copy(struct)
/// @arg struct
/// @desc returns a copy of the struct you supply
/// @returns {struct}
function struct_copy(_struct){
	return struct_merge(_struct, {});
}

/// @func struct_create(constructor, variable_struct)
/// @arg constructor
/// @arg var_struct
/// @desc returns a new or existing constructor with with variables to assign to the new struct
/// @returns struct
function struct_create(_constructor, _var_struct={}){
	if ( is_struct(_constructor) ) return struct_merge(_var_struct, _constructor);
	return struct_merge(_var_struct, new _constructor());
}

/// @func struct_create_ext(constructor, call_func_on_create, variable_struct)
/// @arg constructor
/// @arg call_func_on_create
/// @arg var_struct
/// @desc returns a new or existing constructor with with variables to assign to the new struct and allows you to call a function within the struct or variable struct when created
/// @returns struct
function struct_create_ext(_constructor, _callfunc="", _var_struct={}){
	var _new_struct = struct_create(_constructor, _var_struct);
	if ( _callfunc != "" && _new_struct[$ _callfunc] != undefined ) _new_struct[$ _callfunc]();
	return _new_struct;
}

Example:
function Test() constructor {
	name = "constructor";
}
function Test2() constructor {
	name = "constructor 2";
	func = function(){
		show_debug_message(name);
	}
}

var test, test2;
test = struct_create(Test, {name : "Gizmo"});
test2= struct_create(struct_copy(test), struct_create(Test2, {name : "199"}));

show_debug_message(test.name);
test2.func()

Regarding struct_merge - I would often use a similar function struct_assign, working the same as JavaScript's Object.assign function.
One important difference compared to your implementation was that the destination struct was the first argument, and then one or more source structs would follow. In case of overlapping properties, the later source overwrites properties from the earlier sources.
Regarding struct_copy - with GameMaker 2023.4 (which is the one I plan to support for now), it should be possible to do variable_clone(_struct, 1); as a native function, it might have potential to be even faster. Myself, I was considering something like struct_clone_shallow and struct_clone_deep, though especially for the latter I would need to figure out how variable_clone handles struct's constructor type and methods (which themselves are special kinds of structs). My implementation of struct cloning assumed that self-bound methods were re-bound to the clone, while other-bound methods were copied as-is.
struct_create and struct_create_ext are a bit too specific to me, in that a generic name like struct_create can be interpreted in very different ways. Here it means creating a struct of a given constructor and some initial values, but one could imagine other struct_create which allows passing alternating keys and values, for example.
Personally, the scenarios where I would want to set some extra values after constructing (rather than passing them as constructor parameters to begin with) are so few and far inbetween that I'd be fine with occasional call like struct_assign(new Foo(), { bar: 2, baz: 3 }) instead.
Heck, if someone has the kind of constructor they want to pass some extra struct of initial values to, they might just use struct_assign inside contructor and then run the initialisation logic:
function HighlyConfigurableStruct(_config) constructor {
    struct_assign(self, _config);
    init();

    static init = function() { ... }
}

That sounds good too. This is just how i've used them since I use a lot of 'generic' structs (for things like items, weapons, etc). I tend to use structs a lot like objects a lot of the time for non-drawing purposes. I like struct_assign too. :)

repo: Alphish/gm-community-toolbox


text:
Decks listed as not MWL 3.1 compliant, when they are

I noticed these two decks are marked as not MWL 3.1 compliant, when as far as I can tell, they are.
https://netrunnerdb.com/en/decklist/53996
https://netrunnerdb.com/en/decklist/53664

Yeah that’s super weird. I’ll have to dig in to see what caused it to fail. Thanks for letting me know

Hi Noah,
Just chiming in with another example in case that helps: https://netrunnerdb.com/en/decklist/54005
One new player wanted to play this deck at our GNK yesterday and got a bit confused as to why NRDB would not qualify it as MWL 3.1 compliant.
I tried to copy it into my decks and edit it.
When I do that I notice that the Legality selected option is NAPD MWL 2.2 (after 2018-09-06).
If I manually select Standard MWL 3.1 (active) and save, NRDB detects no problem.
Hope that helps :)

(side note: I don't really understand the purpose of this select menu to begin with 😅)

I also have no idea why that menu exists. I suspect excising it is the way to go but I’ll have to check.
I suspect, wrt mwl errors, that for some reason 3.1 errored out, so I might recheck all existing decks for validity just to handle the issue.

https://netrunnerdb.com/en/decklist/54005 is an older and was created when MWL 2.2 was in effect, that's what the dropdown shows, so that's a feature, IMO.
I would vote against removing the selection, because it serves both as a display of the currently selected MWL for that deck, but also as a a tool to play with what-if scenarios or even building to older MWL versions for old times' sake.

Good points! Let's not remove it then.

authors: NoahTheDuke axmccx gereons metamatik

repo: Alsciende/netrunnerdb


text:
Startup Crash

Version 1.2.0 crashes on startup of the Minecraft instance

This bug with the Forge version has finally been fixed with update 1.2.1! Sorry for the wait!

authors: Altias JarDayne

repo: Altias/SimpleKelpies


text:
Cluster service deleted on upgrade due to reconcile failure

While performing an upgrade via Helm from 0.23.2 to 0.23.6, I ran across a problem where the cluster service disappeared. I also included a minor upgrade of the altinitystable image, but I don't think that is related.
The important bits in my CHI resource:
spec:
  defaults:
    templates:
      podTemplate: default-clickhouse-pod
      dataVolumeClaimTemplate: default-data-volume
      logVolumeClaimTemplate: default-log-volume
      clusterServiceTemplate: default-service-template
  configuration:
    settings:
      logger/level: information
    clusters:
      - name: events
        layout:
          shardsCount: 1
          replicasCount: 3
        secret:
          auto: "true"
  templates:
    serviceTemplates:
      - name: default-service-template
        generateName: clickhouse-{chi}
        metadata:
          annotations:
            cloud.google.com/load-balancer-type: "Internal"
            service.beta.kubernetes.io/aws-load-balancer-internal: "true"
            service.beta.kubernetes.io/azure-load-balancer-internal: "true"
            service.beta.kubernetes.io/openstack-internal-load-balancer: "true"
            service.beta.kubernetes.io/cce-load-balancer-internal-vpc: "true"
        spec:
          ports:
            - name: http
              port: 8123
            - name: tcp
              port: 9000
          type: LoadBalancer

When the operator upgraded, it appeared to get stuck attempting to convert clickhouse-events from a LoadBalancer to a ClusterIP. I believe this is somehow related to this commit that changes the default from LoadBalancer to ClusterIP. However, this CHI has always explicitly set the template to use LoadBalancer.
On startup, I saw this in the logs:
I0710 05:05:48.675757       1 service.go:86] CreateServiceCluster():foo/events/c857c1dd-66bf-4182-96eb-3e45f61664ee:foo/clickhouse-events
I0710 05:05:48.676889       1 worker-chi-reconciler.go:907] reconcileService():foo/events/c857c1dd-66bf-4182-96eb-3e45f61664ee:Service: foo/clickhouse-events not found. err: service "clickhouse-events" not found
I0710 05:05:48.840035       1 deleter.go:322] deleteServiceIfExists():foo/clickhouse-events:Not Found Service: foo/clickhouse-events err: services "clickhouse-events" not found
I0710 05:05:49.062109       1 worker.go:1480] createService():foo/events/c857c1dd-66bf-4182-96eb-3e45f61664ee:OK Create Service: foo/clickhouse-events
I0710 05:05:49.883043       1 worker-chi-reconciler.go:922] reconcileService():foo/events/c857c1dd-66bf-4182-96eb-3e45f61664ee:Service reconcile successful: foo/clickhouse-events

...

I0710 05:06:25.213119       1 worker-chi-reconciler.go:900] reconcileService():foo/events/c857c1dd-66bf-4182-96eb-3e45f61664ee:Service found: foo/clickhouse-events. Will try to update
E0710 05:06:25.213168       1 worker-chi-reconciler.go:914] reconcileService():foo/events/c857c1dd-66bf-4182-96eb-3e45f61664ee:Update Service: foo/clickhouse-events failed with error: just recreate the service in case of service type change 'LoadBalancer'=>'ClusterIP'
I0710 05:06:26.384478       1 deleter.go:329] deleteServiceIfExists():foo/clickhouse-events:OK delete Service: foo/clickhouse-events
E0710 05:06:26.584816       1 worker.go:1486] createService():foo/events/c857c1dd-66bf-4182-96eb-3e45f61664ee:FAILED Create Service: foo/clickhouse-events err: object is being deleted: services "clickhouse-events" already exists
E0710 05:06:27.422151       1 worker-chi-reconciler.go:928] reconcileService():foo/events/c857c1dd-66bf-4182-96eb-3e45f61664ee:FAILED to reconcile Service: foo/clickhouse-events CHI: events

It now appears to be recreated on a forced restart of the operator, and then a minute or so later, is deleted again. It won't be recreated until the operator restarts again.
I0710 05:16:25.276854       1 service.go:86] CreateServiceCluster():foo/events/a84245ce-80bc-4fb9-ad58-c69a77019a70:foo/clickhouse-events
I0710 05:16:25.278246       1 worker-chi-reconciler.go:907] reconcileService():foo/events/a84245ce-80bc-4fb9-ad58-c69a77019a70:Service: foo/clickhouse-events not found. err: service "clickhouse-events" not found
I0710 05:16:25.435511       1 deleter.go:322] deleteServiceIfExists():foo/clickhouse-events:Not Found Service: foo/clickhouse-events err: services "clickhouse-events" not found
I0710 05:16:25.805221       1 worker.go:1480] createService():foo/events/a84245ce-80bc-4fb9-ad58-c69a77019a70:OK Create Service: foo/clickhouse-events
I0710 05:16:26.468825       1 worker-chi-reconciler.go:922] reconcileService():foo/events/a84245ce-80bc-4fb9-ad58-c69a77019a70:Service reconcile successful: foo/clickhouse-events

...

I0710 05:17:26.904518       1 worker-chi-reconciler.go:900] reconcileService():foo/events/a84245ce-80bc-4fb9-ad58-c69a77019a70:Service found: foo/clickhouse-events. Will try to update
E0710 05:17:26.904648       1 worker-chi-reconciler.go:914] reconcileService():foo/events/a84245ce-80bc-4fb9-ad58-c69a77019a70:Update Service: foo/clickhouse-events failed with error: just recreate the service in case of service type change 'LoadBalancer'=>'ClusterIP'
I0710 05:17:28.073703       1 deleter.go:329] deleteServiceIfExists():foo/clickhouse-events:OK delete Service: foo/clickhouse-events
E0710 05:17:28.274057       1 worker.go:1486] createService():foo/events/a84245ce-80bc-4fb9-ad58-c69a77019a70:FAILED Create Service: foo/clickhouse-events err: object is being deleted: services "clickhouse-events" already exists
E0710 05:17:29.119358       1 worker-chi-reconciler.go:928] reconcileService():foo/events/a84245ce-80bc-4fb9-ad58-c69a77019a70:FAILED to reconcile Service: foo/clickhouse-events CHI: events

Note: When it is creates, it is created correctly as a LoadBalancer, but then the second resource reconciliation attempts to make it a ClusterIP again.

Did you upgrade CRDs separatelly as described in https://github.com/Altinity/clickhouse-operator/blob/master/deploy/helm/clickhouse-operator/README.md?

@Slach I did not update the CRD. I have done so now, and it still is happening. Do I need to manually set a status.hostsUnchanged value in the CHI status?
% kubectl -n clickhouse get deploy chop-altinity-clickhouse-operator -o yaml | grep "image:"
        image: altinity/clickhouse-operator:0.23.6
        image: altinity/metrics-exporter:0.23.6
% kubectl get crd clickhouseinstallations.clickhouse.altinity.com -o yaml | grep "clickhouse.altinity.com/chop"
    clickhouse.altinity.com/chop: 0.23.6

I0710 17:16:03.682328       1 service.go:86] CreateServiceCluster():foo/events/e425f007-f928-4649-92ed-3fb1598f1915:foo/clickhouse-events
I0710 17:16:03.683552       1 worker-chi-reconciler.go:907] reconcileService():foo/events/e425f007-f928-4649-92ed-3fb1598f1915:Service: foo/clickhouse-events not found. err: service "clickhouse-events" not found
I0710 17:16:03.850464       1 deleter.go:322] deleteServiceIfExists():foo/clickhouse-events:Not Found Service: foo/clickhouse-events err: services "clickhouse-events" not found
I0710 17:16:04.074642       1 worker.go:1480] createService():foo/events/e425f007-f928-4649-92ed-3fb1598f1915:OK Create Service: foo/clickhouse-events
I0710 17:16:04.882621       1 worker-chi-reconciler.go:922] reconcileService():foo/events/e425f007-f928-4649-92ed-3fb1598f1915:Service reconcile successful: foo/clickhouse-events

I0710 17:16:17.088227       1 worker-chi-reconciler.go:900] reconcileService():foo/events/e425f007-f928-4649-92ed-3fb1598f1915:Service found: foo/clickhouse-events. Will try to update
E0710 17:16:17.088280       1 worker-chi-reconciler.go:914] reconcileService():foo/events/e425f007-f928-4649-92ed-3fb1598f1915:Update Service: foo/clickhouse-events failed with error: just recreate the service in case of service type change 'LoadBalancer'=>'ClusterIP'
I0710 17:16:18.254178       1 deleter.go:329] deleteServiceIfExists():foo/clickhouse-events:OK delete Service: foo/clickhouse-events
E0710 17:16:18.453646       1 worker.go:1486] createService():foo/events/e425f007-f928-4649-92ed-3fb1598f1915:FAILED Create Service: foo/clickhouse-events err: object is being deleted: services "clickhouse-events" already exists
E0710 17:16:19.295985       1 worker-chi-reconciler.go:928] reconcileService():foo/events/e425f007-f928-4649-92ed-3fb1598f1915:FAILED to reconcile Service: foo/clickhouse-events CHI: events
Service: foo/clickhouse-events
Service: foo/clickhouse-events
Service: foo/clickhouse-events

I tried adding  a value into status.hostsUnchanged (that was the only change compared the the old CRD installed), and it made no difference. The CHOP is still constantly deleting the cluster service.

authors: Slach mbrancato

repo: Altinity/clickhouse-operator


text:
Tests occasionally fail (Apple M2 Max)

On an M2 Max MacBook Pro, I am experiencing unexpected causality issues tied to using ThreadLocal. I ran the library's tests to see if I could exhibit similar behavior, given that the iter() test in particular looks like a decent model of my real-world situation, and indeed I get occasional test failures within seconds of repeatedly running the test suite. Here are a few:
running 6 tests
test thread_id::test_thread ... ok
test tests::same_thread ... ok
test tests::is_sync ... ok
test tests::different_thread ... ok
test tests::test_drop ... FAILED
test tests::iter ... ok

failures:

---- tests::test_drop stdout ----
thread 'tests::test_drop' panicked at 'assertion failed: `(left == right)`
  left: `0`,
 right: `1`', src/lib.rs:641:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

running 6 tests
test tests::test_drop ... ok
test thread_id::test_thread ... ok
test tests::is_sync ... ok
test tests::same_thread ... ok
test tests::different_thread ... ok
test tests::iter ... FAILED

failures:

---- tests::iter stdout ----
thread 'tests::iter' panicked at 'assertion failed: `(left == right)`
  left: `[1, 2, 3]`,
 right: `[1]`', src/lib.rs:616:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

running 6 tests
test tests::is_sync ... ok
test thread_id::test_thread ... ok
test tests::test_drop ... ok
test tests::same_thread ... ok
test tests::different_thread ... ok
test tests::iter ... FAILED

failures:

---- tests::iter stdout ----
thread 'tests::iter' panicked at 'assertion failed: `(left == right)`
  left: `[1, 2, 3]`,
 right: `[1, 3]`', src/lib.rs:616:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

running 6 tests
test tests::is_sync ... ok
test thread_id::test_thread ... ok
test tests::test_drop ... ok
test tests::same_thread ... ok
test tests::different_thread ... ok
test tests::iter ... FAILED

failures:

---- tests::iter stdout ----
thread 'tests::iter' panicked at 'assertion failed: `(left == right)`
  left: `[1, 2, 3]`,
 right: `[2, 3]`', src/lib.rs:616:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Note that exhibiting failures is much harder if you don't run the complete test suite, so I suspect the issue has something to do with threads being reused.

I can't reproduce this and it's very difficult for me to figure out what is going on without being able to see it myself. It could even be something specific to macOS.

I can't reproduce this

Where (on which platform) are you trying to reproduce this? I can reproduce this within seconds on my MacBook with an M2 Max chip running macOS Ventura 13.X with the following:
while cargo test --all-features --release --lib; do sleep :; done

I also tried on an M2 MacBook Air running macOS Monterrey with the same results, so this is certainly not specific to the version of macOS, though it could be macOS, or it could be the CPU (I don't have an Intel Mac to check on).
Nevertheless, this seems like a fairly serious bug.

One approach you could take is to use the GitHub CI to run this on macOS, if you don't have access to a Mac yourself and can't or don't want to set-up a VM. Given the above, I would imagine running the loop for something like 30s to a minute should suffice.

Cannot reproduce on M2 MacBook Pro with Ventura 13.4.1.
Could this already have been fixed?

I also hit this just now, but only with a high cargo test -- --test-threads count.
I opened #68 as I believe this regression was introduced recently, and included a regression test as well.

authors: Amanieu SergioBenitez Swatinem xosmig


text:
🛑 Slug blog is down

In 1bf192e, Slug blog (http://slug.lunanova.top) was down:

HTTP code: 403
Response time: 1158 ms

Resolved: Slug blog is back up in d01130f.

repo: AmazonPython/upptime


text:
🛑 Luna Nova's Blog is down

In 8e2a8f6, Luna Nova's Blog (https://lunanova.top) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Luna Nova's Blog is back up in e07db72.

Resolved: Luna Nova's Blog is back up in e07db72.


text:
Bower info

When I run
bower info backbone-bootstrap-widgets
I have this error
/usr/local/lib/node_modules/bower/node_modules/q/q.js:128
                    throw e;
                          ^

Maybe, update the Q librairy version ?

Q seems to be a bower thing. You will have to fix that.
(one of the reasons why I truly hate bower - fixing issues with it instead
of working on real things)
On Thu, May 21, 2015 at 10:58 AM, Allan Bettarel notifications@github.com
wrote:

When I run
bower info backbone-bootstrap-widgets
I have this error
/usr/local/lib/node_modules/bower/node_modules/q/q.js:128
throw e;
^
Maybe, update the Q librairy version ?
—
Reply to this email directly or view it on GitHub
https://github.com/AmiliaApp/backbone-bootstrap-widgets/issues/9.

Due \n, Fixed in #10

authors: chilipote martindrapeau

repo: AmiliaApp/backbone-bootstrap-widgets


text:
Target of URI doesn't exist

Describe the bug
after adding pubspec.yaml flutter_barcode_scanner: could not import plugin
To Reproduce
Steps to reproduce the behavior:

add pubspec.yaml flutter_barcode_scanner:
add a file import 'package:flutter_barcode_scanner/flutter_barcode_scanner.dart';
flutter packages get
Target of URI doesn't exist

Screenshots

after restarting my IDE, problem is just solved.


text:
Flutter version 2.2.0

Getting this error using Flutter 2.2.0 & 2.2.1:
W/DynamiteModule( 6652): Local module descriptor class for com.google.android.gms.vision.dynamite.barcode not found.
I/DynamiteModule( 6652): Considering local module com.google.android.gms.vision.dynamite.barcode:0 and remote module com.google.android.gms.vision.dynamite.barcode:0
W/DynamiteModule( 6652): Local module descriptor class for com.google.android.gms.vision.barcode not found.
I/DynamiteModule( 6652): Considering local module com.google.android.gms.vision.barcode:0 and remote module com.google.android.gms.vision.barcode:0
E/Vision  ( 6652): Error loading optional module com.google.android.gms.vision.barcode: com.google.android.gms.dynamite.DynamiteModule$LoadingException: No acceptable module found. Local version is 0 and remote version is 0.
W/BarcodeNativeHandle( 6652): Native handle not yet available. Reverting to no-op handle.
Edit: works in Flutter 2.0.6

Hey, i have the same issue with flutter 2.2.1

Same is happening here

这是什么问题.

It seems that they donnt have gms module. the flutter_barcode_scanner depends on GMS?
貌似是因为没有安装GMS？

Hi all,
I had the same issue even on Android 11.
It turned out "Google Play Services" package was missing.
Last available package requires Android 8...
Good luck!
Cezary

authors: Mythar Nemasio Pezhvak bulanni00 cezaryjk tangyiyong


text:
A collection declared as a prop introduces errors.

I think if you have a collection and a prop by the same name, a fatal error should be thrown when one tries to override the other. My code only works as a collection..
module.exports = BaseModel.extend({
  props: {
    clientid: 'number'
    // , events: 'object'
  }
  , collections: { events: NE }

@pgilad recently did just this.  https://github.com/AmpersandJS/ampersand-state/pull/192.  looks like the &-model deps just need to be bumped to ampersand-state@4.6.x+

ampersand-state has been bumped, therefore closing this one.

authors: EvanCarroll cdaringe kamilogorek

repo: AmpersandJS/ampersand-model


text:
Better documentation of self attribute bindings

As per discussion in irc today, this isn't very well explained right now.

This issues isn't clear enough to me, to be actionable. @wraithgar if you know what this means or want to tackle it, feel free to re-phrase or re-open, or whatnot. Closing for now.

authors: HenrikJoreteg wraithgar

repo: AmpersandJS/ampersand-view


text:
import not working

Unable to import resume. Nothing happened when I select file to import.

Closing this in favor of Reactive Resume v3 release.
If you continue to face this issue, please raise a new one and I'll have a look at it as soon as I can.
In the meantime, if you are able to, please consider donating to keep supporting the project: https://www.buymeacoffee.com/AmruthPillai :)
Thank you!

authors: AmruthPillai kumarnipun

repo: AmruthPillai/Reactive-Resume


text:
update 1.8.1

Dacite 1.8.1 Update
Jira Ticket
Upstream
Dependencies
Changes

Updated version number and sha256
Updated pinnings on dependencies
Additional information in about section

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_1bx6j4ea4m/clone/recipe/meta.yaml:21: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_1bx6j4ea4m/clone/recipe/meta.yaml:45: missing_dev_url: The recipe is missing a dev_url
ERROR: /tmp/abs_1bx6j4ea4m/clone/recipe/meta.yaml:45: missing_documentation: The recipe is missing a doc_url or doc_source_url
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_7acohnl0pb/clone/recipe/meta.yaml:21: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
Errors were found

Ah just one thing for the next time: please use the ticket number (e.g. PKG-2283) in the name of the branch or in the title of the PR to enable the Jira's tracking for this PR!

Ah just one thing for the next time: please use the ticket number (e.g. PKG-2283) in the name of the branch or in the title of the PR to enable the Jira's tracking for this PR!

Thanks for letting me know this! This makes sense. Jira seems to be tracking it fine, but this is a good precaution will do!

repo: AnacondaRecipes/dacite-feedstock


text:
CFFL

CFFL

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_62_76nqk5r/clone/recipe/meta.yaml:14: pip_install_args: pip install should be run with --no-deps.
ERROR: /tmp/abs_62_76nqk5r/clone/recipe/meta.yaml:19: missing_wheel: For pypi packages, wheel should be present in the host section
WARNING: /tmp/abs_62_76nqk5r/clone/recipe/meta.yaml:24: python_build_tool_in_run: The python build tool setuptools is in run depends
ERROR: /tmp/abs_62_76nqk5r/clone/recipe/meta.yaml:33: missing_pip_check: For pypi packages, pip check should be present in the test commands
ERROR: /tmp/abs_62_76nqk5r/clone/recipe/meta.yaml:41: missing_documentation: The recipe is missing a doc_url or doc_source_url
WARNING: /tmp/abs_62_76nqk5r/clone/recipe/meta.yaml:41: missing_description: The recipe is missing a description
Errors were found

authors: anaconda-pkg-build bkreider

repo: AnacondaRecipes/py-rouge-feedstock


text:
Artifacts when too many polygons overlap

Reported on the forum: https://groups.google.com/forum/?hl=en#!topic/cesium-dev/XVKUlkEIY2c

http://cesiumjs.org/Cesium/Apps/Sandcastle/?src=Hello World.html&label=Showcases&gist=faa902dddc4493397bc4cee452f67b12

Could be related to OIT.  As a workaround, try setting orderIndependentTranslucency : false when constructing the Cesium Viewer widget.

authors: hpinkos pjcozzi

repo: AnalyticalGraphicsInc/cesium