'match_pattern_separator_break_point' appears to have no effect

In my rustfmt.toml, I have match_pattern_separator_break_point = "Front". However, running rustfmt with this option results in the following:
-                Outcome::Success(_) | Outcome::Failure(_) => return outcome,⏎
+                Outcome::Success(_) |⏎
+                Outcome::Failure(_) => return outcome,⏎

First, I would expect the diff to be empty since the full pattern is within max_width, so making any change here seems incorrect. But, if the pattern did need to be split, the separator should be placed in the front, not back, as specified in match_pattern_separator_break_point.
Finally, on a related note, there's doesn't appear to be a way to control the spacing between a binder ident and a pattern: ident @ pattern. This results in the following:
             match outcome {⏎
-                o@Outcome::Success(_) | o@Outcome::Failure(_) => return o,⏎
+                o @ Outcome::Success(_) |⏎
+                o @ Outcome::Failure(_) => return o,⏎
                 Outcome::Forward(unused_data) => data = unused_data,⏎
             };⏎

#1807 and https://github.com/rust-lang-nursery/fmt-rfcs/issues/34 are related.

Could you please give us the version of rustfmt you used and your whole rustfmt.toml?
I could not reproduce this with 0.2.5-nightly () and just setting match_pattern_separator_break_point = "Front".

Assume this is fixed on latest nightly. Closing (please comment if this is not fixed and I'll re-open)


[sysrst_ctrl] Added sysrst_ctrl testbench environment template

Signed-off-by: Madhuri.Patel<EMAIL_ADDRESS>

CI is failed due to this error. Please fix it.

The commit author name 'Madhuri.Patel' contains no space. Use "git config user.name 'Johnny English'" to set your real name, and update the commit with "git rebase -i " and/or "git commit --amend --signoff --reset-author".  See CONTRIBUTING.md for more details.

@patel-madhuri once you address all the comments, please request us to review it again by clicking "re-request review" or ping us in a comment

The failiing FPGA CI check does not seem related to this PR. I will merge it.


Remove invalid output file warning on validate command

fixes https://github.com/CycloneDX/sbom-utility/issues/34

Please note I used this issue to update the README and config.json to remove an interim 1.5 dev. release schema


⚠ Avatar API Endpoint has degraded performance

In c2018b7, Avatar API Endpoint (https://avatar.roblox.com/v1/avatar-rules) experienced degraded performance:

HTTP code: 200
Response time: 1947 ms

Resolved: Avatar API Endpoint performance has improved in ee4f9ed after 5 minutes.


A bunch of errors when launching eclipse

I'm trying to help with the project and I'm trying to set up eclipse. After I import the project, I get tons of errors, mainly with org.apache.commons. This is the first time for me actually using git on my PC so I need some help.

You need to setup Maven. Maven is used to build projects with its dependencies, and you will need to:

Download and Install Maven 3, by making sure to update the appropriate System variables for Maven and the JDK version 8.
Import Glowstone++ as a Maven project by using the m2eclipse plugin.

Also make sure that you forked the repository on first hand and using the --recursive option to clonse Glowkit as well.

Alright, ill give it a go


Add Explanation of How to Development on NTIA Conformance Checker

Add explanation to README

Was addressed by PR #62


Add linting to test directory

Verified that @j3tan has signed the CLA. Thanks for the pull request!

+2


proposal: footer should not stick to the bottom

In #59 @CIPHERTron wrote:

Also, the footer sticks to the bottom which might not be a great from UI/UX perspective according to me

@CIPHERTron lmk if you want to work on this.

Yeah sure. I would love to work on this :D

Thanks @CIPHERTron. All yours.


Define max_line_length

Otherwise, resharper assumes that it is 120 and starts to wrap things

resharper_csharp_wrap_lines = false

Published 1.4.0.


Replace grub-mkrescue with grub2-mkrescue

It seems like grub-mkrescue causes some issues. See this comment.

Both are actually the same program, and it's just up to the distribution how they like their binaries to be called. Most distributions I've come across use grub-*, but e.g. Gentoo uses grub2-*.
So please don't just replace, but add a comment that the 2 might be required.

As for the EFI issue, there two solutions to get grub-mkrescue to work:

Install mtools, which is used by grub-mkrescue to create efi.img
Use -d /usr/lib/grub/i386-pc (may also be distribution specific) to avoid using EFI

Once mtools was installed, I had no problems getting the EFI-enabled iso booting in qemu.

One more thing: xorriso is contained (again, for some distributions) in the awkwardly-named package libisoburn, which might also warrant a note.

Thank you very much! I will add some notes for these things.

Additionally, while I see xorriso is mentioned in the text it's not mentioned in the github readme.  I have been trying to build before reading the blog post, and consequently I didn't know to install xorriso.  make run fails with error 127 when xorriso isn't installed.

@spratt Thanks! I have little time at the moment, so I just added xorriso to the Readme. But I plan to add a troubleshooting page with more details.


Hidden files are corrupted due to lost \n

Abstract
Some hidden files are corrupted during replication because \n characters are converted to line breaks.
The following diff shows the cause. - is original. + is replicated and corrupted.
[tats@zoom obsidian-vimrc-support]% diff -u main.js ~/Nextcloud/Temp/main.js
--- main.js     2024-05-08 23:19:02
+++ /Users/tats/Nextcloud/Temp/main.js  2024-05-08 23:35:31
@@ -724,7 +724,8 @@
         var view = this.getActiveView();
         if (view) {
             var cmEditor = this.getCodeMirror(view);
-            vimCommands.split("\n").forEach(function (line, index, arr) {
+            vimCommands.split("
+").forEach(function (line, index, arr) {
                 if (line.trim().length > 0 && line.trim()[0] != '"') {
                     var split = line.split(" ");
                     if (mappingCommands.includes(split[0])) {
@@ -855,7 +856,8 @@
             return __generator(this, function (_b) {
                 availableCommands = this.app.commands.commands;
                 if (!((_a = params === null || params === void 0 ? void 0 : params.args) === null || _a === void 0 ? void 0 : _a.length) || params.args.length != 1) {
-                    console.log("Available commands: ".concat(Object.keys(availableCommands).join('\n')));
+                    console.log("Available commands: ".concat(Object.keys(availableCommands).join('
+')));
                     throw new Error("obcommand requires exactly 1 parameter");
                 }
                 view = this.getActiveView();

Expected behaviour

Hidden files remain exactly the same

Actually happened

\n in hidden files are converted to line breaks
The corrupted plug-ins cannot be enabled with the following error

Plugin failure: obsidian-vimrc-support SyntaxError: Invalid or unexpected token (at plugin:obsidian-vimrc-support:727:31)

Reproducing procedure

[Host A] Install “Vimrc Support” community plug-in
[Host A] Choose Overwrite at Enable Hidden file sync at Self-hosted LiveSync setting
[Host B] Choose Fetch at Enable Hidden file sync at Self-hosted LiveSync setting

I confirmed the same behavior with “Copy as HTML”, “DataLoom”, “Dataview”, “Footnote Shortcut”, “Iconize”, “Keyboard Analyzer”, “Mermaid Tools”, “Numerals”, “Outliner”, “Paste URL into selection”, and “Templater” community plug-ins.
Note:  I am replicating with S3
Report materials
Report from the LiveSync

Report from hatch
---- Obsidian info ----
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) obsidian/1.4.16 Chrome/114.0.5735.289 Electron/25.8.1 Safari/537.36
---- remote config ----
Object Storage Synchronisation

---- Plug-in config ---
version:0.23.3
remoteType: MINIO
useCustomRequestHandler: true
couchDB_URI: self-hosted
couchDB_USER: 𝑅𝐸𝐷𝐴𝐶𝑇𝐸𝐷
couchDB_PASSWORD: 𝑅𝐸𝐷𝐴𝐶𝑇𝐸𝐷
couchDB_DBNAME: 𝑅𝐸𝐷𝐴𝐶𝑇𝐸𝐷
liveSync: false
syncOnSave: true
syncOnStart: true
savingDelay: 200
lessInformationInLog: false
gcDelay: 0
versionUpFlash: ""
minimumChunkSize: 20
longLineThreshold: 250
showVerboseLog: false
suspendFileWatching: false
trashInsteadDelete: true
periodicReplication: true
periodicReplicationInterval: 10
syncOnFileOpen: true
encrypt: false
passphrase: 𝑅𝐸𝐷𝐴𝐶𝑇𝐸𝐷
usePathObfuscation: true
doNotDeleteFolder: true
resolveConflictsByNewerFile: false
batchSave: true
deviceAndVaultName: ""
usePluginSettings: false
showOwnPlugins: false
showStatusOnEditor: true
showStatusOnStatusbar: true
showOnlyIconsOnEditor: false
usePluginSync: false
autoSweepPlugins: false
autoSweepPluginsPeriodic: false
notifyPluginOrSettingUpdated: false
checkIntegrityOnSave: false
batch_size: 25
batches_limit: 25
useHistory: true
disableRequestURI: true
skipOlderFilesOnSync: true
checkConflictOnlyOnOpen: false
showMergeDialogOnlyOnActive: false
syncInternalFiles: false
syncInternalFilesBeforeReplication: false
syncInternalFilesIgnorePatterns: \/node_modules\/, \/\.git\/, \/obsidian-livesync\/, \/workspace$, \/workspace.json$, \/workspace-mobile.json$, \/obsidian-omnivore\/
syncInternalFilesInterval: 60
additionalSuffixOfDatabaseName: c537545cec69af5a
ignoreVersionCheck: false
lastReadUpdates: 23
deleteMetadataOfDeletedFiles: false
syncIgnoreRegEx: ""
syncOnlyRegEx: ""
customChunkSize: 10
readChunksOnline: true
watchInternalFileChanges: true
automaticallyDeleteMetadataOfDeletedFiles: 0
disableMarkdownAutoMerge: false
writeDocumentsIfConflicted: false
useDynamicIterationCount: false
syncAfterMerge: true
configPassphraseStore: ""
encryptedPassphrase: 𝑅𝐸𝐷𝐴𝐶𝑇𝐸𝐷
encryptedCouchDBConnection: 𝑅𝐸𝐷𝐴𝐶𝑇𝐸𝐷
permitEmptyPassphrase: false
useIndexedDBAdapter: true
useTimeouts: false
writeLogToTheFile: false
doNotPaceReplication: false
hashCacheMaxCount: 300
hashCacheMaxAmount: 50
concurrencyOfReadChunksOnline: 30
minimumIntervalOfReadChunksOnline: 25
hashAlg: xxhash64
suspendParseReplicationResult: false
doNotSuspendOnFetching: false
useIgnoreFiles: false
ignoreFiles: .gitignore
syncOnEditorSave: true
pluginSyncExtendedSetting: {}
syncMaxSizeInMB: 50
settingSyncFile: ""
writeCredentialsForSettingSync: false
notifyAllSettingSyncFile: false
isConfigured: true
settingVersion: 0
enableCompression: false
accessKey: 𝑅𝐸𝐷𝐴𝐶𝑇𝐸𝐷
bucket: 𝑅𝐸𝐷𝐴𝐶𝑇𝐸𝐷(14 letters)
endpoint: Not configured or AWS
region: 𝑅𝐸𝐷𝐴𝐶𝑇𝐸𝐷(14 letters)
secretKey: 𝑅𝐸𝐷𝐴𝐶𝑇𝐸𝐷

Obsidian debug info

Debug info
SYSTEM INFO:
	Obsidian version: v1.5.12
	Installer version: v1.4.16
	Operating system: Darwin Kernel Version 23.4.0: Fri Mar 15 00:10:42 PDT 2024; root:xnu-10063.101.17~1/RELEASE_ARM64_T6000 23.4.0
	Login status: logged in
	Catalyst license: none
	Insider build toggle: off
	Live preview: on
	Base theme: adapt to system
	Community theme: Obsidian Nord v0.2.0
	Snippets enabled: 0
	Restricted mode: off
	Plugins installed: 17
	Plugins enabled: 17
		1: Self-hosted LiveSync v0.23.3
		2: Calendar v1.5.10
		3: DataLoom v8.16.0
		4: Dataview v0.5.66
		5: Footnote Shortcut v0.1.3
		6: Highlightr v1.2.2
		7: Iconize v2.11.14
		8: Keyboard Analyzer v0.1.3
		9: Meld Encrypt v2.3.7
		10: Mermaid Tools v1.1.1
		11: Numerals v1.2.0
		12: Omnivore v1.10.2
		13: Outliner v4.8.1
		14: Paste URL into selection v1.7.0
		15: Templater v2.2.3
		16: Vimrc Support v0.9.0
		17: Copy as HTML v1.1.3

Plug-in log

Plug-in log
Host A
5/9/2024, 12:49:50 AM->Hidden files and plugin synchronization have been temporarily disabled.  Restarting the app is strongly recommended!

Host B
5/9/2024, 12:35:17 AM->Hidden files and plugin synchronization have been temporarily disabled.  Restarting the app is strongly recommended!

I've got the same problem with other plugins. All main.js files form plugin dirs are broken

@raczkow What are you using to sync? CouchDB, MinIO, or S3?

Fresh setup of MinIO

I am so sorry for being late to reply!
This issue has been fixed at 0.23.3! I apologise for the lack of announcement!
It has been fixed in the much older version and seems not to be reproduced again, so I hope to close this issue once.
If you have noticed some issues left, please feel free to open this issue again.


Problem with Secondary Source Selection and eps

Try the following
conf = SFS_config;

conf.plot.realloudspeakers = true;

conf.tapwinlen = 1.0;
conf.secondary_sources.number = 36;
conf.secondary_sources.geometry = 'circular';

xs = [0, 3, 0];
x0 = secondary_source_positions(conf);
[x0, idx] = secondary_source_selection(x0, xs, 'ps');
x0 = secondary_source_tapering(x0, conf);
figure,
subplot(2,2,1);
draw_loudspeakers(x0, [1 1 0], conf);
xlim([-1.6,1.6]);
ylim([-1.6,1.6]);
title(sprintf('number of secondary sources: %d', size(x0,1)));
subplot(2,2,2);
plot(x0(:,7), 'b');

xs = [0, -3, 0];
x0 = secondary_source_positions(conf);
x0 = secondary_source_selection(x0, xs, 'ps');
x0 = secondary_source_tapering(x0, conf);
subplot(2,2,3);
draw_loudspeakers(x0, [1 1 0], conf);
xlim([-1.6,1.6]);
ylim([-1.6,1.6]);
title(sprintf('number of secondary sources: %d', size(x0,1)));
subplot(2,2,4);
plot(x0(:,7), 'r');

Although everything is symmetric, the number of selected sources is different. I think this is related to the usage of epsin https://github.com/sfstoolbox/sfs/blob/master/SFS_general/secondary_source_selection.m#L124 . While replacing it with 0 does make a difference, replacing it with -eps leads to the same result for both setups. Note, that the range for azimuth of the the selected secondary sources lies between phi_s +- 60 degrees, where phi_s is the azimuth of the virtual point source. Due to the azimuthal grid of 10 degrees resolution two secondary sources are exactly on this bound.

I have applied your proposed change from eps to 0 for a pint source (L124) in the branch fix_ssd_selection. If I run your example the output looks identical to me.

As I understood it this is the crucial part why this bug happens: "two secondary sources are exactly on this bound", correct?
I can reproduce the behavior for -eps, do you know why this is working and can we somehow become independent of the sign?

I understood the eps as the maximum value, which may be added and substracted to the true result of an arithmetic operation due to numerical noise, i.e. finite numerical resolution. Assuming the true value of the scalar product is 0, its calculated value might be between +eps and -eps. I guess choosing -eps is the conversative approach, as all sources are selected, where the scalar product yields greater-equal -eps. However, there might be a source, where the true is smaller than 0 and which are selected erroneously due to this selection criterion.

I think you are right and it is more conservative to use a negative value. I tested the same for ls as source and added now -2*eps as the criterium as for ls -eps was not enough.

Btw, for focused sources and plane wave there was no error with your loudspeaker array, so I didn't changed the selection criterium.


Value Is Not Showing

Hello i am trying to display and value for the datepicker from the database but the value is not showing and because of that every time i refresh the page it set date to null. Could you please tell me what to do? Thank you
<input class="form-control custom-datepicker" type="date" name="dob" value="<?=$cdob;?>" id="dob">

Please provide a reproducible testcase as repository.


 Even basic support would help.

lacking typescript support is what blocks me from doing the work I need. Even basic support would help.

Any contribution in this direction is welcome 👍

In the meantime, or in case that is closed, I made some (mostly complete) custom typings anyone can use.
I didn't bother with getting the OSC.open({ }) options to work depending on which plugin you were using, but you could probably do some generics for that.
https://gist.github.com/JacobMuchow/79b3cc7014ec869dff0c4dd83a2aaf34

TypeScript support got merged now and released with version 2.4.0 :sparkler: Thank you @JacobMuchow !!


Change all content* keyword tests to always validate

The Draft 2019-09 specification requires that these be annotation-only.

Perhaps in the future, there's an "optional-content" directory or section, or some such.

Thanks. Probably as someone said on Slack, as part of this we also should move these to the required directory (since this isn't optional behavior).

Moved.


Sent my notcoin to your wallet address mistakenly

Hello . On 28-05-2024 at 19:21, I have sent my 5628 Notcoin s to your wallet address mistakenly. I don't how it occurred even I pasted my wallet address. So kindly send back my coins please. My WhatsApp number is +91<PHONE_NUMBER>.
Here is my wallet address:    EQDD8dqOzaj4zUK6ziJOo_G2lx6qf1TEktTRkFJ7T1c_fPQb

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

I didn't receive any notcoins. plese contact me on whatsapp  +91<PHONE_NUMBER>

I didn't receive any notcoins. plese contact me on whatsapp +91<PHONE_NUMBER>

I didn't receive any notcoins. plese contact me on whatsapp +91<PHONE_NUMBER>


Binning question,  how to use vamb?

Hi !
Before operating phamb, i use vamb process binning,
Vamb rum mode:   vamb --outdir output63
--fasta R63.contigs.fa.gz
--bamfiles R63_sort.bam
-o C
report err.log : Traceback (most recent call last):
File "/public/home/bioinfo_wang/00_software/miniconda3/envs/avamb/bin/vamb", line 33, in
sys.exit(load_entry_point('vamb', 'console_scripts', 'vamb')())
File "/public/home/bioinfo_wang/00_software/vamb/vamb/main.py", line 1395, in main
run(
File "/public/home/bioinfo_wang/00_software/vamb/vamb/main.py", line 834, in run
cluster(
File "/public/home/bioinfo_wang/00_software/vamb/vamb/main.py", line 665, in cluster
clusternumber, ncontigs = vamb.vambtools.write_clusters(
File "/public/home/bioinfo_wang/00_software/vamb/vamb/vambtools.py", line 440, in write_clusters
for clustername, contigs in clusters:
File "/public/home/bioinfo_wang/00_software/vamb/vamb/vambtools.py", line 701, in binsplit
for newbinname, splitheaders in _split_bin(binname, headers, separator):
File "/public/home/bioinfo_wang/00_software/vamb/vamb/vambtools.py", line 676, in _split_bin
raise KeyError(f"Separator '{separator}' not in sequence label: '{header}'")
KeyError: "Separator 'C' not in sequence label: 'k141_84347'"
But, the reuslt contain ‘k141_84347 ’ ：
‘ less contignames |grep "k141_84347" -A2 -B2 ' --> 'k141_512747
k141_170723
k141_84347
k141_170724
k141_512748'
the vamb operation result file contain :
'0 Oct 9 23:52 vae_clusters.tsv # why the file is empty？
7.7M Oct 9 23:52 contignames
2.6M Oct 9 23:52 lengths.npz
41K Oct 9 23:52 log.txt
77M Oct 9 23:52 latent.npz
815K Oct 9 23:51 model.pt
894 Oct 9 14:40 mask.npz
2.3M Oct 9 14:40 abundance.npz
252M Oct 9 14:38 composition.npz'
Thanks!

Hi Chao
I see, this will not fly. It looks like there is an issue in the steps where you run vamb, your contignames has to be named with a strict format that makes you able to identify the original sample origin of each sample.
When that works and you get a non zero vae_clusters.tsv file, the downstream step using phamb should be straight forward.
Maybe @enryH  - Can help you identify what went wrong.

KeyError: "Separator 'C' not in sequence label: 'k141_84347'"

So what is your separator? I guess you know VAMB better than me:)

the file R63.contigs.fa.gz format like this:

k141_514373 flag=1 multi=3.0000 len=356
CCATAAATCTGATTTTAGTCAAAAAAATATGCAGTTTTTCAAAAAGGGTGTATAATTCTTTCGTTACATGAAATATTTTGGAGGTGCTATTTTTATGAAAA
k141_0 flag=1 multi=2.0000 len=345
AGGTGAAGATGACCGAAGAGGAGATTAAGGCCCGTGAGTTTGCCAAAGCGGCGCAGAAGGAGAAGGAGGACCGTGAGGCCAAGAAAGCGCTGG

Hi Chao - did you manage to run VAMB as described in the example on the VAMB Github repo? I think that will solve many of your issues posted here.

Concatenate assemblies from different samples

python concatenate.py /path/to/catalogue.fna.gz /path/to/assemblies/sample1/contigs.fasta /path/to/assemblies/sample2/contigs.fasta  [ ... ]

Do the mapping

minimap2 -d catalogue.mmi /path/to/catalogue.fna.gz; # make index
minimap2 -t 8 -N 5 -ax sr catalogue.mmi --split-prefix mmsplit /path/to/reads/sample1.fw.fq.gz /path/to/reads/sample1.rv.fq.gz | samtools view -F 3584 -b --threads 8 > /path/to/bam/sample1.bam

run VAMB

vamb --outdir path/to/outdir --fasta /path/to/catalogue.fna.gz --bamfiles /path/to/bam/*.bam -o C

It will be hard to help if the naming of the contigs in the fasta file and in the clusters.tsv file are not correctly formatted.

Hi Chao - did you manage to run VAMB as described in the example on the VAMB Github repo? I think that will solve many of your issues posted here. I hope that you are trying to process more than just one sample of course.

Concatenate assemblies from different samples

python concatenate.py /path/to/catalogue.fna.gz /path/to/assemblies/sample1/contigs.fasta /path/to/assemblies/sample2/contigs.fasta  [ ... ]

Do the mapping

minimap2 -d catalogue.mmi /path/to/catalogue.fna.gz; # make index
minimap2 -t 8 -N 5 -ax sr catalogue.mmi --split-prefix mmsplit /path/to/reads/sample1.fw.fq.gz /path/to/reads/sample1.rv.fq.gz | samtools view -F 3584 -b --threads 8 > /path/to/bam/sample1.bam

run VAMB

vamb --outdir path/to/outdir --fasta /path/to/catalogue.fna.gz --bamfiles /path/to/bam/*.bam -o C

It will be hard to help if the naming of the contigs in the fasta file and in the clusters.tsv file are not correctly formatted.

Dear@joacjo
Thanks for your reply! I have solved this problem.
But, I have another question:
Run the RF model, the result file 'resultdir/vamb_bins/vamb_bins.1.fna' , how to cluster to get the vOTUs ?
which tools and databse can we use to get the vOTUs ?
Thanks a lot !

Hi Chao
The most straight forward to way to get vOTUs is following the approach described by the CheckV people
Copied from https://bitbucket.org/berkeleylab/checkv/src/master/
Rapid genome clustering based on pairwise ANI

First, create a blast+ database:
makeblastdb -in <my_seqs.fna> -dbtype nucl -out <my_db>

Next, use megablast from blast+ package to perform all-vs-all blastn of sequences:
blastn -query <my_seqs.fna> -db <my_db> -outfmt '6 std qlen slen' -max_target_seqs 10000 -o <my_blast.tsv> -num_threads 32

Next, calculate pairwise ANI by combining local alignments between sequence pairs:
anicalc.py -i <my_blast.tsv> -o <my_ani.tsv>

Finally, perform UCLUST-like clustering using the MIUVIG recommended-parameters (95% ANI + 85% AF):
aniclust.py --fna <my_seqs.fna> --ani <my_ani.tsv> --out <my_clusters.tsv> --min_ani 95 --min_tcov 85 --min_qcov 0

Dear@joacjo
Thanks a lot !  Thanks for your reminding. I'll go over the instructions of checkV in detail.
But i have another problem:
'  hmmsearch --cpu 16
-E 1.0e-05
-o R1_output.txt
--tblout ./R1_annotations/all.hmmVOG.tbl
AllVOG.hmm  ./R1_proteins.faa  '
This step runs very slowly ,is there anything I can do to speed up ?
I provid 16CPUs and 240G memeoy.  (  #SBATCH -n 16  #SBATCH --mem=240G )
the file 'AllVOG.hmm'   is about 3.2G,  file 'R1_proteins.faa' is about 630M;


Update openknx to 0.5.3

Please update my adapter ioBroker.openknx to version 0.5.3.
This pull request was created by https://www.iobroker.dev c0726ff.

5.0.3 18.3.2023
app 10% users
OK


Only git release

Is there a way to configure unleash to only do Git or npm?
I have a node service where I would like to have releases on git but I do not want to publish it as an npm package.

@rahil471 Not currently, but I'm happy to enable this

@rahil471 @Falieson I'm working on a branch of Unleash that contains support for git/push-only or npm/publish-only unleashes. I'll update this issue when that's complete.

Any progress here?

Yes sir! I use it on my projects already and I’m publishing this feature in the next few days.

@goodmind @Falieson @rahil471 Both publish-only & push-only deployments/releases are possible in the latest Unleash release

Thanks for your efforts @jameswomack .

You’re most welcome @rahil471


Plugin fingerprint

Describe the feature
Every time I get new fingerprints, amiunique.org shows the same plugins list. It would be better to have it different for better flying under the radars.

Thank you for submitting this issue! This is imho the desired behaviour with the latest (2021 - 2022) browser versions - navigator.plugins in those versions shows a hard-coded array of predefined values.
amiunique says that around 70% of devices has been using this hard-coded value in the past 90 days - so there is probably no point in hiding this, as a majority of (valid) devices presents the same values.
I'm closing this for now, but feel free to reopen the issue if I'm missing something :)


Add ability to override default context in Gradle run task

allow the developer to override the default context in the Gradle run task. an example property for the override is added to gradle.properties.example.

I accomplished something sort of similar via:
cwms.dataapi.default.office=SPK
but your suggestion seems valid.


[Improve]: spark edit mode & fix create error

What changes were proposed in this pull request
Issue Number: close #xxx

Brief change log

Verifying this change

This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:

Does this pull request potentially affect one of the following parts

Dependencies (does it add or upgrade a dependency): (yes / no)

@wolfboys Hi, I've improved some of the bugs related to the spark app edit page, check it out at your convenience!


chore(master): release 1.0.4

:robot: I have created a release beep boop
1.0.4 (2024-11-25)
Bug Fixes

indexed-db not work (187ed1f)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/keq-request/keq-cache/releases/tag/v1.0.4 :sunflower:


[Please read the message below]

Please do not submit this issue.

[X] I understand

Hello,
Would someone be able to answer some questions related to the use of jest-axe?
I have captured the questions in this google doc.
https://docs.google.com/spreadsheets/d/1MvqPDx9CZMGDYZFf_FQbCjytSINRqRSNpQxsjGfzBPE/edit#gid=123605610
Any feedback would be greatly appreciated.
Thanks so much
Christina Lutz-Hatfield
Digital Services | City and County of San Francisco

Did you try talking with jest-axe maintainers in their repo?


[Feature Request] Allow disabling of certain curses in config

I want to use this mod in a modpack (if you're not OK with that please let me know), but I would like to be able certain Curses in config. Any update on this would be appreciated, and even if you don't add this, I'll probably use it anyway... :)

Sorry for the super late response! I'll look into adding configurable curses to the mod, and I'm honored to have my mod included in your modpack!


Make available direct link to download

You should also make the ROM file (UNROM) available as a direct download link (without JavaScripts, and even without HTML so that curl/wget can be used too), as an alternative than needing itch.io.
I played a older version, and this game is good.
It says is available two versions, being RAINBOW mapper and UNROM mapper (since RAINBOW mapper is not commonly implemented).
If you want to use expansion audio, then a VRC6 version might be suitable, since I think it is the same sound as RAINBOW mapper. Some of the other features, such as PRG ROM banking and scanline IRQ, also seem like they would be compatible, too. (VRC6 can also use ROM name tables, but I think some emulators do not implement this feature, and it might not be needed for this program anyways.) (However, possibly some things that I may have missed, too. And so far does not seem to use expansion audio (as far as I can tell, by looking at data files), so I suppose UNROM might be good enough for now, anyways.)

Hello,
Thanks for reaching up and enjoying the game.
Maintaining builds up to date is non-negligible work that I have to take aside from developing the game itself. To limit its impact, I maintain distribution on only one place (which happens to be itch.io.) To get the ROM without javascript, the only supported way is to clone this repository and build it yourself. Full build instruction should be in the readme, please let me know if something is missing. (Released versions are tagged accordingly, and the master shouldn't be broken too often.)
Sorry to be negative on that, but I have to limit maintenance tasks creep, it is already pretty heavy on release days.
Now for the other topics:
Indeed, RAINBOW is only supported by our forked FCEUX for now. The mapper is still being developped, so it's specs change quite often. The UNROM build, as you noticed is a compatibility build, working on most emulators. You'll notice however that the UNROM build is 512 KB, while the mapper only supports 128 KB, this is a trick used because emulators support it, but there is no real hardware running it (except the everdrive). The build also outputs an UNROM-512 version, which is less supported by emulators but could easily be flashed on compatible carts that are easy to find.
The use of VRC6, at least for the main theme, is in the backlog. As you noticed RAINBOW extra channels are very VRC6-like, this is no coincidence :) When that happens, it will be optional, and UNROM roms will still be available, without the extra channels, with tracks made to be enhanced by VRC6 but still good without.
In Super Tilt Bro., I voluntarily refrain from using scanline IRQs and other fancy mapper features (aside of internet connectivity.) This ensure I'll always be able to produce ROMs for simpler mappers. RAINBOW however is not made only for Super Tilt Bro. and is a super powerful, full-featured mapper. I just happen to deactivate most features on boot and proceed to ignore them after that.
I hope I addressed your curiosity, and again am sorry but have to decline to maintain yet another official download place. If you want to be sure what is the latest released version, the source of truth is itch.io.


Allow unconfirmed access for at least the next few years

As of Jan 1, 2023, after creating accounts new users must confirm emails before logging in.
Make it so that new users after creating accounts are logged in and don't need to confirm emails along the way

@kueda can you advise on how to approach this ticket and whether this:
https://github.com/inaturalist/inaturalist/pull/4033
is an ok approach towards achieving the goals of:

User creates account on any device and is automatically logged in/capable of logging in without confirming email
Confirmation email still sent
No weird vestigial messaging about previous email confirmation changes that is no longer relevant is displayed to unconfirmed users


ENH: Custom command line argument support

Adds an '-x' option to the top-level entry point, which allows a user to define multiple custom args which would then be under main.extension_args. Also adds a function under main that parses these args, making sure that they are entered in key=value form.

@jnazaren @llllllllll is there still stuff here that we want to merge, or was this replaced by https://github.com/quantopian/zipline/pull/2210 ?

This PR was replaced by #2210 -- sorry should have closed it earlier


Access to the actual dictionary data.

Hi,
based on this comment it sounds like the actual Cree dictionary information (the crkeng.xml file) is proprietary information? I’m looking for the owner of that file regarding a project I’m working on. Who should I reach out to?
Thanks!

@jenstroeger Send an email to myself, i.e<EMAIL_ADDRESS>and we can follow up there.

Thank you @aarppe, I just sent you the email. Closing this issue.


Update docker.io/bitnami/postgresql Docker tag to v15

This PR contains the following updates:

Package
Update
Change

docker.io/bitnami/postgresql
major
14.5.0 -> 15.3.0

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 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

This PR has been generated by Renovate Bot.

Renovate Ignore Notification
Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 15.x releases. But if you manually upgrade to 15.x then Renovate will re-enable minor and patch updates automatically.
If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.


Build not working

Opened this ticket based on http://blog.greglturnquist.com/2015/07/debug-and-maintain-your-spring-boot-app.html#comment-355367:
====
Regarding “learning spring boot”:
– Creating a functional environment is one of the hardest things in software development. Unfortunately you have not started with this topic in your book. Yes, I understand that it gets old the fastest, but on the other hand some of your readers will be in the dilemma where I am: Your code doesn’t work and I don’t know how to fix the dev environment to get it working.
– A bit same is with utilizing source code, preferably through a fork in GitHub: Especially Eclipse is frustrating in that it has several different mechanisms how to do it, some of them don’t work at all, some are counter-intuitive and some require correct plugins to work. I probably know that part already, but you could really afford to have one section of these basics and tell one of the good ways to do it.
– Also when ever I read a development book, I ALWAYS do it the same way: I either copy-paste or use from the sources the correct place and compile it. And only if that works, I start to read the content: what does it do & how was it created the way it was. But you work the other way around: you approach the content first and getting it compiled is very much secondary. When the person has struggles with the environment or compilation, your approach is frustrating as ….
I don’t know how many attempt I am doing now and none of them have worked but they have had different issues. I have followed different instructions around the web to create them, but so far I have always found instructions that were either too old, too short (didn’t explain far enough for getting everything to work) or whatever.
I have tried five versions of IDE:
– Red Hat JBoss Developer Studio 9 beta (Eclipse)
– Red Hat JBoss Developer Studio 8 (Eclipse)
– Eclipse Mars
– Eclipse Luna
– Groovy/Grail Tool Suite (Eclipse)
Several AS:
– Tomcat 8
– Tomcat 7
– Wildfly 8.2
– Wildfly some other version
– Jetty
Other:
– Gradle 2.4 and 2.7
– Maven 1?, Maven 2, Maven 3?
– Lots of settings
As you can guess quantity doesn’t improve quality, but I don’t want to spend days on an issue, so if I don’t solve it fast enough, I try something else.

As of https://github.com/learning-spring-boot/learning-spring-boot-code/commit/1131adb261e2c681b0c7c89c33d74bfccb7c096f, I've upgraded all the gradle build files to 2.3. I ran some parts via ./gradlew bootRun, and they run fine. If there are specific stack traces you can capture and report via new issues, I'm all for it.

As of https://github.com/learning-spring-boot/learning-spring-boot-code/commit/380f383a28fb4c1acfc533d3ae8cbc89945aa025, I have restructured the gradle build so you can import this entire repo into your repository and build it as well.


feat: initial skeleton implementation of map, header, sidebar

This PR takes the base scaffolding of the boilerplate project and removes the irrelevant UI bits seen here:

After doing that, it introduces a Google Maps API implementation that is a bit "forced" by modern standards. It seems that the Places API is one of the few that are not yet available in promise format. I considered implementing this via Netlify (lambda) serverless function in order to leverage axios and what looks to be a significantly more modern Node.JS API, even attempting to use it in React, but alas, it doesn't work (as stated in the docs for the Google Maps Node lib)
Also, I was curious whether a Node API implementation could help speed up the round trip (via SSR) by fetching data without waiting on the very slow

After a bit of compiling / server side shenanigans, we have a Netlify ✅ build with a Netlify deploy preview here that confirms we're looking good 👍
https://deploy-preview-1--fervent-snyder-3aa3f7.netlify.app/
Away we go 🚀


Feat/previous next article links order

Summary
3 changes are introduced:

Replace angle brackets (‹/›) by arrows (←/→) in article links
Add the capability to reverse the order of article links (from next / previous to previous / next)
Introduce labels in front of article links

Related issue
#259
Changes

At lines L.137-138 of templates/page.html, I had to retrieve labels in a variable because I was not able to concatenate a macro and a string.
{% set article_links_left_side_title = macros_translate::translate(key="prev", default="Prev", language_strings=language_strings) ~ " - " ~ page.higher.title %} fails on my side.
In the end, it can make sense to retrieve them once as they are used several time in later code.
I was not able to make lines L.139-157 of templates/page.html less verbose.
I tried several things but I cannot create structures (kind of json object) directly in the template (or at least, I was not able to code it).
In addition, I was not able to figure out from the code already in this page if I had to remove whitespace before/after statements so I kept them.
Feel free to tell me if it doesn't suit.
I updated images in "Mastering tabi Settings: A Comprehensive Guide" article but I took screenshots manually. Even if both light and dark images are strictly identical (same position and size), they may slightly differ from what you usually do. Feel free to update them to your liking.
I didn't tried to do translations neither in Español nor in Català this time as they would be too much approximate and I prefer to rely on you than on Google translate if you're ok.
Regarding the labels, I just tried to propose something which is language agnostic (e.g. : may need space before depending on the language) and make sure the entire length (label + title) will be truncated to 100 characters as label length will change depending on the language.
Please don't hesitate to propose anything else.
Last but not least, I am not sure how I should verify the accessibility of such changes so I preferred not to tick the box.
Accessibility

I just added ARIA link attribute to navigation links on top of what already in place (I would say semantic HTML and Clour contrast).
Even if I was not able to test neither keyboard navigation nor voiceover or screen reader compatibility, I would say there should not be impacted by this change.
Screenshots

Before:

After:

Type of change

[ ] Bug fix (fixes an issue without altering functionality)
[X] New feature (adds non-breaking functionality)
[ ] Breaking change (alters existing functionality)
[ ] UI/UX improvement (enhances user interface without altering functionality)
[ ] Refactor (improves code quality without altering functionality)
[X] Documentation update
[ ] Other (please describe below)

Checklist

[ ] I have verified the accessibility of my changes
[X] I have tested all possible scenarios for this change
[X] I have updated theme.toml with a sane default for the feature
[X] I have made corresponding changes to the documentation:

[X] Updated config.toml comments
[X] Updated theme.toml comments
[X] Updated "Mastering tabi" post in English
[ ] (Optional) Updated "Mastering tabi" post in Spanish
[ ] (Optional) Updated "Mastering tabi" post in Catalan

Fantastic job!
Everything looks good to me; thanks for being so thorough.
I've just made a small rephrase on the docs. I will translate to Spanish / Catalan and merge.
Thanks again!

Translation done. Before merging let's discuss the Next/Prev prefix position/look.

Just added the code which allowed me to generate captures in the issue.
I tried to use aria-describedby tag to link the link to the article title but I am absolutely not sure it is the way it is supposed to be used.
I also have a doubt on the font-weight to the title in terms of visibility. So far, I took the same as the one used for metadata of the article.


remove Clair Klar Scan deduplication

leftover from: https://github.com/DefectDojo/django-DefectDojo/pull/9355

Shall I write a unittest for such cases @Maffooch or is it too rare cover this case with a unittest?


MediaConvert validation issue

Describe the bug
MediaConvert_Shapes has introduced a regression when validating S3 destinations.
The validation pattern looks like this: ^s3:\\/\\/$ when it would previously look like this: ^s3:\\/\\/.
This means that only destinations that match "s3://" work, which is unexpected as destinations like this one "s3://bucket/folder/file" should be allowed.
I temporarily forked and undo those changes here.
I understand that the shapes are autogenerated from the go SDK. In the GO SDK's mediaconvert.json I can see this:
        "com.amazonaws.mediaconvert#__stringPatternS3": {
            "type": "string",
            "traits": {
                "smithy.api#pattern": "^s3:\\/\\/$"
            }
        },

The JS SDK seems to contain the right pattern. See here.
I assume this is a bug on the GO SDK, but I wanted to ask in case we are not applying validations as expected, as I'm not too familiar about the API generation.
I will also try opening an issue in the GO SDK, in the meantime, I wonder if we should patch the issue in soto.
Thank you

This seems to have been an issue for quite a while. I haven’t released a new version of Soto in a couple of months. I see you have added an issue to the aws-sdk-go-v2 repo. I’ll
be interested to see how they respond.
Given the response time has been variable in the past, It is dependent on the service team updating the model for their service. I am going to add a patch for this. I’m on holiday at the moment though so you’ll have to wait until I’m back on the 26th.

Thanks for the quick reply @adam-fowler. I'm in no hurry as I forked Soto to patch the issue and can work with that.
For me it's okay to wait until the root issue is fixed in the go SDK.
If you think this should be patched in Soto without waiting Amazon's reply let me know and I can try to help.
Thanks!

#630 and https://github.com/soto-project/soto-codegenerator/commit/46d35fbda5c737d142a583be2e7091abdda2680a

Fixed

@0xpablo the difficulty of accessing service teams, forced me to implement the patching mechanism.


[BUG] cannot go get -u github.com/motemen/ghq

% go get -u  github.com/motemen/ghq
# github.com/motemen/ghq/utils
.gvm/pkgsets/go1.10/global/src/github.com/motemen/ghq/utils/log.go:10:19: too few values in struct initializer

Use new constructor for logger #104

Thanks, shoud be fixed by merging #104.


Add tests for influxdb and fix a bug

This adds tests for the influxdb component. It also fixes a bug,
where username and password are required, but not gracefully
handled if they're missing from config.

Can you remove influxdb from .coveragerc ?

Besides that :+1: :dolphin: :beers:

Oops, done :)


stage one fails and makes empty output directory

Hello,
I have args_oap installed through the conda instructions provided but stage_one fails and produces and empty output directory
[osvatic@login01 Metabolic_C]$ args_oap stage_one -i test -o output -f fa -t 32
[2023-05-10 13:04:06] INFO: Building databases ...
[osvatic@login01 Metabolic_C]$ cd output/
[osvatic@login01 output]$ ls
[osvatic@login01 output]$

I have been testing with 2 files that look like this:
file 1
>HWI-A00245_BSF_1099:1:2101:10158:29262#JMF_2107_07_0004_S104725
AGCGCAAGCCCGGCGCCTTGCGCAACGGCGCGCCGTTCGCTGACATGCCCGATCCGCTGCGC
>HWI-A00245_BSF_1099:1:2101:10158:30013#JMF_2107_07_0004_S104725
TGCGCGCCTTGCGGGCAACCGGCGATGCGCGCATAGTCGTTGACGGAGGTCAGGATGATCAAGGCAGTCAAGTTCGTGAGCGTGCCGGTCAAGGATCAGGA
>HWI-A00245_BSF_1099:1:2101:10158:30295#JMF_2107_07_0004_S104725
CCCGGCAACGTTTTAAAATTCCGTTTTGATAATATTATGTTGCCAGACAGCGGTTCAAACGAGCCTCAAAGTCACGGGTACGTGATTTACGAAATTAAACC

file 2
>HWI-A00245_BSF_1099:1:2101:10158:29262#JMF_2107_07_0004_S104725
AGCGCAAGCCCGGCGCCTTGCGCAACGGCGCGCCGTTCGCTGACATGCCCGATCCGCTGCGC
>HWI-A00245_BSF_1099:1:2101:10158:30013#JMF_2107_07_0004_S104725
TGCGCGCCTTGCGGGCAACCGGCGATGCGCGCATAGTCGTTGACGGAGGTCAGGATGATCAAGGCAGTCA
AGTTCGTGAGCGTGCCGGTCAAGGATCAGGA
>HWI-A00245_BSF_1099:1:2101:10158:30295#JMF_2107_07_0004_S104725

Is there a known issue or way to troubleshoot this?

Hi,
I suspect it's an issue with blast/diamond installation. The database is not successfully built.
Maybe try installing args_oap in a new conda environment using:
conda create -n args_oap -c bioconda -c conda-forge args_oap
conda activate args_oap

If the error persists, could you please show the results of the following command
conda list | grep -E 'diamond|blast|args_oap'

Hi,
thanks for the quick reply.
I'm working on the same installation as @osvatic.
Installation:
conda create -y -n args_oap-3.2.2 -c conda-forge -c bioconda args_oap=3.2.2

Conda environment:
$ conda list | grep -E 'diamond|blast|args_oap'
# packages in environment at /home/apps/conda/miniconda3/envs/args_oap-3.2.2:
args_oap                  3.2.2              pyhdfd78af_0    bioconda
blast                     2.13.0               hf3cf87c_0    bioconda
diamond                   2.1.6                h5b5514e_1    bioconda

Following the example from the README.md file:
$ wget -q https://dl.dropboxusercontent.com/s/pqgftlo24rfc2rd/example.tar.gz
$ tar -xf example.tar.gz
$ cd example
$ args_oap stage_one -i input -o output -f fa -t 8
[2023-05-12 10:35:25] INFO: Building databases ...
$ args_oap stage_two -i output -t 8
[2023-05-12 10:35:32] CRITICAL: File "metadata.txt" does not exist in input folder <output>. Please run <stage_one> first or check input folder (-i/--indir).
]$ ls *
input:
STAS_1.fa  STAS_2.fa  SWHAS104_1.fa  SWHAS104_2.fa

output:

Please make sure you have the write permission to folder /home/apps/conda/miniconda3/envs/args_oap-3.2.2
You may use chmod -R a+rw /home/apps/conda/miniconda3/envs/args_oap-3.2.2 to grant the permission.

Hi!
This is a central installation. That means I don't have permissions to change permission.
I installed the environment into my homedir where I do have write permissions and it worked like a charm.
Would it be possible to release a centrally installable version in future?
Which files in the environment need write access?
Thanks!

Which files in the environment need write access?

The first time you run args_oap it will built a database for blast/diamond and write these files to the folder.

Would it be possible to release a centrally installable version in future?

We may release a version that contains pre-built databases later.

Running the test after installation as admin worked:
conda create -y -n args_oap-3.2.2 -c conda-forge -c bioconda args_oap=3.2.2
conda activate args_oap-3.2.2
TD=$(mktemp -d)
pushd $TD
wget -q https://dl.dropboxusercontent.com/s/pqgftlo24rfc2rd/example.tar.gz
tar -xf example.tar.gz
cd example
args_oap stage_one -i input -o output -f fa -t 8
args_oap stage_two -i output -t 8
popd
rm -rf $TD

Now I can run the test successfully as non-privileged user.  It might be helpful for others to put a short note in the README file that for central installations the test should be performed once as admin user.
Thanks!


Add Russian translation

I needed to use Django-Feeback on a site translated into Russian, so I added this translation. Everything displayed to users is translated. Column titles displayed in admin like URL are left as is. Both .mo and .po files are included.

Thanks for the feedback. I have filled in the header according to the recommendations I found here. While I was at it, I also copied-and-pasted strings that didn't require translation.
If there's anything else that needs to be fixed, please point it out.

awesome, thanks!


Readd compute_pixel_map

The compute_pixel_map method was removed from HiPSCat but it's still in use in LSDB.

[ ] My PR includes a link to the issue that I am addressing

Code Quality

[X] I have read the Contribution Guide
[X] My code follows the code style of this project
[X] My code builds (or compiles) cleanly without any errors or warnings
[X] My code contains relevant comments and necessary documentation

Closed, according to changes in https://github.com/astronomy-commons/lsdb/pull/379.


always use extension dev uuid for dev

Closes https://github.com/Shopify/checkout-web/issues/15057
Extensions should be using a dev-uuid formatted id during development. This allows them to be ignored from reports. Currently after a local extension is published and activated it is using the registration id instead of this dev-uuid.
WHAT is this pull request doing?
Use dev UUID for the dev extensions
How to test your changes?

Checkout branch
Create app + extension
Persist the extension
(Observe the extension id in monorail events - is should not be prefixed with dev-)
Open the extension id dev mode from CLI
(Observe the extension id in monorail events - should be prefixed with dev-)

Measuring impact
How do we know this change was effective? Please choose one:

[ ] n/a - this doesn't need measurement, e.g. a linting rule or a bug-fix
[ ] Existing analytics will cater for this addition
[ ] PR includes analytics changes to measure impact

Checklist

[ ] I've considered possible cross-platform impacts (Mac, Linux, Windows)
[ ] I've considered possible documentation changes
[ ] I've made sure that any changes to dev or deploy have been reflected in the internal flowchart.

@isaacroldan yes, this is still required and would be a great addition. The use case hasn't changed - we still need a way to match the local extension with the published one in development so we can toggle between the live vs. local version.
Is there a way to use the current published version's uuid instead? The registration uuid is a good start but there's no way currently for us to match that up to a published extension on the front end

@vividviolet so I'm going to decline this PR then, since we are planning to toggle extension between persisted and dev.
Regarding the version id/registration, I just merged a PR to add registration id to extension data, so we should be able to use registration id to find the extension that needs to be replaced.

that's awesome, @vividviolet does that solve the issue with ids??

@vividviolet  Indeed in this PR it's more about instrumentation events, but what I'm trying to highlight is that we load the registration id from graphql and it is now part of persisted extension data, so it can be used to do the match up.


coding style conventions for translation tables

Mostly because of how much I like angular-translate, I have decided to use AngularJS and angular-translate for my upgraded apps, but I'm new to them both. I'm starting with a translation table, and I want to use the best format, one that will be most familiar to others who have used the module. While I'm only writing the apps in one language, I want to make it easy for people in various locales to translate my apps.
In looking at the guide, I notice that the translation tables in the examples are formatted as:
var translationsEN = {
  KEY_0: 'enValue-0',
  KEY_1: 'enValue-1'
  ...
};

var translationsDE = {
  KEY_0: 'deValue-0',
  KEY_1: 'deValue-1'
  ...
};

var translations...

Before I proceed with this format, I have several questions:

My understanding is that one of the AngularJS theories is to keep the global namespace as clean as possible and use as few global variables as possible. translationsEN etc. look like they would all be global variables. Elsewhere in the guide, there is another example that uses an object: $translateProvider.translations and has all various language translations as part of that object. Which is the current preferred way?

With or without the $ prefix? The [AngularJS API docs] (https://docs.angularjs.org/api) have a prominent notice at the top that says "Please do not use the $ or $$ prefix in your code."

As I understand it, [Google's JSON style guide] (https://google-styleguide.googlecode.com/svn/trunk/jsoncstyleguide.xml#Double_Quotes) would recommend "KEY_0": "Value-0" (using double quotes around both the key name and the value) over KEY_0: 'Value-0'. There might be reasons to do a translation table differently. Suggestions?

All the angular-translate example code seems to have in indent level of 2 spaces, all the examples in [John Papa's Angular style guide] (https://github.com/johnpapa/angular-styleguide#single-responsibility) intent 4 spaces (or one tab set at 4 spaces), but I didn't find a recommended indent level in either. Google coding

I'm aware that angular-translate is most focused on translations and not localizations. However, even with translations, there are some differences between locales. For example, there are a lot of spelling differences between en-US and en-UK, and, while my main apps will all be written in en-US, I'm expecting that they will all eventually have en-UK translations. (I believe that some other languages, such as sp, have some different translations depending upon locale.) I'm aware that, for general writing, the most common convention (there seem to be quite a few) is to put the two letter code for the language in lower case, followed by a dash, followed by the two letter country code in upper case. However, this will clash with naming conventions for code, particularly since js does not allow a dash in a variable name, and I've seen angular-translate use two letter upper case for language names. What convention do you recommend for this now?

Is it still important to keep all lines in translation tables to an 80 character length, or are enough of us now at the point to have auto wrap in our text editors? [Google's coding style guide] (http://google-styleguide.googlecode.com/svn/trunk/cppguide.html#Line_Length) (the formatting section of the C++ style guide included in the JS style guide by reference) still recommends an 80 character limit, but makes an exception for text literals, which would seem to include translation strings.

If the answers are in the docs, I missed them, so links would be appreciated.
Thanks for your help.

@ 1 (global variables?)
These are examples and will probably not exist in production code. Furthermore, I think most usages will be a loader (like url loader, static files loader).
However: If you need to apply additional language texts outside of a loader (why?! :)), $translateProvider.translations() would be your api.
@ 2 (usage of the $ prefix)
Well, these decisions has been made by the original author years ago. I think @PascalPrecht would not made this again, but that's the situation we have now.
You are right: the prefix is not recommended for modules mentioned by AJS itself. IMHO Do not use that prefix.
@ 3 (json style)
IMHO the JSON style guide is irrelevant when speaking about translation texts. We should not mix JSON content like APIs requests and responses with things like translations. But: It's up to you as a developer.
There are also people wishing they could use natural english (like default text) as translation keys. Speaking generally about JSON, I would follow the Google Guide. Definitely. IMHO the rules are fluent "correct" after using JavaScript for some years..
@ 4 (indent)
Well, in fact we are using 2 spaces for source code. But again: It's up to you. Developing for angular-translate (the project) requires that style, but for all other things you can decide whatever you want. Globally speaking, that would be either 2 oder 4 spaces. Papa's style is fine (and very large).
@5 (localization vs. region/locale)
en-US means English (USA), en-UK means English (Great Britain). Both settings do not say something about the localization. However, you can deduce the localization mostly using the region.
We have to decide to handle one part: the translations. The other part localization is already covered by AngularJS itself (data) and by other plugins (runtime changing, i.e. https://github.com/lgalfaso/angular-dynamic-locale). It's up to you deciding having one language (en) or multiples derivations (en-US, en-UK, ...). We are concentrating on translating, just the name of the library.
If you have to handle everything, I would recommend a custom internationalization plugin. This one have to control and listen to translate, locales, your custom session information, locale information retrieval and what else. If you think of a reusable component, you can share this as independent angular plugin. AFAIK that does not exist.
@ 6 (line limit)
It's up to you.
IMHO I would stick with a recommendation rule: Try to write the code being under the limit of 80. But I also have projects (Java) with a limit of 120+.
A fixed rule will result into bad exceptions.. but again: This decision is yours. It is only about readability. Sometimes a line of 100 characters is more readable than a forced split 2/3 liner.


WinError 995 confuses Quamash

WinError 995
It's an alias for ERROR_OPERATION_ABORTED:

The I/O operation has been aborted because of either a thread exit or an application request.

The issue
Cancelling the I/O-based coroutine (e.g. asyncio.open_connection) might lead to an OSError (with that WinError 995 as a reason) somewhere inside of asyncio machinery.
Minimal code to reproduce:
import asyncio
import sys

from PyQt5.QtWidgets import QApplication

from quamash import QEventLoop

async def main(*, loop):
    f = asyncio.ensure_future(
        asyncio.open_connection('example.org', 8888, loop=loop),
        loop=loop
    )

    await asyncio.sleep(0.1, loop=loop)
    f.cancel()

app = QApplication(sys.argv)

with QEventLoop(app) as loop:
    asyncio.set_event_loop(loop)
    loop.run_until_complete(main(loop=loop))

Output:
(venv) D:\Python\requested-cctv>python quamash-test.py
Event callback failed: [WinError 995] Операция ввода/вывода была прервана из-за завершения потока команд или по запросу приложения
Traceback (most recent call last):
  File "D:\Python\requested-cctv\venv\lib\site-packages\quamash\_windows.py", line 41, in _process_events
    value = callback(transferred, key, ov)
  File "c:\python36\Lib\asyncio\windows_events.py", line 514, in finish_connect
    ov.getresult()
OSError: [WinError 995] ╬яхЁрЎш  ттюфр/т√тюфр с√ыр яЁхЁтрэр шч-чр чртхЁ°хэш  яюЄюър ъюьрэф шыш яю чряЁюёє яЁшыюцхэш

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "D:\Python\requested-cctv\venv\lib\site-packages\quamash\_windows.py", line 44, in _process_events
    f.set_exception(e)
  File "c:\python36\Lib\asyncio\windows_events.py", line 79, in set_exception
    super().set_exception(exception)
asyncio.base_futures.InvalidStateError: invalid state

(venv) D:\Python\requested-cctv>

The application crashes.
Now that's an exception in Quamash when it tries to set that OSError as an exception on the local f variable in _windows._ProactorEventLoop._process_events.
Printing that f variable gives

<_OverlappedFuture cancelled>

If done without Qt and Quamash, this OSError doesn't appear anywhere.
Note: The bug is inconsistent. Sometimes (rarely) it doesn't occur.
System info
Windows 10 x64, Python 3.6.0

That would explain a lot. (About failing tests on Windows)
I'm heading out for a brief vacation, but I'll be back on Tuesday.
I'll take a closer look then.
On Aug 11, 2017 09:55, "Kirill Mysnik"<EMAIL_ADDRESS>wrote:

WinError 995
It's an alias for ERROR_OPERATION_ABORTED
https://msdn.microsoft.com/en-us/library/windows/desktop/ms681388(v=vs.85).aspx#ERROR_OPERATION_ABORTED
:
The I/O operation has been aborted because of either a thread exit or an
application request.
The issue
Cancelling the I/O-based coroutine (e.g. asyncio.open_connection) might
lead to an OSError (with that WinError 995 as a reason) somewhere inside
of asyncio machinery.
Minimal code to reproduce:
import asyncioimport sys
from PyQt5.QtWidgets import QApplication
from quamash import QEventLoop
async def main(*, loop):
f = asyncio.ensure_future(
asyncio.open_connection('example.org', 8888, loop=loop),
loop=loop
)
await asyncio.sleep(0.1, loop=loop)
f.cancel()

app = QApplication(sys.argv)
with QEventLoop(app) as loop:
asyncio.set_event_loop(loop)
loop.run_until_complete(main(loop=loop))
Output:
(venv) D:\Python\requested-cctv>python quamash-test.py
Event callback failed: [WinError 995] Операция ввода/вывода была прервана из-за завершения потока команд или по запросу приложения
Traceback (most recent call last):
File "D:\Python\requested-cctv\venv\lib\site-packages\quamash_windows.py", line 41, in _process_events
value = callback(transferred, key, ov)
File "c:\python36\Lib\asyncio\windows_events.py", line 514, in finish_connect
ov.getresult()
OSError: [WinError 995] ╬яхЁрЎш  ттюфр/т√тюфр с√ыр яЁхЁтрэр шч-чр чртхЁ°хэш  яюЄюър ъюьрэф шыш яю чряЁюёє яЁшыюцхэш
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\Python\requested-cctv\venv\lib\site-packages\quamash_windows.py", line 44, in _process_events
f.set_exception(e)
File "c:\python36\Lib\asyncio\windows_events.py", line 79, in set_exception
super().set_exception(exception)
asyncio.base_futures.InvalidStateError: invalid state
(venv) D:\Python\requested-cctv>
The application crashes.
Now that's an exception in Quamash when it tries to set that OSError as
an exception on the local f variable in _windows.ProactorEventLoop.
process_events.
Printing that f variable gives
<_OverlappedFuture cancelled>
If done without Qt and Quamash, this OSError doesn't appear anywhere.
Note: The bug is inconsistent. Sometimes (rarely) it doesn't occur.
System info
Windows 10 x64, Python 3.6.0
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/harvimt/quamash/issues/77, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAHRQieMTEzj4bFp0oKeG2DcBVCXgzuzks5sXIeYgaJpZM4O05Ub
.


fix inconsistent normal map shader variable naming which stopped normal maps from working

fixes #44872

Thanks! And congrats for your first merged Godot contribution :tada:

Thanks! And congrats for your first merged Godot contribution :tada:


[Site] Insert comma into thousandths place for number of tests run

Current Behavior
Just like the https://layer5.io/meshery site has the number of performance tests run with a comma inserted into the thousandths place, so too should the perf test number on the smp-spec site have a comma.

@jomefavourite interested?

Yh, I am


Upgrade ego

This PR upgrades ego to v1.0.0. With the new ego bundle command, which
packages the signed enclave binary with the ego runtime, there is no
need for the dedicated fpc-ccenv-go image anymore as we can just use
fpc-ccenv with the bundled chaincode.

Upgrade to ego v1.0.0
Remove fpc-ccenv-go
Upgrade go.mod to go 1.17
Fix staticcheck issues

@ikegawa-koshi Can you please have a quick look at this?!

I have checked. Nice work!


Fixing i2csensor app

This fixes the i2csensor app to match behavior accelerometer, gpio, led behavior of 2020

Yes, we can read the i2c bus from sysfs. I've opened a new PR for that, see https://github.com/Avnet/meta-avnet/pull/43
As for the gpio, this was a much bigger issue that needed a general solution. I'll be opening a PR for that shortly. So I'm closing this as the other 2 PRs will address both issues better


V2 - Documentation on events

I am looking for some documentation on events like on-hold, on-drag, etc.  I don't see any of it on the V2 site.
http://ionicframework.com/docs/api/directive/onHold/ equivalent in V2.

@perrygovier, does Sprint 2/26 mean it starts 2/26, or ends 2/26?

Ends on 2/26. It's a rough goal, no promises.

I understand - just trying to ballpark.  Cool man, appreciate the openness.

Hey team - any update on this?

Hey Dan, that'll teach me to add dates to a sprint. Another project has gotten bumped up priority. This is high on the list for ionic-site but it might be a week before we can get to it.

Hey no worries - I just want to make sure the team is aware that this is a pretty major issue for app developers.  Maybe you guys could add a quick example to the conference app and worry about documenting it later?  Or just show in code how they're accessed?  I cannot find anything in my repository searching.

No worries. v2 wraps hammer.js. Here's an example of that wrapper, gesture,  being used internally:
https://github.com/driftyco/ionic/blob/2.0/ionic/gestures/drag-gesture.ts

driftyco/ionic#5663 Needs to be resolved first.

@mhartington with beta 4 out, this should be ready to be added

And still... no docs about gestures

@rubimazaki,
There are docs right here.
http://ionicframework.com/docs/v2/components/#gestures
Thanks,
Dan

Kind of disgraceful conduct you have...
You call that docs? This is more like a joke.

Hi @rubimazaki,

Hammer.js is built-in to Angular 2 as a first class citizen.
Developers use the standard event template syntax to listen for gestures.  For example,

This is how gestures work in Ionic 2 and Angular 2. Is there something else that you had in mind for the docs? We're always open to suggestion, and there is always the option of you submitting a PR with the changes you'd like to see as well.
Thanks,
Dan

That does look much better than the docs :)
But that won't help anybody who tries to do something more complicated. And I did try the (pan) for example, which didn't fit for my purpose. What did the trick finally was the (private?) class UIEventHandler that the range component uses. I guess that what I thought would help me was the Gesture class, but there are no (real) docs on how to use/extend it nor UIEventHandler.
What I am saying? REOPEN this issue. It is really not resolved at all.

Hi @rubimazaki,
Just like in iOS's Cocoa Touch framework, Ionic has some internal utilities and methods that are not documented and not meant to be used by the public. UIEventHandler falls into that bucket at the current time.
In a future release/iteration we may have additional support for gestures, but right now the recommended approach is to use Hammer using the event binding syntax.
Thanks,
Dan

Yupp. But even using the basic gesture binding is not very straight forward without a basic reference.

@rubimazaki we might release some public API for UIEventManager or GestureController used internally, but not yet. It is a powerful API but too low level to be used correctly in most of the cases.
A lot of design is needed to release that as a public API, definitely it is something we have talked about.

What I am saying - Gesture class, even if not exposed itself (it is public) should have some documentation. For example: which events are supported (tap, swipe, pan...) and how to use them. Current situation is that there is one (kind of lonely...) paragraph with broken link to demo. This needs fixing...

Yes, it should have documentation, when it is usable and consumable for outside devs. Until, it's not meant for public usage.
As for the demo links, look again. They have been fixed and pushed.

Great you fixed the link.
BTW - You are all doing a holy work with Ionic2 :)
Don't think that I don't appreciate. Just the docs in the Beta (I mean RC :)) are somewhat on the edge.
Thanks!


co19_2/LibTest/io/HttpServer/bind_A03_t01 fails with RuntimeError

The test changed from flaky to RuntimeError on the unrelated (analyzer) change.
--- Command "vm" (took 507ms):
DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart --ignore-unrecognized-flags --packages=/b/s/w/ir/.packages /b/s/w/ir/tests/co19_2/src/LibTest/io/HttpServer/bind_A03_t01.dart

exit code:
255

stdout:
unittest-suite-wait-for-done

stderr:
Unhandled exception:
SocketException: OS Error: Connection refused, errno = 111, address = <IP_ADDRESS>, port = 43234

--- Re-run this test:
python tools/test.py -n dartk-linux-release-x64 co19_2/LibTest/io/HttpServer/bind_A03_t01

Both co19_2/LibTest/io/HttpServer/bind_A03_t01 and co19/LibTest/io/HttpServer/bind_A03_t01 are passing on all configurations and not flaky.


[ffi] @Native for global fixed-size arrays

https://dart-review.googlesource.com/c/sdk/+/338020 adds support for https://github.com/dart-lang/sdk/issues/50551, but does not add support for global fixed size arrays.
double foo[4];

double return_double() {
  return foo[1];
}

void set_double(double value) {
  foo[2] = value;
}

Could theoretically be bound to.
@Array(4)
@Native()
external Array<Double> foo;

It just so happens to be that currently the following works because the memory layout is identical.
@Native()
external Pointer<Double> foo;

The advantage of supporting the latter is that we can do bound checks on use.
@simolus3 Thanks for making the Array limitation explicit in https://dart-review.googlesource.com/c/sdk/+/338020. Here are some of my thoughts about it.
Re https://github.com/dart-lang/native/pull/860, should we temporarily support generating Pointers for fixed-size global arrays? That would make it a breaking change later to make it Arrays, though. On the other hand, if users would like to use those fields than without generating Pointers, users can't use FFIgen at all.

That would make it a breaking change later to make it Arrays, though.

Technically yes, but thanks to all the extensions in dart:ffi  which provide operator[] and operator[]= on pointers too, migrating between pointers and arrays is unlikely to require users to change their code.

Re https://github.com/dart-lang/native/pull/860, should we temporarily support generating Pointers for fixed-size global arrays?

As it turns out, we're already generating pointers for global arrays in ffigen. That's understandable, since there is no public mechanism for getting from a pointer to an array instance, and so the generated code based on looking up bindings manually can't do any better.
This gives us a good opportunity to get this right with native fields though. I have opened https://dart-review.googlesource.com/c/sdk/+/341860 to support array fields in the SDK, and I've updated the ffigen PR to make use of that.


Document permissions required by Azure node driver

https://rancher.com/docs/rancher/v2.x/en/cluster-provisioning/rke-clusters/node-pools/azure/
It is unknown what permissions to assign to the Service Principal used when configuring authentication for the node template.

This issue was handled by #2643


phantom video restarts in background tabs

@tzarebczan commented on Mon Jan 25 2021
Had this happen to me and heard complaints from other users in various browsers - paused videos will just start to play back randomly in a background tab. Not sure if it's the browser reloading something, but should try to prevent this in some way.

@DispatchCommit commented on Mon Jan 25 2021
How do I reproduce this? I haven't experienced that behavior before. Which browsers?

@DispatchCommit commented on Fri Jan 29 2021
Okay I experienced this last night. Seems like something is triggering a reload of the site on it's own. Not sure what / where right now though

@Mattiaszyl commented on Tue Feb 09 2021
It happends for me in this scenario. Disconnect from network or lose internet connection. After a while you get a
"There is a bug... Somewhere
Try refreshing"..  message on screen with a Update button.
When the networks connection comes back to life it will reload by itself and autoplay any paused video.
Windows app version 0.49.4

@mayeaux commented on Fri Aug 27 2021
Happens to me all the time. I know the code that is causing it (it's the autoplay code) but I don't know what's wrong with it per se, but for me it's a high priority because it runs videos when I take my Mac off of sleep so randomly I can have several videos start at once.

This should happen much less now that we have nag bar for sync issues. May still happen in a service goes down fully.


Invalid argument: unable to find backend library for backend '${triton_backend}'

System Info

CPU architecture :× 86 64 ， aarch64)
GPU properties - GPU name  NVIDIA A800
GPU memory size (80G)f known)
Libraries 一 TensorRT-LLM tag : v0.10.0 , tensorrtllm-backend tag: v0.10.0
Container used: nvidia/cuda:12.5.0-devel-ubuntu22.04 to generate engine, success, can run in local.         nvcr.io/nvidia/tritonserver:24.04-trtllm-python-py3 or nvcr.io/nvidia/tritonserver:24.06-trtllm-python-py3 to launch triton, failed.
OS (Ubuntu 22 .04

Who can help?
@byshiue @sc
Information

[X] The official example scripts
[ ] My own modified scripts

Tasks

[X] An officially supported task in the examples folder (such as GLUE/SQuAD, ...)
[ ] My own task or dataset (give details below)

Reproduction
Model name: Qwen1.5-14b-Chat

generate engine follwing steps in readme of TensorRT-LLM . successed.
launch service using triton. failed.

Expected behavior
launch the service successfully.
actual behavior

additional notes

I get the exact same error using the tritonserver:24.05-trtllm-python-py3 container on a A100.

Set triton_backend to 'tensorrtllm' in the config.pbtxt for tensorrt_llm and it should work.
I think this was introduced because there is now a model.py file in tensorrt_llm/1 as of v0.10.0, but I have not come across anything explaining why this file is here along with what purpose it serves vs tensorrt_llm_bls.

Thank you for the comments, @here4dadata . Your comment is correct.
Some additional comments: the model.py is the python backend to use the tensorrt_llm. (In comparison, if you set triton_backend to tensorrtllm, it would be c++ triton backend).


GFCarousel with one item still allows to scroll

If a GFCarousel is build with an list of items of length one, it still allows scrolling although in this case this does not make sense and should not happen.

Great thanks, I tested it and it works.


Can we set a proper range of bazel?

[17:01:55] fagn:tensorflow git:(master) $ ./configure
WARNING: Running Bazel server needs to be killed, because the startup options are different.
WARNING: --batch mode is deprecated. Please instead explicitly shut down your Bazel server using the command "bazel shutdown".
You have bazel 0.23.0 installed.
Please upgrade your bazel installation to version 0.24.1 or higher to build TensorFlow!
[17:02:35] fan:tensorflow git:(master) $ ./configure
Extracting Bazel installation...
WARNING: --batch mode is deprecated. Please instead explicitly shut down your Bazel server using the command "bazel shutdown".
You have bazel 0.29.1 installed.
Please downgrade your bazel installation to version 0.26.1 or lower to build TensorFlow! To downgrade: download the installer for the old version (from https://github.com/bazelbuild/bazel/releases) then run the installer.

Messages said higher..... but not upper bounds.... then installed newest version got need lower....
Why one sentence can not said in one line?

@jinfagang, Tensorflow 1.14.0 supports 0.24.1 Bazel version and Tensorflow 2.0.0 supports 0.26.1 Bazel version. Please take a look at tested build configurations. Thanks!

@jinfagang, Did you get a chance to look at the link. Thanks!

Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!


Add: .env

https://www.gatsbyjs.com/docs/how-to/local-development/environment-variables/

 ERROR #11329  API.NODE.VALIDATION

Your plugins must export known APIs from their gatsby-ssr.

See https://www.gatsbyjs.com/docs/reference/config-files/gatsby-ssr/ for the list of Gatsby ssr APIs.

- Your local gatsby-ssr.js is using the API "export default onRenderBody" which is not a known API.

Some of the following may help fix the error(s):

- Rename "export default onRenderBody" -> "onRenderBody"


Cloudinary error in community posts

If you switch from using Cloudinary to file storage, and a community post has attachments, it generates an error.

This is not really a bug, but a consequence of switching from Cloudinary to file storage.  You should leave the cloud name configuration intact if you wish for the Cloudinary attachments to still be displayed.

#429


fail to check

npm run check

<EMAIL_ADDRESS>check /root/leon
babel-node scripts/run-check.js

⠋
.: CHECKING :.
➡ /bin/sh -c node --version
✔ v10.19.0
➡ /bin/sh -c npm --version
✔ 6.13.4
➡ /bin/sh -c pipenv --version
✔ pipenv, version 2018.11.26
➡ /bin/sh -c pipenv --where
✔ /root/leon
➡ /bin/sh -c pipenv run python --version
✔ Python 3.5.3
➡ /bin/sh -c pipenv run python bridges/python/main.py scripts/assets/query-object.json
✖ Error: Command failed: /bin/sh -c pipenv run python bridges/python/main.py scripts/assets/query-object.json
Traceback (most recent call last):
File "bridges/python/main.py", line 4, in
import utils
File "/root/leon/bridges/python/utils.py", line 10, in
from tinydb import TinyDB, Query, operations
ImportError: No module named 'tinydb'
➡ Classifier state
✖ Classifier not found or broken. Try to generate a new one: "npm run train expressions"
➡ Amazon Polly TTS
❗ Amazon Polly TTS is not yet configured: Error: ENOENT: no such file or directory, open 'server/src/config/voice/amazon.json'
➡ Google Cloud TTS/STT
❗ Google Cloud TTS/STT is not yet configured: Error: ENOENT: no such file or directory, open 'server/src/config/voice/google-cloud.json'
➡ Watson TTS
❗ Watson TTS is not yet configured: Error: ENOENT: no such file or directory, open 'server/src/config/voice/watson-tts.json'
➡ Offline TTS
❗ Cannot find bin/flite/flite. You can setup the offline TTS by running: "npm run setup:offline-tts"
➡ Watson STT
❗ Watson STT is not yet configured: Error: ENOENT: no such file or directory, open 'server/src/config/voice/watson-stt.json'
➡ Offline STT
❗ Cannot find bin/deepspeech/lm.binary. You can setup the offline STT by running: "npm run setup:offline-stt"

.: REPORT :.
➡ Here is the diagnosis about your current setup
✔ Run
✖ Run modules
✖ Reply you by texting
❗ Amazon Polly text-to-speech
❗ Google Cloud text-to-speech
❗ Watson text-to-speech
❗ Offline text-to-speech
❗ Google Cloud speech-to-text
❗ Watson speech-to-text
❗ Offline speech-to-text
✖ Please fix the errors above

Hello @vinedu18,
Thanks for opening this issue.
Please take a look at the following ones: https://github.com/leon-ai/leon/issues/7 and https://github.com/leon-ai/leon/issues/98.


First class support for Ruby RSpec gem with Bazel

One of the core tenets of successful ruby projects is a solid test suite. RSpec has become a de-facto standard, and makes a lot of assumptions about file layout, $LOAD_PATH, etc.
This ticket is to do the following:

Analyze, learn and understand the current approach
Identify shortcomings (if any)
Consider creating a dedicated test rule ruby_rspec
Create a basic BUILD template file Ruby Projects that use RSpecs for tests, and in particular ensure that specs for the deeply nested project files can resolve require

Rule ruby_rspec
This rule should be able to handle a deeply nested spec tree like  the one shown below from the Ruby Gem Sym:
spec
├── spec/fixtures
│   ├── spec/fixtures/hamlet.enc
│   ├── spec/fixtures/hamlet.txt
│   ├── spec/fixtures/secrets.key
│   ├── spec/fixtures/secrets.yml
│   └── spec/fixtures/secrets.yml.enc
├── spec/integration
│   └── spec/integration/sym_cli_spec.rb
├── spec/spec_helper.rb
├── spec/support
│   ├── spec/support/aruba.rb
│   ├── spec/support/contexts.rb
│   ├── spec/support/fake_terminal.rb
│   └── spec/support/shared_examples.rb
└── spec/sym
    ├── spec/sym/app
    │   ├── spec/sym/app/args_spec.rb
    │   ├── spec/sym/app/cli_spec.rb
    │   ├── spec/sym/app/commands
    │   │   ├── spec/sym/app/commands/encrypt_decrypt_spec.rb
    │   │   ├── spec/sym/app/commands/generate_key_spec.rb
    │   │   ├── spec/sym/app/commands/open_editor_spec.rb
    │   │   └── spec/sym/app/commands/print_key_spec.rb
    │   ├── spec/sym/app/commands_spec.rb
    │   ├── spec/sym/app/input
    │   │   └── spec/sym/app/input/handler_spec.rb
    │   ├── spec/sym/app/keychain_spec.rb
    │   ├── spec/sym/app/password
    │   │   ├── spec/sym/app/password/cache_spec.rb
    │   │   └── spec/sym/app/password/providers_spec.rb
    │   └── spec/sym/app/private_key
    │       ├── spec/sym/app/private_key/detector_spec.rb
    │       └── spec/sym/app/private_key/handler_spec.rb
    ├── spec/sym/application_spec.rb
    ├── spec/sym/data_spec.rb
    ├── spec/sym/extensions
    │   └── spec/sym/extensions/instance_methods_spec.rb
    ├── spec/sym/magic_file_spec.rb
    └── spec/sym/sym_spec.rb

Fixed with #60


add support of sample step

add support of sample step for webaudio.js
When displaying a long audio waveform in "scrollParent:false" mode, some information will be lost due to the strategy, which makes the waveform look different from that on some PC software. With this option,  when the user passes in 1, the waveform display effect is the same as that on the PC software. This option sacrifices some of the performance for an accurate presentation.
Breaking in the external API:
no
Breaking changes in the internal API:
no

@zouchengzhuo thanks for this fix. Could you see if there are any bug reports in wavesurfer that would be solved with this pr?

@zouchengzhuo thanks for this fix. Could you see if there are any bug reports in wavesurfer that would be solved with this pr?

no, probably because it was an improvement rather than a bug fix.

from top to bottom is:

wavesurfer before set sample step to 1
wavesurfer after set sample step to 1
adobe audition

@zouchengzhuo can you explain the reasoning for doing the following change below, should this only happen if the sampleSize is specified?

if (value > max) {
    max = value;
} else if (value < min) {
    min = value;
}

@zouchengzhuo can you explain the reasoning for doing the following change below, should this only happen if the sampleSize is specified?

if (value > max) {
    max = value;
} else if (value < min) {
    min = value;
}

Sorry I didn't see it until now, when value is bigger than max, it can't be smaller than min. So we can use 'else' to avoid unnecessary 'if' logic, it works for all scene.


Added farmersmarket.png diagram

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
Created a diagram to illustrate the relationship between the customers table and customer_purchases.
What did you learn from the changes you have made?
There are many types of relationships i.e. one-to-one, one-to-many and many-to-many relationships.
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
No.
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
No.
How were these changes tested?
I double checked the keys on the sql tables.
A reference to a related issue in your repository (if applicable)
Checklist

[x ] I can confirm that my changes are working as intended

You have unfortunately made a pull request to the wrong repo. You shouldn't be making a pull request to uoft-dsi/sql, but rather your own forked sql repo. Please read the instructions on your onboarding Assignment Submission Guide more carefully.


Removes integration test that doesn't pass consistently as application loads too fast.

Open to suggestion on how to fix this, but right now the Config.js file gets bundled with the application and that's where we tell the application how much time to wait before rendering.

run integration

run integration

retest this please


gh-1598 - readded operation method to GetWalks builder

Codecov Report

Merging #1599 into develop will increase coverage by <.01%.
The diff coverage is 0%.

@@              Coverage Diff              @@
##             develop    #1599      +/-   ##
=============================================
+ Coverage      66.22%   66.22%   +<.01%
- Complexity      1839     1840       +1
=============================================
  Files            767      767
  Lines          24866    24867       +1
  Branches        3227     3227
=============================================
+ Hits           16467    16469       +2
  Misses          7114     7114
+ Partials        1285     1284       -1

Impacted Files
Coverage Δ
Complexity Δ

...va/uk/gov/gchq/gaffer/operation/impl/GetWalks.java
87.83% <0%> (-1.21%)
25 <0> (ø)

...onutil/iterable/LimitedInMemorySortedIterable.java
50% <0%> (+2.77%)
16% <0%> (+1%)
: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 24e41a7...54f8392. Read the comment docs.


Unable to read Code128 barcodes

I am using react native camera to read barcodes on iOS. I am unable to read the CODE128 barcode types. However, other formats seems to be working fine. Is there something I might be missing?

Did you find a fix for this? I am also able to scan other formats but code128 barcodes do not work

Having the same issue, although all other barcode types work well.
This might warrant reopening this issue I think.


Feature/frontend i18next translation changes

address this story: https://www.pivotaltracker.com/story/show/150506204
@ivan-c Ivan I addressed most of the comments from last time - I think I replied to them all - also  I did remove the runtime error message - and replace it with the generic error text so that can be translated.
Let me know if you see anymore issue.

@achen2401 Looks like @ivan-c approved this and it's ready.  I see conflicts - can you please rebase?

@pbugni
Paul, I have rebased.  This can be merged after review.


Command 'extension.downloadSettings' not found

🐛 Describe the bug
Potentially not flatpak-related, but when installing to Linux via flatpak, commands aren't registered properly on start.
🌴 Visual Studio Code Version : 1.26.1
🌴 Code Settings Sync Version : 3.0.0
🌴 Operating System : Linux Mint 19
🌴 Occurs On: Download
🌴 Proxy Enabled: No
🌴 Gist Id: N/A
📰 To Reproduce
Steps to reproduce the behavior:

Install sync extension
Attempt to download
Receive error

💪 Expected behavior
Command to be called
📺 Console Error Log

📺  Additional context
Installed via flatpak rather than standard deb/etc., not sure if related.

It works for standard version.
I havent tried using flatpak.
try using standard version. if have problem. feel free to report, i will reopen issue.


Content must be 2000 or fewer in length (Bug)

If you request the bot to send a preview of a snippet that contains more than 2000 characters (or even the !snippets command if it has more than 2000 characters) outside a ticket, the bot will crash and it'll display this in the console?
https://cdn.discordapp.com/attachments/621406922175676417/858883116790054912/unknown.png
It should not be a problem as Discord increased the limit to 4000 characters recently, and, in any case, it should split the message into more parts, just as it does when you run those commands inside a ticket (because yes, inside tickets it's someway fixed and works as intended).

Bots can’t use the 4000 character limit.

Oh, I see. Anyway it's still a bug. The bot should still split the message into more parts, just as it does inside tickets.

is there any way for workaround ?
Is there a way to get more than 2000 ?

You could probably make a new issue requesting that the bot automatically splits content longer than the 2000-character limit into multiple messages.


Not working on MacOS

I added the key:
	<key>NSBluetoothAlwaysUsageDescription</key> 	<string>App uses bluetooth</string>
to the MacOS info.plist and I only get:
[MyCentralManager] setUp [MyCentralManager] onStateChanged: MyBluetoothLowEnergyStateArgs.unsupported [MyCentralManager] getState
I've done the same thing for iOS and everything works fine.  Is there something else missing to get the plug in to work on MacOS?
Martin

Yes, when use bluetooth or other hardware on macOS, developers need to configure the app sandbox, look at this document: https://developer.apple.com/documentation/xcode/configuring-the-macos-app-sandbox#Enable-access-to-restricted-resources
Also the README should update about this, thanks for your report.

Perfect.  That worked, thanks.
Martin


Make sure mode for /var/run/redis is also set correctly on Ubuntu

SSIA mode for /var/run/redis is changed from 2755 to 0755 on each run on Ubuntu

Merged, thanks!


Fixing canary email scheduling

hang on, still reviewing...

This PR was successfully deployed to production by CircleCI build 71 at 2016-12-01 12:15 GMT.


Refactoring: removed letfover

Description
Removed leftover
Type of change

[x] Refactor
[ ] New feature
[ ] Bug fix
[ ] CVE fix
[ ] Optimization
[ ] Documentation Update
[ ] Configuration Update
[ ] Bump-up dependent library
[ ] Bump-up library or tool used for development (does not change the final image)

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 94.89%. Comparing base (22e60e0) to head (034afb4).
Report is 6 commits behind head on main.

Additional details and impacted files

@@            Coverage Diff             @@
##             main    #1604      +/-   ##
==========================================
- Coverage   94.89%   94.89%   -0.01%
==========================================
  Files          60       60
  Lines        2686     2685       -1
==========================================
- Hits         2549     2548       -1
  Misses        137      137

Files with missing lines
Coverage Δ

ols/src/llms/providers/provider.py
100.00% <ø> (ø)

/approve

/lgtm

/override "Red Hat Konflux / ols-enterprise-contract / lightspeed-service"

/override "Red Hat Konflux / ols-enterprise-contract / lightspeed-service"


Correct Kafka wrapper producer blocking semantic and passing the producer config object

Motivation
The "block when queue is full" semantic in Kafka is slightly different from the Pulsar client and we need to adjust a bit to have a comparable default setting.
Additionally, the producer config object was not passed correctly.

retest this please

retest this please


(feat): 'new' cloud to appear for new charts and experiments

Objective :  'new' cloud to appear for new charts and experiments
What needs to be done ?

[ ] Addition of a createdAt field in the chartserviceyamls of both charts and experiments

This requires making changes in the charts folder of chaos-charts.

[ ] Setting Up api-endpoint handler in the frontend to handle this changes and make changes accordingly

This requires making refactoring in the src of charthub.litmuschaos.io.

Take-A-Point

[ ] changes required in src directory of the charthub.litmuschaos.io repo
[ ] changes required in charts directory of the chaos-charts repo

cc: @chandankumar4

Available on the revamped chaoshub


Reference file - e.g. wine_quality_predictor.bib

a reference section and cite 2-3 external sources (data source can be one of these citations) in addition to citing the programming languages and packages used

Created, need to add references for every package.
Should agree with environment.yml


Set up automatic builds with Docker Hub

Done. See https://hub.docker.com/r/thepoly/pipeline-api/ and https://hub.docker.com/r/thepoly/pipeline-web/


Revert "Use last version of lightningmdb wrapper for Torch"

This reverts commit 3afb6ab5017a234a02e47629a27a8bacddded3f7 (from https://github.com/NVIDIA/DIGITS/pull/545).
See discussion at https://github.com/NVIDIA/DIGITS/issues/544.

Thanks, that is working for me too.


Cannot create form submissions

PHP 8.1
Laravel 9.50
Statamic 3.4

I have a simple form:

name
email
comment
honeypot named username
hidden field for the current entry called log_id

When I submit the form I receive a query error:
SQLSTATE[22P02]: Invalid text representation: 7 ERROR: invalid input syntax for integer: "1675443750.7679"

Any ideas what might be causing this?

Update: Looks like it's this LOC in \Statamic\Forms\Submission, line 53:

Closing as I can't reproduce it. See comment in #122 for more details.


Only run workflow publication for nightly deployment pipeline

What does this PR do?
Only run the internal deployment job when the pipeline is triggered by the internal deployment conductor
Motivation
Last night, this job ran 3 times instead of once, because this repo has a conductor set up for service datadog-agent-nightly. This change filters those triggers out
Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge

/merge


Shorten paths in styleUrls and templateUrl

I have created this issue https://github.com/angular/angular/issues/5183 in angular 2. Will it work with current angular2-seed implementation in case they add that feature? If not can you make it to be possible to shorten file names to look like that?
@Component({
  selector: 'about',
  templateUrl: './about.html',
  styleUrls: ['./about.css']
})

It will make components be portable without editing urls in sources if component is copied into another location/project.

Closing this issue as not related to the seed.
If any new features/implementations in ng2 brake it, of course we will fix.


Update plugin with the latest codebard code

This is all of the code developed by our third party dev @codebard.  He rocks.
Full documentation of these changes can be found here:
https://paper.dropbox.com/doc/WP-Plugin-Spec-sB5tbIqh3Cw79W8VpPu3x
and here:
https://paper.dropbox.com/doc/Wordpress-Fire-A-Resolution-Path-QWlxdazrhVdb6XCoznL7C
and here:
https://paper.dropbox.com/doc/WordPress-integration-design-notes-cwkSeITlacKek5yHfUslE

I'm going to merge this for submission, we can make the rest of these changes asap


Can't rename objects in the Hierarchy after "Add to Scene and configure ..."

Describe the bug
After doing "Add to scene and configure ..." the F2 funtionality for renaming objects in the Hierarchy breaks and it is impossible to rename objects except via the Inspector. It is still possible to use F2 to rename Assets.
To reproduce
Steps to reproduce the behavior:

Create a new Unity Project
Import the MRTK 2
Until now everything works as expected, you can still rename objects in the hierarchy using F2
Go to Mixed Reality Toolkit $rightarrow; Add to Scene and configure ...
After doing this and the according objects are added to the scene it is now impossible to rename objects in the Hierarchy pressing F2! It goes to rename mode for a millisecond then the object is not focused anymore.
As soon as the according MRTK2 objects are removed from the scene it works again.

See GIF below
Expected behavior
Having MRTK2 in the scene should not break the F2 rename shortcut
Screenshots

Your Setup

reproduced in Unity Version 2019.1.14f1, 2019.2.5f1, 2019.2.6f1
MRTK Version v2.0.0

Target Platform

Not relevant as it is a Bug in the Editor regardless which target platform.

The current mrtk_development branch has a fix for that by
https://github.com/microsoft/MixedRealityToolkit-Unity/pull/5746


Nick: Watch dsosoftware.com

Nick requests the watch of the watch_keyword dsosoftware\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

dsosoftware\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ


Doesn't work direct from Ruby CLI

As a test, I tried the following
foo.rb:
class Foo
  3.times |x|
    puts x
  end
end

And none of the following work
$ ruby -r dead_end foo.rb
foo.rb:6: syntax error, unexpected end, expecting end-of-input
$ ruby -r dead_end -c foo.rb
foo.rb:6: syntax error, unexpected end, expecting end-of-input

I assume this is probably a Ruby ordering thing in that it parses your script before applying the requires, but it's very surprising.
If instead, I do this, it works fine.
bar.rb:
require "foo"

Not sure if there's an actual fix that can be done if this is a Ruby core issue, but wanted to bring to your attention, particularly since one of your goals is eventually getting this into ruby core in a similar way to did_you_mean.

Thanks for trying it out. It does work if you just require the file:
$ ruby -r dead_end -r ./foo.rb -e puts 'hi'
Run `$ dead_end /private/tmp/foo.rb` for more options

DeadEnd: Unmatched `end` detected

This code has an unmatched `end`. Ensure that all `end` lines
in your code have a matching syntax keyword  (`def`,  `do`, etc.)
and that you don't have any extra `end` lines.

file: /private/tmp/foo.rb
simplified:

      1  class Foo
    ❯ 2    3.times |x|
    ❯ 4    end
      5  end

THe reason has to do with how I'm hooking into Ruby to know when a syntax error has occurred. I'm monkeypatching require, load, and require_relative https://github.com/zombocom/dead_end/blob/a598e7617e06b6016277b90944c5d2bd51ba70d1/lib/dead_end/auto.rb#L16-L20
It looks like running Ruby code directly from $ ruby doesn't use one of these. There is a CLI that ships with this gem though:
$ dead_end foo.rb

DeadEnd: Unmatched `end` detected

This code has an unmatched `end`. Ensure that all `end` lines
in your code have a matching syntax keyword  (`def`,  `do`, etc.)
and that you don't have any extra `end` lines.

file: /private/tmp/foo.rb
simplified:

      1  class Foo
    ❯ 2    3.times |x|
    ❯ 4    end
      5  end

Not sure if there's an actual fix that can be done if this is a Ruby core issue, but wanted to bring to your attention, particularly since one of your goals is eventually getting this into ruby core in a similar way to did_you_mean

100% thanks! Every little bit of behavior that's unexpected is good to know about.

Works with Ruby 3.2 now. Closing


queue full exception not handled

If the queue is full, the Full exception https://docs.python.org/2/library/queue.html#Queue.Full isn't handled but propagated to the caller.
https://github.com/logentries/le_python/blob/master/logentries/utils.py#L192
The logger should drop the message instead. Better than crashing the the program.
Jan

From a previous discussion as far as I recall the queue full behaviour is meant to block the thread.

Would mean that your customers' programs block when there are network issues or the logentries api is down. I as a customer certainly wouldn't want that. You java log appender drops the messages when the queue is full, btw.

Agree with @jtheuer the emit method should not affect the logging thread. Creating #51 for rescue...

Thanks for reporting, fixed now!