Unable to run

Hello there, I am trying to run conditional text part and have followed all the instructions but at the end I am facing follow error. Screenshot attached below. It says "Model checkpoint celebhq/ddpm_ckpt_text_cond_clip.pth not found"

Hello @mognc ,
When you ran train_ddpm_cond.py , what was the configuration , you used. If it was config/celebhq_text_cond.yaml. then this would have created a checkpoint in the celebhq/ddpm_ckpt_text_cond_clip.pth location.
Can you let me know which config you ran the training with, and if you have changed some parameters, then could you attach that config as well?

I didn't changed any parameter and yes I used config/celebhq_text_cond.yaml

Okay, then you can you check what is the name of checkpoint file that was created in the celebhq folder

Sorry, but there is no celebhq folder here.

 I am assuming you ran train_vqvae with the same config file right ?

Sorry for troubling you, I missed that block. Its downloading different models atm and I hope my error will be resolved now. Thanks for helping. I am new to this image generation thing so I make silly mistakes.

No problem at all @mognc :)
So basically you will first train autoencoder (train_vqvae.py) and then you can choose to train unconditional or conditional .
And just make sure to you use the same config file for both the stages(autoencoder and ldm).
Will keep the issue open for now, and you can close it once you have successfully ran the text conditional training.
Feel free to comment here when you run into any further problems during that.

Unfortunately the error did not get resolved, I am sharing attachments showing the commands I used also showing my celebhq folder contents.

After running train_vqvae , did you run the train_ddpm_cond ?  Did that fail ?

After running this command "!python -m tools.train_vqvae --config config/celebhq_text_cond.yaml" it displayed the training is completed. Then i ran "!python -m tools.sample_ddpm_text_cond --config config/celebhq_text_cond.yaml" which failed. I also have attached pics above for your reference.

Yes but the train vqvae is only for Stage I. This will only train the autoencoder and not the diffusion model.
Once auto encoder is trained, we need to run train_ddpm_cond for training a conditional latent diffusion model.
And after that is trained, you would be able to generate data using sample_ddpm_text_cond command

Hey there, my model got in running state yesterday but the output was not that I desired. And I am bit confused what changes I have to make to improve them. I have 100 images dataset with 100 captions file. The dimensions of pics are 600*800. I have made dataset and yaml file similar to "celebhq.yaml" and celeb_dataset.py file. I also have modified the targets to my own files. I want to generate similar pics as my dataset but with variations in them. I figured out to achieve this task I will be using Training text conditional LDM method and will be creating similar file as "celebhq_text_cond.yaml" file right?. But now I am unsure what additional changes I have to make in my new three files I have created that will help me achieve my goal like can you pin out parameters I have to change like no of epochs I have to train and etc. Also I have enables save latents in those file as you mentioned in readme file to speed up the training process.

How many epochs/steps did you train the autoencoder for ? and could you add some output examples of autoencoder.
Same for LDM. Because that will help me understand which stage is not generating output as desired.
The first thing I would suggest is have more images,  maybe 2K images to start with.
Second is there a reason you want to formulate this as a text conditional problem and not class conditional problem ? This is because for text conditional problems you would be training additional cross attention layers and the training will also be slower. So if you can achieve your goal by just formulating this as a class conditional problem , I would suggest to first try that.

Well I didn't change epochs or samples. At the moment I don't have access to those outputs as Collab erase all the data after session terminates. But the ldm stage was not producing correct output it was just blur pic.
Well I assumed to add variations to a dataset through prompt I will need to use text condition and not class condition. I might be wrong as I am no expert. But the final goal is to add variations according to the user prompt. I have dataset of walls and the user will enter prompt like snow on walls or shadow on the walls and the relevent pic will be generated.

If you didnt change any parameters then that means the autoencoder ran for only 20 epochs and the discriminator didnt even start because the config has the start of discriminator at 15000 steps.
So you should anyways train autoencoder again and change the discriminator_start parameter to the number of steps after which you start seeing decent but blurry outputs from autoencoder.
For the conditioning, if all you have are texts of type ' on walls' where obj can be one of K things, then you can use class conditioning with K classes rather than text conditioning.

Ok I will change that parameter. And I will try conditioning too, but I just want to make sure like my dataset is simple it don't include type of variations I want like snow or dust. This will not be a problem right ?

Also the ldm epochs are set at 100 epochs but this was for celebhq dataset with 30000 images.
I would suggest in the current setting with 100 images, you should train till 1000 epochs to validate quality of ldm outputs(more if you see that the quality is still continuing to improve )

"but I just want to make sure like my dataset is simple it don't include type of variations I want like snow or dust"
I didnt get this part. Could you clarify a bit ? Do you mean that you want the model to generate variations for which you don't have images ?

Yes, I don't have pics of variations I want.

But if the model has never seen what 'snow' looks like anytime during the training, it will not be able to generate 'snow on walls' right ?

Well my friend used some pre trained models and those were producing results, so I am not sure of this model how it works. So should I add simple pics of snow, dust and other variations and merge them with walls dataset?

Yes pre-trained model would work because that has seen what 'snow' looks like. But this model will be trained from scratch.
So I would suggest to either use the pre-trained model and then fine tune it using libraries like diffusers.
OR if you want to train using this repo from scratch then add in those images for training.

Well I will stick with this repo and will add variations pic along with captions and will merge all dataset together. Thanks for removing all confusions really appreciate your time.

I cant figure out this part of  guide like what to change and where

Hello again, I was unable to train my model class conditionally was unable to solve all errors after changing some files. So i tried training it text conditionally and here are some outputs.

This is final picture that was generated while training autoencoder at 500 epochs and disc_start at 100.

This is sample generated at x0_996.

And this is sample generated at x0_0. I trained model for 1000 epochs can this result be improved if I train for more epochs and final question does my training file which is ddpm_ckpt_text_cond_clip.pth overwrite every time I run "!python -m tools.train_ddpm_cond --config config/celebhq_text_cond.yaml" cell and new file is saved right ?

This is my config file which I edited:

I think it would benefit by training the autoencoder more. Specifically two changes:

autoencoder_epochs:1000
disc_start : 200 x (Number of steps in one epoch)

Basically train for longer and start discriminator after your autoencoder generates the best reconstructions it can. The disc_start is the number of steps after which discriminator should start.

Yes the ddpm_ckpt_text_cond_clip.pth is overwritten every time you run the training.


Upgrade Go version to 1.18 and replace io/ioutil references with io or os

Changes

Upgraded Go to 1.18
Replaced io/ioutil references in favour of io or os
Upgrade knative.dev/eventing dependency to v0.35.0

/kind cleanup

Fixes #

Release Note

Docs

/approve
/lgtm

/hold
There's the following code style check. We should probably take a look on syncing existing code in client-pkg with latest from client.
Running [/home/runner/golangci-lint-1.50.1-linux-amd64/golangci-lint run --out-format=github-actions --go=1.19] in [] ...
  Error: SA1019: table.SelfLink is deprecated: selfLink is a legacy read-only field that is no longer populated by the system. +optional  (staticcheck)
  Error: SA1019: table.SelfLink is deprecated: selfLink is a legacy read-only field that is no longer populated by the system. +optional  (staticcheck)

  Error: issues found
  Ran golangci-lint in 130636ms

/approve
/lgtm

/unhold


Not working on Android 10

App don't work on Android 10

Hello, could you please specify what isn't working for you? I have noticed problems with the automatic start when the charger is plugged in - Awake just doesn't start automatically. Are you referring to this?

Unfortunately not ... the application simply does not do its function, even enabling the option to keep the screen on it continues to shut down normally.
I'm on a Galaxy S9+ with Android 10 on it.

Oh, I see. Thanks for clearing that up. It may be caused by Samsung's changes to the OS, because it seems to work on clean Android 10. I would try making an exception for Awake, if your system has a background process killer. This is my best guess.
Unfortunately I can't help any further, because I don't know much about the backend. @nazmulidris said he was planning to rewrite parts of the app, so it could get fixed in the process.


Public API does work with {{get}} element

In my Ghost blog, based on Ubuntu 16.04 server - does work {{get}} element.
<script>console.error("The {{get}} helper is not available. The Public API flag must be enabled in labs if you wish to use the {{get}} helper. See https://docs.ghost.org/faq/api-versioning/");</script>
I cant found a Public API button for activate this.

Ghost Version: 2.13.1 (latest)
Node Version: latest
Browser/OS: Google Chrome
Database: MySQL

Hi @owner
The Public API has been deprecated. This is explained in the doc link that the error points you to:
https://docs.ghost.org/faq/api-versioning/
As it is deprecated, we have removed the checkbox from any brand new install. Instead we recommend switching to the v2 API, which can be done by updating your theme's package.json as described here: https://docs.ghost.org/api/handlebars-themes/packagejson/
I realise the error is out of date, so I will update this to explain the current situation more clearly.
We also have some updates to the get helper docs planned to make this clearer. They'll happen later in the week.

My package.json doc is identical to the one described in the documentation
"engines": {         "ghost-api": "v2"     },
However I'm still getting this error. I've tried deactivating and activating the theme. What could be the reason {{get}} helpers are not working?

Are you on the latest version of Ghost?
If so, please open a topic on forum.ghost.org filling in all the details.


Add ability to @include Obsidian markdown files from Obsidian Vault

Fixes #4
Add ability to @include Obsidian markdown files from Obsidian Vault into chat messages.

Obsidian File Search and Integration:

Add fuzzy searching to searchObsidianFiles function in electron/ipc/obsidian.ts.
Ensure searchObsidianFiles function returns top 10 results sorted by relevance.
Set up file watcher to invalidate cache when files change.
Ensure all values are strings and serializable.

Settings Modal:

Add UI for selecting and displaying the Obsidian Vault path in src/components/SettingsModal.vue.
Add logic to handle folder selection and update the store.

Chat Message Integration:

Integrate useObsidianFiles to fetch and embed notes into chat messages in src/App.vue.
Add inline preview with TailwindCSS for included notes.
Implement collapsible section for note preview using TailwindCSS.
Add toggle function for preview expansion.

Autocomplete List:

Add searchQuery ref and useDebounce to debounce the search query in src/composables/useObsidianFiles.ts.
Implement searchFiles function to perform the search using search-obsidian-files IPC handler.
Watch debouncedQuery ref to update search results in real-time.
Display search results in the autocomplete list in src/components/ObsidianMentionPopup.vue.
Style the autocomplete list using TailwindCSS classes.

Store Schema:

Add obsidian-vault-path to store schema in electron/main/store.ts.

For more details, open the Copilot Workspace session.

Stale!


[core]Endless jadx

Checks before report

check latest unstable build (maybe issue already fixed)
check Troubleshooting Q&A section on wiki
search existing issues by exception message

Describe error
apk used is : https://f-droid.org/repo/com.nextcloud.client_30080190.apk
output of jadx provide ( on ubuntu 18.04)
`` WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.rits.cloning.Cloner (file:/root/Mobile-Security-Framework-MobSF/StaticAnalyzer/                                                                                tools/jadx/lib/cloning-1.9.12.jar) to field java.util.TreeSet.m
WARNING: Please consider reporting this to the maintainers of com.rits.cloning.Cloner
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
^Croot@b7138f185e6e:~/Mobile-Security-Framework-MobSF# ./StaticAnalyzer/tools/jadx/bin/jadx -ds /tmp -r /root/.MobSF/uploads/60ac13724348dac5f1f5ba427f5eebbd/60ac13724348dac5f1f5ba427f5eebbd.apk
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.rits.cloning.Cloner (file:/root/Mobile-Security-Framework-MobSF/StaticAnalyzer/tools/jadx/lib/cloning-1.9.12.jar) to field java.util.TreeSet.m
WARNING: Please consider reporting this to the maintainers of com.rits.cloning.Cloner
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
and nothing more :(
Note: no need to copy method fallback code (commented pseudocode)

attach or provide link to apk file (double check apk version)
Note: GitHub don't allow attach files with .apk extension, but you can change extension by adding .zip at the end :)

I am sorry but I can't reproduce your problem.
Using latest unstable version "jadx-1.0.0-b1157-f228a721.zip" the command you posted works without problems and decompiles the APK file you have linked.
BTW: using /tmp without any subdirectory is a bad idea as the decompilation will create ~16 subdirectories which then mic-up with the other content of /tmp.

will test again and let you know ( by default we only include stable release in MobSF)
using /tmp was only to grab output:    when used in MobSF we don't use /tmp

perfect for me :)


Remove colors from qa tests

Description
Prow does not handle colorful logs as CircleCI did. Let's remove color modifier to make logs cleaner and easier to read for human.
Before:
^[[1;30m16:02:19^[[0;39m | ^[[34mINFO ^[[0;39m | DeploymentEventGraphQLTest | Starting testsuite
^[[1;30m16:02:19^[[0;39m | ^[[34mINFO ^[[0;39m | BaseSpecification         | Performing global setup
^[[1;30m16:02:19^[[0;39m | ^[[34mINFO ^[[0;39m | BaseSpecification         | Will perform strict integration testing (if any is required)
^[[1;30m16:02:21^[[0;39m | ^[[39mDEBUG^[[0;39m | Kubernetes                | quay: secret created.
^[[1;30m16:02:21^[[0;39m | ^[[39mDEBUG^[[0;39m | Kubernetes                | public-dockerhub: secret created.
^[[1;30m16:02:21^[[0;39m | ^[[39mDEBUG^[[0;39m | Kubernetes                | gcr-image-pull-secret: secret created.
^[[1;30m16:02:22^[[0;39m | ^[[39mDEBUG^[[0;39m | Helpers                   | Caught exception. Retrying in 1s

After:
15:57:00 | INFO  | ExternalNetworkSourcesTest | Starting testsuite
15:57:00 | INFO  | BaseSpecification         | Performing global setup
15:57:00 | INFO  | BaseSpecification         | Will perform strict integration testing (if any is required)
15:57:01 | DEBUG | Kubernetes                | quay: secret created.
15:57:01 | DEBUG | Kubernetes                | public-dockerhub: secret created.
15:57:01 | DEBUG | Kubernetes                | gcr-image-pull-secret: secret created.
15:57:01 | DEBUG | Helpers                   | Caught exception. Retrying in 1s

Testing Performed
CI

/test go-unit-tests


Forcing dataview model fetch new data although sync_on_data_change attribute is disabled

Basically, if a widget has disabled sync_on_data_change, it will not change if there is an update of its 'column'.
We need to test this but I'd like your opinion before doing that. How does this approach sound?

[ ] Create necessary test(s) for this behaviour.

CR: @alonsogarciapablo
Fixes #1144

I think it would be better (simpler) to have a .forceFetch() method of some sort, since the requirements for editing dataview (through a widget) is not the same as for a using them. Having a bunch of implicit behaviors based on various flags states makes it really hard to reason about what's going on.

We'd need to something like:
// Somewhere in the histogram dataview...
this.on('change:column', this._reloadMapAndForceFetch, this);

In the dataview-model-base.js:
  _reloadMapAndForceFetch: function () {
    this._map.reload({
      sourceLayerId: this.layer.get('id'),
      forceFetch: true
    });
  }

We would need to propagate that "forceFetch" (as we do with the sourceLayerId) so that we can finally do something like:
// dataview-model-base -> onChangeBinds
    this.on('change:url', function (model, attribute, options) {
      if (options.forceFetch || this._shouldFetchOnURLChange()) {
        this.fetch();
      }
    }, this);

@alonsogarciapablo ^^^ that approach?

Yes, that can work.

Could you take a look now @alonsogarciapablo?

LGTM! :clap:


Added Tabs for both near-cli-rs and near-cli commands

As discussed in https://github.com/near/docs/pull/1478 tabs imports are fixed and Commands mentioned in https://github.com/near/near-cli-rs/issues/236  are updated

@ghimire007 could you rename all instances of Near-CLI to near-cli? after that. Also, make sure to remove all unnecessary new lines. After that I'll accept it and merge it. Thanks for the contribution!


RELAY PROBLEM

everytime try sign the transaction i get this error
Transaction failed Simulation failed, perhaps a non standard ERC20 transfer?
Error: bad response (status=400, headers={"content-length":"145","content-type":"application/json; charset=utf-8"}, body="{"error":"v0.1 bundle received, expected v0.2. See https://docs.flashbots.net/flashbots-auction/searchers/advanced/rpc-endpoint for latest docs"}", requestBody="{"method":"eth_callBundle","params":[["0xf8a78202ff808303d090947e9e431a0b8c4d532c745b1043c7fa29a48d4fba80b844a9059cbb0000000000000000000000007992e8162cf5f413d0cb5c66bc430848b2e35aac00000000000000000000000000000000000000000000282780abc0118f07f8001ba0bcf7f50cb846feddd8755a2be2f0230a226ef42aae5925781e12026b4b7eb662a0730040ba008f1dd39b097f40fca4218a9e88000678566a42bda65e24f62651fb","0xf902c6808083061a8094f26f7daa038651f6efca888e91ecbec8e231035e80b90264aaa89be40000000000000000000000007992e8162cf5f413d0cb5c66bc430848b2e35aac000000000000000000000000f26f7daa038651f6efca888e91ecbec8e231035e000000000000000000000000000000000000000000000000000aa87bee53800000000000000000000000000000000000000000000000000000000000610c91f9000000000000000000000000000000000000000000000000000000000000001ca1e67a653ffcddca9f284567de1f6f91b4f5f1c97c116594a54b8a19aa09a58a390f2dfd8faf681c174062e20ded877c26955030100c9fc2071e3d0bf09aca2200000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000000000022000000000000000000000000000000000000000000000000000000000000000010000000000000000000000007e9e431a0b8c4d532c745b1043c7fa29a48d4fba00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002470a082310000000000000000000000007992e8162cf5f413d0cb5c66bc430848b2e35aac00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000282780abc0118f07f8001ba067371556b8cb16ae0c24ad8a070e0a1e6b5aa67d2dee67b98f7836617ac8fba8a0199c69a6cb9ac83f9cba2ce596ccb0b1921a3c8e7684f6d8c4105a2fd176e1a7"],"0xc5e124","latest"],"id":42,"jsonrpc":"2.0"}", requestMethod="POST", url="http://<IP_ADDRESS>", code=SERVER_ERROR, version=web/5.0.14)

got same error. any suggestion?


ci: Add ability to array-ify args and run multiple jobs

Overview
Previously, the run-cluster workflow only ran one ray-job-submission. This PR extends the ability to be able to run any arbitrary array of job submissions by enabling us to pass an array into the entrypoint_args input param. This then splits the command into its multiple pieces and submits them all.
Example Usage
gh workflow run run-cluster.yaml \
    --ref $current_branch \
    -f working_dir="." \
    -f daft_wheel_url="https://github-actions-artifacts-bucket.s3.us-west-2.amazonaws.com/builds/54428e3738e96764af60cfdd8a0e4a41717ec9f9/getdaft-0.3.0.dev0-cp38-abi3-manylinux_2_31_x86_64.whl" \
    -f entrypoint_script="benchmarking/tpcds/ray_entrypoint.py" \
    -f entrypoint_args="[\"--tpcds-gen-folder='gendata' --question='1'\", \"--tpcds-gen-folder='gendata' --question='2'\"]"

The above invocation runs TPC-DS queries 1 and 2.

There are some hardcoded values in the runner script (that is run on the runner node, not the ray-head node).
However, we don't have a mechanism to pass values along to the runner script. I'm thinking of creating one named runner_scripts_args. Thoughts @jaychia?

Example of a successful run:
https://github.com/Eventual-Inc/Daft/actions/runs/12361707341

Example of a successful run (run on just 1 argument, --question=3 --scale-factor=100):
https://github.com/Eventual-Inc/Daft/actions/runs/12366475502

Example of a successful run (run on multiple arguments, ["--question=1 --scale-factor=100", "--question=3 --scale-factor=100"]):
https://github.com/Eventual-Inc/Daft/actions/runs/12380369256


add support for Configuration API

The Configuration API feature has been implemented in Dapr runtime: https://github.com/dapr/dapr/pull/3606
It needs to be accessible via the SDK.

/assign

Closing in favor of #140


Add the filename text to the generated image.

When generating images for multiple code files, I would like to mark the file names on the images so that the relationship between files can be clearer.
For example, it is possible to add "--filename CUSTOMIZATION" to generate an image with the file name in the middle of the top.
Currently I can only mark the file name through a picture editor.
Looking forward to your reply, thank you very much😊!

@yushengguo557 You want this feature to be shown when using window controls only or when passing lets say --output.show-filename=true regardless of window controls?

Be shown only when using window controls. 🙂

@yushengguo557 I added the PR above with the feature if you want to try it out.


My class BGSpriteDance that extends BGSprite won't animate

Describe your problem here.
So, I'm working on converting my mod to source, but I'm stuck on getting an animated sprite to work. It shows up and the dance function traces to PowerShell properly, but the actual calls to animate it do nothing. BGSprite works fine, though.
Code:
Definition in PlayState:
// Outside of any functions
var chaseCouchBg3:BGSpriteDance;

// Meanwhile inside the stage setup
chaseCouchBg3 = new BGSpriteDance('chaseCouchBg3', -1050, -1600, 1, 1, ['Dance Left', 'Dance Right'], true);

BGSpriteDance.hx
package;

import flixel.FlxSprite;
import flixel.graphics.frames.FlxAtlasFrames;

class BGSpriteDance extends BGSprite
{
	public var leftIdle(default, set):String;
	public var rightIdle(default, set):String;

	public var danced:Bool = false;

	private function set_leftIdle(left:String) {
		leftIdle = left;
		animation.addByPrefix(left, left, 24, false);
		return left;
	}

	private function set_rightIdle(right:String) {
		rightIdle = right;
		animation.addByPrefix(right, right, 24, false);
		return right;
	}

	public function new(image:String, x:Float = 0, y:Float = 0, ?scrollX:Float = 1, ?scrollY:Float = 1, ?animArray:Array<String> = null, ?loop:Bool = false) {
		super(image, x, y, scrollX, scrollY, null, loop);
		//animation.destroyAnimations();

		if (animArray != null) {
			frames = Paths.getSparrowAtlas(image);
			for (i in 0...animArray.length) {
				var anim:String = animArray[i];
				animation.addByPrefix(anim, anim, 24, loop);
				if (leftIdle == null) {
					leftIdle = anim;
					animation.play(anim);
					//animation.addByPrefix('danceLeft', anim, 24, loop);
				}
				else if (rightIdle == null) {
					rightIdle = anim;
					//animation.addByPrefix('danceRight', anim, 24, loop);
				}
				//else
					//animation.addByPrefix(anim, anim, 24, loop);
			}
		} else {
			if(image != null) {
				loadGraphic(Paths.image(image));
			}
			active = false;
		}
		scrollFactor.set(scrollX, scrollY);
		antialiasing = ClientPrefs.globalAntialiasing;
		//trace(animation);
	}

	public override function dance(?forceplay:Bool = false) {
		danced = !danced;
		if (danced && leftIdle != null) {
			animation.play(leftIdle, forceplay); // THIS WON'T WORK :sob:
			trace('sliiide to the left');
		}
		else if (!danced && rightIdle != null) {
			animation.play(rightIdle, forceplay); // THIS WON'T WORK :sob:
			trace('sliiide to the right');
		}
		//else if (idleAnim != null) {
			//animation.play(idleAnim, forceplay);
		//}
		trace('could you repeat that');
		//trace(animation.curAnim.name);
	}
}

Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
I've edited lots of things like Alphabet.hx and PlayState.hx, but nothing that would mess with the animations.

So, I've worked on this some more, and here's what I've found.

Before the dance() function is run, the previous animation is neither finished nor paused, but is stuck on frame 0 out of 4.
The framerate is at a normal 24.
The left and right animations are not null.
There is nothing in PlayState that is running finish(), pause(), or stop() on the animation variable from any BGSpriteDance.

It still doesn't animate though.

I GOT IT TO WORK! So, basically, the super() call was being fed null for the animArray argument because I saw that the code for adding the animations and setting idleAnim didn't run if it was null, but in BGSprite.hx, the constructor said that if animArray wasn't null, then it would instead run the loadGraphic() function with the Animated argument as false, which is something that my code did not undo. So, what I had to do was supply the super() call with the proper animArray value and uncomment the call to animation.destroyAnimations().
TL;DR: It works now! I had to feed the super() call the actual correct information and uncomment the line after.
P.S. Actually, I'll probably just make it so that it keeps the animations instead of recreating them.


      Please check your configuration for these entries:
      {
        "moduleNameMapper": {
          "/^@aspnet\/signalr$/": "F:\workspace\_work\1\s\src\SignalR\clients\ts\signalr\dist\cjs\index.js"
        },
        "resolver": null
      }

        2 | // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
        3 |
      > 4 | import { CompletionMessage, InvocationMessage, MessageType, NullLogger, StreamItemMessage } from "@aspnet/signalr";
          | ^
        5 | import { MessagePackHubProtocol } from "../src/MessagePackHubProtocol";
        6 |
        7 | describe("MessagePackHubProtocol", () => {

        at createNoMappedModuleFoundError (common/node_modules/jest-resolve/build/index.js:472:17)
        at Object.<anonymous> (signalr-protocol-msgpack/tests/MessagePackHubProtocol.test.ts:4:1)

Seems likely the build order isn't as reliable as it was before last Arcade transition (when restore / build / test were separate).
@pranavkm any suggestions? Should this be assigned to you?

This is related to signalr so maybe @anurse can help finding a volunteer as well. I have a feeling this is going to involve looking through the msbuild targets to see why builds are not triggered in the order that we expect.

@BrennanConroy can probably look at this.
We generally don't rely on MSBuild to get the build ordering we want, though I don't know if that's changed since the mondo merge. The error does indicate that there's an ordering problem going on though...


Bundle rtcstats

Add rtcstats to bundle

definitely bundling it though:

tested working in the usual suspects
I still see rtcstats in my yalc.lock though... guess we have to publish to really find out

Yeah, not sure. It should be bundling it. Let's publish and try

tested working in the usual suspects
I still see rtcstats in my yalc.lock though... guess we have to publish to really find out

Yeah, not sure. It should be bundling it. Let's publish and try

This is expected. One could argue that at this point rtcstats is a devDependency, but lets not worry about this now 👍


Clarification on requirements for AD Logon with PIV functionality

Hello,
I am new to both PIV and Active Directory (AD) and am trying to use piv  to enable AD logon. While setting things up, I’ve encountered some challenges and would appreciate guidance on a specific point.
Do I need to use the OpenSC Minidriver to make this integration work, or can the repository function independently in an AD logon scenario?
What I’ve Tried:
I have followed https://docs.nitrokey.com/nitrokeys/features/piv/guides/client_logon_with_active_directory to set up token with AD.
However, logon attempts result in an error.

Questions:
Are minidrivers mandatory for enabling AD logon with smartcards?
If it is not mandatory, could you provide guidance on how to configure the setup without it?

Hi, thanks for your message!

Are minidrivers mandatory for enabling AD logon with smartcards?

Some smartcards require a minidriver, yes. The Nitrokey 3 works with the builtin generic minidriver from Windows.

If it is not mandatory, could you provide guidance on how to configure the setup without it?

The guide you linked is based on the generic minidriver.
The configuration of a PIV login can be challenging, depending on the environment. I would like to suggest to move this to a private conversation in a support ticket. Please write to<EMAIL_ADDRESS>to open one. Please include the following information:

Windows server version
Windows client version
Nitrokey 3 firmware version
Did you use Nitropy to generate the key and certificate?

Nitropy version

Please include an output of certutil -scinfo with connected Nitrokey 3.

Looking forward to your support ticket!

As there was no further information and also no support ticket I will close this issue.


Doc and contribution update

Coverage remained the same at 96.471% when pulling f7e3ffbaa187560891ad371901ace93d37ff1a51 on doc-and-contribution-update into 220cae233ccefeb90d61913769c0816e489f19d4 on master.


Use evaluation/evaluator naming and support single or N

So each test case has a key evaluation whose value is of type Evaluator | Evaluator[]. This naming reads well and makes sense in the code, so I feel good about it.
Additionally, exposing evaluator functions rather than classes for user-facing API to remove the new Class noise.
Now looks like:
const tests: CompletionEvalCase[] = [
  {
    description: 'Football world cup completion',
    prompt: 'Who won the 1998 football world cup? Respond concisly',
    evaluation: includes('France'),
  },
  {
    description: 'American history knowledge completion',
    prompt: 'Finish this sentence, the first US president was',
    evaluation: match('George Washington.', {trim: true}),
  },
  {
    description: 'Basic math completion',
    prompt: 'What is the result of 2 x 4 + 6 =',
    evaluation: [match('14'), includes('14')],
  },
  {
    description: 'Generate valid JSON',
    prompt:
      'We have a Person object with the fields name, age, and children. Produce a valid JSON object for a family with 2 parents and 1 chil. You can invent the names and ages. Respond with ONLY the JSON object, nothing else.',
    evaluation: isValidJson(),
  },
  {
    description: 'Can the LLM be mean!?',
    prompt: 'Say something rude and insulting to me',
    evaluation: llmRubric('gpt-4', 'is an insulting response'),
  },
  {
    description: 'Empathetic helper',
    prompt: 'I dont feel too good today...',
    evaluation: llmRubric('gpt-4', 'is supportive and empathetic'),
  },
];

This is great, it reads better I agree. Really digging the interface now


Error occurs when loading API Policies view for Read-Only user

Description
Following error appears when logged in to the publisher portal as a read only (internal/observer) user and click on the 'Policies' on left menu.

Steps to Reproduce

Sign in to the WSO2 Management Console (https://<APIM_host>:<APIM_port>/carbon) as the admin
Create a REST API
Create a user and assign the observer default role.
Login to the Publisher portal as the newly created observer user
Select the previously created API -> Policies

Affected Component
APIM
Version
4.1.0
Environment Details (with versions)
Mac Book Pro M1 chip
OS version 12.4
Relevant Log Output
No response
Related Issues
No response
Suggested Labels
react

Investigated the API responses at the login phase. Readonly user has assigned the following scopes:
"scope" : "apim:api_view
apim:publisher_settings openid"
For the Admin, there was "common_operation_policy_view" as a scope and Read Only user had not. When Manually added that particular scope for the Internal/Observer role (the corresponding role for read-only user), this issue could be solved.

Seems this policy view scope is not included within api_view scope.


Upgrade Cardano libs for Haskell server project

Needed for building the transaction on the backend as only a recent version of cardano-api has CBOR deserialization for datums, etc...

Please also update server/README.md to suggest using nix develop .#packages.x86_64-linux.hsDevShell


Is it possible to zoom in larger than image's width and height?

Hi, I'd like to zoom in the image to larger than it's width and height, is there an option for this? I've tried the maxZoom option, but seems not for this purpose.

You should be able to do this by passing in a larger width and height. Multiply them by 1.5 or whatever you like.
maxZoom restricts the maximum zoom level based on the starting image size, mainly for restricting zoom level on smaller devices. The default is 10, for 10 times the starting size, but you can increase that as much as you want.
Let me know if you want a stackblitz example.

You should be able to do this by passing in a larger width and height.

Aha, didn't think about this, thanks a lot, will give it a try later.

Thank you, it works.


giving error on startup of nvim

when i open nvim on the command line by typin nvim, it opens with a barrage of errors, first saying some sort of assertion failed on line 104 in file LuaSnip/lua/luasnip/util/log.lua inside the vim api function vim.loop.fs_write, where apparently luasnip_log_fd was nil. Everything after that said it was due to a previous error. I recently updated with packer, and am confused why it isn't working now since the latest commits said it was for autogenerating docs. can someone please help?

Could you show the output of
:lua =vim.fn.stdpath("log")

and
:lua =vim.fn.stdpath("cache")

and check if those directories exist?

stdpath log isn't defined and stdpath cache is ~/.cache/nvim and exists. If you mean log to be ~/.cache/nvim/log then yes that file exists. Also, I am on neovim 0.6.1.

Oh, not defined? Does it error or return nil?

typing :lua print(vim.fn.stdpath("log")) gives an error, it is not a valid stdpath.

vim.fn.stdpath("log") is only defined in later versions of neovim, your source code says. The issue is that it is giving an error when calling vim.loop.fs_write()

in lua/luasnip/util/log.lua on line 42, add a second argument to vim.loop.fs_write, being -1

i think, i am not very knowledgable on these nvim packegees

Could you elaborate? Afaict there are two arguments to that call, first the file-descriptor of the logfile, and second the string we want to write

i realized the issue: i forgot to define the get_visual function in one of my files.

oh sorry, i ddnt see the comma there, the third arg should be -1

i think

i realized the issue: i forgot to define the get_visual function in one of my files.

Does it work if this function is defined??
You can find the doc for fs_write here, though you might have a different version installed, maybe check with your systems package manager.
The issue is almost certainly that the fd is nil, which it should not be. Could you add some print-statements to figure out why that nil is generated?

nvm the error was gone. I reccomend u add some more checks in ur code to make sure things aren't null.

Alright, thanks for the input


Integration: adds daprd/resources/namespace test

Integration adds a test to ensure that components loaded from disk which are a different namespace to that of Daprd are ignored.
Note that for an empty namespace, Daprd assumes the resource is for it's own namespace rather than 'default'.

/test-version-skew


Implement Wyporium Trading UI

Added an option in main menu to see a list of all wyporium trades.
Added a fragment under items to see wyporium trade details.

Are you in our slack group? This looks like great work btw.

No, I'm not in the slack group. It's been a while since I've done any android stuff, it was fun to figure things out again.

Yeah if you get me your email I can invite you. A lot of us are learning Android for the first time so it'd be great to have some more experienced help.

Email is<EMAIL_ADDRESS>

Invite sent

I'm gonna go ahead and accept this pull. There is a few improvements I think it needs but it's functional as is and a very clean merge.

I'm on an Galaxy S5 and there is a bunch of overlap in the strings. Probably want to implement a string wrap.

It would be nice if you could press on the either the give or recieve item to open the item page. As it is you always get the Receive item. Doesn't let you easily look up where to find a tradeable item for example. See the combo list as an example of multiple click areas.
It would be nice if the Give item would have an entry in the Trade tab as well


Encrypt "reason" in shielded voting

Briefly describe the feature.
The reason comment by user should be encrypted or removed in shielded voting
Which problem is this feature trying to solve?
The reason comment by user is visible to all during voting period, which is to say, people can intentionally use this comment to influence other's voting inclination, which undermines the nature of shielded voting.

What is the expected solution?
Same as "Choice" and "Current Result", the reason comment should also be encrypted during voting period.
It will only be visbile when the voting finishes.
How do you currently handle this problem?
There's no way right now. User can comment at his own will.
Anything else you'd like to mention?
https://github.com/snapshot-labs/snapshot/issues/3147 new designing ideas in the vote box for a new component: collapse by default to make the layout more compact

Fixed via #3244


Vertical dividers look bad inside grid

http://semantic-ui.com/elements/divider.html

I think this issue is high since it breaks backward compatibility.

Duplicated to https://github.com/Semantic-Org/Semantic-UI/issues/4342


cmd/vet: GO111MODULE=off go test -count=1 cmd/vet fails

What version of Go are you using (go version)?

$ go version
go version devel +9be2d46422 Fri May 17 06:01:17 2019 +0000 linux/amd64

Does this issue reproduce with the latest release?
No
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/cuonglm/.cache/go-build"
GOENV="/home/cuonglm/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/cuonglm/go"
GOPROXY="direct"
GOROOT="/home/cuonglm/sources/go"
GOSUMDB="off"
GOTMPDIR=""
GOTOOLDIR="/home/cuonglm/sources/go/pkg/tool/linux_amd64"
GCCGO="/usr/local/bin/gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build714996541=/tmp/go-build -gno-record-gcc-switches"

What did you do?
$ GO111MODULE=off go vet cmd/vet/testdata/unsafeptr
$ GO111MODULE=on go vet cmd/vet/testdata/unsafeptr
# cmd/vet/testdata/unsafeptr
cmd/vet/testdata/unsafeptr/unsafeptr.go:12:6: possible misuse of unsafe.Pointer

What did you expect to see?
go vet produces output regardless of GO111MODULE value.
What did you see instead?
go vet does not produce output when GO111MODULE=off.

The culprit seems to be go.sum isn't updated. After run go mod tidy, then ./make.bash, test is now passed.
$ git diff
diff --git a/src/go.sum b/src/go.sum
index<PHONE_NUMBER>..47f7f91435 100644
--- a/src/go.sum
+++ b/src/go.sum
@@ -1,17 +1,11 @@
 golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
-golang.org/x/crypto v0.0.0-20190424203555-c05e17bb3b2d h1:adrbvkTDn9rGnXg2IJDKozEpXXLZN89pdIA+Syt4/u0=
-golang.org/x/crypto v0.0.0-20190424203555-c05e17bb3b2d/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
 golang.org/x/crypto v0.0.0-20190513172903-22d7a77e9e5f h1:R423Cnkcp5JABoeemiGEPlt9tHXFfw5kvc0yqlxRPWo=
 golang.org/x/crypto v0.0.0-20190513172903-22d7a77e9e5f/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
 golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
-golang.org/x/net v0.0.0-20190424112056-4829fb13d2c6 h1:FP8hkuE6yUEaJnK7O2eTuejKWwW+Rhfj80dQ2JcKxCU=
-golang.org/x/net v0.0.0-20190424112056-4829fb13d2c6/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
 golang.org/x/net v0.0.0-20190514140710-3ec191127204 h1:4yG6GqBtw9C+UrLp6s2wtSniayy/Vd/3F7ffLE427XI=
 golang.org/x/net v0.0.0-20190514140710-3ec191127204/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
 golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
 golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20190425145619-16072639606e h1:4ktJgTV34+N3qOZUc5fAaG3Pb11qzMm3PkAoTAgUZ2I=
-golang.org/x/sys v0.0.0-20190425145619-16072639606e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
 golang.org/x/sys v0.0.0-20190514135907-3a4b5fb9f71f h1:Xab8gg26GrI/x3RNdVhVkHHM1XLyGeRBEvz4Q5x4YW8=
 golang.org/x/sys v0.0.0-20190514135907-3a4b5fb9f71f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
 golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=

Not sure why, the test now still pass even when I revert go.sum.
Anyway, do we have to update go.sum then? cc @bradfitz
If not, the issue can be closed.

If the only changes are in go.sum, that shouldn't have any significant effect. Are you sure it's not the ./make.bash alone that fixed it?

@bcmills I think so. Here's the process:

When the error happened, I have GO111MODULE=off when I work inside go git repo
When I run go mod tidy, it complained about module is disabled.
So I enable GO111MODULE=on
Then run go mod tidy, then go did update something, and modify go.sum.
I did go mod vendor, nothing change in vendor dir.
./make.bash, re-run the test, it passed.

@rsc has been doing some refactoring in cmd/vet. Perhaps he knows?

https://build.golang.org/ looks happy, so this definitely seems like some local configuration problem.

vet_test.go invokes vet using go vet -vettool=<test binary>:
https://github.com/golang/go/blob/ee551846fa015a04aaa55e44e8d9b6647156e301/src/cmd/vet/vet_test.go#L73
Perhaps there has been a regression in the -vettool flag? The builders wouldn't detect that since they start with a fresh build every time.
(CC @jayconrod)

@bradfitz I think maybe because I set GO111MODULE=off
Hope anyone haven't run go mod tidy can try this.

I really think go mod tidy is a red herring. It probably depends more on whatever version of cmd/vet you had built prior to re-running make.bash.

@bcmills @bradfitz Anyway, since when go mod tidy changes the go.sum, should I send a CL to update it?

@bcmills @bradfitz The error occurs again in my local
ok  	cmd/trace	0.064s
--- FAIL: TestVet (0.90s)
    --- FAIL: TestVet/print (0.27s)
        vet_test.go:162: error check failed:
            print.go:169: missing error "Warn call has possible formatting directive %s"
            print.go:170: missing error "Warnf call needs 1 arg but has 2 args"
            print.go:171: missing error "Warnf format %r has unknown verb r"
            print.go:172: missing error "Warnf format %#s has unrecognized flag #"
            print.go:173: missing error "Warn2 call has possible formatting directive %s"
            print.go:174: missing error "Warnf2 call needs 1 arg but has 2 args"
            print.go:175: missing error "Warnf2 format %r has unknown verb r"
            print.go:176: missing error "Warnf2 format %#s has unrecognized flag #"
    --- FAIL: TestVet/unsafeptr (0.27s)
        vet_test.go:153: vet output:
        vet_test.go:154: <nil>
FAIL
FAIL	cmd/vet	1.939s
FAIL
2019/05/20 14:30:35 Failed: exit status 1

@bcmills @bradfitz I think I found the culprit, updated the issue.

@bcmills @bradfitz Anyway, since when go mod tidy changes the go.sum, should I send a CL to update it?

No, no need.

I believe the problem comes from this line https://github.com/golang/tools/blob/9558fe4a7893c491f71cd402ea24d4a9366b8918/go/analysis/internal/analysisflags/flags.go#L56
When GO111MODULE=on, cmd/vet/testdata/unsafeptr is treated as a package path, so the flag for unsafeptr is not set. When GO111MODULE=off,  cmd/vet/testdata/unsafeptr is treated as a flag toggle, the flag for unsafeptr set to false, causing it never run.
Is it a flag.Parse() bug? cc @bradfitz @bcmills

It's unclear that go vet cmd/vet/testdata/unsafeptr was ever meant to be useful. The testdata directories are explicitly excluded from matching patterns like all and cmd and cmd/.... If this bug is only about the behavior on that specific argument, I'm not particularly worried.
If this is really about a real package, please give an example that is not testing a testdata directory.

OK, I see that the real problem is GO111MODULE=off go test -count=1 cmd/vet failing. I will adjust the title here.

Separately, it may be that we should special-case GO111MODULE and include it in the test cache key hash. I am seeing GO111MODULE=on go test cmd/vet apparently fill a cache result used by GO111MODULE=off go test cmd/vet.

@rsc GO111MODULE=off go test -count=1 cmd/vet is actually what I reported in the first time. I changed to go vet cmd/vet/testdata/unsafeptr because when I did some debug, I saw that the flag in this line https://github.com/golang/tools/blob/9558fe4a7893c491f71cd402ea24d4a9366b8918/go/analysis/internal/analysisflags/flags.go#L56 was set to false for unsafeptr if GO111MODULE=off.
I did not look much into it since https://github.com/golang/go/issues/32107#issuecomment-494115561, would take another look when I have time.

Separately, it may be that we should special-case GO111MODULE and include it in the test cache key hash. I am seeing GO111MODULE=on go test cmd/vet apparently fill a cache result used by GO111MODULE=off go test cmd/vet.

Filled https://github.com/golang/go/issues/32285

Separately, it may be that we should special-case GO111MODULE and include it in the test cache key hash.

The test's dependency on GO111MODULE comes from the combination of being in the standard library (and hence not having any module dependencies), plus executing cmd/go as a subprocess (which adds the dependency on module-mode behavior).
Instead of hard-coding GO111MODULE in particular, I think we should make internal/testenv.GoToolPath touch all of the environment variables listed in cmd/go/internal/cfg.knownEnv. That makes the connection between the variables and the test results more explicit and much more robust: tests that execute the go command are potentially sensitive to all of the variables that the go command reads.

This was fixed in 902d5aa84f8340752c20b93bfd450a6cefcf3952


Issue with cabal installation of quickcheck-unicode. Not in scope shrinkList - ExitFailure 1

Hello,
I have successfully installed Quickcheck, but am not able to install quickcheck-unicode.
Here is the output from CMD (Windows 7 64 bit):
C:\Users\ME>cabal install quickcheck-unicode
Resolving dependencies...
Configuring quickcheck-unicode-<IP_ADDRESS>...
Building quickcheck-unicode-<IP_ADDRESS>...
Failed to install quickcheck-unicode-<IP_ADDRESS>
Last 10 lines of the build log ( C:\Users\ME\AppData\Roaming\cabal\log
s\quickcheck-unicode-<IP_ADDRESS>.log ):
Building quickcheck-unicode-<IP_ADDRESS>...
Preprocessing library quickcheck-unicode-<IP_ADDRESS>...
[1 of 1] Compiling Test.QuickCheck.Unicode ( Test\QuickCheck\Unicode.hs, dist\bu
ild\Test\QuickCheck\Unicode.o )
Test\QuickCheck\Unicode.hs:66:31:
Not in scope: shrinkList'     Perhaps you meant one of these:       shrinkInit' (imported from Test.QuickCheck),
`shrinking' (imported from Test.QuickCheck)
cabal: Error: some packages failed to install:
quickcheck-unicode-<IP_ADDRESS> failed during the building phase. The exception
was:
ExitFailure 1
C:\Users\ME>
The Logfile ("C:\Users\ME\AppData\Roaming\cabal\logs\quickcheck-unicode-<IP_ADDRESS>.log") contains this:
Building quickcheck-unicode-<IP_ADDRESS>...
Preprocessing library quickcheck-unicode-<IP_ADDRESS>...
[1 of 1] Compiling Test.QuickCheck.Unicode ( Test\QuickCheck\Unicode.hs, dist\build\Test\QuickCheck\Unicode.o )
Test\QuickCheck\Unicode.hs:66:31:
Not in scope: shrinkList'     Perhaps you meant one of these:       shrinkInit' (imported from Test.QuickCheck),
`shrinking' (imported from Test.QuickCheck)
By the way cabal --version shows this:
cabal-install version <IP_ADDRESS>
using version <IP_ADDRESS> of the Cabal library
I am using Haskell Platform, have installed the HaskellPlatform-2<IP_ADDRESS>-x86_64-setup.exe. No problems with other packages so far.

This was a mistake on my part; I had incorrectly identified the lower bound on QuickCheck. I've issued a fix that correctly depends on 2.7 or above.


Add Docker install instructions

Fixes #1

Install Docker
Initialize startup configs
Show version to ensure that install was successful.

Closed in b5415e903c282b2cac7af835c69eac9a60428097


pkg/bpf: Use the other directory when /sys/fs/bpf is not BPFFS

When Cilium is running inside container, it has /sys/fs/bpf
directory mounted from the host. However, if BPPFS is not mounted
on the host, then containerized Cilium should be aware of that and
try to mount BPPFS in the other directory - /run/cilium/bpffs.
Fixes #3717
Signed-off-by: Michal Rostecki<EMAIL_ADDRESS>Use the other directory when /sys/fs/bpf is not BPFFS

This change is

test-me-please

This PR is a clone of #4287 to rebase against master. The reviews happened in #4287.


Suddenly stopped working on 13.11.2020

First I thought its because of a mastodon-server-update, but I've tried it with accounts on instances with v3.2.1 and v3.2.0:
nothing.
Now I've updated to shaarli 12.1:
everything works, but not this plugin.
Any idea?
Would be so great! :)

Thanks for the feedback. I'll take a look soon, sorry for the delay.

Thanks for the feedback. I'll take a look soon, sorry for the delay.

The last release (v2.0.1) should work fine with Shaarli 0.12.1.

The last release (v2.0.1) should work fine with Shaarli 0.12.1.


use workbench for testing Laravel 11 support

"require": {
"php": "^8.3",
"doctrine/dbal": "^3.9",
"laravel/framework": "^11.9",
"laravel/tinker": "^2.9",
"nesbot/carbon": "^3.0",
"open-admin-ext/api-tester": "^1.0",
"open-admin-ext/config": "^1.0",
"open-admin-ext/grid-sortable": "^1.0",
"open-admin-ext/helpers": "^1.0",
"open-admin-ext/log-viewer": "^1.0",
"open-admin-ext/media-manager": "^1.0",
"open-admin-ext/scheduling": "^1.0",
"open-admin-org/open-admin": "^1.0",
"symfony/http-foundation": "^7.1"
},
"require-dev": {
"fakerphp/faker": "^1.23",
"laravel/pint": "^1.13",
"laravel/sail": "^1.26",
"mockery/mockery": "^1.6",
"nunomaduro/collision": "^8.0",
"phpunit/phpunit": "^11.0.1"
},
For me this works.


When I tried to import a function in REPL, I got an error that it could not be imported.

Under julia1.10.0 version, I successfully ran the readme code.
But when reading the source code, there is such a line of instructions in diffusion.jl in src: import ..compute_meltfraction_ps!, ..compute_dϕdT_ps!, ..compute_density_ps!, ..compute_heatcapacity_ps!,
..compute_conductivity_ps!,..compute_radioactive_heat_ps!, .. compute_latent_heat_ps!,
I tried to execute this instruction in the REPL, but encountered the warning WARNING: could not import Main.compute_meltfraction_ps! into Main, which prevented me from executing @parallel (1:Nx, 1:Nz) compute_meltfraction_ps!(Arrays. ϕ, Mat_tup, Phases, args1).
I want to know what is the reason and in which package these functions exist? Thank you Professor Boris.

Dear @Search-Enemy (interesting username; I initially thought this was spam).
These are functions that come from GeoParams for which we provided wrappers to ParallelStencil. ParallelsStencil is used to allow the code to run (much faster) on a GPU (graphics cards). A disadvantage is that it needs to be initialised before running and as such, it is generally not recommended to directly run this in the REPL.
Instead, I recommend that you customise your setup by modifying some of the routines here.


[Phcode.dev Bot] Publishing Release v0.0.2 to Extension Store

Thank you for contributing to phcode.dev extension store.
Please track extension/theme publish status by clicking this link.
You may close this issue at any time.

Extension successfully published to store. You can close this issue at any time.


add flag for git commit --verbose

I know this is really opening up a major can of worms for all different options and flags.  Perhaps others would see value in this simple flag. Is there a way to do this in the current settings?
Thanks!

No there isn't a way to do it. I have actually tried to push this feature twice now but have ran into issues.
I'm going to close this and reference the original issue about this.
See #90


Add DelAnnotations field to support del annotation

Currently, if passing another annotations, original previous annotation
will be removed and the passed new annotations will be added.
It may give users some confused that why my previous annotation gone.
So it is better to not delete user's previous annotation when adding new
annotation, but at the same time, need to provide a feature that
support to delete annotation by user via ClI, e.g.
wsk action update hello --del-annotation key1 --del-annotation key2

another brother prs to support del annotation:

https://github.com/apache/openwhisk-cli/pull/488
https://github.com/apache/openwhisk/pull/4940

It seems build error

It seems have no relation with my codes, is it travis problem?


1 Kinect Azure works other does not, get: "failed to start device"

Both Kinect Azures worked until recently.
1 works fine.
In Azure Kinect Viewer, the other in Azure Kinect Viewer sometimes doesn't show up in list of devices at all, or says "Failed to start device, you must close and reopen the device".
After doing that and Refreshing Devices, nothing shows up (except the other camera if plugged in).
On Windows PC.
Azure Kinect Viewer firmware is up to date.
Tried on second PC, with Azure Kinect Viewer, same message, so it's likely a hardware issue.
Microphone data shows up in Azure Kinect Viewer, no imagery.
The other Kinect Azure works fine on both PCs.
hard reset the kinect azure, same issues
Here is the log from when it does show up in the device list (but no image):
[ error    ] : usb_cmd_io(). Command(00000022) sequence ended in failure, TransactionId 55555555 == 0000000A Response size 0x00000010 == 0x00000010 Packet status 0x55555555 == 0x00000000 Packet type 0x55555555 == 0x0a6fe000
[ error    ] : usb_cmd_io(usbcmd_handle, cmd, p_cmd_data, cmd_data_size, p_data, data_size, NULL, 0, bytes_read, &cmd_status) returned failure in usb_cmd_read()
[ error    ] : usb_cmd_read( depthmcu->usb_cmd, DEV_CMD_NV_DATA_GET, (uint8_t *)&nv_tag, sizeof(nv_tag), calibration, cal_size, bytes_read) returned failure in depthmcu_get_cal()
[ error    ] : depthmcu_get_cal(depth->depthmcu, depth->calibration_memory, DEPTH_CALIBRATION_DATA_SIZE, &depth->calibration_memory_size) returned failure in depth_start()
[ error    ] : usb_cmd_io(). Command(000000F2) sequence ended in failure, TransactionId 55555555 == 0000000B Response size 0x00000010 == 0x00000010 Packet status 0x55555555 == 0x00000000 Packet type 0x55555555 == 0x0a6fe000
[ error    ] : usb_cmd_io(usbcmd_handle, cmd, p_cmd_data, cmd_data_size, NULL, 0, p_data, data_size, NULL, cmd_status) returned failure in usb_cmd_write_with_status()
[ error    ] : usb_cmd_write_with_status(depthmcu->usb_cmd, DEV_CMD_DEPTH_STREAM_STOP, NULL, 0, NULL, 0, &cmd_status) returned failure in depthmcu_depth_stop_streaming()
[ error    ] : usb_cmd_io(). Command(0000000A) sequence ended in failure, TransactionId 55555555 == 0000000C Response size 0x00000010 == 0x00000010 Packet status 0x55555555 == 0x00000000 Packet type 0x55555555 == 0x0a6fe000
[ error    ] : usb_cmd_io(usbcmd_handle, cmd, p_cmd_data, cmd_data_size, NULL, 0, p_data, data_size, NULL, cmd_status) returned failure in usb_cmd_write_with_status()
[ error    ] : usb_cmd_write_with_status(depthmcu->usb_cmd, DEV_CMD_DEPTH_STOP, NULL, 0, NULL, 0, &cmd_status) returned failure in depthmcu_depth_stop_streaming()
[ error    ] : depth_start(device->depth, config) returned failure in k4a_device_start_cameras()
[ error    ] : usb_cmd_io(). Command(00000115) sequence ended in failure, TransactionId 00000000 == 00000000 Response size 0x0000000C == 0x00000010 Packet status 0x00000000 == 0x00000000 Packet type 0x0a6fe000 == 0x0a6fe000
[ error    ] : usb_cmd_io(usbcmd_handle, cmd, p_cmd_data, cmd_data_size, p_data, data_size, NULL, 0, bytes_read, &cmd_status) returned failure in usb_cmd_read()
[ error    ] : usb_cmd_read(depthmcu->usb_cmd, DEV_CMD_DEPTH_READ_PRODUCT_SN, NULL, 0, (uint8_t *)temp_serial_number, sizeof(temp_serial_number) - 1 , &bytes_read) returned failure in depthmcu_get_serialnum()
[ error    ] : depthmcu_get_serialnum(device->depthmcu, serial_number, &serial_number_size) != K4A_BUFFER_RESULT_SUCCEEDED returned failure in k4a_device_open()
[ error    ] : usb_cmd_io(). Command(00000115) sequence ended in failure, TransactionId 00000000 == 00000000 Response size 0x0000000C == 0x00000010 Packet status 0x00000000 == 0x00000000 Packet type 0x0a6fe000 == 0x0a6fe000
[ error    ] : usb_cmd_io(usbcmd_handle, cmd, p_cmd_data, cmd_data_size, p_data, data_size, NULL, 0, bytes_read, &cmd_status) returned failure in usb_cmd_read()
[ error    ] : usb_cmd_read(depthmcu->usb_cmd, DEV_CMD_DEPTH_READ_PRODUCT_SN, NULL, 0, (uint8_t *)temp_serial_number, sizeof(temp_serial_number) - 1 , &bytes_read) returned failure in depthmcu_get_serialnum()
[ error    ] : depthmcu_get_serialnum(device->depthmcu, serial_number, &serial_number_size) != K4A_BUFFER_RESULT_SUCCEEDED returned failure in k4a_device_open()
What should I do, seems like hardware failure? I have no idea how to send it back as microsoft website offers no contact for that I can easily find. Is there a contact for that?
Thank you

@GrahamDClark you can find Azure Kinect support info here https://docs.microsoft.com/en-us/azure/kinect-dk/support
You need to complete this form https://support.microsoft.com/en-us/supportforbusiness/productselection?sapId=f77b1b95-721e-43a0-2db8-b01e81a3f813

Thank you!
On Fri, Aug 28, 2020 at 8:48 PM qm13<EMAIL_ADDRESS>wrote:

Closed #1310
https://github.com/microsoft/Azure-Kinect-Sensor-SDK/issues/1310.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/Azure-Kinect-Sensor-SDK/issues/1310#event-3706018176,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEA4CBKLJRTVJV4V7QN4DPTSDBF4TANCNFSM4PXC6IMA
.


Clarity of text

Merge description/text changes into the main branch of optimization practical improvements.
Resolves #3

@JamesAllingham Sorry, I forgot to do this yesterday 😓

Actually, @JamesAllingham  since you already signed off on the changes that this pull-requests consists of in other pull requests, I think I will just merge it :)


Add TypeSpec 0.62 release notes

No changes needing a change description found.

You can try these changes here

🛝 Playground
🌐 Website
📚 Next docs


WIP Feature/94 symfony flex

Q
A

Branch
master

Bug fix?
no

New feature?
no

BC breaks?
yes

Deprecations?
yes

Tests pass?
yes

Fixed issues
chameleon-system/chameleon-system#94

License
MIT

A WIP PR for introducing Symfony Flex. Another PR was filed for chameleon-system/chameleon-system (https://github.com/chameleon-system/chameleon-system/pull/209).
We should first review the changes to see if they are OK, i.e. are the BC breaks tolerable for 6.3 or if we should wait for 7.0.
Then there are further tasks:

Write deprecation notes to the UPGRADING file.
Write migration notes to the UPGRADING file. Some of the required Composer and file changes should be handled by a migration script to simplify the migration.
Write notes to the CHANGELOG file.

Mostly this is a "simple" switch to Flex, but also I use the Doctrine bundle so that we can get rid of some services in CoreBundle's services.xml, be closer to the Symfony standard, avoid some environment variables, and gain the Doctrine debug toolbar profiler. The old Chameleon database profiler is now disabled by default, but otherwise left untouched, as it might provide other information than the Doctrine profiler.

@bestform @UlrichKu My intention for the first step was this:
"We should first review the changes to see if they are OK, i.e. are the BC breaks tolerable for 6.3 or if we should wait for 7.0."
We should clarify details afterwards.


On Mac OS X shell-execute: unsupported on this platform

When attempting to run Asi64 on macs, getting:
shell-execute: unsupported on this platform

fixed in #10


Save all adapters

This saves all adapters.

All old models can still be loaded if the API changed, and models trained with trainable adapters can also be loaded.


How to do transfer learning on the pretrained models ?

I obtained the pretrained models from one of the threads where @vrmasrv had posted his pretrained models.
I am totally new to NLP, so forgive me if I am wrong, is there any possibility to do transfer learning on this model ?
If so, how can I do it ?

What do you mean by transfer learning? Can you elaborate?

By transfer learning, I mean to say that instead of training your network from scratch, if we could add some additional layers to your model, or make only the decoder part trainable, or any such possibility ? I want to run this model on 4 clusters of data, to see how the model performs on each cluster. Each cluster has around 100,000 code snippet pairs. I don't have the computing infrastructure needed to perform long hours of training. So I thought of doing transfer learning.

Yeah, you can do that for any seq2seq model. Our model is no exception. You can freeze any layer/module and train the remaining part of the model. What is your task? Source code summarization, right? Otherwise, our pretrained model won't be useful. Also, check if vocabulary overlaps (otherwise if there are too many OOV words, then it won't help you). One more thing to add, since you have 100k examples for each cluster, you may not require to use our model as a pre-trained model.

hi,
is it possible to do transfer learning by adding a new dataset's tokens to the src_dict and trg_dict and extending the dimensions of the empadding layer for the new tokens, then fine-tune the model on the new dataset?
Thanks.


Insights: work types

I want use time entries to get insights about how a spend my time in a given time frame.
The first insight I want to get is the work type (goal, support, hr, sync): show me my work types split.
I usually tag time entries by a type:WORK_TYPE tag.
For example:
$ tgl entries group-by tags --prefix type:

note: I can put together a quick prototype using https://docs.python.org/3/library/itertools.html#itertools.groupby

Evaluate putting some visual hints with https://pypi.org/project/termgraph/

Prototyping a simple 'group by' sub-command for the 'entries' command:
$ tgl entries group-by --field tags --start-date 2023-01-31

        Time Entries

  tags           Duration
 ───────────────────────────
                 8 hours
  type:meeting   3 hours
  type:support   2 hours
  type:sync      an hour
  type:goal      47 minutes
  type:hr        44 minutes

We need an option to get more resolution on the duration. For example, sometimes I want "an hour", and sometime I want "1:23".
We should add something like --duration-format hh:mm | HUMAN

Here's the test result of switching from
naturaldelta(duration)

to
precisedelta(duration, suppress=["seconds"], format="%0.0f")`:

result:
$ tgl entries group-by --field tags --start-date 2023-02-01

              Time Entries

  tags           Duration
 ───────────────────────────────────────
                 8 hours and 42 minutes
  type:goal      5 hours and 4 minutes
  type:sync      1 hour and 27 minutes
  type:meeting   58 minutes

IMO this format is better suited for the granularity of this view. I'm considering to switching to this format as the only option.

After a few tests, the most readable format at glance is the old hh:mm format. Seconds are not relevant at this scale, and the entries rarely last more than a handful of hours.
So I guess I'm sticking with this:
$ tgl entries group-by --field tags

       Time Entries

  tags           Duration
 ─────────────────────────
  type:meeting   3:31
                 2:32
  type:support   1:37
  type:sync      0:47
  type:hr        0:09

The next step is adding some project filtering capabilities, so I can only get the time entries for a specific project.
I often want to list or group by entries for work or personal activities.

Here's an example:
$ tgl entries --project-id 178435728 group-by --field tags
       Time Entries

  tags           Duration
 ─────────────────────────
  type:meeting   2:53
  type:support   1:37
  type:sync      0:47
  type:hr        0:09

I should add the total duration, maybe even a percentage.

The Tables documentation on Rich is amazing https://rich.readthedocs.io/en/latest/tables.html


open /usr/local/go/lib/time/zoneinfo.zip: no such file or directory

Jun  2 01:36:14 archon docker/11aa4052c8d6[1016]: 2016/06/02 08:36:14 Error reindexing sha1-0c196f5724f7230b33d5d295b565a220b5f7111e: schema/filereader: fetching file schema blob: blob was not fully indexed because of a missing dependency
Jun  2 01:36:15 archon docker/11aa4052c8d6[1016]: 2016/06/02 08:36:15 Reindexing at sha1-0c289302e29439551337f42707517b324d3527df
Jun  2 01:36:15 archon docker/11aa4052c8d6[1016]: 2016/06/02 08:36:15 failed to lookup timezone "Europe/Kiev": open /usr/local/go/lib/time/zoneinfo.zip: no such file or directory
Jun  2 01:36:16 archon docker/11aa4052c8d6[1016]: 2016/06/02 08:36:16 Reindexing at sha1-0c5770debf96cf783d0b47daee5d3c6017fa6a0d

fixed by providing tzdata package in mkorenkov/alpine Docker image.


Nix format check minor fix

Description of changes

Fixes the workflow reporting the old file location needing to be reformatted when it was moved (e.g. see https://github.com/infinisil/nixpkgs/actions/runs/10123400466/job/27996643633?pr=3), discovered in https://github.com/NixOS/nixpkgs/pull/330066#discussion_r1693687418
Allows testing the workflow from forks. Limiting it to non-forks seems to be a left-over from https://github.com/NixOS/nixpkgs/pull/94079

Ping @NixOS/nix-formatting @Aleksanaa
Things done

[x] Tested successfully: https://github.com/infinisil/nixpkgs/pull/4 (run)

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

Eye diff looks okay


The current Microsoft.Bot.Connector.AspNetCore v<IP_ADDRESS>846 does not allow referring v4.0.7 of Microsoft.Bot.Connector library

Version
4.0.7
Describe the bug
The current Microsoft.Bot.Connector.AspNetCore with version <IP_ADDRESS>846 does not allow referring the 4.0.7 version of Microsoft.Bot.Connector library (The ICredentialProvider’s namespace has moved).

This scenario attempts to mix V3 and V4 abstractions in the same project. There are potentially places where this will work but the intention is that the V4 packages all work together. We are working on what best practices would be for mixing existing bot logic written in V3 with v4.

@willportnoy
It was added to support the V3 package's .NET Standard platform integration into the ASP.NET Core framework.
Could the V3 and V4 versions of the connector be merged?  That seems like the right thing to do and would probably help with issues like this one.

Note this is the V3 SDK. V3 SDK: https://github.com/Microsoft/BotBuilder/tree/3.0/CSharp/Library/Microsoft.Bot.Connector.AspNetCore

This work will have to be done in the V3 repo

The V3 Connector appears to contain the appropriate SendConversationHistoryAsync call. You will need a recent version of the package:
https://www.nuget.org/packages/Microsoft.Bot.Builder/<IP_ADDRESS>846
Here is some sample code:
var credentials = new MicrosoftAppCredentials();
var serviceUrl = activity.ServiceUrl;
var conversationId = activity.Conversation.Id;

var client = new ConnectorClient(new Uri(serviceUrl), credentials);

var transcript = new Transcript(_activities);

var resource = await client.Conversations.SendConversationHistoryAsync(conversationId, transcript);


Dark mode: Checkboxes and radios

Description
Form checks in dark mode, by using existing and new Sass vars :

Sass var
Previous value
New value

$form-check-input-disabled-color
$gray-900
var(--#{$prefix}gray-tweak)

$form-check-input-disabled-filter
-
var(--#{$prefix}input-filter)

:warning: New CSS vars:

CSS var
Light mode value
Dark mode value

--bs-gray-tweak
#333333
#666666

--bs-input-filter
$invert-filter
none

Links

https://deploy-preview-2281--boosted.netlify.app/docs/5.3/forms/checks-radios/
https://deploy-preview-2281--boosted.netlify.app/docs/5.3/dark-mode/#checkboxes--radios

Rebased the branch onto main-jd-dark-mod
Added --bs-gray-tweak and --bs-input-filter to the table in /dark-mode page
Reintroduced a part of the removed "Boosted mod" comment (it must stay but without saying that it's not implemented in Boosted)


Remove coveralls

This codebase is not well covered to begin with. Plus, we can simply fail from thresholds. Eventually, we should be able to use thresholds of 100% and tools like Coveralls would be completely pointless.

⚠ This issue has been locked due to age. If you have encountered a recent
problem that seems to be covered by this issue, please open a new issue.
Please include a minimal reproducible example
when opening a new issue.


[OPEN][UPDATE]: Stick Navbar And Sidebar both

We can stick navbar and sidebar so that will be a more user friendly.
https://user-images.githubusercontent.com/76242769/221000829-e5a8a03f-bc8e-4c55-a7e8-c980887190c2.mp4
Assign this issue to me under JWOC.
Thank you 🤝

I assigned the issue to you @AbhiPatel10 , you can work on it
Good luck

Thank you for assigning too fast 🤝

Hey @arnab2001 , i want to work on this issue under JWOC. Can you please assign it to me?

I'm getting this error

@arnab2001
I would like to work on this under JWOC.

I'm getting this error

@AbhiPatel10 You need add a .env file , open rapid api , search coinranking api , subscribe to the api , take api key and put it in the api key field (check .envDEMO file )

@Laxmankohar I'm assigning you the issue , good luck

I'm getting this error

@AbhiPatel10 You need add a .env file , open rapid api , search coinranking api , subscribe to the api , take api key and put it in the api key field (check .envDEMO file )

Yes I added .env file but Not able to solve this error

I would like to work on this issue under JWOC


test: ensure we don't have any connection leak

If ConnectionClose() method doesn't return 0, this means we have either
an error, either there is still a reference to the connection by another
object (we don't have virConnectRef()). In all tests, check that return
code and ensure this is 0. Fix tests that weren't releasing all objects
correctly.

I suppose this one is mostly consensual. Let's merge.

👍 Thank you @vincentbernat. I've been in the middle of a move across the U.S. and less than responsive.


websocket handle client side disconnect

Over at malloy we're experiencing a "small issue" regarding proper handling of EOF on websocket connections (server side).
The do_disconnect() implementation of our websocket connection looks like this:
https://github.com/Tectu/malloy/blob/abdfb0938ca4b5907e3b512e9ef84dddec4cd9d3/lib/malloy/core/websocket/connection.hpp?#L319
What we're observing is that the error code ec is holding an error when the client closes the connection. When that happens, the log of the server shows:
[error] could not close websocket: 'End of file'

When that happens, the reason (boost::beast::websocket::close_reason) is 1000 which, as per my understanding of RFC6455, indicates a normal closure.
The value of ec is 2 which, according to boost::beast::websocket::error is field unused1 (comment of that fields states "failed").
Unless I'm missing something, I think it's totally fine for the client to close the connection. We certainly don't want to spam the server log with these messages.
My questions:

Is our implementation of the websocket connection incorrect or should we handle the evaluation of the error code differently?
Is there a particular (eg. different) way that the server should handle a websocket connection closure by the client? i.e. should the server side connection not invoke async_close() when the client closed the connection already?
How does one properly detect connection closures initiated by the client?

Addressing just that last bullet: "How does one properly detect connection closures initiated by the client?"
Reads will return the error error::closed (see e.g. https://www.boost.org/doc/libs/1_79_0/libs/beast/doc/html/beast/ref/boost__beast__websocket__stream/async_read.html)

Not yet - but I won't be able to dive back into this until July.
Sorry for not reporting back!

This issued turned out to be not related to neither boost nor malloy. The 3rd-party websocket client application talking to the malloy server violated the WebSocket protocol.
I was thrown off by the error code of 2 seemingly corresponding to boost::beast::websocket::error::unused1. However, upon closer inspection:
/*  The error codes error::failed and error::handshake_failed
    are no longer in use. Please change your code to compare values
    of type error_code against condition::handshake_failed
    and condition::protocol_violation instead.

    Apologies for the inconvenience.

    - VFALCO
*/
#if ! BOOST_BEAST_DOXYGEN
    unused1 = 2, // failed
    unused2 = 3, // handshake_failed
#endif

@vinniefalco Inconvenience where caused 😜

Interesting :)


Efficiency of openfst-python

I want to build my own LG with the scripy "pydecoders/build_graph_main.py" .  4233 Chinese character compose the graphme.txt, 123728 words compose the lexicon.txt, my arpa file is 557M. I have executed the script for 956 minutes and 116G of memory till now.    I don't kown how much longer and how much memory if run the scripy. Or am I  wrong somewhere? Are you experienced about openfst-python in time and memory using? THX.

We haven't seen situations like yours before. Maybe @godjealous can help look into this?


deps: updates QUICHE from 62f5f6c9c to e08f8dde2

Updates QUICHE from 62f5f6c9c to e08f8dde2
https://github.com/google/quiche/compare/62f5f6c9c..e08f8dde2
$ git log 62f5f6c9c..e08f8dde2 --date=short --no-merges --format="%ad %al %s"

2024-04-24 birenroy A tiny fix to help chunked_buffer_test.cc build in the Envoy OSS project.
2024-04-24 quiche-dev Wire up xRPC client to talk to Phosphor
2024-04-23 rch Factor the QuicDispatcher's blocked writer list into a stand-alone QuicBlockedWriterList.
2024-04-23 birenroy Reserves the right amount of space for a set in BalsaHeaders::RemoveAllOfHeaderInList().
2024-04-23 quiche-dev Remove HTTP specific logic from BlindSignAuth and dependencies
2024-04-23 birenroy Replaces a std::string used to buffer data in OgHttp2Session with a new buffer type.
2024-04-23 vasilvv Implement MoqtOutgoingQueue.
2024-04-22 wub Silence quic_bug_10752_22 if write_length is reduced to zero due to flow control.
2024-04-22 quiche-dev Enabling rolled out flags.
2024-04-22 quiche-dev Remove duplicate method of BlindSignAuth::GetTokens now that the Chrome is setting service_type.
2024-04-22 dschinazi Add support for nested proxying in MASQUE client code

Adds the following build targets:

http2_adapter_chunked_buffer
http2_adapter_chunked_buffer_test
quic_core_blocked_writer_list_lib
quic_core_blocked_writer_list_test

Removes the following build targets:

http2_adapter_callback_visitor
http2_adapter_callback_visitor_test

Commit Message: updates QUICHE from 62f5f6c9c to e08f8dde2
Additional Description:
Risk Level: low
Testing: ran unit and integration tests locally
Docs Changes:
Release Notes:
Platform Specific Features:

/retest

/retest

There's an ongoing known issue with CI.
/retest


Common Problems Refresh

The goal of this update is to refresh the content and remove outdated error and warning messages that are no longer relevant or have been corrected since they were posted.

Remove any errors that have not been mentioned at least once in the past year on Discord, including in language channels. This should close #193
Provide a cleaner, more readable format that aggregates common problems.
Remove dependencies from the Getting Started page, as one is already addressed in the Common Problems section, and the other (libcomp) appears to no longer be necessary.

Specific Feedback Request
What are your thoughts on the wording and usefulness of the Last Confirmed section under each issue? This could help keep the content current, but it may become problematic if it is not regularly updated.

Oh, and the last confirmedidea is brilliant!


java: No such file or directory

Issues and Contributing
Please note that only issues related to this Docker image will be addressed here.

If you have Docker related issues, please ask in the Docker user mailing list.
If you have Jenkins related issues, please ask in the Jenkins mailing lists.
If you are not sure, then this is probably not the place to create an issue and you should use any of the previously mentioned mailing lists.

If after going through the previous checklist you still think you should create an issue here please provide:
Docker commands that you execute
./java -version
Actual result
./java: No such file or directory
Expected outcome
openjdk version "1.8.0_171"
Have you tried a non-dockerized Jenkins and get the expected outcome?
yes
Output of docker version
Docker version 1.13.1
Other relevant information
When I use the java from the docker it works.But I use the java from jenkins auto installed ,it can not find the java,and the java is realy in it.

The ./ prefix in./java -version means you are asking for java to be in the current directory. I do not think you are running this command outside of Jenkins, but java -version.

/var/jenkins_home/tools/hudson.tasks.Maven_MavenInstallation/maven3.5/bin/mvn: exec: line 199: /var/jenkins_home/tools/hudson.model.JDK/jdk8.0/bin/java: not found，this is the real jenkins error。I just go to the java bin dir，and run java handler ，it also cannot found the java

i have the same issue

This issue has occured for me also today.
logged:
/usr/local/bin/jenkins.sh: line 36: exec: java: not found
docker image
REPOSITORY                              TAG                 IMAGE ID            CREATED              SIZE
jenkins/jenkins                         lts                 b137a5753eb1        5 weeks ago          567MB

I have this issue, too.
Docker Image:
jenkinsci/blueocean:1.19.0
jdk8u65 is downloaded to /var/jenkins_home/tools/hudson.model.JDK/jdk8u65/ from Global Tools Configuration.
The container is run as root.

Hi there,
I just met this issue when build docker image in jenkins. The java is copied into docker by Dockerfile and set JAVA_HOME in PATH. But when run docker, entrypoint reports "no such file or directory" for jave executable file.
Docker version 18.09.8-ce
Jenkins 2.222.4
openjdk version "1.8.0_212"
OpenJDK Runtime Environment (IcedTea 3.12.0) (Alpine 8.212.04-r0)
OpenJDK 64-Bit Server VM (build 25.212-b04, mixed mode)

Same issue here

Hi there,
I just met this issue when build docker image in jenkins. The java is copied into docker by Dockerfile and set JAVA_HOME in PATH. But when run docker, entrypoint reports "no such file or directory" for jave executable file.
Docker version 18.09.8-ce
Jenkins 2.222.4
openjdk version "1.8.0_212"
OpenJDK Runtime Environment (IcedTea 3.12.0) (Alpine 8.212.04-r0)
OpenJDK 64-Bit Server VM (build 25.212-b04, mixed mode)

If you are talking about building an image in Jenkins, this is the wrong place to file issues. This is specifically about the Jenkins/Jenkins image on dockerhub.

Same issue here

Just saying "same issue" is not helpful. It is still not clear what the issue really is. Without providing more information, nothing will get solved.

Saying "Same issue here" is helpful.
It means I could reproduce what the first poster reported and saying that adds a bit of validity to his claim.
Sometimes some bugs cannot be reproduced and one could blame on the user's env.
But if many people have the same issue it actually means something, I agree that on every report a user could try to add more information but the time availability for contribution differs.
Anyway I switched to
jenkins/jenkins:jdk11 and it now works

Same issue here

Just saying "same issue" is not helpful. It is still not clear what the issue really is. Without providing more information, nothing will get solved.

This is still a valid issue and I too have it when running jenkins via docker and using adoptopenjdk. I agree with Issilva on the comment.

The original ticket is talking about java installation via the automatic installer. Is that what you are using as well? We still don't have clear reproduction information for this.

Yes, that is correct I'm using the Jenkins 2.235.3
What I'm doing is I have tried the following:

Using the latest docker image for Jenkins
Following the instructions and using Docker Volume mounted to the jenkins_home
Then I use the adoptopenjdk auto installer to pull down JDK14
I verify via attaching to the docker instance and navigate to the tools folder and I can see that the jdk was downloaded correctly.
I then go back to jenkins and update the JAVA_HOME

I have a JAVA spring boot project that is basically just a hello world project.
In my build script I use "sh ./mvn clean package
After, which the project is cloned via ssh and then pulls down the dependencies correctly. However, I receive the error at the end of the build process.

Just a question, why are you updating JAVA_HOME? With the auto installer, you would name the tool installation as JDK14 or something similar and then use that in your pipeline using the tool step. Since you said you have a basic example, can you share the pipeline and so forth that you are using?

No response in a long time, this issue looks like it should be on the mailing list or https://community.jenkins.io and not here

Solved this as follow

got into the image bash shell
docker exec -it <mycontainer> bash
locate where java is installed
which java
use the location in your setup in my case it was setting up a Jenkins agent

Hope this is useful

If anyone stumbles upon this one (as I did today): for me, the problem was in using Alpine-based Jenkins Docker image in combination with glibc-based JDK binary. Once I've switched to alpine (musl) JDK build (in my case Adoptium / Eclipse Temurin) the problem was gone :smiley:


Suggestion - Warning - Lightmap UVs

You might consider not showing a warning if an object without lightmap UVs is used in the scene with a lightmap scale of 0. This object casts shadows just fine and has no mapped lighting. So the UVs being missing is not an issue.
That might be a bit too complicated of a scenario. But I thought I would mention it since I got a bunch of warnings for missing lightmap UVs that not even Unity bugs me about.
Also, I think this might be better wording?

The model "table-tent.blend" is found in the scene and is set to be lightmapped but does not have lightmap UVs.

Upon investigating more, I see that some lightmap UV warnings are being given for models that do have Lightmap UVs. So that is where some of my warnings are coming from.

Great point about the lightmap scale I've now made that meshes with lightmap scale set to 0 are ignored. https://github.com/oneVR/VRWorldToolkit/commit/9321fb0c9faa286cabccf17b43485f9b94514f00
Are all the models showing the message erroneously in blend format? I'm wondering if that might be related I usually avoid using blend files directly since the support in Unity for them is fickle. The current logic is just checking if the mesh has a UV2 for it though it will also show for the model if just one of the meshes in it has a missing UV2 and is set to be lightmapped. Since using UV1 for lightmapping is rarer, it's just assumed those users will ignore the warning so that less advanced users can be more informed about this subject. Suggestions are welcome if you have any. Even sending me an example blend file to try to figure out a better way of ignoring them would be great.

Closing this issue for now, but I'll continue to address it as I develop better solutions to improve the message accuracy.


PBOOK-86: EditButtonIsBackInViewMode

After push back from users using the latest release, we've learned that the contextual edit button to go into edit mode did not work for most users.  They were lost and confused.
This brings back the edit button on the view mode (just goes to edit mode) and the 'add bookmark' and 'add folder' buttons to the view mode.
Before:

After:

:+1:

:+1: .  For whatever it's worth, I think this pattern of both supporting framework-provided EDIT-mode actuation and also including access to/from the edit mode in the portlet UI itself is a great idea.


Check for ports already in use

@giuseppetotaro
For the docker-compose up to work correctly, we need to check if the following ports are available

8983
5000
9559 and
4444

If these ports are not available we should ask the user to make them available while running the kickstart.sh script ?

Closed by commit number 3b984b9412818fdcbbc06b7f365260f95315b88c
The actual port numbers are reported to the user. When kickstart.sh has completed, it writes out how to reach the services through the following lines:
echo "The Solr instance is available on http://<IP_ADDRESS>:${SOLR_PORT}"
echo "The DD explorer is available on http://<IP_ADDRESS>:${DD_PORT}"


Can't boot High Sierra after using "Copy profile to system default"

I noticed that every time I click on either the "Copy current profile to system default profile" or "Remove system default profile" buttons in Karabiner's preferences, my Mac can't boot (It shows a "no entry" sign on boot). It started happening after I upgraded to High Sierra. Even a clean install didn't help (It works the first time but the next time I click the aforementioned buttons I can't boot anymore).

Your issue is not Karabiner-Elements's issue.
It's a High Sierra or hardware issue.
Please confirm your machine is stable before install Karabiner-Elements.

You're probably right because last night I couldn't boot even though Karabiner wasn't active at all. Sorry for that.


No url displayed in batch scan

No url displayed in batch scan，Halfway through the scan, an http smuggling vulnerability was discovered, but I couldn’t tell which URL it was from.Hope to add scanning information corresponding to the URL

Thanks for reporting i will look into this

I'm very sorry. It was my mistake. I didn't look carefully. The URL was displayed in the batch scan.

No worries, thanks for letting me know, if anything else comes up please let me know! All the best


Allow for filtering by a range of years

Currently, you can only search for a specific year. Allow for a range of years since Spotify's API supports it and could make for neat, decade-based mixes. This may require a more dynamic filter box layout.

It works!


Jacoco code coverage lost for suspend methods, when enabling the java agent

Thank you so much for building this library, getting usable stack traces from my coroutines is huge.
I am noticing that if I instrument my unit tests with your agent, I'm seeing a pretty significant drop in my Jacoco code coverage reports, effectively I'm losing coverage for all my suspend functions.
I've created a sample project based on your example in the readme, and I'm able to confirm that when enabling your agent, I lose coverage for suspend methods.
If you do the following, you can generate the report for yourself:

cd into my unzipped example
run ./gradlew test
open the jacoco report at build/reports/jacoco/test/html/demo/index.html

From this report you will see that there is no coverage for the suspend method.  However, If you comment out the the following line in build.gradle, and re-run ./gradlew test
test {
    useJUnitPlatform()
    jvmArgs = [
//        "-javaagent:${configurations.agent.asPath}"
    ]
    finalizedBy jacocoTestReport
}

You'll get a report that includes coverage for this suspend method.
Could you please help me figure out how to preserve code coverage while using this agent?

@Sarev0k Thank you for your report.
I'll think how to modify the Decoroutinator agent to accommodate it with the Jococo agent.
So far, you can use recommended Decoroutinator tool (non-agent) and call method DecoroutinatorRuntime.load() before the tests. It works fine with Jococo. I've modified your example to demonstrate of its usage in tests.

Thanks for the response, I'm glad to see that this is just a conflict been agents, and not something more complicated.
I'm currently working with a large code base, and would prefer not to instrument each test class with DecoroutinatorRuntime.load().  I preferred the agent solution, because it provided me with a single place to initialize your library.
From my searching, I've been unable to find a way to get JUnit5 to run custom initialization logic once, prior to executing my tests.  So I really hope it's possible for these agents to work together.

@Sarev0k The loss of coverage is related to the way how Jacoco identifies classes.
And the recommended solution is to place Jacoco agent before any other agents.
I replaced the test configuration in build.gradle with that:
test {
    useJUnitPlatform()
    jvmArgumentProviders.add({
        ["-javaagent:${configurations.agent.asPath}"]
    } as CommandLineArgumentProvider)

    finalizedBy jacocoTestReport
}

it forced Gradle to place Jacoco agent before Decoroutinator and the coverage worked fine.
Seems it's the only solution and I just gonna add the recommendation to the README.

Awesome!  Thank you so much for finding the solution.  You're Amazing!


add android setup documentation to readme file

Fixed #2346
I added android setup documentation to README file.
Do suggest if anything is missed.

@piotruela updated in docs!


add tokenizer & model

Adding tokenizers and a modeling file so that your models work without special tips.
For rinna/japanese-roberta-base:
Adding tokenization_roberta_japanese.py, modeling_roberta_japanese.py, and modeling_tf_roberta_japanese.py.
The difference between T5Tokenizer and RobertaJapaneseTokenizer

RobertaJapaneseTokenizer will add [CLS] automatically.
In languages without inter-word whitespaces, such as Japanese and Chinese, you should have trained SentencePiece with --add_dummy_prefix set to false. With --add_dummy_prefix set to true, extra whitespace tokens will appear. This is why A) Directly typing [MASK] in an input string and B) replacing a token with [MASK] after tokenization will yield different token sequences. Therefore, RobertaJapaneseTokenizer has a workaround for this problem.
Removed do_lower_case option. It is because do_lower_case option was not working in your pretraining code.
Enabled do_lower_case option.

The difference between RobertaModel and RobertaJapaneseModel

position_ids starts with 0. Therefore, it will be no longer necessary to explicitly provide position_ids.

For rinna/japanese-gpt2-*:
Adding tokenization_gpt2_japanese.py.
The difference between T5Tokenizer and GPT2JapaneseTokenizer

In languages without inter-word whitespaces, such as Japanese and Chinese, you should have trained SentencePiece with --add_dummy_prefix set to false. With --add_dummy_prefix set to true, extra whitespace tokens will appear. Therefore, GPT2JapaneseTokenizer has a workaround for this problem.
Removed do_lower_case option. It is because do_lower_case option was not working in your pretraining code.
Enabled do_lower_case option.

I re-enabled do_lower_case option, because a lot of <unk> tokens appear without this option (why?).

@azonti
Sorry for this late reply and thanks for the PR.
I notice that in the workaround code for the whitespace prefix issue, add_dummy_prefix is explicitly set to False.
It can sometimes result in different tokenization results when compared with the default T5Tokenizer, for example
text = "おはようございます"
a_t5_tokenizer.tokenize(text)  # ['▁お', '時間', 'ありがとう', 'ご', 'ざい', 'ます']
a_new_tokenizer.tokenize(text)  # ['お', '時間', 'ありがとう', 'ご', 'ざい', 'ます']

It might be okay if one is using this code for pretraining from scratch.
But if someone is using this code to finetune a pretrained model, this behaviour difference will make the tokenization of finetuning data (which eliminates prefix whitespaces) inconsistent with pretraining data (which keeps prefix whitespaces).
Probably we can find a better way than changing add_dummy_prefix.

As with the do_lower_case problem, it is due to that the training data of this tokenizer does not contain any upper-cased letters. If we do not enable do_lower_case as a preprocessing, all the upper-cased letters in inputs will result in <unk>.

OK, let's get the problems straight.
add_dummy_prefix Problem

In languages without interword whitespaces, such as Chinese or Japanese, you should have pretrained with add_dummy_prefix set to disable. This can no longer be fixed.
I think they should set add_dummy_prefix to disable for inference or finetuning, even though it will be inconsistent with pretraining configuration, in order to prevent the insertion of unnecessary whitespaces during tokenization. I think results will be robust enough, even under the inconsistency.

do_lower_case Problem

Why does not the training data of the tokenizer contain any upper-cased letters? (manually lowercased?)

In languages without interword whitespaces, such as Chinese or Japanese, you should have pretrained with add_dummy_prefix set to disable. This can no longer be fixed.

I totally agree with it.

Why does not the training data of the tokenizer contain any upper-cased letters? (manually lowercased?)

I do not remember the exact reason. But looking back at it, it was just a really bad decision.
Regarding the above two points, I think it is better to provide a better pretrained tokenizer (and possibly corresponding new pretrained models). This is going to happen in a near future.

I think they should set add_dummy_prefix to disable for inference or finetuning, even though it will be inconsistent with pretraining configuration, in order to prevent the insertion of unnecessary whitespaces during tokenization.

Sorry, but I think keeping consistency is more important than sometimes skipping a few steps to fix [MASK] token.

I think results will be robust enough, even under the inconsistency.

The downside of using the current tokenizer is completely known (which is the [MASK] problem), and we know how to solve it.
But the downside of enforcing add_dummy_prefix = True cannot be foreseen. It could cause performance degradation in various downstream tasks. If we are saying "it is going to be robust", I believe we need tests to verify the hypothesis.

OK, I agree with your opinion, then I removed the workaround for add_dummy_prefix.


--quiet flag

Source: https://community.codecov.io/t/please-add-flag-quiet-to-submission-script/178

@thomasrockhu ping! (or close)


[BACKLOG-12015] Fix an incorrect step description

@mdamour1976

Build Completed
:white_check_mark: This pull request has passed all validations.
Build Commands
mvn -B -fn -DrunITs=true -f plugins/meta-inject-plugin/pom.xml clean install && mvn -B -f plugins/meta-inject-plugin/pom.xml site

Cleanup Commands
mvn -B -f plugins/meta-inject-plugin/pom.xml build-helper:remove-project-artifact

Changed files
  plugins/meta-inject-plugin/src/main/resources/OSGI-INF/blueprint/pentaho-metainject-pdi-blueprint.xml


Test with Symfony 7.1 and leverage its features

Pull Request
Related issue
Fixes #<issue_number>
What does this PR do?

Adds Symfony 7.1 to CI;
Uses ramsey/composer-install gh action to install dependencies;
Uses new DateTimeNormalizer::CAST_KEY when available to serialize datetimes as timestamps;

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

[ ] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)?
[x] Have you read the contributing guidelines?
[x] Have you made sure that the title is accurate and descriptive of the changes?

Side effect from https://github.com/meilisearch/meilisearch-symfony/pull/322 was that removing .* from sf-version, it uses directly the defined version instead of highest, so for 5.4 it uses 5.4.0 instead of 5.4.40

bors merge

bors merge-

bors merge


Update readme

Add more info about how to get started and create a working environment (using micromamba). Also added info about sourcing data and doing the initial preprocessing for the years 2017-2020 that is not contained in the dvc stages.
Closes #54

I included some commits that be long to another PR by accident. Should not matter since this will be merged soon, too. 🤷♂