text:
Améliorer la prise en charge des navigateurs où le JavaScript est désactivé

Ce formulaire fonctionne exclusivement avec JavaScript. Si aucune alternative pour le faire fonctionner sans cette technologie est possible, on peut tout de même améliorer le site pour les utilisateur·rice·s n'ayant pas JavaScript d'activé ou ayant des problèmes pour le chargement du script.
Par exemple, en utilisant des balises  pour informer l'utilisateur·rice que ce site web n'est pas utilisable sur son navigateur.
Un autre problème concerne le formulaire en lui même. Si le JavaScript est désactivé, les données personnelles de l'utilisateur·rice sont transmises au serveur. En effet, le formulaire HTML est paramétré pour envoyer les données en paramètres GET. On se retrouve avec une url de ce type :
http://localhost:1234/index.html?firstname=Test&lastname=Test&birthday=01%2F01%2F1970&lieunaissance=Lyon&address=999+avenue+de+france&town=Paris&zipcode=75001&field-reason=sport&datesortie=2020-04-07&heure=12%3A05

On pourrait imaginer que le formulaire ne s'affiche carrément pas si le JavaScript n'est pas activé.

Très bon point pour l'envoie du formulaire !

Tout simplement on ajoute avant le

/!\ Le javascript doit être activé pour générer l'attestation /!\

Bonjour, je viens de faire une PR (#17) pour afficher un message d'avertissement renvoyant aux instructions permettant d'activer JavaScript dans le navigateur de l'utilisateur dans le cas-où celui-ci serait désactivé.
Je pense que cela permettra à plus de français d'utiliser le générateur.

Bonjour, Merci pour votre proposition. Nous la retenons et allons l'utiliser.

Ne faudrait-il pas aussi enlever la balise  et l'ajouter par javascript ?

Ne faudrait-il pas aussi enlever la balise
et l'ajouter par javascript ?

de quelle balise parles-tu ? Dans tous les cas, il est préférable de passer par un display: none qui évite les ajouts et suppressions du DOM qui, eux, prennent plus de temps.
C'est ce que j'ai utilisé ici.

Bonjour, je viens de faire une PR (#17) pour afficher un message d'avertissement renvoyant aux instructions permettant d'activer JavaScript dans le navigateur de l'utilisateur dans le cas-où celui-ci serait désactivé.

Bonjour, Merci pour votre proposition. Nous la retenons et allons l'utiliser.

Super 😄

de quelle balise parles-tu ? Dans tous les cas, il est préférable de passer par un display: none qui évite les ajouts et suppressions du DOM qui, eux, prennent plus de temps.
C'est ce que j'ai utilisé ici.

Je n'ai que survolé rapidement la PR. Si j'ai bien compris, elle ajoute un bandeau en haut pour avertir, mais laisse le formulaire en dessous. Donc quelqu'un qui n'a pas le javascript activé peut toujours envoyer le formulaire (clic sur le bouton ou touche entrée dans un champs).
Je me trompe peut être, comme dit que j'ai que survolé le commit.
La solution que je préconise en pareil cas, c'est de retirer la balise  du fichier html. Et c'est le javascript qui transformera une balise div en form, ou qui ajoutera une balise form autour d'une div. Pas de balise form => pas de submit.
Une autre solution : enlever uniquement le bouton submit.

Oh ! je viens de comprendre l'ambiguité... J'avais mis les chevron autour de 'form', et github ne l'a pas échappé... J'édite le message plus haut.

Du coup par défaut le formulaire n'est pas affiché (présent mais invisible) et le code JavaScript l'affichage dès le chargement de la page. Du coup, si la personne n'a pas JavaScript, le formulaire reste invisible.

Bonjour, Les améliorations ont été apportées en tenant compte de vos recommandations @BlueskyFR. Je clos cet issue. Merci.

authors: BlueskyFR DavidLibeau JohnXLivingston babache infosteph


text:
improve Editor UX for selecting optional resource class

current UX:

-"main" class is highlighted (user is not allowed to change this)
-optional classes are blank, user can click on them to select, and then they turn green, and the "main" class turns green too. but on Windows, the items don't turn green (they turn blue?)
-it's not obvious to the user what to do;  the UX is not self-explanatory, especially given nothing else in the template works like it does
one idea is to just display the "main" class as text, like we do on templates where there are no optional classes, and then have the dropdown just for the optional classes.

yes that is clear and more in keeping with the UI in general. And it would be nice if we could make one subclass a default, but I'm creating a separate ticket for that per Michelle's instructions.

source: gharchive/issue

authors: NancyL justinlittman michelleif

license_type: permissive

license_source: github-api


text:
ModuleNotFound Error

Error when trying to run TwinCons.py on a windows computer
code ran in consel
python TwinCons.py -h
Error Received
Traceback (most recent call last):
File ".\TwinCons-master\twincons\TwinCons.py", line 3, in
import re, os, csv, sys, Bio.Align, argparse, math, matplotlib, ntpath
ModuleNotFoundError: No module named 'Bio

Please install all package requirements for the program to run.
They are listed in requirements.txt.
You can install them all running
pip install -r requirements.txt

authors: petaripenev tjmier

repo: LDWLab/TwinCons

license: MIT


text:
是否支持仅擦除图片上的笔迹标注

问题描述 (Description of the problem)

canvas中上传图片，在图片上做些标注，但是利用板擦擦除的时候，会同事擦除图片的内容。能否支持板擦仅擦除图片上的笔迹标注内容
如何复现该问题 (How to reproduce the problem)

操作系统和浏览器信息 (Operating System and Browser Information)
Microsoft Windows [版本 10.0.22631.4460]

好建议, 已经支持了, 在最新版你可以 选择 Tab 下进行配置 @betsylotus

authors: LHRUN betsylotus

repo: LHRUN/paint-board


text:
Missing saveSigningCondition function?

**Before reporting, I have already ***

checked LIT Protocol developer docs and/or the lit-js-sdk.
searched for other open issues.

Describe the bug
Currently I'm working with lit-js-sdk which I gather is v1 and wanted to check out v2 since the v1 will be deprecated sooner than later. In doing so, I can't seem to find the saveSigningCondition which is required for the JWT auth path.
1. Why do I need to call saveSigningCondition() before getSignedToken()? Shouldn’t the former just return a JWT?

The reason behind this separation is that saveSigningCondition() is a function that an admin/developer of a website will most likely call only once to set up the token-gating mechanism. The function getSignedToken() can then be called for every website visitor. You can view this as a 1-to-many relationship.

I do see a commit https://github.com/LIT-Protocol/js-sdk/commit/c262f044b5ea5a5e02fcf07eded5af2683d2fb54 adding it but I can't seem to find it now? (I'm still a newb at github it seems) but I'm pretty sure it's because packages/utils/src/lib/litNodeClient.ts doesn't exist on master anymore?
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
packages/utils/src/lib/litNodeClient.ts might need to be added back to master?
Screenshots
If applicable, add screenshots to help explain your problem.
Environment:

Lit SDK version (including the network (ie, "serrano") if different, and type - browser or backend)
Node version
Framework (React, Vue, Angular, Svelte - just Plain HTML!, etc)
Specific tooling (Webpack, Vite, browserify, etc)

Additional info
Add any other context about the problem here.

Hey, it's here packages/lit-node-client/src/lib/lit-node-client.ts and not in packages/utils
https://github.com/LIT-Protocol/js-sdk/blob/master/packages/lit-node-client/src/lib/lit-node-client.ts#L1814
It should be working for you if you try to use it.  Are you still having issues?

I'm closing this thread, if not please let me know if you are still having issues

authors: Ansonhkg anthonyra glitch003

repo: LIT-Protocol/js-sdk


text:
Hwrdtm/datil dev support

Description
Work towards LIT-3404.
This PR:

Implements changes to support datil-dev as a Lit network, both in the core packages and also in the local-tests (Tinny). More importantly, this PR is INCOMPLETE ⚠ ⚠ ⚠. It currently uses a hack to load in the network context for running against Datil-dev.

Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] This change requires a documentation update

How Has This Been Tested?
Run DEBUG=true NETWORK=localchain LIT_RPC_URL=https://vesuvius-rpc.litprotocol.com yarn test:local to run against Datil-dev.
Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

Datil Dev Network Context
networkContext.datilDev.json

For now, I'm going to delegate this task to someone else and they can pick up on the PR where I've left off.

source: gharchive/pull-request


text:
Updated Docker run configurations

Now, the docker runs properly. It also does not need any volume.
Updated the README accordingly.

The cleanup branch is overtaking this PR. Closing it now.

repo: LLNL/CcNav


text:
Unable to run leap after manual DLL install

I used the manual install method (i.e. copying the libleapct.dll file instead of compiling the source) as instructed in the manual_install.py. I am unable to run any of the demo scripts after manual installation. I have confirmed that the files, leapctype.py, leaptorch.py, leap_filter_sequence.py, leap_preprocessing_algorithms.py, and libleapct.dll are properly copied to my Python's virtual environment path after running the  manual_install.py script:
System info:
Windows 10 x64
Python 3.11.9
Below are my steps to repeat:
PS C:\test_LEAP_issue\LEAP-1.14> python .\manual_install.py
Copying LEAP-CT files to: C:\temp_python_venv\venv_test_leap\Lib\site-packages

PS C:\test_LEAP_issue\LEAP-1.14> ls "C:\temp_python_venv\venv_test_leap\Lib\site-packages"

    Directory: C:\temp_python_venv\venv_test_leap\Lib\site-packages

Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
d-----         6/17/2024  10:34 AM                pip
d-----         6/17/2024  10:32 AM                pip-24.0.dist-info
d-----         6/17/2024  10:32 AM                pkg_resources
d-----         6/17/2024  10:32 AM                wheel
d-----         6/17/2024  10:32 AM                wheel-0.43.0.dist-info
d-----         6/17/2024  10:33 AM                _distutils_hack
d-----         6/17/2024  10:33 AM                __pycache__
-a----         6/17/2024  10:39 AM         298374 leapctype.py
-a----         6/17/2024  10:39 AM          20989 leaptorch.py
-a----         6/17/2024  10:39 AM          28282 leap_filter_sequence.py
-a----         6/17/2024  10:39 AM          26081 leap_preprocessing_algorithms.py
-a----         6/17/2024  10:39 AM        9271808 libleapct.dll
-a----         6/17/2024  10:32 AM              0 pip-24.0.virtualenv
-a----         6/17/2024  10:32 AM              0 setuptools-69.5.1.virtualenv
-a----         6/17/2024  10:32 AM             18 _virtualenv.pth
-a----         6/17/2024  10:32 AM           4546 _virtualenv.py

PS C:\test_LEAP_issue\LEAP-1.14> pip list
Package    Version
---------- -------
pip        24.0
setuptools 69.5.1
wheel      0.43.0

PS C:\test_LEAP_issue\LEAP-1.14\demo_leapctype> python .\d01_standard_geometries.py
  File "C:\temp_python_venv\venv_test_leap\Lib\site-packages\leapctype.py", line 124, in __init__
    self.libprojectors = windll.LoadLibrary(fullPath)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\username\AppData\Local\Programs\Python\Python311\Lib\ctypes\__init__.py", line 454, in LoadLibrary
    return self._dlltype(name)
           ^^^^^^^^^^^^^^^^^^^
  File "C:\Users\username\AppData\Local\Programs\Python\Python311\Lib\ctypes\__init__.py", line 376, in __init__
    self._handle = _dlopen(self._name, mode)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: Could not find module 'C:\temp_python_venv\venv_test_leap\Lib\site-packages\libleapct.dll' (or one of its dependencies). Try using the full path with constructor syntax.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\test_LEAP_issue\LEAP-1.14\demo_leapctype\d01_standard_geometries.py", line 6, in <module>
    leapct = tomographicModels()
             ^^^^^^^^^^^^^^^^^^^
  File "C:\temp_python_venv\venv_test_leap\Lib\site-packages\leapctype.py", line 126, in __init__
    self.libprojectors = ctypes.CDLL(fullPath, winmode=0)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\username\AppData\Local\Programs\Python\Python311\Lib\ctypes\__init__.py", line 376, in __init__
    self._handle = _dlopen(self._name, mode)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: Could not find module 'C:\temp_python_venv\venv_test_leap\Lib\site-packages\libleapct.dll' (or one of its dependencies). Try using the full path with constructor syntax.

Have you installed the CUDA toolkit?

Have you installed the CUDA toolkit?
No, my PC doesn't have NVIDA CPU. Doesn't the DLL support CPU only?

Ahh, yes, there is the problem.  The precompiled dll that I post requires the cuda libraries.  Can you compile the code yourself?  The instructions are here.
If you cannot compile this yourself, I could build you a library that does not require cuda, but you'll have to wait for me to do this until the weekend.  Compiling yourself is pretty easy.

I am not sure how to build without GPU. The instructions says:All you need to do here is swap the CMake file. Rename cpu_CMakeLists.txt to CMakeLists.txt. . But there is no cpu_CMakeLists.txt file in the repo.

It’s in the src folder.

Did you see the file in the src folder?  Were you able to compile?

Did you see the file in the src folder? Were you able to compile?

Yes, I see it in src folder. I haven’t built yet. Will report back once I try.

I was able to build without GPU and got the demo scripts to work. It would be great if the releases included pre-built DLL for use without GPU. Or the existing built DLL handled situations where a user does not have a GPU.

Glad it worked!
We are definitely interested in making the build process easier, but this type of thing is not really in my skill set.  I am hoping someone from the LEAP user community will step up and help us out with this.
I am going to close this issue, but feel free to open another one if you have further issues.

repo: LLNL/LEAP


text:
Compiler error when Axom is built with ENABLE_CUDA=OFF, but a dependent is built with CUDA on

I have ENABLE_CUDA=ON for CAMP, Umpire, and RAJA. I set ENABLE_CUDA=OFF in Axom, as well as in several other libraries that use Axom (mainly I need to turn CUDA off in spheral since there are build issues there). However, in our application, we do set ENABLE_CUDA=ON and I get a compiler error:
include/axom/core/ArrayBase.hpp(886): error: namespace "axom" has no member "CUDA_EXEC"

I believe there were also build errors coming from Axom headers when I enabled CUDA in Axom, but disabled CUDA in a library that depends on Axom.
It looks like there is a lot of inconsistency in which macros are used for determining when CUDA should be used (AXOM_USE_UMPIRE, AXOM_USE_RAJA, AXOM_USE_CUDA, AXOM_GPUCC). Perhaps the strategy for which should be used needs to be revisited.

Hi Alan, I looked at ArrayBase.hpp and I believe switching from #if defined(AXOM_GPUCC) to #if defined(AXOM_USE_RAJA) && defined(AXOM_USE_CUDA) should fix your first issue with CUDA enabled for the application, but disabled for Axom.
With regard to the second case of CUDA enabled for Axom, but disabled for a dependent library, what are the errors you're seeing? I think with this case, we need to be careful not to introduce ABI incompatibilities as a result of differing defines between the Axom build environment and the dependent library's build environment. Thoughts @white238 ?

I attempted using #if defined(AXOM_USE_CUDA) to fix the case where CUDA is disabled in Axom but enabled for the application, but now I'm running into a different error:
include/axom/core/ArrayBase.hpp(1286): error: incomplete type is not allowed
          detected during:
            instantiation of "void axom::detail::ArrayOps<T, axom::MemorySpace::Dynamic>::destroy(T *, axom::IndexType, axom::IndexType, int) [with T=axom::IndexType]"
include/axom/core/Array.hpp(1040): here
            instantiation of "void axom::Array<T, DIM, SPACE>::clear() [with T=axom::IndexType, DIM=1, SPACE=axom::MemorySpace::Dynamic]"
include/axom/core/Array.hpp(1007): here
            instantiation of "axom::Array<T, DIM, SPACE>::~Array() [with T=axom::IndexType, DIM=1, SPACE=axom::MemorySpace::Dynamic]"
include/axom/core/Array.hpp(810): here
            instantiation of "axom::Array<T, DIM, SPACE>::Array() [with T=axom::IndexType, DIM=1, SPACE=axom::MemorySpace::Dynamic]"
include/axom/sidre/core/Array.hpp(377): here
            instantiation of "axom::sidre::Array<T, DIM>::Array(axom::sidre::View *) [with T=axom::IndexType, DIM=1, SFINAE=1, <unnamed>=(void *)nullptr]"
/usr/tce/packages/gcc/gcc-8.3.1/rh/usr/lib/gcc/ppc64le-redhat-linux/8/../../../../include/c++/8/bits/unique_ptr.h(831): here
            instantiation of "std::_MakeUniq<_Tp>::__single_object std::make_unique<_Tp,_Args...>(_Args &&...) [with _Tp=axom::sidre::Array<axom::IndexType, 1>, _Args=<axom::sidre::View *&>]"
include/axom/mint/mesh/internal/ConnectivityArrayHelpers.hpp(117): here

This is the error with CUDA enabled in Axom, but CUDA is off in a library that depends on Axom:
In file included from tribol/src/tribol/search/InterfacePairFinder.cpp:23:
In file included from include/axom/spin.hpp:12:
In file included from include/axom/spin/BVH.hpp:23:
In file included from include/axom/spin/policy/LinearBVH.hpp:21:
In file included from include/axom/spin/internal/linear_bvh/build_radix_tree.hpp:36:
In file included from /usr/tce/packages/cuda/cuda-11.7.0/include/cub/device/device_radix_sort.cuh:40:
In file included from /usr/tce/packages/cuda/cuda-11.7.0/include/cub/device/dispatch/dispatch_radix_sort.cuh:40:
In file included from /usr/tce/packages/cuda/cuda-11.7.0/include/cub/device/dispatch/../../agent/agent_radix_sort_histogram.cuh:37:
In file included from /usr/tce/packages/cuda/cuda-11.7.0/include/cub/device/dispatch/../../agent/../block/block_load.cuh:39:
In file included from /usr/tce/packages/cuda/cuda-11.7.0/include/cub/device/dispatch/../../agent/../block/../block/block_exchange.cuh:37:
/usr/tce/packages/cuda/cuda-11.7.0/include/cub/device/dispatch/../../agent/../block/../util_ptx.cuh:229:5: error: use of undeclared identifier '__syncthreads'
    __syncthreads();
    ^

Eventually the goal is to turn on CUDA in that library, but right now there are other issues with turning on CUDA in that library.

@adayton1 Is your intent here to enable CUDA in RAJA, Umpire, etc. but disable CUDA in Axom and anything that depends on Axom?  If so, then I think we want to make CUDA, HIP, etc. CMake dependent options in Axom. Then, you do ENABLE_CUDA=On for things in which you want CUDA enabled, and you do AXOM_ENABLE_CUDA=Off for Axom and things that depend on Axom. That is not currently supported in Axom, but it seems useful. We do that in RAJA, Umpire, etc. to support similar build scenarios.
@white238 @kennyweiss @davidbeckingsale what are your thoughts?

That's a reasonable option. The other would be to carefully guard stuff in Axom such that a CUDA build of Axom can be included and used in a non-CUDA project - we do this in RAJA with a RAJA_CUDA_ACTIVE macro guard.

It's not clear to me which path is easier to maintain. As macros and their use gets more intricate, it seems likely to increase confusion and incorrect usage.

The CMake dependent option is definitely easier to maintain.

Just wanted to provide an update. Changing AXOM_GPUCC to AXOM_USE_CUDA in ArrayBase.hpp allowed me to turn CUDA off in Axom and still build my application with CUDA on.

repo: LLNL/axom


text:
Benchpark tags

Benchpark list in the docs currently shows all Ramble experiments.  Should only be Benchpark experiments.
Add tags to Benchpark application.py (derive from Ramble if needed).
Add tags to Benchpark experiments (cuda, etc.)

Closed by #484

repo: LLNL/benchpark


text:
Sorting out boundary conditions

The enumeration BoundaryType is now independent, applicable to all problems.

BoundaryType::ZERO is reserved for zero Dirichlet boundary condition.

MultiBlockSolver has Array<BoundaryType> bdr_type, indicating boundary types for all global boundary attributes.
MultiBlockSolver::SetParameterizedProblem specifies bdr_type according to problem. Executed in all derived classes.
All physics solvers' SetupBCOperator now supports various boundary conditions depending on Dirichlet/Neumann boundary types, specified by member variable bdr_type.
MultiBlockSolver::BCExistsOnBdr still behaves the same as before, returning whether a boundary condition is specified.

This needs some modifications for the linear elasticity parameterized problem to work.
Can we add a ZERO_NEUMANN type? I think that would be nice.

repo: LLNL/scaleupROM


text:
[Source Request] MTLSQUAD

Source name
MTLSQUAD
Source link
https://mtlsquad.com/novel/
Language
English
Other details
Good alternative for mtlnation. Most faloo novel (MTL) I only found in ReadWn and mtlnation, some of them can be found in this source
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
[X] I have written a title with source name.
[X] I have checked that the extension does not already exist by searching the GitHub repository and verified it does not appear in the code base.
[X] I will fill out all of the requested information in this form.

Site seems to be down

authors: nyagami seizue

repo: LNReader/lnreader-plugins


text:
HMIP-WTH-1

Hello, I recently purchased an hmip-wth-1. Unfortunately, this thermostat is not yet implemented in the homematic app. I would be happy if you would do that in the near future
Best regards
Lothar

The same for me, i have also purchased an hmip wth-1, which is the succesor of wth-2 and would also like to be able to see it in Homey. Do not know why Homematic/EQ-3 named it wth-1, but it is really the succesor.

repo: LRuesink-WebArray/homey-matic


text:
[Unshared] Remove button doesn't work

Nothing happens on pressing Remove button.
Perform investigation and fix the issue

What remove button you mean, on saved plan tab or on shared resource plan?
How I can reproduce this issue?

08/12 - 4

08/08 - 4h

authors: Olgaivchenko konstantin-orekhov

repo: LSCOIT/LegalNavigator


text:
Shaders fail to compile with empty error log

I am currently developing a game using LWJGL and OpenGL. My main development and target are windows but I also would like support for m1 and other arm devices. My program runs fine on windows, however, on my m1 MacBook pro the shaders fail to compile. I am not sure if this is an LWJGL library problem, a macOS OpenGL problem or I am just missing something.
lwjgl debug jar says: "[error][1] Shader [0] did not compile successfully:"
and GL20.glGetShaderInfoLog(id) also returns an empty string.
I am using these GLFW hints also
glfwWindowHint(GLFW_OPENGL_FORWARD_COMPAT, GL_TRUE);
glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 4);
glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 1);
glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE);

Environment

LWJGL version: 3.3.0-SNAPSHOT
LWJGL build #: 11
Java version: 16
Platform: macOS (arm M1)

vert:
#version 410 core

layout(location = 0) in vec3 inPosition;
layout(location = 1) in vec2 inTextureCoordinate;
layout(location = 2) in float inBasicLight;

out vec2 textureCoordinate;
out float basicLight;

uniform int frameCount;
uniform mat4 mvp;

void main() {
    textureCoordinate = inTextureCoordinate;
    basicLight = inBasicLight;
    gl_Position = mvp * vec4(inPosition, 1.0);
}

frag:
#version 410 core

layout(location = 0) in vec2 textureCoordinate;
layout(location = 1) in float basicLight;

out vec4 fragColor;

uniform sampler2D texImage;

void main() {
    fragColor = basicLight * texture(texImage, textureCoordinate);
}

Any help or insight into why this is happening would be greatly appreciated. Thank you

The interface declaration between your vertex and fragment shader are not strictly correct according to GLSL spec.
You use explicit layout location qualifiers on the fragment shader inputs while not declaring the appropriate matching layout location qualifiers on the vertex shader outputs. So, GLSL is not sure whether it should match by name (the default) or by layout location qualifiers.
See also https://www.khronos.org/opengl/wiki/Shader_Compilation#Interface_matching for a description of the shader interface matching:

For loose variables, an output matches with an input if:

The two variables represent the same interface. This is determined by checking the following, in order (the first overrides the second):

If both of the variables are given a layout(location) setting that is equivalent.
If both variables have the same name (and neither variable has a layout(location) qualifier).

So, either remove the layout location qualifiers on your vertex shader output variables (which is what people usually do when using OpenGL GLSL); or assign corresponding layout location qualifiers on the fragment shader inputs.

Oh right, my bad I will remove them from the fragment shader. However, the problem still stands. There is no shader error code or message or I really don't even know where to look. The shaders work fine on my windows 10 machine.

I have done several projects with OpenGL that attempted to target MacOS. You will find a variety of issues that pertain to how MacOS has implemented OpenGL.  With their latest M1 chips they have deprecated OpenGL support. I know it is a LOT of work, but I would recommend building a second backend in Metal for your application. If possible you could use the LWJGL bindings for BGFX which would give you multiple backend rendering options for different platforms. Otherwise you are going to be fighting MacOS and its poor OpenGL support for a very long time.

With their latest M1 chips they have deprecated OpenGL support. I know it is a LOT of work, but I would recommend building a second backend in Metal for your application.
According to this blog, OpenGL still works on M1 macs (and also OpenGL wasn't deprecated on these new macs, but back in 2017 iirc). Apple removing things out of the blue is not uncommon, but currently OpenGL is still a usable API.

Just for future reference, this was not solved, I have switched to Vulkan for rendering and I could not get M1 to compile OpenGL shaders.

@TrevorCow that may be, but this question is out-of-scope/off-topic for LWJGL, since LWJGL does not control the platform's OpenGL driver. The reason why those shaders won't work on macOS is unrelated to LWJGL.

authors: SWinxy TrevorCow httpdigest tlf30

license_source: bigquery


text:
Question

Thank you for your great work.
I found an issue when use the code. My error is "PTB tokenize error: expected 25000 lines in output file but found 25090." There should be 25000 references, I have no idea what this 25090 is.
What might be the potential problem of this ?

Hi! Thanks for reporting this! This error can be caused by a special character like newline '\n' in your one of the sentences, but I cannot be sure without the actual data.

Thank you so much? This is a good point, and it solves my problem properly.

Hi! Thanks for reporting this! This error can be caused by a special character like newline '\n' in your one of the sentences, but I cannot be sure without the actual data.

authors: Labbeti heliossun

repo: Labbeti/aac-metrics


text:
not usable with yarn currently

When using yarn install you get a lot of warnings
yarn install v1.22.22
info No lockfile found.
[1/4] Resolving packages...
warning @astrojs/netlify > @vercel/nft > glob@7.2.3: Glob versions prior to v9 are no longer supported
warning @astrojs/netlify > @vercel/nft > @mapbox/node-pre-gyp > npmlog@5.0.1: This package is no longer supported.
warning @astrojs/netlify > @vercel/nft > @mapbox/node-pre-gyp > rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
warning @astrojs/netlify > @vercel/nft > @mapbox/node-pre-gyp > rimraf > glob@7.2.3: Glob versions prior to v9 are no longer supported
warning @astrojs/netlify > @vercel/nft > glob > inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
warning @astrojs/netlify > @vercel/nft > @mapbox/node-pre-gyp > npmlog > gauge@3.0.2: This package is no longer supported.
warning @astrojs/netlify > @vercel/nft > @mapbox/node-pre-gyp > npmlog > are-we-there-yet@2.0.0: This package is no longer supported.
[2/4] Fetching packages...
warning astro@4.16.6: The engine "pnpm" appears to be invalid.
[3/4] Linking dependencies...
warning "@astrojs/solid-js > vite-plugin-solid@2.10.2" has unmet peer dependency "vite@^3.0.0 || ^4.0.0 || ^5.0.0".
warning " > @astrojs/svelte@5.7.2" has unmet peer dependency "typescript@^5.3.3".
warning "@astrojs/svelte > svelte2tsx@0.7.22" has unmet peer dependency "typescript@^4.9.4 || ^5.0.0".
warning "@astrojs/svelte > @sveltejs/vite-plugin-svelte@3.1.2" has unmet peer dependency "vite@^5.0.0".
warning "@astrojs/svelte > @sveltejs/vite-plugin-svelte > @sveltejs/vite-plugin-svelte-inspector@2.1.0" has unmet peer dependency "vite@^5.0.0".
warning "astro > zod-to-ts@1.2.0" has unmet peer dependency "typescript@^4.9.4 || ^5.0.2".
warning " > autoprefixer@10.4.20" has unmet peer dependency "postcss@^8.1.0".
warning "@unocss/astro > @unocss/vite@0.63.4" has unmet peer dependency "vite@^2.9.0 || ^3.0.0-0 || ^4.0.0 || ^5.0.0-0".
warning " > @unocss/postcss@0.63.4" has unmet peer dependency "postcss@^8.4.21".
warning Workspaces can only be enabled in private projects.

and when running yarn run dev (astro dev) you get
Cannot find package 'typescript' imported from C:\Users\leona\Documents\astro-bento-portfolio\node_modules\zod-to-ts\dist\index.js
  Stack trace:
    at packageResolve (node:internal/modules/esm/resolve:839:9)
    at defaultResolve (node:internal/modules/esm/resolve:1038:11)
    at ModuleLoader.resolve (node:internal/modules/esm/loader:525:25)
    at ModuleJob._link (node:internal/modules/esm/module_job:126:49)
error Command failed with exit code 1.

after manually running yarn add typescript --dev I still got
Astro detected an unhandled rejection.
somewhere in svelte
it is not usable like this, sorry

I should have added a missing dependency, try getting the last commit, delete the pnpm lock and running yarn again

authors: Ladvace leotulipan

repo: Ladvace/astro-bento-portfolio


text:
Feature/seung hwa lee

동네 맛집 추가했습니다.

이거 왜 close 되었죠?ㅠㅠ

reopen 해주시면 merge 할게요ㅠㅠ

authors: Laeyoung LeeSHwa

repo: Laeyoung/git-workflow-study


text:
Feature/database setup

Description
Fixes #4
Type of change

[x] Bug fix (non-breaking change which fixes an issue)

Change Status

[x] Complete, tested, ready to review and merge
[ ] Complete, but not tested (may need new tests)
[ ] Incomplete/work-in-progress, PR is for discussion/feedback

How Has This Been Tested?
Will be tested on Aaron's Windows PC using GitBash & Patrick's Mac.

[ ] Aaron's PC using GitBash
[ ] Patrick's Mac

Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] My code has been reviewed by at least one peer
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[x] There are no merge conflicts

I've overhauled the script into an entirely new monster...
Working great on my PC. Needs to be reviewed and tested on other machines.
Example output:
$ ./postgres-docker.bash
POSTGRES_CONNECTION_STRING:     postgres://neighborhoodchef:J4mb4l4y4!@localhost:5432/neighborhoodchef_dev

POSTGRES_USER:                  neighborhoodchef
POSTGRES_PASSWORD:              J4mb4l4y4!

POSTGRES_DATA_PATH:             docker/database/
POSTGRES_INIT_SCRIPTS_PATH:     docker/scripts/
POSTGRES_DATABASE:              neighborhoodchef_dev
POSTGRES_PORT:                  5432

Populating Init Scripts...
Directory exists for:           DB Init Scripts
Directory exists for:           Data

PostgreSQL Docker container already running as: 4a5a3bb6f512
Stopping container...
Removing container...

Running PostgreSQL Docker container...
06c50fbf2bed9a7c313fa0856f7ceebf04aee0f3c70859ef0896c4d9a6913106

Running Init Scripts...

Running Query File: 01_CreateUser.sql
psql postgres://neighborhoodchef:J4mb4l4y4!@localhost:5432/postgres -f "./docker/scripts/01_CreateUser.sql"

Running Query File: 02_CreateDatabase.sql
psql postgres://neighborhoodchef:J4mb4l4y4!@localhost:5432/postgres -f "./docker/scripts/02_CreateDatabase.sql"

Running Query File: 03_GrantPrivileges.sql
psql postgres://neighborhoodchef:J4mb4l4y4!@localhost:5432/postgres -f "./docker/scripts/03_GrantPrivileges.sql"

Migrating database to latest schema...
Using environment: development
Already up to date

Populating seed data...
Using environment: development
Ran 6 seed files

Got it working on @patrick-replogle 's Mac... He will complete his review tomorrow.

repo: Lambda-School-Labs/neighborhood-chef-be


text:
User authentication

Description
Fixes # (issue)
Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Change Status

[x] Complete, tested, ready to review and merge
[ ] Complete, but not tested (may need new tests)
[ ] Incomplete/work-in-progress, PR is for discussion/feedback

How Has This Been Tested?

[ ] Test A
[ ] Test B

Checklist

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] My code has been reviewed by at least one peer
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[] There are no merge conflicts

Looks good

authors: darrenjcarrillo sage-jordan


text:
Assignment One - I wrote and called a function, answered questions in…

… assignment.

Starting over from the beginning of class. I do not understand anything I have done.


text:
If no destination_folder specified, it creates one as "no name" and truncates the first character of the filename

I have a storage container named "testdata" and in my project I have a folder called "TestData" with an Excel File (test.xlsx). I want the test.xlsx file to go in the "root" of the "testdata" container. So I omitted the "destination_folder".
I used this:
    - name: Copy test data to blob storage container
      uses: LanceMcCarthy/Action-AzureBlobUpload@v1.4
      with:
        connection_string: XXX
        container_name: testdata
        source_folder: '${{ env.AZURE_WEBAPP_PACKAGE_PATH }}/TestAPI/TestData'
        clean_destination_folder: true
        fail_if_source_empty: true

It ended up creating a folder that shows as
<no name>
and creates the "test.xlsx" file as "est.xlsx", with the initial "t" missing.
I also tried using:
destination_folder: /
but that does the same thing.

Interesting, thanks for the thorough report. I'll work on this next.

What runner are you using? (i.e. 'runs-on')

I fixed the issue with the trimmed file name and merged it into Main https://github.com/LanceMcCarthy/Action-AzureBlobUpload/pull/19. I will release this fix in v.1.5 tonight.
The 'no folder' issue seems to be something with the underlying AzureBlob SDK. I have opened a new issue to keep track of that. https://github.com/LanceMcCarthy/Action-AzureBlobUpload/issues/20

authors: LanceMcCarthy jdenicola-pa

repo: LanceMcCarthy/Action-AzureBlobUpload


text:
included LENSES_KAFKA_CONNECT_CLUSTER to NEEDNOQUOTE

This change is

this extends: fix/2.3_new_vars

repo: Landoop/fast-data-dev


text:
Export Excel Feature?

Would it also be possible to export an Excel sheet?

Not yet

The function of modifying data has been added, and this function will be added later.

Sick! Great addon!


text:
Added missing fields, some minor changes to the translation

Some fields were missing from the romanian translation and some were incorrectly ordered. I added the missing ones, fixed some minor errors and added formatted it so that it's easy to read/edit :)

Thank you @niladam ! I know this kind of work isn't "glamorous", but it's so so useful. Thank you for the PR!

authors: niladam tabacitu

repo: Laravel-Backpack/CRUD


text:
Added Chinese translations

Hello,
This PR implements the Chinese (Traditional) translation.
If everything goes well, we can machine translate it to Chinese (Simplified) and verify manually if needed.
By the way, the following way of putting this altogether does not fit the Chinese grammar very well -- I wonder if we can change the way it is formatted in the next release? (Probably need collaboration from other translators as well)
{{ trans('backpack::crud.all') }} {{ $crud->entity_name_plural }} {{ trans('backpack::crud.in_the_database') }}.

Again, thanks for your hard work!

This is great, thank you! Merged, will be included in the next release.
How do you propose we change the formatting? I see the one above is exactly the one in the package.

  {{ trans('backpack::crud.all') }}
  {{ $crud->entity_name_plural }}
  {{ trans('backpack::crud.in_the_database') }}.

Cheers!

authors: isaackwan tabacitu


text:
Make generated code cleaner

I think it is better to strip comment inside generated code since it already explained in docs. Also generated code are not PSR2 compliant. I can submit pull request if this suggestion approved

Hi @praswicaksono , thanks for asking!
You're referring to the comments from the CrudController, right? I personally find the comments useful, since the documentation is not yet as clear as I had wanted and the IDE autocomplete is still fuzzy. It helps me do 90% of what I need without getting out of the controller file. This makes it a lot faster to write admin panels. After I finish it, I delete all the commented code.
I expect the autocomplete/codeintel to work a lot better after this update, though, so I'd postpone eliminating the comments until then.
But if there's a majority thinking the way you do, sure, we delete them. Let's wait for more people to pitch in, see what they think.
Cheers!

I was thinking about this the other day, and had an idea I wanted to implement, but wasn't going to bother unless it was gonna get merged lol.
My idea was something along the lines of
php artisan backpack:generate --exclude-comments
php artisan backpack:generate --include-comments
This would write to a config like file, setting the defaults for your generator commands.
Then additionally if you ran a command like
php artisan backpack:generate CrudController --exclude-comments
It would do it on per command basis.
As I've got familiar with the system, I now get annoyed by these extra comments haha.
If you'd be willing to try something out like that I can give it a whirl!?

@tabacitu Im sure intelligent IDE will detect autocompletion if you hinted $crud property with right object.
https://github.com/Laravel-Backpack/CRUD/blob/master/src/app/Http/Controllers/CrudController.php#L25
add phpdocs to property
/**
* @var CrudPanel
*/
public $crud;

Intelligent IDE should able detect auto completion.

As I mentioned in this issue you can solve this problem by using AST-based code generation instead of file templates.

Hi guys,
The plan right now is to make generators smarter first:

models to have relationships, $fillable attributes, etc;
form requests to have some sensible defaults (ex: required for not null columns);

Then we'll start generating Backpack code in the controller instead of using setFromDb().
Then I think it will be ok to remove the comments, since most people won't need them anymore.
Let me know what you think.
Cheers!

authors: OwenMelbz praswicaksono tabacitu uniconstructor

repo: Laravel-Backpack/Generators


text:
Using BackPack with nwidart/laravel-modules

Bug report
What I did:
I am trying to set up a Web application that has a huge number of models in Laravel/BackPack. To simply dump all the models into \App would be total chaos. Making the transition from Yii2, the nwidart/Laravel-modules approach seemed to be the best approach since it would allow me to create as many modules as I needed, thus keeping the number of models in any given module down to a manageable number. Laravel-modules creates a directory named \Modules at the same level as \Modules then has subdirectories for each module, such as \Modules\Network. Each module then has subdirectories for Config, Console, Database, Entities, Http, Providers, Resources, Routes, and Tests, thus paralleling the structure of the main app. Each module is very much like a package in that it could easily be pulled out of one Laravel application and put into another with minimal effort.
Working from that starting point, I looked everyplace I could think of to find how to specify a path in the BackPack CRUD generator and couldn't come up with anything. I then tried issuing the following Artisan command:
php artisan backpack:model \Modules\Network\NetworkDevice --softdelete

In this case, I already had a module, named Network created by Laravel-Modules. I was trying to create a model for the network_devices table.
What I expected to happen:
I expected to have the model generator place a NetworkDevice model in the directory \Modules\Network directory with the namespace Modules\Network.
What happened:
The model generator created a directory structure like this: \App\Modules\Network and put the NetworkDevice.php file in it with the namespace App\Modules\Network.
What I've already tried to fix it:
Since I am unable to find any documentation on how to provide a modular organization in BackPack,I am at a loss on how to proceed.
Backpack, Laravel, PHP, DB version:
BackPack: ver. 3.5
Laravel: ver. 5.7.20
PHP: ver. 7.2.10
DB: MariaDB ver. 10.1.36
I'm really hoping that BackPack will be able to handle complex Web applications. I really like what I've seen of it thus far, although I must say that I am totally dismayed at the inability of Laravel, in general, to handle master-detail forms, a totally ubiquitous part of any contemporary Web application. Surely, BackPack can handle something as normative as modularizing.

Sorry, I went with Yii2/Yii 3. Laravel is a bit too primitive for  me. Probably good for very simplistic websites (and probably overkill for that). I need something that can stand up to highly complex relationships with user interfaces that embody multiple one-to-many and many-to-many in one input and save action. Laravel just isn’t up to it.
Larry E. Lutz
From: stale[bot] notifications@github.com
Sent: Thursday, September 26, 2019 2:46 AM
To: Laravel-Backpack/Generators Generators@noreply.github.com
Cc: Larry E. Lutz LarryTX@outlook.com; Author author@noreply.github.com
Subject: Re: [Laravel-Backpack/Generators] Using BackPack with nwidart/laravel-modules (#48)
Hi there!
Is this still an issue? No activity in 60 days. I'm going to mark it as stale for now, and close it in 14 days if no further activity occurs. I know you guys are all busy, but if this is important to you please reply or something, so I know not to close it.
Thank you!
--
Justin Case
The Backpack Robot
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FLaravel-Backpack%2FGenerators%2Fissues%2F48%3Femail_source%3Dnotifications%26email_token%3DAAAFCBZ73I56C5BLJEKZMFDQLRSDFA5CNFSM4GQHEWYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7UUWVA%23issuecomment-535382868&data=02|01||d549ac9a26d14badc0be08d742558fb6|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637050807550762892&sdata=x0L2addP%2FOHNS8O7eG0oKmUPADhaEB8AJW8HP%2BnPdFI%3D&reserved=0, or mute the threadhttps://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAAFCB52D6OFL6S5IRSBO5DQLRSDFANCNFSM4GQHEWYA&data=02|01||d549ac9a26d14badc0be08d742558fb6|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637050807550762892&sdata=ScsGv19wCdEitKII8Vtg%2FLnvXmUxf0D4zV4OuJYZz6Y%3D&reserved=0.

Thanks for replying @LarryTX .
I don't agree with you about Laravel vs Yii - I think Laravel's just fine for that, it has no restrictions on folder structure, just defaults/preferences. But yeah, it does require parting from its recommended folder structure. Then again I haven't tried Yii in 4-5 years - so what do I know? 😆 It might be much better than Laravel by now, could be.
Good luck with Yii - you're welcome back to Laravel any time you want :-)
Cheers!

authors: LarryTX tabacitu


text:
[IMP] travis: Add PyPi deploy

Adds compatibility for auto-deploy as introduced in LasLabs/python-quality-tools#3

Current coverage is 97.64% (diff: 100%)

Merging #29 into master will not change coverage

@@             master        #29   diff @@
==========================================
  Files            59         59
  Lines          1574       1574
  Methods           0          0
  Messages          0          0
  Branches         39         39
==========================================
  Hits           1537       1537
  Misses           19         19
  Partials         18         18

Powered by Codecov. Last update c143f0a...6200274

Coverage remained the same at 98.729% when pulling 620027403ad06a7cffa07445cbd40d67ef22dcb3 on feature/master/travis-pypi into c143f0a68157648d2d96f710c170936eac87b0f9 on master.

It seems it's not you:
2.68s$ travis_after_success
Submitting coverage to coveralls.io...
/home/travis/virtualenv/python2.7_with_system_site_packages/local/lib/python2.7/site-packages/requests/packages/urllib3/util/ssl_.py:334: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  SNIMissingWarning
/home/travis/virtualenv/python2.7_with_system_site_packages/local/lib/python2.7/site-packages/requests/packages/urllib3/util/ssl_.py:132: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecurePlatformWarning
Traceback (most recent call last):
  File "/home/travis/virtualenv/python2.7_with_system_site_packages/bin/coveralls", line 11, in <module>
    sys.exit(main())
  File "/home/travis/virtualenv/python2.7_with_system_site_packages/local/lib/python2.7/site-packages/coveralls/cli.py", line 62, in main
    result = coverallz.wear()
  File "/home/travis/virtualenv/python2.7_with_system_site_packages/local/lib/python2.7/site-packages/coveralls/api.py", line 93, in wear
    response = requests.post(self.api_endpoint, files={'json_file': json_string})
  File "/home/travis/virtualenv/python2.7_with_system_site_packages/local/lib/python2.7/site-packages/requests/api.py", line 110, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/home/travis/virtualenv/python2.7_with_system_site_packages/local/lib/python2.7/site-packages/requests/api.py", line 56, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/travis/virtualenv/python2.7_with_system_site_packages/local/lib/python2.7/site-packages/requests/sessions.py", line 488, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/travis/virtualenv/python2.7_with_system_site_packages/local/lib/python2.7/site-packages/requests/sessions.py", line 609, in send
    r = adapter.send(request, **kwargs)
  File "/home/travis/virtualenv/python2.7_with_system_site_packages/local/lib/python2.7/site-packages/requests/adapters.py", line 497, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: [Errno 1] _ssl.c:504: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

authors: codecov-io coveralls lasley t3ddftw

repo: LasLabs/python-carepoint


text:
Define intermediate components to be covered by unit tests

List all intermediate components that need to fully covered by Unit Tests.
Use Mockito to create the mocks.
Components to be covered:

DBModelSerializer and all its children
ParallelSerializer
DBVersionCommand
ParallelDBVersionCommand
JacksonYamlSerializer : ? test all model serialization ?

Create unit tests for each object serializer: TableSerializer, ViewSerializer, IndexSerializer, TriggerSerizalizer, and RoutineSerializer.
Mock all dependencies for database using Mockito.

We have covered the main component tests in the referenced tasks, the YAML serialization and deserialization were covered in the serializer tests and in the DBModelFS integration tests.

repo: Lassal/dbdiff


text:
[fix] superlinter.yml: Run workflow also on pull_request

Fix #8
Signed-off-by: Gianpaolo Macario gmacario@gmail.com

NOTE: Super-Linter checks should become green as soon as #10 is merged


text:
Add conda to readme

Hello there, seqfold is now on bioconda. You could add this to your readme:
conda install -c bioconda seqfold

Great packages btw!

That's dope and thank you @jonas-fuchs 🙌 . I just updated the README with this note: https://github.com/Lattice-Automation/seqfold/blob/main/README.md

authors: jjti jonas-fuchs

repo: Lattice-Automation/seqfold


text:
Added missing InstanceNorm module.

I noticed that InstanceNorm was not implemented. I tried to follow the same pattern as BatchNorm with a few exceptions.
For BatchNorm, the current implementation always uses weights and biases and always keeps track of running stats.
In the PyTorch implementation this is optional. For InstanceNorm I do need to be able to enable/disable this so I added flags for

affine
track_running_stats

like the PyTorch implementation has.
Let me know if I missed anything.

Clippy seems to be failing in a file I didn't touch? Any idea how I can fix this?

repo: LaurentMazare/tch-rs


text:
Conversion Buff gets calculated incorrectly

The Mask Golem should have Ref +6, but the Actor is created with Ref +8. Additionally, Perception should be +5, but is only +1.
Mask Golem CR 4

XP 1,200
N Medium construct
Init +7; Senses darkvision 60 ft., low-light vision; Perception +5

DEFENSE

AC 17, touch 13, flat-footed 14 (+3 Dex, +4 natural)
hp 42 (4d10+20)
Fort +1, Ref +6, Will +2
DR 5/bludgeoning; Immune construct traits, magic
Weaknesses vulnerability to sonic

OFFENSE

Speed 40 ft.
Melee 2 slams +8 (1d8+4)
Special Attacks masks of control, swarm form
Spell-Like Abilities (CL 4th)

Constant—see invisibility

TACTICS

During Combat A mask golem attempts to control any powerful melee combatant that moves to threaten it using its mask of obedience ability. Against ranged opponents, it uses its mask of solitude. If these do not work, it relies on its slam attacks instead.

Morale A mask golem fights to defend the area it has been built to protect, even if this results in its destruction.

STATISTICS

Str 18, Dex 17, Con —, Int 7, Wis 12, Cha 13
Base Atk +4; CMB +8; CMD 21
Feats Improved Initiative, Lightning Reflexes
Skills Perception +5

Originally posted by @manuelVo in https://github.com/Lavaeolous/PF1-StatBlock-Converter-Module/issues/325#issuecomment-735296368

[ ] sbc fails to get the changes from Lightning Reflexes
[ ] The Mask Golem should only have Perception +1 from its Stats (Wisdom 12), but for some reason has +5. The Conversion Buff currently does not include changes to skills.


text:
Mejora en Sesión de inicio

validación : no debe de ingresar a la URL sin haber iniciado sesión

Se aprueba y se cierra pull request

authors: gbarreto-lav ricardogonzalez-lavenir

repo: LavenirCol/EIASA-visor


text:
Improper results on scanned pdfs

I have been trying to analyze the documents using layout parser on different types of documents, I am able to get expected results on True pdfs but not on scanned pdfs, it is detecting the scanned pdf image contents as figure or not as expected results.
I am facing this issue only for the scanned pdfs
Checklist

I have searched related issues but cannot get the expected help.
The bug has not been fixed in the latest version, see the Layout Parser Releases

To Reproduce
import layoutparser as lp
import cv2
image = cv2.imread("test.png")
image = image[..., ::-1]
model = lp.models.Detectron2LayoutModel('lp://PubLayNet/faster_rcnn_R_50_FPN_3x/config',
extra_config=["MODEL.ROI_HEADS.SCORE_THRESH_TEST", 0.8],
label_map={0: "Text", 1: "Title", 2: "List", 3:"Table", 4:"Figure"})
color_map = {
'Text': 'red',
'Title': 'blue',
'List': 'green',
'Table': 'purple',
'Figure': 'pink',
}
layout = model.detect(image)
lp.draw_box(image, layout, box_width=3,color_map=color_map)
Environment

I am using windows
Latest layout parser version

Contains 2 images:
1:  Scanned pdf image result
2:  Proper pdf image result

Have you tried correcting the scanned images to make the background plain white? Here's a robust looking example using opencv:
https://www.freedomvc.com/index.php/2022/01/17/basic-background-remover-with-opencv/

authors: Permafacture Shravan-Ganji

repo: Layout-Parser/layout-parser


text:
bug: Could not find which plugin provides the functionality.

Did you check docs and existing issues?

[X] I have read all the LazyVim docs
[X] I have searched the existing issues of LazyVim
[X] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)
0.9.5
Operating system/version
MacOS 14.4.1
Describe the bug
Exactly speaking, I know this is not a bug, but I feel this is a sort of a lack in the documentation problem.

When I described the class/function with long lines, as in the attached file, the top part indicates which class/function corresponds to the current cursor.  I would simply like to turn this feature off, but I don't know which plugin provides this functionality. Could you let me know how to do?
Steps To Reproduce
Just edit the class with long lines in the python file.
Expected Behavior
Enable on/off.
Repro
-- DO NOT change the paths and don't remove the colorscheme
local root = vim.fn.fnamemodify("./.repro", ":p")

-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "cache" }) do
  vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end

-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath, })
end
vim.opt.runtimepath:prepend(lazypath)

-- install plugins
local plugins = {
  "folke/tokyonight.nvim",
  "folke/LazyVim",
  -- add any other plugins here
}
require("lazy").setup(plugins, {
  root = root .. "/plugins",
})

vim.cmd.colorscheme("tokyonight")
-- add anything else here

The plugin is nvim-treesitter/nvim-treesitter-context. There is a keymap <leader>ut to toggle it on/off during your Neovim session or just disable the plugin permanently if you don't want such behavior.

repo: LazyVim/LazyVim


text:
bug: Small nerd font icons in alpha

Did you check docs and existing issues?

[X] I have read all the LazyVim docs
[X] I have searched the existing issues of LazyVim
[X] I have searched the exsiting issues of plugins related to this issue

Neovim version (nvim -v)
0.8.3
Operating system/version
Fedora 37
Describe the bug
The new nerd font icons replacing the obsolete ones look too small. My term is kitty and the font is JetBrains Mono + symbol_map to Symbols Nerd Font Mono.

Steps To Reproduce
Pull the latest version of LazyVim and launch nvim.
Expected Behavior
All icons picked should look consistent in size.
Repro
No response

Replaced the session icon, but couldn't find a larger sleep symbol

So sad that nf-mdi-sleep icon is obsolete. I actually had no issue with it even for CJK fonts.

Yeah, me neither, but I assume it will be removed at some point...

authors: folke madjxatw


text:
Add 180 degrees to isRotated logic

I'm using the package for a personal project and I notice this:
lib/src/controller line 417:
bool get isRotated => rotation == 90 || rotation == 270;
The right logict should be:
bool get isRotated => rotation == 90 || rotation == 270 ||  rotation == 180;
or
bool get isRotated => rotation != 0;

I've had issues with this as well!

Same issues here

authors: gabrielscr gabrieluca gmr-renato


text:
Embed image as base64.

Could you embed image as base64 data in the css?

Yes.

SUCA

authors: IvanSanchez fabiocaccamo

license: isc


text:
Publish to npm?

Hello, this is a friendly reminder to publish 1.4.0 to npm, I'm not sure if it has been forgotten or if there is some bugs that needs fixing. :smiley:
(This is not a bug report)

haha thanks, fixed!

authors: danzel hultberg

license: mit


text:
Layer order in L.Control.Layers is not preserved with GeoJson/FeatureGroup

When I do
L.control.layers({
    'OSM': L.tileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png').addTo(map)
}, {
    'Circle': L.circle([53, 4], 111111),
    'Polygon': L.polygon([[48, -3], [50, -4], [52, 4]]),
    'GeoJSON': L.geoJson(geojson)
}, {
    collapsed: false
}).addTo(map);

I expect the order of the overlays to be as I supplied them, however, GeoJSON and FeatureGroup layers are moved up top. This is because the FeatureGroup gets its _leaflet_id while it's created, while the other layers get it while they're added to Control.Layers.
FeatureGroup is stamped because it's passed as the context to layer.on in FeatureGroup.js:19.
Not sure how to fix this:

stamping each layer while initializing? Seems dirty.
Different sorting mechanism in Control.Layers?

http://jsfiddle.net/km5H9/1/

I think this is still valid?
I have a geoJSON layer among several tileLayers. Initial placement works fine but on certain page events that may change layer availability I trigger a "refresh" by removing and re-adding all layers in the same order as before, but my geoJSON layer now appears at the top of the control.
I was able to work around this by removing the old geoJSON layer and replacing it with a new one (ostensibly with a new internal ID in a proper order) and it appears in the correct place.

Hi folks. I'm also experiencing this with geojson featuregroups. Lots of overlapping polygons and the zindex changes confuse the user. Can anyone suggest a canonical/somewhat-future-proof method for maintaining group display order ?

Afraid not. I build an array of layers in their correct order, and cycle through the whole array each time layers are added, bringing every layer in turn to the front. Horrible, but it works. I have no alternative at this stage.

I'm basically doing what tomchadwin has except more explicit, since I've just kind of grown into the code. If I get around to refactoring it I'll either use a similar array or probably make my own little Javascript snippet to manage my own control interface and stick it within the map.

If anyone here is using Leaflet 1.0.0 you should be able to use the new pane option to control this:
map.createPane('bottom');
map.createPane('middle');
map.createPane('top');

// now pane order controls layer ordering not the control!
L.control.layers({
    'OSM': L.tileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png').addTo(map)
}, {
    'bottom': L.geoJson(geojson, {pane: 'bottom'}),
    'middle': L.geoJson(geojson, {pane: 'middle'}),
    'top':  L.geoJson(geojson, {pane: 'top'}),,
}, {
    collapsed: false
}).addTo(map);

You can see this inaction with lots of overlapping polygons here.

patrickarlt thanks - this is helpful.

patrickarlt thought I'd let you know I implemented the pattern you outlined above. This does lay out the order of the panes properly such that panes and their associated layer group are added to the map such that the pane appears beneath successively added panes. However, when using l.control.layers.addOverlay to then associate L.control.layers with panes on the map --> zero order to the layer names as they appear in the control seems possible. Half way there! Any suggestions ?

I look a look at the code. It looks like layers are stored internally in the control by the layers internal Leaflet ID https://github.com/Leaflet/Leaflet/blob/master/src/control/Control.Layers.js#L115-L121. The internal ID generator gets called A LOT. For example in my JS Bin http://jsbin.com/vocigipive/1/edit?html,css,js,output it is already at 177 by the time everything gets done.
Since all browsers sort objects when looping like for (i in this._layers) by the order in which they are defined http://stackoverflow.com/questions/280713/elements-order-in-a-for-in-loop this means that you cannot really rely on any specific ordering when using L.Control.layers.
@mourner I'm wondering if this could be refactored to use an array of layers internally rather then an object.
// convert basemaps and overlays to ordered arrays internally
L.control.layers({
    'OSM': L.tileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png').addTo(map)
}, {
    'bottom': L.geoJson(geojson, {pane: 'bottom'}),
    'middle': L.geoJson(geojson, {pane: 'middle'}),
    'top':  L.geoJson(geojson, {pane: 'top'}),,
}).addTo(map);

 // add a new position property to control where the added layer falls in the order. Default would be at the bottom.
control.addOverlay(layer, name, position);

@patrickarlt I think that's a great approach. I would be up for a PR on this.

@patrickarlt up for working on this before 1.0 or should I postpone? :)

Huh, I already made a PR for this...

authors: Rikaelus jieter minskmaz mourner patrickarlt tomchadwin yohanboniface

repo: Leaflet/Leaflet


text:
L.control.layers: No way to control selection programmatically

In a map with multiple base layer options (and overlays) and a Layers control, I would like to reflect the state of the map in the URL. I can do that by listening for the 'baselayerchange' event, and adding something like "baselayer=" + event.name to the query or fragment parts of the URL. That works fine.
Conversely, on loading the page, I would like to set the base layer according to the URL parameter described above. Ideally something like layerControl.setActiveBaseLayer(name). However, there is no such function and, as far as I can see, no way of doing this without accessing the layer control's private members.
Same for overlays.

I may misunderstand your question...but on load, why cant you just only use map.addLayer for the things you want active? The layers you add to a layerControl do not need to exist on the map when you init the control.

Hi, great to hear that you find Leaflet useful!
However, this issue tracker is used for reporting bugs and discussing new features. For questions on using Leaflet, please use gis.stackexchange.com or stackoverflow.
Having said that: attach add and remove event handlers for your layers and update the URL's hash accordingly.

@IvanSanchez It wasn't a question but a feature request. I shall try both yours and @snkashis' suggestions when I get back to that particular project and report back on whether those cover the specific requirement that gave rise to this report. Thanks in any case!

For questions on using Leaflet, please use gis.stackexchange.com or stackoverflow.

More of a fan of irc://irc.freenode.net/leaflet myself. :smiley:

authors: 9662 IvanSanchez snkashis


text:
Missing tiles after fast zoom in and out with wouse-wheel

I'm experiencing missing tiles when i zoom in and out on the map. I first thought it's an issue with my tile-provider. But after extensive tests i can reproduce it with any Leaflet map and any provider. It's a bit tricky to provoke this though.
How to reproduce

I've tested it with LL 1.0.3, and the current trunk
I can reproduce it with Chrome, FireFox and Edge on Windows 10
I can reproduce this with a zoom-gesture on my notebook and a real mouse on my PC
I even can reproduce it with the Leaflet quickstart sample http://leafletjs.com/examples/quick-start/example.html:
First zoom out to world view.
Then zoom in very fast with the mouse-wheel
Immediately afterwards zoom out two wheel-clicks.

You need the right timing to get this result, i manage this about 20% of the time. All i can see is that the missing tile isn't even requested (using fiddler).

Since I cannot reproduce this easily, I'm gonna ask you to find some reproducible timings with synthetic WheelEvents.
Something like:
    function doTheWheel(amount) {
      var mapSize = map.getSize();
      var ev = new WheelEvent('wheel', {

        deltaX: 0,
        deltaY: amount,
        deltaZ: 0,
        deltaMode: 0,

        clientX: mapSize.x / 2,
        clientY: mapSize.y / 2
      });

      map.getContainer().dispatchEvent(ev);
    }

    function doTheWheelClosure(amount) {
      return function() {
        return doTheWheel(amount);
      }
    }

    setTimeout(doTheWheelClosure(-50), 600);  // Scroll "up"/"in" three times in very quick succession
    setTimeout(doTheWheelClosure(-50), 610);
    setTimeout(doTheWheelClosure(-50), 620);

    setTimeout(doTheWheelClosure(50), 1500); // Scroll "down"/"out" twice some time later
    setTimeout(doTheWheelClosure(50), 1700);

See https://playground-leaflet.rhcloud.com/gaxu/edit?html,output for a half-baked example. Changing the times and scrolling distances should be everything you'd need to do.

et voilà,
https://playground-leaflet.rhcloud.com/tefi/edit?html,output
this should be reproduce it on chrome and edge.  You should open it in incognito mode. Doesn't work on FF.
But i'm sure it will work on FF with different parameters as i can provoke it manually there. I'm quite good at it now :)

Hhhmmm.
I cannot reproduce this in my Chromium 56.0.2924 on Linux. I need other people to have a look and see if it's reproducible.
I wonder if this might be reproducible only on Win10?

Same here, not able to reproduce unfortunately. Tried it on both Chrome 56 and MS Edge 38 on Windows 10.

ok,
i now have a version that reproduces it for me on chrome, edge + ff (all latest version) on three differrent PCs, all running win 10 though.
Open your  browser and clear your cache before opening
http://176.95.37.29/vectortest/missing-tiles.html

Hhhhhmmmm, interesting, I can reproduce with that.

Yep, that gives me a big, blank square in the middle of the screen. 😞

I have this feeling that the bug involves a race condition in the tile pruning algorithm. I'm officially declaring a preemptive brainmelt.

ok,
i think i tracked it down to be a race condition at the incremental update. https://github.com/Leaflet/Leaflet/pull/5431
My test program runs ok now.
http://176.95.37.29/vectortest/missing-tiles-fixed.html
Also stress-tested it with a sample that makes heavy use of tiles layers.
http://176.95.37.29/agebs/

After testing with fix #5431 for a month, i consider this bug to be fixed.

After testing with fix #5431 for a month, i consider this bug to be fixed.

authors: IvanSanchez oliverheilig perliedman


text:
Cancel tile requests in _onTileRemove

How to reproduce

Leaflet version I'm using: 1.1.0
Browser (with version) I'm using: Google Chrome
OS/Platform (with version) I'm using: Windows 10

What behaviour I'm expecting and which behaviour I'm seeing
My jsfiddle demonstrates the issue. You can see what I'm talking about if you open up the network tab of the developer console and disable browser caching.
The zoomend event in my fiddle will trigger a url change for the tile layer (toggle between normal osm tiles and greyscale osm tiles). Despite the tile url changing the requests for tiles using the old url are not canceled.  While this is not a huge issue when using osm tiles (osm is super fast and caching is done well) it affects my production use case where our tiler uses dynamic tiling to generate "up to the minute" tiles. Tile generation is not cached and is kinda slow (which is outside of my control unfortunately) and stacking these kind of tile requests puts a burden on our server. If you examine the network tab when using my jsfiddle you will see that on zoomend both the greyscale and normal osm tile requests are completed although one of them will not be necessary.
Right now Leaflet currently will cancel some tile requests via the _abortLoading function by overriding the src attribute of the tile png when conditions dictate that a tile is no longer visible. I propose changing the _onTileRemove function in TileLayer.js to do something similar.
  _onTileRemove: function (e) {
    e.tile.onload = null;
    e.tile.setAttribute('src', L.Util.emptyImageUrl); // add this line
  },

Minimal example reproducing the issue
http://jsfiddle.net/yzsgdq13/3/

[x] this example is as simple as possible
[x] this example does not rely on any third party code

Hi, thanks for reporting. This does indeed sound reasonable: there is no reason to continue loading tiles when settings a new URL.
From a quick look, it looks like setting a new URL with setUrl normally causes a redraw - although your suggested change looks reasonable, perhaps redraw should call _abortLoading (if available), since there is no reason to continue loading if the tiles should be requested again (as the docs for redraw says).
Anyway, I would be open to merging this change if you supply a pull request!

@perliedman The conditions that  _abortLoading checks are not conditions that will be triggered by this particular edge case. I could try to dig deeper and modify  _abortLoading to handle all cases where we want to abort a tile but imo that would probably be overkill and outside the scope of what  _abortLoading was written to do. Would you be opposed to me changing  _removeTile in GridLayer.js to be
  _removeTile: function (key) {
    var tile = this._tiles[key];
    if (!tile) { return; }

    tile.el.setAttribute('src', L.Util.emptyImageUrl); // Add this line
    DomUtil.remove(tile.el);

    delete this._tiles[key];

    // @event tileunload: TileEvent
    // Fired when a tile is removed (e.g. when a tile goes off the screen).
    this.fire('tileunload', {
      tile: tile.el,
      coords: this._keyToTileCoords(key)
    });
  }

instead of putting that line in _abortLoading or _removeTile?

Ok, thanks for the analysis. I think we can go with a PR like that, probably just add a comment that this line exists to abort loading removed tiles.

Closing this since #5615 was merged!

authors: jbccollins perliedman


text:
draw-order of geoJSON features

Leaflet version I'm using: 1.3.4

How can I explicitly specify the draw order of geoJSON features? I have several point features with overlapping icons. When zooming In and Out, the order changes sometimes.
What I have already tried to do:

Added the features to the geoJSON layer in the order oldest first, newest first.
Call bringToFront or bringToBack in the onEachFeature function

I have read the documentation and found custom map panes. Do I really have to create a pane for each feature?
The attached image illustrates my problem: I want the green marker above the red above the grey one. Always.

Hi, great to hear that you find Leaflet useful!
However, this issue tracker is used for reporting bugs and discussing new features.
For questions on using Leaflet, please use Stack Overflow or GIS Stack Exchange.
If you are really sure that this is a bug in Leaflet, please provide a more effective bug report, and in particular all the information requested in the issue template (provided when you create a new issue), so that we can effectively investigate and hopefully resolve it.
In your case, it sounds like you are using icon-based Markers.
In that case, their z-index is automatically adjusted based on their latitude.
You can also use their zIndexOffset and/or riseOnHover options.
Custom map panes is also a possible solution.
If you need further help, please ask on Stack Overflow.

authors: ghybs marcellangmaier


text:
When using both divIcon() and L.Icon() causes bad performance and map freezes

I need to show SVG and png icons together. Is there any way to show that?
I used divIcon() for SVG icons and L.icon() for png icons. Both objects moving together for 10 seconds. For 10 seconds, I used a timer observable.
I have a huge data density. This data folds every 10 seconds. I added These two icons as separate layers.
Icons consisting of DivIcon() come when the map is first opened. If L.Icon (), then you want to open it by selecting it from the layer. And when it opens, this icon will move together. We can think of two icons as connected.
The problem is a performance problem when two icons are added together to the map. And L.Icon()'s progress by leaving the icon behind every 10 seconds.
The map is always frozen after a short time. Zooming performance is getting slow when data is up.
I wonder if the way that shows better performance with these two icons.
If both icons were png, I was going to add another icon as an L.Icon()'s shadow. But because of the use of divIcon() with SVG, that possibility falls into the water. divIcon() also does not accept shadows.
I looked for use in this way, but I couldn't find it. I'm looking for a way to show two icons in a high-performance way.
Also, why the map also cause freezes during zoom in&out?
For L.Icon();
let _secondIcon= L.icon({
        className: 'img-type',
        iconUrl: this._imgType,
        iconSize: [10, -15],
        anchor: [0.2, -0.1]
      });

if (!this.secondIcon) {
this.secondIcon = marker([lat, lng]);
layerGroup.addLayer(this.secondIcon); }

this.secondIcon.setLatLng([lat, lng]);
this.secondIcon.setRotationOrigin('center center');
this.secondIcon.setIcon(_secondIcon);

For divIcon();
let _icon = divIcon({
      className: 'vehicle-icon',
      html: Util.template(movingMarker(obj), this.markerModel),
      iconSize: [20, 20],
      scale: 0.8,
    });
movingMarker() has svg.

if (!_marker) {
this._marker = marker([lat, lng]);
layerGroups.addLayer(this._marker); }

this._marker.setLatLng([lat, lng]);
this._marker.setRotationOrigin('center center');
this._marker.setIcon(_icon);

I added a screenshot of the problem.

The way it should be:

https://stackoverflow.com/questions/68033774/leaflet-how-can-i-remove-the-old-moving-markers-from-the-maps-background
Environment
I'm using Angular, ngx-admin template
Laeflet version: "1.5.1"

Environment
I'm using Angular, ngx-admin template

[ ] I'm sure this is a Leaflet code issue, not an issue with my own code nor with the framework I'm using (Cordova, Ionic, Angular, React…)

We are unable to provide support unless you will be able to reproduce the issue in vanilla leaflet.
Sorry.


text:
Problem binding a Popup to a specific Marker in an array of Markers

Checklist

[X] I've looked at the documentation to make sure the behavior isn't documented and expected.
[X] I'm sure this is an issue with Leaflet, not with my app or other dependencies (Angular, Cordova, React, etc.).
[X] I've searched through the current issues to make sure this hasn't been reported yet.
[X] I agree to follow the Code of Conduct that this project adheres to.

Steps to reproduce
Please see the example code via the URL listed below.
When hovering over a Marker the Popup will appear over the last marker in the array or the last Marker clicked on.
Expected behavior
I have some existing code that uses an array of Markers with seven elements 0-6. If I bindPopup to one of the elements (see code below) using leafletjs 1.7.1 everything works as expected with each Popup appearing a the location of the individual marker.
markers[0].bindPopup( '
Hello 0
').openPopup();
or
markers[4].bindPopup( '
Hello 4
').openPopup();
Current behavior
When I do the same thing when using 1.8.0 the Popups always appear at the last marker, Markers[6], location or at the last marker, I click on.
An example using 1.8.0 can be seen here: https://test.designcomputer.com/leaflet/
Environment

Leaflet version: 1.8.0
Browser (with version): Chrome Version 102.0.5005.63 (Official Build) (64-bit)
OS/Platform (with version):  Window 10 Pro 1903

Hi there, I would like to look into this issue.

Sure @raychanks, go for it.

authors: designcomputer jonkoops raychanks


text:
Update SetupConfiguration to Foundry 0.8.0

deleted (replaced)

Already removed.


text:
Open Action not working on Android  11

When calling LeanplumInbox.read(messageId), it should to trigger open action to open an external url. It works on Android 10 or below but not Android 11. I was using version 1.0.13 and I tried upgrading to the latest version 1.1.1 and it's still the same. Thanks!

I've tested this on Android 11 and cannot get it to reproduce. The open action is always executed when i read the inbox message. Can you provide more information on how to reproduce this ?

Thanks for the response @milos1290, I am still seeing this on Android 11 but works fine on everything else. The way I configured this on leanplum is open action and open URL then I set an URL. Please note that if the url is a deeplink then it works by taking me to somewhere else in the app. If the URL is a link outside of the app, then nothing happens and no error messages either. I am using "@leanplum/react-native-sdk": "^1.1.1" and "react-native": "0.63.4".  Let me know if there's more information you might need, thanks again!

repo: Leanplum/Leanplum-ReactNative-SDK


text:
update panda and blocks constants to be consistent with real

this is probably gonna break and/or degrade things. I'll test and try to patch things before we merge

looks like pytest -s tests/envs/test_pybullet_blocks.py has a similar error (good job unit test!)

supercloud results forthcoming

Git commit hashes seen in results/:
15dee8f5b6550cba1f8fb037094fc810905c807d

AGGREGATED DATA OVER SEEDS:
                       NUM_TRAIN_TASKS    NUM_SOLVED AVG_NUM_PREDS AVG_TEST_TIME  AVG_NODES_CREATED LEARNING_TIME  NUM_SEEDS
EXPERIMENT_ID
pybullet_blocks-oracle    50.00 (0.00)  48.60 (1.02)   5.00 (0.00)   0.36 (0.08)  3670.01 (1584.52)   0.00 (0.00)         10
pybullet_cover-oracle     50.00 (0.00)  42.70 (2.49)   5.00 (0.00)   0.06 (0.01)        6.66 (0.32)   0.00 (0.00)         10

good enough I guess... (pybullet cover was around 43 as of https://github.com/Learning-and-Intelligent-Systems/predicators/issues/1182)


text:
feat: create client specifically to get balance

📝 Description
Separate Hedera client created for balance specific queries
❓ Context

Impacted projects: ``
Linked resource(s): ``

✅ Checklist

[ ] Test coverage
[x] Atomic delivery
[x] No breaking changes

📸 Demo

🚀 Expectations to reach
Please make sure you follow these Important Steps.
Pull Requests must pass the CI and be internally validated in order to be merged.

Doesn't look harmful, but can you please describe the reason for using separate clients?

The original issue was this:

Because transactions can only use 1 node, this error can occur when the node selected is down.  Balance queries, however, do not require signing and thus, can use more than one node.  Thus, using hedera.Client.forMainnet(); for the balance client will allow for more uptime on balance queries when the random node selected is down.

repo: LedgerHQ/ledger-live


text:
[LIVE-13059] feat(lld/llm): add support to new device language packs

✅ Checklist

[x] npx changeset was attached.
[ ] Covered by automatic tests.
[x] Impact of the changes:

device localisation

📝 Description
Support of 4 new languages for devices:

Portuguese (Br)
German
Russian
Turkish

❓ Context

JIRA or GitHub link: LIVE-13059

🧐 Checklist for the PR Reviewers

The code aligns with the requirements described in the linked JIRA or GitHub issue.
The PR description clearly documents the changes made and explains any technical trade-offs or design decisions.
There are no undocumented trade-offs, technical debt, or maintainability issues.
The PR has been tested thoroughly, and any potential edge cases have been considered and handled.
Any new dependencies have been justified and documented.
Performance considerations have been taken into account. (changes have been profiled or benchmarked if necessary)

/generate-screenshots


text:
🛑 CompanyGuide3 is down

In 87a03e6, CompanyGuide3 (https://comp4.fnguide.com/server_variables.asp) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CompanyGuide3 is back up in 8a8c880.


text:
🛑 CompanyGuide2 is down

In a69f704, CompanyGuide2 (https://comp3.fnguide.com/server_variables.asp) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CompanyGuide2 is back up in ad07771.


text:
🛑 MobileCompanyGlobal2 is down

In d88482c, MobileCompanyGlobal2 (https://mglobal2.wisereport.co.kr/Home/ServerCheck) was down:

HTTP code: 0
Response time: 0 ms

Resolved: MobileCompanyGlobal2 is back up in 98c906d.


text:
Access to full affine matrix registers / windowing registers

Concerning the affine matrix parameter registers, it would be useful to be able to access the entire register to be able to write full fixed-point parameters instead of having to go through the fraction and integer components.
For the windowing registers, I had noticed an issue where
using namespace Kvasir::WIN0V;
apply(write(y2, start), write(y1, end));
would result in a garbage value in the upper half of windowing vertical extent register and the expected value in the lower. To work around this I added a similar full-access field to the window extent registers and used as
apply(write(y, (start << 8) | end));
I note that the windowing registers are write-only, perhaps I am not using the Kvasir functions properly?

Also, this may be off-topic, but I was wondering if you had any copies of or material from your talk on Embedded C++ on the GBA? It looked very interesting, but I could not find any captures on the OpenWest website or YouTube.

Hi, thanks for the contribution.
At this time, I'm still debugging my use of Kvasir with a basic "hello pixel" style tutorial from Tonc.  I didn't map the registers quite correctly and there is some confusion in my implementation between 32-bit and 16-bit registers, I think.  (The masks are the wrong size, IIRC.)
Have you gotten a correctly working "hello pixel" style demo working with my fork of kvasir?
Also, I have considered simply making this a library that depends on Kvasir instead of it being a contribution to core Kvasir.  In other words, there would be a Kvasir-style library that provides facilities similar to tonc, but uses Kvasir as a dependency.  I'm not yet convinced which is the better way to go - depend on Kvasir, or integrate with Kvasir.  I'd love to hear some other opinions on this.
Regarding my talk at OpenWest, I don't believe they recorded any of the talks and I don't think my slide deck was particularly interesting.  This was before I found out about Kvasir, so there was no Kvasir related information in that presentation.

Here is a Gist with a quick demo to set three colored pixels as in the Tonc demo:
https://gist.github.com/excelangue/29bf7e8d315917d23fe4aa0a6226ff1a
I defined a few types for working with RGB15 color bitfields and direct video memory as well. Something that popped up was the need to explicitly zero out SFRs like REG_DISPCNT before using with Kvasir for proper function, not sure if that's expected behavior or if there's a special Kvasir notation for that.
If by "conversions from more 'natural' types" you mean runtime conversion from float and the like, I would think that integrating a header-based fixed point library such as this one would be far more useful, as floating point is done entirely in software and is a huge performance killer.

Ah, I definitely wasn't doing REG_DISPCNT = 0; in my attempts.  I wonder if that is all I was missing.  I also wonder why that should be necessary.
Yes, by natural types I meant things like float and double.  I thought the CPU in the GBA had hardware floating-point, but it's old enough that perhaps not.  In that case, I agree that a fixed-point library would be better and I had looked at the one you linked before because it came up in my reading background on the gaming working group in the standards committee.

ARM7TDMI (Rev 3) Technical Reference Manual shows a hardware multiplier in the block diagram on page 1-8 and describes hardware multiply and multiply/accumulate instructions on page 6-9.

The ARM7TDMI has hardware multiply/etc., but not hardware floating point (ARM mentions only software floating point).
I've investigated the issue regarding garbage values and stumbled across an issue that seems similar to your issue on the upstream Kvasir library; in attempting to write to the write-only windowing registers, for example
apply(write(Kvasir::WIN0V::y2, SCREEN_HEIGHT));
Kvasir generates the following read-mask-write in Register/Exec.hpp
auto i = GetAddress<TLocation>::read();
i &= ~ClearMask;
i |= SetMask | in;
GetAddress<TLocation>::write(i);
despite the register being marked as a write-only. This in turn generates the instruction ldrh	r3, [r2] with r2 holding address of REG_WIN0. This is the source of the garbage values from the upper half of the register; removing this load fixes the garbage value.
Additionally, writing the entire register as
apply(write(y1, 0x1), write(y2, SCREEN_HEIGHT));
does not properly merge the writes to the register (generates two read-mask-writes), so forcing a blind write in e.g. Exec.hpp would only keep the last write statement.
So it seems merging writes needs to be fixed as well as proper blind writes to get this issue resolved.

authors: LegalizeAdulthood excelangue

repo: LegalizeAdulthood/Kvasir


text:
Feature/#7 documentations

I've created these two issues #8 and #9 to implement TODOs
Closed #7

Feedback done!

repo: Lemoncode/react-image-focal-point


text:
Feature: Integrate log-in

Integrate log-in, log-out, and edit profile feature within the concept.

has been merged with development and works!

authors: Kboere Leo-Wolff

repo: Leo-Wolff/SandScript


text:
Errors running benchmark in CI with "RUN BENCHMARK" issue

I tried running the benchmark in CI(In a fork) and got a number of errors:
==> Error building ./lua_grpc_st_bench
==> Error building ./kotlin_grpc_bench
 ==> Error building ./java_aot_bench
==> Error building ./haskell_mu_bench

They all seem to be related to running out of disk space

@nico-abram should be fine since we disabled Lua "temporarily" (who am I kidding?). Could you please confirm?

authors: LesnyRumcajs nico-abram


text:
StormLoader wont connect - Change SQL hostname to portal.stormloader.uk from dynamic hostname

When ever I try to open the repo list it says could not connect!

Same here. I tried redownloading and I cannot connect to the repo.

Same here

it may be a firewall or antivirus issue, ill take a look at your log if you want

Nope not it already did that!

it is also saying that it wont connect for me

Hostname expired, its fixed now, I need to change it to use the IP rather than a dynamic hostname, i wont close this as its something I need to do

Thx

I'm re-opening this because I haven't enacted the change yet


text:
Improve Docker Build Speed

At least on my development machine, the Docker container build speed is dismal. I have a feeling we could speed it up by starting with a different starting image, maybe.

Resolved in #176

repo: Lexpedite/blawx


text:
关于更换数据集后，更换评价指标的问题

您好，我最近想用这个方法做一个输电线路数据集的弱监督分割，分割目标是输电线，只有一类，并且想要的到的评价指标为语义分割常用的mIOU和像素级的Precision，但boxlevelset中的评价指标为mAP值，我一步步查看了cocoapi的源码，发现cocoapi中的computeIou计算得到的是一个矩阵，我有尝试过将网络预测结果保存为json文件，在自己写一个代码计算像素级的mIOU和Precision，但保存的json文件为rle格式的，并且只能是这个格式。
请问我怎么才能计算预测结果和标签的mIOU和Precision值？谢谢。

@TaoshuaiZ
你好，mIoU的计算可以参考此处的代码。

您好，我阅读了point2mask中计算iou的代码，并加在boxlevelset中，但在debug的过程中，发现了两个问题：
1.boxlevelset中模型预测结果results于point2mask中的results键值对并不相同

在后续的iou_compute函数中就发生了错误，找不到模型预测的输出图像。
2.数据集也不相同，point2mask中val的标注是以图像的形式呈现的，但boxlevelset中val的标注是一个json文件
请问怎么解决第一个问题，该怎么修改代码实现语义分割iou指标的计算？

authors: LiWentomng TaoshuaiZ

repo: LiWentomng/boxlevelset


text:
实验部分测试数据集

目前有打算公开实验部分的数据集和方法吗？

正在整理，出于数据安全考虑可能会和实验部分有些许差别

authors: Awyshw tjadamlee

repo: LianjiaTech/BELLE


text:
Autogenerate documentation on v1.0

The v0.6 way was dropped a while ago. We need to make docs autoupdate again.

Looks like we'll have to move the .yml data into the .jl file


text:
appveyor: filter out continuous tag

Currently, AppVeyor rebuilds when the travis job pushes the continuous tag. Sadly, the documentation is misleading and listing the tag name in the branches filter, as currently implemented, doesn't work. This is blocked on https://github.com/appveyor/ci/issues/1493
See also: https://help.appveyor.com/discussions/questions/2174-exclude-tags-by-name

Fixed in 80a4a0f2432bb24df558a1c149810bca6fcbecc4

repo: LiberTEM/LiberTEM


text:
Not working for Joplin 3.0.12

Running Copy Code Blocks v1.1.1 on Joplin 3.0.12 (prod, darwin) and the copy feature does not seem to be working anymore.

I am unable to reproduce this issue on both Joplin 3.0.12 (prod, darwin) and Joplin 3.0.13 (prod, darwin). Could it be a conflict with other content plugins?

I tried it on my personal Mac this morning and had the same issue as on my work Mac. Moved down the list of code blocks and the rest worked. Maybe something wrong with that block? I deleted it and created a new one and now it works. IDK, weird, but seems to be working now...

repo: LightAPIs/joplin-copy-code-blocks


text:
Either learning rate is logged incorrectly, or LinearWarmupCosineAnnealingLR isn't properly stepped

🐛 Bug
I'm using an SGD optimizer with a PL Bolts LinearWarmupCosineAnnealingLR scheduler with initial learning rate = 0. However, during training, my logged learning rate never changes. Either the learning rate is incorrectly logged, or the scheduler isn't properly stepped.

Code
Optimizer:
            optimizer = torch.optim.SGD(
                self.parameters(),
                lr=self.wandb_config['learning_rate'],
                weight_decay=self.wandb_config['weight_decay'],
                momentum=0.9,
            )

Scheduler:
            scheduler = pl_bolts.optimizers.lr_scheduler.LinearWarmupCosineAnnealingLR(
                optimizer=optimizer,
                warmup_epochs=10,
                max_epochs=self.wandb_config['n_epochs'],
                warmup_start_lr=0.,
            )

Learning Rate Monitor:
lr_monitor_callback = LearningRateMonitor(
    logging_interval='step',
    log_momentum=True)

Environment
$ python collect_env_details.py
* CUDA:
        - GPU:               None
        - available:         False
        - version:           11.3
* Lightning:
        - lightning-bolts:   0.5.0
        - pytorch-lightning: 1.7.0
        - pytorch-optimizer: 1.1.2
        - pytorch-ranger:    0.1.1
        - torch:             1.12.1+cu113
        - torch-optimizer:   0.3.0
        - torchaudio:        0.12.1+cu113
        - torchmetrics:      0.9.3
        - torchvision:       0.13.1+cu113
* Packages:
        - absl-py:           1.2.0
        - aiohttp:           3.8.1
        - aiosignal:         1.2.0
        - async-timeout:     4.0.2
        - asynctest:         0.13.0
        - attrs:             22.1.0
        - cachetools:        5.2.0
        - certifi:           2022.6.15
        - charset-normalizer: 2.1.0
        - click:             8.1.3
        - cycler:            0.11.0
        - docker-pycreds:    0.4.0
        - fonttools:         4.34.4
        - frozenlist:        1.3.1
        - fsspec:            2022.7.1
        - gitdb:             4.0.9
        - gitpython:         3.1.27
        - google-auth:       2.10.0
        - google-auth-oauthlib: 0.4.6
        - grpcio:            1.47.0
        - idna:              3.3
        - importlib-metadata: 4.12.0
        - kiwisolver:        1.4.4
        - lightning-bolts:   0.5.0
        - markdown:          3.4.1
        - markupsafe:        2.1.1
        - matplotlib:        3.5.2
        - multidict:         6.0.2
        - numpy:             1.21.6
        - oauthlib:          3.2.0
        - packaging:         21.3
        - pandas:            1.3.5
        - pathtools:         0.1.2
        - pillow:            9.2.0
        - pip:               22.2.2
        - promise:           2.3
        - protobuf:          3.19.4
        - psutil:            5.9.1
        - pyasn1:            0.4.8
        - pyasn1-modules:    0.2.8
        - pydeprecate:       0.3.2
        - pyparsing:         3.0.9
        - python-dateutil:   2.8.2
        - pytorch-lightning: 1.7.0
        - pytorch-optimizer: 1.1.2
        - pytorch-ranger:    0.1.1
        - pytz:              2022.1
        - pyyaml:            6.0
        - requests:          2.28.1
        - requests-oauthlib: 1.3.1
        - rsa:               4.9
        - scipy:             1.7.3
        - seaborn:           0.11.2
        - sentry-sdk:        1.9.2
        - setproctitle:      1.3.1
        - setuptools:        63.4.2
        - shortuuid:         1.0.9
        - six:               1.16.0
        - smmap:             5.0.0
        - tensorboard:       2.9.1
        - tensorboard-data-server: 0.6.1
        - tensorboard-plugin-wit: 1.8.1
        - torch:             1.12.1+cu113
        - torch-optimizer:   0.3.0
        - torchaudio:        0.12.1+cu113
        - torchmetrics:      0.9.3
        - torchvision:       0.13.1+cu113
        - tqdm:              4.64.0
        - typing-extensions: 4.3.0
        - urllib3:           1.26.11
        - wandb:             0.13.1
        - werkzeug:          2.2.1
        - wheel:             0.37.1
        - yarl:              1.8.1
        - zipp:              3.8.1
* System:
        - OS:                Linux
        - architecture:
                - 64bit
                -
        - processor:         x86_64
        - python:            3.7.4
        - version:           #1 SMP Wed Aug 7 18:08:02 UTC 2019

I think the reason for this is explained here

I discovered the cause of the problem: my configure_optimizers() method returned the learning rate scheduler in a dictionary with corresponding key scheduler, but the key needed to be lr_scheduler.

repo: Lightning-AI/lightning


text:
CCTweaks integration

Currently looking for feedback and thoughts.
Issues

[x] Breaks the version number: either don't use Class.getPackage or fix CCTweak's class loader
[ ] Option to disable/enable CCTweaks: don't know what you want by default
Dynamically download CCTweaks rather than package it?
[ ] Set CCTweaks' config from CCEmuX's config - not sure how to do this as CCTweaks uses a global config.

Closes #14

If you're OK with it I'd prefer to package CCTweaks with CCEmuX. Less stuff to download means fewer potential points of failure.

Sure, I don't mind either way - just wanted to know your thoughts. Do you want CCTweaks enabled by default, or at least an option to disable it?

I'm fine with either as long as it can be en/disabled via config and/or CLI.

I think it should be enabled by default. CCTweaks is basically the OptiFine of ComputerCraft, you'd only really want to disable it if it's causing trouble.

CCTweaks is basically the OptiFine of ComputerCraft

This is what worries me: sometimes CCTweaks breaks programs and I don't want you guys getting blamed. However CCTweaks is pretty useful and ideally people would write programs to work with it.

Don't worry about that, it's sort of a good way to find bugs in CCTweaks :stuck_out_tongue:. Aside from that, LuaJC is disabled by default, which is the primary cause of problems, no?

Well the biggest compatibility issue is this and I don't really want to change it til I can find a better solution.  However most of the time this isn't an issue.
I'd have said that luajc is pretty stable, but I found a bug a couple of weeks ago :frowning:.
Anyways,  if you guys are fine with leaving it enabled I'm not going to grumple. I'll try to add a config option on Sunday: I'll be away for the weekend so can't get round to it beforehand.

I've added a cctweaks.enabled config option. This uses the same naming convention as other CCTweaks config options, though I'm happy to switch to cctweaksEnabled if you'd prefer.

[main] WARN CCEmuX - Cannot find custom rewrite /org/squiddev/cctweaks/lua/patch/binfs/FileSystem_PatchException.class

Is this anything to worry about @SquidDev?
Other than that, looks good to me. Any objections @apemanzilla @Lemmmy?

Is this anything to worry about @SquidDev?

Nope, this is expected behaviour.

Looks good here.

✅

Righto, let's merge! :tada:

💩

authors: Lemmmy Lignumm SquidDev apemanzilla

repo: Lignumm/CCEmuX


text:
Arbitrum faucet funds not enough to run jobs

Description
I added the new network information (Lilypad and Arbitrum) and requested funds from the Arbitrum Sepolia faucet. I received 0.0001 tokens and when I attempted to run a job I got the following error:
2024-06-25T10:15:09-04:00 ERR ../runner/work/lilypad/lilypad/pkg/jobcreator/controller.go:267 > 🟢 JC error calling agree tx for deal="insufficient funds for gas * price + value: address 0x502c9904C193629a105DC7EBD946C23c7ECf0695 have 100000000000000 want 1999223400000000"

Steps to Reproduce

With a new private key, add Lilypad and Arbitrum network information
Import Lilypad token
Add funds via faucets (20 LP, 0.0001 Arb Sepolia)
Attempt to run a job from CLI

Expected vs. Actual Behavior

Expected: I expected to have enough funds to run a job
Actual: I got an error of insufficient funds

Looks like 0.0001 is not enough for transaction.
This transactions requires 0.0019992234
https://eth-converter.com/
get more eth from here: https://faucets.chain.link/arbitrum-sepolia
they offer 0.1

We already replenished the faucets.

authors: PBillingsby alvin-reyes arsen3d

repo: Lilypad-Tech/lilypad


text:
🛑 Limbo Yggdrasil is down

In 73e0622, Limbo Yggdrasil (https://auth.lsmp.site/session/minecraft/profile) was down:

HTTP code: 404
Response time: 34 ms

Resolved: Limbo Yggdrasil is back up in 7e85c7e after 5 minutes.

repo: Limbo-Studios/limbo-status-page