text:
Use y4m as the container format for raw video

On Linux (Ubuntu 18.04) with ffmpeg 4.1.3 I get the following error when compiling a video:
Resizing video...
ffmpeg -loglevel warning -stats -hide_banner -i video.mkv -c:v rawvideo  -vf scale=-2:144 output/
[...]
[mp4 @ 0x55eb35bdd380] Could not find tag for codec rawvideo in stream #0, codec not currently supported in container
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
Error initializing output stream 0:0 --
[aac @ 0x55eb35b78440] 2 frames left in the queue on closing
[...]

Apparently rawvideo is not supported for mp4. This PR uses y4m as a container format intead, which seems to work fine.
Note that I have not tested it on other platforms.
(Edit: This is in addition to #3)

I love how not only am I having this same error, but the developer hasn't noticed this for over six months

It's a tech demo and not an actively maintained project. The codebase, in fact, did work out of the box when it was released, but was broken by an update to ffmpeg. Testing this fix and making sure it doesn't actually break users of older versions of ffmpeg was not prioritized over my other projects.

Hi @Epictyphlosion, a bit of a long shot here, but I've incorporated your code which works well but when I get the gbc file it seems to be all entirely corrupted video (though I do hear the audio). The video just seems to be super unwatchable, almost like tv static. I've only tested this on the SameBoy gameboy emulator
If you have any tips, that would be great, if not, no worries! Thanks again for the fix.

Hi @frestr, a bit of a long shot here, but I've incorporated your code which works well but when I get the gbc file it seems to be all entirely corrupted video (though I do hear the audio). The video just seems to be super unwatchable, almost like tv static. I've only tested this on the SameBoy gameboy emulator
If you have any tips, that would be great, if not, no worries! Thanks again for the fix.

Hi @frestr, a bit of a long shot here, but I've incorporated your code which works well but when I get the gbc file it seems to be all entirely corrupted video (though I do hear the audio). The video just seems to be super unwatchable, almost like tv static. I've only tested this on the SameBoy gameboy emulator
If you have any tips, that would be great, if not, no worries! Thanks again for the fix.

Seems like ffmpeg version 5.0 changed some things that caused it to break. As a workaround for now you can try downgrading to 4.4.

@TheEssem I was actually able to get this program to run by doing a combination of the following (I'm on mac):

using ffmpeg@4 on homebrew
installing rgbds v0.3.7
integrating the pull request from @frestr into the code

installing rgbds v0.3.7
How did you install v0.3.7 on Mac? It seems brew doesn't find it, so I guess you had to install via source. but on source, it complains:

Package libpng was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpng.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libpng' found
Package libpng was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpng.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libpng' found

Hi @frestr, a bit of a long shot here, but I've incorporated your code which works well but when I get the gbc file it seems to be all entirely corrupted video (though I do hear the audio). The video just seems to be super unwatchable, almost like tv static. I've only tested this on the SameBoy gameboy emulator
If you have any tips, that would be great, if not, no worries! Thanks again for the fix.

Seems like ffmpeg version 5.0 changed some things that caused it to break. As a workaround for now you can try downgrading to 4.4.

add -rle 0 as an ffmpeg argument on line 50 to work around this issue.

Hey All,
Just a headsup, I believe if you specify the version on brew it should be able to find the proper version of the dependencies you need.
I did not use homebrew to install rgbds v0.3.7, its been a while but pretty confident I installed it manually!

Hi @frestr, a bit of a long shot here, but I've incorporated your code which works well but when I get the gbc file it seems to be all entirely corrupted video (though I do hear the audio). The video just seems to be super unwatchable, almost like tv static. I've only tested this on the SameBoy gameboy emulator
If you have any tips, that would be great, if not, no worries! Thanks again for the fix.

Seems like ffmpeg version 5.0 changed some things that caused it to break. As a workaround for now you can try downgrading to 4.4.

add -rle 0 as an ffmpeg argument on line 50 of the makefile to work around this issue.

Soo... I'm using rgbds 0.3.7, ffmpeg 4.4 and yet it still throws me ROM with video, like TV static.
Adding  -rle - to line 50 just throws this:
Codec AVOption rle (Use run-length compression) specified for input file #0 (output/niecik3/video.y4m) is not a decoding option.
I'm kinda lost and dumno how to fix it.

Soo... I'm using rgbds 0.3.7, ffmpeg 4.4. I've edited Makefile for changes in a commit and yet it still throws me ROM with video, like TV static. Adding "-rle 0" to line 50 just throws this:
Codec AVOption rle (Use run-length compression) specified for input file #0 (output/niecik3/video.y4m) is not a decoding option.
I'm kinda lost and dumno how to fix it.

This is fix is specific to ffmpeg 5.0 and onward, you do not need to add this option for ffmpeg 4.4.

authors: Epictyphlosion Jenetrix LIJI32 TehMiloss TheEssem frestr jdriselvato sjr765


text:
cmdline parameters for generating the Stencil4D OTF traces?

Hi,
I can see in TraceR/tracer/stencil4d-otf, there are traces for a 64 rank and 32 rank runs of the stencil4d.C application. I was just curious about what parameters were passed to ./stencil4d while generating these traces? Is there some way to find out from just visually inspecting traces?
Particularly, I was wondering what parameters were passed here: https://github.com/LLNL/TraceR/blob/master/tracer/stencil4d-otf/stencil4d.C#L79, where the user is supposed to specify:
[grid_size_x] [grid_size_y] [grid_size_z] [grid_size_t] [msgSize]
I have the same question for TraceR/tracer/jacobi2d as well.

I think I used the following arguments:
64 ranks: 2 2 4 4 32768
32 ranks: 2 2 2 4 16384
I don't remember the arguments used for jacobi2d at all. Is there a reason you are interested in exact arguments for these traces?

source: gharchive/issue

repo: LLNL/TraceR

license: MIT

license_type: permissive

license_source: github-api


text:
Documenting the various build scripts and their inputs.
https://axom.readthedocs.io/en/task-white238-document_all_the_builds/docs/sphinx/dev_guide/updating_tpls.html#build-scripts-and-their-configuration-files

Add example of where to find error logs when you reach failure.

Ready for review.  Thanks!

source: gharchive/pull-request

repo: LLNL/axom


text:
предлагаю id тоже передавать как аргумент функции, как минимум вначале.

предлагаю id тоже передавать как аргумент функции, как минимум вначале.
Originally posted by @atherdon in https://github.com/LLazyEmail/nomoretogo_email_template/pull/11#discussion_r895061364

id повторяется и в других компонентах

id повторяется и в других компонентах

забыл, переделаю


text:
Refactor: onboarding component

Detailed Description
The Onboarding component needs to be broken down into smaller pieces. Currently there is one huge component with one giant prop list and lots of prop passing.
Context
Make codebase more readable and make the onboarding process easier to make changes to.

Closed via https://github.com/LN-Zap/zap-desktop/pull/2594

repo: LN-Zap/zap-desktop

license: mit

license_source: bigquery


text:
fix(config): use app.getPath() to get data dir

Use electron's app.getPath() method to get the path to our data directory. This removes redundant custom code from our app and supports the XDG Base Directory Specification standard on linux.
See:

https://github.com/electron/electron/blob/master/docs/api/app.md#appgetpathname
https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html

Pull Request Test Coverage Report for Build 1148

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 34.675%

Totals

Change from base Build 1146:
0.0%

Covered Lines:
357

Relevant Lines:
897

💛  - Coveralls

This was a mistake. Ignore.

authors: coveralls mrfelton


text:
Config: made routes directories and paths

Add the proper Directories with proper routing and starter template for the frontEnd
Add the following:

Index.css
Components and views
Partials with header and footer folder

Write Proper comments for all is a must

Completed the basic routes

repo: LNMIIT-CODING/stonks-frontend


text:
ElloMTL

Source name
ElloMTL
Source link
https://ellomtl.xyz
Language
English
Other details
No response
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.

I think it's been changed to ElloMTL and done in https://github.com/LNReader/lnreader-plugins/pull/867

authors: Humam-Hamdan nyagami

repo: LNReader/lnreader-plugins


text:
ERROR STOP Fluid dark energy model does not allow w crossing -1

I am using CCL installed on NERSC which is version 2.1.0 and when I try to calculate P(k, z) I get this error:

ERROR STOP Fluid dark energy model does not allow w crossing -1

which is due to CAMB using Fluid DE model instead of the PPF.
This is the cosmology I used:
cosmo =  ccl.Cosmology(Omega_c= 0.2139426, Omega_b=0.0441039, h=0.719, n_s=0.95,
sigma8=0.8, Omega_k=0.0, Omega_g=None,
w0=-1., wa=-0.01, transfer_function='boltzmann_camb',
matter_power_spectrum='halofit')
Is there an easy way to switch CAMB to use PPF model in CCL?

@Andromedanita just wondering how you're getting on with this or if you need any support?

I was just wondering if it would be possible to get someone who knows C better than me on this?

I was just wondering if it would be possible to get someone who knows C better than me on this?

@Andromedanita don't know enough about CAMB. How would you normally ask CAMB to use PPF? It should be possible to pass that through python without touching the C code.

@Andromedanita don't know enough about CAMB. How would you normally ask CAMB to use PPF? It should be possible to pass that through python without touching the C code.

And this would be the function to look at/modify: https://github.com/LSSTDESC/CCL/blob/641ba87226565f1f8c894f8d4570127c53fdec76/pyccl/boltzmann.py#L27

And this would be the function to look at/modify: https://github.com/LSSTDESC/CCL/blob/641ba87226565f1f8c894f8d4570127c53fdec76/pyccl/boltzmann.py#L27

@damonge Thanks for your response. In CAMB itself there is a parameter in the param.ini file that we can set to choose which DE model to use. So I basically just set "dark_energy_model = PPF" instead of fluid which is the default option.
Would I need to add "cp.dark_energy_model = PPF" similar to line 77 of the code you mentioned?
Also, this might sound stupid but I am currently using CCL that is already installed on NERSC and I have had issues installing it locally before so I am not sure how I can test and use it.

@damonge Thanks for your response. In CAMB itself there is a parameter in the param.ini file that we can set to choose which DE model to use. So I basically just set "dark_energy_model = PPF" instead of fluid which is the default option.
Would I need to add "cp.dark_energy_model = PPF" similar to line 77 of the code you mentioned?
Also, this might sound stupid but I am currently using CCL that is already installed on NERSC and I have had issues installing it locally before so I am not sure how I can test and use it.

I think you'd need to modify this line specifically, and change it into dark_energy_model=camb.dark_energy.DarkEnergyPPF
Unfortunately you need to modify ccl for this, so you will need to install a new version yourself...
We can probably help with installation issues.

I think you'd need to modify this line specifically, and change it into dark_energy_model=camb.dark_energy.DarkEnergyPPF
Unfortunately you need to modify ccl for this, so you will need to install a new version yourself...
We can probably help with installation issues.

Okay thank you. I will try installing it again and ask for help.
Also, is there a way to know what version of CAMB CCL uses? I think the ppf option is not available in older versions

Okay thank you. I will try installing it again and ask for help.
Also, is there a way to know what version of CAMB CCL uses? I think the ppf option is not available in older versions

it'll use whatever version of CAMB you have installed

it'll use whatever version of CAMB you have installed

I know @Andromedanita is having some trouble with the installation here and adding this as an option seems like a pretty straightforward fix for someone looking for a straightforward way to contribute. @t-ferreira, I know I've seen you at a few meetings recently, want to give this a go? I am sure me and @damonge will be able to answer general CCL questions and @Andromedanita will be available to discuss the specifics of the options she is looking to have added.

I know @Andromedanita is having some trouble with the installation here and adding this as an option seems like a pretty straightforward fix for someone looking for a straightforward way to contribute. @t-ferreira, I know I've seen you at a few meetings recently, want to give this a go? I am sure me and @damonge will be able to answer general CCL questions and @Andromedanita will be available to discuss the specifics of the options she is looking to have added.

Yes, I would be happy to look into it!

Yes, I would be happy to look into it!

Great! I'm here to help if you need anything, let me know @t-ferreira

Great! I'm here to help if you need anything, let me know @t-ferreira

Just following up to see if there is anything I can do to help with this issue :)

Just following up to see if there is anything I can do to help with this issue :)

Hi @c-d-leonard and @t-ferreira I just wanted to follow up on the status of this issue and see if there is anything I can do to help. Thanks

Hi @Andromedanita I just created a pulll request where I added an option where you can choose your dark energy model as an optional argument in Cosmology. It works with your example!
Are you still having trouble with your local installation?

Thanks so much  @t-ferreira ! Yeah I am not able to install it locally unfortunately! Not sure how I can use this option if its not integrated to the main code installed on NERSC

This should be solved with PR #857 being merged so I'm closing this issue.

Hi, checking with others, I have the same error, so can someone summarize, what to do ?

authors: Andromedanita am610 c-d-leonard damonge t-ferreira

repo: LSSTDESC/CCL


text:
Track DC2 calibration product testing

This issue is to track the status and results of tests related to DC2 calibration products
To start:
@PierreAstier and @antilogus and the SAWG / technical groups (also CC: @nomerot) will test flats produced by PhoSim v3.7 with the new background options to understand their variance properties in relationship to what is needed for brighter-fatter production and correction.
At first, based on their request, they will test 5 flat pairs (of one 4kx4k CCD) , filled up to somewhere
between 50 and 100 ke  per pixel, with the BF off to measure and characterize any residual correlation.
@TomGlanzman is working on the production of the flats.
Separate flats for flat fielding / vignetting etc may be produced later but at a lower intensity level. This first test is focused on what we need to use BF.

UPDATE:  All five flat pairs are now being processed at NERSC.  With a bit o'luck they might all be complete by sometime Friday (11/17).  The initial configuration looks like this:
domeint = 16
filter = 2
visitime = {19,23,26,30,33}
approx #e-/pixel = {50,60,70,80,90}k
approx production time = {33,39,46,52,59}h
Each image in all pairs has a unique random number seed.

👍 Are they running in the interactive partition the > 48 hr jobs can complete?

@cwwalter Three jobs are running on a single Haswell batch node (at 48 hour limit), while the other two -- longer jobs -- are being sneakily run on public login nodes.  It is my hope that they fly under the radar of the NERSC police.

There was a minor setback in that the three pairs of "fast" flats running in a batch machine all unexpectedly timed out (but for one) after 48 hours.  So I restarted these manually on login nodes yesterday.  There are five images left to complete.  Best guess is sometime tomorrow.  Here is a snapshot summary  (which I shall keep up-to-date):  https://docs.google.com/spreadsheets/d/1066BGvEwg_UwzHb9ZFbiUzYqY2KrGE55xqb6hnuMucM/edit?usp=sharing

Update: All 5 "flat" pairs (10 images) are complete per spreadsheet above.

Great!  Is it clear how the Paris people should get the output?

OK, I didn't scroll over enough.  Pierre(s) the location at NERSC is on the spreadsheet.

These tests were done and now new work is being done. With the optimizations applied there were some problematic residual correlations.  New work is happening at ANL to try to map out the space.  A new tracking issue is probably appropriate.  I am closing this issue.

authors: TomGlanzman cwwalter


text:
Documentation improvement

Improvements based on the suggestions from Tom G. and Stephane P.:

[x] Add documentation navigation (Add the list of documentation as a left side bar on documentation pages?)
[x] Link to data set documentation on transfer pages
[x] For DC2, mention one can find the partition and data schema in the release note.
[x] For DC2, mention that one may not able to load parquet files on very old machine.

Closed by #66.

Closed by #66.

repo: LSSTDESC/desc-data-portal


text:
usage about steamworks4j in lwjgl?

I checked your pom on lwjgl.org again today.
and there be 2 things confusing me.

if I chose [everything] in your pom generator, the pom I get will include lwjgl-ovr, thus fall build progress on travis-ci(in a linux machine).
[https://travis-ci.org/cyanpotion/cyan_potion/builds/644707517](travis-ci fail report)

should we fix it? at least, we can create an ampty ovr-linux-native or something, atleast we must make it can build, right?
2.how and where did we use steamworks4j in lwjgl?
I know this might be a boring question but I really cannot find anywhere you use steamworks4j in lwjgl.
Neither don't I know why we generate it in the lwjgl.org's page.
Although usually most developers DO need steamworks4j (who can ignore steam, after all?), I still think they shall add it into their pom by themself, because it is their game that use steamworks4j, not lwjgl use steamworks4j.
And I think that be better if they go maven or github and getting the steamworks4j they need by themselfs.

steamworks4j is listed under "Addons", which provides convenience for developers to add useful third-party libraries (not maintained by the LWJGL project itself) to the pom/gradle/zip if they want to use it. All addons are disabled/excluded by default, even if you select the "Everything" preset under "Presets". So you would not accidentally include it if you are not selecting it explicitly when you want it.

Hey @XenoAmess,

if I chose [everything] in your pom generator, the pom I get will include lwjgl-ovr

Actually, the bindings selected depend on the platforms/architectures you choose under Natives. If you uncheck the two Windows options, you'll find that the OVR bindings are not selected (disabled actually), even with the Everything preset.
This may not be very intuitive, but we've tried to take care of such details when possible. However, the generated script is meant to be a simple convenience. It should be correct in the majority of cases, but users should review it before copying it into their build script. The Everything preset in particular is almost always a bad idea, no application is going to need all bindings. It's there for testing if all artifacts have been deployed properly.

got it,thx.

authors: Spasi XenoAmess httpdigest


text:
glBufferData mem error

Version
3.2.3
Platform
Windows x86
JDK
Java 17
Module
openGL
Bug description
glBufferData(int target, Buffer (FloatBuffer,Intbuffer...) data, int usage);
has a memory error.
       int[] buffer = new int[2];
        int location = glGetAttribLocation(shaderProgram, "position");

        glGenBuffers(buffer);
        glBindBuffer(GL_ARRAY_BUFFER, buffer[0]);

        glVertexAttribPointer(location, 3, GL_FLOAT, false, 0, 0);
        glBufferData(GL_ARRAY_BUFFER, FloatBuffer.wrap(vertices),GL_STATIC_DRAW);

here is the full usage that caused this.
vertices - being an array of 12 floats between -1,1. its the points to draw a square.
shaderProgram - compiled and linked shader program.
Stacktrace or crash log output
Events (20 events):
Event: 0.163 loading class jdk/internal/reflect/UnsafeQualifiedStaticObjectFieldAccessorImpl done
Event: 0.166 loading class java/nio/BufferOverflowException
Event: 0.166 loading class java/nio/BufferOverflowException done
Event: 0.166 loading class java/nio/InvalidMarkException
Event: 0.166 loading class java/nio/InvalidMarkException done
Event: 0.166 loading class java/nio/BufferUnderflowException
Event: 0.166 loading class java/nio/BufferUnderflowException done
Event: 0.184 loading class java/lang/NoSuchFieldError
Event: 0.184 loading class java/lang/NoSuchFieldError done
Event: 0.188 loading class jdk/internal/reflect/UnsafeQualifiedStaticIntegerFieldAccessorImpl
Event: 0.188 loading class jdk/internal/reflect/UnsafeQualifiedStaticIntegerFieldAccessorImpl done
Event: 0.457 loading class jdk/internal/misc/ScopedMemoryAccess$Scope
Event: 0.457 loading class jdk/internal/misc/ScopedMemoryAccess$Scope done
Event: 0.461 Loaded shared library
openGL.dll
Event: 0.593 loading class jdk/internal/reflect/UnsafeQualifiedLongFieldAccessorImpl
Event: 0.594 loading class jdk/internal/reflect/UnsafeQualifiedFieldAccessorImpl
Event: 0.594 loading class jdk/internal/reflect/UnsafeQualifiedFieldAccessorImpl done
Event: 0.594 loading class jdk/internal/reflect/UnsafeQualifiedLongFieldAccessorImpl done
Event: 0.646 loading class java/nio/HeapFloatBuffer
Event: 0.646 loading class java/nio/HeapFloatBuffer done

one of the solutions I have is to may be have a size param instead of just sending the Buffer in
with no size
the error doesn't occur with
glBufferData(int target,  Array (float[],int[]...) data, int usage);

You need to use a direct buffer, see https://github.com/LWJGL/lwjgl3-wiki/wiki/1.3.-Memory-FAQ#how-do-i-allocate-and-deallocate-buffers.

the problem still continues when i implement it, like this.
try (MemoryStack stack = stackPush()) {
            IntBuffer ip = stack.callocInt(1);
            glGenBuffers(ip);
            buffer[0] = ip.get(0);
        } // stack automatically popped, ip memory automatically reclaimed
        glBindBuffer(GL_ARRAY_BUFFER, buffer[0]);

        glVertexAttribPointer(location, 3, GL_FLOAT, false, 0, 0);
        glBufferData(GL_ARRAY_BUFFER, FloatBuffer.wrap(vertices),GL_STATIC_DRAW);

i did run the debugger, and it does crash around glBufferData.

Your code is still using FloatBuffer.wrap, which allocates a heap, and not direct, buffer.


text:
fix(checkpoint): bumps save interval to 1GB

As per the title. Systems with slower disks were showing delays with writing save files so often.
@allisonheath
@millerjs r?

👍

authors: MurphyMarkW millerjs

repo: LabAdvComp/parcel


text:
Page to register a new OTP device

In the wagtail -> my account page there needs to be a button to the page to register the OTP device. The page should show the QR code and require you to enter a otp token

This can be done by overriding the wagtailadmin/account.html template, but the better solution should be creating a hook register_account_actions in wagtail which will allow adding extra buttons / actions.

authors: mikedingjan mvantellingen


text:
pip install scikit-image==0.18 fails

Following the standard installation instructions
 conda create -n morgana python=3.9 pip
pip install .
fails on M3 Mac running Sonoma due to the requirement
 scikit-image==0.18
Just running
 pip install scikit-image==0.18
in a clean environment fails. Relaxing this requirement to
 scikit-image>=0.18
worked for me.  Are there any breaking changes in scikit-image after version 0.18?

Hello, we have made a few changes in the last couple of days, exactly to solve the scikit-image dependency issue.
Could you please try installing morgana again on a fresh environment and let us know if that works well?

Yes that works thanks!

repo: LabTrivedi/MOrgAna


text:
Reto Portafolio sin contenido ni explicación

Describe el problema
El reto Portafolio no hay ningún contenido ni explicación.
Para reproducirlo
Pasos para reproducir el problema:

Ir a '...'
Hacer click en '....'
Hacer scroll hacia abajo hasta '....'
Ver error

Comportamiento esperado
Hay que tener contenido y explicación para la postulante.
Screenshots
Si es posible, agrega screenshots (capturas de pantalla) para ayudar a entender
el problema.
Contexto adicional
Agrega cualquier otra cosa que pueda ayudar a entender el contexto en el que
ocurre el problema.
Alerta
Recuerda que este repositorio es público, todos los issues y conversaciones
relacionadas son públicas y visibles a todo el mundo.
Si necesitas compartirnos información de forma privada, NO lo hagas a través de este repo,
nos pondremos en contacto para poder dar soporte a través de un canal privado.

Entorno
Location: https://laboratoria-bootcamp-next.web.app/es/auth/signup?r=/es/apply?programId=1
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36
Navigator Language: en-US
Selected Language: es

Resuelto en el release del milestone: https://github.com/Laboratoria/bootcamp.laboratoria.la/milestone/1

authors: JulianaFacciolla adsotoh

repo: Laboratoria/tech-support


text:
Set cannot be provided without an @Provides-annotated method.

Hi there,
your library looks supremely useful and I would love to incorporate it into my project... I have followed the use example on this repo but I am getting an error like this when I attempt to compile.
Is there something I'm missing?
Thanks a lot!

Hi @ek868 it's quite possible. I don't suppose you have a project with a pull request I could see?
It might be tricky to diagnose the exact reason otherwise

Is there somewhere I could contact you privately?

UPDATE:
I fixed the issue... I was just unaware that the following code (from your article):

would need to be included in our integration of the library. Feel free to close the issue if my understanding is correct! Thanks a lot for this awesome library :)

Hey @ek868, I'm glad you managed to sort this out!
Sorry I didn't have a chance to reply to you earlier.
If you think there are some improvements that could be made to the documentation, please feel let me know, or feel free to raise a PR :)

Hi @DroidZed sorry for the late reply. I cannot seem to find which parts of the code you are using this library. Could you please point me in the direction of the modules I should look at?

Hey thanks for the reply, unfortunately I've given up on the library and now using Jetpack Compose Navigation as my go to for navigation. Although I would like to revisit this project in the future to see the improvements and maybe adopt it in my next android project.

authors: DroidZed LachlanMcKee ek868


text:
updated where applicant id is being pulled from state

Description
Fixed app so that applicant profile renders again.
Fixes # (issue)
Applicant ID being pulled from profile details in state which didn't work.

Looks quick and easy

repo: Lambda-School-Labs/grants-fe


text:
Willieino/create db

Description
Updates to billing, favorites, and users helpers; created migrations and seeds for billing, favorites, and users; added Favorites routes for GET by ID, DELETE, PUT, and POST; add Users route for GET by ID.
Type of change

[x] New feature (non-breaking change which adds functionality)

How Has This Been Tested?
Added the migration and seed files. I executed the files and the database was created. The two methods do their own testing and will not run with errors in the code.

[x] Test A executed the migration and seed files.

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] My code has been reviewed by at least one peer

I like the migrations they look clean

authors: iepoch willieino


text:
Separate out actions

The actions and reducers could probably use some massaging and re-organizing to make the code easier to navigate.

Actions were separated in an earlier branch on RC 2 for the Freehold group.

authors: hagnerd nickdurbin

repo: Lambda-School-Labs/property-manager-fe


text:
[docs]: create code of conduct & contributing guidelines

Hello, I propose that the repo includes a Code of Conduct and a Contributing Guidelines files that will help contributors know what is required of them, how to conduct themselves and how they can make contributions that will be accepted in the repo.
I am not sure, what your thoughts on this are, but kindly let me know if I can work on both documents

I can work on this issue, Kindly assign me this.

Hey @akebu6, thanks for picking this up.
Please make sure you follow our orgs guidelines. Please refer here:  https://github.com/LambdaTest/test-at-scale

@TKirtan, sorry but I opened the issue so that I could work on it. You can find any other one or you can create your own issue to solve another problem :-)

Okay, No Problem with the thing.

@TKirtan, sorry but I opened the issue so that I could work on it. You can find any other one or you can create your own issue to solve another problem :-)

Okay, No Problem with the thing.

Hope you find an issue to work on!

Yep, No problem

authors: SparshKesari TKirtan akebu6

repo: LambdaTest/test-at-scale-scripts


text:
📦 NEW: AI master chef

Updated chat example for master chef pipe

updated chat interface text in opening.tsx, readme.md, and header.tsx

Please let me know if more details are required

Please re-request the review once you make the changes.

authors: AIENGINE ahmadbilaldev

repo: LangbaseInc/langbase-examples


text:
[Bug] Repeatable does not work with image field types

Bug report
What I did
I am using a repeatable field with a subfield of type image.
What I expected to happen
To display all my subfield images, as it did before upgrade :)
What happened
I can see a javascript error in console.
Uncaught ReferenceError: fieldName is not defined
What I've already tried to fix it
I see that the problem is in vendor/backpack/pro/resources/views/fields/repeatable.blade.php:170
When getCleanNameArgFromInput gets called, it assumes all inputs have a name. But field image has an input of type file which doesn't have any name, causing the problem.
Is it a bug in the latest version of Backpack?
After I run composer update backpack/crud the bug... is it still there?
YES
Backpack, Laravel, PHP, DB version
When I run php artisan backpack:version the output is:
PHP VERSION:
PHP 8.1.5 (cli) (built: Apr 16 2022 00:03:52) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.5, Copyright (c) Zend Technologies
with Zend OPcache v8.1.5, Copyright (c), by Zend Technologies
LARAVEL VERSION:
v9.11.0@598a8c84d452a66b90a3213b1d67189cc726c728
BACKPACK VERSION:
5.0.15@ec24c10ff3ee69cf0aafef9f16ec1d90c9ba9d7a

Hello @maurohmartinez . Thanks for the report and sorry for the bad experience.
I could reproduce the issue and submitted a PR to fix it, should probably be tagged by tomorrow, I will keep this open until then.
Once again, thanks for the report.
Cheers

authors: maurohmartinez pxpm

repo: Laravel-Backpack/CRUD


text:
Added annotations to the base crud controller stub

The annotation now allows IDE's to autocomplete the code when referencing $crud.

Great! Thank you @juniorgarcia , merged!

authors: juniorgarcia tabacitu

repo: Laravel-Backpack/Generators


text:
Use rope-like structure instead of line-based array in memory

I was curious how efficient this editor is and only found out it actually uses lines as the underlying "buffer format".
This works for very small buffers, maybe up to few megabytes on modern machines, but fails quickly for anything bigger.
How about using rope-like structure?
The best I know of are these:
https://github.com/josephg/jumprope-rs
https://github.com/cessen/ropey
https://github.com/josephg/librope

Interesting. As V's strings and arrays are allocated on the heap I don't quite follow why it's worth using such a much more complex structure internally?
I haven't tested really big files yet since I have plenty of heap memory on my computer - and the editor itself is aimed at small text inputs at this stage (I'm a game dev so I do small, fast and simple things and optimize only when my frame rates tell me I should 🙂)
(I have a TODO that says I'll have to look into maybe using a string builder, but that's about it)

Interesting. As V's strings and arrays are allocated on the heap I don't quite follow why it's worth using such a much more complex structure internally?

It's really for bigger files. Nothing more, nothing less.
I personally mostly work with smaller files, so even if I need to copy the whole file in memory after each operation, I can live with the tiny lag (tens to hundreds of ms). But for more megabytes it becomes a serious problem - and I edit data files of such sizes (hundreds of MBytes and occasionally even small GBytes). For game dev it's mainly about embedded assets in the source code (tens to small hundreds of MBytes - not more otherwise compilers choke).
But of course YMMV. So feel free to close this as non-issue.

I see, thanks for the links and info

authors: Larpon dumblob

repo: Larpon/vee


text:
Tools 102 easier added fields

This version of the flattener corresponds with this comment in TOOL-102, with the following additions:

Fix for cell identifier logging error (where RawMatrixFiles without associate prefix/suffix, such as Slide-seq) are taken into consideration
HumanPostnatalDonor.living_at_sample_collection (donor_living_at_sample_collection)
HumanPostnatalDonor.menopausal_status (donor_menapausal_status)
HumanPostnatalDonor.smoker (donor_smoking_status)
Tissue.derivation_process (sample_derivation_process)
Suspension.dissociation_reagent (suspension_dissociation_reagent)
Suspension.dissociation_time/Suspension.dissociation_time_units (suspension_dissociation_time)
Suspension.depleted_cell_types (suspension_depleted_cell_types)
Suspension.derivation_process (suspension_derivation_process)
Suspension.percent_cell_viability (suspension_percent_cell_viability)
Suspension.tissue_handling_interval (tissue_handling_interval)
Library.starting_quantity/Library.starting_quantity_units (library_starting_quantity)
SequencingRun.platform
RawMatrixFile.assembly
RawMatrixFile.software
Tissue.source

Related tickets that have recently gotten in that should also be taken into consideration:

Convert bmi to numeric: https://lattice.atlassian.net/browse/TOOLS-124
Cell identifiers and annotation logging: https://lattice.atlassian.net/browse/TOOLS-125

Would be great to have a thorough code review and testing. @jahilton @Jchaffer787, not sure what people's bandwidth are or best plan of action. I can update this ticket later with a list of ProcMatrixFiles to run? Should I start up EC2?

This code looks good. I would suggest running various matrix files through it for validation before merging

Files to flatten:

living_at_sample_collection:

LATDF578KWM: donors are living_at_sample_collection = False
LATDF742BQI: donors are living_at_sample_collection = True
LATDF273MDG: donors are living_at_sample_collection are mixed

menopausal_status: LATDF964MKP
donor_smoking_status: LATDF773LWI (Ye lupus, very large)
sample_derivation_process: review on other test datasets to make sure it is accurate
suspension_dissociation_reagent: review on other test datasets to make sure it is accurate
suspension_dissociation_time: LATDF519CUZ
suspension_depleted_cell_types: LATDF925LET
suspension_derivation_process:  review on other test datasets to make sure it is accurate
suspension_percent_cell_viability: LATDF287ORI
tissue_handling_interval: LATDF700WAP
library_starting_quantity: LATDF448PLU
Tissue.source: LATDF273MDG
SequencingRun.platform: LATDF013ZKP
RawMatrixFile.annotation: LATDF093IXU
RawMatrixFile.assembly: LATDF726UIF
RawMatrixFile.software: LATDF909YSO
Unique assay regression:

Slide-seq: LATDF329OGL
ATAC: LATDF180GFI
Visium: LATDF584NGT

Lian:

LATDF578KWM
LATDF742BQI
LATDF273MDG
LATDF964MKP
LATDF519CUZ
LATDF925LET

Jim:

LATDF287ORI
LATDF700WAP
LATDF448PLU
LATDF273MDG
LATDF013ZKP
LATDF093IXU

Jenny:

LATDF726UIF
LATDF909YSO
LATDF329OGL
LATDF180GFI
LATDF584NGT
LATDF483VSD

Together: LATDF773LWI
Things to do/look at:

Run validator on h5ad
Look at dataset currently in cellxgene portal and look at old fields and make sure new fields makes sense
For the specific dataset, use jupyter notebook to make sure the associated field has values that make sense. Things to watch out for are 'unknown' values, and if we may need to change that to a different default value. For example, suspension_depleted_cell_types should default to 'na' rather than 'unknown'.
Check variable types, as suspension_percent_cell_viability and donor_BMI_at_collection should be all numeric if there are not any '>', '<' or '-' in the string
If extra time allows, would be great to have each of us pick another one to run, as I may have been unknowingly biased in choosing these ProcMatrixFiles.

authors: jahilton jychien

repo: Lattice-Data/lattice-tools


text:
Relaxed cmake installation rules regarding OS X framework dependencies

This PR should ease the creation of a homebrew formula. It does not completely supersedes #620 since Xcode templates are not yet (tested and) compatible with brew file hierarchy. But I don't want to slow down the development of the SFML formula for this extra and complex feature.
Related to #620 and Homebrew/homebrew#35479
NB: #757 would have to fix some conflicts with this patch but that's not a big deal.

This is a minor patch (only +6/-3), anyone feels reviewing it? That way I could work on 757. :-)

Let's assume we use Freetype but skip Soundfile. Freetype won't be installed? Shouldn't there be separate checks rather than "all or none"?

That's a valid concern. In theory, installing just what's needed would be better better but in practice people would either use the extlibs folder for everything or delete it and let cmake automatically find and use their own binaries.
In any case, those lines will be rewritten very soon with the no_libsndfile_* branches so even if it's not really nice now, I can make it better then. So others' opinions are of interest to me.

Going to be annoying and leave a comment here so I can keep track of when this is merged in so we can go on the brew formula updates.

@DomT4: You don't have to comment on an issue to track it. Just hit the "Subscribe" button on the right side of the page.

I think it was a nice way to say 'up'. :)

others' opinions are of interest to me.

Don't be shy, I don't (usually) bite. :stuck_out_tongue_winking_eye:

Just hit the "Subscribe" button on the right side of the page.

It was 5:40am, this completely slipped my mind. Apologies :wink:

Hi,
I doubt that it will much matter as you state that the sndfile framework will soon vanish, but for whatever it is worth … I agree with Mario, because of the following use case that I’ve had to do so on occasion with with homebrew packages — slipping in a custom patched version of a dependency (usually with the hope that the issue is eventually fixed upstream).
Cheers,
Jeffrey Carpenter i8degrees@gmail.com

@mantognini So should I add this to my mergelist?

@eXpl0it3r Actually, having thought a bit more about it, I think I'd rather make a proper fix and follow @MarioLiebisch / @i8degrees  on this; I'll also update the Xcode template and make sure not to break them, even if it's only for a few commits until no_libsdnfile is merged. I'll post back here soon when it's ready.

Actually I remember why I didn't updated the Xcode template in the first place: the install script (in xcode, not cmake) need serious fix based on install_name_tool to make sure the dependencies can be loaded from the resource directory of the bundle. If some users really want that I'll work on it, otherwise I'll focus on important features.
@eXpl0it3r @MarioLiebisch @i8degrees @DomT4 This PR has been updated to reflect what has been said above. Please give it a second pair of :eyes:, thanks.

Not a CMake expert by any means, but this looks like it'd still work well with the Brew proposals. No complaints from me.

Thanks @DomT4 for the review. Any other opinion? :-)

Since no one complained, I guess we can merge this. :-)

This PR has been added to my merge list, meaning it will be merged soon, unless someone raises any concerns.

Rebased onto master and merged in 9f2aecf9cff75307cb3f5857d193a43663cfba58.

repo: LaurentGomila/SFML

license: Zlib


text:
Failed to initialize MelonLoader: Failed to load library!

Latest-Bootstrap.log
What does this mean?

Please ask for support in https://discord.gg/PuUCBZ3V
Also, repository is only meant for the installer. MelonLoader has its own separate repository.

authors: SmimOfficial slxdy


text:
Fix wrong dependencies

Dependency of LaxarJS (laxar-core, laxar-patterns and laxar-uikit) should be 0.x.

Fixed on master (v1.4.0).

repo: LaxarJS/ax-html-display-widget


text:
bug: Freeze when opening any projects e.g. java, lua, react with neovim with latest update LazyVim

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)
NVIM v0.9.2 Build type: Release LuaJIT 2.1.0-beta3
Operating system/version
MacOs 13.6
Describe the bug
After updating LazyVim plugin using :Lazy command, neovim suddenly started freezing right away when opening any project. I basically have to quit neovim. I can't use it at all for coding anymore.
Steps To Reproduce

Open a lua/java/react project with latest LazyVim + Lazy plugin

Expected Behavior
I expect it NOT to freeze when opening a project
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

I don't have this issue, but it might be related to the new settings for vim.opt.foldexpr
Can you add vim.opt.foldexpr = "0" to your lua/config/options.lua file and check if that fixes it?
If so, would be great if you could report an issue to Neovim and link it here.

What do you mean exactly with opening a project?

Closing in favor of https://github.com/LazyVim/LazyVim/issues/1584

repo: LazyVim/LazyVim


text:
Add english version of the site

Many changes here:

Added english version and made it the default
Added navbar with language selection and contributing guide
Added links as I found interesting ones that fit both EN/FR versions (disclaimer: I added a Microsoft link I found interesting, not trying to hide it 😉 )
Some fixes :)

I only translated the main page/list to make it easier to propose new languages

It looks perfect to me 👍

authors: Ldoppea sinedied

repo: Ldoppea/first-steps-dev


text:
Update in.svg

Changes to Line 1 and update to line 3

xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Capa_1" x="0px" y="0px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">
removal of line 2
<svg width="512" height="512" viewBox="0 0 512 512" fill="none"
I hope this helps

Thank you! Why is it important?

authors: LeCoupa Ruchirr

repo: LeCoupa/vueflags


text:
use data structure Map with cleanup

This PR uses data structure Map and takes care of cleaning up. It is actually easier to have the clean up code in this library. It also addresses the GC issue in older browsers which use a Map anyway.
I have tested the minified Shy version in browser manually and made sure bind/unbind work as expected.
As per mavoweb/mavo issue #417, we need to loop through elements, unbind events and manually delete elements in order to break circular reference. A data structure of Map allows us to do that.

When you have a chance, could you review and guide the next steps? A destroy method of Mavo instance depends on this library for proper cleaning up. If possible, once a direction is decided, (optional Map vs always Map ), the latest version of of Bliss can be included in a development branch of Mavo, so more developers can get involved in testing. Thanks

Hi there,
I was holding off merging this until the other discussion resolves!

greetings!
Have you found a better way to handle the circular reference and memory issues in Bliss/Mavo? the destroy method of Mavo depends on the ability to break circular reference manually, and thus further changes in Mavo depend on whether this PR is merged. Please review and advise.

repo: LeaVerou/bliss


text:
Change Sint Maarten to Saint Martin in English

We don't have any other option but to fork the gem. It will be obsolete anyway in the next few weeks.

:star:

:+1:

authors: RadekMolenda koleksiuk tomekw


text:
Update Macro for Foundry VTT v10.276

To Change
Macro
Kind of Change
Update
Additional Info
No response

I'd like to give this one a shot.


text:
成功登录后闪退

报错：
    com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 column 2 path $
            at com.google.gson.Gson.fromJson(Gson.java:822)
            at com.google.gson.Gson.fromJson(Gson.java:775)
            at com.google.gson.Gson.fromJson(Gson.java:724)
            at com.quinn.httpknife.github.GithubImpl.receivedEvent(GithubImpl.java:277)
            at com.quinn.githubknife.interactor.FindItemsInteractorImpl$8.run(FindItemsInteractorImpl.java:287)
            at java.lang.Thread.run(Thread.java:818)

OK,这个情况之前也遇到过，我尽快解决！谢谢

这个问题，我在屏蔽某些代码后进入应用，登录后还是看到过，好像是api 路径不对，返回的结果不对

这个问题是由于不支持邮箱登陆造成的，如果使用账号登陆即可，现在修复这个bug了，邮箱登陆在最新的代码中支持了，我现在关闭这个issue，谢谢 @SuperTian007  @cooliean

authors: Leaking SuperTian007 cooliean

repo: Leaking/WeGit


text:
Fix URL encoding

URL encoding was not working as expected. Did more research and used solution based off of : https://useyourloaf.com/blog/how-to-percent-encode-a-url-string/
Added tests as well

Can one of the admins verify this patch?

repo: Leanplum/Leanplum-iOS-SDK


text:
[BUG] - The application does not close

Describe the bug
By clicking one or more times on the "back" button in the navbar of my smartphone, the application does not close.
To Reproduce
Steps to reproduce the behavior:

I download Destiny from F-Droid
I open the application
I transfer any file with another device
Click the "back" button in the navbar
The application window remains open, in order to close it I have to forcibly stop the background process

Expected behavior
Once the "back" button on the navbar is clicked twice consecutively the application closes (preferably its process too)
Screenshots
Watch the preview here
App Version: 1.0.3
Smartphone:

Device: Android
OS Version: Android 11

Additional context
The same behavior happens on my Smart TV

Bug not fixed yet, thanks anyway.

repo: LeastAuthority/destiny


text:
BIP44 uses 32bit int for coin type

Discovered trying to implement a coin with a coin type > 65535 causes coin type to overflow which in turns causes "Unusual derivation path".
This app currently uses unsigned short for coin types, changing to unsigned int would support all BIP44 coin types such as the ones listed here - https://github.com/satoshilabs/slips/blob/master/slip-0044.md
For example, https://github.com/LedgerHQ/app-bitcoin-new/pull/6 coin type would overflow.

Closing, only relevant for altcoins that will rather be handled in the legacy bitcoin app repo.

authors: bigspider ryan-shaw

repo: LedgerHQ/app-bitcoin-new


text:
Refactor policy script computation, and some size optimizations

Rewritten the code to compute the derived scripts from a policy; the new version is both smaller and uses less stack.
A few other optimizations to reduce the binary size are also included; most notably, avoiding uint64_t divisions in display.c saves >400 bytes in binary size.

Codecov Report

Merging #13 (7639abd) into develop (75e594e) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop      #13   +/-   ##
========================================
  Coverage    69.94%   69.94%
========================================
  Files           12       12
  Lines          772      772
========================================
  Hits           540      540
  Misses         232      232

Flag
Coverage Δ

unittests
69.94% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 75e594e...7639abd. Read the comment docs.

authors: bigspider codecov-commenter


text:
[Bug]: Testnet p2wpkh/bech32 address not working

Impacted Library name
@ledgerhq/hw-app-btc
Impacted Library version
9.1.1
Describe the bug
Tested on Nano S Plus, Bitcoin app v2.0.6. Latest firmware.
When calling the getWalletPublicKey method, I'm unable to pull a testnet derivation path's public key.
Consider this code, to pull a mainnet address:
btn.addEventListener('click', async () => {
  const { app, transport } = await connectBitcoinLedgerApp();
  const resp = await app.getWalletPublicKey("84'/0'/0'/0/0", { format: 'bech32' });
  console.log(resp);
  await transport.close();
});

Outcome: ✅ device returns valid response
The same again but using a testnet derivation path:
btn.addEventListener('click', async () => {
  const { app, transport } = await connectBitcoinLedgerApp();
  const resp = await app.getWalletPublicKey("84'/1'/0'/0/0", { format: 'bech32' });
  console.log(resp);
  await transport.close();
});

Outcome: ❌ error thrown.
{
    "name": "TransportStatusError",
    "message": "Ledger device: UNKNOWN_ERROR (0x6a82)",
    "stack": "Error\n    at new TransportStatusError (webpack-internal:///./node_modules/@ledgerhq/hw-transport/node_modules/@ledgerhq/errors/lib-es/index.js:365:18)\n    at TransportWebUSB.eval (webpack-internal:///./node_modules/@ledgerhq/hw-transport/lib-es/Transport.js:130:39)\n    at step (webpack-internal:///./node_modules/@ledgerhq/hw-transport/lib-es/Transport.js:44:23)\n    at Object.eval [as next] (webpack-internal:///./node_modules/@ledgerhq/hw-transport/lib-es/Transport.js:25:53)\n    at fulfilled (webpack-internal:///./node_modules/@ledgerhq/hw-transport/lib-es/Transport.js:16:58)",
    "statusCode": 27266,
    "statusText": "UNKNOWN_ERROR"
}

Expected behavior
Device/js library should return a correctly formed testnet btc address.
Additional context
No response

answered on Discord

For anyone reaching here in the future: the new Bitcoin app is more restrictive on the allowed derivation paths; therefore the Bitcoin Testnet app has to be used when using testnet derivation paths.

repo: LedgerHQ/ledger-live


text:
Fix psbtv2 serializeMap function

📝 Description
The function serializeMap had some clear problems and because of it psbt serialization did not work.

map.keys is a function, not a property of the map object
Should be using for of for a list of keys. Not for in
map.get(k)!; I think this is trying to do some null check. Regardless I replaced it with an if and threw an error if the value did not exist

❓ Context

Impacted projects: `` Any project interfacing with the new ledger 2.1.0 app using the js SDK
Linked resource(s): ``

✅ Checklist

[ ] Test coverage -- Happy to add a test, but I'm not seeing any coverage for the new psbtv2 class in newops
✅ Atomic delivery
✅ No breaking changes

📸 Demo
N/A
🚀 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.

To see the specific tasks where the Asana app for GitHub is being used, see below:

https://app.asana.com/0/0/1203836703498839

Hi @haammar-ledger  Yes I can grab the same test from  https://github.com/LedgerHQ/app-bitcoin-new/pull/108/files and move it over here.
thanks for the feedback

@haammar-ledger added in b0b1aab


text:
Protect to recover

Description
Replace occurrences of 'protect' by 'recover'.
Changes include

[ ] Bugfix (non-breaking change that solves an issue)
[ ] New feature (non-breaking change that adds functionality)
[x] Breaking change (change that is not backwards-compatible and/or changes current functionality)
[ ] Tests
[ ] Documentation
[ ] Other (for changes that might not fit in any category)

Breaking changes
This PR changes the name of some functions

Codecov Report
Patch and project coverage have no change.

Comparison is base (2c520db) 85.86% compared to head (2d85d10) 85.86%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #333   +/-   ##
=======================================
  Coverage   85.86%   85.86%
=======================================
  Files           8        8
  Lines         389      389
=======================================
  Hits          334      334
  Misses         55       55

Flag
Coverage Δ

unittests
85.86% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

repo: LedgerHQ/ledger-secure-sdk


text:
🛑 CompanyGuide2 is down

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

HTTP code: 0
Response time: 0 ms

Resolved: CompanyGuide2 is back up in 53f0f80.


text:
🛑 CompanyGuide4 is down

In ab89dce, CompanyGuide4 (https://comp5.fnguide.com/server_variables.asp) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CompanyGuide4 is back up in b547a23.


text:
🛑 CompanyWise1 is down

In 51d698a, CompanyWise1 (https://comp1.wisereport.co.kr/servercheck.aspx) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CompanyWise1 is back up in abde147.


text:
🛑 CompanyGuide3 is down

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

HTTP code: 0
Response time: 0 ms

Resolved: CompanyGuide3 is back up in 217329a after 31 minutes.


text:
question: how does menu bar change state when editor cursor moves

Hi, First, thank you for creating this component and sharing it.
I like the design but I am using Vuetify, typescript and composition API. So for the past few days I have been converting your code base over to use these things.
Things are going well, but I can't get the menubar to update it's state when the editor cursor is moved. Could you help explain how that gets updated in your code base? I see that it works in your examples and I think I am using very similar code.
For instance, if we look at bold, I see that bold.ts returns "isActive: isActive.bold()".
To me that looks like it is executing the .bold() call at the time that the menu bar is being constructed. How does isActive change when the cursor moves?
With my code, I see that the menubar updates when the focus changes. So I can get the right result by clicking out of the editor and then clicking back into the editor, but maybe if I understood how the bold button toggles as the cursor moves, that would help me track down what is missing.
Thanks

I also notice that my number of characters doesn't change on the footer. So I am definitely missing some updating that you are catching.

Debugging your code, I see that you are generating the buttons on each cursor movement. If I can get my buttons generating that frequently, it will definitely address my issue. If you can provide some guidance on how you get that function called on every cursor movement, that would be helpful. Thanks...

You can see the paragraph about Transaction on https://prosemirror.net/docs/guide/.
Tiptap configure the dispatchTrasaction method, it will called when the user types, or otherwise interacts with the view.
In this method, you can see it invokes setActiveNodesAndMarks, and activeNodes and activeMarks will be updated.
The isActive getter we use is computed by the activeNodes and activeMarks, so we can get it updated.

@Leecason Thank you very much for the pointer. I will do some reading....

@Leecason I see what you are saying. The problem I am having is that in your code, this v-for is being regenerated every time the user interacts with the editor. But in my code, the v-for is only triggered on a focus change. I can't see how your v-for tells Vue that it needs to call generateCommandButtonComponentSpecs every time a transaction is dispatched. Did you do something special to get that effect or did it just happen for you?

EditorContext contains the isActive property. check https://github.com/ueberdosis/tiptap#editormenubar

@Leecason I just figured it out. It is a bug in a newer version of tiptap. I remember reading about it a week ago. EditorMenuBar has introduced a bug where it no longer triggers an update on each transaction dispatch. As soon as I switched my EditorMenuBar use to EditorMenuBubble, everything started working as expected.
Keep that in mind in case you upgrade your version of tiptap. I don't think the guys supporting tiptap are going to be putting much effort into the current version of tiptap, they seem to be focused on implementing v2 from scratch in typescript.
Anyway, thank you very much for taking the time to respond! It is very much appreciated.

Thank you. I am looking forward to the tiptap2 and vue3.

authors: Leecason gregveres

repo: Leecason/element-tiptap


text:
Just curious: why the server-client combination?

I just started working on making Stream Deck and X-Plane work together and stumbled upon your scripts. And I was wondering: what makes you choose to create this proxy? Can't you use your own X-Plane Node UDP Client in a Stream Deck plugin directly?
I'll gladly use your UDP client, if that's ok. Credits where credits due of course.

Stream Deck code runs in a browser kind of environment (Chromium based I believe) rather than node.js, and that does not support UDP communication. So a proxy process to take care of that (or a plugin in X-Plane that can provides a websocket for JavaScript to talk to) is unfortunately necessary.
And yeah, if you can make use of my code you're welcome to it :)
Still working on the X-Plane plugin to provide a websocket to anything that needs it.

I should add: it would be possible for e.g. a C++ plugin inside streamdeck to talk to X-Plane's legacy UDP protocol directly. But that means creating that stream deck plugin in C++, which wouldn't be my preference.
Mostly though the X-Plane Legacy UDP protocol has an annoying limitation in that it doesn't support begin/continue/end events (https://developer.x-plane.com/sdk/XPLMCommandPhase/) which also means some keys in e.g. the Zibo 737 won't work or won't work correctly when used through the Stream Deck. So you really need a kind of plugin on the X-Plane side to make "everything" possible.

I didn't realize that. Previously I was working on an interface using en iPad and TouchOSC with Python. It also uses NASA's X-Plane plugin and that one does support the begin/continue/end events.
But even with the limitations it'll be nice to get this to work. Even if it'll be simple (it will be, as I'm just a hobbyist and not a professional programmer 😀).

Since it won't be possible to require modules I'll need to copy your client code in to mine. Is that ok for you? I'll make sure to mention you at the top of the code, thanking you for the work you've done already. For now I'm working on it locally, but eventually I'd like to share it on Github.

Sure, as per the license, knock yourself out :)

authors: Leeft sanderdatema

repo: Leeft/xplane-websocket-proxy

license: ISC


text:
leetcode-cn无法登陆

🐛 Bug Report
无法登录
To Reproduce

submit时提示session过期, 建议重新登陆
重新登陆所有方式都没有用, enter键入后没有任何toast

Your Environment

os: win10 1909
extension settings: default
nodejs version:v14.15.4
vscode version: v1.55.2
extension version:v0.17.0

node:v12.13.0
vscode:1.56.0
os:mac
没有设置Proxy
[ERROR] Error: tunneling socket could not be established, cause=connect EHOSTUNREACH 0.0.31.65:80 - Local (192.168.255.10:53083)
为什么会请求：0.0.31.65

🐛 Bug Report
无法登录
To Reproduce

submit时提示session过期, 建议重新登陆
重新登陆所有方式都没有用, enter键入后没有任何toast

Your Environment

os: win10 1909
extension settings: default
nodejs version:v14.15.4
vscode version: v1.55.2
extension version:v0.17.0

解决方案：

访问本地： ~/.vscode/extensions/leetcode.vscode-leetcode-0.17.0/node_modules/vsc-leetcode-cli/lib/plugins/leetcode.js
将此行代码注释：

sessionId sessionCSRF 从力扣官网查找并切写死：LEETCODE_SESSION   csrftoken
重新走下登录，选择cookie登录。即可完成登录~~~

这样写死其实不好，如果 cookie 过期了，还要重新改代码，很麻烦。估计以前中国区的 cookie 格式有些特殊，所以做了特殊处理。现在我看两个区的 cookie 格式是一样的，所以不需要对国内区做特殊处理了，因此，解决这个问题的方法是把下面这行代码：
const isCN = config.app === 'leetcode.cn';

改为：
  const isCN = false;

这样写死其实不好，如果 cookie 过期了，还要重新改代码，很麻烦。估计以前中国区的 cookie 格式有些特殊，所以做了特殊处理。现在我看两个区的 cookie 格式是一样的，所以不需要对国内区做特殊处理了，因此，解决这个问题的方法是把下面这行代码：
const isCN = config.app === 'leetcode.cn';

改为：
  const isCN = false;

是的，这块是我写的，leetcode-cn 目前格式一致了。 pr 已经在上游项目 merge 了，但目前还没发布，可以手动改 leetcode-cli 的版本，然后执行。

可以看最新的 coomit 和 pr

原来是这样，辛苦大佬 @yihong0618

@yihong0618 是说leetcode-cli吗？pr有链接吗？

不是啊，是你那个上游项目，之前 merge 那个

ok 了解。那现在应该已经发布了 Thanks!

Closing since it should have been fixed. Thanks for @yihong0618's help.
Feel free to leave comment when you have more questions.

authors: jdneo jieboom labuladong markexin qinh yihong0618

repo: LeetCode-OpenSource/vscode-leetcode


text:
wing loss

请问在您计算wing loss的时候，作为ground truth的 68个3D人脸点是怎么得到的？

由于缺乏真实3D数据，在利用3DMM回归时的GT一般都是是利用先前方法回归出的3D系数重建三维人脸得到的。因此这个GT具有很多噪声，是一种假的GT。这是一个病态问题，但是目前所有基于这样的文章都能得出较好的结果，因此一定程度上也可以接受。

请问方便分享一下wing loss function部分的代码吗

你好。wing loss代码已经上传。

非常感谢，由于我是初学者，我在学习尝试自己训练时出现 loss 是nan的情况，请问可以帮我看一下代码哪里出错了吗，谢谢！
`def train(train_loader, model, criterion_wpdc, criterion_wing, optimizer_wpdc, optimizer_wing, epoch):
batch_time = AverageMeter()
data_time = AverageMeter()   # 计算并存储平均值和当前值
losses = AverageMeter()
model.train()

end = time.time()
# loader is batch style
# for i, (input, target) in enumerate(train_loader):
# train_loader对应 输入图像input 以及 对应的62维ground truth     target
for i, (input, target) in enumerate(train_loader):
    target.requires_grad = False
    target = target.cuda(non_blocking=True)
    output = model(input)

    data_time.update(time.time() - end)

    #wpdc
    loss_wpdc = criterion_wpdc(output, target)
    optimizer_wpdc.zero_grad()
    loss_wpdc.backward(retain_graph=True)
    optimizer_wpdc.step()

    #wing
    loss_wing = criterion_wing(output, target)
    optimizer_wing.zero_grad()
    loss_wing.backward(retain_graph=True)
    optimizer_wing.step()

    losses = 0.5 * loss_wpdc + loss_wing

    # measure elapsed time
    batch_time.update(time.time() - end)
    end = time.time()

    # log
    if i % args.print_freq == 0:
        logging.info(f'Epoch: [{epoch}][{i}/{len(train_loader)}]\t'
                     f'LR: {lr:8f}\t'
                     f'Time {batch_time.val:.3f} ({batch_time.avg:.3f})\t'
                     # f'Data {data_time.val:.3f} ({data_time.avg:.3f})\t'
                     f'Loss {losses.data.cpu().numpy():.4f} ')`

非常感谢，由于我是初学者，我在学习尝试自己训练时出现 loss 是nan的情况，请问可以帮我看一下代码哪里出错了吗，谢谢！
`
def train(train_loader, model, criterion_wpdc, criterion_wing, optimizer_wpdc, optimizer_wing, epoch):
batch_time = AverageMeter()
data_time = AverageMeter()   # 计算并存储平均值和当前值
losses = AverageMeter()
model.train()

end = time.time()
# loader is batch style
# for i, (input, target) in enumerate(train_loader):
# train_loader对应 输入图像input 以及 对应的62维ground truth     target
for i, (input, target) in enumerate(train_loader):
    target.requires_grad = False
    target = target.cuda(non_blocking=True)
    output = model(input)

    data_time.update(time.time() - end)

    #wpdc
    loss_wpdc = criterion_wpdc(output, target)
    optimizer_wpdc.zero_grad()
    loss_wpdc.backward(retain_graph=True)
    optimizer_wpdc.step()

    #wing
    loss_wing = criterion_wing(output, target)
    optimizer_wing.zero_grad()
    loss_wing.backward(retain_graph=True)
    optimizer_wing.step()

    losses = 0.5 * loss_wpdc + loss_wing

    # measure elapsed time
    batch_time.update(time.time() - end)
    end = time.time()

    # log
    if i % args.print_freq == 0:
        logging.info(f'Epoch: [{epoch}][{i}/{len(train_loader)}]\t'
                     f'LR: {lr:8f}\t'
                     f'Time {batch_time.val:.3f} ({batch_time.avg:.3f})\t'
                     # f'Data {data_time.val:.3f} ({data_time.avg:.3f})\t'
                     f'Loss {losses.data.cpu().numpy():.4f} ')

`

你好。一般loss出现Nan可能是在计算loss的时候分母出现了0。你这个代码看不出问题。建议你先判断wingloss和wpdcloss哪个loss出现问题。然后调试程序去看loss计算中哪一步运算出现了0的可能。

你好。一般loss出现Nan可能是在计算loss的时候分母出现了0。你这个代码看不出问题。建议你先判断wingloss和wpdcloss哪个loss出现问题。然后调试程序去看loss计算中哪一步运算出现了0的可能。

你这个代码还有个问题，一般只对最后的总loss进行反传播。不会一次训练传播两次loss。

非常感谢，请问您最终的loss大概在多少，我观察到初始的wingloss大约在30左右，而wpdcloss大约只有0.2，请问在您训练时也是这样的情况吗

你好。wing loss大概在4到5，wpdc loss一般在0.02左右，能够达到比较好的效果

repo: LeiJiangJNU/DAMDNet


text:
Problem working with AirSane

Hello! I am having an issue using this on an iPad (MYFY2LL/A, 16,4,1(a) ) and communicating with an AirSane instance (https://github.com/SimulPiscator/AirSane.) My AirSane instance does work on my Mac mini M2 with macOS Ventura 13.2.1.
When I launch OpenAirScan, it finds the scanner, but it just shows a spinner for the space where the icon would be, and when I click on the scanner, the next page has no options. Clicking 'Custom Scan' and then 'Start scan!' just brings up an red banner stating 'the scanner is busy!'

I have checked the URLs and they are using self-signed certificates, but I am able to access them with the iPad. Here is the output from Bonjour (via the Discovery app) for the scanner along with the XML from the ScannerCapabilities endpoint.
_uscans._tcp. - 1 item
FUJITSU fi-6110dj
officepi.local.
192.168.50.5:4443
192.168.99.10:4443
txtvers=1
vers=2.0
pdl=application/pdf,image/jpeg,image/png
ty=FUJITSU fi-6110dj
note=2nd Floor Office
uuid=561ca374-a30b-5d55-b459-632579be635e
rs=561ca374-a30b-5d55-b459-632579be635e
cs=grayscale,color
is=adf
duplex=T
adminurl=https://officepi.duplexx.net:4443/561ca374-a30b-5d55-b459-632579be635e
representation=https://officepi.duplexx.net:4443/561ca374-a30b-5d55-b459-632579be635e/ScannerIcon

<scan:ScannerCapabilities xmlns:pwg="http://www.pwg.org/schemas/2010/12/sm" xmlns:scan="http://schemas.hp.com/imaging/escl/2011/05/03">
<pwg:Version>2.0</pwg:Version>
<pwg:MakeAndModel>FUJITSU fi-6110dj</pwg:MakeAndModel>
<pwg:SerialNumber>1.0</pwg:SerialNumber>
<scan:UUID>561ca374-a30b-5d55-b459-632579be635e</scan:UUID>
<scan:AdminURI>
https://officepi.duplexx.net:4443/561ca374-a30b-5d55-b459-632579be635e
</scan:AdminURI>
<scan:IconURI>
https://officepi.duplexx.net:4443/561ca374-a30b-5d55-b459-632579be635e/ScannerIcon
</scan:IconURI>
<scan:Adf>
<scan:AdfDuplexInputCaps>
<scan:MinWidth>0</scan:MinWidth>
<scan:MinHeight>0</scan:MinHeight>
<scan:MaxWidth>2550</scan:MaxWidth>
<scan:MaxHeight>3300</scan:MaxHeight>
<scan:MaxPhysicalWidth>2550</scan:MaxPhysicalWidth>
<scan:MaxPhysicalHeight>3300</scan:MaxPhysicalHeight>
<scan:MaxScanRegions>1</scan:MaxScanRegions>
<scan:SettingProfiles>
<scan:SettingProfile name="0">
<scan:ColorModes>
<scan:ColorMode>Grayscale8</scan:ColorMode>
<scan:ColorMode>RGB24</scan:ColorMode>
</scan:ColorModes>
<scan:ColorSpaces>
<scan:ColorSpace>RGB</scan:ColorSpace>
</scan:ColorSpaces>
<scan:SupportedResolutions>
<scan:DiscreteResolutions>
<scan:DiscreteResolution>
<scan:XResolution>50</scan:XResolution>
<scan:YResolution>50</scan:YResolution>
</scan:DiscreteResolution>
<scan:DiscreteResolution>
<scan:XResolution>75</scan:XResolution>
<scan:YResolution>75</scan:YResolution>
</scan:DiscreteResolution>
<scan:DiscreteResolution>
<scan:XResolution>150</scan:XResolution>
<scan:YResolution>150</scan:YResolution>
</scan:DiscreteResolution>
<scan:DiscreteResolution>
<scan:XResolution>300</scan:XResolution>
<scan:YResolution>300</scan:YResolution>
</scan:DiscreteResolution>
<scan:DiscreteResolution>
<scan:XResolution>600</scan:XResolution>
<scan:YResolution>600</scan:YResolution>
</scan:DiscreteResolution>
</scan:DiscreteResolutions>
</scan:SupportedResolutions>
<scan:DocumentFormats>
<pwg:DocumentFormat>application/pdf</pwg:DocumentFormat>
<pwg:DocumentFormat>image/jpeg</pwg:DocumentFormat>
<pwg:DocumentFormat>image/png</pwg:DocumentFormat>
</scan:DocumentFormats>
</scan:SettingProfile>
</scan:SettingProfiles>
<scan:SupportedIntents>
<scan:SupportedIntent>TextAndGraphic</scan:SupportedIntent>
<scan:SupportedIntent>Photo</scan:SupportedIntent>
</scan:SupportedIntents>
</scan:AdfDuplexInputCaps>
<scan:AdfOptions>
<scan:AdfOption>DetectPaperLoaded</scan:AdfOption>
</scan:AdfOptions>
</scan:Adf>
</scan:ScannerCapabilities>

Thanks for any help you can provide!

I'll have to spin up an instance of AirSane myself to troubleshoot this.
The image doesn't load as there is no image specified in the path returned by AirSane, it's just a directory.

The image doesn't load as there is no image specified in the path returned by AirSane, it's just a directory.

That URL does point to a valid image. I am not sure if the escl spec requires a filename.
curl --insecure -v https://officepi.duplexx.net:4443/561ca374-a30b-5d55-b459-632579be635e/ScannerIcon
*   Trying 192.168.50.5:4443...
* Connected to officepi.duplexx.net (192.168.50.5) port 4443 (#0)
* ALPN: offers h2
* ALPN: offers http/1.1
* (304) (OUT), TLS handshake, Client hello (1):
* (304) (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
* TLSv1.2 (IN), TLS handshake, Server finished (14):
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
* ALPN: server accepted http/1.1
* Server certificate:
*  subject: CN=tvpi
*  start date: Oct 13 22:08:29 2022 GMT
*  expire date: Oct 10 22:08:29 2032 GMT
*  issuer: CN=tvpi
*  SSL certificate verify result: self signed certificate (18), continuing anyway.
> GET /561ca374-a30b-5d55-b459-632579be635e/ScannerIcon HTTP/1.1
> Host: officepi.duplexx.net:4443
> User-Agent: curl/7.86.0
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Server: nginx/1.10.3
< Date: Sun, 28 May 2023 17:59:50 GMT
< Content-Type: image/png
< Transfer-Encoding: chunked
< Connection: keep-alive

I'm having a similar issue. I can see the image, but the app can't get the scanners capabilities.
From the logs I can see that it's trying to get them through https + no port (I use a port, same as the other user).
I don't know in which point the library (or app) strips them from the bonjour advertisement. I can provide more dumps if needed.
Here's mine:
Brother DCP-1510._uscan._tcp.local: type TXT, class IN
    Name: Brother DCP-1510._uscan._tcp.local
    Type: TXT (16) (Text strings)
    .000 0000 0000 0001 = Class: IN (0x0001)
    0... .... .... .... = Cache flush: False
    Time to live: 4500 (1 hour, 15 minutes)
    Data length: 264
    TXT Length: 9
    TXT: txtvers=1
    TXT Length: 8
    TXT: vers=2.0
    TXT Length: 40
    TXT: pdl=application/pdf,image/jpeg,image/png
    TXT Length: 19
    TXT: ty=Brother DCP-1510
    TXT Length: 11
    TXT: note=minipc
    TXT Length: 41
    TXT: uuid=3e50358d-5c9a-4bcc-8eec-6bb51aad2a2b
    TXT Length: 7
    TXT: rs=eSCL
    TXT Length: 18
    TXT: cs=grayscale,color
    TXT Length: 9
    TXT: is=platen
    TXT Length: 8
    TXT: duplex=F
    TXT Length: 32
    TXT: adminurl=http://example:8090/eSCL
    TXT Length: 50
    TXT: representation=http://example:8090/eSCL/ScannerIcon

authors: LeoKlaus jmarchewka martinbarez

repo: LeoKlaus/SwiftESCL


text:
Enable use in UITableView

Variables sections and selectedSection were made open so it's possible to actually programmatically change the value rather than just listen to changes via the delegate function. Without this, the only way to really change it is to recreate the entire SectionedSlider.
TouchedMoved were swapped out for pan gestures so the gesture recognizers could operate with that of a scrollView. Otherwise, the pan gesture of the scrollView would activate when you're trying to use the Sectioned Slider. Note that this was only tested via Storyboards (aka using awakeFromNib), I haven't tested it via programmatic creation init(frame: CGRect, selectedSection: Int, sections: Int, palette: Palette = Palette())

Thanks, @JonnyLinja.

authors: JonnyLinja LeonardoCardoso

repo: LeonardoCardoso/SectionedSlider


text:
Update rust benchmarks (except rust_thruster)

Summary of changes
Changes introduced in this pull request:

updated rust_grpcio_bench dependencies,
updated rust_tonic_st_bench dependencies,
updated rust_tonic_mt_bench dependencies.

Reference issue to close (if applicable)

Other information and links

Unfortunately, I failed to easily update the thruster dependencies; I'll leave it as a separate issue to do.


text:
[REQUEST] Low Health red vignette

When the player is on low health (>15%), a red vignette should appear around the edges of the screen, slowly getting higher in intensity as health depletes. This vignette can flash slightly, mimicing emergency lights on the ship. When health reaches above 15%, the vignette should not be visible.
The vignette will be accompanied with alarm sounds and blaring.
Describe alternatives you've considered
There could also be a small text box that appears, stating that you're low on health and might crash any second. For further information or uncertainties, contact Ebony.

Task Estimation (time): 3 (complete guess)
Does this issue address a risk? Not directly
Risk: Have not done something like this in Unity before (the vignette thing, I've done event triggers before!)
Risk Resolution: If it takes more than a websearch and some swearing I'll ask for help!

Actual time taken: ~3h.  Huh.  It felt like a lot longer than that! Also right on, I managed to guess correctly!
Testing procedure: (pick one) Playtest
Test Pass Condition(s):  SO MUCH PLAYTEST, as it's an in-combat cosmetic change.  Basically, does it work As Expected, or no? If yes, pass! Yay!
Risks: It may Mysteriously Break, as my screen shake code seems to have.  :/
Risk Resolution: I will yell about it until we figure out why.  (The why may just be Unity being a butt, at which point all you can do is fix it, siiiiigh.)

authors: TeaRussell ebsmarch

repo: Liam-Harrison/Celeritas


text:
Add citations to zenodo record (and docs)

Our zenodo record should include citations, for example of papers describing any methods we implement.
Part of #82

Ideally, should read a BibTeX file since we already have a well-populated one from the book chapter.

For our documentation: https://build-me-the-docs-please.readthedocs.io/en/latest/Using_Sphinx/UsingBibTeXCitationsInSphinx.html

repo: LiberTEM/LiberTEM


text:
feat: Allow other LDAP field besides "mail" to map to email address

See https://github.com/danny-avila/LibreChat/pull/4127

new PR: https://github.com/danny-avila/LibreChat/pull/4177

authors: Mxbonn danny-avila


text:
GitLab token per user

Using this plugin, I have noticed that the GitLab token is shared for all users. This way, GitLab accounts the time to the user owning the token instead of the actual user that tracked the time.
Would it not be possible to extend configuration to allow each user to add their token?

@pluskal sounds like a very useful improvement to me! Let's hope that it gets implemented by @vitormattos

I did a pause to use GitLab as the first version control system. I haven't plans to implement this at this moment.

I have forked this plugin and made some improvements, including moving the access token configuration into the user settings.
@pluskal @mrschaal Feel free to try it out: https://github.com/Physikbuddha/GitlabConnectorBundle
@vitormattos Since you've stated that you stopped using Gitlab, I have forked and renamed the plugin. If you still want to keep maintaining it, I am happy to create a PR into your repo.

@Physikbuddha could you send a PR?

Sorry by delay, I wrote the answer but didn't sent and forgot to go back here.
You can send your PR to this project, no problem about this. I also can put you as maintainer of this repository. I think that this will be good to the project. We can set a tag as v1.0.0 to current release and after merge your PR we can create the release v2.0.0

authors: Physikbuddha mrschaal pluskal vitormattos

repo: LibreCodeCoop/GitLabBundle


text:
Bug in the bq769x2_configure_alerts  function

https://github.com/LibreSolar/bms-firmware/blob/ad92b6acd5a589f23704c59ea708b19479d0f4ea/drivers/bms_ic/bq769x2/bq769x2.c#L407-L451
The statements like:
ic_conf->alert_mask |= (ic_conf->alert_mask & BMS_ERR_CELL_UNDERVOLTAGE);
have no much sense.
Probably the author wanted something else.
This probably relates to #76

You are absolutely correct, thanks for reporting the bug @Vadiml1024.
Please take a look at PR #81 and let me know if you agree this fixes the bug.

repo: LibreSolar/bms-firmware


text:
question about load checkpoint

hello, thanks for you excellent work first! i met some question when loading weights, there are so many unexpect keys as below, is this normal?

Hi，@menglongyue，it's normal in the training process. We load the pre-trained weights for encoder and decoder seperately. The unexpected keys in the log are the parameters of the encoder when loading weights for the decoder(MAEBoxHead).

@LiewFeng Thanks for you reply very much, i understand it now. another place i do not understand, how to devide foreground and background, could you please explain it?

@menglongyue For the base training of COCO in the few-shot setting, there are only 60 foreground classes and 1 background class, whhile for the finetuing, there are 80 foreground classes and 1 background class. Thus, when loading weights from the checkpoint of base training, we need to move the class weight of background to the last.

ok, i get it. Thank you very much!

@LiewFeng ok, i get it. Thank you very much!

authors: LiewFeng menglongyue

repo: LiewFeng/imTED


text:
Allow case sensitive renaming - close #1352

Latest fs has a rename that is case sensitive. Exists check wasn't case sensitive on osx but able
to work around that by checking if case differs
@rundis @kenny-evitt Will merge later today unless there's a concern

Looks fine.

Great!

authors: cldwalker rundis

repo: LightTable/LightTable


text:
Issue with StreamingDataset when not using all GPUs on host.

🐛 Bug
When initializing a StreamingDataset object, _DistributedEnv.detect() is called (code) and in the detect() function there a world_size check (code). This check fails for my use case when I am not using all GPUs on a host, such that world_size is set to 6 but torch.cuda.device_count() will return 8. 6 % 8 != 0, thus raising the error.
Perhaps this check failure is the intended behavior, but I do not know enough about the litdata repository to understand why the code should raise an error when world_size % device_count != 0. I would imagine that torch would run various checks when setting up a torch distributed environment, such that this check would not be needed unless it provides a particular purpose to StreamingDataset() or another object. If there is any insight here on (1) if this check is needed and (2) why it is needed, that would be great!
To Reproduce
This issue came up when experimenting with LitGPT. I don't think this section or the following sections are necessary and I will leave the blank for now. Please let me know if any of these sections would help and I can add more description.
Code sample
Not needed at the moment.
Expected behavior
Not needed at the moment.
Environment
Not needed at the moment.
Additional context

Hey gkroiz, do you want to submit a fix for it ?

I realized that when using _DistributedEnv.detect() in a multi-node environment where you are not using all available GPUs, it is not possible (at least with torch), to determine number of nodes. I will create a PR that mentions this.

@gkroiz Lot of great comments. Maybe we could have the following behaviour to unblock you.
By default, we are breaking as we don't have enough information. However, if the user provides extra environement variables: https://github.com/Lightning-AI/pytorch-lightning/tree/master/src/lightning/fabric/plugins/environments, we could accept the execution.

Yes, I can put together a PR with one of the solutions when I get the time.

authors: gkroiz tchaton

repo: Lightning-AI/litdata


text:
Add API component docs

Before submitting

[x] Was this discussed/approved via a Github issue? (no need for typos and docs improvements)
[x] Did you read the contributor guideline, Pull Request section?
[ ] Did you make sure to update the docs?
[ ] Did you write any new necessary tests?

What does this PR do?
Fixes # (issue).
PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃

@RobertLaurella ^^

already documented in the component itself

authors: Borda aniketmaurya rohitgr7

repo: Lightning-AI/stable-diffusion-deploy


text:
Throttling based on gas price, rather than ops/sec

Research on throttling based on gas price, rather than ops/sec

Research doc in notion: https://www.notion.so/limechain/Throttling-by-gas-research-65d82ac2e30a43768a603e7f89850a9e

@Daniel-K-Ivanov schedule a call tmr

authors: Daniel-K-Ivanov Petyo-Lukanov stoqnkpL

repo: LimeChain/hedera-services


text:
snap guvcview won't run, deb pkg runs just fine

I've got an ancient om511 webcam, trying to get it to work on 64bit Ubuntu 19.10
Installed the snap, then trying to run, it crashes on exit with:
/snap/bin/guvcview
USB Camera (05a9:0511) (usb-0000:00:1d.0-1.5):
/dev/video0
libv4lcontrol: error creating shm segment failed: Permission denied
libv4lcontrol: falling back to malloc-ed memory for controls
GUVCVIEW: version 2.0.6
GUVCVIEW: couldn't open /home/ajft/snap/guvcview/81/.config/guvcview2/video0 for read: No such file or directory
libv4lcontrol: error creating shm segment failed: Permission denied
libv4lcontrol: falling back to malloc-ed memory for controls
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Inappropriate ioctl for device
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Inappropriate ioctl for device
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Inappropriate ioctl for device
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Inappropriate ioctl for device
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Inappropriate ioctl for device
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Inappropriate ioctl for device
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Inappropriate ioctl for device
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Inappropriate ioctl for device
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Inappropriate ioctl for device
V4L2_CORE: failed to subscribe events for control 0x0098090c: Invalid argument
V4L2_CORE: failed to subscribe events for control 0x00980910: Invalid argument
V4L2_CORE: failed to subscribe events for control 0x00980914: Invalid argument
V4L2_CORE: failed to subscribe events for control 0x00980915: Invalid argument
V4L2_CORE: V4L2_CAP_TIMEPERFRAME not supported
libGL error: unable to load driver: r600_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: r600
libGL error: unable to load driver: r600_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: r600
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
X Error:  BadValue
Request Major code 153 (GLX)
Request Minor code 3 ()
Value 0x0
Error Serial #109
Current Serial #110
Installing the package version with "sudo apt install guvcview" installs a number of dependencies and guvcview.deb
Running /usr/bin/gucview works and can display my camera
Running /snap/bin/guvcview still crashes immediately.

Project appears abandoned, closing this issue so I don't have it appearing in a list of open issues I've lodged

repo: Lin-Buo-Ren/guvcview-snap


text:
Need to improve the recovery logic against trailing invalid index

Currently, LTFS doesn't have a good logic to recover the 2 cases below.

| index | data | (incomplete) index | eod
| index | data | (incomplete) index eod

Case 1 could be generated by the cam backend when LTFS crashes in the middle of writing index. Case 2 could be generated by low level SCSI  backends lile the sg backend at the same condition.
See detail in the PR #302.

The point is how to handle the (incomplete) index.
The spec doesn't clear this condition because it doesn't define any "incomplete" condition at all. In my sense, I want to keep the (incomplete) index for analysis when something bad things happen like

| index | data | (incomplete) index | eod - recover -> | index | data | (incomplete) index | index | eod
| index | data | (incomplete) index eod - recover -> | index | data | (incomplete) index | index | eod (add a FM before index)

repo: LinearTapeFileSystem/ltfs


text:
🛑 LinerlyBot (Discord) is down

In 1fa9928, LinerlyBot (Discord) (https://linerlybot-discord.linerly.tk) was down:

HTTP code: 0
Response time: 0 ms

Resolved: LinerlyBot (Discord) is back up in 18ffbc6.

repo: Linerly/status


text:
Smaller logo and several improvements

Solving #10 and providing better css.

I did the CSS change because the color contrast was obvious not suitable. Test with http://www.checkmycolours.com/ to find out what I mean.

Hi @theodorosploumis! Can you please rebase your changes?

authors: CuriousLearner theodorosploumis


text:
Implement Trace Logging as A Partial Method

Let's see if we can take our current trace logging facility and wrap it as a partial method, so that logging methods can log using logger.trace

I have trace logging running within a local feature branch. Trace logging is configured using a bootstrapping method integrated within server handlers
def add_trace_logging():
    """
    Adds trace level logging support to logging and the root logging class
    """

    def trace(self, message, *args, **kwargs):
        """
        Generates a TRACE log record
        """
        self.log(5, message, *args, **kwargs)

    logging.addLevelName(5, "TRACE")
    logging.getLoggerClass().trace = trace

Logging config
version: 1
disable_existing_loggers: false
formatters:
  simple:
    format: '%(asctime)s - %(name)s - %(levelname)s - %(message)s'
handlers:
  console:
    class: logging.StreamHandler
    level: TRACE
    formatter: simple
    stream: ext://sys.stdout
root:
  level: WARN
  handlers: [console]
loggers:
  connect:
    level: TRACE
  uvicorn:
    level: INFO

I will also test with the handler set to DEBUG to verify that we aren't emitting log events.

So, with this approach, does getting the logger and using trace look like:
logger = logging.getLogger(__name__)
logger.trace("message")

?  If so, that's exactly what we are looking for.

So, with this approach, does getting the logger and using trace look like:
logger = logging.getLogger(__name__)
logger.trace("message")

? If so, that's exactly what we are looking for.

@ccorley - exactly! We still may not have "auto-completion" support since we're appending a function to the type at runtime, but we can look at refining that later if needed.

authors: ccorley dixonwhitmire

repo: LinuxForHealth/connect


text:
brew install - neither as root nor as user, so how

Hi,
Sorry for this lame question, but
I would like ot install brew on debian 9.

If I run the comand you suggest in the repo brew-install as root, it returns that I shouldn't do it as root.

Ok

If I run it as an other ssh user, is says that i'll need a password to install it in /home/linuxbrew/.linuxbrew, but if I press enter, linuxbrew is installed in a diferent directory /var/www/some/IPSConfig/folders/.linuxbrew
if I run su, before install, I logically end up as root, and
if I run sudo sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)" ; I'm asked for a password but neither my ssh user password nor my root password works.

So how ? As you suggest to install brew in /home/linuxbrew/.linuxbrew
Thank's in advance

Use su to create a user named linuxbrew, and give the linuxbrew user password-less access to sudo. See for example:
https://github.com/Linuxbrew/docker/blob/ae70717907c35770fc7b5b78050f63c37a049548/debian/Dockerfile#L22-L23
Even easier if you like is to use su to create an empty directory named /home/linuxbrew/.linuxbrew owned by the current user.

Thank you very much !
may I suggest an upadate to the install page.
I
Remove your second sentence from where it is and
II
Slightly edit the "Install Linuxbrew" section" as such :
Linuxbrew can be installed in your home directory and does not require root access.
The installation script installs Linuxbrew to /home/linuxbrew/.linuxbrew if possible and in your home directory at ~/.linuxbrew otherwise.
You may thus create a new user named linuxbrew with password-less access to sudo, but It' not mandatory.
useradd -m -s /bin/bash linuxbrew \
&& echo 'linuxbrew ALL=(ALL) NOPASSWD:ALL' >>/etc/sudoers

Paste a ...
Follow the Next steps instructions to add Linuxbrew to your PATH and to your bash shell profile script, either
on Debian/Ubuntu
test -d ~/.linuxbrew && PATH="$HOME/.linuxbrew/bin:$HOME/.linuxbrew/sbin:$PATH"
echo "export PATH='$(brew --prefix)/bin:$(brew --prefix)/sbin'":'"$PATH"' >>~/.profile

On CentOS/Fedora/RedHat
test -r ~/.bash_profile && echo "export PATH='$(brew --prefix)/bin:$(brew --prefix)/sbin'":'"$PATH"' >>~/.bash_profile
echo "export PATH='$(brew --prefix)/bin:$(brew --prefix)/sbin'":'"$PATH"' >>~/.profile

You're done, check the dependencies and Try installing a package.

Any how thank's again.

Good suggestion. I have my hands full this week. Feel free to ping me again next week if it slips my mind.

I agree, installing is very confusing...

The intention is that the one-line installation at http://linuxbrew.sh/#install-linuxbrew works. Please report a bug if it doesn't work for you.

I was already logged in as root, and then i ran the one-line installation. It only installed ruby (i think), but i thought that the installation that run was the complete Linuxbrew install. After the installation i got the warning "don't run this as root". It created /home/linuxbrew/ with some stuff inside, but not the linuxbrew binaries.
Perhaps it would be useful to display the "don't install as root" before anything happens at all, so you don't end up with a partly installed folder?
Anyways, in the end the one-line installation worked, after i removed the half-installed-folder.

Perhaps it would be useful to display the "don't install as root" before anything happens at all, so you don't end up with a partly installed folder?

That's a good suggestion. An alternative would be that when the install script is run as root it could create a user named linuxbrew if one doesn't already exist. This feature would be particularly useful for installing Linuxbrew in a Docker container. Alternatively, it could print the commands to the console to create the linxubrew user. I think the latter is probably the least surprise. Or it could prompt the user to hit Enter to create a linuxbrew user or Control-C to cancel installation. I like this last idea the best.
@iMichka @maxim-belkin Which is your preference?

I think it is totally reasonable to expect system admins to be installing Linuxbrew for their users. So, I think it should ask admin if he really wants to create linuxbrew user (y/n) and proceed based on response. I'm not a fan of just pressing Enter but it will work too.

Forgot to add that we should explicitly say which commands we're going to execute as root.

authors: jbonlinea maxim-belkin notDavid sjackman

repo: Linuxbrew/brew


text:
Test Sensor Design - implementation

Implement the design for the Test Connector flow - INCLUDING the calendar with previous measurements

@ilfreedom did you get any chance to work on this issue? Please let us know if you need any help here. Thanks!

authors: Gaurav-Ramakrishna ilsebreedvelt

repo: Liquid-Prep/Liquid-Prep


text:
chore(master): release 3.8.3

:robot: I have created a release beep boop
3.8.3 (2024-05-10)
Bug Fixes

add description for saveJson parameter (1a66676)
readme: add description for saveJson parameter (#194) (1a66676)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/LironEr/cypress-mochawesome-reporter/releases/tag/v3.8.3 :sunflower:

repo: LironEr/cypress-mochawesome-reporter


text:
Added 2 new Sketch plugins

Added 2 new Sketch plugins

Sketch Guides
Symbol Browser

Checklist

[x] I made something good today 💐.
[x] I put links in the correct format: [Tool](link) — description.
[x] My description starts with the lower-case letter and ends with the full stop.
[x] I put the tool in the alphabetical order.

Optional

[x] I added the appropriate labels: free, open-source or mac.
[x] I put the tool only to one category.
[x] I followed Contribution Guidelines.

Thanks for adding 2 plugins 🙏

authors: LisaDziuba pratikjshah

repo: LisaDziuba/Awesome-Design-Tools


text:
动态初始化数据库报错can not find a class named org.litepal.model.Table_Schema

`
1 org.litepal.LitePalBase.java.util.List getSupportedFields(java.lang.String)(LitePalBase.java:6)
2 org.litepal.LitePalBase.org.litepal.tablemanager.model.TableModel getTableModel(java.lang.String)(LitePalBase.java:5)
3 org.litepal.tablemanager.Generator.java.util.Collection getAllTableModels()(Generator.java:6)
4 org.litepal.tablemanager.Creator.void createOrUpgradeTable(android.database.sqlite.SQLiteDatabase,boolean)(Creator.java:1)
5 org.litepal.tablemanager.Generator.void create(android.database.sqlite.SQLiteDatabase,boolean)(Generator.java:5)
6 org.litepal.tablemanager.Generator.void create(android.database.sqlite.SQLiteDatabase)(Generator.java:9)
7 org.litepal.tablemanager.LitePalOpenHelper.void onCreate(android.database.sqlite.SQLiteDatabase)(LitePalOpenHelper.java:1)
8 android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:251)
9 android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:163)
10 org.litepal.tablemanager.Connector.android.database.sqlite.SQLiteDatabase getWritableDatabase()(Connector.java:2)
11 org.litepal.tablemanager.Connector.android.database.sqlite.SQLiteDatabase getDatabase()(Connector.java:1)
12 org.litepal.Operator.java.lang.Object findFirst(java.lang.Class,boolean)(Operator.java:28)
13 org.litepal.Operator.java.lang.Object findFirst(java.lang.Class)(Operator.java:26)
14 org.litepal.LitePal.java.lang.Object findFirst(java.lang.Class)(LitePal.kt:3)
15 com.yidont.open.card.OpenCardPersonInfoUIF.void showRestoreDataDialog()(OpenCardPersonInfoUIF.kt:2)
`

混淆的问题，已经解决了

repo: LitePalFramework/LitePal


text:
Inconsistent file names

Some files need to be requested with a different name as the name of the downloaded file.
Example:

requested file: 'Montreal_Cognitive_Assessment_MoCA.csv'
downloaded file: Montreal_Cognitive_Assessment__MoCA_.csv

This is an issue because the notebooks will keep re-downloading these files as the requested names are not found.
It could be solved by restoring the previous JSON object and populating it with the downloaded file names.
@yohanchatelain would you have time to look at this issue?

No, @mathdugre told me about that. I'll have a look.

authors: glatard yohanchatelain

repo: LivingPark-MRI/ppmi-scraper


text:
Invocation text inaccuracies

Doom is still showing as the original Doom even though there are tiers now.
Also Mantimayhem Tier 1 is showing as Tier 2 on the plugins text overlay.

I haven't been seeing any issues with this in the last few days. Are you still experiencing this?

I haven't been seeing any issues with this in the last few days. Are you still experiencing this?

I haven't had a Mantimayhem run in a few attempts but Doom is still showing "Doom" for all tiers instead of "Doom I/II/III", I'll let you know if I still see the Mantimayhem one.

authors: LlemonDuck Processhf

repo: LlemonDuck/fortis-colosseum


text:
Telegram 好像不能在群里@机器人触发？

请问是否考虑支持呢？或者应该怎样配置或者修改代码？

等我 5 分钟

好像@的时候prompt会带上自己的名字（@xxxx），对结果造成影响……

好像@的时候prompt会带上自己的名字（@xxxx），对结果造成影响……

yes

好像@的时候prompt会带上自己的名字（@xxxx），对结果造成影响……

yes

但这样会干扰时效性问题的结果。特别是如果@xxx带有英文含义的时候。建议触发搜索的时候过滤掉@xxx。

好

好

其实不光是时效性的内容会受影响，任何内容都有可能，会限制它的发挥。因此，建议在prompt里不要传@xxx，这也符合人们日常使用@的习惯（在一句话开头@往往不参与这句话的语义）

正在重构

authors: riverscn sudoskys

repo: LlmKira/Openaibot


text:
🛑 invest is down

In 686166f, invest (https://blog-pos-17/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: invest is back up in e18a2ad.

repo: LloydGain/UppTIME


text:
🛑 invest is down

In b3bab98, invest (https://blog-pos-17/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: invest is back up in 7ccc284.


text:
🛑 invest is down

In 08bd1c6, invest (https://blog-pos-17/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: invest is back up in 92e8d31.


text:
🛑 invest is down

In eee4f2c, invest (https://blog-pos-17/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: invest is back up in 9fb1b09.


text:
🛑 invest is down

In 628c8cd, invest (https://blog-pos-17/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: invest is back up in 6e0ebb7.


text:
html input

In je input type voor email niet text doen maar email doen zodat ie checkt voor een @

Bedankt Rutger

authors: Lmikkers rutgerkock

repo: Lmikkers/the-client-website