Feedback for Microsoft Integration Runtime documentation

This documentation seems to be wrong/outdated, specifically with regards to the prerequisites for Parquet file usage.  It specifically states that the JAVA_HOME path should point to the JDK folder (not just the jre folder), however it will not work unless pointed directly at the jre folder.
Further it states C++ 2010 redistributable is required, though the IR itself installs 2013 and it seems to be working fine without 2010.
Page located here:  https://learn.microsoft.com/en-us/azure/data-factory/create-self-hosted-integration-runtime?tabs=data-factory#prerequisites
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 32785d15-8202-6e44-f1d2-420ef0600f3f
Version Independent ID: 3af5fa49-7bd4-18ce-f8dc-aa4a2b8c6478
Content: Create a self-hosted integration runtime - Azure Data Factory & Azure Synapse
Content Source: articles/data-factory/create-self-hosted-integration-runtime.md
Service: data-factory
Sub-service: integration-runtime
GitHub Login: @lrtoyou1223
Microsoft Alias: lle

@mcdonamw
Thanks for your feedback! We will investigate and update as appropriate.

@lrtoyou1223
Could you please review add comments on this, update as appropriate.

@mcdonamw
Thanks for bringing this to our attention.
I'm going to assign this to the document author so they can take a look at it accordingly.


"Test file(s): undefined"

Hi,
My test files show up in the sidebar, but when I try to Run All Tests I get the same type of error as in #13:
Running Mocha with Node.js at /Users/jeff/.nvm/versions/node/v8.9.1/bin/node

Applying Mocha options:
  {
    "ui": "bdd",
    "timeout": 10000,
    "recursive": true
  }

Test file(s):
  undefined
module.js:538
    throw err;
    ^

Error: Cannot find module '/Users/jeff/VSCode/api/src/undefined'
    at Function.Module._resolveFilename (module.js:536:15)
    at Function.Module._load (module.js:466:25)
    at Module.require (module.js:579:17)
    at require (internal/module.js:11:18)
    at /Users/jeff/.vscode/extensions/maty.vscode-mocha-sidebar-0.13.5/node_modules/mocha/lib/mocha.js:220:27
    at Array.forEach (<anonymous>)
    at Mocha.loadFiles (/Users/jeff/.vscode/extensions/maty.vscode-mocha-sidebar-0.13.5/node_modules/mocha/lib/mocha.js:217:14)
    at Mocha.run (/Users/jeff/.vscode/extensions/maty.vscode-mocha-sidebar-0.13.5/node_modules/mocha/lib/mocha.js:469:10)
    at Object.<anonymous> (/Users/jeff/.vscode/extensions/maty.vscode-mocha-sidebar-0.13.5/worker/runtest.js:63:7)
    at Module._compile (module.js:635:30)
    at Object.Module._extensions..js (module.js:646:10)
    at Module.load (module.js:554:32)
    at tryModuleLoad (module.js:497:12)
    at Function.Module._load (module.js:489:3)
    at Function.Module.runMain (module.js:676:10)
    at startup (bootstrap_node.js:187:16)

I have the following config in my User Settings:
    "mocha.options": {
        "ui": "bdd",
        "timeout": 10000,
        "recursive": true
    },
    "mocha.files.glob": "test/**/*.js",
    "mocha.files.ignore": [
        "test/fixtures/**/*"
    ],
    "mocha.env": {
        "BLUEBIRD_DEBUG": "1",
        "BLUEBIRD_W_FORGOTTEN_RETURN": "0",
        "JWT_KEY": "XXXXX"
    },
    "mocha.node_options": [
        "--trace-warnings"
    ]

I am able to run my tests from the command line using both nyc and mocha:
$ yarn run test
yarn run v1.3.2
$ JWT_KEY=XXXXX nyc mocha

debug: -------------------------------------------------------
debug: :: Thu Nov 16 2017 15:49:01 GMT-0800 (PST)
debug: Environment : development
debug: Port        : 18888
debug: -------------------------------------------------------
  Controller: AdminController
    Route: GET /admin/alive
      ✓ should respond with an alive message

[ ... ]

  716 passing (9s)
  4 pending

=============================== Coverage summary ===============================
Statements   : 80.2% ( 3204/3995 )
Branches     : 67.07% ( 1167/1740 )
Functions    : 85.61% ( 595/695 )
Lines        : 80.84% ( 3131/3873 )
================================================================================
✨  Done in 11.05s.

But it seems like the files argument in worker.js is not being set correctly:
https://github.com/maty21/mocha-sidebar/blob/df46f1897903b788b8a9625e7b2c1209e6b240bf/worker/runtest.js#L45
Any help would be appreciated!

hi
if you can upload not working sample it will be helpful coz i couldn't reproduce it on my tests

I just tried setting a breakpoint at line 45 inside the worker.js file. The breakpoint didn't work, but when I ran the command Run Debug, the tests all ran correctly:
Debugging with inspector protocol because Node.js v8.9.1 was detected.
node --inspect-brk=35669 ../../../../.vscode/extensions/maty.vscode-mocha-sidebar-0.13.5/node_modules/mocha/bin/_mocha test/**/*.js
Debugger listening on ws://<IP_ADDRESS>:35669/65882198-48ca-47d0-85ac-c980a5938d85
Debugger attached.
debug: -------------------------------------------------------
debug: :: Fri Nov 17 2017 00:51:43 GMT-0800 (PST)
debug: Environment : development
debug: Port        : 18888
debug: -------------------------------------------------------
  Controller: AdminController
    Route: GET /admin/alive
      ✓ should respond with an alive message

[...]

  709 passing (11s)
  4 pending
  5 failing

The 5 failing tests are due to the environment variables not being set. So, something is different between the Run All Tests (not working) and Run Debug (working) commands.
It would be much easier if I could setup the debugger to step through the extension code, but I'm not sure how to do that. How can I get the VSCode debugger to recognize a breakpoint in the worker.js file? I'll try googling around a bit, but if you can point me in the right direction I'll take a look at it.

In order to debug it you have to do the follows

Uncomment if (debug) an all the relevant lines in fork.js
Set a breakpoint in fork.js  and debug your code  in the fork.js file
3.set the launch.json to debug your code
When breakpoint reached run attach node from my launch.json file

Let me know if you need anything

Here's the output from the developer tools console:
[Extension Host] test arg: {"files":["undefined"],"options":{"ui":"bdd","timeout":10000,"recursive":true},"grep":null,"requires":[],"rootPath":"/Users/jeff/VSCode/api/src"}

console.ts:123 [Extension Host] module.js:538
    throw err;
    ^

Error: Cannot find module '/Users/jeff/VSCode/api/src/undefined'
    at Function.Module._resolveFilename (module.js:536:15)
    at Function.Module._load (module.js:466:25)
    at Module.require (module.js:579:17)
    at require (internal/module.js:11:18)
    at /Users/jeff/.vscode/extensions/maty.vscode-mocha-sidebar-0.13.5/node_modules/mocha/lib/mocha.js:220:27
    at Array.forEach (<anonymous>)
    at Mocha.loadFiles (/Users/jeff/.vscode/extensions/maty.vscode-mocha-sidebar-0.13.5/node_modules/mocha/lib/mocha.js:217:14)
    at Mocha.run (/Users/jeff/.vscode/extensions/maty.vscode-mocha-sidebar-0.13.5/node_modules/mocha/lib/mocha.js:469:10)
    at Object.<anonymous> (/Users/jeff/.vscode/extensions/maty.vscode-mocha-sidebar-0.13.5/worker/runtest.js:63:7)
    at Module._compile (module.js:635:30)
    at Object.Module._extensions..js (module.js:646:10)
    at Module.load (module.js:554:32)
    at tryModuleLoad (module.js:497:12)
    at Function.Module._load (module.js:489:3)
    at Function.Module.runMain (module.js:676:10)
    at startup (bootstrap_node.js:187:16)

t.log @ console.ts:123
t._logExtensionHostMessage @ extensionHost.ts:377
(anonymous) @ extensionHost.ts:202
emitTwo @ events.js:106
emit @ events.js:194
process.nextTick @ internal/child_process.js:766
_combinedTickCallback @ internal/process/next_tick.js:73
_tickCallback @ internal/process/next_tick.js:104

console.ts:123 [Extension Host] Error: unknown error
	at ChildProcess.process.on.on.code (/Users/jeff/.vscode/extensions/maty.vscode-mocha-sidebar-0.13.5/mochashim.js:104:18)
	at emitTwo (events.js:106:13)
	at ChildProcess.emit (events.js:194:7)
	at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
t.log @ console.ts:123
t._logExtensionHostMessage @ extensionHost.ts:377
(anonymous) @ extensionHost.ts:202
emitTwo @ events.js:106
emit @ events.js:194
process.nextTick @ internal/child_process.js:766
_combinedTickCallback @ internal/process/next_tick.js:73
_tickCallback @ internal/process/next_tick.js:104

console.ts:123 [Extension Host] Unhandled Rejection at: Promise  Object {isFulfilled: false, isRejected: true, rejectionReason: Object}  reason:  Error: unknown error
	at ChildProcess.process.on.on.code (/Users/jeff/.vscode/extensions/maty.vscode-mocha-sidebar-0.13.5/mochashim.js:104:18)
	at emitTwo (events.js:106:13)
	at ChildProcess.emit (events.js:194:7)
	at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)

As you can see in the first line, the files array is undefined. I haven't setup debugging, yet, but I will continue to play with it as I have time.
I've also noticed that it's reloading the tests in the sidebar quite a lot. I have 700+ tests and the repeated reloading can slow the editor down quite a bit.

about your last comment you right there was unnecessarily  decoration updates on every file switches update it so only if a switch was done to a test file the decoration will update
let me know if my fix in version 0.14.0 improve the performance
tks

@maty21  It is a little bit better, but I still get a lot of updates in the developer tools console. When I make a change to a test file, I think it is re-loading all test files rather than just the one that has been changed. For example, I have created a gist of my developer tools console:
https://gist.github.com/jeff-kilbride/c8368a41ed519cca9450429a3a6848b8
All of these actions (nearly 6000 lines) took place when I did two things:

Add a blank line to an open test file
Click on the developer tools window (change focus from the editor)

The change of focus from the editor to the developer tools console comes at line 2823. You can see from the timestamps that I am getting thousands of updates per second. This happens whenever I make a change to a test file. For the one to two seconds it takes for these actions to run, my cursor slows down or stops responding altogether. It makes editing test file very difficult. It is better than it was, because I believe this was happening for all files before your latest change.
Would it be possible to limit these updates to only the test file being edited?
Also, I am seeing this error quite a bit, too:
shell.ts:459 [maty.vscode-mocha-sidebar] Cannot read property 'document' of undefined: TypeError: Cannot read property 'document' of undefined
	at files.forEach.f (/Users/jeff/.vscode/extensions/maty.vscode-mocha-sidebar-0.14.0/changesNotification.js:44:90)
	at Array.forEach (native)
	at Glob (/Users/jeff/.vscode/extensions/maty.vscode-mocha-sidebar-0.14.0/changesNotification.js:43:27)
	at f (/Users/jeff/.vscode/extensions/maty.vscode-mocha-sidebar-0.14.0/node_modules/once/once.js:25:25)
	at Glob.<anonymous> (/Users/jeff/.vscode/extensions/maty.vscode-mocha-sidebar-0.14.0/node_modules/glob/glob.js:151:7)
	at emitOne (events.js:96:13)
	at Glob.emit (events.js:191:7)
	at Glob._finish (/Users/jeff/.vscode/extensions/maty.vscode-mocha-sidebar-0.14.0/node_modules/glob/glob.js:197:8)
	at done (/Users/jeff/.vscode/extensions/maty.vscode-mocha-sidebar-0.14.0/node_modules/glob/glob.js:182:14)
	at Glob._processGlobStar2 (/Users/jeff/.vscode/extensions/maty.vscode-mocha-sidebar-0.14.0/node_modules/glob/glob.js:637:12)
	at /Users/jeff/.vscode/extensions/maty.vscode-mocha-sidebar-0.14.0/node_modules/glob/glob.js:626:10
	at RES (/Users/jeff/.vscode/extensions/maty.vscode-mocha-sidebar-0.14.0/node_modules/inflight/inflight.js:31:16)
	at f (/Users/jeff/.vscode/extensions/maty.vscode-mocha-sidebar-0.14.0/node_modules/once/once.js:25:25)
	at lstatcb_ (/Users/jeff/.vscode/extensions/maty.vscode-mocha-sidebar-0.14.0/node_modules/glob/glob.js:519:7)
	at RES (/Users/jeff/.vscode/extensions/maty.vscode-mocha-sidebar-0.14.0/node_modules/inflight/inflight.js:31:16)
	at f (/Users/jeff/.vscode/extensions/maty.vscode-mocha-sidebar-0.14.0/node_modules/once/once.js:25:25)

This seems to happen whenever I close an editor window, both for test files an non-test files.

just add a patch for issue #30 let me no if it fixes  the "document " exception
tks

I no longer get that error:
[Extension Host] notification:editor is not defined therefore tests will not updates
                     please refresh it manually via side bar

👍


Rango Provider breaks on Firefox

When swapping via Rango on Firefox, a CORS error is thrown in addition to a 403.

Thank you, we are looking into it


Multiple VLCControls on a form

I have an issue with multiple VLCControls on a form.
Generic information

Vlc.DotNet version : 3.0.0
Vlc.DotNet project used : WinForms
libvlc version : (Please fill) (x64) + downloaded from VLC website.
.net version : (4.6.2)
Project language : (C#)
Project build architecture : (x64)
Operating system : (Windows .7) (x64)

Summary
If I add multiple controls on a form and play a video in all I can see the videos in all controls.  However if I try to mute just one of them, they all mute.  If I try to unmute just one, they all unmute.  If a video is not playing in one of the controls and I unmute that one and mute the rest.  The rest all mute.  If I mute the one not playing a video and unmute one of the others that are playing, they all unmute.

[X] I confirm that my issue doesn't happen in VLC itself.

This is a known issue : https://github.com/ZeBobo5/Vlc.DotNet/issues/524#issuecomment-466763262
Use --aout=directsound

Closing since it has been answered.


Undocumented B2C page layout versions (self-asserted and Multifactor)

The B2C Portal shows that there is a self-asserted page layout version 2.1.9 but the azure doc does not include what updates there are on this page layout (https://docs.microsoft.com/en-gb/azure/active-directory-b2c/page-layout#self-asserted-page-selfasserted).

Multifactor is also out of date - layout version 1.2.6 exists but is not documented (https://docs.microsoft.com/en-gb/azure/active-directory-b2c/page-layout#mfa-page-multifactor).

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

ID: c4272fbd-ad3d-6099-39bc-966320101b03
Version Independent ID: ac21035f-4145-b309-d45c-3c38e965301d
Content: Page layout versions - Azure AD B2C
Content Source: articles/active-directory-b2c/page-layout.md
Service: active-directory
Sub-service: b2c
GitHub Login: @kengaderdus
Microsoft Alias: kengaderdus

#ATCP

@bolt-io Thank you for your feedback . We will investigate and update the thread.

Any update on what these changes are?
#atcp

In the meantime, selfAsserted has beedn updated to 2.1.10. Unifiedssp to 2.1.6.
Still undocumented.

Closed by error due to duplicate referenced?

@bolt-io @kamilzzz
No, it is closed by the Pull Request Merger process after the document was updated. The changes might take up to 24 hrs to reflect.

@amanmcse I can see documentation page is already updated.
However, for Self-asserted page (https://docs.microsoft.com/en-us/azure/active-directory-b2c/page-layout#self-asserted-page-selfasserted) now we have documented versions up to 2.1.9.
What about 2.1.10 which is default when using User-flows?

Also, uploading policy with wrong version result in error specifying versions 2.1.11 and 2.1.12 can be used.

Message: Validation failed: 1 validation error(s) found in policy "B2C_1A_TRUSTFRAMEWORKEXTENSIONS" of tenant "{tenant}.onmicrosoft.com".The specified page contract 'urn:com:microsoft:a
ad:b2c:elements:contract:selfasserted' has invalid version '2.1.57'. The available versions are: '["1.0.0","1.1.0","1.2.0","2.0.0","2.1.0","2.1.1","2.1.2","2.1.3","2.1.4","2.1.5","2.1.6"
,"2.1.7","2.1.8","2.1.9","2.1.10","2.1.11","2.1.12"]'.

Should I create a new issue or we continue here?

@kamilzzz
Reopening the issue.

Page versions "2.1.11", "2.1.12" are not publicly available yet. The doc will be updated with the 2.1.10 later today, and this GitHub issue will be closed automatically (before the doc is published).


Database

add database for structured data for simulations and measurements

@tvt173
@flaport
@thomasdorch
@SkandanC
@proppy

would be great if we can generate a diagram of the database to review
https://crashlaker.github.io/database/2020/05/13/database_diagram_with_python_sqlalchemy.html

I can merge it and then we can add documentation on how to add data to it into future PRs:
TODO:

[ ] add examples on how to add and query measurements and simulations
[ ] add examples on how to bring up and connect your own database

Maybe:

[ ] Include GDS serialization (polygons and references)
[ ] material database

hi @joamatab , overall it looks good to me. the only part I have any immediate criticisms for are the port type:

you have is_electrical and is_optical as columns, but I think it would be cleaner and more flexible to have something like port_type which is either a string or maps to a table of port types. what do you think?
also, do you have or see value in adding a relation to a PDK name/version used to make the wafer? or otherwise to the version of the code used to generate it?


Querying GPTPandasIndex is failing when requires to perform mathematical calculations on data

Using GPTPandasIndex I created an index on a dataset (pandas drataframes) which I loaded from a csv file. By initializing query engine on this index, I am asking a query that requires some mathematical calculations to do (internally) on DOB/Age column value and the program is failing with below error (in file pandas_query.py) :

Traceback (most recent call last):
File "c:\Users<User>\AppData\Local\Programs\Python\Python311\Lib\site-packages\llama_index\indices\struct_store\pandas_query.py", line 58, in default_output_processor
raise e
File "c:\Users<User>\AppData\Local\Programs\Python\Python311\Lib\site-packages\llama_index\indices\struct_store\pandas_query.py", line 56, in default_output_processor
return str(eval(module_end_str, {}, local_vars))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1, in
NameError: name 'pd' is not defined

Note: This issue does exist from version in which "GPTPandasIndex" is introduced.

Hi,
I am using the version "llama-index==0.8.20"
while using prompt which requires some calculation using pandas, it is giving me the error "NameError: name 'pd' is not defined"

@himanshu-msft I think pd just has to be added on this line
https://github.com/jerryjliu/llama_index/blob/fe8ef6658a8b0fc64368ba84adad25afe86dc1c9/llama_index/query_engine/pandas_query_engine.py#L65
I can make the fix in a bit, but feel free to tackle it for easy PR points in the meantime!


Certain Azure deployments require Owner level privileges, document issues and using a separate SP for AKS deployments to limit role scope

@jmspring, closing this as there is associated PR. Reopen  if needed.


Chore/update

https://github.com/PanJiaChen/vue-element-admin/issues/2400

https://github.com/PanJiaChen/vue-element-admin/issues/2046


Black window when launching Hain from source

I'm getting this black window when trying to launch hain from master.

Any ideas what I'm missing?

Reverting electron-prebuilt to 0.37.2 seems to fix this.


Azure Storage Explorer -- Get Subscriptions Failure Details

Storage Explorer Version:
Build Number:
Platform/OS:
Architecture:
Regression From:
Bug Description

Steps to Reproduce

Expected Experience

Actual Experience

Additional Context

@ShirleyVA can you please fill out the information in the template. Most importantly:
Storage Explorer Version: In which Storage Explorer version was the bug encountered?
Build Number: What is the build number (Help > About)
Platform/OS: Linux Ubuntu? macOS High Sierra? Windows 10?
Regression From:  Was this working in a previous version? If so, which one?
**Any error messages you are seeing:

Thanks for contacting me. Our sys administrator has fixed my connection problem
From: Matthew Rayermann<EMAIL_ADDRESS>Sent: Monday, October 26, 2020 1:38 PM
To: microsoft/AzureStorageExplorer<EMAIL_ADDRESS>Cc: Zhou, Shirley<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [microsoft/AzureStorageExplorer] Azure Storage Explorer -- Get Subscriptions Failure Details (#3713)
@ShirleyVAhttps://github.com/ShirleyVA can you please fill out the information in the template. Most importantly:
Storage Explorer Version: In which Storage Explorer version was the bug encountered?
Build Number: What is the build number (Help > About)
Platform/OS: Linux Ubuntu? macOS High Sierra? Windows 10?
Regression From: Was this working in a previous version? If so, which one?
Any error messages you are seeing:
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/AzureStorageExplorer/issues/3713#issuecomment-716711391, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ARPXDAM3W634DC3MJOQWXSTSMWXWPANCNFSM4S46Z5KA.

@ShirleyVA that is great to hear. If by chance you know how your sys admin fixed it, feel free to let us know here. It may be of help to other people in the future. 🙂


Update dependencies

Make sure requirements.txt is up to date, go through all our scripts and update all modules.

Radical clean up relying on pip to resolve dependencies.


Added Simon Game Extension

Description
Created a google chrome extension of the simon game with a good UI i have added 2 audio files 1 for whenever the button flashes and the 2nd for when we press a wrong button so the wrong button audio will play also added a preloader for whenever the website takes time in loading and also added a start and rest button to smoothly start and reset the and also added a display for  the level or score after the game is over
So i request you to label this a level 3 issue thank you!
Fixes:  #572

Type of change

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

Checklist:

[x] I have made this from my own
[x] I have taken help from some online resourses
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] My changes generate no new warnings

ATTACH SCREEN-SHOTS / DEPLOYMENT LINK
UI:

Preloader:

Game Demo:
https://github.com/Sulagna-Dutta-Roy/GGExtensions/assets/140048632/b7ad7322-0b78-4ffd-b6bf-e8001cc14e5f

@Sulagna-Dutta-Roy Hi could you please label this as level 3?

Change the directory name: Simon Game/your files

@Sulagna-Dutta-Roy how do i do that? like where do i have to make this change im sorry i dont understand.

I'm talking about the folder rename that you've added.

I'm talking about the folder rename that you've added.

oh ok!!

@Sulagna-Dutta-Roy Changes done, Also would you please consider labelling this a higher level
Thank you!


services

[x] extract data using service-use plugin
[ ] services dashboard
[ ] services-report
[ ] service-count
[ ] services donut
[ ] relational databases charts


[WIP] Add Yarn Support

This PR uses Yarn on Travis. It should also recommend developers do the same.

[ ] Make sure there are no side effects
[ ] Add to documentation
[x] Celebrate 🎉

Very interested in merging this @MrRio

Cool, I'll give it another whirl tomorrow and make sure it's all working.
On Sun, 8 Jan 2017 at 21:15, Guillermo Rauch<EMAIL_ADDRESS>wrote:

Very interested in merging this @MrRio https://github.com/MrRio
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/zeit/hyper/pull/876#issuecomment-271180011, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAC5s_usiOaFjjqmiI2NHRLl9KXx-a9Aks5rQVHegaJpZM4KWejN
.

--
James Hall
Director
Parallax Agency Ltd
M.<PHONE_NUMBER>0


Use mimalloc in next-dev

are we merging?

Just got build result from next-swc, good to go.

@alexkirsz
What's the reason to use mimalloc instead of mimalloc-rust?

@Jerrody mimalloc is the most well-maintained of the two.

How did you understand? Both of them are 1.7.6. Also, mimalloc_rust has an exposed mimalloc's API.

@Jerrody mimalloc is the most well-maintained of the two.
This is the first thing, the second what's the purpose of creating a TurboMalloc why don't just use?

static ALLOC: mimalloc_rust::GlobalMiMalloc = mimalloc_rust::GlobalMiMalloc;

It doesn't give any benefits from creating an addition type. At any rate, when you specify the global allocator all allocations in Rust will be handled from specified global allocator.

This is the first thing, the second is what's the purpose of creating a TurboMalloc why don't use this:
static ALLOC: mimalloc_rust::GlobalMiMalloc = mimalloc_rust::GlobalMiMalloc;

It doesn't give any benefits from creating an additional type. At any rate, when you specify the global allocator all allocations in Rust will be handled from the specified global allocator.
In my opinion, this PR doesn't give any benefit, reason, or sense, but I'm not a maintainer.

You still need to explicitly declare extern crate if you mean to use an allocator declared this way in another crate. I find the #[global_allocator] declaration clearer. In fact, we made this exact mistake before when depending on turbo-malloc and not declaring extern crate turbo_malloc. Which means that, at the moment, next-dev isn't using mimalloc at all.

This is the first thing, the second is what's the purpose of creating a TurboMalloc why don't use this:
static ALLOC: mimalloc_rust::GlobalMiMalloc = mimalloc_rust::GlobalMiMalloc;

It doesn't give any benefits from creating an additional type. At any rate, when you specify the global allocator all allocations in Rust will be handled from the specified global allocator.
In my opinion, this PR doesn't give any benefit, reason, or sense, but I'm not a maintainer.

You still need to explicitly declare extern crate if you mean to use an allocator declared this way in another crate. I find the #[global_allocator] declaration clearer. In fact, we made this exact mistake before when depending on turbo-malloc and not declaring extern crate turbo_malloc. Which means that, at the moment, next-dev isn't using mimalloc at all.

I still don't understand:

Why switch to mimalloc?
Why need to create an additional type TurboMalloc?

But you're right that need to declare a global allocator in bin file.

You still need to explicitly declare extern crate if you mean to use an allocator declared this way in another crate. I find the #[global_allocator] declaration clearer.

About that I didn't say nothing against.

I don't see a reference to mimalloc in Next.js so we might be good there.

@alexkirsz next.js use mimalloc here https://github.com/vercel/next.js/blob/canary/packages/next-swc/crates/napi/src/lib.rs#L35

Can we use the same method for our code?

@sokra This is what we were doing previously for NFT. We can do this here too, I just thought the #[global_allocator] way is cleaner (no implicit behavior).

We can do this here too, I just thought the #[global_allocator] way is cleaner (no implicit behavior).

I'm fine with any of these ways, but I'm all for consistency. It should be the same way in next-swc and in this repo. I don't want to introduce random differences between tested version and published version.

You still need to explicitly declare extern crate if you mean to use an allocator declared this way in another crate. I find the #[global_allocator] declaration clearer. In fact, we made this exact mistake before when depending on turbo-malloc and not declaring extern crate turbo_malloc. Which means that, at the moment, next-dev isn't using mimalloc at all.

I still don't understand:

Why switch to mimalloc?
Why need to create an additional type TurboMalloc?

But you're right that need to declare a global allocator in the bin file.

You still need to explicitly declare extern crate if you mean to use an allocator declared this way in another crate. I find the #[global_allocator] declaration clearer.

About that, I didn't say anything against it. Everything is alright.

Okay, ignore, fine.


athena fails if directory name has space

I am using Google Drive for storing my data in cloud and my directory structure is something like "/Users/abhishektomar/Google Drive/infra/athena" but whenever I am running athena command to do any thing it failed because of space in a directory name.
error what  I am getting is:
docker: Error parsing reference: "Drive/infra/athena/terraform:/opt/platform_terraform" is not a valid repository/tag.

Hello @abhishektomar-olx
We've searched the Athena code base and there was indeed one place where the directories where out of double quotes, not handling properly the spaces (https://github.com/athena-oss/athena/commit/96062ef77963b6c4eb62e2ee50c01fc3a2422680#diff-7a88b3bded691993188ff13f623474cdR443)
However make sure also that in the plugin you are using, which seems to be a custom one, that all docker mount functions do indeed wrap with " the directories paths.

I'm closing it as we have a test case for this now. @abhishektomar-olx if you continue to experience this issue please reopen it.


CAI Integration - Installer

I think we should also set the retention period for the CAI bucket to delete all files older than 14 days, plenty of time to troubleshoot, but then we don't have a constantly filling bucket costing the customers money (and note this in the documentation as well).
https://cloud.google.com/storage/docs/gsutil/commands/lifecycle
cai-bucket-lifecycle.json:
{
"rule":
[
{
"action": {"type": "Delete"},
"condition": {"age": 14}
}
]
}
gsutil lifecycle set cai-bucket-lifecycle.json gs://{CAI_EXPORT_BUCKET}

You can probably set the lifecycle in the deployment manager template as well.

Added bucket life cycle in deployment manager, will test it out before merging.


Add docker provider autoscaling config

Issue #, if available:
https://github.com/aws/eks-anywhere/issues/3387
Description of changes:
Adds appropriate annotations to machine deployment for autoscaling.
Testing (if applicable):

/approve


docs: Added new version update instructions

As the title goes.

Paper cuts found while onboarding:

testcontainer not pulling latest dev image
Intellij setup needs manual setup due to class file

@agourlay, review 🙏


composition

Need to review composition so that blocks can be defined in them.  Currently, need to do something like
    _":sample text |  testgo _"defaults:sample nav"
        | equals _":target", defaults "

[testgo](# "compose:|  .split \n---\n
        | defaults :css, $0, :nav,
            $0, :hero, :blank
        | minidoc :title, :body
        | .mapc .trim
        | .compile defaults:template
        ")

But would want
    _":sample text |  testgo
        | equals _":target", defaults "

[testgo](# "compose:|  .split \n---\n
        | defaults :css,  _"defaults:sample nav", :nav,
             _"defaults:sample nav", :hero, :blank
        | minidoc :title, :body
        | .mapc .trim
        | .compile defaults:template
        ")

Presumably the composition command would wait for those blocks just as it waits for the commands and then could store them and call them up just as they do for $ and @ syntax

Planning on doing a partial for commands. Thus, we would define one command with the first block and then fill in the argument in making a second and final command.

Partial command written


May 22 2024 - Creating Jan Faracik's spotlight

This PR is for the contributor spotlight page of Jan Faracik (@janfaracik), and ensures the feature flag is turned to false on the previous spotlight page.

@janfaracik would you be able to review when you have a moment? Sorry for the delay in creating the PR, I've been out/away from my computer for a bit, but didn't want to miss publishing your story!

Hi @kmartens27  the first paragraph appears to be cut off when in the Preview (View file).  Other than that the rest looks good to me.

Thanks @alyssat and @gounthar!
I've adjusted the intro paragraph so that it is unified instead of broken up. (The view it had presented was how I had formatted it, but since it was only two lines, I just combined everything to one intro and it looks much better.

@janfaracik would you be able to review when you have a moment? Sorry for the delay in creating the PR, I've been out/away from my computer for a bit, but didn't want to miss publishing your story!

Looks great - thanks!


Add Balancer event indexing manual test

This PR just adds a manual test for verifying complete Balancer pool indexing via events (we don't exercise this path usually because we typically initialize by reading the Subgraph, but its useful for refactoring event indexing code to make sure everything is working).
Additionally, I noticed that the test was failing because the deployment information included the transaction hash and not the block number which we use to know which block to start indexing events on. I changed all DeploymentInformations to use block numbers instead of transaction hashes.
Test Plan
This is the test!
$ export NODE_URL=...
$ cargo test -p shared -- balancer_index_pool_events --nocapture --ignored
...
test sources::balancer_v2::event_handler::tests::balancer_index_pool_events ... ok

Codecov Report

Merging #1450 (d5ae661) into main (e5d0246) will decrease coverage by 0.13%.
The diff coverage is 27.63%.

:exclamation: Current head d5ae661 differs from pull request most recent head a1c55f1. Consider uploading reports for the commit a1c55f1 to get more accurate results

@@            Coverage Diff             @@
##             main    #1450      +/-   ##
==========================================
- Coverage   65.93%   65.80%   -0.14%
==========================================
  Files         155      155
  Lines       30338    30381      +43
==========================================
- Hits        20004    19992      -12
- Misses      10334    10389      +55

The reason we didn't notice is because we never really index by events from scratch?

Exactly.


Devicemapper is deprecated from docker ver. 25

Description of changes
Devicemapper is deprecated from docker ver. 25 - https://docs.docker.com/storage/storagedriver/device-mapper-driver/

Things done
Did run into this runtime error, updating the host
Aug 05 09:01:33 nix-p01 dockerd[1647]: time="2024-08-05T09:01:33.625388361+02:00" level=info msg="[graphdriver] trying configured driver: devicemapper"
Aug 05 09:01:33 nix-p01 dockerd[1647]: time="2024-08-05T09:01:33.626590547+02:00" level=info msg="stopping healthcheck following graceful shutdown" module=libcontainerd
Aug 05 09:01:33 nix-p01 dockerd[1647]: time="2024-08-05T09:01:33.626664583+02:00" level=info msg="stopping event stream following graceful shutdown" error="context canceled" module=libcontainerd namespace=plugins.moby
Aug 05 09:01:34 nix-p01 dockerd[1647]: failed to start daemon: error initializing graphdriver: [graphdriver] ERROR: the devicemapper storage-driver has been deprecated and removed; visit https://docs.docker.com/go/storage-driver/ for more information: devicemapper

Better to have a build warning then discover it runtime :-)

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[X] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

https://github.com/NixOS/nixpkgs/pull/268979#pullrequestreview-1782109383

A better commit message would be:

nixos/docker: remove devicemapper from the list of options.virtualisation.docker.storageDriver

It needs a deprecation notice. Unfortunately I do not remember how to write one :(

Thanks @AndersonTorres. Have now changed commit message, and added a note to the 24.05 release notes -  hope this is the right way to do it.


gh-1815 - outputType added to OperationDetail and tests added

Codecov Report

:exclamation: No coverage uploaded for pull request base (develop@1419451). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             develop    #1817   +/-   ##
==========================================
  Coverage           ?   66.18%
  Complexity         ?     2056
==========================================
  Files              ?      795
  Lines              ?    25920
  Branches           ?     3366
==========================================
  Hits               ?    17154
  Misses             ?     7424
  Partials           ?     1342

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 1419451...1415261. Read the comment docs.


ot downloading 320kbps.!

Please fix the issue. When i'm clicking on download button the download started. but it downloading only 128kbps.!! which quality is selected on player setting. But you told that it will download 320kbps.!

sorry . it was my mistake. not on your code. sorry for that
how can i delete this issue?


Support null constants better in folding

Fixes #1357

getFloatConstantKind() now handles OpConstantNull
PerformOperation() now handles OpConstantNull for vectors
Fixed some instances where we would attempt to merge a division by 0
added tests

Rebased, squashed, and merged as ce5941a6.


Configure travis caching for gradle.

Looks like it's trying to work

Looks like win is measurable but basically noise compared to test times.  I might experiment with the parallel module or test running (IIRC) and if I can get it as stable, look at turning that on.


Add support for custom emotes

Fediverse servers such as Mastodon and Pleroma have support for adding custom emojis, currently the app does not support this and thus all the custom emojis just look like :text:.
For example this status: https://mstdn.io/users/zeta/statuses/99893603217308279
Is OK on Pleroma: https://stuff.zeta.pm/up/PowderbluePositivePacificparrotlet
And is OK on Mastodon: https://stuff.zeta.pm/up/WobblyWelllitIggypops
But is NOT OK on Flantter: https://stuff.zeta.pm/up/AmusingAdolescentAlligatorgar

I implemented a feature of showing custom emojis before.
But that version has a bug that client is terminated abnormally when enabling the setting "Enable tweet text selection".
The cause is unknown and I couldn't fix it. (See branch feature/custom_emoji)
I plan to implement about custom emoji using another approach.
Please wait a moment for next release.

reference : #124 #125

New user for Flantter. Don't have "Enable tweet text selection" on but still can't use custom mastodon emoji. Any news on the update?


build singularity package for builders and use that instead of compiling from source everytime

We could use the dockerized singularity base images -- https://github.com/singularityhub/singularity-docker
They're hosted on quay.io (https://quay.io/repository/singularity/singularity?tab=tags)

Singularity uses a docker image now. Closing


Log test host standard error

Log test host standard error.
Change error messages sentence for better grammar.
Update respective xlf files.
Related issue: #281

Hi @smadala, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Satya Madala). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;


add: day wise log split and log files management

Improvisation of the existing implementation. This will enable the logs to be split day-wise and also manage the files and have some sort of retention policy or auto-delete after a certain number of days.
This fixes issue: #2
Topic Breakdown:

[ ] fix the issue of logs not getting split into date-wise logs
[ ] implement log management (so that the log files don't overflow taking up memory)
[ ] implement an auto-delete or auto-archival of the logs
[ ] implement a retention policy

TODO (for future reference):

make the implementation values dynamic and configurable (remove hardcoded values)
make the existing metadata dynamic and configurable (remove hardcoded values)

tried modifying new Date() placement in logger.js to see if the files get split.
tried deleting log files or the log text content inside the log files to see if the files get recreated with a new date.
realized that this doesn't work because of how Winston is created. The config file is called one time at the beginning of the application start, and it's like an object.
searched through GitHub issues and forums to tackle this type of requirement.

I found the following GitHub issues relevant to this problem:

Winston issue#10: https://github.com/winstonjs/winston/issues/10
Winston PR#205: https://github.com/winstonjs/winston/pull/205

It seems like we have to rely on another package by the Winston foundation:
winston-daily-rotate-file
Implementation of the above package would take care of the following requirement:

split log files according to date, time, or memory size.
delete older log files (say 30 days or 60 days old files)

implement winston-daily-rotate-file
tried out various configurations for "log file rotate", "split logs datewise" and "auto deletion of old logs"
working on playing with config and testing the outcome and behavior matches with the expectation

Note: we can also set the log rotation frequency to anything else and not necessarily daily.
This should be a good generalization point for future TODOs.


Change file and folder icons to #707070

Issue #:
Description of changes:

Change icon color to #707070

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the met-public license (Apache 2.0).

Codecov Report

Merging #948 (2df6b6e) into main (c86abd4) will decrease coverage by 0.17%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #948      +/-   ##
==========================================
- Coverage   73.58%   73.41%   -0.18%
==========================================
  Files         198      198
  Lines        5315     5311       -4
  Branches      329      329
==========================================
- Hits         3911     3899      -12
- Misses       1362     1370       +8
  Partials       42       42

Flag
Coverage Δ

metweb
66.26% <ø> (ø)

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

Impacted Files
Coverage Δ

.../form/EngagementWidgets/Documents/DocumentFile.tsx
100.00% <ø> (ø)

...orm/EngagementWidgets/Documents/DocumentFolder.tsx
100.00% <ø> (ø)

...ts/engagement/form/EngagementWidgets/MetWidget.tsx
100.00% <ø> (ø)

...agementWidgets/WhoIsListening/ContactInfoPaper.tsx
75.00% <ø> (ø)

...b/src/components/engagement/view/PreviewBanner.tsx
69.04% <ø> (ø)

...ponents/engagement/view/widgets/DocumentWidget.tsx
35.13% <ø> (ø)

met-web/src/styles/Theme.ts
100.00% <ø> (ø)

met-api/src/met_api/utils/action_result.py
87.50% <0.00%> (-12.50%)
:arrow_down:

...i/src/met_api/services/widget_documents_service.py
86.95% <0.00%> (-8.70%)
:arrow_down:

met-api/src/met_api/models/base_model.py
76.74% <0.00%> (-2.33%)
:arrow_down:

... and 1 more


Battery sensors 'unknown'

Describe the bug
the battery sensor import and export that I use for my energy dashboard don't work anymore:
Expected behavior
import in battery and export in battery
Screenshots

Diagnostic File
let me know what you need.
Debug logs
No response
Home Assistant Version
2024.6.4
solaredge-modbus-multi Version
2.4.15
Installation Type
HAOS
Read the Instructions

[X] My configuration follows https://github.com/WillCodeForCats/solaredge-modbus-multi/wiki/Configuration
[X] I have read the Known Issues https://github.com/WillCodeForCats/solaredge-modbus-multi/wiki/Known-Issues
[X] This issue is not about a template error (do not report template errors, read https://github.com/WillCodeForCats/solaredge-modbus-multi/wiki/Template-Design-Notes)

Additional Context
No response

I'm sure this is the same reason it always is:
https://github.com/WillCodeForCats/solaredge-modbus-multi/wiki/Known-Issues#battery-energy
Next release is getting a logging message. I can't do anything about battery energy meters beyond the settings the integration already has unless someone has a new idea on how to handle it.

Release v2.4.16-pre.2 adds logging for the energy values go backwards condition.

Thanks! I will test that one.

It's just going to log, there is no fix I'm aware of unless SolarEdge fixes their firmware to make battery energy a true increasing value.


Add installation instructions for NeoVim

I have not been able to install this theme in NeoVim, as there are no instructions on how to do so. If it is not too much to ask, could you please add such installation instructions, or at least give them here? Thank you for your contribution open source.

I added the documentation in README, click into the URL to see detailed instructions.


Corrupt Image

When using the following code;
<?php

ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);

?>

<?php

$loader = require __DIR__ . '/vendor/autoload.php';

?>

<?php

use mikehaertl\wkhtmlto\Pdf;

$pdf = new Pdf('https://google.com');
$pdf->binary = '/usr/local/bin/wkhtmltopdf';

// ... or send to client for inline display
$pdf->send();

?>

Everything acts and works as it should, no issues at all. However I do not want to use the Pdf format, I want to use an image format. When I use the following;
<?php

ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);

?>

<?php

$loader = require __DIR__ . '/vendor/autoload.php';

?>

<?php

use mikehaertl\wkhtmlto\Image;

$image = new Image('https://google.com');
$image->binary = '/usr/local/bin/wkhtmltoimage';

// ... or send to client for inline display
$image->send();

?>

The image creates successfully (I have tested writing to disk to ensure there are no errors with the actual image), it just has issues either downloading to the client or displaying it inline. What appears is a 1x1 blank box?
I am also getting no errors in the apache2 error.log file, permissions are set correctly. Please help me find a solution, been at this for days now.

Could it be this: #270 ?

The question is rather: Do you have mod_deflate or similar enabled in your webserver?
What you can also try: Compare the HTTP headers sent when you directly download the image you saved on the server to those when you use send().

Tested on Debian 9 and Ubuntu 14.04, currently using Ubuntu, here is the live example;
http://<IP_ADDRESS>/test.php

mod_deflate (Disabled)
wkhtmltopdf/image is correctly installed on version <IP_ADDRESS> (patched qt)
PHP5 (No custom settings/fresh Ubuntu install with lamp installed)

My File.php has the correct permissions, I have tried editing out said lines and not editing out said lines and the same problem still occurs.
My test.php file shows;
<?php

ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);

?>

<?php

$loader = require __DIR__ . '/vendor/autoload.php';

?>

<?php

use mikehaertl\wkhtmlto\Image;

$image = new \mikehaertl\wkhtmlto\Image('https://www.google.com');
$image->setOptions(array(
'binary' => '/usr/local/bin/wkhtmltoimage',
'type' => 'png'
));

$image->saveAs('page.png');
$image->send('page.png');

?>

No errors within apaches error.log file, no visible PHP errors with reporting on. I am not 100% sure what you mean by comparing the headers? I will look into that now.

https://developer.mozilla.org/de/docs/Web/HTTP/Headers
https://www.mkyong.com/computer-tips/how-to-view-http-headers-in-google-chrome/

I am familiar with chromes developer tools, I did actually check that before and nothing. When I navigate to (http://<IP_ADDRESS>/test.php), I don't see any headers either post or get requests...?

I can not help you with debugging HTTP headers. Each and every request and response has HTTP headers. So it's the first thing that comes to mind if there's a difference between saveAs() and d/l and send(). If the content is the same it can only be the headers that differ.

IDK why that was not showing, just hopped onto my laptop and managed to get some information from the headers;
General
Request URL: http://<IP_ADDRESS>/test.php
Request Method: GET
Status Code: 200 OK
Remote Address: <IP_ADDRESS>:80
Referrer Policy: no-referrer-when-downgrade

Response Headers
HTTP/1.1 200 OK
Date: Thu, 26 Apr 2018 08:58:07 GMT
Server: Apache/2.4.7 (Ubuntu)
X-Powered-By: PHP/5.5.9-1ubuntu4.24
Pragma: public
Expires: 0
Cache-Control: must-revalidate, post-check=0, pre-check=0
Content-Transfer-Encoding: binary
Content-Length: 2035503
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Type: image/png

Request Headers
GET /test.php HTTP/1.1
Host: <IP_ADDRESS>
Connection: keep-alive
Cache-Control: max-age=0
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: en-GB,en-US;q=0.9,en;q=0.8

Again, this is a fresh install of Ubuntu 14.04 minimal specifically for troubleshooting this, I have disabled mod_deflate and I have not got any .htaccess or custom files/made any changes to the default settings apart from of course mod_deflate.

I don't know either. It sounds very weird that you say saveAs() works while send() does not. Both use the same file (temporarily saved on disk). The one only copies the file to your saveAs-location and the other sends the file.
Try to call saveAs() and then send() the file for download and then compare the binary content. It must be the same.
I'm sorry, but I have no further ideas.

Mike, I figured some things out. This really, really f**** annoyed me so hopefully you can potentially look at this work-around and figure out what may of caused the issue?
`<?php
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
?>

setOptions(array(
'binary' => '/usr/local/bin/wkhtmltoimage',
'type' => 'png'
));

$image->saveAs('tmp/page.png');

$image = 'tmp/page.png';
$imageData = base64_encode(file_get_contents($image));
echo '';

unlink('tmp/page.png');
die();

?>`
Now, I am amature if that when it comes to PHP. I don't know if this is bad practice but it works exactly how it should work, you can see the live demo;
http://<IP_ADDRESS>/test.php

Hmm, while it looks a bit hacky to me - if it works I'd say it's fine.
I'm sorry, that I can't offer more assistance. TBH I myself never used wkhtmltoimage and only added this as per request of another user. All this is vulonteers work, you know, so I can't guarantee that everything always works as it should and I don't have the time to fix each and every possible problem immediately.


Hard exit on pcall failed

To avoid undefine…d behavior in libuv and luajit follow https://github.com/luvit/luv/commit/7526c1d9955f085df9eb1c25fcc31c0cfe67e583.
Replay https://github.com/luvit/luv/issues/433.
LUVF_CALLBACK_ flags introduced by https://github.com/luvit/luv/commit/5b68007d6919edd2f5c99830ba0679f958b1235c#diff-4221738e9478598ca8f06be66d888559

ci fail with PROCESS_CLEANUP_TEST=1

ci fail with PROCESS_CLEANUP_TEST=1

This is okay. We can let it fail until I finish #414.


Add delivery client logging

Add logging for delivery client connections to ordering service, as well as disconnections.
This will help with troubleshooting when connections between peer and orderer are in doubt.
Also improve related log messages and config descriptions.
Signed-off-by: David Enyeart<EMAIL_ADDRESS>

@Mergifyio backport release-2.5

@Mergifyio backport release-2.2


httpx.ConnectError: [Errno 111] Connection refused

Do you need to file an issue?

[X] I have searched the existing issues and this bug is not already filed.
[ ] My model is hosted on OpenAI or Azure. If not, please look at the "model providers" issue and don't file a new one here.
[ ] I believe this is a legitimate bug, not just a question. If this is a question, please use the Discussions area.

Describe the issue
我卡在 create_final_entities这一步，报错信息显示：httpx.ConnectError: [Errno 111] Connection refused，在尝试连接到服务器时被拒绝了。但我用crul命令访问两个api的时候是可以正常使用的，有友友遇到同样情况的吗
Steps to reproduce
No response
GraphRAG Config Used
# Paste your config here

Logs and screenshots
No response
Additional Information

GraphRAG Version:
Operating System:
Python Version:
Related Issues:

该问题已解决，针对报错日志显示：datashaper.workflow.workflow ERROR Error executing verb "text_embed" in create_final_entities: [Errno 111] Connection refused
在代码文件\graphrag\index\workflows\v1\create_final_entities.py中，将skip_name_embedding和skip_description_embedding设置为True，即可解决报错，针对此问题若有其他解决方案欢迎交流。

该问题已解决，针对报错日志显示：datashaper.workflow.workflow ERROR Error executing verb "text_embed" in create_final_entities: [Errno 111] Connection refused 在代码文件\graphrag\index\workflows\v1\create_final_entities.py中，将skip_name_embedding和skip_description_embedding设置为True，即可解决报错，针对此问题若有其他解决方案欢迎交流。

+1，感谢，同问题已解决


Please add more documentation

I've installed the bundle (Symfony4, Flex), looks very helpful.
Can you add some documentation for how to do some simple things, like getting the list of bounced emails, or sending a message through SwifterMailer+SendGrid using the bundle?
I'm not all that familiar with either SwiftMailer or SendGrid, but I'll be able to figure out how to use those components once I understand better how to access those services through this bundle.  In particular, do I need a Guzzle/SendGridClient?  I'm porting a Symfony2 application that used that, and am not sure how to use this bundle to access the SendGrid API.

If you want to view information about bounced emails etc, I am sure there is a SendGrid web console where you could view this kind of information. If you wanted to access bounced email or other information pragmatically (eg via your PHP code), I believe this PHP Library could aid with this https://github.com/sendgrid/sendgrid-php
I'm not an active user or contributor to this bundle at the moment, and not sure how clear the documentation is. Perhaps an active contributor might want to put a simple example there?
@tacman Unfortunately there are sometimes bundles/libraries out there that require a bit of intuition or experimentation to use as no one had had the chance to write concise documentation.
Good luck.

@tacman This bundle only aim to easily use SendGrid as a transport for Swiftmailer. Any advanced features are (should) be described in https://github.com/sendgrid/sendgrid-php as @expertcoder said.
Once configured if you need to send simple email it's all about SwiftMailer, so please refer to this page https://symfony.com/doc/current/email.html (and just ommit the suggested configuration part because you should already have done it when installed).
Also remember that there is a PR (https://github.com/symfony/recipes-contrib/pull/454) pending that solve an issue (#14) if you used the recipe.


jspdf table header overlapping issue on second page

Hi
I have issue with overlapping issue in pdf table
          var doc = new jsPDF('l', 'px', 'a4');
            doc.setFont("helvetica");
            doc.setFontSize(10);

            doc.table(10, 5, generateData, headers, { autoSize: true,padding:10});
            doc.save(fileName);

Please help me

After save line try to adjust the margins like below
pdf.save(reportName);
}, {
top: 32,
bottom: 10,
left: 10,
width: 200
}
);

top: 32,
bottom: 10,
left: 10,
width: 200
im try this but its not working pdf file

I am facing the same issue. still no solution for this issue?

Not that I know of. Seems like a bug to me. @iljayas could you investigate why this happens?


Comprehensive identification of fetal cis-regulatory elements in the human genome by single-cell multi-omics analysis

Publication:
Comprehensive identification of fetal cis-regulatory elements in the human genome by single-cell multi-omics analysis
Priority:
1
Ingest:
I tried to register the project after filling the project info form, and I am getting an error registering it: https://contribute.data.humancellatlas.org/projects/register?doi=10.1101%2F2<IP_ADDRESS>6852 &tab=save
The date for release of the raw data is March 2023. However, given the publication with methods is available, I think if we can, it would be good to submit the metadata only for now and update with the raw data once it becomes available:
https://ngdc.cncb.ac.cn/gsa-human/s/x70211Pp

Managed access dataset. Nor raw data nor the matrices will be available until 2023. Wranglers will discuss if it's worth the effort to have this in the backlog right now.

This was discovered on the last discovery script run on 19th January 2022. It is now in Ingest as https://contribute.data.humancellatlas.org/projects/detail?uuid=0b9bbe98-369e-4b73-a44f-a5fa077f085d
The matrix files might be available already on one of the url links given in the pre-print

This is now a HCA-Publication and we are in communication with the author. They said that they will contact us when they are closer to publication due to issues with genetic material data sharing in China.

The entry in Ingest should be probably "Stalled" or "In Progress" and have the wrangler associated to it. Also, the estimated cell count has not been added to the Project info in Ingest. The Catalogue is still showing a count, not sure where from

It has been changed to stalled.

Closing this until the contributor comes back to us. Have updated information in Ingest.


Traceflow IPv6 support

This PR is not finalized, it replaced ofnet and libOpenflow package in go.mod because the upstream is not merged.

Codecov Report

Merging #1283 into ipv6 will decrease coverage by 0.46%.
The diff coverage is 0.57%.

@@            Coverage Diff             @@
##             ipv6    #1283      +/-   ##
==========================================
- Coverage   41.14%   40.68%   -0.47%
==========================================
  Files          77       77
  Lines        9978    10086     +108
==========================================
- Hits         4105     4103       -2
- Misses       5501     5610     +109
- Partials      372      373       +1

Flag
Coverage Δ

#unit-tests
40.68% <0.57%> (-0.47%)
:arrow_down:

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

Impacted Files
Coverage Δ

pkg/agent/openflow/client.go
9.37% <0.00%> (-1.01%)
:arrow_down:

pkg/agent/openflow/pipeline.go
20.46% <0.00%> (-0.30%)
:arrow_down:

pkg/agent/util/net.go
29.78% <0.00%> (-2.04%)
:arrow_down:

pkg/ovs/openflow/ofctrl_packetout.go
0.00% <0.00%> (ø)

pkg/controller/traceflow/controller.go
61.78% <20.00%> (-0.80%)
:arrow_down:

pkg/apiserver/storage/ram/store.go
77.44% <0.00%> (-1.51%)
:arrow_down:

Codecov Report

Merging #1283 into ipv6 will decrease coverage by 15.36%.
The diff coverage is 60.69%.

@@             Coverage Diff             @@
##             ipv6    #1283       +/-   ##
===========================================
- Coverage   57.97%   42.60%   -15.37%
===========================================
  Files         155       84       -71
  Lines       13034    10715     -2319
===========================================
- Hits         7556     4565     -2991
- Misses       4678     5757     +1079
+ Partials      800      393      -407

Flag
Coverage Δ

#kind-e2e-tests
?

#unit-tests
42.60% <60.69%> (+1.00%)
:arrow_up:

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

Impacted Files
Coverage Δ

pkg/agent/openflow/client.go
9.40% <0.00%> (-32.47%)
:arrow_down:

pkg/agent/openflow/pipeline.go
20.61% <0.00%> (-40.16%)
:arrow_down:

pkg/agent/util/net.go
36.17% <100.00%> (-16.11%)
:arrow_down:

pkg/controller/traceflow/controller.go
66.87% <100.00%> (+4.29%)
:arrow_up:

pkg/ovs/openflow/ofctrl_packetout.go
75.25% <100.00%> (+75.25%)
:arrow_up:

pkg/agent/agent_linux.go
0.00% <0.00%> (-100.00%)
:arrow_down:

pkg/ovs/openflow/default.go
0.00% <0.00%> (-100.00%)
:arrow_down:

pkg/agent/config/node_config.go
0.00% <0.00%> (-100.00%)
:arrow_down:

pkg/controller/networkpolicy/tier.go
0.00% <0.00%> (-100.00%)
:arrow_down:

pkg/ovs/openflow/logs.go
9.52% <0.00%> (-90.48%)
:arrow_down:

... and 117 more

/test-all

/test-all

/test-all

/test-all

/test-e2e

/test-all

/test-whole-conformance-coverage

/test-ipv6-only-e2e
/test-ipv6-ds-e2e

/test-ipv6-e2e


FS.Collection upload callback client side

FS.Collection upload callback client side?

I think its duplicate ticket
https://github.com/CollectionFS/Meteor-CollectionFS/issues/323

i didn't understand it just please give me the sol from it

@hich-em you canNOT know if the file was uploaded or not because @aldeed does want to add a callback for that or somethings you can only hack around it and may it will work! wtf? I have spent 24h on this seriously! is this real? a simple callback for when the file was fully uploaded?

Same problem here, any solution?


Plot multiple lines in one chart?

How to plot multiple lines in one chart using imgui-rs? PlotLines seems to only work with a single 1d array.

Not sure what you meant exactly. Why not plot them one by one using draw_list.add_line.


When the page is switched, the page will be rendered again. Is there any way to avoid it?

Which platform(s) does your issue occur on?

Android
7.0
xiaomi max

Please, provide the following version numbers that your issue occurs with:

CLI: 4.0.0
Cross-platform modules: 4.0.0
Runtime(s): 4.0.1
Plugin(s): "dependencies": {
"angular/animations": "~5.2.0",
"angular/common": "~5.2.0",
"angular/compiler": "~5.2.0",
"angular/core": "~5.2.0",
"angular/forms": "~5.2.0",
"angular/http": "~5.2.0",
"angular/platform-browser": "~5.2.0",
"angular/platform-browser-dynamic": "~5.2.0",
"angular/router": "~5.2.0",
"nativescript-angular": "~5.2.0",
"nativescript-bottom-navigation": "^1.3.0",
"nativescript-theme-core": "~1.0.4",
"reflect-metadata": "~0.1.8",
"rxjs": "~5.5.2",
"tns-core-modules": "^4.0.0",
"zone.js": "~0.8.18"
},
"devDependencies": {
"angular/compiler-cli": "~5.2.0",
"ngtools/webpack": "~1.9.4",
"babel-traverse": "6.26.0",
"babel-types": "6.26.0",
"babylon": "6.18.0",
"clean-webpack-plugin": "~0.1.19",
"copy-webpack-plugin": "~4.3.0",
"css-loader": "~0.28.7",
"extract-text-webpack-plugin": "~3.0.2",
"lazy": "1.0.11",
"nativescript-dev-typescript": "~0.6.0",
"nativescript-dev-webpack": "^0.11.0",
"nativescript-worker-loader": "~0.8.1",
"raw-loader": "~0.5.1",
"resolve-url-loader": "~2.2.1",
"tslint": "^5.9.1",
"typescript": "~2.6.2",
"uglifyjs-webpack-plugin": "~1.1.6",
"webpack": "~3.10.0",
"webpack-bundle-analyzer": "^2.9.1",
"webpack-sources": "~1.1.0"
}

Please, tell us how to recreate the issue in as much detail as possible.
Hello, the author is a great plug-in, but I found a problem when I used it. When you switch the page, the page will be re - rendered. Is there any way to avoid it

I used demo-angular, for example, I rolled the ItemsComponent to the end, then switched to the other pages, and then switched back to find that the page was rerendered, and did not know whether nativescript could prevent repeated rendering. I am very sorry, I am from China and do not understand English, so I rely on translation to communicate with you.

ok, yes the components are re-rendered is a common behavior using ngSwitch but I think with the latest version of Nativescript we can use the page-router-outlet so when you change of page base on the option selected the previous component will conserve his last statement.
I didn't have the time to try an example using the page-router-outlet but I'll try to do it this week.

any news?


Question: A way to navigate command palette with vim (j,k) keys instead of arrow keys?

I know they are letter keys and need to be used as such, but I find using the arrow keys in the command palette throws off the 'vim' experience for me. I think it would feel more natural if there were a way to use the j and k keys without them typing into the palette.
Was thinking something like if you are holding down a modifier of some sort and pressing j or k while the palette was open, it would allow you to move up and down. Not sure how that would impact other uses of those keys though.
This is definitely not critical by any means. More just curious if something like that could be possible?

For reference, we do have Ctrl-p/Ctrl-n bound to scroll through them, which is the default for the autocomplete etc in vim to my knowledge.
I would guess that we could use j k for this as well (with a modifier), and I would expect that you could just add that to your keybinds config file already by duplicating the existing Ctrl-p/n ones that are there.
That said, I feel like there might be something missing with linking up the keybinds, though I can test this as I'm away from my Windows PC at the moment and my Mac has a bunch of config things that use Ctrl-j etc already, so I've unbound them from other apps...

I would generally say that Ctrl-p and Ctrl-n are much more standard for the "vim experience" rather than using mod+[j/k].
My two cents: leave it with Ctrl-p and Ctrl-n. This leaves mod+[j/k] open to do other keybindings. If users want to use mod+[j/k] to move through lists, then they can make it a keybinding. That might be the conclusion y'all already came to, but I couldn't quite tell.


likely dataset on the carla simulator

Hi, I'd like  the train the model  in the carla simulator, Can you give me some suggestions on how to generate a likely dataset on the carla simulator

Hello, from my basic understanding of Carla, you can easily obtain a scene's centerline and connection information from its HDMap.
Regarding 2D traffic elements, you might be able to project CARLA's 3D labels onto images and then generate the relationship between traffic elements and lanes through certain rules.
However, it's important to note that re-annotating all categories from OpenLane-V2 in CARLA is unlikely, as CARLA does not provide 3D labels for all categories of traffic elements.
If you have any better ideas or progress, feel free to discuss them with us at any time.


🍒 Cherry pick PR #12959 to staging 🍒

🍒 Cherry pick https://github.com/Expensify/App/pull/12959 to staging 🍒

🚀 Cherry-picked to staging by @OSBotify in version: 1.2.31-3 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes.

🚀 Cherry-picked to staging by https://github.com/AndrewGable in version: 1.3.28-2 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes.

🚀 Deployed to production by https://github.com/AndrewGable in version: 1.3.28-5 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Fake timers behave unexpectedly with Promise.race().

🐛 Bug Report
With jest.useFakeTimers (either 'modern' or 'legacy'), a Promise.race between a short sleep Promise and a long sleep Promise...resolves to the long one's resolution, if the short one uses .then.
An identical Promise.race using real timers behaves as expected.
To Reproduce
For example, with modern fake timers (but also observed with the legacy fake timers):
describe('modern fake timers', () => {
  jest.useFakeTimers('modern');

  test('Promise.race without "then"', async () => {
    const shortPromise = new Promise(resolve => setTimeout(() => resolve('short'), 1000));
    const longPromise = new Promise(resolve => setTimeout(() => resolve('long'), 2000));

    const racedPromise = Promise.race([shortPromise, longPromise]);

    jest.runAllTimers();
    const result = await racedPromise;

    expect(result).toBe('short');
  });

  test('Promise.race with "then"', async () => {
    const shortPromise = new Promise(resolve => setTimeout(resolve, 1000)).then(() => 'short');
    const longPromise = new Promise(resolve => setTimeout(() => resolve('long'), 2000));

    const racedPromise = Promise.race([shortPromise, longPromise]);

    jest.runAllTimers();
    const result = await racedPromise;

    // Surprise! It's 'long'.
    expect(result).toBe('short');
  });
});

The second test, 'Promise.race with "then"', fails.
Expected behavior
I would expect the second test, 'Promise.race with "then"', to succeed; the shorter sleep should "win" the race, same as the version without "then". An identical test succeeds if you do jest.useRealTimers().
Link to repl or repo (highly encouraged)
Here, we have with-"then" and without-"then" tests for each of the following:

Modern fake timers (surprising behavior observed)
Legacy fake timers (surprising behavior observed)
Real timers (behaves as expected)

https://github.com/chrisbobbe/jest-modern-timers-race-then
envinfo
  System:
    OS: macOS 10.15.5
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
  Binaries:
    Node: 10.20.1 - ~/.nvm/versions/node/v10.20.1/bin/node
    Yarn: 1.22.4 - /usr/local/bin/yarn
    npm: 6.14.4 - ~/.nvm/versions/node/v10.20.1/bin/npm
  npmPackages:
    jest: ^26.1.0 => 26.1.0

I expect a bit from MDN's doc on Promise.prototype.then will be relevant. It says (formatting lost):

Once a Promise is fulfilled or rejected, the respective handler function (onFulfilled or onRejected) will be called asynchronously (scheduled in the current thread loop). The behavior of the handler function follows a specific set of rules. [...]

I'm not sure if I'm reading this right, but it might suggest that it's quite impossible for any fake-timer implementation that uses native Promises to behave the same as if you use real timers.

Running into similar issues with multiple timers and promises. Wouldn't it help to have an asynchronous version of jest.runAllTimers() -- i.e. one that would setImmediate() between each timer firing? This assumes promise implementation uses an equivalent of nextTick() to schedule the callback execution. Basically we need to be sure that all promise chains resolvable from a given timer would fully resolve themselves before the logically next (i.e. set to a later time) timer would fire.

Running into similar issues with multiple timers and promises. Wouldn't it help to have an asynchronous version of jest.runAllTimers() -- i.e. one that would setImmediate() between each timer firing? This assumes promise implementation uses an equivalent of nextTick() to schedule the callback execution. Basically we need to be sure that all promise chains resolvable from a given timer would fully resolve themselves before the logically next (i.e. set to a later time) timer would fire.


Assignment 06

Checklist

[x] Screenshot added
[x] The concept is a vase that has sideways instead of vertical 3D printed contours.

Hello,
Thanks for your submision, the file and screenshot look good!
The idea of this exercise was to experiment on using distance fields that are somehow related to the geometry of the object, and exploring path configurations that can emerge from that. In this case, the shape has been modified, but as far as I can tell, there are no additions to the code for the creation of a custom distance field, so it's hard to give more in-depth feedback.
Nevertheless, the submission is complete.


Add: NevoMusic [UZ/RU]

Channel Name
NevoMusic
Alternative Names (optional)
No response
Network (optional)
No response
Owners (optional)
No response
Country
UZ
Subdivision (optional)
No response
City (optional)
No response
Broadcast Area
c/UZ, c/RU
Languages
uzb
Categories (optional)
music
NSFW
FALSE
Launched (optional)
No response
Closed (optional)
No response
Replaced By (optional)
No response
Website (optional)
https://nevomusic.net/
Logo
https://i.ibb.co/pxBYNNS/channels4-profile-1.jpg
Notes
https://ythls.onrender.com/channel/UCkaUg9b9LplVoJdx1JwwyOg.m3u8

Please update your request:

broadcast area codes must be separated by ;

https://github.com/iptv-org/database/blob/master/CONTRIBUTING.md#channels


fix: sync bucket access

About the changes

Closes  #49 #51 #52

Important files

Discussion points

I think we've already fixed all the issues for the 0.0.11 and we can tag it


[Feature]: Adding navbar in signup page

@param-code
In signup page, navbar is missing so users can't able to switch to darkmode
I would like to work on it
Could you please assign it to me

@param-code
Then atleast it should be considered as leve2, it keeps motivation to do it

@param-code Then atleast it should be considered as leve2, it keeps motivation to do it

that will depend on the output.


Fixes issue #2863

Created a new term: delayed sleep phase syndrome, susceptibility to.
Changed database_cross_reference --> source of MONDO:0013600 insomnia from MONDO:equivalentTo to MONDO:relatedTo.

fix #2863

Thanks @nicolevasilevsky for reviewing the pull request (and for the clear instructions of how and what to edit in the ontology).


add random keys generator for convenience

For a random tests and for an ability to rerun tests it is required to use random keys in different environments.
JustTest should provide some convenient utility to generate alphanumeric strings of arbitrary length.

implemented in 2.1.0


tf.sparse.softmax randomly outputs wrong results!

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Y
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 18.04
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: N
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): 2.7.0
Python version: 3.8
Bazel version (if compiling from source): N/A
GCC/Compiler version (if compiling from source):N/A
CUDA/cuDNN version: N/A
GPU model and memory: N/A

Standalone code to reproduce the issue
import tensorflow as tf
logits = tf.random.uniform([248, 248, 1, 16], dtype=tf.float32)
r1 = tf.nn.softmax(logits,axis=-1)
logits_sp = tf.sparse.from_dense(logits)
r2 = tf.sparse.softmax(logits_sp)
r3 = tf.sparse.to_dense(r2)
assert tf.math.reduce_all(tf.math.equal(r1, r3))

Normally the assertion would pass because tf.sparse.softmax and tf.nn.softmax should have the same output for the same input value. However, if I run the above code for 100 times then sometimes the assertion fails! Please see the gist here for reference.

@Saduf2019 Was able to reproduce this issue on colab using TF version 2.7.0 and tf-nightly(2.9.0-dev20220108),please find the attached gists for reference.Thanks!

The failures occur when a random "0" is encountered.  You can easily see different results with something like
logits = tf.constant([[
      0.8407991, 0., 0.15966213, 0.8176781
  ]], dtype=tf.float32)
  r1 = tf.nn.softmax(logits, axis=-1)

  logits_sp = tf.sparse.from_dense(logits)
  r2 = tf.sparse.softmax(logits_sp)
  r3 = tf.sparse.to_dense(r2)

  print(r1)
  print(r3)

Note that they do not produce the same thing intentionally.  For a dense softmax, zeros are considered, and the output of the softmax function will not be zero at those locations (since exp(0) == 1).  For sparse matrices, any zeroes do not participate, and remain 0, removing them from both numerator and denominator.  This is to preserve sparsity (otherwise you would immediately have fully-dense matrices).


proposal: generate graphql schema

I recently tried to add graphql to my existing ent project, but failed miserably because I both didn't understand the documentation for both, and also need to learn GraphQL :joy:
So, from what I can tell, gqlgen is schema first, as is ent (I think). So, would it be at all possible that graphql intergation can be done purely through generation using entql? That would be the schemas and config for gqlgen all nicely packaged into another sub-folder under /ent?
Perhaps I'm missing something though.

Hey @napei, nice to see you here again 😃

So, from what I can tell, gqlgen is schema first, as is ent (I think). So, would it be at all possible that graphql intergation can be done purely through generation using entql? That would be the schemas and config for gqlgen all nicely packaged into another sub-folder under /ent?

That's definitely the plan, and not only for GraphQL, but for other API layers as well (e.g. OpenAPI, Protobuf, etc).
The idea is to create another annotation in entgql that will tell the codegen to generate a GraphQL schema, and then it will execute the gqlgen codegen.
My plan it is to finish work on the migration and upsert API in the upcoming weeks, and then to start focusing on API integrations (GraphQL will be the 1st).
Let's leave it open for getting feedback and suggestions for the API.

That's great to hear 😊
I've been busy using ent in production for e-commerce and I'm pleased so far. Keep up the good work

recently done generate gql schema and gql resolver, but it's hard to decide which graphql schema pattern to follow.
I used five generate to achieve this
pflag.StringVar(&conf.entSchema, "ent-schema", "", "Schema")
pflag.StringVar(&conf.entTarget, "ent", "", "target")
pflag.StringVar(&conf.entPackage, "ent-pkg", "", "package")
pflag.StringVar(&conf.gqlTarget, "gql", "", "graph")
pflag.BoolVar(&conf.genEnt, "gen-ent", false, "ent")
pflag.BoolVar(&conf.genEntExt, "gen-entx", false, "ent ext")
pflag.BoolVar(&conf.genGqls, "gen-gqls", false, "graphql schema")
pflag.BoolVar(&conf.genGql, "gen-gql", false, "graphql")
pflag.BoolVar(&conf.genGqlResolver, "gen-gqlr", false, "graphql resolver")
pflag.BoolVar(&conf.genAll, "gen-all", false, "all")

current ent generate should be more extendable, so can make gen-entx and gen-gql as external feature.
But gqlgen's generator is worse than ent's, can not inject resolver code, so, have to write a go code rewriter to modify the generated code, the gen-gqlr phase.
The final result is like
schema
extend type Mutation {
	createUser(input: CreateUserInput!): CreateUserPayload
	updateUser(input: UpdateUserInput!): UpdateUserPayload
	deleteUser(input: DeleteUserInput!): DeleteUserPayload
}

extend type Query {
        // query and sort is customized field
	users(query: [String!] = [], sort: String! = "", after: Cursor, first: Int, before: Cursor, last: Int, orderBy: UserOrder): UserConnection
}

resolvers
func (r *mutationResolver) CreateUser(ctx context.Context, input ent.CreateUserInput) (*ent.CreateUserPayload, error) {
	return r.Client.User.Create().CreateFromInput(ctx, &input)
}

func (r *mutationResolver) UpdateUser(ctx context.Context, input ent.UpdateUserInput) (*ent.UpdateUserPayload, error) {
	return r.Client.User.UpdateOneID(input.ID).UpdateFromInput(ctx, &input)
}

func (r *mutationResolver) DeleteUser(ctx context.Context, input ent.DeleteUserInput) (*DeleteUserPayload, error) {
	err := r.Client.User.DeleteOneID(input.ID).Exec(ctx)
	return &DeleteUserPayload{ClientMutationID: input.ClientMutationID}, err
}

I hope I have time to put this input ent contrib.

The issue was resolved with https://entgo.io/docs/tutorial-todo-gql-schema-generator.
Please, let @giautm or myself know if anything there can be improved.


loop propagation for the underlying session

Here is my fix for the #359
What have been done here:

one loop object for Bot class and for underlying sessions.
removed _pool. I don't know what is the idea behind, so I reimplemented idea as self.session. I know that I probably lack some understanding why it has been done this way before.
I left some functions inside telepot.aio.api module, but I don't think it is worth to left it since most functions logically are part of the Bot class.

I didn't make any additional tests since I'm working on a prototype of my project. It is a very early stage and I try to make pieces together.

This is works for:
import uvloop
asyncio.set_event_loop_policy(uvloop.EventLoopPolicy())

Any chance that this PR will be merged?

Sorry, I'd say no, mainly because I don't want to take care of one more framework.
Thanks for the work though. It's good for telepot to embrace more situations, but I simply don't have the time and motivation to keep up with those concerns. That being said, I appreciate @xen 's work. Thank you.

@nickoala I think we misunderstood each other. Don't let that I mention Sanic confuse you.
My pull request was built around 2 lines of code. Existing code silently create an internal instance of asyncio.loop object and use it for a connection pool. Instead of existing top-level loop instance that already exists when Bot object created (for example here https://github.com/nickoala/telepot/blob/master/examples/simple/skeletona.py#L25). Actually, I don't know why your code is working. Probably some magic inside asyncio allow mixing different loops instances into one, but I don't know if it will work forever or will be changed in the future. Current asyncio loop approach requires cancerous instantiation of the loop objects everywhere and propagation for the underlying asynchronous code. It looks ugly but allows to control how loop instances are working inside.
You made the shortcut and it works. But there exists another implementation of the loop by Magicstack Inc. called uvloop (https://github.com/MagicStack/uvloop). It is also popular and advertised as a faster alternative for the asyncio.loop. BTW, it made by the team that created asyncio lib itself. But my changes doesn't change existing functionality, at least I never saw any uses of the connection pool in the documentation and examples provided in the repository.
So I made telepot "loop provider independent". As a bonus, this made telepot works inside Sanic, also very popular web framework.
I think it worth to keep. At least @Belanchuk already found me via telegram to ask is my patch working.

@xen, after reading over your message a few times, I start to understand what you are trying to get at. I did misunderstand your intention a little bit. Your modification did not seem like it was "built around 2 lines of code"! :sweat_smile:
First, let me explain my code a little bit. As you are aware, the module telepot.aio.api has a _loop variable which is shared by all things requiring an event loop in that module. On the other hand, in the module telepot.api, the Bot object also has its own _loop which is, again, shared by all things requiring an event loop there. These two _loops, if not user-specified, use asyncio's default event loop. That is, if the developer does not supply his own loop, the Bot's loop and the telepot.aio.api module's loop are one and the same. That's probably why my code works.
Now, what should I do if I want to substitute my own event loop? I would supply my own loop to the Bot constructor. The existing code does make an effort to sync the two _loop variables, as evidenced here. However, now that I read the code again, I am not sure that line has the desired effect, because telepot.aio.api._pools possibly has been initialized and is still using the original loop. What is needed is an additional function in the module telepot.aio.api that refreshes everything. With such a function in place, supplying a new loop to the Bot constructor should do the job.
Without that function, a workaround may still be possible. According to uvloop's github page, replacing asyncio's default loop with uvloop is easy. How about doing that before loading telepot? For example,
import asyncio
import uvloop
asyncio.set_event_loop_policy(uvloop.EventLoopPolicy())

import telepot.aio

bot = telepot.aio.Bot(...)

By not supplying any loop, the Bot and the module telepot.aio.api simply use asyncio's default loop, which is now uvloop! Would that work?
I will re-open the PR and see what you have to say ...
I also would like to explain a bit why the _pools variable exists, but it's getting off topic for now. I will do that later ...

Unfortunately just adding
import asyncio
import uvloop
asyncio.set_event_loop_policy(uvloop.EventLoopPolicy())

import telepot.aio

bot = telepot.aio.Bot(...)

doesn't work at all.
It's very sad because telepot looks like a much stronger solution than aiogram (by the way they also raise the same error).
We don't have any other async frameworks for working with telegram for now.  So I (and not only I) will be very glad for fixing this PR and accepting of it.
@xen @nickoala

As I have indicated here, I have decided to stop enhancing telepot because I want to spend time pursuing other interests.
That said, I want to re-iterate that I appreciate @xen's initial work to make telepot more inclusive and all of your supports. My apology, again, for not meeting the demand.


Update verify.md

Closes #183

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @jamesmunns (or someone else) soon.
If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.
Please see the contribution instructions for more information.

Must be a spurious failure, I would think.

bors retry


Copy fails after first from

I have a very simple setup with copy. I just want to copy 2 files into a folder.
copy({
    assets: {
        from: [
            "node_modules/jquery/dist/jquery.min.js",
            "node_modules/what-input/dist/what-input.min.js"
        ],
        to: [ "js/vendor" ]
    },
})

However, it always fails when processing the 2nd file. If I switch the order of the files, it still fails on the 2nd one. I did a verbose output and got this.
i Resolve assert pair to path from: /Users/joeworkman/Developer/proton-sites-template/dist/assets
i Watching mode disabled. You need to enable build.watch option for watch mode to work.
i The from path node_modules/jquery/dist/jquery.min.js,node_modules/what-input/dist/what-input.min.js of current asset pair doesnot ends with /**/*(.ext),
i File copied: /Users/joeworkman/Developer/proton-sites-template/node_modules/jquery/dist/jquery.min.js -> /Users/joeworkman/Developer/proton-sites-template/dist/assets/js/vendor/jquery.min.js
i The from path node_modules/jquery/dist/jquery.min.js,node_modules/what-input/dist/what-input.min.js of current asset pair doesnot ends with /**/*(.ext),
ERR > /Users/joeworkman/Developer/proton-sites-template/node_modules/esbuild/lib/main.js:1649
  let error = new Error(text);
              ^

This works but it seems a bit ridiculous that I should have to do this.
        copy({ assets: {
            from : "node_modules/jquery/dist/jquery.min.js",
            to   : "js/vendor"
        }}),
        copy({ assets: {
            from : "node_modules/what-input/dist/what-input.min.js",
            to   : "js/vendor"
        }}),

@joeworkman a little cleaner approach (avoids to call twice the plugin)
const esbuildConfig = {
  plugins: [
    copy({
      assets: [
        {
          from: ["node_modules/jquery/dist/jquery.min.js"],
          to: ["js/vendor"],
        },
        {
          from: ["node_modules/what-input/dist/what-input.min.js"],
          to: ["js/vendor"],
        },
      ],
    }),
  ],
};


Enable snapping tolerance for exterior boundaries post-processor.

Requires mapzen/TileStache#76, connects to #303.
Config change to enable snapping coordinates to grid before deriving the boundary.
@rmarianski could you review, please?

:+1:


Action split into LeftAction and RightAction

Hi all,
here is a split of Action into LeftAction and RightAction, in case the underlying transformation cannot be inverted.
Of course, provided the acting element comes from a group, the left action defines a right action and vice-versa.
Note: this is a prologue to my implementation of partial actions, where this split is needed. But I prefer to provide PRs in tiny pieces.
This single PR can be merged without too much discussion.

Looks good to me. :+1: What do you think @tixxit ?


[fix] job cms copy nodes job

Coverage decreased (-9.9%) to 64.544% when pulling 22a750cbcf6fda01df0cb6eca4951e505fa5ec69 on ShinjiTanimoto:copy into 37f38db607115ef348021cc20b7d4b6db7ef9580 on shirasagi:master.


Setup server with Galera

Hi, Could you tell me if in this configuration server could connect with a Galera setup ? or change some parameters ?

Yes, probably some zabbix_server_db related parameters needs to be changed to the correct server. But the Zabbix Server does not make any difference between MySQL or MysQL+Galera (Or MariaDB)


Libraries, versions, environments

We should set up a way to sync libraries.

So far biopython 1.78
(The comments are not the way to do it. Just making a not for now :)) )

@FrancescaBC Can you confirm if you used bio python or bioseq?

I used biopython, so the conda env should have:

biopython=1.78=py311h80987f9_0


Document magic code

This code is essentially magic and extremely hard to understand whats happening, a few comments would help explain it:
https://github.com/microsoft/azuredatastudio/blob/613cd58aa3c8b8e8a7e2daa49d90e9ede87d221f/src/sql/base/browser/ui/scrollableSplitview/scrollableSplitview.ts#L771-L835

Closing older engineering tasks to focus on customer facing issues.  Please reactive if this issue is tracking upcoming planned work.