Add regex support for id replacement?

This plugin is so great, but I have some problem to use this plugin with GitLab.
GitLab has its own markdown syntax called GitLab Flavored Markdown. When render markdown into html, there are several problem:

Header's anchor id is generated by its value, but all non-ascii characters(like chinese character) will be trimmed. For example:
# 1. Hello World will has an id 1-hello-world
# 1. Hello 世界 World will also has id 1-hello-world, "世界" is trimmed.
So if I want this plugin support gitlab, I must add all chinese characters(6,000 at least) to id_replacements settings, it's impossible.
Another way is set autoanchor=true, this will add an , but I don't know why, this tag is ignored when render to html.

So I thought that maybe id_replacements could add regex support, so that I could use just one regex to match all characters I need, just like this:
for _substitute, pattern in regex_replacements.iteritems():
    _str = re.sub(pattern, _substitute, _str)

+1
But regexp doesn't needed. Just non-ascii characters should be escaped, like github/gitlab does. It's may be an optional.
In JavaScript escaping may be done by using encodeURIComponent(str). In Python it's also simple (according to stackoverflow) – urllib.quote(unicode(str).encode('utf-8'), safe='~()*!.\'')

I tried to use plugin again – it doesn't work to me still. Since it lowercases non-latin chars and links in TOC don't work if they contains non-latin :(

@cissoid
I'm sooooooo sorry for late reply. 🤕
Today I added a new feature URI encoding. And I checked links working on Gitlab and Github. Here's samples Gitlab, Github. I hope this fix your problem. 🦊  I'm looking forward to your response if you don't mind.

# 1. Hello 世界 World will also has id 1-hello-world, "世界" is trimmed.

By the way, I think it won't be 1-hello-world but 1-hello--world because 世界 is trimmed. So I think you will not be able to get results you wanted with 'id_replacements' feature anyway.

This may be fixed in 2.4.0.


tour: Syntax on/off button wierd behavior

Context: https://tour.golang.org/flowcontrol/10
With syntax off the code appears like this which seems correct.

But after i do syntax on the code appears like this which seems incorrect to me.

(Notice the houses keyword in place of the case keyword)
I don't seem to understand this behaviour can you please help?
Thanks.

That's weird. I can't reproduce this on the latest Firefox on Linux. What browser are you using?


multi key

Thank you for updating.
I updated to 3.0.0.
And add the code:

But the console shows:
Error in directive shortkey bind hook: "TypeError: n.join is not a function"
Is there anything I need to do?
Thank you

Maybe because dist/index.js is not updated?

Hi @sonmunehiro, thanks for reporting. I have fixed the issue and published the version 3.0.1.


Fix reply from permalink

Summary
When opening the reply screen from a permalink, keep the current channel unless the team changes.
Ticket Link
https://mattermost.atlassian.net/browse/MM-54969
Release Note
Fixed remain in current channel when replying a post from the permalink view

As far as I can tell there is nothing, nut a round of proper QA should be good

Hi @enahum - is there a Jira ticket for this PR or should I create one? (I couldn't find one....)

Hi @enahum - is there a Jira ticket for this PR or should I create one? (I couldn't find one....)

No Lindy, I ffound the bug and just fixed it

Cherry pick is scheduled.


Add starcoder evaluation support when finetuing

Type of Change
feature or bug fix or documentation or others
API changed or not
Description
detail description
JIRA ticket: xxx
Expected Behavior & Potential Risk
the expected behavior that triggered by this PR
How has this PR been tested?
how to reproduce the test (including hardware information)
Dependency Change?
any library dependency introduced or removed

local test pass, neuralchat UT coverage drop 0.4%, can be ignored this time.


feat: tangle avs

Most of the functionality is there, I am just debugging the last few things in getting the whole flow to work in the test. This PR should be good to merge in the next day.


Question: How to map type to pluralized endpoints

I have a question similar to #31 in that I have a call that is not being pluralized and I get a 404. Is there a way I can specify pluralization manually on a call?  Currently my call looks like:
await this.Client
    .For<LoggerEntry>()
    .Set(new LoggerEntry()
    {
        Title = title,
        Message = message,
    })
    .InsertEntryAsync();

The endpoint is named LoggerEntriesController.
I also posted to StackOverflow to see if I can do something different on the api end. http://j.mp/1WCPwCt

Hi,
I proposed a workaround on SO (specifying entity set name explicitly). In addition you can use a method SetPluralizer to specify your own pluralizer that will take control of naming.

Thanks! I will give that a try.


Game crashes (probably d3d9_wrapper issue)

Describe the bug
I wanted to install the newest gw2radial version, but I didn't remember how I did it the last time, so I uninstalled the game entirely and installed it again. From fresh I installed the "addon loader" and then "d3d wrapper". Both as in their respective instructions (d3d wrapper - by coping the "d3d9_wrapper" folder with its content into the "addons" folder within the game folder, but I also tried to copy the contents of "d3d9_wrapper" folder into the "addons" folder directly).
And then when I try to start the game, I'm able to log in, but then it crashes after pressing start button. If I delete the d3d wrapper files, the game starts normally - but the gw2radial does not work.
Radial log:
[INFO] core | Addon loader v1.0 (v1.1 r33) initialized
[INFO] core | Loading addons from "./addons" path
[INFO] core | Loading d3d9_wrapper
[INFO] core | Loaded d3d9_wrapper v2.0 r21
[INFO] core | Loading gw2radial
[INFO] core | Loaded gw2radial v2.2 r1
[INFO] core | Done loading addons
[INFO] d3d9_wrapper | Loading system dxgi
[WARN] core | Init called twice without proper unload. If your addon is not working, make sure you handle this situation!
[INFO] d3d9_wrapper | Loading system d3d11
[INFO] d3d9_wrapper | D3D11CreateDeviceAndSwapChain failed
To Reproduce
Steps to reproduce the behavior:

Install the game from scratch
Then install addon loader
Then d3d wrapper
Then radial (manually)
Try turning on the game
Error, game does not open

Expected behavior
Game loading and the gw2radial with the newest options (turtle etc) working.
Screenshots
System configuration (please fill in):

OS: Windows 8.1
GPU: Inter core i7-5500U @ 2.40 GHz
Chainloading, -

Additional context
I am not well versed in programming nor software stuff, so I decided to ask here for help - I hope it is okay.

Additional info:
when I turned off the D11 in the game options, the game loaded with the wrapper installed. But the GW2radial does not work, the log says:
[INFO] core | Addon loader v1.0 (v1.1 r33) initialized
[INFO] core | Loading addons from "./addons" path
[INFO] core | Loading d3d9_wrapper
[INFO] core | Loaded d3d9_wrapper v2.0 r21
[INFO] core | Loading gw2radial
[INFO] core | Loaded gw2radial v2.2 r1
[INFO] core | Done loading addons
[INFO] d3d9_wrapper | Loading system d3d9
[WARN] gw2radial | Addon unable to load in D3D9 mode, activate D3D11 in game options to enable!
I checked and the DirectX 11 is installed on my computer.

Please try the new pre-release to assess if this is still present.


github-merge: Handle deleted users gracefully

Handle deleted github users gracefully when retrieving ACKs by replacing their name with [deleted] in the sanitization function.
Tested with bitcoin/bitcoin#15423.

cr ACK 8b7b630ea902482ac0cd081abdb1af24f03712cd

It doesn't currently allow square brackets in username.
ACK 8b7b630ea902482ac0cd081abdb1af24f03712cd


The output pharmacophore is not saved as json pharmit file

After submitting ELIXIR-A job, the output refined pharmacophore is not saved as json pharmit-compatible file that can be used for screening by pharmit. I used version 2.1.

If the output is printed in the terminal, you can screen your molecule with the printed pharmacophore information by pharmit. If an error message appears, please check the python environment.

There is no error appears. The refined pharmacophore appears.

But there is no output in the terminal that can be used in pharmit search, as I see.

I think this was in older versions.

Hi Muhammad,
Yes, we didn't include the feature of JSON output in version V2.1. I have uploaded the new version v2.1.1 in release, recovering the JSON output. Please let me know if you have any questions about it.
Haoqi


<EMAIL_ADDRESS>hash check failed

Checking hash of SysinternalsSuite.zip ... ERROR Hash check failed!
App:         business/sysinternals
URL:         https://download.sysinternals.com/files/SysinternalsSuite.zip
First bytes: 50 4B 03 04 14 00 00 00
Expected:    291e6741d6e5b9895a007c398b849667673b1c8f8cd0e3b8571fbb015008cf53
Actual:      76e374b9844fa1e6491cc3e70d73f9ce885253258b86d277d84e40452ba8b8f5

You are right. Thank you for reporting.


Reliable transfer integration test.

During the work on #1019 it was found that the integration tests for block exchange are not covering an aspect of reliability that other (marketplace) integration tests are relying on. In order to help focus debugging efforts, this adds a transfer test that checks this aspect.
Additionally: sets http timeout for the codex client. (Was infinite. Now 1 minute.)

Some extra context:
#1019 is part of an effort to investigate, correct, and improve the behavior of the block exchange engine. It turns out, if you fix one issue, you might reveal a different one.
In the past, in the testnet we have seen transfers fail for unknown reason under conditions where it should have succeeded. This issue was never able to be reproduced in controlled environments (not in dist-tests, not in integration tests). It seems that the clean-up happening in 1019 has brought this reliability issue to the surface in such a way that we can now cover it with a test. That's this PR.

This PR addresses point 2 of Mark's: https://github.com/codex-storage/nim-codex/issues/746 clean up multinodes and use it in every test
When/if merged, plz update this issue.

Nice work! The main question is: do all these tests pass reliably under the conditions in https://hackmd.io/@ThatBen/S15F3DY4Jl? If so, awesome, let's get this in, so you can be unblocked on the blockexchange 👍

I can't say for certain that the tests are reliable after this PR. I can only say they are more reliable than before.


AttributeError: 'openvino.inference_engine.ie_api.IENetwork' object has no attribute 'layers'

Not any expert in the field, so I feel very lost.
I get this error when I try to run it on the CPU.
I followed the instructions and checked every step and I don't see where I made a mistake, if any. I have also reinstalled OpenVINO with no luck.
Here is the full output:
32/person-detection-retail-0013.xml -sm ../resources/worker-safety-mobilenet/FP32/worker_safety_mobilenet.xml
Application running in Async mode
/usr/lib/python3/dist-packages/apport/report.py:13: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
  import fnmatch, glob, traceback, errno, sys, atexit, locale, imp, stat
Traceback (most recent call last):
  File "./safety_gear_detector.py", line 464, in <module>
    main()
  File "./safety_gear_detector.py", line 272, in main
    infer_network.load_model(conf_modelLayers, targetDevice, 1, 1, 2, cpu_extension)
  File "/home/atmos/safety-gear-detector-python/application/inference.py", line 79, in load_model
    [l for l in self.net.layers.keys() if l not in supported_layers]
AttributeError: 'openvino.inference_engine.ie_api.IENetwork' object has no attribute 'layers'

Same with me here. Is it because it not compatible with latest Openvino?

will check the issue and update you..

Not any expert in the field, so I feel very lost.
I get this error when I try to run it on the CPU.
I followed the instructions and checked every step and I don't see where I made a mistake, if any. I have also reinstalled OpenVINO with no luck.
Here is the full output:
32/person-detection-retail-0013.xml -sm ../resources/worker-safety-mobilenet/FP32/worker_safety_mobilenet.xml
Application running in Async mode
/usr/lib/python3/dist-packages/apport/report.py:13: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
  import fnmatch, glob, traceback, errno, sys, atexit, locale, imp, stat
Traceback (most recent call last):
  File "./safety_gear_detector.py", line 464, in <module>
    main()
  File "./safety_gear_detector.py", line 272, in main
    infer_network.load_model(conf_modelLayers, targetDevice, 1, 1, 2, cpu_extension)
  File "/home/atmos/safety-gear-detector-python/application/inference.py", line 79, in load_model
    [l for l in self.net.layers.keys() if l not in supported_layers]
AttributeError: 'openvino.inference_engine.ie_api.IENetwork' object has no attribute 'layers'

Hi,
Thanks for raising this issue with us.
Since it has not been mentioned from which branch the application was cloned and executed, I assume the 'Master' branch has been employed which has brought up the issue.
The "Master" branch supports OpenVINO 2020 versions or older, so in order to run the application with OpenVINO 2021 versions, it is recommended to use the "OpenVINO_2021.1" branch for the same (it will support all OpenVINO 2021 versions). The corresponding link is specified below for reference:
https://github.com/intel-iot-devkit/safety-gear-detector-python/tree/OpenVINO_2021.1
Please do reach out to us in the same thread if you continue to come across this issue.
Regards,
Sarthak T

Hi guys, I am working on this project and I would like to add some features like providing sound alerts whenever workers didn't wear helmets or vest. Moreover,I would like this system to save data after each time they checked in. May I know, where can I edit it inside? Thank you

Hi guys, I am working on this project and I would like to add some features like providing sound alerts whenever workers didn't wear helmets or vest. Moreover,I would like this system to save data after each time they checked in. May I know, where can I edit it inside? Thank you

Hi KnightRan,
For editing the code to customize the application functionality, the safety_gear_detector.py file (inside the application folder) can be used as a base upon which the project can be built upon.
The script has specific functions pertaining to detection of helmets and vests. In this, specific additions to send out sound alerts (like Beepy Python library module) alongside modifications to store and transmit data (using MQTT and InfluxDB for instance) can be made.
Regards,
Sarthak T

I see, thanks for your help and info Sarthak. Best regard

Hi guys, may I know what software to use to train the model as i want to improve the helmet detection.Thank you. Best regard

Hi guys, may I know what software to use to train the model as i want to improve the helmet detection.Thank you. Best regard

Hi KnightRan,
The application makes use of a pre-trained model for detecting helmets (worker safety mobilenet) hence it would not be advisable to retrain the model to achieve better results.
One alternative could be to select a specific model (performing helmet, jacket and other safety detections) which provides the desired detection accuracy level and integrate that with OpenVINO for inferencing. OpenVINO provides an option for the user to optimize the model using the "Model Optimizer" functionality wherein they can convert the model specific files into a format that is compatible with the toolkit. Please do refer the below mentioned link showing the detailed steps to execute the same:
https://docs.openvino.ai/latest/openvino_docs_MO_DG_Deep_Learning_Model_Optimizer_DevGuide.html
Once the steps mentioned in the above link are executed, the generated xml and bin files can be used with the application to carry out the detections.
Regards,
Sarthak T

Hi Sarthak,
May i know what model that I can used other than worker safety mobilenet to optimize with  Model Optimizer as I have struggle to find it. Thank you and best regard.
Regards,
Malvin

Hi Sarthak, May i know what model that I can used other than worker safety mobilenet to optimize with Model Optimizer as I have struggle to find it. Thank you and best regard.
Regards, Malvin

Hi Malvin,
Most deep learning models tasked with safety gear detection are created using certain pretrained models as a base and ultimately using user defined datasets to train them for specific use cases. Keeping this in mind, one solution might be to use one such popular pretrained model in the form of SSD-Mobilenet object detection models (generally based on TensorFlow or Pytorch) to train and create your own defined models using custom datasets. These models can then be deployed with the OpenVINO toolkit using the model optimizer. Please do refer to the below mentioned links for reference:

https://www.tensorflow.org/lite/examples/object_detection/overview
https://docs.openvino.ai/latest/omz_models_model_mobilenet_v2.html

Regards,
Sarthak T

Hi Sarthak,
Good day to you , just want to inform that the system detect the helmet eventho i am not wearing it. Is it possible to modify the code especially at line 155 to 165 under safety gear.py? If have may i know what is the recommended HSV value? Thank you and best regard.


statics defined in #[entry] are not safe on multi-core systems

RP2040 starts execution on both cores. If entry function contains a "special" definition of static mut variable, each core takes a mutable reference to it, which is illegal from the Rust point of view.
Here is the relevant piece of #[entry] code:
https://github.com/rust-embedded/cortex-m-rt/blob/ca4790f40738bcc770285c8080955a2077682078/macros/src/lib.rs#L87-L88

cortex-m-rt only supports single-core systems

Is it stated anywhere apart from this comment?

Do the static mut transforms in the macros provide much value? I can't remember but I think we discussed removing them at some point, maybe involving #238/#250. Cortex-m's Mutex is definitely only single-core aware too, though, and I'm not sure what else would need changing in c-m-rt to make it safe on multi-core systems (at least, when they both execute the same code).
Doesn't the RP2040 ROM send the second core to sleep, so it only starts execution after being signalled once user code is running?


switcher: audit to ensure that error handlers always run with IRQs on

It'd be bad if a compartment can hog the core, and it's at present not obvious that that can't happen.

Closed by #345.


feat/PL-2409 - Infer repo name

Instead of having to set it everywhere, we can infer it but still allow it to be overridden.

This is PR against the feat/PL-2409/add-release-git-diff-and-log branch and not master.


Generation Errors

I have tried created a few spell cards for one of my players, however, when I would try it would bug like this.
3x3 generating error

2x2 generating error

2x2 error if you try to add an extra image to "fill"

I can't reproduce this on Chrome, Firefox, or Safari. Can you please specify:

Which browser you use, including browser version
What card size you chose in the generator (e.g. 2.5"x3.5")
What page size you chose in the generator (e.g., A4)
What card layout you chose in the generator (e.g., 3x3 cards per page)

I tried using Chrome and Edge getting the same error.
Chrome version: Version 58.0.3029.96 (64-bit)
Presets are:

My file is attached here if you want a look at it.
https://www.mediafire.com/?kdekpo14o6mdze5

Works for me with the file you attached. Te file contains the sample cards however, not the ones from your screenshots. Does the error appear with the sample cards for you?
Also, are the screenshots with the bugged layout from the page that opens when you click "generate", or from the browser print preview dialog when you try to print?
The only thing I can reproduce is the strange layout if you select a 2x2 (or 2x3) layout. The cards don't overflow, but are arranged in 3 instead of 2 columns.

Sorry, that I accidently uploaded the wrong file.
No your sample file is not causing errors, I've been busy with an exam.
The screenshots with the bugged layout appear when I click the browser print dialog and whenever I click generate.

Also if I try to print the icons disappear.
https://www.mediafire.com/?5bwk3lkvm76w8ng

Edit, I just figured it out.
It is due to Hex( in the file) being too long making it fudge up.

@baaabuuu the problem is that you have a typo in the third card (Hellish Rebuke), the  tag around half is not properly closed:
takes 2d10 fire damage on a failed save, or half as much damage on a successful one.

–> half needs to be half!
And it looks like you have the same mistake in a later card, too.


[Bug Report] Critical: NBT-API Broken on 1.16.2

Describe the bug
No vouchers work. Given command throws console error.
Versions (please complete the following information):

Minecraft Server Version: 1.16.2
Plugin Version: Vouchers[v1.8.15]

*Do NOT say Latest use /version vouchers in the console.
Pastebin any errors in console
https://gist.github.com/viveleroi/7cc05e5bc8efbf1eb199ce46a0ee205b
Issue
NBT-API error prevents plugin from working.
Screenshots
N/A

Having the same issue

Fixed.


feat: unstoppable domains upgrade + reverse resolution

Description
Upgraded unstoppable domain package and added reverse resolution

umbra integration .webm
Reverse Resolution :

You can also use our Unstoppable Domains to check lookup Functionality : blockdudes.blockchain resolved to 0x89f9798a8d8bac15a47031779cc6aa08d8059c52

@apbendi Thanks for the review

Fixed
The issue is same for the ENS address, but I added this functionality so it is also solved
The issue was the casing, so I lowercased both address at the time of checking

thanks @amritkumarj

The issue is same for the ENS address, but I added this functionality so it is also solved

Right it broken on ENS for this PR but wasn't in prod! Seems to be working for both case now 👍

The issue was the casing, so I lowercased both address at the time of checking, is that ok?

You mean you downcase both addresses to do the compare, right? If so, sounds perfectly reasonable.
Overall PR is looking good and seems to work well! Nice job.  We try to keep merges out of history.
@mds1 could you give the code another quick look over as well? From my perspective looks good, but it's touching a lot of sections you know best. Thanks!

Hey @amritkumarj, just bumping the last few open comments. The branch is also now out of date with master 🙂

Hey @mds1 , I have added changes but as rinkeby is discontinued we first need to add goerli in umbra for testing

@mds1 pushed the changes, please check the cns.test file, as we are using polygon mainnet for testing because rinkeby being discontinued

LGTM, thank you @amritkumarj! Do you mind resolving conflicts, then we should be good to merge once CI passes pending any comments from @apbendi. (CI will probably fail now, but should pass once the latest main is incorporated)


styled-components className not randomly generated when styling 3rd party library

Hi I am having an issue when styling 3rd party dependency library component for example: styled(Loading). The Loading comes from a 3rd party lib where it contains a collection of all defined CSS styles which is NOT a class, does NOT have DOM node or any return. So I can not pass className props into the DOM
The issue is:  when i run the new version below, it won't recognize my styled-component because styled-components random className is not being generated based on browser Inspect. Instead, the browser Inspect shows the original 3rd lib class name! Can anyone tell me what i need to fix with this issue? Thank you!
/version<EMAIL_ADDRESS>this is how i added styled-component, but the style is not recognized
import { Loading } from 'customizedstyle-react';
const StyledLoading = styled(Loading)
position: absolute !important;
z-index: 9999 !important;
;
render(){
return {


Integrating MontePy with VS Code Extension

Again, sorry I'm not following the feature request template since this may be out of scope/impossible. I think this project's usefulness would be compounded by integration into a VS Code Extension e.g. https://github.com/repositony/vscode_mcnp. Since VS Code Extensions are developed in typescript, it might be a challenge to bridge the gap but thought I would throw the idea out there.

So what features are you looking for in general beyond what both of these libraries provide independently?
More practically, I think this is out of the scope of this repo specifically, and should rather be use MontePy as a dependency for such a tool. Adding support for n+1 text editors in MontePy directly would be a bad idea. (If we support VScode, I would add vim first personally.)
If someone wants to add this tool fantastic, but I personally won't do it, because JavaScript is one of my least favorite language. As for complexity. Python to type-script libraries must exist right?


Added fetchProjectLogs ajax call description to docs

Pull Request Test Coverage Report for Build 4231

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.07%) to 36.347%

Totals

Change from base Build 4228:
0.07%

Covered Lines:
10606

Relevant Lines:
29180

💛  - Coveralls


stack readme blog post

added Casey to TOML
wrote blog post

TODO:

[ ] Add screenshot + gif
[ ] Fix markdown links to have variables
[ ] Reviews

@EvanBoyle I think we are close to being ready on these. The only thing I haven't incorporated from your feedback was copy pasting IgnoreChanges documentation wording, any additional advice here? I'm not clear on how it fits in.


dmytro/int-2165-codemod-fp-app-directory-boilerplate-calcom-use-client-added

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Current dependencies on/for this PR:

main

PR #491   👈

This stack of pull requests is managed by Graphite.


Compression breaks commonmark npm package

I am using react-markdown which uses commonmark. When compiling the code with babili it breaks in some crazy way. It leads to an endless loop for both NodeJS and Chrome.
I am still investigating to narrow this down a little more.
Just wondering: Is there some special utf-8/unicode related functionality in babili?

Excludes the dependencies of commonmark does not help. Possibily it is related to unicode sequences found in https://github.com/dougmoscrop/fold-case.

Honest question: why use fold-case instead of the original https://github.com/mathiasbynens/swapcase?

I actually don't know. It seems to be inlined in the commonmark implementation. I am not the author ;)

Seems like some bug with simplify. Disabling simplify from the preset got it working.

Some issue with simplify. Was able to boil down the issue ... I think it breaks this function - https://github.com/jgm/commonmark.js/blob/7b27c58733b7a9f640d91bcec6923458d6b796b9/lib/inlines.js#L829


create pt_br.ts

As a suggestion, it would be very helpful if more phrases had examples, like the "Page" one. Also, I think "pt_br" should be fine with Typescript's variable syntax, but if not you can change it to "ptbr" or so.

Looks awesome, thanks a lot!
And it should be fine with Typescript, yes.


Notifications List component

It's not the final version of the component, but it's the proper layout for further work.

@marcinbodnar should this PR be closed in favor of #330?


Bringing up aarch64 target

I'm starting with stdenvNative. This line is causing me headaches
-          then "-isystem $(echo -n ${cc.gcc}/include/c++/*) -isystem $(echo -n ${cc.gcc}/include/c++/*)/$(${cc.gcc}/bin/gcc -dumpm

It is in
pkgs/build-support/cc-wrapper/default.nix

I don't quite understand what it's for and deleting it doesn't seem to cause problems.

Question: Once I get hello built I'll probably want to build the bootstrap files for this platform. I don't see a bootstrap package. How to do it?

I've started this as well and what's currently blocking me is that binutils is too old, and if I try to update it to the latest version, x86_64 breaks somehow.

Sounds fun. I’m still fighting Perl. One thing you can do is just build binutils from source and install over your system. Doesn’t seem to mind. Maybe we should start working together somewhere?

On Feb 16, 2016, at 9:20 AM, Tuomas Tynkkynen<EMAIL_ADDRESS>wrote:
I've started this as well and what's currently blocking me is that binutils is too old, and if I try to update it to the latest version, x86_64 breaks somehow.
—
Reply to this email directly or view it on GitHub https://github.com/NixOS/nixpkgs/issues/13042#issuecomment-184783463.

https://github.com/dezgeg/nixpkgs/tree/pr-bootstrap-tools-cross is as far as I got, there's a bootstrap tarball checked in at some commit.

IIRC this is the commit that our binutils is missing: https://sourceware.org/ml/libc-ports/2013-06/msg00063.html

Oh, you’re working on a cross build. That’s ambitious. I’m just trying to build natively.

On Feb 16, 2016, at 9:29 AM, Tuomas Tynkkynen<EMAIL_ADDRESS>wrote:
IIRC this is the commit that our binutils is missing: https://sourceware.org/ml/libc-ports/2013-06/msg00063.html https://sourceware.org/ml/libc-ports/2013-06/msg00063.html
—
Reply to this email directly or view it on GitHub https://github.com/NixOS/nixpkgs/issues/13042#issuecomment-184787144.

No, only the bootstrap tarball is cross-built.

So if you bump binutils to latest in nixpkgs does it help or cause more problems?

On Feb 16, 2016, at 9:37 AM, Tuomas Tynkkynen<EMAIL_ADDRESS>wrote:
No, only the bootstrap tarball is cross-built.
—
Reply to this email directly or view it on GitHub https://github.com/NixOS/nixpkgs/issues/13042#issuecomment-184791454.

When I tried it that broke x64_64 totally so I did not try on Aarch64 yet.

This is maybe caused by what you’re talking about?
strip:/nix/store/wpqz799g177jjk1ikb8993j3vkara9fh-perl-5.20.3/bin/cpan: File format not recognized

On Feb 16, 2016, at 9:37 AM, Tuomas Tynkkynen<EMAIL_ADDRESS>wrote:
No, only the bootstrap tarball is cross-built.
—
Reply to this email directly or view it on GitHub https://github.com/NixOS/nixpkgs/issues/13042#issuecomment-184791454.

No, it was test programs being compiled & run by autoconf segfaulting. The strip: ...: File format not recognized is not even a (fatal) error and happens always when there's shell scripts in bin/.

With any luck I will get the bootstrap files hosted for you today so you can get back to it. Perl is built. What could go wrong?

On Feb 16, 2016, at 9:43 AM, Tuomas Tynkkynen<EMAIL_ADDRESS>wrote:
When I tried it that broke x64_64 totally so I did not try on Aarch64 yet.
—
Reply to this email directly or view it on GitHub https://github.com/NixOS/nixpkgs/issues/13042#issuecomment-184794280.

related issue https://github.com/NixOS/nixpkgs/issues/909

I rebased my work on Eelco's binutils-2.26 branch and now I was able to build hello: https://github.com/dezgeg/nixpkgs/tree/pr-bootstrap-tools-cross. Still needs a lots of cleanup from all the hacks.

@dezgeg Would you be able to make a regular bootstrap-tools? I still haven't made it to that level.

What do you mean by "regular" bootstrap-tools?

I mean non-cross bootstrap-tools. I'm trying to build nixpkgs on an aarch64 server natively using stdenv-linux.

What's the benefit of building that? The result functions in exactly the same way as the cross-built bootstrap tools except it has a downside of not being buildable in Hydra.

I see. I didn't understand that. I thought it was bootstrap tools that run on amd64 and build aarch64. Thank you and I will definitely try it out.
Eventually I may try to setup an aarch64 hydra. 96-cores makes for one heck of a build machine.

I've been trying to figure this out as well, partly with the help of @cleverca22. However I haven't used cross-build-tools in NixOS before and keep hitting walls. From the commits on https://github.com/dezgeg/nixpkgs/commits/pr-bootstrap-tools-cross it seems you solved quite a few issues already.
At the moment I have Nix on Debian on a rpi3, but since it is running Debian armv7l it is unfortunately not yet aarch64. Building a system (nix-build -A system nixos/default.nix) on rpi3 also results in a internal compiler error when it is building gettext.
To get up to speed, what exact command-line did you use to build and on what machine?
Also, what are the steps to get things up and running on an aarch64 system?

I was building on some Android phone running a Fedora chroot. Once the bootstrap tools are in place, there shouldn't be much else to that than compling Nix the old-fashioned (./configure, make etc.) way to /usr/local, and then using e.g. nix-build -A hello.
Cross building the bootstrap tarball is just nix-build pkgs/stdenv/linux/make-bootstrap-tools-cross.nix -A aarch64, that needs to be either on NixOS or with chroot builds enabled, or it will pick up some impurities from /lib etc.

only other hard requirement, is that the kernel allow aarch64 binaries, but nix and the rest of the userland could be 32bit, "--argstr system aarch64-linux" will force nix-build to do everything in 64bit mode

Thanks for all the info. I managed to build pr-bootstrap-tools-cross on x86_64 for aarch64. That said, I did need to apply the following hack: https://github.com/bobvanderlinden/nixpkgs/commit/99e949d912eda47b5cc9937f0bc0ad8bc5690e66
I'm still unsure why this is needed.
First I tried building the original pr-bootstrap-tools-cross (https://github.com/dezgeg/nixpkgs/commit/150ccd25e9b4d88292a39d3e527a805699ec5ce4) using nix-build pkgs/stdenv/linux/make-bootstrap-tools-cross.nix -A aarch64 -K, it results in:
...
checking build system type... checking for stdlib.h... x86_64-pc-linux-gnu
checking host system type... Invalid configuration `aarch64-linux-gnu': machine `aarch64' not recognized
configure: error: /nix/store/avv2bszr13nq7yfbw0434hlxrwlfg9mp-bash-4.3-p42/bin/bash build-aux/config.sub aarch64-linux-gnu failed
yes
checking for string.h... note: keeping build directory ‘/tmp/nix-build-libsigsegv-2.10-aarch64-linux-gnu.drv-1’
builder for ‘/nix/store/a9kz6yh2akjxafb39wpdyx54bmniw9rs-libsigsegv-2.10-aarch64-linux-gnu.drv’ failed with exit code 1
cannot build derivation ‘/nix/store/qp2ib732zz331205f14hj27k3adcy2v3-gawk-4.1.3-aarch64-linux-gnu.drv’: 1 dependencies couldn't be built
note: keeping build directory ‘/tmp/nix-build-gnutar-1.28-aarch64-linux-gnu.drv-1’
note: keeping build directory ‘/tmp/nix-build-binutils-2.26-aarch64-linux-gnu.drv-1’
cannot build derivation ‘/nix/store/m7zvya09jg6pln1pv8ql2bkq10f7n68n-build.drv’: 1 dependencies couldn't be built
note: keeping build directory ‘/tmp/nix-build-gmp-5.1.3-aarch64-linux-gnu.drv-1’
error: build of ‘/nix/store/m7zvya09jg6pln1pv8ql2bkq10f7n68n-build.drv’ failed

Then I tried nix-build pkgs/stdenv/linux/make-bootstrap-tools-cross.nix -A aarch64 --argstr system aarch64-linux -K, but that results in:
...
/nix/store/yr6f787q2frdc15kxxy979yp2ravqpwz-nuke-references.drv
  /nix/store/0v4i74qc03c68fcbfksz0sr7fz80mhx6-build.drv
building path(s) ‘/nix/store/j0v0p2q40741jvmlrbb8vh77n3dcmjc3-bootstrap-tools’
error: a ‘aarch64-linux’ is required to build ‘/nix/store/4j9gyyhncslfk96w0w020l0b8k67q1nr-bootstrap-tools.drv’, but I am a ‘x86_64-linux’

What was I doing wrong here?

Most likely I broke the bootstrap tools cross compilation when adding fixes for native building.

I made some progress on this; now at https://github.com/dezgeg/nixpkgs/tree/pr-aarch64. The one big problem that I've run into is that many packages that come with pre-generated autotools files have been built with such obsolete versions that their config.sub and config.guess don't know how to deal with Aarch64. I've now added a stdenv hook to update all such files with new upstream ones, which so far seems to work well.

I believe Buildroot also does that (inject known/recent config.* files).

@bobvanderlinden: that hack is most likely needed because of the fact that stdenv.system refers to the build system, not to the host. More on "unexpected meanings" during cross-compilation: https://github.com/NixOS/nixpkgs/issues/14965.

@vcunat Good to see that's being addressed. Cross-compiling on Nix is still somewhat confusing to me.
@bjornfor I recently heard that Fedora/RedHat also replaces all config.* files for all packages: https://git.fedorahosted.org/cgit/redhat-rpm-config/commit/?id=0a68ef9360bc52f57cabbd90bc5deb8fd502b37e
It might be an option (in the future) to have it enabled for all architectures, not just for aarch64. I'm guessing it affects enough packages to require a massive rebuild.

I think this can be closed?

Yes, I think so.  If there are problems, better reopen in a new issue.


Feat #43: Adds support for ohcl and pair endpoints

Summary
This PR includes support for OHLC candles and dex pairs endpoints from the defi markets category
Type of Change
Please mark the relevant option(s) for your pull request:

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Code refactoring (improving code quality without changing its behavior)
[ ] Documentation update (adding or updating documentation related to the project)

Checklist
Please ensure that your pull request meets the following criteria:

[x] I have read the Contributing Guide
[x] My code follows the project's coding style and best practices
[x] My code is appropriately commented and includes relevant documentation
[ ] I have added tests to cover my changes
[x] All new and existing tests pass
[x] I have updated the documentation, if necessary

Testing
No new tests were added
Observations
The OHLC endpoint has more query parameters that were not included in this PR

Thanks @Micrograx for bringing this change :)

The PR looks really good, great work @Micrograx.
@Vardominator Could you merge it? I'll bring updated version with changelog & minor improvements in another PR.


Change script order, add fusion-cli peer dependency

Moves execution of critical (preloaded) async chunks before "sync" chunks
Enforces usage of fusion-cli version 1.2.2 or newer (i.e. versions of  fusion-cli using webpack 4)

This will eventually allow for the removal of our custom chunk preloading code (needed in webpack 3 and older)

!merge


multiuser

Can you point me to an example of MULTIUSER models?  I would also like to accept a Query param like so
http://<IP_ADDRESS>:8000?state=Michigan
This would filter the model for this "user" for michigan only.
How can I do that?
CHuck

we had an example for that but currently it's broken: https://github.com/GenieFramework/StippleDemos/blob/master/broken/MultiUserApp.jl
I'll fix it and ping you here.

All apps are multi-user by default now (no shared state unless explicitly set)
https://github.com/GenieFramework/Stipple.jl/blob/358f182ec1f3d901362fb32a258471a31c02cff0/src/Stipple.jl#L269

aah ok missed this. Thanks

awsome !!!  - when a user go to the server with a Query Param like
http://<IP_ADDRESS>:8000/state=Michigan
how can I get "state"  .. this is not Model is ready?

I'm not sure what you're trying to do.
A GET/query param is sent on the initial server request over HTTP. It's part of the request and can be accessed in various ways, including
using Genie.Requests
getpayload(:state)

or
params(:state)

If you want to share state between multiple users based on the state GET/query param you need to set the model's channel to this shared "name". You can do it explicitly when you initialize the model:
using Genie.Requests
Stipple.init(Model; channel = getpayload(:state)

excellent thank you

I am confused on where to put this "getpayload(:station)"
If I put in the  on(model.isready) it is not there... if i put elsewhere it runs on server start. - before ad user hits the URL
┌ Info:
└ Web Server starting at http://<IP_ADDRESS>:8000
Genie.AppServer.ServersCollection(Task (runnable) @0x000000014dd8e230, nothing)

julia> [ Info: GET /?station=ORD 200
[ Info: GET /stipple.jl/master/assets/css/stipplecore.css 200
[ Info: GET /stippleui.jl/master/assets/css/quasar.min.css 200
[ Info: GET /genie.jl/master/assets/js/channels.js 200
[ Info: GET /stipple.jl/master/assets/js/underscore-min.js 200
[ Info: GET /stipple.jl/master/assets/js/vue.js 200
[ Info: GET /stipple.jl/master/assets/js/stipplecore.js 200
[ Info: GET /stipple.jl/master/assets/js/watchers.js 200
[ Info: GET /stippleplotly.jl/master/assets/js/plotly2.min.js 200
[ Info: GET /stippleplotly.jl/master/assets/js/resizesensor.min.js 200
[ Info: GET /stippleplotly.jl/master/assets/js/lodash.min.js 200
[ Info: GET /stippleplotly.jl/master/assets/js/vueresize.min.js 200
[ Info: GET /stippleplotly.jl/master/assets/js/vueplotly.min.js 200
[ Info: GET /stippleui.jl/master/assets/js/quasar.umd.min.js 200
[ Info: GET /stipple.jl/master/assets/js/vue_filters.js 200
[ Info: GET /stipple.jl/master/assets/js/keepalive.js 200
[ Info: GET /stipple.jl/master/assets/js/fampages.js 200

I don't understand what you're doing - can you show your code?

I  added to route and it looks good so far !

thank you


Can I use Impact within a binary framework?

Want to enable crash capture system in our framework which will then report these crashes to our backend.
We just want to be able to capture the crash and check if this crash is originating from our framework. Is that possible?
Our framework will then be used within multiple apps which might have third party crash reporting engines integrated.
Will this work along with other crash reporting engines ?

Hello! Great questions.
First, about using in a framework. I answered this question on stack overflow here: https://stackoverflow.com/questions/50867813/crash-analyzing-tool-in-framework/51294888#51294888. The very brief summary is no, you cannot do this successfully with Impact or any other in-process reporting tool. Crashes are inherently a process-wide phenomenon. If you try, not only will it not work as you'd like, but it could also compromise reporting for any app that uses it. This is related to your second question.
Impact is not 100% guaranteed safe to use with other crash reporting frameworks. The reason, basically, that is not possible to do. Some crash reporting libraries claim they offer that safety, and it can be approximated. But, it is not possible to both instrument a process for crashes and also not change the state of the process in a way that could affect other reporting systems negatively. I have worked with multiple reporting installations extensively, and ultimately gave up, because there's no way to do it and even trying is a compromise.
Sorry for the bad news, but thanks for the questions!


And perhaps vice versa?

need from steam in game pass
example starfield from steam to gamepass version.

Xbox save data api is completely software defined, you'll have to reverse and reimplement how data is organized for each game, and I'm not doing it lol

thanks issue resolved https://github.com/HarukaMa/starfield-xgp-import/releases


Adding translations

What is the best way to do this ?
Would it be better to send the URL to the translation via Issue or Pull request?
Should we consider opening a folder in this repository to host all translations in one repo instead of linking into others? This will also allow pull request that overwrite the original text

Hi, I think it would be better if all the translations are hosted in a separate folder as it would be easy to access for new comers.

亲，你的邮件东阳已经收到了

Handling translations in a JavaScript codebase involves leveraging internationalization (i18n) libraries like i18next, react-i18next, or vue-i18n. The project structure typically includes a designated directory for locales, housing translation files such as en.json, fr.json, etc. Initialization of the i18n library involves setting up the default language and loading translations into the project. Components then implement translation using i18n functions, with popular frameworks like React utilizing hooks such as useTranslation. Dynamic language switching can be facilitated through a language switcher component. Regularly update translations by extracting new translatable strings from the codebase and using provided tools or scripts. Additionally, consider factors like pluralization and variables in translations, recognizing that different languages may have distinct rules for these elements.


Short PR with updates on section focusing on the API Gateway pattern

Summary
Updates on section focusing on the API Gateway pattern.
This PR is short, with updates for a single section.
In addition, the eBook cover is updated.

I went through all the changes, and I don't have anything to add beyond @mairaw 's comments.

I just committed/pushed the updates based on this feedback. Please, when possible, merge to docs.

I reviewed your changes and it looks good 👍


macros 1.1 derive implementation

A (fairly long) while ago I was in SF and I think I told you I would make you a derive plugin for this crate. I may have forgotten until now, but I threw one together based on macros 1.1 :)
https://github.com/mystor/abomonation_derive

Cool, thank you! I'll need to grab some time and grok it, but I'm looking! :)

I don't have much time to maintain crates like this anymore, and I don't have any involvement with abomonation, though this crate is still under my name both on GitHub and crates.io.
I'd like to suggest moving ownership of the abomonation_derive crate over to the maintainers of abomonation (@frankmcsherry?) both on crates.io and GitHub. It may also be worthwhile to move it into the abomonation tree so it can be updated alongside the base crate.


Support for JDK 11

I noticed that one of the dependencies for using this library is JDK 8. Is there a plan to have support for JDK 11+? Thanks!

That should be a minimum requirement, not a maximum. Have you tried running it with JDK 11 or higher? I'd expect it to work.

I successfully ran the build including tests locally using Java 11 and everything worked. I haven't tried to use the Java 8 binaries in a Java 11 application though. But my understanding is that it should just work.
Please let me know if I'm wrong.


Reset wallet link missing

@fslzrr regarding Vault@
@RSanchez22 can you set this as a card as it should, please?


Update docusaurus.config.js to throw errors for broken links

Description & motivation
Because broken links are still being merged, we should add this flag to fail the build when a PR introduces broken links. Not sure why the markdownlinks was not working.
To-do before merge
Checklist
If you added new pages (delete if not applicable):

[x] The page has been added to website/sidebars.js
[x] The new page has a unique filename

Merging with Jason's approval above


Quit from eventDrivenMode after reset

Download:
Environment: QT=5.12, ARCH=32, CONFIGURATION=release, QTIFW=C:\Qt\Tools\QtInstallerFramework\3.1


SEO updates for serverless comparison article

Hey there @mrbeatus and @mkrasne2,
Here's another serverless article that we recently published.  Would love to get your thoughts on SEO improvements. Would you mind creating a PR with the changes we should make?
Here's the article:
Published version: https://www.prisma.io/dataguide/serverless/serverless-comparison
Source file: https://github.com/prisma/dataguide/blob/main/content/11-serverless/02-serverless-comparison.mdx
Let me know if you have any questions. Thanks!

Glad to help! Just created a PR for metadata updates for this new page.

Awesome. Thanks for the help.  I just merged that in, so I'll close this :+1:


add leecher disconnect function

make it so that leecher clients are automatically disconnected. you can do that by automatically disconnecting their user agents. example: xunlei and aria2-based clients

Not sure on xunlei but I know aria2 can be set to seed out.  I have a user that uses it all the time and it is specifically to seed torrents that they created.


Using keyboard shortcut to open a new tab from Dashboard projects produces red highlight

Steps

Log into osf.io
In your Dashboard, hover over a project
Use the keyboard shortcut Cmd + left mouse click to open a new tab for viewing the project
Compare this behavior to using the keyboard shortcut to open a new tab for a project file

Expected behavior
With the keyboard shortcut, I expected that opening a new tab from the Dashboard would be the same as opening a new tab for a file. That is, the background stays light blue until I stop hovering over the project or file.
Actual behavior
The background flashes red until the new tab is opened. The red highlight is alarming as it makes me think there is something wrong, or I'm unable to open the tab.

I will look at it, Thanks!

@GaryKriebel can you assign me to this? Thanks!

@GaryKriebel a fix is submitted for this one.

The fix has been merged.


unistd: Add pause(2)

This one is weird because if it ever returns, the return value will be Err(EINTR).

RETURN VALUE

Since pause() suspends thread execution indefinitely unless interrupted by a signal, there is no successful completion return value. A value of -1 is returned and errno is set to indicate the error.

ERRORS

The pause() function will fail if:

[EINTR]
A signal is caught by the calling process and control is returned from the signal-catching function.

―http://pubs.opengroup.org/onlinepubs/007908799/xsh/pause.html

@homu r+

:pushpin: Commit 507dfaf has been approved by fiveop

:zap: Test exempted - status


convert pseudotests to instrumented tests

if it will be ever possible - from my current experience there is no way of achieving this level of testing with instrumentedtest :)

duplicate


GDAL exception: Recode from System to UTF-8 not supported

I'm getting the following exception when trying to open a shapefile. Passing "encoding" to open doesn't seem to have any effect. How do I access this file?
>>> src = fiona.open("lsoa_plus.shp", "r")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Miniconda3\envs\python36\lib\site-packages\fiona\__init__.py", line 165, in o
pen
    enabled_drivers=enabled_drivers)
  File "C:\Miniconda3\envs\python36\lib\site-packages\fiona\collection.py", line 153, in
 __init__
    self.session.start(self)
  File "fiona/ogrext.pyx", line 395, in fiona.ogrext.Session.start
  File "fiona/_err.pyx", line 185, in fiona._err.GDALErrCtxManager.__exit__
fiona._err.CPLE_AppDefinedError: b'Recode from System to UTF-8 not supported, treated as
 ISO8859-1 to UTF-8.'

I can read the layer as expected using QGIS and ogrinfo.
Running Fiona 1.7.9 (from conda-forge) on Python 3.6.2.

Duplicate of #455. :(


[Refacoring] - Rename Repository

[x] Description created
[x] Reviewed by peer: @Hafflgav
[x] Prioritised

Description
Rename miranum repo to miranum-connect

To update your local repository run:
git remote set-url origin git@github.com:FlowSquad/miranum-connect.git


Refactor wire package to better support multi-section documents

Replace a slice of Documents with lazy reading. Avoid reading all sections before passing them to the handler. That should help with large imports.
Keep (maybe deprecate) Document() method.
Add benchmarks.

Only benchmarks are left, but between #3700 and ycsb benchmarks in dance I think we are good.


Extension issue

Issue Type: Bug
Extension Name: LiveServer
Extension Version: 5.6.1
OS Version: Windows_NT ia32 6.1.7600
VS Code version: 1.58.2

:warning: We have written the needed data into your clipboard. Please paste! :warning:

Issue Type: Bug
Extension Name: LiveServer
Extension Version: 5.6.1
OS Version: Windows_NT ia32 6.1.7600
VS Code version: 1.58.2
warning We have written the needed data into your clipboard. Please paste! warning

please resolve the issue
Live server is not working


Adjust Data Calculation Option

Analyze the ability to add an option to use monthly average Treasury data instead of actual monthly data for some calculations

Resolved on:
https://github.com/chaineco/bisonexplorer/commit/bd44b59ea0859b29575cc05f46d9f71a425561f7
https://github.com/chaineco/bisonexplorer/commit/824dbb562715420119a5c38bfa04bf2b831ca482


Chapter 5 WIP

The last pull request didn't process properly because of names. I think it should merge correctly now.
I also included the fixed iterative deepening diagram.

there are some conflicts. resolve them?


Fix: typos

Fix: typos

Fix: typos

Thanks for your contribution, please add WeChat yanyanho666 to join our group.


add brew install to readme and spot os roadmap

Issue #, if available:
N/A
Description of changes:

Brew install instructions
Spot Roadmap to Communication section

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Codecov Report

Merging #43 into master will increase coverage by 0.22%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #43      +/-   ##
==========================================
+ Coverage   88.38%   88.61%   +0.22%
==========================================
  Files           9        9
  Lines        1068     1063       -5
==========================================
- Hits          944      942       -2
+ Misses         88       87       -1
+ Partials       36       34       -2

Impacted Files
Coverage Δ

pkg/selector/selector.go
82.89% <0.00%> (+0.92%)
:arrow_up:

Continue to review full report at Codecov.

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


feature request: A tab to collect prompts from outside ?

Thanks for your plugin ! Maybe it would be nice to have an option to collect some generation data and picture directly from outside when surfing on the internet ( like civitai, lexica, etc... ) by copy/paste and a way to organize them in your plugin solution.. Just an idea !! Again thanks for this incredible addon !

Thank you for your recognition. I will implement this feature soon, but it may be different from what you have in mind. You can follow up at any time.

The feature is already supported. Please refer to https://github.com/zanllp/sd-webui-infinite-image-browsing/issues/131 for details.
You can create a new folder locally and add it to the search path.

thanks, I did it and it works flawlessly ! :)


Fallback codec

Select a fallback codec implementation if the first one was failed to initialize.
For example with the case of vaapi (higher priority) and vpx, try vaapi first, and if the environment doesn't have video acceleration hardware, use vpx.
It could be something like:
codec.Register(webrtc.VP8, codec.VideoEncoderFallbacks(
  codec.VideoEncoderBuilder(vaapi.NewVP8Encoder),
  codec.VideoEncoderBuilder(vpx.NewVP8Encoder),
)

One problem is that user code doesn't have a way to know which implementation is used, so it's difficult to pass codec specific parameter if using fallback codec.
Adding prop.Codec.ImplementationName string and pass multiple CodecParams for each ImplementationName as map[string]interface{}?

#112


add project automation

part of #3

Can you add the release-publish.yml action as well?
Copy from https://github.com/flowforge/flowforge-device-agent/blob/main/.github/workflows/release-publish.yml

Have added the release automation workflow.


iter_lines: Skipping first line using next(..)

When trying to skip first line of  response.iter_lines() using next(), some extra data from following lines is also consumed.
Test script:
import requests
from contextlib import closing

with closing(requests.get('http://httpbin.org/stream/5', stream=True)) as r:
    skip = next(r.iter_lines())
    print 'SKIP: ', skip
    for n, l in enumerate(r.iter_lines(), start=1):
        print 'PROCESS: {}'.format(n), l

With following output (line 1 totally missing, and line 2 being partial):
SKIP:  {"url": "http://httpbin.org/stream/5", "headers": {"Host": "httpbin.org", "Accept-Encoding": "gzip, deflate", "Accept": "*/*", "User-Agent": "python-requests/2.4.3 CPython/2.7.9 Linux/4.0.0-rc2+"}, "args": {}, "id": 0, "origin": "xxx"}
PROCESS: 1 n.org/stream/5", "headers": {"Host": "httpbin.org", "Accept-Encoding": "gzip, deflate", "Accept": "*/*", "User-Agent": "python-requests/2.4.3 CPython/2.7.9 Linux/4.0.0-rc2+"}, "args": {}, "id": 2, "origin": "xxx"}
PROCESS: 2 {"url": "http://httpbin.org/stream/5", "headers": {"Host": "httpbin.org", "Accept-Encoding": "gzip, deflate", "Accept": "*/*", "User-Agent": "python-requests/2.4.3 CPython/2.7.9 Linux/4.0.0-rc2+"}, "args": {}, "id": 3, "origin": "xxx"}
PROCESS: 3 {"url": "http://httpbin.org/stream/5", "headers": {"Host": "httpbin.org", "Accept-Encoding": "gzip, deflate", "Accept": "*/*", "User-Agent": "python-requests/2.4.3 CPython/2.7.9 Linux/4.0.0-rc2+"}, "args": {}, "id": 4, "origin": "xxx"}

This is a tricky interaction with iterators. Most iterators don't quite behave the same way. What you need to do is the following
with closing(requests.get('https://httpbin.org/stream/5', stream=True)) as r:
    iterator = r.iter_lines()
    print 'SKIP: ', next(iterator)
    for n, l in enumerate(iterator, start=1):
        print 'PROCESS: {}'.format(n), l

That works fine for me. I'm not confident this is a bug because iter_lines is allowed to make some assumptions about how it's used. I'll wait to see if @Lukasa agrees with me.

Thanks, this was unexpected :)

Agreed.
iter_lines and iter_content should really only be used in a single place, or they risk having unexpected effects. It might be worth adding a ..warning or ..admonition block to the docstrings for those methods to reinforce that message.

So I took a quick look at the implementation of Response.iter_lines
We read a chunk from the response, and then find the line within that chunk and return it. We store the remainder locally in the function and not on a the response object itself. I think an update to the docs like @Lukasa described is warranted.

Would it make sense to actually store the pending data as self._pending?


[RFC] automatic instance priorities

Background
Type-class inference is a large part of the Mathlib's compilation time (roughly 50%). I think it can be greatly improved using better instance priorities. A preliminary test changing only 2 instances in Mathlib resulted in a 29% decrease in peak memory usage.
In mathlib3 we used the following heuristics:

instances that apply in all type-class searches (e.g. instance [CommGroup α] : Group α or [Algebra R A] : Module R A) should have a lower-than-default priority. This is usually the case if all types in the conclusion are (distinct) variables, and this is sometimes called forgetful inheritance. The reason is that we first want to try instances that are specific to this class (we want to find add_group ℤ before trying all add_comm_group instances). We typically used priority 100 for this, but based on human judgement we sometimes used a priority that is a bit higher or lower
(Almost) all other instances are type-directed. These instances only work for specific types, and therefore will fail very quickly if they don't apply. They are also almost always the correct instance if they do apply. An example is [Group G] [Group H] : Group (G × H). These instances have (approximately) the default priority of 1000.

Current Mathlib4 status
Currently, all instances generated by class ... extends ... have priority 1000 (the default, which until recently we couldn't change). Other than that we mostly follow mathlib3's priorities.
Mathlib4 heavily uses diamonds when extending classes (i.e. extending 2 or more classes that share a field). Here is an example of a diamond:
class A (α : Type _) : Type _ where
  a : Nat

class AB (α : Type _) extends A α where
  b : Nat

class AC (α : Type _) extends A α where
  c : Nat

class ABCD (α : Type _) extends AB α, AC α where
  d : Nat

instance foo [ABCD α] : A α := by infer_instance
set_option pp.explicit true
#print foo -- (@AC.toA α (@ABCD.toAC α inst))

My understanding is that whenever we have a diamond and we write a  we strongly prefer to use the first parent for each structure (we want to use ABCD.toAB). These functions are just projections, so let's call these parents "projection parents". The function ABCD.toAC involves unpacking and re-packing the structure, and is therefore worse to use. Let's call these "auxiliary parents". Note however that the above instance search produces the suboptimal projection ABCD.toAC.
Note that this is not solved by changing the priorities of ABCD.toAB or ABCD.toAC: we need to change the instance priorities of AB.toA or AC.toA. So this is not a local problem: we need some global coherence of instance priorities. I think we want to have the following coherence rule for instance priorities:
Whenever a class (ABCD) extends 2+ classes (AB and AC) that share a common ancestor (A), then the priority of AB.toA should be higher than that of AC.toA.
Ideally, we also have the following two refinements:

If ABCD extends more than 2 classes this condition should hold for every pair of (AB,AC) where AB is a projection parent and AC is a auxiliary parent.
We should also have a condition if A is not a direct parent of AB or AC, but any ancestor. The rule should be that the path with highest priority from A to ABCD goes via AB.

Possible solutions
Here are some possible solutions, going from least changes in Lean core to most changes in Lean core

We don't change Lean core, but in Mathlib (or Std) we add linters + manually-configured priorities to ensure the coherence rule above. This will result in manually specifying the priority of every class projection in Mathlib.
We make simple and easily-explainable adjustments to the structure instance priorities in core. For example, we could make the default priority of projection parents 200 and that of auxiliary parents 100. This is in line with Mathlib's convention to use priority 100 for forgetful inheritance. We make the projection parents a higher (but lower-than-default) priority so that we tend to use them more often. This is simple and will use slightly better instances during type class resolution, but it doesn't satisfy the coherence rule. Mathlib will still use linters and modify a few priorities for class projections so that the coherence rule is satisfied.
When adding a structure we run a test to check that the coherence rule is satisfied. If not, we print a warning/error stating how the user should change the priorities manually.
We could try to satisfy the coherence rule automatically, but since this requires changing existing instance priorities, I think that is a bad idea: it is probably quite untransparent and unintuitive. Another issue is that the user might write clases with conflicting coherence rules (e.g. class ACB (α : Type _) extends AC α, AB α conflicts with ABCD above), and in this case the only proper solution is to reorder the arguments of the extends command.

Related Zulip discussion

It seems 2. is the obvious option here, if it can be done in a low-impact way. It would be good to have a PR that we can run Mathlib against to measure the performance effect.
I think 3. is too bossy to users, and 4. is too unpredictable.

I think 2 is also the best option.
I started trying to manually change the priorities in mathlib as a preparation (i.e. with a script) - and to see how big the effects are on elaboration time. Changing instance priorities causes many things to break in the library, and I stopped, because of a lack of time.
What might be a good idea is to make a branch where we delete 75-95% of mathlib and test changes on the remainder. That way we can get reasonable estimates about performance, but not have to fix all files in mathlib that break because of the instance changes.
Once I have more time for Lean, I'm willing to do that, but of course anyone should feel free to do this earlier.

Whenever a class (ABCD) extends 2+ classes (AB and AC) that share a common ancestor (A), then the priority of AB.toA should be higher than that of AC.toA.

What happens if user later adds?
class ABCE (α : Type _) extends AC α, AB α where
  e : Nat

Automatically satisfying the coherence rule (option 4) is probably not feasible, since you can indeed write structures that conflict with each other.

This is my point. Solution 2 will generate counter intuitive behavior because we will have conflicts.

What is counterintuitive about "extends uses priority 100"?

We now have one kind of coherence rule checking via set_option structure.strictResolutionOrder true, which makes sure that the whole list of ancestors of a particular class can be put into an order.
I tried using the priority 200/100 idea, but unfortunately it has no effect, since it depends on the order that the classes were defined. In the following, swapping the order that B and C are defined gives the "right" #synth result.
class A
class B extends A
class C extends A
class D extends B,C
variable [D]
#synth A -- @C.toA (@D.toC inst✝)
#eval return (←Lean.Meta.getInstancePriority? `B.toA) -- some 200
#eval return (←Lean.Meta.getInstancePriority? `C.toA) -- some 200
#eval return (←Lean.Meta.getInstancePriority? `D.toB) -- some 200
#eval return (←Lean.Meta.getInstancePriority? `D.toC) -- some 100

One solution here could be to add the ability to give classes themselves a priority too, and then for two instances of the same priority, we additionally say that a projection is of a higher priority if it is for a higher-priority class (let's say non-projections come first in this ordering). The structure.strictResolutionOrder could take these class priorities into account, and this would help with the large project of getting all of Mathlib's classes into a coherent order.


Chapter 2 - Installing WSL

Hi @stuartleeks  I'm setting up WSL in a new machine and during the process I have found a important step missing at your instructions on installing WSL which is enabling virtualization at the bios.
I complete forgot about it when setting up the bios and I noticed it when I was trying to launch my distro and faced this message.
Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x80370102
Error: 0x80370102 The virtual machine could not be started because a required feature is not installed.

Press any key to continue...

This is when I did realize that I haven't enabled the Virtualization at the bios.

Hi @ViniciusSouza - good point, I'll make a note for any future revision. Thanks for flagging!


CosmosSkip: Enable rev-api plugin on Cosmos SDK v4

Currently maven rev-api plugins are skipped on Cosmos SDK v4: Need to enable them.

  <plugin>
    <groupId>org.revapi</groupId>
    <artifactId>revapi-maven-plugin</artifactId>
    <version>0.11.2</version> <!-- {x-version-update;org.revapi:revapi-maven-plugin;external_dependency} -->
    <configuration>
      <skip>true</skip>
    </configuration>
  </plugin>

This has been done, closing it.


fix f-string syntax error in code generation

I've fixed a bug that caused an f-string syntax error in the template compilation when a template, that imports a macro, contains curly braces in its name. The bug was caused by the code-generation of an f-string in which the template name is inserted, and when the template name contains curly braces and the generated code gets executed, Python treats the curly braces as f-string braces. I've changed the code-generation to construct the string differently, such that the affected substring is not an f-string. Instead, the different substrings are concatenated using the + operator.

fixes #1792

Checklist:

[x] Add tests that demonstrate the correct behavior of the change. Tests should fail without the change.
[ ] Add or update relevant docs, in the docs folder and in code.
[x] Add an entry in CHANGES.rst summarizing the change and linking to the issue.
[ ] Add .. versionchanged:: entries in any relevant code docs.
[x] Run pre-commit hooks and fix any issues.
[x] Run pytest and tox, no tests failed.

I've rebased this PR onto the latest state of the 3.1.x branch. All tests are passing except pre-commit.ci - pr, but the reported errors originate from 3.1.x and weren't introduced by this PR.
@davidism (or any other maintainer) – may ask you for a review? :pray:

I've performed another rebase onto the latest state of the 3.1.x branch. All tests are passing now.

I've refactored the fix so that the curly braces are escaped rather than trying to keep track of nested quote levels and string concatenation. I also fixed the test, as it didn't seem to trigger an error regardless of the fix.


Revert "[SPARK-38550][SQL][CORE] Use a disk-based store to save more debug information for live UI"

What changes were proposed in this pull request?

Revert https://github.com/apache/spark/commit/4274fb8806c25519cac829d00b01132fe08c0cac
Why are the changes needed?

I am starting a new project for storing live UI data in disk-based KVStore for higher UI retentions(e.g. storing more than 1000 SQL queries in live UI).
The new approach will be better than https://github.com/apache/spark/commit/4274fb8806c25519cac829d00b01132fe08c0cac . The new configurations and listeners won't be needed. ThusI am having a revert before starting my project.
Does this PR introduce any user-facing change?

No, it is not released yet.
How was this patch tested?

CI tests

Do we have a prototype for the new approach ? Before we revert, would be good to understand what is replacing it

@mridulm There is no full prototype. I will send out a PR very soon.
I did some benchmarks, it showed using Protobuf as serialization can speed up the read/write 3~4 times compared to the current implementation. Thus, we can use RocksDB as the storage layer, similar to the current InMemoryStore.
I have to revert this one for removing the duplicated diskStore in https://github.com/apache/spark/commit/4274fb8806c25519cac829d00b01132fe08c0cac#diff-0cd94c36f45f50f513aeda6504fda0545270b05e105191131b601eb12b8a656bR42

Hi, @gengliangwang . You can make a PR with two commits (this reverting and your PR).
Since this is for Apache Spark 3.4, we have enough time. Let's not hurry to merge this as @mridulm advised.

@dongjoon-hyun sure, no problem

@mridulm There is no full prototype. I will send out a PR soon. I did some benchmarks, it showed using Protobuf as serialization can speed up the read/write 3~4 times compared to the current implementation. Thus, we can use RocksDB as the storage layer, similar to the current InMemoryStore. I have to revert this one for removing the duplicated diskStore in 4274fb8#diff-0cd94c36f45f50f513aeda6504fda0545270b05e105191131b601eb12b8a656bR42

@gengliangwang Have you compared Protobuf and Flatbuffers? From the official benchmark data, Flatbuffers may have better performance.
http://google.github.io/flatbuffers/flatbuffers_benchmarks.html

@LuciferYang I didn't check that. Protobuf is mature(Spark Connect is also using Protobuf), and the result is good enough.

@LuciferYang I didn't check that. Protobuf is mature(Spark Connect is also using Protobuf), and the result is good enough.

Got it

FYI I have created https://github.com/apache/spark/pull/38567, which contains the reverting changes in this one.
Merging the revert of this one can make the review a lot easier.

Since both @linhongliu-db and @cloud-fan agreed on the revert, I will merge this one to make the review of https://github.com/apache/spark/pull/38567 a lot easier.


GEODE-3502: Added awaitility clauses.

* Added awaitility clauses while waiting for the stat comparison checks
* Replaced the deprecated Wait Criterion with Awaitility clause with increased timeout
* Replaced the invokeAsync with invoke to make the test identical to the one in ClientHealthStatsDUnitTest
* Removed the commented out flaky tag

Thank you for submitting a contribution to Apache Geode.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[x] Is there a JIRA ticket associated with this PR? Is it referenced in the commit message?

[x] Has your PR been rebased against the latest commit within the target branch (typically develop)?

[x] Is your initial contribution a single, squashed commit?

[x] Does gradlew build run cleanly?

[x] Have you written or updated unit tests to verify your changes?

[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and
submit an update to your PR as soon as possible. If you need help, please send an
email to<EMAIL_ADDRESS>

@ladyVader @jhuynh1 @upthewaterspout @boglesby
-- Potential reviewers.


Go extension: support logging in Go plugin

Title: support logging in Go plugin
Description:

support logging in go plugin, such as:

add a Log API to FilterCallbacks interface
type LogType int
// refer https://github.com/envoyproxy/envoy/blob/main/source/common/common/base_logger.h
const (
       Trace       LogType = 0
       Debug       LogType = 1
       Info        LogType = 2
       Warn        LogType = 3
       Error       LogType = 4
       Critical    LogType = 5
)

type FilterCallbacks interface {
        …… ……
        // Log writes message to the http logger during request processes.
        // we are also consider adding global api MiscLog to write the misc logger
        // during non-request processes in the future.
	Log(level LogType, msg string)
}

then it can be used in Go plugin
func (f *filter) EncodeXXX() api.StatusType {
        // more log level
        f.callbacks.Log(type.Trace, "xxxx")
        f.callbacks.Log(type.Debug, "xxxx")
        f.callbacks.Log(type.Info, "xxxx")
	return api.Continue
}
func (f *filter) DecodeXXX() api.StatusType {
        // more log level
        f.callbacks.Log(type.Trace, "xxxx")
	return api.Continue
}

/milestone 48

/assign @wangfakang

It's has been supported by https://github.com/envoyproxy/envoy/pull/26253, so close it now.


Widget does not display

Describe the bug
When running the example code, the canvas is blank.
To Reproduce
Steps to reproduce the behavior:

follow the installation instructions here: https://github.com/niivue/ipyniivue#installation
run the example notebook.

Expected behavior
Normal NiiVue display: The NiiVue instance should attach to the canvas that is created in the cell.
Screenshots

A blank canvas is created.

This commit https://github.com/niivue/ipyniivue/commit/30684fcb12fa034531c64770572165e45aa9a23b should fix this issue. However, I'm going to wait until the widget has been tested on a few other computers before I close this issue.

fixed


Remove unused HDFS repository setting 'concurrent_streams'

Summary of the changes / Why this improves CrateDB
Checklist

[x] User relevant changes are recorded in CHANGES.txt
[ ] Touched code is covered by tests
[x] Documentation has been updated if necessary
[x] CLA is signed
[x] This does not contain breaking changes, or if it does:

It is released within a major release
It is recorded in CHANGES.txt
It was marked as deprecated in an earlier release if possible
You've thought about the consequences and other components are adapted
(E.g. AdminUI)

Can you elaborate on how it currently behaves? If it is simply ignored we can't just remove it, as it would be a breaking change

This setting is completely ignored - there is no code setting/reading this setting in the plugin (or anywhere else afaik)
you're are right though that this is a breaking change - I'll update


Add support for arm64 (draft)

Addresses partially https://github.com/longhorn/longhorn/issues/6 by adding support for arm64 (armhf not supported).
Possibly due to some race conditions integration tests were initially failing, which was resolved by introducing sleep at the problematic places. This is clearly a workaround and a cleaner solution would be needed.
With some small changes in longhorn-manager and longhorn-ui, I was able to deploy longhorn on k3s cluster of 4 Raspberry Pi 4s and, as far as I can tell, it seems to be functioning properly.
PRs for longhorn-manager and longhorn-ui are coming up.

Closing in favor of https://github.com/longhorn/longhorn-engine/pull/514 where all commits are signed off.


Add a link checker to verify links in install docker repo are pointing to the latest version of the script

Description:
Add a link checker to the CI setup in the install-docker repo, to check if the link created in the /dist directory is always pointing to the latest version available for that particular docker version.
For example: 20.10.sh link should always point to the latest version of 20.10.xx.sh script present in the /dist directory.

PR merged, feel free to close @mitulshah-suse (@rishabhmsra - please handle while Mitul out)

Closing this since PR is merged and validation is running fine.


Correcting typos

this code worked on my computer!

Thanks for your PR.
Others are good. But I believe it should be "traverse", why do you rename it to "transverse"?

this code worked on my computer!

Hi @caugcosta Can you please help me in running the code?


[BUILD] Pick Commons-Logging dependence out of Hudi-Common

Why are the changes needed?

        <dependency>
            <groupId>org.apache.hadoop</groupId>
            <artifactId>hadoop-client-minicluster</artifactId>
            <scope>test</scope>
        </dependency>

hadoop-client-minicluster need commons-logging dependence. Now it works because hudi-spark-common include this dependency.
We extract it to better manage dependencies.
How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[x] Run test locally before make a pull request

Codecov Report

Merging #2246 (ff306b3) into master (ea0121b) will decrease coverage by 0.01%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #2246      +/-   ##
============================================
- Coverage     61.92%   61.91%   -0.02%
  Complexity       69       69
============================================
  Files           331      331
  Lines         16051    16051
  Branches       2036     2036
============================================
- Hits           9940     9938       -2
- Misses         5282     5284       +2
  Partials        829      829

Impacted Files
Coverage Δ

...org/apache/kyuubi/ha/client/ServiceDiscovery.scala
89.28% <0.00%> (-3.58%)
:arrow_down:

Continue to review full report at Codecov.

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

org.slf4j:jcl-over-slf4j is a drop-in replacement of commons-logging, please use the former.

+1 with @pan3793

@pan3793 I check https://www.slf4j.org/faq.html#excludingJCL found that provides two methods to exclude commons - logging, I prefer to the second, what do you think?

@pan3793 I check https://www.slf4j.org/faq.html#excludingJCL found that provides two methods to exclude commons - logging, I prefer to the second, what do you think?

Your change does not implement option 2, it still in test scope.
Personally I prefer option 1, because we don't need to declare versions for un-used deps.

@pan3793 I do as you said and found that this class  was missing org.apache.commons.logging.impl.Log4JLogger

I see what happens, it access the Log4JLogger directly, let's remove the exclusion from the hadoop-client-runtime in root pom

Thanks, merging.


Please remove gnome dependencies such as gconf and gvfs.

VSCode Version: 1.18
OS Version: Archlinux

Steps to Reproduce:
gconf or gvfs are gnome specific and heavy, and gconf setting entries are hard to clean after package removal. Please just remove gnome dependencies, for people who just want to use lightweight desktop environment, e.g. openbox/LXDE/etc..

Reproduces without extensions: Yes

I'm not sure where we list these dependencies... but afaik we don't have an official Arch package.

Can you collaborate with them? This is the AUR package - https://aur.archlinux.org/packages/visual-studio-code/

I'm the maintainer of the Arch package. This is a packaging concern and this issue shouldn't have been opened here. We can close this.


How to read UART printf ?

Hi, I used to use noneos framework. I usually call USART_Printf_Init(9600) at the beginning of setup function before I start writing my debug message via printf. However, ch32v003fun framework doesn't support USART_Printf_Init(9600) function so I have removed this function in my main.c. I ran the debugprintfdemo example but don't get any signal on TX line. How can I still use TX line for UART printf? Simply doing printf obviously doesn't work on ch32v003fun for me.

@hientv1999 debugprintf uses the debug port for printf, not uart. Check the uart examples and look for FUNCONF_USE_UARTPRINTF.

Can you please explain what is debug port? Is it the SWIO pin? If yes, how can I read the printf result?

Can you please explain what is debug port? Is it the SWIO pin? If yes, how can I read the printf result? It would be great if I can free up the TX pin and use SWIO for printf

https://github.com/cnlohr/ch32v003fun/blob/bbad78a904a952a04e9edbd13863f8b0331a26fd/examples/debugprintfdemo/debugprintfdemo.c#L1-L2

Can you please explain what is debug port? Is it the SWIO pin? If yes, how can I read the printf result? It would be great if I can free up the TX pin and use SWIO for printf

https://github.com/cnlohr/ch32v003fun/blob/bbad78a904a952a04e9edbd13863f8b0331a26fd/examples/debugprintfdemo/debugprintfdemo.c#L1-L2

I already know this example code and compile but I see no output result.

Can you please explain what is debug port? Is it the SWIO pin? If yes, how can I read the printf result? It would be great if I can free up the TX pin and use SWIO for printf

https://github.com/cnlohr/ch32v003fun/blob/bbad78a904a952a04e9edbd13863f8b0331a26fd/examples/debugprintfdemo/debugprintfdemo.c#L1-L2

I already know this example code and compile but I see no output result.

You asked if it was using SWIO and I was confirming that it is.

Any use?

https://github.com/cnlohr/ch32v003fun/issues/334#issuecomment-2212480952

To read the debug prints you can just use minichlink -T which can also most easily be called with make terminal with the ch32v003fun makefile


Module not found: Error: Can't resolve 'tailwindcss/plugin'  (with possible fix)

Reproduction
https://github.com/formkit/formkit/
Describe the bug
While trying to use the TailwindCSS plugin, I got this error:
ERROR in<EMAIL_ADDRESS>1:0-40 Module not found: Error: Can't resolve 'tailwindcss/plugin' in '/node_modules/@formkit/tailwindcss/dist' Did you mean 'plugin.js'? BREAKING CHANGE: The request 'tailwindcss/plugin' failed to resolve only because it was resolved as fully specified (probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"'). The extension in the request is mandatory for it to be fully specified. Add the extension to the request.
Package.json contents:
"devDependencies": {
"autoprefixer": "^10.4.2",
"axios": "^0.21.4",
"browser-sync": "^2.27.7",
"browser-sync-webpack-plugin": "^2.3.0",
"laravel-mix": "^6.0.43",
"lodash": "^4.17.19",
"mix-tailwindcss": "^1.3.0",
"resolve-url-loader": "^4.0.0",
"sass": "^1.49.9",
"vue": "^3.2.29",
"vue-loader": "^17.0.0",
"vue-template-compiler": "^2.6.14"
},
"dependencies": {
"@formkit/tailwindcss": "^1.0.0-beta.5",
"@formkit/vue": "^1.0.0-beta.5",
"@fortawesome/fontawesome-free": "^6.0.0",
"@popperjs/core": "^2.11.2",
"@tailwindcss/forms": "^0.4.0",
"@tailwindcss/typography": "^0.5.2",
"browser-sync-webpack-plugin": "^2.3.0",
"chart.js": "^3.7.1",
"chartjs": "^0.3.24",
"postcss": "^8.4.8",
"sass-loader": "^12.6.0",
"tailwindcss": "^3.0.23",
"vue": "^3.2.29",
"vue-axios": "^3.4.1",
"vue-router": "^4.0.12",
"vuex": "^4.0.2"
}
Fix for this was to change
import plugin from 'tailwindcss/plugin';
to
import plugin from 'tailwindcss/plugin.js';
in @formkit/tailwindcss/index.mjs
I hope this helps someone :) Thanks for this great package.
Environment
• OS: Ubuntu 18.03 / Node v16.14.0 / Webpack 5.70.0 / VueJS 3 in combination with Laravel Mix (latest)
• Browser: Chromium / Firefox
• Version: n/a

Thank you for the report @ixperiencenl. I'll look into this.

@ixperiencenl This has been fixed and will ship in beta.6. If you'd like to use it now you can update your @formkit/tailwindcss in your package.json to target next.


[system-probe] Report conntrack ebpf module loading telemetry

What does this PR do?
Report back whether conntrack ebpf module was loaded.
Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

Reviewer's Checklist

[x] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[x] A release note has been added or the changelog/no-changelog label has been applied.
[x] Changed code has automated tests for its functionality.
[x] Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
[x] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the k8s/<min-version> label, indicating the lowest Kubernetes version compatible with this feature.
[ ] If applicable, the config template has been updated.

Do we nee to include QA here (make sure the metric is emitted correctly?)


Swagup/ios deployment target as argumentv2

@swasti29 Can we close this PR if it is similar to #1086 ?

closing, please reopen if this is still valid PR.


Add 'az login' link to the top of the sign in page.

:x: Validation status: errors

File
Status
Preview URL
Details

:x:Error

Details

[Error] Cannot sync git repo to specified state. Please make sure the pull request is mergeable. Details: Git merge results in conflict, repository remote url: https://github.com/Azure/azure-docs-cli-python, working directory: W:\umuy-s, target branch: master, target branch commit: 4acaaad0f29bba801a8965c3a3dbbf35ed7e16c8, source branch: 9b34e91c76bb0321fdf36ed7a1369c3c/signin/login-link, source branch commit: .
Learn more: https://help.github.com/articles/resolving-a-merge-conflict-using-the-command-line/

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/authenticate-azure-cli.md
:white_check_mark:Succeeded
View (azure-cli-latest) View (azure-cli-2017-03-09-profile) View (azure-cli-2018-03-01-hybrid)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


model.generate() with inputs_embeds

Hi! A very easy-to-use library.
When I call model.generate(inputs_embeds=...) with inputs_embeds instead of input_ids, it does not seem to have been implemented.
*** ValueError: You passed `inputs_embeds` to `.generate()`, but the model class TensorParallelPreTrainedModel doesn't have its forwarding implemented. See the GPT2 implementation for an example (https://github.com/huggingface/transformers/pull/21405), and feel free to open a PR with it!

Can we have this feature? Thank you!

It looks like transformers relies of forward pass signature inspection to determine whether it's okay to use inputs_embeds. Since TensorParallelPreTrainedModel's forward's signature is (self, *args, **kwargs), it becomes a false negative. I'll try and think of a workaround.
has_inputs_embeds_forwarding = "inputs_embeds" in set(
    inspect.signature(self.prepare_inputs_for_generation).parameters.keys()
)

Working on it in #113

It works like a charm. Many thanks!


Chart (excluding labels) width percentage

On big screen i have this:

But, because there are a lot of labels, when small screen the result is:

I wish i could select the percentage of the width, to 50, 60, 70 to have something like this

Also, if there already is an option to make this, i'd be so thankfull if anyone tell me.

You can use the aspectRatio option.

@buutqn  can you explain the difference between the current version and the required


Add DiagnosticSource activities.

DO NOT MERGE
This is how teh Activites look with the new ActivitySource. The output with OpenTelemetry and the Splunk Exporter would look like this:
2020-11-30 08:49:01.203 TRACE Telemetry.Activity.Stop trace_id=00-39e0335197bfa949b5e331f5ad46cc6c-9adc9a17abaf6843-01 trace_span_id=9adc9a17abaf6843 trace_parent_span_id=876e86b75e72ae43 trace_operation_name="my.message.endpoint send" source_name=Silverback.Messaging.Producer trace_starttime=2020-11-30T08:49:01.2033437Z duration=00:00:00.0105702 trace_tag_messaging.operation=send trace_tag_messaging.destination=my.message.endpoint

2020-11-30 08:49:00.887 TRACE Telemetry.Activity.Stop trace_id=00-39e0335197bfa949b5e331f5ad46cc6c-876e86b75e72ae43-01 trace_span_id=876e86b75e72ae43 trace_parent_span_id=5b119bb15fa15f47 trace_operation_name="my.message.endpoint receive" source_name=Silverback.Messaging.Consumer trace_starttime=2020-11-30T08:49:00.8873029Z duration=00:00:00.4490461 trace_tag_messaging.operation=receive trace_tag_messaging.destination=my.message.endpoint

OpenTelemetry Conventions for Messaging: https://github.com/open-telemetry/opentelemetry-specification/blob/master/specification/trace/semantic_conventions/messaging.md
The OT Conventions allow for distinguishing receiving of the message and processing it (two different spans). Could/Should we do this as well?
See also https://github.com/open-telemetry/opentelemetry-specification/blob/master/specification/trace/semantic_conventions/messaging.md#apache-kafka-example
@msallin : This is the initial PR for the new activities.

This change is

@mjeanrichard I re-read through the code and added a few comments about code style, as information. It can still be merged.


feat(authorizenet): add driver error code enum

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/graycoreio/daffodil/blob/master/CONTRIBUTING.md#commit
[ ] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the new behavior?

Adds an enum for driver error codes
Fixes an incorrectly mapped driver error (invalid CC number)

Does this PR introduce a breaking change?
[ ] Yes
[x] No

Other information

bump


Wire up resync blockchain button

Still need to add the button which resyncs the blockchain. Or in the case of a server based wallet it just triggers the wallet to call the server to update the state.
Ideally it would be one button per coin. And you'd call it by /wallet/resyncblockchain/ltc

This was moved to the top right corner of the transactions list in the Wallet for each coin. There is a resync link.
(FWIW, we're still only allowing 1 resync per hour, like in the SPV days. This probably isn't necessary for the API version, but the client is not aware whether a coin is SPV or API based)


Azure Batch Commandlets should accept both ISO and timedelta str representations

Azure batch commands should accept both ISO8601 and timedelta str formats as input for commands
See #3633

Hello? Can we have an update here, please?

Resolving as now there is a KPI tracking customer issues and this was solely meant as a feature/tracking issue


.KSplat Color issue with spherical harmonic

While rendering my scene with .ksplat with 0 sphericalHarmonicsDegree, it worked well:
        const viewer = new GaussianSplats3D.DropInViewer({
            sharedMemoryForWorkers: false,
            showLoadingUI: true,
            format: GaussianSplats3D.SceneFormat.KSplat,
            sphericalHarmonicsDegree: 0
        });

But when I change the sphericalHarmonicsDegree to 1 or 2, the color seems to be broken:

Out of curiosity, how many splats are in your scene?

Only 1 splat.
The broken color issue happens on .ply as well, but only when sh_degree is 1 (0 or 2 is fine). My model is trained from splatfacto-w (https://docs.nerf.studio/nerfology/methods/splatw.html) not sure if this the reason?

Sorry let me rephrase, how many individual splat "blobs" are in your scene? If you press the 'I" key, you'll bring up an info panel that will give you that info:

Also - is there a python script to convert ply to ksplat? I think it can help a lot of folk's workflow. I can create a PR if needed

If you want to send me your .ksplat or .ply file, I can tell you how many splats it has. My suspicion is that it has a large number, which can cause issues because there's not enough memory to store spherical harmonics data.
You could also load it in the online viewer here: https://projects.markkellogg.org/threejs/demo_gaussian_splats_3d.php and if you press 'I' in that viewer, it should bring up the info panel.

Below is the info panel. The weird thing is the broken color seems only happens at sh_degree=1 for this KSplat. 0 and 2 are fine

I have another model have the same issue when sh_degree is 1 in viewer

That is pretty weird, would you mind sharing your .ply or .ksplat file and I can try to debug?

Thank you! Not sure why this link download .ttf format, but I can reproduce the error when I change it to .ksplat
https://forreal.blob.core.windows.net/forreal-model/0/splat-w-office.ksplat?sv=2023-01-03&st=2024-11-22T16%3A33%3A19Z&se=2024-11-23T16%3A33%3A19Z&sr=b&sp=r&sig=YVWvuRTBzwTA4UgOh%2BPyn5UQ9sKhU8EC01dmI4idyr4%3D

Would you also be able to share your original .ply as well? And do you know how many SH degrees should be present in the file?


feat(types): improve typing of .evaluate()

This is the start of the work to take the types from the
@types/puppeteer repository and port them into our repo so we can ship
our built-in types out the box.
This change types the evaluate function properly. It takes a generic
type which is the type of the function you're passing, and the arguments
and the return that you get back from the evaluate call are typed
correctly.

@marvinhagemeister would you mind having a look if you have time, please? There's much more to do with the types but this is the first step. I'm open to any suggestions or changes to the types you'd like to make.

(The build will fail until the docs are updated but I'm going to do that just before merging to keep the diff clean in the interim)

It would be sure nice to not remove credits. Probably hard to do on a file by file bases. Maybe a small section on the README that acknowledges that the types are taken from DT and mentions the authors is a way to do that globally?

I like this idea - very keen to acknowledge all the work that has gone in thus far. @mathiasbynens wdyt?

It would be sure nice to not remove credits. Probably hard to do on a file by file bases. Maybe a small section on the README that acknowledges that the types are taken from DT and mentions the authors is a way to do that globally?

I like this idea - very keen to acknowledge all the work that has gone in thus far. @mathiasbynens wdyt?

👍  Sounds good.


My startup is hiring nocode programmers

It pays nomoney. Does anyone want to apply?

I would guess @noone and @nobody might be interested, give them a ping.

whiteboard might be tough, but I'm up for a challenge. I did not apply.

Check your inbox -- I didn't submit my application.


Support PHP 5.5 to PHP 7

This change adds support for PHP 7 (fixes #7). Allows the installation with PHP 7, fixes the corresponding build and disallows the PHP 7 builds to fail.
For simplicity, the support for the outdated PHP versions 5.3 and 5.4 has been dropped. This will allow further optimizations in the future.

Seems as if the format() error check (https://github.com/webfactory/icu-translation-bundle/blob/master/Translator/Formatting/IntlFormatter.php#L40) is not invoked. To be honest, I have no idea how to provoke such an error for PHP versions starting with 5.5.
This is a minor issue that can be investigated later.