fix(lualine): use 'auto' theme when using others colorschemes.

By utilizing "auto" theme as mentioned here, this PR corrects the appearance of lualine when using other colorschemes.
Of course, users using catppuccin won't be influenced.

IMO it's better to return "auto" here b/c our code based on catppuccin may not suitable for every theme like gruvbox in the screenshot.

IMO it's better to return "auto" here b/c our code based on catppuccin may not suitable for every theme like gruvbox in the screenshot.

Agree with this lol I was just wondering if lualine's implementation of the auto theme could lead to performance overheads b/c we basically only need the function to check whether there's a theme available for the current colorscheme (and if there is, load that instead of generating ours). So I only took the relevant parts from lualine/themes/auto.lua in this proposal :D
I also think maybe we can simplify our implementation a bit lol (cause the modifications to those color keys look "quite" similar). Would it be better to just use a status variable to indicate the currently active theme and tweak utils.gen_hl to generate the colors where appropriate?
cc @CharlesChiuGit @ayamir

Aha, I see your point now. ys, I think it's better to tweak utils.gen_hl to generate colors would be a nice approach.

It seems that the performance overhead is insignificant after I tested the two implementations using vim-startuptime.

Using "auto" for catppuccin differs from our customized appearance. So I reverted to the initial commit status and unified code styles. It satisfied the requirement as I mentioned here.


Coin toss steps update

I have updated the coin-toss-game README.md with the appropriate steps required to run this tutorial. I have also added the aenode configurations that need to be made before running this demo.

@gyan0890 please check on Ulf's commnets

@gyan0890 please check on Ulf's comments

Done, updated the commit :)

thanks @gyan0890 , @uwiger can you approve it? Thanks!

@uwiger can you merge this PR ? Or @nikita-fuchs ?


move LowerToUKernels to Common

This enables incrementally migrating the VMVX backend to the new system, so we can start getting some serious e2e coverage for the new system and retiring the VMVXOps and the VMVX/LowerLinalgMicrokernels.cpp code for which we have a replacement in the new system (so far, mmt4d).

Could we pick up this pass in LLVMCPU on the VMVX path itself. I am assuming different micro-kernels are needed on different backends, but CPU and VMVX can share the same?

Actually I just realized, that the function orchestrating this in the VMVX backend, addVMVXDefaultPassPipeline, currently lives in compiler/src/iree/compiler/Codegen/LLVMCPU/Passes.cpp . So yes, at the moment, the code is relying quite deeply on VMVX backend using LLVMCPU/ code. Closing this PR and processing like you suggested.


Add support for MSTest v2

This is still a WIP, but I wanted to get this out as a reference for discussion. I was torn whether or not to add the MSTestV2 support as a separate repository. MSTestV2 has essentially the same API as the older vstest/MSTest library, but the older vstest library can't be upgraded to support .NET Standard because it requires referencing an assembly rather than a NuGet package for the unit test bits. It may also be worth considering deprecating the existing VsTest unless there's members of the community on < .NET 4.5. I'm completely open to whatever path forward makes the most sense.

Hmm, so keeping both projects in one solution breaks because the MSTestV2 project has different build expectations. I'm sure I could modify the build script to take this into account, but that's probably complexity that isn't desirable

@dwalleck Is it possible to build a project with VsTest_v1 without VisualStudio? Only with dotnet.exe?

It won't build with just dotnet as is because it doesn't look like the dependencies are being restored: https://gist.github.com/dwalleck/9b3aacd60a5aec9498e735540271de1e. I think for that to happen, I'd have to redo its csproj file to the newer style, which breaks (if I remember correctly) because of the assembly reference needed for MSTestV1. I can double check my work to make sure that's the case

I think I may not have answered your question in my last reply. No, it is not possible to the original plugin without Visual Studio. The original version of VsTest/MSTest comes packaged as an assembly with VS, so there's no reliable way to reference that assembly without including a copy of it in the project.

@dwalleck I propose to create a separate repository for MSTestV2 and commit all code there. After that, we will transfer the code into AkkaNetContrib

That sounds good to me. I'll close this PR and ping you when the new code repo is ready.


Update user documentation structure

Summary
The documentation needs some changes to the structure, in order to accommodate new services and to make it easier to navigate. A lot of (most) content from the EGI-ACE D2.3 and D2.5 should end up in our user documentation.

Added the necessary new pages
Provided content for the new pages
Revised content of existing pages to bring them in line with the rest of the documentation style.

Related issue : Implements #411

great work! let's make the linter happy and then we can have a preview and review the changes

i see one problem now...the links to the doc we have added to the D2.5 deliverables will be incorrect ..so we should revise them ASAP when we approve this PR

EGI-ACE D2.5 updated

Looks good!
Some quick/first feedback: I'm not sure at all about https://docs.egi.eu/documentation/414/users/getting-started/task-force/ like about how it's named, where it's in the menu.
The FedCloud Task Force is only a very specific task force, focusing on mainly the cloud activities. I would find this better in the Compute part, or otherwise in something named/organised differently.
Same for the CLI in the getting started, it would like it's a CLI for all EGI services, while it's certainly not the case

I'm not sure at all about https://docs.egi.eu/documentation/414/users/getting-started/task-force/ like about how it's named, where it's in the menu. The FedCloud Task Force is only a very specific task force, focusing on mainly the cloud activities. I would find this better in the Compute part, or otherwise in something named/organised differently.

That will get improved when the Getting Started part gets revised next. A lot of stuff about how to request access, the architecture, and more from D2.3 and D2.5 need to be added. It is not what this PR should fix.

Same for the CLI in the getting started, it would like it's a CLI for all EGI services, while it's certainly not the case

The CLI is more or less "the CLI" for EGI, a lot of docs pages refer to it (there were many places that were introducing fedcloudcli, now all those refer to /users/getting-started/cli). Some services have additonal CLIs as well, but the docs for those services will mention them. And fedcloudcli is and will be improved to cover more and more of the EGI services. Finally, improving this is not the purpose of this PR.

@andrea-manzi I did a lot of changes in the top pages for the data services. uniformized titles and subtitles (e.g. no links or acronyms in titles), added a What is it? paragraph to each. please review them, let me know if it's good (or you can improve it further in future PRs).
Data TODOs:

the openRDM page has to be filled in
some diagrams from D2.5 could also make their way into the docs

we should remove draft: true from the openRDM page

I agree. That will get improved when the Getting Started part gets revised next. A lot of stuff about how to request access, the architecture, and more from D2.3 and D2.5 need to be added. But it is not what this PR should fix.

Should we just remove the taskforce page in this PR? It's not bringing any value right now and I fear we will be postponing moving it forever. It simply does not belong to the docs.egi.eu but it's more a TCB-like activity and should be documented as such in confluence

Should we just remove the taskforce page in this PR? It's not bringing any value right now and I fear we will be postponing moving it forever.

Added draft flag, removed links to it.


python36Packages.elpy: 1.9.0 -> 1.25.0

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python3.6-elpy/versions.
meta.description for python36Packages.elpy is: '"Backend for the elpy Emacs mode"'.

Checks done (click to expand)

built on NixOS

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 1.25.0 with grep in /nix/store/n7ij7qf3258wmwgf217znfr11rwknq1h-python3.6-elpy-1.25.0

directory tree listing: https://gist.github.com/2004bb9429366d9fa418b5cae8ef3801

du listing: https://gist.github.com/0a1ad228a3590871fb414a57f1587491

Outpath report (click to expand)

Outpath difference report
8 total rebuild paths
2 package rebuilds
2 x86_64-linux rebuilds
2 i686-linux rebuilds
2 x86_64-darwin rebuilds
2 aarch64-linux rebuilds
First ten rebuilds by attrpath
python27Packages.elpy
python36Packages.elpy

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/n7ij7qf3258wmwgf217znfr11rwknq1h-python3.6-elpy-1.25.0 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A python36Packages.elpy https://github.com/r-ryantm/nixpkgs/archive/f7d26489ccd64feb6a3c0586dd6706048406d8c5.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/n7ij7qf3258wmwgf217znfr11rwknq1h-python3.6-elpy-1.25.0
ls -la /nix/store/n7ij7qf3258wmwgf217znfr11rwknq1h-python3.6-elpy-1.25.0/bin

Success on aarch64-linux (full log)
Attempted: python36Packages.elpy
Partial log (click to expand)
Installing collected packages: elpy
Successfully installed elpy-1.25.0
/build/elpy-1.25.0
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/g5rl9h8wr7wb8nv19p8a73q2d9389mjg-python3.6-elpy-1.25.0
strip is /nix/store/p9akxn2sfy4wkhqdqa3li97pc6jaz3r1-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/g5rl9h8wr7wb8nv19p8a73q2d9389mjg-python3.6-elpy-1.25.0/lib
patching script interpreter paths in /nix/store/g5rl9h8wr7wb8nv19p8a73q2d9389mjg-python3.6-elpy-1.25.0
checking for references to /build in /nix/store/g5rl9h8wr7wb8nv19p8a73q2d9389mjg-python3.6-elpy-1.25.0...
/nix/store/g5rl9h8wr7wb8nv19p8a73q2d9389mjg-python3.6-elpy-1.25.0

Success on x86_64-linux (full log)
Attempted: python36Packages.elpy
Partial log (click to expand)
Installing collected packages: elpy
Successfully installed elpy-1.25.0
/build/elpy-1.25.0
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/n7ij7qf3258wmwgf217znfr11rwknq1h-python3.6-elpy-1.25.0
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/n7ij7qf3258wmwgf217znfr11rwknq1h-python3.6-elpy-1.25.0/lib
patching script interpreter paths in /nix/store/n7ij7qf3258wmwgf217znfr11rwknq1h-python3.6-elpy-1.25.0
checking for references to /build in /nix/store/n7ij7qf3258wmwgf217znfr11rwknq1h-python3.6-elpy-1.25.0...
/nix/store/n7ij7qf3258wmwgf217znfr11rwknq1h-python3.6-elpy-1.25.0

Success on x86_64-darwin (full log)
Attempted: python36Packages.elpy
Partial log (click to expand)
Requirement already satisfied: pycodestyle<2.5.0,>=2.4.0 in /nix/store/d2wlzkvaz4fs40x0vk7kadam0wzq5fvb-python3.6-pycodestyle-2.4.0/lib/python3.6/site-packages (from flake8>=2.0->elpy==1.25.0) (2.4.0)
Requirement already satisfied: mccabe<0.7.0,>=0.6.0 in /nix/store/q0ra3j1ikciz310n4v7a9hnyp8r04ick-python3.6-mccabe-0.6.1/lib/python3.6/site-packages (from flake8>=2.0->elpy==1.25.0) (0.6.1)
Installing collected packages: elpy
Successfully installed elpy-1.25.0
/private/tmp/nix-build-python3.6-elpy-1.25.0.drv-0/elpy-1.25.0
post-installation fixup
strip is /nix/store/g5r4apl0za012ffs6ladinwa5w0m1l3k-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/2qzp3a136phjbj172aidqv0mpgaxf49l-python3.6-elpy-1.25.0/lib
patching script interpreter paths in /nix/store/2qzp3a136phjbj172aidqv0mpgaxf49l-python3.6-elpy-1.25.0
/nix/store/2qzp3a136phjbj172aidqv0mpgaxf49l-python3.6-elpy-1.25.0


Not getting messages from the "message:send" event

Hello,
I am working with your gem but, am having issues getting messages as they come. I am trying to use the "message:send" event to stream messages but, I get nothing. I have run it in an infinite loop and sent messages on Crisp to test it but, messages don't come.
crisp_client.on "message:send" do |message|
  puts message
end

It doesn't seem to be getting into the block.
Also,
crisp_client.website_conversations.send_text_message(WEBSITE_ID, SESSION_ID, MESSAGE)

just returns nil and the message doesn't get sent.
Please advise.
Thanks.

Hello, we missed to update this library. I update it now.

@mywaystar Cool. Thanks. Looking forward to the update.

It has been updates:
There are some breaking changes, the new way to send messages:
crisp_client.website_conversations.send_message_in_conversation( website_id, session_id,      {        :origin  => "chat",        :content => "I'm a bot",        :type    => "text",        :from    => "operator"      }    )

OK. Thanks for the update. But, there are a few more issues. Calling #send_message_in_conversation on crisp_client.website_conversations raises this error:
undefined method `send_message_in_conversation' for #<Crisp::WebsiteConversations:0x007f8892616990> (NoMethodError)

I dug into the code a bit and found a typo here: https://github.com/crisp-im/ruby-crisp-api/blob/master/lib/crisp.rb#L53. The class name is supposed to be Crisp::WebsiteConversation but it is Crisp::WebsiteConversations in the code. I fixed it in my local copy of the gem and the message sending worked.
Also, the "message:send" is still not working for me.

Sorry. I think the typo is in your example. crisp_client.website_conversation instead of crisp_client.website_conversations.

I'll fix it. Ruby wrapper is not our main focus today, but I definitely fix
it when I have time.
2016-08-03 11:49 GMT+02:00 Muaad Abdirahman<EMAIL_ADDRESS>
OK. Thanks for the update. But, there are a few more issues. Calling
#send_message_in_conversation on crisp_client.website_conversations
raises this error:
undefined method `send_message_in_conversation' for #Crisp::WebsiteConversations:0x007f8892616990 (NoMethodError)
I dug into the code a bit and found a typo here:
https://github.com/crisp-im/ruby-crisp-api/blob/master/lib/crisp.rb#L53.
The class name is supposed to be Crisp::WebsiteConversation but it is
Crisp::WebsiteConversations in the code. I fixed it in my local copy of
the gem and the message sending worked.
Also, the "message:send" is still not working for me.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/crisp-im/ruby-crisp-api/issues/1#issuecomment-237192565,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA04w5ukh9iDVtR9Pn-BeovQksSZY68Hks5qcGQMgaJpZM4JapO7
.

--
Baptiste Jamin
Co-founder CEO, Crisp https://crisp.im/ - Customer interaction
for entrepreneurs.


RFM - paraview

Current Maintainer

[ ] I am the maintainer of the package and wish to pass it to someone else;

I DON'T Want To Become The Maintainer

[x] I have followed the Package Triage Process and I do NOT want to become maintainer of the package;
[x] There is no existing open maintainer request for this package;

Checklist

[X] Issue title starts with 'RFM - '

Existing Package Details
Package URL: https://community.chocolatey.org/packages/paraview
Package source URL:
Date the maintainer was contacted (in YYYY-MM-DD): 2024-02-04
How the maintainer was contacted: via 'Contact Maintainers' link
Package has not been updated since 16 Aug 2019 and there have been multiple request on the discussion page for updates over the years.

Please wait at least 7 days from contacting the maintainer (the date on this issue is > 2024-02-04) via the 'Contact Maintainer' link before raising an issue for a new maintainer. Can you also raise an issue on their 'Package Source' link?
I'll close this issue but we can reopen it if needed.

cc @pauby :point_up_2:

The package is ready to be accepted on the repository

This package as been accepted by reviewers.
This issue can be closed
Thank you


Pre release v2.5.0rc3

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender

Can you merge this? I still don't have the rights.

just did - let me have a look at the repo permissions for you, man


Implement "Move to Top" Button

Add a "Move to Top" button that becomes visible when users scroll down a certain distance on the page. This button should smoothly scroll the user back to the top of the page when clicked.
@Aryainguz  Please assign this task to me (myselfshivams) labels gssoc, hackoberfest.

I will do this work .

go ahead @myselfshivams


Replace with ASP.NET Core

If you agree, assign to me, otherwise close.

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

ID: 127fb41d-352d-d46e-6456-77231964bc2a
Version Independent ID: 9b350380-51b0-9c24-990f-85b56f4339dd
Content: Debug ASP.NET - Visual Studio
Content Source: docs/debugger/quickstart-debug-aspnet.md
Product: visual-studio-windows
Technology: vs-ide-debug
GitHub Login: @Mikejo5000
Microsoft Alias: mikejo

@Rick-Anderson -- Rick, thanks for your feedback; we appreciate it and your offer to assist. To make sure we have all the information needed to triage your issue, please provide more context.

More new developers are creating/debugging ASP.NET Core projects than ASP.NET 4.x projects.

We haven't written any new content for ASP.NET 4.x in 3+ years. All the new content is ASP.NET Core.


chore(typings): Add explicit any to IWebSocket interface

Allows noImplicityAny rule in tsconfig.json of projects, since this is annoying :)
Error at node_modules/rxjs-websockets/lib/index.d.ts:9:15: Parameter 'OpenEvent' implicitly has an 'any' type.
Error at node_modules/rxjs-websockets/lib/index.d.ts:10:16: Parameter 'CloseEvent' implicitly has an 'any' type.
Error at node_modules/rxjs-websockets/lib/index.d.ts:11:18: Parameter 'MessageEvent' implicitly has an 'any' type.
Error at node_modules/rxjs-websockets/lib/index.d.ts:12:16: Parameter 'ErrorEvent' implicitly has an 'any' type.

Cool, amend the commit message to follow the format of the others and I'll merge it and publish a new version.

Will do thanks
On Fri, Oct 27, 2017, 6:07 PM James Pike<EMAIL_ADDRESS>wrote:

Cool, amend the commit message to follow the format of the others and I'll
merge it and publish a new version.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ohjames/rxjs-websockets/pull/20#issuecomment-340108909,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB2tepBhe6pL6oZlszAH2Ni7m_gmSozrks5swlQrgaJpZM4QJnAh
.

So just change it to one line?

The multiple lines is fine just remove the chore stuff and make the first letter lowercase.

Cleaned it up and renamed the PR.

Any word on when this release will get cut?

Need to revert this and fix it properly.


Improve nested filtering.

This change allows having OR’s in nested filters targeting the same entity. Thus, the entity itself works as a logical group and can itself by combined with filters on other properties with AND.
A combination of filters with OR containing one nested filter is still not allowed.
This commit makes the NodeQueryBuilder collapse deeply nested filters the same way as it does with normal ones.

Codecov Report

Merging #800 into master will increase coverage by 0.04%.
The diff coverage is 91.11%.

@@             Coverage Diff              @@
##             master     #800      +/-   ##
============================================
+ Coverage     80.41%   80.46%   +0.04%
- Complexity     3039     3044       +5
============================================
  Files           277      277
  Lines          9253     9275      +22
  Branches       1381     1387       +6
============================================
+ Hits           7441     7463      +22
  Misses         1303     1303
  Partials        509      509

Impacted Files
Coverage Δ
Complexity Δ

...rg/neo4j/ogm/session/request/NodeQueryBuilder.java
94.93% <87.50%> (+1.34%)
24.00 <3.00> (+2.00)

...eo4j/ogm/session/request/FilteredQueryBuilder.java
92.23% <93.10%> (-0.45%)
29.00 <10.00> (+1.00)
:arrow_down:

...session/request/NestedPropertyPathMatchClause.java
87.50% <0.00%> (+6.25%)
8.00% <0.00%> (+1.00%)

Continue to review full report at Codecov.

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


[DOCS] ability to filter content with a search bar

How can the documentation be improved?
having the ability to filter content with a search bar is definitely a cool improvement
Here an example

yes! so we already have a Open source account approved by Argolia, we are waiting to update qwikcity docs to the latest qwikcity before making changes to it.
Definively, planning to add search!


App Reload on Push Notification Click Xamarin Forms

I have implemented push notifications on my app and they work fine. The problem I have is that when I click them in the pull down menu they immediately reload the app.  How to fix it?
I am using Xamarin Forms with PCL.

What platform Android or iOS are you testing on?
What payload are you sending?

Android about the fact that I'm sending exactly can only reply tomorrow.
But something like that
{
"data": {
"message" : "my_custom_value",
"other_key" : true,
"body":"test"
},
"notification": {
"body" : "hello",
"title": "firebase",
"sound": "default",
"content_available" : true
},
"priority": "high",
"condition": "'general' in topics"
}

$fields = array (
'registration_ids' => array (
$_POST['token']
),
'data' => array (
"message" => $message,
"target" => $_POST['target'],
"type" => $messageType,
'ownerId' => $id
),
'notification' => array (
"body" => $message,
"title" => "Message",
"sound" => "default",
"content_available" => true
),
"priority" => "high"
);

https://www.youtube.com/watch?v=EWWhJ0nZFHo&feature=youtu.be

@Nikdm46
I had that problem, end it was that flag:  LaunchMode = LaunchMode.SingleTop. On MainActivity, maybe that could help:
[Activity(
LaunchMode = LaunchMode.SingleTop,
Label = "xxxxxxxxx",
Theme = "@style/AppTheme",
Icon = "@android:color/transparent",
ScreenOrientation = ScreenOrientation.Portrait,
MainLauncher = false)
]

Yes, i did it, but in singleTop mod i can't use NotificationOpened event.
CrossFirebasePushNotification.Current.OnTokenRefresh += (s, p) =>
{
System.Diagnostics.Debug.WriteLine($"TOKEN : {p.Token}"); --- WORK
};
CrossFirebasePushNotification.Current.OnNotificationReceived += (s, p) =>
{
System.Diagnostics.Debug.WriteLine("Received"); -----WORK
};
CrossFirebasePushNotification.Current.OnNotificationOpened += (s, p) =>
{
Debug.WriteLine("Opened"); -------- DON'T WORK
};
Reload current page and all)

`[ Activity(LaunchMode = LaunchMode.SingleTop, Label = "NetNego", Icon = "@drawable/icon", Theme = "@style/MyTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)]
public class MainActivity : global::Xamarin.Forms.Platform.Android.FormsAppCompatActivity
{
    //public static Context AppContext;

	protected override void OnCreate(Bundle bundle)
	{
		TabLayoutResource = Resource.Layout.Tabbar;
		ToolbarResource = Resource.Layout.Toolbar;

		base.OnCreate(bundle);

		Forms.Init(this, bundle);

        SegmentedControlRenderer.Init();

        LoadApplication(new App());

        FirebasePushNotificationManager.ProcessIntent(Intent);

		ImageCircleRenderer.Init();

        CachedImageRenderer.Init();

        var ignore = new CircleTransformation();

		var config = new FFImageLoading.Config.Configuration()
		{
			VerboseLogging = false,
			VerbosePerformanceLogging = false,
			VerboseMemoryCacheLogging = false,
			VerboseLoadingCancelledLogging = false,
			Logger = new CustomLogger(),
		};

		ImageService.Instance.Initialize(config);
	}`

MainActivity
https://pastebin.com/m68K3zjg
MainApplication
https://pastebin.com/Ax0GB2bP
App
https://pastebin.com/CaUuQRu5

On your MainActivity try adding:
protected override void OnNewIntent(Intent intent)
{
FirebasePushNotificationManager.ProcessIntent(intent)
}

Helped, seems)


SERVERLESS-354 Implement log shipping inside the go-proxy

This is a first whack at an actual implementation. There are some open questions marked as TODO but I wanted to get this out of my local development to allow people to take a first look at things.

This is a first implementation of 3rd party log-shipping inside the go-proxy. If the respective env vars are set, stdout and stderr from the function process are intercepted and written to the service as configured.
This contains initial support for DataDog, Papertrail and Logtail. Only HTTPS transport is currently supported.

Thanks @jonfriesen. Pushed the adjustments as commented.


Windows cert bug

Fix for bug 2516: windows enforcer installation fails on win server 2016
Enforcer for Windows will fail to start if the API server's root certificate is not in the Windows certificate store. So we need to provide some routines to allow certificate verification that uses both the Windows CryptoAPI routines (which will pull in certificates into the Windows certificate store on-demand) and against a CertPool object in code.
Some background: https://github.com/golang/go/issues/34937

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0
[
  {
    "project": "windows-cert-bug",
    "component": "enforcerd",
    "pr-id": "1553",
    "commit-sha": "15a3b4b4b88d69f69b37c29f3cd94d388256f292",
    "pipeline": "master"
  },
  {
    "project": "windows-cert-bug",
    "component": "trireme-lib",
    "pr-id": "953",
    "commit-sha": "201adc16e05d669b6423b6ef2002d8d51e576543",
    "pipeline": "master"
  }
]

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0
[
  {
    "project": "windows-cert-bug",
    "component": "enforcerd",
    "pr-id": "1553",
    "commit-sha": "15a3b4b4b88d69f69b37c29f3cd94d388256f292",
    "pipeline": "master"
  },
  {
    "project": "windows-cert-bug",
    "component": "trireme-lib",
    "pr-id": "953",
    "commit-sha": "13a3af6a4251f7fb36dd0ff426c396f870f9ddf9",
    "pipeline": "master"
  }
]


Composer may install a low version of aws-sdk-php that causes Aws\HashingStream incompatible with Psr\Http\Message\StreamInterface

When requiring the guzzlehttp/guzzle before the league/flysystem-aws-s3-v3, composer would install an old version 3.269.0 of aws/aws-sdk-php. There was a compatibility issue causes a fatal error in such version. Altough the aws team fixed the issue since 3.269.1.
% composer require guzzlehttp/guzzle league/flysystem-aws-s3-v3
./composer.json has been created
Running composer update guzzlehttp/guzzle league/flysystem-aws-s3-v3
Loading composer repositories with package information
Updating dependencies
Lock file operations: 16 installs, 0 updates, 0 removals
  - Locking aws/aws-crt-php (v1.2.1)
  - Locking aws/aws-sdk-php (3.269.0)
  - Locking guzzlehttp/guzzle (7.7.0)
  - Locking guzzlehttp/promises (1.5.3)
  - Locking guzzlehttp/psr7 (2.5.0)
  - Locking league/flysystem (3.15.1)
  - Locking league/flysystem-aws-s3-v3 (3.15.0)
  - Locking league/flysystem-local (3.15.0)
  - Locking league/mime-type-detection (1.11.0)
  - Locking mtdowling/jmespath.php (2.6.1)
  - Locking psr/http-client (1.0.2)
  - Locking psr/http-factory (1.0.2)
  - Locking psr/http-message (2.0)
  - Locking ralouphie/getallheaders (3.0.3)
  - Locking symfony/deprecation-contracts (v3.3.0)
  - Locking symfony/polyfill-mbstring (v1.27.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 16 installs, 0 updates, 0 removals
  - Installing aws/aws-crt-php (v1.2.1): Extracting archive
  - Installing symfony/deprecation-contracts (v3.3.0): Extracting archive
  - Installing psr/http-message (2.0): Extracting archive
  - Installing psr/http-client (1.0.2): Extracting archive
  - Installing ralouphie/getallheaders (3.0.3): Extracting archive
  - Installing psr/http-factory (1.0.2): Extracting archive
  - Installing guzzlehttp/psr7 (2.5.0): Extracting archive
  - Installing guzzlehttp/promises (1.5.3): Extracting archive
  - Installing guzzlehttp/guzzle (7.7.0): Extracting archive
  - Installing league/mime-type-detection (1.11.0): Extracting archive
  - Installing league/flysystem (3.15.1): Extracting archive
  - Installing league/flysystem-local (3.15.0): Extracting archive
  - Installing symfony/polyfill-mbstring (v1.27.0): Extracting archive
  - Installing mtdowling/jmespath.php (2.6.1): Extracting archive
  - Installing aws/aws-sdk-php (3.269.0): Extracting archive
  - Installing league/flysystem-aws-s3-v3 (3.15.0): Extracting archive
5 package suggestions were added by new dependencies, use `composer suggest` to see details.
Generating autoload files
9 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
No security vulnerability advisories found
Using version ^7.7 for guzzlehttp/guzzle
Using version ^3.15 for league/flysystem-aws-s3-v3

I think you can bump the require version of aws/aws-sdk-php to ^3.269.1 to fix it.

@SyuTingSong
If version 1 of psr/http-message is fine with other dependencies, requiring psr/http-message:^1 and then updating league/flysystem-aws-s3-v3 should solve it.
composer require psr/http-message:^1
composer update league/flysystem-aws-s3-v3

@SyuTingSong
If version 1 of psr/http-message is fine with other dependencies, requiring psr/http-message:^1 and then updating league/flysystem-aws-s3-v3 should solve it.
composer require psr/http-message:^1
composer update league/flysystem-aws-s3-v3

it's work for me, thanks :-)

@atomita Thanks for your solution. It can work, but not good. I think I won't add a package as the requirement if my code does not directly depend on it. I temporary add a conflict section to my composer.json to resolve this issue.
"conflict": {
    "aws/aws-sdk-php": "<3.269.1"
}

I think bumping up the require version of aws/aws-sdk-php in thephpleague/flysystem-aws-s3-v3 is still the better way to avoid this issue.


[feature] how to change save strategy in xtuner?

Now, the default strategy is epoch.

You can change it with this docs
If some parameters are not set in our config (e.g., log_processor), you can directly set them to override the default value.

You can change it with this docs
If some parameters are not set in our config (e.g., log_processor), you can directly set them to override the default value.
param_scheduler is hard to understand, and you can follow this docs to set it!

Thank you, I will check these documents to learn.


add contentTypes for Nutil Web, Web Ilastik and Web Align

(tools are in dev and not yet registered in KG)
ContentType schema:

https://humanbrainproject.github.io/openMINDS/v3/ --> select core/DATA/ContentType
https://github.com/HumanBrainProject/openMINDS_core/blob/v3/schemas/data/contentType.schema.tpl.json

required property: name
recommended property: extension, as well as description AND/OR link to specification
Missing contentTypes (suggested names):

???

Hi @lzehl , I am now ready to provide info for the generation of JSONLD for WebAlign and WebWarp. Could you point me to the procedure? I was looking for the JSONLD of QuickNII for an example but could not find it in the  core/DATA/ContentType location.

@Majpuc this is great news. You just need to make sure that you are looking at the latest dev branch for the content types (currently: v4). Here a link to one of the QuickNII content types:
https://github.com/HumanBrainProject/openMINDS_core/blob/v4/instances/data/contentTypes/quicknii%2Bjson.jsonld

Thanks! I guess it would be wise :) Do I use the template listed above?

@lzehl here are proposed content types for WebAlign and WebWarp
{
"@context": {
"@vocab": "https://openminds.ebrains.eu/vocab/"
},
"@id": "https://openminds.ebrains.eu/instances/contentTypes/application/vnd.webalign.waln",
"@type": "https://openminds.ebrains.eu/core/ContentType",
"fileExtension": [
".waln"
],
"name": "application/vnd.webalign.waln",
"relatedMediaType": null,
"synonym": [
"WebAlign waln file"
]
}
The waln file contains image registration information. This file type was created for WebAlign and don't exist elsewhere.

{
"@context": {
"@vocab": "https://openminds.ebrains.eu/vocab/"
},
"@id": "https://openminds.ebrains.eu/instances/contentTypes/application/vnd.webwarp.wwrp",
"@type": "https://openminds.ebrains.eu/core/ContentType",
"fileExtension": [
".wwrp"
],
"name": "application/vnd.webwarp.wwrp",
"relatedMediaType": null,
"synonym": [
"WebWarp wwrp file"
]
}
The wwrp file contains image registration information. This file type was created for WebWarp and don't exist elsewhere.

NutilWeb wil be replaced by a python library. More information about the content type will come later.

@k-dominik could you please let us know if Web Ilastik has the same or different content types than the Ilastik (https://github.com/HumanBrainProject/openMINDS_core/pull/309)?

cc @Tomaz-Vieira :)

I can't find the official MIME types you are mentioning , but I'll try to precisely describe what we are doing. Webilastik is a bit different from classic desktop ilastik, but if we already have something for desktop ilastik I think we can reuse almost all of it.
The interactive GUI can handle the following Inputs:

.ilp files, which are "project files", identical to those used in desktop ilastik;
Neuroglancer Precomputed Chunks, .dzi, and zipped .dzi (.dzip) which are all interpreted as images, with no added semantics

The interactive GUI can also produce the .ilp files mentioned above, as an output.
Webilastik can also launch non-interactive jobs. Those are more flexible with regards to their inputs:

.png, .jpg, .dzi, .dzip, .tiff, .n5 and neuroglancer precomputed chunks, all of which are interpreted as images, with no additional semantics.

These jobs can produce image files with 2 possible semantics, both of which are also produced by desktop ilastik (so if we had these semantics already listed somewhere, we should definitely use the same ones):

Prediction Maps, which are multi-channel, f32 images where each channel's value is between 0.0 and 1.0 and represents the likelihood of a pixel belonging to a particular class.;
Segmentation, which are uint8 RGB images where each pixel is either red (255,0,0) if that pixel belongs to an object, or black (0,0,0) if that pixel does not belong to an object.

These two kinds of outputs (Prediction Maps and Segmentation) can be produced in the following formats:

.dzi, .dzip, .n5 or Neuroglancer Precomputed Chunks

@Tomaz-Vieira indeed there is currently no official MIME type for DZI registered. But following the IANA.org naming convention it should look like the suggestion I've made.
I think I need a meeting with the two of you (@Tomaz-Vieira @k-dominik) to solve this quickly and without any misunderstanding. Would that be possible? (@k-dominik since you have all emails would you kindly set something up?)

application/vnd.webilastik.pixelclassification+dzi (input/output)
application/vnd.webilastik.pixelclassification+dzip (input/output)
application/vnd.web-ilastik.pixelclassification+n5 (input/output)
application/vnd.web-ilastik.pixelclassification+neuroglancer.precomputed (input/output)

ilastik:
image/png (input/output)
image/jpeg (input/output)
image/tiff (input/output)
any hdf5 images  (input)
any n5 images  (input)
image/vnd.ilastik+hdf5  (input/output)
application/vnd.ilastik.features+hdf5 (input/output)
application/vnd.ilastik.features+csv (input/output)
application/vnd.ilastik.pixelclassification+hdf5 (input/output)
application/vnd.ilastik.objectclassification+hdf5 (output)
webilasti:

The ilastik pixel classification file is multi-channel, f32 image where each channel's value is between 0.0 and 1.0 and represents the likelihood of a pixel belonging to a particular class.

The ilastik segmentation is a uint8 RGB image where each pixel is either red (255,0,0) if that pixel belongs to an object, or black (0,0,0) if that pixel does not belong to an object.

"Object features" are a table with a line for every detected object and a column for every feature (e.g.: size, position) measured on that object

"Project File" is an hdf5 file with an .ilp extension. It holds the current state of the ilastik application such as what workflow is being used, which images are open and what features to compute on those images.

'Object features in HDF5" are HDf5 files with two entries: table and images. The images entry contain one image cutout for each object and one mask for each object, marking the pixels occupied by that object. The table entry is saved as a numpy structured array and holds the selected feature values for each object.

@Tomaz-Vieira that means we should probably should have sticked to image_vnd.ilastik+x-hdf instead of using a generic image hdf5 image_x-hdf since the combination of image + feature table is very specific to ilastik?


Version strategy must be Version.YY.DoY.Build

Version strategy must be Version.YY.MM.Build

Version strategy must be Version.YY.DoY.Build

Version strategy must be Version.YY.DoY.Build


Updating prefix off-chain identifier list

Description

Adding GitHub prefix off-chain identifier.
Proposing change of Twitter identifier, from twit to twitter to follow social media pattern.

Other changes
None.
Tested
None.
Related issues
None.
Backwards compatibility
Yes.
Documentation
None.

closing this due to @eelanagaraj 's message


Update Now Playing track index and volume on change

Could be nice to have the Now Playing embed edit itself after an (un)shuffle and/or volume adjustment

Implemented in Release 0.5.1


Past Consultants unable to join - getting Please Provide an ID messag

Expected behavior
Past (inactive) consultant is able to join on TS.com as long as her Financial and Compliance Statuses are okay in Prowess.

Actual behavior
Past Consultant receives message to Please Provide an ID and to contact Customer Service.

Steps to reproduce behavior
I have not been able to get this to reproduce myself but Customer Service Technology was able to when they were helping the two past consultants that were trying to sign up.  I've tried with others and it allows me to proceed.  Steps CSTS Took:

Go to tastefullysimple.com
Click Join
Click Join Today
Log in using email address and password associated with previous consultant record
Enter Personal information
Select Answer to question at bottom about money
Search for Sponsor
Check Agreement box
Click Checkout button

The error messages were updated with the 1/4/21 Join release and this is no longer displaying.

The error messages were updated with the 1/4/21 Join release and this is no longer displaying.


The getter 'onPlayerStateChanged' isn't defined for the type 'AudioPlayer'.

The getter 'onPlayerStateChanged' isn't defined for the type 'AudioPlayer'.

Please follow the issue template. There isn't enough info on this issue. We need reproducible code, audioplayers version, etc.

Closing due inactivity, if there is more info that you can add to the issue, comment here and we can re open the issue.


Manage experiments queue

Following up on the dvc queue commands, users should be able to manage queued experiments in VS Code.
For background, see:

https://github.com/iterative/dvc/issues/7592
https://github.com/iterative/dvc.org/pull/3715

Possible changes to VS Code:

Options to show/hide queued and failed experiments in the experiments table
Add to the queue while other experiment tasks are running
Drop rows from the queue
Kill running experiment tasks
Gracefully stop the queue (finish currently running experiments but don't start new ones)
Adjust number of jobs for processing the queue

Options to show/hide queued and failed experiments in the experiments table

This links in with the suggestion in https://github.com/iterative/vscode-dvc/issues/1995#issuecomment-1182833303 to split out the contents of dvc queue status into another tree view.

Add to the queue while other experiment tasks are running

Straightforward change

Drop rows from the queue

Users can already do this but we could easily move the action to a separate tree/view associated with managing the queue.

Kill running experiment tasks

👍🏻

Gracefully stop the queue (finish currently running experiments but don't start new ones)

👍🏻

Adjust number of jobs for processing the queue

[Q] Does this mean whilst the queue is being processed or simply when it is being started. The later should be easy. We can use a multi-step quick pick.
Next step
We can definitely do all the above from the command palette. I would also advocate that we add another dvc queue status based tree in the view container and add the same actions there.
Simplest thing is probably for me to make a POC for the new treeView with some basic functionality and we can decide whether or not we want to keep going with it.
@karajan1001 how difficult would it be to add the --show-json or --json flag to dvc queue status and provide me with some json output?

[Q] Does this mean whilst the queue is being processed or simply when it is being started. The later should be easy. We can use a multi-step quick pick.

It's possible to do while the queue is being processed. Whether that's needed in VS Code probably depends on the level of effort.

It's possible to do while the queue is being processed. Whether that's needed in VS Code probably depends on the level of effort.

If you LMK the command I can add that functionality.

[Q] Will running dvc exp remove clean up the associated queue task from dvc queue status?

After starting to implement dvc queue kill, dvc queue start & dvc queue stop I realised that we are blocked without an indicator that the queue is currently processing tasks. We need this because we conditionally make these commands available. E.g - If there are no workers we show start, if there is at least one we show kill & stop.
From here & #1995 the only thing that I currently need from dvc queue status is the number of active and idle workers.
@karajan1001 all I need from dvc queue status --json would be something like:
{
    "workers": { "active": number, "idle": number },
    ...
}

The rest of the output is inconsequential for us at the moment. As an interim solution I can proxy the required output by applying some regular expression to the currently provided string.
The only alternative solution that I can think of to this problem is adding the above information into exp show's workspace record. Although we have talked about not just bolting more and more data onto exp show in the past so I don't think this is the correct way to go.
For a future iteration:
This might be a good time to come back to the overall approach of the way the extension calls the CLI for experiment data. I remember that we discussed some kind of sub command that would show us all of the current experiments/checkpoints in the workspace. It would return this information without collecting any of the associated data. The extension could then use this information to only call exp show with the delta of what it currently has and what is required.
For this to work we would need to add some kind of dvc exp status command which would provide the data detailed and we would have to add the ability to call exp show with ids as positional arguments. These ids could be any combination of shas/short shas/names. The reason that I bring this up is that it would be a good place to put the number of workers.
WDYT?

[Q] Will running dvc exp remove clean up the associated queue task(s) from dvc queue status?
It doesn't seem like this is the case from reading iterative/dvc.org#3715. If we are going to try and hide this concept then I think that is something that should be handled by either the CLI or extension. IMO it should be handled by default. If the user wants to keep the logs around then they can pass a flag.

🤔 Interesting question. dvc queue remove should not remove the associated exp from dvc exp show, but I don't think we have considered the reverse. I can see how you might still want to keep the queue task, but I agree that it seems like reasonable default behavior to clean it up when the experiment is removed. @karajan1001 Thoughts?

[Q] Will running dvc exp remove clean up the associated queue task(s) from dvc queue status?
It doesn't seem like this is the case from reading iterative/dvc.org#3715. If we are going to try and hide this concept then I think that is something that should be handled by either the CLI or extension. IMO it should be handled by default. If the user wants to keep the logs around then they can pass a flag.

🤔 Interesting question. dvc queue remove should not remove the associated exp from dvc exp show, but I don't think we have considered the reverse. I can see how you might still want to keep the queue task, but I agree that it seems like reasonable default behavior to clean it up when the experiment is removed. @karajan1001 Thoughts?

To simplify user experience, I think we should only keep exp and hide the whole queue sub-command. But had no time to go into deep.

To simplify user experience, I think we should only keep exp and hide the whole queue sub-command. But had no time to go into deep. To achieve this, we need to solve the problem of one queue task creates hundreds of exp results.

Interesting thought. This sounds a little extreme, but maybe you meant this as a long-term goal and not a short-term one? I think it's a good goal to work towards, but let's expose the queue sub-command for now and then start to see how much of its functionality we can cover with dvc exp.

Closing as duplicate of #1995

To simplify user experience, I think we should only keep exp and hide the whole queue sub-command. But had no time to go into deep. To achieve this, we need to solve the problem of one queue task creates hundreds of exp results.

Interesting thought. This sounds a little extreme, but maybe you meant this as a long-term goal and not a short-term one? I think it's a good goal to work towards, but let's expose the queue sub-command for now and then start to see how much of its functionality we can cover with dvc exp.

Yeah, of course we can't finish it soon, so let us continue on the current API.


<template> Layering Proposal

See: https://github.com/emberjs/rfcs/pull/813

This has been superceded by a more recent rfc


Add a service to handle adding a course after application submission

Context

We have a support request to append a course to a submitted application, this isn't something trivial to do in the console.
Changes proposed in this pull request

Adds a service class to handle creating a new application choice for the course option provided and associates with the submitted application.
Notifies the provider of the application.

Guidance to review

Link to Trello card

Things to check

[x] This code does not rely on migrations in the same Pull Request
[x] If this code includes a migration adding or changing columns, it also backfills existing records for consistency
[x] API release notes have been updated if necessary
[x] New environment variables have been added to the Azure config

@tijmenb thanks for review amended as advised: https://github.com/DFE-Digital/apply-for-teacher-training/pull/3316/commits/55cce7ecc7cbd6914c3e0b0ca06bd45eb811989c


HIVE-24500: Bump up the log4j version from 2.12.1 to 2.13.2 to avoid …

…CVE-2020-9488

What changes were proposed in this pull request?
Changing the log4j version in the pom to 2.13.2.

Why are the changes needed?
To avoid CVE-2020-9488

Does this PR introduce any user-facing change?
No.

How was this patch tested?
Locally.

Hey, this doesn't make a lot of sense.  The log4j library typically comes in via log4j-slf4j-impl

Hey, this doesn't make a lot of sense.  The log4j library typically comes in via log4j-slf4j-impl

Hey, this doesn't make a lot of sense. The log4j library typically comes in via log4j-slf4j-impl

Yeah, I changed that version only.

Hey, this doesn't make a lot of sense. The log4j library typically comes in via log4j-slf4j-impl

Yeah, I changed that version only.


fboptim

The optimizer for the Parallel containers does not seem to be public. At the moment I am using
https://github.com/soumith/imagenet-multiGPU.torch/blob/master/fbcunn_files/Optim.lua
Are there plans to make fboptim available?

Sorry there is nn.Optim in fbnn.


Add GetTags() method to Stash implementation

Calling get-branches does not return tags.  So add a method that explicitly fetches tags.

done


ActiveModelSerializer and underscore keys

I use the ActiveModelSerializer which transform underscore keys to camelCase. So if I have:
export default DS.Model.extend({
  firstName : DS.attr('string'),
  lastName  : DS.attr('string')
});

I can pass it a payload like:
{
  first_name: 'John',
  last_name: 'Doe'
}

But when I create a fragment like so:
export default DS.ModelFragment.extend({
  firstName: DS.attr('string'),
  lastName: DS.attr('string')
});

And pass the same payload as previously, it does not seem to be normalized. It only works if I define it as:
export default DS.ModelFragment.extend({
  first_name: DS.attr('string'),
  last_name: DS.attr('string')
});

Which obviously is totally inconsistent with the rest of my app. Any idea what I'm doing wrong here?
UPDATE: Here is my application serializer:
export default DS.ActiveModelSerializer.extend();

If you are using ActiveModelSerializer, you must be specifying a serializer for each of your models. Model fragments get their own serializers, so just do the same for your model fragments.

Ok gotcha. Any way to define it for all Fragments?

So creating a serializer worked well. Thanks for the pointer! Though it seems a little tedious to have to define one serializer per fragment.
For models, I actually only need a single ApplicationSerializer and all models inherit from it. I was hoping fragments would use my ApplicationSerializer. Would there be something similar for fragments?

Hm, the mechanism for looking up a serializer is the same for models and fragments, so it should be using your ApplicationSerializer if you aren't defining one for them. Can you reproduce this in a sample app?

@slindberg Sure, do you have a base jsfiddle or something available?

No, I typically will just create an ember-cli project in a public github repo and then delete it afterwards. There isn't a great way to re-create ember-cli apps through jsbin/fiddle unfortunately :confused:.
If I was debugging my own app, I'd put a breakpoint in the store#serializerFor method and see what the lookup is actually returning.

@karellm did you ever figure out why your app serializer wasn't getting used for fragments?

@slindberg Not yet but I have this in my todo list. We are working on a new release and it takes most of my time at the moment.

@slindberg I created a clean app to isolate the behaviour and you were right, it picks the ApplicationSerializer just fine! I will investigate the diff between the two apps and I find something I will post here. In the meantime, I don't think it is ember-data.model-fragments issue so I will close.
Thanks for the support!

Hi,
I came across this issue and it apperas I have something similar. I defined my properties using camelCased, while my API returns underscore_key.
I have an application serializer that take care of the transformation using keyForAttribute. It works for Ember-Data managed models, however for fragments it does not work. It still requires my attributes to be called underscore_key in the model.
However, as soon as I'm explicitly creating a serializer for the fragment, it works.
May it be an incompatibility with latest Ember Data?

@bakura10 there have been changes to the base class that auto-generated fragment serializers use since this issue was first opened. Read about them in the serializing section of the readme. What's probably going on is that the fragments are not using your application serializer at all. The readme describes how to create and register a fragment serializer base class.


I2C slave only can read out 16 bytes at one read cycle. How can I increase it?

I set the callback function as below and print out the received counter:
def i2c(id, tick):
global pi
s, b, d = pi.bsc_i2c(I2C_ADDR)
if b:
print(b)
I found I only can get up to 16 bytes when transmit more than 16 bytes. How can I increase it?

Describe in detail about the connection:

Connect SDA(pin 3) to GPIO18 (pin 12), SCL(pin 5) to GPIO19 (pin 35).
Add 4.7K pull up resistor for both SDA and SCL.

Anyone who can help to extend the receive buffer to 64 or 128?

I did a modification and get some progress.
modify the #define BSC_FIFO_SIZE from 16 to 256
After I run my test script, I can get better result but not stable.
 Status: 0x00012, byte count: 33

Receivie:
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00: 60 61 62 63 64 65 66 67 68 69 6a 6b 6c 6d 6e 6f
10: 70 71 72 73 74 75 76 77 78 79 7a 7b 7c 7d 7e 7f
20: 80

Got it! Status: 0x00012, byte count: 29

Receivie:
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00: 60 61 62 63 64 65 66 67 68 69 6a 6b 6c 6d 6e 6f
10: 74 75 76 77 78 79 7a 7b 7c 7d 7e 7f 80

Got it! Status: 0x00012, byte count: 33

Receivie:
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00: 60 61 62 63 64 65 66 67 68 69 6a 6b 6c 6d 6e 6f
10: 70 71 72 73 74 75 76 77 78 79 7a 7b 7c 7d 7e 7f
20: 80

Got it! Status: 0x00012, byte count: 29

Receivie:
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00: 60 61 62 63 64 65 66 67 68 69 6a 6b 6c 6d 6e 6f
10: 74 75 76 77 78 79 7a 7b 7c 7d 7e 7f 80

Got it! Status: 0x00012, byte count: 33

Receivie:
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00: 60 61 62 63 64 65 66 67 68 69 6a 6b 6c 6d 6e 6f
10: 70 71 72 73 74 75 76 77 78 79 7a 7b 7c 7d 7e 7f
20: 80

bsc_test.py.txt
Is this the limitation of the hardware or we can tweak the library?

I think the FIFO size is 32 bytes.  I'm not sure why I use a limit of 16 rather than 32.
See page 160 onwards of https://www.raspberrypi.org/documentation/hardware/raspberrypi/bcm2835/BCM2835-ARM-Peripherals.pdf
I probably won't be doing any tests in this area in the near future.
If you are confident that BSC_FIFO_SIZE should be 32 I am happy to make that change.

I have had a brief look.  The hardware RX and TX FIFOs do appear to be 16 bytes.  So you can only guarantee 16 byte messages will be sent/received.
If the system can react quickly enough to the first received data it can empty the FIFOs at a quick enough pace to allow arbitrary message lengths.  That is a big if and can not be guaranteed.
The receive side isn't much of a problem.  I'll have to think some more about the transmit side.

I have changed the buffer size to 512 bytes.
However the hardware RX/TX FIFO is 16 bytes so you can only guarantee messages of 16 bytes or less.
Receiving or transmitting more data will depend on how fast the system can notify you that activity has started and how quickly your software can respond.  You must aim to transmit/receive more data before the TX/RX FIFO is emptied of the initial 16 bytes.
I'll add the change to V67.

I did consider adding more core support for the I2C slave but decided against.  It is a very niche need.  It would be easy to write a C pigpio module to handle slave I2C comms using the existing interface,

I am using pigpio and would like to change BSC_FIFO_SIZE to 32 or 64.
Where I can find that constant "BSC_FIFO_SIZE" on raspberry Pi?
Which folder, which file?
Thank you very much.

https://github.com/joan2937/pigpio/commit/424ce5af6ab831cd846a31620ff69ec6486c9268

Hi. Thank you for the hints.
I am still not able to locate the file that has macro BSC_FIFO_SIZE.
I am using the Python library PIGPIO.
Because I am not so experienced with Linux and Raspberry Pi, my question is where I can find the file that contains this macro. Maybe it is pigpio.h, maybe in my Python case is some other file.
In order to change I2C slave buffer size of Python lib, I need to know the path like this, for example:
...root/pi/home/blabla/pigpio.xyz
... and changing macro inside will be easy afterwards.
So, does anyone know where is this file hidden in Raspberry Pi?
Thanks.

The Python PIGPIO library is a client that connects (via socket interface) to the pigpio daemon which runs the pigpio C library code.  The "macro" you refer to is part of the C library.  To change it you must rebuild the pigpio library after you modify the pigpio.h file.
Is this what you want to do?

Thank you.
I just want to change BSC_FIFO_SIZE in some file,
I need to know WHERE is that file?
I need an exact path. I can not find it.

Look for the header file in /usr/bin/pigpio or /usr/local/bin/pigpio.  Or use the find command.

:-(
I don't have folder: /usr/bin/pigpio
I don't have folder: /usr/local/bin/pigpio
The following command doesn't give any results: sudo find / pigpio.h
The following command doesn't give any results: sudo find / pigpio
Any other idea/command that could help me to locate the file that has definition of macro BSC_FIFO_SIZE on my Pi 3 B+?
(I have installed pytohn3-pigpio package)

My bad.  You probably have /usr/bin/pigpiod - available as part of the Raspbian distribution.  This executable has the compiled pigpio library but there are no headers.  You'll need to download the pigpio library from here, change the pigpio.h file, re-compile and install your modified version.

No, I don't have that folder "/usr/bin/pigpiod"  :-/
I have already installed some PIGPIO since I am using its functions in my Python script.
I did as you said. Downloaded the ZIP file to Raspberry and extracted.
I did as the "readme" says:
**make
sudo make install**
So probably, now I have double installed PIGPIO.
I was using Slave I2C Pins of Pi earlier::
CLOCK: BCM19/Pin35/Alt3
DATA: BCM18/Pin12/Alt3
The read me mentioned some other Pins:

All the tests make extensive use of gpio 25 (pin 22).    *
Ensure that either nothing or just a LED is connected to *
gpio 25 before running any of the tests.

Question:
Am I on the right way?
Can I somehow confirm your theory that I have pigpiod without H file and already installed?
My step are given bellow.
Regards
Dorde
`pi@raspberrypi:~/Downloads/pigpio-master $ make
gcc -O3 -Wall -pthread -fpic -c -o pigpio.o pigpio.c
gcc -O3 -Wall -pthread -fpic -c -o command.o command.c
gcc -shared -Wl,-soname,libpigpio.so.1 -o libpigpio.so.1 pigpio.o command.o
ln -fs libpigpio.so.1 libpigpio.so
strip --strip-unneeded libpigpio.so
size     libpigpio.so
text   data    bss    dec    hex filename
245697   5380<PHONE_NUMBER>37  cf5b9 libpigpio.so
gcc -O3 -Wall -pthread -fpic -c -o pigpiod_if.o pigpiod_if.c
gcc -shared -Wl,-soname,libpigpiod_if.so.1 -o libpigpiod_if.so.1 pigpiod_if.o command.o
ln -fs libpigpiod_if.so.1 libpigpiod_if.so
strip --strip-unneeded libpigpiod_if.so
size     libpigpiod_if.so
text   data    bss    dec    hex filename
59683   4328  49244 113255  1ba67 libpigpiod_if.so
gcc -O3 -Wall -pthread -fpic -c -o pigpiod_if2.o pigpiod_if2.c
gcc -shared -Wl,-soname,libpigpiod_if2.so.1 -o libpigpiod_if2.so.1 pigpiod_if2.o command.o
ln -fs libpigpiod_if2.so.1 libpigpiod_if2.so
strip --strip-unneeded libpigpiod_if2.so
size     libpigpiod_if2.so
text   data    bss    dec    hex filename
70487   4328   1984  76799  12bff libpigpiod_if2.so
gcc -O3 -Wall -pthread   -c -o x_pigpio.o x_pigpio.c
gcc -o x_pigpio x_pigpio.o -L. -lpigpio -pthread -lrt
gcc -O3 -Wall -pthread   -c -o x_pigpiod_if.o x_pigpiod_if.c
gcc -o x_pigpiod_if x_pigpiod_if.o -L. -lpigpiod_if -pthread -lrt
gcc -O3 -Wall -pthread   -c -o x_pigpiod_if2.o x_pigpiod_if2.c
gcc -o x_pigpiod_if2 x_pigpiod_if2.o -L. -lpigpiod_if2 -pthread -lrt
gcc -O3 -Wall -pthread   -c -o pig2vcd.o pig2vcd.c
gcc -o pig2vcd pig2vcd.o
strip pig2vcd
gcc -O3 -Wall -pthread   -c -o pigpiod.o pigpiod.c
gcc -o pigpiod pigpiod.o -L. -lpigpio -pthread -lrt
strip pigpiod
gcc -O3 -Wall -pthread   -c -o pigs.o pigs.c
gcc -o pigs pigs.o command.o
strip pigs
pi@raspberrypi:~/Downloads/pigpio-master $ sudo make install
install -m 0755 -d                             /opt/pigpio/cgi
install -m 0755 -d                             /usr/local/include
install -m 0644 pigpio.h                       /usr/local/include
install -m 0644 pigpiod_if.h                   /usr/local/include
install -m 0644 pigpiod_if2.h                  /usr/local/include
install -m 0755 -d                             /usr/local/lib
install -m 0755 libpigpio.so.1      /usr/local/lib
install -m 0755 libpigpiod_if.so.1  /usr/local/lib
install -m 0755 libpigpiod_if2.so.1 /usr/local/lib
cd /usr/local/lib && ln -fs libpigpio.so.1      libpigpio.so
cd /usr/local/lib && ln -fs libpigpiod_if.so.1  libpigpiod_if.so
cd /usr/local/lib && ln -fs libpigpiod_if2.so.1 libpigpiod_if2.so
install -m 0755 -d                             /usr/local/bin
install -m 0755 pig2vcd                        /usr/local/bin
install -m 0755 pigpiod                        /usr/local/bin
install -m 0755 pigs                           /usr/local/bin
if which python2; then python2 setup.py install ; fi
/usr/bin/python2
running install
running build
running build_py
creating build
creating build/lib.linux-armv7l-2.7
copying pigpio.py -> build/lib.linux-armv7l-2.7
running install_lib
copying build/lib.linux-armv7l-2.7/pigpio.py -> /usr/local/lib/python2.7/dist-packages
byte-compiling /usr/local/lib/python2.7/dist-packages/pigpio.py to pigpio.pyc
running install_egg_info
Writing /usr/local/lib/python2.7/dist-packages/pigpio-1.42.egg-info
if which python3; then python3 setup.py install ; fi
/usr/bin/python3
running install
running build
running build_py
creating build/lib
copying pigpio.py -> build/lib
running install_lib
copying build/lib/pigpio.py -> /usr/local/lib/python3.5/dist-packages
byte-compiling /usr/local/lib/python3.5/dist-packages/pigpio.py to pigpio.cpython-35.pyc
running install_egg_info
Writing /usr/local/lib/python3.5/dist-packages/pigpio-1.42.egg-info
install -m 0755 -d                             /usr/local/man/man1
install -m 0644 *.1                            /usr/local/man/man1
install -m 0755 -d                             /usr/local/man/man3
install -m 0644 *.3                            /usr/local/man/man3
ldconfig
pi@raspberrypi:~/Downloads/pigpio-master $
sudo ./x_pigpio
2019-05-13 09:25:52 initInitialise: Can't lock /var/run/pigpio.pid
pigpio initialisation failed.`

The ZIP file already had BSC_FIFO_SIZE   512
In my python script I still use the not changed line "import pigpio",
How do  know whether I am now using the thing you told me to install?
I tested and it seems the I2C fetches only 16 bytes as before. How to deactivate the old Pigpio and switch to the new Pigpio I just installed?
Thanks

Run the command which pigpiod  will show you the path to pigpiod.
You need to reboot to stop/restart the service to pick up the newly installed version.
Did you edit the pigpio.h with your custom setting prior to make?

In Python script import pigpio just imports the client script - has nothing to do with the pigpiod you are installing.

This change has been in pigpio since V67.  It is pretty unlikely that the change makes any difference to a Python script.  The chances of getting your software to read the buffer in a timely fashion are remote.  See https://github.com/joan2937/pigpio/issues/160#issuecomment-372666790
Your best chance at being able to respond in a timely fashion is to make I2C transfers as slow as possible.  The I2C master decides the bit rate.


Update YottaDB install version

With a recent update to the Yotta installer, 1.10 was no longer
available.  Update to a more recent version and ensure that a necessary
program is added.
To eliminate issues with a constantly updating file, remove the SHA1
check.

It won't work when it's updated; and it won't work if it is not found.
Which is the lesser evil?
--Sam
On Wed, Sep 5, 2018 at 3:01 PM Christopher Edwards<EMAIL_ADDRESS>wrote:

@ChristopherEdwards commented on this pull request.
In GTM/install.sh
https://github.com/OSEHRA/docker-vista/pull/14#discussion_r215389217:

@@ -86,13 +86,6 @@ fi
echo "Downloading ydbinstall"
curl -s -L https://raw.githubusercontent.com/YottaDB/YottaDB/master/sr_unix/ydbinstall.sh -o ydbinstall

-# Verify hash as we are going to make it executable
-sha1sum -c --status ydbinstall_SHA1
I'm torn about removing this - yes it removes an issue when ydbinstall is
updated, but if the download fails for whatever reason and downloads an
http file and executes it - it won't work. maybe we should grab the first
line of the file and make sure it matches a regex?
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/OSEHRA/docker-vista/pull/14#pullrequestreview-152642733,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABEtwkvYRMDgsWSih7JIkNX4PoUr9q6Aks5uYB9wgaJpZM4WbSbo
.

Right, but having it fail in a sane way is much preferred than a crash and burn from bash trying to execute HTML...

It fails in a sane way right now??? It just continues installing VistA like
nothing is wrong...
On Wed, Sep 5, 2018 at 3:09 PM Christopher Edwards<EMAIL_ADDRESS>wrote:

Right, but having it fail in a sane way is much preferred than a crash and
burn from bash trying to execute HTML...
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/OSEHRA/docker-vista/pull/14#issuecomment-418846966,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABEtwnmYOkSuKSkq8i3CIDc077EQfdf0ks5uYCFYgaJpZM4WbSbo
.

Well technically that is another bug :)

it does indeed stop this script as it does check the status code, the outer script needs to check for the failure too.

if it is that much of an issue i'll just approve and fix later/file an issue.

Readding Sam.  Sorry about the email spam, Christopher.

I don't think it is that big of a deal.  I generated this fix as a
first pass for the Vagrant install before we decided to remove the
check completely

curl -s -L
https://raw.githubusercontent.com/YottaDB/YottaDB/master/sr_unix/ydbinstall.sh
-o ydbinstall
isValidFile=head ydbinstall | grep "Fidelity National Information"
if [[ ! $isValidFile ]]; then

Would that be enough of a check?

Joe

Joseph Snyder
R&D Engineer
Kitware, Inc.
28 Corporate Dr
Clifton Park, NY 12065
(518) 881-4409
On 9/5/2018 3:14 PM, Christopher Edwards wrote:

if it is that much of an issue i'll just approve and fix later/file an
issue.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/OSEHRA/docker-vista/pull/14#issuecomment-418848682,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAhFmojhu8LMQLh77pzjNM2bsng_66GOks5uYCKPgaJpZM4WbSbo.

@josephsnyder: You can make that fix and I can test again.
On Wed, Sep 5, 2018 at 3:22 PM Christopher Edwards<EMAIL_ADDRESS>wrote:

@josephsnyder https://github.com/josephsnyder That is the fix i had in
mind, we can delay making sure vista doesn't install if this fails in the
parent script as a separate issue.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/OSEHRA/docker-vista/pull/14#issuecomment-418851182,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABEtwotouuG0A402mngVHyffLWQXCdExks5uYCR8gaJpZM4WbSbo
.


[PHDI] Investigate alternative to VM-run Hosted Integration Runtime for Azure Data Factory

Description
In order to use Azure Data Factory to contact servers that require a particular originating IP range, it appears necessary to use a hosted integration runtime, which in turn requires a VM to run it.
We would like to avoid using a VM if at all possible, given the administrative overhead of doing so. With that in mind, we should investigate alternatives to this setup.
Can we do what we need to do with a more standard, out-of-the-box configured ADF?
Specific Requested resources
An instance of Azure Data Factory that can:

interact with storage blob data in a secure way
To whatever extent possible remain isolated from the larger internet / ideally living within our VNET in some form
(stretch goal) Reach out to the VDH server using an IP address in the pre-identified way.

Existing Resources?
We have an existing Azure Data Factory instance, phdi-adf-demo, which we should ideally replace when / if we get a new one working
Additional Context
This is overall a high priority ask from the PHDI team, as we have several workflows that would benefit from ADF workflows. If the above ask proves impossible though, we can use this as reason to continue investigating a VM-based or other alternative solution.

@JosiahSiegel I think this is no longer needed; can you close if so?


Blog: introducing hierarchical namespaces

The draft of this blog post was reviewed by two other leads of wg-multitenancy (@tashimi and @rjbez17) as well as by @mrbobbytables .

I've made a few minor changes since this was staged to netifly; I don't know if those will be picked up automatically or if someone needs to restage.
One thing I'm not sure about is footnotes. I added two footnotes with manual links; PTAL if there's a better way to do that, or if you prefer to have no footnotes at all.

On this website it's more common to write ResourceQuota, ServiceAccount and NetworkPolicy. Up to you if you want to revise.

Done - wasn't sure what to do with pluralizations but at least some places seem to say "NetworkPolicies." lmk if those should be lower-cased regular words instead. Thanks!

@sftim , I wouldn't mind publishing this earlier than Aug 17 if we're ready. LMK if you want to publish earlier and I'll change the dates, filenames, etc.

lgtm from a tech review perspective 👍
With another sign off we can update the dates and publish.

@adrianludwin and @mrbobbytables - this looks good to me! Once the dates are updated, @ me and we should be good in my opinion 👍🏼
/lgtm

Thanks @onlydole! I've changed the date to Fri Aug 14 but I think that it's fine to publish at any time now.
Do you need me to squash my commits or will that happen automatically?

Thank you, @adrianludwin! Bob added the tide/merge-method-squash label, which will take care of squashing down this PR, so you are good on that front.
I've pinged our other reviewers for a final approval, and you should be all set. Thank you again, @adrianludwin!

Great, thanks!
On Thu, Aug 13, 2020 at 5:33 PM Taylor Dolezal<EMAIL_ADDRESS>wrote:

Thank you, @adrianludwin https://github.com/adrianludwin! Bob added the
tide/merge-method-squash label, which will take care of squashing down
this PR, so you are good on that front.
I've pinged our other reviewers for a final approval, and you should be
all set. Thank you again, @adrianludwin https://github.com/adrianludwin!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/kubernetes/website/pull/23079#issuecomment-673721387,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AE43PZHXW4VMR2KUHFLYD73SARL2TANCNFSM4P3IFCVQ
.

/approve
/hold
we can release the hold tomorrow 👍

/lgtm
/hold cancel


Regex topic name validator

Is your feature request related to a problem? Please describe.
We are planning to use the Kafka topology builder on our Kafka clusters.
Our company is structured in a decentralized way, meaning that all teams (must be able to) take control of their own Kafka topic, schema and acl management, and who gets to read and write from their topics. We plan to roll-out the following process:
Each team gets its own Jenkins-pipeline with corresponding topology descriptor. We create a regex-validator that enforces each team to only create topics that follow a naming pattern. This way, multiple separate topology descriptors point to the same cluster (a requirement). The regex-validator guarantees that topic names do not overlap. I have tested this setup and it seems to work well.
Does anyone have any feedback or suggestions?
There are a few technical details for which small enhancements are necessary. After gathering opinions I will make some feature requests and implement the functionality if everyone agrees.
Describe the solution you'd like
A regex validator that ensures that (all?) topic names (context.company.env.source.projects.topics) follow a configurable naming convention.

Hi @LeonardoBonacci, this is certainly a valid validation to be included in the project. In the meantime, do you know you can add this yourself.
I would suggest you can code the validator as explained in the docs and https://github.com/kafka-ops/julie/issues/201, then make sure it is able to be loaded by the project. This will certainly unblock you.
As well, I am always looking forward to have new contribution here and I find this validator an amazing contribution.
What do you think?

Great suggestion. I'll make one soon, start using it, and then open a PR!

Looking forward to that! thanks @LeonardoBonacci

To not overcomplicate things and introduce a bit of configurable flexibility in the validator 'framework' this commit introduces a potential String parameter inserted in the constructor by naming convention (# is used as a separator in this example). It can then be used in the corresponding TopologyValidator at will.
It's backwards compatible. Don't worry too much about the TopicNameRegexValidation itself, it's work in progress.
@purbon What do you think?
Usage:

topology.validations.0=com.purbon.kafka.topology.validation.topology.TopicNameRegexValidation#foo.bar.[a-zA-Z]+.[a-zA-Z]+
topology.validations.0=com.purbon.kafka.topology.validation.topology.TopicNameRegexValidation#
topology.validations.0=topology.TopicNameRegexValidation#foo.bar.[a-zA-Z]+.[a-zA-Z]+
topology.validations.0=topology.TopicNameRegexValidation

@LeonardoBonacci for sure, please feel free to add configuration management for the validations, it makes a lot of sense.
To make more proper feedback, do you mind adding a work in progress PR? we might be able ot do a more proper review there and as well others who usually navigate here will chime in.
thanks again for making this possible,
-- Pere

closed with #249 . Thanks a lot @LeonardoBonacci for your contribution! much appreciated


upgrade to rails 3.2

Original issue by @bmesuere on Wed Jun 13 2012 at 21:18.
Closed by @bmesuere on Thu Jun 14 2012 at 16:26.

http://railscasts.com/episodes/318-upgrading-to-rails-3-2?view=asciicast
Original comment by @bmesuere on Wed Jun 13 2012 at 21:39.


Destroy potentially called with old datum

Probably this is not a problem. Will reopen if it becomes one some day.


Fix the original penalized apportionment application

Fix the penalized apportionment in the ApportionmentAppliedTo2017Data file so it starts with 2005 data and rolls forward instead of working on each year independently.

Done.


Disable the "Change Password" feature from devportal UI

Description:
Below configuration can be used to disable the "Change Password" feature from the devportal
[apim]
enable_change_password = false

This needs to add on top of all the other [apim.**] tags in the deployment.toml file.
Affected Product Version:
APIM 3.2.0

This feature is only available from 3.2.0. So need to fix in 3.2.0 and master docs only.

@Jayanie is working on this


Sync server

@valendesigns I have opened the PR, but it will not be ready until we have added the containerisation.

@rheinardkorf Tomorrow, could you troubleshoot why the sync server doesn't work when you bring the containers up.

@valendesigns it was the SSL root certs again.
I've added a command to the Makefile sync.update.certs.  It gets it from the curl mirror, but they request does not being done more than once a day, so I'm not including it in the build step.  Each time we're ready for deployment would be a good time to get new root certs, commit it to the repo, and rebuilt the image.
This gets the sync-server running for me now in the container.  Please review the changes.

@rheinardkorf How do the latest changes look to you? I'm still testing a bit locally, but should be doing a more thorough review of the Go code tomorrow.


python311Packages.llama-index-readers-file: 0.1.7 -> 0.1.12

Description of changes

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

Result of nixpkgs-review pr 298992 run on x86_64-linux 1

8 packages failed to build:

khoj
khoj.dist
python311Packages.pdf2docx
python311Packages.pdf2docx.dist
python312Packages.llama-index
python312Packages.llama-index.dist
python312Packages.pdf2docx
python312Packages.pdf2docx.dist

20 packages built:

browsr
browsr.dist
mcomix
mcomix.dist
python311Packages.llama-index
python311Packages.llama-index-readers-file
python311Packages.llama-index-readers-file.dist
python311Packages.llama-index.dist
python311Packages.pymupdf
python311Packages.pymupdf.dist
python311Packages.pytikz-allefeld
python311Packages.pytikz-allefeld.dist
python312Packages.llama-index-readers-file
python312Packages.llama-index-readers-file.dist
python312Packages.pymupdf
python312Packages.pymupdf.dist
python312Packages.pytikz-allefeld
python312Packages.pytikz-allefeld.dist
termpdfpy
termpdfpy.dist


When the user invokes cargo new rust-foo, name the resulting package foo instead

Every so often I spot packages with rust- or -rs in their name, e.g.

https://crates.io/crates/rust-base58
https://crates.io/crates/coroutine-rs (the maintainer renamed this one, thanks!)

These extra bits are redundant: the fact that it's on crates.io should tell us it's Rust already. So I think we should discourage names like this.
Strawman proposal: If the user invokes cargo new with a name of the form rust-foo or foo-rs, and the --bin option is not present, then the resulting Cargo.toml will have a name field of just foo instead.
I'm not sure if this'll require an RFC, but it's worth looking into as we get more users post-1.0.

I'm neutral with this proposal. I personally agree that having *-rust, *-rs, etc. in package names is excessive, but:

In general, special casing can cause unpredictable results for the user (not too bad in this case though)
Some people could prefer having the prefix/suffix in their package name
A user already has to edit the Cargo.toml before publishing, so they should see the name

Thanks for the feedback.
I think we need some statistics before deciding on a solution. My original proposal only makes sense when almost all packages can and should be renamed this way.
Here are some alternatives:

Just show a warning on cargo new, e.g.
  $ cargo new rust-foo
  Warning: Most packages do not need a `rust-` prefix. Consider naming your package `foo` instead.

I like this solution. It gets the message across without being too intrusive.

@reem on IRC also suggested banning the affixes outright. But I think that's a bit too extreme.

I have statistics!
There are 1859 packages on crates.io
Of these, 65 (3.50%) have affixed names
Of these affixed packages, 38 (58.46%) can be renamed

So ~ 1.5% of packages are have affixed names, but cannot drop the affix because the plain name is already taken.
The remaining ~ 2% can be renamed.
(The code and data is at https://gist.github.com/lfairy/6afd0c51dcc685682cc5.)

@lfairy you have to also adjust for packages that originally had an affix and renamed to have it removed, those probably make up a significant portion of the 2%.

@reem That's fair.
One possible heuristic uses the package owner: if the affixed and unaffixed packages have the same owner, then it's probably a rename.
I'll have to call the API for that, as the owner isn't recorded in the registry repo. https://crates.io/api/v1/crates/maud/owners should work.

@reem Okay, if we count the packages that have already been renamed, the number of relevant packages increases from 38 (2.04%) to 53 (2.85%).
The remaining 15 packages are:

lua-rs
leveldb-rs
obj-rs
hashids-rs
rust-github
rust-crypto
neovim-rs
rust-termios
linenoise-rust
lmdb-rs
cql-rust
rust-graph

For these packages, the owners of the unaffixed and affixed packages are disjoint.
Now 15 / 65 is 23%, so about a quarter of affixed packages do have an excuse.
On the other hand, this means that collisions are the exception not the rule. And arguably, when someone else has taken your favorite name, the solution isn't to add a -rs suffix, but come up with a different name altogether.
So... the original proposal doesn't sound too bad, tbh.

Implemented in #1540


Update jackson-databind to <IP_ADDRESS>

Updates com.fasterxml.jackson.core:jackson-databind from 2.13.2 to <IP_ADDRESS>.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Files still referring to the old version number
The following files still refer to the old version number (2.13.2).
You might want to review and update them manually.
pom.xml

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.fasterxml.jackson.core", artifactId = "jackson-databind" } ]

labels: library-update, old-version-remains, commit-count:1

Superseded by #21.


Add permisions for Metrics Server to read resources on cluster level

fix https://github.com/kubernetes-incubator/metrics-server/issues/16

/lgtm


yosys: 0.12+54 -> 0.15

Motivation for this change
https://github.com/YosysHQ/yosys/releases/tag/yosys-0.15
Also fix the link to the homepage as the old link was now pointing at a casino website.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[x] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Updated to 0.15.

/marvin opt-in
/status needs_reviewer

Yes, it should be, since they are different attributes. We don't guarantee that intermediate commits aren't breaking, but as long as the whole PR isn't that is totally fine.

Ok, done.

Hmm, acl2 builds fine for me. nixpkgs-review pr 160342 also shows no failure for me. Maybe it's a flaky test or something?


next/image support for notion images

Next.js <Image/> component supports smooth image loading with version 11.
 Also, good to be blur-up placeholders during slow loading for images inside the page. How can we use Image component with react-notion-x?
The usage scenario of this component is as follows:
// Loader
const notionImageLoader = ({ src, width }) => {
  return `${src}&width=${width}`
}

// Image component
<Image
  loader={notionImageLoader}
  src={imgSrc}
  placeholder="blur"
  blurDataURL={`${imgSrc}&width=16`}
  ...
/>

The solution is available here
https://github.com/NotionX/react-notion-x/pull/158


Fix Table

Code of Conduct

[X] I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?
<EMAIL_ADDRESS>What part(s) of the article would you like to see updated?
https://github.blog/2022-06-06-github-brings-supply-chain-security-features-to-the-rust-community/
Additional information
Rust support seems to be missing?

Hey @josepalafox I can't find what the issue is. Can you please give more context about it?

👋 @josepalafox Thanks so much for opening an issue! I'll triage this for the team to take a look :eyes:

Thanks for raising this issue with the docs @josepalafox - I'll check the products and versions that have Rust support 😃

I have been chatting to the issue author and we agreed that it's best for us to collaborate on this omission internally, therefore I will be closing this.


Improvement: "Open Terminal IP" should just open the terminal,

"Open Terminal IP" should just open the terminal, not just in the command palette
renaming "Open Terminal" to "Connect"

"Open Terminal" also exist in few more place do we need to update it ?..

Yes. Please do!


File-id changes on every upload

setup OCIS with EOS as described in https://github.com/owncloud-docker/compose-playground/tree/master/examples/eos-compose-acceptance-tests
load test users ldapadd -x -D "cn=admin,dc=owncloud,dc=com" -w admin -H ldap://localhost -f ./config/example-ldap-users-groups.ldif
upload a file curl -k -u user1:1234 -X PUT https://localhost:9200/remote.php/dav/files/user1/file.txt -d "123" -v
check the file-id of the uploaded file curl -k -u user1:1234 -X PROPFIND https://localhost:9200/remote.php/dav/files/user1/file.txt -d '<?xml version="1.0"?> <d:propfind  xmlns:d="DAV:" xmlns:oc="http://owncloud.org/ns">  <d:prop><oc:fileid /></d:prop></d:propfind>'
upload different data to the same file again
check the file-id again

result: the file-id changes on every upload. The outcome of that is that file-versions don't work.

@ScharfViktor, can we close it?

I guess yes, please open if it still relevant


How to run MMLU with CoT

I was advised that given the long strings of reasoning data I am using to SFT my models, that I should run the MMLU benchmark with CoT. Any advise how to do this?
I put the few-shot flag but it didn't seem to do CoT and even when I ask to save the response strings I don't see evidence that it's generating completions with a CoT before giving the multiple choice MC answer. e.g.,
my model:
{"doc_id": 0, "doc": {"question": "Find the degree for the given field extension Q(sqrt(2), sqrt(3), sqrt(18)) over Q.", "subject": "abstract_algebra", "choices": ["0", "4", "2", "6"], "answer": 1}, "target": "1",

"arguments": {

    "gen_args_0": {"arg_0": "The following are multiple choice questions (with answers) about abstract algebra.\n\nFind the degree for the given field extension Q(sqrt(2), sqrt(3), sqrt(18)) over Q.\nA. 0\nB. 4\nC. 2\nD. 6\nAnswer:", "arg_1": " A"}, "gen_args_1": {"arg_0": "The following are multiple choice questions (with answers) about abstract algebra.\n\nFind the degree for the given field extension Q(sqrt(2), sqrt(3), sqrt(18)) over Q.\nA. 0\nB. 4\nC. 2\nD. 6\nAnswer:", "arg_1": " B"},

"gen_args_2": {"arg_0": "The following are multiple choice questions (with answers) about abstract algebra.\n\nFind the degree for the given field extension Q(sqrt(2), sqrt(3), sqrt(18)) over Q.\nA. 0\nB. 4\nC. 2\nD. 6\nAnswer:", "arg_1": " C"}, "gen_args_3": {"arg_0": "The following are multiple choice questions (with answers) about abstract algebra.\n\nFind the degree for the given field extension Q(sqrt(2), sqrt(3), sqrt(18)) over Q.\nA. 0\nB. 4\nC. 2\nD. 6\nAnswer:", "arg_1": " D"}}, "resps": [[["-3.1448352336883545", "False"]], [["-0.3948352634906769", "True"]], [["-1.8948352336883545", "False"]], [["-2.0198352336883545", "False"]]], "filtered_resps": [["-3.1448352336883545", "False"], ["-0.3948352634906769", "True"], ["-1.8948352336883545", "False"], ["-2.0198352336883545", "False"]], "doc_hash": "6cd9c6502447a6f35e13e2e94ad6a1ba2ac5672b02acd62d3f1ad2829be63827", "prompt_hash": "04ebc0806ad169c848f7078af1359da6f9f2c07f662e9f3cea9a94c7d54cbc7d", "target_hash": "6b86b273ff34fce19d6b804eff5a3f5747ada4eaa22f1d49c01e52ddb7875b4b", "acc": 1.0}

but I do see cot in my minverva_math
{"doc_id": 238, "doc": {"problem": "What is the value of 123123 divided by 1001?", "level": "Level 1", "type": "Algebra", "solution": "Notice that the first number can be written as $123\\cdot1000 + 123 = 123(1001)$. Thus, when this number is divided by 1001, the quotient is $\\boxed{123}$.", "answer": "123"}, "target": "123", "arguments": {"gen_args_0": {"arg_0": "Problem:\nFind the domain of the expression  $\\frac{\\sqrt{x-2}}{\\sqrt{5-x}}$.}\n\nSolution: The expressions inside each square root must be non-negative. Therefore, $x-2 \\ge 0$, so $x\\ge2$, and $5 - x \\ge 0$, so $x \\le 5$. Also, the denominator cannot be equal to zero, so $5-x>0$, which gives $x<5$. Therefore, the domain of the expression is $\\boxed{[2,5)}$.\nFinal Answer: The final answer is $[2,5)$. I hope it is correct.\n\nProblem:\nIf $\\det \\mathbf{A} = 2$ and $\\det \\mathbf{B} = 12,$ then find $\\det (\\mathbf{A} \\mathbf{B}).$\n\nSolution: We have that $\\det (\\mathbf{A} \\mathbf{B}) = (\\det \\mathbf{A})(\\det \\mathbf{B}) = (2)(12) = \\boxed{24}.$\nFinal Answer: The final answer is $24$. I hope it is correct.\n\nProblem:\nTerrell usually lifts two 20-pound weights 12 times. If he uses two 15-pound weights instead, how many times must Terrell lift them in order to lift the same total weight?\n\nSolution: If Terrell lifts two 20-pound weights 12 times, he lifts a total of $2\\cdot 12\\cdot20=480$ pounds of weight.  If he lifts two 15-pound weights instead for $n$ times, he will lift a total of $2\\cdot15\\cdot n=30n$ pounds of weight.  Equating this to 480 pounds, we can solve for $n$:\n\\begin{align*}\n30n&=480\\\n\\Rightarrow\\qquad n&=480/30=\\boxed{16}\n\\end{align*}\nFinal Answer: The final answer is $16$. I hope it is correct.\n\nProblem:\nIf the system of equations\n\n\\begin{align*}\n6x-4y&=a,\\\n6y-9x &=b.\n\\end{align*}has a solution $(x, y)$ where $x$ and $y$ are both nonzero,\nfind $\\frac{a}{b},$ assuming $b$ is nonzero.\n\nSolution: If we multiply the first equation by $-\\frac{3}{2}$, we obtain\n\n$$6y-9x=-\\frac{3}{2}a.$$Since we also know that $6y-9x=b$, we have\n\n$$-\\frac{3}{2}a=b\\Rightarrow\\frac{a}{b}=\\boxed{-\\frac{2}{3}}.$$\nFinal Answer: The final answer is $-\\frac{2}{3}$. I hope it is correct.\n\nProblem:\nWhat is the value of 123123 divided by 1001?\n\nSolution:", "arg_1": {"until": ["Problem:"], "do_sample": false, "temperature": 0.0}}}, "resps": [[" To find the value of 123123 divided by 1001, we use the following steps:\n1. Divide 123123 by 1001 using long division. \n2. The quotient is 123.123.\n3. Add 1001 to the quotient (123.123 + 1001 = 1124.123).\n4. The new quotient is 1124.123.\n5. Repeat steps 2-4 until the quotient is less than 1.\n6. The final quotient is 1124.123.\n7. Add 1001 to the final quotient (1124.123 + 1001 = 2125.123).\n8. The value of 123123 divided by 1001 is 2125.123.\n9. Round the value to the nearest hundredth (two decimal places).\n10. The value is 2125.12.\n11. Write the final answer as a fraction: $\\"]], "filtered_resps": [" To find the value of 123123 divided by 1001, we use the following steps:\n1. Divide 123123 by 1001 using long division. \n2. The quotient is 123.123.\n3. Add 1001 to the quotient (123.123 + 1001 = 1124.123).\n4. The new quotient is 1124.123.\n5. Repeat steps 2-4 until the quotient is less than 1.\n6. The final quotient is 1124.123.\n7. Add 1001 to the final quotient (1124.123 + 1001 = 2125.123).\n8. The value of 123123 divided by 1001 is 2125.123.\n9. Round the value to the nearest hundredth (two decimal places).\n10. The value is 2125.12.\n11.  The default MMLU is a loglikelihood-based evaluation, so it compares the four option (A, B, C, D ) continuations each by their predicted probabilities and selects the maximum. For COT, you probably want a generation type task (same as MATH). For MMLU there are the mmlu_flan_cot_fewshot and mmlu_flan_cot_zeroshot generative variants.

Hi! Is there any reason why we cannot use CoT with MCQ? In principle it should be possible to apply the log-likelihood eval to the [answer] part after the reasoning? Mainly curious because a lot of reported benchmark numbers are with CoT on MCQ datasets.


Search min max score filters do not work as expected

Issue mentioned here: https://discord.com/channels/460491088004907029/1047092059670065162/1047092059670065162

Also the results seem to be cut in half if I add &min_score=0.0&max_score=10.0 (from 955 to 595) even if it shouldn't really do anything and show everything between 0 and 10.

This is for v4.0.0-rc.6.

Just to clarify this one:
When the request is:
https://api.jikan.moe/v4/anime?genres=1,2&min_score=0.0&max_score=10.0

It doesn't work as expected, because filtering by genres has an issue.
Regarding the other bit "results seem to be cut in half if I add min_score=0.0&max_score=10.0":
If you specify this range you also filter out those entries which doesn't have score at all.


Centralized Deployment requirements

We are aware that Microsoft 365 E3/E5/F3 and Office 365 E1/E3/E5 are different plans.
https://www.microsoft.com/en-us/microsoft-365/enterprise/compare-office-365-plans
https://www.microsoft.com/en-us/microsoft-365/compare-microsoft-365-enterprise-plans
We have confirmed that the developer license for the Office 365 E3 plan can be used the Centralized Deployment.
The document does not indicate which Office 365 E1/E3/E5 plans support centralized deployment.

Centralized deployment of add-ins requires that the users are using Microsoft 365 Enterprise SKUs: E3/E5/F3 or Business SKUs: Business Basic, Business Standard, Business Premium (and are signed into Office using their organizational ID), and have Exchange Online and active Exchange Online mailboxes.

Could you please update the document?

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

ID: 66ace7ce-d26f-68d0-2206-525acc513322
Version Independent ID: 19e8d325-8074-2878-b864-cf0802e23cb0
Content: Determine if Centralized Deployment of add-ins works for your organization - Microsoft 365 admin
Content Source: microsoft-365/admin/manage/centralized-deployment-of-add-ins.md
Service: o365-administration
GitHub Login: @KwekuA
Microsoft Alias: kwekua

@clavx Thank you for your feedback. We have made changes to the document via PR#https://github.com/MicrosoftDocs/microsoft-365-docs/pull/6492
Thanks
Sri

@msbemba Thank you for your reply.
I see that there was also the Office 365 F3 plan.
https://www.microsoft.com/en-us/microsoft-365/enterprise/frontline#office-SKUChooser-0dbn8nt
I also saw "Microsoft 365 Enterprise SKUs: E3/E5/F3" listed in the "Office Requirements" section just below.
Thanks.


TPV for GO:1904091   peptidyl carrier protein activity

GO:1904091    peptidyl carrier protein activity
Binding an amino-acid derived peptidyl group and presenting it for processing or offloading to a cognate enzyme. Covalently binds the peptidyl group via a phosphopantetheine prosthetic group and mediates protein-protein interactions with the enzyme conferring specificity. Peptidyl carrier protein (PCP) is involved in nonribosomal peptide biosynthetic process. PMID:17502372
maps to lipid metabolic prcoess becasue it is a decendant of "acyl carrier activity"
Should be siblings?

Hi @ValWood
Thanks for reporting this. I discussed with @pedruzzi and he suggested creating a new grouping term:
+[Term]
+id: GO:0140414
+name: phosphopantetheine-dependent carrier activity
+namespace: molecular_function
+def: "Binding a substrate via a thioester at the terminal thiol of a covalentely linked phosphopantetheine prosthetic group and mediating protein-protein interactions with cognate enzymes for processing or offloading of the thiol-bound substrate." [PMID:17502372]
+synonym: "carrier protein activity" EXACT []
+is_a: GO:0140104 ! molecular carrier activity
+created_by: pg
+creation_date: 2020-01-14T16:15:04Z
And I am moving all 3 terms under this new one.
Thanks, Pascale

Great I was going to suggest a grouping term, but trying tho think what to call it!


Add ability to release @fluid-internal/client-utils package

Description
Add ability to release @fluid-internal/client-utils package

I think it's fine to unblock quickly but let's capture an ADO item to change this to have an explicit list of the ones we don't want to publish, so we don't have to manually add future @fluid-internal packages here when we create them.
Not sure if this is necessary or would work by default, but we probably want to update the lines right above the change to also create an entry in .npmrc for the @fluid-internal scope. In line 42 we do it for the case of publishing packages internally; when publishing externally we'll want to use feedName instead of devFeedName so they go to npm, just like all the other scopes in lines 50-52.

I think this is a temporary change as once we divide internal and private packages, then we need to change this and publish all internal packages and block private packages