Zeus Test intermittently exits with code 2

Description of Problem
Sometimes when running zeus test (or rspec) I get an immediate exit with code 2. It seems like a timing issue, if I run a spec right after I save a file it seems to happen.
System details

uname -a: Darwin robin.local 13.2.0 Darwin Kernel Version 13.2.0: Thu Apr 17 23:03:13 PDT 2014; root:xnu-2422.100.13~1/RELEASE_X86_64 x86_64
ruby -v: ruby 2.1.1p76 (2014-02-24 revision 45161) [x86_64-darwin13.0]

Steps to Reproduce

zeus start in a new rails project

Run zeus test from a script, something like this:

for i in {1..10}
do
  zeus rspec $1
done

Observed Behavior

One of the test runs will exit with code 2

Expected Behavior

Should run tests

My team also frequently encounters this bug.

I encounter this bug very frequently when in selenium / capybara testing.  I usually need to run a <zeus rspec> test two or three times, even if I wait a few seconds after manually saving.

I too am running into this issue

@burke any thoughts on this? I'm not super familiar with go or the internal workings of the go portion of zeus. The issue description strikes me as a race condition.

Yeah, it seems like zeusclient is crashing. When it connects to the master, it sets up a bunch of terminal settings, and resets them before it exits. If it exits non-gracefully, it doesn't get a chance to reset the terminal settings, resulting in the screwed up line breaks and stuff from the screenshot above.
You can fix your terminal by running reset or stty sane.
Definitely sounds like a race condition crash of some sort. It almost certainly involves a bug in zeusclient somehow (ie. a bug completely on the master/slave side should be incapable of messing up the client terminal).
If I were going to dig into this, I'd strace the zeus test .... (ie. strace -tt -T -f zeus test ... or whatever) and see how far it gets. Maybe easier, given how much syscall chatter I'd expect to see, would be to just instrument the startup code in cmd/zeus and zeusclient with a bunch of fmt.Println calls, to see exactly how far along the binary makes it before crashing. Bugs in zeusclient would tend not to be nearly as crazy or nuanced as those in the master process.

@burke what would an equivalent be for osx? probably dtruss, but when I try dtruss zeus test spec/lib/time_spec.rb I don't see rspec's output, so I don't really have any way of knowing if it crashed

My workaround right now is to put
ze () { zeus $@; stty sane }
in my .zshrc (or .bashrc), then use ze command instead of zeus.
That prevents the terminal fuckup at least

A slightly modified version of @tonekk's script above that also works for Zeus commands with multiple parameters like zeus rspec spec/endpoints (note the added quotes around zeus and ze invocations):
ze () { ARGS=$@; zeus "$@"; ZE_EC=$?; stty sane; if [ $ZE_EC = 2 ]; then ze "$ARGS"; fi }

Thanks for the nice solution! I'm glad I googled this because this problem was the one thing driving me nuts on otherwise perfect piece of software.

Arguably even better:
zeus () { ARGS=$@; command zeus "$@"; ZE_EC=$?; stty sane; if [ $ZE_EC = 2 ]; then zeus "$ARGS"; fi }

That way you can still say zeus and it'll work w/ things like vim-vroom out of the box (as long as your functions are loaded)

For any friends who use Fish Shell:
function zeus; set ARGS $argv; command zeus "$argv"; set ZE_EC $status; stty sane; if $ZE_EC = 2; zeus "$ARGS"; end; end

This is based on the solution provided by @aaronjensen.

I had to modify @aaronjensen 's function a bit to get it working for me in zsh, when passing multiple arguments like zeus rspec spec/models/user_spec.rb :
zeus () {
  ARGS=$@;
  command zeus "$@";
  ZE_EC=$?;
  if [ $ZE_EC = 2 ]; then
    stty sane;
    zeus ${=ARGS};
  fi
}

Is there an update on this?
It seems to still happen and unlike things said previously, it doesn't only happen when it exits with non-zero status.
The workarounds work but as far as I can tell, it doesn't work when you want to pipe the output to something like grep or something similar.

This is usually happening to me when I execute test scripts, so I've done the following.  There is probably a more efficient method of checking the return code of super and only running `stty sane` when the return code is non-zero.
# custom_plan.rb
require 'zeus/rails'

class CustomPlan < Zeus::Rails
  def test
    super
    `stty sane`
  end
end

Zeus.plan = CustomPlan.new


Explicit barriers with concurrent dispatch

python -m mlx_lm.generate --model mlx-community/NeuralBeagle14-7B-4bit-mlx --prompt "Write a story about Einstein" --temp 0.0 --max-tokens 256

Pre: 101.414 tokens-per-sec
Post: 103.578 tokens-per-sec
This is complementary to MLX_MAX_OPS_PER_BUFFER. I get 106.619 tokens-per-sec if I set it to 50 using the same command.

Made two new methods: CommandEncoder::set_input_array and CommandEncoder::set_output_array and use them.

It looks great! I took a stab as well. Let me know. I did it with RAII but I am not sure I like it too much. Maybe just making a setter like set_concurrent(bool) would be a better option in which case the programmer needs to remember to unset the flag.
The concept however is
auto compute_encode = ...

// Sync with any output

{
  auto concurrency_ctx = compute_encoder.start_concurrent();
  // Don't sync with outputs in this block only previous outputs
}

// Now sync with all outputs including these from the concurrent block

The names I put suck a bit so feel free to change them or of course revert the commit.

Very nice! Let's go with it! I'm good on this diff (can't approve it though).


French translation for TimVer_<IP_ADDRESS>

Discussed in https://github.com/Timthreetwelve/TimVer/discussions/38

Originally posted by logounet June 10, 2024
Hello,
I have updated your French translation for TimVer_<IP_ADDRESS> (corrected errors and titled...) if you accept it. Attached is the file Strings.fr-FR.xaml.zip
Strings.fr-FR.xaml.zip
Best regards

@logounet Thank you so much for updating the French language file. It will be in the next release.
I'm creating an issue from this discussion so that I can track it.
Thanks again,
Tim

@logounet Your updated translations have been included in version 0.9.1 which was released today. Thanks again!
Tim

Hello,
I have updated the French translation for TimVer_<IP_ADDRESS> if you accept it. Attached is the file
Strings.fr-FR.xaml.zip
Strings.fr-FR.xaml.zip
Best regards


add test for page_number greater than max pages

Great, this should fix #51 ... Changes look good, just get it to pass the tests and we'll merge and release.

Version v1.6.0 released!


Plugin downloadable with unity below 5.2 form asset store.

I think the asset store only lets you download assets when you use unity versions that are equal or higher than the one you submitted the asset to the store with.
Since the asset was submitted using 5.2, anyone with a lower version can't download it.
I would be great if you can resubmit the asset with unity 4.6, so anyone with a version higher than that can get the asset from the store.
Thanks!

I'll see about doing it for the next release, tear have to get a 4.x version again :)

I'm going to set the bar at 4.6 ... unless someone has a request for earlier?


LocalStorage cause different browsers have different data

Currently, all data are stored in localStorage of browsers. Therefore, if I open FF/ Chrome, I'll have different data. In addition, user often clear cache, localStorage, this cause data loss. How about idea store data in local files?

In our development roadmap, we will not store any keystore nor transaction history so there is no data to be inconsistent. I will  close this issue.


BMI implmentation in modules/full

This PR moves the BMI implementation into the full module and includes all associated changes to ensure BMI compliance.
Additions

bmi subdirectory that includes BMI module and functions
src/RunModule.f90 to execute most driver-level functionalities executed via BMI
data subdirectory to store input/output

Changes

Makefile edits to ensure correct dependencies

Todos

Add NGEN compiler directives from surface_bmi module
Add evaporation fix from surface_bmi module
Add runoff option set for coupled and internal

you're right.  I just tried to clarify in slack that it assumes the start & end times given denote the full time period covered by the run, but if we have a different convention for that then we do need to add back the +1 as you suggest.  in any case, good catch to revisit this.

I added the NGEN flags for forcing and output.


Uppercase topic link directs you to lowercase topic

Go to topics. Currently you will see "Plugin (53)" and "plugin (25)". Click on the uppercase version. It will take you to the "plugin (25)" results. Effectively, 53 plugins are unavailable through the interface.

Thanks @Marxsal I can confirm the problem – the two topics "Plugin" and "plugin" are slugifying to the same URL. This will be fixed with the work I'm doing at the moment on topic aliases.

This was fixed by the switch to a TW5 UI.


feat(providers) Added WIT for wadm and wadm provider

Feature or Problem
Allow WADM interfaction natively inside component model
Testing
I have not tested anything but it compiled so thats a start
I just wanted to get this in before I went to bed and left it, have not tested but should be pretty good. Some minor chores required like moving wadm WIT to more permanent place and just while I dont know what the plan is with WADM specs going forward, I just made a (very) hacky translation from WIT types to existing oam specifications.

Added support for same Wash CLI
Added two separate functions for putting models, one which specifically uses a oam manifest struct

I had a weird issue coming from wrpc:
// NOTE: This comes from wrpc?
#![recursion_limit = "256"]

so I just added this in, I am too tired at the minute to try figure out if I made a recursion :)
Any feedback is appreciated

Additional note - I have not cleaned up the config for custom inboxes because I was planning on allowing components to receive callbacks for events, but the config has been directly lifted from NATS messaging so still needs to be finalized

app subscription can be parallelized per subscription as well (multiple app names, one lattice) depending on scope of links

Also as a note, we will likely want this to live in the wadm repo for now, but @brooksmtownsend and I still need to figure that out. I would also recommend using the new wadm types and wadm client crates here!

@LUK3ARK This slipped through the cracks for me. Did you still want to bring this across the line?

I synced with latest and should be good to go!
Waiting for wadm types to be published and bump to be applied to wadm for wit-bindgen-wrpc

Just confirming @LUK3ARK this is just waiting on us cutting a new release of wadm, correct? Once that is out we can update the dep in Cargo.toml and do final review?


[Bug] StreamPark cannot search for failed status tasks

What changes were proposed in this pull request
Issue Number: https://github.com/apache/incubator-streampark/issues/1907

Brief change log

Verifying this change

This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:

Does this pull request potentially affect one of the following parts

Dependencies (does it add or upgrade a dependency): no

@wolfboys hi,please review the code for me when you have time.

@wangsizhu0504 please konw this change

Ok, I'll make a synchronous change here as well


[ZEPPELIN-3839] Replace | to , in the filename

What is this PR for?
A tutorial notebook filename, which includes |, is not compatible with windows filesystem.
This PR replace | with ,.
What type of PR is it?
Bug Fix
What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-3839
How should this be tested?
CI pass
Questions:

Does the licenses files need update? no
Is there breaking changes for older versions? no
Does this needs documentation? no

Thanks @felixcheung review.


bug(python): error message is misleading when query vector has incorrect dimension

LanceDB version
async
What happened?
If I provide a query vector whose dimension doesn't match the vector column in my database then the error is very confusing:
>       return AsyncRecordBatchReader(await self._inner.execute())
E       ValueError: Schema Error: No vector column found to create index

I would expect the error to more clearly explain the issue and it shouldn't mention "create index" at all.
Are there known steps to reproduce?
conn = await lancedb.connect_async(
    tmp_path, read_consistency_interval=timedelta(seconds=0)
)
data = pa.table(
    {
        "vector": pa.array(
            [[1, 2], [3, 4]], type=pa.list_(pa.float32(), list_size=2)
        ),
        "id": pa.array([1, 2]),
        "str_field": pa.array(["a", "b"]),
        "float_field": pa.array([1.0, 2.0]),
    }
)

table = await conn.create_table("test", data)
await table.query().nearest_to([1]).to_arrow()

fixed


Feature/discription box fix

resolve https://github.com/CenterForOpenScience/osf.io/issues/1515
Purpose
Fix the problem that the description textbox under "Create a project" of onboarding can expand outside of its 'bounding box'.

Changes
The description textbox under "Create a project" of onboarding has been changed from expandable on all direction to only expandable vertically so it won't go beyond the left boundary.

And remove the new.mako which is on longer being used since we are moving the "Creating new project" to onboarding.

@chennan47 If you good, please reformat your PR description to align with our best practices -- A good example is right here #1368 -- Thanks!

@lbanner thanks. changed.

Nice -- thank you @chennan47

Pass finished. Just a minor change and this is good to merge. :+1:

@sloria make the changes and rdy for merge


Weirds logs and errors in the console.

I recently added this library to my Next.js application. I'm using Next.js v14 with server components.
Now, this application uses remote links from a Facebook page like this one:
https://scontent.fskg1-1.fna.fbcdn.net/o1/v/t2/f2/m69/An-Ul99QB0zVQGrOMQuzMSr3Prt7Xx5b_O8q_2A9uNwp4Dj3e0aQ1p2Rf8cVxXcB3gMZoP0iioLf5NDfE1Mh-yE4.mp4?efg=eyJ2ZW5jb2RlX3RhZyI6Im9lcF9oZCJ9&_nc_ht=scontent.fskg1-1.fna.fbcdn.net&_nc_cat=109&strext=1&vs=6db70bcfc5566480&_nc_vs=HBksFQIYOnBhc3N0aHJvdWdoX2V2ZXJzdG9yZS9HSGNfQXh0TjluT0FqMG9jQUtTOWtYV0VFZVlKYm1kakFBQUYVAALIAQAVAhg6cGFzc3Rocm91Z2hfZXZlcnN0b3JlL0dFQ1JBeHYwTzBiWGphUURBTlZsQUo4S2R4NWJickZxQUFBRhUCAsgBAEsHiBJwcm9ncmVzc2l2ZV9yZWNpcGUBMQ1zdWJzYW1wbGVfZnBzABB2bWFmX2VuYWJsZV9uc3ViACBtZWFzdXJlX29yaWdpbmFsX3Jlc29sdXRpb25fc3NpbQAoY29tcHV0ZV9zc2ltX29ubHlfYXRfb3JpZ2luYWxfcmVzb2x1dGlvbgAddXNlX2xhbmN6b3NfZm9yX3ZxbV91cHNjYWxpbmcAEWRpc2FibGVfcG9zdF9wdnFzABUAJQAcjBdAAAAAAAAAABERAAAAJpSVv%2BfAzNIDFQIoAkMzGAt2dHNfcHJldmlldxwXQDSZmZmZmZoYGWRhc2hfaDI2NC1iYXNpYy1nZW4yXzcyMHASABgYdmlkZW9zLnZ0cy5jYWxsYmFjay5wcm9kOBJWSURFT19WSUVXX1JFUVVFU1QbCogVb2VtX3RhcmdldF9lbmNvZGVfdGFnBm9lcF9oZBNvZW1fcmVxdWVzdF90aW1lX21zATAMb2VtX2NmZ19ydWxlB3VubXV0ZWQTb2VtX3JvaV9yZWFjaF9jb3VudAEwEW9lbV9pc19leHBlcmltZW50AAxvZW1fdmlkZW9faWQQMTAwNTk2Mzk1NDU1NDU5MBJvZW1fdmlkZW9fYXNzZXRfaWQQMTkzODM4ODc4NjU3NDA0NBVvZW1fdmlkZW9fcmVzb3VyY2VfaWQQMTAyNjA1OTIwNTYwMDU4NhxvZW1fc291cmNlX3ZpZGVvX2VuY29kaW5nX2lkDzk4MDUwNjczMzgyNDAyNA52dHNfcmVxdWVzdF9pZAAlAhwAJcQBGweIAXMENzM4MwJjZAoyMDI0LTA3LTI3A3JjYgEwA2FwcAVWaWRlbwJjdA5GQl9TSE9SVFNfUE9TVBNvcmlnaW5hbF9kdXJhdGlvbl9zCTIwLjYxNjQ2MwJ0cxVwcm9ncmVzc2l2ZV9lbmNvZGluZ3MA&ccb=9-4&oh=00_AYAAw9D8vOOqQV2ojK0NFFnF3MrUNgZjrIB0VXWDEZ1j-w&oe=66A77F02&_nc_sid=1d576d&_nc_rid=844516008256065&_nc_store_type=1

I'm using the video library to embed video attachments from posts to my website. While using the app now, my server's console is flooded with get request logs with extremely long search params, which in my understanding, is the smaller parts of the video that's being downloaded. It isn't a deal breaker but I'll prefer those specific ones hidden if even possible. My real issue is that now, my client's console is also flooded with an infinitely increasing amount of those errors:
Failed to load resource: the server responded with a status of 404 (Not Found)
app-index.js:33 SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON
window.console.error @ app-index.js:33
Show 1 more frame
Show less
undefined:1

       Failed to load resource: the server responded with a status of 404 (Not Found)
app-index.js:33 SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON
window.console.error @ app-index.js:33
Show 1 more frame
Show less
undefined:1

       Failed to load resource: the server responded with a status of 404 (Not Found)
app-index.js:33 SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON
window.console.error @ app-index.js:33
Show 1 more frame
Show less
undefined:1

       Failed to load resource: the server responded with a status of 404 (Not Found)
app-index.js:33 SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON

How to fix those? Thanks. I use next-video v1.1.1 btw.

I fixed it, myself.

How did you fix it?

I never followed the setup correctly. I used the CLI to make the appropriate API handler for my app, and it worked just fine.


carthage update failed

*** Checking out SwiftMultiaddr at "v0.2.1"
*** xcodebuild output can be found in /var/folders/v5/5sj60y654qx6933php_fb5s00000gn/T/carthage-xcodebuild.RAZXuF.log
*** Building scheme "SwiftGMP" in SwiftGMP.xcodeproj
*** Building scheme "SwiftHex" in SwiftHex.xcodeproj
*** Building scheme "SwiftBase58" in SwiftBase58.xcodeproj
*** Building scheme "SwiftMultihash" in SwiftMultihash.xcodeproj
*** Building scheme "VarInt" in VarInt.xcodeproj
*** Building scheme "SwiftMultiaddr" in SwiftMultiaddr.xcodeproj
*** Building scheme "SwiftIpfsApi" in SwiftIpfsApi.xcodeproj
Build Failed
Task failed with exit code 65:
/usr/bin/xcrun xcodebuild -project /Users/xuruijing/MyWork/IPFS_API/swift-ipfs-api-master/Carthage/Checkouts/swift-ipfs-api/SwiftIpfsApi.xcodeproj -scheme SwiftIpfsApi -configuration Release -derivedDataPath /Users/xuruijing/Library/Caches/org.carthage.CarthageKit/DerivedData/9.2_9C40b/swift-ipfs-api/1408e06ccc188cf31348a7e5cb259bf19395be37 -sdk iphoneos ONLY_ACTIVE_ARCH=NO BITCODE_GENERATION_MODE=bitcode CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES archive -archivePath /var/folders/v5/5sj60y654qx6933php_fb5s00000gn/T/swift-ipfs-api SKIP_INSTALL=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=NO CLANG_ENABLE_CODE_COVERAGE=NO STRIP_INSTALLED_PRODUCT=NO (launched in /Users/xuruijing/MyWork/IPFS_API/swift-ipfs-api-master/Carthage/Checkouts/swift-ipfs-api)

I suspect an old Carthage version or possibly pebcak.


Unable to provide styleUrl for the Angular component

I have downloaded this github application and able to run successfully by loading all single spa applications. But I am facing one problem when  specify the style url in Angular component.

@Component({
    selector: 'app5',
    styleUrls:["./app5.component.scss"],_
	template: `

			This was rendered by App5 which is written in Angular 6

I have installed all the dependencies required for style loader ,scss loader , post css loader but finally I am getting the below error .
ERROR in ./src/app5.component.scss
Module build failed (from ./node_modules/postcss-loader/src/index.js):
Error: No PostCSS Config found in: C:\MyCave\jStudio\LinqIndepth\CSharp.Linq\MicrofrontEndResearch\SingleSpaPortal\Application\app5Angular\src
    at config.load.then (C:\MyCave\jStudio\LinqIndepth\CSharp.Linq\MicrofrontEndResearch\SingleSpaPortal\Application\app5Angular\node_modules\postcss-load-config\src\index.js:55:15)
 @ ./src/app5.component.ts 46:21-53
 @ ./src/main-module.ts
 @ ./src/singleSpaEntry.ts
 @ multi (webpack)-dev-server/client?http://localhost:9005 src/singleSpaEntry.ts
i ｢wdm｣: Failed to compile.

for resolving this error I have installed postconfig package also , but still I am getting the same error
is there any workaround for this??

Hi there,
Do you have a postcss.config in your directory? This is what mine looks like in my src folder.
module.exports = { 	map: false, 	from: './src/assets/styles', 	to: './dist', }
It describes here how to make the config file if you want too.
Hope that helps!

Is there any sample config file which work for this git hub application?

The lightest weight postcss config is the one I listed above.
module.exports = { map: false, from: './your/directory/path', to: './yourOutputFolder', }
Just create a postcss.config.js file in your src directory and copy and paste the code in.
This is also the example they give on their website.
I have postcss up and running with that config on single-spa-portal-example.

In your webpack.config.js find                 {                     test: /\.(css|scss)$/,                     loaders: ['to-string-loader', 'css-loader', 'sass-loader']                 },
and remove scss.
Looks like there is another scss loader below and they moght not work correctly together all the time.


Forge permissions API

I am trying to make it a set permission with a essentials mod but because something in the code isn't set right I cant.

This issue is related to trying to control permissions for using the commands in this mod.
Here you do a vanilla check for canUseCommand:
https://github.com/orangeadam3/terra121/blob/master/src/main/java/io/github/terra121/control/TerraTeleport.java#L90-L93
If instead, you used a forge permissions api check, then permissions would be able to interact with this mod, for controlling usage.
Here is an example of how to register a default OP permission with the API:
https://github.com/Thutmose/ThutEssentials/blob/1.12/src/main/java/thut/essentials/land/LandEventsHandler.java#L1125
and here is an example of checking a permission for a player:
https://github.com/Thutmose/ThutEssentials/blob/1.12/src/main/java/thut/essentials/land/LandEventsHandler.java#L861
This example is for players, so you might also want to do a check for if the sender is a player, and if not, continue to use your current method

There is a Pull Request for this for /tpll. #106 but no one has tested it.

#106 has been merged, this should be closed now. The permission node is terra121.commands.tpll


backfeed comments and faves from Flickr

we have several people POSSEing to Flickr, e.g. https://www.flickr.com/photos/adactio/14604446101, https://www.flickr.com/photos/benwerd/14671472684/
as noted by @tantek in IRC, http://indiewebcamp.com/irc/2014-07-17/line/1405646007

Hey @kylewm, I would definitely this brid.gy Flickr backfeed with my Flickr Known plugin if you got it working. https://github.com/idno/Flickr

This would be great! Just started POSSEing to Flickr from Known as well, and dearly missing the favs and comments now. :)

Thanks for the feedback @herbsmn and @skddc, I'm working on this a little bit at a time in https://github.com/kylewm/granary/commits/flickr-support

thanks for the update @kylewm! I really appreciate it!

launched! @kylewm want to close this issue?

haha yes thanks!

Thanks!!


Expose custom marker code

Area
The custom marker design shown in the pictures through the documentation should be exposed, at least in the documentation.

Error
I cannot find the code that produces this design anywhere and I am so far unable to replicate it myself.
If any of you here have the snippet that produces such code, please share it.
Additional information
I'm using Compose with the M3 Theme.

Hello, @TheOneTheOnlyJJ. It's in the sample app.
Please also note that even if the code weren't exposed, this wouldn't be a documentation error but rather a suggestion, so a discussion in "Ideas" would be more appropriate.


Upgrade to new trace.moe API

Hi, just want to notify you the new trace.moe API is out.
Please take a look and update your program, otherwise it will be broken when the old API deprecates.
You can find the docs of the new API with migration guide at https://github.com/soruly/trace.moe-api

please pull request on trace.moe API

Lol

Noob

Hi, just want to notify you the new trace.moe API is out.
Please take a look and update your program, otherwise it will be broken when the old API deprecates.
You can find the docs of the new API with migration guide at https://github.com/soruly/trace.moe-api

Nice sir

Noob

please pull request on trace.moe API

They are asking you to do it yourself.

Lol
How are you doing?


The "get_object_vars" is not returning the protected/private properties (0.9.2a-dev)

I'm porting a private PHP library to Zephir and almost everything is working, except a small piece of code which uses the function get_object_vars to get all the properties of an object (is a special cloning method).
The problem is that get_object_vars is not returning the protected/private properties of an object.
I made a test case, using the same class logic in PHP and Zephir and the result is not the same.
PHP - 5.4.34
namespace Foundation;

class Test
{
	public    $a = 1;
	protected $b = 2;
	private   $c = 3;

	public function run()
	{
		var_dump(get_object_vars($this));
	}
}

Result:
array(3) {
  'a' =>  int(1)
  'b' =>  int(2)
  'c' =>  int(3)
}

Zephir - 0.9.2a-dev
namespace Foundation;

class Test
{
    public    a = 1;
    protected b = 2;
    private   c = 3;

    public function run() -> void
    {
        var_dump(get_object_vars(this));
    }
}

Result:
array(1) {
  ["a"]=>int(1)
}

I attached the test sources: php_zep_tests.zip
PS: Zephir is a very cool ppiece of code, I realy love it.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/33241098-the-get_object_vars-is-not-returning-the-protected-private-properties-0-9-2a-dev?utm_campaign=plugin&utm_content=tracker%2F280146&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F280146&utm_medium=issues&utm_source=github).

get all the properties of an object It's returning properties of an object depends on the scope. If for example you gonna call it outside of object then it should return only public fields what it's doing in this case. But in your case, yea, it should return all fields.

it seems like EG(scope) isn't being set correctly.
here
Note: This is only an assumption based on the situation.

Some news about this issue?

@sjinks could you look into this?

Related https://forum.phalconphp.com/discussion/16527/toarray-method#C49535


Code cleanup

Propagate @Deprecated annotation to implementations
Remove redundant "static final" definition from interface
Use Collections.emptyMap instead of Collections.EMPTY_MAP to preserve type

@pavolloffay - Where do you stand with respect to this PR?  Merge worthy?

Okay, I've reduced this PR to the small set of things that everyone immediately agrees with.

And it looks like travis is still not picking this up so I'll squash and push a new PR.

Closing in favor of a fresh PR with hopeful Travis run: https://github.com/opentracing/opentracing-java/pull/194

Retargeted to v0.31.0 branch: https://github.com/opentracing/opentracing-java/pull/196


Documentation build

Set up some initial sphinx documentation. I'm not sure what's actually public api, so I've only added: date2num, date2index, num2date, JulianDayFromDate. I'll leave it to those more knowledgeable to add to that list. I also made some minor tweaks to the docstrings so that the function signatures show up in the docs properly.
This also adds a job on Travis to build the docs; on success this should also deploy from master automatically. If not, I'll make the requisite tweaks to master directly.

Should we merge this and open up additional documentation updates to the rest of us?

Yes please.  Will the html docs be put on github/gh-pages, readthedocs, or somewhere else?

@jswhit - gh-pages for now.

Alright, merging. Now let's see if I hooked up the upload properly. 😁

Ok, something slightly off...working on it...

Ok, docs are up: https://unidata.github.io/netcdftime/


Added --distance_unit description to the README.

Short Description:
Added --distance_unit description to the README.

looks good for me.


Build custom (minimal) version of jquery [1]

requires careful testing

The jquery size reduction is only meaningful if we can exclude the animation code. Enketo still uses this for repeat removal (nowhere else I think)

check out minified https://github.com/timjansen/minified.js/

negligible impact.


Disabled props not working on DatePickerElement And DateTimePickerElement

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Current behavior 😯
When using the disabled prop on DatePickerElement and DateTimePickerElement the actually input on the field is not disabled.
The reason for this is the field properties from useController are spread on the MUI components like so.
  <DatePicker
      {...rest}
      {...field}

field has a disabled (more info here). Since it goes after the rest which is the props we actually give the component the disabled that we give the components gets overridden.
Expected behavior 🤔
When using the disabled prop on DatePickerElement and DateTimePickerElement the input as well as the input adornment should be disabled. It should look like the it does in MUI (example here)
Steps to reproduce 🕹
Modify any storybook for DatePickerElement or DateTimePickerElement to include a disabled: true in args. And you will see the input is not disabled.

Possible Solutions

Since it seems the goal of this library is to be a out of the box bridge between  react-hook-form and Material-UI. It would make sense of all components to pass the disabled prop to useController and / or <Controller>. This would make the library work more like react-hook-form as the disabled prop is important so that the submission data does not contain the field (more info). NOTE: This is a major change (as would be changed for all components not just DatePickerElement and DateTimePickerElement)

As solution 1 is quite a big change. Another solution is to change DatePickerElement and DateTimePickerElement to work as the rest of the components do. Which would be simple to do as the only difference between these components and the rest are that the field object (which contains disabled property) is spread onto the components.

Work Around
You can disable the component today like so. (Note: this removed the calendar button) so does not achieve the same result as a true MUI disabled.
<DatePickerElement
  inputProps={{disabled: true}}
  disableOpenPicker={true}
  />

NOTE: I would be happy to make a PR for whatever solution you prefer.

since when does the field props contain disabled? That must have been added recently or at least I never came across

ahhh... ok.. this seemed to be added some time ago. Not sure that would be some refactoring required for the component stack.. not a big thing though. Feel free to provide a PR I am happy to have a look

Awesome will make a PR for the first solution, thanks for the quick response.

@NicholasMata v6.8.0 is out, thanks for your contribution


Refresh Token grant returns invalid scope message for when requesting already authorized internal management scopes

Describe the issue:
When using the refresh token grant with an already authorized internal management scope the token request fails with the below response.
{     "error_description": "Invalid Scope!",     "error": "invalid_scope" }
How to reproduce:

Obtain a token with the below scopes

internal_mgt_user_update
a random scope
openid

Use the refresh token and obtain the tokens again providing only the the internal_mgt_user_update scope.

Expected behavior:
The refresh grant should execute without any issue with the requested scope.
Environment information (Please complete the following information; remove  any unnecessary fields) :

Product Version: IS 5.11.0

Cause
When validating the scopes the internal scopes are removed first and validated in [1] with JDBCPermissionBasedInternalScopeValidator. Rest of the scopes are checked against the relevant validator [2]. Here the requested scopes are retrieved and checked against the authorized scopes in the logic [3]. If an internal management scope is requested in the refresh token grant the checking will fail as the internal scopes are removed in the logic [4]. This leads to invalid scope response
[1]https://github.com/wso2-extensions/identity-inbound-auth-oauth/blob/v6.4.111/components/org.wso2.carbon.identity.oauth/src/main/java/org/wso2/carbon/identity/oauth2/token/AccessTokenIssuer.java#L294
[2]https://github.com/wso2-extensions/identity-inbound-auth-oauth/blob/v6.4.111/components/org.wso2.carbon.identity.oauth/src/main/java/org/wso2/carbon/identity/oauth2/token/AccessTokenIssuer.java#L300
[3]https://github.com/wso2-extensions/identity-inbound-auth-oauth/blob/v6.4.111/components/org.wso2.carbon.identity.oauth/src/main/java/org/wso2/carbon/identity/oauth2/token/handlers/grant/RefreshGrantHandler.java#L132C1-L163C6
[4]https://github.com/wso2-extensions/identity-inbound-auth-oauth/blob/v6.4.111/components/org.wso2.carbon.identity.oauth/src/main/java/org/wso2/carbon/identity/oauth2/token/AccessTokenIssuer.java#L299

Similar to https://github.com/wso2/product-is/issues/15233


Fix typo xwidgtes_type -> xwidgets_type

Looks like there was a typo in src/xwidgets.cpp.

Superseded with #51 (it was faster to find/replace all again than resolving the conflicts).


Update tailwind.config.js

Small changes for increased efficiency and uses latest Tailwind CSS configuration options and best practices. (I am early in development career, if I have messed up somewhere feel free to let me know please)

I don't thin it's really needed.


possible typo on font-family declaration.

Random img tag in font-family declaration

Thanks! We are using sass, so I made the fix in that file.

gotcha, sorry I figured you'd be using Sass, but I didn't see it in the CSS directory. I see it now, sorry for not being more vigilant.

o no problemo! thanks for pointing it out!


Enhancement: Migrate ingress from nginx+loadbalancer service to true ingress

Is your feature request related to a problem? Please describe.
Having nginx with a hardcoded config in a custom docker file is normally not a very kubernetes way of doing things.
Describe the solution you'd like
In the charts, create the ingress configuration to match various paths.
Describe alternatives you've considered
I've started working on this a bit and got it working as far as I can tell.
A configmap to hold the header configs:

custom-headers-configmap
---
apiVersion: v1
kind: ConfigMap
metadata:
  name: custom-headers-configmap
  namespace: oneuptime
data:
  X-Real-IP: "$remote_addr"
  X-Forwarded-For: "$proxy_add_x_forwarded_for"
  X-Forwarded-Proto: "$scheme"
  Host: "$host"
  Upgrade: "$http_upgrade"
  Connection: "upgrade"

The main ingress that does no url rewrites (nginx-ingress requires different ingresses if you have different rewrite-targets):

main-ingress
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: oneuptime-main-no-rewrites
  annotations:
    nginx.ingress.kubernetes.io/proxy-buffers-number: "4"
    nginx.ingress.kubernetes.io/proxy-buffer-size: "256k"
    nginx.ingress.kubernetes.io/proxy-set-headers: "custom-headers-configmap"
    nginx.ingress.kubernetes.io/enable-websocket: "true"
    cert-manager.io/cluster-issuer: letsencrypt-production
    external-dns.alpha.kubernetes.io/hostname: oneuptime.example.com.
spec:
  ingressClassName: nginx
  tls:
  - hosts:
    - "oneuptime.example.com"
    secretName: tls-oneuptime
  rules:
  - host: "oneuptime.example.com"
    http:
      paths:
      - path: /
        pathType: Exact
        backend:
          service:
            name: oneuptime-status-page
            port:
              number: 3105
      - path: /status-page
        pathType: Prefix
        backend:
          service:
            name: oneuptime-status-page
            port:
              number: 3105
      - path: /accounts
        pathType: Prefix
        backend:
          service:
            name: oneuptime-accounts
            port:
              number: 3003
      - path: /otel-collector
        pathType: Prefix
        backend:
          service:
            name: oneuptime-otel-collector
            port:
              number: 4317
      - path: /ingestor
        pathType: Prefix
        backend:
          service:
            name: oneuptime-ingestor
            port:
              number: 3400
      - path: /dashboard
        pathType: Prefix
        backend:
          service:
            name: oneuptime-dashboard
            port:
              number: 3009
      - path: /admin
        pathType: Prefix
        backend:
          service:
            name: oneuptime-admin-dashboard
            port:
              number: 3158
      - path: /identity
        pathType: Prefix
        backend:
          service:
            name: oneuptime-identity
            port:
              number: 3087
      - path: /reference/
        pathType: Prefix
        backend:
          service:
            name: oneuptime-api-reference
            port:
              number: 1445
      - path: /file
        pathType: Prefix
        backend:
          service:
            name: oneuptime-file
            port:
              number: 3125
      - path: /api
        pathType: Prefix
        backend:
          service:
            name: oneuptime-dashboard-api
            port:
              number: 3002
      - path: /realtime
        pathType: Prefix
        backend:
          service:
            name: oneuptime-dashboard-api
            port:
              number: 3002
      - path: /analytics-api
        pathType: Prefix
        backend:
          service:
            name: oneuptime-dashboard-api
            port:
              number: 3002
      - path: /workflow
        pathType: Prefix
        backend:
          service:
            name: oneuptime-workflow
            port:
              number: 3099
      - path: /l/
        pathType: Prefix
        backend:
          service:
            name: oneuptime-link-shortener
            port:
              number: 3521
      - path: /workers
        pathType: Prefix
        backend:
          service:
            name: oneuptime-workers
            port:
              number: 3452

And then 4 different ingresses for the different rewrite-targets we have:

status-page-api-ingress
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: oneuptime-status-page-api
  annotations:
    nginx.ingress.kubernetes.io/rewrite-target: /api/status-page/
    nginx.ingress.kubernetes.io/proxy-buffers-number: "4"
    nginx.ingress.kubernetes.io/proxy-buffer-size: "256k"
    nginx.ingress.kubernetes.io/proxy-set-headers: "custom-headers-configmap"
    nginx.ingress.kubernetes.io/enable-websocket: "true"
    cert-manager.io/cluster-issuer: letsencrypt-production
    external-dns.alpha.kubernetes.io/hostname: oneuptime.example.com.
spec:
  ingressClassName: nginx
  tls:
  - hosts:
    - "oneuptime.example.com"
    secretName: tls-oneuptime
  rules:
  - host: "oneuptime.example.com"
    http:
      paths:
      - path: /status-page-api/
        pathType: Prefix
        backend:
          service:
            name: oneuptime-dashboard-api
            port:
              number: 3002

status-page-sso-ingress
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: oneuptime-status-page-sso
  annotations:
    nginx.ingress.kubernetes.io/rewrite-target: /status-page-sso/
    nginx.ingress.kubernetes.io/proxy-buffers-number: "4"
    nginx.ingress.kubernetes.io/proxy-buffer-size: "256k"
    nginx.ingress.kubernetes.io/proxy-set-headers: "custom-headers-configmap"
    nginx.ingress.kubernetes.io/enable-websocket: "true"
    cert-manager.io/cluster-issuer: letsencrypt-production
    external-dns.alpha.kubernetes.io/hostname: oneuptime.example.com.
spec:
  ingressClassName: nginx
  tls:
  - hosts:
    - "oneuptime.example.com"
    secretName: tls-oneuptime
  rules:
  - host: "oneuptime.example.com"
    http:
      paths:
      - path: /status-page-sso-api/
        pathType: Prefix
        backend:
          service:
            name: oneuptime-identity
            port:
              number: 3087

status-page-identity
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: oneuptime-status-page-identity
  annotations:
    nginx.ingress.kubernetes.io/rewrite-target: /status-page/
    nginx.ingress.kubernetes.io/proxy-buffers-number: "4"
    nginx.ingress.kubernetes.io/proxy-buffer-size: "256k"
    nginx.ingress.kubernetes.io/proxy-set-headers: "custom-headers-configmap"
    nginx.ingress.kubernetes.io/enable-websocket: "true"
    cert-manager.io/cluster-issuer: letsencrypt-production
    external-dns.alpha.kubernetes.io/hostname: oneuptime.example.com.
spec:
  ingressClassName: nginx
  tls:
  - hosts:
    - "oneuptime.example.com"
    secretName: tls-oneuptime
  rules:
  - host: "oneuptime.example.com"
    http:
      paths:
      - path: /status-page-identity-api/
        pathType: Prefix
        backend:
          service:
            name: oneuptime-identity
            port:
              number: 3087

ingestor
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: oneuptime-ingestor
  annotations:
    nginx.ingress.kubernetes.io/rewrite-target: /incoming-request/
    nginx.ingress.kubernetes.io/proxy-buffers-number: "4"
    nginx.ingress.kubernetes.io/proxy-buffer-size: "256k"
    nginx.ingress.kubernetes.io/proxy-set-headers: "custom-headers-configmap"
    nginx.ingress.kubernetes.io/enable-websocket: "true"
    cert-manager.io/cluster-issuer: letsencrypt-production
    external-dns.alpha.kubernetes.io/hostname: oneuptime.example.com.
spec:
  ingressClassName: nginx
  tls:
  - hosts:
    - "oneuptime.example.com"
    secretName: tls-oneuptime
  rules:
  - host: "oneuptime.example.com"
    http:
      paths:
      - path: /heartbeat
        pathType: Prefix
        backend:
          service:
            name: oneuptime-ingestor
            port:
              number: 3400

Additional context
I'd do the PR but I'm not sure where to put this in the charts and I'd rather ask first since maybe I'm missing some paths. All the buttons in the web UI work and the experience is butter-smooth as far as I can tell.

Hey @InputObject2 , would you happen to have this working for the latest version of OneUptime? I'm trying to do the same.

Seems like the current ingress implementation adds MetalLB and NGINX. That seems sort of strange and including a lot of services and resources that are typically handled outside of the application. Wouldn't a simple ingress.yaml like the following example work much better?
{{- $ing := index .Values "ingress" -}}
{{- if $ing.enabled }}
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: {{ $ing.name }}
  annotations:
{{- with $ing.annotations }}
{{ toYaml . | indent 4 }}
{{- end }}
spec:
  rules:
  {{- range $ing.hosts }}
  - host: {{ .host }}
    http:
      paths:
      {{- range .paths }}
      - path: {{ .path }}
        pathType: {{ .pathType }}
        backend:
          service:
            name: {{ $.Values.service.name }}
            port:
              number: {{ $.Values.service.port }}
      {{- end }}
  {{- end }}
  {{- with $ing.tls }}
  tls:
  {{- range . }}
  - hosts:
    {{- range .hosts }}
    - {{ . }}
    {{- end }}
    secretName: {{ $ing.secretName }}
  {{- end }}
  {{- end }}
{{- end }}

That seems sort of strange and including a lot of services and resources that are typically handled outside of the application

@nodesocket do you mean my re-imagining of the original nginx configuration? It took a while and 5 ingresses because there's a lot of redirects and service exposures that were done in the config.
@jiglesia3 It's been a while since I opened this and the app has evolved since so my config won't work anymore. I don't use this project anymore and I wanted to let it mature a bit before trying again..

This is done! Please waitch this video for reference: https://youtu.be/Ho5WyPHExTU


Out of memory when training with other models

Hi，
I've successfully run the training and roadfollowing with default resnet18 and I noticed that there are some more models to choose. For some need, I'd like to try other models that take less system memory. As far as I know, Alexnet and squeezenet are lighter than resnet18. However, when I run training with these models, system will be out of memory and crashed. What's the problem？Did I miss some settings?
Thanks.

hi RogerZ1128 is there any tip on how to get this road following work? i try mine and i could not get it to work properly ..

hi RogerZ1128 is there any tip on how to get this road following work? i try mine and i could not get it to work properly ..

What's the matter?

I mean how you get it to follow road properly with resnet18? I could not get it to do work properly.

try to higher the amount of swap memory. Easiest way -> jtop/jetsonstats


Option to disable warnings

Hey there, I have a lot of warning about duplicate file names but since I use absolute links, all of them resolve correctly. Is there a way I could disable warnings for these?

Ok, so there's two types of messages regarding duplicated filenames. One occurs during scanning of the docs directory. This is a debug warning, and respects filtering based on your current mkdocs verbosity settings. This message can pretty much always be safely ignored, as in and of itself, it is not dangerous. This is why that message is marked as debug, as it can potentially give information in the case that something is not functional, but otherwise can be ignored.
The other message given out is a warning. This is a bit more serious, because if you have two files named index.md in separate folders, there's currently no way to disambiguate which of the files the link should target. This emits as a Warning.
In the case of an absolute link being encountered (with a leading /), it should never emit that warning, as it simply skips that logic if it encounters an absolute link.
I would like some additional information from you, if you wouldn't mind:

Log of the specific warning you're encountering
Full source of the link that caused the warning to be emitted

If you also could potentially either describe a minimalistic repro site setup, it would help me understand the specific issue you're having.

An example would be this:
WARNING -  [EzLinks] Link targeting a duplicate file 'api/index.md'.
  [0]   - index.md <-- Active
  [1]   - api/index.md
  [2]   - creator_kit/index.md

WARNING -  [EzLinks] Link targeting a duplicate file 'img/EditorManual/icons/image3.png'.
  [0]   - img/EditorManual/icons/image3.png <-- Active
  [1]   - img/EnvironIntro/image3.png
  [2]   - img/LightBulb/image3.png
  [3]   - img/Materials/image3.png
  [4]   - img/ModelingBasics/image3.png
  [5]   - img/SceneCreation/image3.png

WARNING -  [EzLinks] Link targeting a duplicate file 'img/EditorManual/icons/image4.png'.
  [0]   - img/EditorManual/icons/image4.png <-- Active
  [1]   - img/EnvironIntro/image4.png
  [2]   - img/Materials/image4.png
  [3]   - img/ModelingBasics/image4.png

WARNING -  [EzLinks] Link targeting a duplicate file 'img/EditorManual/icons/image8.png'.
  [0]   - img/EditorManual/icons/image8.png <-- Active
  [1]   - img/EnvironIntro/image8.png
  [2]   - img/LightBulb/image8.png
  [3]   - img/Materials/image8.png
  [4]   - img/ModelingBasics/image8.png

I can get a test branch up in a bit.

I believe if you put a leading / in front of those links, it will work.
I believe it's currently stripping away the path & just checking the filename, because it does not think it is an absolute path.

That fixed some of them, I still get the warnings for things like these though:
WARNING -  [EzLinks] Link targeting a duplicate file '../img/scripting/createNewScript.png'.
  [0]   - img/EditorManual/PersistentStorage/createNewScript.png <-- Active
  [1]   - img/scripting/createNewScript.png

WARNING -  [EzLinks] Link targeting a duplicate file '../api/index.md'.
  [0]   - index.md <-- Active
  [1]   - api/index.md
  [2]   - creator_kit/index.md

WARNING -  [EzLinks] Link targeting a duplicate file '../api/index.md'.
  [0]   - index.md <-- Active
  [1]   - api/index.md
  [2]   - creator_kit/index.md

Those links are not absolute links though. Absolute links will always start with a /, which indicates the link is to be relative to the site root. Links that start with ../ are relative links, as .. is equivalent to "up one directory from where I currently am.
If you simply make those links: /api/index.md, /img/scripting/createNewScript.png it will work.

Hrm that does cause them to no longer be clickable/properly linked in VSCode though...

Hrm that does cause them to no longer be clickable/properly linked in VSCode though...

So, this is going to be out of the scope of this plugin. This plugin executes as part of a build step. In this step, it analyzes all links and converts them from absolute/wiki/roam to proper md links. This only occurs as part of the build, and the links are not modified in the source markdown. The converted links will be embedded inside the generated output properly, which makes the links functional on the context of a website.
If you require the links to work from VScode, you'd likely need to find an extension that handled this type of absolute->relative links extension (if one exists).

OKay I see, I was just used to this working from the mkdocs-autolinks plugin!

OKay I see, I was just used to this working from the mkdocs-autolinks plugin!

I would actually love to understand this better. It would be my understanding that mkdocs-autolinks works the same way, as a plugin, at build time.
Relative links will work from VS Code, but this plugin aims to solve having to rely on relative links at all. This requires a translation at build time to accompish. Both mkdocs-autolinks and this plugin use very similar hooks into mkdocs to accomplish the end goal.
It would be a great help if you could provide an example where by mkdocs-autolinks can correctly expand the links in VS Code, while not being relative links? I would love to match feature for feature, but would have to understand how this worked in the autolinks in order to accomplish that.

Yep, certainly. I just put up a test branch here https://github.com/ManticoreGamesInc/platform-documentation/tree/ezlinks
And like I said, ezlinks does get the links right, it is just all the warnings that I wanted to disable.

Hello @Stanzilla, I believe my latest feature in version 0.1.9 may help you in two ways:

Allows you to easily disambiguate links to files with duplicate names which are not in the same directory
Warnings for disambiguated links is now off by default. You can re-enable this functionality by using the warn_ambiguities configuration parameter.

Please give it a try, it's available via pip, and let me know if this fits your needs.

Oh awesome, will try tomorrow!

Okay I tested it and it looks like relative links now point to the .md file instead of the pretty url like before and it no longer correctly resolves links in the same directory.
Example:
[Leaderboards](../api/leaderboards.md) players' names, id's and a score, and can be used as a way to keep track of players whose data will be needed later for a specific scenario. See the [Leaderboard Reference](leaderboards.md) for more information about using them.

The first link goes to http://<IP_ADDRESS>:8000/api/leaderboards.md (wrong, should be http://<IP_ADDRESS>:8000/api/leaderboards/)
and the second goes to http://<IP_ADDRESS>:8000/api/leaderboards/ (wrong, should be http://<IP_ADDRESS>:8000/tutorials/leaderboards/ since the file this link is in is in the tutorials folder.)

Ok @Stanzilla, I went ahead & created release 0.1.10. I believe this fixes some (but possibly not all) of the issues you've raised. I went ahead & released that, and yanked the 0.1.9 release, because of this bug.
When I run EzLinks on your site, I'm still receiving a lot of errors that I'm still tracking down, related to relative links in paths.
The thing is, mkdocs by default, fully supports relative path linking. EzLinks is supposed to make such relative pathing unnecessary, but it (at least) should remain functional if it receives a valid relative link.
Locally, I was able to get ~90% of your pages working by doing a find and replace on "(../" --> "", which converts the links from relative to EzLinks.
Now, last note, while processing your site, (which is rather large), the search strategy is becoming a bit slow. This is to be expected, as I have not spent any time optimizing this approach yet. It works very well for smaller sites, but the complexity seems to be adding up on yours. I'm going to explore a more aggressive caching mechanic for preventing repeated lookups in the trie. I'm guessing that will speed things up significantly.

Hah interesting, I'm glad my project is helping you debug this!

@Stanzilla,
Exciting news, I believe I've resolved the remaining issues with EzLinks on your site. When I build it locally, on the ezlinks branch, I get the following results:
$ python3 -m mkdocs build
INFO    -  Cleaning site directory
INFO    -  Building documentation to directory: /home/morbik/dev/platform-documentation/site
INFO    -  The following pages exist in the docs directory, but are not included in the "nav" configuration:
  - icons.md
  - index.fr.md
  - creator_kit/index.fr.md
  - generated/tags.md
  - getting_started/community_content.fr.md
  - getting_started/core_help.fr.md
  - getting_started/editor_intro.fr.md
  - getting_started/installing_core.fr.md
  - getting_started/my_first_multiplayer_game.fr.md
  - getting_started/performance_panel.fr.md
  - getting_started/profiler.fr.md
  - getting_started/publishing.fr.md
  - getting_started/publishing_checklist.fr.md
  - perks/implementing_perks.fr.md
  - perks/joining_perks.fr.md
  - perks/perks_program.fr.md
  - perks/perks_rules.fr.md
  - tutorials/first_game_rpg.fr.md
  - tutorials/global_game_jam.fr.md
  - tutorials/ui_tutorial.md
INFO    -  Documentation built in 28.11 seconds

I thought that my link searching strategy was slowing down your site... but it's simply that your site is rather large, and it's actually mkdocs itself that takes up the majority of the processing time. The difference between enabling ezlinks and not is ~1 second, even on a site as large as yours, and I find that perfectly acceptable from a performance standpoint.
I was also able to provide 2 further optimizations:

If the link is a direct, functional link to an existing file, it will never search for it, but return the link directly.
If a filename is unique across the entire site, we can simply leverage a dictionary for additional efficiency in this case.

Please let me know if release-0.1.11 works for you as I think it will, and let me know if you have any further issues!

I just tested it and it looks like everything is correct now, indeed! I'll need to do some more testing in combinatiuon with the https://github.com/ultrabug/mkdocs-static-i18n plugin but so far everything looks great. Thank you so much for your help!

Awesome! I am happy to help! One of the explicit goals of me starting this plugin was to be incredibly responsive to issues that arise, as I was not finding that in the other plugins out there.
Your site, and this issue helped me resolve a number of bugs and inefficiencies that I likely would not have found for quite some time by myself, so thank you so much for that as well!

Oh interesting... I suspect that that plugin could work fine depending on
the order it is added. I think if EzLinks were processed first, then the
translation plugin ran, it would probably work OK.
If not, let me know, and I'll see if there's a way to make it compatible.
On Sat, Jun 12, 2021, 12:36 PM Benjamin Staneck @.***>
wrote:

I just tested it and it looks like everything is correct now, indeed! I'll
need to do some more testing in combinatiuon with the
https://github.com/ultrabug/mkdocs-static-i18n plugin but so far
everything looks great. Thank you so much for your help!
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/orbikm/mkdocs-ezlinks-plugin/issues/19#issuecomment-860099067,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAZG2YLAN3IO62LD7GEAN2LTSOZNLANCNFSM46AIFPKQ
.

Thanks, will do!


When PayPal window is closed the onCancel event is not triggered.

To Reproduce
Steps to reproduce the behavior:

Load the web drop in with PayPal
Click the PayPal button
Wait for the window to open
Close the window
BOOM. No event onCancel is send.

Expected behavior
As it's explained in the documentation to be triggered the onCancel https://docs.adyen.com/payment-methods/paypal/web-drop-in
Desktop (please complete the following information):

OS: Windows, Ubuntu
Browser Chrome, Firefox, Brave, Edge

+1 here! Tested on OSX as well.
JS SDK Version: 3.13.0 (latest)

Hi @emidev98,
Thanks for the report.
I was able to reproduce the BOOM issue and I'm working on a fix.
Have nice day, cheers!


Add flow in admiral so that whenever the intercom systemIntegration is enabled/disabled, then the intercomProc service comes up/comes down

https://github.com/Shippable/pm/issues/9731

this is done


enable github pages?

that would let people try and play to the game without having to set-up their own web server

I might? After all, this was a self-project, the teacher would download it and hope it somehow works (or figure out eventually a server needs to be set up).
I might do a GitHub pages though. I'll definitely let you know if I do c:

well, just sharing a link to your teacher should be a better solution no? 🤔


Multi language parsing sig support

Mutli language détection for parsing anom
Ex:
ABC-123 2AU Wormhole        ...  (english)
ABC-123 2AU Trou de verre    ...  (french)

Issue with regex:
In french:

decimal with ','
\s added between 0,0 and %
Astro unit name change to UA from AU

Full exemple with english and french and new regex:
https://regex101.com/r/S2WWVN/1


refactor scryptsy into jellyfish-wallet-encrypted/test

What kind of PR is this?:

/kind refactor
What this PR does / why we need it:
Remove Scryptsy from main dependency, fix mobile app bundler broken when import jellyfish-wallet-encrypted
Which issue(s) does this PR fixes?:

Fixes #
Additional comments?:

there isn't a universal js vanilla implementation for this?

Have not seen one so far.


Mute parameter, and other details

add audioObject mute parameter
move audioObject tests to the right file
audioObject dialogue formatting

Codecov Report

Merging #130 (58169ea) into 2076-2 (12d26f3) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           2076-2     #130   +/-   ##
=======================================
  Coverage   90.28%   90.29%
=======================================
  Files         125      125
  Lines        5715     5718    +3
=======================================
+ Hits         5160     5163    +3
  Misses        555      555

Impacted Files
Coverage Δ

include/adm/elements/audio_object.hpp
100.00% <ø> (ø)

src/elements/audio_object.cpp
86.66% <ø> (ø)

src/private/rapidxml_formatter.cpp
92.66% <100.00%> (+0.03%)
:arrow_up:

src/private/xml_parser.cpp
91.86% <100.00%> (+0.01%)
:arrow_up:

Continue to review full report at Codecov.

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


APP-423: [C] Fix double push into the rooms list

/cc @Slash32 @vadimol

@kaa-leeroy test this fully please


Incomplete code

Dear Jueqi,
Thanks for sharing this work! However, I noticed that some essential files are missing from the code repository. Specifically, the readme file, dataloader file, and IXI_T1_069.pth file are not included. I would greatly appreciate it if you could kindly upload the complete code for InverseSR, including all the necessary files.
Thank you very much for your attention to this matter. Looking forward to your positive response.
Best regards,
Adele

Dear Adele,
I am sorry that I previously didn't provide those necessary files. I have uploaded them into the Google Drive:
https://drive.google.com/drive/folders/110l68um6gUJzECIv0AyF-4Fcw0rrQgA9?usp=drive_link
I will close this issue now, but you can also open it if you have any questions.
Jueqi


Bug & Fix notice: ValueError: No closing quotation

Example error stack
    .batch(self._batch(node))
           ^^^^^^^^^^^^^^^^^
  File "/Users/moassaf/anaconda3/lib/python3.11/site-packages/metaflow/plugins/aws/step_functions/step_functions.py", line 678, in _batch
    .create_job(
     ^^^^^^^^^^^
  File "/Users/moassaf/anaconda3/lib/python3.11/site-packages/metaflow/plugins/aws/batch/batch.py", line 208, in create_job
    self._command(
  File "/Users/moassaf/anaconda3/lib/python3.11/site-packages/metaflow/plugins/aws/batch/batch.py", line 97, in _command
    return shlex.split('bash -c "%s"' % cmd_str)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/moassaf/anaconda3/lib/python3.11/shlex.py", line 315, in split
    return list(lex)
           ^^^^^^^^^
  File "/Users/moassaf/anaconda3/lib/python3.11/shlex.py", line 300, in __next__
    token = self.get_token()
            ^^^^^^^^^^^^^^^^
  File "/Users/moassaf/anaconda3/lib/python3.11/shlex.py", line 109, in get_token
    raw = self.read_token()
          ^^^^^^^^^^^^^^^^^
  File "/Users/moassaf/anaconda3/lib/python3.11/shlex.py", line 191, in read_token
    raise ValueError("No closing quotation")
ValueError: No closing quotation

My fix was:
 def _command(self, environment, code_package_url, step_name, step_cmds, task_spec):
        mflog_expr = export_mflog_env_vars(
            datastore_type="s3",
            stdout_path=STDOUT_PATH,
            stderr_path=STDERR_PATH,
            **task_spec
        )
        init_cmds = environment.get_package_commands(code_package_url, "s3")
        init_expr = " && ".join(init_cmds)
        step_expr = bash_capture_logs(
            " && ".join(environment.bootstrap_commands(step_name, "s3") + step_cmds)
        )

        # construct an entry point that
        # 1) initializes the mflog environment (mflog_expr)
        # 2) bootstraps a metaflow environment (init_expr)
        # 3) executes a task (step_expr)

        # the `true` command is to make sure that the generated command
        # plays well with docker containers which have entrypoint set as
        # eval $@
        cmd_str = "true && mkdir -p %s && %s && %s && %s; " % (
            LOGS_DIR,
            mflog_expr,
            init_expr,
            step_expr,
        )
        # after the task has finished, we save its exit code (fail/success)
        # and persist the final logs. The whole entrypoint should exit
        # with the exit code (c) of the task.
        #
        # Note that if step_expr OOMs, this tail expression is never executed.
        # We lose the last logs in this scenario (although they are visible
        # still through AWS CloudWatch console).
        cmd_str += "c=$?; %s; exit $c" % BASH_SAVE_LOGS
        new_cmd_str = 'bash -c "%s"' % cmd_str
        new_cmd_str = shlex.quote(new_cmd_str)
        return shlex.split(new_cmd_str)

Last four lines ^ from /plugins/aws/batch/batch.py
Happy fixing

My apologies there was extra quote in my config


Does not render in IE11

Hey guys, just piping it with a new IE11 bug. Installing storybook on-top of create-react-app (or any existing React application) does not work in IE11. The side pane (with the iframe) does not render.

confirm!
no console output, DOM nodes are all present, possible style problem?

Yeah, all the DOM nodes are present but trying to wade it in there to make it visible has been pretty futile over here

It looks like a CSS issue? with the classes SplitPane vertical which wraps the middle view. Pane2 has no height and is what wraps the view, hence it doesn't appear.

Looks like it´s more react-split-pane issue. There is a demo page http://react-split-pane.surge.sh/ and it also doesn´t work in IE.

https://github.com/tomkp/react-split-pane/issues/207

This looks fixed since react-split-panel version 0.1.64

I agree with @psimyn, it looks like this is fixed. Tested in IE 11 on Windows 8.1. @ndelangen, I think this issue can be closed.


Fix clang warning -Wtautological-undefined-compare.

reference cannot be bound to dereferenced null pointer in well-defined C++
code; comparison may be assumed to always evaluate to false
[-Wtautological-undefined-compare]

Thanks!


Support Search in documentation?

Describe the feature request.
Add/Enable search to docs.opensrp.io
Additional context
https://docusaurus.io/docs/search
Acceptance criteria
SearchBar component that allows to search for terms in site

yea, would be nice!


Improve AppVeyor caching

Have you seen the improvements to AppVeyor caching that dhall-haskell recently did? Might drop times in a similar way. Looks like the main thing is to quote the entire line when environment variables are used.
I'm more than happy to put a PR together if you'd like.

Yep, I'm including them in #362 together with some other amount of small fixes 🙂

Cool!


Allow options passing through insert

thanks!

0.7.0 published to npm. thanks again!

You're welcome, thanks for the fast publish.

Something seems to be broken in this release, my ToC is completely flat now, no subsections indentations.

@Marsup that should be fixed with the pr you did. Is everything working now?

Confirmed.

:+1:


Add support for passing custom uefi image

We are creating content-provider job for building uefi image in Pr[1], with this commit we add support for passing custom uefi image in bmaas job.
[1] https://github.com/openstack-k8s-operators/ci-framework/pull/312
As a pull request owner and reviewers, I checked that:

[x] Appropriate testing is done and actually running
[x] Appropriate documentation exists and/or is up-to-date:

[x] README in the role
[x] Content of the docs/source is reflecting the changes

recheck

We tested this Pr here: https://github.com/openstack-k8s-operators/edpm-image-builder/pull/7
https://logserver.rdoproject.org/7/7/7a4e01a428dfc0ec3f31edbe559d4720f62cd964/github-check/eib-crc-podified-edpm-baremetal/ccd5aa6/ci-framework-data/logs/edpm/pods/openstack/edpm-compute-provisionserver-openstackprovisionserver-c6bfknjg9-describe.txt
Successfully pulled image "<IP_ADDRESS>:5001/edpm-hardened-uefi:7a4e01a428dfc0ec3f31edbe559d4720f62cd964"

We already caught a real issue in https://github.com/openstack-k8s-operators/edpm-image-builder/pull/7 as this PR is changing interface naming which caused issues.


Add linting/static analysis

clang-lint or similar is an obvious starting point.
Beyond that, I have no idea what I'm doing.

#33 added a clang-lint task when switching to Cirrus CI.
#32 added CodeQL analysis.


neovim setup broken on unstable

Describe the bug
I don't know what the actual problem is, I just know that 4f6d8095fd51954120a1d08ea5896fe42dc3923b was the last nixpkgs-unstable revision where my neovim setup successfully built.
Since then there were several changes to the neovim definition, discussion include but are not limited to:

https://github.com/NixOS/nixpkgs/pull/124785
https://discourse.nixos.org/t/cant-override-unstable-neovim-anymore/13322
https://discourse.nixos.org/t/neovim-no-longer-uses-config-or-plugins/13399

Right now, with latest unstable (0ecf7d414811f831060cf55707c374d54fbb1dec), I get:
error: 'vimrcContent' at /var/src/nixpkgs-unstable/pkgs/misc/vim-plugins/vim-utils.nix:265:18 called with unexpected argument 'customRc', at /var/src/nixpkgs-unstable/pkgs/applications/editors/neovim/utils.nix:122:20

(using krops, hence the /var/src prefix here).
Can someone elaborate?
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.4.161, NixOS, 21.05.git.dde1557825c (Okapi)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.16`
 - channels(m): `""`
 - channels(root): `""`
 - nixpkgs: `/var/src/nixpkgs`

@teto @manveru @garbas

in the codebase, I can only find customRC, no customRc

On f603f36ca2e12e69f6d48602c2ddc2c30544b407 if I rg customRc I get:
pkgs/misc/vim-plugins/vim-utils.nix
261:        customRc = ''let mapleader = " "'';

pkgs/applications/editors/neovim/wrapper.nix
28:    # it will append "-u <customRc>" to the wrapped arguments

Okay, so the customRc/customRC messup was my bad.
Now I get
builder for '/nix/store/7z3618bijsy3x3920i52yrl6h20m80xx-neovim-0.6.1.drv' failed with exit code 1; last 10 log lines:
  line    8:
  E117: Unknown function: funcref#Function
  line    9:
  E117: Unknown function: funcref#Function
  line   15:
  E117: Unknown function: funcref#Function
  E116: Invalid arguments for function actions#AddAction
  remote/host: python3 host registered plugins []
  remote/host: generated rplugin manifest: /nix/store/dc05iz4q3qzlhaj32zs4w26gd6mxsizn-neovim-0.6.1/rplugin.vim
  Generating rplugin.vim failed!
cannot build derivation '/nix/store/d6x4nicvwx8jq9zy2fl2d6c6hs98541g-nvim.drv': 1 dependencies couldn't be built

yes my mistake in the documentation :'(
Could you write a test of the setup that you used to build and now fails in  pkgs/applications/editors/neovim/tests.nix ? We can then fix it and having the test would help avoid regressions too.

I'd love to, but I don't even know where the bug comes from and dumping my multi-hundret vim setup in there sounds like a bad idea... or do you have an idea how to approach this in a way so that I don't have to just "dump and pray"? :laughing:

it would help to have the full log, seems like some plugin is not loaded or not in the correct order when trying to generate the rplugin manifest. What plugins do you that rely on remote providers (python plugins in general like deoplete) ?  it may be listed in the file generated by :UpdateRemotePlugins.

So I tried to find the plugin which causes the issue and I am not sure, but it is most likely one of these:
ncm2
ncm2-ultisnips
ncm2-bufword
ncm2-path
ncm2-tmux
ncm2-look
ncm2-otherbuf

Although when I remove them, I get another error (but not the same, so it seems that one or several of these plugins is the issue):
builder for '/nix/store/csg2sx96ryqpcvn7j52m22gwzkllyryp-neovim-0.6.1.drv' failed with exit code 1; last 10 log lines:
  E1208: -complete used without -nargs
  line  460:
  E1208: -complete used without -nargs
  line  464:
  E1208: -complete used without -nargs
  line  468:
  E1208: -complete used without -nargs
  remote/host: python3 host registered plugins []
  remote/host: generated rplugin manifest: /nix/store/qv8y74i5f6jx2ysa8smgqi5hpq1w8v3z-neovim-0.6.1/rplugin.vim
  Generating rplugin.vim failed!
cannot build derivation '/nix/store/p370qschm8l712g0llps4dnwxanlmany-nvim.drv': 1 dependencies couldn't be built

Not sure how to get the full build log.

at the end of a failed build, there is a recommandation like "run nix log /nix/store/p370qschm8l712g0llps4dnwxanlmany-nvim.drv to see the full output". Run that command and paste it somewhere, it may help you find the issue. I myself dont use any remote plugin .
There is one test for remote plugins "test_nvim_with_remote_plugin" so maybe you can adapt it with ncm2 until you trigger the bug.
In a nixpkgs checkout, run nix-build -A neovim.tests to run the tests

This issue seems not only be present on unstable. I just updated one of my devices to 21.11 and it results in broken neovim there as well (neovim complains about fugitive: fugitive#statusline is not known anymore).

This happens, btw, most surely because neovim does not find any plugins.

Okay, somehow I got it working. The issue seems to be nixos 21.05 + unstable newer than mentioned. 21.11 with newer unstable than mentioned seems to work. Closing this now.