text:
Guru Meditation Error

Hello.
i'm try to add this function to my project. but it's not working well.
can you give me a hint?
target board is esp32s3 / 8MB psram.
use frame buffer "PIXFORMAT_GRAYSCALE",  "FRAMESIZE_240X240"
add this lib "idf.py add-dependency "liux-pro/apriltag^0.0.4" by this cmd
and do full clean and build result build successfully complite.
  tf = tag16h5_create();   td = apriltag_detector_create();
when i call this function error has bean accurred.
so i change malloc and calloc function to heap_caps_calloc, heap_caps_malloc to allocatic in spram
after some same error keep accurred at malloc and calloc so i changed all.
after that
issue has changed.

this is my serial window.
i can not understand what's happend.
coude check it please?
best regards.

oh,
here is my code.
init function
`void initAprilTagDecode(void)
{
tf = tag16h5_create();
//  tf = tagStandard41h12_create();
td = apriltag_detector_create();
apriltag_detector_add_family(td, tf);
td->quad_decimate = 1.0;      // "Decimate input image by this factor"
td->quad_sigma = 0.0;         // "Apply low-pass blur to input; negative sharpens"
td->nthreads = 1;             // "Use this many CPU threads"
td->debug = 0;                // "Enable debugging output (slow)"
td->refine_edges = 1;         // "Spend more time trying to align edges of tags"
td->decode_sharpening = 0;
quiet = 0;                    // "Reduce output"
maxiters = 1;                 // "Repeat processing on input set this many times"
}`
and  main loop call function
`      {
image_u8_t im = {
.width = (int32_t)frame->width,
.height = (int32_t)frame->height,
.stride = (int32_t)frame->width,
.buf = frame->buf
};
      ESP_LOGI("APRIL", "CAM_AP_APRIL_TAG FB get");

      if (return_frambuffer) esp_camera_fb_return(frame);
      else free(frame);

      zarray_t *detections = apriltag_detector_detect(td, &im);

      for (int i = 0; i < zarray_size(detections); i++)
      {
          apriltag_detection_t *det;
          zarray_get(detections, i, &det);
          ESP_LOGE("TAG","%d, ",det->id);
      }

      apriltag_detections_destroy(detections);

      ESP_LOGI("APRIL", "CAM_AP_APRIL_TAG FB Get");
      break;

  }`

Hello, @liux-pro
Thanks for Answer. !
I have confirmed the contents of your reply.
Here are answers to your questions and additional information.
Please confirm.

this is my frame_buffer init state.

This is my Init Code.

2-1. at apCameraInit() function

do this
2-2. at apCameraLoop() function

what is return_frambuffer?
"return_frambuffer" this fleg always "true"
my code use frambuffer at another function  after use april-tag decode  (convert to jpg and strming)
that's why use fb_return function
The fb_return function can be used in other places, such as face recognition, and it has been confirmed that it operates normally.

tf = tag16h5_create(); td = apriltag_detector_create();
when i call this function error has bean accurred.

so i change malloc and calloc function to heap_caps_calloc, heap_caps_malloc to allocatic in spram
after some same error keep accurred at malloc and calloc so i changed all.
after that
issue has changed.

this is my serial window.
i can not understand what's happend.
Thanks for help
best regards.

Just Core panic'ed and after reset directly.
i can get any debug message...
Are there any suspicious symptoms or debugging methods?
The component was added using the "idf.py add-dependency "liux-pro/apriltag^0.0.4" by this cmd method,
and the code has been fully-cleaned and built.

yes, private.
for all access, i need get permission first.
If necessary, it would be possible to copy and share all parts of the code being called.
Thanks.

Thanks for your help. liux-pro.
Let's insert as much debugging code as possible to pinpoint where the reset occurs.
We will also prepare the source code under development so that it can be shared through git. ASAP.
I think it would be of great help if you could check it out.
Thank you again.

hello, @liux-pro .
Here is the open source link to the project in question.
If you have time, I would appreciate it if you could review it.
https://github.com/ajtwlsdlqp/esp32s3_april-tag/tree/main
Best Regards.

hello, @liux-pro .
I hope this message finds you well. I have a question regarding your project.
I was wondering if you have implemented and verified the functionality of capturing April-Tags using any camera module, analyzing the frame buffer, and identifying the content of the tag in your project.
From reviewing all the example codes and content, it appears that the analysis involves including a pre-existing image header.
I am curious to know if you have successfully implemented and tested real-time analysis, as I am currently working on implementing a similar real-time analysis feature and would like to understand if it is fundamentally achievable based on your project.
Thank you for your time and assistance.
Best regards,

@liux-pro
I will try  ASAP.
Really Thanks for help.
Thank you again.

repo: liux-pro/apriltag


text:
能提供一下邮箱么？

您好，能提供一下邮箱么？

我们是金山云视频云团队，https://github.com/ksvc/KSYStreamer_Android 这个是我们的SDK的介绍，你的这几个项目和我们非常match，有兴趣加入我们么?非常期待您的回复

作者大人，能否和我说一下为啥我编译你的c文件总是提示我缺少mp4.h文件啊

source: gharchive/issue

repo: liuxang/LivePublisher

license: MIT

license_type: permissive

license_source: github-api


text:
Remove the input text without manually entering the backspace.

I need to remove the input field text by either selecting a text with mouse or by clicking a button(should reload the auto suggestion data).

This highlights an issue with this.value in https://github.com/liuy97/ng2-input-autocomplete/blob/master/projects/autocomplete/src/lib/autocomplete.component.ts becoming out of sync.
The code doesn't consider cases where the input value changes from an indirect source, for example, it won't sync on form.reset() either.

authors: DanWebb agiratech-venkat

license: mit

license_source: bigquery


text:
speed up training & quality of mesh and material

Hi. Thank you for your excellent work and kind responses to my questions and emails.
Currently, I'm aiming to achieve two goals: 1) speeding up training and 2) obtaining high-quality results.
For the first goal, I intend to accelerate training for both mesh and material aspects. In traditional deep-learning approaches, this can often be achieved by increasing the batch size and reducing the number of iterations/epochs. However, for NeRF, it appears to be different.
I believe adjusting parameters within the script, particularly those related to rays, could have a similar effect to increasing the batch size. Am I correct in assuming that modifying these parameters would have such an impact?
In the renderer.py file, specifically within the NeROShapeRenderer and NeROMaterialRenderer classes, I plan to:

Increase 'train_ray_num' and 'test_ray_num'. (= increase batch)
Decrease 'total_step' in the YAML files. (= decrease epoch)
increase --resolution for 'extract_mesh.py'

Regarding the second goal of obtaining high-quality results, I plan to make the following adjustments:

Increase the image resolution from the default 1024 to the maximum size specified in the YAML.
Increase 'diffuse_sample_num' and 'specular_sample_num'.

Currently, I'm experimenting with different parameters, but I'm hopeful that someone else has encountered similar issues or can provide feedback on my approach. Any comments or suggestions to improve my approach would be greatly appreciated.

Hi, to speed up the training, you may try hash-grid-based representation, which would be faster. I think this is feasible for stage II and for stage I, you may refer to NeuS2. But I'm not sure if combining Stage I with hash grid could produce good results or not.

Thanks for your response. I've also tried using neus2, and while it gave good results on the dataset, it didn't perform well on custom data. So, I was wondering if there's a way to utilize GPU memory more effectively in Nero. I'm looking for a method similar to increasing batch size and reducing iterations in typical object detection training to achieve better results.

authors: liuyuan-pal wooni-github

repo: liuyuan-pal/NeRO


text:
Add highlighting for SHEET and RULES sigils

[x] Get swift highlighting working
[x] Isolate swift highlighting to inside do/end block

Looks good to me! @supernintendo or @carson-katri thoughts?

Actually, I did have one thought. We plan to have ~RULES platform specific, so for Jetpack we'd presumably have a different syntax in that platform's ~RULES sigil. Is there a way we can detect if this ruleset is for Swiftui?

It might be difficult to figure out the platform, unless we make use of modifiers eg ~RULES"""..."""swiftui

is it possible to do so by looking for this line: use LiveViewNative.Stylesheet, :swiftui the 2nd arg being the platform in question

Yes, from some experimenting it looks like it is possible, but not a bit tricky. Can we handle formats in another PR? I've created an issue for this

@NduatiK yeah, we don't yet net the jetpack one yet so we can wait on it for now

source: gharchive/pull-request

authors: NduatiK bcardarella

repo: liveview-native/liveview-native-vscode


text:
add sku

[ ] add sku

test failed

repo: lixiaofa/fast-plus


text:
How to change profile ?

Hi,
Thanks for this package ;)
I have a production and a staging on a project. I try to change the profile to production but it says No profile available found when I execute command Set Profile
[     {         "protocol": "ftp",         "host": "www.project.com",         "context": "/project/src",         "port": 21,         "name": "staging",         "username": "project",         "password": "password",         "remotePath": "/staging.password.com/",         "uploadOnSave": true,         "defaultProfile": "staging"     },     {         "protocol": "ftp",         "host": "www.project.com",         "context": "/project/build",         "port": 21,         "name": "production",         "username": "project",         "password": "password",         "remotePath": "/public_html/",         "uploadOnSave": false     } ]

Read the README.

authors: devonecube liximomo

repo: liximomo/vscode-sftp


text:
提个建议,验证及接收消息可以写在一起,每次注释都很麻烦

改成类似下方的判断可以方便不少
if (isset($_GET['echostr'])) {
      $wechat->checkSignature();
} else {
      echo $wechat->run();
}

好几年了，之所以没改，就是因为更换重新验证的机会很少，甚至几年也用不到一次。而入口出加这个if每一次请求都要判断，虽然if几乎不耗费资源，但是日积月累吧。。。权衡后就没加。

repo: lixuancn/LaneWeChat

license: WTFPL


text:
History fieldset minimized.

History fieldset is minimized by setting a max-height style to fieldset.history .collapsible to minimize the application view.
This minimization doesn't occur until five entry items are added to history.
Also, button to clear history has been moved to the parent to keep its position upon history scroll.

Hey @izerozlu,
Your changes look good to me!
View build log
TravisBuddy Request Identifier: 00f73f40-c6b3-11e9-be9f-2924d72427a9

Hey @izerozlu,
Your changes look good to me!
View build log
TravisBuddy Request Identifier: 048e6fc0-c6b3-11e9-be9f-2924d72427a9

#53 and #54 are direct conflicts and two seperate implementations for the history fieldset. #53 doesn't include a component dependency so a bit more lighter than #54. But #54 brings in a performance boost for the big history lists. If both of PRs evaluate to be merge, one of them has to be chosen.

Consider rebase and pull again

Will create a virtual scroll version of this PR. Thus closing.

authors: TravisBuddy izerozlu liyasthomas

repo: liyasthomas/postwoman


text:
全新安装的LAMP，所有PHP文件访问即提示下载

Linux: Ubuntu 16.04
Apache: 2.4
MySQL: 5.6
PHP: 5.6

新版oneinstack才开始有的这个问题

service httpd restart 试试呢

也是这样，重启服务器也一样。不过安装LANP组合的话，打开phpmyadmin、phpinfo还是跟上图提示一样，但打开探针就正常显示页面

测试过没这个问题，方便的话，建议Email ip 密码排查。


text:
你好，请问非连续实体用什么标注软件标注

请问非连续实体用什么标注软件标注

同问，有没有快速的标注软件啊？


text:
Added 'add_provider' to generic provider

Issue #74
add_provider() on Generic adds an instance of the provider class, so a new provider class such as my_generic.add_provider(SampleProvider) will let you call my_generic.SampleProvider.method() afterwards.
I used the class name to set the attribute, but it could definitely be changed to look for a key variable in the new provider to set the attribute within the generic provider.
Raises TypeError if a class type is not passed.

@Battleroid Great job! You are making a huge contribution to Elizabeth. I hope that you will continue in the same spirit. Thank you!

No problem. Glad I could help.

authors: Battleroid lk-geimfari

repo: lk-geimfari/elizabeth


text:
urllib3.exceptions.HTTPError: HTTP post request failed with: 500 - b'{}'

When running etl-to-synbiohub-pipeline 2 unit tests fail with the following traceback:
======================================================================
ERROR: setUpClass (tests.test_sbh_submissions.TestBackBuilder)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/etl-to-synbiohub-pipeline/tests/test_sbh_submissions.py", line 27, in setUpClass
    test.sbh.submit(test.doc)
  File "/SBOL/sbol/partshop.py", line 197, in submit
    ' - ' + str(response.content))
urllib3.exceptions.HTTPError: HTTP post request failed with: 500 - b'{}'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/etl-to-synbiohub-pipeline/tests/test_sbh_submissions.py", line 29, in setUpClass
    test.sbh.submit(test.doc, test.target_collection, 1)
  File "/SBOL/sbol/partshop.py", line 197, in submit
    ' - ' + str(response.content))
urllib3.exceptions.HTTPError: HTTP post request failed with: 500 - b'{}'

I have added a test case based on the etl-to-synbiohub-pipeline which nicely repeats the error.
We must be tickling SynBioHub in some way to cause it an internal error. The request isn't very complicated.

Is this bug in SBH also with the C library?

Is this bug in SBH also with the C library?

No. The etl-to-synbiohub-pipeline test works with pySBOL.

This was a bug in SynBioHub. A test should still be added to ensure that submit() continues to work in the future.

authors: jakebeal tcmitchell

repo: llotneb/SBOL


text:
add get it on f-droid link

Adds the F-Droid repo link to the README.md.
One of the packagers finally answered, all that is missing is a new tag, since the fastlane changes are not covered by the most recent one. My recomendation would be:

retagging the latest release to the latest commit
I modify the metadata to point to that instead
F-Droid merges the metadata
this patch here

Thank you for sticking with me through this journey :)

Thanks for following up on this. I've retagged the latest commit as 1.10.4 which should hopefully unblock the process over at F-Droid.
I unfortunately can't accept the commit as is until the app is live on F-Droid, but I'm happy to update it myself once it's ready.

authors: lloydtorres samtinel

repo: lloydtorres/stately


text:
fix: allow both description_hash and unhashed_description to be present

Summary
Currently the unhashed_description is discarded if description_hash is present (and vice-versa).
This results in the "'description_hash' unsupported by CLN, provide 'unhashed_description'" being thrown for a LNbits instance with a CLightningWallet back-end wallet.
The current fix allows both description_hash and unhashed_description to be present at the same time.
Test
The call:
curl --location --request POST 'https://legend.lnbits.com/api/v1/payments' \
--header 'x-api-key: xxxxxxxxxxxxxxxxxxxxxxxx' \
--header 'Content-Type: application/json' \
--data-raw '{
    "out": false,
    "amount": 3,
    "description_hash": "4abe6ea61212e956ca0a3c81ea04d441527df9bd7674a6ee5113b53cf5fbb824",
    "unhashed_description": "5b5b22746578742f706c61696e222c20225061796d656e7420746f206d6f746f72696e6130225d2c205b22746578742f6964656e746966696572222c20226d6f746f72696e6130406c6e626974732e6c696e6b225d5d",
    "memo": ""
}'

Returns:
{
    "detail": "'description_hash' unsupported by CLN, provide 'unhashed_description'"
}

Codecov Report

Merging #1140 (33d7fad) into main (41aa074) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #1140      +/-   ##
==========================================
- Coverage   48.72%   48.70%   -0.02%
==========================================
  Files         239      239
  Lines       13518    13511       -7
==========================================
- Hits         6586     6581       -5
+ Misses       6932     6930       -2

Impacted Files
Coverage Δ

lnbits/core/views/api.py
40.17% <100.00%> (-0.64%)
:arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

LGTM. The reason why the flags were only considered exclusively was to make it explicit that the backend only supports one of them, not both.

authors: callebtc codecov-commenter motorina0

repo: lnbits/lnbits


text:
Removing unused files from the repo

name: Cleaning unused files from the repo
about:
Motivate of the pull request

[ ] To address an existing issue. If so, please provide a link to the issue. #140
[ ] Breaking new feature. If so, please describe details in the description part.

Describe the technical details

What is currently done? (Provide issue link if applicable) : There are several unused files in the repo
What does this pull request change? This pull cleans them all

Which part of the code base require a change
In general, modification on existing submodules are not acceptable. You should push changes to upstream.

[ ] VPR
[ ] OpenFPGA libraries
[ ] FPGA-Verilog
[ ] FPGA-Bitstream
[ ] FPGA-SDC
[ ] FPGA-SPICE
[ ] Flow scripts
[ ] Architecture library
[ ] Cell library

Checklist of the pull request

[ ] Require code changes.
[ ] Require new tests to be added
[ ] Require an update on documentation

Impact of the pull request

[ ] Require a change on Quality of Results (QoR)
[ ] Break back-compatibility. If so, please list who may be influenced.

Happy to remove any dead codes

Happy to remove any dead codes

authors: ganeshgore tangxifan

repo: lnis-uofu/OpenFPGA


text:
Added Recommended C++ Resources

https://hackr.io/tutorials/learn-c-plus-plus

Looks good!
Thanks :)

authors: lnishan qualityjacks

repo: lnishan/awesome-competitive-programming


text:
Nov15

Changes for November. (tito page is not setup yet.)
I've tweaked the import script so that it only imports talks in the next event. eg excludes talks scheduled for January.

This is great and the code works perfectly. Nice improvements to make error handling clearer, such as for no milestone on a talk, and future dates are handled now.
This will save us from a lot of manual effort making changes to the underlying data.


text:
Add a minimal GlobalSettings accessor

Expose a GlobalSettings struct to access document-wide settings
information, such as scale factor or axis direction.
The API as defined in this PR is EXTREMELY BAREBONE, requiring
the user to manually specify the name of the properties they want to
access.
This is in order to avoid blocking on any particular details. Favoring
further discussions about unit precision or how to expose a proper
axis direction API for later.
I'd really like to see this go through, it's a blocker for some features on https://github.com/HeavyRain266/bevy_fbx/
See also:

https://github.com/lo48576/fbxcel-dom/pull/7

Thank you!
Released as v0.0.9.

Thank you too!


text:
Improved compatibility with Postman collections [bounty: $1500]

We would like to improve the workflow for users of Postman collections (v2.x) that want to load test their APIs using k6, provide an even better onboarding experience to k6 (and in extension Load Impact), by extending the postman-to-k6 converter to take the following Postman collection features into account in the conversion process. A completed solution will also include tests and docs (updated README).
Related issues:

https://github.com/loadimpact/postman-to-k6/issues/7: Convert collection that uses Environment Variables
https://github.com/loadimpact/postman-to-k6/issues/12: Add support for variables in body

Cookies
Setting cookies properly if they’re explicitly defined in the collection, see docs.
Relevant links:

https://docs.k6.io/docs/cookies
https://www.getpostman.com/docs/v6/postman/sending_api_requests/cookies

TLS Client Certificates
Setting up use of client certificates in k6 if defined in the collection, see docs.
Relevant links:

https://docs.k6.io/docs/ssl-tls-client-certificates
https://www.getpostman.com/docs/v6/postman/sending_api_requests/certificates

Authentication
Support the most common authentication options supported by Postman, see docs.
The authentications we want to support:

No auth (already supported in the converter)
Bearer token
HTTP Basic (already supported in the converter)
HTTP Digest
OAuth 1 / 2

See: TODO KB example script

AWS Signature v4

See https://support.loadimpact.com/4.0/test-scripting/examples/#aws-signature-v4-authentication (will be more performant once we have support for binary output for the hashing algorithms in the crypto package: https://github.com/loadimpact/k6/issues/856)

NTLM Authentication

This should also include the case when the authentication is set to “Inherit auth from parent”.
Relevant links:

https://github.com/loadimpact/postman-to-k6/tree/master/lib/postman/auth
https://www.getpostman.com/docs/v6/postman/sending_api_requests/authorization

Environment/global variables
Support environment and global variables defined in the collection, see docs. The conversion to k6 JS must make sure to adhere to the scoping rules defined in https://learning.getpostman.com/docs/postman/environments_and_globals/variables/#variable-scopes.
In general variables in the request URL, params, headers and body will have the form {{someVariable}}. These needs to be set by properly resolving the variable.
Relevant links:

https://docs.k6.io/docs/environment-variables
https://www.getpostman.com/docs/v6/postman/environments_and_globals/variables

Dynamic variables
The conversion needs to support Postman’s dynamic variables that can be present in the request URL, params, headers and body:

{{$guid}}: Adds a v4 style GUID
{{$timestamp}}: Adds the current timestamp
{{$randomInt}}: Adds a random integer between 0 and 1000

Data variables
The conversion needs to support what’s called “data variables” in Postman, see docs. This is parameterization data loaded from a CSV or JSON file and then used in request URL, params, headers, body or pre-/post-request scripts.
In scripts
In scripts you get variables (global, environment, dynamic or data) by using one of the APIs, see Scripting below.
Scripting
Postman has support for JS scripting in the form of pre-request scripts and post-response test scripts. By providing a shim layer in the converted script to support the Postman Sandbox execution environment, where pre-/post-requests scripts are executed, we should be able to provide a much more useful conversion tool from Postman to k6 for doing load testing.
Shimming
The shim layer could either be embedded in the converted script (or as a module that the converter spits out and the main file loads) or fetched from k6 github perhaps as a remote import, something like:
import postman from “github.com/loadimpact/k6/master/shims/postman-sandbox.js”;

Pre-/Post-request scripts/tests
These are currently appended as comments in the k6 script, but will now need to be inserted into k6 verbatim, with the necessary Postman APIs made available by the shim layer. See pre-request scripts docs and post-request test scripts for more info.
Support both pre-request scripts specified for a collection, a folder and an individual request (respecting the execution order of scripts).
Postman Sandbox APIs
The following Postman Sandbox APIs needs to be supported/shimmed:

It will include making some third-party libs available by default (see list in API docs). This could probably be handled by inserting them as imports to be loaded by the supported CDN/Github loaders in k6.

Lodash library
cheerio library
CryptoJS library

General

postman.getResponseHeader(headerName)
xml2Json(xmlString)

Environment and global variables

postman.setEnvironmentVariable(variableName, variableValue)
postman.getEnvironmentVariable(variableName)
postman.setGlobalVariable(variableName, variableValue)
postman.getGlobalVariable(variableName)
postman.clearEnvironmentVariable(variableName)
postman.clearGlobalVariable(variableName)
postman.clearEnvironmentVariables()
environment (a global object variable used by the functions above)
globals (a global object variable used by the functions above)

Dynamic variables

{% raw %}{{$guid}}{% endraw %}: Adds a v4 style GUID
{% raw %}{{$timestamp}}{% endraw %}: Adds the current timestamp.
{% raw %}{{$randomInt}}{% endraw %}: Adds a random integer between 0 and 1000

Cookies

responseCookies (array variable with response cookies for current response)
postman.getResponseCookie(cookieName)

Request/response related properties

request (object with request attributes)

data (key/value form data object)
headers (key/value object with request headers)
method
url

responseHeaders (key/value object with response headers)
responseBody (string, use JSON.parse or xml2json to parse it)
responseTime (number, total response time in milliseconds)
responseCode (object)

code
name
detail

tests (object with the users “checks”/”asserts”, boolean results of logical tests)
iteration (number, the current test run index)

Data files

data (object with parsed CSV or JSON data, each VU and iteration in k6 would need to fetch a new row of data, see this blog post)

All APIs in the Postman Sandbox API reference (the pm object, which is only available in Postman, not Newman): https://learning.getpostman.com/docs/postman/scripts/postman_sandbox_api_reference/

Except the require()’ing of Nodejs modules, that should result in an error message saying “Can’t load module X, Node.js modules aren’t supported in k6”
pm.sendRequest(url|requstObject, callback) this call would need to be synchronous in k6, so it wouldn’t return until the callback function is done executing.

@mul1sh Do you push your WIP code to github? As this task is quite big, it'd be great if I could follow the progress in a branch of your fork (https://github.com/mul1sh/postman-to-k6) to avoid having a huge PR to review in the end. It would also help avoid potential frustration as part of the review process if I have to request time consuming refactorings 🙂

@robingustafsson i'll push today. Sorry for the delay, I was first going through the k6 documentation and the existing converter code to make I fully understood the current functionality, which I think i do .
So anyway working on the WIP PR now as indicated above and then i push the required functionality in chunks till the issue is closed.

@mul1sh Any update on the WIP code? I'm not expecting anything to be functional, it's more to get a feel for how you're approaching the project and the code quality so we can course correct early if necessary 🙂

@robingustafsson yes its coming in less than 6 hours, sorry I was still going back and forth in the k6 docs there are some things i didn't fully grasp but now I do. So actually working on the PR now

@robingustafsson finally a PR 😄 even though it didn't exactly take 6 hours as promised because I still had some learning to do for K6.
Nonetheless expect more commits till we're done, I'm planning to wrap this up by Wednesday because i'm actively working on it and I fully understand how k6 works now.

@mul1sh Great, I'll have a look.

bookmoons/improve has something toward this. All the auth methods except OAuth are implemented.
I've reorganized the code a little. It was kind of difficult to work with.

There seemed to be no consistent style. There was an obsolete linter installed, but it didn't even seem to be used. Ran it and it found hundreds of issue. I've normalized instead to StandardJS, which has good tool support, and corrected a some issues it found (including some crashing errors). Is that an acceptable style?
Removed callbacks from the conversion logic. They were completely unused. Everything is happening synchronously.
Enabled CircleCI.

Re the AWS auth method: The signature module, awkwardly, requires a decomposed URL. Since the entire URL could come from a variable at runtime, it has to be decomposed at runtime. So I've had to add urijs as another dependency. At the moment I have these as a manual build requirement.

I'm not sure there's a way to get access to the cookies and certificates. They seem to be treated as a local workspace thing and don't get included in exports. I asked these questions about it on the forum but so far no love.
How to export cookies?
How to export certificates?

@bookmoons Nice, great progress and I'm glad to see you cleaned up the code, super!

Regarding the styling, StandardJS looks fine to me. Talked with our JS devs as well and we'd prefer to always use curly-braces for statements where StandardJS allows to remove them, eg.:

if (options.quiet !== true) {
  console.log('done')
}

instead of
if (options.quiet !== true) console.log('done')

Makes the code a bit less compact, but a bit more readable.

AWS v4 auth: yeah not ideal with external deps but as we don't have all the necessary APIs in k6 itself yet it will have to do for now.
Cookies: ok, if it turns out cookies are not included in the collection there's not much we can do. I misunderstood the docs then regarding the "cookie manager" available in the Postman app.
TLS client certs: ok, maybe I misunderstood the docs here as well. I guess it makes sense that you'd not include cert keys in the collection.

Talked with our JS devs as well and we'd prefer to always use curly-braces for statements where StandardJS allows to remove them

Will update this. How do you guys feel about indenting in switches?
switch (variable.type) {
  case 'boolean': return VariableType.Boolean
  case 'json': return VariableType.Json
  case 'number': return VariableType.Number
  case 'string': return VariableType.String
}

switch (variable.type) {
  case 'boolean':
    return VariableType.Boolean
  case 'json':
    return VariableType.Json
  case 'number':
    return VariableType.Number
  case 'string':
    return VariableType.String
}

@bookmoons We'd prefer the second one 🙂

Alright, updated all of that indenting. Also documented these things in STYLE.

OAuth and auth inheritance are in. Everything in the Authentication section is done.

I want to propose dropping the default for the -j version option. Currently v2 is default. If you run on a v1 file it fails with some obscure error.
I have version detection in. So if we just drop the default and let it detect v1, users will get a more meaningful error.

Yeah, that sounds like a better UX to me as well, go ahead and drop -j.

Yeah, that sounds like a better UX to me as well, go ahead and drop -j.

Done.

All the nonlocal variables are implemented, including dynamic.
Environments and global variables have to be exported separately from Postman, so I've added CLI options to read them. Data files don't seem to be in any exports so I've just created options for them where you provide a path.
  -g --global <path>       JSON export of global variables.
  -e --environment <path>  JSON export of environment.
  -c --csv <path>          CSV data file. Used to fill data variables.
  -j --json <path>         JSON data file. Used to fill data variables.

Nice, thanks for sharing your progress, looks great! I'll test the converter a bit in the next few days.

The shim is not deploying at the moment, so if you go to do tests lib/shim.js has to be copied to ./postman-shim.js.

Have just restructured this, lib/shim/core.js is the one to copy now.

I think everything possible is implemented. Have just submitted #16 to start it off. I'm ready to jump on bug fixes.

Fantastic, will start reviewing the PR tomorrow.

Closed by https://github.com/loadimpact/postman-to-k6/pull/16.

authors: bookmoons mul1sh robingustafsson


text:
Allow delayed defaults in Args

I have a draft PR to address this, but I feel like I probably did it wrong. What I'd like is to be able to assign a default value to a pref in such a way that it's not actually evaluated until Args.fill is called--the main use case is to prevent mallsearches in garbo before we do our big mallPrices("allitems") but I'm sure there are other use cases

Hmm, interesting idea. Some things I'll have to think about:
Typing
Right now the presence of default changes the type of the generated argument:

a: Args.number({}) generates a field args.a: number | undefined, which is undefined before args are parsed or if a is not provided.
a: Args.number({default: 2}) generates a field args.a: number, which is 2 before args are parsed or if a is not provided in the command.

Probably an argument with a delayed default would have to allow undefined, and be initialized to undefined before the args are filled.
Help
The help text currently displays the default value if given. I guess delayed defaults should show nothing in the help? Or maybe it is better to compute it and show the computed value.
--
As a workaround, I will also note that the args object is an entirely normal and mutable object (just with some hidden fields). So it should work fine to do something like:
Args.fill(args, command);
if (!args.target) args.target = defaultTarget();

I suppose this is modifying a global, and defined further away from the other arg definitions, so not ideal.

authors: Kasekopf horrible-little-slime

repo: loathers/grimoire


text:
App interface crash issue in Chinese language

Test device：Windows 11 / Android 12 (OneUI)
The file transfer confirmation screen crashes when using the Simplified Chinese interface, but there is no problem with English
   (English interface is normal)
   (Android app crash screen, window is the same as this)

I hit this issue too.  There was an i18n structure change in 1.6.1, LocalSend probably isn't catching exceptions when fetching values from language files, hehe 😁.

I the progress page I used the i18n plural feature but forgot to register it for Chinese. I guess another hotfix release is needed

+1

Fixed in v1.6.2.
On Google Play and App Store it is already available. On Windows Store and MacOS, it will take around 12 hours.

authors: SHIELDXIE Tienisto WiseClock saccohuo

repo: localsend/localsend


text:
Repo status

Hi,
Can we get some information on whether or not this server repo has any plans of being maintained?
Is there blockers? Do you need a new maintainer for this repo? Are you planning to concentrate on a cloud offering for the server component? It's fine if that's the plan but please let devs know what's going on as the client side repo is being maintained but not server side repo - it is causing confusion.
I don't mind maintaining this library by merging PRs and releasing versions - I don't have much capacity for issue triage and development but i think the community can handle that as is.
Thanks

I'm also +1-ing in helping this project out

repo: localtunnel/server


text:
Remove Izitru and  Stolen Camera Finder

Izitru and  Stolen Camera Finder websites are down.

Removed both, thanks.

repo: lockfale/OSINT-Framework


text:
Always get errors when I run testing.

Description of issue / feature request
I use this command "locust -c 10000 -r 1000 -n 100000 --no-web -f /Users/bowentao/Desktop/touchair22.py --host=http://192.168.1.57:9000" to run the test and every time I get a huge amount of errors(especially for post request).
My machine configuration:
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
file size               (blocks, -f) unlimited
max locked memory       (kbytes, -l) unlimited
max memory size         (kbytes, -m) unlimited
open files                      (-n) 999999
pipe size            (512 bytes, -p) 1
stack size              (kbytes, -s) 8192
cpu time               (seconds, -t) unlimited
max user processes              (-u) 709
virtual memory          (kbytes, -v) unlimited
Expected behavior
No or few errors
Actual behavior
There are two kinds of errors showing frequently.
"ConnectionError(ProtocolError('Connection aborted.', ConnectionResetError(54, 'Connection reset by peer')),)"
'ConnectionError(MaxRetryError("HTTPConnectionPool(host='192.168.1.57', port=9000): Max retries exceeded with url: myurl (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x107566470>: Failed to establish a new connection: [Errno 60] Operation timed out',))",),)'
Environment settings (for bug reports)

OS:MacOS Sierra 10.12.6
Python version:3.6
Locust version:0.8a2

Steps to reproduce (for bug reports)

Are you sure your service that you are hitting can actually handle the requests? Those errors look like the website you are hitting is not able to service the requests.

I am pretty sure it can handle the requests. However, if I simulate a huge number of users, these errors come up.

Could you confirm that by running something like Apache Bench against a single endpoint (one where you get the failure), from some other machine, while you are getting those failures? If the service can handle it you shouldn't get any errors. I guess you could also try it by just accessing an endpoint with a browser multiple time (if the failure % is high enough).
Another possibility is that there are some kind of firewall/DoS protection that blocks too many requests from the same IP.

It sounds like it's the website you're testing that can't handle your requests. Not a locust problem.

authors: OtakuAndFitness aldenpeterson-wf heyman thomas-phillips-nz

repo: locustio/locust


text:
Is this working in md-dialog box?

Is this working in md-dialog box?
I want to used  angular-material-datetimepicker in mg-dialog box.
But, mg-dialog box close when angular-material-datetimepicker time/date picker open.
there is any way to use angular-material-datetimepicker in mg-dialog box?

cp. http://webiks.com/mddialog-with-a-confirmation-dialog/

using master branch it will work. Latest updates are yet published in bower.

Please use v1.5.x

authors: helmuthva logbon72 mandadimuralidharreddy nirmal-solanki


text:
3.1 handle symlink init

This updates the Tailer to handle initialization of symlinks where their target files that are outside the tracked folders

BTW, tested it on k8s with a counter pod and works perfectly with and w/o stateful lookback.

authors: c-nixon jorgebay


text:
Fixes redis queue logging

According to the documentation in the redis config output is being sent to /dev/null.
By configuring this we started getting redis output.

Thanks!

repo: logsearch/logsearch-boshrelease


text:
Support for REDIS ZSET

This commit adds support for ZSET queues in REDIS with data_type 'list'.
Batch is supported.
Priority is based on a field of the message containing a number.
If the field is absent or not a number a default priority is then used.
It adds the following options to the configuration:

priority: boolean, default false, enable priority mode
priority_field: string, default '@timestamp', Priority field to
use, if field doesn't exist, priority will be priority_default
priority_default: number, default '0', Default priority when
priority field is not found in the event

Usage example:
output {
   redis {
   	host => ["127.0.0.1"]
   	port => 6379
   	data_type => "list"
   	key => "syslog"
   	priority => true
   	priority_field => "epoch"
   }
}

Thanks for contributing to Logstash! If you haven't already signed our CLA, here's a handy link: https://www.elastic.co/contributor-agreement/

This pull request is linked to https://github.com/logstash-plugins/logstash-input-redis/pull/56

@amaury-d Can you please add some rspec tests for these changes? This is a rather significant update and some tests are absolutely necessary.

@untergeek Sure, i'll work on it and update the pull request

Hi @untergeek @andrewvc ,
rspec tests and supplementary documentation have been added to pull requests (input and output).

Hello,
How can I download you changes? I need them also
Thanks

@zivziv77 just go on my github or check the diff of that pull request

Thanks,
why not putting it in master and have it in the official release?

Would you be nice and explain to me step step how can I install it on prod
machine?
On Tue, 26 Jun 2018 at 19:19 Amaury Decreme notifications@github.com
wrote:

@zivziv77 https://github.com/zivziv77 just go on my github or check the
diff of that pull request
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/logstash-plugins/logstash-output-redis/pull/46#issuecomment-400373995,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALyLUPXbM9vdPMckMhGMLfkgvC5A4Cfpks5uAl8XgaJpZM4L5bFX
.

Does it supports NX/XX options along with ZADD command ?

repo: logstash-plugins/logstash-output-redis


text:
Re-evaluate and possibly improve onboarding

Make sure it's clear how to use the extension.
I thought this was clear enough, but things like #13 certainly play into this as well.
via web store review by Marius Franzke

This is at least partly fixed by the fix for #13, deployed in pending 0.0.5 release.

repo: loilo/auto-group-tabs


text:
Fix Register Duplicate on Home Page

Issue found while testing

Fixed


text:
The set crypto hack no longer works

This is amazing client but plz fix this issue

I can work out a fix.

repo: lol-jude/Blooket-Hacks


text:
Allow opening specific file via a CLI argument

This is useful, if the served directory doesn't contain index.html.

The code could be more simplified:
if let Some(page) = open {
    let origin = listener.link().unwrap();
    let path = page.unwrap_or_default();
    open::that(format!("{origin}/{path}")).unwrap();
}

Thanks!

authors: lomirus wentasah

repo: lomirus/live-server


text:
chore/downgrade-collection-to-1.17.1

Downgrade collection to 1.17.1 due to compatibility reasons.
Minor: added return type for getLogger

Fixes https://github.com/lomsa-dev/http-mock-adapter/issues/155

authors: LukaGiorgadze sebastianbuechler

repo: lomsa-dev/http-mock-adapter


text:
Updating sub-nav margin

Removing margin at 480 breakpoint so that sub-nav border width matches that of the segment border width between 480 and 720.

:shipit:

repo: lonelyplanet/rizzo-next


text:
Adding a class to allow a left nav item to appear disabled

Trello issue: https://trello.com/c/6WkjO9OP/617-link-not-working-properly

Description
The left nav links on The World view were navigating to another view before the JavaScript loaded.  I added the .disabled class so that users had the indication that they could not be clicked on.
Verification Tasks
Test this change with Waldorf pull request https://github.com/lonelyplanet/waldorf/pull/1794

:+1:

authors: amccadams stevebrownlee

repo: lonelyplanet/rizzo


text:
Response headers are sent only on the second request.

I noticed that the Cache-Control and ETag headers are not included for the first response. It takes a second request to generate and include these headers in the response. From looking at decorator.py, it seems that the reason is that the ETag header is a hash of the retrieve cache entry. The cache entry is created on the first request, and not available yet for the first response.
However, it's possible to include the response headers already in the first response. I created a modified version of the @cache decorator, which seems to work fine (unless I'm overlooking something). I can create a PR if you like:
def cache(
    expire: int = None,
    coder: Type[Coder] = None,
    key_builder: Callable = None,
    namespace: Optional[str] = "",
):
    """
    cache all function
    :param namespace:
    :param expire:
    :param coder:
    :param key_builder:
    :return:
    """

    def wrapper(func):
        @wraps(func)
        async def inner(*args, **kwargs):
            nonlocal coder
            nonlocal expire
            nonlocal key_builder
            copy_kwargs = kwargs.copy()
            request = copy_kwargs.pop("request", None)
            response = copy_kwargs.pop("response", None)
            if (
                request and request.headers.get("Cache-Control") == "no-store"
            ) or not FastAPICache.get_enable():
                return await func(*args, **kwargs)

            coder = coder or FastAPICache.get_coder()
            expire = expire or FastAPICache.get_expire()
            key_builder = key_builder or FastAPICache.get_key_builder()
            backend = FastAPICache.get_backend()

            cache_key = key_builder(
                func, namespace, request=request, response=response, args=args, kwargs=copy_kwargs
            )
            ttl, ret_encoded = await backend.get_with_ttl(cache_key)
            if not request:
                if ret_encoded is not None:
                    return coder.decode(ret_encoded)
                ret = await func(*args, **kwargs)
                await backend.set(cache_key, coder.encode(ret), expire or FastAPICache.get_expire())
                return ret

            if request.method != "GET":
                return await func(request, *args, **kwargs)
            if_none_match = request.headers.get("if-none-match")

            if ret_encoded is None:
                ret = await func(*args, **kwargs)
                ret_encoded = coder.encode(ret)
                ttl = expire or FastAPICache.get_expire()
                await backend.set(cache_key, ret_encoded, ttl)
            else:
                ret = coder.decode(ret_encoded)

            if response:
                response.headers["Cache-Control"] = f"max-age={ttl}"
                etag = f"W/{hash(ret_encoded)}"
                if if_none_match == etag:
                    response.status_code = 304
                    return response
                response.headers["ETag"] = etag

            return ret

        return inner

    return wrapper

Looks like https://github.com/long2ice/fastapi-cache/pull/52 is intended to resolve this

Fixed in https://github.com/long2ice/fastapi-cache/pull/112?

This
generates also errors when the response is not set on the first request:
AttributeError: 'NoneType' object has no attribute 'headers'

as the response can be None

Pretty sure this is no longer an issue.

authors: aimfeld bpereto iqfareez mjpieters mustyoshi


text:
Cannot connect to remote redis

Traceback (most recent call last):
File "/home/wajahath/Desktop/projects/fastApiProject/venv/bin/rearq", line 8, in
sys.exit(main())
File "/home/wajahath/Desktop/projects/fastApiProject/venv/lib/python3.9/site-packages/rearq/cli.py", line 100, in main
cli()
File "/home/wajahath/Desktop/projects/fastApiProject/venv/lib/python3.9/site-packages/click/core.py", line 1128, in call
return self.main(*args, **kwargs)
File "/home/wajahath/Desktop/projects/fastApiProject/venv/lib/python3.9/site-packages/click/core.py", line 1053, in main
rv = self.invoke(ctx)
File "/home/wajahath/Desktop/projects/fastApiProject/venv/lib/python3.9/site-packages/click/core.py", line 1659, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/wajahath/Desktop/projects/fastApiProject/venv/lib/python3.9/site-packages/click/core.py", line 1395, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/wajahath/Desktop/projects/fastApiProject/venv/lib/python3.9/site-packages/click/core.py", line 754, in invoke
return __callback(*args, **kwargs)
File "/home/wajahath/Desktop/projects/fastApiProject/venv/lib/python3.9/site-packages/click/decorators.py", line 26, in new_func
return f(get_current_context(), *args, **kwargs)
File "/home/wajahath/Desktop/projects/fastApiProject/venv/lib/python3.9/site-packages/rearq/cli.py", line 20, in wrapper
return loop.run_until_complete(f(*args, **kwargs))
File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
return future.result()
File "/home/wajahath/Desktop/projects/fastApiProject/venv/lib/python3.9/site-packages/rearq/cli.py", line 63, in worker
await w.run()
File "/home/wajahath/Desktop/projects/fastApiProject/venv/lib/python3.9/site-packages/rearq/worker.py", line 265, in run
await self._pre_run()
File "/home/wajahath/Desktop/projects/fastApiProject/venv/lib/python3.9/site-packages/rearq/worker.py", line 249, in _pre_run
raise e
File "/home/wajahath/Desktop/projects/fastApiProject/venv/lib/python3.9/site-packages/rearq/worker.py", line 244, in _pre_run
await self._redis.xgroup_create(self.queue, self.group_name, mkstream=True)
File "/home/wajahath/Desktop/projects/fastApiProject/venv/lib/python3.9/site-packages/aioredis/client.py", line 1085, in execute_command
return await self.parse_response(conn, command_name, **options)
File "/home/wajahath/Desktop/projects/fastApiProject/venv/lib/python3.9/site-packages/aioredis/client.py", line 1101, in parse_response
response = await connection.read_response()
File "/home/wajahath/Desktop/projects/fastApiProject/venv/lib/python3.9/site-packages/aioredis/connection.py", line 919, in read_response
raise response from None
aioredis.exceptions.ResponseError: unknown command 'XGROUP'
Process finished with exit code 1
I'm trying to connect to a remote redis, (which is accessible through out the redis cli, but not with the rearq, )
But i'm able to connect to local redis of same version

Upgrade redis > 5.0

Upgrade redis > 5.0

Thanks, that might be  the issue.


text:
🛑 小程序 - 个股详情页面 (via longbridgeapp.com) is down

In ae9daba, 小程序 - 个股详情页面 (via longbridgeapp.com) (https://longbridgeapp.com/quote/00700.HK?source_app=longbridge) was down:

HTTP code: 0
Response time: 0 ms

Resolved: 小程序 - 个股详情页面 (via longbridgeapp.com) is back up in 6544a86.

repo: longbridgeapp/uptime


text:
[BACKPORT][v1.3.x] update backup label with admission webhook

Issue #4528
Signed-off-by: Ray Chang ray.chang@suse.com

nit: Suggest using cherry-pick command with -x so its easy to trace back to the parent commit.

@weizhe0422 Pease follows this suggestion and updates the PR.

repo: longhorn/longhorn-manager


text:
[BUG] Metrics Nodes Prometheus

Describe the bug
When targeting the metrics URL, in this case http://longhorn-backend.longhorn-system:9500/metrics, the response contains metrics only from one of the nodes.
However, when targeting the backing pods, as shown by the service endpoints, each of them returns information for a different single node.
Steps to reproduce
To see metrics from the service:

Query metrics through a pod in the cluster: kubectl exec log_metrics --image alpine --command -- wget -O - http://longhorn-backend.longhorn-system:9500/metrics
Check out the output: kubectl logs log_metrics

To see the metrics of each pod:

Get the pod IPs:  kubectl get endpoints longhorn-backend -n longhorn-system -o json | jq '.subsets[] | .addresses[] | .ip'
For each ip: kubectl exec log_metrics --image alpine --command -- wget -O - [http://$ip:9500/metrics](http://%24ip:9500/metrics%60)
Check out the output: kubectl logs log_metrics
Delete the log_metrics pod if necessary.

Expected behavior
The output should include information from all nodes. At the very least, there would be 4x the number of nodes longhorn_node_status, with the node` attribute visible for each node.
Actual behavior
If you filter metrics by longhorn_node_status, metrics for only one node are shown. longhorn_node_storage_capacity_bytes also shows only results for one node, as does longhorn_volume_state, etc.
Environment
•	Longhorn version: v1.4.0
•	Installation method kubectl
•	Kubernetes distro: Rancher-managed RKE2/k3s
o	Number of management nodes in the cluster: 1
o	Number of worker nodes in the cluster: 2
•	Node config
o	OS type and version: Rocky Linux 9 (also seen on RHEL 8.7)
o	CPU per node: 4
o	Memory per node: 16Gi
o	Disk type: VMWare
o	Network bandwidth between the nodes: n/a
•	Underlying Infrastructure: VMWare/ESXi (also seen on HyperV)
•	Number of Longhorn volumes in the cluster: 12 (also seen with 26)
Additional context

I am experiencing the same bug on this environment:

Longhorn version: 1.4.1
Installation method: kubectl
Kubernetes distro: k3s (v1.26.1+k3s1)
Number of management nodes in the cluster: 3
Numer of worker nodes in the cluster: 0
OS/kernel: Linux 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux
Node specs (3x same): 2 CPU, 8GB RAM, 50GB disk of which 41GB for Longhorn volumes (seperate partition).
Network bandwidth between nodes: 1gbps
Underlying infrastructure: No clue.
Number of Longhorn volumes: 8 (Prometheus reports 7!).

I suspect the node of which metrics are collected is the one Prometheus is currently running on (single pod) but am not 100% sure.

The metrics controller is currently collecting metrics for only the current node, as seen in the codes provided in this link (https://github.com/longhorn/longhorn-manager/blob/master/metrics_collector/node_collector.go#L201). @PhanLe1010, do you know why collect metrics for only the current node?

@tomwiggers @frit0-rb
Can you check the ticket https://longhorn.io/docs/1.4.1/monitoring/integrating-with-rancher-monitoring/ rather that getting the metrics from http://longhorn-backend.longhorn-system:9500/metrics? Thank you.

@derekbit I don't use Rancher to manage the cluster and don't use Rancher monitoring so I don't have the monitoring.coreos.com/v1 API.
It seems that the ServiceMonitor used in the example targets each manager seperately. If that works, then we need to do that instead of using the service which load balances requests over the manager pods. Would this not require a change in k8s manifests and Helm charts to not create a service for this (as we cannot use it for metrics anyway)?

I'm in the same boat here as @tomwiggers - I'd like to see all metrics exposed without having to install Rancher, thanks.

Hi! Is there any news? I need to collect all metrics without using rancher.
Thanks

I'm facing the same issue where I receive one node although I have three nodes, they look all good in the longhorn dashboard but not in the metrics as it only shows one node.

Hello everyone, have you tried to create a service monitor like this _https://longhorn.io/docs/1.6.0/monitoring/integrating-with-rancher-monitoring/#add-longhorn-metrics-to-the-rancher-monitoring-system_ 👍
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
  name: longhorn-prometheus-servicemonitor
  namespace: longhorn-system
  labels:
    name: longhorn-prometheus-servicemonitor
spec:
  selector:
    matchLabels:
      app: longhorn-manager
  namespaceSelector:
    matchNames:
    - longhorn-system
  endpoints:
  - port: manager

Then setup the Prometheus instance to scrape the service monitor? This will make sure Prometheus collect the metrics from ALL Longhorn nodes
Another approach is like @ahmedhassanahmedwasfy mentioned above. Telling Prometheus to scrape the longhorn-manager pods directly by adding annotation:
annotations:
  prometheus.io/path: "/metrics"
  prometheus.io/port: "9500"
  prometheus.io/scrape: "true"

to the longhorn-manager daesmonset by setting this value https://github.com/longhorn/longhorn/blob/21a538d10198746515de9e0c0f87ccf660738393/chart/values.yaml#L487-L488

authors: PhanLe1010 ahmedhassanahmedwasfy derekbit frit0-rb mplab-casa rfpludwick tomwiggers

repo: longhorn/longhorn


text:
lep: add Longhorn Rollout

https://github.com/longhorn/longhorn/issues/1455

test

test

@c3y1huang


text:
spdk: use 1024 MiB huge pages by default

Forgot updating the HUGEMEM in https://github.com/longhorn/longhorn/pull/6040/files

@mergify backport v1.5.x


text:
Revise default over-provisioning percentage to 100.

#7342

Since this does not change all docs at once, like website PR https://github.com/longhorn/website/pull/816 can, it should be backported to 1.5.x but not 1.4.

Requested changes made and pushed.

@mergify backport v1.5.x


text:
增加kcp支持和一个使用kcp的坦克demo

What problem does this PR solve?
kcp 协议支持
三方库为： github.com/xtaci/kcp-go
What is changed and how it works?

增加  kcp 支持
增加 demo （使用kcp的坦克）

本来kcp支持很简单，几行就能支持了， 之前也没考虑要pr，我在写这个过程中，写了个 tank demo，这样 pr 内容看起来有点乱。
要是介意新增的 demo ，就不用合了， 麻烦作者抽空加一下 kcp 就好了。

@cute-angelia Sorry for replying lately. It's an awesome demo and I think it's useful for others. Can you refine the code and reopen the pull request?

authors: cute-angelia lonng

repo: lonng/nano


text:
Update scala-library to 2.13.5

Updates org.scala-lang:scala-library from 2.12.13 to 2.13.5.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Files still referring to the old version number
The following files still refer to the old version number (2.12.13).
You might want to review and update them manually.
.github/workflows/ci.yml

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-lang", artifactId = "scala-library" } ]

labels: library-update, semver-minor, old-version-remains

Seems to be a bug in scala-steward

authors: lorandszakacs scala-steward

repo: lorandszakacs/sprout


text:
Support loading PNG as if it was an ICO file

Having seen some favicon.ico files delivered with a MIME type of image/x-icon or image/vnd.microsoft.icon, I think the parser should cope, particular as it copes with PNG properly embedded in an icon.
Here's an example (from sciencedirect.com)
# fetch 'ico' file, get proper MIME type...
$ curl -O -v http://cdn.els-cdn.com/sd/favSD.ico
> GET /sd/favSD.ico HTTP/1.1
(snip)
< Content-Type: image/x-icon

#..and yet it is a PNG
$ hexdump -C -n128 favSD.ico
00000000  89 50 4e 47 0d 0a 1a 0a  00 00 00 0d 49 48 44 52  |.PNG........IHDR|
00000010  00 00 00 10 00 00 00 10  08 03 00 00 00 28 2d 0f  |.............(-.|
00000020  53 00 00 00 04 67 41 4d  41 00 00 b1 8f 0b fc 61  |S....gAMA......a|
00000030  05 00 00 00 20 63 48 52  4d 00 00 7a 26 00 00 80  |.... cHRM..z&...|
00000040  84 00 00 fa 00 00 00 80  e8 00 00 75 30 00 00 ea  |...........u0...|
00000050  60 00 00 3a 98 00 00 17  70 9c ba 51 3c 00 00 01  |`..:....p..Q<...|
00000060  62 50 4c 54 45 f5 82 20  00 00 00 f5 82 20 f5 82  |bPLTE.. ..... ..|
00000070  20 f5 82 20 f5 82 20 f5  82 20 f5 82 20 f5 82 20  | .. .. .. .. .. |

Fixed in master, will be released in 1.0.1

repo: lordelph/icofileloader


text:
Update projects.csv

Added largest continental Europe battery storage project

Hi Jef, thanks a lot for contributing.
I cannot merge the Pull Request directly as you changed the csv seperator from , to ;
But I have added your row and you can find the project in Belgium here now:
https://lorenz-g.github.io/tesla-megapack-tracker/projects/843.html
Please feel free to add more projects in the future :)

authors: beJels lorenz-g

repo: lorenz-g/tesla-megapack-tracker


text:
bug: Zooming the VS Code interface scales the preview window too

Zooming the VS Code window using Ctrl+= or Ctrl+- to increase the general interface scale also scales up the preview window. (Ext v0.0.16 on v1.55.2 on Linux).
In retrospect, this might seem obvious, but I think the biggest issue is that the VS Code Interface doesn't mention that it's been zoomed in/out. I've been caught off guard with the actual website turning out to be a scaled version of what I expect.
Ideas on possible fixes:

Have a setting that allows you to keep the preview window at 100% regardless of your VS Code scaling (but does anyone really need a scaled version of a website you're prototyping?)
If it's not possible to change the preview window scale separately from the interface scale, maybe there can be a warning on the console warning the user that the interface has been scaled, so they aren't caught off-guard.

I've said this before, thank you for this amazing extension!

Hey! I'm actually not sure if it's possible to have a different zoom factor from the rest of VS Code. I'll investigate this and will discuss what our best options are. Thanks for the feedback!

Unfortunately, this isn't going to be possible, and I'd be a little worried about displaying a warning message in the console, since many users are using the console for debug/app outcome, and this could be noisy. For now, I'm going to close this as "won't fix", since I'm not aware of a great solution here unfortunately. However, we can listen for more feedback and if necessary, make an ask on VS Code to provide support for this. Thanks!

authors: lostintangent radiantly

repo: lostintangent/codeswing


text:
nix2sbom appears to be incompatible with profiles

get_packages calls nix-env which is failing for me. If I try it on the command line I get the following:
[jkolb@nixos:~]$ nix-env -q --meta --json '.*'
error: profile '/nix/var/nix/profiles/per-user/jkolb/profile' is incompatible with 'nix-env'; please use 'nix profile' instead

@kjeremy I'm curious to know why you closed this issue :thinking:

I mistyped the command and that's how I triggered the error.
On Tue, Jun 4, 2024, 9:11 PM louib @.***> wrote:

@kjeremy https://github.com/kjeremy I'm curious to know why you closed
this issue 🤔
—
Reply to this email directly, view it on GitHub
https://github.com/louib/nix2sbom/issues/31#issuecomment-2148671930, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABBACRG3DP3ZYH2XXQMCZPLZFZQSHAVCNFSM6AAAAABIZEJIFCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBYGY3TCOJTGA
.
You are receiving this because you were mentioned.Message ID:
@.***>

authors: kjeremy louib


text:
Disparité dans le rendu de l'éditeur et de l'affichage avec le code latex

From ETS-PFE042-EvalueTonSavoir-Frontend created by louis-antoine-etsmtl: louis-antoine-etsmtl/ETS-PFE042-EvalueTonSavoir-Frontend#29
null

Modifications faites pour que le rendu de l'affichage des quizs utilise le même module que l'édition

repo: louis-antoine-etsmtl/EvalueTonSavoir


text:
Deployment

Deployment
User story
As a marketing agency
I want a codebase that follows accessibility standards
So that our own site is optimized for search engines
Acceptance criteria
Given access to the repository
When I open the webite
Then I see a website that loads correctly
And looks as specified
And all links function

Website deployed and working correctly


text:
Variable-Based Alert Messages

⚠ Please verify that this feature request has NOT been suggested before.

[X] I checked and didn't find similar feature request

🏷 Feature Request Type
Other
🔖 Feature description
This may tie under #21, but it would be great to create alerts using 'Monitor Variables'.
If I have some non-critical systems, I don't want to create an alert for every single one saying: 'website x is down' - Instead It would be awesome if I could create an 'all-encompassing' alert message with something like:
{monitor_nickname} is unavailable on {monitor_group}. Check on it at {monitor_url}
✔ Solution
This would allow you to create generic alerts for groups of systems instead of individual alerts for single monitors. I could build a 'Mission Critical' alert with a different message sent to a text instead of an email, so I get it ASAP, and it would have all the relevant information for context when I receive the alert.
❓ Alternatives
No response
📝 Additional Context
No response

@HStep20 I came here to look for exactly that feature, thanks
+1

@HStep20
I think this is a duplicate of https://github.com/louislam/uptime-kuma/issues/975
If you agree, could you please close this Issue, as duplicates only create immortal zombies and are really hard to issue-manage?
If not, what makes this issue unique enough to require an additional issue? (Could this be integrated into the issue linked above?) ^^

authors: CommanderStorm HStep20 thimplicity

repo: louislam/uptime-kuma


text:
SAMEORIGIN environment variable not being respected

⚠ Please verify that this bug has NOT been raised before.

[X] I checked and didn't find similar issue

🛡 Security Policy

[X] I agree to have read this project Security Policy

📝 Describe your problem
i am trying to display Uptime-Kuma through Muximux
chrome returns the console error "Refused to display 'https://kuma.mediaserv.local/' in a frame because it set 'X-Frame-Options' to 'sameorigin'."
i have confirmed that echo $UPTIME_KUMA_DISABLE_FRAME_SAMEORIGIN returns 1 when run inside the container
docker-compose.yml:
  uptime-kuma:
    image: louislam/uptime-kuma:latest
    container_name: uptime-kuma
    restart: unless-stopped
    network_mode: host
    dns: 192.168.1.77
    ports:
      - 3001:3001
    volumes:
      - /media/config/uptime-kuma:/app/data
      - /var/run/docker.sock:/var/run/docker.sock
    environment:
      - TZ=America/Vancouver
      - PUID=1000
      - PGID=1000
      - UPTIME_KUMA_DISABLE_FRAME_SAMEORIGIN=1
    logging:
      driver: syslog
      options:
        syslog-facility: "daemon"
        tag: "docker/{{.Name}}"

NPM advanced tab:
  location / {
    proxy_set_header   X-Real-IP $remote_addr;
    proxy_set_header   X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header   Host $host;
    proxy_pass         http://192.168.1.77:3001/;
    proxy_http_version 1.1;
    proxy_set_header   Upgrade $http_upgrade;
    proxy_set_header   Connection "upgrade";
  }

🐻 Uptime-Kuma Version
1.18.0
💻 Operating System and Arch
Ubuntu 20.04 x86 under VirtualBox 6.1
🌐 Browser
Chrome v106.0.5249.91
🐋 Docker Version
Docker version 20.10.14, build a224086349
🟩 NodeJS Version
No response

the problem seems to have solved itself somehow?? not gonna question it, closing issue


text:
Wiki needs amendment on docker container monitoring

When docker is being run rootless, docker's socket is not at /var/run/docker.sock, but rather at /run/user//docker.sock.

Formatting didn't come through.  Should be /run/user/UID/docker.sock, with UID being whatever the number is for the docker privileged user.


text:
增加application/x-www-form-urlencoded请求类型

⚠ Please verify that this feature request has NOT been suggested before.

[X] I checked and didn't find similar feature request

🏷 Feature Request Type
UI Feature
🔖 Feature description
application/x-www-form-urlencoded
✔ Solution
application/x-www-form-urlencoded
❓ Alternatives
No response
📝 Additional Context
No response

Duplicate of #1332


text:
Add a physical location field to monitor attributes

📑 I have found these related issues/pull requests
Nothing found
🏷 Feature Request Type
Change to existing monitor
🔖 Feature description
It would be very useful to add a physical location string field to the attributes for a monitor.  Unlike the freindly name field this doesn't have to appear in the monitor list, but would be visible at the top when someone clicks on the details page for that monitor.
✔ Solution
Add a physical location string to the attributes for a monitor and display it on the monitor details page.
❓ Alternatives
It's common to have such an attribute
📝 Additional Context
No response

@sprior
Why not add a tag like datacenter:eu-central-1, location:frankfurt, az:primary, ... (something that matches your deployment strategy).
I think this is already handled by said subsystem.

@CommanderStorm a tag would be appropriate for which datacenter as you were thinking, but I'm thinking on a smaller level like which rack within the datacenter and tags aren't as great for that.

Why could this not be coverend by a tag like  room:2410.EG.006 or room:MW 0450B?

authors: CommanderStorm sprior


text:
Google chat cards

⚠⚠⚠ Since we do not accept all types of pull requests and do not want to waste your time. Please be sure that you have read pull request rules:
https://github.com/louislam/uptime-kuma/blob/master/CONTRIBUTING.md#can-i-create-a-pull-request-for-uptime-kuma
Tick the checkbox if you understand [x]:

[x] I have read and understand the pull request rules.

Description
Adds card-based messages to Google Chat for more streamlined notifications
Type of change
Please delete any options that are not relevant.

User interface (UI)
New feature (non-breaking change which adds functionality)

Checklist

[x] My code follows the style guidelines of this project
[x] I ran ESLint and other linters for modified files
[x] I have performed a self-review of my own code and tested it
[x] I have commented my code, particularly in hard-to-understand areas
(including JSDoc for methods)
[x] My changes generate no new warnings
[ ] My code needed automated testing. I have added them (this is optional task)

Screenshots

Thanks! Good catches!
Here's before:

Thanks for the enhancement!
All changes in this PR are small and uncontroversial
⇒ merging with junior maintainer approval (despite this being in a future merge-slot)

authors: CommanderStorm elliotmatson


text:
Is this project actually abandoned?

I can see that the author did not accept pull request to fix the Gradle crashes, and the Github repo hasn't been updated for about a half year.
I have just saw/wrote some alternatives here:

https://github.com/alann-maulana/flutter_beacon Just googled this, going to pull it and check if this will work.
https://github.com/michaellee8/flutter_blue_beacon Spinned up my own library wrapping flutter_blue. Scanning iBeacon in iOS is not going to work therefore, since Apple require native scanning for iBeacon. No support to background scanning right now.

@michaellee8 Im also searching for an alternative. Have you found a good package?

@yveswehrli I have searched hard but right now only the above 2 exists. Actually this one is the best through.

@michaellee8 Thanks for your help 👍

I've made the relevant changes to support AndroidX and Kotlin 1.3 here
If the maintainer comes back online then we can pull it in.

@duncanhoggan your contribution seems really great, maybe we will have to start consider forking this project to an organization.

it's almost a year since beacons weren't updated by the author. I think this should be archived. create another package as an organization to maintain any updates to the native realm(android & iOS).

I am heavily using this on my flutter apps, let's move it to an organization. I can help a lot in native android side.

Created a request here, https://github.com/fluttercommunity/community/issues/21
Please upvote the issue.

Keep it active so it'll get merged

It seems this project is well and truly abandoned since we've gone 6 more months with no activity.  Is anyone in this thread still interested in maintaining a beacon plugin for Flutter?
I'd love to hear from @lukaspili since he seems to still be active in other Loup projects like streams_channel.  Lukas are you willing to turn this plugin over to someone else so it can be maintained?
How about @awazgyawali and @duncanhoggan?  Are you guys still interested in this plugin and willing to help maintain it?
Beacons are not one of my life passions, but I think they're interesting and I do have a work project right now that is using them.  So I'm willing to spend some time to get this plugin updated with current dependencies, figure out a new home for it (if possible), and put a little time into maintaining it going forward (at least for the time being).
I have zero experience in publishing Flutter plugins, but I'm willing to learn and would love some help.  Anyone else?

I have been tweaking and configuring this project on my fork to fill my requirements. I initially planned to merge my changes here but sadly, the maintainer was not active thus didn't get a chance to merge them. Currently, my fork has gone way too far and has been tweaked to fit my organizational needs.
But I can help with the project if we are again planning to refactor or to maintain this. Let's
get posted here.

@awazgyawali Thanks for the reply. Are your changes to the plugin not generally useful then?  Has this plugin worked for you otherwise?  Or are there some important bug fixes that you have done to it on your fork?
I've had some success with the flutter_beacon plugin, but have also seen some crashes.  This one seems to support background monitoring, whereas after a quick search I don't see anything dealing with that in the code or docs of flutter_beacon.
As was mentioned on the issue you opened on the community site, it would be best if there was one great plugin rather than several good ones.
So it seems the first step is determining a starting point.  There seems to be a lot of good code in this plugin.  On the other hand, flutter_beacon does seem to be maintained and there's a good chance that the maintainer would welcome the help.

Hello,
As @awazgyawali said, his fork is too different and too specific to be merged here.
We plan to restart support for beacons in the near future, but our other libraries have a higher priority right now, so I'm not sure about the timeline for beacons.
I'm open to include additional contributors and/or merge this effort with something else. Let me know, and sorry for keeping you all in the dark for so long.

@lukaspili It's great to hear that you're planning to continue support for this plugin!  That would be the best outcome by far.
I guess the main question is how can we help?  It seems like the highest priority would be to merge in some of the PRs for build issues and get a new version published.
I'm sure there are others who are willing to help, and I'm dealing with a Flutter beacon project right now.  So I'm highly motivated. :-)
What level of assistance would you be comfortable with?

@deanriverson Happy to assist with maintenance. I ended up writing my own version from scratch. I needed a lib just to do beacon scanning and ranging for iBeacon and Eddystone. Its deployed and working quite nicely.
I agree that having a lib specifically for beacon interaction is really nice. We gotta make sure from the outset that the area of responsibility/feature set is clearly defined.

I'm sure there are others who are willing to help, and I'm dealing with a Flutter beacon project right now. So I'm highly motivated. :-)

🤣

Thanks @duncanhoggan.  Does your version support background monitoring?  I didn't see the source on your GitHub, but I'd love to read through it if it's available somewhere.
@lukaspili It looks like we have a lot of experience and willingness to help in this thread.  We just need a plan and some permissions.  Would you be willing to appoint some contributors with permissions to approve PR requests?  Or would you prefer something else be done?

authors: ThinkDigitalSoftware awazgyawali deanriverson duncanhoggan lukaspili michaellee8 ram231 yveswehrli

repo: loup-v/beacons


text:
Is it possible to add the speed property on the return?

It would be really nice if this library really supports speed.

are we gettting speed in result ? I could not get it .

authors: Max-Might Vivannaboa piyush303

repo: loup-v/geolocation


text:
Chore/code example

Hi,
I tried using your code usage example, but there seems to be a few errors. I've updated the usage example to a working example.

Thank you, I appreciate your help, this was built on a rush

authors: lourenzo shnist

repo: lourenzo/gulp-jshint-xml-file-reporter


text:
No pages metadata for animated gif

Maybe I'm doing something wrong but whenever I load an animated gif and do operations on it, I always end up with the first frame transformed and that's it.
In order to determine if this was due to something deep into our code, I looked more closely into the metadata reported by sharp for animated gifs.
From what I understand from the docs, an animated image is supposed to give a pages value that is a number.
If I input an animated monkey found online, I end up with a metadata.pages that's undefined and sharp only acts on the first frame.
Is this by design? Am I missing something?
Also, I saw outputting animated webp was supported but is outputting apng supported too? Could be nice to have a clear support grid somewhere in the docs where this kind of things would be listed. But I know how difficult and time-consuming writing docs can be ;)

I dunno if this is related but I see not pages metadata for the following apng and animated webp image:

https://upload.wikimedia.org/wikipedia/commons/1/14/Animated_PNG_example_bouncing_beach_ball.png
https://mathiasbynens.be/demo/animated-webp-supported.webp

I also get a Error: webp2vips: unable to read pixels when I try and do any action on the webp above.

The forthcoming libvips v8.8.0 will add support for animated WebP.
libpng does not support animated PNG.

Ah that makes sense now. Thanks @lovell :)

Commit 9cc06c8 expose libvips' n parameter as the pages input option to select how many pages to load. This will be in v0.22.0.

v0.22.0 now available.

Salutations!
I think it's related to this issue.
I'm using sharp 0.22.1 and I'm trying to extract the number of pages of a GIF to determine if it's a animated one. But each time the metadata doesn't contains the pages attribute.
I've tried with several GIF picked on the web and also with the one that Jaubourd provides.
Here is a small standalone that show the issue.
wget http://www.netanimations.net/small-animated-hear-see-speak-no-evil-moving-monkey.gif
node -e "require('sharp')('small-animated-hear-see-speak-no-evil-moving-monkey.gif').metadata().then((meta) => console.log(meta, meta.pages))"

Am I missing something ? :)

It looks like libvips 8.8.0 is required for the pages property - see https://github.com/libvips/libvips/commit/2968bee3fa933f08a0f0bd4686eff43ee9176c55

Hi Lovell, hope you're well.
Am I right in saying animated gif input to animated webp output will be possible in the near-ish future?

@tomgallagher libvips v8.8.0 supports this.

And lipvips v8.8.0 may be included in Sharp 0.23.1?

@tomgallagher Yes, that's the plan.

Great. Thanks.

@lovell If the Sharp API need to change to accommodate libvips v8.8.0, I can help with the documentation if that's plausible and time-saving.

authors: RaboliotTheGrey jaubourg lovell tomgallagher

repo: lovell/sharp


text:
Error: Input buffer contains unsupported image format

I downloaded a remote image using axios and always reported an Input buffer contains unsupported image format error when using sharp to convert to webp. There is no problem with the local mac system, and it will be reported to the server centos6.
const dest = path.join(this.config.baseDir, `app/public/${fileName}.webp`);

return new Promise(resolve => {
    axios.get(url, { responseType: 'arraybuffer' })
    .then(({ data }) => {
        sharp(data)
        .webp({
            quality
        })
        .toFile(dest)
        .then(() => {
            resolve(dest);
        })
        .catch(e => {
            this.ctx.logger.error(new Error(e));
        });
    })
    .catch(e => {
        this.ctx.logger.error(new Error(e));
    });
});

Centos configuration
gcc：4.8+
python: 2.7+
libvips: 8.8.3

If you're using CentOS 6 then you'll probably have installed your own libvips. Was it compiled with support for the format of the input image you are using? Perhaps use sharp.format to find out.

Thanks for your reply, I expect images in jpeg and png format to be converted.What causes this to happen? How can I fix this?
{ id: 'jpeg',
input: { file: false, buffer: false, stream: false },
output: { file: false, buffer: false, stream: false } },
png:
{ id: 'png',
input: { file: false, buffer: false, stream: false },
output: { file: false, buffer: false, stream: false } },
webp:
{ id: 'webp',
input: { file: false, buffer: false, stream: false },
output: { file: false, buffer: false, stream: false } },
tiff:
{ id: 'tiff',
input: { file: false, buffer: false, stream: false },
output: { file: false, buffer: false, stream: false } },
magick:
{ id: 'magick',
input: { file: false, buffer: false, stream: false },
output: { file: false, buffer: false, stream: false } },
openslide:
{ id: 'openslide',
input: { file: false, buffer: false, stream: false },
output: { file: false, buffer: false, stream: false } },
dz:
{ id: 'dz',
input: { file: false, buffer: false, stream: false },
output: { file: false, buffer: false, stream: false } },
ppm:
{ id: 'ppm',
input: { file: true, buffer: false, stream: false },
output: { file: true, buffer: false, stream: false } },
fits:
{ id: 'fits',
input: { file: false, buffer: false, stream: false },
output: { file: false, buffer: false, stream: false } },
gif:
{ id: 'gif',
input: { file: false, buffer: false, stream: false },
output: { file: false, buffer: false, stream: false } },
svg:
{ id: 'svg',
input: { file: false, buffer: false, stream: false },
output: { file: false, buffer: false, stream: false } },
heif:
{ id: 'heif',
input: { file: false, buffer: false, stream: false },
output: { file: false, buffer: false, stream: false } },
pdf:
{ id: 'pdf',
input: { file: false, buffer: false, stream: false },
output: { file: false, buffer: false, stream: false } },
vips:
{ id: 'vips',
input: { file: true, buffer: false, stream: false },
output: { file: true, buffer: false, stream: false } },
raw:
{ id: 'raw',
input: { file: false, buffer: true, stream: true },
output: { file: false, buffer: true, stream: true } } }

When compiling libvips from source on CentOS 6, you'll need to ensure the optional dependencies for the formats you want are installed first, e.g. for JPEG you'll need to ensure the libjpeg-turbo-devel package is installed before compilation.
https://github.com/libvips/libvips#optional-dependencies
If you're able to use CentOS 7 then sharp will use prebuilt binaries that include common formats.

Installing the libjpeg-turbo-devel package does not work, and finally solved this problem by upgrading to centos 7.😂

How would you solve this issue on e.g. MacOS? I am facing the same issue, trying to read a JPG. In the installation instructions page it says that libvips is shipped/downloaded during installation.
Do I have to do some manual installation on top of npm install? If so, is there a how-to or tutorial somewhere? Really I am just trying to follow the most basic example currently :)

@patrickjane Please open a new question issue, ensuring you provide sample code and image(s).

authors: lovell patrickjane zhuping