Piratespeak in https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/compressedTexImage2D

Request type

[ ] Please close this issue, I accidentally submitted it without adding any details
[ ] New documentation
[X] Correction or update

Details
https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/compressedTexImage2D

pixels
An ArrayBufferView that be used as a data store for the compressed image data in memory.

"That be" should probably be "that will be" or some such.

Oi be fixing that for you. Yarrrrr.


Problem running LeanMatrices

I was trying to run LeanMatrices on run 07735_000 (31Na) run and initially it gave me a seg fault. This was fixed by commenting out "list->Add(gammaAddbackBmCyc)". It only did this for 31Na, and ran fine for 26, 29 and 30 (they have shorther PPG cycles)
However, I ran it again and it takes at least 3 hours to run and at the end it said "bytecount too large" and "error writing to file matrix07735_000.root (-1) (Bad address), but I did not get the seg fault this time since the histogram above was commented out.
-- My machine is mastodon
-- the midas file for this run is /tig/grsmid00_data3/griffin/Yields_Sept2016/
-- I sorted the analysis file using the latest version of grsisort and LeanMatrices (updated grsisort last thursday)
-- analysis file I made is saved on /data1/hpatel/

There is a problem with the ppg. Do you need cycled data?

This data is cycled?? has three 903.5 second long cycles, 900 second implantation. These runs have enough statistics for Yield measurements I was doing which is why I was using 7735

Try going to line 530 and commenting out
TPPG * myPPG = (TPPG*)file->Get(“TPPG”) and replace it with TPPG *myPPG = 0
You won’t see cycled data though. There are some issues to fix with these very long cycles since we haven’t had to consider them before..

Okay that seems to have worked, thank you.

Actually, I think the whole problem is that you are making a matrix that has way too many bins in it. Try reducing the number of bins in these cycled matrices. LeanMatrices is meant to be a script we quickly adapt for online experiments. It isn’t really meant to be able to sort everyone’s data.

This is related to #835 so I am closing it.


'config.h' file not found - mutex.h

[x] Review the documentation: https://facebook.github.io/react-native
[x] Search for existing issues: https://github.com/facebook/react-native/issues
[x] Use the latest React Native release: https://github.com/facebook/react-native/releases

Environment
React Native Environment Info:
    System:
      OS: macOS High Sierra 10.13.6
      CPU: (4) x64 Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz
      Memory: 7.40 GB / 16.00 GB
      Shell: 3.2.57 - /bin/bash
    Binaries:
      Node: 10.13.0 - /usr/local/bin/node
      Yarn: 1.12.3 - /usr/local/bin/yarn
      npm: 6.4.1 - /usr/local/bin/npm
      Watchman: 4.9.0 - /usr/local/bin/watchman
    SDKs:
      iOS SDK:
        Platforms: iOS 12.0, macOS 10.14, tvOS 12.0, watchOS 5.0
    IDEs:
      Xcode: 10.0/10A255 - /usr/bin/xcodebuild
    npmPackages:
      react: 16.6.1 => 16.6.1
      react-native: 0.57.5 => 0.57.5
    npmGlobalPackages:
      react-native-cli: 2.0.1

Description
As mentioned here, this must be fixed but i'm getting this error after using react-native init MyTestProject.
Reproducible Demo
Simply use react-native init MyTestProject and you will get this error!
Also, i tried to set the Project Settings to Legacy Build System and cleaned the build folder but no result!

Am also facing same issue can someone help me to resolve this

Am also facing same issue can someone help me to resolve this

As a temporary fix, you could navigate to ..\node_modules\react-native\third-party\glog-0.3.5 and:
./configure
make

this solved my problem: https://github.com/facebook/react-native/issues/19529#issuecomment-423898864

@facebook-github-bot duplicate #19529

@facebook-github-bot duplicate #19529
If you use Yarn, running yarn --check-files usually fix that for me (also you may want to change Node to latest LTS)

It's not duplicate because:

As mentioned here, this must be fixed

This bug is still in the 0.57.5 so i opened this issue!

@facebook-github-bot duplicate #19529
If you use Yarn, running yarn --check-files usually fix that for me (also you may want to change Node to latest LTS)

It's not duplicate because:

As mentioned here, this must be fixed

This bug is still in the 0.57.5 so i opened this issue!

Still we are facing same issue in React 0.57.5..

Same issue dragged from previous versions. After fixing with #19529 workarounds and running react-native run-ios, config.h disappears from /src/base and app does not run. Still need to fix this.

Same issue here, experiencing it after ejecting the default created app with expo init. I guess would get the same issue with react-native init..
I've tried with ..\node_modules\react-native\third-party\glog-0.3.5
and when I run ./configure , I receive this error:
checking whether build environment is sane...
configure: error: unsafe absolute working directory name
Note, I'm using XCode 10.0, Legacy build system, RN 0.57.1, yarn 1.12.3

Same issue here, experiencing it after ejecting the default created app with expo init. I guess would get the same issue with react-native init..
I've tried with ..\node_modules\react-native\third-party\glog-0.3.5
and when I run ./configure , I receive this error:
checking whether build environment is sane...
configure: error: unsafe absolute working directory name
Note, I'm using XCode 10.0, Legacy build system, RN 0.57.1, yarn 1.12.3

My react-native info is the following.
  React Native Environment Info:
    System:
      OS: macOS 10.14.1
      CPU: (4) x64 Intel(R) Core(TM) i7-7567U CPU @ 3.50GHz
      Memory: 54.82 MB / 16.00 GB
      Shell: 3.2.57 - /bin/bash
    Binaries:
      Node: 11.2.0 - /usr/local/bin/node
      Yarn: 1.12.3 - /usr/local/bin/yarn
      npm: 6.4.1 - /usr/local/bin/npm
      Watchman: 4.9.0 - /usr/local/bin/watchman
    SDKs:
      iOS SDK:
        Platforms: iOS 12.1, macOS 10.14, tvOS 12.1, watchOS 5.1
    IDEs:
      Xcode: 10.1/10B61 - /usr/bin/xcodebuild
    npmPackages:
      react: 16.6.1 => 16.6.1
      react-native: 0.57.7 => 0.57.7
    npmGlobalPackages:
      react-native-cli: 2.0.1

I have been able to run ./configure and config.h appears in src folder. However, when running react-native run-ios all those files disappear.

Same issue here, experiencing it after ejecting the default created app with expo init. I guess would get the same issue with react-native init..
I've tried with ..\node_modules\react-native\third-party\glog-0.3.5
and when I run ./configure , I receive this error:
checking whether build environment is sane...
configure: error: unsafe absolute working directory name
Note, I'm using XCode 10.0, Legacy build system, RN 0.57.1, yarn 1.12.3

You can use ./configure and then make in the ..\node_modules\react-native\third-party\glog-0.3.5 folder and then clean your build folder from XCode as a temporary solution!
@kelset I think this is not fixed yet (despite of mentioned in the changelog)

I can confirm that with react-native init everything works well, the previous issue was there because the folder where the project was created, was in iCloud... and that messed up the relative paths, after I created project in another directory, no issues. Sorry for taking your time :)

I can confirm that with react-native init everything works well, the previous issue was there because the folder where the project was created, was in iCloud... and that messed up the relative paths, after I created project in another directory, no issues. Sorry for taking your time :)

Actually, react-native fails for me but expo init works like a charm.

@hramos i'll reach my Mac in a week! Will do that as soon as i can!

@hramos i used 0.58.0-rc.1 and i can confirm that didn't get the error for 'config.h' file not found BUT i faced new issue.
I'll create a new issue for that!

In the Terminal, navigate to the react-native/third-party/glog folder inside node_modules (for me, this was cd node_modules/react-native/third-party/glog-0.3.4)
Once actively in this folder, run ../../scripts/ios-configure-glog.sh
Glog is configured and the required config.h header file is created for Xcode to find


Display errors on clone permissions page again

Rationale
Related PR took the error handling easy route: display any errors in a SpringErrorView. While this is probably okay for a missing / unknown target user (which should happen only to the crawler and crawler-like hackers), permissions and missing clone user errors are very possible. Better to display these on the clone permissions page and give the admin a chance to correct them. It's also more consistent with the current test expectations.
Related Pull Requests

https://github.com/LabKey/platform/pull/4392

UserClonePermissions test passes on this branch: https://teamcity.labkey.org/buildConfiguration/LabkeyTrunk_DailyCPostgres/2434431?buildTab=tests


can not use with net40.

i tried install Postulate.Orm over nuget , and get an error.

seem like Postulate.Orm not support .net40

hi there thanks for trying Postulate. It supports .Net 4.6.1 only, but only because of a limitation of the nuget package. I'm a little unclear how to support different .net versions in the same package.

Hello adamosoftware
My Uncle have an old multimedia computer. It was bought in 2005, and still runs many of his old games and Windows XP. Some of the computers that run various pieces of scientific equipment still run XP. I wanna code something for him.
Maybe there's something you can check:
https://github.com/adamosoftware/Postulate.Orm/blob/master/PostulateV1/packages.config
Sincerely yours,!


Dynamically maintained unqualified names in /etc/hosts obstruct resolution via search path

Current experimental Docker maintains entries in each container's /etc/hosts file for all services attached to the same network as the container. These entries take two forms: one with the unqualified container name (e.g. <IP_ADDRESS>    foo) and one with container name qualified with the network name (e.g. <IP_ADDRESS>    foo.bridge).
The unqualified entries are problematic because they obstruct search path resolution via DNS, preventing end users from taking full advantage of ecosystem service discovery solutions such as weaveDNS. Is there any way of disabling this behaviour?
Referencing weaveworks/weave#1374.

You currently have fixing docker/docker#15617 scheduled into 1.9.0, from which I conclude that you're going to make this behaviour conditional - could this be exposed to us on a per docker run basis so that we can turn it off selectively for containers that are on the weave network?

For me too, disabling this feature would be important as I have another networking solution in place. Even entries like <IP_ADDRESS> foo.bridge are not ideal as I would like to have an /etc/hosts file which is never changed again after starting the container.

Name resolution changed a lot since this time and is not anymore using resolv.conf


Python 3 - old system

Hello,
Great project !
A minor upgrade could be to use Shebang Python3
Using #!/usr/bin/env python3 instead of #!/usr/bin/env python will enable to use it on 'older' system where python 3 is not the default one.
What do you think ?
Ti-R

Good point! As usual, PR is welcome.

@Ti-R  You may want to ask a change on  setuptools project, because an executable script py7zr is generated by python standard setuptools.

v0.9.6 now explicitly configured setup.cfg as minimum python version is 3.6.
When you run python2 -m pip install  aqtinstall, you will see aqtinstall requires Python '>=3.6' but the running Python is 2.7.13

Now python2 user cannot install aqtinstall, which prevent a issue.


Configure crontab

Hi, i'm trying to configure a task in crontab
File  : /etc/cron/crontab
# m h  dom mon dow  user  command
* * * * * php /app/foo.php

File is correctly copyed when i launch docker-compose, see :
RUN ln -sf /opt/docker/etc/cron/crontab /etc/cron.d/docker-boilerplate \
    && chmod 0644 /opt/docker/etc/cron/crontab \
    && echo >> /opt/docker/etc/cron/crontab \
    && ln -sf /opt/docker/etc/php/development.ini /opt/docker/etc/php/php.ini

But it not works. Also when i laugh manually /app/foo.php it works.
Info : foo.php is a file which write content on another file (log)
Where is the problem please ?
Sorry for my bad english.
Thanks.

Hi @nverhoye,
Environments differs between shell and crontab, you can check it with printenv in shell / crontab
https://serverfault.com/questions/337631/crontab-execution-doesnt-have-the-same-environment-variables-as-executing-user
I use approach 2

we should implement go-crond to get rid of the environment issue :)

Hi @kyrilg
Thanks for your reply, but it still does not work unfortunately.
I pushed
* * * * * application . ~/.profile; /usr/local/bin/php /app/foo.php
Instead of
# m h  dom mon dow  user  command
* * * * * php /app/foo.php

No result :(

please make sure you have an empty line at the end (cron requirement).. otherwise your crontab is ignored, also make sure the permissions are correct and not world writeable.
go-crond will fix this with correct error messages.

Hi @mblaschke, i have an empty line at the end (cron requirement), also permissions are correct (0644).
Below crontab used now :
* * * * * application . /home/application/.profile; /bin/bash /app/scheduler_cron.sh --mode always >> /app/cron.log 2>&1
# An empty line is required at the end of this file for a valid cron file.

NOW file is executed, but file can't do works asked. I have message returned : "Could not find a binary for php"
This is content of scheduler_cron.sh :
#!/bin/bash

# Generate an error if any variable doesn't exist
set -o nounset

# Location of the php binary
PHP_BIN=$(which php || true)

if [ -z "${PHP_BIN}" ]; then
    echo "Could not find a binary for php" 1>&2
    exit 1
fi

In cron task "which php" return empty
BUT when i'm connected to docker's container it return '/usr/local/bin/php'
See :
docker exec -it app bash
root@03dc0dd62e77:/$ su application
application@03dc0dd62e77:/$ which php
/usr/local/bin/php

Any ideas ? Thanks

The environment parameters are not passed to cronjobs. They are filtered by default and AFAIK there is no way to fix this other then replacing the cron daemon.
I will replace cron with gocrond this weeks to get rid of this stupid issue

Hi @mblaschke, can you share the solution ? Thanks

Hey, I just created an example of how to use crontab with webdevops docker-compose, you can check it our here:
https://github.com/abagayev/docker-bootstrap-collection/tree/master/crontab-in-container


Question - Document metadata and if there is an attachment

Hi and thank you for this library. It's amazing how fast it is compared to anything else I've seen.  A question I have is if there is an "easy" way to capture the documents metadata properties such as title, creator, subject, created, etc. Also, is there a way to tell if the docx contains any embedded files - such as another Docx.
Thank you again!
Kevin..

Thanks!
re metadata, I'll be honest I don't think so - I would would source that data from elsewhere.
If you find the field in the spec I'd be happy to look into extending the lib to extract said information. Or .docx files are just zip files - if you take a look through them you might find the field you're looking for, and we can build the parser.


[BUG] AttributeError: 'NoneType' object has no attribute 'map'

Prerequisites

[X] I have read the documentation.
[X] I have checked other issues for similar problems.

Backend
Local
Interface Used
CLI
CLI Command
autotrain --config /llama3-8b-orpo.yml
Where llama3-8b-orpo.yml:
task: llm
base_model: meta-llama/Meta-Llama-3-8B-Instruct
project_name: llama3-8b-orpo
log: tensorboard
backend: local-cli

data:
  # path can also be a local folder.
  # if a local folder is provided, the training and validation files
  # must be named "train.csv" and "valid.csv" respectively or
  # "train.jsonl" and "valid.jsonl" respectively.
  # validation split will be ignored for llm training.
  path: argilla/distilabel-capybara-dpo-7k-binarized
  train_split: train
  valid_split: train
  chat_template: chatml
  column_mapping:
    text_column: chosen
    rejected_text_column: rejected

params:
  trainer: orpo
  block_size: 1024
  model_max_length: 8192
  max_prompt_length: 512
  epochs: 3
  batch_size: 2
  lr: 3e-5
  peft: true
  quantization: null
  target_modules: all-linear
  padding: right
  optimizer: adamw_torch
  scheduler: linear
  gradient_accumulation: 4
  mixed_precision: bf16

hub:
  username: ${HF_USERNAME}
  token: ${HF_TOKEN}
  push_to_hub: False

UI Screenshots & Parameters
No response
Error Logs
Map: 100%|███████████████████████████████████████████████████████████████████| 7563/7563 [00:02<00:00, 3128.59 examples/s]
ERROR    | 2024-05-04 21:33:56 | autotrain.trainers.common:wrapper:120 - train has failed due to an exception: Traceback (most recent call last):
  File "/autotrain-advanced/src/autotrain/trainers/common.py", line 117, in wrapper
    return func(*args, **kwargs)
  File "/autotrain-advanced/src/autotrain/trainers/clm/__main__.py", line 43, in train
    train_orpo(config)
  File "/autotrain-advanced/src/autotrain/trainers/clm/train_clm_orpo.py", line 19, in train
    train_data, valid_data = utils.process_data_with_chat_template(config, tokenizer, train_data, valid_data)
  File "/autotrain-advanced/src/autotrain/trainers/clm/utils.py", line 412, in process_data_with_chat_template
    valid_data = valid_data.map(
AttributeError: 'NoneType' object has no attribute 'map'

ERROR    | 2024-05-04 21:33:56 | autotrain.trainers.common:wrapper:121 - 'NoneType' object has no attribute 'map'

Additional Information
Hey, AbhiShek! Hope you are doing well. I Was trying to reproduce your results but came across this validation split data at first,
ValueError: Unknown split "valid". Should be one of ['train'].

ERROR    | 2024-05-04 21:19:24 | autotrain.trainers.common:wrapper:121 - Unknown split "valid". Should be one of ['train'].

To fix this I passed valid_split: train just to check it, it worked but I got the above pasted error related to map. Please check it and suggest some fix, thanks!

please set valid_split toe null. ill fix the config. sorry about that

please set valid_split toe null. ill fix the config. sorry about that

True, it worked! Thanks for the quick response.
I have some other concerns, is it applicable to only such dataset format? I have my own data set in .csv file with only two columns prompt and response, what do you suggest to train llama-3 on that dataset using this auto-train?
And another one: where can I pass sequence length? I am getting this kind of warning. Thanks again!

some examples and docs are available here: hf.co/docs/autotrain.
if your questions still remain unanswered, please let me know and im happy to help. :)

some examples and docs are available here: hf.co/docs/autotrain. if your questions still remain unanswered, please let me know and im happy to help. :)

This doc is very helpful, thanks a lot!


fix case of class which also exists in typing being found in typing

I'm guessing at the right fix here... but it seems like checking if a fully qualified class is from typing is worthwhile.

This now passes test, appears to do the right thing. Happy to clean up the nonsense of commits if needed.


The property 'Tripstop.Birthdate' could not be mapped because it is of type 'DateOnly'

Hopefully not a newbie question however getting this error when attempting to generate a migration for the new DateOnly field I have added.  This is dotnet core web api project, using sqlserver for the database.   (or is saving DateOnly to SQLServer a different part of the puzzle I have to solve, with your DateOnlyTimeOnly nuget package handing getting it working through the Web API interface?)
Error:
$dotnet ef migrations add dateonlyfield
Build started...
Build succeeded.
System.InvalidOperationException: The property 'Tripstop.Birthdate' could not be mapped because it is of type 'DateOnly', which is not a supported primitive type or a valid entity type. Either explicitly map this property, or ignore it using the '[NotMapped]' attribute or by using 'EntityTypeBuilder.Ignore' in 'OnModelCreating'.

Added in Program.cs:
.
.
.
var builder = WebApplication.CreateBuilder(args);
var connectionString = builder.Configuration.GetConnectionString("DefaultConnection");
builder.Services.AddDbContext<ApplicationDbContext>(options =>
    options.UseSqlServer(connectionString));
builder.Services.AddControllers();
builder.Services.AddEndpointsApiExplorer();
builder.Services.AddSwaggerGen();
builder.Services
    .AddControllers(options => options.UseDateOnlyTimeOnlyStringConverters())
    .AddJsonOptions(options => options.UseDateOnlyTimeOnlyStringConverters());
var app = builder.Build();
.
.
.

Then added to my model class:
public DateOnly Birthdate { get; set; }

sorry - I see the database/EF side seems to be handled by a nuget package that someone created with converters:
https://github.com/marcominerva/TinyHelpers

Yes, this package only affects ASP.NET side of things. Hm, I was under the impression, that EF Core already works with DateOnly out of the box in .NET 6.
Will, glad you've found the solution.


IAR error with [--require_prototypes] build option

Hi
In our project, we enable this [--require_prototypes] build option in IAR.
This makes errors:
"xxx\source\iar\retarget_io.c",63  Error[Pa045]: function "__write" has no prototype
"xxx\source\iar\retarget_io.c",37  Error[Pa045]: function "__read" has no prototype
Please could you add the function prototypes in the source\iar\retarget_io.c file

Hi,
I believe this will be fixed once https://github.com/ARM-software/CMSIS-Compiler/pull/58/files gets merged. The reason for your error is that LowLevelIOInterface.h is not included in retarget_io.c.
See
https://github.com/ARM-software/CMSIS-Compiler/blob/96b1a30136d522c58e72d8fb2c98a63e6f984124/source/iar/retarget_io.c#L19
if you want to fix it manually.


Add support for clearing all transactions

Adds support for clearing all locally stored transactions
The collection of all transactions is cleared on MODULE_TRANSACTION, EXECUTED_MULTISIG_TRANSACTION, INCOMING_TOKEN, OUTGOING_ETHER, INCOMING_ETHER and OUTGOING_TOKEN events

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

6 of 6 (100.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.009%) to 92.052%

Totals

Change from base Build<PHONE_NUMBER>:
0.009%

Covered Lines:
4144

Relevant Lines:
4390

💛  - Coveralls


problem with regiochemistry

It seems rdkit changes regiochemistry
I use version 2017.03.1 and obtain the following:
from rdkit import Chem
smiles = 'CCCO\C(=C/c1ccccc1)/C(\OCC)=C\c1ccccc1'
mol = Chem.MolFromSmiles(smiles)
print Chem.MolToSmiles(mol, isomericSmiles = True)
CCCOC(=C\c1ccccc1)/C(=C/c1ccccc1)OCC
seems the obtained regiochemstry is different for the input, am I right?
of note, everything seems to be OK, when starting from another representation of input smiles, i.e. smiles = 'CCCO\C(=C/c1ccccc1)\C(\OCC)=C/c1ccccc1'
Kind regards,
Piotr

There is a bug here, but it's not exactly what you're reporting. The input you have provided is ambiguous - one of the double bonds has conflicting information provided about the stereochemistry - and the RDKit should be warning you about this (or perhaps raising an error, I need to think about that).
The problem is that you've provided the directionality of every single bond around the double bonds of the molecule and that the specifications disagree with each other.
A simpler example may help make the problem clearer:
In [27]: m = Chem.MolFromSmiles(r'C(=C/C)/C')

In [28]: for b in m.GetBonds():
    ...:     if b.GetBondType() == Chem.BondType.DOUBLE: print(b.GetStereo())
    ...:
STEREOZ

In [29]: m = Chem.MolFromSmiles(r'C\C=C/C')

In [30]: for b in m.GetBonds():
    ...:     if b.GetBondType() == Chem.BondType.DOUBLE: print(b.GetStereo())
    ...:
STEREOZ

In [33]: m = Chem.MolFromSmiles(r'C(/C)=C/C')

In [34]: for b in m.GetBonds():
    ...:     if b.GetBondType() == Chem.BondType.DOUBLE: print(b.GetStereo())
    ...:
STEREOZ

So C\C=C/C, C(=C/C)/C, and C(/C)=C/C all correspond to the same molecule (the cis version of 2-butene). This is perhaps a "bit" counterintuitive.
The specific problem in your SMILES is here:
CCCO\C(=C/c1ccccc1)/C(\OCC)=C\c1ccccc1
    ^              ^  ^
    1              2  3

You can fix it by either flipping the direction of the bond labelled 2:
In [42]: m = Chem.MolFromSmiles(r'CCCO\C(=C/c1ccccc1)\C(\OCC)=C\c1ccccc1')

In [43]: for b in m.GetBonds():
    ...:     if b.GetBondType() == Chem.BondType.DOUBLE: print(b.GetStereo())
    ...:
STEREOZ
STEREOZ

In [44]: print(Chem.MolToSmiles(m,isomericSmiles=True))
CCCOC(=C\c1ccccc1)/C(=C/c1ccccc1)OCC

or by just removing that redundant piece of information completely (this is what I would suggest):
In [45]: m = Chem.MolFromSmiles(r'CCCO\C(=C/c1ccccc1)C(\OCC)=C\c1ccccc1')

In [46]: for b in m.GetBonds():
    ...:     if b.GetBondType() == Chem.BondType.DOUBLE: print(b.GetStereo())
    ...:
STEREOZ
STEREOZ

In [47]: print(Chem.MolToSmiles(m,isomericSmiles=True))
CCCOC(=C\c1ccccc1)/C(=C/c1ccccc1)OCC

Note that, as the canonical SMILES shows, the coupling of the two double bonds actually allows the full stereochemistry to be expressed by only describing the directionality of three of the single bonds.
I think it would be helpful for the RDKit to raise a warning when ambiguous input like this is provided. I will look into that.

thank you for explanation


Invalid Key & Undefined Subroutine

Git cloned on 2015-April-21 and installed on Mac OS X 10.10.1 with success (installed without recommended Term::ReadLine::Gnu::XS ).
$ youtube-viewer
Invalid key: 'cache_dir' at /Library/Perl/5.18/WWW/YoutubeViewer.pm line 148.
Invalid key: 'youtube_url_format' at /Library/Perl/5.18/WWW/YoutubeViewer/Utils.pm line 66.
Undefined subroutine &WWW::YoutubeViewer::set_maxResults called at /usr/local/bin/youtube-viewer line 1085.

I was upgrading from a previously installed youtube-viewer-3.1.0 that was operating correctly. I don't know if that might have any contribution to the conflict here.

There may be two version of WWW::YoutubeViewer installed on your system.
Check the file /Library/Perl/5.18/WWW/YoutubeViewer.pm to see if it looks like the one on the master: https://github.com/trizen/youtube-viewer/blob/master/lib/WWW/YoutubeViewer.pm
One solution would be to remove the entire directory /Library/Perl/5.18/WWW/YoutubeViewer. If the application doesn't start, try to reinstall it again.

Those two YoutubeViewer.pm files were different for me.
I also tried removing the dir at /Library/Perl/5.18/WWW/YoutubeViewer and then reinstalled - I'm gett a different error now about RegularExprressions.pm missing

$ youtube-viewer
Can't locate WWW/YoutubeViewer/RegularExpressions.pm in @INC (you may need to install the WWW::YoutubeViewer::RegularExpressions module) (@INC contains: /Library/Perl/5.18/darwin-thread-multi-2level /Library/Perl/5.18 /Network/Library/Perl/5.18/darwin-thread-multi-2level /Network/Library/Perl/5.18 /Library/Perl/Updates/5.18.2/darwin-thread-multi-2level /Library/Perl/Updates/5.18.2 /System/Library/Perl/5.18/darwin-thread-multi-2level /System/Library/Perl/5.18 /System/Library/Perl/Extras/5.18/darwin-thread-multi-2level /System/Library/Perl/Extras/5.18 .) at /usr/local/bin/youtube-viewer line 201.
BEGIN failed--compilation aborted at /usr/local/bin/youtube-viewer line 201.

Hmm... Seems like the .pm files get installed in some directory which is not included in the @INC array, so Perl can't find them. (strange)
In this case, try to manually copy the lib/WWW directory (https://github.com/trizen/youtube-viewer/tree/master/lib/WWW) to /Library/Perl/5.18/

I manually copied the WWW directory from master to /Library/Perl/5.18/WWW and then running youtube-viewer after that produces
[!] Invalid value <en_US> for option <hl>.

[!] Invalid value <published> for option <order>.

[!] Invalid value <en_US> for option <hl>.

=>> Search for YouTube videos (:h for help)>
>

Good. It works! Those warnings are some bugs that need to be fixed upstream.

Hm, I'm not so sure it's working yet~
youtube-viewer -u githubguides

[!] Invalid value <en_US> for option <hl>.

[!] Invalid value <published> for option <order>.

[!] Invalid value <en_US> for option <hl>.
[500 Can't verify SSL peers without knowing which Certificate Authorities to trust] Error occured on URL: https://www.googleapis.com/youtube/v3/channels?forUsername=githubguides&key=AIzaSyA2PQakgMYbX3U3imqplLMhpfM8mzEn22Q&part=contentDetails
Can't use an undefined value as an ARRAY reference at /Library/Perl/5.18/WWW/YoutubeViewer/Playlists.pm line 44

also
youtube-viewer --id Ecjjbe_4md4

[!] Invalid value <en_US> for option <hl>.

[!] Invalid value <published> for option <order>.

[!] Invalid value <en_US> for option <hl>.
[500 Can't verify SSL peers without knowing which Certificate Authorities to trust] Error occured on URL: https://www.googleapis.com/youtube/v3/videos?key=AIzaSyA2PQakgMYbX3U3imqplLMhpfM8mzEn22Q&maxResults=10&prettyPrint=false&id=Ecjjbe_4md4&part=snippet,contentDetails,statistics

[!] Can't get info about any video: http://www.youtube.com/watch?v=Ecjjbe_4md4

=>> Search for YouTube videos (:h for help)
>

Unless those are also upstream bugs.
Thanks for the help anyways :)

Install the LWP::Protocol::https Perl module and/or Mozilla::CA.

Yes! that fixed the SSL issue which seemed to fix all the other issues appearing after that.
Thanks again for the help :) It's a great project that minimizes browser overhead when wanting to view something on youtube.

No problem. I'm glad you enjoy the application.
Currently, it's still on testing since the migration to YouTube APIv3 and there may be some hidden bugs which may cause misbehavior . Also some feature are not fully ported yet, but they will be, eventually.
At this moment, bug-reports are highly appreciated. If you will encounter any, please don't hesitate don't report them so they will get fixed. Thanks!


initial stab at new connector for kinesis streams #58

This is the general structure of the Connector for Kinesis data streams, however there are some issues which ought to be resolved.

proper tests
handling of generic records
not leaking underlying library types in the signature of ProducerRecords
Read side as well.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Ryan Braley seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Work in progress :)

Looks great 🙏 . Only a few minor observations.


Failed to list folder

I've installed Keybase recently, and I'm always getting 'Failed to list folder' on folders and git repos. Please help :)
my log id: a9644123f29d74783aff231c

no more problem once the git repo has been updated with files.


Add support for XEP-0367: Message Attaching

Pàdé has a experimental implementation for Emoji reactions using just 2 emojis for Positive (smile) and Negative (frown) reactions. Add support for XEP-0367 to the implementation.

Done. Now available in version 1.1.1
A positive reation is made to an existing message

A new message for the reaction is created by Pàdé with a hashtag of the original msg id.

The hashtag is converted into a link that links back to the original message showing the total count of likes and dislikes rerecorded.

 Now fixed in version 1.1.3


Extract Machine Physical IPs instead of Proclet Fake IP

We need to figure out the way of extracting out the machine IP address where the proclet runs on, instead of the fake IP addresses used internally by caladan/Nu runtime.

Workaround in PR #7
Manually read out all nics and corresponding IPs and store the one we are interested in.


[Event Request] Codeunit 378 "Transfer Extended Text" – ReadLines

Could we please have a new Parameter TempExtTextLine at publisher OnBeforeReadLines in function ReadLines Codeunit 378 "Transfer Extended Text" ?
 local procedure ReadLines(var ExtTextHeader: Record "Extended Text Header"; DocDate: Date; LanguageCode: Code[10]) Result: Boolean
    var
        ExtTextLine: Record "Extended Text Line";
        IsHandled: Boolean;
    begin
        IsHandled := false;
        // >>>>>>>>
        OnBeforeReadLines(ExtTextHeader, DocDate, LanguageCode,TempExtTextLine, IsHandled, Result);
        // <<<<<<<<
        if IsHandled then
            exit(Result);

        ExtTextHeader.SetCurrentKey(

    // >>>>>>>>
    [IntegrationEvent(false, false)]
    local procedure OnBeforeReadLines(var ExtendedTextHeader: Record "Extended Text Header"; DocDate: Date; LanguageCode: Code[10];var TempExtTextLine: Record "Extended Text Line" temporary; var IsHandled: Boolean; var Result: Boolean)
    begin
    end;
    // <<<<<<<<

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


add a method for reacting to rich text paste event

I've got this working OK by capturing the paste event and getting the plain text from the clipboard, looks like:
	function maybeRich(eve){
		eve.preventDefault()
		var text = eve.originalEvent.clipboardData.getData('text/plain').trim()
		$(eve.currentTarget).text(text)
		$(eve.currentTarget).attr("blank", !text)
	}

A caveat: currentTarget refers to the contenteditable div, so setting the text of that blows away anything the user has entered so far.
I need to know desired behavior in case user has already entered some text:
A: let the caveat stand, pasting into content editable div replaces current contents with clipboard
B: use eve.target instead of eve.currentTarget, which allows user to type one line, hit enter, and paste event only replaces contents of that line
C: emulate default paste behavior: we detect cursor position, split the div contents into 'before' and 'after' cursor and set the contenteditable text as that before + clipboard + after

I built for this, but IDK if want whole (even mine) library loaded (super tiny tho) just for this 1 feature.
Even if code is fairly small, few lines, still have it as separate module, paste.
Extracting the Range code (sigh, no old browser support, but I think I'm ok with that.... for now lol)
maybe try this one instead?
https://phuoc.ng/collection/html-dom/paste-as-plain-text/

👍 tested, works. Awesome. Thanks.


Won't authorise with Trakt

Hi
I've tried using my nabucasa address with /auth/external/callback on the end and i've tried using just my nabucasa address but the integration will not authorise, i get this error
OAUTH ERROR
The requested redirect uri is malformed or doesn't match client redirect URI.
any ideas?

Trakt.tv is just giving me a 500 error when trying to auth. Probably an issue on their end, but it gives me no information to debug. Redirect URI is correct for my instance and for the OAuth application I created...

I figured it out right after I sent that comment haha.
It 500s on the URL which this component gives (https://api.trakt.tv/oauth/authorize/...) but if one looks at the Authorize link that Trakt provides, it is on the trakt.tvdomain (vsapi.trakt.tv). I merely removed api.` from the URL that the configuration screen was directing me to and it worked.
I think the URL may have changed perhapS?

This is clearly an issue thank you for this precise and precious answer !


Gradle plugin can not set placeholderReplacement property

it's due to invalid value type flyway task used to set placeholderReplacement
/flyway/flyway-gradle-plugin/src/main/groovy/org/flywaydb/gradle/task/AbstractFlywayTask.groovy
org.flywaydb.gradle.task.AbstractFlywayTask
line 106:
propSet(flyway, 'placeholderReplacement')
should be
propSetAsBoolean(flyway, 'placeholderReplacement')

Good catch! Thanks! Consider this fixed in time for the next release.
Cheers
Axel

Thanks for update!


463 enhancement your signup link user experience optimization

This PR:
Resolves (#463)
1.    I fixed the card issue. It is now one card and all items are centered.
2. I am having trouble with the copy-and-paste API.
##
Future Steps/PRs Needed to Finish This Work (optional):
I need formal help with API
Issues needing discussion/feedback (optional):
1.    API for copy-and-paste

I'd like to add one more thing...
lets not just have margin on the top, but also the bottom.  Currently, the footer rest directly up against the rendered parent component.
src > pages > Signup.jsx - maybe for the <Box> switch the marginTop: 3 to my: 3 so there's the same margin on bottom too.  (but honestly the <Box> should be a <Stack>, then we could get rid of the display: flex and the flexDirection: column too)

Okay! i need to stop. I did what you asked:

The only issue is the Typography(I think) needs to display correctly. How do I fix this?

How do I fix this?

Hm...think we could do something like splitting up the one line of text with the statement and webId into two lines of text, one line for the statement, one line for the webId.
To make it nicer, think we could also turn the 2nd line of text with the webId into a potential link (in case the person that's registering is interested in who they're registering/working with with for the new Solid Pod). If the lines get too wide for the screen, think we could employ ellipsis or the like.

Okay! i need to stop. I did what you asked:

Actually you did the exact opposite - you put the Paper styling on the Stack, but that's okay it has same effect.

Alright, I'm going to back up a lot because I'm a little lost here on this PR.
This PR hasn't addressed number 1 or 3 from the Issue #463

Number 1
I'm not exactly sure what they are looking for, but it is showing the MUI copycontent rounded icon:
import ContentCopyRoundedIcon from '@mui/icons-material/ContentCopyRounded';
so I assume they wanted that icon to be next to the 'YOUR SIGNUP LINK', and maybe the onClick of the icon copies the signup link.
This way the user that wants to share that link with somebody doesn't have to click on it to open it, then manually copy it from address bar?

Number 3
Still using the window dialog box, instead of an MUI modal to keep with rest of app styling.

With the above said, if you'd like to keep this PR only addressing number 2 from the issue - that would be fine, but we need to:

edit the title and description of this PR
edit the title and description of issue #463
create new issues for the rest that are not being addressed in this PR

Now, back to the 1 thing from the issue this PR does address:
I agree with Ka Hung about splitting this text to two lines, and personally I would make the second line a little different (bold maybe 🤷🏻♂) I also think his approach to minimize the text using an ellipsis (if it's too long) is a decent idea, but then it kind of loses all helpfulness and reason to be displayed at all in my opinion.
This whole display problem becomes even more compounded when we consider mobile devices - which this fails to address or keep in mind. The form has a set width that doesn't fit for mobile whatsoever.

So that's issue 1 that I see here. This doesn't work for mobile at all, and is probably the basis to discuss/decide on what text to have here.  Maybe it doesn't render here, but rather on completion of registration?

Issue 2 is that there's a good amount of cleanup for styling that could still be done. Especially the PodRegistrationForm. I'm not sure what happened there, but...

It's using <Card> for seemingly no good reason, which is why it had card styling that you needed to get rid of with variant='none'. The only purpose I see for the <Card> is to use it's heading, this can be better accomplished with a <Typography variant='h5' component='h4'>Set Up A New Pod</Typography>
The <Typography> at the top of this component 'Register For PASS' has display: flex, justifyContent: center, alignItems: center which could all be replaced with a single textAlign: center, BUT looking at the card styling below also being textAlign: center, could just make the react fragment wrapper around this whole thing a <Stack textAlign='center'> and solve all of it. No longer need cardStyle or all the flex and stuff on the 'Register for PASS' element.
All the inputs and labels:  I'm not sure what's going on here.  The two <FilledInput>'s & <InputLabels>'s have props with aria-labels, but are already labeled by the label using the htmlFor and the id of the input.  And the top email input is a <TextField> which handles all of these things.  All 3 should just be <TextField>'s used properly. See here: https://mui.com/material-ui/react-text-field/    Also, the email input needs a type='email' for validation. Right now user can type in any text in any format.
The handleSubmit function run when submitting form has zero error handling. If user types in anything to the inputs and hits the button, they get no feedback what is wrong, why it isn't working, if it's working, etc.

Issue 3 the Signup:

The <Stack> doesn't need display: flex, flexDirection: column, that is the default for <Stack>.
With the other things I mentioned above, you wouldn't need the justifyContent or alignItems on there either.
From the new styling on the <Container> it is now defeating the purpose of my: 3 on the <Stack> & that is already being defeated by the margin: auto.   So, 1 - margin: auto probably should be mx:auto as I think you are using it to center this item in the container. 2 - choose to either style the container padding or the stack marginY. They are currently competing each other. Nothing on container and my: 12 on stack will be about the same visually. So, that large block of styling can be cut down to 5 lines:

Keep in mind this still doesn't address the mobile view issues.

Oh, to be able to pick up the potentially long webId, think we could of course use the Clipboard API (or copy and paste functionality) as mentioned in the main issue. That'll be nice I think, since we could reuse that in other places.

@TheChunkyPumpkinhead are you still interested in this issue?

Yeah
On Wed, Dec 13, 2023, 5:49 PM Scott Brown @.***> wrote:

@TheChunkyPumpkinhead https://github.com/TheChunkyPumpkinhead are you
still interested in this issue?
—
Reply to this email directly, view it on GitHub
https://github.com/codeforpdx/PASS/pull/547#issuecomment-1854978671, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AQJ4XTOU2MOS25JDREXB5ALYJJLJXAVCNFSM6AAAAAA76R4QZOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJUHE3TQNRXGE
.
You are receiving this because you were mentioned.Message ID:
@.***>

@TheChunkyPumpkinhead Hey, just checking in to see what the current status is.

Closing this PR. Will open new one pending reassessment of issue.


/about/team never loads

http://mc-stan.org/about/team/

never mind! something weird was happening to my browser, I think.

I don't think it's just your browser. I'm also unable to correctly open the page http://mc-stan.org/about/team/ on Chromium or Google Chrome, just hangs and keeps eating the CPU forever (until Chromium automatically proposes to kill the page), if I wait long enough, it opens but does not load correctly (just keep scrolling more and more and "loading"). I traced down the problem to a main.css property:
@media screen and (min-width: 62.5em){.dev-bio-photo{display:block;width:75px;height:75px;margin-right:25px;margin-bottom:10px;border-radius:150px;float:left}.dev-bio-photo:after{content:"";display:table;clear:both}}
I works fine if I remove the float:left from the code above.
I was able to reproduce this on Docker (with https://hub.docker.com/r/marcoinacio/vncmate/).
Chromium version: Version 58.0.3029.110 Built on Ubuntu.
Also did not work with latest Official Google Chrome 59.0.3071.104
But seems to work fine on Firefox.
It's really odd, CSS shouldn't be able to do that.

Ah ha! So I wasn't going crazy, thanks. I'll reopen this.

It opened OK in Safari for me, but it's very slow.

If you can figure out how to add more space between members that'd be great, because right now, they're running together.  The basic rule for typography is that lines of text that goes together as a group should have smaller inter-line spacing than the space between groups.
Also, it opens OK in Safari.

(I have no idea how to do anything to do with CSS; not sure who set up the website or would know more about Jekyll styling)

OK, I can take a look.


Fix Overflows in Balances Pallet

Found some possible overflow points in the Balances pallet.
This fixes those issues and adds tests.

The alternative solution to this PR would be to make sure at all points in the logic that account.free + account.reserved < Balances::max_value(), but unreserve and reserve already handle this case, so I thought this was the right way to go.

The last CI seems to be an issue with the VM

Now might be a good time to resolve this? @shawntabrizi


TypeError: <cStringIO...> is not JSON serializable

Flask-exceptional is throwing the following error whenever it tries to post an exception:
Traceback (most recent call last):
  File "/base/python27_runtime/python27_lib/versions/1/google/appengine/runtime/wsgi.py", line 174, in Handle
    result = handler(self._environ, self._StartResponse)
  File "packages/flask/app.py", line 1518, in __call__
    return self.wsgi_app(environ, start_response)
  File "packages/flask/app.py", line 1506, in wsgi_app
    response = self.make_response(self.handle_exception(e))
  File "packages/flaskext/exceptional.py", line 142, in ret_val
    self._post_data(context)
  File "packages/flaskext/exceptional.py", line 184, in _post_data
    "exception": self.__get_exception_data(traceback)
  File "/base/python27_runtime/python27_dist/lib/python2.7/json/__init__.py", line 231, in dumps
    return _default_encoder.encode(obj)
  File "/base/python27_runtime/python27_dist/lib/python2.7/json/encoder.py", line 201, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "/base/python27_runtime/python27_dist/lib/python2.7/json/encoder.py", line 264, in iterencode
    return _iterencode(o, 0)
  File "/base/python27_runtime/python27_dist/lib/python2.7/json/encoder.py", line 178, in default
    raise TypeError(repr(o) + " is not JSON serializable")
TypeError: <cStringIO.StringI object at 0x2981158> is not JSON serializable

I am using the new python27 App Engine runtime.

Joshua,
Thanks for raising this issue. I'm trying to track down the problem, but I'm not exactly sure what it might be. I'm pretty sure that your particular exceptional data has data formats that choke the default JSON encoder. We can fix that, but I'd like to know what those formats might be (dates, decimals, etc?).
There are a few things that could help:

Can you successfully execute the Flask-Exceptional test cases? (via setup.py test)

Can you successfully test your configuration? (see the Flask-Exceptional docs; run Exceptional.test() in your Flask shell)

Would you be willing to accept a temporary, hacked exceptional.py that outputs a "print" of the dict that is failing the json.dumps() call?

Hey Jonathan,
Thanks for the quick reply. Flask-Exceptional successfully posted the test exception to getexceptional.com when I ran Exceptional.test(..) from my Flask shell.
I added a call to log the result of self.__get_exception_data(traceback) in exceptional.py before trying to json serialize it, redeployed my app, and then triggered a 405. This resulted in two log messages:
http://paste.pocoo.org/show/498031/
http://paste.pocoo.org/show/498033/
Let me know if there's anything else I can do to help.
Thanks,
Josh

Hey Jonathan,
Thanks for the quick reply. Flask-Exceptional successfully posted the test exception to getexceptional.com when I ran Exceptional.test(..) from my Flask shell.
I added a call to log the result of self.__get_exception_data(traceback) in exceptional.py before trying to json serialize it, redeployed my app, and then triggered a 405. This resulted in two log messages:
http://paste.pocoo.org/show/498031/
http://paste.pocoo.org/show/498033/
Let me know if there's anything else I can do to help.
Thanks,
Josh

That's a good start. But my guess is that the offending format is not inside the exception data. Could you setup a similar log call, except output the entire dict from line #180 before attempting the call to json.dumps()? Something like this:
temp = {
    "application_environment": self.__get_application_data(context.app),
    "client": client_data,
    "request": self.__get_request_data(context.app, context.request, context.session),
    "exception": self.__get_exception_data(traceback)
}
# Log temp here.
error_data = json.dumps(temp)

Thanks,
Jonathan.

Ah, indeed, there is a single cStringIO.StringI object in error_data: the value of the 'os.wsgi.input' key. Is that sufficient, or would it help to see the entire object?

That's fine - no need for the entire object. For now, you should be able to move forward with Flask-Exceptional by filtering that particular key in your configuration (see docs for details):
EXCEPTIONAL_ENVIRONMENT_FILTER = ['os.wsgi.input']

I'm going to give a little bit of thought to this. But my first instinct is not to embellish the JSON encoding and simply wrap all environment variables in a printable str(). In your case, that means the exceptional output will show OS.WSGI.INPUT  <cStringIO.StringI object at 0x2981158> rather than the actual value of the StringIO object.
Thoughts?
I'll let you know when I've posted a new version of Flask-Exceptional with a fix for this issue.

Added EXCEPTIONAL_ENVIRONMENT_FILTER = ('os.wsgi.input', 'os.wsgi.errors', 'os.werkzeug.request') and now I've got things working again. Thanks for the workaround!
Calling str on the environ vars sounds right to me. Thanks.

Josh,
The new 0.4.6 version with the fix for your issue is available on PyPI now. You should be able to use that without the filter workaround.
Cheers,
Jonathan.

Confirmed the new version fixes the issue. Thanks Jonathan!


Reduce RegEx capabilities to smaller and more common set

Current definition of snippets syntax defines:
regex       ::= JavaScript Regular Expression value (ctor-string)
options     ::= JavaScript Regular Expression option (ctor-options)

JS RegEx engine is quite big and it would be hard to provide support for it in non-JS based editors without adding dependency on some JS engine.
Also such definition allows for any back references which is known to cause problems (when backtracking, and also makes such engine broader than only regular languages).
Solution would be to reduce required support to subset of commonly used syntaxes.
Such engine should also not support back references for security reasons.

Also, support for these complex snippets should be a capability. It seems that as soon as you declare support for snippets, you're binding yourself to implementing a potentially changing snippet specification.
Or at least, version the specification of snippets maybe ?
For example, in Vim there's no way to support JavaScript regexes.

I moved the snippet request to it own issue.


Updating changelog

I realize that I've not been updating the changelog as I've been developing all the changes in this branch. I think I added the important bits. Please, comment if you feel if I forgot something important and/or if the given wording is not accurate. I always have problems on how the wording should go in the changelog.

1 comment, after that :+1:

:+1:


The auto-generated title front matter eats second dot

What version of Hugo are you using (hugo version)?

$ hugo version
Hugo Static Site Generator v0.72.0-8A7EF3CF/extended darwin/amd64 BuildDate: 2020-05-31T12:12:33Z

Does this issue reproduce with the latest release?
Yes
I want to use hugo to manage software release download page. A dedicated directory content/release/ directory was created with corresponding template. Now I want to add new release with semantic version 1.0.0:
$ hugo new release/release-1.0.0.md
/Users/kofemann/p17/content/release/release-1.0.0.md created
$

The expected title front matter is Release 1.0.0, however what I got is:
---
title: "Release 1.0"
date: 2020-06-02T21:53:08+02:00
draft: true
---

This is of course not a big issue, but, I guess, not the expected behavior.

I have fixed it by updating archetypes/default.md as following:
from:
---
title: "{{ replace .Name "-" " " | title }}"
---

to
---
title: "{{ replace .File.BaseFileName "-" " " | title }}"
---

It looks like .Name defaults to .File.TranslationBaseName and treats the last bit as language identifier. I am happy with my workaround. Changing the default for .Name can break lot of existing sites.
I suggest closing the issue with wont-fix.


Branch specifier causes endless execution of pipeline with exit code 0

As mentioned in #274 when adding a branch specifier, the pipeline runs endlessly but shows exit code 0 for some reason on all steps. After multiple hours of running I have to manually cancel the build.
This issue is only caused by the tag/release event and not by a push to the repo.

The .drone.yml:
pipeline:
  build:
    image: debian
    pull: true
    commands:
      - echo "Build test"
    when:
      event: [push, tag]

  package:
    image: debian
    pull: true
    commands:
      - echo "zap"
    when:
      event: tag

# The following statement causes the issue:
branches: master

I am using Gitea as my VCS and have enabled all 4 webhook triggers in the settings.

looks like an early issue - can not reproduce from latest master tag (next-acbde30c)
@UnlimitedCookies can you verify?

I couldn't reproduce it either. Thanks for fixing!


minor fix: include/envoy is moved to envoy/

Commit Message: minor fix: include/envoy is moved to envoy/
Additional Description:
Minor update to fix path error in the coverage build options.
Risk Level: Low.
Testing: n/a.
Docs Changes: n/a.
Release Notes: n/a.
Platform Specific Features: n/a.

cc @phlax


CFFL

CFFL

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_eawcby7d70/clone/recipe/meta.yaml:16: pip_install_args: pip install should be run with --no-deps.
ERROR: /tmp/abs_eawcby7d70/clone/recipe/meta.yaml:21: missing_wheel: For pypi packages, wheel should be present in the host section
ERROR: /tmp/abs_eawcby7d70/clone/recipe/meta.yaml:37: missing_dev_url: The recipe is missing a dev_url
WARNING: /tmp/abs_eawcby7d70/clone/recipe/meta.yaml:37: missing_description: The recipe is missing a description
ERROR: /tmp/abs_eawcby7d70/clone/recipe/meta.yaml:37: missing_license_family: The recipe is missing the about/license_family key.
ERROR: /tmp/abs_eawcby7d70/clone/recipe/meta.yaml:37: missing_documentation: The recipe is missing a doc_url or doc_source_url
Errors were found


UX Test: Docs Navigation Survey

Driving Questions
What are we hoping to validate?

How easy can a user find the information they are looking for?
Are there any areas of the docs that could be easier to navigate to?
Does the current organization of the navigation tree make sense to users?
Does the search bar help the user find the information they seek?
How might we better organize the pages and information in the docs?

Describe the solution you'd like

[ ] Create a user test in Maze to gather feedback on current Zarf Docs Information Architecture
[ ] Run test (sample - internal unicorns & k8 slack)
[ ] Analyze results
[ ] Iterate on design based on feedback or handoff to devs

Additional context
Screenshot or link to what needs to be tested
Related to issue #1383
Link to Test

Example Questions:

On a scale of 1-10, how easy was it to find the information you were looking for on the site?
Did you find the left navigation drawer helpful for browsing and finding content on the site?
Were the global navigation tabs easy to use and understand?
Did you find the labels for the pages to be clear and concise?
Did you have any difficulty navigating between pages or finding specific information on the site?
Were there any sections or pages on the site that you found particularly difficult to locate or understand?
Would you suggest any changes to the site's navigation structure to make it more intuitive or easier to use?
Were you able to easily find the search bar and use it to find specific information on the site?
Did the organization of the content on the site make sense to you, or would you suggest any changes to the structure of the site?
Overall, how would you rate the ease of use and organization of the site's navigation and information architecture?


Max open files, max processes use ulimit

The max open files and max processes checks use "ulimit", this is actually not the correct command to check the necessary attributes. A fix is currently in progress

Some discussion with Zofia Mazur on this issue.
It has to be check on pod level if we want to check docker/crio setting. Run this check from OS level will list the number related to OS and not container manager. Even if you update docker / crio with right values it will not be reflected by ulimit. It would have been seen if you do changes in vi /etc/security/limits.conf.

This check is part of pre-OpenShift, that time no pods are available. May be we should add to post-OpenShift stage.


Indentation is 8 instead of 4

Not sure how I managed to do this, I mean there is no LaTeX Code Style yet which specifies tabs and indents? Was @stenwessel working on this?
demonstration

Issue disappeared.


now how to remove the '3, 2, 1, GO!' on the start of a song?

Describe your problem here.
now i was trying to find how to find a lua script that can remove the '3, 2, 1, GO!' vocals of a start of a song. do you have any idea???
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
Nope, didn't even check it.

There is actually! The thing is that, you need the LATEST commit, not the downloaded version.
Here's a post that works - https://github.com/ShadowMario/FNF-PsychEngine/discussions/3532
Download tposejank's EK build that's has the variable working (warning, broken window bug) - https://gamebanana.com/mods/333373

If you just need to get rid of the sounds you can use setProperty('introSoundsSuffix', -blank') (-blank can be just about any string, if there isn't a countdown file with that suffix it will simply play nothing)


[SPARK-48286] Fix analysis of column with exists default expression - Add user facing error

What changes were proposed in this pull request?
FIRST CHANGE
Pass correct parameter list to org.apache.spark.sql.catalyst.util.ResolveDefaultColumns#analyze when it is invoked from org.apache.spark.sql.connector.catalog.CatalogV2Util#structFieldToV2Column.
org.apache.spark.sql.catalyst.util.ResolveDefaultColumns#analyze method accepts 3 parameter

Field to analyze
Statement type - String
Metadata key - CURRENT_DEFAULT or EXISTS_DEFAULT

Method org.apache.spark.sql.connector.catalog.CatalogV2Util#structFieldToV2Column
pass fieldToAnalyze and EXISTS_DEFAULT as second parameter, so it is not metadata key, instead of that, it is statement type, so different expression is analyzed.
Pull requests where original change was introduced
https://github.com/apache/spark/pull/40049 - Initial commit
https://github.com/apache/spark/pull/44876 - Refactor that did not touch the issue
https://github.com/apache/spark/pull/44935 - Another refactor that did not touch the issue
SECOND CHANGE
Add user facing exception when default value is not foldable or resolved. Otherwise, user would see message "You hit a bug in Spark ...".
Why are the changes needed?
It is needed to pass correct value to Column object
Does this PR introduce any user-facing change?
Yes, this is a bug fix, existence default value has now proper expression, but before this change, existence default value was actually current default value of column.
How was this patch tested?
Unit test
Was this patch authored or co-authored using generative AI tooling?
No

@urosstan-db  can you re-trigger the test?

@cloud-fan Sure, sorry, I did not see this failed

can we add a test? Besically any default column value that is unfoldable, like current_date(), can trigger this bug

It is really strange, but I seen this issue on describe table also.

can we add a test? Besically any default column value that is unfoldable, like current_date(), can trigger this bug

Also, alter table add column default should trigger this bug?

can we add a test? Basically any default column value that is unfoldable, like current_date(), can trigger this bug

Also, alter table add column default should trigger this bug?

For example, ALTER TABLE t ADD COLUMN c DEFAULT CURRENT_DATE()

thanks, merging to master!

@cloud-fan @urosstan-db It looks like this broke the build for Spark 3.5 on scala 2.13...
[ERROR] [Error] ...sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/util/ResolveDefaultColumnsUtil.scala:299: value defaultValueNotConstantError is not a member of object org.apache.spark.sql.errors.QueryCompilationErrors
I don't see that definition defined on the 3.5 branch

https://issues.apache.org/jira/browse/SPARK-48608

@urosstan-db let's add defaultValueNotConstantError to branch 3.5

@cloud-fan Here it is https://github.com/apache/spark/pull/46978


Angular 5 application, cannot find name Inputmask

Hi
I have error: ERROR in src/app/shared/directive/inputphone.directive.ts(29,5): error TS2304: Cannot find name 'Inputmask'.
In file src/polyfills.ts:
import Inputmask from 'jquery.inputmask/dist/inputmask/jquery.inputmask.js';
or
import Inputmask from 'inputmask';
In file .angular-cli.json:
      "scripts": [
        "../node_modules/jquery/dist/jquery.min.js",
        "../node_modules/jquery.inputmask/dist/inputmask/inputmask.dependencyLib.js",
        "../node_modules/jquery.inputmask/dist/inputmask/inputmask.js",
        "../node_modules/jquery.inputmask/dist/inputmask/jquery.inputmask.js"
      ],

How to import it correctly?

what about import * as Inputmask from 'inputmask';? but also install @types/inputmask. BTW How to register extension?


Changes for modern ios and GraphHopper 1.0

It just depends on github.com/oflebbe/graphhopper branch ios_compat_new
Would it be possible as a workaround merge
github.com/oflebbe/graphhopper branch ios_compat_new  to
github.com/graphhopper/graphhopper branch ios_compat_new (or similary named)
first?
Since the branch ios-compat is way too old to be resynced to master.
Open points w/o priorities:

Refactor graphhopper to use the master tree only.
Rework build system. It is a bit fragile right now (Or I missed a point).
Check memory management.
Use the graphhopper YAML config file to autodiscover the Profile needed: The default Profile is hardcoded right now.
Don't crash on java exceptions.
For Code signing purposes: the original developer team and namespaces have been included.  A script to manage the signing identities might be  needed.

However the patch is included gives value alone, I would propose to handle the open points in subsequent PR's.

There is now a branch with the required changes: https://github.com/graphhopper/graphhopper/commits/ios_compatibility
Do you need anything more from me or should I merge :) ?

Please wait a bit longer ... there is progress

@oflebbe Any updates?


Request for an event

#354 Add a code prime two number

@DipanshuKumarRai Please do not open unnecessary issues.


PDF: Language does not follow the selected language

Description of the bug
Currently, changing the language in app-frontend I believe is not communicated in any way to the backend, so the PDF will not be generated in the correct language.

The PDF seems to use the users language set in their profile.

Steps To Reproduce

Change language using language selector
Finish filling out the form
Observe that language is not changed in PDF

Additional Information
No response

Tested in tt02, works as expected. Moving to done.


Optimizeing the clustering step

I am trying first to use retworkx in the Python code without rewriting the whole thing in C++.

Closing in favor of https://github.com/dib-lab/kSpider/pull/28/files#diff-1915ee0b8574b9c9fbd7b40c4ef9da892a410e2d5f39fa468a400e132b7a7821


SEAB-6021: Fix stuck profile page

Description
This PR fixes the UI so that when the profile page switches from user X's to user Y's profile page, user Y's information is displayed.  Previously, the UI was broken, and would get "stuck" on user X's page.  The URL would change, but the information on the profile page did not.
The fix was to the UserPageComponent and RecentEventsComponent components, which comprise most of the profile page, and previously both read the username from the route upon construction.  Now, they observe the route parameters and update the user when they change.
Both components were lightly refactored to make their internals more similar to each other.  Also, I deleted the unused property username, please inspect and confirm that it is unused.
I kinda feel like both components should be embedded in a "profile page" component, which passes the username to them as an Input.  But that's a substantial [philosophical] difference and a big change for "right before the release" so I left it the way it is.
Review Instructions
Log into qa, navigate to qa.dockstore.org/users/svonworl, and use the dropdown menu at upper right to see your profile.  Confirm that all information on the profile page changes from svonworl's to yours.
Issue
https://ucsc-cgl.atlassian.net/browse/SEAB-6021
Security
No concerns.
Please make sure that you've checked the following before submitting your pull request. Thanks!

[x] Check that your code compiles by running npm run build
[x] Ensure that the PR targets the correct branch. Check the milestone or fix version of the ticket.
[x] If this is the first time you're submitting a PR or even if you just need a refresher, consider reviewing our style guide
[x] Do not bypass Angular sanitization (bypassSecurityTrustHtml, etc.), or justify why you need to do so
[x] If displaying markdown, use the markdown-wrapper component, which does extra sanitization
[x] Do not use cookies, although this may change in the future
[x] Run npm audit and ensure you are not introducing new vulnerabilities
[x] Do due diligence on new 3rd party libraries, checking for CVEs
[x] Don't allow user-uploaded images to be served from the Dockstore domain
[x] If this PR is for a user-facing feature, create and link a documentation ticket for this feature (usually in the same milestone as the linked issue). Style points if you create a documentation PR directly and link that instead.
[x] Check whether this PR disables tests. If it legitimately needs to disable a test, create a new ticket to re-enable it in a specific milestone.

I kinda feel like both components should be embedded in a "profile page" component, which passes the username to them as an Input. But that's a substantial [philosophical] difference and a big change for "right before the release" so I left it the way it is.

:+1:


⚠ BCR Bot has degraded performance

In b36f4cc, BCR Bot (https://bcr.alternativasinteligentes.com/BCRApi/web/chatbot) experienced degraded performance:

HTTP code: 200
Response time: 891 ms

Resolved: BCR Bot performance has improved in 6e708c2.


【Auto-build】kubesphere

Usage:
   /imagebuild_apps appName appVersion
Available Args:
   appName:  current app dir
   appVersion: current app version

Example:
   /imagebuild_apps kubesphere v3.3.1

/imagebuild_apps kubesphere v3.3.1

/imagebuild_apps kubesphere latest

/imagebuild_apps kubesphere v3.3.2

/imagebuild_apps kubesphere v3.4.1

/imagebuild_cirun_apps kubesphere v3.4.1

Kubesphere image very large, github action build not support, it has disk space limit:
By default, public shared Github runners come with around 25-29 GB of free disk space to be consumed by your build job.

local build
git clone https://github.com/labring-actions/cluster-image
cd cluster-image/applications/kubesphere/latest
bash init.sh amd64 kubesphere v3.4.1

sealo run registry.cn-shenzhen.aliyuncs.com/cnmirror/kubesphere:v3.4.1


How to select single component from multiple on page

I have a number of IconButton components on a page. They are mostly differentiated by where they are on the page, so different parents. can I drill down from a selected parent to child?

Hi @claytron5000 , thanks for raising the query. You wanna look into the chained command section: https://github.com/abhinaba-ghosh/cypress-react-selector#use-fluent-chained-queries
Let me know if that does not work. I will be happy to dig into that.

That's exactly it. I was getting an error, but I think it was a bad selector. Thanks for the cool tool!

Hi @claytron5000, when I created the tool, I actually tested against a smaller set of use cases. It is also possible that the error you are getting is a valid error and I missed to handle that very logic. If you get the error, again and again, I request you to re-open the ticket and help me to get it resolved.
Thanks a lot again for giving a try with the tool. :)

also, not, fluent chained commands dot really re-try. I am working on it to get it resolved.
https://github.com/abhinaba-ghosh/cypress-react-selector/issues/30

Yeah, it looks legit.
cypress.json:
{
    "pluginsFile": false,
    "supportFile": false,
    "baseUrl": "http://localhost:8080",
    "env": {
        "cypress-react-selector": {
            "root": "#root"
        }
    }
}

Test code:
describe("Search input", () => {
	beforeEach(() => {
		cy.visit("/");
		cy.waitForReact();
	});

	context("viewport width === 640", () => {
		it("is visible", () => {
			cy.viewport(640, 1_024);
			cy.react("Search").react("SvgIcon").should("be.visible");

		});
	});
});

React code:
function Search() {
	const classes = useStyles();

	return <Box component="form" width="100%" color="text.secondary">
		<TextField InputProps={{
			startAdornment: <InputAdornment position="start"
			className={classes.inputAdornment}>
				<Box p={1.5}>
					<SearchIcon fontSize="small" />
				</Box>
			</InputAdornment>,
			classes: {
				input: classes.input,
				formControl: classes.formControl,
			},
			disableUnderline: true,
		}}
		className={classes.textField}
		placeholder="Search school, city, state & teams..."
		inputProps={{"aria-label": "search"}} />
	</Box>;
}

The SearchIcon is a MaterialUI svg icon that's transformed into SvgIcon. Here's the component tree screenshot:

Hey @claytron5000 Thanks for re-opening and for the logs. Would you mind also sharing the cypress window error messages? Screenshot will be enough. I want to see the waiting period and the messages it is producing.

Component not found <SvgIcon>

  There can be multiple reasons for it.

  > Check the root is defined as a env parameter (cypress.json config file).

  > If the root is defined correctly, check other parameters - component name, props and state objects

  Or, raise an issue with proper code samples here: https://github.com/abhinaba-ghosh/cypress-react-selector/issues
node_modules/cypress-react-selector/src/reactHandler.js:89:1
  87 |       })
  88 |       .catch((err) => {
> 89 |         throw new Error(
     | ^
  90 |           getComponentNotFoundMessage(
  91 |             component,
  92 |             reactOpts.props,
View stack trace
 Print to console
    at eval (webpack:///node_modules/cypress-react-selector/src/reactHandler.js:89:1)
From previous event:
    at getRet (http://localhost:8080/__cypress/runner/cypress_runner.js:154850:21)
From previous event:
    at Context.thenFn (http://localhost:8080/__cypress/runner/cypress_runner.js:154868:27)
    at Context.then (http://localhost:8080/__cypress/runner/cypress_runner.js:155308:22)
    at Context.<anonymous> (http://localhost:8080/__cypress/runner/cypress_runner.js:168808:22)
    at <unknown> (http://localhost:8080/__cypress/runner/cypress_runner.js:168241:16)
From previous event:
    at runCommand (http://localhost:8080/__cypress/runner/cypress_runner.js:168220:9)
    at next (http://localhost:8080/__cypress/runner/cypress_runner.js:168366:15)
    at <unknown> (http://localhost:8080/__cypress/runner/cypress_runner.js:168394:17)
From previous event:
    at next (http://localhost:8080/__cypress/runner/cypress_runner.js:168366:35)
From previous event:
    at <unknown> (http://localhost:8080/__cypress/runner/cypress_runner.js:168407:38)
From previous event:
    at run (http://localhost:8080/__cypress/runner/cypress_runner.js:168400:20)
    at $Cy.cy.<computed> [as viewport] (http://localhost:8080/__cypress/runner/cypress_runner.js:168852:12)
    at Context.runnable.fn (http://localhost:8080/__cypress/runner/cypress_runner.js:169078:22)
    at callFn (http://localhost:8080/__cypress/runner/cypress_runner.js:103957:22)
    at Test.../driver/node_modules/mocha/lib/runnable.js.Runnable.run (http://localhost:8080/__cypress/runner/cypress_runner.js:103944:8)
    at <unknown> (http://localhost:8080/__cypress/runner/cypress_runner.js:174727:29)
From previous event:
    at Object.onRunnableRun (http://localhost:8080/__cypress/runner/cypress_runner.js:174715:21)
    at $Cypress.action (http://localhost:8080/__cypress/runner/cypress_runner.js:165051:62)
    at Test.Runnable.run (http://localhost:8080/__cypress/runner/cypress_runner.js:173050:14)
    at Runner.../driver/node_modules/mocha/lib/runner.js.Runner.runTest (http://localhost:8080/__cypress/runner/cypress_runner.js:104616:11)
    at <unknown> (http://localhost:8080/__cypress/runner/cypress_runner.js:104742:13)
    at next (http://localhost:8080/__cypress/runner/cypress_runner.js:104525:15)
    at <unknown> (http://localhost:8080/__cypress/runner/cypress_runner.js:104535:8)
    at next (http://localhost:8080/__cypress/runner/cypress_runner.js:104437:15)
    at <unknown> (http://localhost:8080/__cypress/runner/cypress_runner.js:104503:6)
    at timeslice (http://localhost:8080/__cypress/runner/cypress_runner.js:98429:28)

Hi @claytron5000, can you try upgrading to v2.1.0 and retrying the same commands. I have added some extra retry mechanism recently. Would love to get the feedback.

@abhinaba-ghosh I'm getting the same issue on version 2.2.0.
Error: Component not found
cypress   |
cypress   |
cypress   |   There can be multiple reasons for it.
cypress   |
cypress   |   > Check the root is defined as a env parameter (cypress.json config file).
cypress   |
cypress   |   > If the root is defined correctly, check other parameters - component name, props and state objects
cypress   |
cypress   |
cypress   |   Or, raise an issue with proper code samples here: https://github.com/abhinaba-ghosh/cypress-react-selector/issues
cypress   |       at eval (http://client:3000/__cypress/tests?p=cypress/support/index.js:298:15)

@zRealMikeJordan, The library works irrespective of the underlying infrastructure. So, if it is working in your local, not in the docker, there is a high chance that the application under test has been changed. Are you building the react app for production and testing it in the docker? Sometimes, it changes the component names. Try building in profile mode and try.

I found the issue. It was actually that the react build resulted in a tree
of “anonymous” components and so you lib couldn’t find the components I
referenced.
I fixed this by doing a dev build in the container but because react
scripts is so slow I had to put sleep 30; at the beginning to wait for
localhost to become available. A bit hacky so if you know a better way
please let me know. I’m not familiar with profile mode.
On Tue, Oct 27, 2020 at 12:57 AM Abhinaba Ghosh<EMAIL_ADDRESS>wrote:

@zRealMikeJordan https://github.com/zRealMikeJordan, The library works
irrespective of the underlying infrastructure. So, if it is working in your
local, not in the docker, there is a high chance that the application under
test has been changed. Are you building the react app for production and
testing it in the docker? Sometimes, it changes the component names. Try
building in profile mode and try.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/abhinaba-ghosh/cypress-react-selector/issues/41#issuecomment-717003211,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFRYYUPRGGPXPQHVUITW4GDSMZOOBANCNFSM4RDGHWBQ
.

Hey @zRealMikeJordan , good to know that you figured out the issue. This can help to get some idea about the profiling mode.

@abhinaba-ghosh Thanks for all of your work on this! Unfortunately, chained commands still aren't working for me. I have two MenuButton components on my page; one is inside the DashboardFooter component (the one I want to target).
describe("Sidebar", () => {
	beforeEach(() => {
		cy.waitForReact();
	});

	it.only("opens sidebar on click", () => {
		cy.react("DashboardFooter").react("MenuButton").click();
	});
});

returns
cy.click() can only be called on a single element. Your subject contained 2 elements. Pass { multiple: true } if you want to serially click each element.

Only one MenuButton is visible at any given time. After investigating further using .first() and .last(), I confirmed that it's selecting both the visible and the invisible buttons, meaning it's behaving exactly as if I wasn't including cy.react("DashboardFooter") at all.
Cypress v5.5.0
cypress-react-selector v2.2.0
My cypress.json:
{
    "pluginsFile": false,
    "baseUrl": "http://localhost:8080",
    "env": {
        "cypress-react-selector": {
            "root": "#root"
        }
    }
}

@caseyjhol I will have a look into this.

Hi, just catching up on things. I have created this repository to reproduce this bug. I am digging in. I will update the progress here.

https://github.com/baruchvlz/resq/issues/73

This issue seems to be related to some changes in the way React attaches the FiberNodes to the elements. The release RESQ v1.10.0 should take care of the not being able to find React error.
Now, as to the chain operations. This is not supported in RESQ and should be handled at a library level. One of the ways to do this, is to do resq.waitToLoadReact() on every call of cy.react.

Thanks for the input @baruchvlz .
Much appreciated. Once the resq release is available, i will update this library to tackle the waitForReact calls.

This not being able to find React issue seems to be related to some changes in the way React attaches the FiberNodes to the elements. The release RESQ v1.10.0 should fix it.
Now, as to the chain operations. This is not supported in RESQ and should be handled at a library level. One of the ways to do this is to do resq.waitToLoadReact() on every call of cy.react.

hi @baruchvlz , I have a different thought here. I don’t think you need to call waitToLoadReact every time internally in cy.react calls. Once React loading established, It will return - React already loaded, no matter how many times you run it. Now, in the case where AUT reloads the window, yes, you need to re-establish the react loading, not for all. I successfully manage to chain query by providing incoming ReactElement in the resq$$(component, reactElement) command for this react example. But, for a different app, it is showing wired behavior and logged here - https://github.com/baruchvlz/resq/issues/76

hi @abhinaba-ghosh, have you made any progress on this?

@hey @frysztak , we are getting few hiccups for React 17. I will work on this over the upcoming weekend. But, PR is always welcome.

@abhinaba-ghosh I'd gladly help, though I'm not sure where to start. could you point me in the right direction?

@abhinaba-ghosh I'd gladly help, though I'm not sure where to start. could you point me in the right direction?

@frysztak You can look into this to get the ground https://github.com/baruchvlz/resq/issues/76

hello again @abhinaba-ghosh, I finally took a look at your repo. chained queries don't work for React 16 as well. and seeing that this issue was created before React 17's release - it doesn't seem like it has anything to do with it

This is now fixed with https://github.com/abhinaba-ghosh/cypress-react-selector/pull/251
Example - https://github.com/abhinaba-ghosh/cypress-react-chain-queries


How to check what chat a channel's "Discuss" button links to?

I can't seem to find the linked chat of channels I am in. As channels are considered supergroups, I would have expected this information to be part of the supergroup or supergroupFullInfo calls for channels I am a member of, but that doesn't seem to be the case. So I'm wondering how to get that info.
Thanks!

Discussion groups are not supported yet in the latest pubic TDLib version 1.5.1.
In TDLib 1.5.2 new fields supergroup.has_linked_chat and supergroupFullInfo.linked_chat_id was added, but this version is still private.

Ah, perfect. Thank you for the info.
Is there a rough ETA for 1.5.2?

No, there is no ETA.

Discussion groups support was added in TDLib 1.6.0. See Change Log for the full list of changes.


Removed Epoch Unbonding Record's with Zero Amount

Closes: #609
Thanks @gloryan0829 for catching this!
Context and purpose of the change
The comparison check in the condition that removes 0-amount epoch unbonding records is stale since migrating to sdk.Ints, preventing the records from being deleted.
Brief Changelog

Fixed comparison
Fixed broken unit test

Author's Checklist
I have...

[x] Run and PASSED locally all GAIA integration tests
[ ] If the change is contentful, I either:

[ ] Added a new unit test OR
[ ] Added test cases to existing unit tests

[ ] OR this change is a trivial rework / code cleanup without any test coverage

If skipped any of the tests above, explain.

Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...

[ ] reviewed state machine logic
[ ] reviewed API design and naming
[ ] manually tested (if applicable)
[ ] confirmed the author wrote unit tests for new logic
[ ] reviewed documentation exists and is accurate

Documentation and Release Note

[ ] Does this pull request introduce a new feature or user-facing behavior changes?
[ ] Is a relevant changelog entry added to the Unreleased section in CHANGELOG.md?
[ ] This pull request updates existing proto field values (and require a backend and frontend migration)?
[ ] Does this pull request change existing proto field names (and require a frontend migration)?
How is the feature or change documented?

[ ] not applicable
[ ] jira ticket XXX
[ ] specification (x/<module>/spec/)
[ ] README.md
[ ] not documented

persisting is annoying, but not harmful afaik
@shellvish Agreed! Just clogging up state but doesn't logically affect anything


keep-header missing dub.json

When I run dub in tsv-utils to build, I get this:
Stevens-MacBook-Pro:tsv-utils-dlang steves$ dub
Unknown dependency: tsv-utils-dlang:keep-header
Stevens-MacBook-Pro:tsv-utils-dlang steves$

Looks like the dub.json file is missing in the keep-header directory. I can mock up one based on another dub.json, but the real description/etc I'd prefer you to make.

Thanks for the report. Should be fixed now. Already had the dub.json file, but forgot to add it to the repo.

Yep, fixes it, thanks.


Error message for constrained, using format, string in struct is misleading

From @d-Pixie on August 10, 2016 8:14
Using this setup:
require 'dry-types'

module Types
  include Dry::Types.module

  CountryCode = Types::Strict::String.constrained(format: /\A[A-Z]{2}\z/)
end

class Model < Dry::Types::Struct
  attribute :country_code, Types::CountryCode
end

When you use the type on its own you get an appropriate error message in the exception:
p Types::CountryCode['d2sg']
# => Exception: Dry::Types::ConstraintError: "d2sg" violates constraints (format?(/\A[A-Z]{2}\z/) failed)

But when used as an attribute in a struct it gives a misleading message about the values type instead of its format:
model = Model.new( country_code: 'd2sg' )
# => Exception: Dry::Types::StructError: [Model.new] "d2sg" (String) has invalid type for :country_code

I would hope that the context you use a type in should not change its error message, at least not to one that is wrong :)
Copied from original issue: dry-rb/dry-types#120

We'll be improving error message handling for structs in dry-struct. There were lots of refactorings and clean ups in the way hash schemas work in dry-types and it should allow us to make error messages better for structs (which use hash schemas under the hood). This is a big improvement that will be definitely done before these gems hit 1.0.0.

From @d-Pixie on August 10, 2016 8:21
As an additional note, that might be related, with my full type declaration:
  CountryCode = Types::Strict::String.constrained(format: /\A[A-Z]{2}\z/).constructor{|v| v.to_s.upcase[0...2]}

if I try to instantiate a model using a bogus value, 'd2ss', that should become 'D2' thanks to the constructor and then be checked against the constraint? I think the right value is checked against the constraint because if I use 'dss', which after the constructor is valid, but not before, it works as expected. But in the case where the value after the constructor is still not valid, as with 'D2', the error message contains the full original value 'd2ss', and not the post constructor conversion:
Exception: Dry::Types::StructError: [User.new] "d2ss" (String) has invalid type for :country_code

I don't know if this is done on purpose, to align with what the user actually sent in, or if it's a bug. Not even sure which I prefer :) Worth a quick discussion though.


Add a new gradle property to control develocity integration

Configuring develocity build scan additional detail publishing breaks Gradle project isolation https://github.com/GradleUp/shadow/issues/907
This change adds a new property com.gradleup.shadow.enableDevelocityIntegration that defaults to true, however it allows folks to set it to false and make shadow plugin usage project isolation safe.

[ ] CHANGELOG's "Unreleased" section has been updated, if applicable.

I'm considering removing develocity integration, WDYT?

Or, merge this but default to disabling the integration, and add a deprecation warning if it's enabled.
If nobody complains then remove it in a couple of months.


[feat] Is is possible to control which screen the app window will display on?

Describe the problem
I am developing a linux application for a cash register. It has two screens, one will be used to display information to customer, and the other one is designed for the cashier.
I set up two windows in my app to show, but the problem is, these two windows didn't show on different screens as I expected.
Describe the solution you'd like
Is there any solution to control which screen the app window will display on? I known that it will be difficult since window management is quite different on Windows, macOS and Linux.
If there's no official solution in tauri, please tell me the way to fix it on Linux, that's enough for me. Thanks a million.
Alternatives considered
No response
Additional context
No response

You can go with one of these solutions:

create the window programmatically in Rust and use available_monitors to determine where to position the window
create the window in tauri.conf.json but re-position it inside .setup() hook, you will also need to use available_monitors to determine where to position the window
You can use tauri-plugin-window-state and in the first time you open your app, position the window manually as you like and subsequent opens will restore your windows automatically.

Thanks


NDS-381: Listbox autofocus executing on component update

I can't merge this PR. I'm not authorized to merge.


feat(operator): add window operators: window, windowWhen, windowTime,…

… windowCount, windowToggle
closes #195

It looks like maybe I have some scheduling in the windowTime operator that I'm not cleaning up on disposal...

I learned a bit in PR #208, and I'll probably refactor this some.
All of these are desperately waiting for that Virtual Scheduler work from @trxcllnt


[Bug] Not found page shows address as available

Bug Description

Steps to Reproduce

Go to https://home.omg.lol/adam

if this is already an issue you can freely murder me, i couldnt find it very quickly at least


Errors when trying to start initially - help wanted

Please tick all applicable boxes.

[X] I am using Python 3.5 or higher (run python --version on the command line)
[X] I have followed the official guides to install the bot for my system
[X] I have updated my dependencies to the latest version using the appropriate update_dependencies script

Which version are you using?

[X] The latest master version (1.9.7)
[ ] The latest review version

What type of issue are you creating?

[ ] Bug
[ ] Feature request
[X] Question

Description of issue
I want to start the bot for the first time, but whenever I try this is what the console returns:
[INFO] launcher: Starting sanity checks
[INFO] launcher: Checking for Python 3.5+
[INFO] launcher: Checking console encoding
[INFO] launcher: Setting console encoding to UTF-8
[INFO] launcher: Ensuring we're in the right environment
[INFO] launcher: Adding local bins/ folder to path
[INFO] launcher: Required checks passed.
[INFO] launcher: Optional checks passed.
[INFO] launcher: Moving old musicbot log
[ERROR] launcher: Error starting bot
Traceback (most recent call last):
File "run.py", line 347, in main
from musicbot import MusicBot
File "D:\New Discord Bot\MusicBot\musicbot_init_.py", line 6, in
from discord.ext.commands.bot import get_variable
ImportError: No module named 'discord'
[INFO] launcher: Attempting to install dependencies...
Traceback (most recent call last):
File "run.py", line 347, in main
from musicbot import MusicBot
File "D:\New Discord Bot\MusicBot\musicbot_init.py", line 6, in
from discord.ext.commands.bot import _get_variable
ImportError: No module named 'discord'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "run.py", line 368, in main
err = PIP.run_install('--upgrade -r requirements.txt')
File "run.py", line 81, in run_install
return cls.run("install %s%s" % ('-q ' if quiet else '', cmd), check_output)
File "run.py", line 34, in run
raise RuntimeError("Could not import pip.")
RuntimeError: Could not import pip.
[INFO] launcher: All done.
I've set most of the settings in the .ini files. I used the windows method, to install.
I installed Python, then git. Cloned the repository.
Log file
There is no log file in the logs folder.

-->Can you help me with this?

Please see if you can run the bot on your C: drive and that pip was installed correctly. Run update.bat and if it errors post a log

Closing due to inactivity


Issue with fixed header in IE

Hi Team,
I am having issue in IE 11 when i scroll the timeline, it is working in chrome but not in IE. When I dig into it I found below css property which makes it work in chrome. But, IE won't accept sticky property, I'm trying with different position values, but so far no luck.
.react-calendar-timeline .rct-header-container.header-sticky {
    position: sticky;
    position: -webkit-sticky;
}

Do you have any work around solution for this?
IE:

Chrome::

@uijaswanthi position: sticky isn't supported in Internet Explorer. See https://caniuse.com/#feat=css-sticky
You might be able to programmatically switch position while scrolling from relative to fixed with a top offset to achieve a similar effect.
I would imagine there are tutorials showing how to do just that from before sticky was introduced to CSS.


Support for $expand with inner $select

Does this endpoint support $expand with inner $select?
It's de facto standard for other endpoints that $expand with inner $select is supported.
The query
https://graph.microsoft.com/v1.0/roleManagement/directory/roleAssignmentScheduleInstances?$expand=principal($select=displayName)

returns
{
  "error": {
    "error": {
      "code": "InvalidFilter",
      "message": "The  filter is invalid.",
      "innerError": {
        "date": "2024-02-23T14:25:39",
        "request-id": "9c8c603d-a1f6-45c1-8f21-33fb7c932970",
        "client-request-id": "9c8c603d-a1f6-45c1-8f21-33fb7c932970"
      }
    }
  }
}

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 2256c754-f6c0-d6e4-1eb9-af527ea6faf9
Version Independent ID: 32367385-ba4b-df48-543d-12a2d619f7ba
Content: List roleAssignmentScheduleInstances - Microsoft Graph v1.0
Content Source: api-reference/v1.0/api/rbacapplication-list-roleassignmentscheduleinstances.md
Product: governance
Technology: microsoft-graph
GitHub Login: @FaithOmbongi
Microsoft Alias: MSGraphDocsVteam

Thank you @MartinM85 for raising this issue. Unfortunately, only this is supported 👉🏾 .../roleAssignmentScheduleInstances?$expand=principal($select=id). Other relationships like roleDefinition support inner $select for all properties, but the principal relationship supports inner $select for id only. I've raised a PR to include this info in the documentation.
To request that this limitation be removed, you can submit a feature suggestion through the Microsoft Graph feedback forum. Other developers can amplify your voice for the suggestion to be considered for feature development.

@FaithOmbongi Thanks for the response. Obviously $expand=principal($select=id) doesn't make sense because principalId is returned by default by /roleAssignmentScheduleInstances


Set required JDK for Gradle development to JDK 17

This would increase the required JDK version from 11 to 17.
The change doesn't imply any change to what language level we support - it only opens the possibility to use (where possible) higher JDK-supported language features.

The change doesn't imply any change to what language level we support - it only opens the possibility to use (where possible) higher JDK-supported language features.

I don't understand where it would be possible to use Java 17 features when all the production code needs to work on Java 8. We also want to run all the tests on Java 8. As long as we can't use Java 17 features anywhere, I don't see a reason to make the build more complicated.


Use DeepPartial snippet instead of shallow Partial

In the spirit of the library, allow the typing support to use a deep partial instead of a shallow partial, removing type errors when reconstructing an object from a deep partial

I'm worried the typing still doesn't correctly represent what deep merge will return, especially given the more advanced custom merging options / etc.
This PR is definitely an improvement though!

A more accurate typing would be to remove partial all together and TypeScript infer they type.

A more accurate typing would be to remove partial all together and TypeScript infer the type.

I might be wrong, but I believe you are required to type function declarations; not declaring explicit types would error under --no-implicit-any and implicitly annotate as Any otherwise

A more accurate typing would be to remove partial all together and TypeScript infer the type.

I might be wrong, but I believe you are required to type function declarations; not declaring explicit types would error under --no-implicit-any and implicitly annotate as Any otherwise

What I mean is that TypeScript can infer the generic.
So for example:
// current definition
declare function deepmerge<T>(x: Partial<T>, y: Partial<T>, options?: deepmerge.Options): T;

// new definition where TS infers the generics
declare function deepmerge<T1, T2>(x: T1, y: T2>, options?: deepmerge.Options): T1 & T2;

When the function is called like deepmerge(foo, bar), if foo and bar are both typed as DeepPartial<SomeType>, then the output will also be typed as DeepPartial<SomeType>. No need for deepmerge to need to be aware of DeepPartial at all.
If foo is typed as { baz: string } and bar as { quux: number }; the output will be typed as { baz: string; quux: number }.
This approach does have limitations though.
It can't handle the case of foo being { baz: string } and bar being { baz: number } as this will result in the output type being  { baz: never } (seems string & number is never).
I've made a PR that much better types this library by breaking down how the merge actually happens. I've also made another PR to convert this project to TypeScript but it's been stale for awhile. I've released my own TypeScript version of this library in the meantime that has fully type support, even for custom merging. The type definitions for the library are actually longer than the actual implementation code.


Add imap support

Could add php-imap support?

Hi!
Please tell me if I'm wrong, but I do not see any of the current and previous php formulae with imap support. Therefore, we won't add support for more extensions, as we only maintain the one currently available.
Sorry.


Export helper functions in abacus-usage-reporting

Signed-off-by: Adriana Stefanova<EMAIL_ADDRESS>

Coverage increased (+0.07%) to 90.877% when pulling 1adc0562dcebdb80f62a93be8fb797a5c8635eb0 on SAP:metering-hub into ff87a49aa2ac717a0f7a11a46437db3295afa569 on cloudfoundry-incubator:master.


Disconsider phedex group for input data existence check

Fixes #9484
Status
not-tested
Description
During the MSTransferor input data placement, we first check for data existence such that we don't need to subscribe all the input. With this patch, the input data don't need to be necessarily subscribed under DataOps.
Usual input data placement made by MSTransferor will keep subscribing data under DataOps though, that remains untouched.
Is it backward compatible (if not, which system it affects?)
yes
Related PRs
none
External dependencies / deployment changes
none

@vkuznet @todor-ivanov another simple change that affects microservices. Could you please have a look at it? Tests went fine in my VM.

test this please


force matplotlib backend to Agg

When visualized some parameters using tensorlayer in Ubuntu server,  I met an error:
_tkinter.TclError: no display name and no $DISPLAY environment variable
It seems that the error was raised by matplotlib, which use an x-using backend by default. So I force matplotlib using Agg as backend, and then the error was fixed. Some discussions can be found in StackOverflow
Please review this change. Thanks!

Did it work well, under other OS like mac?

@wagamamaz  Thank you for your replay! Sorry I haven't read the document carefully. I just found that force backend to Agg will make figures not display on screen, so it is better not to do this.

Em... I find another way to fix this problem:
adding
import matplotlib matplotlib.use('Agg')
before
import tensorlayer as tl
in our own script instead of tensorlayer's visualize.py.
Maybe this workaround can be shown as a hint in the document. :D