rpc cleanup

Signed-off-by: FUJITA Tomonori<EMAIL_ADDRESS>

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@3dc23d3). Click here to learn what that means.
The diff coverage is 2.12%.

@@            Coverage Diff            @@
##             master      #68   +/-   ##
=========================================
  Coverage          ?   33.52%
=========================================
  Files             ?       58
  Lines             ?    27666
  Branches          ?        0
=========================================
  Hits              ?     9274
  Misses            ?    17422
  Partials          ?      970

Impacted Files
Coverage Δ

cmd/gobgp/cmd/bmp.go
0% <0%> (ø)

cmd/gobgp/cmd/monitor.go
0% <0%> (ø)

cmd/gobgp/cmd/root.go
0% <0%> (ø)

cmd/gobgp/cmd/neighbor.go
0% <0%> (ø)

cmd/gobgp/cmd/vrf.go
0% <0%> (ø)

cmd/gobgp/cmd/global.go
10.69% <0%> (ø)

cmd/gobgp/cmd/policy.go
0% <0%> (ø)

cmd/gobgp/cmd/mrt.go
0% <0%> (ø)

pkg/server/grpc_server.go
0% <0%> (ø)

cmd/gobgp/cmd/rpki.go
14.63% <18.51%> (ø)

... and 1 more

Continue to review full report at Codecov.

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


Feature/upgrade svelte

Codecov Report

Merging #152 (7ba8c47) into main (9e469d2) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #152   +/-   ##
=======================================
  Coverage   88.43%   88.43%
=======================================
  Files          76       76
  Lines        3961     3961
  Branches      590      590
=======================================
  Hits         3503     3503
  Misses        433      433
  Partials       25       25

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


WSL: Include are not detected

Basic informations

OS: [WSL] Ubuntu 20.04
VSCode version: Latest
Extension version: Latest

Further Information

The extension can't find the location of the include running inside a WSL environnement.
A solution can be a settings to add a settings for let user indicate the include path.
To Reproduce
You can install WSL with ubuntu 20.04 and follow this as exemple.

Code to reproduce the behaviour

Happen on every plugins, here is just an exemple
Expected behaviour
Find and apply the include path.

Error messages
$onExtensionRuntimeError(extensionId: ExtensionIdentifier, data: SerializedError): void {
		const error = new Error();
		error.name = data.name;
		error.message = data.message;
		error.stack = data.stack;
		this._internalExtensionService._onExtensionRuntimeError(extensionId, error);
		console.error(`[${extensionId.value}]${error.message}`);
		console.error(error.stack);
	}

https://pastebin.com/rrAApEPr

Thanks for reporting this, I haven't tested the extension on wsl much
I am actively developing this branch, which hopefully will fix the issue: https://github.com/Sarrus1/sourcepawn-vscode/tree/feat/salsa


Minimum iOS Version is unacceptable

Having the iOS App require Version 13.5 of iOS is unacceptable People still have old phones.
The Corona Virus is a Global Pandemic and not everyone has an iPhone 6s or later some people are still running on iPhone 5. I'm using an iPhone 6 which can't update past iOS 12. And it can't be that people without the latest iPhone aren't allowed to be healthy.
As a developer myself I know that downgrading the iOS SDK isn't as easy as 1-2-3 but please, do it for the people in need. Having such high System Requirements only leads to bad / hacky forks and old code bases.

Regards,
Alina / Veemyu

Hi Alina.
As this project uses the exposure notification API by Apple, there is no way from a developer standpoint to influence the minimum requirements. The Exposure notification framework is only part of iOS versions 13.5 and newer. As long as this project sticks to using the API which I highly recommended, Apple has to make it available for older versions.
But iOS 13.5 is available for devices back to the iPhone 6 (launched in 2014) and iPhone SE.

As a developer myself I know that downgrading the iOS SDK isn't as easy as 1-2-3

The main problem is not necessarily the framework; but rather that the application relies upon the notification framework provided for by Apple which the company decided to only make available in iOS 13.5. This is necessary because some form of central exchange for the random UUIDs (what's called "random ID" are UUIDs, am I right?) is necessary, and this has been implemented by Apple (and Google), but the official app is unable to influence this. But you are indeed right, and backports should be made available. But therefore we'd need public pressure on both Apple and Google to backport that feature to older versions of their operating systems.
More info here: https://developer.apple.com/documentation/exposurenotification

The correct answer was already given by @nathanlesage. Thanks for that. We are closing this issue...
Mit freundlichen Grüßen/Best regards,
SW
Corona Warn-App Open Source Team

How Do we put pressure on Apple and Google then? Isn't this "feature" going to put people who can't afford new phones in an even further disadvantage, than they already are?

Exactly what I was thinking. Maybe change.org can help


feat: match button to related plugin

Still an issue with badge but will be fixed upstream on shuriken-ui/tailwind


Documentation for alitv.pl

Adds the documentation for alitv.pl including the description of the YML file.
Fixes #41

Coverage remained the same at 98.256% when pulling b5b97e51abbb8743d88585a74a2c5cbc88f809ea on hotfix/yml-documentation into 2b170664de40a83ec4017802bd6d08f23f9118bf on master.

Coverage remained the same at 98.256% when pulling 3699e506ead4f05aaf151f70c6b7814ba83fcb44 on hotfix/yml-documentation into 2b170664de40a83ec4017802bd6d08f23f9118bf on master.

Approved


Reworked language handling

Reworked the handling of languages and symbol loading.
Also improved the error messages with more clarity for ambiguous characters.

I will close this as it was based on the wrong aproach.
I will howerver resubmit the parts that made sense


🐛 Charging / not charging does not seem to work

Is your feature request related to a problem? Please describe.
First of all, thank you for creating the HA / explorer integration and for sharing it with the rest of us. You are awesome for doing that.
This is more of a bug-repport I guess, but the only option I get when opening a new issue is to make a feature request.
It appears the Charging / not_charging sensor for xplorer doesn't work. Using it triggers an error that looks like this:

Notice that the sensor is also named differently than the others suggesting that something might be broken.
Hacs, HA and the plugin code are all updated to latest versions.
Describe the feature you want
I'd like the charging / not charting states to be usable as automation triggers.
Additional context
No response

@MartinVinter https://github.com/home-assistant/core/issues/93317


ARROW-640: [Python] Implement hash and equality for Array scalar values Arrow scalar values

Just realized I should add a second assert to test_int_array_to_set that assets the set is {1,2} showing that the array has been made unique along with the fact that an Arrow int array can be turned into a Python set now. I'll make this update later today and watch for any other comments or suggested changes.

I just want to point out that the way we are interacting with scalar values in Python is not intended necessarily as the long term solution for the project. There's been some discussion in JIRA about adding some kind of C++-level scalar object model. So I'd just like to throw that out there as food for thought

Is there a ticket separate from Arrow 47 with details around that? I'd like to watch the conversation and considerations around it.

@pitrou any other feedback or comments on this?


Invalid characters in URL

Bug description
Portainer uses invalid square bracket characters in a URL for an API requests
Expected behavior
Used URL characters should be encoded and confirm to RFC 7230 and RFC 3986
Steps to reproduce the issue:

Go to any environment
Go to 'Stacks'
Click on any stack, while logging requests made to the browsers console
Check requests from the browser console.
Two requests are made to the endpoint /portainer/api/endpoints/2/docker/containers/json.
The first request URL has all characters except square brackets encoded as per RFC 7230 and RFC 3986.
The second request URL has all characters encoded as expected.
Both requests have the same parameters, except for the encoding and the first request has the value for the parameter 'all' expressed as 'true' where as in the second one it is expressed as '1'.

Technical details:

Portainer version: 2.16.0
Docker version (managed by Portainer):  Server Version: 20.10.8
Kubernetes version (managed by Portainer): N/A
Platform (windows/linux): Linux
Command used to start Portainer: docker run -d -p 9443:9443 -p 8000:8000 -v /var/run/docker.sock:/var/run/docker.sock portainer/portainer-ce -H tcp://agent:9001 --tlsskipverify
Browser: Firefox, Chrome, Edge
Use Case: Using Portainer in a Commercial setup
Have you reviewed our technical documentation and knowledge base?: Yes

Additional context
Example URLs for the two requests in question
http://REDACTED_IP/portainer/api/endpoints/2/docker/containers/json?all=true&filters=%7B%22label%22:[%22com.docker.compose.project%3DREDACTED_LABEL%22]%7D
http://REDACTED_IP/portainer/api/endpoints/2/docker/containers/json?all=1&filters=%7B%22label%22:%5B%22com.docker.compose.project%3DREDACTED_LABEL%22%5D%7D

@TuomasAndritz
Thank you for the information.  I am going to further investigate.  I will update you as I learn more.
Thanks!

Internal Ref: EE-5496


Realsense startup failed

Realsense camera cannot start on Windows10.
The realsense camera was recognized in the system, but failed in pipeline.start (), and no errors were reported.
Why is that?

Hi @git-SteamedBun  Could you check whether access to the camera is set to On in the camera section of the Windows privacy settings using the instructions in the link below please?  Thanks!
https://github.com/IntelRealSense/librealsense/issues/3381#issuecomment-503424789

Yes, my camera permissions are on, and the same problem occurred when I used IntelRealsense-Viewer.exe. I couldn't open the interface.
Is it because I don't have his operating environment on my computer?

If you have problems launching the RealSense Viewer or it freezes after launch, could you update the graphics drivers on your computer please to make sure that the OpenGL graphics drivers are up to date (because the RealSense Viewer and the Depth Quality Tool programs rely on OpenGL).

After my graphics card driver update, realsense Viewer still won't start. I found that, realsense Viewer can start when I don't connect the camera, so I used VS to build the realsense environment to start the camera. I found that the function pipeline.start () would get stuck, causing the program to crash. How to solve this?

If you have installed the full 802 mb RealSense SDK for Windows 10 from the SDK's Releases page, could you right-click on the RealSense Viewer launch shortcut icon on the Windows desktop and select the drop-down menu option Open file location.
This will open the SDK's Tools folder.   Please double-leftclick on a file called rs-capture in the Tools folder to launch it.  If this rs-capture example runs successfully then it will suggest that the problem is related to the RealSense Viewer specifically.

I did the test in the way you said, but it failed. I think there may be something wrong with my win10 system. I'm going to change my computer or reinstall the system to test it.
Thank you very much for your reply.

I look forward to your next test results.  Good luck!

https://github.com/IntelRealSense/librealsense/issues/6331#issuecomment-621650746

I am not sure of the reason for linking to that comment.  Can you explain more please?  Thank you.

Yes, I want to know how to get the original IR image without reducing the access to depth information.

Thank you for the information.  If you do not want to change the Laser Power setting or turn the IR emitter off then you can remove the IR pattern using the Visual Preset configuration called Left Imager Color w/o IR Pattern on the D415 model.  It will also be available for the D455 camera model in an upcoming firmware version.
https://dev.intelrealsense.com/docs/d400-series-visual-presets#section-preset-table
Using Left Imager Color w/o IR Pattern does not always work, and it did not work in a test with a D415 that I just performed.   In this situation, there is an alternative confiuration file to try:
https://github.com/IntelRealSense/librealsense/issues/6248#issuecomment-615902296
If that does not work either, my tests found that you can get back some depth detail lost from a turned-off IR emitter by manually reducing the gain value.  This causes the infrared image to become darker though, so it is a balancing act.

OK, thank you very much for your answer.

Hi @git-SteamedBun   Do you still require assistance with this case, please?   Thanks!

No need for now, thank you very much, thank you

Thanks very much for the fast response.   I will close this case now.   Thanks!


python 2.7 and binary operator raise a TypeError when operand are of different type

a = glm.vec4(4.0)
a = a + 2.0
TypeError: unsupported operand type(s) for -: 'glm::detail::tvec4' and 'float',
python 2.7 require Py_TPFLAGS_CHECKTYPES to allow to call numeric method with different types, py3 doesn't need nor define this flag.

Wow. You're my hero.
I've been growing crazy trying to figure out why it didn't work.


[WIP] Swift6 - Complete Concurrency Checking

Addressing: #54
Swift6 - Complete Concurrency Checking
:recycle: Current situation & Problem
Xcode is throwing concurrency warnings for the SpeziLLM, SpeziLLMFog, SpeziLLMLocal, SpeziLLMLocalDownload, and SpeziLLMLocalOpenAI targets because they currently have concurrency concerns.
:gear: Release Notes

Swift 6 - Enabling Complete Concurrency Checking using SwiftPM
Warnings in SpeziLLM and SpeziLLMFog are resolved. For the remaining targets, it would be best to wait until #64 is merged.

:books: Documentation
No additional changes.
:white_check_mark: Testing
No additional changes.
:pencil: Code of Conduct & Contributing Guidelines
By submitting creating this pull request, you agree to follow our Code of Conduct and Contributing Guidelines:

[x] I agree to follow the Code of Conduct and Contributing Guidelines.

@philippzagar - Thanks for the input! This is great 🚀
I'll take care of these two modules.

Ah, I just saw that you opened the PRs already.


[shell] Keep the shell folder clean

Closes: #47
What is the purpose of the change

Did create a new data folder under shell
also did move all .txt files to data folder
Finally update related scripts that use these txt files to use the new location shell/data/.txt

LGTM! Thanks @thesilentline

@all-contributors add @thesilentline as code


Why z1 = 0 in DDPM?

Hello, I used your code for a list of frames, but I found that the inversion and reconstruction of the last frame are very poor. I noticed that in the code, the last item of zs in the inversion_forward_process function is forced to be zero. I don't understand why this operation is used, as it only generates a very blurry image.

Hi, since there is no z between x_1 and x_0, we define it as zeros. I agree that to achieve a perfect reconstruction, especially when the number of steps is small you could (or should) include z_1 as well.


rakpk

Type of issue
Missing information
Description
[ป้อนคำติชมที่นี่]
Page URL
https://learn.microsoft.com/th-th/dotnet/framework/install/on-windows-11#see-also
Content source URL
https://github.com/dotnet/docs/blob/main/docs/framework/install/on-windows-11.md
Document Version Independent Id
00ab7825-3aeb-04c5-ebf6-6166712ce848
Article author
adegeo
Metadata

ID: 4e45b2a9-2466-689a-7e73-0c224ca8e98f
Product: dotnet-framework
Technology: dotnet-install

Hello. It looks like you opened this issue in error. Is there something I can help you with regarding that article?


Report page has all Zeros on ALL (Recursive)

Reporting Page has Zeros on all the indicies.
v4.3.5
PHP 8.2
Did this happen on prior versions to the one you are running (if so what version)?  Not sure when it broke.
To Reproduce
Steps to reproduce the behavior:

Go to 'Reports'
See zeros in stats, but clearly shows items in graph above.

Expected behavior
Expected counts of Meeting searches, Volunteer calls, percent answered.

It doesn't look like Recurse is on.

Recusion was checked...
On Fri, Aug 16, 2024, 5:41 PM Danny Gershman @.***>
wrote:

It doesn't look like Recurse is on.
—
Reply to this email directly, view it on GitHub
https://github.com/bmlt-enabled/yap/issues/1114#issuecomment-2294350635,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACAEIWFDYLJ72DGZMFJTHBDZRZWZPAVCNFSM6AAAAABMMPLIZWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJUGM2TANRTGU
.
You are receiving this because you authored the thread.Message ID:
@.***>

Can you email me your database?
Get Outlook for iOShttps://aka.ms/o0ukef

From: gutterwall @.>
Sent: Friday, August 16, 2024 7:19:06 PM
To: bmlt-enabled/yap @.>
Cc: Danny Gershman @.>; Comment @.>
Subject: Re: [bmlt-enabled/yap] Report page has all Zeros on ALL (Recursive) (Issue #1114)
Recusion was checked...
On Fri, Aug 16, 2024, 5:41 PM Danny Gershman @.***>
wrote:

It doesn't look like Recurse is on.
—
Reply to this email directly, view it on GitHub
https://github.com/bmlt-enabled/yap/issues/1114#issuecomment-2294350635,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACAEIWFDYLJ72DGZMFJTHBDZRZWZPAVCNFSM6AAAAABMMPLIZWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJUGM2TANRTGU
.
You are receiving this because you authored the thread.Message ID:
@.***>

—
Reply to this email directly, view it on GitHubhttps://github.com/bmlt-enabled/yap/issues/1114#issuecomment-2294436653, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAOD3O4IVUNV2GXCJHCATHDZR2CGVAVCNFSM6AAAAABMMPLIZWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJUGQZTMNRVGM.
You are receiving this because you commented.Message ID: @.***>

Fix will be in Yap 4.4.0


how to simulate timout

Hi ：
I have a http url, and  I want to similate the url timeout .for example ,the url is localhost:8888/test, can I use moco similating the /test uri timeout 1second?If it is ok,how to use

What you need is latency api.


feat: #2248 - user agent distinction between scan and barcode search

Impacted files:

barcode_product_query.dart: new parameter isScanned to distinguish scan and barcode search via the user agent comment field
continuous_scan_model.dart: "this IS a scan"
product_dialog_helper.dart: "this is NOT a scan"
product_query.dart: new method to set the user agent comment field

What

Barcode scan and barcode search use the same search URL.
We were asked to distinguish them via the user agent.
The user agent comment will be different, and will be either 'scan' or 'search'.

Fixes bug(s)

Closes: #2248

Codecov Report

Merging #2408 (c3e6f2f) into develop (2ea0da3) will decrease coverage by 1.32%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           develop   #2408      +/-   ##
==========================================
- Coverage     8.86%   7.53%   -1.33%
==========================================
  Files          161     204      +43
  Lines         6623    9751    +3128
==========================================
+ Hits           587     735     +148
- Misses        6036    9016    +2980

Impacted Files
Coverage Δ

...kages/smooth_app/lib/widgets/attribute_button.dart
0.00% <0.00%> (-92.00%)
:arrow_down:

...s/smooth_app/lib/data_models/user_preferences.dart
8.73% <0.00%> (-23.57%)
:arrow_down:

packages/smooth_app/lib/themes/smooth_theme.dart
60.00% <0.00%> (-22.98%)
:arrow_down:

...p/lib/generic_lib/dialogs/smooth_alert_dialog.dart
15.29% <0.00%> (-18.92%)
:arrow_down:

...mooth_app/lib/data_models/product_preferences.dart
24.65% <0.00%> (-6.78%)
:arrow_down:

packages/smooth_app/lib/main.dart
14.40% <0.00%> (-3.49%)
:arrow_down:

.../smooth_app/lib/pages/onboarding/welcome_page.dart
0.00% <0.00%> (-3.13%)
:arrow_down:

.../smooth_app/lib/pages/onboarding/scan_example.dart
0.00% <0.00%> (-2.28%)
:arrow_down:

...p/lib/pages/onboarding/consent_analytics_page.dart
0.00% <0.00%> (-1.57%)
:arrow_down:

...smooth_app/lib/pages/product/new_product_page.dart
0.00% <0.00%> (-0.88%)
:arrow_down:

... and 203 more

Continue to review full report at Codecov.

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


add support for vim-lsp.

Thank you for your vim colorscheme!
I am using vim-lsp as a plugin for LSP.
I added support for vim-lsp. Can you merge it?
coc.nvim was supported, so I applied similar highlighting.

Thanks~


train-penn-lstm.lua crashes after finishing 1st epoch

Running th train-penn-lstm.lua without passing any parameters (processing done on CPU, default parameters) I got the following error right after the first epoch finishes training and validation/test perplexities are computed:
Test set [just indicative, not used for training]...
Test set perplexity =<PHONE_NUMBER>7427

Training Epoch #2
/Users/jfsantos/torch/install/bin/luajit: [string "return function(locals, rlocals, vlocals, Cla..."]:35: attempt to perform arithmetic on local 'p4' (a table value)
stack traceback:
	[string "return function(locals, rlocals, vlocals, Cla..."]:35: in function 'df'
	train-penn-lstm.lua:185: in main chunk
	[C]: in function 'dofile'
	...ntos/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:131: in main chunk
	[C]: at 0x010b42a320

p4 seems to be an automatically generated variable inside the df function, but I have no clue on how I could debug that. Please let me know if I can run any specific tests to help fixing this issue.

@jfsantos I can replicate this, will look into it

Ok, I've reduced that example file to a small test case. It fails for optimize=true, but works for optimize=false.
Optimizations on the graph are not the culprit: commenting out optimizeGraph() had no effect on the error.
cc @luketwitter
Branch: https://github.com/twitter/torch-autograd/tree/lstmTestCase
File: https://github.com/twitter/torch-autograd/blob/lstmTestCase/examples/train-penn-lstm-testCase.lua

@jfsantos Thanks for the report, should be fixed now.

Just a heads-up: the example still breaks in the same place, with the same error message. Maybe there's something else missing?

@luketwitter can confirm. republishing the test case branch.

@jfsantos Definitely seems to be working for me, and I had one more person try it. Can you make sure autograd is being rebuilt properly by doing:
luarocks remove autograd-scm-1.rockspec --force
luarocks make

I was wrong earlier, the test case passes for me, I must not have cleaned my installation. @jfsantos?

Just installed it in another machine and the fix worked. Sorry for the noise!

I am facing the same problem while running train-penn-lstm.lua even before epoch 1 ends. Running with latest pull of auto-grad. Can't move to another machine. Please let me know if any fix for this ?

Have you tried the commands above to force-uninstall autograd and reinstall it?

Hi we recently posted a fix to the torch cat function that was crashing
often with larger LSTMs under autograd. The fix was merged here:
https://github.com/torch/torch7/pull/541
It might fix your crash.
Thanks,
Zak
On Tue, Feb 16, 2016 at 11:21 AM, Alex Wiltschko<EMAIL_ADDRESS>wrote:

Have you tried the commands above to force-uninstall autograd and
reinstall it?
—
Reply to this email directly or view it on GitHub
https://github.com/twitter/torch-autograd/issues/48#issuecomment-184839480
.


Feat/incremental load - Completion of  Batch of Incremental Tests

Completed set for XTS, t-links, eff-sats.
Each test set includes one and two cycle incremental tests into non existent, empty and prepopulated structures, respectively.

Hi @DVAlexHiggs, I'm just investigating the pipeline error now.

Hi @DVAlexHiggs, I'm just investigating the pipeline error now.

Thank you. Looks like a seed configuration error. Run locally and debug.

Hi @DVAlexHiggs, I'm just investigating the pipeline error now.

Thank you. Looks like a seed configuration issue. Run locally and debug.

Yes, Aakash had created a fixture with '+column_types'. I have pushed a change.


dredd image - removed make, gcc, g++

why is python left there?

Because it's my favourite :)
Seriously, I got confused by Python hooks and thought it was a dependency, will remove.


caching and ayncronous fetching zkill data

While PySpy became immediately unusable for locales with 15-20 or more in local may I ask for two enhancements in order to solve it?
First how about caching zkill data for a certain time, let's say an hour or even half a day. This will dramatically reduce the amount of requests to zkill and improve the time to show an analyzed local.
As a second feature may I ask to render the data ansyncronous? Let me explain it from a user perspective to illustrate my idea.
I copy a local, PySpy kicks in and shows immediately the people from the local with a font color with 75% saturation to make them distinguishable from the final view. Then each line is beeing updated from the cache.
Remaining lines are fetched from zkill line by line,
Each line which has been rendered into his final state gets colored with a 100% regardless if served from the cache or from zkill.

Thanks for your feedback @chrRtg.
Regarding the cache:
There already is an internal Cache which currently is not really utilised or even persistent. It should be possible to change it so that PySpy can utilise the cache and also persist the cache over application restarts.
Though a cache alone won't get us back to the original scan times, since if you go hunting for example you will encounter a bunch of new characters in every system, resulting in long scantimes. For defensive scans the cache should be a very big speedup.
As for the asynchronous fetching:
This would be nice to add, might require some more work though.
First we will try to make the built in cache more useful and then see if we can add asynchronous data fetching in a reasonable timeframe.

We have implemented a cache for the zkillboard data. It persists for 12h as it stands and will be available in the next release.

Cache implemented in v0.5.2 #17

Cache is working as intended, thanks for implementing it!
Happy to see ansynchronous fetching soon :)


Questions about "Binary Compatibility between Visual Studio 2015 and Visual Studio 2017"

https://docs.microsoft.com/en-us/cpp/porting/binary-compat-2015-2017?view=vs-2017 says that C++ Binary Compatibility between Visual Studio 2015 and Visual Studio 2017 is guaranteed except:

1)When static libraries or object files are compiled with the /GL compiler switch.

2)When consuming libraries built with a toolset whose version is greater than the toolset used to compile and link the application. For example, a program that is compiled and linked with compiler version 19.12 can consume libraries that are compiled with 19.0 up through 19.12. Also, binary compatibility only exists between Visual Studio 2015 and Visual Studio 2017; linking 19.x programs with libraries produced by Visual Studio 2013 or earlier is not supported.

Exception 2 makes me confused. Why binary compatibility can not be guaranteed in this case?
Let's make it be more specific. Provided a folder which contains a custom exe, a custom dll and part of vc_toolset dlls(v140 or v141). Both the custom exe and the custom dll are linked dynamically to part of vc_toolset dlls which includes CRT dlls, msvcp140.dll, vcruntime140.dll. Besides, /GL option is not enabled.
I list several combinations below. I wonder each one's binary compatibility.
1)exe built by vs2015 + dll built by vs2015 + v140 toolset dlls of vs2015
I think binary compatibility can be guaranteed in this case.
2)exe built by vs2015 + dll built by vs2015 + v141 toolset dlls of vs2017
based on case 1, additionally, toolset dlls were replaced with newer version that's shipped with vs2017.
Also, I think binary compatibility can be guaranteed in this case.
3)exe built by vs2015 + dll rebuilt by vs2017 + v140 toolset dlls of vs2015
base on case 1, the custom dll was rebuilt using vs2017. Then there are two choice:
a) just replace the dll and the exe would not be rebuilt using the new dll's import lib
b) replace the dll and rebuild the exe using the new dll's import lib.
According to the above link's exception 2, binary compatibility can not be guaranteed in a) and b) case. But why ? All the interfaces and dependencies of the custom dll are not changed, and it not rely on v141's new feature.
4)exe built by vs2015 + dll rebuilt by vs2017 + v141 toolset dlls of vs2017
base on case 3, additionally, toolset dlls were replaced with newer version that's shipped with vs2017.
5)exe rebuilt by vs2017 + dll built by vs2015 + v140 toolset dlls of vs2015
base on case 1, the custom exe was rebuilt using vs2017, and linked with the import lib of the custom dll which was previously built by vs2015
According to the above link, I think binary compatibility can be guaranteed in this case.
6)exe rebuilt by vs2017 + dll built by vs2015 + v141 toolset dlls of vs2017
base on case 5, additionally, toolset dlls were replaced with newer version that's shipped with vs2017.
if case 5 and case 2 can be guaranteed, I think it's also guaranteed in this case.
Is my understanding correct?

investigating

@fengsiri thanks for your question and apologies for the delayed response. The topic states the rules correctly. Binary compatibility in this context means VS2017 (and 2019) are backwards compatible.  As stated in this blog post:
"Any binaries built with MSVC v141 toolset will link against the 140 version of the VC Runtime. The VCRedist is only backward compatible, so you will need to redistribute the latest VCRedist 140 available in VS 2017 with your app."
All of your examples except #1 have some sort of forward-compatibility requirement. If you are curious about why any specific scenario is not supported, please post the question on the C++ Developer Community forum.


Change sprockets version dependency

For now there is available sprockets release candidate version, so we can skip version 3 for this and just leave >= 2 version.

Wow, I accidental miss fresh PR https://github.com/jfirebaugh/skim/pull/41 =)


Problem with disk ressource

Somewhere between 0ee80674d823445f83db81af5d37523448d417df (works) and current 5a47ce98325dc41da0c8e1b9dbc368191ad812ac (doesn't work) this happens:
2020-10-25T19:23:28.329+0100 [DEBUG] plugin.terraform-provider-proxmox:
{
   "data":{
      "digest":"fc059a67f860fb6082f84df98e78c72250ae99f7",
      "name":"rancher",
      "ide2":"local-lvm:vm-100-cloudinit,media=cdrom,size=4M",
      "kvm":1,
      "bootdisk":"scsi0",
      "bios":"seabios",
      "smbios1":"uuid=2f019488-973f-43ea-95d5-5c9897f85f7d",
      "net0":"virtio=E6:BF:22:7F:28:2C,bridge=vmbr0,tag=105",
      "agent":"1",
      "serial0":"socket",
      "numa":0,
      "sshkeys":"...",
      "onboot":1,
      "scsi0":"local-lvm:vm-100-disk-0,format=raw,media=disk,size=10444M",
      "memory":2048,
      "sockets":1,
      "vmgenid":"1e35e769-3e3b-4c8c-98b5-6fcc85c74687",
      "cores":1,
      "ipconfig0":"ip=<IP_ADDRESS>/24,gw=<IP_ADDRESS>",
      "scsihw":"virtio-scsi-pci",
      "ciuser":"ubuntu",
      "boot":"cdn",
      "cpu":"host",
      "cipassword":"**********",
      "hotplug":"network,disk,usb"
   }
}
2020-10-25T19:23:28.330+0100 [DEBUG] plugin.terraform-provider-proxmox: 2020/10/25 19:23:28 [ERR] Error writing fields: Invalid address to set: []string{"disk", "1191413557", "media"}
2020/10/25 19:23:28 [DEBUG] proxmox_vm_qemu.rancher: apply errored, but we're indicating that via the Error pointer rather than returning it: Provider produced inconsistent result after apply: When applying changes to proxmox_vm_qemu.rancher, provider "go.25th-floor.com/telmate/proxmox" produced an unexpected new value: Root resource was present, but now absent.

My TF:
resource "proxmox_vm_qemu" "xxx" {
  name        = "xxx"
  target_node = "pve-1"

  clone       = "ubuntu-cloudinit"
  full_clone  = true
  onboot      = true
  agent       = 1

  os_type     = "cloud-init"
  cores       = 1
  sockets     = "1"
  cpu         = "host"
  memory      = 2048
  scsihw      = "virtio-scsi-pci"
  bootdisk    = "scsi0"

  disk {
    id           = 0
    size         = 10
    type         = "scsi"
    storage      = "local-lvm"
    storage_type = "lvmthin"
    #iothread     = true
    #ssd          = true
    #discard      = "on"
    #format       = "raw"
  }

  network {
    id     = 0
    model  = "virtio"
    bridge = "vmbr0"
    tag    = 4711
  }

  # Cloud Init Settings
  ipconfig0 = "ip=<IP_ADDRESS>/24,gw=<IP_ADDRESS>"
  sshkeys = <<EOF
${var.ssh_key}
EOF
}

Does the ubuntu-cloudinit template already have scsi0?

It seems to be caused by 53785d9

I have found a temporary "workaround". Use this fork https://github.com/yukron/terraform-provider-proxmox, and change some of your config from
disk {
  id = 0
  size = 10
  [other stuff here]
}

disk {
  id = 1
  size = 20
  [other stuff here]
}

network {
  id = 0
  [other stuff here]
}

to something like
disk {
  size = "10G"
  [other stuff here]
}

disk {
  size = "20G"
  [other stuff here]
}

network {
  [other stuff here]
}

This should be somewhat indirectly fixed by the time either #225 or #198 get merged.

@Weilbyte thank you very much for the workaround, it works fine 👍

Or temporarily you can use deprecated arguments:
storage = "ceph-storage"
storage_type = "rbd"
disk_gb = "4"
instead of:
disk {
id = 0
size = 10
[other stuff here]
}

@adepretis  I wanted to quickly follow up here and say this should be all set now using the latest copy of the provider available in the terraform registry (https://registry.terraform.io/providers/Telmate/proxmox/latest).  Unless you see further occurrences of this issue, are we good to close this out?

@doransmestad seems to work now, thanks! Documentation should be updated though - in regards to disk and network it's outdated (no more disk.id, network.id e.g. and no more disk.storage_type (as referenced in some docs and accepted by former versions).


[Rendering] Fix SSGI algorithm

@fall2019 adressing your comment: https://github.com/asc-community/MxEngine/pull/78#issuecomment-1627668639
now it looks like this:

I agree that sun light should affect the walls, but I also think that scene behind the columns should still be darken if sun is visible

Lum of the frame feels way better than previous. Btw from the screenshot, seems we lose some shadow quality right now. But I guess it's not related to this pr. Approved.

yeah, maybe shadows are a bit off, I am just working on dirlight shadows PR in parallel


feat: support nic-hotplug to a running pod.

[x] Make sure you have followed Kube-OVN Code Style.

What type of this PR
Examples of user facing changes:

Features

Support hotplug and unhotplug nic to a running pod.
Which issue(s) this PR fixes:
Fixes #2520

Great work, thanks! @xujunjie-cover


Trying to fix firebase login from travis

Coverage remained the same at 48.095% when pulling 7059a81139032e14c26925b8c8586d058e12aaef on bjornreppen:firebase-deploy-please into 330b30a2ce5b238d1ba0f44398b8ffa1fb4a0472 on Artsdatabanken:master.


Addon model-serving requires Kubernetes version < 1.22

Addon model-serving uses Seldon to serving models, and Seldon Core currently only supports the V1 Ambassador APIs: https://docs.seldon.io/projects/seldon-core/en/latest/ingress/ambassador.html
The V1 Ambassador requires Kubernetes version < 1.22.

ref #258


 Running that command on my machine does:
bundle exec rdbg --util=gen-sockpath
/var/folders/fd/3pvxbtzs2gz38bxd96pf7frw0000gq/T/ruby-debug-sock-503/ruby-debug-louis-michel.couture-1833

As I understand, this is called when running RUBY_DEBUG_OPEN=true rails s to establish a socket path for where the remote debugger will connect. This is the output from starting the rails server, which crashes immediately because the socket path is too long.
DEBUGGER: Debugger can attach via UNIX domain socket (/var/folders/fd/3pvxbtzs2gz38bxd96pf7frw0000gq/T/ruby-debug-sock-503/ruby-debug-louis-michel.couture-2775)
#<Thread:0x0000000119a54f50@DEBUGGER__::Server::reader /Users/louis-michel.couture/.asdf/installs/ruby/3.1.3/lib/ruby/gems/3.1.0/gems/debug-1.8.0/lib/debug/server.rb:44 run> terminated with exception (report_on_exception is true):
/Users/louis-michel.couture/.asdf/installs/ruby/3.1.3/lib/ruby/3.1.0/socket.rb:1116:in `unix': too long unix socket path (105 bytes given but 104 bytes max) (ArgumentError)
	from /Users/louis-michel.couture/.asdf/installs/ruby/3.1.3/lib/ruby/3.1.0/socket.rb:1116:in `unix_server_socket'
	from /Users/louis-michel.couture/.asdf/installs/ruby/3.1.3/lib/ruby/3.1.0/socket.rb:1164:in `unix_server_loop'
	from /Users/louis-michel.couture/.asdf/installs/ruby/3.1.3/lib/ruby/gems/3.1.0/gems/debug-1.8.0/lib/debug/server.rb:500:in `accept'
	from /Users/louis-michel.couture/.asdf/installs/ruby/3.1.3/lib/ruby/gems/3.1.0/gems/debug-1.8.0/lib/debug/server.rb:49:in `block in activate'

To Reproduce
bundle exec rdbg --util=gen-sockpath. I haven't dug in to find why there is so much randomness added to the socket path, I'm not sure if this is always like that or related to some configuration on my machine. I also happen to have a long login name, pushing the already long socket name over the limit.
Expected behavior
Socket name generated is under 104 bytes, working for all lengths of user name.
Additional context
I'm aware that I can set the socket path manually to get a shorter one, eg RUBY_DEBUG_OPEN=true RUBY_DEBUG_SOCK_PATH=tmp/rdbg.sock rails s. I would prefer if it was working out of the box without the need of extra config, because then I have to also setup the matching path in VSCode. Currently VSCode doesn't seem to accept a relative path.

Now we use the following logic to get tmpdir.
  def self.unix_domain_socket_tmpdir
    require 'tmpdir'

    if tmpdir = Dir.tmpdir
      path = File.join(tmpdir, "ruby-debug-sock-#{Process.uid}")

      unless File.exist?(path)
        d = Dir.mktmpdir
        File.rename(d, path)
      end

      check_dir_authority(path)
    end
  end

and Dir.tmpdir can return /var/folders/fd/3pvxbtzs2gz38bxd96pf7frw0000gq/T/ (50 chars).
File name is specified with:
  def self.create_unix_domain_socket_name_prefix(base_dir = unix_domain_socket_dir)
    user = ENV['USER'] || 'UnknownUser'
    File.join(base_dir, "ruby-debug-#{user}")
  end

and long user name will generates long name.
Do you have an idea to short them?

We could probably shorten ruby-debug-sock- to a meaningful acronym, like rb-dbg-. And then get rid or the reference to ruby-debug- in the file name altogether. While not a bulletproof solution, it would leave more chars for the username portion of the logic.

I just came across this too. My username is 23 characters long but I just did a test and macOS seems to allow usernames up to 80* characters long. I assume other *nix OSes are similar?
Perhaps including the full username in socket path is not advisable?
*I tried to create a user with a 100 letter name but it only let me enter the first 80. Verified with dscacheutil -q user:
name: abcdefghi1abcdefghi2abcdefghi3abcdefghi4abcdefghi5abcdefghi6abcdefghi7abcdefghi8
password: ********
uid: 504
gid: 20
dir: /Users/abcdefghi1abcdefghi2abcdefghi3abcdefghi4abcdefghi5abcdefghi6abcdefghi7abcdefghi8
shell: /bin/zsh
gecos: Length Test

Ok, now I changed the UNIX domain socket file name to use UID instead of username
[master]$ exe/rdbg --util=gen-sockpath
/run/user/1000/rdbg-3150

and I hope it will solve the problem.

without XDG_RUNTIME_DIR:
$ exe/rdbg --util=gen-sockpath
/tmp/rdbg-1000/rdbg-3247


Issue: Crontab install throwing error on setup

tried setting up the container on my unraid server and after its built i seem to get the error
{
"/etc/cron.d/crontab":0: bad minute
errors in crontab file, can't install.
Config file generated at: /root/.config/letterboxd_stats/config.toml
RUN_NOW is not set. Proceeding with regular cron schedule.
}
whenever it starts up is this a configuration issue on my part. im getting the same error message in the logs with all setup methods. not modifying the scheduler at all in any of the set ups vs the example env file

Hi, thanks for checking out my container! It is entirely possible you are the first user other than me (the developer) to use this, and I'm sorry to hear you are experiencing issues.
It looks like the Cron file is having trouble parsing the cron statement. This job runs on a schedule defined in your letterboxd.env file, and should default to a valid string.
Are you supplying a custom CRON_SCHEDULE via letterboxd.env?
If you are not supplying a custom CRON_SCHEDULE, you could add one to troubleshoot on your machine.
CRON_SCHEDULE="0 2 * * *"

To get a bit more information, and if the container is running, you can check the actual value of the crontab file in the container.
On the docker host machine, run the following to enter the container:
docker exec -it letterboxd-plex-sync bash
Then check the crontab from within the container:
cat /etc/cron.d/crontab
You should see something like:
0 4 */1 * * /app/sync_job_wrapper.sh
#Empty Line

@kindledruins Just pushed a small fix to better bring the crontab into spec. It's possible your system has tighter rules for crontab validation in spite of containerization. See if it helps.

Hi @kindledruins ,
Since this is currently the only open issue, there’s no rush to close it, but we’re unable to move forward without additional information.
If you’re still experiencing the problem, could you share more details about your setup or any updates from your side? If the issue is resolved, please let us know so we can close it out.
Looking forward to hearing from you!


[#1735] fix(client): Shade spark client grpc/jetty and others dependencies

What changes were proposed in this pull request?
Relocate all package name of client dependencies. Excepts for the following cases:

Package belongs to uniffle
Package provided by spark and hadoop env, something like

spark
hadoop
dependencies belongs to the above, like lz4 belongs to spark.
log4j related.
part of javax package belongs to jdk

Why are the changes needed?
Fix: #1735
Before this change

After this change

Does this PR introduce any user-facing change?
No.
How was this patch tested?

Tested by a simple spark-shell which involved shuffle data writing and reading.
Tested by a spark sql which product huge pressure of our uniffle cluster.

Can you add a comparison of the JAR package structure before and after this PR? This will help us see the changes in the shaded JAR.

Did you encounter similar issue? I feel a little concerned about this way. It include all the dependencies. Some dependencies are included by Spark like jetty. I prefer reusing the dependency of Spark. And @dingshun3016 is working on this issue. Should you discuss with him first?

@rickyma Added a structure of jar before and after.

It seems no additional jars are included. You only shade the jars which already exist. So this looks good to me.

@jerqi Thanks for noticed this PR, the main mind of this PR aimed to include all dependencies first and excludes or make dependencies Provided scope, so we can make sure what dependencies are excluded by us explicitly.
As before, we include some of dependencies, and we relocated within these dependencies, after that, we involved more dependencies directly or indirectly, but we may miss to include them, so the ClassNotFoundExceptions encountered in a random time.

This may not relocated enough. If some other packages are introduced later but not shaded, this will also cause conflicts.

@dingshun3016 We can introduce a check script to avoid non-relocated packages.
Something like this:
function checkShaded {
    SHADED_JAR_PATH=${1}
    a = `unzip -l  rss-*/jars/client/spark*/rss-client-spark3-shaded-0.10.0-SNAPSHOT.jar  | awk 'NR>3 {print $4}' | grep ".class" | grep -vE 'org/apache/uniffle|org/apache/spark/shuffle|META-INF|^$'| wc -l`
    if [ -z "$a" ]; then
       return 0
    else
       return 1
    fi
}

ping @jerqi @dingshun3016

Merged to master. Thanks @maobaolong @jerqi

@rickyma @jerqi Thanks for your review

@rickyma can we improve the CI to catch such issues? I thought we have tests that use the spark clients jar. How come they did not catch this issue?

Because in Maven, dependencies with scope set to "provided" will be used during the compile and test phases, but they will not be included during runtime and packaging phases. So, if your test code requires these dependencies, they will be available during the test phase. But they will not work when running in production env as a jar.

We can call this function to check shaded client jar
function checkShaded {
    SHADED_JAR_PATH=${1}
    a = `unzip -l  rss-*/jars/client/spark*/rss-client-spark3-shaded-0.10.0-SNAPSHOT.jar  | awk 'NR>3 {print $4}' | grep ".class" | grep -vE 'org/apache/uniffle|org/apache/spark/shuffle|META-INF|^$'| wc -l`
    if [ -z "$a" ]; then
       return 0
    else
       return 1
    fi
}

It's weird if we call this function in UTs. Maybe we have a better way to find out such issues during the unit testing phase.

@rickyma I'm sorry to make you confusing, I want to say that we can call this function in a new CI check item, rather than UTs and checkstyles.


[zh-cn] sync endpoints-v1.md and ingress-class-v1.md

content/zh-cn/docs/reference/kubernetes-api/service-resources/endpoints-v1.md
content/zh-cn/docs/reference/kubernetes-api/service-resources/ingress-class-v1.md

The preview has some issues:

/approve

/lgtm


Support package-level configuration

This PR adds support for package-level configuration, e.g. rules could be applied just for jquery.

Codecov Report

Merging #160 into master will increase coverage by 0.38%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master    #160      +/-   ##
=========================================
+ Coverage   68.52%   68.9%   +0.38%
=========================================
  Files          19      19
  Lines         896     907      +11
  Branches      146     149       +3
=========================================
+ Hits          614     625      +11
  Misses        282     282

Impacted Files
Coverage Δ

lib/worker.js
64.44% <100%> (+3.15%)
: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 76a94d3...7532699. Read the comment docs.


Bump version: 0.48.7 → 0.48.8

Hi,
I'm really looking forward to see recent improvements to SELECT ... FOR UPDATE in new version of pypika, so I'm creating this PR. Are any other steps need to be taken to perform the release?

Coverage increased (+0.0002%) to 98.403% when pulling<PHONE_NUMBER>09fed56b69e11fd24a6ec3e0565d6a on squareapartments:bump-version-0-48-8 into 67bae410b78c3ecbc0d8a2a0ee98eaab0195d98b on kayak:master.

I am going to close this and do the release myself if that's alright. It's just a bit less complex.


TransactionBuilder fails to build the change address

Hello,
Just wondering why the following code does not generate the change address output:
TransactionBuilder builder = new TransactionBuilder();
builder.AddCoins(coins);
builder.AddKeys(bitcoinPrivateKey);
builder.Send(destinationAddress, new Money(0.000000015m, MoneyUnit.BTC));
builder.SendFees(Money.Coins(0.001m));
builder.SetChange(address.ScriptPubKey);
var signedTx = builder.BuildTransaction(true);
Boolean b = builder.Verify(signedTx);
What I'm missing?
Transaction's hex (Testnet):
01000000000101e38fd8de708abdb8eddd0e47d1369f44d4e2de0d5407cf277d4dfc73a0a922875300000017160014a017d15c9cfacea59c4a3984b32f2282e617de8effffffff01f6b4b600000000001976a914a017d15c9cfacea59c4a3984b32f2282e617de8e88ac02473044022028f8440e4d85eca57a99fadda133fc9ce48b523a4b4d2438aaaad0a296d8d7270220112eb54f7e8a1f311b6b4dc0a15c4b3a5311948724a8aa0657da52da6b26fc68012102b6d3f00966c6797c69b98cc7d4f7ec0e9ec8aee68f2fccb5cec061eeaee47f8900000000

Because 0.000000015 BTC is below the dust limit, which mean that if the transaction builder was adding this output, then your transaction would fail to broadcast.
You can disable this behavior by using builder.DustPrevention = false, but you will be unable to broadcast the transaction.

@NicolasDorier can I provide a PR to change DustPrevention to be an enum of 3 states instead of a boolean? The way I see it: Automatic(current behaviour for true) | Disabled (current behaviour for false) | Exception (so that wallets can catch the problem without having to guess).

@knocte I don't like it for 2 reasons:

Breaking change
If you are interested into the issue, you just have to call builder.Verify(tx, out var errors), which will report the issue.

Firstly let's review it.
So what I asked in the code is:

from:                        0,12073879
fees:                         0,001
to:                            0,000000015
expected change:    0,119738775

But the transaction was built in the following way:

from:               0,12073879
fees:               0,00100001
to:                 0,11973878
change:             0,0

So you are suggesting that:

the destination didn't got 0,000000015 because too low
that amout has been summed up to the fees (so fees are now 0,00100001 instead of 0,001)
the remaining (0,11973878) went all to the destination, and the change address couldn't get anything

In the end it turned out to be a very different transaction than what I intended to. I would even suspect there is a bug there, but you are instead suggesting it is the automatic behaviour? If so has to change in some way.
By the way, shoud it be builder.SetChange(address.ScriptPubKey) or builder.SetChange(address)? I broadcasted an almost transaction using the latter, and looks ok (https://live.blockcypher.com/btc-testnet/tx/4761929185a3dd80f23670efb854ba3d7ab5a151f296ea7c38015ceb821ee838/).

Breaking change

That's only if we make DustPrevention.Exception the default. We could make it opt-in first.

In my opinion, the library shoud not change automatically the transaction as intended by the programmer (such as changing the values).  In case of issues, it should throw an exception.

Perhaps just add a parameter to a new overloaded constructor:

bool throwExceptionIfDetectError = true
TransactionBuilder builder = new TransactionBuilder(throwExceptionIfDetectError);

The existing constructor may have the default to false, so doesn't break the existing client code.

Or even:
Make the actual constructors deprecated and introduce two factory methods:

TransactionBuilder.buildCanRaiseExcepion()
Transaction.buildAdjustAutomatically() //the default

@robermann
from: 0,12073879
fees: 0,00100001
to: 0,11973878
change: 0,0

No, it did
from: 0,12073879
fees: 0,00100001
to: 0,0
change: 0,11973878

If you don't want the transaction to touch your transaction, you have to remove DustPrevention and check the error in txbuilder.Verify (which you should already do).
txBuilder is preventing foot shooting, those kind of case are so extreme that nobody test for it, so the default behavior should be to not crash, given it does not make you loose money.

I see your point,  thanks for the explanation. What about the question:

By the way, shoud it be builder.SetChange(bitcoinPrivateKey.GetAddress().ScriptPubKey) or builder.SetChange(bitcoinPrivateKey.GetAddress())? I broadcasted an almost identical transaction using the latter, and looks ok (https://live.blockcypher.com/btc-testnet/tx/4761929185a3dd80f23670efb854ba3d7ab5a151f296ea7c38015ceb821ee838/).

Also, which "reference examples" would you suggest for the use of TransactionBuilder? Somewhere I saw the use of SendEstimatedFees.

builder.SetChange(bitcoinPrivateKey.GetAddress()) is the same as builder.SetChange(bitcoinPrivateKey.GetAddress()).ScriptPubKey

@robermann I think the best reference examples are inside the tests now. And in the book https://programmingblockchain.gitbooks.io/programmingblockchain/content/

ok, thank you. great work.

TransactionBuilder builder = new TransactionBuilder();
It give error TransactionBuilder' dows not contain a constructor that takes 0 agrguments

@hitjariwala Using var builder = Network.Main.CreateTransactionBuilder(); should solve your problem.

@yahiheb
Thanks for fast reply. another error is
var _transaction = NBitcoin.Transaction();
Non-invocable member 'Transaction' cannot be used like a miethod.

You forgot the new keyword. Are you new to C#? :)

@knocte @yahiheb
after use new keyword give error.
var _transaction =new NBitcoin.Transaction();
Transaction.Transaction() is inaccessible due to its protection level

well you have to use the parameters needed for that constructor, seems you're not using an IDE that can tell you these things?

can you give sample code for sending btc using rpc client?

Read this book: https://programmingblockchain.gitbook.io/programmingblockchain/ it has a lot of samples

well you have to use the parameters needed for that constructor, seems you're not using an IDE that can tell you these things?
i cant understand what you say.

@knocte
I am using visual studio 2015

@knocte
Now i am getting error in
var signTx = rpcClient.SignRawTransaction(_transaction);
"Method Not Found"


Release checklist

As of right now we tick all the boxes for inclusion in the DAPI server, which also indicates that we're pretty close to being able to put out a first release :tada:.
Some things which still need to be done:

[x] Fix #9
[x] Audit log change keys (#1)
[x] Use the cache for REST stuff, but also offer a means of not using the cache (probably a Client field)
[x] Examples for all major feature sets (CRUD API, REST API, event handling, commands, sharding) (#2)
[x] Summary docs ("Why Julia/Discord.jl?", CRUD API overview) (#2), add some of this to README
[x] Tests: Anything not network-dependent should be tested
[x] Take care of some TODOs (this is vague, not all of them are serious problems)
[x] Multipart form-data: Handle file uploading.
[x] Smarter caching: Things like guilds shouldn't be deleted, but messages, presences etc. should.
[ ] HTTP.jl #348 merged + released
[x] REST wrappers exported

Things which would be nice to have but aren't necessary:

[ ] Detailed tutorials for a few common bot use cases, which use techniques from examples above (#2) (the current example should be reworked but for now we don't need much more)
[ ] Command framework (add_command! is not terrible for now)
[ ] "Helper" functions to chain common ops (update: I think we can basically wait for feedback on this and implement things as they're desired)

We could find a lot of good ideas by looking around at other libraries, the JS and Python ones are probably a good place to start since they have the most users.

Added multipart

Only thing missing is waiting for the Pull Request, which is not needed since we have a fork of it.

I'd rather not maintain that fork and I don't think that we can enforce people to actually use the fork over regular HTTP (you don't activate the manifests of your dependencies)

HTTP.jl #348 has been merged.

Will add soon another example showing off do syntax with events.

Gonna close now, we know we just need to wait for HTTP.


Ignore Vite timestamp files by default in create-svelte templates (added to .gitignore)

Because why new SvelteKit users need to figure this out by themselves?
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

[X] It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC: https://github.com/sveltejs/rfcs
[X] This message body should clearly illustrate what problems it solves.
[ ] Ideally, include a test that fails without this PR but passes with it.

Tests

[X] Run the tests with pnpm test and lint the project with pnpm lint and pnpm check

Changesets

[X] If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpm changeset and following the prompts. All changesets should be patch until SvelteKit 1.0

Vite prebundles the config files with esbuild by default and writes them to disk to import() it. Usually it's removed after it's evaluated so it's only temporary, so I don't think we need to gitignore them (?)

vite creates a micro bundle of vite config to load it. thats it. they can sometimes be left as residue if the process crashes  / terminates at the wrong moment. ignoring them is the right call and should be done in vite too cc @bluwy

Vite bundles the config files with esbuild by default and writes them to disk to import() it. Usually it's removed after it's evaluated so it's only temporary, so I don't think we need to gitignore them (?)

Sometimes you cancel vite build process, and then they stuck there, and you may commit them by mistake (it happened also here in this repo!)
Both SvelteKit repo and my personal repos decided to ignore this files in .gitignore, so I just thought it is a consensus to ignore them.
Additional context of Vite: https://github.com/vitejs/vite/issues/9470#issuecomment-1200451057

alternatively vite could instead put that file into node_modules/.vite/config.timestamp-xxx.mjs that is already ignored and the dir is used by vite for other generated things

Writing to a different directory would require rewriting the import paths. I think Vite should make sure the config files are removed instead on process exit to make it transparent.

messing with process.onExit at least used to have implications for signal handling and it only lessens the impact. you could still end up with it staged when you run git add . at the wrong point in time.  If moving it to an ignored directory is not an option, these patterns here are the next best solution :thinking:

The issue is that we don't want to leak an implementation detail into a user file though, i think deleting on process exit is probably good enough in most case to prevent another point of configuration.

I guess the question is whether this change is likely to land in Vite any time soon? I've definitely been bitten by this in the past, adding a couple of lines to a .gitignore feels fairly harmless, but if we expect it to make it into a patch release in the next few days then it's probably not worth it

IIUC the timestamped file is the output of esbuild rather than the input — it's the thing that Vite imports.
I'm personally of the view that esbuild shouldn't be involved at all here — just require vite.config.js to be a normal module that adheres to normal module rules, avoiding this whole song and dance (and preventing the spurious warnings that appear when you first start a SvelteKit project before the types have been generated), but I don't expect the Vite team to agree with me :)

Added a note to the Vite 4 discussion proposing removing the config bundling step https://github.com/vitejs/vite/discussions/10570#discussioncomment-4148194

I tried to make a fix to clean the files but nodejs makes it incredibly hard to detect process exit without caveats ☹ I would also prefer not bundling them in most case, but there will be tradeoffs and it would be a big change that we might want to defer for Vite 5. We'll be discussing this more in the next Vite team meeting though.

Can't you emulate them and pass the content of a virtual file to ESBuild instead of writing to the disk? Is this possible in ESBuild?

We are writing the result of the esbuild output to disk for nodejs to evaluate it.


6.0.5

Use test to match url with patterns (instead of exec)
Add more test
Update README

Coverage remained the same at 99.103% when pulling 50747469b42f40eeaaf5cc9ad804b502dd142391 on 6.0.5 into fb320380ec8eb41489ae19a6585c711636e37f14 on main.


Add default transforms for the Facebook Ads Extractor

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/1556
Originally created by @iroussos on 2020-01-10 21:09:05

Add the default transforms to be used with the Facebook Ads Extractor when it runs with the default Meltano Settings.
This issue will follow the completion of adding the Facebook Tap to Meltano as a CLI only supported Extractor (undefined##undefined)

View 6 previous comments from the original issue on GitLab


SNMP::Manager get => raw octet-string

Hi,
in my case,I'm use manager.get("some oid for return a octet-string")
got result is ValueDecoderMap.
look like decode to integer. but my octet-string have mix of some integer and ascii.
so, how I get just raw octet-string?
ps.

raw result look like the result from snmpget() php function.
or any way to rewrite ValueDecoderMap in my rule?

takz.

Closing old issues


Adding the discount feature in the calculator.

Adding an additional feature to calculate the Discount
In this I will add an additional feature to calculate the discount on an original price which is given by the user and the discount percentage which is also given by user and in the output I will display the final price after the discount.
I would like to work on this feature under the JWOC.

I want to work on this issue under JWOC

I want to work on this issue under JWOC


Update build and run Dockerfile in mod-workflow to be more consistent with mod-camunda.

This is pending approval for the build_and_run Dockerfile changes.
Steps

As seen in the mod-camunda Dockerfile, change Dockerfile to operate not in the root directory. That is to say, add the following between line 9 and line 10 in the mod-workflow Dockerfile:

RUN mkdir /mod-workflow
WORKDIR /mod-workflow

As seen in the mod-camunda Dockerfile, replace lines 10 through 17 in the mod-workflow Dockerfile with this:

# copy required files
COPY ./pom.xml ./pom.xml
COPY ./components ./components
COPY ./service ./service

As seen in the mod-camunda Dockerfile, replace line 40 in the mod-workflow Dockerfile with this:

COPY --from=maven /mod-workflow/service/target/workflow-service*.jar ./mod-workflow.jar

Note that unlike mod-camunda, this must have /service/ before target.

What this achieves is:

Uses a sub-directory to compile mod-workflow without risking root level directories causes a problem.
Groups the COPY files over to shorten the Dockefile (making it cleaner) and grouping together the directories and files that need to be copied.
Makes the build and run Dockerfiles for both mod-camunda and mod-workflow as consistent as possible for easier maintenance.

We are planning on getting rid of the build and run Dockerfile and so this should no longer be needed.


Change to use MongoDB replace for the current

Maintain the old database structure, procedure had written

It may affect

Database (DatabaseConnection.java, DatabaseQuery.java)
Register
Login
Board


Fix Typo

Change required to required
See https://facebook.github.io/react-native/docs/appregistry

It looks like require refer to the require keyword.
So it makes sense to have required.

Not sure, maybe.
Actually, I think might be confusing to the new reader. I never came across such thing (required).
Anyway feel free to close if you are confident.

Sounds good.
Updating in a few minutes


Test against canonical data

The issue here seems to be we aren't converting from a buffer to a numpy array correctly for the GZIP case. I think this looks like  the right bit of the cfitsio code that we need to replicate:
https://github.com/astropy/astropy/blob/a8cb1668d4835562b89c0d0b3448ac72ca44db63/cextern/cfitsio/lib/imcompress.c#L6345-L6388

I don't know why pytest-openfiles hates this. The file should be closed as the context manager has exited. I have asked on chat, and I will take another look later, for now I think we can merge as is.

I experimented with that by putting in prints and breakpoints. The context manager definitely exits. I am going to try disabling memmap and see if that fixes it.


Compact folder rendering looks weird

re #85928
IMO we had a much better in-between solution using chevrons or no spacing. To me the slash and the spacing look like screen cheese.

Proposal: Use normal character spacing and opacity

Closing this for now and waiting for more user feedback.

Personally I'd like to see an option to make nested folders less prominent (lighter, less opacity). Reason being that usually the root folder is the relevant, most "unique" folder and should be visually more prominent.

@gabeklein by "the root folder" do you mean the leftmost one on the sequence? In other words, you'd like the opposite of what @jrieken proposed in his screenshot here?

@gjsjohnmurray

If I had a way to explicitly set the opacity of /src ect... I'd make it close to zero, resulting in the second image just without the extra line for subfolder. It'd make my development experience a lot more comfortable.

What if you had the possibility of letting the explorer know that express and interface and webpack should not be folded up?

@joaomoreno Sorry I don't really follow, could you explain?

I mean: a workspace setting that you could mark certain folders never to be folded up. I believe your argument has something to do with the lib/* folders, and not just any folder, being folded up with a single child.
So we could offer a setting, e.g. explorer.preventCompactFolder which would have a glob pattern value, eg. lib/*, and the explorer wouldn't render those folders as compact, even if they only have a single child.


Error while run ng --serve command in npm

Could not find module "angular-devkit/build-angular" from "D:\AngularApp".
Error: Could not find module "angular-devkit/build-angular" from "D:\AngularAp
p".
at Object.resolve (D:\AngularApp\node_modules\angular-devkit\core\node\reso
lve.js:141:11)
at Observable.rxjs_1.Observable [as _subscribe] (D:\AngularApp\node_modules
angular-devkit\architect\src\architect.js:132:40)
at Observable.subscribe (D:\AngularApp\node_modules\rxjs\internal\Observable
.js:162:69)
at DoOperator.call (D:\AngularApp\node_modules\rxjs\internal\operators\tap.j
s:71:23)
at Observable.subscribe (D:\AngularApp\node_modules\rxjs\internal\Observable
.js:159:22)
at D:\AngularApp\node_modules\rxjs\internal\util\subscribeTo.js:22:31
at Object.subscribeToResult (D:\AngularApp\node_modules\rxjs\internal\util\s
ubscribeToResult.js:7:45)
at MergeMapSubscriber._innerSub (D:\AngularApp\node_modules\rxjs\internal\op
erators\mergeMap.js:132:38)
at MergeMapSubscriber._tryNext (D:\AngularApp\node_modules\rxjs\internal\ope
rators\mergeMap.js:129:14)
at MergeMapSubscriber._next (D:\AngularApp\node_modules\rxjs\internal\operat
ors\mergeMap.js:112:18)

Thanks for reporting this issue. However, you didn't provide sufficient information for us to understand and reproduce the problem. Please check out our submission guidelines to understand why we can't act on issues that are lacking important information.
If the problem persists, please file a new issue and ensure you provide all of the required information when filling out the issue template.


poll is not given any information as to which sub-future needs to be polled

The basic problem
Future::poll has no idea whatsoever which child future needed to be polled.  Therefore, it must poll all of them every time.  This leads to #1004.
This could be a big problem when one future is waiting for many events to complete, and arrive staggered, so that every future gets polled O(n) times, causing O(n^2) CPU consumption.
This is in contrast to the behavior of JS/Java/.NET programs, where the task explicitly calls its callback.  The callback thus knows exactly where to begin execution, avoiding unnecessary work.
One Solution: Explicit Callbacks
In this approach, Future::poll gains an additional parameter, becoming
trait Future {
    type Item;
    type Error;

    fn poll(self: Pin<Self>, cx: &mut task::Context, cb: Pin<FnMut() -> ()>) -> Poll<Self::Item, Self::Error>;
}

That is, each future gets an explicit callback argument.  I could have gotten the exact type of the callback wrong — this is still a proof of concept,
This approach is that used by GCd languages, and has the same advantages.  It also leads to some knotty lifetime problems: the callback is not allowed to outlive its containing future, but there is nothing at the type level that can enforce this, since a pointer to it will be passed to a system API for event loop handling.  This is the classic circular reference problem.  Since everything is immovable (as guaranteed by Pin), we can safely hold on to a pointer to the callback (to invalidate it if the destructor of self runs), but I do not see how to tell the type system we can.
Furthermore, this runs into problems with object safety.  This is not an issue in GCd languages (where everything is boxed, hence has the same size), but is a big issue in Rust.  Specifically, FnOnce is not object-safe, but we can specify that the callback is to be called exactly once, when Future::poll will return Ok(Async::Ready(_)).  Calling Future::poll before the callback has been called will need to be detected, but could just panic!().

A mechanism very similar to this already exists. As @carllerche already mentioned, it is used in FuturesUnordered, also, a different implementation is used in ThreadPool. How it works is that the context given to the future contains a waker with a Waker::wake method on it. Whenever a future has returned Poll::Pending, it must call this method once it can make further progress and should be polled again. What the waker does can be fully customized. FuturesUnordered for instance has a "ready to run" queue internally in form of an atomic linked list and whenever the waker for one of its futures is called it enqueues the future. The only caveat is that the waker implementation needs to be thread safe because the waker is usually given to another thread.
https://github.com/rust-lang-nursery/futures-rs/blob/0.3/futures-util/src/stream/futures_unordered/mod.rs

I did not think of this, thank you!
Could this trick also be used by FutureExt::and_then and other
combinators?  The use case I am thinking of is many calls to .and_then
On Jul 3, 2018 1:19 AM, "Josef Brandl"<EMAIL_ADDRESS>wrote:
A mechanism very similar to this already exists. As @carllerche
https://github.com/carllerche already mentioned, it is used in
FuturesUnordered, also, a different implementation is used in ThreadPool.
How it works is that the context given to the future contains a waker with
a Waker::wake method on it. Whenever a future has returned Poll::Pending,
it must call this method once it can make further progress and should be
polled again. What the waker does can be fully customized. FuturesUnordered
for instance has a "ready to run" queue internally in form of an atomic
linked list and whenever the waker for one of its futures is called it
enqueues the future. The only caveat is that the waker implementation needs
to be thread safe because the waker is usually given to another thread.
https://github.com/rust-lang-nursery/futures-rs/blob/0.3/futures-util/src/stream/futures_unordered/mod.rs
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/rust-lang-nursery/futures-rs/issues/1061#issuecomment-402016107,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGGWB1enRCC72AexoNJf-WmiQe1k2reFks5uCv78gaJpZM4VAJJz
.

(I deleted my previous comment. I got your thread mixed up with another thread)
This approach only makes sense for combinators that take a large number of futures. Combinators like and_then only have one future to wake and they don't do any work themselves, so they can simply pass their context on to their child future:
https://github.com/rust-lang-nursery/futures-rs/blob/844a9202bf5f40a292dbc54cafe359666678f9f9/futures-util/src/future/map.rs#L40
This is actually where Rust's futures shines: Tiny futures like map() don't require a single heap allocation. They just stack together into one gigantic type.
FuturesUnordered does rely on heap allocations (it uses Arc) because it lets you push additional futures into it whenever you wish. Stream combinators like buffered() use it to run many things concurrently. Here it pushes more things into the queue until the limit is reached (in_progress_queue is a FutureUnordered instance):
https://github.com/rust-lang-nursery/futures-rs/blob/844a9202bf5f40a292dbc54cafe359666678f9f9/futures-util/src/stream/buffered.rs#L128-L133

Sorry, I think I did not explain what the problem is.  The problem is that
poll takes time linear in the depth of the call stack.  So repeated calls
to .and_then are O(n^2).  Similarly, simple wait-for-any futures are
O(n^2) even if they do not allow dynamically adding futures.
What I was referring to was not the queue, but the idea of advancing the
state machine directly from the waker, rather than waiting for poll to
be called again.  The hard part is that there is no guarantee I can find
that the future will not be destroyed in the meantime, or that the waker
will be called on the same thread as the object is destroyed.
On Jul 4, 2018 2:59 AM, "Josef Brandl"<EMAIL_ADDRESS>wrote:
(I deleted my previous comment. I got your thread mixed up with another
thread)
This approach only makes sense for combinators that take a large number of
futures. Combinators like and_then only have one future to wake and they
don't do any work themselves, so they can simply pass their context on to
their child future:
https://github.com/rust-lang-nursery/futures-rs/blob/844a9202bf5f40a292dbc54cafe359666678f9f9/futures-util/src/future/map.rs#L40
This is actually where Rust's futures shines: Tiny futures like map() don't
require a single heap allocation. They just stack together into one
gigantic type.
FuturesUnordered does rely on heap allocations (it uses Arc) because it
lets you push additional futures into it whenever you wish. Stream
combinators like buffered() use it to run many things concurrently. Here it
pushes more things into the queue until the limit is reached (
in_progress_queue is a FutureUnordered instance):
https://github.com/rust-lang-nursery/futures-rs/blob/844a9202bf5f40a292dbc54cafe359666678f9f9/futures-util/src/stream/buffered.rs#L128-L133
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/rust-lang-nursery/futures-rs/issues/1061#issuecomment-402382876,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGGWBxfFWM6OejqbO8zC_KGoieH30nxDks5uDGfjgaJpZM4VAJJz
.

The problem is that poll takes time linear in the depth of the call stack. So repeated calls to .and_then are O(n^2).

What is n here? You suggest in your first post that its the number of times the future is polled, but here you seem to refer to the depth of the stack. Its not quadratic in either factor, so I think you actually mean that it grows linearly in both factors. That's true until the optimizer gets involved (hopefully inlining some of those poll calls), but without benchmarks I don't feel very concerned about this.

Combinator-y things like map or and_then ought to be inlined, which would solve the problem in this case. (We may end up needing to use MIR inlining before the state machine transformation, or some other way of flattening the generated states, but it should be doable.)
For larger cases, if they become an issue, we might also try a CPS-like approach.

Discussion here seems to have hit a dead end, so I'm going to close this issue. Feel free to comment if you think it should remain open or if there's something that is still unclear.


[Tidy] Add compressed CSS files

Description
Previous versions were actually not minified as noted by @antonymilne
I had to change some settings in my VS code editor and it should now work fine :)
No code changes, just a compressed CSS file.
TODO: Check why screenshots changed even though this is just the compresses CSS file version..
Screenshot
Notice

[x] I acknowledge and agree that, by checking this box and clicking "Submit Pull Request":

I submit this contribution under the Apache 2.0 license and represent that I am entitled to do so on behalf of myself, my employer, or relevant third parties, as applicable.
I certify that (a) this contribution is my original creation and / or (b) to the extent it is not my original creation, I am authorized to submit this contribution on behalf of the original creator(s) or their licensees.
I certify that the use of this contribution as authorized by the Apache 2.0 license does not violate the intellectual property rights of anyone else.
I have not referenced individuals, products or companies in any commits, directly or indirectly.
I have not added data or restricted code in any commits, directly or indirectly.

Thanks for fixing it!
How is this minified file generated?

It's a simple SCSS to CSS file conversion via Visual studio code: https://medium.com/@codingcarter/how-to-compile-scss-code-in-visual-studio-code-c8406fe54a18
The SCSS/CSS files come from our internal repository :) https://github.com/McK-Private/vizro-bootstrap


No 3D point cloud in RealSense Viewer

librealsense
2.41.0 RELEASE

OS
Windows

Name
Intel RealSense D455

Serial Number
035322250100

Firmware Version
<IP_ADDRESS>

Advanced Mode
YES

Camera Locked
YES

Usb Type Descriptor
3.2

Product Line
D400

Asic Serial Number
025523050865

Firmware Update Id
025523050865

Hello, the D455 is connected to a Thinkpad X1 Carbon Gen 8, using windows installer. The 3D cloud point appears only 3-5 seconds after open the Viewer, and then disappear with only axis left; the 2D mode still works in stereo mode and in RGB mode. This problem only appears on my computer. I re-install the software but make no sense.

Hi @AlexXieee   I can foresee a couple of situations where you may get only the axis in 3D point cloud mode:

If the Stereo Module and RGB Camera modules are not currently enabled when you switch to 3D mode (the icon beside the modules is colored red, meaning that they are off).

If the RGB Camera module is currently enabled but the Stereo Module is not enabled.

If you have at least the Stereo Module enabled when in 3D mode then you should receive a point cloud.

Hi @AlexXieee   I can foresee a couple of situations where you may get only the axis in 3D point cloud mode:

If the Stereo Module and RGB Camera modules are not currently enabled when you switch to 3D mode (the icon beside the modules is colored red, meaning that they are off).

If the RGB Camera module is currently enabled but the Stereo Module is not enabled.

If you have at least the Stereo Module enabled when in 3D mode then you should receive a point cloud.

Hi @MartyG-RealSense , thanks for your fast reply. However, it seems not as simple as you describe. Let me show you the video so that you can understand my means. Also, I found even though there are no 3D cloud point, the RAM consumption will reach up to 10GB after several minutes, which seems like a bug.
https://user-images.githubusercontent.com/51752769/103651120-c29a8900-4f69-11eb-8823-3e6672348935.mp4

Hi @MartyG-RealSense , thanks for your fast reply. However, it seems not as simple as you describe. Let me show you the video so that you can understand my means. Also, I found even though there are no 3D cloud point, the RAM consumption will reach up to 10GB after several minutes, which seems like a bug.
https://user-images.githubusercontent.com/51752769/103651120-c29a8900-4f69-11eb-8823-3e6672348935.mp4

Hi @MartyG-RealSense , previously I installed the full SDK for WIN10. And now I download only Viewer.exe and open it. The same problem appears: the cloud point flickers and then disappears.

Hi @MartyG-RealSense , previously I installed the full SDK for WIN10. And now I download only Viewer.exe and open it. The same problem appears: the cloud point flickers and then disappears.

Can you test with the rs-pointcloud.exe example program?   You can find this in the Tools folder of the SDK by right-clicking on the launch shortcut for the Viewer and selecting the Open file location menu option.    If rs-pointcloud can generate a point cloud without problems for an extended period of time then it may suggest that the problem you are experiencing is with the Viewer program specifically.

Can you test with the rs-pointcloud.exe example program?   You can find this in the Tools folder of the SDK by right-clicking on the launch shortcut for the Viewer and selecting the Open file location menu option.    If rs-pointcloud can generate a point cloud without problems for an extended period of time then it may suggest that the problem you are experiencing is with the Viewer program specifically.

Hi @MartyG-RealSense , there is no problem when I use rs-pointcloud.exe so that the problem is resulted from Viewer programme.

Hi @MartyG-RealSense , there is no problem when I use rs-pointcloud.exe so that the problem is resulted from Viewer programme.

Thanks again for the test update.   Could you download the 2.40.0 standalone Viewer version please to test whether or not the problem is with the latest 2.41.0 Viewer?
https://github.com/IntelRealSense/librealsense/releases/tag/v2.40.0

Thanks again for the test update.   Could you download the 2.40.0 standalone Viewer version please to test whether or not the problem is with the latest 2.41.0 Viewer?
https://github.com/IntelRealSense/librealsense/releases/tag/v2.40.0

Hi @MartyG-RealSense, I tried 2.40.0, 2.39.0, 2.38.1, and 2.37.0, all of them appears the same problem.

Hi @MartyG-RealSense, I tried 2.40.0, 2.39.0, 2.38.1, and 2.37.0, all of them appears the same problem.

I have not encountered an issue like the one that you are experiencing.   There was a recent case though where a RealSense user could not run the Viewer correctly because the GLSL graphics functions were enabled in the Viewer's settings.  They did not have similar problems in SDK programs that did not use GLSL.  So let's try disabling GLSL for the sake of eliminating it as a cause of the problem.

Left-click on the gear-wheel icon in the top corner of the Viewer and select the Settings option to open the Viewer's settings interface.

Select the Petformance option tab of the settins window and left-click on the blue boxes beside the 'Use GLSL for rendering' and 'Use GLSL for processing' options, so the boxes turn from blue (On) to black (Off).  Then click the Apply button at the botom of the settings interface.

I have not encountered an issue like the one that you are experiencing.   There was a recent case though where a RealSense user could not run the Viewer correctly because the GLSL graphics functions were enabled in the Viewer's settings.  They did not have similar problems in SDK programs that did not use GLSL.  So let's try disabling GLSL for the sake of eliminating it as a cause of the problem.

Left-click on the gear-wheel icon in the top corner of the Viewer and select the Settings option to open the Viewer's settings interface.

Select the Petformance option tab of the settins window and left-click on the blue boxes beside the 'Use GLSL for rendering' and 'Use GLSL for processing' options, so the boxes turn from blue (On) to black (Off).  Then click the Apply button at the botom of the settings interface.

Hi @MartyG-RealSense, I have completed the test in the Use GLSL for Rendering and Use GLSL for Processing, and the result is:

Enable Use GLSL for Rendering, no problem, normal RAM usage;
Enable Use GLSL for Processing, no problem, but the RAM usage start to rapidly increase;
Disable both options, no problem; normal RAM usage;
Enable both options, problem appears (the original issue).
Much appreciation for your guidance, and I wonder what the diffrence is, for using / unusing GLSL. Does GLSL affect generated PLY file or BAG file, that is, the quality or information?

Hi @MartyG-RealSense, I have completed the test in the Use GLSL for Rendering and Use GLSL for Processing, and the result is:

Enable Use GLSL for Rendering, no problem, normal RAM usage;
Enable Use GLSL for Processing, no problem, but the RAM usage start to rapidly increase;
Disable both options, no problem; normal RAM usage;
Enable both options, problem appears (the original issue).
Much appreciation for your guidance, and I wonder what the diffrence is, for using / unusing GLSL. Does GLSL affect generated PLY file or BAG file, that is, the quality or information?

GLSL is an optional graphics acceleration feature that can "offload" processing work from the CPU to the graphics GPU for some SDK functions such as point clouds.  It may not produce noticable improvement on low-end computers though, and you should still get good performance from the SDK if it is not used.
The link below has a good guide to GLSL.
https://github.com/IntelRealSense/librealsense/pull/3654

GLSL is an optional graphics acceleration feature that can "offload" processing work from the CPU to the graphics GPU for some SDK functions such as point clouds.  It may not produce noticable improvement on low-end computers though, and you should still get good performance from the SDK if it is not used.
The link below has a good guide to GLSL.
https://github.com/IntelRealSense/librealsense/pull/3654


added calendar app

What does this PR do?
I have added basic calendar app.
Test Plan
As the application is first of it's type all the code is new.
Related PRs and Issues
Have you read the Contributing Guidelines?
Currently there are no issues but the app is also not complete as currently the feature of taking notes has not been implemented.

@raghavtalwar7 Resize the image as it's too big and correct the spelling from "EvenCalneder" to "Event Calendar"

@raghavtalwar7 Resize the image as it's too big and correct the spelling from "EvenCalneder" to "Event Calendar"

Which image are you talking about?

The one which you added in the readme file

@raghavtalwar7 The user should also be able to add a note on any date

The one which you added in the readme file

Oh okay

small changes done also about notes thing as i said only half of the app is done till now.

@raghavtalwar7 So will you add it now or later?

@raghavtalwar7 I will merge it now and you can do it after.

But it should be done in 5 days.

I'll try my best because i am currently occupied with lot of other stuff.


Examples are not reproduced

Just installed NER from Gtihub.
The results in example notebook looks corrupted:

На B-PER
конспирологическом I-PER
саммите O
в B-PER
США I-PER
глава O
Федерального O
Бюро O
Расследований O
сделал O
невероятное O
заявление O

Moreover, re-running example.ipynb leads to downloading the model again (MD5 sum is wrong). Perhaps, the model was changed on MIPT website?

Fixed. Check out


tool_CellOracle

Paper: https://www.nature.com/articles/s41586-022-05688-9
Abstract:
Cell identity is governed by the complex regulation of gene expression, represented as gene-regulatory networks[1]. Here we use gene-regulatory networks inferred from single-cell multi-omics data to perform in silico transcription factor perturbations, simulating the consequent changes in cell identity using only unperturbed wild-type data. We apply this machine-learning-based approach, CellOracle, to well-established paradigms—mouse and human haematopoiesis, and zebrafish embryogenesis—and we correctly model reported changes in phenotype that occur as a result of transcription factor perturbation. Through systematic in silico transcription factor perturbation in the developing zebrafish, we simulate and experimentally validate a previously unreported phenotype that results from the loss of noto, an established notochord regulator. Furthermore, we identify an axial mesoderm regulator, lhx1a. Together, these results show that CellOracle can be used to analyse the regulation of cell identity by transcription factors, and can provide mechanistic insights into development and differentiation.
Links:
https://morris-lab.github.io/CellOracle.documentation/
https://github.com/morris-lab/CellOracle
What can it do?
(+) “Digital KOs”
(+) Elucidate true perturbation effects
Limitations:
(-) Pre-determined cell states
(-) NA to sparse TFs or unknown TF-binding motifs

Contribution Guidelines

Initial Setup

Clone the repository: git clone <repository_url>

Update Local Content

Ensure you’re up to date with the development branch:git checkout devel
git pull origin devel

Create a New Branch

Create a descriptive branch for your work:git checkout -b <branch_name>

Commit & Push Changes

Stage and commit your changes with clear messages:git add <file_name>
git commit -m "Brief description of changes"

Push to GitHub:git push origin <branch_name>

Create a Pull Request

Target the devel branch for merging.
Follow the PR template, review, and submit.

Final Merge & Update

Once approved, merge your PR and delete your branch if desired.
Update your local repository:git checkout devel
git pull origin devel

By following these steps, you contribute effectively and collaboratively.


Make a standard bib file.

[ ] Make a starter bib file that includes UIPs, major repos and blog posts, and a format for PRs and issues.

This should be biber compatible.

Should also include the Urbit Whitepaper


BitComet(?) uploaded torrents have the wrong Infohash

Download this torrent: https://sukebei.nyaa.si/view/2306646
Plug it into this code (standalone replica of what we use currently): https://gist.github.com/anonymous/a06a35583e2dd80d2cdab533855a924e
Notice how the output says the infohash is C7136E94A2D7780B1545ABBDA3C5A05F6BFBBDB0
The correct infohash would be 9bc0144182103cc4946e61be3d6f7de99daeaed2 (as reported on nyaa.si or by any torrent client)
this is a bug in either https://github.com/majestrate/XD or https://github.com/zeebo/bencode
high prio because this (obviously) prevents the magnet links from working

It may make sense to reject torrents that do not come out byte-identical after a bencode decode-encode roundtrip. It would indicate that they're created by buggy clients that could cause problems for other clients.
Or at least show a warning when something like that happens.

This still doesn't fix the infohashes of already uploaded files by the way.
Someone would have to rehash all the torrent files to see which other ones are affected by this bug and update the database/upload file names.


Nit: historic should be historical

I'd suggest changing:
> because of the historic design of the framework
to:
"because of the historical design of the framework"
https://www.merriam-webster.com/words-at-play/everything-youve-ever-wanted-to-know-about-historic-and-historical

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 5c3f98fd-a779-924f-02d1-18762114a7af
Version Independent ID: 34cec207-abe4-0ee0-72f4-1f9b8e6cae91
Content: Strong and weak references in C++/WinRT - UWP applications
Content Source: windows-apps-src/cpp-and-winrt-apis/weak-references.md
Product: uwp
Technology: platform
GitHub Login: @stevewhims
Microsoft Alias: stwhi

Hi, @davidmatson, and thanks for filing this issue. I'll go ahead and take care of this, and I've emailed you internally, so I'll go ahead and close this issue for now since we don't need it for tracking.
Thanks!
Steve


[Task]  manager/support/GlobalExceptionHandlerTest.java

Description
Help us impl Unit Test For manager/support/GlobalExceptionHandlerTest.java
You can learn and refer to the previous test cases impl.

controller example unit case:  https://github.com/dromara/hertzbeat/blob/master/manager/src/test/java/com/usthe/manager/controller/AccountControllerTest.java
service example unit case:  https://github.com/dromara/hertzbeat/blob/master/manager/src/test/java/com/usthe/manager/service/TagServiceTest.java
jpa sql dao example unit case: https://github.com/dromara/hertzbeat/blob/master/manager/src/test/java/com/usthe/manager/dao/MonitorDaoTest.java

Task List

[ ] Impl Unit Test For manager/support/GlobalExceptionHandlerTest.java

👍 has published at version v1.2.1


Allow to create nodes with multiple parents

Hi, it is possible to create nested sets like:

Animals >> 1.1 Elephant, 1.2 Monkey, 1.3 Dog
Pets >> 2.1 Turtle, 2.2 Dog

Where Dog is same category with 2 different parents?

Hi, no. this is nested set tree implementation. you are probably looking to a network tree. which is more  complex and less common


Add first setup for deploy on github pages

Move main content from readme to the index file -> the readme will contain a desription for the repo; the index will be the new entry point;
Add the config file: set the global title for now;
The new files will be organized in the docs folder; the english version moves here.

Thank you!


Wrong assumption of a path in a bucket always having subdirectories

If a bucket url points to the bucket root then the line below fails
            base_path_in_bucket = PurePosixPath(url_path.parts[2]).joinpath(
                *url_path.parts[3:]
            )

This is in the BucketFSFactory.create_bucketfs_location in bucketfs_factory.py at the time of writing in the line 45.
See here.

This is in the BucketFSFactory.create_bucketfs_location in bucketfs_factory.py at the time of writing in the line 45.
Side note: @ahsimb GitHub supports adding permalinks to source code locations (I have added one).

This is an issue of the legacy api, imho this should be addressed by implementing https://github.com/exasol/bucketfs-python/issues/42.

With https://github.com/exasol/bucketfs-python/issues/114 we have subpath handling in the new API. In the next weeks, we will replace the usage of the old API in our projects. This makes the old API obsolete. For that reason, we won't fix this bug.


av_dump_format ?

First of all... wow. What an amazing piece of software.  I just discovered it yesterday, and already today I got a prototype of something that would have taken me 10x as long to make using the pure C librairies. Thanks for that :)
I was wondering if its possible to use av_dump_format to get a nice output of containers, just like ffmpeg uses? I see it's mapped here:
https://github.com/mikeboers/PyAV/blob/83bf75bc801f74763990247e122eec5589ac7785/include/libavformat/avformat.pxd#L256
...but I'm not sure how to use it, or even if it's possible from within the exposed API.
Thanks again

You're very kind. 😀
av_dump_format does not immediately produce nice output because it "prints" it via av_log, which PyAV adapts into the Python logging system.
So we would have to temporarily capture the logs, and do so only for the calling thread. It certainly isn't impossible, but not easy. (I did just add a Container.dump_format() method to assert this is what happens; that was easy enough on its own.)
So... I guess we refactor the log queuing stuff into a RecordQueue to represent everything about the record queue (instead of globals), so that we can use PyThread_create_key and family to manage thread-local logging queues, and a Python level context manager to capture av_log calls into a queue that can be turned into a list later, instead of being fed into the logging system.

Haha, my pleasure ;)
Seems to work good for me, although I had to use python3, as I was getting an Import error on from threading import get_ident; I think threading.get_ident() is only available in python3.
Also, it's not a problem for me but the filename seems to always be empty in the output, eg:
Input #0, matroska,webm, from '': <---
  Metadata:
    COMPATIBLE_BRANDS: iso6avc1mp41
    MAJOR_BRAND     : dash
    MINOR_VERSION   : 0
    ENCODER         : Lavf57.83.100
  Duration: 00:07:23.89, start: 0.000000, bitrate: 10530 kb/s
    Stream #0:0: Video: h264, yuv420p(tv, bt709, progressive), 2560x1440 [SAR 1:1 DAR 16:9], 30 fps, 30 tbr, 1k tbn, 60 tbc (default)
    Metadata:
      HANDLER_NAME    : VideoHandler
      DURATION        : 00:07:23.866000000
    Stream #0:1(eng): Audio: vorbis, 44100 Hz, stereo, fltp (default)
    Metadata:
      DURATION        : 00:07:23.886000000

Thanks for this ;)

This is in develop now too.