text:
Warning: Image is too big to fit on screen

Hi Talmo,
I am trying to create a skeleton on my data but there seems to be an error possibly associated with the dimensions of the video. The dimensions are certainly divisible by 4 but it's non-square. The error I am getting is Warning: Image is too big to fit on screen; displaying at 200% after pressing the "Import from workspace" button in the Create skeleton GUI window, generating a new "Select default body part positions" window which is blank. Do I need to downsample my video?
Thank you for your help.
Best,
Richard

also, this is the h5disp for this video:
    Dataset 'box'          Size:  512x640x1x275         MaxSize:  512x640x1x275         Datatype:   H5T_IEEE_F64LE (double)         ChunkSize:  512x640x1x1         Filters:  deflate(1)         FillValue:  0.000000         Attributes:             'dtype':  'double'     Dataset 'dataIdx'          Size:  275x1         MaxSize:  275x1         Datatype:   H5T_IEEE_F64LE (double)         ChunkSize:  []         Filters:  none         FillValue:  0.000000         Attributes:             'dtype':  'double'     Dataset 'exptID'          Size:  275x1         MaxSize:  275x1         Datatype:   H5T_IEEE_F64LE (double)         ChunkSize:  []         Filters:  none         FillValue:  0.000000         Attributes:             'dtype':  'double'     Group '/clusters'          Dataset 'G'              Size:  275x1             MaxSize:  275x1             Datatype:   H5T_IEEE_F64LE (double)             ChunkSize:  []             Filters:  none             FillValue:  0.000000             Attributes:                 'dtype':  'double'         Dataset 'cluster_centroids'              Size:  512x640x1x5             MaxSize:  512x640x1x5             Datatype:   H5T_IEEE_F32LE (single)             ChunkSize:  []             Filters:  none             FillValue:  0.000000             Attributes:                 'dtype':  'single'         Dataset 'k'              Size:  1x1             MaxSize:  1x1             Datatype:   H5T_IEEE_F64LE (double)             ChunkSize:  []             Filters:  none             FillValue:  0.000000             Attributes:                 'dtype':  'double'     Group '/pca'          Dataset 'coeff'              Size:  327680x100             MaxSize:  327680x100             Datatype:   H5T_IEEE_F32LE (single)             ChunkSize:  []             Filters:  none             FillValue:  0.000000             Attributes:                 'dtype':  'single'         Dataset 'coeff_box'              Size:  512x640x1x100             MaxSize:  512x640x1x100             Datatype:   H5T_IEEE_F32LE (single)             ChunkSize:  []             Filters:  none             FillValue:  0.000000             Attributes:                 'dtype':  'single'         Dataset 'explained'              Size:  2159x1             MaxSize:  2159x1             Datatype:   H5T_IEEE_F32LE (single)             ChunkSize:  []             Filters:  none             FillValue:  0.000000             Attributes:                 'dtype':  'single'         Dataset 'latent'              Size:  2159x1             MaxSize:  2159x1             Datatype:   H5T_IEEE_F32LE (single)             ChunkSize:  []             Filters:  none             FillValue:  0.000000             Attributes:                 'dtype':  'single'         Dataset 'mu'              Size:  1x327680             MaxSize:  1x327680             Datatype:   H5T_IEEE_F32LE (single)             ChunkSize:  []             Filters:  none             FillValue:  0.000000             Attributes:                 'dtype':  'single'         Dataset 'score'              Size:  275x100             MaxSize:  275x100             Datatype:   H5T_IEEE_F32LE (single)             ChunkSize:  []             Filters:  none             FillValue:  0.000000             Attributes:                 'dtype':  'single'         Dataset 'tsquared'              Size:  2160x1             MaxSize:  2160x1             Datatype:   H5T_IEEE_F32LE (single)             ChunkSize:  []             Filters:  none             FillValue:  0.000000             Attributes:                 'dtype':  'single'

Hey Richard,
I think the image is showing up as white because it's a double. This is because if the image is a floating point type (single/double), then the expected range of values is in [0, 1] and you probably still have them in the uint8 range of [0, 255] and MATLAB just displays it as all white.
I'd definitely recommend saving out the movie as uint8 if possible -- it'll be way smaller in filesize and it gets auto-converted when loaded into LEAP anyway.
If you need to have floating-point precision, I'd recommend saving it as a single (== float32) which GPUs are much more optimized for than double (== float64) precision.
Regarding the size: I'd definitely resize it down to 256x320 if I were you, at least for the first tests. You might also need to decrease the batch size to make sure you have enough GPU memory and increase the sigma (~8 is probably good) to account for the larger scale of the features.
Give it a go and let me know if you have any issues!
Talmo

Thank you for the quick response Talmo. I'll give it a go and let you know.
Best,
Richard

Hey Richard,
Sorry about that, I think you might need to define the edges to get the visualization working. You can do this by filling in the "parent" column with the name of the other joints, e.g., "head" for the earR or earL.

Got it. Thank you!

authors: talmo xiaonansun

repo: talmo/leap


text:
Prefix custom structures with _ to hide them

Since the custom stuff is mostly for test coverage, it makes sense to hide it from the public API. Btw. it also collides with downstream code since the structs are usually defined there and otherwise there is a clash, see https://github.com/tamasgal/UnROOT.jl/pull/95#issuecomment-920161597

I thought we already have LorentzVector for test coverage

I'd rather add more tests 😆 I promise I'll do 😉

I mean they could be in the test for sure, I'm saying if you don't need experiment-specific structs live inside UnROOT.jl. I'm just unsure how much you've factored out and how much you still rely on what's inside UnROOT.jl for actual work, so we didn't touch it.

I think I have factored out everything, so they are really only there for tests. I just realised there is this DAQHit where I experimented with an ultra fast in-place-interpretation by defining it as a primite type and hacking Base.getproperty. That's a huge miss in test coverage but I did not want to forget about it for future implementations of dynamic type and parser generation. I'll probably just remove it for now and create a gist or so...

source: gharchive/pull-request

authors: Moelf tamasgal

license: MIT

license_type: permissive

license_source: github-api


text:
Benchmarking TextFinder performance compared to other loop/filter techniques

Big fan of your work and various benchmark reports. I know you've already highlighted the TextFinder class in Spreadsheet services as one of your examples. I wonder if you have considered writing a report on TextFinder performance compared to other javascript techniques for finding values in arrays?

Thank you for your comment. TextFinder retrieves from Google Spreadsheet. The find value from an array doesn't use Google Spreadsheet. I think that the situation of this comparison is interesting. So I would like to try to measure the cost of TextFinder and the find value from an array.
In this case, I would like to measure the cost with enabling V8 runtime. When I got the result, I would like to report it.

I have a question for correctly understanding about your proposal.
When it measures the process cost of TextFinder, the values on the Spreadsheet are used. So in order to correctly understand about this process, I think that when it measures the find values from an array, it is required to include both costs of the retrieve values from Spreadsheet and the search of values. So in this case, I think that the following scripts are required to be compared. In this sample script, the row number is retrieved. How about this?
For TextFinder
const result = SpreadsheetApp
  .getActiveSpreadsheet()
  .getSheetByName(name)
  .createTextFinder(findText)
  .findAll()
  .map(range => range.getRow());

For find values from an array
const result = SpreadsheetApp
  .getActiveSpreadsheet()
  .getSheetByName(name)
  .getDataRange()
  .getValues()
  .reduce((ar, row, i) => {
    if (row.includes(findText)) ar.push(i + 1);
    return ar;
  }, []);

I agree that the cost of getting sheet values should be factored in. I wonder if it is also worth exploring the the impact of Range.createTextFinder() and Sheet.createTextFinder() - Range is mentioned to be slow in https://stackoverflow.com/q/56517186/1027723

Thank you for replying. About the cost of Range for TextFinder, I had thought that the process might be different between the search from Sheet and the search from Range in the internal server. So in this case, I will use getSheetByName(name).createTextFinder(findText). Because when the benchmark is measured, both the input and output are required to be the same while the process can be freely selected. When our discussions are summarized, the method for measuring the process cost of TextFinder and the find value from array is as follows.

Input value: A sheet name and a search text.
Output value: Row numbers which have the searched text.
Script: Above scripts.

About TextFinder, a search text is searched from a sheet and retrieve the row numbers from returned ranges.
About the find value from array, the values are retrieved from the data range of a sheet as 2 dimensional array, and a search text is searched from the array and retrieve the row numbers from the array index.

When you have any questions and proposals, please tell me. I would like to start the measurement when we could confirm that our directions became the same.

This makes sense - other people will be able to extend the experiment to cover other use cases if needed

Thank you for replying. I would like to start to measure the process cost. When I could obtain the result, I would like to publish it and tell here.

I published "Benchmark: Process Costs for Searching Values in Spreadsheet using Google Apps Script" as a report. Could you please confirm it?
https://gist.github.com/tanaikech/0a6f03970b471ffa286f1dac0b79359e

Excellent work and interesting results. I wonder if as well as the code snippets you could share the entire code and example Google Sheet so that other people can replicate the experiment?

Thank you for replying. I added the sample script for measuring the process cost.

Thanks for putting this together. I've posted on Pulse and plan to reference this work in another post 👍
https://pulse.appsscript.info/p/2020/10/benchmark-process-costs-for-searching-values-with-textfinder-in-google-sheets-using-google-apps-script/

Thank you for replying and posting it. To search a value from Spreadsheet is included in a lot of situations for applications. And I think that when a value is searched from a Spreadsheet using Google Apps Script, TextFinder is easier to use than the query language. So I believe that the post will be useful for a lot of users. Thank you for proposing it.

source: gharchive/issue

authors: mhawksey tanaikech


text:
Unable to connect TK103B to traccar

Dear @tananaev ,
We are trying to connect TK103B gps to demo.traccar.org via instruction from https://www.traccar.org/ports-for-tk-gt-and-other-gps-devices/
but have no luck.  We also try demo4.traccar.org
imei = 352887073216750
username : martin.kurnadi@gmail.com

I can see that your device worked on port 5023 just fine. You should probably be more patient and wait for the data to appear.

You are the best @tananaev !!!

However looks like it is updating a bit slow @tananaev
eventhough we set fix020s***n123456 sending location every 20 seconds. Could it be because of network or server ? Or wrong gps setting ?

What do you mean by slow? There might be delay because of the server, but period between the reports should be fine.

@tananaev When you use the photo command, where are the images stored and how do I consult them?

Traccar doesn't support images at the moment.

Currently I found available commands on Meitrack, Gps103, Pt502.
https://github.com/tananaev/traccar/search?utf8=✓&q=TYPE_REQUEST_PHOTO
Is not working this command? or what is it?

Commands should work, although not tested, but the actual image data is not supported.

but what does it do "TYPE_REQUEST_PHOTO" command?

It's a command type to request a photo.

Dear @tananaev
I'd setup the traccar server and connected the TK103B GPS to it. Web app displayed the device as online but there were no data about location.
Now, for testing, I've connected it to demo5.traccar.org with IMEI = 8641800349*****
But unfortunately the same issue.
Any ideas?
Kind regards

@SUXUMI, it means that your device doesn't report location. You should contact device vendor support.

@tananaev thank you for your quickest response.. (and for your great efforts as well!!!)

authors: SUXUMI k30r88 tananaev tyepez

repo: tananaev/traccar

license_source: bigquery


text:
Small csv export improvement

Make attributes always last column
Format Map object as simple string instead of json

Here is an example
report (4).zip

You are right.

Merged, thanks.


text:
Data source configurations can specify url parameters

Resolves https://github.com/tangrams/tangram-es/issues/663

URL params need to be inserted after the base URL, but before the # (if one is already present in the URL), and take into account possibly existing parameters:
Examples where url_params: { a: 1, b: 2 }:

http://baseurl.com/ => http://baseurl.com/?a=1&b=2
http://baseurl.com/?c=3&d=4 => http://baseurl.com/?c=3&d=4&a=1&b=2
http://baseurl.com/#lat/lng/z => http://baseurl.com/?a=1&b=2#lat/lng/z
http://baseurl.com/?c=3&d=4#lat/lng/z => http://baseurl.com/?c=3&d=4&a=1&b=2#lat/lng/z

See https://github.com/tangrams/tangram/pull/204/files#diff-be73193a7de1c86c1903f5cf92321d2aR84.

Huh, well I hadn't foreseen that someone would use a hash in a data source URL but I guess it's not impossible. I'll update.
Just to check: trailing ampersands and duplicated parameters are generally permissible, yes?

Using a hash in a URL data source template is unlikely but valid, so I think it should not break.
Trailing ampersands shouldn't be a problem as far as I know, and duplicated parameters I explicitly punted on for the JS implementation because it's not rational to put in both the template and the url_params, and can be avoided by the scene file author.

Updated! I was tempted to make a new utility file for URL functions, but I'm trying to be diligent about not abstracting anything until I use it in at least two places.

repo: tangrams/tangram-es


text:
how to use

please mention which module to import to use this library in swift ios project

import SwiftAudioPlayer

authors: SulimanHussain tanhakabir

repo: tanhakabir/SwiftAudioPlayer


text:
getting the below errors

Warning: mysqli_query() expects parameter 1 to be mysqli, null given in C:\xampp\htdocs\lib\counter.php on line 66
( ! ) Warning: mysqli_query() expects parameter 1 to be mysqli, null given in C:\xampp\htdocs\lib\statistics.php on line 12

@Surajsharma07 I understand, I will check it, thank you!

PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
2023/11/17 15:15:08 [error] 403683#403683: *1 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught TypeError: mysqli_query(): Argument #1 ($mysql) must be of type mysqli, null given in /var/www/html/new-mvc-shop/lib/counter.php:66 Stack trace: #0 /var/www/html/new-mvc-shop/lib/counter.php(66): mysqli_query() #1 /var/www/html/new-mvc-shop/index.php(14): require('...') #2 {main}   thrown in /var/www/html/new-mvc-shop/lib/counter.php on line 66" while reading response header from upstream, client: 127.0.0.1, server: new-mvc-shop, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.2-fpm.sock:", host: "localhost"
Also can you explain more in detail regarding 5.2 Edit .htaccess pretty new at this, so I'm unsure what and where to edit.
Thanks

Warning: mysqli_query() expects parameter 1 to be mysqli, null given in C:\xampp\htdocs\lib\counter.php on line 66
( ! ) Warning: mysqli_query() expects parameter 1 to be mysqli, null given in C:\xampp\htdocs\lib\statistics.php on line 12

Sorry for the delay, I have now fixed this error, It is affected by upgrading to new mysql versions today.
Please use the latest code version from the master branch.
Thanks!

PRETTY_NAME="Debian GNU/Linux 12 (bookworm)" NAME="Debian GNU/Linux" VERSION_ID="12" VERSION="12 (bookworm)"
2023/11/17 15:15:08 [error] 403683#403683: *1 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught TypeError: mysqli_query(): Argument #1 ($mysql) must be of type mysqli, null given in /var/www/html/new-mvc-shop/lib/counter.php:66 Stack trace: #0 /var/www/html/new-mvc-shop/lib/counter.php(66): mysqli_query() #1 /var/www/html/new-mvc-shop/index.php(14): require('...') #2 {main} thrown in /var/www/html/new-mvc-shop/lib/counter.php on line 66" while reading response header from upstream, client: 127.0.0.1, server: new-mvc-shop, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.2-fpm.sock:", host: "localhost"
Also can you explain more in detail regarding 5.2 Edit .htaccess pretty new at this, so I'm unsure what and where to edit. Thanks

The purpose of changing the rewrite base is to use it for subfolders. For example, if the user does not want the source to run on a new domain but only in a specific path of an existing domain (EX: abc.com/shop/), then they only need to edit /shop in htaccess.
I hope this answer can answer your questions.

This issue will be closed because it has been confirmed to work well from other users.
Thanks!

authors: Surajsharma07 halfagascan tanhongit

repo: tanhongit/new-mvc-shop


text:
Issue18/import

I fix "import" subcommand can receives all json files in the current directory.

I continue this PR #33.

repo: tani-yu/dogleash


text:
Fix query state being set to "success" when query function throw

Bug reproduction: https://codesandbox.io/s/musing-framework-jvo0s

Dude you're a machine. Beating me to all of these tests!

I'll get some more, stay tuned! :)

Oh trust me, I'm on the edge of my seat here.

authors: cherniavskii tannerlinsley

repo: tannerlinsley/react-query


text:
fix(queryObserver): defer tracking of error prop when useErrorBoundary is on

adding "error" to the list of tracked properties will result in us only tracking error if we want to track all properties implicitly by not observing any properties (because we check for trackedProps.size). Moving the adding of "error" to after the size check fixes this

:tada: This PR is included in version 4.0.0-alpha.3 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 4.0.0-beta.1 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

authors: TkDodo tannerlinsley


text:
any benchmark?

Maybe you could do some web framework benchmark within valval and others.

Sorry, it may not be added in the short term.
As this issue https://github.com/taojy123/valval/issues/3
Thank you for your suggestion.😄


text:
Bug: abnormal output of .bed result from "macs2 callpeak" function

Describe the bug
I use macs2 callpeak to do peak finding for Chip-Seq data. I notice there are something wrong happen when *.bed results were output.
To Reproduce

I use code as following:

ws=/home/huangwb8/Test/test_chip_3
cd $ws/output/align
ls *merge.rmdup.bam | grep -v Control | while read id
do (nohup macs2 callpeak --tempdir /data/ \
-c Control*bam -t $id -f BAM -B -g mm \
-n $ws/output/peaks/$(basename $id ".bam") > \
$ws/log/peaks/$(basename $id ".bam").log 2>&1 &)
done

Here is a peak record for example. They are produced by the same code

*.narrowPeak
chr1	4481756	4481888	/home/huangwb8/Test/test_chip_3/output/peaks/H2Aub1.ChIPSeq-GSM850471.merge.rmdup_peak_1	47	.      4.83060	9.25272	4.70255	96

*.xls
chr1    4481757 4481888 132     4481853 18.32   9.25272 4.83060 4.70255 /home/huangwb8/Test/test_chip_3/output/peaks/H2Aub1.ChIPSeq-GSM850471.merge.rmdup_peak_1

*.bed
chr1    4481852 4481853 /home/huangwb8/Test/test_chip_3/output/peaks/H2Aub1.ChIPSeq-GSM850471.merge.rmdup_peak_1        4.70255

Thus, I found the gene fragment is from 4481852 to 4481853, which means that the lenght of the peak is 1! However, from *.narrowPeak or *.xls, the gene fragment of the peak should be from 4481756/7 to 4481888.

System (please complete the following information):

the environment of my softwares

conda 4.7.12; envs=chip-seq
Ubuntu 18.04.3
Python 3.7.3; path=/usr/bin/python3
Python 2.7.15; path=/home/huangwb8/Downloads/conda/location/envs/chip-seq/bin/python2
macs2 2.1.3.3; path=/home/huangwb8/Downloads/conda/location/envs/chip-seq/bin/macs2

here is one of the log of macs2 callpeak. Hope it helps!

INFO  @ Wed, 09 Oct 2019 21:46:40:
# Command line: callpeak --tempdir /data/ -c Control.MockIP-GSM850473.merge.rmdup.bam -t H2Aub1.ChIPSeq-GSM850471.merge.rmdup.bam -f BAM -B -g mm -n /home/huangwb8/Test/test_chip_3/output/peaks/H2Aub1.ChIPSeq-GSM850471.merge.rmdup
# ARGUMENTS LIST:
# name = /home/huangwb8/Test/test_chip_3/output/peaks/H2Aub1.ChIPSeq-GSM850471.merge.rmdup
# format = BAM
# ChIP-seq file = ['H2Aub1.ChIPSeq-GSM850471.merge.rmdup.bam']
# control file = ['Control.MockIP-GSM850473.merge.rmdup.bam']
# effective genome size = 1.87e+09
# band width = 300
# model fold = [5, 50]
# qvalue cutoff = 5.00e-02
# The maximum gap between significant sites is assigned as the read length/tag size.
# The minimum length of peaks is assigned as the predicted fragment length "d".
# Larger dataset will be scaled towards smaller dataset.
# Range for calculating regional lambda is: 1000 bps and 10000 bps
# Broad region calling is off
# Paired-End mode is off

INFO  @ Wed, 09 Oct 2019 21:46:40: #1 read tag files...
INFO  @ Wed, 09 Oct 2019 21:46:40: #1 read treatment tags...
INFO  @ Wed, 09 Oct 2019 21:46:49:  1000000
INFO  @ Wed, 09 Oct 2019 21:46:57:  2000000
INFO  @ Wed, 09 Oct 2019 21:47:06:  3000000
INFO  @ Wed, 09 Oct 2019 21:47:14:  4000000
INFO  @ Wed, 09 Oct 2019 21:47:24:  5000000
INFO  @ Wed, 09 Oct 2019 21:47:33:  6000000
INFO  @ Wed, 09 Oct 2019 21:47:41:  7000000
INFO  @ Wed, 09 Oct 2019 21:47:49:  8000000
INFO  @ Wed, 09 Oct 2019 21:47:56:  9000000
INFO  @ Wed, 09 Oct 2019 21:48:02:  10000000
INFO  @ Wed, 09 Oct 2019 21:48:09:  11000000
INFO  @ Wed, 09 Oct 2019 21:48:16:  12000000
INFO  @ Wed, 09 Oct 2019 21:48:21:  13000000
INFO  @ Wed, 09 Oct 2019 21:48:26:  14000000
INFO  @ Wed, 09 Oct 2019 21:48:26: #1.2 read input tags...
INFO  @ Wed, 09 Oct 2019 21:48:30:  1000000
INFO  @ Wed, 09 Oct 2019 21:48:34:  2000000
INFO  @ Wed, 09 Oct 2019 21:48:37:  3000000
INFO  @ Wed, 09 Oct 2019 21:48:41:  4000000
INFO  @ Wed, 09 Oct 2019 21:48:45:  5000000
INFO  @ Wed, 09 Oct 2019 21:48:49:  6000000
INFO  @ Wed, 09 Oct 2019 21:48:53:  7000000
INFO  @ Wed, 09 Oct 2019 21:48:57:  8000000
INFO  @ Wed, 09 Oct 2019 21:49:01:  9000000
INFO  @ Wed, 09 Oct 2019 21:49:04: #1 tag size is determined as 48 bps
INFO  @ Wed, 09 Oct 2019 21:49:04: #1 tag size = 48.0
INFO  @ Wed, 09 Oct 2019 21:49:04: #1  total tags in treatment: 14005406
INFO  @ Wed, 09 Oct 2019 21:49:04: #1 user defined the maximum tags...
INFO  @ Wed, 09 Oct 2019 21:49:04: #1 filter out redundant tags at the same location and the same strand by allowing at most 1 tag(s)
INFO  @ Wed, 09 Oct 2019 21:49:04: #1  tags after filtering in treatment: 14005404
INFO  @ Wed, 09 Oct 2019 21:49:04: #1  Redundant rate of treatment: 0.00
INFO  @ Wed, 09 Oct 2019 21:49:04: #1  total tags in control: 9869716
INFO  @ Wed, 09 Oct 2019 21:49:04: #1 user defined the maximum tags...
INFO  @ Wed, 09 Oct 2019 21:49:04: #1 filter out redundant tags at the same location and the same strand by allowing at most 1 tag(s)
INFO  @ Wed, 09 Oct 2019 21:49:04: #1  tags after filtering in control: 9869713
INFO  @ Wed, 09 Oct 2019 21:49:04: #1  Redundant rate of control: 0.00
INFO  @ Wed, 09 Oct 2019 21:49:04: #1 finished!
INFO  @ Wed, 09 Oct 2019 21:49:04: #2 Build Peak Model...
INFO  @ Wed, 09 Oct 2019 21:49:04: #2 looking for paired plus/minus strand peaks...
INFO  @ Wed, 09 Oct 2019 21:49:06: #2 number of paired peaks: 5543
INFO  @ Wed, 09 Oct 2019 21:49:06: start model_add_line...
INFO  @ Wed, 09 Oct 2019 21:49:06: start X-correlation...
INFO  @ Wed, 09 Oct 2019 21:49:06: end of X-cor
INFO  @ Wed, 09 Oct 2019 21:49:06: #2 finished!
INFO  @ Wed, 09 Oct 2019 21:49:06: #2 predicted fragment length is 125 bps
INFO  @ Wed, 09 Oct 2019 21:49:06: #2 alternative fragment length(s) may be 125 bps
INFO  @ Wed, 09 Oct 2019 21:49:06: #2.2 Generate R script for model : /home/huangwb8/Test/test_chip_3/output/peaks/H2Aub1.ChIPSeq-GSM850471.merge.rmdup_model.r
INFO  @ Wed, 09 Oct 2019 21:49:06: #3 Call peaks...
INFO  @ Wed, 09 Oct 2019 21:49:06: #3 Pre-compute pvalue-qvalue table...
INFO  @ Wed, 09 Oct 2019 21:49:57: #3 In the peak calling step, the following will be performed simultaneously:
INFO  @ Wed, 09 Oct 2019 21:49:57: #3   Write bedGraph files for treatment pileup (after scaling if necessary)... /home/huangwb8/Test/test_chip_3/output/peaks/H2Aub1.ChIPSeq-GSM850471.merge.rmdup_treat_pileup.bdg
INFO  @ Wed, 09 Oct 2019 21:49:57: #3   Write bedGraph files for control lambda (after scaling if necessary)... /home/huangwb8/Test/test_chip_3/output/peaks/H2Aub1.ChIPSeq-GSM850471.merge.rmdup_control_lambda.bdg
INFO  @ Wed, 09 Oct 2019 21:49:57: #3   Pileup will be based on sequencing depth in control.
INFO  @ Wed, 09 Oct 2019 21:49:57: #3 Call peaks for each chromosome...
INFO  @ Wed, 09 Oct 2019 21:52:00: #4 Write output xls file... /home/huangwb8/Test/test_chip_3/output/peaks/H2Aub1.ChIPSeq-GSM850471.merge.rmdup_peaks.xls
INFO  @ Wed, 09 Oct 2019 21:52:00: #4 Write peak in narrowPeak format file... /home/huangwb8/Test/test_chip_3/output/peaks/H2Aub1.ChIPSeq-GSM850471.merge.rmdup_peaks.narrowPeak
INFO  @ Wed, 09 Oct 2019 21:52:00: #4 Write summits bed file... /home/huangwb8/Test/test_chip_3/output/peaks/H2Aub1.ChIPSeq-GSM850471.merge.rmdup_summits.bed
INFO  @ Wed, 09 Oct 2019 21:52:00: Done!

Hi @huangwb8, first, please do not use -n, the name of the run, to specify output directories. Instead, use --outdir.  Do this:
macs2 callpeak --tempdir /data/ \
-c Control*bam -t $id -f BAM -B -g mm \
-n $(basename $id ".bam") \
--outdir $ws/output/peaks/

Regarding your question, please check the README to understand the output files from MACS2. The ".bed" file output is for peak "summits" which is the highest 1bp within a peak. The purpose of this file has been indicated in the filename "xxx_summits.bed".

OK, I got it. Thanks a lot!

@taoliu Hi, I'm currently doing an analysis in MACS2 with m6A-seq data and i had the same doubt, but if it is normal that the lenght of the peak summit is of 1, why would you recommend it to search motifs at binding sites. For example, I want to use meme to search motifs from the summits.bed results, previously extracting the sequences from the locations indicated in that file using bedtools bedintersect. But like i mentioned before is just 1 of lenght, so my question here is What would you recommend me to do? or do i take the locations indicated in the .narrowPeak file or .xls file (outputs of MACS2).

@Esteban-Escobar To use MEME to search for motif at peak summit, which is assumed to be the binding site, we usually search for an x00bps (e.g. 200bps) window around the summit.
awk -v OFS="\t" '{print $1,$2-100,$2+100,$4,$5}' xxx_summits.bed > xxx_200bp_around_summits.bed

authors: Esteban-Escobar huangwb8 taoliu

repo: taoliu/MACS


text:
Args 'title', 'version' and 'openapi' ignored.

Commit 'd24b921cdc4e19f062f8ae3dad01a5eaa69180dd' caused args title, version and openapi of the API intializer to be ignored. The OpenAPISchema is now initialized with hard-coded values which were probably meant as default fall-backs.
title="Web Service",
version="1.0",
openapi="3.0.2",

Since #411 was merged, we can close this issue 👍


text:
A letter from James Gosling

I wish I had this tool 10 years ago. Some people may think I don't need any Java tools, but I do need this tool

Niubility, Laoyer!

Niubility, Laoyer!

I am glad that you can continue the development of java, which has a very positive impact on the whole society

authors: Caramel-Fit taowater

repo: taowater/ztream


text:
Nicer release builds

It's currently a bit difficult to get started because you need to make your own templates (via copy/paste) and also set up the fields.
If we could generate an Anki apk or two, maybe one version with vocabulary in it and one with just an example note, new users could import that without any manual template hacking and get started right away.

The latest release includes an Anki package and the readme also has been updated to make it easier to get started.
The anki package is generated automatically during build.
There are still a few more things that could be improved like automating the creation of releases etc but we have to stop somewhere, so this is it for the release builds for now

repo: tapirbug/anki-template-hanyu


text:
Passing command line arguments to a test

I use node-tap to check "code" quality of Cucumber features that are stored in a Git repository.
Two parameters are necessary to perform this check: the repo location and the branch to check (they vary from one developer to another).
I am looking for the best way to pass those arguments to the test.
I can make it work using something like node test/features.js --repo=... branch=...
Unfortunately the output is a bit messy: I can easily see one test failed but I have to scroll the output for the failed test to see what failed (which is painfull as more than 2000 test are performed).
The spec reporter is great to get a summary of the failed tests but is only available when using the tap command. However this command (tap test/feature.js --reporter=spec) doesn't allow for passing arguments to the test itself.
What approch would you suggest in this situation?

In the very short term, you could use environment variables, since these are passed down to each of the test scripts by default.
As a new feature, I could see some value in something like --test-args="foo --bar=bloo -quUx" or something.  Would that work for you?

Or, actually, scratch that.  Argv is an array, not a string.  I'd follow the pattern of --node-arg and --nyc-arg and have a --test-arg option that you could set multiple times, so for the above example, it'd be something like tap test/*.js --test=arg=foo --test-arg=--bar=bloo --test-arg=-quUx

Okie dokie, landed in 6.2.0.

authors: goriol isaacs

repo: tapjs/node-tap

license: isc


text:
Error report from crash

Describe the bug
I use home-manager's lorri systemd user unit module support.
After a longer build run (haskell.nix stuff) i looked into journalctl --user-unit lorri.service contained the following message:
Jan 15 10:51:54 jongepad lorri[8687]: Jan 15 10:51:54.018 INFO build status, message: Started(FilesChanged(["/home/tfc/foooo/nix/haskellPackages.nix"])), lorri_version>
Jan 15 12:10:48 jongepad lorri[8687]: Well, this is embarrassing.
Jan 15 12:10:48 jongepad lorri[8687]: lorri had a problem and crashed. To help us diagnose the problem you can send us a crash report.
Jan 15 12:10:48 jongepad lorri[8687]: We have generated a report file at "/tmp/report-08c1e98f-e18b-44b3-89f7-8413fff9e42d.toml". Submit an issue or email with the subject >
Jan 15 12:10:48 jongepad lorri[8687]: - Homepage: https://github.com/target/lorri
Jan 15 12:10:48 jongepad lorri[8687]: - Authors: Graham Christensen <graham.christensen@target.com>
Jan 15 12:10:48 jongepad lorri[8687]: We take privacy seriously, and do not perform any automated error collection. In order to improve the software, we rely on people to s>
Jan 15 12:10:48 jongepad lorri[8687]: Thank you kindly!

The crash report file contains the following:
name = 'lorri'
operating_system = 'unix:Unknown'
crate_version = '0.1.0'
explanation = '''
Panic occurred in file 'src/build_loop.rs' at line 107
'''
cause = 'Error cause could not be determined by the application.'
method = 'Panic'
backtrace = '''

   0: 0x5640de560c69 - std::panicking::try::do_call::hcd52029b548e4f26
   1: 0x5640de74433a - __rust_maybe_catch_panic
   2: 0x5640de5741f6 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h5736f33fafd0112b
   3: 0x5640de724ebf - <alloc::boxed::Box<F> as core::ops::function::FnOnce<A>>::call_once::h3e052558cbe55fd8
   4: 0x5640de72a7b0 - std::sys::unix::thread::Thread::new::thread_start::h5262a6ff4b26522f
   5: 0x7f37bd01aef7 - start_thread
   6: 0x7f37bcd3a22f - __GI___clone
   7:        0x0 - <unknown>'''

To Reproduce
Steps to reproduce the behavior:
I don't know.
Expected behavior
No crash, no err log
Metadata
This is lorri from the current 19.09 NixOS channel.
$ lorri info
lorri version: 1
Lorri Project Configuration

expression: shell.nix

$ uname -a
Linux jongepad 4.19.94 #1-NixOS SMP Thu Jan 9 09:19:10 UTC 2020 x86_64 GNU/Linux

@tfc if you update nixpkgs, home-manager and lorri to recent versions, does the issue still appear?

authors: Profpatsch tfc

repo: target/lorri


text:
bulk mode for all ES writes

This is a tool for moving lots of data.  We should use the _bulk API in ES for all writes to ES.

closes https://github.com/taskrabbit/elasticsearch-dump/issues/205

@davidjairala have any thoughts on this one?

https://github.com/taskrabbit/elasticsearch-dump/releases/tag/v2.2.0 released!

repo: taskrabbit/elasticsearch-dump


text:
🛑 Lavalink is down

In 7ee1942, Lavalink (https://lava.chirailava.tk/metrics) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Lavalink is back up in 7bd22d6.

repo: tathaha/bruhuptime


text:
Fix code scanning alert - Expected: 1; Actual: 2

Will fix in pull #24

Tracking issue for:

[x] https://github.com/tatsoku/hamon/security/code-scanning/58

Will be fixed in #24

Fixed in #24

repo: tatsoku/hamon


text:
Error: No artifacts were found.  (ubuntu-20.04)

I had used tauri-action@dev and the error still occurred.
Also, my project name is non-ascii and I am not sure whether it is causing.
my github action file:  https://github.com/1595901624/gpt-aggregated-edition/blob/master/.github/workflows/publish.yml

This will be fixed in tauri 1.3: https://github.com/tauri-apps/tauri/pull/5872 - imho it's not worth to add a workaround in tauri-action (since we'd have to detect the used tauri cli version etc)

repo: tauri-apps/tauri-action


text:
[docs] Change webkit2gtk package for Arch Installations

Hello,
while trying out the v2 Alpha release i ran into the problem regarding Arch Linux System Dependencies. The guide says that for Arch Linux the package webkit2gtk must be installed, but it also has to be the package webkit2gtk-4.1. Without webkit2gtk-4.1 installed you get the following error with the build/dev command: 'error: could not find system library 'webkit2gtk-4.1' required by the 'webkit2gtk-sys' crate

Duplicate of https://github.com/tauri-apps/tauri-docs/issues/1097. Thanks for the report.

repo: tauri-apps/tauri


text:
feat: add title getter on window, closes #5023

What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Docs
[ ] New Binding issue #___
[ ] Code style update
[ ] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change?

[ ] Yes, and the changes were approved in issue #___
[x] No

Checklist

[x] When resolving issues, they are referenced in the PR's title (e.g fix: remove a typo, closes #___, #___)
[x] A change file is added if any packages will require a version bump due to this PR per the instructions in the readme.
[ ] I have added a convincing reason for adding this feature, if necessary

Other information

When will this be in production?

appWindow.title().then(title => {
      if (windowTitle !== title) setWindowTitle(title);
    });

nvm just have to upgrade cargo most likely,

I updated cargo.toml, and still same error. Does it work for you guys?

Seems like the other plugins depend on 1.2.5?

Seems like the other plugins like tauri-plugin-window-state and tauri-plugin-store and tauri-plugin-single-instance depend on 1.2.5?

Nope, they only specify "1", so if we ignore the fact that some plugins use apis introduced in 1.1 and 1.2 the plugins don't care about the minor version and a simple cargo update is supposed to update it (adding 1.3 in your cargo.toml file is basically the same in this context since it tells cargo to upgrade to at least 1.3)

authors: FabianLars amrbashir elibroftw


text:
Cant run tray_icon with iced-rs

This is the error that i get every single time :

"` to apply 2 suggestions)
    Finished dev [unoptimized + debuginfo] target(s) in 0.13s
     Running `target/debug/wall-garden`

(process:740): Gtk-CRITICAL **: 20:46:21.575: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed

(process:740): GLib-GObject-CRITICAL **: 20:46:21.576: invalid (NULL) pointer instance

(process:740): GLib-GObject-CRITICAL **: 20:46:21.576: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
thread 'main' panicked at 'GTK has not been initialized. Call `gtk::init` first.', /home/melnibone/.cargo/registry/src/index.crates.io-6f17d22bba15001f/gtk-0.16.2/src/auto/menu.rs:40:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

and here is part of the code responsible for loading and preparing tray
  let path = "/home/melnibone/sandbox/rust/wall-garden/wall-garden/src/icon.png";
    let icon = load_icon(std::path::Path::new(path));
    let tray_menu = Menu::new();

    let quit_i = MenuItem::new("Quit", true, None);
    tray_menu.append_items(&[
        &MenuItem::new("show", true, None),
        &PredefinedMenuItem::separator(),
        &quit_i,
    ]);
    let tray_icon = TrayIconBuilder::new()
        .with_menu(Box::new(tray_menu))
        .with_tooltip("welcome")
        .with_icon(icon)
        .build();

    if let Err(error) = tray_icon {
        match error {
            tray_icon::Error::OsError(err) => std::process::exit(err.raw_os_error().unwrap_or(-1)),

            _ => std::process::exit(-1),
        }
    }

tray-icon needs a running gtk event loop but iced doesn't use one which means you have to do something similar to what's shown in the winit example: https://github.com/tauri-apps/tray-icon/blob/dev/examples/winit.rs#L17-L32

try gtk version 0.16 instead of 0.17

Yes,
that did the trick, thank you for your help, but there seems to be two issues :
First tray icon, and the dock icon show up quite fast, but it takes good 2-3 seconds for window to show up.
Second, i am not sure how to capture the menu events  :
For example how could i kill app on "quit" menu, i tryed using receiver like in git example but with no luck , nothing happens.
pub fn main() -> iced::Result {
    let path = "/home/melnibone/sandbox/rust/wall-garden/wall-garden/src/icon.png";
    let icon = load_icon(std::path::Path::new(path));

    #[cfg(target_os = "linux")]
    std::thread::spawn(|| {
        let tray_menu = Menu::new();

        let quit_i = MenuItem::new("Quit", true, None);
        tray_menu.append_items(&[
            &MenuItem::new("show", true, None),
            &PredefinedMenuItem::separator(),
            &quit_i,
        ]);

        use tray_icon::menu::Menu;

        gtk::init().unwrap();
        let _tray_icon = TrayIconBuilder::new()
            .with_menu(Box::new(tray_menu))
            .with_icon(icon)
            .build()
            .unwrap();

        gtk::main();
    });

    Styling::run(Settings {
        window: iced::window::Settings {
            size: (600_u32, 450_u32),
            ..Default::default()
        },

        ..Default::default()
    })
}

you can do something like this:
pub fn main() -> iced::Result {
    let path = "/home/melnibone/sandbox/rust/wall-garden/wall-garden/src/icon.png";
    let icon = load_icon(std::path::Path::new(path));

    #[cfg(target_os = "linux")]
    std::thread::spawn(|| {
        let tray_menu = Menu::new();

        let quit_i = MenuItem::new("Quit", true, None);
        tray_menu.append_items(&[
            &MenuItem::new("show", true, None),
            &PredefinedMenuItem::separator(),
            &quit_i,
        ]);

        use tray_icon::menu::Menu;

        gtk::init().unwrap();
        let _tray_icon = TrayIconBuilder::new()
            .with_menu(Box::new(tray_menu))
            .with_icon(icon)
            .build()
            .unwrap();

		let tray_channel = TrayIconEvent::receiver();
		loop {
			if let Ok(event) = tray_channel.try_recv() {
            	if event.id == quit_i.id() {
            		std::process::exit(1);
            	}
        	}

			gtk::main_iteration_do(false);
		}
    });

    Styling::run(Settings {
        window: iced::window::Settings {
            size: (600_u32, 450_u32),
            ..Default::default()
        },

        ..Default::default()
    })
}

Now I haven't used iced before so there maybe a better way to intergrate the event system with that of iced but I will try to add an example soon to the repo.

Strange , it does not work.
It complains regarding TrayIconEvent::receiver(); it says that similar struct with TrayEvent name exists, and i can just rename this from editor, and the code runs, clicking on menu items does nothing, really not sure what is the issue at this point, i dont know if the problem is that this is on wayland ?

It complains regarding TrayIconEvent::receiver(); it says that similar struct with TrayEvent name exists, and i can just rename this from editor, and the code runs
My bad, the name is only changed in the dev branch and not published yet.

clicking on menu items does nothing, really not sure what is the issue at this point, i dont know if the problem is that this is on wayland ?

I will have to test on wayland to confirm that but it should work.

@bq-wrongway I updated the example above, you should be using tray_icon::menu::MenuEvent::receiver to receive menu events instead of TrayIconEvent.

This works, thanks a lot.

authors: FabianLars amrbashir bq-wrongway

repo: tauri-apps/tray-icon


text:
feat/fare-field

Please review before merging.

:tada: This PR is included in version 1.68.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

repo: taxi-gestion/client


text:
Use runno-clang for C/C++

I think this solves #193

I'd be happy to try and help you get the dev environment running locally! It's probably got some quirks because I've been devving it by myself.
How did you go following the instructions in the README.md?

Awesome, this looks right. I'm just going to test it works locally.

If you'd like to organise a pairing session so we can work through it together I'd also be happy to do that. Just email runno@taybenlor.com and we can coordinate a video call during the week (12th or 13th will be best for me).

I will have a look into this further when I have some time, not sure when so I will close this for now.

authors: LukePrior taybenlor

repo: taybenlor/runno


text:
Corporate IT MDM blocking nixery.dev and tazj.in because of RU server host?

Hi friends!
I found out today that my corporate IT department's MDM solution blocks the nixery.dev (and tazj.in) domains because the sites are hosted in Russia apparently.
Hosting Provider: Yandex.Cloud
IP Address: 51.250.48.185
Nameservers: ns1.namesystem.se, ns2.namesystem.se, ns3.namesystem.se
Whois Record: https://www.whois.com/whois/nixery.dev
Autonomous System Number: 200350
Autonomous System Organization: Yandex.Cloud LLC
Organization: Yandex.Cloud
Continent: Europe
Country: Russia
Registered Country: Russia
Location: Europe/Moscow

Hosting Provider: Moscow City Telephone Network
IP Address: 46.138.248.160
Nameservers: ns1.yandexcloud.net, ns2.yandexcloud.net
Whois Record: https://www.whois.com/whois/tazj.in
Autonomous System Number: 25513
Autonomous System Organization: PJSC Moscow city telephone network
Organization: Moscow City Telephone Network
City: Moscow
Continent: Europe
Country: Russia
Registered Country: Russia
Subdivisions: Moscow
Location: Europe/Moscow

In my case there's not much I can do since I can't run my own VPN on this machine.
I don't know if there's some Cloudflare/CDN magic to get around this sort of geo block, but I figured Id report it just in case anyone else has this issue. 😭

Hi!
Yes, my personal website is hosted on a NUC in my flat in Moscow, and nixery.dev is hosted on Yandex Cloud. I don't intend to change anything about this setup, or to put a Western-based proxy in front of the sites.
Back when I worked for Google, I could host the service for free on their infrastructure. As that's no longer the case, I've moved it to a provider that's more comfortable for me to use nowadays.
I recommend opening a ticket with your IT department about this, or hosting your own instance of Nixery at your company (it should not be too difficult to get it up & running).

Awesome thanks for the response! I'll close this for now. 😄

authors: Nezteb tazjin

repo: tazjin/nixery


text:
默认的release编译规则编译不了链接动态库的项目

add_rules("mode.debug", "mode.release")
--[[
linux和macos都试了，xmake的v2.2.2和v2.2.1也试了，debug编译是可以项目是可以全部编译成功的，就是release不行。后来发现是mode.release规则里面的set_symbols("hidden")导致，找不到动态库的，不确定是不是我用法的问题。请教一下大牛，谢谢
]]

赞，这么快回复，再次感谢大牛答疑解惑！

repo: tboox/xmake


text:
read_only tests insufficient

I thought I'd open an issue. Per twitter, this test: https://github.com/tcbrindle/flux/blob/b423b21d37f510f7793b6f1bf4e6e6f187fc9a4d/test/test_read_only.cpp#L18-L35
doesn't actually test anything about read_only, since flux::ref(arr) is already a read-only sequence, so flux::read_only(flux::ref(arr)) (correctly!) just gives you back flux::ref(arr). You want flux::mut_ref(arr) there.
This also begs the question of to what extend this is a valid implementation of read_only:
 struct read_only_fn {
     template <adaptable_sequence Seq>
     [[nodiscard]]
     constexpr auto operator()(Seq&& seq) const -> read_only_sequence auto
     {
         if constexpr (read_only_sequence<Seq>) {
             return FLUX_FWD(seq);
         } else {
-            return read_only_adaptor<std::decay_t<Seq>>(FLUX_FWD(seq));
+            return flux::map(FLUX_FWD(seq), [](auto&& elem) -> const_element_t<Seq> {
+                return FLUX_FWD(elem);
+            });
         }
     }
 };

It's very nearly correct, the only thing that should break is the contiguous_sequence check in the test. The fact that read_only is a map, just one that's potentially contiguous, feels like it should be implemented like this:
template <class T>
struct cast_to_const {
    template <class U>
    constexpr auto operator()(U&& rhs) const -> T {
        return FLUX_FWD(rhs);
    }
};

template <sequence Base>
    requires (not read_only_sequence<Base>)
struct read_only_adaptor : map_adaptor<Base, cast_to_const<const_element_t<Base>>>
{
    using map = map_adaptor<Base, cast_to_const<const_element_t<Base>>>;

public:
    constexpr read_only_adaptor(decays_to<Base> auto&& base)
        : map(FLUX_FWD(base), cast_to_const<const_element_t<Base>>{})
    {}

    struct flux_sequence_traits : map::flux_sequence_traits {
        static constexpr auto data(auto& self)
            requires contiguous_sequence<Base>
        {
            using P = std::add_pointer_t<std::remove_reference_t<const_element_t<Base>>>;
            return static_cast<P>(flux::data(self.base_)); // error: self.base_ is private
        }
    };
};

But that doesn't quite work. Another approach would be to have flux::read_only just return flux::map using the appopriate cast_to_const and just have map recognize it. That feels a little backwards (why is map adding a function that is only usable for read_only) but avoids all the boilerplate too.

The test is easily fixable, so I'll do that (I think it dates from before I flipped the meaning of ref() and added mut_ref(), or maybe I just made a mistake).
Having read_only_adaptor inherit from map_adaptor is a neat idea (although I don't do it anywhere else). Does the access check work if you replace self.base_ with self.base()?

The test is easily fixable, so I'll do that (I think it dates from before I flipped the meaning of ref() and added mut_ref(), or maybe I just made a mistake).

👍

Having read_only_adaptor inherit from map_adaptor is a neat idea (although I don't do it anywhere else). Does the access check work if you replace self.base_ with self.base()?

Oh yeah, that totally works! So yeah, my ... what... 25ish line implementation above there passes all the tests (with mut_ref fixed).

I was literally just about to write that I've just tried it and it works! I'll have a PR in a couple of minutes

authors: brevzin tcbrindle

repo: tcbrindle/flux


text:
WIP : feat(api) : get for topics

Just a PR to validate the intention of the issue #99 . Please, tell me if it's what you want, and if Ok I will create all the CRUD operations.

Good starting point, just add a strong typing on HttpResponse to be able to work with swagger part of micronaut.
Also add some unit test.
Also one idea ?
Maybe also used a Pagination model to add next & previous url ?
class <T> PaginationResult {
  String next;
  String previous
  List<T> items
}

What do you think about this ?

Ok, I just wanted to validate you wanted it before work on it. So, I will try to do a clean PR now :)

closing since no activity for month, feel free to open a new one if you some time to work on this :+1:

authors: sebvelay tchiotludo

repo: tchiotludo/kafkahq


text:
Unable to bring up ONTAP 9.13

I'm trying to use the automation to bring up ONTAP on a CentOS 7 KVM box but it fails and I can not understand why. The CPU in the machine is Sandy Bridge so that shouldn't be a problem.
The terminal output is on this pastebin https://pastebin.com/EXi5RY2v
Thanks for any help

OK so if I upgrade to Rocky-8 then I should be able to deploy 9.13?

OK so if I upgrade to Rocky-8 then I should be able to deploy 9.13?

9.11 is sure to be OK.
but we haven't got 9.12, 9.13 yet, so I can only say that it's possible ; )

OK so if I upgrade to Rocky-8 then I should be able to deploy 9.13?

Hi John
I just got 9.12 and 9.13 images; and all of them can be able to startup on RHEL-8.8.0:
fsqe-2nc1::*> set -privilege admin

fsqe-2nc1::> cifs share show -vserver vs1
Vserver        Share         Path              Properties Comment  ACL
-------------- ------------- ----------------- ---------- -------- -----------
vs1            c$            /                 oplocks    -        BUILTIN\Administrators / Full Control
                                               browsable
                                               changenotify
                                               show-previous-versions
vs1            cifs1         /cifs1            oplocks    -        Everyone / Full Control
                                               browsable
                                               changenotify
                                               show-previous-versions
vs1            cifs2         /cifs2            oplocks    -        Everyone / Full Control
                                               browsable
                                               changenotify
                                               show-previous-versions
vs1            ipc$          /                 browsable  -        -
4 entries were displayed.

fsqe-2nc1::> network interface show
            Logical    Status     Network            Current       Current Is
Vserver     Interface  Admin/Oper Address/Mask       Node          Port    Home
----------- ---------- ---------- ------------------ ------------- ------- ----
Cluster
            fsqe-2nc1-01_clus1
                         up/up    169.254.203.246/16 fsqe-2nc1-01  e0a     true
            fsqe-2nc1-01_clus2
                         up/up    169.254.169.227/16 fsqe-2nc1-01  e0b     true
            fsqe-2nc1-02_clus1
                         up/up    169.254.8.142/16   fsqe-2nc1-02  e0a     true
            fsqe-2nc1-02_clus2
                         up/up    169.254.230.66/16  fsqe-2nc1-02  e0b     true
fsqe-2nc1
            cluster_mgmt up/up    192.168.20.11/24   fsqe-2nc1-01  e0d     true
            fsqe-2nc1-01_mgmt1
                         up/up    10.73.180.184/23   fsqe-2nc1-01  e0c     true
            fsqe-2nc1-02_mgmt1
                         up/up    10.73.180.187/23   fsqe-2nc1-02  e0c     true
vs1
            lif1.0       up/up    192.168.20.21/24   fsqe-2nc1-01  e0e     true
            lif1.1       up/up    10.73.181.117/23   fsqe-2nc1-01  e0f     true
            lif2.0       up/up    192.168.20.22/24   fsqe-2nc1-02  e0e     true
            lif2.1       up/up    10.73.180.250/23   fsqe-2nc1-02  e0f     true
11 entries were displayed.

fsqe-2nc1::>
fsqe-2nc1::> exit
Goodbye

Connection to 192.168.20.11 closed.
NETAPP_NAS_HOSTNAME=ontap2-b407
NETAPP_NAS_IP=10.73.181.117
NETAPP_NAS_IP_LOC=192.168.20.21
NETAPP_NFS_SHARE=/share1
NETAPP_NFS_SHARE2=/share2
NETAPP_CIFS_SHARE=cifs1
NETAPP_CIFS_SHARE2=cifs2
NETAPP_CIFS_USER=root
NETAPP_CIFS_PASSWD=Sesame~0pen
NETAPP_DOMAIN_WG=
NETAPP_CIFS_WG=FSQE
[root@hp-dl388g8-18 ~]# uname -r
4.18.0-477.10.1.el8_8.x86_64

see also: https://community.netapp.com/t5/Simulator-Discussions/Issue-with-ONTAP-Simulator-9-13-1/td-p/446223

Hi @johnhenriksson
I got it. The information on the terminal stops outputting not because the system is hung, but because the information is redirected to the console. This change is actually good news; because then we can directly use expect + 'virsh console' to complete the system setup/configuration.
But I need to rewrite some code to adapt to this change. will update the comment after finish.

fixed:
https://github.com/tcler/ontap-simulator-in-kvm/commit/ffd92b2fc11e338c3260373a93f8e0b87f53e38e

JFYI: now with the latest kiss-vm we can bring up ONTAP-9.13 on Fedora-3x, RHEL/RockyLinux/AlmaLinux-{8,9}, openSUSE-15.5, debian-12.5 and latest ArchLinux.

authors: johnhenriksson tcler

repo: tcler/ontap-simulator-in-kvm


text:
gem install fails -> active_pdftk nog registered in rubygems?

the gem install fails. it seems active_pdftk is (no longer?) registered in rubygems ?

I cant install it through git link

authors: koenhandekyn vkeziah

license: mit


text:
Allocate matrix of material

Use to following syntax:
Matrix::addElastic(const ArrS &I, const ArrS &idx, const ColD &K, const ColD &G);

This way a single constant can be used for many integration points.

Done.

repo: tdegeus/ElastoPlasticQPot


text:
Include the generated dependency files

Prior to this change, touch src/Parser.h would only cause Parser.o to
recompile, but Compile.cpp should also have been recompiled since it
includes Parser.h. The deps were created, just not included in the
Makefile.

Thanks! That has been bugging me.

authors: richq tdenniston

repo: tdenniston/bish


text:
Feature: AI/ML on Telegram

I'm interested in connecting NLP to Telegram. Specifically, when a scammer messages me, I want to be able to take their message and pass it to my python code to then process and spit back an AI driven reply, thereby wasting the spammers time/money.
I have seen the ability to create a bot that users can ask questions to receive a reply (similar to here: https://github.com/ibrdrahim/telegram-auto-reply). However, I would like to know if Telegram has an inbuilt API for me to be able to set off my python script based on my input after receiving the scam message, and then take it from there.
In other words,

Scammer messages me randomly and I recognize they are scammer because of their behavior (talking about mobile mining, attractive PFP, Asian phone number, etc...).
I type in keywords to allow AI to take over chat. For example, I type "Hello, dear". This keyword sets off my script that takes over conversation for me.
The scammers messages are passed to GPT2 and then GPT2 sends realistic messages back to scammer through API.
Scammers are essentially DDOSed by GPT2.

I feel that there are no technological blocks to the AI side. But, before I take on this task, I want to see if the existing API will work with step 2, and if not, if this is a possible feature that could be added due to the increase in crypto scams (https://www.reddit.com/r/Scams/comments/njimju/pigbutchering_scam_sha_zhu_pan_photos_of_training/)

Telegram has nothing like that.

Just to be clear, it seems like I can already write a Telegram bot connected to AI, based on the following link (https://leihao0.github.io/How-to-auto-reply-send-msg-with-telegram/).
So, my thinking is that I should already be able to direct spammers to a new contact, which is my AI bot that will talk to them. So, my idea should already be doable to an extent.
The real question is if I can do this easier? Can I read information that is coming to my Telegram personal message and send it to my bot via a flag I decide on? Basically, I want the UX/UI to be very simple. Are you saying that there is no way for me to programmatically read messages from someone that is sending me messages to my regular number?

You can use tdlib to process every incoming message your account receives, feed them to a ML/AI algorithm that will decide what to answer, and send the reply. The docs contain more information and example

Thankyou @RememberTheAir I'll look into it.

authors: RememberTheAir elimc levlam

repo: tdlib/td


text:
BinLog

I have some question about BinLog file:
1)Is it a sqlite db? in code I see that the encryption key of authorizationStateWaitEncryptionKey is used for encryption  is it correct?
2)Does log keep informations about authentication?
3)does log keep message in out log and for what reason? is that needed to the library?

No. Yes.
Yes.
No.

thanks, so can I avoid logging message send receiving?
there's some configuration way to do that?

What exactly do yoi mean?

I understand from previews reply that the only BinLog library need is the information about authentication. So all other logs about sending messages receiving messages ecc.. are not mandatory and can be avoided? if so there's some configuration that ca be used to reduce binlog to minimum needed?

What "logs about sending messages" do you mean?

These
LogEvent::HandlerType::SecretChats
LogEvent::HandlerType::SecretChatInfos
LogEvent::HandlerType::ReadHistoryInSecretChat
Is it needed from TDLib or can I disable that logs?

No, you can't disable these events.

Why that events is needed from tdlib? what is saved in that events? text and or captions and or files or images? which log can I disable without affecting functionality?
What I need to do is to save as minimal informations as possible, because I'm in environment where I should save nothing, I should just send messages to secret chats and I can't keep that data

The data you are worrying about is not kept.

So what is BinLog used for?

It is used for everything that needs persistent storage and most things can't work without a persistent storage. You can read the code if you have some concerns about it.

I have to read the code because I have to know what is inside log
thanks

So let me know if I understand correctly: binlog is a persistent structure aes encrypted used to handle message delivery. Basically information about message sent is removed as soon as the message is sent, correct? File sent are Always kept on directory structure, correct? And if I configure tdlib to not use database, after message is set is removed from binlog and is kept in a ram structure?

Basically, this is correct. For example, if message database is not used, then message history in secret chats will not be available after restart.

ok good

authors: levlam micheleselea


text:
Fix MinGW threading compilation error

This PR fixes two compilation error in MinGW-w64 under MSYS:

Thread compilation error: invalid conversion
Same problem has been found here: https://github.com/boostorg/fiber/pull/281. In TDLib it happens in tdutils/td/utils/port/detail/ThreadStl.h and adding reinterpret_cast<HANDLE> fixes it.
cc1plus.exe: out of memory
This happens only in 32-bit MinGW build. td/telegram/MessagesManager.cpp gives an out of memory error. There is an old compiler bug in GCC which either wasn't fixed or reappeared again. Adding -ftrack-macro-expansion=0 to compiler flags solves the problem.
Moved to #2212 by request.

Thank you! Could you move adding of the -ftrack-macro-expansion=0 flag to a separate pull request and add it in the file CMake/TdSetUpCompiler.cmake instead of the main CMakeLists.txt? Then I will merge both pull requests.

Also, it is safer to add the compiler options using
add_cxx_compiler_flag("-ftrack-macro-expansion=0")

OOM fix moved to #2212.

Have you checked that the change is correct? It looks like it will just crash in runtime now.
You can run run_all_tests.exe --filter ThreadAffinityMask to check that the implementation works.

Looks fine when run from MinGW shell:

When running from regular shell, gives an error about missing DLLs, but these DLLs can be found in MinGW runtime, so I think it's not an issue.

Same result with regular CMD when EXE is copied to folder with DLLs.

Probably, it can work if MinGW uses Windows threads, but it still have no chance to work with pthread threads.
Also, could you run run_all_tests.exe --filter ThreadAffinityMask -v3 to see in the output that it actually works?

Looks like it partially fails.
MinGW 64-bit:
[ 1][t 1][1669414419.797095775][tests.cpp:221]  Run test [name:Test_Port_ThreadAffinityMask]
[ 3][t 1][1669414419.797252178][port.cpp:292]   Initial thread 1496 affinity mask: 255
[ 3][t 1][1669414419.797316551][port.cpp:295]   255
[ 3][t 1][1669414419.797371864][port.cpp:297]   0: OK 1
[ 3][t 1][1669414419.797519683][port.cpp:307]   Will join new thread 0 with affinity mask: 0
[ 3][t 2][1669414419.797847509][port.cpp:303]   New thread 6832 affinity mask: 255
[ 3][t 2][1669414419.797929048][port.cpp:305]   Thread 6832: OK 1
[ 3][t 1][1669414419.798143625][port.cpp:295]   1
[ 3][t 1][1669414419.798187255][port.cpp:297]   1: OK 2
[ 3][t 1][1669414419.798288822][port.cpp:307]   Will join new thread 0 with affinity mask: 0
[ 3][t 2][1669414419.798552274][port.cpp:303]   New thread 1868 affinity mask: 255
[ 3][t 2][1669414419.798607110][port.cpp:305]   Thread 1868: OK 1
[ 3][t 1][1669414419.798781394][port.cpp:295]   2
[ 3][t 1][1669414419.798883438][port.cpp:297]   2: OK 4
[ 3][t 1][1669414419.798946380][port.cpp:295]   4
[ 3][t 1][1669414419.798995256][port.cpp:297]   3: OK 8
[ 3][t 1][1669414419.799062967][port.cpp:295]   8
[ 3][t 1][1669414419.799123048][port.cpp:297]   4: OK 16
[ 3][t 1][1669414419.799199104][port.cpp:295]   16
[ 3][t 1][1669414419.799244403][port.cpp:297]   5: OK 32
[ 3][t 1][1669414419.799287557][port.cpp:295]   32
[ 3][t 1][1669414419.799348354][port.cpp:297]   6: OK 64
[ 3][t 1][1669414419.799404859][port.cpp:295]   64
[ 3][t 1][1669414419.799446821][port.cpp:297]   7: OK 128
[ 3][t 1][1669414419.799494504][port.cpp:295]   128
[ 3][t 1][1669414419.799551486][port.cpp:297]   8: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414419.800387620][port.cpp:295]   128
[ 3][t 1][1669414419.800854444][port.cpp:297]   9: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414419.801316976][port.cpp:295]   128
[ 3][t 1][1669414419.801763057][port.cpp:297]   10: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414419.802217721][port.cpp:295]   128
[ 3][t 1][1669414419.802617788][port.cpp:297]   11: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414419.803052186][port.cpp:295]   128
[ 3][t 1][1669414419.803460121][port.cpp:297]   12: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414419.803922891][port.cpp:295]   128
[ 3][t 1][1669414419.808047771][port.cpp:297]   13: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414419.808145761][port.cpp:295]   128
[ 3][t 1][1669414419.808738708][port.cpp:297]   14: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414419.809138298][port.cpp:295]   128
[ 3][t 1][1669414419.809499263][port.cpp:297]   15: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414419.809887170][port.cpp:295]   128
[ 3][t 1][1669414419.810245275][port.cpp:297]   16: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414419.810630798][port.cpp:295]   128
[ 3][t 1][1669414419.810991764][port.cpp:297]   17: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414419.811376094][port.cpp:295]   128
[ 3][t 1][1669414419.811735630][port.cpp:297]   18: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414419.812122106][port.cpp:295]   128
[ 3][t 1][1669414419.812482833][port.cpp:297]   19: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414419.812874555][port.cpp:295]   128
[ 3][t 1][1669414419.813240766][port.cpp:297]   20: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414419.813599824][port.cpp:295]   128
[ 3][t 1][1669414419.813933849][port.cpp:297]   21: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414419.814289569][port.cpp:295]   128
[ 3][t 1][1669414419.814655065][port.cpp:297]   22: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414419.815013408][port.cpp:295]   128
[ 3][t 1][1669414419.815346956][port.cpp:297]   23: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414419.815853834][port.cpp:295]   128
[ 3][t 1][1669414419.816319942][port.cpp:297]   24: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414419.816790580][port.cpp:295]   128
[ 3][t 1][1669414419.817237377][port.cpp:297]   25: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414419.817664623][port.cpp:295]   128
[ 3][t 1][1669414419.818109750][port.cpp:297]   26: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414419.818577527][port.cpp:295]   128
[ 3][t 1][1669414419.818976879][port.cpp:297]   27: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414419.819396018][port.cpp:295]   128
[ 3][t 1][1669414419.819803476][port.cpp:297]   28: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414419.824384689][port.cpp:295]   128
[ 3][t 1][1669414419.824451208][port.cpp:297]   29: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414419.824893236][port.cpp:295]   128
[ 3][t 1][1669414419.825458526][port.cpp:297]   30: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414419.825907468][port.cpp:295]   128
[ 3][t 1][1669414419.826257944][port.cpp:297]   31: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414419.826620817][port.cpp:295]   128
[ 3][t 1][1669414419.826961994][port.cpp:297]   32: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414419.827322721][port.cpp:295]   128
[ 3][t 1][1669414419.827665090][port.cpp:297]   33: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414419.828024864][port.cpp:295]   128
[ 3][t 1][1669414419.828364133][port.cpp:297]   34: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414419.828725814][port.cpp:295]   128
[ 3][t 1][1669414419.829066038][port.cpp:297]   35: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414419.829426288][port.cpp:295]   128
[ 3][t 1][1669414419.829768180][port.cpp:297]   36: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414419.830151319][port.cpp:295]   128
[ 3][t 1][1669414419.830492019][port.cpp:297]   37: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414419.830858230][port.cpp:295]   128
[ 3][t 1][1669414419.831197261][port.cpp:297]   38: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414419.831557512][port.cpp:295]   128
[ 3][t 1][1669414419.831906557][port.cpp:297]   39: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414419.832262754][port.cpp:295]   128
[ 3][t 1][1669414419.832613229][port.cpp:297]   40: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414419.833122014][port.cpp:295]   128
[ 3][t 1][1669414419.833455562][port.cpp:297]   41: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414419.833810329][port.cpp:295]   128
[ 3][t 1][1669414419.834138870][port.cpp:297]   42: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414419.834491968][port.cpp:295]   128
[ 3][t 1][1669414419.834831953][port.cpp:297]   43: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414419.835181474][port.cpp:295]   128
[ 3][t 1][1669414419.835509538][port.cpp:297]   44: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414419.835979938][port.cpp:295]   128
[ 3][t 1][1669414419.838036060][port.cpp:297]   45: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414419.840495824][port.cpp:295]   128
[ 3][t 1][1669414419.840748310][port.cpp:297]   46: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414419.841194152][port.cpp:295]   128
[ 3][t 1][1669414419.841530799][port.cpp:297]   47: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414419.841886997][port.cpp:295]   128
[ 3][t 1][1669414419.842218160][port.cpp:297]   48: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414419.842570781][port.cpp:295]   128
[ 3][t 1][1669414419.842911481][port.cpp:297]   49: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414419.843261241][port.cpp:295]   128
[ 3][t 1][1669414419.843594312][port.cpp:297]   50: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414419.843946695][port.cpp:295]   128
[ 3][t 1][1669414419.844277143][port.cpp:297]   51: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414419.844635725][port.cpp:295]   128
[ 3][t 1][1669414419.844966411][port.cpp:297]   52: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414419.845318317][port.cpp:295]   128
[ 3][t 1][1669414419.845673322][port.cpp:297]   53: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414419.846049785][port.cpp:295]   128
[ 3][t 1][1669414419.846378803][port.cpp:297]   54: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414419.846738338][port.cpp:295]   128
[ 3][t 1][1669414419.847067356][port.cpp:297]   55: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414419.847420215][port.cpp:295]   128
[ 3][t 1][1669414419.847754240][port.cpp:297]   56: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414419.848104953][port.cpp:295]   128
[ 3][t 1][1669414419.848441362][port.cpp:297]   57: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414419.848808288][port.cpp:295]   128
[ 3][t 1][1669414419.849143505][port.cpp:297]   58: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414419.849500894][port.cpp:295]   128
[ 3][t 1][1669414419.850337266][port.cpp:297]   59: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414419.851150751][port.cpp:295]   128
[ 3][t 1][1669414419.851488113][port.cpp:297]   60: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414419.851855039][port.cpp:295]   128
[ 3][t 1][1669414419.854199171][port.cpp:297]   61: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414419.856373548][port.cpp:295]   128
[ 3][t 1][1669414419.856754779][port.cpp:297]   62: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414419.857150077][port.cpp:295]   128
[ 3][t 1][1669414419.857486724][port.cpp:297]   63: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414419.857894420][port.cpp:312]   OK
[ 3][t 1][1669414419.858243227][port.cpp:314]   255
[ 1][t 1][1669414419.858577728][tests.cpp:239]  61.3ms

MinGW 32-bit:
[ 1][t 1][1669414538.895982104][tests.cpp:221]  Run test [name:Test_Port_ThreadAffinityMask]
[ 3][t 1][1669414538.897552003][port.cpp:292]   Initial thread 1960 affinity mask: 255
[ 3][t 1][1669414538.897625003][port.cpp:295]   255
[ 3][t 1][1669414538.897675203][port.cpp:297]   0: OK 1
[ 3][t 1][1669414538.897819404][port.cpp:307]   Will join new thread 0 with affinity mask: 0
[ 3][t 2][1669414538.898213403][port.cpp:303]   New thread 4736 affinity mask: 255
[ 3][t 2][1669414538.898268003][port.cpp:305]   Thread 4736: OK 1
[ 3][t 1][1669414538.898528603][port.cpp:295]   1
[ 3][t 1][1669414538.898570203][port.cpp:297]   1: OK 2
[ 3][t 1][1669414538.898692203][port.cpp:307]   Will join new thread 0 with affinity mask: 0
[ 3][t 2][1669414538.899059003][port.cpp:303]   New thread 4248 affinity mask: 255
[ 3][t 2][1669414538.900107803][port.cpp:305]   Thread 4248: OK 1
[ 3][t 1][1669414538.900334103][port.cpp:295]   2
[ 3][t 1][1669414538.900376103][port.cpp:297]   2: OK 4
[ 3][t 1][1669414538.900431004][port.cpp:295]   4
[ 3][t 1][1669414538.900465703][port.cpp:297]   3: OK 8
[ 3][t 1][1669414538.900504203][port.cpp:295]   8
[ 3][t 1][1669414538.900538904][port.cpp:297]   4: OK 16
[ 3][t 1][1669414538.900588603][port.cpp:295]   16
[ 3][t 1][1669414538.900622403][port.cpp:297]   5: OK 32
[ 3][t 1][1669414538.900661804][port.cpp:295]   32
[ 3][t 1][1669414538.900696703][port.cpp:297]   6: OK 64
[ 3][t 1][1669414538.900745503][port.cpp:295]   64
[ 3][t 1][1669414538.900779803][port.cpp:297]   7: OK 128
[ 3][t 1][1669414538.900819303][port.cpp:295]   128
[ 3][t 1][1669414538.900863303][port.cpp:297]   8: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414538.901203603][port.cpp:295]   128
[ 3][t 1][1669414538.901237403][port.cpp:297]   9: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414538.901309203][port.cpp:295]   128
[ 3][t 1][1669414538.901863803][port.cpp:297]   10: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414538.902291103][port.cpp:295]   128
[ 3][t 1][1669414538.902696304][port.cpp:297]   11: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414538.903116803][port.cpp:295]   128
[ 3][t 1][1669414538.903521004][port.cpp:297]   12: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414538.903941203][port.cpp:295]   128
[ 3][t 1][1669414538.904344203][port.cpp:297]   13: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414538.904762703][port.cpp:295]   128
[ 3][t 1][1669414538.905180803][port.cpp:297]   14: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414538.905598204][port.cpp:295]   128
[ 3][t 1][1669414538.906033903][port.cpp:297]   15: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414538.906406603][port.cpp:295]   128
[ 3][t 1][1669414538.906766103][port.cpp:297]   16: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414538.907227603][port.cpp:295]   128
[ 3][t 1][1669414538.907637703][port.cpp:297]   17: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414538.908063104][port.cpp:295]   128
[ 3][t 1][1669414538.908463703][port.cpp:297]   18: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414538.908880803][port.cpp:295]   128
[ 3][t 1][1669414538.909288003][port.cpp:297]   19: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414538.909645203][port.cpp:295]   128
[ 3][t 1][1669414538.909991403][port.cpp:297]   20: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414538.910348403][port.cpp:295]   128
[ 3][t 1][1669414538.910692104][port.cpp:297]   21: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414538.911052803][port.cpp:295]   128
[ 3][t 1][1669414538.915405303][port.cpp:297]   22: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414538.916329603][port.cpp:295]   128
[ 3][t 1][1669414538.916406203][port.cpp:297]   23: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414538.916806404][port.cpp:295]   128
[ 3][t 1][1669414538.917155403][port.cpp:297]   24: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414538.917513503][port.cpp:295]   128
[ 3][t 1][1669414538.917857003][port.cpp:297]   25: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414538.918220203][port.cpp:295]   128
[ 3][t 1][1669414538.918565504][port.cpp:297]   26: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414538.918918104][port.cpp:295]   128
[ 3][t 1][1669414538.919262403][port.cpp:297]   27: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414538.919619004][port.cpp:295]   128
[ 3][t 1][1669414538.919968703][port.cpp:297]   28: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414538.920319103][port.cpp:295]   128
[ 3][t 1][1669414538.920662503][port.cpp:297]   29: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414538.921051303][port.cpp:295]   128
[ 3][t 1][1669414538.921501804][port.cpp:297]   30: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414538.921916603][port.cpp:295]   128
[ 3][t 1][1669414538.922277403][port.cpp:297]   31: [WindowsError : Параметр задан неверно. : 87 : Failed to set thread affinity mask] 128
[ 3][t 1][1669414538.922647804][port.cpp:295]   128
[ 3][t 1][1669414538.922996704][port.cpp:297]   32: [Error : 0 : Invalid thread affinity mask specified] 128
[ 3][t 1][1669414538.923367803][port.cpp:295]   128
[ 3][t 1][1669414538.923715103][port.cpp:297]   33: [Error : 0 : Invalid thread affinity mask specified] 128
[ 3][t 1][1669414538.924085404][port.cpp:295]   128
[ 3][t 1][1669414538.924431103][port.cpp:297]   34: [Error : 0 : Invalid thread affinity mask specified] 128
[ 3][t 1][1669414538.924799903][port.cpp:295]   128
[ 3][t 1][1669414538.925146703][port.cpp:297]   35: [Error : 0 : Invalid thread affinity mask specified] 128
[ 3][t 1][1669414538.925520904][port.cpp:295]   128
[ 3][t 1][1669414538.925895203][port.cpp:297]   36: [Error : 0 : Invalid thread affinity mask specified] 128
[ 3][t 1][1669414538.926276703][port.cpp:295]   128
[ 3][t 1][1669414538.926622104][port.cpp:297]   37: [Error : 0 : Invalid thread affinity mask specified] 128
[ 3][t 1][1669414538.927030303][port.cpp:295]   128
[ 3][t 1][1669414538.931927904][port.cpp:297]   38: [Error : 0 : Invalid thread affinity mask specified] 128
[ 3][t 1][1669414538.932977303][port.cpp:295]   128
[ 3][t 1][1669414538.933042304][port.cpp:297]   39: [Error : 0 : Invalid thread affinity mask specified] 128
[ 3][t 1][1669414538.933456604][port.cpp:295]   128
[ 3][t 1][1669414538.933798703][port.cpp:297]   40: [Error : 0 : Invalid thread affinity mask specified] 128
[ 3][t 1][1669414538.934155603][port.cpp:295]   128
[ 3][t 1][1669414538.934494304][port.cpp:297]   41: [Error : 0 : Invalid thread affinity mask specified] 128
[ 3][t 1][1669414538.934848504][port.cpp:295]   128
[ 3][t 1][1669414538.935189803][port.cpp:297]   42: [Error : 0 : Invalid thread affinity mask specified] 128
[ 3][t 1][1669414538.935551804][port.cpp:295]   128
[ 3][t 1][1669414538.935891003][port.cpp:297]   43: [Error : 0 : Invalid thread affinity mask specified] 128
[ 3][t 1][1669414538.936243103][port.cpp:295]   128
[ 3][t 1][1669414538.936580503][port.cpp:297]   44: [Error : 0 : Invalid thread affinity mask specified] 128
[ 3][t 1][1669414538.936939303][port.cpp:295]   128
[ 3][t 1][1669414538.937419003][port.cpp:297]   45: [Error : 0 : Invalid thread affinity mask specified] 128
[ 3][t 1][1669414538.937828004][port.cpp:295]   128
[ 3][t 1][1669414538.938166704][port.cpp:297]   46: [Error : 0 : Invalid thread affinity mask specified] 128
[ 3][t 1][1669414538.938511603][port.cpp:295]   128
[ 3][t 1][1669414538.938844903][port.cpp:297]   47: [Error : 0 : Invalid thread affinity mask specified] 128
[ 3][t 1][1669414538.939233904][port.cpp:295]   128
[ 3][t 1][1669414538.939564703][port.cpp:297]   48: [Error : 0 : Invalid thread affinity mask specified] 128
[ 3][t 1][1669414538.939912003][port.cpp:295]   128
[ 3][t 1][1669414538.940244404][port.cpp:297]   49: [Error : 0 : Invalid thread affinity mask specified] 128
[ 3][t 1][1669414538.940591803][port.cpp:295]   128
[ 3][t 1][1669414538.940928403][port.cpp:297]   50: [Error : 0 : Invalid thread affinity mask specified] 128
[ 3][t 1][1669414538.941277503][port.cpp:295]   128
[ 3][t 1][1669414538.941612703][port.cpp:297]   51: [Error : 0 : Invalid thread affinity mask specified] 128
[ 3][t 1][1669414538.941964603][port.cpp:295]   128
[ 3][t 1][1669414538.942322604][port.cpp:297]   52: [Error : 0 : Invalid thread affinity mask specified] 128
[ 3][t 1][1669414538.942673204][port.cpp:295]   128
[ 3][t 1][1669414538.943023203][port.cpp:297]   53: [Error : 0 : Invalid thread affinity mask specified] 128
[ 3][t 1][1669414538.946015903][port.cpp:295]   128
[ 3][t 1][1669414538.948437704][port.cpp:297]   54: [Error : 0 : Invalid thread affinity mask specified] 128
[ 3][t 1][1669414538.949607603][port.cpp:295]   128
[ 3][t 1][1669414538.949679104][port.cpp:297]   55: [Error : 0 : Invalid thread affinity mask specified] 128
[ 3][t 1][1669414538.950110803][port.cpp:295]   128
[ 3][t 1][1669414538.950441704][port.cpp:297]   56: [Error : 0 : Invalid thread affinity mask specified] 128
[ 3][t 1][1669414538.950788803][port.cpp:295]   128
[ 3][t 1][1669414538.951119303][port.cpp:297]   57: [Error : 0 : Invalid thread affinity mask specified] 128
[ 3][t 1][1669414538.951523103][port.cpp:295]   128
[ 3][t 1][1669414538.951562603][port.cpp:297]   58: [Error : 0 : Invalid thread affinity mask specified] 128
[ 3][t 1][1669414538.951623703][port.cpp:295]   128
[ 3][t 1][1669414538.952005103][port.cpp:297]   59: [Error : 0 : Invalid thread affinity mask specified] 128
[ 3][t 1][1669414538.952045904][port.cpp:295]   128
[ 3][t 1][1669414538.952380303][port.cpp:297]   60: [Error : 0 : Invalid thread affinity mask specified] 128
[ 3][t 1][1669414538.952725903][port.cpp:295]   128
[ 3][t 1][1669414538.953095403][port.cpp:297]   61: [Error : 0 : Invalid thread affinity mask specified] 128
[ 3][t 1][1669414538.953508403][port.cpp:295]   128
[ 3][t 1][1669414538.953896704][port.cpp:297]   62: [Error : 0 : Invalid thread affinity mask specified] 128
[ 3][t 1][1669414538.954233804][port.cpp:295]   128
[ 3][t 1][1669414538.954558503][port.cpp:297]   63: [Error : 0 : Invalid thread affinity mask specified] 128
[ 3][t 1][1669414538.954955703][port.cpp:312]   OK
[ 3][t 1][1669414538.955297203][port.cpp:314]   255
[ 1][t 1][1669414538.955641804][tests.cpp:239]  58.1ms

Thank you. The fails are expected and are parts of the test. It definitely works correctly. I will check thread implementation for MinGW to ensure that the cast is always correct, but I don't expect any issues now.

authors: EricKotato levlam


text:
fix: fix the problem in installing a script from a website

Description

Fix the problem in installing a script from a script distribution website.

This bug has been happening since I migrated to async functions.
Related Issue

fix #807

Motivation and Context

Refer to #807
How Has This Been Tested?

I could install the scripts from the script distribution website fine.
Screenshots (if appropriate):
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

solved problems:

Promise.all is required before call Array#some
extExists is async function

authors: hal-shu-sato yumetodo

repo: team-apm/apm


text:
User inserting SRC into Iframe

Hi Coach!
Background: The amazon affiliates banner/links code is in an iframe.  Like the below.  We will let users input width, height and src and then the code will display.
<iframe style="width:120px;height:240px;" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" src="//ws-na.amazon-adsystem.com/widgets/q?ServiceVersion=20070822&OneJS=1&Operation=GetAdHtml&MarketPlace=US&source=ac&ref=tf_til&ad_type=product_link&tracking_id=s0fcc-20&marketplace=amazon&region=US&placement=B0108265IU&asins=B0108265IU&linkId=AZHH7P2COZLZKDSL&show_border=true&link_opens_in_new_window=true">
</iframe>

Question: Do you see any vulnerabilities with taking the abovementioned approach?
Here are links to our relevant code for this:

https://github.com/team-melbourne-rgsoc2015/discourse-adplugin/blob/amazon/assets/javascripts/discourse/templates/components/amazon-product-links.hbs
https://github.com/team-melbourne-rgsoc2015/discourse-adplugin/blob/amazon/assets/javascripts/discourse/components/amazon-product-links.js.es6

This is fine for me! The forum owner has to enable it to work. Plus we already use iframes in oneboxes for approved URLs.

Perfect! :+1:

authors: eviltrout ladydanger


text:
有可能简化一下服务端安装？

服务端安装起来有些麻烦。不知道行不行

搞个一键安装？

搞个一键安装？

可以？

It would also be nice to make an aur package

authors: nvidiaLinuxUser qingpx teamgramio

repo: teamgram/teamgram-server


text:
🛑 API is down

In 0ced2ee, API (https://api.staging.greyfinch.com/healthz) was down:

HTTP code: 200
Response time: 201 ms

Resolved: API is back up in 8267024.

repo: teamgreyfinch/staging-status


text:
feat(e2e): Migrating e2e playwright tests for challeges/saas

Checklist:

[x] I have read and followed the contribution guidelines.
[x] I have read and followed the how to open a pull request guide.
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #XXXXX

Solid attempt @realkamran
Can you please help us understand this better by identifying the page URL and the source code for the DOM element you are testing here?

authors: Ahmadkashif realkamran

repo: teamoio/freeCodeCamp


text:
Draft: Replace linear node list with tree representation

Changes:

restructured code (attempting to reduce the number of lines in the main file)
replaced linear node list with tree representation (helps with large numbers of nodes)

Requires a bit more testing before it can be merged

testing notes:

"expand all" button/context-menu would be nice
dead nodes seem to persist in node-tree for a long time. is this a new problem? edit: i think this only occurs with the currently selected node!
some indication of currently selected node (personal preference: including parents) would be nice
bug: crash if a node fqn is namespace of another node (node /control/planning/local_trajectory_planner and /control/planning/local_trajectory_planner/preprocessing):

terminate called after throwing an instance of 'std::out_of_range'
  what():  basic_string::substr: __pos (which is 25) > this->size() (which is 24)

Process finished with exit code 134 (interrupted by signal 6:SIGABRT)

backtrace:
(gdb) bt
#0  __pthread_kill_implementation (no_tid=0, signo=6, threadid=140737330390656) at ./nptl/pthread_kill.c:44
#1  __pthread_kill_internal (signo=6, threadid=140737330390656) at ./nptl/pthread_kill.c:78
#2  __GI___pthread_kill (threadid=140737330390656, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#3  0x00007ffff6d3f476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#4  0x00007ffff6d257f3 in __GI_abort () at ./stdlib/abort.c:79
#5  0x00007ffff70d1b9e in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#6  0x00007ffff70dd20c in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#7  0x00007ffff70dd277 in std::terminate() () from /lib/x86_64-linux-gnu/libstdc++.so.6
#8  0x00007ffff70dd4d8 in __cxa_throw () from /lib/x86_64-linux-gnu/libstdc++.so.6
#9  0x00007ffff70d44cd in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#10 0x00005555556a128b in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_check (this=0x5555562f5530, __pos=25, __s=0x5555557fbd13 "basic_string::substr") at /usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/basic_string.h:390
#11 0x00005555556a9d7b in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::substr (this=0x5555562f5530, __pos=25, __n=18446744073709551615) at /usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/basic_string.h:3132
#12 0x000055555570c0ef in NodeTree::addNode (this=0x7fffffffd2f8, curNode=std::shared_ptr<TreeNode> (use count 2, weak count 0) = {...}, name="local_trajectory_planner/preprocessing", fullName="/control/planning/local_trajectory_planner/preprocessing")
    at /home/jonas/workspace/rig_reconfigure/src/node_window.cpp:138
#13 0x000055555570c2e7 in NodeTree::addNode (this=0x7fffffffd2f8, curNode=std::shared_ptr<TreeNode> (use count 2, weak count 0) = {...}, name="planning/local_trajectory_planner/preprocessing", fullName="/control/planning/local_trajectory_planner/preprocessing")
    at /home/jonas/workspace/rig_reconfigure/src/node_window.cpp:146
#14 0x000055555570c2e7 in NodeTree::addNode (this=0x7fffffffd2f8, curNode=std::shared_ptr<TreeNode> (use count 1, weak count 0) = {...}, name="control/planning/local_trajectory_planner/preprocessing", fullName="/control/planning/local_trajectory_planner/preprocessing")
    at /home/jonas/workspace/rig_reconfigure/src/node_window.cpp:146
#15 0x000055555570bbf6 in NodeTree::NodeTree (this=0x7fffffffd2f8, nodes=std::vector of length 9, capacity 9 = {...}) at /home/jonas/workspace/rig_reconfigure/src/node_window.cpp:91
#16 0x000055555570b6d2 in renderNodeWindow (windowName=0x5555557fda83 "Nodes", nodeNames=std::vector of length 9, capacity 9 = {...}, serviceWrapper=..., selectedNode="", status=...) at /home/jonas/workspace/rig_reconfigure/src/node_window.cpp:66
#17 0x0000555555698a3d in main (argc=1, argv=0x7fffffffe048) at /home/jonas/workspace/rig_reconfigure/src/rig_reconfigure.cpp:293

Proposed fix for dead nodes not dissapearing:
diff --git a/src/service_wrapper.cpp b/src/service_wrapper.cpp
index 992846f..a49f604 100644
--- a/src/service_wrapper.cpp
+++ b/src/service_wrapper.cpp
@@ -126,6 +148,20 @@ void ServiceWrapper::handleRequest(const RequestPtr &request) {
                     continue;
                 }
+
+                {
+                    auto tmpclient = node->create_client<rcl_interfaces::srv::ListParameters>(serviceName);
+                    if (!tmpclient->service_is_ready()) {
+                        // Service is known, but not ready.
+                        // This happens e.g. if this is the currently selected node,
+                        // so we still have clients for the service, but the node has died.
+                        continue;
+                    }
+                }
+
+
                 nodeNames.push_back(extractedNodeName);
             }

proposed fix for name prefix crash in #35

authors: authaldo ottojo


text:
i18n: translate using json file

resolves #641
Changes:

remove usage of Crowdin
translation json's are now statically defined in the modules/desktop/src/libs/translations/*

@mfts you might want to add german?

@getneil yes will add german here :)

authors: getneil mfts

repo: teaxyz/gui


text:
add ssl certificate

currently have a trial ssl, but it's not rolling over to https://

Garrick suggests:
if youre deploying with node you may want to look at green lock before your go ahead. https://www.npmjs.com/package/greenlock
https://www.npmjs.com/package/greenlock-express

repo: techieeliot/gcc-web-design-co


text:
Set speed, cycles, and width as variables

Forgive me, I am new to github, I don't know how to propose a change. However, this is from the top part of the code, I modified it for the speed, cycles, and width to be easily modified.
// SETUP YOUR OUTPUT PIN AND NUMBER OF PIXELS
#define PIN        6
#define NUM_PIXELS 105
#define SPEED      0   //lower speed = faster
#define CYCLES     2
#define WIDTH      6   //trail width

Adafruit_NeoPixel strip = Adafruit_NeoPixel(NUM_PIXELS, PIN, NEO_GRB + NEO_KHZ800);

void setup() {
  strip.begin();
  clearStrip(); // Initialize all pixels to 'off'
  delay(100);
}

void loop() {
  knightRider(CYCLES, SPEED, WIDTH, 0xFF1000); // Cycles, Speed, Width, RGB Color (original orange-red)
  knightRider(CYCLES, SPEED, WIDTH, 0xFF00FF); // Cycles, Speed, Width, RGB Color (purple)
  knightRider(CYCLES, SPEED, WIDTH, 0x0000FF); // Cycles, Speed, Width, RGB Color (blue)
  knightRider(CYCLES, SPEED, WIDTH, 0xFF0000); // Cycles, Speed, Width, RGB Color (red)
  knightRider(CYCLES, SPEED, WIDTH, 0x00FF00); // Cycles, Speed, Width, RGB Color (green)
  knightRider(CYCLES, SPEED, WIDTH, 0xFFFF00); // Cycles, Speed, Width, RGB Color (yellow)
  knightRider(CYCLES, SPEED, WIDTH, 0x00FFFF); // Cycles, Speed, Width, RGB Color (cyan)
  knightRider(CYCLES, SPEED, WIDTH, 0xFFFFFF); // Cycles, Speed, Width, RGB Color (white)
  clearStrip();
  delay(2000);

  // Iterate through a whole rainbow of colors
  for(byte j=0; j<252; j+=7) {
    knightRider(CYCLES, SPEED, WIDTH, colorWheel(j)); // Cycles, Speed, Width, RGB Color
  }
  clearStrip();
  delay(2000);
}

This is a great suggestion, thanks!  I'll leave this issue open until I can address this change.

authors: genregasm technobly

repo: technobly/NeoPixel-KnightRider


text:
chore: update node to v14 (lts)

This drops node 10 as test in github actions and adds node 14 into nvmrc
fix #251

@Lisa-Stubert @julizet @vogelino @dnsos
This moves the project up to node 14. Please run nvm install && npm ci once in your project root after the PR was merged.

repo: technologiestiftung/giessdenkiez-de


text:
fix(WEG-134): Show selected item as well as user location

This PR:

Adds a user geolocation marker and zooms in the map when geolocation is activated
Refactors the display of the current facility's marker

So @dnsos ! I was able to add a geolocate control to show the current user position (Which is cool because it uses the native geolocate pulsing geo marker). My problem is that there are no efficient way to disable it once activated. You can remove the marker, but it only work when you start with a deactivated proximity filter which is then activated. Once deactivated and then reactivated, it doesn't work anymore. I'm sure there would be a way to fix that but honestly, the code starts to get even more complex that the one we have currently. I think it is fine to keep the current implementation. Let me know what you think. We can also have a call.

:tada: This PR is included in version 1.3.0-rc.5 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.3.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

authors: tsboter vogelino

repo: technologiestiftung/wegweiser-frontend


text:
rdns-forwarder instances have unencrypted root volumes

rdns-forwarder instances are created with unencrypted root volumes. This is an issue on newer AWS accounts because Security has asked us to implement a policy that all EBS volumes are encrypted. There is no additional cost to do this.
PR #2 fixes this.

v0.11.3 now has an optional module argument to enable encryption.
Customers with existing configurations can run terraform init -upgrade to pull the latest module versions on the v0.11 branch, add encrypted = true to the module invocations in your rdns.tf (one at a time), and then terraform apply.

authors: dmrzzz sbutler

repo: techservicesillinois/aws-enterprise-vpc


text:
Added an ability to set a default invalidation method for the pool

The PR adds a new method Pool::setInvalidationMethod that sets a default invalidation method for the Pool object. After calling this method all Item objects that will be created by the pool will use the pool's default invalidation method.
Resolves #96

Can you rebase this against main so that the test suite will run?

@tedivm I've amended the GitHub Actions configuration to make the the tests run in pull requests. Now you need to allow the tests to run (there should be a button on this page).

authors: Finesse tedivm

repo: tedious/Stash


text:
Story.example can hold list of strings

Each item will be in its own Literal block

Thanks for improvements, LGTM

/packit test

/packit test

/packit test

/packit test

authors: lukaszachy psss thrix

repo: teemtee/tmt