text:
🛑 Kunert is down

In 6e9b0ca, Kunert (https://kunert.cc/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Kunert is back up in 18a1f78 after 18 minutes.


text:
merge package from arlac77/npm-package-template

package.json

chore(package): esm@^3.2.5
chore(scripts): cover@#overwrite c8 --temp-directory build/coverage ava && c8 report -r lcov --temp-directory build/coverage
chore(package): add nyc from template
chore(package): set $.ava.require='esm' as in template
chore(package): set $.ava.files='tests/-test.js,tests/-test.mjs' as in template
chore(package): set $.ava.extensions='js,mjs' as in template

Coverage remained the same at 83.951% when pulling bf495ecaf64e0ca26a3e131a89ce9449178fa656 on template-sync-1 into c3a8e48ec3e07d0da56c59666925a6681b50e9b1 on master.

source: gharchive/pull-request

license_type: permissive

license_source: bigquery


text:
compile with cmake : linking (error)

[100%] Linking CXX executable bin/xapiand
/tmp/ccCJI9fa.ltrans2.ltrans.o: In function main': <artificial>:(.text.startup+0x6bf): undefined reference to cap_init'
:(.text.startup+0x6f5): undefined reference to cap_set_flag' <artificial>:(.text.startup+0x715): undefined reference to cap_set_flag'
:(.text.startup+0x725): undefined reference to cap_set_proc' <artificial>:(.text.startup+0x771): undefined reference to cap_clear'
:(.text.startup+0x7a5): undefined reference to cap_set_flag' <artificial>:(.text.startup+0x7c5): undefined reference to cap_set_flag'
:(.text.startup+0x7d5): undefined reference to `cap_set_proc'
collect2: error: ld returned 1 exit status
CMakeFiles/xapiand.dir/build.make:803: recipe for target 'bin/xapiand' failed
make[2]: *** [bin/xapiand] Error 1
CMakeFiles/Makefile2:243: recipe for target 'CMakeFiles/xapiand.dir/all' failed
make[1]: *** [CMakeFiles/xapiand.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2

Please share information about your OS and compiler including exact versions

OS : Linux touchee 5.0.0-37-generic #40~18.04.1-Ubuntu SMP Thu Nov 14 12:06:39 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Compiler :
gcc (Ubuntu 8.3.0-6ubuntu1~18.04.1) 8.3.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
g++ (Ubuntu 8.3.0-6ubuntu1~18.04.1) 8.3.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

I think It should be fixed by 009cfac Would you have it a try?

source: gharchive/issue

authors: Kronuz YosefMac linuxpham

repo: Kronuz/Xapiand

license: mit


text:
update to ngrx platform 4

partially implemented thanks to commits:

d386dec72bf09f294046c1583475821750d7cc09
5ef7e09f1a6623a4ade3567e81d9381cc94a9199

fix aot


text:
Update Local Setup to work with OCM (Istio / OLM)

What
Change local setup to instal OLM and Istio and no longer install kuadrant.

diff - https://github.com/Kuadrant/multicluster-gateway-controller/compare/main...philbrookes:multi-cluster-traffic-controller:gh-159?expand=1
branch: https://github.com/philbrookes/multi-cluster-traffic-controller/tree/gh-159

license_source: github-api


text:
Hentai command doens't work.

The ~hentai and ~rule34 command don't work anymore.

They are disabled on the public bot temporarily due to spam.

authors: CarrotMist Kwoth

repo: Kwoth/NadekoBot


text:
POE Overlay Trade periodically don't want to send messages

POE Overlay Trade periodically don't want to send messages when you click on buttons, invite to a group, visit a shelter, trade, send responses, etc.it does not work, as I noticed, it does not work, Everything that is done through the command in the chat, the search button in the chest works properly. Sometimes restarting the game helps.

Same here.

Same here

Same

just started using this program yesterday, and after a while it won't send whispers from the market search interface

license: MIT


text:
Adding goals object into the data series prevent chart from rendering

Hi kylechase
For the bar chart when I add goals to the data like the following example the data doesn't render at all.  Sometimes changing the chart from bar to pie trigger it and it renders correctly but this only happens for one time until the next opening of the page.
https://apexcharts.com/javascript-chart-demos/bar-charts/bar-with-markers/

@NaderChinichian does resizing the web browser (if in client) or expanding/collapsing a panel in the designer make the chart show up/render?

There was an issue with the chart re-rendering when updated. Fixed in 1.0.7.

repo: Kyvis-Labs/ignition-apexcharts-module


text:
Modules/vcf2maf/1.1

Pull Request Checklists
Important: When opening a pull request, keep only the applicable checklist and delete all other sections.
Checklist for New Module
Required

[ ] I used the cookiecutter template and updated the placeholder rules.
I didn't do this because I based this on version 1.0 that didn't use it. The structure is as close as I could get it manually.

[X] The snakemake rules follow the design guidelines.

[X] All references to the rules object (e.g. for input files) are wrapped with str().

[X] Every rule in the module is either listed under localrules or has the threads and resources directives.

[X] Input and output files are being symlinked into the CFG["inputs"] and CFG["outputs"] subdirectories, respectively.

[X] I updated the final target rule (*_all) to include every output rule.

[X] I explained important module design decisions in CHANGELOG.md.

[] I tested the module on real data for all supported seq_type values.
Not really relevant. Still needs to be tested on more variant callers.

[X] I updated the default.yaml configuration file to provide default values for each rule in the module snakefile.

[X] I ensured that all symbolic links are relative and self-contained (i.e. do not point outside of the repository).

[X] I replaced every value that should (or might need to) be updated in the default configuration file with __UPDATE__.

[X] I recursively searched for all comments containing TODO to ensure none were left. For example:
grep -r TODO modules/<module_name>/1.0

If applicable

[ ] I added more granular output subdirectories.

[ ] I added rules to the reference_files workflow to generate any new reference files.

[ ] I added subdirectories with large intermediate files to the list of scratch_subdirectories in the default.yaml configuration file.

[ ] I updated the list of available wildcards for the input files in the default.yaml configuration file.

Checklist for Updated Module
To be completed.

@whelena Maybe you can try this version on your Varscan example?

Yes I can do that

I was able to run it on capture samples with varscan

authors: rdmorin whelena

repo: LCR-BCCRC/lcr-modules


text:
Implement matching between query and subject headings

Based on exact or partial query match, get broader/narrower relationships for matching subject headings based on what the user typed.
Related to this (although may need to be captured in separate issue), use the facet values returning from the search to get broader/narrower values for that.

SMASH! uses query term matches against LCSH (so partial or full term matches will be returned from the QA cache implementation), FAST lookups based on subject facet values, and ANNIF suggestions for LCSH matches based on query.


text:
Arquivos dos desafios 1 2 e 3 - Leandro Fialho

Foi adicionado dentro da pasta challenges os arquivos que fiz para os desafios 1 2 3. Não sei se essa é a maneira correta de fazer o pull request, para que todos possam avaliar e opinar sobre o meu código, aguardo um feedback!

@lefialho esse repositório e para os desafios que o @LFeh propõe para gente.
Os arquivos dos desafios tem que ser enviado para seu repositório pessoal

Entendi @devigor , eu até joguei eles também para o meu repositório pessoal, mas eu fiz uma pergunta la no grupo do SLACK  de como é corrigido as tarefas e o @LFeh respondeu assim:
mano, a ideia era ir postando aqui, abrindo pull-requests para todos darem feecback. Entendi que esse pull-request era pra ser feito aqui, talvez eu tenha interpretado errado. Enfim, vou enviar la no SLACK a url do meu repositório para que vocês possam dar feedback então. Vlw mano!!

A ideia é abrir o PR no seu repo, assim nós vamos comentado lá

Então mano é nesse ponto que estou perdido. Vou postar la no grupo do SLACK, vc me ajuda por lá?

authors: devigor lefialho

repo: LFeh/felipefriends


text:
setup-stdlib.bat installs probably unnecessary mod files

Thank you for releasing such great software. :tada:
I installed it immediately and tried it out. I like it very much because it is easy, helpful, and convenient.
After installing quickstart-fortran, I built and installed stdlib using the contained bat file, setup-stdlib.bat.
In the installed directory %USERPROFILE%\AppData\Local\quickstart_fortran\mingw64\lib\gcc\x86_64-w64-mingw32\10.3.0\finclude, I found many mod files with the prefix test_. I think these are mod files created during the build of tests of stdlib, located in stdlib\test directory, and are not required for using and linking the stdlib.
Can I configure those not to be installed?

Thanks for the feedback @degawa! I've now updated the setup-stdlib helper script to remove these unnecessary mod files.
You can see the changes here: 297d0bccea777512473f541cea126658d393b866, and the new release is available here.

Thank you for your quick response.
I installed the new release version and launched setup-stdlib.
I confirmed that it perfectly resolved my concern.
Excellent work :thumbsup:
Thank you.

authors: LKedward degawa

repo: LKedward/quickstart-fortran


text:
Evaluate whether we still need the drag surface for workspace dragging

Before we introduced the drag surface (~3 years ago?) for workspace dragging, the idea was to just translate the svg directly when moving the workspace around.  Revisit whether the drag surface is necessary. It'd be nice not to have to do that work of transferring the blocks at the beginning of a drag.
IIRC, one of the reasons for abandoning that approach was that blocks in the negative coordinate space didn't receive click events in Safari.   After a quick test, that seems to be working now.
What I can't remember is how much coordinate work we'd need to do for this. There might be a can of worms... If there is, they should be more friendly worms than they were a few years ago. We've been studying them.
I also can't remember how much of a perf win it is.

Ooh, and if you want an unfriendly worm, check out the bobbit worm.
Or don't, if you don't want video of a kind of nightmarish sea predator, but they are cool.

An important factor for using a drag surface is that it lets us straightforwardly place a block above the rest of the Scratch editor. Just applying a translate to the block according to the mouse drag delta wouldn't work unless we could also display that block above everything else! (Keep in mind: When not being dragged, blocks are displayed below the flyout and are cut off by the border of the workspace div. When they are being dragged, they're above everything.)
We could use position: fixed in a similar fashion to what's done in #1895 - so basically the same math that's already used, but applied directly to the block elements instead of the drag surface. That'd probably take a bit of messing around with code (e.g. to make sure the block's position is restored properly once dropped - although this may already be mostly by the existing code), but it'd get rid of the need for moving the block to a drag surface.

authors: picklesrus rachel-fenichel towerofnix

repo: LLK/scratch-blocks


text:
How to store Ipopt optimization results

Is there a quick way to store the terminal output?

Once you define the IPOPT problem structure, you can add an option to print the output to file. Something like
# Define IPOPT problem structure
prob = Juqbox.setup_ipopt_problem(params, wa, nCoeff, minCoeff, maxCoeff, maxIter, lbfgsMax, startFromScratch)
# Ask to print convergence history to file "out.txt"
addOption(prob, "output_file", "out.txt")

There are other options if you're interested in a different amount of output (for instance, by using the option file_print_level . Other options can be found in the IPOPT documentation here: https://coin-or.github.io/Ipopt/OPTIONS.html

Following the link, I’ve also tried to set max wall time:
addOption(prob, "max_wall_time", 10)
But I get the error:
ERROR: LoadError: IPOPT: Couldn't set option 'max_wall_time' to value '10'.
What is the right way to do it?

Following the link, I’ve also tried to set max wall time:
addOption(prob, "max_wall_time", 10)
But I get the error:
ERROR: LoadError: IPOPT: Couldn't set option 'max_wall_time' to value '10'.
What is the right way to do it?

Some digging into the Ipopt.jl package seems to indicate that this is not currently supported (see the issue here: https://github.com/jump-dev/Ipopt.jl/pull/277). Currently Ipopt.jl uses version 3.13 of Ipopt by default and the max_wall_time option is a feature of version 3.14 which may be exposed to users in the future. The max_cpu_time option does work on my installation, perhaps that may be helpful until a future release of Ipopt.jl exposes max_wall_time.

authors: fortinog relugzosiraba


text:
Do not bundle moment locale data data that we don't use

More work to reduce the size of our bundle - this helps speed up the initial load time of the app.
We aren't using moment locales, yet they are being bundled with our app and causing significant bloat.
Removing these shaves an additional 136.63k of our final renderer.prod.js bundle size, bringing it down from 1.12mb to just under 1mb.
More info:

https://github.com/jmblog/how-to-optimize-momentjs-with-webpack
https://medium.com/@michalozogan/how-to-split-moment-js-locales-to-chunks-with-webpack-de9e25caccea

before:

after:

utACK b3e5f7c

authors: Empact mrfelton

repo: LN-Zap/zap-desktop


text:
All entries of reading are showing in home of single novel

Steps to reproduce

Expected behavior
It should be arranged in row for different novels on reading tab not single novel all readed chapters need to show
Actual behavior
Whenever i completed and chapter one by one all chapters are showing in the reading tab
LNReader version
2.0.0
Android version
Android 10
Device
Realme
Other details

Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] If this is an issue with a source, I should be opening an issue in the sources repository.
[X] I have updated the app to version 2.0.0.
[X] I will fill out all of the requested information in this form.

Fixed in https://github.com/LNReader/lnreader/pull/1052

authors: Freemanssword nyagami

repo: LNReader/lnreader


text:
Rutas get y post de user

el post hay que revisarlo pq por consola aparencen warnings
pero funciona

cambiar en la ruta post "passwword" por "paswword"

repo: LOGIEXPRESS/LOGIEXPRESS


text:
openai 给出的答复:在三次尝试后，openai服务器仍然响应超时，这有极有可能是openai服务器处于繁忙状态

一直报错，但是不给原因，qq已经能收到消息
[info] openai服务请求出错1次，正在进行第2/3次尝试   [info] openai服务请求出错2次，正在进行第3/3次尝试   [info] openai服务请求出错3次，正在进行第4/3次尝试   [debug] openai 给出的答复:在三次尝试后，openai服务器仍然响应超时，这有极有可能是openai服务器处于繁忙状态

两种可能：

这个是openai服务器的网络问题和你的服务器的所在地区有关。
你发送了过长的内容，openai服务器会对输入长度做检查，太长的消息会直接reject。

两种可能：

这个是openai服务器的网络问题和你的服务器的所在地区有关。
你发送了过长的内容，openai服务器会对输入长度做检查，太长的消息会直接reject。

我加了打印日志，发现是服务器ssl有问题

repo: LSTM-Kirigaya/go-cqhttp-python-server


text:
Not compiling

Hi,
This remote module was removed from OTB packaging 3 years ago because it does not compile. See corresponding issue. Are you planning on fixing it so it can be reintroduced ?
Sincerely.
Julien :)

Hello,
Unfortunately, I am not planning to maintain the project.
Thank you for letting me know about the issue.
Adrien

Thanks for your answer. I will close the issue on OTB's gitlab. If anyone ever fixes this, they will just need to tell us in a comment in the issue.
Regards.
Julien :)

authors: Julien-Osman Laadr

repo: Laadr/otbFFSforGMM


text:
pip install -e . command error

Describe the bug
-cd plenoptic
-pip install -e .
ERROR: File "setup.py" or "setup.cfg" not found. Directory cannot be installed in editable mode
(A "pyproject.toml" file was found, but editable mode currently requires a setuptools-based build.)
how can I solve this problem?

pip install --upgrade pip
Resolved！

repo: LabForComputationalVision/plenoptic


text:
Write MAD Competition and Metamer tutorials

For each of the synthesis methods:

[ ] MAD competition
[ ] geodesics
[ ] metamers
[x] eigendistortions

Also for models?

Closing this because the first pass of these has been completed, though they can still use improvements


text:
Issue 44781: Update application.properties and LabKeyServer to use "encryptionKey"

Rationale
This PR replaces the usage of deprecated property master encryption key with encryption key in embedded tomcat.
Related Pull Requests

https://github.com/LabKey/Dockerfile/pull/9

Created https://github.com/LabKey/server/pull/214
I think we can let people know that they'll need to do pickDB task to refresh the application.properties.

repo: LabKey/server


text:
transcript sequence assembly in codon_usage.R

Hi, Thanks for the wonderful tool. I have been testing different ribo-seq packages and I am quite excited about riboWaltz.
I was struggling with codon_usage_psite (or codon_usage.R), with my genome Fasta file and GTF file to generate "sequences" (DNAStringSet). I think there is an error regarding the assembly of transcript sequence from individual exons. It worked fine for those in the + strand but not for the - strand.
Is there a way you can fix this error?
Thank you very much,
Joon
Part of the code is :
seq_df <- sub_exon[, list(seq = paste(Biostrings::subseq(temp_sequences[as.character(seqnames)],
start = start,
end = end), collapse="")),
by = group_name]

Hi,
thanks for using riboWaltz.
this is to inform you I'm working on the issue. I have already found out what is likely to be the problem. I'll send you a function to be tested with your data as soon as I solve it.
Bests,
Fabio

Dear Fabio,
Thanks for the update. Yes, it will be a great help! Again, thanks for the awesome tool!
Best,
Joon

Hi Joon,
below you find a .zip archive including an .R file with a new version of codon_usage_psite function, called codon_usage_psite_test. Please run the new function using your data and let me know if it works. It should be ok, since I just run it on mouse genome FASTA and GTF from GENCODE and I got the correct nucleotide sequences also for transcripts on the reverse strand.
If it doesn't work, I'll ask you some details about your data to try and understand where the problem is. In fact, some misunderstandings have arisen about the sort of alignments riboWaltz can handle but I am still working on the documentation to make everything clear.
codon_usage_test.zip

Hi Fabio,
Thank you very much. The fix worked perfectly well!
Relieved and excited to see the stop codons are now gone from the codon_usage_plot!
I will close the issue. Thanks again, Joon

Hi Joon,
I'm very happy to hear everything is ok. I'll substitute the old function with the new one in a while.
Thank you again for the tip.
Bests,
Fabio


text:
PSN Not Working!

@Lacro59 Are you working on a new update to fix the bug in this theme?: https://github.com/Lacro59/playnite-successstory-plugin/issues/344
Thank you very much and I really admire your effort and work.

Does this problem persist?

No, everything works well. For now...


text:
LibWeb/HTML: Implement History.scrollRestoration

Worked on implementing the spec for History.scrollRestoration

Fixed in 2106617f5b97dd2e3c4aea11ef26685f43e75261

Nice! I'll close this

repo: LadybirdBrowser/ladybird


text:
app退到后台如何处理

请问现在sdk有处理app退到后台的情况么，是否需要在退到后台的时候调用stop，回来了再调用start

已经处理了 不需要的

已经处理了 不需要的

已经处理了 不需要的

repo: LaiFengiOS/LFLiveKit


text:
TableView cells for activity selection should not highlight

On the activity level selection page during sign up, activity should be chosen via the checkbox and tableview cells should not select. If the checkbox is not checked, the profile creation will not occur

 Mobile App - Sign up & Profile Creation

 Mobile App - Sign up/Registration Bug Fixes


text:
created .txt file

Creating this pull request to submit my work.

    Testing this to see what happens.

    Testing this to see what happens.


text:
为啥zabbix会是404？

被删了？

没有啊，可能做了目录移动

被删了？

没有，可能是做了目录移动，你查看最新的试下，新增了其他一些监控组件文档

repo: Lancger/opslinux


text:
Laradock questions ? :D

Hi ive been testing the whole docker and laradock for 2 days....
have face so many issue...
If someone can clear my mind to this question it would be awesome...
Scenario 1
Default VM installed
Container Installed
One laravel Project
Laradock is a submodule
Question 1
Can i Use my containers to other project? or do i need to create a new VM then install set of containers again...
Question 2
I know i can On and Off Containers at will, but some Containers such as mariaDB and mysql cannot be interchangeable done in run time... you either need to choose one during installation....
My Question here is it is possible i can switch mariaDB and Mysql, Am i Missing Something?
Thanks a lot

Answer 1
You can container in many projects, without installing many VM's. So far you just need to do is docker-compose stop in your first project then docker-compose up ... in your next one. The only reason why you start and stop containers is because they might be exposing the same ports (if you use different ports example nginx 8080 and 8081, you don't even need to stop anything to use multiple projects), Check out #54 for more tricks.
Answer 2
I'm not sure I understand your case here, do you want to use MariaDB and MySql in the same project!! if that's the case you can and if you weren't able then change the ports and maybe the storage path. If you mean you want to use each for a project, then this is totally doable and you don't have to choose anything at run time, you just run whatever you want and any time you like.
Best

authors: Mahmoudz midascodebreaker

repo: LaraDock/laradock


text:
Elfinder config only yes.

When installing Crud, Elfinder config is published even when entering "no" reason for this is we are only checking if "install_elfinder" is true, well its always true with the "ask|no|yes" options. So lets make sure it only copies if it is "yes."

Hi @AbbyJanke ,
Actually I've just tested this and it seems to be working fine. You can see above that $install_elfinder is turned into a boolean, so at that point it's either true or false.
In my tests:

yes => true
y => true
no => false
n => false
aoisfaounfa => false

Which I think is the expected result. Let me know if I've got this wrong somehow, but until then I'll close this.
Thanks, cheers!

Place where it's turned into a boolean: https://github.com/Laravel-Backpack/CRUD/pull/1757/files#diff-5e974560637a794b8dc8a1745da1cccaL43

authors: AbbyJanke tabacitu

repo: Laravel-Backpack/CRUD


text:
Command to create a new widget:

php artisan backpack:widget {name}

bump

@karandatwani92 any chance you can take this on, too?

Yes, noted. We will have it soon.

@tabacitu Please check #154

authors: karandatwani92 pxpm tabacitu

repo: Laravel-Backpack/Generators


text:
STEREO_SCALE_FACTOR  如何计算得到

STEREO_SCALE_FACTOR  这个尺度因子 是如何通过相对深度与绝对深度计算得到的？   相对深度又是相对什么的深度？

@ljl86092297, thank you for your interest in our model. The codebase is based on SQLDepth, but please note that the STEREO_SCALE_FACTOR variable is not utilized during inference in my code.

我看到你在转换为真实深度的时候有用到这个值，您是直接将真实深度除以256后 归一化作为相对深度嘛？

你在验证的时候用到了真实/预测的尺度， 还用到了metric depth/相对深度的尺度因子 5.4， 为什么在训练的时候只用到了真实/预测的尺度?  我在推理的时候如何将这个预测结果转换为metric depth?

Got it, I understand your point now. I was training the model and evaluating for monocular depth, so in test_simple_SQL_config.py you don't need this value. However, it seems like you're referring to stereo depth. Please check out this discussion regarding the coefficient—it's been used in previous works as well:
https://github.com/nianticlabs/monodepth2/issues/295

repo: Lavreniuk/SPIdepth


text:
Problems with Taskbar and Explorer after running Revert Tweaks on Windows 10

Bug Report
What's the issue you encountered?
After clicking on Revert Tweaks and rebooting on Windows 10, opening the Explorer returns an error.
This won't occur on Windows 11.
Step-by-Step to reproduce the behavior:

Open Win10ScriptGUI.ps1
Click on 'Revert Tweaks'
Reboot after finished
See error using the taskbar and Windows explorer

Expected behavior?
It should open normally, including taskbar apps.
Environment?

System Specs:

OS: Windows 10
Version: 21H1

Date Executed: 2021-08-15

A quick solution is to use Powershell as admin
go to the script folder using the 'cd' command, pressing tab when needed,
the 'ls' command should help too,
and running the line to execute one of the scripts (CLI or GUI).

The root of the problem was found, updating and closing this issue


text:
add develop option to Makefile

add develop option to Makefile
Description
Add a develop option to the Makefile to start the container and attach to stdout.
Related Issue
#9
Motivation and Context
See #9
How Has This Been Tested?
Run make develop
Types of changes

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

Checklist:

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

Could you please add a Development section in the readme?

authors: JulesAaelio lutangar

repo: LePetitBloc/LePetitBloc


text:
Cluster closes directly

How to reproduce

Leaflet version I'm using: 1.03
Leaflet.MarkerCluster version I'm using: 1.06
Browser (with version) I'm using: Chrome 59
OS/Platform (with version) I'm using: Android 6

Press on a Cluster with your thumb (touched area needs to be slightly bigger than the cluster icon)
Cluster is opening and will close immediately
What behaviour I'm expecting and which behaviour I'm seeing
Only a single touchevent should be processed and not a second that closes the cluster again

So this happens on the included examples?
What touch events are causing it?

It does not happen on the example.
We may solved the problem. The issue was probably that we reloaded all markers when the map is moved. So by opening the cluster on a touch device the map moved slightly and closed the cluster do to a marker reload.


text:
Popups unaware of content resizing

Popups are unaware of their content being resized.  EG:  marker.bindPopup("Look!: <br/> <img ...>").  In this example, when the image loads, it will extend beyond the pop-up.

Just encountered this when calling setContent() in response to an AJAX request via Angular.
If I pass an element to setContent() the width is not updated.  If I pass HTML to setContent() everything is updated fine.
I wanted to compile and link the popup using Angular, but Angular provides the DOM element, not HTML. And HTML alone wouldn't have the scope binding.
As a workaround I'm manually building the HTML string.  Of course this means I can't use ng-click, but managed to work around it with:
onclick="angular.element(this).scope().ctrl.myElementClick()"
Note: ctrl is just from controller as.

authors: bluebirdtech wthorp

repo: Leaflet/Leaflet


text:
Map Renderer breaks L.Circle

Hey,
here's the fiddle: https://playground-leaflet.rhcloud.com/fuy/1/edit?html,output
As soon as you provide renderer: L.Canvas in MapOptions, you'll get errors while adding L.Circle to the map.

The renderer option of L.Map must be an instance of L.Canvas or L.SVG, and not a reference to a class constructor.
e.g.:
    var map = new L.Map('map', {renderer: L.canvas() });

or even
    var map = new L.Map('map', {renderer: new L.Canvas() });

and not:
    var map = new L.Map('map', {renderer: L.Canvas });

If this is unclear, please consider sending a pull request to amend the documentation (read the contributing guide first, as it has important info about how to make changes in the docstrings)

authors: IvanSanchez kaynz


text:
Plugin TileLayer.Zoomify not working

Hi, I was using the TileLayer.Zoomify with an old leaflet version in my page. I have just updated leaflet to 1.6 and the plugin doesn't work anymore. This plugin has not been updated for 7 years but, my app's errors are caused by some methods that aren't in Leaflet 1.6.
Steps to reproduce the behavior:

Use zoomify in Leaflet 1.6

Expected behavior
Zoomify tiles
Current behavior

Environment

Leaflet version: 1.6
Browser (with version): Chrome 80.0.3987.116
OS/Platform (with version): Windows 10

This bug tracker is for the Leaflet core only - we don't handle this kind of compatibility issues.
And one of the forks works for me out of the box. So consider sending a PR to change the link for this plugin.

authors: IvanSanchez jaelzamora


text:
Fix: added test cases for Map:mouseEventToContainerPoint method.

Resolve #8379
Added two test cases for Map:mouseEventToContainerPoint method

Conflicts have been resolved.


text:
[FIX] osu build - always declare function os_setting_update()

Description
Depending on the target or the on compiler version used, osu build can fail on an implicit declaration of os_setting_update(). That's because this function is declared behind HAVE_LANGUAGE_PACK flag.
This PR moves the function declaration to fix this issue
Changes include

[ *] Bugfix (non-breaking change that solves an issue)
[ ] New feature (non-breaking change that adds functionality)
[ ] 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)

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

Comparison is base (e54fb1b) 69.09% compared to head (e205812) 69.09%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #462   +/-   ##
=======================================
  Coverage   69.09%   69.09%
=======================================
  Files          11       11
  Lines         877      877
=======================================
  Hits          606      606
  Misses        271      271

Flag
Coverage Δ

unittests
69.09% <ø> (ø)

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

authors: codecov-commenter yrichard-ledger

repo: LedgerHQ/ledger-secure-sdk


text:
🛑 Retamin3 is down

In d13a9e4, Retamin3 (https://app3.wisereport.co.kr/Home/ServerCheck) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Retamin3 is back up in 4fb4b52.


text:
🛑 CompanyGlobal1 is down

In 51f5568, CompanyGlobal1 (https://compglobal1.wisereport.co.kr/Home/ServerCheck) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CompanyGlobal1 is back up in 524cfba.


text:
Ghost (Chase user)

The algorithm will be something like:

Compare ghost coords to player coords
Determine the general direction to move to (Exp: +ve X or -ve X)
Move in that direction until obstacle are met
Go opposite direction and try again

Done


text:
Add the option to set an icon in the accordion heading of each accordion item

Description
The implementation of the accordion component wasn’t on par with the guide, so a new option to add an icon to each accordion item heading has been added. If an iconName input property is set on the lg-accordion-panel-heading component, an icon will be rendered to the left of the screen, and the chevron icon will be moved to the right side of the heading.
I've also slightly adjusted the size of the icon to be on par with the design.
Requirements
Design link: the guide can be used for now as I cannot share the internal design screen here.
Screenshots:

Checklist:

[x] The commit messages follow the convention for this project
[x] I have provided an adequate amount of test coverage
[x] I have added the functionality to the test app
[x] I have provided a story in storybook to document the changes
[x] I have added the documentation
[ ] I have added any new public feature modules to public-api.ts

After some discussions with @alexcanning, we'll stick with what we've got for now.

Revived, it might be revisited in the near future.

repo: Legal-and-General/canopy


text:
Feture Request: pin default channel argument

Change all pin related commands that take a channel argument to have the channel be optional, and if omitted, default to the channel the command is run in.

... wrong repo

repo: LegendaryLinux/ArchipelaBot


text:
View.render() throws RemovedInDjango110Warning

Accessing "GET /plate/ HTTP/1.1" triggers
/site-packages/django_spaghetti/views.py:140: RemovedInDjango110Warning:
render() must be called with a dict, not a Context.
  Context({'model': model, 'fields': fields})

Thanks for noticing, will have an update soon - probably ahead of PyConAu

authors: LegoStormtroopr thomasoberthanner


text:
initial commit to test folder

this is my work for this week, it does x, y, z

Please fix the url

repo: Lehigh-CSB/job-application-app


text:
Fixes npm error "Invalid version"

This commit fixes an error when executing npm install.
npm complains about a non-semver version and stops.

Oops!

authors: Leimi mattjmattj


text:
link to codesandbox results in 502

to reproduce: go to the project linked in readme
bizarrely works if the project is forked?

It was a temporary hiccup

authors: LekoArts saylestyler

repo: LekoArts/gatsby-starter-minimal-blog


text:
[Bug]: UniverseLib not working in LemonLoader

All of the following criteria must be met

[X] Full Latest.log file included. If no file exists then leave this unchecked and state so.

All of the following are optional to answer

[X] Tried reinstalling the game.
[X] Tried reinstalling LemonLoader.
[X] Tried restarting device.

Describe the issue.
When I try to use UnityExplorer in LemonLoader, it seems to not work, which i think could possibly be a UniverseLib issue because it doesnt seem to load at all. I tried many things such as copying UniverseLib to a bunch of different Directories, and even reinstall ing the game, and nothing seems to help. It keeps giving me the same Error in the logs.
Latest.log
Did you attach your log file?

[X] Yes, I attached my log file to the text box above.
[ ] No, I could not find a log file at /storage/emulated/0/Android/data/<package name>/files/melonloader/etc/Latest.log

I even tried the following UnityExplorer Versions: 3.3.3,3.3.4,3.3.7,2.0.0,4.0.0
Either it leaded to a Crash (2.0.0) or it gives another Error (3.X.X) about MelonLoader.Tomlyn.Model.TomlObject having an issue with HarmonyInit.
Latest.log
I have no idea on what else it could be, since the errors Don't give a lot of information on what exactly Went wrong.

It looks to be an issue with UE/UL specifically, which makes sense considering that the dev never implemented Lemon support into either tool.

authors: ChipLag TrevTV

repo: LemonLoader/MelonLoader


text:
Add Lenny-Nicotra-OD's file

Don’t end your commit message with a period
Keep your commit messages to 50 characters or less

I deleted my First Branch.

repo: Lenny-Nicotra-OD/github-slideshow


text:
rename of commands

What is the title of your proposal?
rename of commands
Is it a suggestion for the website or for the bot?

[x] Bot
[ ] Website

Explain your proposal more accurately (It's best to give as much information as possible, so that we can implement the proposal better)
?blacklist -> ?banuser
?banlist -> ?banserver

done in the recode

repo: LenoxBot/LenoxBot


text:
Altura dinâmica do iframe baseada no conteúdo

O que acham de colocar uma altura dinâmica do iframe do jsfiddle de acordo com a quantidade de conteúdo existente nele ? Penso que a barra de rolagem prejudica a leitura dos códigos js de exemplo.
Podíamos criar uma propriedade de altura que seria passada para o componente Iframes via props ou pensar em alguma outra forma também.

Olá @viniciusgusmao,
Acho uma boa ideia, inclusive a solução, porém, será que não quebraria o padrão das páginas, pelo fato de cada altura dos frames forem diferente uma da outra?

Realmente, com essa alteração para altura dinâmica perderíamos este padrão existente das alturas dos iframes nas páginas. Porém ganharíamos uma melhor legibilidade do conteúdo dos iframes, uma vez que não precisaríamos ficar usando a barra de rolagem o tempo todo para entender algum código mais extenso do javascript.

Eu concordo com o que você citou, inclusive no começo do projeto eu e o @LeonardoCesca estávamos com esta idéia, porém, se tivesse muito código dentro do iframe, ele ficaria enorme, tomando um grande espaço da página e perdendo a usabilidade, será que ainda permaneceria usual? Acho que o @oniag que é UX, poderia nos ajudar nisto.

@brunormferreira Olá, vi só agora a notificação.
Se você parar para pensar, quem acessa o sistema pelo desktop, o jsfiddle com uma altura dinâmica seria ótimo, mas a partir do momento que o nosso usuário acessa pelo celular ou um dispositivo com uma resolução menor irá atrapalhar um pouco, pois geraria uma rolagem muito maior que o normal, e cá entre nós, ninguém gosta de rolar a página por muito tempo mesmo sendo um conteúdo bacana.
Uma sugestão que eu acho válida é fazer para resoluções maiores o iframe dinamicamente e celulares deixar com a barra de rolagem.
Abraço e até mais.

@oniag Sem stress bro. Muito obrigado pelo comentário, concordo plenamente com você.
O que você acha @LeonardoCesca ?
Acho que o @viniciusgusmao consegue implementar isto para nós então?

@brunormferreira concordo com o @oniag, em resoluções menores o tamanho do iframe vai ficar desproporcional e acabará gerando um scroll muito grande para o usuário.
@viniciusgusmao, de fato, sua ideia na teoria é muito boa e talvez fique legal no desktop apesar de não seguir um padrão de altura de iframe em todo o site. Além disso, poderá ocorrer de páginas ficarem com iframes grandes e outras com iframes pequenos (pegando como referencia altura). Mas a unica forma de chegarmos a conclusões mais sérias é realmente testando.

Entendi. Vou seguir a dica do @oniag e implementar a altura do iframe de acordo com o dispositivo que estiver acessando.
Vou começar a trabalhar nisso e quando acabar mando a PR para análise.

Bom dia! Irei dar close na issue e qualquer eventualidade ou mudança nos reabrimos!
Att,

authors: LeonardoCesca brunormferreira oniag viniciusgusmao

repo: LeonardoCesca/js-docs


text:
Support cancelled tasks

Cancelled tasks still show up in the list. I came up with something of a workaround by adding a #cancelled tag and excluding by tag, but I'd like to use the [-] notation built into obsidian-tasks. Thank you!

Thank you for the feedback, mark this as a feature to be implemented.

With the latest release, the cancelled tasks are automatically excluded from the view, actually you cannot even have them back. Hope you like it.

That seems to have done the trick!

The cancelled tasks seem to have returned.  :(
[image: image.png]
On Sun, May 7, 2023 at 5:44 AM zhuwenq @.***> wrote:

With the latest release, the cancelled tasks are automatically excluded
from the view, actually you cannot even have them back. Hope you like it.
—
Reply to this email directly, view it on GitHub
https://github.com/Leonezz/obsidian-tasks-calendar-wrapper/issues/15#issuecomment-1537433006,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AATCDVQMS7G6VDHRKA2JQKTXE6KL5ANCNFSM6AAAAAAXQOJTRU
.
You are receiving this because you authored the thread.Message ID:
@.***>

Sorry but I cannot see the image you provided, could you re-upload it?

Did that work?

Did that work?

Yeah I can see it now.

I did some digging in this issue and find the reason. I will add on option for cancelled tasks in the next release.

Hi @monomolecular , in the latest release you can specify arbitrary status of tasks to hide through corresponding status markers list, could you please try it out and confirm if this change resolves the issue ?

Closing this, please reopen if issue still exists.

authors: Leonezz monomolecular

repo: Leonezz/obsidian-tasks-calendar-wrapper


text:
Benchmarks?

Would be nice if abstract-level could also include benchmarks so we can easily compare our different backend implementations.

See https://github.com/Level/bench - but as I mentioned elsewhere, I need to write some guidelines and/or update docs (because currently level-bench is geared towards the older abstract-leveldown and levelup, and not yet optimized for abstract-level).

I assume I need to pass class somehow to get it to work with abstract-level

Yep. Thanks!

authors: ronag vweevers

repo: Level/abstract-level


text:
Feedback for “Reverse Proxy with Basic Authentication”

I recently needed the following additional settings for Nginx.
One is to exclude Basic Authentication for manifest.
        location /manifest.webmanifest {
            auth_basic off;
            proxy_pass http://127.0.0.1:3080;
        }

The second is to exclude Basic authentication from the health check required when using the Cloudflare registrar.
        location /health {
            auth_basic off;
            proxy_pass http://127.0.0.1:3080;
        }

Without this, Safari and Chrome will repeatedly request credentials.
Safari in particular is difficult to use on iPads, iPhones, Macs, etc., as previous Safari bugs prevented access to sites and require Basic credentials to be entered each time a site is saved.
Some of the issues are specific to Cloudflare and Safari but took a while to resolve,
Please add them to the documentation if you like.

You are welcome to submit a pull request for this; you can do so easily by clicking on 'Edit this page on GitHub' located at the bottom of the right-hand sidebar.

@fuegovic
Created PR. Please confirm.
https://github.com/LibreChat-AI/librechat.ai/pull/117


text:
Fix filter for images with location but missing lookup

I have a picture taken inside of an airplane with a valid geolocation.
https://www.google.com/maps/place/51°31'46.6"N+2°06'49.9"E/@50.5495598,-0.1600842,7.21z/data=!4m5!3m4!1s0x0:0x1e93c1a35cd9a3f6!8m2!3d51.529606!4d2.113856
However, when this gets put through MapBox we see that the following geolocation_json is produced:
{'type': 'FeatureCollection', 'query': [2.113856, 51.529606], 'features': [], 'attribution': 'NOTICE: © 2022 Mapbox and its suppliers. All rights reserved. Use of this data is subject to the Mapbox Terms of Service (https://www.mapbox.com/about/maps/). This response and the information it contains may not be retained. POI(s) provided by Foursquare.', 'search_text': ''}

No features. Oops.
This provides issues with the code on line 93: https://github.com/LibrePhotos/librephotos/blob/a5ab77839c6fb24d24293f28ba4154d42511e245/api/api_util.py#L93
I updated the check to expand the null-check to ensure that the whole chain is not null, not just geolocation_json.
Interestingly this, by proxy, fixes another bug.
If we consider the query
Photo.objects.exclude(geolocation_json={})

as the basis for the filter 'get all photos where we have a geolocation_json', then it fails on an object where geolocation: None. Now, I'm not sure if that is ever possible from the point view of code, but it is definitely possible from the model's point of view: https://github.com/LibrePhotos/librephotos/blob/0a465a5dbee71247e8fad6ad23e694b91d7bb8f7/api/migrations/0001_initial.py#L427-L428
If we open a shell like this:
$ docker exec -it librephotos-backend python /code/manage.py shell_plus
# ...initialization
>>> temp = Photo.objects.first()
>>> temp.pk = "none_geolocation"
>>> temp.geolocation_json = None
>>> temp.save()
>>> for p in Photo.objects.exclude(geolocation_json={}):
...     if (p.geolocation_json == None):
...         print("ERROR: p.geolocation_json is None")
...
p.geolocation_json is None

Looking at the generated code shows that the test exclude(geolocation_json={}) doesn't match with the model and our output's expectations:
 WHERE NOT ("api_photo"."geolocation_json" = '{}' AND "api_photo"."geolocation_json" IS NOT NULL)

This where only excludes {}, but not None:

"api_photo"."geolocation_json" = '{}'
"api_photo"."geolocation_json" IS NOT NULL
NOT(condition1 AND condition2) (i.e. will it be included?)

None (or NULL)
FALSE
FALSE
TRUE, but we don't expect it to be, 👎

{} (i.e. empty dict
TRUE
TRUE
FALSE, 👍

{'...': '...'}
FALSE
TRUE
TRUE, 👍

As this exclude(geolocation_json={}) is being used across the code I'm not sure though if we ever end up in that case.
If we expect it will None, then I believe a better filter across the board would be filter(geolocation_json__isnull=False).filter(...other properties...).
If we don't, then I suggest setting the DB model's nullable to FALSE.

Hey kristoff-matei,
thank you for your pull request. This looks like a case I missed.
The function that actually fetches and uses the mapbox response is in the photo model and is named  def _geolocate_mapbox(self, commit=True): If the request fails, then the geolocation_json will be saved as {}. I think it used to be that it was saved as None, but was changed at some point. Looks like it would be worth investigating, if we can just set nullable=FALSE
Here is a quick explanation on how location works in LibrePhotos:
We currently use the features from Mapbox to group the photos by location. That makes it possible to look up pictures that have the same location. We use these groups or AlbumPlace entities to give AlbumDate entities a location.
I think the features are also used for AlbumAuto to generate nice titles with the names in them.
I think this fix is then mostly relevant to the data visualization. Your fix is currently only applied to get_location_timeline, which corresponds to /timeline. I think /placetreeor def get_location_sunburst(user): and  /wordclouds or def get_search_term_examples(user):
Let me know if you want to add these possible fixes there too or if you want to open up a separate pull request for these :)

I think that regardless of setting the DB field to default {} or not we need to improve the queries in get_location_sunburst and get_search_term_examples because they rely on features.[].text.
I'll make the change in this PR as it is one logical bugfix.
I believe that migrating the DB from a default of NULL to a default of {} should be a separate PR if that is the direction you believe is correct.

Closing in favor of #499

authors: derneuere kristof-mattei

repo: LibrePhotos/librephotos


text:
% character when streaming

The streaming works really nicely now using the latest litgpt version from main. The only little issue is that it creates a % character e.g.,
⚡ ~/streaming python streaming_client.py --prompt "Write a 1000 word poem"
The moon casts its silvery glow
Across the night's dark, velvet flow
The stars above, a twinkling sea
A celestial show, for you and me

The world is hushed, in quiet sleep
The trees, like sent%

The code looks like this:
def stream_response(response):
    """
    Handle streaming response from the server and print each line received.
    """
    for line in response.iter_lines():
        # decode the byte to string and print
        if line:
            print(json.loads(line)["output"], end="")

def main():
    # Set up command line argument parsing
    parser = argparse.ArgumentParser(description="Send a prompt to the LitServe server.")
    parser.add_argument("--prompt", type=str, required=True, help="The prompt text to generate text from.")

    # Parse command line arguments
    args = parser.parse_args()

    # Use the provided prompt from the command line
    prompt_text = args.prompt

    # Define the server's URL and the endpoint
    server_url = "http://127.0.0.1:8000"
    predict_endpoint = "/predict"

    # Prepare the request data as a dictionary
    request_data = {
        "prompt": prompt_text
    }

    # Send a POST request to the server with stream=True and receive the streamed response

    with requests.post(f"{server_url}{predict_endpoint}", json=request_data, stream=True) as response:
        if response.status_code == 200:
            # Handle streaming response
            stream_response(response)
        else:
            print(f"Error: Received response code {response.status_code}")

Am I missing something/doing something wrong, is this an artifact, or is this even desired?

hi @rasbt, I just tried LitGPT with Phi2 and I notice that % at the end comes only when the generation stops due to max_new_tokens was reached. After increasing the max new tokens to 1024 I didn't get the special token -

Thanks, in this case, I'd say it's a feature not a bug!

authors: aniketmaurya rasbt

repo: Lightning-AI/LitServe


text:
Error in "on_advance_start" when data-loader's sampler is a NumPy array

🐛 Bug
When using a NumPy array as sampler for a PyTorch data loader the check
if (
    dataloader is not None
    and getattr(dataloader, "sampler", None)
    and callable(getattr(dataloader.sampler, "set_epoch", None))
    ):

in "on_advance_start", raises the following exception:
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()

To Reproduce
import os
import torch
from torch.utils.data import DataLoader, Dataset
from pytorch_lightning import LightningModule, Trainer
import numpy as np

class RandomDataset(Dataset):
    def __init__(self, size, num_samples):
        self.len = num_samples
        self.data = torch.randn(num_samples, size)

    def __getitem__(self, index):
        return self.data[index]

    def __len__(self):
        return self.len

class BoringModel(LightningModule):
    def __init__(self):
        super().__init__()
        self.layer = torch.nn.Linear(32, 2)

    def forward(self, x):
        return self.layer(x)

    def training_step(self, batch, batch_idx):
        loss = self(batch).sum()
        self.log("train_loss", loss)
        return {"loss": loss}

    def validation_step(self, batch, batch_idx):
        loss = self(batch).sum()
        self.log("valid_loss", loss)

    def test_step(self, batch, batch_idx):
        loss = self(batch).sum()
        self.log("test_loss", loss)

    def configure_optimizers(self):
        return torch.optim.SGD(self.layer.parameters(), lr=0.1)

def run():
    train_data = DataLoader(RandomDataset(32, 64, 1000), batch_size=2)
    val_data = DataLoader(RandomDataset(32, 64, 1000), batch_size=2, sampler=np.array([1, 2, 3, 4]))
    test_data = DataLoader(RandomDataset(32, 64, 1000), batch_size=2)

    model = BoringModel()
    trainer = Trainer(
        default_root_dir=os.getcwd(),
        limit_train_batches=1,
        limit_val_batches=1,
        limit_test_batches=1,
        num_sanity_val_steps=0,
        max_epochs=1,
        enable_model_summary=False,
    )
    trainer.fit(model, train_dataloaders=train_data, val_dataloaders=val_data)
    trainer.test(model, dataloaders=test_data)

run()

Expected behavior
The error is not raised.
Environment

CUDA:

GPU:

Tesla T4

available:         True
version:           11.3

Packages:

numpy:             1.21.6
pyTorch_debug:     False
pyTorch_version:   1.11.0+cu113
pytorch-lightning: 1.6.4
tqdm:              4.64.0

System:

OS:                Linux
architecture:

64bit

processor:         x86_64
python:            3.7.13
version:           #1 SMP Sun Apr 24 10:03:06 PDT 2022

Additional context
An easy solution is to change the code that generates the error to
if (
    dataloader is not None
    and getattr(dataloader, "sampler", None) is not None
    and callable(getattr(dataloader.sampler, "set_epoch", None))
    ):

if the only thing to check is that the sampler exists and is different from None.
cc @justusschock @awaelchli @ninginthecloud @rohitgr7 @otaj

Would you like to open a PR with your proposed fix?

Would you like to open a PR with your proposed fix?

Sure, I think I will have time by the end of next week

@LucaButera Is this something you are still working on?  I'd be happy to take over if you didn't have the bandwidth.

@BaruchG Thanks for asking, however I think this is already fixed in 1.6.5, as I am not able to reproduce the bug anymore.
@carmocca can you confirm this?
If that is the case I think the issue can be marked as solved, maybe linking the PR that solved it.

Thanks for the heads up! This was fixed by https://github.com/Lightning-AI/lightning/pull/13396

authors: BaruchG LucaButera carmocca

repo: Lightning-AI/lightning


text:
Add config for llama-2-7b-32k

Ref: https://github.com/Lightning-AI/lit-gpt/issues/427

Thank you for the PR! Could you share some generated text examples?

python generate/base.py --checkpoint_dir data/model/LLaMA-2-7B-32K --num_samples 5

Hello, my name is TJ.

The song is by the band, We the Kings, and the album is titled, _Happy Whenever_. It's beautiful, especially the first four minutes.

A woman with a black bob hairc

Hello, my name is Nathaniel and I am an intern at PPC. My job is to shoot and record as much of the performances as possible. I'm also the editor of the film and a lot of the interviews we do. I've only been

Hello, my name is Katherine. I'm looking forward to moving in here. It's a beautiful house. I'm looking forward to getting my housewarming gift from the previous owner. I'm looking forward to the neighbourhood. I'm

Hello, my name is Mary. I am 50 years old and I am divorced. I work as a teacher and I live alone. I love watching TV shows. I also like to go running. I have 2 dogs. I am single and live alone

Hello, my name is Chloe and I am a 16-year-old girl with a passion for fashion. My favorite things to do include shopping, reading, and hanging out with friends, but my favorite thing of all is surfing!

repo: Lightning-AI/lit-gpt


text:
implement dynamic batching

Before submitting

[ ] Was this discussed/agreed via a Github issue? (no need for typos and docs improvements)
[ ] 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 #4 .
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 🙃

Hey @aniketmaurya, can you take a look at this branch? https://github.com/Lightning-AI/litserve/compare/main...luca-batching

@lantiga updated the PR based on your feedback.

authors: aniketmaurya lantiga

repo: Lightning-AI/litserve


text:
Detection: panoptic quality

What does this PR do?
Add the panoptic quality metric, as defined in the reference paper.
This implementation differ from the reference implementation of the COCO dataset on the following points:

The categories have to be declared at metric initialization.
Any undefined category will be considered as an unlabelled (void) region.
The input format for panoptic images are Tensor of shape (height, width, 2), where the first number of each pixel is the category id and the second number is the instance id.
No support for group of instances (crowds in COCO).

Fixes #50
closes #1435
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?

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 🙃

@niberger, how is it going here? :rabbit:

@niberger how is it going here? :rabbit:
we are considering a new feature release next week, do you think we can finish this addition by then so it will be included? :pray:

@niberger how is it going here? :rabbit:

@SkafteNicki I have checked the collisions, but do you think we could take it over and finish it? :otter:

Hi @Borda, I just reached out on PTL's Slack to offer help if it's useful to have another pair of hands to bring this PR to the finish line ;)
Quick question: Metric.update() is expected to work on inputs with a batch dimension, right? This implementation works for individual samples only.

Hey @marcocaccin
yes, metrics should always work with batches.
Help would be very welcome.

@marcocaccin we merged it for now. Feel free to do another PR to add batched-support and also maybe more tests :)

Hi @niberger, I just wanted to ask if you have verified that your PQ implementation matches the results of the COCO PQ implementation? Thanks :)

authors: Borda ChristophReich1996 justusschock marcocaccin niberger

repo: Lightning-AI/metrics


text:
[Android] Autofocus feature delays image capture indefinitely until the camera can focus

Current Behavior
On Android, when autofocus is enabled (the default behavior), a photo is not actually taken until the camera focuses. In other words, the user might press the "Take Photo" button while moving the camera around, and the plugin will wait indefinitely until the user stops moving the camera, and then it will take the photo. As a result, the camera might snap a photo of something entirely different than what it was pointed at when the user tried to take a photo.
Expected Behavior
The camera should immediately take a photo when takePicture is called, even if the camera has not gotten a chance to focus.

I put a very quick workaround in my fork of this package. This is not a long term fix however as I do not have time to go through the native Java code for a feature that should be in the base flutter_camera package.
My work around is to put a timeout on the take picture call as below.
Future takePicture(String path) async {
if (!value.isInitialized || _isDisposed) {
throw CameraException(
'Uninitialized CameraController.',
'takePicture was called on uninitialized CameraController',
);
}
if (value.isTakingPicture) {
throw CameraException(
'Previous capture has not returned yet.',
'takePicture was called before the previous capture returned.',
);
}
try {
value = value.copyWith(isTakingPicture: true);
await _channel.invokeMethod(
'takePicture',
<String, dynamic>{
'textureId': _textureId,
'path': path
},
).timeout(Duration(seconds: 2));
value = value.copyWith(isTakingPicture: false);
} on PlatformException catch (e) {
value = value.copyWith(isTakingPicture: false);
throw CameraException(e.code, e.message);
} on TimeoutException catch (e) {
print("timeoutExecption");
value = value.copyWith(isTakingPicture: false);
  await setAutoFocus(false);
  await _channel.invokeMethod<void>(
    'takePicture',
    <String, dynamic>{
      'textureId': _textureId,
      'path': path
    },
  );
  value = value.copyWith(isTakingPicture: false);
}

}
Feel free to use my fork of this. I will attempt to keep it up to date with LightSnaps package until the flutter_camera plugin supports these much needed features!

Had the same issue on some devices, fixed it by changing what kind of autofocus states are considered as "ready" in the plugin. Change can be seen here: https://github.com/roxifas/flutter_better_camera/commit/b7be89b7dae72ef891daee795073732b1172744f I am not sure if this is a widespread issue for anyone else or even if the fix is the correct way of going about this problem. If the plugin owners think that this fix is correct I can create a pull request for it.

authors: Rossdex doppio roxifas


text:
Find a better way to get the CC jar

Kind of annoying how the CC jar URL pattern changes with each version, would be nice to find a universal alternative

regex

You could trawl this page and look for a download link of a specific file. The download link should redirect to the Jar. I have some sample trawling code for a website I wrote a while back.

the page's contents could change, though. i was thinking of making a centralized service ccdownload.info which serves the link to the latest cc jar (not redistribution) and also supports version e.g. ccdownload.info/1.60

on second thought - curseforge has an api - you could use that instead of trawling the page.

I've been looking at the curseforge API but there isn't one that lists files for projects - at least, not one that I can find.

curseforge also has an api, however it doesn't document anytgin

my rbowser just died

insteasd of a centralized service, howabout a github repo with a latest file and a file for each version?

There seems to be an API endpoint for files https://minecraft.curseforge.com/api/projects/67504/files?token=<your token> but it always gives me this error {"errorCode":1100,"errorMessage":"You do not have permission to access this method."}

Hopefully when (or if...) CC eventually goes open source there will be a maven repository containing it. For now I'm closing this.

authors: Lemmmy SquidDev apemanzilla

repo: Lignum/CCEmuX


text:
Relax sphinx dependency

Fixes #81. We don't really need strict sphinx versioning.

Thank you very much @LilSpazJoekp :clap:

Done.

authors: LilSpazJoekp nemesifier

repo: LilSpazJoekp/docstrfmt


text:
Changed the setbackground command

To avoid spaghetti code and allow easy customizability without changing code i made it so the command would read from the shop.json file. This way adding backgrounds are going to be very easy (for the setbackground command at least)
Note: This change hasnt been fully tested yet.

Wouldn't work. Indexing at background[0] would just make it use the first item in the array and not from actual user input.

authors: Lilwiggy broodroosterdev

repo: Lilwiggy/Penny


text:
🛑 Limbo Yggdrasil is down

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

HTTP code: 0
Response time: 0 ms

Resolved: Limbo Yggdrasil is back up in 4971310 after 10 hours, 46 minutes.

repo: Limbo-Studios/limbo-status-page


text:
Cannot cycle import

In code https://github.com/LimeChain/as-scale-codec/blob/master/assembly/interfaces/UnwrappableCodec.ts
These is a cycle import, so asc will be error if you try to build using asc  UnwrappableCodec.ts:
Error [AssertionError]: assertion failed
    at i.assert (C:\Users\lenovo\AppData\Roaming\npm\node_modules\assemblyscript\dist\assemblyscript.js:7:735682)
    at new v (C:\Users\lenovo\AppData\Roaming\npm\node_modules\assemblyscript\dist\assemblyscript.js:7:614789)
    at E.initialize (C:\Users\lenovo\AppData\Roaming\npm\node_modules\assemblyscript\dist\assemblyscript.js:7:590313)
    at Object.t.initializeProgram (C:\Users\lenovo\AppData\Roaming\npm\node_modules\assemblyscript\dist\assemblyscript.js:7:434145)
    at C:\Users\lenovo\AppData\Roaming\npm\node_modules\assemblyscript\cli\asc.js:798:20
    at measure (C:\Users\lenovo\AppData\Roaming\npm\node_modules\assemblyscript\cli\asc.js:1242:3)
    at Object.main (C:\Users\lenovo\AppData\Roaming\npm\node_modules\assemblyscript\cli\asc.js:797:27)
    at C:\Users\lenovo\AppData\Roaming\npm\node_modules\assemblyscript\bin\asc:19:47
C:\Users\lenovo\AppData\Roaming\npm\node_modules\assemblyscript\node_modules\binaryen\index.js:54
Ha.push({iu:function(){La()}});function Ma(){var b=a.preRun.shift();Ga.unshift(b)}var Na=0,Oa=null,Pa=null;a.preloadedImages={};a.preloadedAudios={};function q(b){if(a.onAbort)a.onAbort(b);v(b);wa=!0;throw new va("abort("+b+"). Build with -s ASSERTIONS=1 for more info.");}function Qa(b){var d=Ra;return String.prototype.startsWith?b.startsWith(d):0===b.indexOf(d)}var Ra="data:application/octet-stream;base64,",Sa="<<< WASM_BINARY_FILE >>>";

                 ^

Error: abort(AssertionError: assertion failed). Build with -s ASSERTIONS=1 for more info.
    at process.q (C:\Users\lenovo\AppData\Roaming\npm\node_modules\assemblyscript\node_modules\binaryen\index.js:54:207)
    at process.emit (node:events:376:20)
    at emit (node:internal/process/promises:200:22)
    at processPromiseRejections (node:internal/process/promises:221:25)
    at processTicksAndRejections (node:internal/process/task_queues:94:32)

It seems that there are some problems about my env, now I cannot reproduce it.

repo: LimeChain/as-scale-codec


text:
🛑 Towny 1 is down

In 34fd49c, Towny 1 ($SERVER_1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Towny 1 is back up in d0bed62.

repo: LimeNetwork/limestatus


text:
[1.16.5] Error when adding mod to server

Please fill out the template below to describe your issue. Doing so greatly helps us understand what happened!
Description
Whenever I add the mod to my server I get the following message
-- Head --
Thread: main
Stacktrace:
at dev.limonblaze.oriacs.common.item.UmbrellaItem.(UmbrellaItem.java:31) ~[oriacs:0.999] {re:mixin,re:classloading}
-- MOD oriacs --
Details:
Mod File: origins-accessbilities-1.16.5-0.999.jar
Failure message: Origins: Accessibilities (oriacs) has failed to load correctly
java.lang.NoSuchMethodError: net.minecraft.util.math.MathHelper.func_180183_b(FFF)I
Mod Version: 0.999
Mod Issue URL: https://github.com/LimonBlaze/origins-accessibilities/issues
Exception message: java.lang.NoSuchMethodError: net.minecraft.util.math.MathHelper.func_180183_b(FFF)I
Steps to reproduce:
This can be reproduced at any time by adding the jar file to the mods folder on a server.
The log can be found here:
crash-2023-01-10_02.36.57-fml.txt
Mod list:
Mod List:
forge-1.16.5-36.2.35-server.jar                   |Minecraft                     |minecraft                     |1.16.5              |CREATE_REG|Manifest: NOSIGNATURE
origins-accessbilities-1.16.5-0.999.jar           |Origins: Accessibilities      |oriacs                        |0.999               |ERROR     |Manifest: NOSIGNATURE
jei-1.16.5-7.7.1.153.jar                          |Just Enough Items             |jei                           |7.7.1.153           |CREATE_REG|Manifest: NOSIGNATURE
caelus-forge-1.16.5-2.1.3.2.jar                   |Caelus API                    |caelus                        |1.16.5-2.1.3.2      |CREATE_REG|Manifest: NOSIGNATURE
flywheel-1.16-0.2.5.jar                           |Flywheel                      |flywheel                      |1.16-0.2.5          |CREATE_REG|Manifest: NOSIGNATURE
steampowered-1.16.5-1.2.6.jar                     |Create: Steam Powered         |steampowered                  |1.16.5-1.2.6        |CREATE_REG|Manifest: NOSIGNATURE
Patchouli-1.16.4-53.3.jar                         |Patchouli                     |patchouli                     |1.16.4-53.3         |CREATE_REG|Manifest: NOSIGNATURE
Origins-1.16.5-0.7.3.9-forge.jar                  |Origins                       |origins                       |0.7.3.9             |CREATE_REG|Manifest: NOSIGNATURE
create-mc1.16.5_v0.3.2g.jar                       |Create                        |create                        |v0.3.2g             |CREATE_REG|Manifest: NOSIGNATURE
createdeco-1.1.2-1.16.5.jar                       |Create Deco                   |createdeco                    |1.1.2-1.16.5        |CREATE_REG|Manifest: NOSIGNATURE
createautomated-1.16.5-1.4.1a.jar                 |Create Automated              |createautomated               |1.16.5-1.4.1a       |CREATE_REG|Manifest: NOSIGNATURE
Waystones_1.16.5-7.6.4.jar                        |Waystones                     |waystones                     |7.6.4               |CREATE_REG|Manifest: NOSIGNATURE
journeymap-1.16.5-5.8.5p6.jar                     |Journeymap                    |journeymap                    |5.8.5p6             |CREATE_REG|Manifest: NOSIGNATURE
Placebo-1.16.5-4.7.0.jar                          |Placebo                       |placebo                       |4.7.0               |CREATE_REG|Manifest: NOSIGNATURE
createpixelmon-1.16.5-1.0.3.jar                   |Create: Pixelmon              |createpixelmon                |1.16.5-1.0.3        |CREATE_REG|Manifest: NOSIGNATURE
NaturesCompass-1.16.5-1.9.1-forge.jar             |Nature's Compass              |naturescompass                |1.16.5-1.9.1-forge  |CREATE_REG|Manifest: NOSIGNATURE
Bookshelf-Forge-1.16.5-10.4.32.jar                |Bookshelf                     |bookshelf                     |10.4.32             |CREATE_REG|Manifest: eb:c4:b1:67:8b:f9:0c:db:dc:4f:01:b1:8e:61:64:39:4c:10:85:0b:a6:c4:c7:48:f0:fa:95:f2:cb:08:3a:e5
EnchantmentDescriptions-1.16.5-7.1.20.jar         |EnchantmentDescriptions       |enchdesc                      |7.1.20              |CREATE_REG|Manifest: eb:c4:b1:67:8b:f9:0c:db:dc:4f:01:b1:8e:61:64:39:4c:10:85:0b:a6:c4:c7:48:f0:fa:95:f2:cb:08:3a:e5
create-confectionery1.16.5_v1.0.2.jar             |Create Confectionery          |create_confectionery          |1.0.2               |CREATE_REG|Manifest: NOSIGNATURE
fancymenu_forge_2.12.9_MC_1.16.2-1.16.5.jar       |FancyMenu                     |fancymenu                     |2.12.9              |CREATE_REG|Manifest: NOSIGNATURE
Apotheosis-1.16.5-4.8.9A0.jar                     |Apotheosis                    |apotheosis                    |4.8.9A0             |CREATE_REG|Manifest: NOSIGNATURE
architectury-1.32.66.jar                          |Architectury                  |architectury                  |1.32.66             |CREATE_REG|Manifest: NOSIGNATURE
cloth-config-4.16.91-forge.jar                    |Cloth Config v4 API           |cloth-config                  |4.16.91             |CREATE_REG|Manifest: NOSIGNATURE
forge-1.16.5-36.2.35-universal.jar                |Forge                         |forge                         |36.2.35             |CREATE_REG|Manifest: 22:af:21:d8:19:82:7f:93:94:fe:2b:ac:b7:e4:41:57:68:39:87:b1:a7:5c:c6:44:f9:25:74:21:14:f5:0d:90
Disenchanting-forge-1.16.5-1.7.2.jar              |Disenchanting                 |disenchanting                 |1.6.0               |CREATE_REG|Manifest: NOSIGNATURE
valhelsia_core-16.0.15.jar                        |Valhelsia Core                |valhelsia_core                |16.0.15             |CREATE_REG|Manifest: NOSIGNATURE
forbidden_arcanus-16.2.3.jar                      |Forbidden & Arcanus           |forbidden_arcanus             |16.2.3              |CREATE_REG|Manifest: NOSIGNATURE
konkrete_forge_1.5.3-1_MC_1.16.2-1.16.5.jar       |Konkrete                      |konkrete                      |1.5.3               |CREATE_REG|Manifest: NOSIGNATURE
createaddition-1.16.5-20220129a.jar               |Create Crafts & Additions     |createaddition                |1.16.5-20220129a    |CREATE_REG|Manifest: NOSIGNATURE
Pixelmon-1.16.5-9.1.0-server.jar                  |Pixelmon Mod                  |pixelmon                      |9.1.0               |CREATE_REG|Manifest: NOSIGNATURE
ExplorersCompass-1.16.5-1.1.2-forge.jar           |Explorer's Compass            |explorerscompass              |1.16.5-1.1.2-forge  |CREATE_REG|Manifest: NOSIGNATURE
byg-1.3.5.jar                                     |Oh The Biomes You'll Go       |byg                           |1.3.4               |CREATE_REG|Manifest: NOSIGNATURE

I should mention umbrella's didn't appear to work in client side of mod either on a singleplayer world in 1.16.5

Fixed in 0.9991

authors: JoshForce MarbleGateKeeper

repo: LimonBlaze/origins-accessibilities


text:
Run updated fuzzer inside Lind

@kuzeyardabulut is experimenting with compiling syzkaller for Lind, but we may need to fall back to Trinity. Creating this issue to discuss anything related to this goal.

We are getting many different compiler errors when we are trying to compile syzkaller because we are trying to compile with nacl-gcc and nacl-clang. These compilers are really old. nacl-gcc is using gcc 4.3.1.
So, Trinity can be a better solution for us. We can meet and discuss about that.

authors: kuzeyardabulut rennergade


text:
Added go back button to find_quotes

I added a go back button to find_quotes, an exit button to search, and a message when no matches are found in order to fix #3

Awesome! Merging! :+1:
Closes #3

repo: LindseyB/starwars-dot-gif

license: WTFPL


text:
🛑 SearXNG is down

In bdc6bc6, SearXNG (https://searxng.linerly.tk) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SearXNG is back up in f963c17.

repo: Linerly/status


text:
🛑 Immich is down

In 82c0a02, Immich (https://media.linerly.xyz) was down:

HTTP code: 530
Response time: 136 ms

Resolved: Immich is back up in eec3930 after 19 minutes.


text:
FHIRPath evaluator should throw when string function is invoked on non-string

Describe the bug
http://hl7.org/fhirpath/N1/#string-manipulation says this about the String functions in this section:

If there is more than one item, or an item that is not a String, the evaluation of the expression will end and signal an error to the calling environment.

However, users report that our engine returns empty in this case instead of throwing.
Environment
4.11.1
To Reproduce
See https://chat.fhir.org/#narrow/stream/179266-fhirpath/topic/error.20handling
Expected behavior
"the evaluation of the expression will end and signal an error to the calling environment"
Additional context

I tried the happy path on various data types including:

[x] Resource.id, Element.id, and Extension.url (System.String)
[x] Extension.value.as(FHIR.string)
[x] Extension.value.as(FHIR.uri)
[x] Extension.value.as(FHIR.code)
[x] Extension.value.as(FHIR.oid)
[x] Extension.value.as(FHIR.uuid)
[x] Extension.value.as(FHIR.markdown)
[x] Extension.value.as(FHIR.base64Binary)

Interestingly, I found that the implementation for oid and uuid also match values with the prefix (e.g. "id" will always match the "oid" or "uuid" in the prefix, regardless of the actual unique values).
Similarly, I found that the base64Binary variant matches the encoded base64Binary string, not the decoded value.
I have no clue if that is 'correct' or not, but it seems reasonable and so I"m moving on.
I also confirmed the negative cases for

more than one item in the input collection
an input collection of size 1 where the type is not string

repo: LinuxForHealth/FHIR


text:
feat: 添加欧科集团内推邮箱

在官网链接看中职位，可以将简历发送到我的个人邮箱进入内推流程，加速流程进度，合作双赢。
添加一张脉脉职位的认证截图自证身份。

添加内推邮箱是非常赞的一个主意，可以帮助到希望找 remote 工作的朋友们。不过，用企业邮箱地址的话，是不是更好一点呢。毕竟要发简历的话，还是会涉及到一些个人信息，发到企业邮箱里会比较稳妥一些。 或者，你有更好的想法，也可以讲讲。

已修改

我直接点击时发现，格式可能是有问题了

authors: LinuxSuRen SilverBooker

repo: LinuxSuRen/remote-jobs-in-china


text:
🛑 BIR is down

In e0e7c1f, BIR (https://bir.flitswallet.app/api) was down:

HTTP code: 502
Response time: 934 ms

Resolved: BIR is back up in 778c7b3.


text:
🛑 MARC is down

In e427c6c, MARC (https://marc.flitswallet.app/api) was down:

HTTP code: 502
Response time: 507 ms

Resolved: MARC is back up in f58aa88.


text:
[BUG] Config editor "Code" mouse click inaccuracy

When trying to edit the config via web settings "Edit config" in type "Code" mouse click and the cursor position don't match 99% of the time, making it really hard to edit code fast and effectively. See GIFs below. Tested in Edge, Firefox (outdated), Brave and Chrome.

I'm not sure if my issue is related. But for me, it's way worse. The caret is showing a few characters to the left of where it actually is. It worsens the longer the line is.
Example:

This is the last position of this line. Tapping right arrow on my keyboard will move the caret to next line. Typing anything will add characters after that last comma.
I'm using Microsoft Edge. and have confirmed same issue on Chrome (both are Chromium browsers, so it makes sense)

@Inrego yeah it's the same issue. It's as bad as you describe as you suggest it might be due to longer lines as in the 2nd gif at the end you can see when I double click I believe "Supermicro" you see it's offset by quite a few characters.

This is indeed an issue, although I've not been able to fix it so far. I will leave this issue open, and if either of you feel like submitting a PR for it, that would be awesome :)

Should still be relevant. Thanks for the hard work :)

Playing around with inspect element I think I found the issue, it seems to be the font it gets from css class html .jsoneditor * instead of the correct one from .ace-jsoneditor *, deactivating the font from .jsoneditor * fixed it, see below for refference.

Thank you so much @UrekD for fixing this, nice work! 🙌🥳
PR #315 is now merged and available on DockerHub and changes visible in the dev environment: dev.dashy.to
There's also a new config editor, merged in #298, and released in V 1.9.0, which doesn't require you to write JSON anymore, and may be helpful to some of you.

authors: Inrego Lissy93 UrekD


text:
reduce code

https://developer.mozilla.org/ko/docs/Web/JavaScript/Reference/Functions/Arrow_functions

main.ts L#16 Actions.ExitCode를 return 해야하지 않나요?

추가로 threads.ts#L25, L26은 차라리 ChangedFiles 배열을 돌게하고
if문으로 체크하는게 좋을거 같아요 굳이 2번 배열을 돌 필요가 없어 보이네요

repo: List-KR/jsdelivr-purge


text:
Скласти додаткові інформаційні блоки

Можна зробити резюме менш формальним, додавши додаткові блоки, які містять корисну інформацію, але подають її в "розважальній" формі. Наприклад, що подобається і не подобається, сильні і слабкі сторони, перелік навиків чи хобі, інфографіка або ж інтерактивні модулі, тощо. Варто написати контент такого блоку раніше, ніж починати верстку, бо його розміри впливатимуть на розміщення елементів на сторінці.

LIKES 😃
BILLIONS FILET-O-FISH BIG MAC CHINA QUARTER POUNDER DIET COKE TARIFFS BIBLE ARTOF DEAL PATRIOTS BEAUTIFUL MODELS GOLD REAL ESTATE WAR PROTESTERS CONSTRUCTION RUSSIANS BANKS SPORTS WOMEN MEXICO RED HAT KOREANS GOLF EVERYBODY [1] [2]
DISLIKES 😞
DOGS MEDIA CNN GERMANS MEXICANS IMMIGRANTS SHITHOLE COUNTRIES UNATTRACTIVE WOMEN BLACKS SUSHI HOT-DOGS ALCOHOL FRUIT CHRISTMAS PARTIES LIBERALS
WANTS 🥺
BE HEALTHY GROW A TREE BUILD TRUMP AIRPORT HAVE A TASTE DO A HARLEM SHAKE IN CONGRESS TO GOLF MORE OFTEN WIN ALL THE COURT SUITS

repo: LizaPazhukova/homepage


text:
【派蒙美味料理】，这个系列的商品都没有，应该也是api问题吧。

如题

可能是在筛选不限量和已结束兑换商品的时候一起筛选掉了


text:
[Question]How do I modify these two (or more) as a whole?

Here's a snippet of code I found
if (pos.getY() >= world.getSeaLevel()) {
            // .........
        }

How do I use @ModifyExpressionValue to make it look like this
if (myboolean() && (pos.getY() >= world.getSeaLevel()) ) {
            // .........
        }

ModifyExpressionValue the getSeaLevel call, and if you want to force the comparison to false then return Integer.MAX_VALUE

thank

Although you could also use Float.NaN

Although you could also use Float.NaN

That is not the case. NaN cannot be represented as an integer and ModifyExpressionValue does not allow changing the datatype of a value (as instructions after the expression expect the datatype to be an integer still).

Although you could also use Float.NaN

That is not the case. NaN cannot be represented as an integer and ModifyExpressionValue does not allow changing the datatype of a value (as instructions after the expression expect the datatype to be an integer still).

I just checked and you are right both are values of type int, I assumed that the "getY()" method was of type float or double

Note that once MixinExtras gets its expression injection point, you will be able to simply target the whole expression directly, which should make situations like this easier


text:
🛑 DQ is down

In f6e63d7, DQ (https://dq.yam.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DQ is back up in a613a06 after 10 minutes.

repo: LloydGain/UppTIME


text:
🛑 invest is down

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

HTTP code: 0
Response time: 0 ms

Resolved: invest is back up in 5659618.


text:
Added new blog of php api using jwt

Checklist

Please note that in case of below checklist not updated accordingly, the maintainers have the right to immediately close your pull request.

[x] You created a branch from dev branch.
[x] You PR is raised on dev branch and not onmaster.
[x] Blog follows Blog Guidelines.
[x] You have read the Contribution Guidlines before creating this PR.
[x] Checked for any duplicate blog entry.
[x] Checked for all grammatical errors in the blog.
[x] You have not published the blog content anywhere else on the internet on platforms like medium, dev.to etc.
[x] The content is not copy-pasted from anywhere else on the Internet.

Description of change

Author Details for Blog Post Entry
id: espark-biz
bio: Harikrishna Kundariya, a marketer, developer, IoT, ChatBot & Blockchain savvy, designer, co-founder, Director of eSparkBiz Technologies @SaaS App Development Company. His 8+ experience enables him to provide digital solutions to new start-ups based on IoT and ChatBot.

Hello Team
Hope you're doing well.
We had made the changes in our existing post.
Here is the pull request link:
https://github.com/LoginRadius/engineering-portal/pull/724
If you still need any changes then feel free to let me know.
On Wed, Sep 1, 2021 at 12:52 PM Raghunath Reddy @.***>
wrote:

@.**** requested changes on this pull request.
Hi @espark-biz https://github.com/espark-biz
We have done an initial review and commented on the changes necessary.
Would you please make these changes and let us know?
We'll then take it forward for the next couple of rounds of reviews.
Keep contributing!
@raghunath-r-a https://github.com/raghunath-r-a
In content/php-api-using-jwt/index.md
https://github.com/LoginRadius/engineering-portal/pull/724#discussion_r699930424
:

@@ -0,0 +1,226 @@
+---
+title: "Securing PHP API using JWT and Apache"
+date: "2021-08-4"
+coverImage: "jwt.jpg"
+author: "Harikrishna Kundariya"
+tags: ["Securing PHP API", "PHP API using JWT","PHP API using Apache"]
+Description: "Harikrishna Kundariya, a marketer, developer, IoT, ChatBot & Blockchain savvy, designer, co-founder, Director of eSparkBiz Technologies @SaaS App Development Company. His 8+ experience enables him to provide digital solutions to new start-ups based on IoT and ChatBot. "

Here, the description should be about the article, not the author. Author
bio should be added separately in the pull request description as per
https://github.com/LoginRadius/engineering-portal/blob/master/GUIDELINES.md
In content/php-api-using-jwt/index.md
https://github.com/LoginRadius/engineering-portal/pull/724#discussion_r699932731
:

@@ -0,0 +1,226 @@
+---
+title: "Securing PHP API using JWT and Apache"
+date: "2021-08-4"
+coverImage: "jwt.jpg"
+author: "Harikrishna Kundariya"
+tags: ["Securing PHP API", "PHP API using JWT","PHP API using Apache"]
+Description: "Harikrishna Kundariya, a marketer, developer, IoT, ChatBot & Blockchain savvy, designer, co-founder, Director of eSparkBiz Technologies @SaaS App Development Company. His 8+ experience enables him to provide digital solutions to new start-ups based on IoT and ChatBot. "
+---
+Security is one of the most important things that you need to look at while developing an application. As people become more aware and hackers become more notorious, you need to employ systems that strengthen your application's data.

+Previously, people used session storage to secure their applications. In recent times, sessions have proved inefficient, and that made people migrate to authentication with APIs. Even though this was a superb and robust way to secure web applications, it became obsolete as hackers tried to figure out how to crack this authentication.
+
+As the web evolves to accept more and more users, the research for secure authentication techniques speeds up. It was in 2010 when the world was introduced to a new and secure authentication standard, JWT. Let's know more about JWT.
+
+What is JWT?
Please use heading markdown formatting for all the headings and
sub-headings instead of bold text
In content/php-api-using-jwt/index.md
https://github.com/LoginRadius/engineering-portal/pull/724#discussion_r699940154
:

+// extract credentials from the request
+if ($hasValidCredentials) {
+```
+Any further coding will be wrapped in this block only. The value of the hasValidCredentials variable governs all code related to the production and validation of the required JWT. If its value is true, the JWT shall be created; otherwise, an error will be shown.

+Let's start creating our JWT. To begin, we'll need to generate some more variables to aid us in this process. As we saw in the payload section, we must create a variable that will hold our secret key, which may be retrieved from the environment files, another variable to hold information about when the JWT was created, a variable that will hold the JWT's expiration date and time, a username field to identify the client making the authorization request, and a server name variable to register the server name.
+
+JWT's can be easily inspected and checked at client-side browsers. So it is better to hide your secret key and other important information in some environment file, which the user cannot access through client-side requests.
+
+```php
+$secretKey  = 'bGS6lzFqvvSQ8ALbOxatm7/Vk7mLQyzqaS34Q4oR1ew=';
+$issuedAt   = new DateTimeImmutable();
+$expire     = $issuedAt->modify('+6 minutes')->getTimestamp();      // Add 60 seconds
+$serverName = "your.domain.name";
+$username   = "username";                                           // Retrieved from filtered POST data
+$data = [
This code block is exactly matching the source here: PHP Authorization
with JWT (JSON Web Tokens) - SitePoint.
https://www.sitepoint.com/php-authorization-jwt-json-web-tokens/
Can you please try to make it unique by modifying the comments and secret
key, for example?
In content/php-api-using-jwt/index.md
https://github.com/LoginRadius/engineering-portal/pull/724#discussion_r699943186
:

+loginButton.addEventListener('submit', async (e) => {

e.preventDefault();

const res = await fetch('/authenticate.php', {
method: 'POST',
headers: {

 'Content-type': 'application/x-www-form-urlencoded; charset=UTF-8'

},
body: JSON.stringify({

 username: form.inputEmail.value,

 password: form.inputPassword.value

})
});

if (res.status >= 200 && res.status <= 299) {
const jwt = await res.text();

This code block is exactly matching with this source: PHP Authorization
with JWT (JSON Web Tokens) - SitePoint.
https://www.sitepoint.com/php-authorization-jwt-json-web-tokens/
Can you please try to make it any more unique by modifying the code
without disturbing what the code tries to achieve in terms of logic and
flow?
In content/php-api-using-jwt/index.md
https://github.com/LoginRadius/engineering-portal/pull/724#discussion_r699944563
:

+Run the program once you've written this code and enter your credentials into the form fields. A GET request will be sent when you click the submit button. Here is a sample GET request to assist you in making the right identification.
+php +GET /resource.php HTTP/1.1 +Host: yourhost.com +Connection: keep-alive +Accept: */* +X-Requested-With: XMLHttpRequest +Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE0MjU1ODg4MjEsImp0aSI6IjU0ZjhjMjU1NWQyMjMiLCJpc3MiOiJzcC1qd3Qtc2ltcGxlLXRlY25vbTFrMy5jOS5pbyIsIm5iZiI6MTQyNTU4ODgyMSwiZXhwIjoxNDI1NTkyNDIxLCJkYXRhIjp7InVzZXJJZCI6IjEiLCJ1c2VyTmFtZSI6ImFkbWluIn19.HVYBe9xvPD8qt0wh7rXI8bmRJsQavJ8Qs29yfVbY-A0 +
+If you've followed along until here, everything should be working fine. Now let's begin with validating the JWT.

+To assist us with this operation, we've previously added the composer's autoloader function. We'll now use the preg match function to extract the token from the Bearer header. For this extraction, we'll use the preg match function and supply a regular expression.
+
+```php
+if (! preg_match('/Bearer\s(\S+)/', $_SERVER['HTTP_AUTHORIZATION'], $matches)) {

header('HTTP/1.0 400 Bad Request');

Same recommendation as the previous code block comment
In content/php-api-using-jwt/index.md
https://github.com/LoginRadius/engineering-portal/pull/724#discussion_r699945221
:

+```php
+if (! preg_match('/Bearer\s(\S+)/', $_SERVER['HTTP_AUTHORIZATION'], $matches)) {

header('HTTP/1.0 400 Bad Request');
echo 'Token not found in request';
exit;
+}
+```
+The code above attempts to extract the token from the Bearer header. In this case, error handling is utilized. Thus if the token is not discovered, an HTTP 404 error is given to the user.

+To validate the JWT, we must first compare it to the previously created JWT.
+
+```php
+$jwt = $matches[1];
+if (! $jwt) {

// No token was able to be extracted from the authorization header
header('HTTP/1.0 400 Bad Request');

Same recommendation as the previous code block comment
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/LoginRadius/engineering-portal/pull/724#pullrequestreview-743552960,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGKVXQOSGIUMIHLBZUBXDT3T7XIERANCNFSM5BREMEZQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Hello Team
We had made the changes in our existing post.
Here is the pull request link:
https://github.com/LoginRadius/engineering-portal/pull/724
And as per your suggestion, we had also created a demo application for JWT
*Please check:*https://github.com/espark-biz/basic-php-jwt-auth-example
If you still need any changes then feel free to let me know.
On Mon, Sep 27, 2021 at 12:17 PM Akash Patil @.***>
wrote:

@.**** requested changes on this pull request.
Hi @espark-biz https://github.com/espark-biz,
I have reviewed the blog and suggested a few changes.
A suggestion to make the blog easier to understand, it would be beneficial
to provide a Github link to a full working demo with code implementations
that where used in the blog as an example for readers to test and follow if
they get stuck.
Kindly look into these from your end and let me know what you think.
Regards,
@Akash-Patil https://github.com/Akash-Patil
In content/guest-post/secure-php-api-using-jwt/index.md
https://github.com/LoginRadius/engineering-portal/pull/724#discussion_r716387297
:

+---
+title: "How to Secure PHP API Using JWT"
+date: "2021-09-17"
+coverImage: "jwt.png"
+author: "Harikrishna Kundariya"
+tags: ["PHP API", "Securing API", "JWT","Apache"]
+Description: "Nowadays, PHP API security has become more important. Read this article to know how you can secure PHP API using JWT and Apache."
+---
+Security has become a fundamental aspect to consider while developing an application. As people become more aware and hackers more notorious, you need to employ systems that strengthen your application's data security.

+Previously, it was common to use session storage to secure applications. In recent times, sessions have proved to be inefficient, which pushed to migrate to authentication with APIs. Even though this was a superb and robust way to secure web applications, it became obsolete as hackers tried to figure out how to crack this authentication.
+
+As the web evolves to accept more and more users, the research for secure authentication techniques speeds up. It was in 2010 when the world was introduced to a new and secure authentication standard -- JWT. Let's know more about JWT.
+
+## What is JWT?
+Java Web Token (JWT) is a safe way to authenticate users on a web app. Using JWT, you can transfer encrypted data and information between a client computer and a server securely.
JWT full-form should be JSON Web Token instead of Java Web Token.
In content/guest-post/secure-php-api-using-jwt/index.md
https://github.com/LoginRadius/engineering-portal/pull/724#discussion_r716388563
:

+- Iss - This field contains data about the server that has issued the token. Iss is short for Issuer, which refers to the server.
+- Exp - Unlike other authentication techniques, JWT has an expiration time. This field's name is a short form for the expiration date. It contains data about the time when the token was issued and the expiration date and time of the issued token.

+### JWT Signature
+A cryptographic operation is performed on the JWT data to obtain this signature. It takes in the payload, secret key, and header value of a JWT. The signature is then generated by applying a function to these obtained values.
+
+The server and user can verify this signature to know about the data's security and integrity. If this signature matches at both ends, then the data is considered secure, and all other transactions can take place.
+
+## Using JWTs to Secure PHP API
+As you've understood everything about JWT, let's secure your PHP API using JWT. Follow the code along, and you'll have a tamper-proof PHP API.
+
+This article creates a simple login page and authenticates it using JWT. This will help you get started with JWT and PHP.
+
+To follow along, you'll need to have PHP and composer installed on your computer.
+
+If you haven't already installed composer on your computer, you may do so here. Once the composer has been installed, run the tool from your project folder. Composer will assist you in installing Firebase PHP-JWT, a third-party library for working with JWTs and Apache.
Kindly add a link to here which leads to installation page of composer.
In content/guest-post/secure-php-api-using-jwt/index.md
https://github.com/LoginRadius/engineering-portal/pull/724#discussion_r716389145
:

+### Creating JWT
+Let's start creating the JWT. To begin, you need to generate some more variables to aid in this process. As you saw in the payload section, you must create:
+
+- a variable that will hold the secret key, which may be retrieved from the environment files;
+- another variable to hold information about when the JWT was created;
+- a variable that will hold the JWT's expiration date and time;
+- a username field to identify the client making the authorization request; and,
+- a server name variable to register the server name.
+
+JWT's can be easily inspected and checked at client-side browsers. So it is better to hide your secret key and other important information in some environment file, which the user cannot access through client-side requests.
+
+```php
+$secret_Key  = '68V0zWFrS72GbpPreidkQFLfj4v9m3Ti+DXc8OB0gcM=';
+$date   = new DateTimeImmutable();
+$expire_at     = $date->modify('+6 minutes')->getTimestamp();      // Add 60 seconds
Is 60 seconds correct here ? Check the comment/code for this line .
In content/guest-post/secure-php-api-using-jwt/index.md
https://github.com/LoginRadius/engineering-portal/pull/724#discussion_r716393164
:

+To assist us with this operation, you've previously added the composer's autoloader function. You'll now use the preg match function to extract the token from the Bearer header. For this extraction, you'll use the preg match function and supply a regular expression.

+```php
+if (! preg_match('/Bearer\s(\S+)/', $_SERVER['HTTP_AUTHORIZATION'], $matches)) {

header('HTTP/1.0 400 Bad Request');
echo 'Token not found in request';
exit;
+}
+```

+The code above attempts to extract the token from the Bearer header. In this case, error handling is utilized. Thus if the token is not discovered, an HTTP 404 error is displayed to the user.
+
+To validate the JWT, you must first compare it to the previously created JWT.
+
+```php
+$jwt = $matches[1];
Please confirm if it should be $matches[1] or $matches[0]. If there is no
change here, change first index part of line 224 accordingly.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/LoginRadius/engineering-portal/pull/724#pullrequestreview-763872563,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGKVXQPPBJXA2UHBIDVBLPTUEAHOXANCNFSM5BREMEZQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Hello
Please check
https://github.com/LoginRadius/engineering-blog-samples/pull/138
Here is the update link as per your suggestion.
On Wed, Nov 24, 2021 at 3:22 AM Akash Patil @.***>
wrote:

@.**** commented on this pull request.
Hi @espark-biz https://github.com/espark-biz,
We apologise for the delay. Couple of things :

I have tested the code and it seems to be working fine now. Kindly
send a PR for the demo code to the following repo:
https://github.com/LoginRadius/engineering-blog-samples
Please make/resolve the previously requested changes to the blog
text as mentioned in the earlier comments.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/LoginRadius/engineering-portal/pull/724#pullrequestreview-814208167,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGKVXQPRTOE4OEGUOOLRFHLUNQEKFANCNFSM5BREMEZQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Hi @espark-biz,

We will merge your PR for the engineering-blog-samples repo shortly. After that,  please add a link(updated link) to the demo code in your blog wherever applicable.

2. As mentioned earlier, you need to resolve the comments for requested changes that are mentioned above. Either make the required change or reply to the comment in the thread if you feel that the change is not needed. Until these changes are handled, we will not be able to merge this blog.
Regards,
@Akash-Patil

authors: Akash-Patil espark-biz

repo: LoginRadius/engineering-portal


text:
Total lack of useful documentation

There needs to be better use case documentation. The most obvious one would be how to validate an access token.

HI @daveschere
Thanks for your contribution to this project, this particular request is included in our latest releases.
Please let me know if you see any other areas of improvement.
Regards
Indrasen

repo: LoginRadius/go-sdk


text:
Year numbers typo in RELEASE_NOTES for 3.09.1 and 3.09.2

Year numbers in RELEASE_NOTES.md for release date of 3.09.1 and 3.09.2 are incorrect, 2016 should be 2017.

Oops! Thanks for reporting. Fixed.

authors: dram pmoura


text:
Search result doesn't like translated strings

When searching for a phrase, it accepts both the original and translated phrase and shows results accordingly. When clicking a search result though, it works only if I searched in original language.
https://streamable.com/xbhwv

I see the issue now. When searching for a string we filter on either the original or the translated content. But, when displaying the string on the translate activity, we only filter the default resources (original language) and then use that to know which translated strings to show.

Sorry for the delay, thanks for the report. Been busy with a few other things :)

repo: LonamiWebs/Stringlate