Bug in server.js?

Hello,
I'm trying to run homebase, but I'm getting this bug from /lib/server.js:
TypeError: server.on is not a function
Which is happening in this block of code:
// start server
  if (config.letsencrypt) {
    server = greenlockExpress.create({
      server: IS_DEBUG ? 'https://acme-staging-v02.api.letsencrypt.org/directory' : 'https://acme-v02.api.letsencrypt.org/directory',
      version: 'v02',
      debug: IS_DEBUG,
      approveDomains: approveDomains(config),
      store: require('le-store-certbot').create({
        configDir: path.join(config.directory, 'letsencrypt', 'etc'),
        workDir: path.join(config.directory, 'letsencrypt', 'var', 'lib'),
        logsDir: path.join(config.directory, 'letsencrypt', 'var', 'log')
      }),
      app: app
    });
    server.listen(config.ports.http, config.ports.https)
  } else {
    server = http.createServer(app)
    server.listen(config.ports.http)
  }
  server.on('error', function (err) {
    if (err.code === 'EACCES') {
      console.error(chalk.red(`ERROR: Failed to bind to ${chalk.bold(`port ${err.port}`)} (EACCES)

I've checked and server is being created successfully, but it doesn't have an on function. Any insight would be appreciated : )
This is my config file:
dats:
  - url: dat://1d671b7387087d527de9790520295383c1fb2fe88655bfbe78f477e87dcddd99
    domains:
      - samgrund.com
httpMirror: true
letsencrypt:
  email<EMAIL_ADDRESS>  agreeTos: true
ports:
  http: 80
  https: 443
dashboard:
  port: 8089

And I'm running it using sudo homebase (I was running a daemonized version before, but I was having trouble with it and found the issue running it directly)

Investigating further, I've found that changing server.on to server.app.on fixes it. But I noticed that there are more instances in that file where there are attempts to access more functions on the server object (server.once, server.close) that aren't on the server object, rather the nested app object.

Hmm okay. I'm surprised we haven't run into this before! I blame the greenlock API.
I just published 2.0.2. Give that a shot and lmk if you still have the issue. Thanks!

Yay that fixed it! Thank much.
However, a new issue has arisen. Getting this now whenever I try to access my domain:
[acme-v2.js] authorizations were not fetched:
{ type: 'urn:ietf:params:acme:error:rateLimited',
  detail: 'Error creating new order :: too many failed authorizations recently: see https://letsencrypt.org/docs/rate-limits/',
  status: 429 }
[acme-v2] handled(?) rejection as errback:
Error: authorizations were not fetched
    at /Users/user/.npm/lib/node_modules/@beaker/homebase/node_modules/acme-v2/node.js:588:31
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:160:7)
Error loading/registering certificate for 'me.com':
Error: authorizations were not fetched
    at /Users/user/.npm/lib/node_modules/@beaker/homebase/node_modules/acme-v2/node.js:588:31
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:160:7)

This is unrelated to the initial issue, I think.

No it should be automated. Do you mind sharing the URL you're trying to host at?

Lol no, it's samgrund.com. Now you know my first name!

☹ okay I'll check into that

thanks for your help @pfrazee! In the meantime, I've switched to hosting on github, so samgrund.com's A record isn't pointing to my homebase instance anymore. Idk if you needed that for debugging, but let me know if you need anything from me.

Okay, thanks!

@sgrund14 I wasn't able to reproduce this issue but one thing you can try is to delete your cached letsencrypt data, which should be at ~/.homebase/letsencrypt

I'm going to close for now. LMK if you have more cert issues in the future!

Ok, I'll give that a shot. If that doesn't work, maybe it's something trippy with my DNS setup. Thanks!


Skinned Meshes don't appear in Godot 4.x's ANGLE/GLES3 rendering when on Intel HD Graphics

Godot version
4.2.beta1, 4.2.dev6, 4.2.dev4, 4.1.1.stable
System information
Windows 10 LTSC - Intel Pentium G2020 - Intel HD Graphics - ANGLE (Compatibility)
Issue description
when using ANGLE (Compatibility) rendering, Skinned Meshes do appear normally in the editor's viewport. but don't appear at all in play mode.

in addition, i get this error in the Debugger when i enter play mode:
ERROR: 0:328: ';' : syntax error syntax error

  <C++ Source>   drivers/gles3/shader_gles3.cpp:252 @ _display_error_with_code()

when using GLES3 (Compatibility), they don't appear in both the editor and play mode.
Steps to reproduce
--GLES3:
-create a new project in any Godot 4.x
-select Compatibility rendering
-import any sort of a skinned mesh and add it to the scene
--ANGLE:
-create a shortcut to Godot 4's exe
-in the properties of the shortcuts, add --rendering-driver opengl3_angle to the "Target" field
-launch Godot from that shortcut
-do the same steps as GLES3 above
Minimal reproduction project
N/A

cc @bruvzg @clayjohn

still nothing? smh

Please do not bump without adding additional info, instead you can ask about this issue in the contributor chat

Please do not bump without adding additional info, instead you can ask about this issue in the contributor chat
Also please test with a recent version, this might have been solved already

ok
tested v4.3-dev1, still the same issue

It sounds like your command line flag is not getting passed off to the running application and so the running application is still using the Non-ANGLE backend.
You should be changing the rendering/gl_compatibility/driver instead.

It sounds like your command line flag is not getting passed off to the running application and so the running application is still using the Non-ANGLE backend.

i feel like i already knew what the problem was, but i didn't know how to change the driver at the time lol
finally i can use the program

Reopening for now, we should evaluate if we could detect when we're running on an old gen Intel HD Graphics and default to using ANGLE if so, like we do for some old ATI/AMD GPUs.
CC @bruvzg

evaluate if we could detect when we're running on an old gen Intel HD Graphics

We need to decide what's old gen (do we have more open issues for specific GPUs?). And get a list of device/vendor strings (I was using https://opengl.gpuinfo.org/ for current data and https://feedback.wildfiregames.com/report/opengl/ to check for potential name differences in the old drivers).
Otherwise, it's the same as AMD.
Intel HD Graphics is everything from 2010 to 2016, so it's probably too broad scope, and we should only do it for specific generations.

Intel HD Graphics is everything from 2010 to 2016, so it's probably too broad scope, and we should only do it for specific generations.

I think these might all be old enough to default to ANGLE.
Overview on Intel Graphics generations: https://en.wikipedia.org/wiki/Intel_Graphics_Technology#Generations
From what I remember of many bug reports we've had about Intel issues on Windows, anything older than Intel HD Graphics 4000 (Gen 7) seems to be unusable on Windows. Notably Intel HD Graphics 3000 (Gen 6) doesn't support OpenGL 3.3 at all IIRC, or would just crash.
We could stretch it to include HD Graphics 4000 and friends (Gen 7) in the ANGLE list, and only start defaulting to native OpenGL for Gen 7.5 (HD Graphics 4400).
I think it's fine if we always exclude un-numbered Intel HD Graphics / Intel(R) HD Graphics, even if some of those are still found even up to Gen 8. Those are consistently the lowest end options in the generation and I wouldn't expect much out of those chipsets, so ANGLE might be a safer bet to have something at least functional.

Seems some of the Intel HD do not have number in the RENDERER string, so unless we want more complex detection system (getting pid/vid from the Windows API), unnamed Intel HD Graphics / Intel(R) HD Graphics is the only option.

Or the opposite, seems like Gen 5 doesn't have proper DX11 support for the DX 11 so it won't work with Angle and Gen 6 without 3.3 support will fall back without the list. So we only need Gen 7 in the list.

Seems some of the Intel HD do not have number in the RENDERER string, so unless we want more complex detection system

Added option to read device IDs and all Gen5-7 IDs to the list - https://github.com/godotengine/godot/pull/87013


Placing orders - Irregular price problem

Coin LRC have been showing irregular price problem.
Steps to reproduce:
Place order for the coin mentioned above
Observed Results:

Order not placed, produces irregular price problem
Order should have been placed

logs, a copy-pastable example
{
'data': None,
'status': 0,
'error': 'Price seems Irregular from current market price. 18.180279665397926',
'code': 428
}

could you pls share more details on how to reproduce this issue ?

which coin was the issue observed for ?
what was the payload ?

The problem resolved itself. Will close this.
On Mon, 21 Nov, 2022, 14:53 sanket-buyhatke, @.***>
wrote:

could you pls share more details on how to reproduce this issue ?

which coin was the issue observed for ?
what was the payload ?

—
Reply to this email directly, view it on GitHub
https://github.com/bitbns-official/bitbnspy/issues/88#issuecomment-1321748883,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAW3I4VXDDKNQTVFL53IHNTWJM5QLANCNFSM6AAAAAASGHIKJI
.
You are receiving this because you authored the thread.Message ID:
@.***>

noted


Integrate Google Docs

Describe the feature you'd like
Hello,
Can Google Docs be integrated into Book Stack? I would like to include a document from Google Docs (at least read-only / better optionally even read & write) in bookstack.
Describe the benefits this would bring to existing BookStack users
I would like to include a document from Google Docs (at least read-only / better optionally even read & write) in bookstack.
Can the goal of this request already be achieved via other means?
Yes, Is similar but not the same request.
https://github.com/BookStackApp/BookStack/issues/916
Have you searched for an existing open/closed issue?

[X] I have searched for existing issues and none cover my fundemental request

How long have you been using BookStack?
6 months to 1 year
Additional context
No response

Many thanks, that's it, it works.
I have edited the .env file with:
ALLOWED_IFRAME_SOURCES="https://.draw.io https://.youtube.com https://.youtube-nocookie.com https://.vimeo.com https://*.google.com"

Many thanks, that's it, it works.
I have edited the .env file with:
ALLOWED_IFRAME_SOURCES="https://.draw.io https://.youtube.com https://.youtube-nocookie.com https://.vimeo.com https://*.google.com"
Kind regards


(PDB-3051) benchmark: rm activemq; fix shutdown

It's possible you might want to look at the individual commits here since they're arranged with some straightforward refactorings first, followed by the more complicated changes -- might be easier to follow.

The individual commit messages might also be helpful.

Test PASSed

Test PASSed

CLA signed by all contributors.

Test PASSed

@puppetlabs/puppetdb-maintainers need another reviewer for this one

Test FAILed

Test FAILed

nb. Ryan's investigating among other things, the possibility that using our new queue threadpool infrastructure might simplify the consumer end.

Test FAILed

Test PASSed

CLA signed by all contributors.

Test PASSed

@rbrw :+1: from me, I like the way this came together
@mullr could you take a look at this? @rbrw and I have gone back and forth on it and I think we've put together something that will work.

@senior @rbrw ok, here's a slightly refined version of the thing Rob and I hacked up. I think it's pretty good.
https://github.com/mullr/puppetdb/tree/ticket/master/pdb-3051-benchmark-rm-amq-coreasync

Test PASSed

Test PASSed

Looks good 👍 , just some minor comments

Test PASSed

CLA signed by all contributors.

Test PASSed

Test PASSed

Test PASSed


Error on game start after just installing the addon: DialogicGameHandler.gd: Node not found: "Inputs" and "Portraits" (relative to "/root/Dialogic")

The problem
Describe the bug
Just after installing the addon, and making sure that it's enabled (you may first have to go through initial setup errors mentioned in https://github.com/dialogic-godot/dialogic/issues/2221), you still get the same errors each time you start the game, in any scene, although you haven't done anything yet.
This is because the addon spawns a Dialogic node in any case, however I didn't expect it to cause errors until I actually try to play some dialogues. The runtime errors on start are:

E 0:00:00:0860   DialogicGameHandler.gd:346 @ get_subsystem(): Node not found: "Inputs" (relative to "/root/Dialogic").
<C++ Error>    Method/function failed.  Returning: nullptr
<C++ Source>   scene/main/node.cpp:1651 @ get_node()
 DialogicGameHandler.gd:346 @ get_subsystem()
subsystem_text.gd:321 @ collect_text_effects()
subsystem_text.gd:390 @ _ready()
DialogicGameHandler.gd:355 @ add_subsystem()
DialogicGameHandler.gd:334 @ collect_subsystems()
DialogicGameHandler.gd:137 @ _ready()
1 time
I checked the Remote scene tree and Inputs and Portraits nodes are present. But using breakpoints, I see that they appear too late, after the get_node call.
To Reproduce
Steps to reproduce the behavior:

Install addon and make sure it's enabled
Run game from any scene
See errors

Expected behavior
Inputs and Portraits nodes should be ready to avoid error
Screenshots
Errors in Debugger:

Remote tree when Inputs node is requested:

System (please complete the following information):

OS: Linux Ubuntu 22.04
Godot Version: v4.2.2.stable.official [15073afe3]
Dialogic Version: v2 alpha 13

Solutions
Workaround
What you tried to get the feature working
Possible fixes
I identified the issue coming from module dependency order: Text is loaded before Inputs, but Text requires the Inputs as subsystem.
I went up the call tree to identify how the order was determined:
DialogicGameHandler.collect_subsystems()
DialogicUtil.get_indexers()
DialogicUtil.listdir(path, ...)

And found out that the last method relies on native:
Error list_dir_begin()

Initializes the stream used to list all files and directories using the get_next() function, closing the currently opened stream if needed. Once the stream has been processed, it should typically be closed with list_dir_end().

Affected by include_hidden and include_navigational.

Note: The order of files and directories returned by this method is not deterministic, and can vary between operating systems. If you want a list of all files or folders sorted alphabetically, use get_files() or get_directories().

It is not deterministic and therefore my system could have an issue while other developers don't have any.
To fix this, we can:

make the order deterministic of dependency order
loads all modules in a first step, then only request their subsystems in a second phase (what we often do in games when an entity depends or affects another entity)

Thanks! This has been reported on discord recently too, I'll try to push a fix. We should call these in post_install() instead of ready, which works like the second option you suggested.

Thanks! This has been reported on discord recently too, I'll try to push a fix. We should call these in post_install() instead of ready, which works like the second option you suggested.

Yes, I just found post_install in the meantime and moved both collect methods there:
collect_text_effects()
collect_text_modifiers()

The second one, collect_text_modifiers(), may not trigger a bug right now, but it may later if we add a node-based modifier, so this looks safer and more consistent.
Result:
func post_install():
	dialogic.Settings.connect_to_change('text_speed', _update_user_speed)
	collect_text_effects()
	collect_text_modifiers()

func _ready():
	collect_character_names()
	dialogic.event_handled.connect(hide_next_indicators)

So it works for now! I'm not on the Discord but I'll be notified if you update this issue.


Fix small bugs of AboutUs

Codecov Report

Merging #43 (d39f129) into master (dc11c21) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #43   +/-   ##
=========================================
  Coverage     72.15%   72.15%
  Complexity      399      399
=========================================
  Files            70       70
  Lines          1232     1232
  Branches        125      125
=========================================
  Hits            889      889
  Misses          311      311
  Partials         32       32

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 dc11c21...d39f129. Read the comment docs.


Fix time service

To fix failing build: https://circleci.com/gh/badges/shields/6860?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link

Oh yeah, of course.. That makes sense: https://github.com/chris48s/shields/blob/issue1723/services/base.js#L15


[BUG] Dragon Shard of Knowledge in Elemental

Description
Shards are in the wrong category
Addon Version
v1.2.3
World of Warcraft Flavor
Retail (Dragonflight)
Tested with only AdiBags_Dragonflight

[X] Yes
[ ] No

Lua Error
No response
Reproduction Steps
asd
Screenshots
No response

Resolved in b3c10e6bf720870f17f64000a4fffce11ff625cb, release v1.2.4


Unable to receive binary Data

I have used this server code to store the binary data my application sends. But only the first packet bytes are getting stored. When I debugged with valgrind ,the server is blocking on recv call and once I stop my application, its receiving only first packet bytes.

As of version 2.0.0 both the binary and text frames should be fully supported.
I'll close this issue.


after.update doesn't work with if statement

Comments.after.update(function (userId, doc, fieldNames, modifier, options) {
	if(fieldNames.downvotes >= 10) {
		Comments.remove({_id:doc._id})
	}
});

Comment never be removed when downvotes exceed 10

fieldNames is an array containing the names of the fields involved in the update. Try looking at doc instead.


If AM/PM selector is disabled, choose 00 in time picker , the hour value will be 12

I initialize datepicker in this way, so the time picker could pick hour from 00 to 23
$this.datetimepicker({
    'format': 'YYYY-MM-DD hh:mm:00'
});

but when i click 00 , the output of hh will be 12.

you're not using the correct format string.
$('#datetimepicker1').datetimepicker({format: 'YYYY-MM-DD HH:mm:00'});
Otherwise, please create a jsfiddle of your issue

Hey there!
We're automatically closing this issue since the original poster (or another commenter) hasn't yet responded to the question or request made to them 5 days ago. We therefore assume that the user has lost interest or resolved the problem on their own. Closed issues that remain inactive for a long period may get automatically locked.
Don't worry though; if this is in error, let us know with a comment and we'll be happy to reopen the issue.
Thanks!


Deploy oneuptime to provide observability on our hosted services

In order to provide better visibility on hosted services for Howard, we would like to make use of Oneuptime to provide a customizable status page showcasing hosted services with their availability. This would not only better inform our users about the status of our services, it would also provide a source of truth of what services are part of the AI-Lab team. This is also an alert service that can relay incidents to our emails and allow us to have a better response time.

This would look like https://www.githubstatus.com/ or https://status.cloud.google.com/ or https://azure.status.microsoft/ ?
"Provide high-level summary observability on our hosted services to all" oneuptime is the implementation.


Supporting Apple silicon hardware with arm64-darwin-22 platform

@timgentry Do all tests pass for you? I get the follow 4 failures in the feature/apple_silicon_support branch of your fork, but no failures in the develop branch:
$ (rails test test/integration/contracts_test.rb:109;
rails test test/integration/data_privacy_impact_assessments_test.rb:121;
rails test test/integration/reports_test.rb:29;
rails test test/integration/reports_test.rb:9)
Run options: --seed 3604

# Running:

    HTML screenshot: /Users/brian/mbis_tim/tmp/screenshots/screenshot_2023-04-20-09-46-53.455.html
    Image screenshot: /Users/brian/mbis_tim/tmp/screenshots/screenshot_2023-04-20-09-46-53.455.png
E

Error:
ContractsTest#test_should_be_able_to_download_attached_document:
RuntimeError: Waited 10 for download, without success!
    test/download_helpers.rb:55:in `wait_for_download'
    test/integration/contracts_test.rb:123:in `block in <class:ContractsTest>'

rails test test/integration/contracts_test.rb:109

Finished in 29.972657s, 0.0334 runs/s, 0.0000 assertions/s.
1 runs, 0 assertions, 0 failures, 1 errors, 0 skips
mbis_tim $ rails test test/integration/data_privacy_impact_assessments_test.rb:121;
Run options: --seed 12999

# Running:

    HTML screenshot: /Users/brian/mbis_tim/tmp/screenshots/screenshot_2023-04-20-09-47-29.372.html
    Image screenshot: /Users/brian/mbis_tim/tmp/screenshots/screenshot_2023-04-20-09-47-29.372.png
E

Error:
DataPrivacyImpactAssessmentsTest#test_should_be_able_to_download_attached_document:
RuntimeError: Waited 10 for download, without success!
    test/download_helpers.rb:55:in `wait_for_download'
    test/integration/data_privacy_impact_assessments_test.rb:135:in `block in <class:DataPrivacyImpactAssessmentsTest>'

rails test test/integration/data_privacy_impact_assessments_test.rb:121

Finished in 27.272903s, 0.0367 runs/s, 0.0000 assertions/s.
1 runs, 0 assertions, 0 failures, 1 errors, 0 skips
mbis_tim $ rails test test/integration/reports_test.rb:29;
Run options: --seed 47422

# Running:

    HTML screenshot: /Users/brian/mbis_tim/tmp/screenshots/screenshot_2023-04-20-09-48-04.379.html
    Image screenshot: /Users/brian/mbis_tim/tmp/screenshots/screenshot_2023-04-20-09-48-04.379.png
E

Error:
ReportsTest#test_user_can_download_report_they_have_been_granted_access_to:
RuntimeError: Waited 10 for download, without success!
    test/download_helpers.rb:55:in `wait_for_download'
    test/integration/reports_test.rb:41:in `block (2 levels) in <class:ReportsTest>'
    test/integration/reports_test.rb:35:in `block in <class:ReportsTest>'

rails test test/integration/reports_test.rb:29

Finished in 26.178162s, 0.0382 runs/s, 0.0382 assertions/s.
1 runs, 1 assertions, 0 failures, 1 errors, 0 skips
mbis_tim $ rails test test/integration/reports_test.rb:9
Run options: --seed 8665

# Running:

    HTML screenshot: /Users/brian/mbis_tim/tmp/screenshots/screenshot_2023-04-20-09-48-38.934.html
    Image screenshot: /Users/brian/mbis_tim/tmp/screenshots/screenshot_2023-04-20-09-48-38.934.png
E

Error:
ReportsTest#test_data_in_report_1_is_correct:
RuntimeError: Waited 10 for download, without success!
    test/download_helpers.rb:55:in `wait_for_download'
    test/integration/reports_test.rb:14:in `block in <class:ReportsTest>'

rails test test/integration/reports_test.rb:9

Finished in 26.663775s, 0.0375 runs/s, 0.0750 assertions/s.
1 runs, 2 assertions, 0 failures, 1 errors, 0 skips

@bshand I do get the errors, which is why I changed this PR to a draft. I was waiting for @ollietulloch to let me know if there were any on the develop branch, so thanks for the quick reply. I need to fix the breaking changes in the selenium and webdrivers version bumps before we can merge.

This has now been merged to the future home https://github.com/NHSDigital/data_management_system and the GitHub Actions tests all passed there.


Ability to delete files you uploaded

@mattatgit  please provide ui looks for this, then assign to @imgrby ?

Design for this has been around for a while.
Sketch file ref User Page 151118

removing as duplicated in 1405


M3-5920: Make info button accessible via keyboard nav

Description 📝
What does this PR do?
Makes the info button on Marketplace app cards keyboard navigable. Users can now select the button and expand the drawer to access information about the application.
Preview 📷
Remove this section or include a screenshot or screen recording of the change
https://user-images.githubusercontent.com/114685994/196762382-90ef0a0b-5101-4ae6-808f-b5836b54aebd.mov
How to test 🧪
What are the steps to reproduce the issue or verify the changes?

Visit the Marketplace.
Use keyboard navigation to tab to a Marketplace app selection card.
Once a card is selected, press tab again and observe that the Info button is now focusable.
Press Enter and the drawer will open. Tab to the close button and press Enter; observe the drawer closes.
Enable a screen reader such as Voice Over, navigate to the Info button on the card, and observe that the screen reader reads out the ARIA label (e.g. "Info for [App Name]").

because now it takes two keyboard presses to move to the next app

@hana-linode That's a good point. I just referred back to the WebAIM recommendations, which suggest buttons are a focusable element that should be tab-accessible. (Looks like standards also specify that pressing space, in addition to enter, should activate the button.) But I was also looking at the ARIA guide and wondering if a right arrow key might be the way to go, which is the pattern outlined in Grids : Interactive Tabular Data and Layout Containers.
What do you think: right arrow rather than tab makes the info button focusable, and then enter and space interact with the button?

Some additional context after looking into manually focusing the Info button via keyboard navigation with right arrow instead of tab...
The ways to do this seem to be to either:

Add an event listener in useEffect

Results in useEffect firing on every keypress for every SelectionCardWrapper, which is not what we want. I think this would require that we manually find the focused app among all SelectionCardWrapper apps in order to evaluate whether the key pressed was the right arrow key and manually trigger focus on Info button.

Add an event handler (e.g. onKeyDown, onKeyPress?) to the components' props

Does not result in the keyboard event listener firing on every app, every time a key is pressed. Does seem to require changes to SelectionCard that might have larger impacts. When attempting to add a onKeyDown event to SelectionCard and SelectionCardWrapper, I was breaking existing behavior: key press did trigger the event handler for the focused app only, but tab functionality broke with an inability to tab to the next app. Attempting to modify onKeyPress leads to other issues.

Manually toggling focus: with a roving tab index is described here.


Key trigger failure

Describe your bug here.
Why can't I press up and down in 0.7.2? Other versions of android 13 can be used, but android 13 can't be used
https://github.com/MobilePorting/FNF-PsychEngine-Mobile/assets/107187521/be630c93-6d9a-43f6-b998-d1ba3aed8e2f
Crash Log or logcat logs (if existing)
No response
Are you modding a build from source or with Lua?
Source
What is your build target?
Android
Did you edit anything in this build? If so, mention or summarize your changes.
no

clear your psych engine data (backup mods first)


merge from template-esm-only

.github/workflows/update_readme_api.yml

chore: add actions/setup-node@v4 (jobs.update_readme_api.steps.uses)

.github/workflows/ci.yml

chore: add actions/setup-node@v4 (jobs.test-node.steps.uses)
chore: add actions/setup-node@v4 (jobs.test-browser.steps.uses)
chore: add actions/setup-node@v4 (jobs.release.steps.uses)

.github/workflows/codeql_analysis.yml

chore: add actions/setup-node@v4 (jobs.analyze.steps.uses)

.github/workflows/update_package_lock.yml

chore: add actions/setup-node@v4 (jobs.update_package_lock.steps.uses)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 86.207%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
256

Relevant Lines:
297

💛  - Coveralls


add https-everywhere

What Changed

Added flask-sslify

Issues

Fixes #174

This is pending SSL configuration on buildpgh from @migurski -- @migurski could you let us know when this is done so we can merge?

Merging, will test this works on staging.


Broken help URI for Import-PfxCertificate

Currrent help URI (https://go.microsoft.com/fwlink/?LinkId=386826) for Import-PfxCertificate redirects to page below, which lands in a page not found.
Current unwrapped URI: https://docs.microsoft.com/en-us/powershell/module/pki/import-pfxcertificate
Also, it would be great if this documentation had possible errors this cmdlet may throw.

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

ID: f36c4f79-411b-f859-7488-456b65e61e73
Version Independent ID: 9a5652dd-c33c-a658-9ee1-3af47189136a
Content: Import-PfxCertificate (pkiclient)
Content Source: docset/windows/pkiclient/import-pfxcertificate.md
Product: w10
GitHub Login: @coreyp-at-msft
Microsoft Alias: coreyp

Hello @AndreHimself
Thank you for your feedback and patience.
For "Import-PfxCertificat" could you please refer to the following URL? Let us know if you find any issues in accessing this link.
https://docs.microsoft.com/powershell/module/pkiclient/import-pfxcertificate
Thank you so much for your contribution and we appreciate it.


Update to V1.42:Unable to open file: Invalid arguments error

Following up on a closed issue #90524  for an error while debugging a Cobol File: "Unable to open 'filename.cbl': Invalid arguments.".
The following sequence of messages exchanged between ide and adapter worked fine in the previous version:
ide  <- adapter: {"type":"event","seq":8,"event":"stopped","body":{"reason":"exception","description":"ABEND","threadId":356,"allThreadsStopped":false}}
ide  -> adapter: {"seq":6,"type":"request","command":"threads","arguments":{}}
ide  <- adapter: {"type":"response","seq":9,"request_seq":6,"command":"threads","success":true,"body":{"threads":[{"id":356,"name":"Task: 356"}]}}
ide  -> adapter: {"seq":7,"type":"request","command":"stackTrace","arguments":{"startFrame":0,"levels":20,"threadId":356}}
ide  <- adapter: {"type":"response","seq":10,"request_seq":7,"command":"stackTrace","success":true,"body":{"stackFrames":[{"id":356,"name":"FILENAME","source":{"name":"filename.cbl","path":"/Users/amagex/workspace-dap-tast/.extsrcs/filename.cbl"},"line":357}],"totalFrames":1}}
ide  -> adapter: {"seq":8,"type":"request","command":"scopes","arguments":{"frameId":356}}
ide  <- adapter: {"type":"response","seq":11,"request_seq":8,"command":"scopes","success":true,"body":{"scopes":[{"name":"Locals","variablesReference":1,"expensive":true,"source":{"name":"filename.cbl","path":"/Users/amagex/workspace-dap-tast/.extsrcs/filename.cbl"}}]}}

Both path and filename look fine, and without any invalid arguments, in above messages.
While experimenting, I tried to provide a non-existent filepath, so VSCode asked me to create a new file as the one I provided did not exist.  Even when I created it and tried to use that one, I got the same error after Resuming or Stepping Over: "Unable to open 'filename.cbl': Invalid arguments."
Do you require any extra information on this issue or do I do something wrong?

VSCode Version: 1.42
OS Version: Windows 10

Steps to Reproduce:

Start a debug session.
Try to resume or step over.

Does this issue occur when all extensions are disabled?: Yes

Are there any updates on this issue?

@ishche I don't know where the "Unable to open 'filename.cbl': Invalid arguments." comes from.
I tried to make the error occur in VS Code by returning a non existing file from the debug adapter in Mock Debug with this code (in mockDebug.ts):
private createSource(filePath: string): Source {
  const fp = filePath.replace('readme.md', 'readme2.md');
  return new Source(basename(fp), this.convertDebuggerPathToClient(fp), undefined, undefined, 'mock-adapter-data');
}

When running that code and stepping through a markdown file I was seeing this error notification popping up in VS Code:

I did not see the "Invalid arguments error" message.
Do you see your error even if you disable all extension?

The path in your DAP trace from above is /Users/amagex/workspace-dap-tast/.extsrcs/filename.cbl. This is not a Windows path but you are filing the issue on Windows?
Can you explain the discrepancy?

Yes, sorry, DAP log is from my computer. I also can reproduce it on Mac.

If a file is missing then create file notification appears. But if a file exists then we have this error.

The "create file notification appears" is produced by VS Code. But the "Invalid arguments" is not.
I suspect this comes from a Cobol extension that tries to do something with a "*.cbl" file.
Could you disable all extension but enable the Cobol debugger?

I have the same error with only COBOL debug extension.
Can you give a hint, which vscode API part could be the reason for "Invalid arguments"?

Most "invalid arguments" are thrown in the codeEditorWidget.
Could it be that a source location or range returned from the debug adapter is "out of range"?

Most "invalid arguments" are thrown in the codeEditorWidget.
Could it be that a source location or range returned from the debug adapter is "out of range"?

I dive deeper and find the source of error:
here: https://github.com/microsoft/vscode/blob/master/src/vs/editor/browser/widget/codeEditorWidget.ts#L652
something value is: Object {startLineNumber: 357, startColumn: undefined, endLineNumber: 357, endColumn: undefined}
I found relative changes here: https://github.com/microsoft/vscode/commit/b84d08be70d1efe55d6097d3badcc03297a27635#diff-d6d4527bd487a54f95c554d21f5e05ebL1087
Should I put startColumn and endColumn in our extension? It's not clear from DAP specifications.

The DAP clearly states whether an attribute is mandatory or optional.
Where do you think is the DAP spec not clear?

The DAP clearly states whether an attribute is mandatory or optional.
Where do you think is the DAP spec not clear?

Yep, I misread column mandatory.
https://microsoft.github.io/debug-adapter-protocol/specification#Types_StackFrame

@ishche So does the problem go away if you provide a column in the StackFrame object?
@isidorn our debugger frontend could be more forgiving when the column attribute is missing. Letting an "Invalid arguments" error from a lower layer ripple up is not very helpful...

@ishche So does the problem go away if you provide a column in the StackFrame object?

It works now. Thank you for help!
I have one question - just curiosity. Why column number is not optional?

@ishche for historical reasons...


Start/Stop functionality for existing Azure VM doesn't work

Start/Stop functionality - doesn't work with currently existing Virtual Machine Instance.
After TC starts the instance before the build and stops after a build on idle timeout (I set the value of "1") - then it would not start any subsequent build anymore again!?.
My setup for TC on Windows 8.1 (TeamCity Professional 9.0.4 (build 32407)) is -> 2 "in-house" agents + 1 Azure agent.
I have 2 pools setup - "local" and "Azure" ones with 2 and 1 agent associated with accordingly.
My project is assigned only to Azure pool (of one instance) on the Pools tab.
I can provide screenshots if needed.

duplicate of #9


[BUG] Unable to handle unlisted video from Vimeo using embed or video plugins

Has this bug been raised before?

[X] I have checked "open" AND "closed" issues and this is not a duplicate

Description
It's not easy to render video from Vimeo provider when using video or embed plugins.
Structure of vimeo video link:

public video: https://vimeo.com/{videoId} (e.g. https://vimeo.com/26689853)
public video embed: https://player.vimeo.com/video/{videoId} (e.g. https://player.vimeo.com/video/26689853)
unlisted video: https://vimeo.com/{videoId}/{hashId} (e.g. https://vimeo.com/1004459764/db62233a97)
unlisted video embed: https://player.vimeo.com/video/{videoId}?h={hashId} (e.g. https://player.vimeo.com/video/1004459764?h=db62233a97)

Unlisted videos without hashId part would show access denied on a video.
Video plugin
Public videos (without hash part) can be easily inserted using video plugin, however, there is issue with unlisted videos. There is no processing of hashId part, so the video will result in access denied.
Moreover, for processing of Vimeo videos, there is used deprecated Simple API which might not work with unlisted videos. Instead of 'https://vimeo.com/api/v2/video' endpoint, it is recommended to use oEmbed API.
Embed plugin
For this part, I'll demonstrate using the following links / elements:

public embed link: https://player.vimeo.com/video/26689853
public embed iframe:

private embed link: https://player.vimeo.com/video/1004459764?h=db62233a97&
private embed iframe:

Both public and private videos cannot be embedded using classic iframe (there is type error with URL parsing in console):

With embed links, the issue is with custom processing of vimeo videos - it creates request to API that is not valid and returns an error:

However, there is a hacky way how to bypass processing of Vimeo videos - replace vimeo.com with VIMEO.com in the link and it works just fine. Example using the link https://player.VIMEO.com/video/1004459764?h=db62233a97:

For the time being, we'll be using this hack, but it would be great if this would be approached in the upcoming releases :slightly_smiling_face:
In the embed plugin, the obsolete Simple API that is deprecated from Vimeo's side is used and developers should use their oEmbed API:

https://developer.vimeo.com/api/oembed/videos

Also, my question is - embed with link works without using any custom processing, so why do you have custom Vimeo processing in Embed plugin to handle vimeo videos?
Steps to Reproduce
All relevant information is in the description.
Environment

version: Yoopta plugins v. 4.7.0

Screenshots
No response
Do you want to work on this issue?
No
If "yes" to above, please explain how you would technically implement this
No response
EDIT: Updated format of links

@filipholec you deserve credits for such detailed description 🎉 👯
Thanks for reporting issue, I'll take a look


chore(Order/Interval/Finset/Defs): Clean up namespaces

Some lemmas were accidentally dropped in the Prod or root namespace

bors merge


[docs] Fix references to non-existent methods

Fixes references to non-existent methods in documentation (no code changes)

StartShard -> StartReplica
StartOnDiskShard -> StartOnDiskReplica
StartConcurrentShard -> StartConcurrentReplica
RequestAddNode -> RequestAddReplica
RequestRemoveNode -> RequestDeleteReplica

Codecov Report
Base: 84.37% // Head: 84.45% // Increases project coverage by +0.08% :tada:

Coverage data is based on head (8f5ecf1) compared to base (aadd6a9).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #258      +/-   ##
==========================================
+ Coverage   84.37%   84.45%   +0.08%
==========================================
  Files          10       10
  Lines        4261     4261
==========================================
+ Hits         3595     3598       +3
+ Misses        406      403       -3
  Partials      260      260

Impacted Files
Coverage Δ

nodehost.go
86.26% <ø> (ø)

node.go
79.80% <0.00%> (+0.10%)
:arrow_up:

request.go
93.31% <0.00%> (+0.32%)
:arrow_up:

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Thanks a lot for the fix.


CacheServiceTests: use fluent assertions and better naming

I also added some tests for types other than string and one for null values and found out there was a discrepancy between local and distributed there... yay for tests again ;-)

one of the test cases fails, can you check it. or was it supposed to fail?

Failed Infrastructure.Test.Caching.DistributedCacheService.ReturnsNullGivenAnExpiredKey [397 ms]   Error Message:    Expected result to be <null>, but found "testvalue".

Hmm, works here, and did work on this PR when checked (see checks tab).
That's the testwith the Delay inside... I added 50 milliseconds. see new pr #240


[WIP] Write a DiddiScript editor

Closes #53
Generate this using Tkinter and idlelib (two standard libraries) to keep as light as possible.

This is now functional. Now I want to add highlighted syntax.

Well... it's a bit harder to do that. It can be done on another PR.

Well... here's a quick preview...

Editor's interface:

Information windows:

Inputs and Outputs when running the code:


Client Allocation Request for: 浙江安联检测技术服务有限公司

Client Allocation Questions
Core Information

Name: 浙江安联检测技术服务有限公司
Website / Social Media: http://www.anliantest.com/
Region: Greater China
DataCap Requested: 5TiB
Addresses to be Notarized: f3vsnyrlzthdklgverpzaqwlnt5zlbij4znbzb5y5h57omnbb5vj3maiwv67kg3s24ne5usijrhlcnzer3tnba
Notary Requested: ozhtdong

@raullefu - @ozhtdong is currently out of DataCap to allocate. Would recommend you reach out to another notary that still has DataCap available or wait 2-3 weeks till the next round of notary elections is completed. Thank you!


AnalysisSession.getUnitElement returns null if the path contains a space

In the latest package:analyzer 0.39.4:
lib/without_space.dart:
import 'dart:io';

import 'package:analyzer/dart/analysis/context_builder.dart';
import 'package:analyzer/dart/analysis/context_locator.dart';

Future<void> main() async {
  final currentDir = Directory.current.path;
  final paths = ContextLocator().locateRoots(includedPaths: [currentDir]);
  final context = ContextBuilder().createContext(contextRoot: paths.single);
  final session = context.currentSession;
  final elem = await session.getUnitElement('$currentDir/lib/with space.dart');
  print(elem == null); // prints true

  final elem2 =
      await session.getUnitElement('$currentDir/lib/without_space.dart');
  print(elem2 == null); // prints false
}

lib/with space.dart:
class X {}

main() {
  print('hello');
}

Original error report: https://github.com/dart-lang/pana/issues/617

This is still present in package:analyzer 0.39.5

I guess this is fixed, since I don't get the error:

On Windows, after normalizing the path
top_level_inference_test passes, when changing testFilePath  to te st.dart in
https://github.com/dart-lang/sdk/blob/a24d875ff6aa7caf00bb4bbc11975cc206d9265b/pkg/analyzer/test/src/dart/resolution/context_collection_resolution.dart#L261

Closing as stale, as per @asashour 's comment. But please re-open if this reproduces on a recent release of analyzer.


Stuck on writing and reading files larger than 1 Mb

after running fio benchmark with a 1Mb file size it works fine. but when I change the global size to ex: 10Mi it stuck.
benchmark.fio
[global]
directory=/mnt
end_fsync=1
filename_format=fio.$jobnum.$filenum
group_reporting
iodepth=1
ioengine=psync
size=100Mi

[4KiB_write]
blocksize=4Ki
readwrite=write

[4KiB_read]
blocksize=4Ki
readwrite=read

I faced the below trace log when it stuck.
iclient log
[2022-04-10T04:23:03.734579155Z][TRACE] <== rpcAdjustInodeTableEntryOpenCount(adjustInodeTableEntryOpenCountResponse: &{}, err: <nil>)
[2022-04-10T04:23:03.734680208Z][TRACE] <== DoOpen(openOut: &{FH:5407 OpenFlags:0 Padding:0}, errno: errno 0)
[2022-04-10T04:23:03.734747176Z][TRACE] <== DoGetXAttr(getXAttrOut: <nil>, errno: no data available)
[2022-04-10T04:23:03.734947844Z][TRACE] ==> DoGetAttr(inHeader: &{Len:56 OpCode:3 Unique:24 NodeID:5131 UID:0 GID:0 PID:2750 Padding:0}, getAttrIn: &{Flags:1 Dummy:0 FH:5407})
[2022-04-10T04:23:03.7350326Z][TRACE] <== DoGetAttr(getAttrOut: &{AttrValidSec:0 AttrValidNSec:250000000 Dummy:0 Attr:{Ino:5131 Size:104857600 Blocks:204800 ATimeSec:1649564583 MTimeSec:1649564583 CTimeSec:1649524097 ATimeNSec:722828167 MTimeNSec:722828167 CTimeNSec:561918465 Mode:33188 NLink:1 UID:0 GID:0 RDev:0 BlkSize:512 Padding:0}}, errno: errno 0)
[2022-04-10T04:23:03.735083518Z][TRACE] ==> DoWrite(inHeader: &{Len:4176 OpCode:16 Unique:26 NodeID:5131 UID:0 GID:0 PID:2749 Padding:0}, writeIn: &{FH:5404 Offset:4096 Size:4096: WriteFlags:0 LockOwner:0 Flags:32770 Padding:0 len(Data):4096})
[2022-04-10T04:23:03.735395006Z][TRACE] <== DoWrite(writeOut: &{Size:4096 Padding:0}, errno: errno 0)
[2022-04-10T04:23:03.735363175Z][TRACE] ==> DoRead(inHeader: &{Len:80 OpCode:15 Unique:28 NodeID:5131 UID:0 GID:0 PID:2750 Padding:0}, readIn: &{FH:5407 Offset:0 Size:16384 ReadFlags:0 LockOwner:0 Flags:32768 Padding:0})
[2022-04-10T04:23:03.735540696Z][TRACE] ==> DoGetXAttr(inHeader: &{Len:68 OpCode:22 Unique:30 NodeID:5131 UID:0 GID:0 PID:2749 Padding:0}, getXAttrIn: &{Size:0 Padding:0 Position:0 Padding2:0 Name:[115 101 99 117 114 105 116 121 46 99 97 112 97 98 105 108 105 116 121]})

1 MiB sample result :
4KiB_write: (g=0): rw=write, bs=(R) 4096B-4096B, (W) 4096B-4096B, (T) 4096B-4096B, ioengine=psync, iodepth=1
4KiB_read: (g=0): rw=read, bs=(R) 4096B-4096B, (W) 4096B-4096B, (T) 4096B-4096B, ioengine=psync, iodepth=1
fio-3.16
Starting 2 processes
4KiB_write: Laying out IO file (1 file / 1MiB)
4KiB_read: Laying out IO file (1 file / 1MiB)

4KiB_write: (groupid=0, jobs=2): err= 0: pid=1621: Sat Apr  9 17:06:41 2022
  read: IOPS=1753, BW=7014KiB/s (7182kB/s)(1024KiB/146msec)
    clat (nsec): min=1800, max=33275k, avg=552421.08, stdev=2065224.15
     lat (nsec): min=1869, max=33276k, avg=552658.18, stdev=2065271.34
    clat percentiles (usec):
     |  1.00th=[   46],  5.00th=[  227], 10.00th=[  273], 20.00th=[  306],
     | 30.00th=[  343], 40.00th=[  371], 50.00th=[  392], 60.00th=[  420],
     | 70.00th=[  453], 80.00th=[  490], 90.00th=[  570], 95.00th=[  693],
     | 99.00th=[ 1647], 99.50th=[ 2606], 99.90th=[33162], 99.95th=[33162],
     | 99.99th=[33162]
  write: IOPS=522, BW=2090KiB/s (2140kB/s)(1024KiB/490msec); 0 zone resets
    clat (usec): min=215, max=105894, avg=1387.33, stdev=9403.43
     lat (usec): min=215, max=105895, avg=1387.69, stdev=9403.47
    clat percentiles (usec):
     |  1.00th=[   231],  5.00th=[   281], 10.00th=[   289], 20.00th=[   322],
     | 30.00th=[   338], 40.00th=[   367], 50.00th=[   388], 60.00th=[   416],
     | 70.00th=[   437], 80.00th=[   482], 90.00th=[   578], 95.00th=[   840],
     | 99.00th=[ 33817], 99.50th=[103285], 99.90th=[105382], 99.95th=[105382],
     | 99.99th=[105382]
  lat (usec)   : 2=0.20%, 10=0.20%, 50=0.20%, 250=3.91%, 500=77.73%
  lat (usec)   : 750=12.89%, 1000=1.56%
  lat (msec)   : 2=1.76%, 4=0.78%, 50=0.39%, 250=0.39%
  cpu          : usr=0.00%, sys=4.42%, ctx=1112, majf=0, minf=24
  IO depths    : 1=100.2%, 2=0.0%, 4=0.0%, 8=0.0%, 16=0.0%, 32=0.0%, >=64=0.0%
     submit    : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
     complete  : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
     issued rwts: total=256,256,0,1 short=0,0,0,0 dropped=0,0,0,0
     latency   : target=0, window=0, percentile=100.00%, depth=1

Run status group 0 (all jobs):
   READ: bw=7014KiB/s (7182kB/s), 7014KiB/s-7014KiB/s (7182kB/s-7182kB/s), io=1024KiB (1049kB), run=146-146msec
  WRITE: bw=2090KiB/s (2140kB/s), 2090KiB/s-2090KiB/s (2140kB/s-2140kB/s), io=1024KiB (1049kB), run=490-490msec

10MiB sample result:
4KiB_write: (g=0): rw=write, bs=(R) 4096B-4096B, (W) 4096B-4096B, (T) 4096B-4096B, ioengine=psync, iodepth=1
4KiB_read: (g=0): rw=read, bs=(R) 4096B-4096B, (W) 4096B-4096B, (T) 4096B-4096B, ioengine=psync, iodepth=1
fio-3.16
Starting 2 processes
4KiB_write: Laying out IO file (1 file / 10MiB)
4KiB_read: Laying out IO file (1 file / 10MiB)
^C^C
fio: terminating on signal 2

Run status group 0 (all jobs):

Nice detail in the issue, SadeghTb. I believe the published fio.conf file you specify 100Mi size, rather than the 1Mi or 10Mi, correct?
I ran with each of the size= settings of 1Mi, 10Mi, and 100Mi... and it worked, in my container setup just fine. I will say that, running in the containerized environment (currently), the lowly 10MiB/sec does mean the test pauses for a bit while it lays out the 100MiB file... and then takes 10ish seconds to complete:
=====
4KiB_write: (g=0): rw=write, bs=(R) 4096B-4096B, (W) 4096B-4096B, (T) 4096B-4096B, ioengine=psync, iodepth=1
4KiB_read: (g=0): rw=read, bs=(R) 4096B-4096B, (W) 4096B-4096B, (T) 4096B-4096B, ioengine=psync, iodepth=1
fio-3.28
Starting 2 processes
4KiB_write: Laying out IO file (1 file / 100MiB)
4KiB_read: Laying out IO file (1 file / 100MiB)
Jobs: 2 (f=2): [W(1),R(1)][15.0%][r=11.7MiB/s,w=6956KiB/s][r=2996,w=1739 IOPS][eJobs: 2 (f=2): [W(1),R(1)][23.5%][r=9722KiB/s,w=8247KiB/s][r=2430,w=2061 IOPS][eJobs: 2 (f=2): [W(1),R(1)][31.2%][r=13.0MiB/s,w=7492KiB/s][r=3323,w=1873 IOPS][eJobs: 2 (f=2): [W(1),R(1)][40.0%][r=10.3MiB/s,w=7808KiB/s][r=2641,w=1952 IOPS][eJobs: 2 (f=2): [W(1),R(1)][46.7%][r=9100KiB/s,w=7480KiB/s][r=2275,w=1870 IOPS][eJobs: 2 (f=2): [W(1),R(1)][53.3%][r=9502KiB/s,w=7272KiB/s][r=2375,w=1818 IOPS][eJobs: 2 (f=2): [W(1),R(1)][60.0%][r=12.9MiB/s,w=7480KiB/s][r=3291,w=1870 IOPS][eJobs: 1 (f=1): [W(1),(1)][66.7%][r=12.4MiB/s,w=7444KiB/s][r=3173,w=1861 IOPS][eJobs: 1 (f=1): [W(1),(1)][78.6%][w=9285KiB/s][w=2321 IOPS][eta 00m:03s]        Jobs: 1 (f=1): [W(1),_(1)][100.0%][w=8960KiB/s][w=2240 IOPS][eta 00m:00s]
4KiB_write: (groupid=0, jobs=2): err= 0: pid=3191: Sun Apr 10 06:03:07 2022
read: IOPS=2874, BW=11.2MiB/s (11.8MB/s)(100MiB/8906msec)
clat (nsec): min=474, max=83337k, avg=346269.03, stdev=1326771.80
lat (nsec): min=497, max=83338k, avg=346427.62, stdev=1326782.20
clat percentiles (nsec):
|  1.00th=[     498],  5.00th=[     516], 10.00th=[     540],
| 20.00th=[     612], 30.00th=[   31616], 40.00th=[  220160],
| 50.00th=[  309248], 60.00th=[  378880], 70.00th=[  436224],
| 80.00th=[  493568], 90.00th=[  561152], 95.00th=[  643072],
| 99.00th=[ 1011712], 99.50th=[ 1843200], 99.90th=[11599872],
| 99.95th=[12255232], 99.99th=[71827456]
bw (  KiB/s): min= 8495, max=15032, per=98.49%, avg=11324.24, stdev=1948.10, samples=17
iops        : min= 2123, max= 3758, avg=2831.06, stdev=487.02, samples=17
write: IOPS=1989, BW=7957KiB/s (8148kB/s)(100MiB/12869msec); 0 zone resets
clat (usec): min=64, max=83442, avg=496.97, stdev=1562.39
lat (usec): min=64, max=83442, avg=497.19, stdev=1562.39
clat percentiles (usec):
|  1.00th=[  137],  5.00th=[  223], 10.00th=[  269], 20.00th=[  326],
| 30.00th=[  367], 40.00th=[  396], 50.00th=[  416], 60.00th=[  445],
| 70.00th=[  474], 80.00th=[  515], 90.00th=[  578], 95.00th=[  652],
| 99.00th=[ 1090], 99.50th=[ 2073], 99.90th=[11863], 99.95th=[12911],
| 99.99th=[79168]
bw (  KiB/s): min= 6432, max=10416, per=100.00%, avg=7987.68, stdev=1022.27, samples=25
iops        : min= 1608, max= 2604, avg=1996.84, stdev=255.54, samples=25
lat (nsec)   : 500=0.83%, 750=11.23%, 1000=0.15%
lat (usec)   : 2=1.09%, 4=0.05%, 10=0.75%, 20=0.34%, 50=0.80%
lat (usec)   : 100=0.60%, 250=9.54%, 500=53.92%, 750=18.02%, 1000=1.57%
lat (msec)   : 2=0.60%, 4=0.07%, 10=0.02%, 20=0.38%, 100=0.03%
cpu          : usr=0.94%, sys=9.84%, ctx=84140, majf=0, minf=26
IO depths    : 1=100.0%, 2=0.0%, 4=0.0%, 8=0.0%, 16=0.0%, 32=0.0%, >=64=0.0%
submit    : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
complete  : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
issued rwts: total=25600,25600,0,0 short=0,0,0,0 dropped=0,0,0,0
latency   : target=0, window=0, percentile=100.00%, depth=1
Run status group 0 (all jobs):
READ: bw=11.2MiB/s (11.8MB/s), 11.2MiB/s-11.2MiB/s (11.8MB/s-11.8MB/s), io=100MiB (105MB), run=8906-8906msec
WRITE: bw=7957KiB/s (8148kB/s), 7957KiB/s-7957KiB/s (8148kB/s-8148kB/s), io=100MiB (105MB), run=12869-12869msec
=====
When I've seen hangs like this in the past, it's always boiled down to one of two things:

I've got some "lock" I've neglected to release whereupon a subsequent attempt to re-acquire the lock hangs...

I've run out of disk space in my Swift instance...

To get to the bottom of #1, just dumping the stack trace for all Go Routines is sufficient to nail the culprit. #2 is exposed with df commands on the Swift Object Server(s) of course.
As you've probably seen, ProxyFS is composed of two or three components:
ickpt - this guy works around the "eventual consistency" of Swift Object PUT behavior in that the CheckPoint Record is PUT to Object "0000000000000000" each time. Thus, a subsequent GET (upon restarting) is not guaranteed to GET the last CheckPoint Record that was PUT. You can certainly run w/out ickpt - I do this all the time in test environments where the Eventual Consistency of Swift is very unlikely to bite us (i.e. since there are no failures of Swift nodes during the test sequence).
imgr - this is the "centralized" metadata server. Well, really, it just is the entity recording updates to the Inode Table... a simple mapping from Inode Number to an Object Number in the Swift Container. It also is responsible for tracking "leases" (distributed lock manager) and open/close references. The only Object it PUTs are the CheckPoint Record Object and the B+Tree "pages" that get modified when the Inode Table is updated.
iclient - this is the FUSE file system driver that really does all the heavy lifting of modifying the Objects making up the file system elements (i.e. directories, files, and symlinks).
BTW - cool that you enabled tracing. You can do that on the imgr side as well...kind of paints both ends of the RPC echanges between iclient & imgr that way.
I'll keep trying to reproduce your issue over the next couple of days... but any further info you might provide would be extremely helpful.  Here's mine (this is currently development/HEAD:
$ git describe
2.01.0-10-gb00f4d7f
I suppose you might be using the HEAD of stable:
$ git describe
2.01.0
I haven't tested that one but will endeavor to do so at my end. There have certainly been improvements in the 10 commits on the development branch. Frankly, we are nearly done getting the portion of the standard PJD test suite (https://github.com/pjd/pjdfstest) that is pertinent to the feature set of ProxyFS (i.e. only dir, file, and symlinks... no atime, no sticky/setuid/setgit, etc...). The intention was to do a 2.02.00 tagged release once we get to that point...probably this upcoming week.

I did just verify that, in my containerized environment at least, all three size= values succeed on stable/HEAD (2.01.00).

Thank you so much for your complete answer, edmc-ss.
yeah, there was not an issue with proxyfs and the problem was my swift that its backend storage got full and It had a capacity of only a few megabytes.


Let :kotlin-dsl* integration tests run against locally built :kotlin-dsl-plugins

Instead of running against the last published :kotlin-dsl-plugins.
Also change cross-version smoke tests to exercise the last published :kotlin-dsl-plugins.
Refine the related build logic along the way and add the ability to inject an extra maven repository to :kotlin-dsl* tests.
This allows testing new/development versions of Kotlin without requiring the publication of :kotlin-dsl-plugins.
This is another stepstone towards using Kotlin K2 Compiler, enabling running tests against a locally built Kotlin compiler.
Reviewing cheatsheet
Before merging the PR, comments starting with

❌ ❓must be fixed
🤔 💅 should be fixed
💭 may be fixed
🎉 celebrate happy things

@bot-gradle test and merge

Your PR is queued. See the queue page for details.

I've triggered a build for you. Click here to see all failures if there's any.


PathPrefixedAdapter::$prefix should be protected, not private

Hello!
Usually, I think, that all properties, that can has private visibility should has private visibility. But not in this case.
I use PHP-DI container, which make adapter and filesystem for me. And in my case PathPrefixedAdapter implement feature for isolation files between different users. If we are use classic php-fpm everything works fine.
But for things like RoadRunner its a trouble, because i have one long running php propcess which handle multiple requests from different users, and i need to change path prefix in runtime, for existed adapter.
I can not create new adapter, and put it in DI container, because i already has many other already created objects (services, controllers, etc) with injected adapter, and i can't re-create all of them (for performance reasons)
If PathPrefixedAdapter::$prefix will be protected instead of private, i can easily create my own adapter, and extend it from PathPrefixedAdapter instead of copy-paste all its code

Sorry, i think that main repo is preferred for this issue https://github.com/thephpleague/flysystem/issues/1644


Update eslint to latest version

Hey,
It would be great if you'd find a minute to update the version of the lib :).
Thanks a lot,
Emil

closing due to inactivity


chore(deps): update terraform terraform-ibm-modules/landing-zone/ibm to v5.24.3

This PR contains the following updates:

Package
Type
Update
Change

terraform-ibm-modules/landing-zone/ibm (source)
module
patch
5.24.1 -> 5.24.3

Release Notes

terraform-ibm-modules/terraform-ibm-landing-zone (terraform-ibm-modules/landing-zone/ibm)
v5.24.3
Compare Source
Bug Fixes

landing zone configuration tool updates (#801) (d1c8359)

v5.24.2
Compare Source
Bug Fixes

deps: update landing-zone-vsi to 3.3.0 and landing-zone-vpc to 7.18.2 (#771) (5978ff9)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

/run pipeline

/run pipeline

/run pipeline

:tada: This issue has been resolved in version 5.3.0 :tada:
The release is available on:

GitHub release
v5.3.0

Your semantic-release bot :package::rocket:


Clarify Html.Attributes.classList example code snippet

Example renderMessage function should return an Html msg
Changed renderMessage function name and type signature to remove ambiguity with standard usage of Msg type

Passing a Msg type as an argument to the renderMessage function in the example code and calling msg.isImport, etc. could be rather confusing to a beginner. Being familiar with Elm types, type aliases, and the Cmd/Msg paradigm myself, I did a double take before realizing the msg parameter was simply a confusingly named record (assuming carried over from pre-Cmd/Msg days). Removed the message concept from the example to avoid ambiguity.

Thank you for pointing this out, it was pretty bad!
I think it had to be written before 0.17 when Msg was called Action and Html didn't capture the type of events it produced. I made changes like you suggested along with a few other tweaks.
Anyway, thanks again!

Thanks for the quick response; I'm excited by all of the activity in the Elm community right now and am looking forward to finding ways to contribute!

Welcome! Stuff like this is great, and that's a good start :)
I gave this talk to try describe contribution looks like in Elm. There are also some potential projects listed here. If you have read  The Visual Display of Quantitative Information or domain knowledge there, I am particularly excited to see what we can do with data visualization. In any case, best route is to meet folks and work on whatever you are most excited about!


cluster name is tied with chi pods and persistence volumes

In general, cluster name (set using <remote_servers> configuration) has no sticky relation with the instances of ClickHouse servers.
When trying to update cluster name, old data is removed since the cluster name is tied to not only pods but the PVCs.
Do let me know if there is any way right now to update cluster name with the old data intact.

Try podGenerateName:
apiVersion: "clickhouse.altinity.com/v1"
kind: "ClickHouseInstallation"
metadata:
  name: "pod-generate-name"
spec:
  configuration:
    clusters:
      - name: shard1-repl1
        templates:
          podTemplate: clickhouse-pod-template
        layout:
          shardsCount: 1
          replicasCount: 1
  templates:
    podTemplates:
      - name: clickhouse-pod-template
        generateName: "chi-{chi}-{cluster}-{host}"
        spec:
          containers:
            - name: clickhouse-pod
              image: clickhouse/clickhouse-server:22.3
              volumeMounts:
                - name: clickhouse-storage-template
                  mountPath: /var/lib/clickhouse

But cluster name is pretty much hardcoded internally, you are right.

@alex-zaitsev Any idea on how I can update existing cluster name with the old data in PVCs intact?

I've just started exploring clickhouse by using CHOP, and the terminology of installation vs cluster really confuses me.
Why wouldn't I want to model clusters by the underlying pods and pvcs? If I don't tie clusters to pods and pvcs, how should I model them? Should 'installation' be the key 'instance'?
I would appreciate any links where this is defined, I can't seem to find a basic explanation of how topology is constructed.

@rauanmayemir
installaction could to contain multiple clickhouse clusters
look
kubectl explain chi.spec.configuration.clusters for details
each clickhouse cluster could contain multiple clickhouse-server pods which could be customized with podTemplates
look
kubectl explain chi.spec.configuration.clusters.layout
kubectl explain chi.spec.defaults.templates
kubectl explain chi.spec.templates.podTemplates
kubectl explain sts.spec.template

each podTemplate could contain multiple volumeClaimTemplate which will render multiple PVC, which you can mount and use in the custom storage_policy
look detals in
kubectl explain chi.spec.templates.podTemplates
kubectl explain chi.spec.templates.podTemplates.spec
kubectl explain chi.spec.templates.volumeClaimTemplates
kubectl explain sts.spec
kubectl explain sts.spec.volumeClaimTemplates
kubectl explain sts.spec.template.spec
kubectl explain sts.spec.template.spec.volumes

and look examples in
https://github.com/Altinity/clickhouse-operator/blob/master/docs/chi-examples/03-persistent-volume-07-multiple-resizable-volumes-3.yaml
kubectl explain chi.spec.configuration.files
and
https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/mergetree#table_engine-mergetree-multiple-volumes_configure

@Slach Thank you for your answer. I know all that, I've followed those examples and have set up an installation with one cluster.
I meant, when would I need to have 1 installation with several clusters as opposed to say several installations with 1 cluster each?

I meant, when would I need to have 1 installation with several clusters as opposed to say several installations with 1 cluster each?

It has no sense, multiple ClickHouseInstallation for one clickhouse-server cluster, and it is not trivial to achieve it (but possible in theory).
Usually, in a most of the cases you will use only one ClickHouseInstallations for each clickhouse-server cluster

Several installations with 1 cluster each. But I'm guessing installation is essentially a tenant.

Usually, in a most of the cases you will use only one ClickHouseInstallations for each clickhouse-server cluster

What do you mean? That it is usually not necessary to have several clusters and 1 cluster per installation is enough?

Several installations with 1 cluster each.

This is usual case

But I'm guessing installation is essentially a tenant.

Usually tenant is namespace or even separate kubernetes cluster with several ClickHouseInstallation

That it is usually not necessary to have several clusters and 1 cluster per installation is enough?

Yes, multiple clickhouse-cluster in one installation still create separate statefulsets+pvc+service for each clickhouse-server instance.
But use one CHI for multiple clusters have sense if you want to share some configuration between clsuters and don't want to use ClickHouseInstallationTemplate


Pull errors

I'm trying to pull the git repository in the BTP ABAP cloud but the pull ended up in errors.  The object log shows the below error.
/CC4A/RFC_ENABLED_MODULE_RFC | SCO2 | E | Function module /CC4A/RFC_ENABLED_MODULE does not exist
/CC4A/RFC_ENABLED_MODULE_RFC | SCO2 | E | Import of object /CC4A/RFC_ENABLED_MODULE_RFC failed
Any advise would be appreciated to clear up this error.
Thanks

This is probably an inconsistency in the abapGit importer for SCO2 objects. The SCO2 object is in the end not relevant for the actual execution of the CodePal anyway. If you just activate all imported objects anyway, does it work? (Try executing an ATC check with check variant /CC4A/CODE_PAL_FULL on any object)

Thanks.  As suggested, activated all the imported objects and its success.  Executed ATC check on a object available in BTP abap environment and it worked.
But I see the check variant /CC4A/CODE_PAL_FULL is not remote enabled.  So unable to run the remote ATC scenario with on-prem ABAP objects.  Is this something related to inconsistency during git pull?

Ah, that's because the "Prefer Methods" check is not currently remote-enabled (we cannot tell whether a function module is an RFC module with the currently released APIs). If you copy the variant and remove the "Prefer Methods" check the resulting variant should be remote-enabled.

Thanks.  Removed the "Prefer Methods" check and it worked.


Add ability to upload media

Add function to upload media or change header's content type for the ability.

i was also missing this feature but was able to extend the base endroid twitter class with my own "upload media" method. maybe this might be a "quick fix" for anyone missing this feature too. i created a gist showing my method:
https://gist.github.com/Headd2k/af60cbeee258583ac5b4f8ec687554de
i would be happy to provide a pr with this feature integrated into the endroid base twitter class, but i'm currently not sure how to handle the new base url (upload instead of api) in this context.

Hi @Headd2k I can update the class for you next week so it is not necessary to create a PR. Thank you for sharing your solution!

@endroid
Any update?

Added in 1.3.4


Cannot pagination or search groups when creating new resource policy

Describe the bug
When creating a new resource policy, it's not possible view the available groups (and probably also available users) beyond the first set. When you use the pagination widget to advance to the next set, the "Create new resource policy" just page reloads. The same thing happens when you try use the Search option.
To Reproduce
Steps to reproduce the behavior:

Edit the authorizations for an item
Select the Add option
Scroll down and select "Search for a group" or "Search for ePerson"
Assuming the list is long enough, use the pagination widget to view the next page
Alternately, try using the search option
The page will reload

Expected behavior
You should see the next set of users/groups when browsing or a set of results when searching

Thanks for reporting @mspalti .  I was able to reproduce this on demo7.dspace.org as well.  It looks recent & unfortunately rather serious since you cannot create a new Group based ResourcePolicy.
@artlowel or @atarix83 : Are either of you interested in looking into this for 7.3? At a glance, it looks to me like it is a UI-bug

Closing, as this was duplicated into  #1544, and that other ticket has already been assigned/estimated.  So, #1544 replaces this ticket.


[in_app_purchase]Update json_annotation version

Description
plugin in_app_purchase use low version of json_annotation, conflict with flutter_tools from sdk. So update version of json_annotation, resolve conflicts with other packages.
Related Issues
Because in_app_purchase >=0.1.0 depends on json_annotation ^2.0.0 and every version of flutter_tools from sdk depends on json_annotation 3.0.0, in_app_purchase >=0.1.0 is incompatible with flutter_tools from sdk.
So, because plugins_gallery depends on both flutter_tools any from sdk and in_app_purchase 0.2.2+2, version solving failed.
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide).
[x] All existing and new tests are passing.
[x] I updated/added relevant documentation (doc comments with ///).
[x] The analyzer (flutter analyze) does not report any problems on my PR.
[x] I read and followed the Flutter Style Guide.
[x] The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences]
[x] I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy.
[x] I updated CHANGELOG.md to add a description of the change.
[x] I signed the CLA.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (please indicate a breaking change in CHANGELOG.md and increment major revision).
[x] No, this is not a breaking change.

hi @includecmath again!
Thank you for this one - could you please clarify if the plugin, with your change, will still compile & work on the current stable branch?
Also, please also sync with the latest master, increment the version & add a entry to the change log. That will help others to spot your change quickly.
Thank you once again

One more thing - after changing the json_* dependencies in dev_dependencies we need to re-run the build runner command, and those re-generated files should be part of this PR.
flutter packages pub run build_runner build --delete-conflicting-outputs

json_serializable had breaking changes rgd. nullable fields from v 2 to 3. I can't see things from a glimpse either, but I'm 99% sure the generated files changed.

Thanks for reminding re-generated *.g.dart file @ened and the command should be:😂
flutter pub run build_runner build

@cyanglaz , can you please review this?

@cyanglaz Ok thank you for reminding, I raise the min sdk bound reference json_serializable

What's up with CI?

What's up with CI?

It's using the latest version of flutter_plugin_tools, but it looks like this branch is behind master so it's missing the configuration option that we need to pass to the latest version. If you merge in master and push again it should be fixed.

@mklim CI seems time out in multiple PR.

@mklim , can you please review this?


Add more items in what's next section of Understanding Kubernetes objects

This is a Bug Report

Problem:
Below information is needed to mention in Kubernetes-objects what's-next section

Learn more about deployments
Learn about kubectl and kubectl commands

Proposed Solution:
Add Below points under Kubernetes-objects what's-next section

Learn more about deployments
Learn about kubectl and kubectl commands

Page to Update:
https://kubernetes.io/docs/concepts/overview/working-with-objects/kubernetes-objects/

/language en
/assign

/triage accepted
Good idea

Fixed it here #37747


Remove unnecessary javascript function closures

Remove windowEventHandler() function, as resetTooltips can be called directly.
Remove configureAccessibility() function, as the operations can be done inline.

Removed function closures as above


Add run_one method to Libuv and Asio

Add run_one method to Libuv, Asio.
Epoll not

run_one is not the naming convention used. runOne would be, but I'm wondering why you would need this? A proper solution would only need run, nothing else. Integrations should be made at the polling (eventing) layer.

I start many servers and stop some when receive some message. But there is no stop method(and it maybe hard to force terminate a server in another thread safely).

What's more, I think these i/o libraries support runOne, so there must be some situation we can use it.

You need to go back to the drawing board and redesign your server how it's supposed to work instead of adding hacks to work around your own design limitations.

I think the correct paradigm on libuv is to call loop->stop().  Or I guess that’s uv_loop_stop() if I’m not using a c++ wrapper.  There are also alternate run modes for loops, but I don’t like those much.  And runOne seems like a poor paradigm, particularly if your objective is to start and stop a server on demand.  If you want to act per iteration use a per iteration event, if you want to stop the loop... use stop.

This lib is async -> it runs on events only. Just like Node.js the loop will automatically "fall through" once there is no queued up async events. This is how you close it down if you really want that. You can look in the tests source, there are about 50 examples of how to properly do this. If you need more info you can take a quick look at Node.js design principles and apply them here.

Also note that your design will leak memory and file descriptors if you just hack in a runOnce method and exit that way. You need to let the loop run and fall through. Hub::run(); will return "fall through" once it is ready to do so.

Tai7sy:  the libuv paradigm for stopping a run loop in another thread is probably to use uv_async_t, and have the handler of that event (which is on the thread of the run loop) call uv_loop_stop once it has properly processed any cleanup that needs to be done.  Trying to take control of the loop’s iteration process by calling it one iteration at a time is going to be fraught with problems, as Alex points out.

Thanks for these advice.
Now I have understood how the uWS works and the problem in my design of my program.
Just call close() and waiting for the run() to 'fall through' automatically seems to be more elegant and the right way.
Examples in the tests helped me a lot to understand and redesign the procedure of my program. Thanks again.


My Created Market section Bug

This needs to display only markets created for the SB only

fixed. closing


Game sometimes fail to build with Error while deserializing node

Here is the output:
[(0,0)]: Info: Assembly [TurnBasedBattleSim.Game, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null] has already been processed, skip it.
[(0,0)]: Info: TurnBasedBattleSim.Game -> C:\Users\Robert Campbell\Desktop\GameDev\Xenko\TurnBasedBattleSim\TurnBasedBattleSim\TurnBasedBattleSim.Game\bin\Debug\net461\TurnBasedBattleSim.Game.dll
[(0,0)]: Info: Assembly [TurnBasedBattleSim.Windows, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null] has already been processed, skip it.
[(0,0)]: Info: TurnBasedBattleSim.Windows -> C:\Users\Robert Campbell\Desktop\GameDev\Xenko\TurnBasedBattleSim\TurnBasedBattleSim\Bin\Windows\Debug\TurnBasedBattleSim.Windows.exe
Info: BuildEngine arguments: --disable-auto-compile --project-configuration Debug --platform=Windows --profile=Windows --project-configuration=Debug --output-path=C:\Users\Robert Campbell\Desktop\GameDev\Xenko\TurnBasedBattleSim\TurnBasedBattleSim\Bin\Windows\Debug\data --build-path=C:\Users\Robert Campbell\Desktop\GameDev\Xenko\TurnBasedBattleSim\TurnBasedBattleSim\TurnBasedBattleSim.Windows\..\Cache\data --package-file=C:\Users\Robert Campbell\Desktop\GameDev\Xenko\TurnBasedBattleSim\TurnBasedBattleSim\TurnBasedBattleSim.Windows\..\TurnBasedBattleSim.xkpkg --log-pipe=net.pipe://localhost/Xenko.Core.Assets.Editor.a541c095-b6f2-4534-a446-45ba674b2394 --verbose
Info: Starting builder.
BattleCard(0,0): Warning: Ignored dictionary item that could not be deserialized
BattleCard(0,0): Warning: Ignored member [Entity.Components] that could not be deserialized:
(Lin: 28, Col: 20, Chr: 1265) - (Lin: 28, Col: 20, Chr: 1265): Error while deserializing node [Mapping start [anchor = , tag = , isImplicit = True, style = Normal]]:
Object reference not set to an instance of an object.
C:/Users/Robert Campbell/Desktop/GameDev/Xenko/TurnBasedBattleSim/TurnBasedBattleSim/Assets/Shared/BattleCard.xkprefab(0,0): Error: Failed to load asset from path [C:/Users/Robert Campbell/Desktop/GameDev/Xenko/TurnBasedBattleSim/TurnBasedBattleSim/Assets/Shared/BattleCard.xkprefab]. Reason: The path [(object).Hierarchy.Parts[7af3f79c-b2a9-4503-bef9-01e22cec3afb].Entity.Components{a580c287da86a24485c35d7c8fb90298}.Children{a9274685b3b775935392edb57f692cf2}] contains a non-valid item id on a collection.. The path [(object).Hierarchy.Parts[7af3f79c-b2a9-4503-bef9-01e22cec3afb].Entity.Components{a580c287da86a24485c35d7c8fb90298}.Children{a9274685b3b775935392edb57f692cf2}] contains a non-valid item id on a collection.
BattleCard(0,0): Warning: Asset [6b7ef058-03b7-4ee9-b74e-e719ca86329f:BattleCard] not found. Required for package [TurnBasedBattleSim]
[(0,0)]: Info: RunTime 00:00:02.29
[C:\Users\Robert Campbell\.nuget\packages\xenko\<IP_ADDRESS>\Targets\Xenko.targets(374,5)]: Error: The command ""C:\Users\Robert Campbell\.nuget\packages\xenko\<IP_ADDRESS>\Bin\Windows\Xenko.Core.Assets.CompilerClient.exe"  --disable-auto-compile --project-configuration "Debug" --platform=Windows --profile=Windows --project-configuration=Debug --output-path="C:\Users\Robert Campbell\Desktop\GameDev\Xenko\TurnBasedBattleSim\TurnBasedBattleSim\Bin\Windows\Debug\data" --build-path="C:\Users\Robert Campbell\Desktop\GameDev\Xenko\TurnBasedBattleSim\TurnBasedBattleSim\TurnBasedBattleSim.Windows\..\Cache\data" --package-file="C:\Users\Robert Campbell\Desktop\GameDev\Xenko\TurnBasedBattleSim\TurnBasedBattleSim\TurnBasedBattleSim.Windows\..\TurnBasedBattleSim.xkpkg" --log-pipe="net.pipe://localhost/Xenko.Core.Assets.Editor.a541c095-b6f2-4534-a446-45ba674b2394" --verbose" exited with code 1.

Not too sure what this is about as the game sometimes build but most times doesn't.

Could you share with us the BattleCard.xkprefab file please?

This was caused by a property on a script attached to an entity in the prefab.
public static readonly RoutedEvent<RoutedEventArgs> ClickEvent = EventManager.RegisterRoutedEvent<RoutedEventArgs>("Click", RoutingStrategy.Bubble, typeof(Canvas));

I just had the same issue right after doing something in my playground scene (I call it that because it's only purpose is for testing new content while it's being made, especially since I just started this project less than a couple months ago.)
////////////////////////////////////////////////
Here's the scene file if you wanna look at it:
https://drive.google.com/open?id=1S7MvBLfOjZi8BoymFESYY5sF9gkt6vJR
I also heard that adding sprites/billboards (which is exactly what I did right before this happened) causes these issues in certain scenarios, so maybe see what that's all about? @xen2 Yeah, I'm looking right at you now.

Actually, I just saw a pattern in that file: the only two objects causing the error were also the only two objects with SceneObjectResponseInfo. I DID fix all the ruined ScriptComponents in the player entity, but not the other entities, and in the editor after I fixed the missing references, it looked like they disappeared so I had no idea there would be a non-existent version contained in the scene file. I used a text editor to remove the misbehaving components manually, then everything worked again.
If @jayrulez happened to have messed with the Assembly Name setting in the properties for the "(Game Name Here).Game" project like I did, then fix all the broken references caused by that change, it would reset/remove all of those repaired components (Why it does that, I'll never know. Not so convenient in my opinion :v).
But when they are 'removed,' they aren't really, the editor just expects them to be until it finds out there's a supposedly non-existent copy still there in the file, and it has no idea what to do with it because the actual object no longer exists.
This seems like an obvious bug. I'm not saying this is what happened to @jayrulez, since I don't have the right clues to say for sure, but @xen2, this needs some fixing up. I don't see why the objects are deleted, for one thing, it just seems like an inconvenience to me. But if you ARE going to do that, then you need to make it remove them completely so that this doesn't happen.

Duplicate of #563 , closing this one off.


[enhancement]: Hires fix (more wanted i think)

Is there an existing issue for this?

[X] I have searched the existing issues

Contact Details
No response
What should this feature add?
hires fix sounds good to detail or fix error :)
Alternatives
for fix image, like make detail is good
Additional Content
i think you alr know that hmm

HiRes fix is available as of InvokeAI 3.3.0post3


Remove old references to Node 8

Node 8 is not supported on v2 of the worker.

Turns out Node 8 can still be used with FUNCTIONS_V2_COMPATIBILITY_MODE. Will follow up with some folks offline to figure out the best way forward on this


NTR: [Morula formation]

Hi GO,
I would need a couple of terms related to morula development (an early development stage in mammals that takes place before blastocyst formation).
Thanks
Sylvain
GO:XXXXXXX Morula development
The process whose specific outcome is the progression of the morula over time.
The morula is a spherical embryonic mass of blastomeres formed before the blastula and resulting from cleavage of the fertilized ovum.
child of GO:0001701 in utero embryonic development
child of GO:0048646 anatomical structure formation involved in morphogenesis
Xref UBERON_0000085
PMID:37935903
PMID:38386558
PMID:39361745
GO:XXXXXXX Morula formation
The initial formation of a spherical embryonic mass of blastomeres formed before the blastula and resulting from cleavage of the fertilized ovum.
child of GO:XXXXXXX Morula development
child of GO:0048646 anatomical structure formation involved in morphogenesis
Xref UBERON_0000085
PMID:37935903
PMID:38386558
PMID:39361745

Added 'blastula' synonyms to blastocyst terms - in Uberon it's a related synonym.
Im mammals, the structure is called a (https://en.wikipedia.org/wiki/Blastocyst), and in other animals, a blastula.


check pid before getting connection. Make fork safe

The current get_connection_by_node and get_connection_by_slot methods are not fork/thread safe.

Looks good. Thanks for this :]


Update features.mdx

update the dev.proxy to server.proxy
Summary
Related Links

https://rsbuild.dev/zh/config/dev/proxy
https://rsbuild.dev/zh/config/server/proxy
Checklist

[ ] Tests updated (or not required).
[x] Documentation updated (or not required).

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


Changing locale and then going back negates locale change nextjs 14

Description
When I change locale via the LocaleSwitcher from the example I see the page in German.
However when I click back in the browser I see the page in English again.
My use case is a nextjs app which is embedded in a react-native-web-view and has a dedicated page for changing the language. When the user changes the language there is a back button to navigate away which uses the normal router.back command. Due to the described behaviour when the user navigates back the locale change is overridden.
As a workaround for now I will have a local copy of the history so that I am able to go back by pushing a new url and not via the router.back.
PS: I was not able to fork the bug template in CodeSandbox. Please check permissions or something.
Mandatory reproduction URL (CodeSandbox or GitHub repository)
https://codesandbox.io/p/sandbox/next-intl-bug-template-app-forked-zcymvq
Reproduction description
Steps to reproduce:

Open reproduction
Click on "Show in German"
Click on browser back button

Result: Content is in English
Expected Result: Content is in German
Expected behaviour
I would expect that when I change the language and go back it will keep the new language. I understand that the URL has precedence over the next-intl cookie however I don't think this is the correct behaviour. If I have already selected my language for the site (and thus have my next-intl cookie set) I should be able to open any link (regardless of the locale) and automatically see the site in my selected locale. Therefore the precedence should be the cookie. When the URL changes the library should monitor the locale parameters and sync it with the cookie via router.replace to ensure consistency with the desired locale and back - forward movement works.

I see your point, but changing the locale in next-intl is really about changing the locale segment in the URL—i.e. changing the locale means changing the URL. In case of localized pathnames this can go as far as /en/about vs. /de/ueber-uns therefore patching the browser history is not really an option. I'd also question how often the user really changes the locale and runs into a case where a browser back will lead to a locale change.
If your use case doesn't require a locale prefix, you can disable it via localePrefix: 'never'.
I'll move this to a discussion since this seems to be a usage question and not a bug report.


use poe.com for larger context

poe.com supports Claude 2- which has 100k context length, this could be useful for longer videos

Bard could also be useful since it supports such summaries by default


I can't upload images to the README

Did you try creating a GitHub issue to host them?

Thanks! That solved my problem.


(HTTP code 404) unexpected - {"message":"manifest for apache/nifi:latest not found"}

Expected behavior
Actual behavior
Information about the Issue
Steps to reproduce the behavior

...
...

Go to https://hub.docker.com/r/apache/nifi/tags/
Observe no latest tags were created for that image
Select a different tag in Kitematic (if one exists)
🎉  enjoy container running.

Ideally you open an issue with the repo owner to let them know how frustrating it is that they don't have a latest image tagged


Please upgrade yarn in docker images to 1.22.22

What would you like?
There's yarn 1.22.22 but the images are on 1.22.19 https://hub.docker.com/layers/cypress/included/13.8.0/images/sha256-8fd74c146e3f3b0ae33f9d2864cbe7e2068434df24fc35abff913c9505eea59a?context=explore
Please upgrade yarn. Thanks
Why is this needed?
No response
Other
No response

Transferred this issue to the cypress-docker-images repo

This can be updated here and requires a new release of the factory: https://github.com/cypress-io/cypress-docker-images/blob/71d208a375aafeb9fa4aa8a3367b5d18126cb32e/factory/.env#L31
Publish new factory: https://github.com/cypress-io/cypress-docker-images/blob/master/CONTRIBUTING.md#automatic
We're open to a pull request to update this.

The stable version of Yarn is still 1.22.19 according to https://classic.yarnpkg.com/latest-version and https://classic.yarnpkg.com/en/docs/install.
The reference node Docker images contain Yarn 1.22.19 (and not any later version) for this reason.
The scripts to install Yarn v1 in the Cypress Docker images (factory/installScripts/yarn/default.sh) rely on the availability of a PGP signature file (.asc) and Yarn did not make this file available for any releases after v1.22.19 published two years ago.
If the Yarn team provides some response to the following two issues, then it should be easier to decide what to do with the Yarn v1 version in the Cypress Docker images:

https://github.com/yarnpkg/yarn/issues/9060
https://github.com/yarnpkg/yarn/issues/9035

Note that Yarn v1 Classic has been in maintenance mode since January 2020 (see https://classic.yarnpkg.com/en/docs/install) and there is no longer any focus on supporting this version, although an official end-of-life has not yet been declared.

Hi @MikeMcC399 ,
yeah, I saw that when I tried to push a PR on this. We are migrating from yarn v1 to sth else...so up to you if you want to close or keep open this issue.

related discussion https://github.com/nodejs/docker-node/issues/2064

I've uploaded a GPG signature for Yarn v1.22.22, along with all other missing artifacts (.deb, .rpm, and Windows installer). This should be good to go now.

Thank you @Daniel15 !


Lara's Meshes Explode When Shooting A Smash_Object

If you use a Harpoon gun to shoot a smash object, instead of the mesh, it explodes the mesh of Lara but without actually killing her. It also seems to mess up everything, but im not sure about that one.

Please ensure you provide a WAD2 , project file and full explanation of what the bug is, how it happened and what steps are needed to recreate it


change the way to calculate the scale of the spline

use the method with locators snap to the curve and "inbetween" nodes

done


Openssl option

This has just my direct changes, without the mess autogen makes. Autogen will still need to be run to fix the configure script and Makefile.in files.

@Paul-Ferrell Yes, sorry about the autotools changes.  We use autotools in
"maintainer mode".  The plus side is that users don't need to build
autotools to build hpctoolkit, the down side is that it adds more work
to developers.  This all made more sense pre-spack.
If you were to build exactly autoconf 2.69, automake 1.15.1 and
libtool 2.4.6, then you would see a more proportionate diff.
We keep a script to do this for us.
Anyway, it looks like you've tried to follow the flow of the existing
code, so thank you.  But I do have a few style comments.

In configure.ac, we normally use 2 spaces for indenting, there are
some places where you've used 4.

Also in configure.ac, I'd prefer never to use [ or [[ except as
quotes.  This is an m4 thing.  Autoconf uses [ and ] as the quote
characters and it's easy to introduce a mistake.

Instead use 'test' as in: if test "$MBEDTLS" = no ; then ....

In crypto-hash.c, I'd prefer to write MD5_FUNC in all caps to make
it look like a macro.

More importantly, for mbedtls, we use libmbedcrypto.a, static library
compiled with -fPIC and we test for this in configure.ac.  We'll need
to do the same for openssl, that is use static, not shared library.
(Your patch has a typo of libopenss.so instead of libcrypto, but it needs
to be static anyway.)
And we need to check if there's an option to add -fPIC to openssl in
spack.  Right now, I don't see one, unless by chance it always builds
that way.
This is part of how we hide 3rd-party library names so that we don't
clash with an app that also uses a different version of the same
library.

@Paul-Ferrell Btw, I guess I still don't see the security hole.  If an app wanted to
implement an internal hash table and use md5 as the hash function,
where's the security hole?  (That's what we do.)
So, you're going to continue to use spack?
Are you going to use a modified spack that bans all md5 implementations
execpt one?

On your code quality comments
I'm 100% on-board with all of them.
So there's two security issues, the one I spotted in the code and the concern about mbedtls/md5.
On the code one
So let's say I made a hash table where I decided I only needed 8 bytes of hash. I could call crypto_hash_compute with a 8 byte buffer and the buffer length set to 8, and reasonably expect the function to do the right thing. Except it doesn't do the right thing. Unlike strncopy or most any other function that takes a buffer length, it always writes 16 bytes to the buffer (but only zeros out the first 8). The only check is that you don't ask for too many bytes of hash.
On the more general one regarding why this is all necessary at all:
MD5 is not the issue. There's zero threat there.
The problem is that we aren't building hpctoolkit as a one-off thing - we're building software environments (that include hpctoolkit) that will be around for the entire life of the system. An executable built on day 1 of the system's life has to still run on the last day (and this frequently the case). We're using Spack to build all this out now. New stuff gets piled on top, but the old bits never go away. Including old, vulnerable implementations of security critical libraries like openssl, gnuTLS, and mbedTLS.
Even though those probably aren't a huge risk given their use on our systems, we still have to update them by policy. Which is a pain, and not always possible! OS vendors stick with a set version for an OS release, and just backport fixes to that version. So even if openssl 1.0.2 (in source form) never gets super critical updates in the future, RHEL's openssl-1.0.2 package will. So we would have to upgrade the openssl version (and potentially break binary comparability) or backport those fixes ourselves. OR... We could just use the well-tested vendor provided packages that do get those updates and backports.
Except... mbedTLS isn't provided by most vendors. So do we make an exception? Do we massively modify the mbedTLS Spack package so it only builds MD5 (and other non-issues bits) as a variant? Do I make a simple ask of the hpctoolkit devs and add an option to use mbedtls or another library we're already pulling from the system? I looked at your code and both the mbedTLS and openssl documentation, and saw that this was both the easiest route and the cleanest in the long run.

@Paul-Ferrell

I understand your security concerns and we'll accept your change once we've developed and tested the compatible spack support
As for your code concerns, I am aware that the crpyto hash API we expose is prone to errors because you have to provide the appropriate hash length. I wrote a wrapper that was more convenient when hashing gpu binaries on disk.

https://github.com/HPCToolkit/hpctoolkit/blob/master/src/lib/prof-lean/elf-hash.c
This API is simple and has no problematic usage. It takes in a file name and returns an allocated string of the appropriate length. (The usage is not problematic as long as you free the character string when you are done with it :-).
I expect that we will convert to a similar interface eventually for the crypto hash function that we expose to avoid hash length request and buffer length errors.

@Paul-Ferrell I think I mostly understand.  Sorry for being dense.
The more serious problem is the adjustments to openssl so we can
hide the library inside hpcrun so it doesn't clash with the app.

@Paul-Ferrell We're closing this pull request since @mwkrentel addressed your concern by incorporating an implementation of MD5 inside HPCToolkit. We no longer need to an MD5 implementation from OpenSSL.
It is worth noting that the public domain implementation of MD5 that you pointed us to crystalized why we used an externally vetted implementation in MBEDTLS. We had to fix the public domain implementation: it dumped core (it overwrote the return address) on anything larger than a few hundred bytes. You get what you pay for with free software :-).

Sounds good.

From: John Mellor-Crummey @.***>
Sent: Wednesday, April 6, 2022 8:32 AM
To: HPCToolkit/hpctoolkit
Cc: Ferrell, Paul Steven; Mention
Subject: [EXTERNAL] Re: [HPCToolkit/hpctoolkit] Openssl option (PR #528)
@Paul-Ferrellhttps://urldefense.com/v3/__https://github.com/Paul-Ferrell__;!!Bt8fGhp8LhKGRg!QwlztMHpT-NRmbVV-JMBSnZz23lXgV2Nru9fcPUlrp8vmIQbaZQv1SErfDbTxJUp$ We're closing this pull request since @mwkrentelhttps://urldefense.com/v3/__https://github.com/mwkrentel__;!!Bt8fGhp8LhKGRg!QwlztMHpT-NRmbVV-JMBSnZz23lXgV2Nru9fcPUlrp8vmIQbaZQv1SErfLYMmdTt$ addressed your concern by incorporating an implementation of MD5 inside HPCToolkit. We no longer need to an MD5 implementation from OpenSSL.
It is worth noting that the public domain implementation of MD5 that you pointed us to crystalized why we used an externally vetted implementation in MBEDTLS. We had to fix the public domain implementation: it dumped core (it overwrote the return address) on anything larger than a few hundred bytes. You get what you pay for with free software :-).
—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https://github.com/HPCToolkit/hpctoolkit/pull/528*issuecomment-1090342394__;Iw!!Bt8fGhp8LhKGRg!QwlztMHpT-NRmbVV-JMBSnZz23lXgV2Nru9fcPUlrp8vmIQbaZQv1SErfIr-yHXx$, or unsubscribehttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AMK6D5G4VXGCKZQXCM5E3FTVDWN7PANCNFSM5QJXY6JQ__;!!Bt8fGhp8LhKGRg!QwlztMHpT-NRmbVV-JMBSnZz23lXgV2Nru9fcPUlrp8vmIQbaZQv1SErfHzStoZS$.
You are receiving this because you were mentioned.Message ID: @.***>


Add FreeDNS component

Description:
This adds ads yet another "Dynamic DNS" provider: FreeDNS.
It's free, community-driven and supports thousands of domains, so I guess it fits the spirit of HA.
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#5046
Example entry for configuration.yaml (if applicable):
freedns:
  access_token: YOUR_TOKEN
  timeout: 10
  update_interval:
    minutes: 15

Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass
[x] Documentation added/updated in home-assistant.github.io
[x] Tests have been added to verify that the new code works.

oops, I think I broke the review tracking with an commit amend/push force.
Sorry about that! I changed all the remarked things.


font source-han-sans could be installed from a SuperOTC file

Currently, the cask downloads a VERY large zip file containing duplicating fonts in different formats.
A better way is just downloading a MUCH smaller SuperOTC file, and installing it.
(But I am finding troubles editing the cask on my computer, so I post an issue here, and hopefully someone could edit the cask to close this issue.)

But I am finding troubles editing the cask on my computer

Why?
Can you paste here the resulting cask?

Closing for lack of reply.